@happeouikit/form-elements 3.0.0-alpha.0 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DatePicker.styles.d.ts +5 -1
- package/dist/dateLocale.d.ts +19 -1
- package/dist/index.cjs.js +150 -143
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +6676 -6608
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),f=require("react"),O=require("styled-components"),J=require("@happeouikit/typography"),We=require("@happeouikit/icons"),zl=require("react-dom"),Ga=require("@happeouikit/theme"),fe=require("prop-types"),vt=require("@happeouikit/colors"),Ft=require("react-intl"),Ya=require("@happeouikit/tooltip"),Sn=require("@happeouikit/buttons"),Ra=require("@happeouikit/buttons-ds3"),$l=require("@happeo/react-core"),Ul=require("@happeouikit/loaders");function Jl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const X=Jl(f),Ql=e=>e.replace(/(_|-|,|\.)(.)/g,t=>t[1].toUpperCase()),ql=64,Kl=e=>{if(typeof e!="string"||e.length===0)return"";const t=new RegExp(/[^\p{Alphabetic}\p{Mark}\p{Decimal_Number}\p{Connector_Punctuation}\p{Join_Control}]/u),r=e.replace(/^#/,"").replace(/_+/g,"_"),a=r.match(t),o=a?a.index:r.length,i=r.substring(0,Math.min(o,ql)).toLocaleLowerCase();return i.length===0?"":"#"+i},ji=e=>typeof e=="string",Li=e=>f.Children.toArray(e).filter(f.isValidElement),Mr=e=>{process.env.NODE_ENV!=="production"&&console.warn(`HappeoUiKit/form-elements: ${e}`)},Ba=(e,t)=>{f.useEffect(()=>{e&&Mr(t)},[])},Vt=()=>"ixxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),$n={success:"var(--color-success-primary, #00a372)",error:"var(--color-alert-primary, #da3939)",default:"var(--color-secondary-text-on-light, #4a5464)"},ec=(e,t)=>{const n={width:"20px",height:"20px",fill:"var(--color-secondary-text-on-light, #2b313b)"},r={position:"absolute",top:"10px",left:"10px",fontSize:"18px"},a={...n,...t};return()=>w.jsx(tc,{children:w.jsx(e,{...a,style:r})})},Sr=({label:e,description:t,hintText:n,required:r,id:a,icon:o,iconProps:i,state:s,errorMessage:u,disabled:l,readOnly:c,...d})=>{const[h]=f.useState(()=>a||Vt()),g=[t?`${h}-description`:"",n?`${h}-hint-message`:"",s==="error"&&u?`${h}-error-message`:""].join(" ");return w.jsxs($i,{isDisabled:l||!1,children:[!!e&&w.jsxs(zi,{children:[w.jsx(ac,{bold:!0,htmlFor:h,isRequired:r||!1,children:e}),t&&w.jsx(J.BodyUI,{id:`${h}-description`,color:"var(--color-secondary-text-on-light, #4a5464)",children:t})]}),o&&ec(o,i??{})(),w.jsx(Va,{title:e||"Styled input",hasIcon:!!(o||"").toString(),state:s||"default",id:h,disabled:l,readOnly:c,"data-1p-ignore":!0,...t?{"aria-describedby":g}:{},...d}),n&&w.jsxs(ma,{id:`${h}-hint-message`,children:[w.jsx(Bo,{fill:"var(--color-hint-text-on-light, #68778d)"}),w.jsx(J.TinyText,{color:"var(--color-secondary-text-on-light, #4a5464)",children:n})]}),s==="error"&&u&&w.jsxs(ma,{id:`${h}-error-message`,children:[w.jsx(Bo,{fill:"var(--color-alert-primary, #da3939)"}),w.jsx(J.TinyText,{color:"var(--color-alert-primary, #da3939)",children:u})]})]})},Bo=O(We.IconAlertCircleOutline)`
|
|
2
2
|
width: 13px;
|
|
3
3
|
height: 13px;
|
|
4
|
-
`,
|
|
4
|
+
`,ma=O.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
gap: var(--space-xs, 4px);
|
|
7
7
|
margin-top: var(--space-sm, 8px);
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,
|
|
9
|
+
`,zi=O.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
gap: var(--space-xxs, 2px);
|
|
13
13
|
margin-bottom: var(--space-sm, 8px);
|
|
14
|
-
`,
|
|
14
|
+
`,Va=O.input.attrs(({type:e})=>({type:e||"text"}))`
|
|
15
15
|
::placeholder {
|
|
16
|
-
font-family: ${
|
|
16
|
+
font-family: ${J.sansFamily};
|
|
17
17
|
color: var(--color-placeholder-text-on-light, #95a0b1);
|
|
18
18
|
letter-spacing: -0.3px;
|
|
19
19
|
font-size: 14px;
|
|
20
20
|
font-weight: normal;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
font-family: ${
|
|
23
|
+
font-family: ${J.sansFamily};
|
|
24
24
|
width: 100%;
|
|
25
25
|
height: 40px;
|
|
26
26
|
border-radius: var(--radius-md, 4px);
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
39
39
|
|
|
40
40
|
:hover {
|
|
41
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)"
|
|
41
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)":$n[e]};
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:active {
|
|
45
45
|
outline: none;
|
|
46
46
|
box-shadow: none;
|
|
47
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)"
|
|
47
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":$n[e]};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
:focus {
|
|
51
51
|
outline: none;
|
|
52
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)"
|
|
52
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":$n[e]} !important;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
:disabled {
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
color: var(--color-secondary-text-on-light, #4a5464);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
border-color: ${({state:e="default"})
|
|
71
|
-
`,
|
|
70
|
+
border-color: ${({state:e="default"})=>$n[e]};
|
|
71
|
+
`,tc=O.span`
|
|
72
72
|
position: relative;
|
|
73
|
-
`,
|
|
73
|
+
`,nc=({label:e,...t})=>w.jsxs(ic,{children:[w.jsx(rc,{...t,type:"number"}),e&&w.jsx(oc,{children:e})]}),rc=O(Sr)`
|
|
74
74
|
width: 60px;
|
|
75
75
|
text-align: center;
|
|
76
76
|
font-size: var(--font-size-body-sm, 14px);
|
|
77
|
-
`,
|
|
77
|
+
`,ac=O(J.BodyUI).attrs({as:"label"})`
|
|
78
78
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
79
79
|
position: relative;
|
|
80
80
|
${({isRequired:e})=>e&&`
|
|
@@ -84,63 +84,63 @@
|
|
|
84
84
|
margin-left: var(--space-xxs, 2px);
|
|
85
85
|
}
|
|
86
86
|
`}
|
|
87
|
-
`,
|
|
87
|
+
`,oc=O(J.BodyUI)`
|
|
88
88
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
89
89
|
margin-left: var(--space-sm-plus, 10px);
|
|
90
|
-
|
|
90
|
+
`,$i=O.div`
|
|
91
91
|
display: flex;
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
position: relative;
|
|
94
94
|
width: 100%;
|
|
95
95
|
${({isDisabled:e})=>e&&`
|
|
96
|
-
${
|
|
97
|
-
${
|
|
98
|
-
${
|
|
96
|
+
${zi},
|
|
97
|
+
${Va},
|
|
98
|
+
${ma} {
|
|
99
99
|
opacity: 0.4;
|
|
100
100
|
}
|
|
101
101
|
`}
|
|
102
|
-
`,
|
|
102
|
+
`,ic=O.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
|
|
106
|
-
${
|
|
106
|
+
${$i} {
|
|
107
107
|
width: auto;
|
|
108
108
|
}
|
|
109
|
-
`;function
|
|
110
|
-
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var i=rc(a);try{i.insertRule(r,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else a.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ye="-ms-",or="-moz-",oe="-webkit-",Pa="comm",Ga="rule",Ya="decl",ic="@import",Xi="@keyframes",sc="@layer",uc=Math.abs,Ir=String.fromCharCode,lc=Object.assign;function cc(e,t){return _e(e,0)^45?(((t<<2^_e(e,0))<<2^_e(e,1))<<2^_e(e,2))<<2^_e(e,3):0}function Zi(e){return e.trim()}function dc(e,t){return(e=t.exec(e))?e[0]:e}function ie(e,t,n){return e.replace(t,n)}function ua(e,t){return e.indexOf(t)}function _e(e,t){return e.charCodeAt(t)|0}function Sn(e,t,n){return e.slice(t,n)}function ht(e){return e.length}function Ra(e){return e.length}function Zn(e,t){return t.push(e),e}function fc(e,t){return e.map(t).join("")}var xr=1,an=1,ji=0,je=0,Te=0,un="";function Cr(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:xr,column:an,length:i,return:""}}function hn(e,t){return lc(Cr("",null,null,"",null,null,0),e,{length:-e.length},t)}function hc(){return Te}function mc(){return Te=je>0?_e(un,--je):0,an--,Te===10&&(an=1,xr--),Te}function Ue(){return Te=je<ji?_e(un,je++):0,an++,Te===10&&(an=1,xr++),Te}function pt(){return _e(un,je)}function qn(){return je}function _n(e,t){return Sn(un,e,t)}function Dn(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 Li(e){return xr=an=1,ji=ht(un=e),je=0,[]}function zi(e){return un="",e}function Kn(e){return Zi(_n(je-1,la(e===91?e+2:e===40?e+1:e)))}function gc(e){for(;(Te=pt())&&Te<33;)Ue();return Dn(e)>2||Dn(Te)>3?"":" "}function pc(e,t){for(;--t&&Ue()&&!(Te<48||Te>102||Te>57&&Te<65||Te>70&&Te<97););return _n(e,qn()+(t<6&&pt()==32&&Ue()==32))}function la(e){for(;Ue();)switch(Te){case e:return je;case 34:case 39:e!==34&&e!==39&&la(Te);break;case 40:e===41&&la(e);break;case 92:Ue();break}return je}function bc(e,t){for(;Ue()&&e+Te!==57;)if(e+Te===84&&pt()===47)break;return"/*"+_n(t,je-1)+"*"+Ir(e===47?e:Ue())}function yc(e){for(;!Dn(pt());)Ue();return _n(e,je)}function vc(e){return zi(er("",null,null,null,[""],e=Li(e),0,[0],e))}function er(e,t,n,r,a,o,i,s,u){for(var l=0,c=0,d=i,h=0,g=0,m=0,y=1,p=1,C=1,v=0,x="",w=a,I=o,b=r,M=x;p;)switch(m=v,v=Ue()){case 40:if(m!=108&&_e(M,d-1)==58){ua(M+=ie(Kn(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:M+=Kn(v);break;case 9:case 10:case 13:case 32:M+=gc(m);break;case 92:M+=pc(qn()-1,7);continue;case 47:switch(pt()){case 42:case 47:Zn(Ic(bc(Ue(),qn()),t,n),u);break;default:M+="/"}break;case 123*y:s[l++]=ht(M)*C;case 125*y:case 59:case 0:switch(v){case 0:case 125:p=0;case 59+c:C==-1&&(M=ie(M,/\f/g,"")),g>0&&ht(M)-d&&Zn(g>32?Go(M+";",r,n,d-1):Go(ie(M," ","")+";",r,n,d-2),u);break;case 59:M+=";";default:if(Zn(b=Po(M,t,n,l,c,a,s,x,w=[],I=[],d),o),v===123)if(c===0)er(M,t,b,b,w,o,d,s,I);else switch(h===99&&_e(M,3)===110?100:h){case 100:case 108:case 109:case 115:er(e,b,b,r&&Zn(Po(e,b,b,0,0,a,s,x,a,w=[],d),I),a,I,d,s,r?w:I);break;default:er(M,b,b,b,[""],I,0,s,I)}}l=c=g=0,y=C=1,x=M="",d=i;break;case 58:d=1+ht(M),g=m;default:if(y<1){if(v==123)--y;else if(v==125&&y++==0&&mc()==125)continue}switch(M+=Ir(v),v*y){case 38:C=c>0?1:(M+="\f",-1);break;case 44:s[l++]=(ht(M)-1)*C,C=1;break;case 64:pt()===45&&(M+=Kn(Ue())),h=pt(),c=d=ht(x=M+=yc(qn())),v++;break;case 45:m===45&&ht(M)==2&&(y=0)}}return o}function Po(e,t,n,r,a,o,i,s,u,l,c){for(var d=a-1,h=a===0?o:[""],g=Ra(h),m=0,y=0,p=0;m<r;++m)for(var C=0,v=Sn(e,d+1,d=uc(y=i[m])),x=e;C<g;++C)(x=Zi(y>0?h[C]+" "+v:ie(v,/&\f/g,h[C])))&&(u[p++]=x);return Cr(e,t,n,a===0?Ga:s,u,l,c)}function Ic(e,t,n){return Cr(e,t,n,Pa,Ir(hc()),Sn(e,2,-2),0)}function Go(e,t,n,r){return Cr(e,t,n,Ya,Sn(e,0,r),Sn(e,r+1,-1),r)}function en(e,t){for(var n="",r=Ra(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function xc(e,t,n,r){switch(e.type){case sc:if(e.children.length)break;case ic:case Ya:return e.return=e.return||e.value;case Pa:return"";case Xi:return e.return=e.value+"{"+en(e.children,r)+"}";case Ga:e.value=e.props.join(",")}return ht(n=en(e.children,r))?e.return=e.value+"{"+n+"}":""}function Cc(e){var t=Ra(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function wc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Mc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Sc=function(t,n,r){for(var a=0,o=0;a=o,o=pt(),a===38&&o===12&&(n[r]=1),!Dn(o);)Ue();return _n(t,je)},Dc=function(t,n){var r=-1,a=44;do switch(Dn(a)){case 0:a===38&&pt()===12&&(n[r]=1),t[r]+=Sc(je-1,n,r);break;case 2:t[r]+=Kn(a);break;case 4:if(a===44){t[++r]=pt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ir(a)}while(a=Ue());return t},kc=function(t,n){return zi(Dc(Li(t),n))},Yo=new WeakMap,Ec=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,a=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Yo.get(r))&&!a){Yo.set(t,!0);for(var o=[],i=kc(n,o),s=r.props,u=0,l=0;u<i.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=o[u]?i[u].replace(/&\f/g,s[c]):s[c]+" "+i[u]}}},Oc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Ac="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Nc=function(t){return t.type==="comm"&&t.children.indexOf(Ac)>-1},Tc=function(t){return function(n,r,a){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=!!n.parent,s=i?n.parent.children:a,u=s.length-1;u>=0;u--){var l=s[u];if(l.line<n.line)break;if(l.column<n.column){if(Nc(l))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Ji=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Fc=function(t,n){for(var r=t-1;r>=0;r--)if(!Ji(n[r]))return!0;return!1},Ro=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Wc=function(t,n,r){Ji(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ro(t)):Fc(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ro(t)))};function $i(e,t){switch(cc(e,t)){case 5103:return oe+"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 oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+or+e+Ye+e+e;case 6828:case 4268:return oe+e+Ye+e+e;case 6165:return oe+e+Ye+"flex-"+e+e;case 5187:return oe+e+ie(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+Ye+"flex-$1$2")+e;case 5443:return oe+e+Ye+"flex-item-"+ie(e,/flex-|-self/,"")+e;case 4675:return oe+e+Ye+"flex-line-pack"+ie(e,/align-content|flex-|-self/,"")+e;case 5548:return oe+e+Ye+ie(e,"shrink","negative")+e;case 5292:return oe+e+Ye+ie(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+ie(e,"-grow","")+oe+e+Ye+ie(e,"grow","positive")+e;case 4554:return oe+ie(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return ie(ie(ie(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return ie(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return ie(ie(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+Ye+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4095:case 3583:case 4068:case 2532:return ie(e,/(.+)-inline(.+)/,oe+"$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(ht(e)-1-t>6)switch(_e(e,t+1)){case 109:if(_e(e,t+4)!==45)break;case 102:return ie(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+or+(_e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ua(e,"stretch")?$i(ie(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_e(e,t+1)!==115)break;case 6444:switch(_e(e,ht(e)-3-(~ua(e,"!important")&&10))){case 107:return ie(e,":",":"+oe)+e;case 101:return ie(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+oe+(_e(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+Ye+"$2box$3")+e}break;case 5936:switch(_e(e,t+11)){case 114:return oe+e+Ye+ie(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+Ye+ie(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+Ye+ie(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return oe+e+Ye+e+e}return e}var _c=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case Ya:t.return=$i(t.value,t.length);break;case Xi:return en([hn(t,{value:ie(t.value,"@","@"+oe)})],a);case Ga:if(t.length)return fc(t.props,function(o){switch(dc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return en([hn(t,{props:[ie(o,/:(read-\w+)/,":"+or+"$1")]})],a);case"::placeholder":return en([hn(t,{props:[ie(o,/:(plac\w+)/,":"+oe+"input-$1")]}),hn(t,{props:[ie(o,/:(plac\w+)/,":"+or+"$1")]}),hn(t,{props:[ie(o,/:(plac\w+)/,Ye+"input-$1")]})],a)}return""})}},Pc=[_c],Gc=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
111
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(
|
|
109
|
+
`;function H(){return H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(this,arguments)}function sc(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]}function uc(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var lc=function(){function e(n){var r=this;this._insertTag=function(a){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,o),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(uc(this));var a=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
110
|
+
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var i=sc(a);try{i.insertRule(r,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else a.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Re="-ms-",cr="-moz-",re="-webkit-",Ha="comm",Xa="rule",Za="decl",cc="@import",Ui="@keyframes",dc="@layer",fc=Math.abs,Dr=String.fromCharCode,hc=Object.assign;function mc(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function Ji(e){return e.trim()}function gc(e,t){return(e=t.exec(e))?e[0]:e}function ae(e,t,n){return e.replace(t,n)}function ga(e,t){return e.indexOf(t)}function Pe(e,t){return e.charCodeAt(t)|0}function En(e,t,n){return e.slice(t,n)}function gt(e){return e.length}function ja(e){return e.length}function Un(e,t){return t.push(e),e}function pc(e,t){return e.map(t).join("")}var kr=1,un=1,Qi=0,$e=0,Oe=0,dn="";function Er(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:kr,column:un,length:i,return:""}}function pn(e,t){return hc(Er("",null,null,"",null,null,0),e,{length:-e.length},t)}function bc(){return Oe}function yc(){return Oe=$e>0?Pe(dn,--$e):0,un--,Oe===10&&(un=1,kr--),Oe}function et(){return Oe=$e<Qi?Pe(dn,$e++):0,un++,Oe===10&&(un=1,kr++),Oe}function yt(){return Pe(dn,$e)}function rr(){return $e}function Yn(e,t){return En(dn,e,t)}function On(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 qi(e){return kr=un=1,Qi=gt(dn=e),$e=0,[]}function Ki(e){return dn="",e}function ar(e){return Ji(Yn($e-1,pa(e===91?e+2:e===40?e+1:e)))}function vc(e){for(;(Oe=yt())&&Oe<33;)et();return On(e)>2||On(Oe)>3?"":" "}function xc(e,t){for(;--t&&et()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Yn(e,rr()+(t<6&&yt()==32&&et()==32))}function pa(e){for(;et();)switch(Oe){case e:return $e;case 34:case 39:e!==34&&e!==39&&pa(Oe);break;case 40:e===41&&pa(e);break;case 92:et();break}return $e}function Ic(e,t){for(;et()&&e+Oe!==57;)if(e+Oe===84&&yt()===47)break;return"/*"+Yn(t,$e-1)+"*"+Dr(e===47?e:et())}function Cc(e){for(;!On(yt());)et();return Yn(e,$e)}function wc(e){return Ki(or("",null,null,null,[""],e=qi(e),0,[0],e))}function or(e,t,n,r,a,o,i,s,u){for(var l=0,c=0,d=i,h=0,g=0,m=0,v=1,p=1,I=1,y=0,C="",M=a,x=o,b=r,S=C;p;)switch(m=y,y=et()){case 40:if(m!=108&&Pe(S,d-1)==58){ga(S+=ae(ar(y),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:S+=ar(y);break;case 9:case 10:case 13:case 32:S+=vc(m);break;case 92:S+=xc(rr()-1,7);continue;case 47:switch(yt()){case 42:case 47:Un(Mc(Ic(et(),rr()),t,n),u);break;default:S+="/"}break;case 123*v:s[l++]=gt(S)*I;case 125*v:case 59:case 0:switch(y){case 0:case 125:p=0;case 59+c:I==-1&&(S=ae(S,/\f/g,"")),g>0&>(S)-d&&Un(g>32?Ho(S+";",r,n,d-1):Ho(ae(S," ","")+";",r,n,d-2),u);break;case 59:S+=";";default:if(Un(b=Vo(S,t,n,l,c,a,s,C,M=[],x=[],d),o),y===123)if(c===0)or(S,t,b,b,M,o,d,s,x);else switch(h===99&&Pe(S,3)===110?100:h){case 100:case 108:case 109:case 115:or(e,b,b,r&&Un(Vo(e,b,b,0,0,a,s,C,a,M=[],d),x),a,x,d,s,r?M:x);break;default:or(S,b,b,b,[""],x,0,s,x)}}l=c=g=0,v=I=1,C=S="",d=i;break;case 58:d=1+gt(S),g=m;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&yc()==125)continue}switch(S+=Dr(y),y*v){case 38:I=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(gt(S)-1)*I,I=1;break;case 64:yt()===45&&(S+=ar(et())),h=yt(),c=d=gt(C=S+=Cc(rr())),y++;break;case 45:m===45&>(S)==2&&(v=0)}}return o}function Vo(e,t,n,r,a,o,i,s,u,l,c){for(var d=a-1,h=a===0?o:[""],g=ja(h),m=0,v=0,p=0;m<r;++m)for(var I=0,y=En(e,d+1,d=fc(v=i[m])),C=e;I<g;++I)(C=Ji(v>0?h[I]+" "+y:ae(y,/&\f/g,h[I])))&&(u[p++]=C);return Er(e,t,n,a===0?Xa:s,u,l,c)}function Mc(e,t,n){return Er(e,t,n,Ha,Dr(bc()),En(e,2,-2),0)}function Ho(e,t,n,r){return Er(e,t,n,Za,En(e,0,r),En(e,r+1,-1),r)}function nn(e,t){for(var n="",r=ja(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function Sc(e,t,n,r){switch(e.type){case dc:if(e.children.length)break;case cc:case Za:return e.return=e.return||e.value;case Ha:return"";case Ui:return e.return=e.value+"{"+nn(e.children,r)+"}";case Xa:e.value=e.props.join(",")}return gt(n=nn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Dc(e){var t=ja(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function kc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ec(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Oc=function(t,n,r){for(var a=0,o=0;a=o,o=yt(),a===38&&o===12&&(n[r]=1),!On(o);)et();return Yn(t,$e)},Ac=function(t,n){var r=-1,a=44;do switch(On(a)){case 0:a===38&&yt()===12&&(n[r]=1),t[r]+=Oc($e-1,n,r);break;case 2:t[r]+=ar(a);break;case 4:if(a===44){t[++r]=yt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Dr(a)}while(a=et());return t},Nc=function(t,n){return Ki(Ac(qi(t),n))},Xo=new WeakMap,Tc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,a=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Xo.get(r))&&!a){Xo.set(t,!0);for(var o=[],i=Nc(n,o),s=r.props,u=0,l=0;u<i.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=o[u]?i[u].replace(/&\f/g,s[c]):s[c]+" "+i[u]}}},Fc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Wc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",_c=function(t){return t.type==="comm"&&t.children.indexOf(Wc)>-1},Pc=function(t){return function(n,r,a){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=!!n.parent,s=i?n.parent.children:a,u=s.length-1;u>=0;u--){var l=s[u];if(l.line<n.line)break;if(l.column<n.column){if(_c(l))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},es=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Gc=function(t,n){for(var r=t-1;r>=0;r--)if(!es(n[r]))return!0;return!1},Zo=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Yc=function(t,n,r){es(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Zo(t)):Gc(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Zo(t)))};function ts(e,t){switch(mc(e,t)){case 5103:return re+"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 re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+cr+e+Re+e+e;case 6828:case 4268:return re+e+Re+e+e;case 6165:return re+e+Re+"flex-"+e+e;case 5187:return re+e+ae(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return re+e+Re+"flex-item-"+ae(e,/flex-|-self/,"")+e;case 4675:return re+e+Re+"flex-line-pack"+ae(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+Re+ae(e,"shrink","negative")+e;case 5292:return re+e+Re+ae(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ae(e,"-grow","")+re+e+Re+ae(e,"grow","positive")+e;case 4554:return re+ae(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ae(ae(ae(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ae(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ae(ae(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ae(e,/(.+)-inline(.+)/,re+"$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(gt(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return ae(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+cr+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ga(e,"stretch")?ts(ae(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,gt(e)-3-(~ga(e,"!important")&&10))){case 107:return ae(e,":",":"+re)+e;case 101:return ae(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(Pe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+Re+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return re+e+Re+ae(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+Re+ae(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+Re+ae(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+Re+e+e}return e}var Rc=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case Za:t.return=ts(t.value,t.length);break;case Ui:return nn([pn(t,{value:ae(t.value,"@","@"+re)})],a);case Xa:if(t.length)return pc(t.props,function(o){switch(gc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nn([pn(t,{props:[ae(o,/:(read-\w+)/,":"+cr+"$1")]})],a);case"::placeholder":return nn([pn(t,{props:[ae(o,/:(plac\w+)/,":"+re+"input-$1")]}),pn(t,{props:[ae(o,/:(plac\w+)/,":"+cr+"$1")]}),pn(t,{props:[ae(o,/:(plac\w+)/,Re+"input-$1")]})],a)}return""})}},Bc=[Rc],Vc=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
111
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var p=v.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var a=t.stylisPlugins||Bc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var o={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var p=v.getAttribute("data-emotion").split(" "),I=1;I<p.length;I++)o[p[I]]=!0;s.push(v)});var u,l=[Tc,Fc];process.env.NODE_ENV!=="production"&&l.push(Pc({get compat(){return m.compat}}),Yc);{var c,d=[Sc,process.env.NODE_ENV!=="production"?function(v){v.root||(v.return?c.insert(v.return):v.value&&v.type!==Ha&&c.insert(v.value+"{}"))}:kc(function(v){c.insert(v)})],h=Dc(l.concat(a,d)),g=function(p){return nn(wc(p),h)};u=function(p,I,y,C){c=y,process.env.NODE_ENV!=="production"&&I.map!==void 0&&(c={insert:function(x){y.insert(x+I.map)}}),g(p?p+"{"+I.styles+"}":I.styles),C&&(m.inserted[I.name]=!0)}}var m={key:n,sheet:new lc({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return m.sheet.hydrate(s),m},Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ba={exports:{}},se={};/** @license React v16.13.1
|
|
112
112
|
* react-is.development.js
|
|
113
113
|
*
|
|
114
114
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
115
115
|
*
|
|
116
116
|
* This source code is licensed under the MIT license found in the
|
|
117
117
|
* LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/var
|
|
118
|
+
*/var jo;function Xc(){return jo||(jo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(F){return typeof F=="string"||typeof F=="function"||F===r||F===l||F===o||F===a||F===d||F===h||typeof F=="object"&&F!==null&&(F.$$typeof===m||F.$$typeof===g||F.$$typeof===i||F.$$typeof===s||F.$$typeof===c||F.$$typeof===p||F.$$typeof===I||F.$$typeof===y||F.$$typeof===v)}function M(F){if(typeof F=="object"&&F!==null){var it=F.$$typeof;switch(it){case t:var Ue=F.type;switch(Ue){case u:case l:case r:case o:case a:case d:return Ue;default:var Y=Ue&&Ue.$$typeof;switch(Y){case s:case c:case m:case g:case i:return Y;default:return it}}case n:return it}}}var x=u,b=l,S=s,E=i,k=t,W=c,G=r,L=m,z=g,N=n,$=o,pe=a,Me=d,ve=!1;function le(F){return ve||(ve=!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.")),ce(F)||M(F)===u}function ce(F){return M(F)===l}function be(F){return M(F)===s}function oe(F){return M(F)===i}function K(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function ye(F){return M(F)===c}function Ne(F){return M(F)===r}function Te(F){return M(F)===m}function Se(F){return M(F)===g}function Ye(F){return M(F)===n}function Xe(F){return M(F)===o}function Le(F){return M(F)===a}function De(F){return M(F)===d}se.AsyncMode=x,se.ConcurrentMode=b,se.ContextConsumer=S,se.ContextProvider=E,se.Element=k,se.ForwardRef=W,se.Fragment=G,se.Lazy=L,se.Memo=z,se.Portal=N,se.Profiler=$,se.StrictMode=pe,se.Suspense=Me,se.isAsyncMode=le,se.isConcurrentMode=ce,se.isContextConsumer=be,se.isContextProvider=oe,se.isElement=K,se.isForwardRef=ye,se.isFragment=Ne,se.isLazy=Te,se.isMemo=Se,se.isPortal=Ye,se.isProfiler=Xe,se.isStrictMode=Le,se.isSuspense=De,se.isValidElementType=C,se.typeOf=M}()),se}var ue={};/** @license React v16.13.1
|
|
119
119
|
* react-is.production.min.js
|
|
120
120
|
*
|
|
121
121
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
122
122
|
*
|
|
123
123
|
* This source code is licensed under the MIT license found in the
|
|
124
124
|
* LICENSE file in the root directory of this source tree.
|
|
125
|
-
*/var
|
|
125
|
+
*/var Lo;function Zc(){if(Lo)return ue;Lo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case t:switch(x=x.type,x){case u:case l:case r:case o:case a:case d:return x;default:switch(x=x&&x.$$typeof,x){case s:case c:case m:case g:case i:return x;default:return b}}case n:return b}}}function M(x){return C(x)===l}return ue.AsyncMode=u,ue.ConcurrentMode=l,ue.ContextConsumer=s,ue.ContextProvider=i,ue.Element=t,ue.ForwardRef=c,ue.Fragment=r,ue.Lazy=m,ue.Memo=g,ue.Portal=n,ue.Profiler=o,ue.StrictMode=a,ue.Suspense=d,ue.isAsyncMode=function(x){return M(x)||C(x)===u},ue.isConcurrentMode=M,ue.isContextConsumer=function(x){return C(x)===s},ue.isContextProvider=function(x){return C(x)===i},ue.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},ue.isForwardRef=function(x){return C(x)===c},ue.isFragment=function(x){return C(x)===r},ue.isLazy=function(x){return C(x)===m},ue.isMemo=function(x){return C(x)===g},ue.isPortal=function(x){return C(x)===n},ue.isProfiler=function(x){return C(x)===o},ue.isStrictMode=function(x){return C(x)===a},ue.isSuspense=function(x){return C(x)===d},ue.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===l||x===o||x===a||x===d||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===g||x.$$typeof===i||x.$$typeof===s||x.$$typeof===c||x.$$typeof===p||x.$$typeof===I||x.$$typeof===y||x.$$typeof===v)},ue.typeOf=C,ue}process.env.NODE_ENV==="production"?ba.exports=Zc():ba.exports=Xc();var jc=ba.exports,ns=jc,Lc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},zc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},rs={};rs[ns.ForwardRef]=Lc;rs[ns.Memo]=zc;var $c=!0;function as(e,t,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):r+=a+" "}),r}var La=function(t,n,r){var a=t.key+"-"+n.name;(r===!1||$c===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},za=function(t,n,r){La(t,n,r);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+a:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Uc(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Jc={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,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},zo=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
126
126
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
127
127
|
You can read more about this here:
|
|
128
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
128
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Qc="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",qc=/[A-Z]|^ms/g,os=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$a=function(t){return t.charCodeAt(1)===45},$o=function(t){return t!=null&&typeof t!="boolean"},Ur=Ec(function(e){return $a(e)?e:e.replace(qc,"-$&").toLowerCase()}),dr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(os,function(r,a,o){return ut={name:a,styles:o,next:ut},a})}return Jc[t]!==1&&!$a(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var Kc=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ed=["normal","none","initial","inherit","unset"],td=dr,nd=/^-ms-/,rd=/-(.)/g,Uo={};dr=function(t,n){if(t==="content"&&(typeof n!="string"||ed.indexOf(n)===-1&&!Kc.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=td(t,n);return r!==""&&!$a(t)&&t.indexOf("-")!==-1&&Uo[t]===void 0&&(Uo[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(nd,"ms-").replace(rd,function(a,o){return o.toUpperCase()})+"?")),r}}var is="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function An(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(is);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return ut={name:n.name,styles:n.styles,next:ut},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)ut={name:r.name,styles:r.styles,next:ut},r=r.next;var a=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(a+=n.map),a}return ad(e,t,n)}case"function":{if(e!==void 0){var o=ut,i=n(e);return ut=o,An(e,t,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],u=n.replace(os,function(c,d,h){var g="animation"+s.length;return s.push("const "+g+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(`
|
|
129
129
|
`)+`
|
|
130
130
|
|
|
131
131
|
You should wrap it with \`css\` like this:
|
|
132
132
|
|
|
133
|
-
`+("css`"+u+"`"))}break}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function
|
|
134
|
-
`),r=0;r<n.length;r++){var a=nd(n[r]);if(a){if(rd.has(a))break;if(/^[A-Z]/.test(a))return ad(a)}}},da="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fa="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",id=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var a in n)Xa.call(n,a)&&(r[a]=n[a]);if(r[da]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var o=od(new Error().stack);o&&(r[fa]=o)}return r},sd=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return Ba(n,r,a),rs(function(){return Va(n,r,a)}),null},as=ja(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[da],o=[r],i="";typeof e.className=="string"?i=qi(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=En(o,void 0,X.useContext(wr));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[fa];u&&(s=En([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var l={};for(var c in e)Xa.call(e,c)&&c!=="css"&&c!==da&&(process.env.NODE_ENV==="production"||c!==fa)&&(l[c]=e[c]);return l.ref=n,l.className=i,X.createElement(X.Fragment,null,X.createElement(sd,{cache:t,serialized:s,isStringTag:typeof a=="string"}),X.createElement(a,l))});process.env.NODE_ENV!=="production"&&(as.displayName="EmotionCssPropInternal");var ud=as,ld={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},R=function(t,n){var r=arguments;if(n==null||!Xa.call(n,"css"))return X.createElement.apply(void 0,r);var a=r.length,o=new Array(a);o[0]=ud,o[1]=id(t,n);for(var i=2;i<a;i++)o[i]=r[i];return X.createElement.apply(null,o)},Jo=!1,cd=ja(function(e,t){process.env.NODE_ENV!=="production"&&!Jo&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Jo=!0);var n=e.styles,r=En([n],void 0,X.useContext(wr)),a=X.useRef();return Lo(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),Lo(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&Va(t,r.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(cd.displayName="EmotionGlobal");function La(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return En(t)}var dd=function(){var t=La.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},fd=function e(t){for(var n=t.length,r=0,a="";r<n;r++){var o=t[r];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function hd(e,t,n){var r=[],a=qi(e,r,n);return r.length<2?n:a+t(r)}var md=function(t){var n=t.cache,r=t.serializedArr;return rs(function(){for(var a=0;a<r.length;a++)Va(n,r[a],!1)}),null},os=ja(function(e,t){var n=!1,r=[],a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var h=En(c,t.registered);return r.push(h),Ba(t,h,!1),t.key+"-"+h.name},o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return hd(t.registered,a,fd(c))},i={css:a,cx:o,theme:X.useContext(wr)},s=e.children(i);return n=!0,X.createElement(X.Fragment,null,X.createElement(md,{cache:t,serializedArr:r}),s)});process.env.NODE_ENV!=="production"&&(os.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var $o=!0,gd=typeof jest<"u"||typeof vi<"u";if($o&&!gd){var Uo=typeof globalThis<"u"?globalThis:$o?window:global,Qo="__EMOTION_REACT_"+ld.version.split(".")[0]+"__";Uo[Qo]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Uo[Qo]=!0}}function pd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function bd(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function ln(e,t){if(e==null)return{};var n=bd(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ha(e){"@babel/helpers - typeof";return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ha(e)}function za(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ja(e,t,n){return t&&qo(e.prototype,t),n&&qo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ma(e,t){return ma=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},ma(e,t)}function $a(e,t){if(typeof t!="function"&&t!==null)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&&ma(e,t)}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ko(Object(n),!0).forEach(function(r){yd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ko(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function vd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Id(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xd(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:Id(e)}function Ua(e){var t=vd();return function(){var r=sr(e),a;if(t){var o=sr(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return xd(this,a)}}var Cd=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ur=function(){};function wd(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Md(e,t,n){var r=[n];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(wd(e,a)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var ei=function(t){return Fd(t)?t.filter(Boolean):ha(t)==="object"&&t!==null?[t]:[]},is=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=ln(t,Cd);return we({},n)};function Qa(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ss(e){return Qa(e)?window.pageYOffset:e.scrollTop}function lr(e,t){if(Qa(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Sd(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function Dd(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Ln(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ur,a=ss(e),o=t-a,i=10,s=0;function u(){s+=i;var l=Dd(s,a,o,n);lr(e,l),s<n?window.requestAnimationFrame(u):r(e)}u()}function kd(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.offsetHeight/3;r.bottom+a>n.bottom?lr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a<n.top&&lr(e,Math.max(t.offsetTop-a,0))}function Ed(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function ti(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Od(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var us=!1,Ad={get passive(){return us=!0}},zn=typeof window<"u"?window:{};zn.addEventListener&&zn.removeEventListener&&(zn.addEventListener("p",ur,Ad),zn.removeEventListener("p",ur,!1));var Nd=us;function Td(e){return e!=null}function Fd(e){return Array.isArray(e)}function Jn(e,t,n){return e?t:n}function Wd(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,a=e.placement,o=e.shouldScroll,i=e.isFixedPosition,s=e.theme,u=s.spacing,l=Sd(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect(),h=d.height,g=n.getBoundingClientRect(),m=g.bottom,y=g.height,p=g.top,C=n.offsetParent.getBoundingClientRect(),v=C.top,x=window.innerHeight,w=ss(l),I=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),M=v-b,E=x-p,k=M+w,F=h-w-p,G=m-x+w+I,L=w+p-b,z=160;switch(a){case"auto":case"bottom":if(E>=y)return{placement:"bottom",maxHeight:t};if(F>=y&&!i)return o&&Ln(l,G,z),{placement:"bottom",maxHeight:t};if(!i&&F>=r||i&&E>=r){o&&Ln(l,G,z);var N=i?E-I:F-I;return{placement:"bottom",maxHeight:N}}if(a==="auto"||i){var $=t,me=i?M:k;return me>=r&&($=Math.min(me-I-u.controlHeight,t)),{placement:"top",maxHeight:$}}if(a==="bottom")return o&&lr(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(M>=y)return{placement:"top",maxHeight:t};if(k>=y&&!i)return o&&Ln(l,L,z),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&M>=r){var ge=t;return(!i&&k>=r||i&&M>=r)&&(ge=i?M-b:k-b),o&&Ln(l,L,z),{placement:"top",maxHeight:ge}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function _d(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var ga=function(t){return t==="auto"?"bottom":t},Pd=function(t){var n,r=t.placement,a=t.theme,o=a.borderRadius,i=a.spacing,s=a.colors;return n={label:"menu"},Ct(n,_d(r),"100%"),Ct(n,"backgroundColor",s.neutral0),Ct(n,"borderRadius",o),Ct(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Ct(n,"marginBottom",i.menuGutter),Ct(n,"marginTop",i.menuGutter),Ct(n,"position","absolute"),Ct(n,"width","100%"),Ct(n,"zIndex",1),n},ls=f.createContext({getPortalPlacement:null}),cs=function(e){$a(n,e);var t=Ua(n);function n(){var r;za(this,n);for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=t.call.apply(t,[this].concat(o)),r.state={maxHeight:r.props.maxMenuHeight,placement:null},r.context=void 0,r.getPlacement=function(s){var u=r.props,l=u.minMenuHeight,c=u.maxMenuHeight,d=u.menuPlacement,h=u.menuPosition,g=u.menuShouldScrollIntoView,m=u.theme;if(s){var y=h==="fixed",p=g&&!y,C=Wd({maxHeight:c,menuEl:s,minHeight:l,placement:d,shouldScroll:p,isFixedPosition:y,theme:m}),v=r.context.getPortalPlacement;v&&v(C),r.setState(C)}},r.getUpdatedProps=function(){var s=r.props.menuPlacement,u=r.state.placement||ga(s);return we(we({},r.props),{},{placement:u,maxHeight:r.state.maxHeight})},r}return Ja(n,[{key:"render",value:function(){var a=this.props.children;return a({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(f.Component);cs.contextType=ls;var Gd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerRef,s=t.innerProps;return R("div",V({css:o("menu",t),className:a({menu:!0},r),ref:i},s),n)},Yd=function(t){var n=t.maxHeight,r=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},Rd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps,s=t.innerRef,u=t.isMulti;return R("div",V({css:o("menuList",t),className:a({"menu-list":!0,"menu-list--is-multi":u},r),ref:s},i),n)},ds=function(t){var n=t.theme,r=n.spacing.baseUnit,a=n.colors;return{color:a.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px"),textAlign:"center"}},Bd=ds,Vd=ds,fs=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return R("div",V({css:o("noOptionsMessage",t),className:a({"menu-notice":!0,"menu-notice--no-options":!0},r)},i),n)};fs.defaultProps={children:"No options"};var hs=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return R("div",V({css:o("loadingMessage",t),className:a({"menu-notice":!0,"menu-notice--loading":!0},r)},i),n)};hs.defaultProps={children:"Loading..."};var Hd=function(t){var n=t.rect,r=t.offset,a=t.position;return{left:n.left,position:a,top:r,width:n.width,zIndex:1}},Xd=function(e){$a(n,e);var t=Ua(n);function n(){var r;za(this,n);for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=t.call.apply(t,[this].concat(o)),r.state={placement:null},r.getPortalPlacement=function(s){var u=s.placement,l=ga(r.props.menuPlacement);u!==l&&r.setState({placement:u})},r}return Ja(n,[{key:"render",value:function(){var a=this.props,o=a.appendTo,i=a.children,s=a.className,u=a.controlElement,l=a.cx,c=a.innerProps,d=a.menuPlacement,h=a.menuPosition,g=a.getStyles,m=h==="fixed";if(!o&&!m||!u)return null;var y=this.state.placement||ga(d),p=Ed(u),C=m?0:window.pageYOffset,v=p[y]+C,x={offset:v,position:h,rect:p},w=R("div",V({css:g("menuPortal",x),className:l({"menu-portal":!0},s)},c),i);return R(ls.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},o?Xl.createPortal(w,o):w)}}]),n}(f.Component),Zd=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},jd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps,s=t.isDisabled,u=t.isRtl;return R("div",V({css:o("container",t),className:a({"--is-disabled":s,"--is-rtl":u},r)},i),n)},Ld=function(t){var n=t.theme.spacing,r=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:r&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},zd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.innerProps,i=t.isMulti,s=t.getStyles,u=t.hasValue;return R("div",V({css:s("valueContainer",t),className:a({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":u},r)},o),n)},Jd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},$d=function(t){var n=t.children,r=t.className,a=t.cx,o=t.innerProps,i=t.getStyles;return R("div",V({css:i("indicatorsContainer",t),className:a({indicators:!0},r)},o),n)},ni,Ud=["size"];function Qd(){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)."}var qd=process.env.NODE_ENV==="production"?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudEN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AgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:Qd},ms=function(t){var n=t.size,r=ln(t,Ud);return R("svg",V({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:qd},r))},qa=function(t){return R(ms,V({size:20},t),R("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"}))},gs=function(t){return R(ms,V({size:20},t),R("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"}))},ps=function(t){var n=t.isFocused,r=t.theme,a=r.spacing.baseUnit,o=r.colors;return{label:"indicatorContainer",color:n?o.neutral60:o.neutral20,display:"flex",padding:a*2,transition:"color 150ms",":hover":{color:n?o.neutral80:o.neutral40}}},Kd=ps,ef=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return R("div",V({css:o("dropdownIndicator",t),className:a({indicator:!0,"dropdown-indicator":!0},r)},i),n||R(gs,null))},tf=ps,nf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return R("div",V({css:o("clearIndicator",t),className:a({indicator:!0,"clear-indicator":!0},r)},i),n||R(qa,null))},rf=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing.baseUnit,o=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2,width:1}},af=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.innerProps;return R("span",V({},o,{css:a("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},of=dd(ni||(ni=pd([`
|
|
133
|
+
`+("css`"+u+"`"))}break}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function ad(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=An(e,t,n[a])+";";else for(var o in n){var i=n[o];if(typeof i!="object")t!=null&&t[i]!==void 0?r+=o+"{"+t[i]+"}":$o(i)&&(r+=Ur(o)+":"+dr(o,i)+";");else{if(o==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(is);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)$o(i[s])&&(r+=Ur(o)+":"+dr(o,i[s])+";");else{var u=An(e,t,i);switch(o){case"animation":case"animationName":{r+=Ur(o)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&o==="undefined"&&console.error(Qc),r+=o+"{"+u+"}"}}}}return r}var Jo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ss;process.env.NODE_ENV!=="production"&&(ss=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ut,Nn=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,o="";ut=void 0;var i=t[0];i==null||i.raw===void 0?(a=!1,o+=An(r,n,i)):(process.env.NODE_ENV!=="production"&&i[0]===void 0&&console.error(zo),o+=i[0]);for(var s=1;s<t.length;s++)o+=An(r,n,t[s]),a&&(process.env.NODE_ENV!=="production"&&i[s]===void 0&&console.error(zo),o+=i[s]);var u;process.env.NODE_ENV!=="production"&&(o=o.replace(ss,function(h){return u=h,""})),Jo.lastIndex=0;for(var l="",c;(c=Jo.exec(o))!==null;)l+="-"+c[1];var d=Uc(o)+l;return process.env.NODE_ENV!=="production"?{name:d,styles:o,map:u,next:ut,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)."}}:{name:d,styles:o,next:ut}},od=function(t){return t()},us=X.useInsertionEffect?X.useInsertionEffect:!1,ls=us||od,Qo=us||X.useLayoutEffect,Ua={}.hasOwnProperty,Ja=X.createContext(typeof HTMLElement<"u"?Vc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Ja.displayName="EmotionCacheContext");Ja.Provider;var Qa=function(t){return f.forwardRef(function(n,r){var a=f.useContext(Ja);return t(n,a,r)})},Or=X.createContext({});process.env.NODE_ENV!=="production"&&(Or.displayName="EmotionThemeContext");var qo=function(t){var n=t.split(".");return n[n.length-1]},id=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return qo(n[1])},sd=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),ud=function(t){return t.replace(/\$/g,"-")},ld=function(t){if(t)for(var n=t.split(`
|
|
134
|
+
`),r=0;r<n.length;r++){var a=id(n[r]);if(a){if(sd.has(a))break;if(/^[A-Z]/.test(a))return ud(a)}}},ya="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",va="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",cd=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var a in n)Ua.call(n,a)&&(r[a]=n[a]);if(r[ya]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var o=ld(new Error().stack);o&&(r[va]=o)}return r},dd=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return La(n,r,a),ls(function(){return za(n,r,a)}),null},cs=Qa(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[ya],o=[r],i="";typeof e.className=="string"?i=as(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=Nn(o,void 0,X.useContext(Or));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[va];u&&(s=Nn([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var l={};for(var c in e)Ua.call(e,c)&&c!=="css"&&c!==ya&&(process.env.NODE_ENV==="production"||c!==va)&&(l[c]=e[c]);return l.ref=n,l.className=i,X.createElement(X.Fragment,null,X.createElement(dd,{cache:t,serialized:s,isStringTag:typeof a=="string"}),X.createElement(a,l))});process.env.NODE_ENV!=="production"&&(cs.displayName="EmotionCssPropInternal");var fd=cs,hd={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},B=function(t,n){var r=arguments;if(n==null||!Ua.call(n,"css"))return X.createElement.apply(void 0,r);var a=r.length,o=new Array(a);o[0]=fd,o[1]=cd(t,n);for(var i=2;i<a;i++)o[i]=r[i];return X.createElement.apply(null,o)},Ko=!1,md=Qa(function(e,t){process.env.NODE_ENV!=="production"&&!Ko&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Ko=!0);var n=e.styles,r=Nn([n],void 0,X.useContext(Or)),a=X.useRef();return Qo(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),Qo(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&za(t,r.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(md.displayName="EmotionGlobal");function qa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nn(t)}var gd=function(){var t=qa.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},pd=function e(t){for(var n=t.length,r=0,a="";r<n;r++){var o=t[r];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function bd(e,t,n){var r=[],a=as(e,r,n);return r.length<2?n:a+t(r)}var yd=function(t){var n=t.cache,r=t.serializedArr;return ls(function(){for(var a=0;a<r.length;a++)za(n,r[a],!1)}),null},ds=Qa(function(e,t){var n=!1,r=[],a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var h=Nn(c,t.registered);return r.push(h),La(t,h,!1),t.key+"-"+h.name},o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return bd(t.registered,a,pd(c))},i={css:a,cx:o,theme:X.useContext(Or)},s=e.children(i);return n=!0,X.createElement(X.Fragment,null,X.createElement(yd,{cache:t,serializedArr:r}),s)});process.env.NODE_ENV!=="production"&&(ds.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var ei=!0,vd=typeof jest<"u"||typeof vi<"u";if(ei&&!vd){var ti=typeof globalThis<"u"?globalThis:ei?window:global,ni="__EMOTION_REACT_"+hd.version.split(".")[0]+"__";ti[ni]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),ti[ni]=!0}}function xd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Id(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function fn(e,t){if(e==null)return{};var n=Id(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xa(e){"@babel/helpers - typeof";return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xa(e)}function Ka(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ri(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eo(e,t,n){return t&&ri(e.prototype,t),n&&ri(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ia(e,t){return Ia=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},Ia(e,t)}function to(e,t){if(typeof t!="function"&&t!==null)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&&Ia(e,t)}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ai(Object(n),!0).forEach(function(r){Cd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function wd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sd(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:Md(e)}function no(e){var t=wd();return function(){var r=fr(e),a;if(t){var o=fr(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Sd(this,a)}}var Dd=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],hr=function(){};function kd(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Ed(e,t,n){var r=[n];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(kd(e,a)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var oi=function(t){return Gd(t)?t.filter(Boolean):xa(t)==="object"&&t!==null?[t]:[]},fs=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=fn(t,Dd);return we({},n)};function ro(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function hs(e){return ro(e)?window.pageYOffset:e.scrollTop}function mr(e,t){if(ro(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Od(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function Ad(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Qn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:hr,a=hs(e),o=t-a,i=10,s=0;function u(){s+=i;var l=Ad(s,a,o,n);mr(e,l),s<n?window.requestAnimationFrame(u):r(e)}u()}function Nd(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.offsetHeight/3;r.bottom+a>n.bottom?mr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a<n.top&&mr(e,Math.max(t.offsetTop-a,0))}function Td(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function ii(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Fd(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var ms=!1,Wd={get passive(){return ms=!0}},qn=typeof window<"u"?window:{};qn.addEventListener&&qn.removeEventListener&&(qn.addEventListener("p",hr,Wd),qn.removeEventListener("p",hr,!1));var _d=ms;function Pd(e){return e!=null}function Gd(e){return Array.isArray(e)}function Kn(e,t,n){return e?t:n}function Yd(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,a=e.placement,o=e.shouldScroll,i=e.isFixedPosition,s=e.theme,u=s.spacing,l=Od(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect(),h=d.height,g=n.getBoundingClientRect(),m=g.bottom,v=g.height,p=g.top,I=n.offsetParent.getBoundingClientRect(),y=I.top,C=window.innerHeight,M=hs(l),x=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),S=y-b,E=C-p,k=S+M,W=h-M-p,G=m-C+M+x,L=M+p-b,z=160;switch(a){case"auto":case"bottom":if(E>=v)return{placement:"bottom",maxHeight:t};if(W>=v&&!i)return o&&Qn(l,G,z),{placement:"bottom",maxHeight:t};if(!i&&W>=r||i&&E>=r){o&&Qn(l,G,z);var N=i?E-x:W-x;return{placement:"bottom",maxHeight:N}}if(a==="auto"||i){var $=t,pe=i?S:k;return pe>=r&&($=Math.min(pe-x-u.controlHeight,t)),{placement:"top",maxHeight:$}}if(a==="bottom")return o&&mr(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(S>=v)return{placement:"top",maxHeight:t};if(k>=v&&!i)return o&&Qn(l,L,z),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&S>=r){var Me=t;return(!i&&k>=r||i&&S>=r)&&(Me=i?S-b:k-b),o&&Qn(l,L,z),{placement:"top",maxHeight:Me}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function Rd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ca=function(t){return t==="auto"?"bottom":t},Bd=function(t){var n,r=t.placement,a=t.theme,o=a.borderRadius,i=a.spacing,s=a.colors;return n={label:"menu"},Mt(n,Rd(r),"100%"),Mt(n,"backgroundColor",s.neutral0),Mt(n,"borderRadius",o),Mt(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Mt(n,"marginBottom",i.menuGutter),Mt(n,"marginTop",i.menuGutter),Mt(n,"position","absolute"),Mt(n,"width","100%"),Mt(n,"zIndex",1),n},gs=f.createContext({getPortalPlacement:null}),ps=function(e){to(n,e);var t=no(n);function n(){var r;Ka(this,n);for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=t.call.apply(t,[this].concat(o)),r.state={maxHeight:r.props.maxMenuHeight,placement:null},r.context=void 0,r.getPlacement=function(s){var u=r.props,l=u.minMenuHeight,c=u.maxMenuHeight,d=u.menuPlacement,h=u.menuPosition,g=u.menuShouldScrollIntoView,m=u.theme;if(s){var v=h==="fixed",p=g&&!v,I=Yd({maxHeight:c,menuEl:s,minHeight:l,placement:d,shouldScroll:p,isFixedPosition:v,theme:m}),y=r.context.getPortalPlacement;y&&y(I),r.setState(I)}},r.getUpdatedProps=function(){var s=r.props.menuPlacement,u=r.state.placement||Ca(s);return we(we({},r.props),{},{placement:u,maxHeight:r.state.maxHeight})},r}return eo(n,[{key:"render",value:function(){var a=this.props.children;return a({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(f.Component);ps.contextType=gs;var Vd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerRef,s=t.innerProps;return B("div",H({css:o("menu",t),className:a({menu:!0},r),ref:i},s),n)},Hd=function(t){var n=t.maxHeight,r=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},Xd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps,s=t.innerRef,u=t.isMulti;return B("div",H({css:o("menuList",t),className:a({"menu-list":!0,"menu-list--is-multi":u},r),ref:s},i),n)},bs=function(t){var n=t.theme,r=n.spacing.baseUnit,a=n.colors;return{color:a.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px"),textAlign:"center"}},Zd=bs,jd=bs,ys=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("noOptionsMessage",t),className:a({"menu-notice":!0,"menu-notice--no-options":!0},r)},i),n)};ys.defaultProps={children:"No options"};var vs=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("loadingMessage",t),className:a({"menu-notice":!0,"menu-notice--loading":!0},r)},i),n)};vs.defaultProps={children:"Loading..."};var Ld=function(t){var n=t.rect,r=t.offset,a=t.position;return{left:n.left,position:a,top:r,width:n.width,zIndex:1}},zd=function(e){to(n,e);var t=no(n);function n(){var r;Ka(this,n);for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=t.call.apply(t,[this].concat(o)),r.state={placement:null},r.getPortalPlacement=function(s){var u=s.placement,l=Ca(r.props.menuPlacement);u!==l&&r.setState({placement:u})},r}return eo(n,[{key:"render",value:function(){var a=this.props,o=a.appendTo,i=a.children,s=a.className,u=a.controlElement,l=a.cx,c=a.innerProps,d=a.menuPlacement,h=a.menuPosition,g=a.getStyles,m=h==="fixed";if(!o&&!m||!u)return null;var v=this.state.placement||Ca(d),p=Td(u),I=m?0:window.pageYOffset,y=p[v]+I,C={offset:y,position:h,rect:p},M=B("div",H({css:g("menuPortal",C),className:l({"menu-portal":!0},s)},c),i);return B(gs.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},o?zl.createPortal(M,o):M)}}]),n}(f.Component),$d=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Ud=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps,s=t.isDisabled,u=t.isRtl;return B("div",H({css:o("container",t),className:a({"--is-disabled":s,"--is-rtl":u},r)},i),n)},Jd=function(t){var n=t.theme.spacing,r=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:r&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Qd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.innerProps,i=t.isMulti,s=t.getStyles,u=t.hasValue;return B("div",H({css:s("valueContainer",t),className:a({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":u},r)},o),n)},qd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Kd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.innerProps,i=t.getStyles;return B("div",H({css:i("indicatorsContainer",t),className:a({indicators:!0},r)},o),n)},si,ef=["size"];function tf(){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)."}var nf=process.env.NODE_ENV==="production"?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR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9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:tf},xs=function(t){var n=t.size,r=fn(t,ef);return B("svg",H({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:nf},r))},ao=function(t){return B(xs,H({size:20},t),B("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"}))},Is=function(t){return B(xs,H({size:20},t),B("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"}))},Cs=function(t){var n=t.isFocused,r=t.theme,a=r.spacing.baseUnit,o=r.colors;return{label:"indicatorContainer",color:n?o.neutral60:o.neutral20,display:"flex",padding:a*2,transition:"color 150ms",":hover":{color:n?o.neutral80:o.neutral40}}},rf=Cs,af=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("dropdownIndicator",t),className:a({indicator:!0,"dropdown-indicator":!0},r)},i),n||B(Is,null))},of=Cs,sf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("clearIndicator",t),className:a({indicator:!0,"clear-indicator":!0},r)},i),n||B(ao,null))},uf=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing.baseUnit,o=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2,width:1}},lf=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.innerProps;return B("span",H({},o,{css:a("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},cf=gd(si||(si=xd([`
|
|
135
135
|
0%, 80%, 100% { opacity: 0; }
|
|
136
136
|
40% { opacity: 1; }
|
|
137
|
-
`]))),sf=function(t){var n=t.isFocused,r=t.size,a=t.theme,o=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:n?o.neutral60:o.neutral20,display:"flex",padding:i*2,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},Xr=function(t){var n=t.delay,r=t.offset;return R("span",{css:La({animation:"".concat(of," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICA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AgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},bs=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.innerProps,i=t.isRtl;return R("div",V({css:a("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},o),R(Xr,{delay:0,offset:i}),R(Xr,{delay:160,offset:!0}),R(Xr,{delay:320,offset:!i}))};bs.defaultProps={size:4};var uf=function(t){var n=t.isDisabled,r=t.isFocused,a=t.theme,o=a.colors,i=a.borderRadius,s=a.spacing;return{label:"control",alignItems:"center",backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?o.primary:o.neutral30}}},lf=function(t){var n=t.children,r=t.cx,a=t.getStyles,o=t.className,i=t.isDisabled,s=t.isFocused,u=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return R("div",V({ref:u,css:a("control",t),className:r({control:!0,"control--is-disabled":i,"control--is-focused":s,"control--menu-is-open":c},o)},l),n)},cf=["data"],df=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},ff=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return R("div",V({css:o("group",t),className:a({group:!0},r)},u),R(i,V({},s,{selectProps:d,theme:c,getStyles:o,cx:a}),l),R("div",null,n))},hf=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},mf=function(t){var n=t.getStyles,r=t.cx,a=t.className,o=is(t);o.data;var i=ln(o,cf);return R("div",V({css:n("groupHeading",t),className:r({"group-heading":!0},a)},i))},gf=["innerRef","isDisabled","isHidden","inputClassName"],pf=function(t){var n=t.isDisabled,r=t.value,a=t.theme,o=a.spacing,i=a.colors;return we({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:n?"hidden":"visible",color:i.neutral80,transform:r?"translateZ(0)":""},bf)},ys={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},bf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":we({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ys)},yf=function(t){return we({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ys)},vf=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.value,i=is(t),s=i.innerRef,u=i.isDisabled,l=i.isHidden,c=i.inputClassName,d=ln(i,gf);return R("div",{className:r({"input-container":!0},n),css:a("input",t),"data-value":o||""},R("input",V({className:r({input:!0},c),ref:s,style:yf(l),disabled:u},d)))},If=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,o=n.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:a/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},xf=function(t){var n=t.theme,r=n.borderRadius,a=n.colors,o=t.cropWithEllipsis;return{borderRadius:r/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},Cf=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,o=n.colors,i=t.isFocused;return{alignItems:"center",borderRadius:a/2,backgroundColor:i?o.dangerLight:void 0,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},vs=function(t){var n=t.children,r=t.innerProps;return R("div",r,n)},wf=vs,Mf=vs;function Sf(e){var t=e.children,n=e.innerProps;return R("div",V({role:"button"},n),t||R(qa,{size:14}))}var Df=function(t){var n=t.children,r=t.className,a=t.components,o=t.cx,i=t.data,s=t.getStyles,u=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,h=a.Container,g=a.Label,m=a.Remove;return R(os,null,function(y){var p=y.css,C=y.cx;return R(h,{data:i,innerProps:we({className:C(p(s("multiValue",t)),o({"multi-value":!0,"multi-value--is-disabled":l},r))},u),selectProps:d},R(g,{data:i,innerProps:{className:C(p(s("multiValueLabel",t)),o({"multi-value__label":!0},r))},selectProps:d},n),R(m,{data:i,innerProps:we({className:C(p(s("multiValueRemove",t)),o({"multi-value__remove":!0},r)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))})},kf=function(t){var n=t.isDisabled,r=t.isFocused,a=t.isSelected,o=t.theme,i=o.spacing,s=o.colors;return{label:"option",backgroundColor:a?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:a?s.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(i.baseUnit*2,"px ").concat(i.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:a?s.primary:s.primary50}}},Ef=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.isDisabled,s=t.isFocused,u=t.isSelected,l=t.innerRef,c=t.innerProps;return R("div",V({css:o("option",t),className:a({option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":u},r),ref:l,"aria-disabled":i},c),n)},Of=function(t){var n=t.theme,r=n.spacing,a=n.colors;return{label:"placeholder",color:a.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2}},Af=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return R("div",V({css:o("placeholder",t),className:a({placeholder:!0},r)},i),n)},Nf=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing,o=r.colors;return{label:"singleValue",color:n?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Tf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.isDisabled,s=t.innerProps;return R("div",V({css:o("singleValue",t),className:a({"single-value":!0,"single-value--is-disabled":i},r)},s),n)},pa={ClearIndicator:nf,Control:lf,DropdownIndicator:ef,DownChevron:gs,CrossIcon:qa,Group:ff,GroupHeading:mf,IndicatorsContainer:$d,IndicatorSeparator:af,Input:vf,LoadingIndicator:bs,Menu:Gd,MenuList:Rd,MenuPortal:Xd,LoadingMessage:hs,NoOptionsMessage:fs,MultiValue:Df,MultiValueContainer:wf,MultiValueLabel:Mf,MultiValueRemove:Sf,Option:Ef,Placeholder:Af,SelectContainer:jd,SingleValue:Tf,ValueContainer:zd},Ff=function(t){return we(we({},pa),t.components)};function Wf(e){if(Array.isArray(e))return e}function _f(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,s;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function ba(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Is(e,t){if(e){if(typeof e=="string")return ba(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ba(e,t)}}function Pf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
138
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
139
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xs(e){return Rf(e)||Bf(e)||Is(e)||Vf()}var ri=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Hf(e,t){return!!(e===t||ri(e)&&ri(t))}function Xf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Hf(e[n],t[n]))return!1;return!0}function Zf(e,t){t===void 0&&(t=Xf);var n,r=[],a,o=!1;function i(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return o&&n===this&&t(s,r)||(a=e.apply(this,s),o=!0,n=this,r=s),a}return i}function jf(){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)."}var Lf=process.env.NODE_ENV==="production"?{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:jf},ai=function(t){return R("span",V({css:Lf},t))},zf={guidance:function(t){var n=t.isSearchable,r=t.isMulti,a=t.isDisabled,o=t.tabSelectsValue,i=t.context;switch(i){case"menu":return"Use Up and Down to choose options".concat(a?"":", 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"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" 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(t){var n=t.action,r=t.label,a=r===void 0?"":r,o=t.labels,i=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return i?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,a=t.options,o=t.label,i=o===void 0?"":o,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=function(m,y){return m&&m.length?"".concat(m.indexOf(y)+1," of ").concat(m.length):""};if(n==="value"&&s)return"value ".concat(i," focused, ").concat(c(s,r),".");if(n==="menu"){var d=u?" disabled":"",h="".concat(l?"selected":"focused").concat(d);return"option ".concat(i," ").concat(h,", ").concat(c(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Jf=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,o=t.focusableOptions,i=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=u.ariaLiveMessages,d=u.getOptionLabel,h=u.inputValue,g=u.isMulti,m=u.isOptionDisabled,y=u.isSearchable,p=u.menuIsOpen,C=u.options,v=u.screenReaderStatus,x=u.tabSelectsValue,w=u["aria-label"],I=u["aria-live"],b=f.useMemo(function(){return we(we({},zf),c||{})},[c]),M=f.useMemo(function(){var N="";if(n&&b.onChange){var $=n.option,me=n.options,ge=n.removedValue,Me=n.removedValues,ee=n.value,te=function(U){return Array.isArray(U)?null:U},Se=ge||$||te(ee),pe=Se?d(Se):"",be=me||Me||void 0,ke=be?be.map(d):[],Ee=we({isDisabled:Se&&m(Se,s),label:pe,labels:ke},n);N=b.onChange(Ee)}return N},[n,b,m,s,d]),E=f.useMemo(function(){var N="",$=r||a,me=!!(r&&s&&s.includes(r));if($&&b.onFocus){var ge={focused:$,label:d($),isDisabled:m($,s),isSelected:me,options:C,context:$===r?"menu":"value",selectValue:s};N=b.onFocus(ge)}return N},[r,a,d,m,b,C,s]),k=f.useMemo(function(){var N="";if(p&&C.length&&b.onFilter){var $=v({count:o.length});N=b.onFilter({inputValue:h,resultsMessage:$})}return N},[o,h,p,b,C,v]),F=f.useMemo(function(){var N="";if(b.guidance){var $=a?"value":p?"menu":"input";N=b.guidance({"aria-label":w,context:$,isDisabled:r&&m(r,s),isMulti:g,isSearchable:y,tabSelectsValue:x})}return N},[w,r,a,g,m,y,p,b,s,x]),G="".concat(E," ").concat(k," ").concat(F),L=R(f.Fragment,null,R("span",{id:"aria-selection"},M),R("span",{id:"aria-context"},G)),z=(n==null?void 0:n.action)==="initial-input-focus";return R(f.Fragment,null,R(ai,{id:l},z&&L),R(ai,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text"},i&&!z&&L))},ya=[{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źẑżžẓẕƶȥɀⱬꝣ"}],$f=new RegExp("["+ya.map(function(e){return e.letters}).join("")+"]","g"),Cs={};for(var jr=0;jr<ya.length;jr++)for(var Lr=ya[jr],zr=0;zr<Lr.letters.length;zr++)Cs[Lr.letters[zr]]=Lr.base;var ws=function(t){return t.replace($f,function(n){return Cs[n]})},Uf=Zf(ws),oi=function(t){return t.replace(/^\s+|\s+$/g,"")},Qf=function(t){return"".concat(t.label," ").concat(t.value)},qf=function(t){return function(n,r){if(n.data.__isNew__)return!0;var a=we({ignoreCase:!0,ignoreAccents:!0,stringify:Qf,trim:!0,matchFrom:"any"},t),o=a.ignoreCase,i=a.ignoreAccents,s=a.stringify,u=a.trim,l=a.matchFrom,c=u?oi(r):r,d=u?oi(s(n)):s(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),i&&(c=Uf(c),d=ws(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Kf=["innerRef"];function eh(e){var t=e.innerRef,n=ln(e,Kf);return R("input",V({ref:t},n,{css:La({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)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNNIiwiZmlsZSI6IkR1bW15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y8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var th=function(t){t.preventDefault(),t.stopPropagation()};function nh(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,o=e.onTopLeave,i=f.useRef(!1),s=f.useRef(!1),u=f.useRef(0),l=f.useRef(null),c=f.useCallback(function(p,C){if(l.current!==null){var v=l.current,x=v.scrollTop,w=v.scrollHeight,I=v.clientHeight,b=l.current,M=C>0,E=w-I-x,k=!1;E>C&&i.current&&(r&&r(p),i.current=!1),M&&s.current&&(o&&o(p),s.current=!1),M&&C>E?(n&&!i.current&&n(p),b.scrollTop=w,k=!0,i.current=!0):!M&&-C>x&&(a&&!s.current&&a(p),b.scrollTop=0,k=!0,s.current=!0),k&&th(p)}},[n,r,a,o]),d=f.useCallback(function(p){c(p,p.deltaY)},[c]),h=f.useCallback(function(p){u.current=p.changedTouches[0].clientY},[]),g=f.useCallback(function(p){var C=u.current-p.changedTouches[0].clientY;c(p,C)},[c]),m=f.useCallback(function(p){if(p){var C=Nd?{passive:!1}:!1;p.addEventListener("wheel",d,C),p.addEventListener("touchstart",h,C),p.addEventListener("touchmove",g,C)}},[g,h,d]),y=f.useCallback(function(p){p&&(p.removeEventListener("wheel",d,!1),p.removeEventListener("touchstart",h,!1),p.removeEventListener("touchmove",g,!1))},[g,h,d]);return f.useEffect(function(){if(t){var p=l.current;return m(p),function(){y(p)}}},[t,m,y]),function(p){l.current=p}}var ii=["boxSizing","height","overflow","paddingRight","position"],si={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ui(e){e.preventDefault()}function li(e){e.stopPropagation()}function ci(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function di(){return"ontouchstart"in window||navigator.maxTouchPoints}var fi=!!(typeof window<"u"&&window.document&&window.document.createElement),mn=0,zt={capture:!1,passive:!1};function rh(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=f.useRef({}),o=f.useRef(null),i=f.useCallback(function(u){if(fi){var l=document.body,c=l&&l.style;if(r&&ii.forEach(function(m){var y=c&&c[m];a.current[m]=y}),r&&mn<1){var d=parseInt(a.current.paddingRight,10)||0,h=document.body?document.body.clientWidth:0,g=window.innerWidth-h+d||0;Object.keys(si).forEach(function(m){var y=si[m];c&&(c[m]=y)}),c&&(c.paddingRight="".concat(g,"px"))}l&&di()&&(l.addEventListener("touchmove",ui,zt),u&&(u.addEventListener("touchstart",ci,zt),u.addEventListener("touchmove",li,zt))),mn+=1}},[r]),s=f.useCallback(function(u){if(fi){var l=document.body,c=l&&l.style;mn=Math.max(mn-1,0),r&&mn<1&&ii.forEach(function(d){var h=a.current[d];c&&(c[d]=h)}),l&&di()&&(l.removeEventListener("touchmove",ui,zt),u&&(u.removeEventListener("touchstart",ci,zt),u.removeEventListener("touchmove",li,zt)))}},[r]);return f.useEffect(function(){if(t){var u=o.current;return i(u),function(){s(u)}}},[t,i,s]),function(u){o.current=u}}function ah(){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)."}var oh=function(){return document.activeElement&&document.activeElement.blur()},ih=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:ah};function sh(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,o=e.onBottomArrive,i=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=nh({isEnabled:a,onBottomArrive:o,onBottomLeave:i,onTopArrive:s,onTopLeave:u}),c=rh({isEnabled:n}),d=function(g){l(g),c(g)};return R(f.Fragment,null,n&&R("div",{onClick:oh,css:ih}),t(d))}var uh=function(t){return t.label},lh=function(t){return t.label},ch=function(t){return t.value},dh=function(t){return!!t.isDisabled},fh={clearIndicator:tf,container:Zd,control:uf,dropdownIndicator:Kd,group:df,groupHeading:hf,indicatorsContainer:Jd,indicatorSeparator:rf,input:pf,loadingIndicator:sf,loadingMessage:Vd,menu:Pd,menuList:Yd,menuPortal:Hd,multiValue:If,multiValueLabel:xf,multiValueRemove:Cf,noOptionsMessage:Bd,option:kf,placeholder:Of,singleValue:Nf,valueContainer:Ld},hh={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%)"},mh=4,Ms=4,gh=38,ph=Ms*2,bh={baseUnit:Ms,controlHeight:gh,menuGutter:ph},Jr={borderRadius:mh,colors:hh,spacing:bh},yh={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ti(),captureMenuScroll:!ti(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:qf(),formatGroupLabel:uh,getOptionLabel:lh,getOptionValue:ch,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:dh,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Od(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function hi(e,t,n,r){var a=Es(e,t,n),o=Os(e,t,n),i=ks(e,t),s=cr(e,t);return{type:"option",data:t,isDisabled:a,isSelected:o,label:i,value:s,index:r}}function Ss(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(i,s){return hi(e,i,t,s)}).filter(function(i){return mi(e,i)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var o=hi(e,n,t,r);return mi(e,o)?o:void 0}).filter(Td)}function Ds(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,xs(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function vh(e,t){return Ds(Ss(e,t))}function mi(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,o=t.isSelected,i=t.label,s=t.value;return(!Ns(e)||!o)&&As(e,{label:i,value:s,data:a},r)}function Ih(e,t){var n=e.focusedValue,r=e.selectValue,a=r.indexOf(n);if(a>-1){var o=t.indexOf(n);if(o>-1)return n;if(a<t.length)return t[a]}return null}function xh(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ks=function(t,n){return t.getOptionLabel(n)},cr=function(t,n){return t.getOptionValue(n)};function Es(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Os(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=cr(e,t);return n.some(function(a){return cr(e,a)===r})}function As(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Ns=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Ch=1,Ts=function(e){$a(n,e);var t=Ua(n);function n(r){var a;return za(this,n),a=t.call(this,r),a.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.instancePrefix="",a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.controlRef=null,a.getControlRef=function(o){a.controlRef=o},a.focusedOptionRef=null,a.getFocusedOptionRef=function(o){a.focusedOptionRef=o},a.menuListRef=null,a.getMenuListRef=function(o){a.menuListRef=o},a.inputRef=null,a.getInputRef=function(o){a.inputRef=o},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(o,i){var s=a.props,u=s.onChange,l=s.name;i.name=l,a.ariaOnChange(o,i),u(o,i)},a.setValue=function(o,i,s){var u=a.props,l=u.closeMenuOnSelect,c=u.isMulti,d=u.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:d}),l&&(a.setState({inputIsHiddenAfterUpdate:!c}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(o,{action:i,option:s})},a.selectOption=function(o){var i=a.props,s=i.blurInputOnSelect,u=i.isMulti,l=i.name,c=a.state.selectValue,d=u&&a.isOptionSelected(o,c),h=a.isOptionDisabled(o,c);if(d){var g=a.getOptionValue(o);a.setValue(c.filter(function(m){return a.getOptionValue(m)!==g}),"deselect-option",o)}else if(!h)u?a.setValue([].concat(xs(c),[o]),"select-option",o):a.setValue(o,"select-option");else{a.ariaOnChange(o,{action:"select-option",option:o,name:l});return}s&&a.blurInput()},a.removeValue=function(o){var i=a.props.isMulti,s=a.state.selectValue,u=a.getOptionValue(o),l=s.filter(function(d){return a.getOptionValue(d)!==u}),c=Jn(i,l,l[0]||null);a.onChange(c,{action:"remove-value",removedValue:o}),a.focusInput()},a.clearValue=function(){var o=a.state.selectValue;a.onChange(Jn(a.props.isMulti,[],null),{action:"clear",removedValues:o})},a.popValue=function(){var o=a.props.isMulti,i=a.state.selectValue,s=i[i.length-1],u=i.slice(0,i.length-1),l=Jn(o,u,u[0]||null);a.onChange(l,{action:"pop-value",removedValue:s})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return Md.apply(void 0,[a.props.classNamePrefix].concat(i))},a.getOptionLabel=function(o){return ks(a.props,o)},a.getOptionValue=function(o){return cr(a.props,o)},a.getStyles=function(o,i){var s=fh[o](i);s.boxSizing="border-box";var u=a.props.styles[o];return u?u(s,i):s},a.getElementId=function(o){return"".concat(a.instancePrefix,"-").concat(o)},a.getComponents=function(){return Ff(a.props)},a.buildCategorizedOptions=function(){return Ss(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return Ds(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(o,i){a.setState({ariaSelection:we({value:o},i)})},a.onMenuMouseDown=function(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(o){a.blockOptionHover=!1},a.onControlMouseDown=function(o){var i=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&a.onMenuClose():i&&a.openMenu("first"):(i&&(a.openAfterFocus=!0),a.focusInput()),o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&o.preventDefault()},a.onDropdownIndicatorMouseDown=function(o){if(!(o&&o.type==="mousedown"&&o.button!==0)&&!a.props.isDisabled){var i=a.props,s=i.isMulti,u=i.menuIsOpen;a.focusInput(),u?(a.setState({inputIsHiddenAfterUpdate:!s}),a.onMenuClose()):a.openMenu("first"),o.preventDefault(),o.stopPropagation()}},a.onClearIndicatorMouseDown=function(o){o&&o.type==="mousedown"&&o.button!==0||(a.clearValue(),o.preventDefault(),o.stopPropagation(),a.openAfterFocus=!1,o.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(o){typeof a.props.closeMenuOnScroll=="boolean"?o.target instanceof HTMLElement&&Qa(o.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(o)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(o){var i=o.touches,s=i&&i.item(0);s&&(a.initialTouchX=s.clientX,a.initialTouchY=s.clientY,a.userIsDragging=!1)},a.onTouchMove=function(o){var i=o.touches,s=i&&i.item(0);if(s){var u=Math.abs(s.clientX-a.initialTouchX),l=Math.abs(s.clientY-a.initialTouchY),c=5;a.userIsDragging=u>c||l>c}},a.onTouchEnd=function(o){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(o.target)&&a.menuListRef&&!a.menuListRef.contains(o.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(o){a.userIsDragging||a.onControlMouseDown(o)},a.onClearIndicatorTouchEnd=function(o){a.userIsDragging||a.onClearIndicatorMouseDown(o)},a.onDropdownIndicatorTouchEnd=function(o){a.userIsDragging||a.onDropdownIndicatorMouseDown(o)},a.handleInputChange=function(o){var i=a.props.inputValue,s=o.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(s,{action:"input-change",prevInputValue:i}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(o){a.props.onFocus&&a.props.onFocus(o),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(o){var i=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(o),a.onInputChange("",{action:"input-blur",prevInputValue:i}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(o){a.blockOptionHover||a.state.focusedOption===o||a.setState({focusedOption:o})},a.shouldHideSelectedOptions=function(){return Ns(a.props)},a.onKeyDown=function(o){var i=a.props,s=i.isMulti,u=i.backspaceRemovesValue,l=i.escapeClearsValue,c=i.inputValue,d=i.isClearable,h=i.isDisabled,g=i.menuIsOpen,m=i.onKeyDown,y=i.tabSelectsValue,p=i.openMenuOnFocus,C=a.state,v=C.focusedOption,x=C.focusedValue,w=C.selectValue;if(!h&&!(typeof m=="function"&&(m(o),o.defaultPrevented))){switch(a.blockOptionHover=!0,o.key){case"ArrowLeft":if(!s||c)return;a.focusValue("previous");break;case"ArrowRight":if(!s||c)return;a.focusValue("next");break;case"Delete":case"Backspace":if(c)return;if(x)a.removeValue(x);else{if(!u)return;s?a.popValue():d&&a.clearValue()}break;case"Tab":if(a.isComposing||o.shiftKey||!g||!y||!v||p&&a.isOptionSelected(v,w))return;a.selectOption(v);break;case"Enter":if(o.keyCode===229)break;if(g){if(!v||a.isComposing)return;a.selectOption(v);break}return;case"Escape":g?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:c}),a.onMenuClose()):d&&l&&a.clearValue();break;case" ":if(c)return;if(!g){a.openMenu("first");break}if(!v)return;a.selectOption(v);break;case"ArrowUp":g?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":g?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!g)return;a.focusOption("pageup");break;case"PageDown":if(!g)return;a.focusOption("pagedown");break;case"Home":if(!g)return;a.focusOption("first");break;case"End":if(!g)return;a.focusOption("last");break;default:return}o.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++Ch),a.state.selectValue=ei(r.value),a}return Ja(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()}},{key:"componentDidUpdate",value:function(a){var o=this.props,i=o.isDisabled,s=o.menuIsOpen,u=this.state.isFocused;(u&&!i&&a.isDisabled||u&&s&&!a.menuIsOpen)&&this.focusInput(),u&&i&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(kd(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(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,s=i.selectValue,u=i.isFocused,l=this.buildFocusableOptions(),c=a==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(a){var o=this.state,i=o.selectValue,s=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=i.indexOf(s);s||(u=-1);var l=i.length-1,c=-1;if(i.length){switch(a){case"previous":u===0?c=0:u===-1?c=l:c=u-1;break;case"next":u>-1&&u<l&&(c=u+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,i=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(i);i||(l=-1),a==="up"?u=l>0?l-1:s.length-1:a==="down"?u=(l+1)%s.length:a==="pageup"?(u=l-o,u<0&&(u=0)):a==="pagedown"?(u=l+o,u>s.length-1&&(u=s.length-1)):a==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Jr):we(we({},Jr),this.props.theme):Jr}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,s=this.getValue,u=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,h=c.isRtl,g=c.options,m=this.hasValue();return{clearValue:a,cx:o,getStyles:i,getValue:s,hasValue:m,isMulti:d,isRtl:h,options:g,selectOption:u,selectProps:c,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return Es(this.props,a,o)}},{key:"isOptionSelected",value:function(a,o){return Os(this.props,a,o)}},{key:"filterOption",value:function(a,o){return As(this.props,a,o)}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:s})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{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 a=this.props,o=a.isDisabled,i=a.isSearchable,s=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,d=a.menuIsOpen,h=this.getComponents(),g=h.Input,m=this.state,y=m.inputIsHidden,p=m.ariaSelection,C=this.commonProps,v=s||this.getElementId("input"),x=we(we({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!i&&{"aria-readonly":!0}),this.hasValue()?(p==null?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?X.createElement(g,V({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:o,isHidden:y,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},x)):X.createElement(eh,V({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ur,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.getComponents(),i=o.MultiValue,s=o.MultiValueContainer,u=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,h=this.commonProps,g=this.props,m=g.controlShouldRenderValue,y=g.isDisabled,p=g.isMulti,C=g.inputValue,v=g.placeholder,x=this.state,w=x.selectValue,I=x.focusedValue,b=x.isFocused;if(!this.hasValue()||!m)return C?null:X.createElement(d,V({},h,{key:"placeholder",isDisabled:y,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),v);if(p)return w.map(function(E,k){var F=E===I,G="".concat(a.getOptionLabel(E),"-").concat(a.getOptionValue(E));return X.createElement(i,V({},h,{components:{Container:s,Label:u,Remove:l},isFocused:F,isDisabled:y,key:G,index:k,removeProps:{onClick:function(){return a.removeValue(E)},onTouchEnd:function(){return a.removeValue(E)},onMouseDown:function(z){z.preventDefault(),z.stopPropagation()}},data:E}),a.formatOptionLabel(E,"value"))});if(C)return null;var M=w[0];return X.createElement(c,V({},h,{data:M,isDisabled:y}),this.formatOptionLabel(M,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),o=a.ClearIndicator,i=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(o,V({},i,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),o=a.LoadingIndicator,i=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return X.createElement(o,V({},i,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return X.createElement(i,V({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator;if(!o)return null;var i=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(o,V({},i,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.getComponents(),i=o.Group,s=o.GroupHeading,u=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,h=o.NoOptionsMessage,g=o.Option,m=this.commonProps,y=this.state.focusedOption,p=this.props,C=p.captureMenuScroll,v=p.inputValue,x=p.isLoading,w=p.loadingMessage,I=p.minMenuHeight,b=p.maxMenuHeight,M=p.menuIsOpen,E=p.menuPlacement,k=p.menuPosition,F=p.menuPortalTarget,G=p.menuShouldBlockScroll,L=p.menuShouldScrollIntoView,z=p.noOptionsMessage,N=p.onMenuScrollToTop,$=p.onMenuScrollToBottom;if(!M)return null;var me=function(be,ke){var Ee=be.type,Oe=be.data,U=be.isDisabled,Ge=be.isSelected,Xe=be.label,Ke=be.value,rt=y===Oe,W=U?void 0:function(){return a.onOptionHover(Oe)},Y=U?void 0:function(){return a.selectOption(Oe)},xe="".concat(a.getElementId("option"),"-").concat(ke),Ae={id:xe,onClick:Y,onMouseMove:W,onMouseOver:W,tabIndex:-1};return X.createElement(g,V({},m,{innerProps:Ae,data:Oe,isDisabled:U,isSelected:Ge,key:xe,label:Xe,type:Ee,value:Ke,isFocused:rt,innerRef:rt?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(be.data,"menu"))},ge;if(this.hasOptions())ge=this.getCategorizedOptions().map(function(pe){if(pe.type==="group"){var be=pe.data,ke=pe.options,Ee=pe.index,Oe="".concat(a.getElementId("group"),"-").concat(Ee),U="".concat(Oe,"-heading");return X.createElement(i,V({},m,{key:Oe,data:be,options:ke,Heading:s,headingProps:{id:U,data:pe.data},label:a.formatGroupLabel(pe.data)}),pe.options.map(function(Ge){return me(Ge,"".concat(Ee,"-").concat(Ge.index))}))}else if(pe.type==="option")return me(pe,"".concat(pe.index))});else if(x){var Me=w({inputValue:v});if(Me===null)return null;ge=X.createElement(d,m,Me)}else{var ee=z({inputValue:v});if(ee===null)return null;ge=X.createElement(h,m,ee)}var te={minMenuHeight:I,maxMenuHeight:b,menuPlacement:E,menuPosition:k,menuShouldScrollIntoView:L},Se=X.createElement(cs,V({},m,te),function(pe){var be=pe.ref,ke=pe.placerProps,Ee=ke.placement,Oe=ke.maxHeight;return X.createElement(u,V({},m,te,{innerRef:be,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:x,placement:Ee}),X.createElement(sh,{captureEnabled:C,onTopArrive:N,onBottomArrive:$,lockEnabled:G},function(U){return X.createElement(l,V({},m,{innerRef:function(Xe){a.getMenuListRef(Xe),U(Xe)},isLoading:x,maxHeight:Oe,focusedOption:y}),ge)}))});return F||k==="fixed"?X.createElement(c,V({},m,{appendTo:F,controlElement:this.controlRef,menuPlacement:E,menuPosition:k}),Se):Se}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,s=o.isDisabled,u=o.isMulti,l=o.name,c=this.state.selectValue;if(!(!l||s))if(u)if(i){var d=c.map(function(m){return a.getOptionValue(m)}).join(i);return X.createElement("input",{name:l,type:"hidden",value:d})}else{var h=c.length>0?c.map(function(m,y){return X.createElement("input",{key:"i-".concat(y),name:l,type:"hidden",value:a.getOptionValue(m)})}):X.createElement("input",{name:l,type:"hidden"});return X.createElement("div",null,h)}else{var g=c[0]?this.getOptionValue(c[0]):"";return X.createElement("input",{name:l,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,o=this.state,i=o.ariaSelection,s=o.focusedOption,u=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return X.createElement(Jf,V({},a,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d}))}},{key:"render",value:function(){var a=this.getComponents(),o=a.Control,i=a.IndicatorsContainer,s=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,d=l.id,h=l.isDisabled,g=l.menuIsOpen,m=this.state.isFocused,y=this.commonProps=this.getCommonProps();return X.createElement(s,V({},y,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:h,isFocused:m}),this.renderLiveRegion(),X.createElement(o,V({},y,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:h,isFocused:m,menuIsOpen:g}),X.createElement(u,V({},y,{isDisabled:h}),this.renderPlaceholderOrValue(),this.renderInput()),X.createElement(i,V({},y,{isDisabled:h}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,h=a.options,g=a.value,m=a.menuIsOpen,y=a.inputValue,p=a.isMulti,C=ei(g),v={};if(i&&(g!==i.value||h!==i.options||m!==i.menuIsOpen||y!==i.inputValue)){var x=m?vh(a,C):[],w=s?Ih(o,C):null,I=xh(o,x);v={selectValue:C,focusedOption:I,focusedValue:w,clearFocusValueOnUpdate:!1}}var b=u!=null&&a!==i?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},M=l,E=c&&d;return c&&!E&&(M={value:Jn(p,C,C[0]||null),options:C,action:"initial-input-focus"},E=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(M=null),we(we(we({},v),b),{},{prevProps:a,ariaSelection:M,prevWasFocused:E})}}]),n}(f.Component);Ts.defaultProps=yh;var wh=f.forwardRef(function(e,t){var n=Yf(e);return X.createElement(Ts,V({ref:t},n))});const Mh=wh,Sh=e=>pa.DropdownIndicator&&S.jsx(pa.DropdownIndicator,{...e,children:S.jsx(Re.IconArrowDropDown,{width:"24px",height:"24px",fill:"var(--color-primary-text-on-light)"})}),Dh=({label:e,...t},n)=>{const r=f.useRef(null);return f.useImperativeHandle(n,()=>({setValue:a=>{var o;return(o=r.current)==null?void 0:o.select.setValue(a)}})),S.jsxs(kh,{isDisabled:t.isDisabled,children:[!!e&&S.jsx(_s,{children:S.jsx(q.BodyUI,{bold:!0,color:"var(--color-primary-text-on-light)",children:e})}),S.jsx(Ws,{classNamePrefix:"dropdown",components:{DropdownIndicator:Sh,...t.components},hideOnMobile:t.hideOnMobile,ref:r,...t})]})},Fs=O.css`
|
|
137
|
+
`]))),df=function(t){var n=t.isFocused,r=t.size,a=t.theme,o=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:n?o.neutral60:o.neutral20,display:"flex",padding:i*2,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},Jr=function(t){var n=t.delay,r=t.offset;return B("span",{css:qa({animation:"".concat(cf," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250Z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L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},ws=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.innerProps,i=t.isRtl;return B("div",H({css:a("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},o),B(Jr,{delay:0,offset:i}),B(Jr,{delay:160,offset:!0}),B(Jr,{delay:320,offset:!i}))};ws.defaultProps={size:4};var ff=function(t){var n=t.isDisabled,r=t.isFocused,a=t.theme,o=a.colors,i=a.borderRadius,s=a.spacing;return{label:"control",alignItems:"center",backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?o.primary:o.neutral30}}},hf=function(t){var n=t.children,r=t.cx,a=t.getStyles,o=t.className,i=t.isDisabled,s=t.isFocused,u=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return B("div",H({ref:u,css:a("control",t),className:r({control:!0,"control--is-disabled":i,"control--is-focused":s,"control--menu-is-open":c},o)},l),n)},mf=["data"],gf=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},pf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return B("div",H({css:o("group",t),className:a({group:!0},r)},u),B(i,H({},s,{selectProps:d,theme:c,getStyles:o,cx:a}),l),B("div",null,n))},bf=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},yf=function(t){var n=t.getStyles,r=t.cx,a=t.className,o=fs(t);o.data;var i=fn(o,mf);return B("div",H({css:n("groupHeading",t),className:r({"group-heading":!0},a)},i))},vf=["innerRef","isDisabled","isHidden","inputClassName"],xf=function(t){var n=t.isDisabled,r=t.value,a=t.theme,o=a.spacing,i=a.colors;return we({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:n?"hidden":"visible",color:i.neutral80,transform:r?"translateZ(0)":""},If)},Ms={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},If={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":we({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ms)},Cf=function(t){return we({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ms)},wf=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.value,i=fs(t),s=i.innerRef,u=i.isDisabled,l=i.isHidden,c=i.inputClassName,d=fn(i,vf);return B("div",{className:r({"input-container":!0},n),css:a("input",t),"data-value":o||""},B("input",H({className:r({input:!0},c),ref:s,style:Cf(l),disabled:u},d)))},Mf=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,o=n.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:a/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},Sf=function(t){var n=t.theme,r=n.borderRadius,a=n.colors,o=t.cropWithEllipsis;return{borderRadius:r/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},Df=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,o=n.colors,i=t.isFocused;return{alignItems:"center",borderRadius:a/2,backgroundColor:i?o.dangerLight:void 0,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},Ss=function(t){var n=t.children,r=t.innerProps;return B("div",r,n)},kf=Ss,Ef=Ss;function Of(e){var t=e.children,n=e.innerProps;return B("div",H({role:"button"},n),t||B(ao,{size:14}))}var Af=function(t){var n=t.children,r=t.className,a=t.components,o=t.cx,i=t.data,s=t.getStyles,u=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,h=a.Container,g=a.Label,m=a.Remove;return B(ds,null,function(v){var p=v.css,I=v.cx;return B(h,{data:i,innerProps:we({className:I(p(s("multiValue",t)),o({"multi-value":!0,"multi-value--is-disabled":l},r))},u),selectProps:d},B(g,{data:i,innerProps:{className:I(p(s("multiValueLabel",t)),o({"multi-value__label":!0},r))},selectProps:d},n),B(m,{data:i,innerProps:we({className:I(p(s("multiValueRemove",t)),o({"multi-value__remove":!0},r)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))})},Nf=function(t){var n=t.isDisabled,r=t.isFocused,a=t.isSelected,o=t.theme,i=o.spacing,s=o.colors;return{label:"option",backgroundColor:a?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:a?s.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(i.baseUnit*2,"px ").concat(i.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:a?s.primary:s.primary50}}},Tf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.isDisabled,s=t.isFocused,u=t.isSelected,l=t.innerRef,c=t.innerProps;return B("div",H({css:o("option",t),className:a({option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":u},r),ref:l,"aria-disabled":i},c),n)},Ff=function(t){var n=t.theme,r=n.spacing,a=n.colors;return{label:"placeholder",color:a.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2}},Wf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("placeholder",t),className:a({placeholder:!0},r)},i),n)},_f=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing,o=r.colors;return{label:"singleValue",color:n?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Pf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.isDisabled,s=t.innerProps;return B("div",H({css:o("singleValue",t),className:a({"single-value":!0,"single-value--is-disabled":i},r)},s),n)},wa={ClearIndicator:sf,Control:hf,DropdownIndicator:af,DownChevron:Is,CrossIcon:ao,Group:pf,GroupHeading:yf,IndicatorsContainer:Kd,IndicatorSeparator:lf,Input:wf,LoadingIndicator:ws,Menu:Vd,MenuList:Xd,MenuPortal:zd,LoadingMessage:vs,NoOptionsMessage:ys,MultiValue:Af,MultiValueContainer:kf,MultiValueLabel:Ef,MultiValueRemove:Of,Option:Tf,Placeholder:Wf,SelectContainer:Ud,SingleValue:Pf,ValueContainer:Qd},Gf=function(t){return we(we({},wa),t.components)};function Yf(e){if(Array.isArray(e))return e}function Rf(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,s;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Ma(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ds(e,t){if(e){if(typeof e=="string")return Ma(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ma(e,t)}}function Bf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
138
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qr(e,t){return Yf(e)||Rf(e,t)||Ds(e,t)||Bf()}var Vf=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Hf(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,a=r===void 0?!1:r,o=e.defaultValue,i=o===void 0?null:o,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,h=e.onMenuOpen,g=e.value,m=fn(e,Vf),v=f.useState(s!==void 0?s:n),p=Qr(v,2),I=p[0],y=p[1],C=f.useState(u!==void 0?u:a),M=Qr(C,2),x=M[0],b=M[1],S=f.useState(g!==void 0?g:i),E=Qr(S,2),k=E[0],W=E[1],G=f.useCallback(function(ve,le){typeof l=="function"&&l(ve,le),W(ve)},[l]),L=f.useCallback(function(ve,le){var ce;typeof c=="function"&&(ce=c(ve,le)),y(ce!==void 0?ce:ve)},[c]),z=f.useCallback(function(){typeof h=="function"&&h(),b(!0)},[h]),N=f.useCallback(function(){typeof d=="function"&&d(),b(!1)},[d]),$=s!==void 0?s:I,pe=u!==void 0?u:x,Me=g!==void 0?g:k;return we(we({},m),{},{inputValue:$,menuIsOpen:pe,onChange:G,onInputChange:L,onMenuClose:N,onMenuOpen:z,value:Me})}function Xf(e){if(Array.isArray(e))return Ma(e)}function Zf(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jf(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
139
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ks(e){return Xf(e)||Zf(e)||Ds(e)||jf()}var ui=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Lf(e,t){return!!(e===t||ui(e)&&ui(t))}function zf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Lf(e[n],t[n]))return!1;return!0}function $f(e,t){t===void 0&&(t=zf);var n,r=[],a,o=!1;function i(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return o&&n===this&&t(s,r)||(a=e.apply(this,s),o=!0,n=this,r=s),a}return i}function Uf(){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)."}var Jf=process.env.NODE_ENV==="production"?{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:Uf},li=function(t){return B("span",H({css:Jf},t))},Qf={guidance:function(t){var n=t.isSearchable,r=t.isMulti,a=t.isDisabled,o=t.tabSelectsValue,i=t.context;switch(i){case"menu":return"Use Up and Down to choose options".concat(a?"":", 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"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" 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(t){var n=t.action,r=t.label,a=r===void 0?"":r,o=t.labels,i=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return i?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,a=t.options,o=t.label,i=o===void 0?"":o,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=function(m,v){return m&&m.length?"".concat(m.indexOf(v)+1," of ").concat(m.length):""};if(n==="value"&&s)return"value ".concat(i," focused, ").concat(c(s,r),".");if(n==="menu"){var d=u?" disabled":"",h="".concat(l?"selected":"focused").concat(d);return"option ".concat(i," ").concat(h,", ").concat(c(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},qf=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,o=t.focusableOptions,i=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=u.ariaLiveMessages,d=u.getOptionLabel,h=u.inputValue,g=u.isMulti,m=u.isOptionDisabled,v=u.isSearchable,p=u.menuIsOpen,I=u.options,y=u.screenReaderStatus,C=u.tabSelectsValue,M=u["aria-label"],x=u["aria-live"],b=f.useMemo(function(){return we(we({},Qf),c||{})},[c]),S=f.useMemo(function(){var N="";if(n&&b.onChange){var $=n.option,pe=n.options,Me=n.removedValue,ve=n.removedValues,le=n.value,ce=function(Se){return Array.isArray(Se)?null:Se},be=Me||$||ce(le),oe=be?d(be):"",K=pe||ve||void 0,ye=K?K.map(d):[],Ne=we({isDisabled:be&&m(be,s),label:oe,labels:ye},n);N=b.onChange(Ne)}return N},[n,b,m,s,d]),E=f.useMemo(function(){var N="",$=r||a,pe=!!(r&&s&&s.includes(r));if($&&b.onFocus){var Me={focused:$,label:d($),isDisabled:m($,s),isSelected:pe,options:I,context:$===r?"menu":"value",selectValue:s};N=b.onFocus(Me)}return N},[r,a,d,m,b,I,s]),k=f.useMemo(function(){var N="";if(p&&I.length&&b.onFilter){var $=y({count:o.length});N=b.onFilter({inputValue:h,resultsMessage:$})}return N},[o,h,p,b,I,y]),W=f.useMemo(function(){var N="";if(b.guidance){var $=a?"value":p?"menu":"input";N=b.guidance({"aria-label":M,context:$,isDisabled:r&&m(r,s),isMulti:g,isSearchable:v,tabSelectsValue:C})}return N},[M,r,a,g,m,v,p,b,s,C]),G="".concat(E," ").concat(k," ").concat(W),L=B(f.Fragment,null,B("span",{id:"aria-selection"},S),B("span",{id:"aria-context"},G)),z=(n==null?void 0:n.action)==="initial-input-focus";return B(f.Fragment,null,B(li,{id:l},z&&L),B(li,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},i&&!z&&L))},Sa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Kf=new RegExp("["+Sa.map(function(e){return e.letters}).join("")+"]","g"),Es={};for(var qr=0;qr<Sa.length;qr++)for(var Kr=Sa[qr],ea=0;ea<Kr.letters.length;ea++)Es[Kr.letters[ea]]=Kr.base;var Os=function(t){return t.replace(Kf,function(n){return Es[n]})},eh=$f(Os),ci=function(t){return t.replace(/^\s+|\s+$/g,"")},th=function(t){return"".concat(t.label," ").concat(t.value)},nh=function(t){return function(n,r){if(n.data.__isNew__)return!0;var a=we({ignoreCase:!0,ignoreAccents:!0,stringify:th,trim:!0,matchFrom:"any"},t),o=a.ignoreCase,i=a.ignoreAccents,s=a.stringify,u=a.trim,l=a.matchFrom,c=u?ci(r):r,d=u?ci(s(n)):s(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),i&&(c=eh(c),d=Os(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},rh=["innerRef"];function ah(e){var t=e.innerRef,n=fn(e,rh);return B("input",H({ref:t},n,{css:qa({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)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNNIiwiZmlsZSI6IkR1bW15SW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4ucHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var oh=function(t){t.preventDefault(),t.stopPropagation()};function ih(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,o=e.onTopLeave,i=f.useRef(!1),s=f.useRef(!1),u=f.useRef(0),l=f.useRef(null),c=f.useCallback(function(p,I){if(l.current!==null){var y=l.current,C=y.scrollTop,M=y.scrollHeight,x=y.clientHeight,b=l.current,S=I>0,E=M-x-C,k=!1;E>I&&i.current&&(r&&r(p),i.current=!1),S&&s.current&&(o&&o(p),s.current=!1),S&&I>E?(n&&!i.current&&n(p),b.scrollTop=M,k=!0,i.current=!0):!S&&-I>C&&(a&&!s.current&&a(p),b.scrollTop=0,k=!0,s.current=!0),k&&oh(p)}},[n,r,a,o]),d=f.useCallback(function(p){c(p,p.deltaY)},[c]),h=f.useCallback(function(p){u.current=p.changedTouches[0].clientY},[]),g=f.useCallback(function(p){var I=u.current-p.changedTouches[0].clientY;c(p,I)},[c]),m=f.useCallback(function(p){if(p){var I=_d?{passive:!1}:!1;p.addEventListener("wheel",d,I),p.addEventListener("touchstart",h,I),p.addEventListener("touchmove",g,I)}},[g,h,d]),v=f.useCallback(function(p){p&&(p.removeEventListener("wheel",d,!1),p.removeEventListener("touchstart",h,!1),p.removeEventListener("touchmove",g,!1))},[g,h,d]);return f.useEffect(function(){if(t){var p=l.current;return m(p),function(){v(p)}}},[t,m,v]),function(p){l.current=p}}var di=["boxSizing","height","overflow","paddingRight","position"],fi={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function hi(e){e.preventDefault()}function mi(e){e.stopPropagation()}function gi(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function pi(){return"ontouchstart"in window||navigator.maxTouchPoints}var bi=!!(typeof window<"u"&&window.document&&window.document.createElement),bn=0,Ut={capture:!1,passive:!1};function sh(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=f.useRef({}),o=f.useRef(null),i=f.useCallback(function(u){if(bi){var l=document.body,c=l&&l.style;if(r&&di.forEach(function(m){var v=c&&c[m];a.current[m]=v}),r&&bn<1){var d=parseInt(a.current.paddingRight,10)||0,h=document.body?document.body.clientWidth:0,g=window.innerWidth-h+d||0;Object.keys(fi).forEach(function(m){var v=fi[m];c&&(c[m]=v)}),c&&(c.paddingRight="".concat(g,"px"))}l&&pi()&&(l.addEventListener("touchmove",hi,Ut),u&&(u.addEventListener("touchstart",gi,Ut),u.addEventListener("touchmove",mi,Ut))),bn+=1}},[r]),s=f.useCallback(function(u){if(bi){var l=document.body,c=l&&l.style;bn=Math.max(bn-1,0),r&&bn<1&&di.forEach(function(d){var h=a.current[d];c&&(c[d]=h)}),l&&pi()&&(l.removeEventListener("touchmove",hi,Ut),u&&(u.removeEventListener("touchstart",gi,Ut),u.removeEventListener("touchmove",mi,Ut)))}},[r]);return f.useEffect(function(){if(t){var u=o.current;return i(u),function(){s(u)}}},[t,i,s]),function(u){o.current=u}}function uh(){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)."}var lh=function(){return document.activeElement&&document.activeElement.blur()},ch=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlI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5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:uh};function dh(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,o=e.onBottomArrive,i=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=ih({isEnabled:a,onBottomArrive:o,onBottomLeave:i,onTopArrive:s,onTopLeave:u}),c=sh({isEnabled:n}),d=function(g){l(g),c(g)};return B(f.Fragment,null,n&&B("div",{onClick:lh,css:ch}),t(d))}var fh=function(t){return t.label},hh=function(t){return t.label},mh=function(t){return t.value},gh=function(t){return!!t.isDisabled},ph={clearIndicator:of,container:$d,control:ff,dropdownIndicator:rf,group:gf,groupHeading:bf,indicatorsContainer:qd,indicatorSeparator:uf,input:xf,loadingIndicator:df,loadingMessage:jd,menu:Bd,menuList:Hd,menuPortal:Ld,multiValue:Mf,multiValueLabel:Sf,multiValueRemove:Df,noOptionsMessage:Zd,option:Nf,placeholder:Ff,singleValue:_f,valueContainer:Jd},bh={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%)"},yh=4,As=4,vh=38,xh=As*2,Ih={baseUnit:As,controlHeight:vh,menuGutter:xh},ta={borderRadius:yh,colors:bh,spacing:Ih},Ch={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ii(),captureMenuScroll:!ii(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:nh(),formatGroupLabel:fh,getOptionLabel:hh,getOptionValue:mh,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:gh,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Fd(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function yi(e,t,n,r){var a=Ws(e,t,n),o=_s(e,t,n),i=Fs(e,t),s=gr(e,t);return{type:"option",data:t,isDisabled:a,isSelected:o,label:i,value:s,index:r}}function Ns(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(i,s){return yi(e,i,t,s)}).filter(function(i){return xi(e,i)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var o=yi(e,n,t,r);return xi(e,o)?o:void 0}).filter(Pd)}function Ts(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,ks(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function wh(e,t){return Ts(Ns(e,t))}function xi(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,o=t.isSelected,i=t.label,s=t.value;return(!Gs(e)||!o)&&Ps(e,{label:i,value:s,data:a},r)}function Mh(e,t){var n=e.focusedValue,r=e.selectValue,a=r.indexOf(n);if(a>-1){var o=t.indexOf(n);if(o>-1)return n;if(a<t.length)return t[a]}return null}function Sh(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Fs=function(t,n){return t.getOptionLabel(n)},gr=function(t,n){return t.getOptionValue(n)};function Ws(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function _s(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=gr(e,t);return n.some(function(a){return gr(e,a)===r})}function Ps(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Gs=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Dh=1,Ys=function(e){to(n,e);var t=no(n);function n(r){var a;return Ka(this,n),a=t.call(this,r),a.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.instancePrefix="",a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.controlRef=null,a.getControlRef=function(o){a.controlRef=o},a.focusedOptionRef=null,a.getFocusedOptionRef=function(o){a.focusedOptionRef=o},a.menuListRef=null,a.getMenuListRef=function(o){a.menuListRef=o},a.inputRef=null,a.getInputRef=function(o){a.inputRef=o},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(o,i){var s=a.props,u=s.onChange,l=s.name;i.name=l,a.ariaOnChange(o,i),u(o,i)},a.setValue=function(o,i,s){var u=a.props,l=u.closeMenuOnSelect,c=u.isMulti,d=u.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:d}),l&&(a.setState({inputIsHiddenAfterUpdate:!c}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(o,{action:i,option:s})},a.selectOption=function(o){var i=a.props,s=i.blurInputOnSelect,u=i.isMulti,l=i.name,c=a.state.selectValue,d=u&&a.isOptionSelected(o,c),h=a.isOptionDisabled(o,c);if(d){var g=a.getOptionValue(o);a.setValue(c.filter(function(m){return a.getOptionValue(m)!==g}),"deselect-option",o)}else if(!h)u?a.setValue([].concat(ks(c),[o]),"select-option",o):a.setValue(o,"select-option");else{a.ariaOnChange(o,{action:"select-option",option:o,name:l});return}s&&a.blurInput()},a.removeValue=function(o){var i=a.props.isMulti,s=a.state.selectValue,u=a.getOptionValue(o),l=s.filter(function(d){return a.getOptionValue(d)!==u}),c=Kn(i,l,l[0]||null);a.onChange(c,{action:"remove-value",removedValue:o}),a.focusInput()},a.clearValue=function(){var o=a.state.selectValue;a.onChange(Kn(a.props.isMulti,[],null),{action:"clear",removedValues:o})},a.popValue=function(){var o=a.props.isMulti,i=a.state.selectValue,s=i[i.length-1],u=i.slice(0,i.length-1),l=Kn(o,u,u[0]||null);a.onChange(l,{action:"pop-value",removedValue:s})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return Ed.apply(void 0,[a.props.classNamePrefix].concat(i))},a.getOptionLabel=function(o){return Fs(a.props,o)},a.getOptionValue=function(o){return gr(a.props,o)},a.getStyles=function(o,i){var s=ph[o](i);s.boxSizing="border-box";var u=a.props.styles[o];return u?u(s,i):s},a.getElementId=function(o){return"".concat(a.instancePrefix,"-").concat(o)},a.getComponents=function(){return Gf(a.props)},a.buildCategorizedOptions=function(){return Ns(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return Ts(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(o,i){a.setState({ariaSelection:we({value:o},i)})},a.onMenuMouseDown=function(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(o){a.blockOptionHover=!1},a.onControlMouseDown=function(o){var i=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&a.onMenuClose():i&&a.openMenu("first"):(i&&(a.openAfterFocus=!0),a.focusInput()),o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&o.preventDefault()},a.onDropdownIndicatorMouseDown=function(o){if(!(o&&o.type==="mousedown"&&o.button!==0)&&!a.props.isDisabled){var i=a.props,s=i.isMulti,u=i.menuIsOpen;a.focusInput(),u?(a.setState({inputIsHiddenAfterUpdate:!s}),a.onMenuClose()):a.openMenu("first"),o.preventDefault(),o.stopPropagation()}},a.onClearIndicatorMouseDown=function(o){o&&o.type==="mousedown"&&o.button!==0||(a.clearValue(),o.preventDefault(),o.stopPropagation(),a.openAfterFocus=!1,o.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(o){typeof a.props.closeMenuOnScroll=="boolean"?o.target instanceof HTMLElement&&ro(o.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(o)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(o){var i=o.touches,s=i&&i.item(0);s&&(a.initialTouchX=s.clientX,a.initialTouchY=s.clientY,a.userIsDragging=!1)},a.onTouchMove=function(o){var i=o.touches,s=i&&i.item(0);if(s){var u=Math.abs(s.clientX-a.initialTouchX),l=Math.abs(s.clientY-a.initialTouchY),c=5;a.userIsDragging=u>c||l>c}},a.onTouchEnd=function(o){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(o.target)&&a.menuListRef&&!a.menuListRef.contains(o.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(o){a.userIsDragging||a.onControlMouseDown(o)},a.onClearIndicatorTouchEnd=function(o){a.userIsDragging||a.onClearIndicatorMouseDown(o)},a.onDropdownIndicatorTouchEnd=function(o){a.userIsDragging||a.onDropdownIndicatorMouseDown(o)},a.handleInputChange=function(o){var i=a.props.inputValue,s=o.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(s,{action:"input-change",prevInputValue:i}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(o){a.props.onFocus&&a.props.onFocus(o),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(o){var i=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(o),a.onInputChange("",{action:"input-blur",prevInputValue:i}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(o){a.blockOptionHover||a.state.focusedOption===o||a.setState({focusedOption:o})},a.shouldHideSelectedOptions=function(){return Gs(a.props)},a.onKeyDown=function(o){var i=a.props,s=i.isMulti,u=i.backspaceRemovesValue,l=i.escapeClearsValue,c=i.inputValue,d=i.isClearable,h=i.isDisabled,g=i.menuIsOpen,m=i.onKeyDown,v=i.tabSelectsValue,p=i.openMenuOnFocus,I=a.state,y=I.focusedOption,C=I.focusedValue,M=I.selectValue;if(!h&&!(typeof m=="function"&&(m(o),o.defaultPrevented))){switch(a.blockOptionHover=!0,o.key){case"ArrowLeft":if(!s||c)return;a.focusValue("previous");break;case"ArrowRight":if(!s||c)return;a.focusValue("next");break;case"Delete":case"Backspace":if(c)return;if(C)a.removeValue(C);else{if(!u)return;s?a.popValue():d&&a.clearValue()}break;case"Tab":if(a.isComposing||o.shiftKey||!g||!v||!y||p&&a.isOptionSelected(y,M))return;a.selectOption(y);break;case"Enter":if(o.keyCode===229)break;if(g){if(!y||a.isComposing)return;a.selectOption(y);break}return;case"Escape":g?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:c}),a.onMenuClose()):d&&l&&a.clearValue();break;case" ":if(c)return;if(!g){a.openMenu("first");break}if(!y)return;a.selectOption(y);break;case"ArrowUp":g?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":g?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!g)return;a.focusOption("pageup");break;case"PageDown":if(!g)return;a.focusOption("pagedown");break;case"Home":if(!g)return;a.focusOption("first");break;case"End":if(!g)return;a.focusOption("last");break;default:return}o.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++Dh),a.state.selectValue=oi(r.value),a}return eo(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()}},{key:"componentDidUpdate",value:function(a){var o=this.props,i=o.isDisabled,s=o.menuIsOpen,u=this.state.isFocused;(u&&!i&&a.isDisabled||u&&s&&!a.menuIsOpen)&&this.focusInput(),u&&i&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Nd(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(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,s=i.selectValue,u=i.isFocused,l=this.buildFocusableOptions(),c=a==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(a){var o=this.state,i=o.selectValue,s=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=i.indexOf(s);s||(u=-1);var l=i.length-1,c=-1;if(i.length){switch(a){case"previous":u===0?c=0:u===-1?c=l:c=u-1;break;case"next":u>-1&&u<l&&(c=u+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,i=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(i);i||(l=-1),a==="up"?u=l>0?l-1:s.length-1:a==="down"?u=(l+1)%s.length:a==="pageup"?(u=l-o,u<0&&(u=0)):a==="pagedown"?(u=l+o,u>s.length-1&&(u=s.length-1)):a==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(ta):we(we({},ta),this.props.theme):ta}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,s=this.getValue,u=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,h=c.isRtl,g=c.options,m=this.hasValue();return{clearValue:a,cx:o,getStyles:i,getValue:s,hasValue:m,isMulti:d,isRtl:h,options:g,selectOption:u,selectProps:c,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return Ws(this.props,a,o)}},{key:"isOptionSelected",value:function(a,o){return _s(this.props,a,o)}},{key:"filterOption",value:function(a,o){return Ps(this.props,a,o)}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:s})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{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 a=this.props,o=a.isDisabled,i=a.isSearchable,s=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,d=a.menuIsOpen,h=this.getComponents(),g=h.Input,m=this.state,v=m.inputIsHidden,p=m.ariaSelection,I=this.commonProps,y=s||this.getElementId("input"),C=we(we({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!i&&{"aria-readonly":!0}),this.hasValue()?(p==null?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?X.createElement(g,H({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},C)):X.createElement(ah,H({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:hr,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:""},C))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.getComponents(),i=o.MultiValue,s=o.MultiValueContainer,u=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,h=this.commonProps,g=this.props,m=g.controlShouldRenderValue,v=g.isDisabled,p=g.isMulti,I=g.inputValue,y=g.placeholder,C=this.state,M=C.selectValue,x=C.focusedValue,b=C.isFocused;if(!this.hasValue()||!m)return I?null:X.createElement(d,H({},h,{key:"placeholder",isDisabled:v,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),y);if(p)return M.map(function(E,k){var W=E===x,G="".concat(a.getOptionLabel(E),"-").concat(a.getOptionValue(E));return X.createElement(i,H({},h,{components:{Container:s,Label:u,Remove:l},isFocused:W,isDisabled:v,key:G,index:k,removeProps:{onClick:function(){return a.removeValue(E)},onTouchEnd:function(){return a.removeValue(E)},onMouseDown:function(z){z.preventDefault(),z.stopPropagation()}},data:E}),a.formatOptionLabel(E,"value"))});if(I)return null;var S=M[0];return X.createElement(c,H({},h,{data:S,isDisabled:v}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),o=a.ClearIndicator,i=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(o,H({},i,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),o=a.LoadingIndicator,i=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return X.createElement(o,H({},i,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return X.createElement(i,H({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator;if(!o)return null;var i=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(o,H({},i,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.getComponents(),i=o.Group,s=o.GroupHeading,u=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,h=o.NoOptionsMessage,g=o.Option,m=this.commonProps,v=this.state.focusedOption,p=this.props,I=p.captureMenuScroll,y=p.inputValue,C=p.isLoading,M=p.loadingMessage,x=p.minMenuHeight,b=p.maxMenuHeight,S=p.menuIsOpen,E=p.menuPlacement,k=p.menuPosition,W=p.menuPortalTarget,G=p.menuShouldBlockScroll,L=p.menuShouldScrollIntoView,z=p.noOptionsMessage,N=p.onMenuScrollToTop,$=p.onMenuScrollToBottom;if(!S)return null;var pe=function(K,ye){var Ne=K.type,Te=K.data,Se=K.isDisabled,Ye=K.isSelected,Xe=K.label,Le=K.value,De=v===Te,F=Se?void 0:function(){return a.onOptionHover(Te)},it=Se?void 0:function(){return a.selectOption(Te)},Ue="".concat(a.getElementId("option"),"-").concat(ye),Y={id:Ue,onClick:it,onMouseMove:F,onMouseOver:F,tabIndex:-1};return X.createElement(g,H({},m,{innerProps:Y,data:Te,isDisabled:Se,isSelected:Ye,key:Ue,label:Xe,type:Ne,value:Le,isFocused:De,innerRef:De?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(K.data,"menu"))},Me;if(this.hasOptions())Me=this.getCategorizedOptions().map(function(oe){if(oe.type==="group"){var K=oe.data,ye=oe.options,Ne=oe.index,Te="".concat(a.getElementId("group"),"-").concat(Ne),Se="".concat(Te,"-heading");return X.createElement(i,H({},m,{key:Te,data:K,options:ye,Heading:s,headingProps:{id:Se,data:oe.data},label:a.formatGroupLabel(oe.data)}),oe.options.map(function(Ye){return pe(Ye,"".concat(Ne,"-").concat(Ye.index))}))}else if(oe.type==="option")return pe(oe,"".concat(oe.index))});else if(C){var ve=M({inputValue:y});if(ve===null)return null;Me=X.createElement(d,m,ve)}else{var le=z({inputValue:y});if(le===null)return null;Me=X.createElement(h,m,le)}var ce={minMenuHeight:x,maxMenuHeight:b,menuPlacement:E,menuPosition:k,menuShouldScrollIntoView:L},be=X.createElement(ps,H({},m,ce),function(oe){var K=oe.ref,ye=oe.placerProps,Ne=ye.placement,Te=ye.maxHeight;return X.createElement(u,H({},m,ce,{innerRef:K,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:C,placement:Ne}),X.createElement(dh,{captureEnabled:I,onTopArrive:N,onBottomArrive:$,lockEnabled:G},function(Se){return X.createElement(l,H({},m,{innerRef:function(Xe){a.getMenuListRef(Xe),Se(Xe)},isLoading:C,maxHeight:Te,focusedOption:v}),Me)}))});return W||k==="fixed"?X.createElement(c,H({},m,{appendTo:W,controlElement:this.controlRef,menuPlacement:E,menuPosition:k}),be):be}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,s=o.isDisabled,u=o.isMulti,l=o.name,c=this.state.selectValue;if(!(!l||s))if(u)if(i){var d=c.map(function(m){return a.getOptionValue(m)}).join(i);return X.createElement("input",{name:l,type:"hidden",value:d})}else{var h=c.length>0?c.map(function(m,v){return X.createElement("input",{key:"i-".concat(v),name:l,type:"hidden",value:a.getOptionValue(m)})}):X.createElement("input",{name:l,type:"hidden"});return X.createElement("div",null,h)}else{var g=c[0]?this.getOptionValue(c[0]):"";return X.createElement("input",{name:l,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,o=this.state,i=o.ariaSelection,s=o.focusedOption,u=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return X.createElement(qf,H({},a,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d}))}},{key:"render",value:function(){var a=this.getComponents(),o=a.Control,i=a.IndicatorsContainer,s=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,d=l.id,h=l.isDisabled,g=l.menuIsOpen,m=this.state.isFocused,v=this.commonProps=this.getCommonProps();return X.createElement(s,H({},v,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:h,isFocused:m}),this.renderLiveRegion(),X.createElement(o,H({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:h,isFocused:m,menuIsOpen:g}),X.createElement(u,H({},v,{isDisabled:h}),this.renderPlaceholderOrValue(),this.renderInput()),X.createElement(i,H({},v,{isDisabled:h}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,h=a.options,g=a.value,m=a.menuIsOpen,v=a.inputValue,p=a.isMulti,I=oi(g),y={};if(i&&(g!==i.value||h!==i.options||m!==i.menuIsOpen||v!==i.inputValue)){var C=m?wh(a,I):[],M=s?Mh(o,I):null,x=Sh(o,C);y={selectValue:I,focusedOption:x,focusedValue:M,clearFocusValueOnUpdate:!1}}var b=u!=null&&a!==i?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},S=l,E=c&&d;return c&&!E&&(S={value:Kn(p,I,I[0]||null),options:I,action:"initial-input-focus"},E=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(S=null),we(we(we({},y),b),{},{prevProps:a,ariaSelection:S,prevWasFocused:E})}}]),n}(f.Component);Ys.defaultProps=Ch;var kh=f.forwardRef(function(e,t){var n=Hf(e);return X.createElement(Ys,H({ref:t},n))});const Eh=kh,Oh=e=>wa.DropdownIndicator&&w.jsx(wa.DropdownIndicator,{...e,children:w.jsx(We.IconArrowDropDown,{width:"24px",height:"24px",fill:"var(--color-primary-text-on-light)"})}),Ah=({label:e,...t},n)=>{const r=f.useRef(null);return f.useImperativeHandle(n,()=>({setValue:a=>{var o;return(o=r.current)==null?void 0:o.select.setValue(a)}})),w.jsxs(Nh,{isDisabled:t.isDisabled,children:[!!e&&w.jsx(Vs,{children:w.jsx(J.BodyUI,{bold:!0,color:"var(--color-primary-text-on-light)",children:e})}),w.jsx(Bs,{classNamePrefix:"dropdown",components:{DropdownIndicator:Oh,...t.components},hideOnMobile:t.hideOnMobile,ref:r,...t})]})},Rs=O.css`
|
|
140
140
|
min-width: 200px;
|
|
141
141
|
width: auto;
|
|
142
142
|
|
|
143
|
-
font-family: ${
|
|
143
|
+
font-family: ${J.sansFamily};
|
|
144
144
|
letter-spacing: -0.3px;
|
|
145
145
|
font-size: 14px;
|
|
146
146
|
font-weight: normal;
|
|
@@ -206,7 +206,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
&__placeholder {
|
|
209
|
-
font-family: ${
|
|
209
|
+
font-family: ${J.sansFamily};
|
|
210
210
|
color: var(--color-primary-text-on-light, #95a0b1);
|
|
211
211
|
letter-spacing: -0.3px;
|
|
212
212
|
font-size: 14px;
|
|
@@ -223,7 +223,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
@media ${
|
|
226
|
+
@media ${Ga.screen.onlyXs} {
|
|
227
227
|
${({hideOnMobile:e})=>e&&" display: none;"};
|
|
228
228
|
}
|
|
229
229
|
|
|
@@ -234,20 +234,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
`}
|
|
237
|
-
`,
|
|
238
|
-
${
|
|
239
|
-
`,
|
|
237
|
+
`,Bs=O(Eh)`
|
|
238
|
+
${Rs}
|
|
239
|
+
`,Vs=O.div`
|
|
240
240
|
margin-bottom: var(--space-sm, 8px);
|
|
241
241
|
${({isDisabled:e})=>e&&`
|
|
242
242
|
opacity: 0.4;
|
|
243
243
|
`}
|
|
244
|
-
`,
|
|
245
|
-
${({isDisabled:e})=>e&&` ${
|
|
246
|
-
${
|
|
244
|
+
`,Nh=O.div`
|
|
245
|
+
${({isDisabled:e})=>e&&` ${Vs},
|
|
246
|
+
${Bs} {
|
|
247
247
|
opacity: 0.4;
|
|
248
248
|
}
|
|
249
249
|
`}
|
|
250
|
-
`,
|
|
250
|
+
`,oo=f.forwardRef(Ah),Th=f.forwardRef(({color:e="var(--color-active-primary)",hoverColor:t="var(--color-active-darken10)",underline:n=!1,children:r,...a},o)=>w.jsx(Hs,{ref:o,as:"a",color:e,hoverColor:t,underline:n,...a,children:r})),Fh=f.forwardRef(({color:e="var(--color-active-primary)",hoverColor:t="var(--color-active-darken10)",underline:n=!1,children:r,...a},o)=>w.jsx(Hs,{ref:o,as:"a",target:"_blank",rel:"nofollow noopener",color:e,hoverColor:t,underline:n,...a,children:r})),Hs=O(J.BodyUI)`
|
|
251
251
|
text-decoration: ${({underline:e})=>e?"underline":"none"};
|
|
252
252
|
color: ${({color:e})=>e||"var(--color-active-primary)"};
|
|
253
253
|
|
|
@@ -255,14 +255,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
255
255
|
color: ${({hoverColor:e})=>e||"var(--color-active-darken10)"};
|
|
256
256
|
text-decoration: underline;
|
|
257
257
|
}
|
|
258
|
-
`,
|
|
258
|
+
`,Wh=({label:e,subtitle:t,description:n,tabIndex:r,id:a,disabled:o,checked:i,defaultChecked:s,required:u,onChange:l,background:c,"data-tip":d,"data-tooltip-content":h,"data-tooltip-id":g,"data-testid":m,"aria-label":v,...p})=>{const I=f.useRef(null),y=f.useCallback(S=>{if(!o&&(S.preventDefault(),I.current)){const E=!I.current.checked;I.current.ariaChecked=E.toString(),I.current.checked=E;const k={...S,target:{...I.current,checked:E,id:b}};typeof l=="function"&&l(k,E)}},[l]),C=f.useCallback(S=>{S.target instanceof HTMLElement&&S.target.closest("a")||y(S)},[l,o]),M=f.useCallback(S=>{S.key.match(/enter|spacebar|\W{1}/i)&&y(S)},[y]),x=f.useCallback(S=>{o||typeof l=="function"&&l(S,S.target.checked)},[l,o]),b=f.useMemo(()=>a||Vt(),[a]);return w.jsxs(Vh,{background:c,children:[w.jsx(_h,{"aria-hidden":"true",onChange:x,onKeyDown:M,ref:I,type:"checkbox",tabIndex:-1,disabled:o,checked:i,defaultChecked:s,required:u,id:b,"data-testid":m,"aria-describedby":n?`${b}_description`:void 0}),w.jsx(ir,{type:"button",role:"switch","aria-checked":i||s||!1,"aria-label":v||(typeof e=="string"?e:void 0),onKeyDown:M,onClick:y,disabled:o,background:c,...p}),e&&w.jsxs(Ph,{children:[w.jsxs(Gh,{children:[e&&w.jsx(Bh,{bold:!0,htmlFor:b,"data-tooltip-content":h||d,"data-tooltip-id":g,onClick:C,children:e}),t&&w.jsx(Yh,{children:t})]}),n&&w.jsx(Rh,{id:`${b}_description`,children:n})]})]})},_h=O.input`
|
|
259
259
|
position: absolute;
|
|
260
260
|
opacity: 0;
|
|
261
261
|
height: 0;
|
|
262
262
|
width: 0;
|
|
263
263
|
pointer-events: none;
|
|
264
264
|
margin: 0;
|
|
265
|
-
`,
|
|
265
|
+
`,ir=O.button`
|
|
266
266
|
all: unset;
|
|
267
267
|
position: relative;
|
|
268
268
|
cursor: pointer;
|
|
@@ -308,23 +308,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
308
308
|
background-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
309
309
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
310
310
|
}
|
|
311
|
-
`,
|
|
311
|
+
`,Ph=O.div`
|
|
312
312
|
display: flex;
|
|
313
313
|
flex-direction: column;
|
|
314
314
|
gap: var(--space-xxs, 2px);
|
|
315
315
|
margin-left: var(--space-sm);
|
|
316
|
-
`,
|
|
316
|
+
`,Gh=O.div`
|
|
317
317
|
display: flex;
|
|
318
318
|
gap: var(--space-sm, 8px);
|
|
319
|
-
`,
|
|
319
|
+
`,Yh=O(J.BodyUI)`
|
|
320
320
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
321
321
|
font-size: 12px;
|
|
322
|
-
`,
|
|
322
|
+
`,Rh=O(J.BodyUI)`
|
|
323
323
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
324
|
-
`,
|
|
324
|
+
`,Bh=O(J.BodyUI).attrs({as:"label"})`
|
|
325
325
|
cursor: pointer;
|
|
326
326
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
327
|
-
`,
|
|
327
|
+
`,Vh=O.div`
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: flex-start;
|
|
330
330
|
position: relative;
|
|
@@ -338,12 +338,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
338
338
|
margin: 0;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
input:checked + ${
|
|
341
|
+
input:checked + ${ir} {
|
|
342
342
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
343
343
|
background: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
input:checked + ${
|
|
346
|
+
input:checked + ${ir}:before {
|
|
347
347
|
transform: translateX(16px);
|
|
348
348
|
}
|
|
349
349
|
|
|
@@ -355,12 +355,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
input:disabled + ${
|
|
358
|
+
input:disabled + ${ir} {
|
|
359
359
|
cursor: not-allowed;
|
|
360
360
|
border-color: transparent;
|
|
361
361
|
background-color: var(--color-disabled-text-on-light);
|
|
362
362
|
}
|
|
363
|
-
`,
|
|
363
|
+
`,Xs=({label:e,subtitle:t,description:n,indeterminate:r,onChange:a,style:o,disabled:i,checked:s,id:u,background:l,"data-tip":c,"data-tooltip-content":d,"data-tooltip-id":h,"data-testid":g,...m})=>{const v=f.useRef(null),p=f.useMemo(()=>u||Vt(),[u]);f.useEffect(()=>{v.current&&(v.current.indeterminate=r||!1)},[r]);const I=f.useCallback(M=>{if(!v.current||i||M.target instanceof HTMLElement&&M.target.closest("a"))return;M.preventDefault();const x=!v.current.checked;if(v.current.checked=x,v.current.ariaChecked=x?"true":"false",typeof a=="function"){const b={...M,target:{...v.current,checked:x,id:p}};a(b,x)}},[i,p,a]),y=f.useCallback(M=>{!M.key.match(/enter|spacebar|\W{1}/i)||!v.current||(M.preventDefault(),I(M))},[a]),C=f.useCallback(M=>{typeof a=="function"&&!i&&a(M,M.target.checked)},[i,a]);return w.jsxs(Uh,{style:o,background:l,children:[w.jsx("input",{ref:v,onChange:C,onKeyDown:y,type:"checkbox",tabIndex:-1,disabled:i,checked:s,"aria-checked":r?"mixed":s,"aria-disabled":i,"aria-describedby":n?`${p}_description`:void 0,"data-testid":g,id:p,...m}),r?w.jsx(Xt,{onClick:I,onKeyDown:y,tabIndex:0,"aria-disabled":i,background:l,"data-testid":`${g}-span-checkbox`,...m,children:w.jsx(Xh,{})}):w.jsx(Gt,{onClick:I,onKeyDown:y,tabIndex:0,"aria-disabled":i,background:l,"data-testid":`${g}-span-checkbox`,...m,children:w.jsx(Hh,{})}),e&&w.jsxs(Zh,{children:[w.jsxs(jh,{children:[e&&w.jsx($h,{onClick:I,bold:!0,htmlFor:p,"data-tooltip-content":d||c,"data-tooltip-id":h,children:e}),t&&w.jsx(Lh,{children:t})]}),n&&w.jsx(zh,{id:`${p}_description`,children:n})]})]})},Gt=O.span`
|
|
364
364
|
box-sizing: content-box;
|
|
365
365
|
cursor: pointer;
|
|
366
366
|
height: 16px;
|
|
@@ -385,33 +385,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
385
385
|
box-shadow: 0 0 0 1px var(--color-focus-indicator);
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
`,
|
|
388
|
+
`,Xt=O(Gt)``,Hh=O(We.IconCheck)`
|
|
389
389
|
display: none;
|
|
390
390
|
fill: var(--color-surface);
|
|
391
391
|
width: 16px;
|
|
392
392
|
height: 16px;
|
|
393
|
-
`,
|
|
393
|
+
`,Xh=O(We.IconRemove)`
|
|
394
394
|
position: absolute;
|
|
395
395
|
fill: var(--color-surface);
|
|
396
396
|
width: 16px;
|
|
397
397
|
height: 16px;
|
|
398
|
-
`,
|
|
398
|
+
`,Zh=O.div`
|
|
399
399
|
display: flex;
|
|
400
400
|
flex-direction: column;
|
|
401
401
|
gap: var(--space-xxs, 2px);
|
|
402
402
|
margin-left: var(--space-sm);
|
|
403
|
-
`,
|
|
403
|
+
`,jh=O.div`
|
|
404
404
|
display: flex;
|
|
405
405
|
gap: var(--space-sm, 8px);
|
|
406
|
-
`,
|
|
406
|
+
`,Lh=O(J.BodyUI)`
|
|
407
407
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
408
408
|
font-size: 12px;
|
|
409
|
-
`,
|
|
409
|
+
`,zh=O(J.BodyUI)`
|
|
410
410
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
411
|
-
|
|
411
|
+
`,$h=O(J.BodyUI).attrs({as:"label"})`
|
|
412
412
|
cursor: pointer;
|
|
413
413
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
414
|
-
`,
|
|
414
|
+
`,Uh=O.div`
|
|
415
415
|
display: flex;
|
|
416
416
|
align-items: flex-start;
|
|
417
417
|
position: relative;
|
|
@@ -426,26 +426,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
426
426
|
margin: 0;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
input:checked + ${
|
|
429
|
+
input:checked + ${Gt}, input + ${Xt} {
|
|
430
430
|
background: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
431
431
|
border: 2px solid
|
|
432
432
|
${({background:e})=>e||"var(--color-active-primary)"};
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
input:checked + ${
|
|
436
|
-
input + ${
|
|
435
|
+
input:checked + ${Gt} > svg,
|
|
436
|
+
input + ${Xt} > svg {
|
|
437
437
|
display: block;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
input:disabled + ${
|
|
440
|
+
input:disabled + ${Gt}, input:disabled + ${Xt} {
|
|
441
441
|
border: 2px solid var(--color-disabled-text-on-light);
|
|
442
442
|
cursor: not-allowed;
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
input:disabled:checked
|
|
446
|
-
+ ${
|
|
446
|
+
+ ${Gt},
|
|
447
447
|
input:disabled
|
|
448
|
-
+ ${
|
|
448
|
+
+ ${Xt} {
|
|
449
449
|
background: var(--color-disabled-text-on-light);
|
|
450
450
|
}
|
|
451
451
|
|
|
@@ -458,20 +458,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
:hover {
|
|
461
|
-
${
|
|
461
|
+
${Gt}, ${Xt} {
|
|
462
462
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
input:checked:not(:disabled)
|
|
466
|
-
+ ${
|
|
466
|
+
+ ${Gt},
|
|
467
467
|
input:not(:disabled)
|
|
468
|
-
+ ${
|
|
468
|
+
+ ${Xt} {
|
|
469
469
|
background: ${({background:e})=>e||"var(--color-active-darken10)"};
|
|
470
470
|
border: 2px solid
|
|
471
471
|
${({background:e})=>e||"var(--color-active-darken10)"};
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
`,
|
|
474
|
+
`,Jh=e=>e.map(t=>ji(t)?{label:t,value:t}:t),Qh=e=>(t,n)=>{const r=e.findIndex(o=>o.value===t),a=e.findIndex(o=>o.value===n);return r-a},qh=e=>Li(e).map(({props:t})=>t),Kh=e=>e.filter(({defaultChecked:t})=>t).map(({value:t})=>t),em="[CheckboxGroup] Both the `children` and `options` props have been used.\n The `options` prop will be ignored. To get rid of this warning, remove one of these props.",tm="[CheckboxGroup] Both the `defaultChecked` and `defaultValue` props have been used.\n The `defaultValue` prop will be ignored. To get rid of this warning, remove one of these props.",nm=({value:e,disabled:t,name:n,children:r,className:a,options:o,onChange:i,defaultValue:s})=>{Ba(r&&o,em);const u=f.useMemo(()=>r?qh(r):Jh(o||[]),[r,o]),l=f.useMemo(()=>{const m=Kh(u),v=!!m.length;return v&&s&&Mr(tm),v?m:s},[u,s]),[c,d]=f.useState(e||l||[]);f.useEffect(()=>{e&&d(e)},[e]);const h=m=>c.includes(m),g=(m,v,p)=>{m.onChange&&m.onChange(v,p);const y=(p?[...c,m.value]:c.filter(C=>C!==m.value)).sort(Qh(u));d(y),i&&i(y)};return w.jsx(rm,{className:a,children:u.map(m=>w.jsx("li",{children:w.jsx(Xs,{label:m.label,background:m.background,name:n,disabled:m.disabled||t||!1,checked:h(m.value),onChange:(v,p)=>g(m,v,p)})},m.value))})},rm=O.ul`
|
|
475
475
|
list-style: none;
|
|
476
476
|
display: flex;
|
|
477
477
|
flex-direction: column;
|
|
@@ -480,7 +480,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
480
480
|
padding-inline-start: 0;
|
|
481
481
|
padding-inline-end: 0;
|
|
482
482
|
padding-block-start: 0;
|
|
483
|
-
`,
|
|
483
|
+
`,Zs=({label:e=null,subtitle:t,description:n,background:r,id:a,onChange:o,disabled:i=!1,"data-testid":s,...u})=>{const[l]=f.useState(()=>a||`radio_${Vt()}`),c=f.useCallback(m=>{if(i)return;m.preventDefault();const v={...m,target:{...m.target,checked:!0,id:l}};typeof o=="function"&&o(v,!0)},[l,o,i]),d=f.useCallback(m=>{m.target instanceof HTMLElement&&m.target.closest("a")||c(m)},[c]),h=f.useCallback(m=>{m.key.match(/enter|spacebar|\W{1}/i)&&(m.preventDefault(),c(m))},[c]),g=f.useCallback(m=>{i||typeof o=="function"&&o(m,m.target.checked)},[o,i]);return w.jsxs(lm,{background:r,disabled:i,children:[w.jsx("input",{type:"radio","aria-describedby":n?`${l}_description`:void 0,onChange:g,...u,disabled:i,id:l,onKeyDown:h,"data-testid":s}),w.jsx(Cn,{onClick:c,onKeyDown:h,background:r}),e&&w.jsxs(am,{children:[w.jsxs(om,{children:[e&&w.jsx(um,{bold:!0,htmlFor:l,"data-tooltip-content":u["data-tooltip-content"]||u["data-tip"],"data-tooltip-id":u["data-tooltip-id"],onClick:d,children:e}),t&&w.jsx(im,{children:t})]}),n&&w.jsx(sm,{id:`${l}_description`,children:n})]})]})};Zs.propTypes={label:fe.node,subtitle:fe.node,description:fe.node,disabled:fe.bool};const Cn=O.span`
|
|
484
484
|
box-sizing: content-box;
|
|
485
485
|
position: relative;
|
|
486
486
|
height: 16px;
|
|
@@ -502,23 +502,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
502
502
|
border: 1px solid var(--color-focus-indicator);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
`,
|
|
505
|
+
`,am=O.div`
|
|
506
506
|
display: flex;
|
|
507
507
|
flex-direction: column;
|
|
508
508
|
gap: var(--space-xxs, 2px);
|
|
509
509
|
margin-left: var(--space-sm);
|
|
510
|
-
`,
|
|
510
|
+
`,om=O.div`
|
|
511
511
|
display: flex;
|
|
512
512
|
gap: var(--space-sm, 8px);
|
|
513
|
-
`,
|
|
513
|
+
`,im=O(J.BodyUI)`
|
|
514
514
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
515
515
|
font-size: 12px;
|
|
516
|
-
`,
|
|
516
|
+
`,sm=O(J.BodyUI)`
|
|
517
517
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
518
|
-
`,
|
|
518
|
+
`,um=O(J.BodyUI).attrs({as:"label"})`
|
|
519
519
|
cursor: pointer;
|
|
520
520
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
521
|
-
`,
|
|
521
|
+
`,lm=O.div`
|
|
522
522
|
display: flex;
|
|
523
523
|
align-items: flex-start;
|
|
524
524
|
position: relative;
|
|
@@ -535,15 +535,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
:hover {
|
|
538
|
-
input:not(:disabled) + ${
|
|
538
|
+
input:not(:disabled) + ${Cn} {
|
|
539
539
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
540
540
|
}
|
|
541
|
-
input:checked:not(:disabled) + ${
|
|
541
|
+
input:checked:not(:disabled) + ${Cn} {
|
|
542
542
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
input:checked + ${
|
|
546
|
+
input:checked + ${Cn} {
|
|
547
547
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
548
548
|
:after {
|
|
549
549
|
content: "";
|
|
@@ -557,7 +557,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
input:disabled + ${
|
|
560
|
+
input:disabled + ${Cn} {
|
|
561
561
|
cursor: not-allowed;
|
|
562
562
|
border-color: var(--color-disabled-text-on-light);
|
|
563
563
|
:after {
|
|
@@ -568,15 +568,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
568
568
|
${({disabled:e})=>e&&`
|
|
569
569
|
opacity: 0.4;
|
|
570
570
|
`}
|
|
571
|
-
|
|
571
|
+
`,er={success:"var(--color-success-primary, #00a372)",error:"var(--color-alert-primary, #da3939)",default:"var(--color-secondary-text-on-light, #4a5464)"},cm=({id:e,cols:t,rows:n,label:r,description:a,required:o,readOnly:i,disabled:s,state:u,errorMessage:l,hintText:c,maxHeight:d,...h})=>{const[g]=f.useState(()=>e||Vt()),m=r?{"aria-labelledby":e}:{},v=f.useRef(null),p=[a?`${g}-description`:"",c?`${g}-hint-message`:"",u==="error"&&l?`${g}-error-message`:""].join(" ");f.useEffect(()=>{v.current&&(v.current.style.height=`${Math.min(v.current.scrollHeight,d||9999)}px`)},[d]);const I=y=>{if(h.autoHeight){const{target:C}=y;C.style.height="inherit",C.style.height=`${C.scrollHeight}px`}typeof h.onChange=="function"&&h.onChange(y)};return w.jsxs(fm,{isDisabled:s||!1,children:[!!r&&w.jsxs(js,{children:[w.jsx(dm,{bold:!0,htmlFor:g,isRequired:o||!1,children:r}),a&&w.jsx(J.BodyUI,{id:`${g}-description`,color:"var(--color-secondary-text-on-light, #4a5464)",children:a})]}),w.jsx(Ls,{title:r||"Styled input",state:u||"default",id:g,disabled:s,readOnly:i,ref:v,cols:t,rows:n,...a?{"aria-describedby":p}:{},...m,...h,style:{...h.style,maxHeight:d},onChange:I}),c&&w.jsxs(Da,{id:`${g}-hint-message`,children:[w.jsx(Ii,{fill:"var(--color-hint-text-on-light, #68778d)"}),w.jsx(J.TinyText,{color:"var(--color-secondary-text-on-light, #4a5464)",children:c})]}),u==="error"&&l&&w.jsxs(Da,{id:`${g}-error-message`,children:[w.jsx(Ii,{fill:"var(--color-alert-primary, #da3939)"}),w.jsx(J.TinyText,{color:"var(--color-alert-primary, #da3939)",children:l})]})]})},Ii=O(We.IconAlertCircleOutline)`
|
|
572
572
|
width: 13px;
|
|
573
573
|
height: 13px;
|
|
574
|
-
`,
|
|
574
|
+
`,Da=O.div`
|
|
575
575
|
display: flex;
|
|
576
576
|
gap: var(--space-xs, 4px);
|
|
577
577
|
margin-top: var(--space-sm, 8px);
|
|
578
578
|
align-items: center;
|
|
579
|
-
`,
|
|
579
|
+
`,dm=O(J.BodyUI).attrs({as:"label"})`
|
|
580
580
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
581
581
|
position: relative;
|
|
582
582
|
${({isRequired:e})=>e&&`
|
|
@@ -586,21 +586,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
586
586
|
margin-left: var(--space-xxs, 2px);
|
|
587
587
|
}
|
|
588
588
|
`}
|
|
589
|
-
`,
|
|
589
|
+
`,js=O.div`
|
|
590
590
|
display: flex;
|
|
591
591
|
flex-direction: column;
|
|
592
592
|
gap: var(--space-xxs, 2px);
|
|
593
593
|
margin-bottom: var(--space-sm, 8px);
|
|
594
|
-
`,
|
|
594
|
+
`,Ls=O.textarea`
|
|
595
595
|
::placeholder {
|
|
596
|
-
font-family: ${
|
|
596
|
+
font-family: ${J.sansFamily};
|
|
597
597
|
color: var(--color-placeholder-text-on-light);
|
|
598
598
|
letter-spacing: -0.3px;
|
|
599
599
|
font-size: 14px;
|
|
600
600
|
font-weight: normal;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
font-family: ${
|
|
603
|
+
font-family: ${J.sansFamily};
|
|
604
604
|
border-radius: var(--radius-md, 4px);
|
|
605
605
|
${e=>e.cols?"":"width: 100%;"};
|
|
606
606
|
${e=>e.rows?"":"height: 100%;"};
|
|
@@ -618,18 +618,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
618
618
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
619
619
|
|
|
620
620
|
:hover {
|
|
621
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)"
|
|
621
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)":er[e]};
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
:active {
|
|
625
625
|
outline: none;
|
|
626
626
|
box-shadow: none;
|
|
627
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)"
|
|
627
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":er[e]};
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
:focus {
|
|
631
631
|
outline: none;
|
|
632
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)"
|
|
632
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":er[e]} !important;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
:disabled {
|
|
@@ -642,61 +642,53 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
642
642
|
color: var(--color-secondary-text-on-light, #4a5464);
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
border-color: ${({state:e="default"})
|
|
646
|
-
`,
|
|
645
|
+
border-color: ${({state:e="default"})=>er[e]};
|
|
646
|
+
`,fm=O.div`
|
|
647
647
|
display: flex;
|
|
648
648
|
flex-direction: column;
|
|
649
649
|
position: relative;
|
|
650
650
|
width: 100%;
|
|
651
651
|
${({isDisabled:e})=>e&&`
|
|
652
|
-
${
|
|
653
|
-
${
|
|
654
|
-
${
|
|
652
|
+
${js},
|
|
653
|
+
${Ls},
|
|
654
|
+
${Da} {
|
|
655
655
|
opacity: 0.4;
|
|
656
656
|
}
|
|
657
657
|
`}
|
|
658
|
-
`,
|
|
658
|
+
`,zs=({text:e,closeCallback:t,isUppercase:n=!1,closeIconAriaLabel:r,...a})=>{const[o,i]=f.useState(!0),s=()=>{i(!1),typeof t=="function"&&t()},u=l=>{(l.key==="Enter"||l.key===" ")&&s()};return o&&f.createElement(hm,{...a},f.createElement(gm,{bold:!0,uppercase:n},e),f.createElement(mm,{onClick:s,role:"button",tabIndex:"0",onKeyDown:u,"aria-label":r||"Close tag"},f.createElement(We.IconClose,{width:"16px",height:"16px"})))};zs.propTypes={text:fe.node.isRequired,closeCallback:fe.func,isUppercase:fe.bool,closeIconAriaLabel:fe.string};const hm=O.div`
|
|
659
659
|
display: inline-flex;
|
|
660
660
|
align-items: center;
|
|
661
661
|
background: var(--color-active-primary);
|
|
662
662
|
height: 24px;
|
|
663
663
|
padding: 0 8px;
|
|
664
664
|
border-radius: 100px;
|
|
665
|
-
`,
|
|
665
|
+
`,mm=O.span`
|
|
666
666
|
display: inline-flex;
|
|
667
667
|
align-items: center;
|
|
668
668
|
justify-content: center;
|
|
669
669
|
fill: var(--color-primary-text-on-dark);
|
|
670
670
|
cursor: pointer;
|
|
671
671
|
padding: 4px 0 4px 4px;
|
|
672
|
-
`,
|
|
672
|
+
`,gm=O(J.BodySm)`
|
|
673
673
|
margin: 0;
|
|
674
674
|
color: var(--color-primary-text-on-dark);
|
|
675
675
|
text-transform: ${({uppercase:e})=>e?"uppercase":"none"};
|
|
676
676
|
line-height: 1;
|
|
677
|
-
|
|
677
|
+
`,$s=({text:e,isFilled:t,color:n=vt.active,applyCustomStylings:r})=>f.createElement(pm,{color:n,isFilled:t},r?r(e):f.createElement(J.TinyText,{color:t?vt.white:n,uppercase:!0,bold:!0},e)),pm=O.span`
|
|
678
678
|
display: inline-block;
|
|
679
|
-
background: ${({color:e,isFilled:t})=>t?e:
|
|
679
|
+
background: ${({color:e,isFilled:t})=>t?e:vt.toBgLight(e)};
|
|
680
680
|
padding: 4px 8px;
|
|
681
681
|
border-radius: 100px;
|
|
682
|
-
`;Hs.propTypes={text:de.node.isRequired,isFilled:de.bool,color:de.string,applyCustomStylings:de.func};function hm(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const $r={},In={};function Xt(e,t){try{const r=($r[e]||($r[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in In?In[r]:pi(r,r.split(":"))}catch{if(e in In)return In[e];const n=e==null?void 0:e.match(mm);return n?pi(e,n.slice(1)):NaN}}const mm=/([+-]\d\d):?(\d\d)?/;function pi(e,t){const n=+(t[0]||0),r=+(t[1]||0),a=+(t[2]||0)/60;return In[e]=n*60+r>0?n*60+r+a:n*60-r-a}class gt extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(Xt(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),Xs(this),Ia(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new gt(...n,t):new gt(Date.now(),t)}withTimeZone(t){return new gt(+this,t)}getTimezoneOffset(){const t=-Xt(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),Ia(this),+this}[Symbol.for("constructDateFrom")](t){return new gt(+new Date(t),this.timeZone)}}const bi=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!bi.test(e))return;const t=e.replace(bi,"$1UTC");gt.prototype[t]&&(e.startsWith("get")?gt.prototype[e]=function(){return this.internal[t]()}:(gt.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),gm(this),+this},gt.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),Ia(this),+this}))});function Ia(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Xt(e.timeZone,e)*60))}function gm(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),Xs(e)}function Xs(e){const t=Xt(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const a=-new Date(+e).getTimezoneOffset(),o=-new Date(+r).getTimezoneOffset(),i=a-o,s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();i&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+i);const u=a-n;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);const l=new Date(+e);l.setUTCSeconds(0);const c=a>0?l.getSeconds():(l.getSeconds()-60)%60,d=Math.round(-(Xt(e.timeZone,e)*60))%60;(d||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+c));const h=Xt(e.timeZone,e),g=h>0?Math.floor(h):Math.ceil(h),y=-new Date(+e).getTimezoneOffset()-g,p=g!==n,C=y-u;if(p&&C){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+C);const v=Xt(e.timeZone,e),x=v>0?Math.floor(v):Math.ceil(v),w=g-x;w&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+w),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+w))}}class Pe extends gt{static tz(t,...n){return n.length?new Pe(...n,t):new Pe(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),a=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+a}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,a]=this.internal.toUTCString().split(" ");return`${t==null?void 0:t.slice(0,-1)} ${r} ${n} ${a}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,a]=this.tzComponents();return`${t} GMT${n}${r}${a} (${hm(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),a=String(Math.abs(t)%60).padStart(2,"0");return[n,r,a]}withTimeZone(t){return new Pe(+this,t)}[Symbol.for("constructDateFrom")](t){return new Pe(+new Date(t),this.timeZone)}}const Zs=6048e5,pm=864e5,yi=Symbol.for("constructDateFrom");function Fe(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&yi in e?e[yi](t):e instanceof Date?new e.constructor(t):new Date(t)}function fe(e,t){return Fe(t||e,e)}function js(e,t,n){const r=fe(e,n==null?void 0:n.in);return isNaN(t)?Fe((n==null?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Ls(e,t,n){const r=fe(e,n==null?void 0:n.in);if(isNaN(t))return Fe((n==null?void 0:n.in)||e,NaN);if(!t)return r;const a=r.getDate(),o=Fe((n==null?void 0:n.in)||e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const i=o.getDate();return a>=i?o:(r.setFullYear(o.getFullYear(),o.getMonth(),a),r)}let bm={};function Pn(){return bm}function on(e,t){var s,u,l,c;const n=Pn(),r=(t==null?void 0:t.weekStartsOn)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??0,a=fe(e,t==null?void 0:t.in),o=a.getDay(),i=(o<r?7:0)+o-r;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function On(e,t){return on(e,{...t,weekStartsOn:1})}function zs(e,t){const n=fe(e,t==null?void 0:t.in),r=n.getFullYear(),a=Fe(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=On(a),i=Fe(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const s=On(i);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Ii(e){const t=fe(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function cn(e,...t){const n=Fe.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function An(e,t){const n=fe(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function eo(e,t,n){const[r,a]=cn(n==null?void 0:n.in,e,t),o=An(r),i=An(a),s=+o-Ii(o),u=+i-Ii(i);return Math.round((s-u)/pm)}function ym(e,t){const n=zs(e,t),r=Fe((t==null?void 0:t.in)||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),On(r)}function vm(e,t,n){return js(e,t*7,n)}function Im(e,t,n){return Ls(e,t*12,n)}function xm(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=Fe.bind(null,a));const o=fe(a,r);(!n||n<o||isNaN(+o))&&(n=o)}),Fe(r,n||NaN)}function Cm(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=Fe.bind(null,a));const o=fe(a,r);(!n||n>o||isNaN(+o))&&(n=o)}),Fe(r,n||NaN)}function wm(e,t,n){const[r,a]=cn(n==null?void 0:n.in,e,t);return+An(r)==+An(a)}function Js(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Mm(e){return!(!Js(e)&&typeof e!="number"||isNaN(+fe(e)))}function $s(e,t,n){const[r,a]=cn(n==null?void 0:n.in,e,t),o=r.getFullYear()-a.getFullYear(),i=r.getMonth()-a.getMonth();return o*12+i}function Sm(e,t){const n=fe(e,t==null?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Us(e,t){const[n,r]=cn(e,t.start,t.end);return{start:n,end:r}}function Dm(e,t){const{start:n,end:r}=Us(t==null?void 0:t.in,e);let a=+n>+r;const o=a?+n:+r,i=a?r:n;i.setHours(0,0,0,0),i.setDate(1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+i<=o;)u.push(Fe(n,i)),i.setMonth(i.getMonth()+s);return a?u.reverse():u}function km(e,t){const n=fe(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Em(e,t){const n=fe(e,t==null?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Qs(e,t){const n=fe(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Om(e,t){const{start:n,end:r}=Us(t==null?void 0:t.in,e);let a=+n>+r;const o=a?+n:+r,i=a?r:n;i.setHours(0,0,0,0),i.setMonth(0,1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+i<=o;)u.push(Fe(n,i)),i.setFullYear(i.getFullYear()+s);return a?u.reverse():u}function qs(e,t){var s,u,l,c;const n=Pn(),r=(t==null?void 0:t.weekStartsOn)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??0,a=fe(e,t==null?void 0:t.in),o=a.getDay(),i=(o<r?-7:0)+6-(o-r);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function Am(e,t){return qs(e,{...t,weekStartsOn:1})}const Nm={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Tm=(e,t,n)=>{let r;const a=Nm[e];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Ur(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Fm={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wm={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_m={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Pm={date:Ur({formats:Fm,defaultWidth:"full"}),time:Ur({formats:Wm,defaultWidth:"full"}),dateTime:Ur({formats:_m,defaultWidth:"full"})},Gm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ym=(e,t,n,r)=>Gm[e];function gn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return a[o]}}const Rm={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Vm={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Hm={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Xm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Zm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},jm=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Lm={ordinalNumber:jm,era:gn({values:Rm,defaultWidth:"wide"}),quarter:gn({values:Bm,defaultWidth:"wide",argumentCallback:e=>e-1}),month:gn({values:Vm,defaultWidth:"wide"}),day:gn({values:Hm,defaultWidth:"wide"}),dayPeriod:gn({values:Xm,defaultWidth:"wide",formattingValues:Zm,defaultFormattingWidth:"wide"})};function pn(e){return(t,n={})=>{const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Jm(s,d=>d.test(i)):zm(s,d=>d.test(i));let l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;const c=t.slice(i.length);return{value:l,rest:c}}}function zm(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Jm(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function $m(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(a.length);return{value:i,rest:s}}}const Um=/^(\d+)(th|st|nd|rd)?/i,Qm=/\d+/i,qm={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Km={any:[/^b/i,/^(a|c)/i]},eg={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},tg={any:[/1/i,/2/i,/3/i,/4/i]},ng={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},rg={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ag={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},og={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ig={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},sg={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ug={ordinalNumber:$m({matchPattern:Um,parsePattern:Qm,valueCallback:e=>parseInt(e,10)}),era:pn({matchPatterns:qm,defaultMatchWidth:"wide",parsePatterns:Km,defaultParseWidth:"any"}),quarter:pn({matchPatterns:eg,defaultMatchWidth:"wide",parsePatterns:tg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:pn({matchPatterns:ng,defaultMatchWidth:"wide",parsePatterns:rg,defaultParseWidth:"any"}),day:pn({matchPatterns:ag,defaultMatchWidth:"wide",parsePatterns:og,defaultParseWidth:"any"}),dayPeriod:pn({matchPatterns:ig,defaultMatchWidth:"any",parsePatterns:sg,defaultParseWidth:"any"})},Qt={code:"en-US",formatDistance:Tm,formatLong:Pm,formatRelative:Ym,localize:Lm,match:ug,options:{weekStartsOn:0,firstWeekContainsDate:1}};function lg(e,t){const n=fe(e,t==null?void 0:t.in);return eo(n,Qs(n))+1}function to(e,t){const n=fe(e,t==null?void 0:t.in),r=+On(n)-+ym(n);return Math.round(r/Zs)+1}function Ks(e,t){var c,d,h,g;const n=fe(e,t==null?void 0:t.in),r=n.getFullYear(),a=Pn(),o=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(h=a.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=Fe((t==null?void 0:t.in)||e,0);i.setFullYear(r+1,0,o),i.setHours(0,0,0,0);const s=on(i,t),u=Fe((t==null?void 0:t.in)||e,0);u.setFullYear(r,0,o),u.setHours(0,0,0,0);const l=on(u,t);return+n>=+s?r+1:+n>=+l?r:r-1}function cg(e,t){var s,u,l,c;const n=Pn(),r=(t==null?void 0:t.firstWeekContainsDate)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,a=Ks(e,t),o=Fe((t==null?void 0:t.in)||e,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),on(o,t)}function no(e,t){const n=fe(e,t==null?void 0:t.in),r=+on(n,t)-+cg(n,t);return Math.round(r/Zs)+1}function ce(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Wt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ce(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ce(n+1,2)},d(e,t){return ce(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ce(e.getHours()%12||12,t.length)},H(e,t){return ce(e.getHours(),t.length)},m(e,t){return ce(e.getMinutes(),t.length)},s(e,t){return ce(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return ce(a,t.length)}},Jt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},xi={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return Wt.y(e,t)},Y:function(e,t,n,r){const a=Ks(e,r),o=a>0?a:1-a;if(t==="YY"){const i=o%100;return ce(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):ce(o,t.length)},R:function(e,t){const n=zs(e);return ce(n,t.length)},u:function(e,t){const n=e.getFullYear();return ce(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ce(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ce(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Wt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ce(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=no(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):ce(a,t.length)},I:function(e,t,n){const r=to(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ce(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Wt.d(e,t)},D:function(e,t,n){const r=lg(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ce(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ce(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ce(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return ce(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(r===12?a=Jt.noon:r===0?a=Jt.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(r>=17?a=Jt.evening:r>=12?a=Jt.afternoon:r>=4?a=Jt.morning:a=Jt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Wt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Wt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ce(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ce(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Wt.s(e,t)},S:function(e,t){return Wt.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return wi(r);case"XXXX":case"XX":return Ht(r);case"XXXXX":case"XXX":default:return Ht(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return wi(r);case"xxxx":case"xx":return Ht(r);case"xxxxx":case"xxx":default:return Ht(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ci(r,":");case"OOOO":default:return"GMT"+Ht(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ci(r,":");case"zzzz":default:return"GMT"+Ht(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return ce(r,t.length)},T:function(e,t,n){return ce(+e,t.length)}};function Ci(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return o===0?n+String(a):n+String(a)+t+ce(o,2)}function wi(e,t){return e%60===0?(e>0?"-":"+")+ce(Math.abs(e)/60,2):Ht(e,t)}function Ht(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=ce(Math.trunc(r/60),2),o=ce(r%60,2);return n+a+t+o}const Mi=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},eu=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},dg=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Mi(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Mi(r,t)).replace("{{time}}",eu(a,t))},fg={p:eu,P:dg},hg=/^D+$/,mg=/^Y+$/,gg=["D","DD","YY","YYYY"];function pg(e){return hg.test(e)}function bg(e){return mg.test(e)}function yg(e,t,n){const r=vg(e,t,n);if(console.warn(r),gg.includes(e))throw new RangeError(r)}function vg(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Ig=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cg=/^'([^]*?)'?$/,wg=/''/g,Mg=/[a-zA-Z]/;function xn(e,t,n){var c,d,h,g,m,y,p,C;const r=Pn(),a=(n==null?void 0:n.locale)??r.locale??Qt,o=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(h=r.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((y=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((C=(p=r.locale)==null?void 0:p.options)==null?void 0:C.weekStartsOn)??0,s=fe(e,n==null?void 0:n.in);if(!Mm(s))throw new RangeError("Invalid time value");let u=t.match(xg).map(v=>{const x=v[0];if(x==="p"||x==="P"){const w=fg[x];return w(v,a.formatLong)}return v}).join("").match(Ig).map(v=>{if(v==="''")return{isToken:!1,value:"'"};const x=v[0];if(x==="'")return{isToken:!1,value:Sg(v)};if(xi[x])return{isToken:!0,value:v};if(x.match(Mg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return{isToken:!1,value:v}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const l={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return u.map(v=>{if(!v.isToken)return v.value;const x=v.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&bg(x)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&pg(x))&&yg(x,t,String(e));const w=xi[x[0]];return w(s,x,a.localize,l)}).join("")}function Sg(e){const t=e.match(Cg);return t?t[1].replace(wg,"'"):e}function Dg(e,t){const n=fe(e,t==null?void 0:t.in),r=n.getFullYear(),a=n.getMonth(),o=Fe(n,0);return o.setFullYear(r,a+1,0),o.setHours(0,0,0,0),o.getDate()}function kg(e,t){return fe(e,t==null?void 0:t.in).getMonth()}function Eg(e,t){return fe(e,t==null?void 0:t.in).getFullYear()}function Og(e,t){return+fe(e)>+fe(t)}function Ag(e,t){return+fe(e)<+fe(t)}function Ng(e,t,n){const[r,a]=cn(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function Tg(e,t,n){const[r,a]=cn(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()}function Fg(e,t,n){const r=fe(e,n==null?void 0:n.in),a=r.getFullYear(),o=r.getDate(),i=Fe((n==null?void 0:n.in)||e,0);i.setFullYear(a,t,15),i.setHours(0,0,0,0);const s=Dg(i);return r.setMonth(t,Math.min(o,s)),r}function Wg(e,t,n){const r=fe(e,n==null?void 0:n.in);return isNaN(+r)?Fe((n==null?void 0:n.in)||e,NaN):(r.setFullYear(t),r)}const Si=5,_g=4;function Pg(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,a=t.addDays(e,-r+1),o=t.addDays(a,Si*7-1);return t.getMonth(e)===t.getMonth(o)?Si:_g}function tu(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-1*6):t.addDays(n,-1*(r-1))}function Gg(e,t){const n=tu(e,t),r=Pg(e,t);return t.addDays(n,r*7-1)}const nu={...Qt,labels:{labelDayButton:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(i,s)=>xn(i,s,{locale:Qt,...n});let o=a(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(a,o)=>xn(a,o,{locale:Qt,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(i,s)=>xn(i,s,{locale:Qt,...n});let o=a(e,"PPPP");return t!=null&&t.today&&(o=`Today, ${o}`),o},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(a,o)=>xn(a,o,{locale:Qt,...t}),r(e,"cccc")}}};class Qe{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?Pe.tz(this.options.timeZone):new this.Date},this.newDate=(r,a,o)=>{var i;return(i=this.overrides)!=null&&i.newDate?this.overrides.newDate(r,a,o):this.options.timeZone?new Pe(r,a,o,this.options.timeZone):new Date(r,a,o)},this.addDays=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addDays?this.overrides.addDays(r,a):js(r,a)},this.addMonths=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addMonths?this.overrides.addMonths(r,a):Ls(r,a)},this.addWeeks=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addWeeks?this.overrides.addWeeks(r,a):vm(r,a)},this.addYears=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addYears?this.overrides.addYears(r,a):Im(r,a)},this.differenceInCalendarDays=(r,a)=>{var o;return(o=this.overrides)!=null&&o.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,a):eo(r,a)},this.differenceInCalendarMonths=(r,a)=>{var o;return(o=this.overrides)!=null&&o.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,a):$s(r,a)},this.eachMonthOfInterval=r=>{var a;return(a=this.overrides)!=null&&a.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):Dm(r)},this.eachYearOfInterval=r=>{var s;const a=(s=this.overrides)!=null&&s.eachYearOfInterval?this.overrides.eachYearOfInterval(r):Om(r),o=new Set(a.map(u=>this.getYear(u)));if(o.size===a.length)return a;const i=[];return o.forEach(u=>{i.push(new Date(u,0,1))}),i},this.endOfBroadcastWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):Gg(r,this)},this.endOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfISOWeek?this.overrides.endOfISOWeek(r):Am(r)},this.endOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.endOfMonth?this.overrides.endOfMonth(r):Sm(r)},this.endOfWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.endOfWeek?this.overrides.endOfWeek(r,a):qs(r,this.options)},this.endOfYear=r=>{var a;return(a=this.overrides)!=null&&a.endOfYear?this.overrides.endOfYear(r):Em(r)},this.format=(r,a,o)=>{var s;const i=(s=this.overrides)!=null&&s.format?this.overrides.format(r,a,this.options):xn(r,a,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(i):i},this.getISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.getISOWeek?this.overrides.getISOWeek(r):to(r)},this.getMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getMonth?this.overrides.getMonth(r,this.options):kg(r,this.options)},this.getYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getYear?this.overrides.getYear(r,this.options):Eg(r,this.options)},this.getWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getWeek?this.overrides.getWeek(r,this.options):no(r,this.options)},this.isAfter=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isAfter?this.overrides.isAfter(r,a):Og(r,a)},this.isBefore=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isBefore?this.overrides.isBefore(r,a):Ag(r,a)},this.isDate=r=>{var a;return(a=this.overrides)!=null&&a.isDate?this.overrides.isDate(r):Js(r)},this.isSameDay=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameDay?this.overrides.isSameDay(r,a):wm(r,a)},this.isSameMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameMonth?this.overrides.isSameMonth(r,a):Ng(r,a)},this.isSameYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameYear?this.overrides.isSameYear(r,a):Tg(r,a)},this.max=r=>{var a;return(a=this.overrides)!=null&&a.max?this.overrides.max(r):xm(r)},this.min=r=>{var a;return(a=this.overrides)!=null&&a.min?this.overrides.min(r):Cm(r)},this.setMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.setMonth?this.overrides.setMonth(r,a):Fg(r,a)},this.setYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.setYear?this.overrides.setYear(r,a):Wg(r,a)},this.startOfBroadcastWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):tu(r,this)},this.startOfDay=r=>{var a;return(a=this.overrides)!=null&&a.startOfDay?this.overrides.startOfDay(r):An(r)},this.startOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.startOfISOWeek?this.overrides.startOfISOWeek(r):On(r)},this.startOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.startOfMonth?this.overrides.startOfMonth(r):km(r)},this.startOfWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.startOfWeek?this.overrides.startOfWeek(r,this.options):on(r,this.options)},this.startOfYear=r=>{var a;return(a=this.overrides)!=null&&a.startOfYear?this.overrides.startOfYear(r):Qs(r)},this.options={locale:nu,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let a=0;a<10;a++)r[a.toString()]=n.format(a);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){var n;const t=(n=this.options.locale)==null?void 0:n.code;return t&&Qe.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:a}=this.options,o=n==null?void 0:n.code;if(o&&Qe.yearFirstLocales.has(o))try{return new Intl.DateTimeFormat(o,{month:"long",year:"numeric",timeZone:r,numberingSystem:a}).format(t)}catch{}const i=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,i)}}Qe.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const vt=new Qe;class ru{constructor(t,n,r=vt){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class Yg{constructor(t,n){this.date=t,this.weeks=n}}class Rg{constructor(t,n){this.days=n,this.weekNumber=t}}function Bg(e){return f.createElement("button",{...e})}function Vg(e){return f.createElement("span",{...e})}function Hg(e){const{size:t=24,orientation:n="left",className:r}=e;return f.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&f.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&f.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&f.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&f.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function Xg(e){const{day:t,modifiers:n,...r}=e;return f.createElement("td",{...r})}function Zg(e){const{day:t,modifiers:n,...r}=e,a=f.useRef(null);return f.useEffect(()=>{var o;n.focused&&((o=a.current)==null||o.focus())},[n.focused]),f.createElement("button",{ref:a,...r})}var _;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(_||(_={}));var De;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(De||(De={}));var st;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(st||(st={}));var Je;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Je||(Je={}));function jg(e){const{options:t,className:n,components:r,classNames:a,...o}=e,i=[a[_.Dropdown],n].join(" "),s=t==null?void 0:t.find(({value:u})=>u===o.value);return f.createElement("span",{"data-disabled":o.disabled,className:a[_.DropdownRoot]},f.createElement(r.Select,{className:i,...o},t==null?void 0:t.map(({value:u,label:l,disabled:c})=>f.createElement(r.Option,{key:u,value:u,disabled:c},l))),f.createElement("span",{className:a[_.CaptionLabel],"aria-hidden":!0},s==null?void 0:s.label,f.createElement(r.Chevron,{orientation:"down",size:18,className:a[_.Chevron]})))}function Lg(e){return f.createElement("div",{...e})}function zg(e){return f.createElement("div",{...e})}function Jg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r},e.children)}function $g(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r})}function Ug(e){return f.createElement("table",{...e})}function Qg(e){return f.createElement("div",{...e})}const au=f.createContext(void 0);function Gn(){const e=f.useContext(au);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function qg(e){const{components:t}=Gn();return f.createElement(t.Dropdown,{...e})}function Kg(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:a,...o}=e,{components:i,classNames:s,labels:{labelPrevious:u,labelNext:l}}=Gn(),c=f.useCallback(h=>{a&&(n==null||n(h))},[a,n]),d=f.useCallback(h=>{r&&(t==null||t(h))},[r,t]);return f.createElement("nav",{...o},f.createElement(i.PreviousMonthButton,{type:"button",className:s[_.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":u(r),onClick:d},f.createElement(i.Chevron,{disabled:r?void 0:!0,className:s[_.Chevron],orientation:"left"})),f.createElement(i.NextMonthButton,{type:"button",className:s[_.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":a?void 0:!0,"aria-label":l(a),onClick:c},f.createElement(i.Chevron,{disabled:a?void 0:!0,orientation:"right",className:s[_.Chevron]})))}function ep(e){const{components:t}=Gn();return f.createElement(t.Button,{...e})}function tp(e){return f.createElement("option",{...e})}function np(e){const{components:t}=Gn();return f.createElement(t.Button,{...e})}function rp(e){const{rootRef:t,...n}=e;return f.createElement("div",{...n,ref:t})}function ap(e){return f.createElement("select",{...e})}function op(e){const{week:t,...n}=e;return f.createElement("tr",{...n})}function ip(e){return f.createElement("th",{...e})}function sp(e){return f.createElement("thead",{"aria-hidden":!0},f.createElement("tr",{...e}))}function up(e){const{week:t,...n}=e;return f.createElement("th",{...n})}function lp(e){return f.createElement("th",{...e})}function cp(e){return f.createElement("tbody",{...e})}function dp(e){const{components:t}=Gn();return f.createElement(t.Dropdown,{...e})}const fp=Object.freeze(Object.defineProperty({__proto__:null,Button:Bg,CaptionLabel:Vg,Chevron:Hg,Day:Xg,DayButton:Zg,Dropdown:jg,DropdownNav:Lg,Footer:zg,Month:Jg,MonthCaption:$g,MonthGrid:Ug,Months:Qg,MonthsDropdown:qg,Nav:Kg,NextMonthButton:ep,Option:tp,PreviousMonthButton:np,Root:rp,Select:ap,Week:op,WeekNumber:up,WeekNumberHeader:lp,Weekday:ip,Weekdays:sp,Weeks:cp,YearsDropdown:dp},Symbol.toStringTag,{value:"Module"}));function St(e,t,n=!1,r=vt){let{from:a,to:o}=e;const{differenceInCalendarDays:i,isSameDay:s}=r;return a&&o?(i(o,a)<0&&([a,o]=[o,a]),i(t,a)>=(n?1:0)&&i(o,t)>=(n?1:0)):!n&&o?s(o,t):!n&&a?s(a,t):!1}function ro(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Mr(e){return!!(e&&typeof e=="object"&&"from"in e)}function ao(e){return!!(e&&typeof e=="object"&&"after"in e)}function oo(e){return!!(e&&typeof e=="object"&&"before"in e)}function ou(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function iu(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Dt(e,t,n=vt){const r=Array.isArray(t)?t:[t],{isSameDay:a,differenceInCalendarDays:o,isAfter:i}=n;return r.some(s=>{if(typeof s=="boolean")return s;if(n.isDate(s))return a(e,s);if(iu(s,n))return s.some(u=>a(e,u));if(Mr(s))return St(s,e,!1,n);if(ou(s))return Array.isArray(s.dayOfWeek)?s.dayOfWeek.includes(e.getDay()):s.dayOfWeek===e.getDay();if(ro(s)){const u=o(s.before,e),l=o(s.after,e),c=u>0,d=l<0;return i(s.before,s.after)?d&&c:c||d}return ao(s)?o(e,s.after)>0:oo(s)?o(s.before,e)>0:typeof s=="function"?s(e):!1})}function hp(e,t,n,r,a){const{disabled:o,hidden:i,modifiers:s,showOutsideDays:u,broadcastCalendar:l,today:c=a.today()}=t,{isSameDay:d,isSameMonth:h,startOfMonth:g,isBefore:m,endOfMonth:y,isAfter:p}=a,C=n&&g(n),v=r&&y(r),x={[De.focused]:[],[De.outside]:[],[De.disabled]:[],[De.hidden]:[],[De.today]:[]},w={};for(const I of e){const{date:b,displayMonth:M}=I,E=!!(M&&!h(b,M)),k=!!(C&&m(b,C)),F=!!(v&&p(b,v)),G=!!(o&&Dt(b,o,a)),L=!!(i&&Dt(b,i,a))||k||F||!l&&!u&&E||l&&u===!1&&E,z=d(b,c);E&&x.outside.push(I),G&&x.disabled.push(I),L&&x.hidden.push(I),z&&x.today.push(I),s&&Object.keys(s).forEach(N=>{const $=s==null?void 0:s[N];$&&Dt(b,$,a)&&(w[N]?w[N].push(I):w[N]=[I])})}return I=>{const b={[De.focused]:!1,[De.disabled]:!1,[De.hidden]:!1,[De.outside]:!1,[De.today]:!1},M={};for(const E in x){const k=x[E];b[E]=k.some(F=>F===I)}for(const E in w)M[E]=w[E].some(k=>k===I);return{...b,...M}}}function mp(e,t,n={}){return Object.entries(e).filter(([,a])=>a===!0).reduce((a,[o])=>(n[o]?a.push(n[o]):t[De[o]]?a.push(t[De[o]]):t[st[o]]&&a.push(t[st[o]]),a),[t[_.Day]])}function gp(e){return{...fp,...e}}function pp(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([n,r])=>{n.startsWith("data-")&&(t[n]=r)}),t}function bp(){const e={};for(const t in _)e[_[t]]=`rdp-${_[t]}`;for(const t in De)e[De[t]]=`rdp-${De[t]}`;for(const t in st)e[st[t]]=`rdp-${st[t]}`;for(const t in Je)e[Je[t]]=`rdp-${Je[t]}`;return e}function su(e,t,n){return(n??new Qe(t)).formatMonthYear(e)}const yp=su;function vp(e,t,n){return(n??new Qe(t)).format(e,"d")}function Ip(e,t=vt){return t.format(e,"LLLL")}function xp(e,t,n){return(n??new Qe(t)).format(e,"cccccc")}function Cp(e,t=vt){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function wp(){return""}function uu(e,t=vt){return t.format(e,"yyyy")}const Mp=uu,Sp=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:su,formatDay:vp,formatMonthCaption:yp,formatMonthDropdown:Ip,formatWeekNumber:Cp,formatWeekNumberHeader:wp,formatWeekdayName:xp,formatYearCaption:Mp,formatYearDropdown:uu},Symbol.toStringTag,{value:"Module"}));function Dp(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Sp,...e}}function io(e,t,n,r){let a=(r??new Qe(n)).format(e,"PPPP");return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a}const kp=io;function so(e,t,n){return(n??new Qe(t)).formatMonthYear(e)}const Ep=so;function lu(e,t,n,r){let a=(r??new Qe(n)).format(e,"PPPP");return t!=null&&t.today&&(a=`Today, ${a}`),a}function cu(e){return"Choose the Month"}function du(){return""}const Op="Go to the Next Month";function fu(e,t){return Op}function hu(e){return"Go to the Previous Month"}function mu(e,t,n){return(n??new Qe(t)).format(e,"cccc")}function gu(e,t){return`Week ${e}`}function pu(e){return"Week Number"}function bu(e){return"Choose the Year"}const Ap=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:Ep,labelDay:kp,labelDayButton:io,labelGrid:so,labelGridcell:lu,labelMonthDropdown:cu,labelNav:du,labelNext:fu,labelPrevious:hu,labelWeekNumber:gu,labelWeekNumberHeader:pu,labelWeekday:mu,labelYearDropdown:bu},Symbol.toStringTag,{value:"Module"})),ot=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function Np(e,t){var r;const n=((r=t.locale)==null?void 0:r.labels)??{};return{...Ap,...e??{},labelDayButton:ot(io,e==null?void 0:e.labelDayButton,n.labelDayButton),labelMonthDropdown:ot(cu,e==null?void 0:e.labelMonthDropdown,n.labelMonthDropdown),labelNext:ot(fu,e==null?void 0:e.labelNext,n.labelNext),labelPrevious:ot(hu,e==null?void 0:e.labelPrevious,n.labelPrevious),labelWeekNumber:ot(gu,e==null?void 0:e.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:ot(bu,e==null?void 0:e.labelYearDropdown,n.labelYearDropdown),labelGrid:ot(so,e==null?void 0:e.labelGrid,n.labelGrid),labelGridcell:ot(lu,e==null?void 0:e.labelGridcell,n.labelGridcell),labelNav:ot(du,e==null?void 0:e.labelNav,n.labelNav),labelWeekNumberHeader:ot(pu,e==null?void 0:e.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:ot(mu,e==null?void 0:e.labelWeekday,n.labelWeekday)}}function Tp(e,t,n,r,a){const{startOfMonth:o,startOfYear:i,endOfYear:s,eachMonthOfInterval:u,getMonth:l}=a;return u({start:i(e),end:s(e)}).map(h=>{const g=r.formatMonthDropdown(h,a),m=l(h),y=t&&h<o(t)||n&&h>o(n)||!1;return{value:m,label:g,disabled:y}})}function Fp(e,t={},n={}){let r={...t==null?void 0:t[_.Day]};return Object.entries(e).filter(([,a])=>a===!0).forEach(([a])=>{r={...r,...n==null?void 0:n[a]}}),r}function Wp(e,t,n,r){const a=r??e.today(),o=n?e.startOfBroadcastWeek(a,e):t?e.startOfISOWeek(a):e.startOfWeek(a),i=[];for(let s=0;s<7;s++){const u=e.addDays(o,s);i.push(u)}return i}function _p(e,t,n,r,a=!1){if(!e||!t)return;const{startOfYear:o,endOfYear:i,eachYearOfInterval:s,getYear:u}=r,l=o(e),c=i(t),d=s({start:l,end:c});return a&&d.reverse(),d.map(h=>{const g=n.formatYearDropdown(h,r);return{value:u(h),label:g,disabled:!1}})}function Pp(e,t={}){var s;const{weekStartsOn:n,locale:r}=t,a=n??((s=r==null?void 0:r.options)==null?void 0:s.weekStartsOn)??0,o=u=>{const l=typeof u=="number"||typeof u=="string"?new Date(u):u;return new Pe(l.getFullYear(),l.getMonth(),l.getDate(),12,0,0,e)},i=u=>{const l=o(u);return new Date(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0,0)};return{today:()=>o(Pe.tz(e)),newDate:(u,l,c)=>new Pe(u,l,c,12,0,0,e),startOfDay:u=>o(u),startOfWeek:(u,l)=>{const c=o(u),d=(l==null?void 0:l.weekStartsOn)??a,h=(c.getDay()-d+7)%7;return c.setDate(c.getDate()-h),c},startOfISOWeek:u=>{const l=o(u),c=(l.getDay()-1+7)%7;return l.setDate(l.getDate()-c),l},startOfMonth:u=>{const l=o(u);return l.setDate(1),l},startOfYear:u=>{const l=o(u);return l.setMonth(0,1),l},endOfWeek:(u,l)=>{const c=o(u),g=((((l==null?void 0:l.weekStartsOn)??a)+6)%7-c.getDay()+7)%7;return c.setDate(c.getDate()+g),c},endOfISOWeek:u=>{const l=o(u),c=(7-l.getDay())%7;return l.setDate(l.getDate()+c),l},endOfMonth:u=>{const l=o(u);return l.setMonth(l.getMonth()+1,0),l},endOfYear:u=>{const l=o(u);return l.setMonth(11,31),l},eachMonthOfInterval:u=>{const l=o(u.start),c=o(u.end),d=[],h=new Pe(l.getFullYear(),l.getMonth(),1,12,0,0,e),g=c.getFullYear()*12+c.getMonth();for(;h.getFullYear()*12+h.getMonth()<=g;)d.push(new Pe(h,e)),h.setMonth(h.getMonth()+1,1);return d},addDays:(u,l)=>{const c=o(u);return c.setDate(c.getDate()+l),c},addWeeks:(u,l)=>{const c=o(u);return c.setDate(c.getDate()+l*7),c},addMonths:(u,l)=>{const c=o(u);return c.setMonth(c.getMonth()+l),c},addYears:(u,l)=>{const c=o(u);return c.setFullYear(c.getFullYear()+l),c},eachYearOfInterval:u=>{const l=o(u.start),c=o(u.end),d=[],h=new Pe(l.getFullYear(),0,1,12,0,0,e);for(;h.getFullYear()<=c.getFullYear();)d.push(new Pe(h,e)),h.setFullYear(h.getFullYear()+1,0,1);return d},getWeek:(u,l)=>{var d;const c=i(u);return no(c,{weekStartsOn:(l==null?void 0:l.weekStartsOn)??a,firstWeekContainsDate:(l==null?void 0:l.firstWeekContainsDate)??((d=r==null?void 0:r.options)==null?void 0:d.firstWeekContainsDate)??1})},getISOWeek:u=>{const l=i(u);return to(l)},differenceInCalendarDays:(u,l)=>{const c=i(u),d=i(l);return eo(c,d)},differenceInCalendarMonths:(u,l)=>{const c=i(u),d=i(l);return $s(c,d)}}}const Yn=e=>e instanceof HTMLElement?e:null,Qr=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Gp=e=>Yn(e.querySelector("[data-animated-month]")),qr=e=>Yn(e.querySelector("[data-animated-caption]")),Kr=e=>Yn(e.querySelector("[data-animated-weeks]")),Yp=e=>Yn(e.querySelector("[data-animated-nav]")),Rp=e=>Yn(e.querySelector("[data-animated-weekdays]"));function Bp(e,t,{classNames:n,months:r,focused:a,dateLib:o}){const i=f.useRef(null),s=f.useRef(r),u=f.useRef(!1);f.useLayoutEffect(()=>{const l=s.current;if(s.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||l.length===0||r.length!==l.length)return;const c=o.isSameMonth(r[0].date,l[0].date),d=o.isAfter(r[0].date,l[0].date),h=d?n[Je.caption_after_enter]:n[Je.caption_before_enter],g=d?n[Je.weeks_after_enter]:n[Je.weeks_before_enter],m=i.current,y=e.current.cloneNode(!0);if(y instanceof HTMLElement?(Qr(y).forEach(x=>{if(!(x instanceof HTMLElement))return;const w=Gp(x);w&&x.contains(w)&&x.removeChild(w);const I=qr(x);I&&I.classList.remove(h);const b=Kr(x);b&&b.classList.remove(g)}),i.current=y):i.current=null,u.current||c||a)return;const p=m instanceof HTMLElement?Qr(m):[],C=Qr(e.current);if(C!=null&&C.every(v=>v instanceof HTMLElement)&&p&&p.every(v=>v instanceof HTMLElement)){u.current=!0,e.current.style.isolation="isolate";const v=Yp(e.current);v&&(v.style.zIndex="1"),C.forEach((x,w)=>{const I=p[w];if(!I)return;x.style.position="relative",x.style.overflow="hidden";const b=qr(x);b&&b.classList.add(h);const M=Kr(x);M&&M.classList.add(g);const E=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),v&&(v.style.zIndex=""),b&&b.classList.remove(h),M&&M.classList.remove(g),x.style.position="",x.style.overflow="",x.contains(I)&&x.removeChild(I)};I.style.pointerEvents="none",I.style.position="absolute",I.style.overflow="hidden",I.setAttribute("aria-hidden","true");const k=Rp(I);k&&(k.style.opacity="0");const F=qr(I);F&&(F.classList.add(d?n[Je.caption_before_exit]:n[Je.caption_after_exit]),F.addEventListener("animationend",E));const G=Kr(I);G&&G.classList.add(d?n[Je.weeks_before_exit]:n[Je.weeks_after_exit]),x.insertBefore(I,x.firstChild)})}})}function Vp(e,t,n,r){const a=e[0],o=e[e.length-1],{ISOWeek:i,fixedWeeks:s,broadcastCalendar:u}=n??{},{addDays:l,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:g,endOfMonth:m,endOfWeek:y,isAfter:p,startOfBroadcastWeek:C,startOfISOWeek:v,startOfWeek:x}=r,w=u?C(a,r):i?v(a):x(a),I=u?h(o):i?g(m(o)):y(m(o)),b=t&&(u?h(t):i?g(t):y(t)),M=b&&p(I,b)?b:I,E=c(M,w),k=d(o,a)+1,F=[];for(let z=0;z<=E;z++){const N=l(w,z);F.push(N)}const L=(u?35:42)*k;if(s&&F.length<L){const z=L-F.length;for(let N=0;N<z;N++){const $=l(F[F.length-1],1);F.push($)}}return F}function Hp(e){const t=[];return e.reduce((n,r)=>{const a=r.weeks.reduce((o,i)=>o.concat(i.days.slice()),t.slice());return n.concat(a.slice())},t.slice())}function Xp(e,t,n,r){const{numberOfMonths:a=1}=n,o=[];for(let i=0;i<a;i++){const s=r.addMonths(e,i);if(t&&s>t)break;o.push(s)}return o}function Di(e,t,n,r){const{month:a,defaultMonth:o,today:i=r.today(),numberOfMonths:s=1}=e;let u=a||o||i;const{differenceInCalendarMonths:l,addMonths:c,startOfMonth:d}=r;if(n&&l(n,u)<s-1){const h=-1*(s-1);u=c(n,h)}return t&&l(u,t)<0&&(u=t),d(u)}function Zp(e,t,n,r){const{addDays:a,endOfBroadcastWeek:o,endOfISOWeek:i,endOfMonth:s,endOfWeek:u,getISOWeek:l,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:g}=r,m=e.reduce((y,p)=>{const C=n.broadcastCalendar?d(p,r):n.ISOWeek?h(p):g(p),v=n.broadcastCalendar?o(p):n.ISOWeek?i(s(p)):u(s(p)),x=t.filter(M=>M>=C&&M<=v),w=n.broadcastCalendar?35:42;if(n.fixedWeeks&&x.length<w){const M=t.filter(E=>{const k=w-x.length;return E>v&&E<=a(v,k)});x.push(...M)}const I=x.reduce((M,E)=>{const k=n.ISOWeek?l(E):c(E),F=M.find(L=>L.weekNumber===k),G=new ru(E,p,r);return F?F.days.push(G):M.push(new Rg(k,[G])),M},[]),b=new Yg(p,I);return y.push(b),y},[]);return n.reverseMonths?m.reverse():m}function jp(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:a,startOfDay:o,startOfMonth:i,endOfMonth:s,addYears:u,endOfYear:l,newDate:c,today:d}=t,{fromYear:h,toYear:g,fromMonth:m,toMonth:y}=e;!n&&m&&(n=m),!n&&h&&(n=t.newDate(h,0,1)),!r&&y&&(r=y),!r&&g&&(r=c(g,11,31));const p=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=i(n):h?n=c(h,0,1):!n&&p&&(n=a(u(e.today??d(),-100))),r?r=s(r):g?r=c(g,11,31):!r&&p&&(r=l(e.today??d())),[n&&o(n),r&&o(r)]}function Lp(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:o=1}=n,{startOfMonth:i,addMonths:s,differenceInCalendarMonths:u}=r,l=a?o:1,c=i(e);if(!t)return s(c,l);if(!(u(t,e)<o))return s(c,l)}function zp(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:o}=n,{startOfMonth:i,addMonths:s,differenceInCalendarMonths:u}=r,l=a?o??1:1,c=i(e);if(!t)return s(c,-l);if(!(u(c,t)<=0))return s(c,-l)}function Jp(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Sr(e,t){const[n,r]=f.useState(e);return[t===void 0?n:t,r]}function $p(e,t){var w;const[n,r]=jp(e,t),{startOfMonth:a,endOfMonth:o}=t,i=Di(e,n,r,t),[s,u]=Sr(i,e.month?i:void 0);f.useEffect(()=>{const I=Di(e,n,r,t);u(I)},[e.timeZone]);const{months:l,weeks:c,days:d,previousMonth:h,nextMonth:g}=f.useMemo(()=>{const I=Xp(s,r,{numberOfMonths:e.numberOfMonths},t),b=Vp(I,e.endMonth?o(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),M=Zp(I,b,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),E=Jp(M),k=Hp(M),F=zp(s,n,e,t),G=Lp(s,r,e,t);return{months:M,weeks:E,days:k,previousMonth:F,nextMonth:G}},[t,s.getTime(),r==null?void 0:r.getTime(),n==null?void 0:n.getTime(),e.disableNavigation,e.broadcastCalendar,(w=e.endMonth)==null?void 0:w.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:y}=e,p=I=>c.some(b=>b.days.some(M=>M.isEqualTo(I))),C=I=>{if(m)return;let b=a(I);n&&b<a(n)&&(b=a(n)),r&&b>a(r)&&(b=a(r)),u(b),y==null||y(b)};return{months:l,weeks:c,days:d,navStart:n,navEnd:r,previousMonth:h,nextMonth:g,goToMonth:C,goToDay:I=>{p(I)||C(I.date)}}}var ft;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(ft||(ft={}));function ki(e){return!e[De.disabled]&&!e[De.hidden]&&!e[De.outside]}function Up(e,t,n,r){let a,o=-1;for(const i of e){const s=t(i);ki(s)&&(s[De.focused]&&o<ft.FocusedModifier?(a=i,o=ft.FocusedModifier):r!=null&&r.isEqualTo(i)&&o<ft.LastFocused?(a=i,o=ft.LastFocused):n(i.date)&&o<ft.Selected?(a=i,o=ft.Selected):s[De.today]&&o<ft.Today&&(a=i,o=ft.Today))}return a||(a=e.find(i=>ki(t(i)))),a}function Qp(e,t,n,r,a,o,i){const{ISOWeek:s,broadcastCalendar:u}=o,{addDays:l,addMonths:c,addWeeks:d,addYears:h,endOfBroadcastWeek:g,endOfISOWeek:m,endOfWeek:y,max:p,min:C,startOfBroadcastWeek:v,startOfISOWeek:x,startOfWeek:w}=i;let b={day:l,week:d,month:c,year:h,startOfWeek:M=>u?v(M,i):s?x(M):w(M),endOfWeek:M=>u?g(M):s?m(M):y(M)}[e](n,t==="after"?1:-1);return t==="before"&&r?b=p([r,b]):t==="after"&&a&&(b=C([a,b])),b}function yu(e,t,n,r,a,o,i,s=0){if(s>365)return;const u=Qp(e,t,n.date,r,a,o,i),l=!!(o.disabled&&Dt(u,o.disabled,i)),c=!!(o.hidden&&Dt(u,o.hidden,i)),d=u,h=new ru(u,d,i);return!l&&!c?h:yu(e,t,h,r,a,o,i,s+1)}function qp(e,t,n,r,a){const{autoFocus:o}=e,[i,s]=f.useState(),u=Up(t.days,n,r||(()=>!1),i),[l,c]=f.useState(o?u:void 0);return{isFocusTarget:y=>!!(u!=null&&u.isEqualTo(y)),setFocused:c,focused:l,blur:()=>{s(l),c(void 0)},moveFocus:(y,p)=>{if(!l)return;const C=yu(y,p,l,t.navStart,t.navEnd,e,a);C&&(e.disableNavigation&&!t.days.some(x=>x.isEqualTo(C))||(t.goToDay(C),c(C)))}}}function Kp(e,t){const{selected:n,required:r,onSelect:a}=e,[o,i]=Sr(n,a?n:void 0),s=a?n:o,{isSameDay:u}=t,l=g=>(s==null?void 0:s.some(m=>u(m,g)))??!1,{min:c,max:d}=e;return{selected:s,select:(g,m,y)=>{let p=[...s??[]];if(l(g)){if((s==null?void 0:s.length)===c||r&&(s==null?void 0:s.length)===1)return;p=s==null?void 0:s.filter(C=>!u(C,g))}else(s==null?void 0:s.length)===d?p=[g]:p=[...p,g];return a||i(p),a==null||a(p,g,m,y),p},isSelected:l}}function eb(e,t,n=0,r=0,a=!1,o=vt){const{from:i,to:s}=t||{},{isSameDay:u,isAfter:l,isBefore:c}=o;let d;if(!i&&!s)d={from:e,to:n>0?void 0:e};else if(i&&!s)u(i,e)?n===0?d={from:i,to:e}:a?d={from:i,to:void 0}:d=void 0:c(e,i)?d={from:e,to:i}:d={from:i,to:e};else if(i&&s)if(u(i,e)&&u(s,e))a?d={from:i,to:s}:d=void 0;else if(u(i,e))d={from:i,to:n>0?void 0:e};else if(u(s,e))d={from:e,to:n>0?void 0:e};else if(c(e,i))d={from:e,to:s};else if(l(e,i))d={from:i,to:e};else if(l(e,s))d={from:i,to:e};else throw new Error("Invalid range");if(d!=null&&d.from&&(d!=null&&d.to)){const h=o.differenceInCalendarDays(d.to,d.from);r>0&&h>r?d={from:e,to:void 0}:n>1&&h<n&&(d={from:e,to:void 0})}return d}function tb(e,t,n=vt){const r=Array.isArray(t)?t:[t];let a=e.from;const o=n.differenceInCalendarDays(e.to,e.from),i=Math.min(o,6);for(let s=0;s<=i;s++){if(r.includes(a.getDay()))return!0;a=n.addDays(a,1)}return!1}function Ei(e,t,n=vt){return St(e,t.from,!1,n)||St(e,t.to,!1,n)||St(t,e.from,!1,n)||St(t,e.to,!1,n)}function nb(e,t,n=vt){const r=Array.isArray(t)?t:[t];if(r.filter(s=>typeof s!="function").some(s=>typeof s=="boolean"?s:n.isDate(s)?St(e,s,!1,n):iu(s,n)?s.some(u=>St(e,u,!1,n)):Mr(s)?s.from&&s.to?Ei(e,{from:s.from,to:s.to},n):!1:ou(s)?tb(e,s.dayOfWeek,n):ro(s)?n.isAfter(s.before,s.after)?Ei(e,{from:n.addDays(s.after,1),to:n.addDays(s.before,-1)},n):Dt(e.from,s,n)||Dt(e.to,s,n):ao(s)||oo(s)?Dt(e.from,s,n)||Dt(e.to,s,n):!1))return!0;const i=r.filter(s=>typeof s=="function");if(i.length){let s=e.from;const u=n.differenceInCalendarDays(e.to,e.from);for(let l=0;l<=u;l++){if(i.some(c=>c(s)))return!0;s=n.addDays(s,1)}}return!1}function rb(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:a,selected:o,required:i,onSelect:s}=e,[u,l]=Sr(o,s?o:void 0),c=s?o:u;return{selected:c,select:(g,m,y)=>{const{min:p,max:C}=e;let v;if(g){const x=c==null?void 0:c.from,w=c==null?void 0:c.to,I=!!x&&!!w,b=!!x&&!!w&&t.isSameDay(x,w)&&t.isSameDay(g,x);a&&(I||!(c!=null&&c.from))?!i&&b?v=void 0:v={from:g,to:void 0}:v=eb(g,c,p,C,i,t)}return r&&n&&(v!=null&&v.from)&&v.to&&nb({from:v.from,to:v.to},n,t)&&(v.from=g,v.to=void 0),s||l(v),s==null||s(v,g,m,y),v},isSelected:g=>c&&St(c,g,!1,t)}}function ab(e,t){const{selected:n,required:r,onSelect:a}=e,[o,i]=Sr(n,a?n:void 0),s=a?n:o,{isSameDay:u}=t;return{selected:s,select:(d,h,g)=>{let m=d;return!r&&s&&s&&u(d,s)&&(m=void 0),a||i(m),a==null||a(m,d,h,g),m},isSelected:d=>s?u(s,d):!1}}function ob(e,t){const n=ab(e,t),r=Kp(e,t),a=rb(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return a;default:return}}function ze(e,t){return e instanceof Pe&&e.timeZone===t?e:new Pe(e,t)}function $t(e,t,n){if(!n)return ze(e,t);const r=ze(e,t),a=new Pe(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t);return new Date(a.getTime())}function Oi(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?$t(e,t,n):Array.isArray(e)?e.map(r=>r instanceof Date?$t(r,t,n):r):Mr(e)?{...e,from:e.from?ze(e.from,t):e.from,to:e.to?ze(e.to,t):e.to}:ro(e)?{before:$t(e.before,t,n),after:$t(e.after,t,n)}:ao(e)?{after:$t(e.after,t,n)}:oo(e)?{before:$t(e.before,t,n)}:e}function ea(e,t,n){return e&&(Array.isArray(e)?e.map(r=>Oi(r,t,n)):Oi(e,t,n))}function xa(e){var Wo;let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=ze(t.today,n)),t.month&&(t.month=ze(t.month,n)),t.defaultMonth&&(t.defaultMonth=ze(t.defaultMonth,n)),t.startMonth&&(t.startMonth=ze(t.startMonth,n)),t.endMonth&&(t.endMonth=ze(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=ze(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=(Wo=t.selected)==null?void 0:Wo.map(Z=>ze(Z,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?ze(t.selected.from,n):t.selected.from,to:t.selected.to?ze(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=ea(t.disabled,n)),t.hidden!==void 0&&(t.hidden=ea(t.hidden,n)),t.modifiers)){const Z={};Object.keys(t.modifiers).forEach(se=>{var B;Z[se]=ea((B=t.modifiers)==null?void 0:B[se],n)}),t.modifiers=Z}const{components:r,formatters:a,labels:o,dateLib:i,locale:s,classNames:u}=f.useMemo(()=>{const Z={...nu,...t.locale},se=t.broadcastCalendar?1:t.weekStartsOn,B=t.noonSafe&&t.timeZone?Pp(t.timeZone,{weekStartsOn:se,locale:Z}):void 0,ae=t.dateLib&&B?{...B,...t.dateLib}:t.dateLib??B,Le=new Qe({locale:Z,weekStartsOn:se,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},ae);return{dateLib:Le,components:gp(t.components),formatters:Dp(t.formatters),labels:Np(t.labels,Le.options),locale:Z,classNames:{...bp(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:i.today()});const{captionLayout:l,mode:c,navLayout:d,numberOfMonths:h=1,onDayBlur:g,onDayClick:m,onDayFocus:y,onDayKeyDown:p,onDayMouseEnter:C,onDayMouseLeave:v,onNextClick:x,onPrevClick:w,showWeekNumber:I,styles:b}=t,{formatCaption:M,formatDay:E,formatMonthDropdown:k,formatWeekNumber:F,formatWeekNumberHeader:G,formatWeekdayName:L,formatYearDropdown:z}=a,N=$p(t,i),{days:$,months:me,navStart:ge,navEnd:Me,previousMonth:ee,nextMonth:te,goToMonth:Se}=N,pe=hp($,t,ge,Me,i),{isSelected:be,select:ke,selected:Ee}=ob(t,i)??{},{blur:Oe,focused:U,isFocusTarget:Ge,moveFocus:Xe,setFocused:Ke}=qp(t,N,pe,be??(()=>!1),i),{labelDayButton:rt,labelGridcell:W,labelGrid:Y,labelMonthDropdown:xe,labelNav:Ae,labelPrevious:H,labelNext:at,labelWeekday:wl,labelWeekNumber:Ml,labelWeekNumberHeader:Sl,labelYearDropdown:Dl}=o,kl=f.useMemo(()=>Wp(i,t.ISOWeek,t.broadcastCalendar,t.today),[i,t.ISOWeek,t.broadcastCalendar,t.today]),To=c!==void 0||m!==void 0,Yr=f.useCallback(()=>{ee&&(Se(ee),w==null||w(ee))},[ee,Se,w]),Rr=f.useCallback(()=>{te&&(Se(te),x==null||x(te))},[Se,te,x]),El=f.useCallback((Z,se)=>B=>{B.preventDefault(),B.stopPropagation(),Ke(Z),!se.disabled&&(ke==null||ke(Z.date,se,B),m==null||m(Z.date,se,B))},[ke,m,Ke]),Ol=f.useCallback((Z,se)=>B=>{Ke(Z),y==null||y(Z.date,se,B)},[y,Ke]),Al=f.useCallback((Z,se)=>B=>{Oe(),g==null||g(Z.date,se,B)},[Oe,g]),Nl=f.useCallback((Z,se)=>B=>{const ae={ArrowLeft:[B.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[B.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[B.shiftKey?"year":"week","after"],ArrowUp:[B.shiftKey?"year":"week","before"],PageUp:[B.shiftKey?"year":"month","before"],PageDown:[B.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(ae[B.key]){B.preventDefault(),B.stopPropagation();const[Le,Q]=ae[B.key];Xe(Le,Q)}p==null||p(Z.date,se,B)},[Xe,p,t.dir]),Tl=f.useCallback((Z,se)=>B=>{C==null||C(Z.date,se,B)},[C]),Fl=f.useCallback((Z,se)=>B=>{v==null||v(Z.date,se,B)},[v]),Wl=f.useCallback(Z=>se=>{const B=Number(se.target.value),ae=i.setMonth(i.startOfMonth(Z),B);Se(ae)},[i,Se]),_l=f.useCallback(Z=>se=>{const B=Number(se.target.value),ae=i.setYear(i.startOfMonth(Z),B);Se(ae)},[i,Se]),{className:Pl,style:Gl}=f.useMemo(()=>({className:[u[_.Root],t.className].filter(Boolean).join(" "),style:{...b==null?void 0:b[_.Root],...t.style}}),[u,t.className,t.style,b]),Yl=pp(t),Fo=f.useRef(null);Bp(Fo,!!t.animate,{classNames:u,months:me,focused:U,dateLib:i});const Rl={dayPickerProps:t,selected:Ee,select:ke,isSelected:be,months:me,nextMonth:te,previousMonth:ee,goToMonth:Se,getModifiers:pe,components:r,classNames:u,styles:b,labels:o,formatters:a};return f.createElement(au.Provider,{value:Rl},f.createElement(r.Root,{rootRef:t.animate?Fo:void 0,className:Pl,style:Gl,dir:t.dir,id:t.id,lang:t.lang??s.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...Yl},f.createElement(r.Months,{className:u[_.Months],style:b==null?void 0:b[_.Months]},!t.hideNavigation&&!d&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[_.Nav],style:b==null?void 0:b[_.Nav],"aria-label":Ae(),onPreviousClick:Yr,onNextClick:Rr,previousMonth:ee,nextMonth:te}),me.map((Z,se)=>f.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:u[_.Month],style:b==null?void 0:b[_.Month],key:se,displayIndex:se,calendarMonth:Z},d==="around"&&!t.hideNavigation&&se===0&&f.createElement(r.PreviousMonthButton,{type:"button",className:u[_.PreviousMonthButton],tabIndex:ee?void 0:-1,"aria-disabled":ee?void 0:!0,"aria-label":H(ee),onClick:Yr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:ee?void 0:!0,className:u[_.Chevron],orientation:t.dir==="rtl"?"right":"left"})),f.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:u[_.MonthCaption],style:b==null?void 0:b[_.MonthCaption],calendarMonth:Z,displayIndex:se},l!=null&&l.startsWith("dropdown")?f.createElement(r.DropdownNav,{className:u[_.Dropdowns],style:b==null?void 0:b[_.Dropdowns]},(()=>{const B=l==="dropdown"||l==="dropdown-months"?f.createElement(r.MonthsDropdown,{key:"month",className:u[_.MonthsDropdown],"aria-label":xe(),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:Wl(Z.date),options:Tp(Z.date,ge,Me,a,i),style:b==null?void 0:b[_.Dropdown],value:i.getMonth(Z.date)}):f.createElement("span",{key:"month"},k(Z.date,i)),ae=l==="dropdown"||l==="dropdown-years"?f.createElement(r.YearsDropdown,{key:"year",className:u[_.YearsDropdown],"aria-label":Dl(i.options),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:_l(Z.date),options:_p(ge,Me,a,i,!!t.reverseYears),style:b==null?void 0:b[_.Dropdown],value:i.getYear(Z.date)}):f.createElement("span",{key:"year"},z(Z.date,i));return i.getMonthYearOrder()==="year-first"?[ae,B]:[B,ae]})(),f.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},M(Z.date,i.options,i))):f.createElement(r.CaptionLabel,{className:u[_.CaptionLabel],role:"status","aria-live":"polite"},M(Z.date,i.options,i))),d==="around"&&!t.hideNavigation&&se===h-1&&f.createElement(r.NextMonthButton,{type:"button",className:u[_.NextMonthButton],tabIndex:te?void 0:-1,"aria-disabled":te?void 0:!0,"aria-label":at(te),onClick:Rr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:te?void 0:!0,className:u[_.Chevron],orientation:t.dir==="rtl"?"left":"right"})),se===h-1&&d==="after"&&!t.hideNavigation&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[_.Nav],style:b==null?void 0:b[_.Nav],"aria-label":Ae(),onPreviousClick:Yr,onNextClick:Rr,previousMonth:ee,nextMonth:te}),f.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":c==="multiple"||c==="range","aria-label":Y(Z.date,i.options,i)||void 0,className:u[_.MonthGrid],style:b==null?void 0:b[_.MonthGrid]},!t.hideWeekdays&&f.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:u[_.Weekdays],style:b==null?void 0:b[_.Weekdays]},I&&f.createElement(r.WeekNumberHeader,{"aria-label":Sl(i.options),className:u[_.WeekNumberHeader],style:b==null?void 0:b[_.WeekNumberHeader],scope:"col"},G()),kl.map(B=>f.createElement(r.Weekday,{"aria-label":wl(B,i.options,i),className:u[_.Weekday],key:String(B),style:b==null?void 0:b[_.Weekday],scope:"col"},L(B,i.options,i)))),f.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:u[_.Weeks],style:b==null?void 0:b[_.Weeks]},Z.weeks.map(B=>f.createElement(r.Week,{className:u[_.Week],key:B.weekNumber,style:b==null?void 0:b[_.Week],week:B},I&&f.createElement(r.WeekNumber,{week:B,style:b==null?void 0:b[_.WeekNumber],"aria-label":Ml(B.weekNumber,{locale:s}),className:u[_.WeekNumber],scope:"row",role:"rowheader"},F(B.weekNumber,i)),B.days.map(ae=>{const{date:Le}=ae,Q=pe(ae);if(Q[De.focused]=!Q.hidden&&!!(U!=null&&U.isEqualTo(ae)),Q[st.selected]=(be==null?void 0:be(Le))||Q.selected,Mr(Ee)){const{from:Br,to:Vr}=Ee;Q[st.range_start]=!!(Br&&Vr&&i.isSameDay(Le,Br)),Q[st.range_end]=!!(Br&&Vr&&i.isSameDay(Le,Vr)),Q[st.range_middle]=St(Ee,Le,!0,i)}const Bl=Fp(Q,b,t.modifiersStyles),Vl=mp(Q,u,t.modifiersClassNames),Hl=!To&&!Q.hidden?W(Le,Q,i.options,i):void 0;return f.createElement(r.Day,{key:`${ae.isoDate}_${ae.displayMonthId}`,day:ae,modifiers:Q,className:Vl.join(" "),style:Bl,role:"gridcell","aria-selected":Q.selected||void 0,"aria-label":Hl,"data-day":ae.isoDate,"data-month":ae.outside?ae.dateMonthId:void 0,"data-selected":Q.selected||void 0,"data-disabled":Q.disabled||void 0,"data-hidden":Q.hidden||void 0,"data-outside":ae.outside||void 0,"data-focused":Q.focused||void 0,"data-today":Q.today||void 0},!Q.hidden&&To?f.createElement(r.DayButton,{className:u[_.DayButton],style:b==null?void 0:b[_.DayButton],type:"button",day:ae,modifiers:Q,disabled:!Q.focused&&Q.disabled||void 0,"aria-disabled":Q.focused&&Q.disabled||void 0,tabIndex:Ge(ae)?0:-1,"aria-label":rt(Le,Q,i.options,i),onClick:El(ae,Q),onBlur:Al(ae,Q),onFocus:Ol(ae,Q),onKeyDown:Nl(ae,Q),onMouseEnter:Tl(ae,Q),onMouseLeave:Fl(ae,Q)},E(Le,i.options,i)):!Q.hidden&&E(ae.date,i.options,i))})))))))),t.footer&&f.createElement(r.Footer,{className:u[_.Footer],style:b==null?void 0:b[_.Footer],role:"status","aria-live":"polite"},t.footer)))}//! moment.js
|
|
683
|
-
//! version : 2.29.4
|
|
684
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
685
|
-
//! license : MIT
|
|
686
|
-
//! momentjs.com
|
|
687
|
-
var vu;function A(){return vu.apply(null,arguments)}function ib(e){vu=e}function lt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function jt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ne(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function uo(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ne(e,t))return!1;return!0}function Ze(e){return e===void 0}function At(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Rn(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Iu(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function Pt(e,t){for(var n in t)ne(t,n)&&(e[n]=t[n]);return ne(t,"toString")&&(e.toString=t.toString),ne(t,"valueOf")&&(e.valueOf=t.valueOf),e}function It(e,t,n,r){return Zu(e,t,n,r,!0).utc()}function sb(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function j(e){return e._pf==null&&(e._pf=sb()),e._pf}var Ca;Array.prototype.some?Ca=Array.prototype.some:Ca=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function lo(e){if(e._isValid==null){var t=j(e),n=Ca.call(t.parsedDateParts,function(a){return a!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Dr(e){var t=It(NaN);return e!=null?Pt(j(t),e):j(t).userInvalidated=!0,t}var Ai=A.momentProperties=[],ta=!1;function co(e,t){var n,r,a,o=Ai.length;if(Ze(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Ze(t._i)||(e._i=t._i),Ze(t._f)||(e._f=t._f),Ze(t._l)||(e._l=t._l),Ze(t._strict)||(e._strict=t._strict),Ze(t._tzm)||(e._tzm=t._tzm),Ze(t._isUTC)||(e._isUTC=t._isUTC),Ze(t._offset)||(e._offset=t._offset),Ze(t._pf)||(e._pf=j(t)),Ze(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=Ai[n],a=t[r],Ze(a)||(e[r]=a);return e}function Bn(e){co(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ta===!1&&(ta=!0,A.updateOffset(this),ta=!1)}function ct(e){return e instanceof Bn||e!=null&&e._isAMomentObject!=null}function xu(e){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function tt(e,t){var n=!0;return Pt(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,e),n){var r=[],a,o,i,s=arguments.length;for(o=0;o<s;o++){if(a="",typeof arguments[o]=="object"){a+=`
|
|
688
|
-
[`+o+"] ";for(i in arguments[0])ne(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[o];r.push(a)}xu(e+`
|
|
689
|
-
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
690
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Ni={};function Cu(e,t){A.deprecationHandler!=null&&A.deprecationHandler(e,t),Ni[e]||(xu(t),Ni[e]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function xt(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function ub(e){var t,n;for(n in e)ne(e,n)&&(t=e[n],xt(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function wa(e,t){var n=Pt({},e),r;for(r in t)ne(t,r)&&(jt(e[r])&&jt(t[r])?(n[r]={},Pt(n[r],e[r]),Pt(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)ne(e,r)&&!ne(t,r)&&jt(e[r])&&(n[r]=Pt({},n[r]));return n}function fo(e){e!=null&&this.set(e)}var Ma;Object.keys?Ma=Object.keys:Ma=function(e){var t,n=[];for(t in e)ne(e,t)&&n.push(t);return n};var lb={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function cb(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return xt(r)?r.call(t,n):r}function yt(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var ho=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Un=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,na={},tn={};function P(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(tn[e]=a),t&&(tn[t[0]]=function(){return yt(a.apply(this,arguments),t[1],t[2])}),n&&(tn[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function db(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function fb(e){var t=e.match(ho),n,r;for(n=0,r=t.length;n<r;n++)tn[t[n]]?t[n]=tn[t[n]]:t[n]=db(t[n]);return function(a){var o="",i;for(i=0;i<r;i++)o+=xt(t[i])?t[i].call(a,e):t[i];return o}}function nr(e,t){return e.isValid()?(t=wu(t,e.localeData()),na[t]=na[t]||fb(t),na[t](e)):e.localeData().invalidDate()}function wu(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(Un.lastIndex=0;n>=0&&Un.test(e);)e=e.replace(Un,r),Un.lastIndex=0,n-=1;return e}var hb={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mb(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ho).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var gb="Invalid date";function pb(){return this._invalidDate}var bb="%d",yb=/\d{1,2}/;function vb(e){return this._ordinal.replace("%d",e)}var Ib={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function xb(e,t,n,r){var a=this._relativeTime[n];return xt(a)?a(e,t,n,r):a.replace(/%d/i,e)}function Cb(e,t){var n=this._relativeTime[e>0?"future":"past"];return xt(n)?n(t):n.replace(/%s/i,t)}var wn={};function Ve(e,t){var n=e.toLowerCase();wn[n]=wn[n+"s"]=wn[t]=e}function nt(e){return typeof e=="string"?wn[e]||wn[e.toLowerCase()]:void 0}function mo(e){var t={},n,r;for(r in e)ne(e,r)&&(n=nt(r),n&&(t[n]=e[r]));return t}var Mu={};function He(e,t){Mu[e]=t}function wb(e){var t=[],n;for(n in e)ne(e,n)&&t.push({unit:n,priority:Mu[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}function kr(e){return e%4===0&&e%100!==0||e%400===0}function et(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function J(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=et(t)),n}function dn(e,t){return function(n){return n!=null?(Su(this,e,n),A.updateOffset(this,t),this):dr(this,e)}}function dr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Su(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&kr(e.year())&&e.month()===1&&e.date()===29?(n=J(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Fr(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Mb(e){return e=nt(e),xt(this[e])?this[e]():this}function Sb(e,t){if(typeof e=="object"){e=mo(e);var n=wb(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=nt(e),xt(this[e]))return this[e](t);return this}var Du=/\d/,qe=/\d\d/,ku=/\d{3}/,go=/\d{4}/,Er=/[+-]?\d{6}/,Ie=/\d\d?/,Eu=/\d\d\d\d?/,Ou=/\d\d\d\d\d\d?/,Or=/\d{1,3}/,po=/\d{1,4}/,Ar=/[+-]?\d{1,6}/,fn=/\d+/,Nr=/[+-]?\d+/,Db=/Z|[+-]\d\d:?\d\d/gi,Tr=/Z|[+-]\d\d(?::?\d\d)?/gi,kb=/[+-]?\d+(\.\d{1,3})?/,Vn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,fr;fr={};function T(e,t,n){fr[e]=xt(t)?t:function(r,a){return r&&n?n:t}}function Eb(e,t){return ne(fr,e)?fr[e](t._strict,t._locale):new RegExp(Ob(e))}function Ob(e){return $e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,o){return n||r||a||o}))}function $e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Sa={};function he(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),At(t)&&(r=function(o,i){i[t]=J(o)}),a=e.length,n=0;n<a;n++)Sa[e[n]]=r}function Hn(e,t){he(e,function(n,r,a,o){a._w=a._w||{},t(n,a._w,a,o)})}function Ab(e,t,n){t!=null&&ne(Sa,e)&&Sa[e](t,n._a,n,e)}var Be=0,kt=1,mt=2,We=3,ut=4,Et=5,Zt=6,Nb=7,Tb=8;function Fb(e,t){return(e%t+t)%t}var Ne;Array.prototype.indexOf?Ne=Array.prototype.indexOf:Ne=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Fr(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Fb(t,12);return e+=(t-n)/12,n===1?kr(e)?29:28:31-n%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});Ve("month","M");He("month",8);T("M",Ie);T("MM",Ie,qe);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});he(["M","MM"],function(e,t){t[kt]=J(e)-1});he(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[kt]=a:j(n).invalidMonth=e});var Wb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Au="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Nu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_b=Vn,Pb=Vn;function Gb(e,t){return e?lt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Nu).test(t)?"format":"standalone"][e.month()]:lt(this._months)?this._months:this._months.standalone}function Yb(e,t){return e?lt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Nu.test(t)?"format":"standalone"][e.month()]:lt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Rb(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=It([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?t==="MMM"?(a=Ne.call(this._shortMonthsParse,i),a!==-1?a:null):(a=Ne.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=Ne.call(this._shortMonthsParse,i),a!==-1?a:(a=Ne.call(this._longMonthsParse,i),a!==-1?a:null)):(a=Ne.call(this._longMonthsParse,i),a!==-1?a:(a=Ne.call(this._shortMonthsParse,i),a!==-1?a:null))}function Bb(e,t,n){var r,a,o;if(this._monthsParseExact)return Rb.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=It([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function Tu(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=J(t);else if(t=e.localeData().monthsParse(t),!At(t))return e}return n=Math.min(e.date(),Fr(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Fu(e){return e!=null?(Tu(this,e),A.updateOffset(this,!0),this):dr(this,"Month")}function Vb(){return Fr(this.year(),this.month())}function Hb(e){return this._monthsParseExact?(ne(this,"_monthsRegex")||Wu.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(ne(this,"_monthsShortRegex")||(this._monthsShortRegex=_b),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Xb(e){return this._monthsParseExact?(ne(this,"_monthsRegex")||Wu.call(this),e?this._monthsStrictRegex:this._monthsRegex):(ne(this,"_monthsRegex")||(this._monthsRegex=Pb),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Wu(){function e(i,s){return s.length-i.length}var t=[],n=[],r=[],a,o;for(a=0;a<12;a++)o=It([2e3,a]),t.push(this.monthsShort(o,"")),n.push(this.months(o,"")),r.push(this.months(o,"")),r.push(this.monthsShort(o,""));for(t.sort(e),n.sort(e),r.sort(e),a=0;a<12;a++)t[a]=$e(t[a]),n[a]=$e(n[a]);for(a=0;a<24;a++)r[a]=$e(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?yt(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");Ve("year","y");He("year",1);T("Y",Nr);T("YY",Ie,qe);T("YYYY",po,go);T("YYYYY",Ar,Er);T("YYYYYY",Ar,Er);he(["YYYYY","YYYYYY"],Be);he("YYYY",function(e,t){t[Be]=e.length===2?A.parseTwoDigitYear(e):J(e)});he("YY",function(e,t){t[Be]=A.parseTwoDigitYear(e)});he("Y",function(e,t){t[Be]=parseInt(e,10)});function Mn(e){return kr(e)?366:365}A.parseTwoDigitYear=function(e){return J(e)+(J(e)>68?1900:2e3)};var _u=dn("FullYear",!0);function Zb(){return kr(this.year())}function jb(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function Nn(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function hr(e,t,n){var r=7+t-n,a=(7+Nn(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Pu(e,t,n,r,a){var o=(7+n-r)%7,i=hr(e,r,a),s=1+7*(t-1)+o+i,u,l;return s<=0?(u=e-1,l=Mn(u)+s):s>Mn(e)?(u=e+1,l=s-Mn(e)):(u=e,l=s),{year:u,dayOfYear:l}}function Tn(e,t,n){var r=hr(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,o,i;return a<1?(i=e.year()-1,o=a+Ot(i,t,n)):a>Ot(e.year(),t,n)?(o=a-Ot(e.year(),t,n),i=e.year()+1):(i=e.year(),o=a),{week:o,year:i}}function Ot(e,t,n){var r=hr(e,t,n),a=hr(e+1,t,n);return(Mn(e)-r+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");Ve("week","w");Ve("isoWeek","W");He("week",5);He("isoWeek",5);T("w",Ie);T("ww",Ie,qe);T("W",Ie);T("WW",Ie,qe);Hn(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=J(e)});function Lb(e){return Tn(e,this._week.dow,this._week.doy).week}var zb={dow:0,doy:6};function Jb(){return this._week.dow}function $b(){return this._week.doy}function Ub(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Qb(e){var t=Tn(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");Ve("day","d");Ve("weekday","e");Ve("isoWeekday","E");He("day",11);He("weekday",11);He("isoWeekday",11);T("d",Ie);T("e",Ie);T("E",Ie);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});Hn(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:j(n).invalidWeekday=e});Hn(["d","e","E"],function(e,t,n,r){t[r]=J(e)});function qb(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Kb(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function bo(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ey="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ty="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ny=Vn,ry=Vn,ay=Vn;function oy(e,t){var n=lt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?bo(n,this._week.dow):e?n[e.day()]:n}function iy(e){return e===!0?bo(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function sy(e){return e===!0?bo(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function uy(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=It([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(a=Ne.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=Ne.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=Ne.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=Ne.call(this._weekdaysParse,i),a!==-1||(a=Ne.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=Ne.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=Ne.call(this._shortWeekdaysParse,i),a!==-1||(a=Ne.call(this._weekdaysParse,i),a!==-1)?a:(a=Ne.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=Ne.call(this._minWeekdaysParse,i),a!==-1||(a=Ne.call(this._weekdaysParse,i),a!==-1)?a:(a=Ne.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function ly(e,t,n){var r,a,o;if(this._weekdaysParseExact)return uy.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=It([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function cy(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=qb(e,this.localeData()),this.add(e-t,"d")):t}function dy(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function fy(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Kb(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function hy(e){return this._weekdaysParseExact?(ne(this,"_weekdaysRegex")||yo.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ne(this,"_weekdaysRegex")||(this._weekdaysRegex=ny),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function my(e){return this._weekdaysParseExact?(ne(this,"_weekdaysRegex")||yo.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ne(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ry),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gy(e){return this._weekdaysParseExact?(ne(this,"_weekdaysRegex")||yo.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ne(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ay),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function yo(){function e(c,d){return d.length-c.length}var t=[],n=[],r=[],a=[],o,i,s,u,l;for(o=0;o<7;o++)i=It([2e3,1]).day(o),s=$e(this.weekdaysMin(i,"")),u=$e(this.weekdaysShort(i,"")),l=$e(this.weekdays(i,"")),t.push(s),n.push(u),r.push(l),a.push(s),a.push(u),a.push(l);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function vo(){return this.hours()%12||12}function py(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,vo);P("k",["kk",2],0,py);P("hmm",0,0,function(){return""+vo.apply(this)+yt(this.minutes(),2)});P("hmmss",0,0,function(){return""+vo.apply(this)+yt(this.minutes(),2)+yt(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+yt(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+yt(this.minutes(),2)+yt(this.seconds(),2)});function Yu(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Yu("a",!0);Yu("A",!1);Ve("hour","h");He("hour",13);function Ru(e,t){return t._meridiemParse}T("a",Ru);T("A",Ru);T("H",Ie);T("h",Ie);T("k",Ie);T("HH",Ie,qe);T("hh",Ie,qe);T("kk",Ie,qe);T("hmm",Eu);T("hmmss",Ou);T("Hmm",Eu);T("Hmmss",Ou);he(["H","HH"],We);he(["k","kk"],function(e,t,n){var r=J(e);t[We]=r===24?0:r});he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});he(["h","hh"],function(e,t,n){t[We]=J(e),j(n).bigHour=!0});he("hmm",function(e,t,n){var r=e.length-2;t[We]=J(e.substr(0,r)),t[ut]=J(e.substr(r)),j(n).bigHour=!0});he("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[We]=J(e.substr(0,r)),t[ut]=J(e.substr(r,2)),t[Et]=J(e.substr(a)),j(n).bigHour=!0});he("Hmm",function(e,t,n){var r=e.length-2;t[We]=J(e.substr(0,r)),t[ut]=J(e.substr(r))});he("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[We]=J(e.substr(0,r)),t[ut]=J(e.substr(r,2)),t[Et]=J(e.substr(a))});function by(e){return(e+"").toLowerCase().charAt(0)==="p"}var yy=/[ap]\.?m?\.?/i,vy=dn("Hours",!0);function Iy(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Bu={calendar:lb,longDateFormat:hb,invalidDate:gb,ordinal:bb,dayOfMonthOrdinalParse:yb,relativeTime:Ib,months:Wb,monthsShort:Au,week:zb,weekdays:ey,weekdaysMin:ty,weekdaysShort:Gu,meridiemParse:yy},Ce={},bn={},Fn;function xy(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Ti(e){return e&&e.toLowerCase().replace("_","-")}function Cy(e){for(var t=0,n,r,a,o;t<e.length;){for(o=Ti(e[t]).split("-"),n=o.length,r=Ti(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=Wr(o.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&xy(o,r)>=n-1)break;n--}t++}return Fn}function wy(e){return e.match("^[^/\\\\]*$")!=null}function Wr(e){var t=null,n;if(Ce[e]===void 0&&typeof module<"u"&&module&&module.exports&&wy(e))try{t=Fn._abbr,n=require,n("./locale/"+e),Yt(t)}catch{Ce[e]=null}return Ce[e]}function Yt(e,t){var n;return e&&(Ze(t)?n=Tt(e):n=Io(e,t),n?Fn=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Fn._abbr}function Io(e,t){if(t!==null){var n,r=Bu;if(t.abbr=e,Ce[e]!=null)Cu("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ce[e]._config;else if(t.parentLocale!=null)if(Ce[t.parentLocale]!=null)r=Ce[t.parentLocale]._config;else if(n=Wr(t.parentLocale),n!=null)r=n._config;else return bn[t.parentLocale]||(bn[t.parentLocale]=[]),bn[t.parentLocale].push({name:e,config:t}),null;return Ce[e]=new fo(wa(r,t)),bn[e]&&bn[e].forEach(function(a){Io(a.name,a.config)}),Yt(e),Ce[e]}else return delete Ce[e],null}function My(e,t){if(t!=null){var n,r,a=Bu;Ce[e]!=null&&Ce[e].parentLocale!=null?Ce[e].set(wa(Ce[e]._config,t)):(r=Wr(e),r!=null&&(a=r._config),t=wa(a,t),r==null&&(t.abbr=e),n=new fo(t),n.parentLocale=Ce[e],Ce[e]=n),Yt(e)}else Ce[e]!=null&&(Ce[e].parentLocale!=null?(Ce[e]=Ce[e].parentLocale,e===Yt()&&Yt(e)):Ce[e]!=null&&delete Ce[e]);return Ce[e]}function Tt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Fn;if(!lt(e)){if(t=Wr(e),t)return t;e=[e]}return Cy(e)}function Sy(){return Ma(Ce)}function xo(e){var t,n=e._a;return n&&j(e).overflow===-2&&(t=n[kt]<0||n[kt]>11?kt:n[mt]<1||n[mt]>Fr(n[Be],n[kt])?mt:n[We]<0||n[We]>24||n[We]===24&&(n[ut]!==0||n[Et]!==0||n[Zt]!==0)?We:n[ut]<0||n[ut]>59?ut:n[Et]<0||n[Et]>59?Et:n[Zt]<0||n[Zt]>999?Zt:-1,j(e)._overflowDayOfYear&&(t<Be||t>mt)&&(t=mt),j(e)._overflowWeeks&&t===-1&&(t=Nb),j(e)._overflowWeekday&&t===-1&&(t=Tb),j(e).overflow=t),e}var Dy=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ky=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ey=/Z|[+-]\d\d(?::?\d\d)?/,Qn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ra=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Oy=/^\/?Date\((-?\d+)/i,Ay=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ny={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Vu(e){var t,n,r=e._i,a=Dy.exec(r)||ky.exec(r),o,i,s,u,l=Qn.length,c=ra.length;if(a){for(j(e).iso=!0,t=0,n=l;t<n;t++)if(Qn[t][1].exec(a[1])){i=Qn[t][0],o=Qn[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,n=c;t<n;t++)if(ra[t][1].exec(a[3])){s=(a[2]||" ")+ra[t][0];break}if(s==null){e._isValid=!1;return}}if(!o&&s!=null){e._isValid=!1;return}if(a[4])if(Ey.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=i+(s||"")+(u||""),wo(e)}else e._isValid=!1}function Ty(e,t,n,r,a,o){var i=[Fy(e),Au.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function Fy(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Wy(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _y(e,t,n){if(e){var r=Gu.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return j(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Py(e,t,n){if(e)return Ny[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o=(r-a)/100;return o*60+a}function Hu(e){var t=Ay.exec(Wy(e._i)),n;if(t){if(n=Ty(t[4],t[3],t[2],t[5],t[6],t[7]),!_y(t[1],n,e))return;e._a=n,e._tzm=Py(t[8],t[9],t[10]),e._d=Nn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),j(e).rfc2822=!0}else e._isValid=!1}function Gy(e){var t=Oy.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Vu(e),e._isValid===!1)delete e._isValid;else return;if(Hu(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:A.createFromInputFallback(e)}A.createFromInputFallback=tt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function qt(e,t,n){return e??t??n}function Yy(e){var t=new Date(A.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Co(e){var t,n,r=[],a,o,i;if(!e._d){for(a=Yy(e),e._w&&e._a[mt]==null&&e._a[kt]==null&&Ry(e),e._dayOfYear!=null&&(i=qt(e._a[Be],a[Be]),(e._dayOfYear>Mn(i)||e._dayOfYear===0)&&(j(e)._overflowDayOfYear=!0),n=Nn(i,0,e._dayOfYear),e._a[kt]=n.getUTCMonth(),e._a[mt]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[We]===24&&e._a[ut]===0&&e._a[Et]===0&&e._a[Zt]===0&&(e._nextDay=!0,e._a[We]=0),e._d=(e._useUTC?Nn:jb).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(j(e).weekdayMismatch=!0)}}function Ry(e){var t,n,r,a,o,i,s,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,i=4,n=qt(t.GG,e._a[Be],Tn(ve(),1,4).year),r=qt(t.W,1),a=qt(t.E,1),(a<1||a>7)&&(u=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,l=Tn(ve(),o,i),n=qt(t.gg,e._a[Be],l.year),r=qt(t.w,l.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+o,(t.e<0||t.e>6)&&(u=!0)):a=o),r<1||r>Ot(n,o,i)?j(e)._overflowWeeks=!0:u!=null?j(e)._overflowWeekday=!0:(s=Pu(n,r,a,o,i),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function wo(e){if(e._f===A.ISO_8601){Vu(e);return}if(e._f===A.RFC_2822){Hu(e);return}e._a=[],j(e).empty=!0;var t=""+e._i,n,r,a,o,i,s=t.length,u=0,l,c;for(a=wu(e._f,e._locale).match(ho)||[],c=a.length,n=0;n<c;n++)o=a[n],r=(t.match(Eb(o,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&j(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),u+=r.length),tn[o]?(r?j(e).empty=!1:j(e).unusedTokens.push(o),Ab(o,r,e)):e._strict&&!r&&j(e).unusedTokens.push(o);j(e).charsLeftOver=s-u,t.length>0&&j(e).unusedInput.push(t),e._a[We]<=12&&j(e).bigHour===!0&&e._a[We]>0&&(j(e).bigHour=void 0),j(e).parsedDateParts=e._a.slice(0),j(e).meridiem=e._meridiem,e._a[We]=By(e._locale,e._a[We],e._meridiem),l=j(e).era,l!==null&&(e._a[Be]=e._locale.erasConvertYear(l,e._a[Be])),Co(e),xo(e)}function By(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Vy(e){var t,n,r,a,o,i,s=!1,u=e._f.length;if(u===0){j(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)o=0,i=!1,t=co({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],wo(t),lo(t)&&(i=!0),o+=j(t).charsLeftOver,o+=j(t).unusedTokens.length*10,j(t).score=o,s?o<r&&(r=o,n=t):(r==null||o<r||i)&&(r=o,n=t,i&&(s=!0));Pt(e,n||t)}function Hy(e){if(!e._d){var t=mo(e._i),n=t.day===void 0?t.date:t.day;e._a=Iu([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Co(e)}}function Xy(e){var t=new Bn(xo(Xu(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Xu(e){var t=e._i,n=e._f;return e._locale=e._locale||Tt(e._l),t===null||n===void 0&&t===""?Dr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ct(t)?new Bn(xo(t)):(Rn(t)?e._d=t:lt(n)?Vy(e):n?wo(e):Zy(e),lo(e)||(e._d=null),e))}function Zy(e){var t=e._i;Ze(t)?e._d=new Date(A.now()):Rn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Gy(e):lt(t)?(e._a=Iu(t.slice(0),function(n){return parseInt(n,10)}),Co(e)):jt(t)?Hy(e):At(t)?e._d=new Date(t):A.createFromInputFallback(e)}function Zu(e,t,n,r,a){var o={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(jt(e)&&uo(e)||lt(e)&&e.length===0)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,Xy(o)}function ve(e,t,n,r){return Zu(e,t,n,r,!1)}var jy=tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ve.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Dr()}),Ly=tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ve.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Dr()});function ju(e,t){var n,r;if(t.length===1&<(t[0])&&(t=t[0]),!t.length)return ve();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function zy(){var e=[].slice.call(arguments,0);return ju("isBefore",e)}function Jy(){var e=[].slice.call(arguments,0);return ju("isAfter",e)}var $y=function(){return Date.now?Date.now():+new Date},yn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Uy(e){var t,n=!1,r,a=yn.length;for(t in e)if(ne(e,t)&&!(Ne.call(yn,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[yn[r]]){if(n)return!1;parseFloat(e[yn[r]])!==J(e[yn[r]])&&(n=!0)}return!0}function Qy(){return this._isValid}function qy(){return dt(NaN)}function _r(e){var t=mo(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=Uy(t),this._milliseconds=+c+l*1e3+u*6e4+s*1e3*60*60,this._days=+i+o*7,this._months=+a+r*3+n*12,this._data={},this._locale=Tt(),this._bubble()}function rr(e){return e instanceof _r}function Da(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ky(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0,i;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&J(e[i])!==J(t[i]))&&o++;return o+a}function Lu(e,t){P(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+yt(~~(n/60),2)+t+yt(~~n%60,2)})}Lu("Z",":");Lu("ZZ","");T("Z",Tr);T("ZZ",Tr);he(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mo(Tr,e)});var ev=/([\+\-]|\d\d)/gi;function Mo(e,t){var n=(t||"").match(e),r,a,o;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match(ev)||["-",0,0],o=+(a[1]*60)+J(a[2]),o===0?0:a[0]==="+"?o:-o)}function So(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(ct(e)||Rn(e)?e.valueOf():ve(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),A.updateOffset(n,!1),n):ve(e).local()}function ka(e){return-Math.round(e._d.getTimezoneOffset())}A.updateOffset=function(){};function tv(e,t,n){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Mo(Tr,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=ka(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?$u(this,dt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:ka(this)}function nv(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function rv(e){return this.utcOffset(0,e)}function av(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ka(this),"m")),this}function ov(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Mo(Db,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function iv(e){return this.isValid()?(e=e?ve(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function sv(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function uv(){if(!Ze(this._isDSTShifted))return this._isDSTShifted;var e={},t;return co(e,this),e=Xu(e),e._a?(t=e._isUTC?It(e._a):ve(e._a),this._isDSTShifted=this.isValid()&&Ky(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function lv(){return this.isValid()?!this._isUTC:!1}function cv(){return this.isValid()?this._isUTC:!1}function zu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var dv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function dt(e,t){var n=e,r=null,a,o,i;return rr(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:At(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=dv.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:J(r[mt])*a,h:J(r[We])*a,m:J(r[ut])*a,s:J(r[Et])*a,ms:J(Da(r[Zt]*1e3))*a}):(r=fv.exec(e))?(a=r[1]==="-"?-1:1,n={y:Bt(r[2],a),M:Bt(r[3],a),w:Bt(r[4],a),d:Bt(r[5],a),h:Bt(r[6],a),m:Bt(r[7],a),s:Bt(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=hv(ve(n.from),ve(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),o=new _r(n),rr(e)&&ne(e,"_locale")&&(o._locale=e._locale),rr(e)&&ne(e,"_isValid")&&(o._isValid=e._isValid),o}dt.fn=_r.prototype;dt.invalid=qy;function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Fi(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function hv(e,t){var n;return e.isValid()&&t.isValid()?(t=So(t,e),e.isBefore(t)?n=Fi(e,t):(n=Fi(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ju(e,t){return function(n,r){var a,o;return r!==null&&!isNaN(+r)&&(Cu(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),a=dt(n,r),$u(this,a,e),this}}function $u(e,t,n,r){var a=t._milliseconds,o=Da(t._days),i=Da(t._months);e.isValid()&&(r=r??!0,i&&Tu(e,dr(e,"Month")+i*n),o&&Su(e,"Date",dr(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&A.updateOffset(e,o||i))}var mv=Ju(1,"add"),gv=Ju(-1,"subtract");function Uu(e){return typeof e=="string"||e instanceof String}function pv(e){return ct(e)||Rn(e)||Uu(e)||At(e)||yv(e)||bv(e)||e===null||e===void 0}function bv(e){var t=jt(e)&&!uo(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,o,i=r.length;for(a=0;a<i;a+=1)o=r[a],n=n||ne(e,o);return t&&n}function yv(e){var t=lt(e),n=!1;return t&&(n=e.filter(function(r){return!At(r)&&Uu(e)}).length===0),t&&n}function vv(e){var t=jt(e)&&!uo(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,o;for(a=0;a<r.length;a+=1)o=r[a],n=n||ne(e,o);return t&&n}function Iv(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function xv(e,t){arguments.length===1&&(arguments[0]?pv(arguments[0])?(e=arguments[0],t=void 0):vv(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||ve(),r=So(n,this).startOf("day"),a=A.calendarFormat(this,r)||"sameElse",o=t&&(xt(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,ve(n)))}function Cv(){return new Bn(this)}function wv(e,t){var n=ct(e)?e:ve(e);return this.isValid()&&n.isValid()?(t=nt(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function Mv(e,t){var n=ct(e)?e:ve(e);return this.isValid()&&n.isValid()?(t=nt(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Sv(e,t,n,r){var a=ct(e)?e:ve(e),o=ct(t)?t:ve(t);return this.isValid()&&a.isValid()&&o.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(r[1]===")"?this.isBefore(o,n):!this.isAfter(o,n))):!1}function Dv(e,t){var n=ct(e)?e:ve(e),r;return this.isValid()&&n.isValid()?(t=nt(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function kv(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ev(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ov(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(r=So(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=nt(t),t){case"year":o=ar(this,r)/12;break;case"month":o=ar(this,r);break;case"quarter":o=ar(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:et(o)}function ar(e,t){if(e.date()<t.date())return-ar(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),a,o;return t-r<0?(a=e.clone().add(n-1,"months"),o=(t-r)/(r-a)):(a=e.clone().add(n+1,"months"),o=(t-r)/(a-r)),-(n+o)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Av(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Nv(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?nr(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):xt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",nr(n,"Z")):nr(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Tv(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(n+r+a+o)}function Fv(e){e||(e=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var t=nr(this,e);return this.localeData().postformat(t)}function Wv(e,t){return this.isValid()&&(ct(e)&&e.isValid()||ve(e).isValid())?dt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _v(e){return this.from(ve(),e)}function Pv(e,t){return this.isValid()&&(ct(e)&&e.isValid()||ve(e).isValid())?dt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Gv(e){return this.to(ve(),e)}function Qu(e){var t;return e===void 0?this._locale._abbr:(t=Tt(e),t!=null&&(this._locale=t),this)}var qu=tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ku(){return this._locale}var mr=1e3,nn=60*mr,gr=60*nn,el=(365*400+97)*24*gr;function rn(e,t){return(e%t+t)%t}function tl(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-el:new Date(e,t,n).valueOf()}function nl(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-el:Date.UTC(e,t,n)}function Yv(e){var t,n;if(e=nt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?nl:tl,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=rn(t+(this._isUTC?0:this.utcOffset()*nn),gr);break;case"minute":t=this._d.valueOf(),t-=rn(t,nn);break;case"second":t=this._d.valueOf(),t-=rn(t,mr);break}return this._d.setTime(t),A.updateOffset(this,!0),this}function Rv(e){var t,n;if(e=nt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?nl:tl,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=gr-rn(t+(this._isUTC?0:this.utcOffset()*nn),gr)-1;break;case"minute":t=this._d.valueOf(),t+=nn-rn(t,nn)-1;break;case"second":t=this._d.valueOf(),t+=mr-rn(t,mr)-1;break}return this._d.setTime(t),A.updateOffset(this,!0),this}function Bv(){return this._d.valueOf()-(this._offset||0)*6e4}function Vv(){return Math.floor(this.valueOf()/1e3)}function Hv(){return new Date(this.valueOf())}function Xv(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Zv(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jv(){return this.isValid()?this.toISOString():null}function Lv(){return lo(this)}function zv(){return Pt({},j(this))}function Jv(){return j(this).overflow}function $v(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");T("N",Do);T("NN",Do);T("NNN",Do);T("NNNN",i0);T("NNNNN",s0);he(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?j(n).era=a:j(n).invalidEra=e});T("y",fn);T("yy",fn);T("yyy",fn);T("yyyy",fn);T("yo",u0);he(["y","yy","yyy","yyyy"],Be);he(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Be]=n._locale.eraYearOrdinalParse(e,a):t[Be]=parseInt(e,10)});function Uv(e,t){var n,r,a,o=this._eras||Tt("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":a=A(o[n].since).startOf("day"),o[n].since=a.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=A(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf();break}}return o}function Qv(e,t,n){var r,a,o=this.eras(),i,s,u;for(e=e.toUpperCase(),r=0,a=o.length;r<a;++r)if(i=o[r].name.toUpperCase(),s=o[r].abbr.toUpperCase(),u=o[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return o[r];break;case"NNNN":if(i===e)return o[r];break;case"NNNNN":if(u===e)return o[r];break}else if([i,s,u].indexOf(e)>=0)return o[r]}function qv(e,t){var n=e.since<=e.until?1:-1;return t===void 0?A(e.since).year():A(e.since).year()+(t-e.offset)*n}function Kv(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function e0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function t0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function n0(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-A(a[e].since).year())*n+a[e].offset;return this.year()}function r0(e){return ne(this,"_erasNameRegex")||ko.call(this),e?this._erasNameRegex:this._erasRegex}function a0(e){return ne(this,"_erasAbbrRegex")||ko.call(this),e?this._erasAbbrRegex:this._erasRegex}function o0(e){return ne(this,"_erasNarrowRegex")||ko.call(this),e?this._erasNarrowRegex:this._erasRegex}function Do(e,t){return t.erasAbbrRegex(e)}function i0(e,t){return t.erasNameRegex(e)}function s0(e,t){return t.erasNarrowRegex(e)}function u0(e,t){return t._eraYearOrdinalRegex||fn}function ko(){var e=[],t=[],n=[],r=[],a,o,i=this.eras();for(a=0,o=i.length;a<o;++a)t.push($e(i[a].name)),e.push($e(i[a].abbr)),n.push($e(i[a].narrow)),r.push($e(i[a].name)),r.push($e(i[a].abbr)),r.push($e(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Pr(e,t){P(0,[e,e.length],0,t)}Pr("gggg","weekYear");Pr("ggggg","weekYear");Pr("GGGG","isoWeekYear");Pr("GGGGG","isoWeekYear");Ve("weekYear","gg");Ve("isoWeekYear","GG");He("weekYear",1);He("isoWeekYear",1);T("G",Nr);T("g",Nr);T("GG",Ie,qe);T("gg",Ie,qe);T("GGGG",po,go);T("gggg",po,go);T("GGGGG",Ar,Er);T("ggggg",Ar,Er);Hn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=J(e)});Hn(["gg","GG"],function(e,t,n,r){t[r]=A.parseTwoDigitYear(e)});function l0(e){return rl.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function c0(e){return rl.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function d0(){return Ot(this.year(),1,4)}function f0(){return Ot(this.isoWeekYear(),1,4)}function h0(){var e=this.localeData()._week;return Ot(this.year(),e.dow,e.doy)}function m0(){var e=this.localeData()._week;return Ot(this.weekYear(),e.dow,e.doy)}function rl(e,t,n,r,a){var o;return e==null?Tn(this,r,a).year:(o=Ot(e,r,a),t>o&&(t=o),g0.call(this,e,t,n,r,a))}function g0(e,t,n,r,a){var o=Pu(e,t,n,r,a),i=Nn(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}P("Q",0,"Qo","quarter");Ve("quarter","Q");He("quarter",7);T("Q",Du);he("Q",function(e,t){t[kt]=(J(e)-1)*3});function p0(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");Ve("date","D");He("date",9);T("D",Ie);T("DD",Ie,qe);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});he(["D","DD"],mt);he("Do",function(e,t){t[mt]=J(e.match(Ie)[0])});var al=dn("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");Ve("dayOfYear","DDD");He("dayOfYear",4);T("DDD",Or);T("DDDD",ku);he(["DDD","DDDD"],function(e,t,n){n._dayOfYear=J(e)});function b0(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");Ve("minute","m");He("minute",14);T("m",Ie);T("mm",Ie,qe);he(["m","mm"],ut);var y0=dn("Minutes",!1);P("s",["ss",2],0,"second");Ve("second","s");He("second",15);T("s",Ie);T("ss",Ie,qe);he(["s","ss"],Et);var v0=dn("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Ve("millisecond","ms");He("millisecond",16);T("S",Or,Du);T("SS",Or,qe);T("SSS",Or,ku);var Gt,ol;for(Gt="SSSS";Gt.length<=9;Gt+="S")T(Gt,fn);function I0(e,t){t[Zt]=J(("0."+e)*1e3)}for(Gt="S";Gt.length<=9;Gt+="S")he(Gt,I0);ol=dn("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function x0(){return this._isUTC?"UTC":""}function C0(){return this._isUTC?"Coordinated Universal Time":""}var D=Bn.prototype;D.add=mv;D.calendar=xv;D.clone=Cv;D.diff=Ov;D.endOf=Rv;D.format=Fv;D.from=Wv;D.fromNow=_v;D.to=Pv;D.toNow=Gv;D.get=Mb;D.invalidAt=Jv;D.isAfter=wv;D.isBefore=Mv;D.isBetween=Sv;D.isSame=Dv;D.isSameOrAfter=kv;D.isSameOrBefore=Ev;D.isValid=Lv;D.lang=qu;D.locale=Qu;D.localeData=Ku;D.max=Ly;D.min=jy;D.parsingFlags=zv;D.set=Sb;D.startOf=Yv;D.subtract=gv;D.toArray=Xv;D.toObject=Zv;D.toDate=Hv;D.toISOString=Nv;D.inspect=Tv;typeof Symbol<"u"&&Symbol.for!=null&&(D[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});D.toJSON=jv;D.toString=Av;D.unix=Vv;D.valueOf=Bv;D.creationData=$v;D.eraName=Kv;D.eraNarrow=e0;D.eraAbbr=t0;D.eraYear=n0;D.year=_u;D.isLeapYear=Zb;D.weekYear=l0;D.isoWeekYear=c0;D.quarter=D.quarters=p0;D.month=Fu;D.daysInMonth=Vb;D.week=D.weeks=Ub;D.isoWeek=D.isoWeeks=Qb;D.weeksInYear=h0;D.weeksInWeekYear=m0;D.isoWeeksInYear=d0;D.isoWeeksInISOWeekYear=f0;D.date=al;D.day=D.days=cy;D.weekday=dy;D.isoWeekday=fy;D.dayOfYear=b0;D.hour=D.hours=vy;D.minute=D.minutes=y0;D.second=D.seconds=v0;D.millisecond=D.milliseconds=ol;D.utcOffset=tv;D.utc=rv;D.local=av;D.parseZone=ov;D.hasAlignedHourOffset=iv;D.isDST=sv;D.isLocal=lv;D.isUtcOffset=cv;D.isUtc=zu;D.isUTC=zu;D.zoneAbbr=x0;D.zoneName=C0;D.dates=tt("dates accessor is deprecated. Use date instead.",al);D.months=tt("months accessor is deprecated. Use month instead",Fu);D.years=tt("years accessor is deprecated. Use year instead",_u);D.zone=tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",nv);D.isDSTShifted=tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",uv);function w0(e){return ve(e*1e3)}function M0(){return ve.apply(null,arguments).parseZone()}function il(e){return e}var re=fo.prototype;re.calendar=cb;re.longDateFormat=mb;re.invalidDate=pb;re.ordinal=vb;re.preparse=il;re.postformat=il;re.relativeTime=xb;re.pastFuture=Cb;re.set=ub;re.eras=Uv;re.erasParse=Qv;re.erasConvertYear=qv;re.erasAbbrRegex=a0;re.erasNameRegex=r0;re.erasNarrowRegex=o0;re.months=Gb;re.monthsShort=Yb;re.monthsParse=Bb;re.monthsRegex=Xb;re.monthsShortRegex=Hb;re.week=Lb;re.firstDayOfYear=$b;re.firstDayOfWeek=Jb;re.weekdays=oy;re.weekdaysMin=sy;re.weekdaysShort=iy;re.weekdaysParse=ly;re.weekdaysRegex=hy;re.weekdaysShortRegex=my;re.weekdaysMinRegex=gy;re.isPM=by;re.meridiem=Iy;function pr(e,t,n,r){var a=Tt(),o=It().set(r,t);return a[n](o,e)}function sl(e,t,n){if(At(e)&&(t=e,e=void 0),e=e||"",t!=null)return pr(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=pr(e,r,n,"month");return a}function Eo(e,t,n,r){typeof e=="boolean"?(At(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,At(t)&&(n=t,t=void 0),t=t||"");var a=Tt(),o=e?a._week.dow:0,i,s=[];if(n!=null)return pr(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pr(t,(i+o)%7,r,"day");return s}function S0(e,t){return sl(e,t,"months")}function D0(e,t){return sl(e,t,"monthsShort")}function k0(e,t,n){return Eo(e,t,n,"weekdays")}function E0(e,t,n){return Eo(e,t,n,"weekdaysShort")}function O0(e,t,n){return Eo(e,t,n,"weekdaysMin")}Yt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=J(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});A.lang=tt("moment.lang is deprecated. Use moment.locale instead.",Yt);A.langData=tt("moment.langData is deprecated. Use moment.localeData instead.",Tt);var wt=Math.abs;function A0(){var e=this._data;return this._milliseconds=wt(this._milliseconds),this._days=wt(this._days),this._months=wt(this._months),e.milliseconds=wt(e.milliseconds),e.seconds=wt(e.seconds),e.minutes=wt(e.minutes),e.hours=wt(e.hours),e.months=wt(e.months),e.years=wt(e.years),this}function ul(e,t,n,r){var a=dt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function N0(e,t){return ul(this,e,t,1)}function T0(e,t){return ul(this,e,t,-1)}function Wi(e){return e<0?Math.floor(e):Math.ceil(e)}function F0(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,o,i,s,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Wi(Ea(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=et(e/1e3),r.seconds=a%60,o=et(a/60),r.minutes=o%60,i=et(o/60),r.hours=i%24,t+=et(i/24),u=et(ll(t)),n+=u,t-=Wi(Ea(u)),s=et(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function ll(e){return e*4800/146097}function Ea(e){return e*146097/4800}function W0(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=nt(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+ll(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ea(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function _0(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+J(this._months/12)*31536e6:NaN}function Ft(e){return function(){return this.as(e)}}var P0=Ft("ms"),G0=Ft("s"),Y0=Ft("m"),R0=Ft("h"),B0=Ft("d"),V0=Ft("w"),H0=Ft("M"),X0=Ft("Q"),Z0=Ft("y");function j0(){return dt(this)}function L0(e){return e=nt(e),this.isValid()?this[e+"s"]():NaN}function Lt(e){return function(){return this.isValid()?this._data[e]:NaN}}var z0=Lt("milliseconds"),J0=Lt("seconds"),$0=Lt("minutes"),U0=Lt("hours"),Q0=Lt("days"),q0=Lt("months"),K0=Lt("years");function e1(){return et(this.days()/7)}var Mt=Math.round,Kt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function t1(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function n1(e,t,n,r){var a=dt(e).abs(),o=Mt(a.as("s")),i=Mt(a.as("m")),s=Mt(a.as("h")),u=Mt(a.as("d")),l=Mt(a.as("M")),c=Mt(a.as("w")),d=Mt(a.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return n.w!=null&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),h=h||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,t1.apply(null,h)}function r1(e){return e===void 0?Mt:typeof e=="function"?(Mt=e,!0):!1}function a1(e,t){return Kt[e]===void 0?!1:t===void 0?Kt[e]:(Kt[e]=t,e==="s"&&(Kt.ss=t-1),!0)}function o1(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Kt,a,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Kt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),o=n1(this,!n,r,a),n&&(o=a.pastFuture(+this,o)),a.postformat(o)}var aa=Math.abs;function Ut(e){return(e>0)-(e<0)||+e}function Gr(){if(!this.isValid())return this.localeData().invalidDate();var e=aa(this._milliseconds)/1e3,t=aa(this._days),n=aa(this._months),r,a,o,i,s=this.asSeconds(),u,l,c,d;return s?(r=et(e/60),a=et(r/60),e%=60,r%=60,o=et(n/12),n%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=Ut(this._months)!==Ut(s)?"-":"",c=Ut(this._days)!==Ut(s)?"-":"",d=Ut(this._milliseconds)!==Ut(s)?"-":"",u+"P"+(o?l+o+"Y":"")+(n?l+n+"M":"")+(t?c+t+"D":"")+(a||r||e?"T":"")+(a?d+a+"H":"")+(r?d+r+"M":"")+(e?d+i+"S":"")):"P0D"}var K=_r.prototype;K.isValid=Qy;K.abs=A0;K.add=N0;K.subtract=T0;K.as=W0;K.asMilliseconds=P0;K.asSeconds=G0;K.asMinutes=Y0;K.asHours=R0;K.asDays=B0;K.asWeeks=V0;K.asMonths=H0;K.asQuarters=X0;K.asYears=Z0;K.valueOf=_0;K._bubble=F0;K.clone=j0;K.get=L0;K.milliseconds=z0;K.seconds=J0;K.minutes=$0;K.hours=U0;K.days=Q0;K.weeks=e1;K.months=q0;K.years=K0;K.humanize=o1;K.toISOString=Gr;K.toString=Gr;K.toJSON=Gr;K.locale=Qu;K.localeData=Ku;K.toIsoString=tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gr);K.lang=qu;P("X",0,0,"unix");P("x",0,0,"valueOf");T("x",Nr);T("X",kb);he("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});he("x",function(e,t,n){n._d=new Date(J(e))});//! moment.js
|
|
691
|
-
A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A.months=S0;A.isDate=Rn;A.locale=Yt;A.invalid=Dr;A.duration=dt;A.isMoment=ct;A.weekdays=k0;A.parseZone=M0;A.localeData=Tt;A.isDuration=rr;A.monthsShort=D0;A.weekdaysMin=O0;A.defineLocale=Io;A.updateLocale=My;A.locales=Sy;A.weekdaysShort=E0;A.normalizeUnits=nt;A.relativeTimeRounding=r1;A.relativeTimeThreshold=a1;A.calendarFormat=Iv;A.prototype=D;A.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ye=Nt.defineMessages({dateTimePickerLabel:{id:"datePicker.label.date.time.picker",defaultMessage:"Select date"},am:{id:"datePicker.label.am",defaultMessage:"AM"},pm:{id:"datePicker.label.pm",defaultMessage:"PM"},twentyFourHour:{id:"datePicker.label.24h",defaultMessage:"24h"},timeInputPlaceholder:{id:"datePicker.placeholder.time",defaultMessage:"hh:mm"},timeInputLabel:{id:"datePicker.label.time",defaultMessage:"Time"},invalidTime:{id:"datePicker.message.invalid.time",defaultMessage:"Invalid Time"},selectDateFormatDescription:{id:"datePicker.message.formatDescription",defaultMessage:"Provide a date using the format {localeFormat}"},wrongFormat:{id:"datePicker.message.invalid.format",defaultMessage:"Invalid Format"},notNumber:{id:"datePicker.message.invalid.not.number",defaultMessage:"Given time is not a number"},pickerPrevMonth:{id:"datePicker.button.prevMonth",defaultMessage:"Previous month"},pickerNextMonth:{id:"datePicker.button.nextMonth",defaultMessage:"Next month"},pickerSelectYear:{id:"datePicker.button.selectYear",defaultMessage:"Select year and month"},pickerSelectMonth:{id:"datePicker.button.selectMonth",defaultMessage:"Select month"},selectYearDropdown:{id:"datePicker.dropdown.selectYear",defaultMessage:"Select year"},closeYearMonthPicker:{id:"datePicker.button.closeYearMonthPicker",defaultMessage:"Done"}}),i1={order:["day","month","year"],literals:["","/","/",""]},s1=new Date(2e3,0,13),cl=e=>{try{return new Intl.DateTimeFormat(e),!0}catch{return!1}},Oo=e=>e&&cl(e)?e:Intl.DateTimeFormat().resolvedOptions().locale||"en",u1=e=>{const t=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric",calendar:"gregory"}).formatToParts(s1),n=[],r=[""];return t.forEach(a=>{a.type==="day"||a.type==="month"||a.type==="year"?(n.push(a.type),r.push("")):r[r.length-1]+=a.value}),n.length===3?{order:n,literals:r}:i1},_i=new Map,dl=e=>{const t=_i.get(e);if(t)return t;const n=u1(e);return _i.set(e,n),n},l1=e=>{const{order:t,literals:n}=dl(Oo(e)),r={day:"DD",month:"MM",year:"YYYY"};return t.reduce((a,o,i)=>`${a}${n[i]}${r[o]}`,"")+n[t.length]},c1=(e,t)=>{if(e==null||e==="")return null;const n=e instanceof Date?e:new Date(e);return Number.isNaN(n.getTime())?null:n.toLocaleDateString(Oo(t),{year:"numeric",month:"numeric",day:"numeric",calendar:"gregory"})},d1=(e,t)=>{const n=e.trim();if(!n)return null;const{order:r,literals:a}=dl(Oo(t)),o={};let i=n;for(let h=0;h<r.length;h++){const g=a[h];if(g){if(!i.startsWith(g))return null;i=i.slice(g.length)}const m=i.match(/^\d{1,4}/);if(!m)return null;const y=r[h],p=m[0];if(y==="year"?p.length!==4:p.length>2)return null;o[y]=Number(p),i=i.slice(p.length)}const s=a[r.length];if(s?i!==s:i!=="")return null;const{year:u,month:l,day:c}=o;if(u==null||l==null||c==null||l<1||l>12||c<1||c>31)return null;const d=new Date(u,l-1,c);return d.getFullYear()!==u||d.getMonth()!==l-1||d.getDate()!==c?null:d},Ao=e=>{const t=e&&cl(e)?e:"en",n=new Intl.DateTimeFormat(t,{month:"long"}),r=new Intl.DateTimeFormat(t,{month:"short"});return Array.from({length:12},(a,o)=>({long:n.format(new Date(2e3,o,1)),short:r.format(new Date(2e3,o,1))}))},fl=O.div`
|
|
682
|
+
`;$s.propTypes={text:fe.node.isRequired,isFilled:fe.bool,color:fe.string,applyCustomStylings:fe.func};function bm(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const na={},wn={};function jt(e,t){try{const r=(na[e]||(na[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in wn?wn[r]:Ci(r,r.split(":"))}catch{if(e in wn)return wn[e];const n=e==null?void 0:e.match(ym);return n?Ci(e,n.slice(1)):NaN}}const ym=/([+-]\d\d):?(\d\d)?/;function Ci(e,t){const n=+(t[0]||0),r=+(t[1]||0),a=+(t[2]||0)/60;return wn[e]=n*60+r>0?n*60+r+a:n*60-r-a}class bt extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(jt(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),Us(this),ka(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new bt(...n,t):new bt(Date.now(),t)}withTimeZone(t){return new bt(+this,t)}getTimezoneOffset(){const t=-jt(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),ka(this),+this}[Symbol.for("constructDateFrom")](t){return new bt(+new Date(t),this.timeZone)}}const wi=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!wi.test(e))return;const t=e.replace(wi,"$1UTC");bt.prototype[t]&&(e.startsWith("get")?bt.prototype[e]=function(){return this.internal[t]()}:(bt.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),vm(this),+this},bt.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),ka(this),+this}))});function ka(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-jt(e.timeZone,e)*60))}function vm(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),Us(e)}function Us(e){const t=jt(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const a=-new Date(+e).getTimezoneOffset(),o=-new Date(+r).getTimezoneOffset(),i=a-o,s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();i&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+i);const u=a-n;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);const l=new Date(+e);l.setUTCSeconds(0);const c=a>0?l.getSeconds():(l.getSeconds()-60)%60,d=Math.round(-(jt(e.timeZone,e)*60))%60;(d||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+c));const h=jt(e.timeZone,e),g=h>0?Math.floor(h):Math.ceil(h),v=-new Date(+e).getTimezoneOffset()-g,p=g!==n,I=v-u;if(p&&I){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+I);const y=jt(e.timeZone,e),C=y>0?Math.floor(y):Math.ceil(y),M=g-C;M&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+M),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M))}}class Ge extends bt{static tz(t,...n){return n.length?new Ge(...n,t):new Ge(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),a=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+a}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,a]=this.internal.toUTCString().split(" ");return`${t==null?void 0:t.slice(0,-1)} ${r} ${n} ${a}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,a]=this.tzComponents();return`${t} GMT${n}${r}${a} (${bm(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),a=String(Math.abs(t)%60).padStart(2,"0");return[n,r,a]}withTimeZone(t){return new Ge(+this,t)}[Symbol.for("constructDateFrom")](t){return new Ge(+new Date(t),this.timeZone)}}const Js=6048e5,xm=864e5,Mi=Symbol.for("constructDateFrom");function Ae(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Mi in e?e[Mi](t):e instanceof Date?new e.constructor(t):new Date(t)}function he(e,t){return Ae(t||e,e)}function Qs(e,t,n){const r=he(e,n==null?void 0:n.in);return isNaN(t)?Ae((n==null?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function qs(e,t,n){const r=he(e,n==null?void 0:n.in);if(isNaN(t))return Ae((n==null?void 0:n.in)||e,NaN);if(!t)return r;const a=r.getDate(),o=Ae((n==null?void 0:n.in)||e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const i=o.getDate();return a>=i?o:(r.setFullYear(o.getFullYear(),o.getMonth(),a),r)}let Im={};function Rn(){return Im}function ln(e,t){var s,u,l,c;const n=Rn(),r=(t==null?void 0:t.weekStartsOn)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??0,a=he(e,t==null?void 0:t.in),o=a.getDay(),i=(o<r?7:0)+o-r;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function Tn(e,t){return ln(e,{...t,weekStartsOn:1})}function Ks(e,t){const n=he(e,t==null?void 0:t.in),r=n.getFullYear(),a=Ae(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=Tn(a),i=Ae(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const s=Tn(i);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Si(e){const t=he(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function hn(e,...t){const n=Ae.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function Fn(e,t){const n=he(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function io(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t),o=Fn(r),i=Fn(a),s=+o-Si(o),u=+i-Si(i);return Math.round((s-u)/xm)}function Cm(e,t){const n=Ks(e,t),r=Ae((t==null?void 0:t.in)||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Tn(r)}function wm(e,t,n){return Qs(e,t*7,n)}function Mm(e,t,n){return qs(e,t*12,n)}function Sm(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=Ae.bind(null,a));const o=he(a,r);(!n||n<o||isNaN(+o))&&(n=o)}),Ae(r,n||NaN)}function Dm(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=Ae.bind(null,a));const o=he(a,r);(!n||n>o||isNaN(+o))&&(n=o)}),Ae(r,n||NaN)}function km(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t);return+Fn(r)==+Fn(a)}function eu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Em(e){return!(!eu(e)&&typeof e!="number"||isNaN(+he(e)))}function tu(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t),o=r.getFullYear()-a.getFullYear(),i=r.getMonth()-a.getMonth();return o*12+i}function Om(e,t){const n=he(e,t==null?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function nu(e,t){const[n,r]=hn(e,t.start,t.end);return{start:n,end:r}}function Am(e,t){const{start:n,end:r}=nu(t==null?void 0:t.in,e);let a=+n>+r;const o=a?+n:+r,i=a?r:n;i.setHours(0,0,0,0),i.setDate(1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+i<=o;)u.push(Ae(n,i)),i.setMonth(i.getMonth()+s);return a?u.reverse():u}function Nm(e,t){const n=he(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Tm(e,t){const n=he(e,t==null?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function ru(e,t){const n=he(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Fm(e,t){const{start:n,end:r}=nu(t==null?void 0:t.in,e);let a=+n>+r;const o=a?+n:+r,i=a?r:n;i.setHours(0,0,0,0),i.setMonth(0,1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+i<=o;)u.push(Ae(n,i)),i.setFullYear(i.getFullYear()+s);return a?u.reverse():u}function au(e,t){var s,u,l,c;const n=Rn(),r=(t==null?void 0:t.weekStartsOn)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??0,a=he(e,t==null?void 0:t.in),o=a.getDay(),i=(o<r?-7:0)+6-(o-r);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function Wm(e,t){return au(e,{...t,weekStartsOn:1})}const _m={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Pm=(e,t,n)=>{let r;const a=_m[e];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function ra(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Gm={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ym={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rm={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bm={date:ra({formats:Gm,defaultWidth:"full"}),time:ra({formats:Ym,defaultWidth:"full"}),dateTime:ra({formats:Rm,defaultWidth:"full"})},Vm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Hm=(e,t,n,r)=>Vm[e];function yn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return a[o]}}const Xm={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},jm={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Lm={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},zm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$m={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Um=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Jm={ordinalNumber:Um,era:yn({values:Xm,defaultWidth:"wide"}),quarter:yn({values:Zm,defaultWidth:"wide",argumentCallback:e=>e-1}),month:yn({values:jm,defaultWidth:"wide"}),day:yn({values:Lm,defaultWidth:"wide"}),dayPeriod:yn({values:zm,defaultWidth:"wide",formattingValues:$m,defaultFormattingWidth:"wide"})};function vn(e){return(t,n={})=>{const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?qm(s,d=>d.test(i)):Qm(s,d=>d.test(i));let l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;const c=t.slice(i.length);return{value:l,rest:c}}}function Qm(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function qm(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Km(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(a.length);return{value:i,rest:s}}}const eg=/^(\d+)(th|st|nd|rd)?/i,tg=/\d+/i,ng={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},rg={any:[/^b/i,/^(a|c)/i]},ag={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},og={any:[/1/i,/2/i,/3/i,/4/i]},ig={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},sg={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ug={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},lg={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},cg={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},dg={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fg={ordinalNumber:Km({matchPattern:eg,parsePattern:tg,valueCallback:e=>parseInt(e,10)}),era:vn({matchPatterns:ng,defaultMatchWidth:"wide",parsePatterns:rg,defaultParseWidth:"any"}),quarter:vn({matchPatterns:ag,defaultMatchWidth:"wide",parsePatterns:og,defaultParseWidth:"any",valueCallback:e=>e+1}),month:vn({matchPatterns:ig,defaultMatchWidth:"wide",parsePatterns:sg,defaultParseWidth:"any"}),day:vn({matchPatterns:ug,defaultMatchWidth:"wide",parsePatterns:lg,defaultParseWidth:"any"}),dayPeriod:vn({matchPatterns:cg,defaultMatchWidth:"any",parsePatterns:dg,defaultParseWidth:"any"})},Kt={code:"en-US",formatDistance:Pm,formatLong:Bm,formatRelative:Hm,localize:Jm,match:fg,options:{weekStartsOn:0,firstWeekContainsDate:1}};function hg(e,t){const n=he(e,t==null?void 0:t.in);return io(n,ru(n))+1}function so(e,t){const n=he(e,t==null?void 0:t.in),r=+Tn(n)-+Cm(n);return Math.round(r/Js)+1}function ou(e,t){var c,d,h,g;const n=he(e,t==null?void 0:t.in),r=n.getFullYear(),a=Rn(),o=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(h=a.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=Ae((t==null?void 0:t.in)||e,0);i.setFullYear(r+1,0,o),i.setHours(0,0,0,0);const s=ln(i,t),u=Ae((t==null?void 0:t.in)||e,0);u.setFullYear(r,0,o),u.setHours(0,0,0,0);const l=ln(u,t);return+n>=+s?r+1:+n>=+l?r:r-1}function mg(e,t){var s,u,l,c;const n=Rn(),r=(t==null?void 0:t.firstWeekContainsDate)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,a=ou(e,t),o=Ae((t==null?void 0:t.in)||e,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),ln(o,t)}function uo(e,t){const n=he(e,t==null?void 0:t.in),r=+ln(n,t)-+mg(n,t);return Math.round(r/Js)+1}function de(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Pt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return de(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):de(n+1,2)},d(e,t){return de(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return de(e.getHours()%12||12,t.length)},H(e,t){return de(e.getHours(),t.length)},m(e,t){return de(e.getMinutes(),t.length)},s(e,t){return de(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return de(a,t.length)}},Jt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Di={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return Pt.y(e,t)},Y:function(e,t,n,r){const a=ou(e,r),o=a>0?a:1-a;if(t==="YY"){const i=o%100;return de(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):de(o,t.length)},R:function(e,t){const n=Ks(e);return de(n,t.length)},u:function(e,t){const n=e.getFullYear();return de(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return de(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return de(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Pt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return de(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=uo(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):de(a,t.length)},I:function(e,t,n){const r=so(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):de(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Pt.d(e,t)},D:function(e,t,n){const r=hg(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):de(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return de(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return de(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return de(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(r===12?a=Jt.noon:r===0?a=Jt.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(r>=17?a=Jt.evening:r>=12?a=Jt.afternoon:r>=4?a=Jt.morning:a=Jt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Pt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Pt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):de(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):de(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Pt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Pt.s(e,t)},S:function(e,t){return Pt.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Ei(r);case"XXXX":case"XX":return Zt(r);case"XXXXX":case"XXX":default:return Zt(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ei(r);case"xxxx":case"xx":return Zt(r);case"xxxxx":case"xxx":default:return Zt(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ki(r,":");case"OOOO":default:return"GMT"+Zt(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ki(r,":");case"zzzz":default:return"GMT"+Zt(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return de(r,t.length)},T:function(e,t,n){return de(+e,t.length)}};function ki(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return o===0?n+String(a):n+String(a)+t+de(o,2)}function Ei(e,t){return e%60===0?(e>0?"-":"+")+de(Math.abs(e)/60,2):Zt(e,t)}function Zt(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=de(Math.trunc(r/60),2),o=de(r%60,2);return n+a+t+o}const Oi=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},iu=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},gg=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Oi(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Oi(r,t)).replace("{{time}}",iu(a,t))},pg={p:iu,P:gg},bg=/^D+$/,yg=/^Y+$/,vg=["D","DD","YY","YYYY"];function xg(e){return bg.test(e)}function Ig(e){return yg.test(e)}function Cg(e,t,n){const r=wg(e,t,n);if(console.warn(r),vg.includes(e))throw new RangeError(r)}function wg(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Mg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dg=/^'([^]*?)'?$/,kg=/''/g,Eg=/[a-zA-Z]/;function Mn(e,t,n){var c,d,h,g,m,v,p,I;const r=Rn(),a=(n==null?void 0:n.locale)??r.locale??Kt,o=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(h=r.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((v=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??r.weekStartsOn??((I=(p=r.locale)==null?void 0:p.options)==null?void 0:I.weekStartsOn)??0,s=he(e,n==null?void 0:n.in);if(!Em(s))throw new RangeError("Invalid time value");let u=t.match(Sg).map(y=>{const C=y[0];if(C==="p"||C==="P"){const M=pg[C];return M(y,a.formatLong)}return y}).join("").match(Mg).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const C=y[0];if(C==="'")return{isToken:!1,value:Og(y)};if(Di[C])return{isToken:!0,value:y};if(C.match(Eg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:y}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const l={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return u.map(y=>{if(!y.isToken)return y.value;const C=y.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ig(C)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&xg(C))&&Cg(C,t,String(e));const M=Di[C[0]];return M(s,C,a.localize,l)}).join("")}function Og(e){const t=e.match(Dg);return t?t[1].replace(kg,"'"):e}function Ag(e,t){const n=he(e,t==null?void 0:t.in),r=n.getFullYear(),a=n.getMonth(),o=Ae(n,0);return o.setFullYear(r,a+1,0),o.setHours(0,0,0,0),o.getDate()}function Ng(e,t){return he(e,t==null?void 0:t.in).getMonth()}function Tg(e,t){return he(e,t==null?void 0:t.in).getFullYear()}function Fg(e,t){return+he(e)>+he(t)}function Wg(e,t){return+he(e)<+he(t)}function _g(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function Pg(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()}function Gg(e,t,n){const r=he(e,n==null?void 0:n.in),a=r.getFullYear(),o=r.getDate(),i=Ae((n==null?void 0:n.in)||e,0);i.setFullYear(a,t,15),i.setHours(0,0,0,0);const s=Ag(i);return r.setMonth(t,Math.min(o,s)),r}function Yg(e,t,n){const r=he(e,n==null?void 0:n.in);return isNaN(+r)?Ae((n==null?void 0:n.in)||e,NaN):(r.setFullYear(t),r)}const Ai=5,Rg=4;function Bg(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,a=t.addDays(e,-r+1),o=t.addDays(a,Ai*7-1);return t.getMonth(e)===t.getMonth(o)?Ai:Rg}function su(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-1*6):t.addDays(n,-1*(r-1))}function Vg(e,t){const n=su(e,t),r=Bg(e,t);return t.addDays(n,r*7-1)}const uu={...Kt,labels:{labelDayButton:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(i,s)=>Mn(i,s,{locale:Kt,...n});let o=a(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(a,o)=>Mn(a,o,{locale:Kt,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(i,s)=>Mn(i,s,{locale:Kt,...n});let o=a(e,"PPPP");return t!=null&&t.today&&(o=`Today, ${o}`),o},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(a,o)=>Mn(a,o,{locale:Kt,...t}),r(e,"cccc")}}};class tt{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?Ge.tz(this.options.timeZone):new this.Date},this.newDate=(r,a,o)=>{var i;return(i=this.overrides)!=null&&i.newDate?this.overrides.newDate(r,a,o):this.options.timeZone?new Ge(r,a,o,this.options.timeZone):new Date(r,a,o)},this.addDays=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addDays?this.overrides.addDays(r,a):Qs(r,a)},this.addMonths=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addMonths?this.overrides.addMonths(r,a):qs(r,a)},this.addWeeks=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addWeeks?this.overrides.addWeeks(r,a):wm(r,a)},this.addYears=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addYears?this.overrides.addYears(r,a):Mm(r,a)},this.differenceInCalendarDays=(r,a)=>{var o;return(o=this.overrides)!=null&&o.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,a):io(r,a)},this.differenceInCalendarMonths=(r,a)=>{var o;return(o=this.overrides)!=null&&o.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,a):tu(r,a)},this.eachMonthOfInterval=r=>{var a;return(a=this.overrides)!=null&&a.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):Am(r)},this.eachYearOfInterval=r=>{var s;const a=(s=this.overrides)!=null&&s.eachYearOfInterval?this.overrides.eachYearOfInterval(r):Fm(r),o=new Set(a.map(u=>this.getYear(u)));if(o.size===a.length)return a;const i=[];return o.forEach(u=>{i.push(new Date(u,0,1))}),i},this.endOfBroadcastWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):Vg(r,this)},this.endOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfISOWeek?this.overrides.endOfISOWeek(r):Wm(r)},this.endOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.endOfMonth?this.overrides.endOfMonth(r):Om(r)},this.endOfWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.endOfWeek?this.overrides.endOfWeek(r,a):au(r,this.options)},this.endOfYear=r=>{var a;return(a=this.overrides)!=null&&a.endOfYear?this.overrides.endOfYear(r):Tm(r)},this.format=(r,a,o)=>{var s;const i=(s=this.overrides)!=null&&s.format?this.overrides.format(r,a,this.options):Mn(r,a,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(i):i},this.getISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.getISOWeek?this.overrides.getISOWeek(r):so(r)},this.getMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getMonth?this.overrides.getMonth(r,this.options):Ng(r,this.options)},this.getYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getYear?this.overrides.getYear(r,this.options):Tg(r,this.options)},this.getWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getWeek?this.overrides.getWeek(r,this.options):uo(r,this.options)},this.isAfter=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isAfter?this.overrides.isAfter(r,a):Fg(r,a)},this.isBefore=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isBefore?this.overrides.isBefore(r,a):Wg(r,a)},this.isDate=r=>{var a;return(a=this.overrides)!=null&&a.isDate?this.overrides.isDate(r):eu(r)},this.isSameDay=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameDay?this.overrides.isSameDay(r,a):km(r,a)},this.isSameMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameMonth?this.overrides.isSameMonth(r,a):_g(r,a)},this.isSameYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameYear?this.overrides.isSameYear(r,a):Pg(r,a)},this.max=r=>{var a;return(a=this.overrides)!=null&&a.max?this.overrides.max(r):Sm(r)},this.min=r=>{var a;return(a=this.overrides)!=null&&a.min?this.overrides.min(r):Dm(r)},this.setMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.setMonth?this.overrides.setMonth(r,a):Gg(r,a)},this.setYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.setYear?this.overrides.setYear(r,a):Yg(r,a)},this.startOfBroadcastWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):su(r,this)},this.startOfDay=r=>{var a;return(a=this.overrides)!=null&&a.startOfDay?this.overrides.startOfDay(r):Fn(r)},this.startOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.startOfISOWeek?this.overrides.startOfISOWeek(r):Tn(r)},this.startOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.startOfMonth?this.overrides.startOfMonth(r):Nm(r)},this.startOfWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.startOfWeek?this.overrides.startOfWeek(r,this.options):ln(r,this.options)},this.startOfYear=r=>{var a;return(a=this.overrides)!=null&&a.startOfYear?this.overrides.startOfYear(r):ru(r)},this.options={locale:uu,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let a=0;a<10;a++)r[a.toString()]=n.format(a);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){var n;const t=(n=this.options.locale)==null?void 0:n.code;return t&&tt.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:a}=this.options,o=n==null?void 0:n.code;if(o&&tt.yearFirstLocales.has(o))try{return new Intl.DateTimeFormat(o,{month:"long",year:"numeric",timeZone:r,numberingSystem:a}).format(t)}catch{}const i=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,i)}}tt.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const It=new tt;class lu{constructor(t,n,r=It){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class Hg{constructor(t,n){this.date=t,this.weeks=n}}class Xg{constructor(t,n){this.days=n,this.weekNumber=t}}function Zg(e){return f.createElement("button",{...e})}function jg(e){return f.createElement("span",{...e})}function Lg(e){const{size:t=24,orientation:n="left",className:r}=e;return f.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&f.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&f.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&f.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&f.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function zg(e){const{day:t,modifiers:n,...r}=e;return f.createElement("td",{...r})}function $g(e){const{day:t,modifiers:n,...r}=e,a=f.useRef(null);return f.useEffect(()=>{var o;n.focused&&((o=a.current)==null||o.focus())},[n.focused]),f.createElement("button",{ref:a,...r})}var _;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(_||(_={}));var ke;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(ke||(ke={}));var lt;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(lt||(lt={}));var qe;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(qe||(qe={}));function Ug(e){const{options:t,className:n,components:r,classNames:a,...o}=e,i=[a[_.Dropdown],n].join(" "),s=t==null?void 0:t.find(({value:u})=>u===o.value);return f.createElement("span",{"data-disabled":o.disabled,className:a[_.DropdownRoot]},f.createElement(r.Select,{className:i,...o},t==null?void 0:t.map(({value:u,label:l,disabled:c})=>f.createElement(r.Option,{key:u,value:u,disabled:c},l))),f.createElement("span",{className:a[_.CaptionLabel],"aria-hidden":!0},s==null?void 0:s.label,f.createElement(r.Chevron,{orientation:"down",size:18,className:a[_.Chevron]})))}function Jg(e){return f.createElement("div",{...e})}function Qg(e){return f.createElement("div",{...e})}function qg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r},e.children)}function Kg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r})}function ep(e){return f.createElement("table",{...e})}function tp(e){return f.createElement("div",{...e})}const cu=f.createContext(void 0);function Bn(){const e=f.useContext(cu);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function np(e){const{components:t}=Bn();return f.createElement(t.Dropdown,{...e})}function rp(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:a,...o}=e,{components:i,classNames:s,labels:{labelPrevious:u,labelNext:l}}=Bn(),c=f.useCallback(h=>{a&&(n==null||n(h))},[a,n]),d=f.useCallback(h=>{r&&(t==null||t(h))},[r,t]);return f.createElement("nav",{...o},f.createElement(i.PreviousMonthButton,{type:"button",className:s[_.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":u(r),onClick:d},f.createElement(i.Chevron,{disabled:r?void 0:!0,className:s[_.Chevron],orientation:"left"})),f.createElement(i.NextMonthButton,{type:"button",className:s[_.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":a?void 0:!0,"aria-label":l(a),onClick:c},f.createElement(i.Chevron,{disabled:a?void 0:!0,orientation:"right",className:s[_.Chevron]})))}function ap(e){const{components:t}=Bn();return f.createElement(t.Button,{...e})}function op(e){return f.createElement("option",{...e})}function ip(e){const{components:t}=Bn();return f.createElement(t.Button,{...e})}function sp(e){const{rootRef:t,...n}=e;return f.createElement("div",{...n,ref:t})}function up(e){return f.createElement("select",{...e})}function lp(e){const{week:t,...n}=e;return f.createElement("tr",{...n})}function cp(e){return f.createElement("th",{...e})}function dp(e){return f.createElement("thead",{"aria-hidden":!0},f.createElement("tr",{...e}))}function fp(e){const{week:t,...n}=e;return f.createElement("th",{...n})}function hp(e){return f.createElement("th",{...e})}function mp(e){return f.createElement("tbody",{...e})}function gp(e){const{components:t}=Bn();return f.createElement(t.Dropdown,{...e})}const pp=Object.freeze(Object.defineProperty({__proto__:null,Button:Zg,CaptionLabel:jg,Chevron:Lg,Day:zg,DayButton:$g,Dropdown:Ug,DropdownNav:Jg,Footer:Qg,Month:qg,MonthCaption:Kg,MonthGrid:ep,Months:tp,MonthsDropdown:np,Nav:rp,NextMonthButton:ap,Option:op,PreviousMonthButton:ip,Root:sp,Select:up,Week:lp,WeekNumber:fp,WeekNumberHeader:hp,Weekday:cp,Weekdays:dp,Weeks:mp,YearsDropdown:gp},Symbol.toStringTag,{value:"Module"}));function kt(e,t,n=!1,r=It){let{from:a,to:o}=e;const{differenceInCalendarDays:i,isSameDay:s}=r;return a&&o?(i(o,a)<0&&([a,o]=[o,a]),i(t,a)>=(n?1:0)&&i(o,t)>=(n?1:0)):!n&&o?s(o,t):!n&&a?s(a,t):!1}function lo(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Ar(e){return!!(e&&typeof e=="object"&&"from"in e)}function co(e){return!!(e&&typeof e=="object"&&"after"in e)}function fo(e){return!!(e&&typeof e=="object"&&"before"in e)}function du(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function fu(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Et(e,t,n=It){const r=Array.isArray(t)?t:[t],{isSameDay:a,differenceInCalendarDays:o,isAfter:i}=n;return r.some(s=>{if(typeof s=="boolean")return s;if(n.isDate(s))return a(e,s);if(fu(s,n))return s.some(u=>a(e,u));if(Ar(s))return kt(s,e,!1,n);if(du(s))return Array.isArray(s.dayOfWeek)?s.dayOfWeek.includes(e.getDay()):s.dayOfWeek===e.getDay();if(lo(s)){const u=o(s.before,e),l=o(s.after,e),c=u>0,d=l<0;return i(s.before,s.after)?d&&c:c||d}return co(s)?o(e,s.after)>0:fo(s)?o(s.before,e)>0:typeof s=="function"?s(e):!1})}function bp(e,t,n,r,a){const{disabled:o,hidden:i,modifiers:s,showOutsideDays:u,broadcastCalendar:l,today:c=a.today()}=t,{isSameDay:d,isSameMonth:h,startOfMonth:g,isBefore:m,endOfMonth:v,isAfter:p}=a,I=n&&g(n),y=r&&v(r),C={[ke.focused]:[],[ke.outside]:[],[ke.disabled]:[],[ke.hidden]:[],[ke.today]:[]},M={};for(const x of e){const{date:b,displayMonth:S}=x,E=!!(S&&!h(b,S)),k=!!(I&&m(b,I)),W=!!(y&&p(b,y)),G=!!(o&&Et(b,o,a)),L=!!(i&&Et(b,i,a))||k||W||!l&&!u&&E||l&&u===!1&&E,z=d(b,c);E&&C.outside.push(x),G&&C.disabled.push(x),L&&C.hidden.push(x),z&&C.today.push(x),s&&Object.keys(s).forEach(N=>{const $=s==null?void 0:s[N];$&&Et(b,$,a)&&(M[N]?M[N].push(x):M[N]=[x])})}return x=>{const b={[ke.focused]:!1,[ke.disabled]:!1,[ke.hidden]:!1,[ke.outside]:!1,[ke.today]:!1},S={};for(const E in C){const k=C[E];b[E]=k.some(W=>W===x)}for(const E in M)S[E]=M[E].some(k=>k===x);return{...b,...S}}}function yp(e,t,n={}){return Object.entries(e).filter(([,a])=>a===!0).reduce((a,[o])=>(n[o]?a.push(n[o]):t[ke[o]]?a.push(t[ke[o]]):t[lt[o]]&&a.push(t[lt[o]]),a),[t[_.Day]])}function vp(e){return{...pp,...e}}function xp(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([n,r])=>{n.startsWith("data-")&&(t[n]=r)}),t}function Ip(){const e={};for(const t in _)e[_[t]]=`rdp-${_[t]}`;for(const t in ke)e[ke[t]]=`rdp-${ke[t]}`;for(const t in lt)e[lt[t]]=`rdp-${lt[t]}`;for(const t in qe)e[qe[t]]=`rdp-${qe[t]}`;return e}function hu(e,t,n){return(n??new tt(t)).formatMonthYear(e)}const Cp=hu;function wp(e,t,n){return(n??new tt(t)).format(e,"d")}function Mp(e,t=It){return t.format(e,"LLLL")}function Sp(e,t,n){return(n??new tt(t)).format(e,"cccccc")}function Dp(e,t=It){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function kp(){return""}function mu(e,t=It){return t.format(e,"yyyy")}const Ep=mu,Op=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:hu,formatDay:wp,formatMonthCaption:Cp,formatMonthDropdown:Mp,formatWeekNumber:Dp,formatWeekNumberHeader:kp,formatWeekdayName:Sp,formatYearCaption:Ep,formatYearDropdown:mu},Symbol.toStringTag,{value:"Module"}));function Ap(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Op,...e}}function ho(e,t,n,r){let a=(r??new tt(n)).format(e,"PPPP");return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a}const Np=ho;function mo(e,t,n){return(n??new tt(t)).formatMonthYear(e)}const Tp=mo;function gu(e,t,n,r){let a=(r??new tt(n)).format(e,"PPPP");return t!=null&&t.today&&(a=`Today, ${a}`),a}function pu(e){return"Choose the Month"}function bu(){return""}const Fp="Go to the Next Month";function yu(e,t){return Fp}function vu(e){return"Go to the Previous Month"}function xu(e,t,n){return(n??new tt(t)).format(e,"cccc")}function Iu(e,t){return`Week ${e}`}function Cu(e){return"Week Number"}function wu(e){return"Choose the Year"}const Wp=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:Tp,labelDay:Np,labelDayButton:ho,labelGrid:mo,labelGridcell:gu,labelMonthDropdown:pu,labelNav:bu,labelNext:yu,labelPrevious:vu,labelWeekNumber:Iu,labelWeekNumberHeader:Cu,labelWeekday:xu,labelYearDropdown:wu},Symbol.toStringTag,{value:"Module"})),st=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function _p(e,t){var r;const n=((r=t.locale)==null?void 0:r.labels)??{};return{...Wp,...e??{},labelDayButton:st(ho,e==null?void 0:e.labelDayButton,n.labelDayButton),labelMonthDropdown:st(pu,e==null?void 0:e.labelMonthDropdown,n.labelMonthDropdown),labelNext:st(yu,e==null?void 0:e.labelNext,n.labelNext),labelPrevious:st(vu,e==null?void 0:e.labelPrevious,n.labelPrevious),labelWeekNumber:st(Iu,e==null?void 0:e.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:st(wu,e==null?void 0:e.labelYearDropdown,n.labelYearDropdown),labelGrid:st(mo,e==null?void 0:e.labelGrid,n.labelGrid),labelGridcell:st(gu,e==null?void 0:e.labelGridcell,n.labelGridcell),labelNav:st(bu,e==null?void 0:e.labelNav,n.labelNav),labelWeekNumberHeader:st(Cu,e==null?void 0:e.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:st(xu,e==null?void 0:e.labelWeekday,n.labelWeekday)}}function Pp(e,t,n,r,a){const{startOfMonth:o,startOfYear:i,endOfYear:s,eachMonthOfInterval:u,getMonth:l}=a;return u({start:i(e),end:s(e)}).map(h=>{const g=r.formatMonthDropdown(h,a),m=l(h),v=t&&h<o(t)||n&&h>o(n)||!1;return{value:m,label:g,disabled:v}})}function Gp(e,t={},n={}){let r={...t==null?void 0:t[_.Day]};return Object.entries(e).filter(([,a])=>a===!0).forEach(([a])=>{r={...r,...n==null?void 0:n[a]}}),r}function Yp(e,t,n,r){const a=r??e.today(),o=n?e.startOfBroadcastWeek(a,e):t?e.startOfISOWeek(a):e.startOfWeek(a),i=[];for(let s=0;s<7;s++){const u=e.addDays(o,s);i.push(u)}return i}function Rp(e,t,n,r,a=!1){if(!e||!t)return;const{startOfYear:o,endOfYear:i,eachYearOfInterval:s,getYear:u}=r,l=o(e),c=i(t),d=s({start:l,end:c});return a&&d.reverse(),d.map(h=>{const g=n.formatYearDropdown(h,r);return{value:u(h),label:g,disabled:!1}})}function Bp(e,t={}){var s;const{weekStartsOn:n,locale:r}=t,a=n??((s=r==null?void 0:r.options)==null?void 0:s.weekStartsOn)??0,o=u=>{const l=typeof u=="number"||typeof u=="string"?new Date(u):u;return new Ge(l.getFullYear(),l.getMonth(),l.getDate(),12,0,0,e)},i=u=>{const l=o(u);return new Date(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0,0)};return{today:()=>o(Ge.tz(e)),newDate:(u,l,c)=>new Ge(u,l,c,12,0,0,e),startOfDay:u=>o(u),startOfWeek:(u,l)=>{const c=o(u),d=(l==null?void 0:l.weekStartsOn)??a,h=(c.getDay()-d+7)%7;return c.setDate(c.getDate()-h),c},startOfISOWeek:u=>{const l=o(u),c=(l.getDay()-1+7)%7;return l.setDate(l.getDate()-c),l},startOfMonth:u=>{const l=o(u);return l.setDate(1),l},startOfYear:u=>{const l=o(u);return l.setMonth(0,1),l},endOfWeek:(u,l)=>{const c=o(u),g=((((l==null?void 0:l.weekStartsOn)??a)+6)%7-c.getDay()+7)%7;return c.setDate(c.getDate()+g),c},endOfISOWeek:u=>{const l=o(u),c=(7-l.getDay())%7;return l.setDate(l.getDate()+c),l},endOfMonth:u=>{const l=o(u);return l.setMonth(l.getMonth()+1,0),l},endOfYear:u=>{const l=o(u);return l.setMonth(11,31),l},eachMonthOfInterval:u=>{const l=o(u.start),c=o(u.end),d=[],h=new Ge(l.getFullYear(),l.getMonth(),1,12,0,0,e),g=c.getFullYear()*12+c.getMonth();for(;h.getFullYear()*12+h.getMonth()<=g;)d.push(new Ge(h,e)),h.setMonth(h.getMonth()+1,1);return d},addDays:(u,l)=>{const c=o(u);return c.setDate(c.getDate()+l),c},addWeeks:(u,l)=>{const c=o(u);return c.setDate(c.getDate()+l*7),c},addMonths:(u,l)=>{const c=o(u);return c.setMonth(c.getMonth()+l),c},addYears:(u,l)=>{const c=o(u);return c.setFullYear(c.getFullYear()+l),c},eachYearOfInterval:u=>{const l=o(u.start),c=o(u.end),d=[],h=new Ge(l.getFullYear(),0,1,12,0,0,e);for(;h.getFullYear()<=c.getFullYear();)d.push(new Ge(h,e)),h.setFullYear(h.getFullYear()+1,0,1);return d},getWeek:(u,l)=>{var d;const c=i(u);return uo(c,{weekStartsOn:(l==null?void 0:l.weekStartsOn)??a,firstWeekContainsDate:(l==null?void 0:l.firstWeekContainsDate)??((d=r==null?void 0:r.options)==null?void 0:d.firstWeekContainsDate)??1})},getISOWeek:u=>{const l=i(u);return so(l)},differenceInCalendarDays:(u,l)=>{const c=i(u),d=i(l);return io(c,d)},differenceInCalendarMonths:(u,l)=>{const c=i(u),d=i(l);return tu(c,d)}}}const Vn=e=>e instanceof HTMLElement?e:null,aa=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Vp=e=>Vn(e.querySelector("[data-animated-month]")),oa=e=>Vn(e.querySelector("[data-animated-caption]")),ia=e=>Vn(e.querySelector("[data-animated-weeks]")),Hp=e=>Vn(e.querySelector("[data-animated-nav]")),Xp=e=>Vn(e.querySelector("[data-animated-weekdays]"));function Zp(e,t,{classNames:n,months:r,focused:a,dateLib:o}){const i=f.useRef(null),s=f.useRef(r),u=f.useRef(!1);f.useLayoutEffect(()=>{const l=s.current;if(s.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||l.length===0||r.length!==l.length)return;const c=o.isSameMonth(r[0].date,l[0].date),d=o.isAfter(r[0].date,l[0].date),h=d?n[qe.caption_after_enter]:n[qe.caption_before_enter],g=d?n[qe.weeks_after_enter]:n[qe.weeks_before_enter],m=i.current,v=e.current.cloneNode(!0);if(v instanceof HTMLElement?(aa(v).forEach(C=>{if(!(C instanceof HTMLElement))return;const M=Vp(C);M&&C.contains(M)&&C.removeChild(M);const x=oa(C);x&&x.classList.remove(h);const b=ia(C);b&&b.classList.remove(g)}),i.current=v):i.current=null,u.current||c||a)return;const p=m instanceof HTMLElement?aa(m):[],I=aa(e.current);if(I!=null&&I.every(y=>y instanceof HTMLElement)&&p&&p.every(y=>y instanceof HTMLElement)){u.current=!0,e.current.style.isolation="isolate";const y=Hp(e.current);y&&(y.style.zIndex="1"),I.forEach((C,M)=>{const x=p[M];if(!x)return;C.style.position="relative",C.style.overflow="hidden";const b=oa(C);b&&b.classList.add(h);const S=ia(C);S&&S.classList.add(g);const E=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),y&&(y.style.zIndex=""),b&&b.classList.remove(h),S&&S.classList.remove(g),C.style.position="",C.style.overflow="",C.contains(x)&&C.removeChild(x)};x.style.pointerEvents="none",x.style.position="absolute",x.style.overflow="hidden",x.setAttribute("aria-hidden","true");const k=Xp(x);k&&(k.style.opacity="0");const W=oa(x);W&&(W.classList.add(d?n[qe.caption_before_exit]:n[qe.caption_after_exit]),W.addEventListener("animationend",E));const G=ia(x);G&&G.classList.add(d?n[qe.weeks_before_exit]:n[qe.weeks_after_exit]),C.insertBefore(x,C.firstChild)})}})}function jp(e,t,n,r){const a=e[0],o=e[e.length-1],{ISOWeek:i,fixedWeeks:s,broadcastCalendar:u}=n??{},{addDays:l,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:g,endOfMonth:m,endOfWeek:v,isAfter:p,startOfBroadcastWeek:I,startOfISOWeek:y,startOfWeek:C}=r,M=u?I(a,r):i?y(a):C(a),x=u?h(o):i?g(m(o)):v(m(o)),b=t&&(u?h(t):i?g(t):v(t)),S=b&&p(x,b)?b:x,E=c(S,M),k=d(o,a)+1,W=[];for(let z=0;z<=E;z++){const N=l(M,z);W.push(N)}const L=(u?35:42)*k;if(s&&W.length<L){const z=L-W.length;for(let N=0;N<z;N++){const $=l(W[W.length-1],1);W.push($)}}return W}function Lp(e){const t=[];return e.reduce((n,r)=>{const a=r.weeks.reduce((o,i)=>o.concat(i.days.slice()),t.slice());return n.concat(a.slice())},t.slice())}function zp(e,t,n,r){const{numberOfMonths:a=1}=n,o=[];for(let i=0;i<a;i++){const s=r.addMonths(e,i);if(t&&s>t)break;o.push(s)}return o}function Ni(e,t,n,r){const{month:a,defaultMonth:o,today:i=r.today(),numberOfMonths:s=1}=e;let u=a||o||i;const{differenceInCalendarMonths:l,addMonths:c,startOfMonth:d}=r;if(n&&l(n,u)<s-1){const h=-1*(s-1);u=c(n,h)}return t&&l(u,t)<0&&(u=t),d(u)}function $p(e,t,n,r){const{addDays:a,endOfBroadcastWeek:o,endOfISOWeek:i,endOfMonth:s,endOfWeek:u,getISOWeek:l,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:g}=r,m=e.reduce((v,p)=>{const I=n.broadcastCalendar?d(p,r):n.ISOWeek?h(p):g(p),y=n.broadcastCalendar?o(p):n.ISOWeek?i(s(p)):u(s(p)),C=t.filter(S=>S>=I&&S<=y),M=n.broadcastCalendar?35:42;if(n.fixedWeeks&&C.length<M){const S=t.filter(E=>{const k=M-C.length;return E>y&&E<=a(y,k)});C.push(...S)}const x=C.reduce((S,E)=>{const k=n.ISOWeek?l(E):c(E),W=S.find(L=>L.weekNumber===k),G=new lu(E,p,r);return W?W.days.push(G):S.push(new Xg(k,[G])),S},[]),b=new Hg(p,x);return v.push(b),v},[]);return n.reverseMonths?m.reverse():m}function Up(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:a,startOfDay:o,startOfMonth:i,endOfMonth:s,addYears:u,endOfYear:l,newDate:c,today:d}=t,{fromYear:h,toYear:g,fromMonth:m,toMonth:v}=e;!n&&m&&(n=m),!n&&h&&(n=t.newDate(h,0,1)),!r&&v&&(r=v),!r&&g&&(r=c(g,11,31));const p=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=i(n):h?n=c(h,0,1):!n&&p&&(n=a(u(e.today??d(),-100))),r?r=s(r):g?r=c(g,11,31):!r&&p&&(r=l(e.today??d())),[n&&o(n),r&&o(r)]}function Jp(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:o=1}=n,{startOfMonth:i,addMonths:s,differenceInCalendarMonths:u}=r,l=a?o:1,c=i(e);if(!t)return s(c,l);if(!(u(t,e)<o))return s(c,l)}function Qp(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:o}=n,{startOfMonth:i,addMonths:s,differenceInCalendarMonths:u}=r,l=a?o??1:1,c=i(e);if(!t)return s(c,-l);if(!(u(c,t)<=0))return s(c,-l)}function qp(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Nr(e,t){const[n,r]=f.useState(e);return[t===void 0?n:t,r]}function Kp(e,t){var M;const[n,r]=Up(e,t),{startOfMonth:a,endOfMonth:o}=t,i=Ni(e,n,r,t),[s,u]=Nr(i,e.month?i:void 0);f.useEffect(()=>{const x=Ni(e,n,r,t);u(x)},[e.timeZone]);const{months:l,weeks:c,days:d,previousMonth:h,nextMonth:g}=f.useMemo(()=>{const x=zp(s,r,{numberOfMonths:e.numberOfMonths},t),b=jp(x,e.endMonth?o(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),S=$p(x,b,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),E=qp(S),k=Lp(S),W=Qp(s,n,e,t),G=Jp(s,r,e,t);return{months:S,weeks:E,days:k,previousMonth:W,nextMonth:G}},[t,s.getTime(),r==null?void 0:r.getTime(),n==null?void 0:n.getTime(),e.disableNavigation,e.broadcastCalendar,(M=e.endMonth)==null?void 0:M.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:v}=e,p=x=>c.some(b=>b.days.some(S=>S.isEqualTo(x))),I=x=>{if(m)return;let b=a(x);n&&b<a(n)&&(b=a(n)),r&&b>a(r)&&(b=a(r)),u(b),v==null||v(b)};return{months:l,weeks:c,days:d,navStart:n,navEnd:r,previousMonth:h,nextMonth:g,goToMonth:I,goToDay:x=>{p(x)||I(x.date)}}}var mt;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(mt||(mt={}));function Ti(e){return!e[ke.disabled]&&!e[ke.hidden]&&!e[ke.outside]}function eb(e,t,n,r){let a,o=-1;for(const i of e){const s=t(i);Ti(s)&&(s[ke.focused]&&o<mt.FocusedModifier?(a=i,o=mt.FocusedModifier):r!=null&&r.isEqualTo(i)&&o<mt.LastFocused?(a=i,o=mt.LastFocused):n(i.date)&&o<mt.Selected?(a=i,o=mt.Selected):s[ke.today]&&o<mt.Today&&(a=i,o=mt.Today))}return a||(a=e.find(i=>Ti(t(i)))),a}function tb(e,t,n,r,a,o,i){const{ISOWeek:s,broadcastCalendar:u}=o,{addDays:l,addMonths:c,addWeeks:d,addYears:h,endOfBroadcastWeek:g,endOfISOWeek:m,endOfWeek:v,max:p,min:I,startOfBroadcastWeek:y,startOfISOWeek:C,startOfWeek:M}=i;let b={day:l,week:d,month:c,year:h,startOfWeek:S=>u?y(S,i):s?C(S):M(S),endOfWeek:S=>u?g(S):s?m(S):v(S)}[e](n,t==="after"?1:-1);return t==="before"&&r?b=p([r,b]):t==="after"&&a&&(b=I([a,b])),b}function Mu(e,t,n,r,a,o,i,s=0){if(s>365)return;const u=tb(e,t,n.date,r,a,o,i),l=!!(o.disabled&&Et(u,o.disabled,i)),c=!!(o.hidden&&Et(u,o.hidden,i)),d=u,h=new lu(u,d,i);return!l&&!c?h:Mu(e,t,h,r,a,o,i,s+1)}function nb(e,t,n,r,a){const{autoFocus:o}=e,[i,s]=f.useState(),u=eb(t.days,n,r||(()=>!1),i),[l,c]=f.useState(o?u:void 0);return{isFocusTarget:v=>!!(u!=null&&u.isEqualTo(v)),setFocused:c,focused:l,blur:()=>{s(l),c(void 0)},moveFocus:(v,p)=>{if(!l)return;const I=Mu(v,p,l,t.navStart,t.navEnd,e,a);I&&(e.disableNavigation&&!t.days.some(C=>C.isEqualTo(I))||(t.goToDay(I),c(I)))}}}function rb(e,t){const{selected:n,required:r,onSelect:a}=e,[o,i]=Nr(n,a?n:void 0),s=a?n:o,{isSameDay:u}=t,l=g=>(s==null?void 0:s.some(m=>u(m,g)))??!1,{min:c,max:d}=e;return{selected:s,select:(g,m,v)=>{let p=[...s??[]];if(l(g)){if((s==null?void 0:s.length)===c||r&&(s==null?void 0:s.length)===1)return;p=s==null?void 0:s.filter(I=>!u(I,g))}else(s==null?void 0:s.length)===d?p=[g]:p=[...p,g];return a||i(p),a==null||a(p,g,m,v),p},isSelected:l}}function ab(e,t,n=0,r=0,a=!1,o=It){const{from:i,to:s}=t||{},{isSameDay:u,isAfter:l,isBefore:c}=o;let d;if(!i&&!s)d={from:e,to:n>0?void 0:e};else if(i&&!s)u(i,e)?n===0?d={from:i,to:e}:a?d={from:i,to:void 0}:d=void 0:c(e,i)?d={from:e,to:i}:d={from:i,to:e};else if(i&&s)if(u(i,e)&&u(s,e))a?d={from:i,to:s}:d=void 0;else if(u(i,e))d={from:i,to:n>0?void 0:e};else if(u(s,e))d={from:e,to:n>0?void 0:e};else if(c(e,i))d={from:e,to:s};else if(l(e,i))d={from:i,to:e};else if(l(e,s))d={from:i,to:e};else throw new Error("Invalid range");if(d!=null&&d.from&&(d!=null&&d.to)){const h=o.differenceInCalendarDays(d.to,d.from);r>0&&h>r?d={from:e,to:void 0}:n>1&&h<n&&(d={from:e,to:void 0})}return d}function ob(e,t,n=It){const r=Array.isArray(t)?t:[t];let a=e.from;const o=n.differenceInCalendarDays(e.to,e.from),i=Math.min(o,6);for(let s=0;s<=i;s++){if(r.includes(a.getDay()))return!0;a=n.addDays(a,1)}return!1}function Fi(e,t,n=It){return kt(e,t.from,!1,n)||kt(e,t.to,!1,n)||kt(t,e.from,!1,n)||kt(t,e.to,!1,n)}function ib(e,t,n=It){const r=Array.isArray(t)?t:[t];if(r.filter(s=>typeof s!="function").some(s=>typeof s=="boolean"?s:n.isDate(s)?kt(e,s,!1,n):fu(s,n)?s.some(u=>kt(e,u,!1,n)):Ar(s)?s.from&&s.to?Fi(e,{from:s.from,to:s.to},n):!1:du(s)?ob(e,s.dayOfWeek,n):lo(s)?n.isAfter(s.before,s.after)?Fi(e,{from:n.addDays(s.after,1),to:n.addDays(s.before,-1)},n):Et(e.from,s,n)||Et(e.to,s,n):co(s)||fo(s)?Et(e.from,s,n)||Et(e.to,s,n):!1))return!0;const i=r.filter(s=>typeof s=="function");if(i.length){let s=e.from;const u=n.differenceInCalendarDays(e.to,e.from);for(let l=0;l<=u;l++){if(i.some(c=>c(s)))return!0;s=n.addDays(s,1)}}return!1}function sb(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:a,selected:o,required:i,onSelect:s}=e,[u,l]=Nr(o,s?o:void 0),c=s?o:u;return{selected:c,select:(g,m,v)=>{const{min:p,max:I}=e;let y;if(g){const C=c==null?void 0:c.from,M=c==null?void 0:c.to,x=!!C&&!!M,b=!!C&&!!M&&t.isSameDay(C,M)&&t.isSameDay(g,C);a&&(x||!(c!=null&&c.from))?!i&&b?y=void 0:y={from:g,to:void 0}:y=ab(g,c,p,I,i,t)}return r&&n&&(y!=null&&y.from)&&y.to&&ib({from:y.from,to:y.to},n,t)&&(y.from=g,y.to=void 0),s||l(y),s==null||s(y,g,m,v),y},isSelected:g=>c&&kt(c,g,!1,t)}}function ub(e,t){const{selected:n,required:r,onSelect:a}=e,[o,i]=Nr(n,a?n:void 0),s=a?n:o,{isSameDay:u}=t;return{selected:s,select:(d,h,g)=>{let m=d;return!r&&s&&s&&u(d,s)&&(m=void 0),a||i(m),a==null||a(m,d,h,g),m},isSelected:d=>s?u(s,d):!1}}function lb(e,t){const n=ub(e,t),r=rb(e,t),a=sb(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return a;default:return}}function Qe(e,t){return e instanceof Ge&&e.timeZone===t?e:new Ge(e,t)}function Qt(e,t,n){if(!n)return Qe(e,t);const r=Qe(e,t),a=new Ge(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t);return new Date(a.getTime())}function Wi(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?Qt(e,t,n):Array.isArray(e)?e.map(r=>r instanceof Date?Qt(r,t,n):r):Ar(e)?{...e,from:e.from?Qe(e.from,t):e.from,to:e.to?Qe(e.to,t):e.to}:lo(e)?{before:Qt(e.before,t,n),after:Qt(e.after,t,n)}:co(e)?{after:Qt(e.after,t,n)}:fo(e)?{before:Qt(e.before,t,n)}:e}function sa(e,t,n){return e&&(Array.isArray(e)?e.map(r=>Wi(r,t,n)):Wi(e,t,n))}function Ea(e){var Ro;let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=Qe(t.today,n)),t.month&&(t.month=Qe(t.month,n)),t.defaultMonth&&(t.defaultMonth=Qe(t.defaultMonth,n)),t.startMonth&&(t.startMonth=Qe(t.startMonth,n)),t.endMonth&&(t.endMonth=Qe(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=Qe(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=(Ro=t.selected)==null?void 0:Ro.map(Z=>Qe(Z,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?Qe(t.selected.from,n):t.selected.from,to:t.selected.to?Qe(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=sa(t.disabled,n)),t.hidden!==void 0&&(t.hidden=sa(t.hidden,n)),t.modifiers)){const Z={};Object.keys(t.modifiers).forEach(ie=>{var V;Z[ie]=sa((V=t.modifiers)==null?void 0:V[ie],n)}),t.modifiers=Z}const{components:r,formatters:a,labels:o,dateLib:i,locale:s,classNames:u}=f.useMemo(()=>{const Z={...uu,...t.locale},ie=t.broadcastCalendar?1:t.weekStartsOn,V=t.noonSafe&&t.timeZone?Bp(t.timeZone,{weekStartsOn:ie,locale:Z}):void 0,ne=t.dateLib&&V?{...V,...t.dateLib}:t.dateLib??V,Je=new tt({locale:Z,weekStartsOn:ie,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},ne);return{dateLib:Je,components:vp(t.components),formatters:Ap(t.formatters),labels:_p(t.labels,Je.options),locale:Z,classNames:{...Ip(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:i.today()});const{captionLayout:l,mode:c,navLayout:d,numberOfMonths:h=1,onDayBlur:g,onDayClick:m,onDayFocus:v,onDayKeyDown:p,onDayMouseEnter:I,onDayMouseLeave:y,onNextClick:C,onPrevClick:M,showWeekNumber:x,styles:b}=t,{formatCaption:S,formatDay:E,formatMonthDropdown:k,formatWeekNumber:W,formatWeekNumberHeader:G,formatWeekdayName:L,formatYearDropdown:z}=a,N=Kp(t,i),{days:$,months:pe,navStart:Me,navEnd:ve,previousMonth:le,nextMonth:ce,goToMonth:be}=N,oe=bp($,t,Me,ve,i),{isSelected:K,select:ye,selected:Ne}=lb(t,i)??{},{blur:Te,focused:Se,isFocusTarget:Ye,moveFocus:Xe,setFocused:Le}=nb(t,N,oe,K??(()=>!1),i),{labelDayButton:De,labelGridcell:F,labelGrid:it,labelMonthDropdown:Ue,labelNav:Y,labelPrevious:Ze,labelNext:je,labelWeekday:Ln,labelWeekNumber:zn,labelWeekNumberHeader:R,labelYearDropdown:_e}=o,Nl=f.useMemo(()=>Yp(i,t.ISOWeek,t.broadcastCalendar,t.today),[i,t.ISOWeek,t.broadcastCalendar,t.today]),Go=c!==void 0||m!==void 0,jr=f.useCallback(()=>{le&&(be(le),M==null||M(le))},[le,be,M]),Lr=f.useCallback(()=>{ce&&(be(ce),C==null||C(ce))},[be,ce,C]),Tl=f.useCallback((Z,ie)=>V=>{V.preventDefault(),V.stopPropagation(),Le(Z),!ie.disabled&&(ye==null||ye(Z.date,ie,V),m==null||m(Z.date,ie,V))},[ye,m,Le]),Fl=f.useCallback((Z,ie)=>V=>{Le(Z),v==null||v(Z.date,ie,V)},[v,Le]),Wl=f.useCallback((Z,ie)=>V=>{Te(),g==null||g(Z.date,ie,V)},[Te,g]),_l=f.useCallback((Z,ie)=>V=>{const ne={ArrowLeft:[V.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[V.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[V.shiftKey?"year":"week","after"],ArrowUp:[V.shiftKey?"year":"week","before"],PageUp:[V.shiftKey?"year":"month","before"],PageDown:[V.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(ne[V.key]){V.preventDefault(),V.stopPropagation();const[Je,Q]=ne[V.key];Xe(Je,Q)}p==null||p(Z.date,ie,V)},[Xe,p,t.dir]),Pl=f.useCallback((Z,ie)=>V=>{I==null||I(Z.date,ie,V)},[I]),Gl=f.useCallback((Z,ie)=>V=>{y==null||y(Z.date,ie,V)},[y]),Yl=f.useCallback(Z=>ie=>{const V=Number(ie.target.value),ne=i.setMonth(i.startOfMonth(Z),V);be(ne)},[i,be]),Rl=f.useCallback(Z=>ie=>{const V=Number(ie.target.value),ne=i.setYear(i.startOfMonth(Z),V);be(ne)},[i,be]),{className:Bl,style:Vl}=f.useMemo(()=>({className:[u[_.Root],t.className].filter(Boolean).join(" "),style:{...b==null?void 0:b[_.Root],...t.style}}),[u,t.className,t.style,b]),Hl=xp(t),Yo=f.useRef(null);Zp(Yo,!!t.animate,{classNames:u,months:pe,focused:Se,dateLib:i});const Xl={dayPickerProps:t,selected:Ne,select:ye,isSelected:K,months:pe,nextMonth:ce,previousMonth:le,goToMonth:be,getModifiers:oe,components:r,classNames:u,styles:b,labels:o,formatters:a};return f.createElement(cu.Provider,{value:Xl},f.createElement(r.Root,{rootRef:t.animate?Yo:void 0,className:Bl,style:Vl,dir:t.dir,id:t.id,lang:t.lang??s.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...Hl},f.createElement(r.Months,{className:u[_.Months],style:b==null?void 0:b[_.Months]},!t.hideNavigation&&!d&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[_.Nav],style:b==null?void 0:b[_.Nav],"aria-label":Y(),onPreviousClick:jr,onNextClick:Lr,previousMonth:le,nextMonth:ce}),pe.map((Z,ie)=>f.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:u[_.Month],style:b==null?void 0:b[_.Month],key:ie,displayIndex:ie,calendarMonth:Z},d==="around"&&!t.hideNavigation&&ie===0&&f.createElement(r.PreviousMonthButton,{type:"button",className:u[_.PreviousMonthButton],tabIndex:le?void 0:-1,"aria-disabled":le?void 0:!0,"aria-label":Ze(le),onClick:jr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:le?void 0:!0,className:u[_.Chevron],orientation:t.dir==="rtl"?"right":"left"})),f.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:u[_.MonthCaption],style:b==null?void 0:b[_.MonthCaption],calendarMonth:Z,displayIndex:ie},l!=null&&l.startsWith("dropdown")?f.createElement(r.DropdownNav,{className:u[_.Dropdowns],style:b==null?void 0:b[_.Dropdowns]},(()=>{const V=l==="dropdown"||l==="dropdown-months"?f.createElement(r.MonthsDropdown,{key:"month",className:u[_.MonthsDropdown],"aria-label":Ue(),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:Yl(Z.date),options:Pp(Z.date,Me,ve,a,i),style:b==null?void 0:b[_.Dropdown],value:i.getMonth(Z.date)}):f.createElement("span",{key:"month"},k(Z.date,i)),ne=l==="dropdown"||l==="dropdown-years"?f.createElement(r.YearsDropdown,{key:"year",className:u[_.YearsDropdown],"aria-label":_e(i.options),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:Rl(Z.date),options:Rp(Me,ve,a,i,!!t.reverseYears),style:b==null?void 0:b[_.Dropdown],value:i.getYear(Z.date)}):f.createElement("span",{key:"year"},z(Z.date,i));return i.getMonthYearOrder()==="year-first"?[ne,V]:[V,ne]})(),f.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},S(Z.date,i.options,i))):f.createElement(r.CaptionLabel,{className:u[_.CaptionLabel],role:"status","aria-live":"polite"},S(Z.date,i.options,i))),d==="around"&&!t.hideNavigation&&ie===h-1&&f.createElement(r.NextMonthButton,{type:"button",className:u[_.NextMonthButton],tabIndex:ce?void 0:-1,"aria-disabled":ce?void 0:!0,"aria-label":je(ce),onClick:Lr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:ce?void 0:!0,className:u[_.Chevron],orientation:t.dir==="rtl"?"left":"right"})),ie===h-1&&d==="after"&&!t.hideNavigation&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[_.Nav],style:b==null?void 0:b[_.Nav],"aria-label":Y(),onPreviousClick:jr,onNextClick:Lr,previousMonth:le,nextMonth:ce}),f.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":c==="multiple"||c==="range","aria-label":it(Z.date,i.options,i)||void 0,className:u[_.MonthGrid],style:b==null?void 0:b[_.MonthGrid]},!t.hideWeekdays&&f.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:u[_.Weekdays],style:b==null?void 0:b[_.Weekdays]},x&&f.createElement(r.WeekNumberHeader,{"aria-label":R(i.options),className:u[_.WeekNumberHeader],style:b==null?void 0:b[_.WeekNumberHeader],scope:"col"},G()),Nl.map(V=>f.createElement(r.Weekday,{"aria-label":Ln(V,i.options,i),className:u[_.Weekday],key:String(V),style:b==null?void 0:b[_.Weekday],scope:"col"},L(V,i.options,i)))),f.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:u[_.Weeks],style:b==null?void 0:b[_.Weeks]},Z.weeks.map(V=>f.createElement(r.Week,{className:u[_.Week],key:V.weekNumber,style:b==null?void 0:b[_.Week],week:V},x&&f.createElement(r.WeekNumber,{week:V,style:b==null?void 0:b[_.WeekNumber],"aria-label":zn(V.weekNumber,{locale:s}),className:u[_.WeekNumber],scope:"row",role:"rowheader"},W(V.weekNumber,i)),V.days.map(ne=>{const{date:Je}=ne,Q=oe(ne);if(Q[ke.focused]=!Q.hidden&&!!(Se!=null&&Se.isEqualTo(ne)),Q[lt.selected]=(K==null?void 0:K(Je))||Q.selected,Ar(Ne)){const{from:zr,to:$r}=Ne;Q[lt.range_start]=!!(zr&&$r&&i.isSameDay(Je,zr)),Q[lt.range_end]=!!(zr&&$r&&i.isSameDay(Je,$r)),Q[lt.range_middle]=kt(Ne,Je,!0,i)}const Zl=Gp(Q,b,t.modifiersStyles),jl=yp(Q,u,t.modifiersClassNames),Ll=!Go&&!Q.hidden?F(Je,Q,i.options,i):void 0;return f.createElement(r.Day,{key:`${ne.isoDate}_${ne.displayMonthId}`,day:ne,modifiers:Q,className:jl.join(" "),style:Zl,role:"gridcell","aria-selected":Q.selected||void 0,"aria-label":Ll,"data-day":ne.isoDate,"data-month":ne.outside?ne.dateMonthId:void 0,"data-selected":Q.selected||void 0,"data-disabled":Q.disabled||void 0,"data-hidden":Q.hidden||void 0,"data-outside":ne.outside||void 0,"data-focused":Q.focused||void 0,"data-today":Q.today||void 0},!Q.hidden&&Go?f.createElement(r.DayButton,{className:u[_.DayButton],style:b==null?void 0:b[_.DayButton],type:"button",day:ne,modifiers:Q,disabled:!Q.focused&&Q.disabled||void 0,"aria-disabled":Q.focused&&Q.disabled||void 0,tabIndex:Ye(ne)?0:-1,"aria-label":De(Je,Q,i.options,i),onClick:Tl(ne,Q),onBlur:Wl(ne,Q),onFocus:Fl(ne,Q),onKeyDown:_l(ne,Q),onMouseEnter:Pl(ne,Q),onMouseLeave:Gl(ne,Q)},E(Je,i.options,i)):!Q.hidden&&E(ne.date,i.options,i))})))))))),t.footer&&f.createElement(r.Footer,{className:u[_.Footer],style:b==null?void 0:b[_.Footer],role:"status","aria-live":"polite"},t.footer)))}const ge=Ft.defineMessages({dateTimePickerLabel:{id:"datePicker.label.date.time.picker",defaultMessage:"Select date"},am:{id:"datePicker.label.am",defaultMessage:"AM"},pm:{id:"datePicker.label.pm",defaultMessage:"PM"},twentyFourHour:{id:"datePicker.label.24h",defaultMessage:"24h"},timeInputPlaceholder:{id:"datePicker.placeholder.time",defaultMessage:"hh:mm"},timeInputLabel:{id:"datePicker.label.time",defaultMessage:"Time"},invalidTime:{id:"datePicker.message.invalid.time",defaultMessage:"Invalid Time"},selectDateFormatDescription:{id:"datePicker.message.formatDescription",defaultMessage:"Provide a date using the format {localeFormat}"},wrongFormat:{id:"datePicker.message.invalid.format",defaultMessage:"Invalid Format"},notNumber:{id:"datePicker.message.invalid.not.number",defaultMessage:"Given time is not a number"},pickerPrevMonth:{id:"datePicker.button.prevMonth",defaultMessage:"Previous month"},pickerNextMonth:{id:"datePicker.button.nextMonth",defaultMessage:"Next month"},pickerSelectYear:{id:"datePicker.button.selectYear",defaultMessage:"Select year and month"},pickerSelectMonth:{id:"datePicker.button.selectMonth",defaultMessage:"Select month"},selectYearDropdown:{id:"datePicker.dropdown.selectYear",defaultMessage:"Select year"},closeYearMonthPicker:{id:"datePicker.button.closeYearMonthPicker",defaultMessage:"Done"}}),cb={order:["day","month","year"],literals:["","/","/",""],padded:{day:!0,month:!0}},db=new Date(2e3,0,13),fb=new Date(2e3,0,3),hb=new Set(["UK"]),go=e=>{if(hb.has(e.toUpperCase()))return!1;try{return new Intl.DateTimeFormat(e),!0}catch{return!1}},Tr=e=>{const t=e==null?void 0:e.replace(/_/g,"-");return t&&go(t)?t:Intl.DateTimeFormat().resolvedOptions().locale||"en"},mb=e=>{const t=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric",calendar:"gregory"}),n=t.formatToParts(db),r=[],a=[""];if(n.forEach(i=>{i.type==="day"||i.type==="month"||i.type==="year"?(r.push(i.type),a.push("")):a[a.length-1]+=i.value}),r.length!==3)return cb;const o={day:!0,month:!0};return t.formatToParts(fb).forEach(i=>{(i.type==="day"||i.type==="month")&&(o[i.type]=i.value.length>1)}),{order:r,literals:a,padded:o}},_i=new Map,Su=e=>{const t=_i.get(e);if(t)return t;const n=mb(e);return _i.set(e,n),n},Du=e=>{const{order:t,literals:n,padded:r}=Su(Tr(e)),a={day:r.day?"DD":"D",month:r.month?"MM":"M",year:"YYYY"};return t.reduce((o,i,s)=>`${o}${n[s]}${a[i]}`,"")+n[t.length]},gb=(e,t)=>{if(e==null||e==="")return null;const n=e instanceof Date?e:rn(e);return Number.isNaN(n.getTime())?null:n.toLocaleDateString(Tr(t),{year:"numeric",month:"numeric",day:"numeric",calendar:"gregory"})},ku=e=>e.replace(new RegExp("\\p{Cf}","gu"),""),pb=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Pi=e=>ku(e).split(/\s+/).map(pb).join("\\s*"),bb=(e,t)=>{const n=ku(e.trim());if(!n)return null;const r=Tr(t),{order:a,literals:o}=Su(r),i={};let s=n;for(let g=0;g<a.length;g++){const m=o[g];if(m){const y=s.match(new RegExp(`^${Pi(m)}`));if(!y)return null;s=s.slice(y[0].length)}const v=s.match(/^[0-9]{1,4}/);if(!v)return null;const p=a[g],I=v[0];if(p==="year"?I.length!==4:I.length>2)return null;i[p]=Number(I),s=s.slice(v[0].length)}const u=o[a.length];if(u){if(!new RegExp(`^${Pi(u)}$`).test(s))return null}else if(s!=="")return null;const{year:l,month:c,day:d}=i;if(l==null||c==null||d==null||c<1||c>12||d<1||d>31)return null;const h=new Date(l,c-1,d);return h.getFullYear()!==l||h.getMonth()!==c-1||h.getDate()!==d?null:h},yb=/^\d{4}-\d{2}-\d{2}$/,rn=e=>{if(e instanceof Date)return e;if(typeof e=="string"&&yb.test(e)){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}return new Date(e)},pr=e=>{const t=e&&go(e)?e:"en",n=new Intl.DateTimeFormat(t,{month:"long",calendar:"gregory"}),r=new Intl.DateTimeFormat(t,{month:"short",calendar:"gregory"});return Array.from({length:12},(a,o)=>({long:n.format(new Date(2e3,o,1)),short:r.format(new Date(2e3,o,1))}))},vb=2,xb=e=>{const t=e&&go(e)?e:"en",n=new Intl.DateTimeFormat(t,{weekday:"short"});return Array.from({length:7},(r,a)=>n.format(new Date(2e3,0,vb+a)))},Eu=O.div`
|
|
692
683
|
display: flex;
|
|
693
684
|
align-items: center;
|
|
694
685
|
position: relative;
|
|
695
|
-
`,
|
|
696
|
-
font-family: ${
|
|
686
|
+
`,Ou=O.input`
|
|
687
|
+
font-family: ${J.sansFamily};
|
|
697
688
|
width: 100%;
|
|
698
689
|
border-radius: 4px;
|
|
699
|
-
border: solid 1px
|
|
690
|
+
border: solid 1px
|
|
691
|
+
${({$hasError:e})=>e?"var(--color-alert-primary, #da3939)":"var(--color-gray400)"};
|
|
700
692
|
box-sizing: border-box;
|
|
701
693
|
box-shadow: none;
|
|
702
694
|
font-size: 14px;
|
|
@@ -714,7 +706,7 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
714
706
|
}
|
|
715
707
|
|
|
716
708
|
:hover {
|
|
717
|
-
border-color: var(--color-gray400);
|
|
709
|
+
border-color: ${({$hasError:e})=>e?"var(--color-alert-primary, #da3939)":"var(--color-gray400)"};
|
|
718
710
|
}
|
|
719
711
|
|
|
720
712
|
:focus {
|
|
@@ -722,11 +714,17 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
722
714
|
}
|
|
723
715
|
|
|
724
716
|
:focus-visible {
|
|
725
|
-
outline: 2px solid
|
|
717
|
+
outline: 2px solid
|
|
718
|
+
${({$hasError:e})=>e?"var(--color-alert-primary, #da3939)":"var(--color-active-primary)"};
|
|
726
719
|
outline-offset: 1px;
|
|
727
|
-
border-color: var(--color-active-primary);
|
|
720
|
+
border-color: ${({$hasError:e})=>e?"var(--color-alert-primary, #da3939)":"var(--color-active-primary)"};
|
|
728
721
|
}
|
|
729
|
-
`,
|
|
722
|
+
`,Au=O.div`
|
|
723
|
+
display: flex;
|
|
724
|
+
gap: var(--space-xs, 4px);
|
|
725
|
+
margin-top: var(--space-sm, 8px);
|
|
726
|
+
align-items: center;
|
|
727
|
+
`,Nu=O.div`
|
|
730
728
|
position: absolute;
|
|
731
729
|
top: 100%;
|
|
732
730
|
left: 0;
|
|
@@ -763,7 +761,7 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
763
761
|
|
|
764
762
|
position: relative;
|
|
765
763
|
box-sizing: border-box;
|
|
766
|
-
font-family: ${
|
|
764
|
+
font-family: ${J.sansFamily};
|
|
767
765
|
color: var(--color-gray900);
|
|
768
766
|
letter-spacing: -0.3px;
|
|
769
767
|
font-size: 14px;
|
|
@@ -904,9 +902,9 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
904
902
|
.rdp-month_caption, .rdp-nav {
|
|
905
903
|
display: none;
|
|
906
904
|
}
|
|
907
|
-
`,
|
|
905
|
+
`,Tu=O.div`
|
|
908
906
|
padding: var(--space-md);
|
|
909
|
-
`,
|
|
907
|
+
`,Fu=O.ul`
|
|
910
908
|
display: grid;
|
|
911
909
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
912
910
|
grid-gap: 8px;
|
|
@@ -917,7 +915,7 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
917
915
|
li {
|
|
918
916
|
width: 100%;
|
|
919
917
|
}
|
|
920
|
-
`,
|
|
918
|
+
`,Ib=O(Sn.ButtonSecondary)`
|
|
921
919
|
padding: 8px;
|
|
922
920
|
${({$isActive:e})=>e&&O.css`
|
|
923
921
|
background-color: var(--color-active-lighten90);
|
|
@@ -926,33 +924,33 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
926
924
|
font-weight: bold;
|
|
927
925
|
}
|
|
928
926
|
`}
|
|
929
|
-
`,
|
|
927
|
+
`,Wu=O.div`
|
|
930
928
|
display: flex;
|
|
931
929
|
flex-direction: column;
|
|
932
930
|
position: relative;
|
|
933
931
|
width: ${({width:e})=>e||"200px"};
|
|
934
|
-
`,
|
|
932
|
+
`,_u=O.div`
|
|
935
933
|
display: flex;
|
|
936
934
|
align-items: center;
|
|
937
935
|
justify-content: space-between;
|
|
938
936
|
padding: 16px 14px 0px 14px;
|
|
939
|
-
`,
|
|
937
|
+
`,Pu=e=>{const{label:t="",locale:n="en-gb",calendarLanguage:r,width:a,date:o={from:"",to:""},type:i="to",fromMonth:s=new Date,disabledDays:u={},value:l,pickerRef:c,inputProps:d={},dayPickerProps:h={},showOverlay:g=!1,onDayChange:m,onDayClick:v}=e,{current:p}=f.useRef(d.id||Vt()),I=R=>{if(R instanceof Date&&!isNaN(R.getTime()))return R;if(R!==void 0&&R!==""&&R!==null){const _e=new Date(R);if(!isNaN(_e.getTime()))return _e}return new Date},[y,C]=f.useState(I(s)),[M,x]=f.useState(g),[b,S]=f.useState(!1),E=f.useRef(null),k=f.useRef(null),{from:W,to:G}=o,L=f.useMemo(()=>Du(n),[n]),z=f.useMemo(()=>pr(r),[r]),N=f.useMemo(()=>xb(r),[r]),$=f.useCallback(R=>N[R.getDay()],[N]),pe=f.useMemo(()=>gb(l||o[i],n),[l,o,i,n]),[Me,ve]=f.useState(!1),[le,ce]=f.useState(""),[be,oe]=f.useState(!1),K=!!W&&!!G,ye=Ft.useIntl(),Ne=Me?le:pe||"",Te=R=>{ce(R.target.value),oe(!1)},Se=()=>{ve(!0),oe(!1),ce(pe||""),x(!0)},Ye=()=>{if(!le){pe||m==null||m(null),ve(!1),oe(!1);return}const R=bb(le,n);R?(m==null||m(R),C(R),oe(!1)):oe(!0),ve(!1)},Xe=R=>{R.key==="Enter"?Ye():R.key==="Escape"&&(x(!1),S(!1))};f.useEffect(()=>{c&&typeof c=="object"&&"current"in c&&(c.current={getInput:()=>k.current})},[c]),Ba(l&&o[i],"[DatePicker] Both the `value` and `date` props have been used.\n The `date` prop will be ignored. To get rid of this warning, remove one of these props.");const Le=({month:R,year:_e})=>{C(new Date(_e,R))},De=f.useMemo(()=>K?i==="from"?{before:u.before,after:G||u.after}:{before:W||u.before,after:u.after}:u,[i,K,u,W,G]),F=f.useMemo(()=>{const R=[];return De.before&&R.push({before:new Date(De.before)}),De.after&&R.push({after:new Date(De.after)}),R.length?R:void 0},[De]),it=f.useMemo(()=>{if(K)return{from:W?new Date(W):void 0,to:G?new Date(G):void 0}},[K,W,G]),Ue=f.useMemo(()=>{if(K)return;const R=l||o[i];return R?new Date(R):void 0},[K,l,o,i]),Y=f.useCallback(R=>{x(!1),m==null||m(R),v==null||v(R)},[m,v]),Ze=f.useRef(null);f.useEffect(()=>{if(!M)return;const R=_e=>{E.current&&!E.current.contains(_e.target)&&(x(!1),S(!1))};return document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R)},[M]);const je=f.useMemo(()=>{if(!De.before)return!0;const R=new Date(y.getFullYear(),y.getMonth()-1,1),_e=rn(De.before);return R>=new Date(_e.getFullYear(),_e.getMonth(),1)},[y,De]),Ln=f.useMemo(()=>{if(!De.after)return!0;const R=new Date(y.getFullYear(),y.getMonth()+1,1),_e=rn(De.after);return R<=new Date(_e.getFullYear(),_e.getMonth(),1)},[y,De]),zn={fill:"var(--color-gray400)",cursor:"default"};return w.jsxs(Wu,{width:a,ref:E,children:[t&&w.jsx("label",{htmlFor:p,style:{margin:"4px 0"},children:w.jsx(J.BodyUI,{bold:!0,as:"span",color:"var(--color-gray900)",children:t})}),w.jsxs(Eu,{children:[w.jsx(We.IconCalendar,{style:{position:"absolute",paddingLeft:"10px",fill:"var(--color-gray700)",height:"20px",width:"20px",boxSizing:"content-box",pointerEvents:"none"}}),w.jsx(Ou,{"data-testid":"datepicker-input",ref:k,id:p,role:"combobox","aria-label":typeof t=="string"&&t?t:void 0,"aria-describedby":[`${p}-format`,be?`${p}-error-message`:""].filter(Boolean).join(" "),"aria-invalid":be,"aria-expanded":M,"aria-haspopup":"dialog","aria-controls":`${p}-picker`,value:Ne,placeholder:L,onChange:Te,onBlur:Ye,onKeyDown:Xe,onClick:()=>x(!0),onFocus:Se,...d,$hasError:be}),w.jsx("span",{id:`${p}-format`,hidden:!0,children:ye.formatMessage(ge.selectDateFormatDescription,{localeFormat:L})})]}),be&&w.jsxs(Au,{id:`${p}-error-message`,"data-testid":"datepicker-error-message",children:[w.jsx(We.IconAlertCircleOutline,{width:"13px",height:"13px",fill:"var(--color-alert-primary, #da3939)"}),w.jsx(J.TinyText,{color:"var(--color-alert-primary, #da3939)",children:ye.formatMessage(ge.wrongFormat)})]}),M&&w.jsxs(Nu,{ref:Ze,id:`${p}-picker`,role:"dialog","aria-modal":"false","aria-label":ye.formatMessage(ge.dateTimePickerLabel),children:[w.jsxs(_u,{children:[w.jsx(Sn.IconButton,{icon:We.IconChevronLeft,isActionIcon:!0,disabled:!je,onClick:()=>{C(new Date(y.getFullYear(),y.getMonth()-1,1))},"aria-label":ye.formatMessage(ge.pickerPrevMonth),style:!je&&zn||{},"data-testid":"datepicker-select-prev-month"}),w.jsx(Sn.ButtonSecondary,{onClick:()=>S(!0),"aria-label":ye.formatMessage(ge.pickerSelectYear),"data-tooltip-content":ye.formatMessage(ge.pickerSelectYear),"data-tooltip-id":"tooltip-datepicker-select-year","data-testid":"datepicker-select-year",text:`${z[y.getMonth()].long} ${y.getFullYear()}`}),w.jsx(Ya.Tooltip,{id:"tooltip-datepicker-select-year"}),w.jsx(Sn.IconButton,{icon:We.IconChevronRight,isActionIcon:!0,disabled:!Ln,onClick:()=>{C(new Date(y.getFullYear(),y.getMonth()+1,1))},"aria-label":ye.formatMessage(ge.pickerNextMonth),style:!Ln&&zn||{},"data-testid":"datepicker-select-next-month"})]}),b?w.jsx(Cb,{date:y,disabledDays:De,calendarLanguage:r,onChange:R=>{S(!1),Le(R)}}):K?w.jsx(Ea,{mode:"range",month:y,onMonthChange:C,selected:it,onSelect:R=>{const _e=i==="from"?R==null?void 0:R.from:R==null?void 0:R.to;_e&&Y(_e)},disabled:F,showOutsideDays:!0,hideNavigation:!0,captionLayout:"label",formatters:{formatWeekdayName:$},components:{MonthCaption:()=>w.jsx(w.Fragment,{}),Nav:()=>w.jsx(w.Fragment,{})},...h}):w.jsx(Ea,{mode:"single",month:y,onMonthChange:C,selected:Ue,onSelect:R=>{R&&Y(R)},disabled:F,showOutsideDays:!0,hideNavigation:!0,captionLayout:"label",formatters:{formatWeekdayName:$},components:{MonthCaption:()=>w.jsx(w.Fragment,{}),Nav:()=>w.jsx(w.Fragment,{})},...h})]})]})},Cb=({date:e,disabledDays:t,calendarLanguage:n,onChange:r})=>{const a=Ft.useIntl(),[o,i]=f.useState(new Date(e).getMonth()),[s,u]=f.useState(new Date(e).getFullYear()),{after:l,before:c}=t||{},d=f.useMemo(()=>pr(n),[n]),h=f.useMemo(()=>pr(),[]),g=()=>{const p=new Date().getFullYear(),{after:I,before:y}=t||{},C=y?rn(y).getFullYear():1939,M=I?rn(I).getFullYear():new Date(p+10,11).getFullYear(),x=[];for(let b=M;b>=C;b--)x.push({label:b,value:b});return x},m=p=>{const I=rn(p);return new Date(I.getFullYear(),I.getMonth(),1)},v=p=>{const I=new Date(s,p,1);return c&&I<m(c)||l&&I>m(l)};return w.jsxs(Tu,{children:[w.jsx(Mb,{"data-testid":"yearmonth-dropdown-select",children:w.jsx(oo,{label:"","aria-label":a.formatMessage(ge.selectYearDropdown),options:g(),value:{label:s,value:s},onChange:p=>{u(p.value)}})}),w.jsx(Fu,{children:d.map(({short:p,long:I},y)=>w.jsx("li",{"data-value":y,children:w.jsx(Ib,{"data-testid":`select-month-${h[y].short}`,$isActive:y===o,disabled:!!v(y),onClick:()=>{v(y)||i(y)},"aria-label":I,"aria-pressed":y===o,text:p})},h[y].short))}),w.jsxs(wb,{children:[w.jsx(Sn.IconButton,{"aria-label":a.formatMessage(ge.closeYearMonthPicker),icon:We.IconCheck,onClick:()=>r({month:o,year:s}),"data-tooltip-content":a.formatMessage(ge.closeYearMonthPicker),"data-tooltip-id":"datepicker-year-month-done","data-testid":"datepicker-year-month-done"}),w.jsx(Ya.Tooltip,{id:"datepicker-year-month-done"})]})]})},wb=O.div`
|
|
940
938
|
display: flex;
|
|
941
939
|
align-items: center;
|
|
942
940
|
justify-content: flex-end;
|
|
943
941
|
margin-top: var(--space-md);
|
|
944
|
-
`,
|
|
942
|
+
`,Mb=O.div`
|
|
945
943
|
align-items: center;
|
|
946
944
|
justify-content: center;
|
|
947
945
|
margin-bottom: var(--space-xs);
|
|
948
946
|
> div {
|
|
949
947
|
width: 100%;
|
|
950
948
|
}
|
|
951
|
-
`,Wn=2e3,
|
|
949
|
+
`,Wn=2e3,Gu=e=>new Date(Wn,e,0).getDate(),Sb=e=>new Date(Wn,e,1).getDay(),Db="en-gb",kb=e=>!!e&&Number.isInteger(e.month)&&e.month>=1&&e.month<=12&&Number.isInteger(e.day)&&e.day>=1&&e.day<=Gu(e.month),Eb=e=>new Intl.DateTimeFormat(e,{month:"2-digit",day:"2-digit"}).formatToParts(new Date(Wn,11,31)).map(({type:t,value:n})=>t==="month"||t==="day"?{type:t,value:n}:{type:"literal",value:n}),Ob=({month:e,day:t},n)=>n.map(({type:r,value:a})=>r==="month"?String(e).padStart(2,"0"):r==="day"?String(t).padStart(2,"0"):a).join(""),Ab=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Nb=(e,t)=>{const n=[],r=t.map((c,d)=>c.type==="literal"?-1:d).filter(c=>c>=0),a=Math.min(...r),o=Math.max(...r),i=t.map((c,d)=>c.type!=="literal"?(n.push(c.type),"(\\d{1,2})"):d<a?"[^\\d]*":d>o?`(?:${Ab(c.value.trim())})?`:"(?:\\s*[^\\d\\s]+\\s*|\\s+)").join(""),s=new RegExp(`^\\s*${i}\\s*$`).exec(e);if(!s)return null;const u=Number(s[n.indexOf("month")+1]),l=Number(s[n.indexOf("day")+1]);return u<1||u>12||l<1||l>Gu(u)?null:{month:u,day:l}},Tb=e=>{const{label:t="",locale:n=Db,calendarLanguage:r,width:a,value:o,inputProps:i={},showOverlay:s=!1,onChange:u}=e,{current:l}=f.useRef(i.id||Vt()),c=Ft.useIntl(),d=f.useMemo(()=>Tr(n),[n]),h=kb(o)?o:null,g=!!o&&!h;f.useEffect(()=>{g&&Mr(`[MonthDayPicker] Ignoring invalid value ${JSON.stringify(o)}. Expected { month: 1-12, day: 1-31 }.`)},[g,o==null?void 0:o.month,o==null?void 0:o.day]);const m=f.useMemo(()=>Eb(d),[d]),v=f.useMemo(()=>m.map(({type:Y,value:Ze})=>Y==="month"?"MM":Y==="day"?"DD":Ze).join(""),[m]),p=f.useMemo(()=>pr(r),[r]),I=h?Ob(h,m):"",[y,C]=f.useState(h?h.month-1:new Date().getMonth()),[M,x]=f.useState(s),[b,S]=f.useState(!1),[E,k]=f.useState(!1),[W,G]=f.useState(""),[L,z]=f.useState(!1),N=f.useRef(null),$=f.useRef(null),pe=f.useRef(!1),Me=E?W:I,ve=()=>{x(!1),S(!1)},le=()=>{if(!E)return;if(k(!1),!W.trim()){z(!1),h&&(u==null||u(null));return}const Y=Nb(W,m);if(!Y){z(!0);return}z(!1),(Y.month!==(h==null?void 0:h.month)||Y.day!==(h==null?void 0:h.day))&&(u==null||u(Y),C(Y.month-1))},ce=()=>{!M&&h&&C(h.month-1),x(!0)},be=()=>{k(!0),z(!1),G(I),pe.current?pe.current=!1:ce()},oe=Y=>{k(!0),G(Y.target.value),z(!1)},K=Y=>{Y.key==="Enter"&&(Y.preventDefault(),le())},ye=Y=>{Y.key!=="Escape"||!M||(ve(),$.current&&document.activeElement!==$.current&&(pe.current=!0,$.current.focus()))},Ne=Y=>{var je;const Ze=Y.relatedTarget;M&&Ze&&!((je=N.current)!=null&&je.contains(Ze))&&ve()},Te=f.useCallback(Y=>{x(!1),k(!1);const Ze=Y.getMonth()+1,je=Y.getDate();(Ze!==(h==null?void 0:h.month)||je!==(h==null?void 0:h.day))&&(u==null||u({month:Ze,day:je}))},[u,h==null?void 0:h.month,h==null?void 0:h.day]);f.useEffect(()=>{if(!M)return;const Y=Ze=>{N.current&&!N.current.contains(Ze.target)&&ve()};return document.addEventListener("mousedown",Y),()=>document.removeEventListener("mousedown",Y)},[M]);const{onChange:Se,onBlur:Ye,onFocus:Xe,onKeyDown:Le,onClick:De,"aria-describedby":F,...it}=i,Ue=h?new Date(Wn,h.month-1,h.day):void 0;return w.jsxs(Wu,{width:a,ref:N,onKeyDown:ye,onBlur:Ne,children:[t&&w.jsx("label",{htmlFor:l,style:{margin:"4px 0"},children:w.jsx(J.BodySm,{bold:!0,as:"span",color:"var(--color-gray900)",children:t})}),w.jsxs(Eu,{children:[w.jsx(We.IconCalendar,{style:{position:"absolute",paddingLeft:"10px",fill:"var(--color-gray700)",height:"20px",width:"20px",boxSizing:"content-box",pointerEvents:"none"}}),w.jsx(Ou,{...it,$hasError:L,"data-testid":"monthdaypicker-input",ref:$,id:l,role:"combobox","aria-label":typeof t=="string"&&t?t:void 0,"aria-describedby":[`${l}-format`,L?`${l}-error-message`:"",F].filter(Boolean).join(" "),"aria-invalid":L,"aria-expanded":M,"aria-haspopup":"dialog","aria-controls":`${l}-picker`,value:Me,placeholder:v,onChange:Y=>{oe(Y),Se==null||Se(Y)},onBlur:Y=>{le(),Ye==null||Ye(Y)},onKeyDown:Y=>{K(Y),Le==null||Le(Y)},onClick:Y=>{ce(),De==null||De(Y)},onFocus:Y=>{be(),Xe==null||Xe(Y)}}),w.jsx("span",{id:`${l}-format`,hidden:!0,children:c.formatMessage(ge.selectDateFormatDescription,{localeFormat:v})})]}),L&&w.jsxs(Au,{id:`${l}-error-message`,"data-testid":"monthdaypicker-error-message",children:[w.jsx(We.IconAlertCircleOutline,{width:"13px",height:"13px",fill:"var(--color-alert-primary, #da3939)"}),w.jsx(J.TinyText,{color:"var(--color-alert-primary, #da3939)",children:c.formatMessage(ge.wrongFormat)})]}),M&&w.jsxs(Nu,{id:`${l}-picker`,role:"dialog","aria-modal":"false","aria-label":c.formatMessage(ge.dateTimePickerLabel),children:[w.jsxs(_u,{children:[w.jsx(Gi,{icon:w.jsx(We.IconChevronLeft,{}),variant:"tertiary",size:"sm",onClick:()=>C((y+11)%12),"aria-label":c.formatMessage(ge.pickerPrevMonth),"data-testid":"monthdaypicker-prev-month"}),w.jsx(Ra.Button,{variant:"secondary",size:"sm",onClick:()=>S(!0),"aria-label":c.formatMessage(ge.pickerSelectMonth),"data-tooltip-content":c.formatMessage(ge.pickerSelectMonth),"data-tooltip-id":`${l}-select-month-tooltip`,"data-testid":"monthdaypicker-select-month",children:p[y].long}),w.jsx(Ya.Tooltip,{id:`${l}-select-month-tooltip`}),w.jsx(Gi,{icon:w.jsx(We.IconChevronRight,{}),variant:"tertiary",size:"sm",onClick:()=>C((y+1)%12),"aria-label":c.formatMessage(ge.pickerNextMonth),"data-testid":"monthdaypicker-next-month"})]}),b?w.jsx(Tu,{children:w.jsx(Fu,{children:p.map(({long:Y,short:Ze},je)=>w.jsx("li",{children:w.jsx(Fb,{variant:"tertiary",size:"sm","data-testid":`monthdaypicker-month-${je+1}`,$isActive:je===y,onClick:()=>{C(je),S(!1)},"aria-label":Y,"aria-pressed":je===y,children:Ze})},Y))})}):w.jsx(Ea,{mode:"single",required:!0,month:new Date(Wn,y,1),weekStartsOn:Sb(y),selected:Ue,onSelect:Y=>{Y&&Te(Y)},hideWeekdays:!0,hideNavigation:!0,disableNavigation:!0,captionLayout:"label",components:{MonthCaption:()=>w.jsx(w.Fragment,{}),Nav:()=>w.jsx(w.Fragment,{})}})]})]})},Gi=O(Ra.IconButton)`
|
|
952
950
|
&& {
|
|
953
951
|
color: var(--color-gray700);
|
|
954
952
|
}
|
|
955
|
-
`,
|
|
953
|
+
`,Fb=O(Ra.Button)`
|
|
956
954
|
width: 100%;
|
|
957
955
|
padding: 8px;
|
|
958
956
|
${({$isActive:e})=>e&&O.css`
|
|
@@ -960,50 +958,59 @@ A.version="2.29.4";ib(ve);A.fn=D;A.min=zy;A.max=Jy;A.now=$y;A.utc=It;A.unix=w0;A
|
|
|
960
958
|
color: var(--color-active-darken20);
|
|
961
959
|
font-weight: bold;
|
|
962
960
|
`}
|
|
963
|
-
|
|
961
|
+
`;//! moment.js
|
|
962
|
+
//! version : 2.29.4
|
|
963
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
964
|
+
//! license : MIT
|
|
965
|
+
//! momentjs.com
|
|
966
|
+
var Yu;function A(){return Yu.apply(null,arguments)}function Wb(e){Yu=e}function dt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function zt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ee(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function po(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ee(e,t))return!1;return!0}function ze(e){return e===void 0}function Tt(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Hn(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ru(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function Yt(e,t){for(var n in t)ee(t,n)&&(e[n]=t[n]);return ee(t,"toString")&&(e.toString=t.toString),ee(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ct(e,t,n,r){return ll(e,t,n,r,!0).utc()}function _b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function j(e){return e._pf==null&&(e._pf=_b()),e._pf}var Oa;Array.prototype.some?Oa=Array.prototype.some:Oa=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function bo(e){if(e._isValid==null){var t=j(e),n=Oa.call(t.parsedDateParts,function(a){return a!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Fr(e){var t=Ct(NaN);return e!=null?Yt(j(t),e):j(t).userInvalidated=!0,t}var Yi=A.momentProperties=[],ua=!1;function yo(e,t){var n,r,a,o=Yi.length;if(ze(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ze(t._i)||(e._i=t._i),ze(t._f)||(e._f=t._f),ze(t._l)||(e._l=t._l),ze(t._strict)||(e._strict=t._strict),ze(t._tzm)||(e._tzm=t._tzm),ze(t._isUTC)||(e._isUTC=t._isUTC),ze(t._offset)||(e._offset=t._offset),ze(t._pf)||(e._pf=j(t)),ze(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=Yi[n],a=t[r],ze(a)||(e[r]=a);return e}function Xn(e){yo(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ua===!1&&(ua=!0,A.updateOffset(this),ua=!1)}function ft(e){return e instanceof Xn||e!=null&&e._isAMomentObject!=null}function Bu(e){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function at(e,t){var n=!0;return Yt(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,e),n){var r=[],a,o,i,s=arguments.length;for(o=0;o<s;o++){if(a="",typeof arguments[o]=="object"){a+=`
|
|
967
|
+
[`+o+"] ";for(i in arguments[0])ee(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[o];r.push(a)}Bu(e+`
|
|
968
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
969
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Ri={};function Vu(e,t){A.deprecationHandler!=null&&A.deprecationHandler(e,t),Ri[e]||(Bu(t),Ri[e]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function wt(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Pb(e){var t,n;for(n in e)ee(e,n)&&(t=e[n],wt(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Aa(e,t){var n=Yt({},e),r;for(r in t)ee(t,r)&&(zt(e[r])&&zt(t[r])?(n[r]={},Yt(n[r],e[r]),Yt(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)ee(e,r)&&!ee(t,r)&&zt(e[r])&&(n[r]=Yt({},n[r]));return n}function vo(e){e!=null&&this.set(e)}var Na;Object.keys?Na=Object.keys:Na=function(e){var t,n=[];for(t in e)ee(e,t)&&n.push(t);return n};var Gb={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Yb(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return wt(r)?r.call(t,n):r}function xt(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var xo=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,tr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,la={},an={};function P(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(an[e]=a),t&&(an[t[0]]=function(){return xt(a.apply(this,arguments),t[1],t[2])}),n&&(an[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Rb(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Bb(e){var t=e.match(xo),n,r;for(n=0,r=t.length;n<r;n++)an[t[n]]?t[n]=an[t[n]]:t[n]=Rb(t[n]);return function(a){var o="",i;for(i=0;i<r;i++)o+=wt(t[i])?t[i].call(a,e):t[i];return o}}function sr(e,t){return e.isValid()?(t=Hu(t,e.localeData()),la[t]=la[t]||Bb(t),la[t](e)):e.localeData().invalidDate()}function Hu(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(tr.lastIndex=0;n>=0&&tr.test(e);)e=e.replace(tr,r),tr.lastIndex=0,n-=1;return e}var Vb={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Hb(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(xo).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Xb="Invalid date";function Zb(){return this._invalidDate}var jb="%d",Lb=/\d{1,2}/;function zb(e){return this._ordinal.replace("%d",e)}var $b={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ub(e,t,n,r){var a=this._relativeTime[n];return wt(a)?a(e,t,n,r):a.replace(/%d/i,e)}function Jb(e,t){var n=this._relativeTime[e>0?"future":"past"];return wt(n)?n(t):n.replace(/%s/i,t)}var Dn={};function Ve(e,t){var n=e.toLowerCase();Dn[n]=Dn[n+"s"]=Dn[t]=e}function ot(e){return typeof e=="string"?Dn[e]||Dn[e.toLowerCase()]:void 0}function Io(e){var t={},n,r;for(r in e)ee(e,r)&&(n=ot(r),n&&(t[n]=e[r]));return t}var Xu={};function He(e,t){Xu[e]=t}function Qb(e){var t=[],n;for(n in e)ee(e,n)&&t.push({unit:n,priority:Xu[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}function Wr(e){return e%4===0&&e%100!==0||e%400===0}function rt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function U(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=rt(t)),n}function mn(e,t){return function(n){return n!=null?(Zu(this,e,n),A.updateOffset(this,t),this):br(this,e)}}function br(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Zu(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&Wr(e.year())&&e.month()===1&&e.date()===29?(n=U(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Br(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function qb(e){return e=ot(e),wt(this[e])?this[e]():this}function Kb(e,t){if(typeof e=="object"){e=Io(e);var n=Qb(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=ot(e),wt(this[e]))return this[e](t);return this}var ju=/\d/,nt=/\d\d/,Lu=/\d{3}/,Co=/\d{4}/,_r=/[+-]?\d{6}/,Ie=/\d\d?/,zu=/\d\d\d\d?/,$u=/\d\d\d\d\d\d?/,Pr=/\d{1,3}/,wo=/\d{1,4}/,Gr=/[+-]?\d{1,6}/,gn=/\d+/,Yr=/[+-]?\d+/,ey=/Z|[+-]\d\d:?\d\d/gi,Rr=/Z|[+-]\d\d(?::?\d\d)?/gi,ty=/[+-]?\d+(\.\d{1,3})?/,Zn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,yr;yr={};function T(e,t,n){yr[e]=wt(t)?t:function(r,a){return r&&n?n:t}}function ny(e,t){return ee(yr,e)?yr[e](t._strict,t._locale):new RegExp(ry(e))}function ry(e){return Ke(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,o){return n||r||a||o}))}function Ke(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ta={};function me(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),Tt(t)&&(r=function(o,i){i[t]=U(o)}),a=e.length,n=0;n<a;n++)Ta[e[n]]=r}function jn(e,t){me(e,function(n,r,a,o){a._w=a._w||{},t(n,a._w,a,o)})}function ay(e,t,n){t!=null&&ee(Ta,e)&&Ta[e](t,n._a,n,e)}var Be=0,Ot=1,pt=2,Fe=3,ct=4,At=5,Lt=6,oy=7,iy=8;function sy(e,t){return(e%t+t)%t}var Ee;Array.prototype.indexOf?Ee=Array.prototype.indexOf:Ee=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Br(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=sy(t,12);return e+=(t-n)/12,n===1?Wr(e)?29:28:31-n%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});Ve("month","M");He("month",8);T("M",Ie);T("MM",Ie,nt);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});me(["M","MM"],function(e,t){t[Ot]=U(e)-1});me(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[Ot]=a:j(n).invalidMonth=e});var uy="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Uu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ju=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ly=Zn,cy=Zn;function dy(e,t){return e?dt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ju).test(t)?"format":"standalone"][e.month()]:dt(this._months)?this._months:this._months.standalone}function fy(e,t){return e?dt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ju.test(t)?"format":"standalone"][e.month()]:dt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function hy(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=Ct([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?t==="MMM"?(a=Ee.call(this._shortMonthsParse,i),a!==-1?a:null):(a=Ee.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=Ee.call(this._shortMonthsParse,i),a!==-1?a:(a=Ee.call(this._longMonthsParse,i),a!==-1?a:null)):(a=Ee.call(this._longMonthsParse,i),a!==-1?a:(a=Ee.call(this._shortMonthsParse,i),a!==-1?a:null))}function my(e,t,n){var r,a,o;if(this._monthsParseExact)return hy.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=Ct([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function Qu(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=U(t);else if(t=e.localeData().monthsParse(t),!Tt(t))return e}return n=Math.min(e.date(),Br(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function qu(e){return e!=null?(Qu(this,e),A.updateOffset(this,!0),this):br(this,"Month")}function gy(){return Br(this.year(),this.month())}function py(e){return this._monthsParseExact?(ee(this,"_monthsRegex")||Ku.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(ee(this,"_monthsShortRegex")||(this._monthsShortRegex=ly),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function by(e){return this._monthsParseExact?(ee(this,"_monthsRegex")||Ku.call(this),e?this._monthsStrictRegex:this._monthsRegex):(ee(this,"_monthsRegex")||(this._monthsRegex=cy),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Ku(){function e(i,s){return s.length-i.length}var t=[],n=[],r=[],a,o;for(a=0;a<12;a++)o=Ct([2e3,a]),t.push(this.monthsShort(o,"")),n.push(this.months(o,"")),r.push(this.months(o,"")),r.push(this.monthsShort(o,""));for(t.sort(e),n.sort(e),r.sort(e),a=0;a<12;a++)t[a]=Ke(t[a]),n[a]=Ke(n[a]);for(a=0;a<24;a++)r[a]=Ke(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?xt(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");Ve("year","y");He("year",1);T("Y",Yr);T("YY",Ie,nt);T("YYYY",wo,Co);T("YYYYY",Gr,_r);T("YYYYYY",Gr,_r);me(["YYYYY","YYYYYY"],Be);me("YYYY",function(e,t){t[Be]=e.length===2?A.parseTwoDigitYear(e):U(e)});me("YY",function(e,t){t[Be]=A.parseTwoDigitYear(e)});me("Y",function(e,t){t[Be]=parseInt(e,10)});function kn(e){return Wr(e)?366:365}A.parseTwoDigitYear=function(e){return U(e)+(U(e)>68?1900:2e3)};var el=mn("FullYear",!0);function yy(){return Wr(this.year())}function vy(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function _n(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function vr(e,t,n){var r=7+t-n,a=(7+_n(e,0,r).getUTCDay()-t)%7;return-a+r-1}function tl(e,t,n,r,a){var o=(7+n-r)%7,i=vr(e,r,a),s=1+7*(t-1)+o+i,u,l;return s<=0?(u=e-1,l=kn(u)+s):s>kn(e)?(u=e+1,l=s-kn(e)):(u=e,l=s),{year:u,dayOfYear:l}}function Pn(e,t,n){var r=vr(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,o,i;return a<1?(i=e.year()-1,o=a+Nt(i,t,n)):a>Nt(e.year(),t,n)?(o=a-Nt(e.year(),t,n),i=e.year()+1):(i=e.year(),o=a),{week:o,year:i}}function Nt(e,t,n){var r=vr(e,t,n),a=vr(e+1,t,n);return(kn(e)-r+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");Ve("week","w");Ve("isoWeek","W");He("week",5);He("isoWeek",5);T("w",Ie);T("ww",Ie,nt);T("W",Ie);T("WW",Ie,nt);jn(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=U(e)});function xy(e){return Pn(e,this._week.dow,this._week.doy).week}var Iy={dow:0,doy:6};function Cy(){return this._week.dow}function wy(){return this._week.doy}function My(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Sy(e){var t=Pn(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");Ve("day","d");Ve("weekday","e");Ve("isoWeekday","E");He("day",11);He("weekday",11);He("isoWeekday",11);T("d",Ie);T("e",Ie);T("E",Ie);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});jn(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:j(n).invalidWeekday=e});jn(["d","e","E"],function(e,t,n,r){t[r]=U(e)});function Dy(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ky(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mo(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ey="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),nl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Oy="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ay=Zn,Ny=Zn,Ty=Zn;function Fy(e,t){var n=dt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Mo(n,this._week.dow):e?n[e.day()]:n}function Wy(e){return e===!0?Mo(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function _y(e){return e===!0?Mo(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Py(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=Ct([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(a=Ee.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=Ee.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=Ee.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=Ee.call(this._weekdaysParse,i),a!==-1||(a=Ee.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=Ee.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=Ee.call(this._shortWeekdaysParse,i),a!==-1||(a=Ee.call(this._weekdaysParse,i),a!==-1)?a:(a=Ee.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=Ee.call(this._minWeekdaysParse,i),a!==-1||(a=Ee.call(this._weekdaysParse,i),a!==-1)?a:(a=Ee.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function Gy(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Py.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=Ct([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Yy(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Dy(e,this.localeData()),this.add(e-t,"d")):t}function Ry(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function By(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ky(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Vy(e){return this._weekdaysParseExact?(ee(this,"_weekdaysRegex")||So.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ee(this,"_weekdaysRegex")||(this._weekdaysRegex=Ay),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Hy(e){return this._weekdaysParseExact?(ee(this,"_weekdaysRegex")||So.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ny),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xy(e){return this._weekdaysParseExact?(ee(this,"_weekdaysRegex")||So.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ty),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function So(){function e(c,d){return d.length-c.length}var t=[],n=[],r=[],a=[],o,i,s,u,l;for(o=0;o<7;o++)i=Ct([2e3,1]).day(o),s=Ke(this.weekdaysMin(i,"")),u=Ke(this.weekdaysShort(i,"")),l=Ke(this.weekdays(i,"")),t.push(s),n.push(u),r.push(l),a.push(s),a.push(u),a.push(l);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Do(){return this.hours()%12||12}function Zy(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,Do);P("k",["kk",2],0,Zy);P("hmm",0,0,function(){return""+Do.apply(this)+xt(this.minutes(),2)});P("hmmss",0,0,function(){return""+Do.apply(this)+xt(this.minutes(),2)+xt(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+xt(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+xt(this.minutes(),2)+xt(this.seconds(),2)});function rl(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}rl("a",!0);rl("A",!1);Ve("hour","h");He("hour",13);function al(e,t){return t._meridiemParse}T("a",al);T("A",al);T("H",Ie);T("h",Ie);T("k",Ie);T("HH",Ie,nt);T("hh",Ie,nt);T("kk",Ie,nt);T("hmm",zu);T("hmmss",$u);T("Hmm",zu);T("Hmmss",$u);me(["H","HH"],Fe);me(["k","kk"],function(e,t,n){var r=U(e);t[Fe]=r===24?0:r});me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});me(["h","hh"],function(e,t,n){t[Fe]=U(e),j(n).bigHour=!0});me("hmm",function(e,t,n){var r=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r)),j(n).bigHour=!0});me("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r,2)),t[At]=U(e.substr(a)),j(n).bigHour=!0});me("Hmm",function(e,t,n){var r=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r))});me("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r,2)),t[At]=U(e.substr(a))});function jy(e){return(e+"").toLowerCase().charAt(0)==="p"}var Ly=/[ap]\.?m?\.?/i,zy=mn("Hours",!0);function $y(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ol={calendar:Gb,longDateFormat:Vb,invalidDate:Xb,ordinal:jb,dayOfMonthOrdinalParse:Lb,relativeTime:$b,months:uy,monthsShort:Uu,week:Iy,weekdays:Ey,weekdaysMin:Oy,weekdaysShort:nl,meridiemParse:Ly},Ce={},xn={},Gn;function Uy(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Bi(e){return e&&e.toLowerCase().replace("_","-")}function Jy(e){for(var t=0,n,r,a,o;t<e.length;){for(o=Bi(e[t]).split("-"),n=o.length,r=Bi(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=Vr(o.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&Uy(o,r)>=n-1)break;n--}t++}return Gn}function Qy(e){return e.match("^[^/\\\\]*$")!=null}function Vr(e){var t=null,n;if(Ce[e]===void 0&&typeof module<"u"&&module&&module.exports&&Qy(e))try{t=Gn._abbr,n=require,n("./locale/"+e),Bt(t)}catch{Ce[e]=null}return Ce[e]}function Bt(e,t){var n;return e&&(ze(t)?n=Wt(e):n=ko(e,t),n?Gn=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Gn._abbr}function ko(e,t){if(t!==null){var n,r=ol;if(t.abbr=e,Ce[e]!=null)Vu("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ce[e]._config;else if(t.parentLocale!=null)if(Ce[t.parentLocale]!=null)r=Ce[t.parentLocale]._config;else if(n=Vr(t.parentLocale),n!=null)r=n._config;else return xn[t.parentLocale]||(xn[t.parentLocale]=[]),xn[t.parentLocale].push({name:e,config:t}),null;return Ce[e]=new vo(Aa(r,t)),xn[e]&&xn[e].forEach(function(a){ko(a.name,a.config)}),Bt(e),Ce[e]}else return delete Ce[e],null}function qy(e,t){if(t!=null){var n,r,a=ol;Ce[e]!=null&&Ce[e].parentLocale!=null?Ce[e].set(Aa(Ce[e]._config,t)):(r=Vr(e),r!=null&&(a=r._config),t=Aa(a,t),r==null&&(t.abbr=e),n=new vo(t),n.parentLocale=Ce[e],Ce[e]=n),Bt(e)}else Ce[e]!=null&&(Ce[e].parentLocale!=null?(Ce[e]=Ce[e].parentLocale,e===Bt()&&Bt(e)):Ce[e]!=null&&delete Ce[e]);return Ce[e]}function Wt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Gn;if(!dt(e)){if(t=Vr(e),t)return t;e=[e]}return Jy(e)}function Ky(){return Na(Ce)}function Eo(e){var t,n=e._a;return n&&j(e).overflow===-2&&(t=n[Ot]<0||n[Ot]>11?Ot:n[pt]<1||n[pt]>Br(n[Be],n[Ot])?pt:n[Fe]<0||n[Fe]>24||n[Fe]===24&&(n[ct]!==0||n[At]!==0||n[Lt]!==0)?Fe:n[ct]<0||n[ct]>59?ct:n[At]<0||n[At]>59?At:n[Lt]<0||n[Lt]>999?Lt:-1,j(e)._overflowDayOfYear&&(t<Be||t>pt)&&(t=pt),j(e)._overflowWeeks&&t===-1&&(t=oy),j(e)._overflowWeekday&&t===-1&&(t=iy),j(e).overflow=t),e}var ev=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tv=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,nv=/Z|[+-]\d\d(?::?\d\d)?/,nr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ca=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],rv=/^\/?Date\((-?\d+)/i,av=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ov={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function il(e){var t,n,r=e._i,a=ev.exec(r)||tv.exec(r),o,i,s,u,l=nr.length,c=ca.length;if(a){for(j(e).iso=!0,t=0,n=l;t<n;t++)if(nr[t][1].exec(a[1])){i=nr[t][0],o=nr[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,n=c;t<n;t++)if(ca[t][1].exec(a[3])){s=(a[2]||" ")+ca[t][0];break}if(s==null){e._isValid=!1;return}}if(!o&&s!=null){e._isValid=!1;return}if(a[4])if(nv.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=i+(s||"")+(u||""),Ao(e)}else e._isValid=!1}function iv(e,t,n,r,a,o){var i=[sv(e),Uu.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function sv(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function uv(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function lv(e,t,n){if(e){var r=nl.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return j(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function cv(e,t,n){if(e)return ov[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o=(r-a)/100;return o*60+a}function sl(e){var t=av.exec(uv(e._i)),n;if(t){if(n=iv(t[4],t[3],t[2],t[5],t[6],t[7]),!lv(t[1],n,e))return;e._a=n,e._tzm=cv(t[8],t[9],t[10]),e._d=_n.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),j(e).rfc2822=!0}else e._isValid=!1}function dv(e){var t=rv.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(il(e),e._isValid===!1)delete e._isValid;else return;if(sl(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:A.createFromInputFallback(e)}A.createFromInputFallback=at("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function en(e,t,n){return e??t??n}function fv(e){var t=new Date(A.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Oo(e){var t,n,r=[],a,o,i;if(!e._d){for(a=fv(e),e._w&&e._a[pt]==null&&e._a[Ot]==null&&hv(e),e._dayOfYear!=null&&(i=en(e._a[Be],a[Be]),(e._dayOfYear>kn(i)||e._dayOfYear===0)&&(j(e)._overflowDayOfYear=!0),n=_n(i,0,e._dayOfYear),e._a[Ot]=n.getUTCMonth(),e._a[pt]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Fe]===24&&e._a[ct]===0&&e._a[At]===0&&e._a[Lt]===0&&(e._nextDay=!0,e._a[Fe]=0),e._d=(e._useUTC?_n:vy).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Fe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(j(e).weekdayMismatch=!0)}}function hv(e){var t,n,r,a,o,i,s,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,i=4,n=en(t.GG,e._a[Be],Pn(xe(),1,4).year),r=en(t.W,1),a=en(t.E,1),(a<1||a>7)&&(u=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,l=Pn(xe(),o,i),n=en(t.gg,e._a[Be],l.year),r=en(t.w,l.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+o,(t.e<0||t.e>6)&&(u=!0)):a=o),r<1||r>Nt(n,o,i)?j(e)._overflowWeeks=!0:u!=null?j(e)._overflowWeekday=!0:(s=tl(n,r,a,o,i),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function Ao(e){if(e._f===A.ISO_8601){il(e);return}if(e._f===A.RFC_2822){sl(e);return}e._a=[],j(e).empty=!0;var t=""+e._i,n,r,a,o,i,s=t.length,u=0,l,c;for(a=Hu(e._f,e._locale).match(xo)||[],c=a.length,n=0;n<c;n++)o=a[n],r=(t.match(ny(o,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&j(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),u+=r.length),an[o]?(r?j(e).empty=!1:j(e).unusedTokens.push(o),ay(o,r,e)):e._strict&&!r&&j(e).unusedTokens.push(o);j(e).charsLeftOver=s-u,t.length>0&&j(e).unusedInput.push(t),e._a[Fe]<=12&&j(e).bigHour===!0&&e._a[Fe]>0&&(j(e).bigHour=void 0),j(e).parsedDateParts=e._a.slice(0),j(e).meridiem=e._meridiem,e._a[Fe]=mv(e._locale,e._a[Fe],e._meridiem),l=j(e).era,l!==null&&(e._a[Be]=e._locale.erasConvertYear(l,e._a[Be])),Oo(e),Eo(e)}function mv(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function gv(e){var t,n,r,a,o,i,s=!1,u=e._f.length;if(u===0){j(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)o=0,i=!1,t=yo({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ao(t),bo(t)&&(i=!0),o+=j(t).charsLeftOver,o+=j(t).unusedTokens.length*10,j(t).score=o,s?o<r&&(r=o,n=t):(r==null||o<r||i)&&(r=o,n=t,i&&(s=!0));Yt(e,n||t)}function pv(e){if(!e._d){var t=Io(e._i),n=t.day===void 0?t.date:t.day;e._a=Ru([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Oo(e)}}function bv(e){var t=new Xn(Eo(ul(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ul(e){var t=e._i,n=e._f;return e._locale=e._locale||Wt(e._l),t===null||n===void 0&&t===""?Fr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ft(t)?new Xn(Eo(t)):(Hn(t)?e._d=t:dt(n)?gv(e):n?Ao(e):yv(e),bo(e)||(e._d=null),e))}function yv(e){var t=e._i;ze(t)?e._d=new Date(A.now()):Hn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?dv(e):dt(t)?(e._a=Ru(t.slice(0),function(n){return parseInt(n,10)}),Oo(e)):zt(t)?pv(e):Tt(t)?e._d=new Date(t):A.createFromInputFallback(e)}function ll(e,t,n,r,a){var o={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(zt(e)&&po(e)||dt(e)&&e.length===0)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,bv(o)}function xe(e,t,n,r){return ll(e,t,n,r,!1)}var vv=at("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xe.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Fr()}),xv=at("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xe.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Fr()});function cl(e,t){var n,r;if(t.length===1&&dt(t[0])&&(t=t[0]),!t.length)return xe();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Iv(){var e=[].slice.call(arguments,0);return cl("isBefore",e)}function Cv(){var e=[].slice.call(arguments,0);return cl("isAfter",e)}var wv=function(){return Date.now?Date.now():+new Date},In=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mv(e){var t,n=!1,r,a=In.length;for(t in e)if(ee(e,t)&&!(Ee.call(In,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[In[r]]){if(n)return!1;parseFloat(e[In[r]])!==U(e[In[r]])&&(n=!0)}return!0}function Sv(){return this._isValid}function Dv(){return ht(NaN)}function Hr(e){var t=Io(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=Mv(t),this._milliseconds=+c+l*1e3+u*6e4+s*1e3*60*60,this._days=+i+o*7,this._months=+a+r*3+n*12,this._data={},this._locale=Wt(),this._bubble()}function ur(e){return e instanceof Hr}function Fa(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function kv(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0,i;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&U(e[i])!==U(t[i]))&&o++;return o+a}function dl(e,t){P(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+xt(~~(n/60),2)+t+xt(~~n%60,2)})}dl("Z",":");dl("ZZ","");T("Z",Rr);T("ZZ",Rr);me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=No(Rr,e)});var Ev=/([\+\-]|\d\d)/gi;function No(e,t){var n=(t||"").match(e),r,a,o;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match(Ev)||["-",0,0],o=+(a[1]*60)+U(a[2]),o===0?0:a[0]==="+"?o:-o)}function To(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(ft(e)||Hn(e)?e.valueOf():xe(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),A.updateOffset(n,!1),n):xe(e).local()}function Wa(e){return-Math.round(e._d.getTimezoneOffset())}A.updateOffset=function(){};function Ov(e,t,n){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=No(Rr,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Wa(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?ml(this,ht(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Wa(this)}function Av(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Nv(e){return this.utcOffset(0,e)}function Tv(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Wa(this),"m")),this}function Fv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=No(ey,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Wv(e){return this.isValid()?(e=e?xe(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function _v(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pv(){if(!ze(this._isDSTShifted))return this._isDSTShifted;var e={},t;return yo(e,this),e=ul(e),e._a?(t=e._isUTC?Ct(e._a):xe(e._a),this._isDSTShifted=this.isValid()&&kv(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gv(){return this.isValid()?!this._isUTC:!1}function Yv(){return this.isValid()?this._isUTC:!1}function fl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Rv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ht(e,t){var n=e,r=null,a,o,i;return ur(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Tt(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Rv.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:U(r[pt])*a,h:U(r[Fe])*a,m:U(r[ct])*a,s:U(r[At])*a,ms:U(Fa(r[Lt]*1e3))*a}):(r=Bv.exec(e))?(a=r[1]==="-"?-1:1,n={y:Ht(r[2],a),M:Ht(r[3],a),w:Ht(r[4],a),d:Ht(r[5],a),h:Ht(r[6],a),m:Ht(r[7],a),s:Ht(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=Vv(xe(n.from),xe(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),o=new Hr(n),ur(e)&&ee(e,"_locale")&&(o._locale=e._locale),ur(e)&&ee(e,"_isValid")&&(o._isValid=e._isValid),o}ht.fn=Hr.prototype;ht.invalid=Dv;function Ht(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vi(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vv(e,t){var n;return e.isValid()&&t.isValid()?(t=To(t,e),e.isBefore(t)?n=Vi(e,t):(n=Vi(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function hl(e,t){return function(n,r){var a,o;return r!==null&&!isNaN(+r)&&(Vu(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),a=ht(n,r),ml(this,a,e),this}}function ml(e,t,n,r){var a=t._milliseconds,o=Fa(t._days),i=Fa(t._months);e.isValid()&&(r=r??!0,i&&Qu(e,br(e,"Month")+i*n),o&&Zu(e,"Date",br(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&A.updateOffset(e,o||i))}var Hv=hl(1,"add"),Xv=hl(-1,"subtract");function gl(e){return typeof e=="string"||e instanceof String}function Zv(e){return ft(e)||Hn(e)||gl(e)||Tt(e)||Lv(e)||jv(e)||e===null||e===void 0}function jv(e){var t=zt(e)&&!po(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,o,i=r.length;for(a=0;a<i;a+=1)o=r[a],n=n||ee(e,o);return t&&n}function Lv(e){var t=dt(e),n=!1;return t&&(n=e.filter(function(r){return!Tt(r)&&gl(e)}).length===0),t&&n}function zv(e){var t=zt(e)&&!po(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,o;for(a=0;a<r.length;a+=1)o=r[a],n=n||ee(e,o);return t&&n}function $v(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Uv(e,t){arguments.length===1&&(arguments[0]?Zv(arguments[0])?(e=arguments[0],t=void 0):zv(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||xe(),r=To(n,this).startOf("day"),a=A.calendarFormat(this,r)||"sameElse",o=t&&(wt(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,xe(n)))}function Jv(){return new Xn(this)}function Qv(e,t){var n=ft(e)?e:xe(e);return this.isValid()&&n.isValid()?(t=ot(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function qv(e,t){var n=ft(e)?e:xe(e);return this.isValid()&&n.isValid()?(t=ot(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Kv(e,t,n,r){var a=ft(e)?e:xe(e),o=ft(t)?t:xe(t);return this.isValid()&&a.isValid()&&o.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(r[1]===")"?this.isBefore(o,n):!this.isAfter(o,n))):!1}function e0(e,t){var n=ft(e)?e:xe(e),r;return this.isValid()&&n.isValid()?(t=ot(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function t0(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function n0(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function r0(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(r=To(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=ot(t),t){case"year":o=lr(this,r)/12;break;case"month":o=lr(this,r);break;case"quarter":o=lr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:rt(o)}function lr(e,t){if(e.date()<t.date())return-lr(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),a,o;return t-r<0?(a=e.clone().add(n-1,"months"),o=(t-r)/(r-a)):(a=e.clone().add(n+1,"months"),o=(t-r)/(a-r)),-(n+o)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function a0(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function o0(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?sr(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):wt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",sr(n,"Z")):sr(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function i0(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(n+r+a+o)}function s0(e){e||(e=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var t=sr(this,e);return this.localeData().postformat(t)}function u0(e,t){return this.isValid()&&(ft(e)&&e.isValid()||xe(e).isValid())?ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function l0(e){return this.from(xe(),e)}function c0(e,t){return this.isValid()&&(ft(e)&&e.isValid()||xe(e).isValid())?ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function d0(e){return this.to(xe(),e)}function pl(e){var t;return e===void 0?this._locale._abbr:(t=Wt(e),t!=null&&(this._locale=t),this)}var bl=at("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function yl(){return this._locale}var xr=1e3,on=60*xr,Ir=60*on,vl=(365*400+97)*24*Ir;function sn(e,t){return(e%t+t)%t}function xl(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-vl:new Date(e,t,n).valueOf()}function Il(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-vl:Date.UTC(e,t,n)}function f0(e){var t,n;if(e=ot(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Il:xl,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=sn(t+(this._isUTC?0:this.utcOffset()*on),Ir);break;case"minute":t=this._d.valueOf(),t-=sn(t,on);break;case"second":t=this._d.valueOf(),t-=sn(t,xr);break}return this._d.setTime(t),A.updateOffset(this,!0),this}function h0(e){var t,n;if(e=ot(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Il:xl,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ir-sn(t+(this._isUTC?0:this.utcOffset()*on),Ir)-1;break;case"minute":t=this._d.valueOf(),t+=on-sn(t,on)-1;break;case"second":t=this._d.valueOf(),t+=xr-sn(t,xr)-1;break}return this._d.setTime(t),A.updateOffset(this,!0),this}function m0(){return this._d.valueOf()-(this._offset||0)*6e4}function g0(){return Math.floor(this.valueOf()/1e3)}function p0(){return new Date(this.valueOf())}function b0(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function y0(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function v0(){return this.isValid()?this.toISOString():null}function x0(){return bo(this)}function I0(){return Yt({},j(this))}function C0(){return j(this).overflow}function w0(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");T("N",Fo);T("NN",Fo);T("NNN",Fo);T("NNNN",W0);T("NNNNN",_0);me(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?j(n).era=a:j(n).invalidEra=e});T("y",gn);T("yy",gn);T("yyy",gn);T("yyyy",gn);T("yo",P0);me(["y","yy","yyy","yyyy"],Be);me(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Be]=n._locale.eraYearOrdinalParse(e,a):t[Be]=parseInt(e,10)});function M0(e,t){var n,r,a,o=this._eras||Wt("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":a=A(o[n].since).startOf("day"),o[n].since=a.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=A(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf();break}}return o}function S0(e,t,n){var r,a,o=this.eras(),i,s,u;for(e=e.toUpperCase(),r=0,a=o.length;r<a;++r)if(i=o[r].name.toUpperCase(),s=o[r].abbr.toUpperCase(),u=o[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return o[r];break;case"NNNN":if(i===e)return o[r];break;case"NNNNN":if(u===e)return o[r];break}else if([i,s,u].indexOf(e)>=0)return o[r]}function D0(e,t){var n=e.since<=e.until?1:-1;return t===void 0?A(e.since).year():A(e.since).year()+(t-e.offset)*n}function k0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function E0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function O0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function A0(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-A(a[e].since).year())*n+a[e].offset;return this.year()}function N0(e){return ee(this,"_erasNameRegex")||Wo.call(this),e?this._erasNameRegex:this._erasRegex}function T0(e){return ee(this,"_erasAbbrRegex")||Wo.call(this),e?this._erasAbbrRegex:this._erasRegex}function F0(e){return ee(this,"_erasNarrowRegex")||Wo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fo(e,t){return t.erasAbbrRegex(e)}function W0(e,t){return t.erasNameRegex(e)}function _0(e,t){return t.erasNarrowRegex(e)}function P0(e,t){return t._eraYearOrdinalRegex||gn}function Wo(){var e=[],t=[],n=[],r=[],a,o,i=this.eras();for(a=0,o=i.length;a<o;++a)t.push(Ke(i[a].name)),e.push(Ke(i[a].abbr)),n.push(Ke(i[a].narrow)),r.push(Ke(i[a].name)),r.push(Ke(i[a].abbr)),r.push(Ke(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Xr(e,t){P(0,[e,e.length],0,t)}Xr("gggg","weekYear");Xr("ggggg","weekYear");Xr("GGGG","isoWeekYear");Xr("GGGGG","isoWeekYear");Ve("weekYear","gg");Ve("isoWeekYear","GG");He("weekYear",1);He("isoWeekYear",1);T("G",Yr);T("g",Yr);T("GG",Ie,nt);T("gg",Ie,nt);T("GGGG",wo,Co);T("gggg",wo,Co);T("GGGGG",Gr,_r);T("ggggg",Gr,_r);jn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=U(e)});jn(["gg","GG"],function(e,t,n,r){t[r]=A.parseTwoDigitYear(e)});function G0(e){return Cl.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Y0(e){return Cl.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function R0(){return Nt(this.year(),1,4)}function B0(){return Nt(this.isoWeekYear(),1,4)}function V0(){var e=this.localeData()._week;return Nt(this.year(),e.dow,e.doy)}function H0(){var e=this.localeData()._week;return Nt(this.weekYear(),e.dow,e.doy)}function Cl(e,t,n,r,a){var o;return e==null?Pn(this,r,a).year:(o=Nt(e,r,a),t>o&&(t=o),X0.call(this,e,t,n,r,a))}function X0(e,t,n,r,a){var o=tl(e,t,n,r,a),i=_n(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}P("Q",0,"Qo","quarter");Ve("quarter","Q");He("quarter",7);T("Q",ju);me("Q",function(e,t){t[Ot]=(U(e)-1)*3});function Z0(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");Ve("date","D");He("date",9);T("D",Ie);T("DD",Ie,nt);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});me(["D","DD"],pt);me("Do",function(e,t){t[pt]=U(e.match(Ie)[0])});var wl=mn("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");Ve("dayOfYear","DDD");He("dayOfYear",4);T("DDD",Pr);T("DDDD",Lu);me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=U(e)});function j0(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");Ve("minute","m");He("minute",14);T("m",Ie);T("mm",Ie,nt);me(["m","mm"],ct);var L0=mn("Minutes",!1);P("s",["ss",2],0,"second");Ve("second","s");He("second",15);T("s",Ie);T("ss",Ie,nt);me(["s","ss"],At);var z0=mn("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Ve("millisecond","ms");He("millisecond",16);T("S",Pr,ju);T("SS",Pr,nt);T("SSS",Pr,Lu);var Rt,Ml;for(Rt="SSSS";Rt.length<=9;Rt+="S")T(Rt,gn);function $0(e,t){t[Lt]=U(("0."+e)*1e3)}for(Rt="S";Rt.length<=9;Rt+="S")me(Rt,$0);Ml=mn("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function U0(){return this._isUTC?"UTC":""}function J0(){return this._isUTC?"Coordinated Universal Time":""}var D=Xn.prototype;D.add=Hv;D.calendar=Uv;D.clone=Jv;D.diff=r0;D.endOf=h0;D.format=s0;D.from=u0;D.fromNow=l0;D.to=c0;D.toNow=d0;D.get=qb;D.invalidAt=C0;D.isAfter=Qv;D.isBefore=qv;D.isBetween=Kv;D.isSame=e0;D.isSameOrAfter=t0;D.isSameOrBefore=n0;D.isValid=x0;D.lang=bl;D.locale=pl;D.localeData=yl;D.max=xv;D.min=vv;D.parsingFlags=I0;D.set=Kb;D.startOf=f0;D.subtract=Xv;D.toArray=b0;D.toObject=y0;D.toDate=p0;D.toISOString=o0;D.inspect=i0;typeof Symbol<"u"&&Symbol.for!=null&&(D[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});D.toJSON=v0;D.toString=a0;D.unix=g0;D.valueOf=m0;D.creationData=w0;D.eraName=k0;D.eraNarrow=E0;D.eraAbbr=O0;D.eraYear=A0;D.year=el;D.isLeapYear=yy;D.weekYear=G0;D.isoWeekYear=Y0;D.quarter=D.quarters=Z0;D.month=qu;D.daysInMonth=gy;D.week=D.weeks=My;D.isoWeek=D.isoWeeks=Sy;D.weeksInYear=V0;D.weeksInWeekYear=H0;D.isoWeeksInYear=R0;D.isoWeeksInISOWeekYear=B0;D.date=wl;D.day=D.days=Yy;D.weekday=Ry;D.isoWeekday=By;D.dayOfYear=j0;D.hour=D.hours=zy;D.minute=D.minutes=L0;D.second=D.seconds=z0;D.millisecond=D.milliseconds=Ml;D.utcOffset=Ov;D.utc=Nv;D.local=Tv;D.parseZone=Fv;D.hasAlignedHourOffset=Wv;D.isDST=_v;D.isLocal=Gv;D.isUtcOffset=Yv;D.isUtc=fl;D.isUTC=fl;D.zoneAbbr=U0;D.zoneName=J0;D.dates=at("dates accessor is deprecated. Use date instead.",wl);D.months=at("months accessor is deprecated. Use month instead",qu);D.years=at("years accessor is deprecated. Use year instead",el);D.zone=at("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Av);D.isDSTShifted=at("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pv);function Q0(e){return xe(e*1e3)}function q0(){return xe.apply(null,arguments).parseZone()}function Sl(e){return e}var te=vo.prototype;te.calendar=Yb;te.longDateFormat=Hb;te.invalidDate=Zb;te.ordinal=zb;te.preparse=Sl;te.postformat=Sl;te.relativeTime=Ub;te.pastFuture=Jb;te.set=Pb;te.eras=M0;te.erasParse=S0;te.erasConvertYear=D0;te.erasAbbrRegex=T0;te.erasNameRegex=N0;te.erasNarrowRegex=F0;te.months=dy;te.monthsShort=fy;te.monthsParse=my;te.monthsRegex=by;te.monthsShortRegex=py;te.week=xy;te.firstDayOfYear=wy;te.firstDayOfWeek=Cy;te.weekdays=Fy;te.weekdaysMin=_y;te.weekdaysShort=Wy;te.weekdaysParse=Gy;te.weekdaysRegex=Vy;te.weekdaysShortRegex=Hy;te.weekdaysMinRegex=Xy;te.isPM=jy;te.meridiem=$y;function Cr(e,t,n,r){var a=Wt(),o=Ct().set(r,t);return a[n](o,e)}function Dl(e,t,n){if(Tt(e)&&(t=e,e=void 0),e=e||"",t!=null)return Cr(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Cr(e,r,n,"month");return a}function _o(e,t,n,r){typeof e=="boolean"?(Tt(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Tt(t)&&(n=t,t=void 0),t=t||"");var a=Wt(),o=e?a._week.dow:0,i,s=[];if(n!=null)return Cr(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=Cr(t,(i+o)%7,r,"day");return s}function K0(e,t){return Dl(e,t,"months")}function e1(e,t){return Dl(e,t,"monthsShort")}function t1(e,t,n){return _o(e,t,n,"weekdays")}function n1(e,t,n){return _o(e,t,n,"weekdaysShort")}function r1(e,t,n){return _o(e,t,n,"weekdaysMin")}Bt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=U(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});A.lang=at("moment.lang is deprecated. Use moment.locale instead.",Bt);A.langData=at("moment.langData is deprecated. Use moment.localeData instead.",Wt);var St=Math.abs;function a1(){var e=this._data;return this._milliseconds=St(this._milliseconds),this._days=St(this._days),this._months=St(this._months),e.milliseconds=St(e.milliseconds),e.seconds=St(e.seconds),e.minutes=St(e.minutes),e.hours=St(e.hours),e.months=St(e.months),e.years=St(e.years),this}function kl(e,t,n,r){var a=ht(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function o1(e,t){return kl(this,e,t,1)}function i1(e,t){return kl(this,e,t,-1)}function Hi(e){return e<0?Math.floor(e):Math.ceil(e)}function s1(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,o,i,s,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Hi(_a(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=rt(e/1e3),r.seconds=a%60,o=rt(a/60),r.minutes=o%60,i=rt(o/60),r.hours=i%24,t+=rt(i/24),u=rt(El(t)),n+=u,t-=Hi(_a(u)),s=rt(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function El(e){return e*4800/146097}function _a(e){return e*146097/4800}function u1(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ot(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+El(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_a(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function l1(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+U(this._months/12)*31536e6:NaN}function _t(e){return function(){return this.as(e)}}var c1=_t("ms"),d1=_t("s"),f1=_t("m"),h1=_t("h"),m1=_t("d"),g1=_t("w"),p1=_t("M"),b1=_t("Q"),y1=_t("y");function v1(){return ht(this)}function x1(e){return e=ot(e),this.isValid()?this[e+"s"]():NaN}function $t(e){return function(){return this.isValid()?this._data[e]:NaN}}var I1=$t("milliseconds"),C1=$t("seconds"),w1=$t("minutes"),M1=$t("hours"),S1=$t("days"),D1=$t("months"),k1=$t("years");function E1(){return rt(this.days()/7)}var Dt=Math.round,tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function O1(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function A1(e,t,n,r){var a=ht(e).abs(),o=Dt(a.as("s")),i=Dt(a.as("m")),s=Dt(a.as("h")),u=Dt(a.as("d")),l=Dt(a.as("M")),c=Dt(a.as("w")),d=Dt(a.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return n.w!=null&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),h=h||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,O1.apply(null,h)}function N1(e){return e===void 0?Dt:typeof e=="function"?(Dt=e,!0):!1}function T1(e,t){return tn[e]===void 0?!1:t===void 0?tn[e]:(tn[e]=t,e==="s"&&(tn.ss=t-1),!0)}function F1(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=tn,a,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},tn,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),o=A1(this,!n,r,a),n&&(o=a.pastFuture(+this,o)),a.postformat(o)}var da=Math.abs;function qt(e){return(e>0)-(e<0)||+e}function Zr(){if(!this.isValid())return this.localeData().invalidDate();var e=da(this._milliseconds)/1e3,t=da(this._days),n=da(this._months),r,a,o,i,s=this.asSeconds(),u,l,c,d;return s?(r=rt(e/60),a=rt(r/60),e%=60,r%=60,o=rt(n/12),n%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=qt(this._months)!==qt(s)?"-":"",c=qt(this._days)!==qt(s)?"-":"",d=qt(this._milliseconds)!==qt(s)?"-":"",u+"P"+(o?l+o+"Y":"")+(n?l+n+"M":"")+(t?c+t+"D":"")+(a||r||e?"T":"")+(a?d+a+"H":"")+(r?d+r+"M":"")+(e?d+i+"S":"")):"P0D"}var q=Hr.prototype;q.isValid=Sv;q.abs=a1;q.add=o1;q.subtract=i1;q.as=u1;q.asMilliseconds=c1;q.asSeconds=d1;q.asMinutes=f1;q.asHours=h1;q.asDays=m1;q.asWeeks=g1;q.asMonths=p1;q.asQuarters=b1;q.asYears=y1;q.valueOf=l1;q._bubble=s1;q.clone=v1;q.get=x1;q.milliseconds=I1;q.seconds=C1;q.minutes=w1;q.hours=M1;q.days=S1;q.weeks=E1;q.months=D1;q.years=k1;q.humanize=F1;q.toISOString=Zr;q.toString=Zr;q.toJSON=Zr;q.locale=pl;q.localeData=yl;q.toIsoString=at("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zr);q.lang=bl;P("X",0,0,"unix");P("x",0,0,"valueOf");T("x",Yr);T("X",ty);me("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});me("x",function(e,t,n){n._d=new Date(U(e))});//! moment.js
|
|
970
|
+
A.version="2.29.4";Wb(xe);A.fn=D;A.min=Iv;A.max=Cv;A.now=wv;A.utc=Ct;A.unix=Q0;A.months=K0;A.isDate=Hn;A.locale=Bt;A.invalid=Fr;A.duration=ht;A.isMoment=ft;A.weekdays=t1;A.parseZone=q0;A.localeData=Wt;A.isDuration=ur;A.monthsShort=e1;A.weekdaysMin=r1;A.defineLocale=ko;A.updateLocale=qy;A.locales=Ky;A.weekdaysShort=n1;A.normalizeUnits=ot;A.relativeTimeRounding=N1;A.relativeTimeThreshold=T1;A.calendarFormat=$v;A.prototype=D;A.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var W1="Expected a function",Xi=NaN,_1="[object Symbol]",P1=/^\s+|\s+$/g,G1=/^[-+]0x[0-9a-f]+$/i,Y1=/^0b[01]+$/i,R1=/^0o[0-7]+$/i,B1=parseInt,V1=typeof Jn=="object"&&Jn&&Jn.Object===Object&&Jn,H1=typeof self=="object"&&self&&self.Object===Object&&self,X1=V1||H1||Function("return this")(),Z1=Object.prototype,j1=Z1.toString,L1=Math.max,z1=Math.min,fa=function(){return X1.Date.now()};function $1(e,t,n){var r,a,o,i,s,u,l=0,c=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(W1);t=Zi(t)||0,Pa(n)&&(c=!!n.leading,d="maxWait"in n,o=d?L1(Zi(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function g(b){var S=r,E=a;return r=a=void 0,l=b,i=e.apply(E,S),i}function m(b){return l=b,s=setTimeout(I,t),c?g(b):i}function v(b){var S=b-u,E=b-l,k=t-S;return d?z1(k,o-E):k}function p(b){var S=b-u,E=b-l;return u===void 0||S>=t||S<0||d&&E>=o}function I(){var b=fa();if(p(b))return y(b);s=setTimeout(I,v(b))}function y(b){return s=void 0,h&&r?g(b):(r=a=void 0,i)}function C(){s!==void 0&&clearTimeout(s),l=0,r=u=a=s=void 0}function M(){return s===void 0?i:y(fa())}function x(){var b=fa(),S=p(b);if(r=arguments,a=this,u=b,S){if(s===void 0)return m(u);if(d)return s=setTimeout(I,t),g(u)}return s===void 0&&(s=setTimeout(I,t)),i}return x.cancel=C,x.flush=M,x}function Pa(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function U1(e){return!!e&&typeof e=="object"}function J1(e){return typeof e=="symbol"||U1(e)&&j1.call(e)==_1}function Zi(e){if(typeof e=="number")return e;if(J1(e))return Xi;if(Pa(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Pa(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(P1,"");var n=Y1.test(e);return n||R1.test(e)?B1(e.slice(2),n?2:8):G1.test(e)?Xi:+e}var Q1=$1;const q1=Hc(Q1),K1=/^\d{4}$/g,ha="default",Ol=({label:e,value:t,onChange:n,inputMode:r="am"})=>{const a=Ft.useIntl(),[o,i]=f.useState(t),[s,u]=f.useState(t),[l,c]=f.useState(r),[d,h]=f.useState(ha),[g,m]=f.useState(),[v,p]=f.useState(""),I=f.useCallback(({time:k,mode:W})=>{const G=parseInt(k[0]),L=parseInt(k[1]);if(isNaN(G)||isNaN(L))return h("error"),m(a.formatMessage(ge.notNumber)),!1;const z=new RegExp(W==="24h"?"([0-1][0-9]{1}|[2][0-3]{1}):([0-5]{1}[0-9]{1})":"([0][1-9]|[1][0-2]{1}):([0-5]{1}[0-9]{1})"),N=G<10?`0${G}:${k[1]}`:`${G}:${k[1]}`;return z.test(N)?(h(ha),!0):(h("error"),m(a.formatMessage(ge.invalidTime)),!1)},[a]),y=f.useCallback(({date:k,time:W,mode:G})=>{if(!W||!G||!I({time:W,mode:G})||!k)return;const L=parseInt(W[0]),z=parseInt(W[1]),N=A(k);G==="am"&&L===12?N.hour(0):G==="pm"&&L===12?N.hour(12):G==="pm"?N.hour(L+12):N.hour(L),N.minute(z),n&&n(N.toDate())},[n,I]),C=f.useCallback(k=>{i(k),y({date:k,time:s,mode:l})},[l,s,y]),M=f.useCallback(k=>{(k.charCode<48||k.charCode>58)&&k.preventDefault()},[]),x=f.useCallback(k=>{if(k.length!==2){h("error"),m(a.formatMessage(ge.wrongFormat));return}u(k),y({date:o,time:k,mode:l})},[a,o,l,y]),b=f.useCallback(({value:k})=>{c(k),y({date:o,time:s,mode:k})},[o,s,y]),S=q1(x,500),E=f.useCallback(k=>{const W=k.target.value;let G=W;h(ha),W.match(K1)&&(G=`${W.slice(0,2)}:${W.slice(2)}`),p(G),S(G.split(":"))},[S]);return f.createElement(ex,null,f.createElement(Pu,{width:"100%",label:e||a.formatMessage(ge.dateTimePickerLabel),value:o,onDayChange:C}),f.createElement(Sr,{placeholder:a.formatMessage(ge.timeInputPlaceholder),label:a.formatMessage(ge.timeInputLabel),onChange:E,state:d,errorMessage:g,value:v,onKeyPress:M}),f.createElement("div",{style:{paddingTop:"28px"}},f.createElement(oo,{options:[{value:"am",label:a.formatMessage(ge.am)},{value:"pm",label:a.formatMessage(ge.pm)},{value:"24h",label:a.formatMessage(ge.twentyFourHour)}],defaultValue:{value:"am",label:a.formatMessage(ge.am)},onChange:b})))},ex=O.div`
|
|
964
971
|
display: grid;
|
|
965
972
|
grid-template-columns: 180px 90px 90px;
|
|
966
973
|
column-gap: 8px;
|
|
967
|
-
`;
|
|
974
|
+
`;Ol.propTypes={onChange:fe.func.isRequired,label:fe.string,inputMode:fe.oneOf(["am","pm","24h"])};const tx={border:`solid 1px ${vt.lighten40(vt.active)}`,borderRadius:Ga.radius400},nx=f.forwardRef(({results:e,focusedResultIndex:t,onResultClick:n},r)=>f.createElement(rx,null,e.map((a,o)=>f.createElement(f.Fragment,{key:a.text||o},f.createElement(ax,{onClick:()=>n(a),style:o===t?tx:{},ref:o===t?r:null},a.component))))),rx=O.ul`
|
|
968
975
|
padding: 0px;
|
|
969
976
|
margin: 0px;
|
|
970
|
-
|
|
977
|
+
`,ax=O.li`
|
|
971
978
|
padding: 9px 15px 9px 15px;
|
|
972
979
|
border: solid 1px transparent;
|
|
973
980
|
list-style-type: none;
|
|
974
981
|
cursor: pointer;
|
|
975
982
|
&:hover {
|
|
976
|
-
background: ${
|
|
983
|
+
background: ${vt.toBgLight(vt.active)};
|
|
977
984
|
}
|
|
978
|
-
`,
|
|
985
|
+
`,ox=({maxHeight:e,children:t})=>React.createElement(ix,null,React.createElement(sx,{maxHeight:e},t)),ix=O.div`
|
|
979
986
|
position: relative;
|
|
980
987
|
display: block;
|
|
981
988
|
width: 100%;
|
|
982
989
|
z-index: 1000;
|
|
983
|
-
`,
|
|
990
|
+
`,sx=O.div`
|
|
984
991
|
position: absolute;
|
|
985
992
|
display: block;
|
|
986
993
|
width: 100%;
|
|
987
|
-
background: ${
|
|
994
|
+
background: ${vt.white};
|
|
988
995
|
margin-top: 8px;
|
|
989
996
|
padding-top: 8px;
|
|
990
997
|
padding-bottom: 8px;
|
|
991
|
-
box-shadow: ${
|
|
998
|
+
box-shadow: ${Ga.shadow400};
|
|
992
999
|
border-radius: 4px;
|
|
993
1000
|
max-height: ${e=>e.maxHeight};
|
|
994
1001
|
overflow-y: auto;
|
|
995
|
-
`,
|
|
1002
|
+
`,cn=Ft.defineMessages({typeaheadNoResults:{id:"typeahead.noResults",defaultMessage:"No results found"},typeaheadNoResultsDetails:{id:"typeahead.noResultsDetails",defaultMessage:'We found no results for "{query}"'},typeaheadServerError:{id:"typeahead.serverError",defaultMessage:"Server Error"},typeaheadServerErrorDetails:{id:"typeahead.serverErrorDetails",defaultMessage:"Oh no, there seems to be an issue with our servers. Please try again later"},typeaheadSearching:{id:"typeahead.searching",defaultMessage:"Searching..."},typeaheadSearchingDetails:{id:"typeahead.searchingDetails",defaultMessage:'Please wait as we try to find "{query}"'}}),wr="48px",ux={width:wr,height:wr,fill:vt.gray07},Po=({icon:e,title:t,details:n})=>{const r=e;return React.createElement(dx,null,React.createElement(r,{style:ux}),React.createElement(lx,null,t),React.createElement(cx,null,n))},lx=O(J.TextEpsilon)`
|
|
996
1003
|
text-align: center;
|
|
997
1004
|
margin-bottom: 8px;
|
|
998
|
-
`,
|
|
1005
|
+
`,cx=O(J.BodyUI)`
|
|
999
1006
|
text-align: center;
|
|
1000
|
-
color: ${
|
|
1001
|
-
`,
|
|
1007
|
+
color: ${vt.gray04};
|
|
1008
|
+
`,dx=O.div`
|
|
1002
1009
|
display: flex;
|
|
1003
1010
|
flex-direction: column;
|
|
1004
1011
|
align-items: center;
|
|
1005
1012
|
padding: 24px;
|
|
1006
|
-
`,
|
|
1013
|
+
`,fx=()=>{const e=Ft.useIntl();return React.createElement(Po,{icon:We.IconError,title:e.formatMessage(cn.typeaheadServerError),details:e.formatMessage(cn.typeaheadServerErrorDetails)})},hx=({query:e})=>{const t=Ft.useIntl();return React.createElement(Po,{icon:We.IconSearch,title:t.formatMessage(cn.typeaheadNoResults),details:t.formatMessage(cn.typeaheadNoResultsDetails,{query:e})})},mx=()=>React.createElement(Ul.Loader,{containerWidth:wr,containerHeight:wr}),gx=({query:e})=>{const t=Ft.useIntl();return React.createElement(Po,{icon:mx,title:t.formatMessage(cn.typeaheadSearching),details:t.formatMessage(cn.typeaheadSearchingDetails,{query:e})})},Al=({onQuery:e,loading:t,results:n,onSelect:r,onClear:a,keepResult:o=!1,placeholder:i="",errorMessage:s=null,queryError:u=!1,dropdownMaxHeight:l="350px"})=>{const[c,d]=f.useState({q:""}),h=$l.hooks.useDebounce(c,300),[g,m]=f.useState(null),[v,p]=f.useState(!0),[I,y]=f.useState(null),C=f.useRef(null),M=f.useRef(null),x=c!==h,b=c.q.length>1&&!I&&v;f.useEffect(()=>{o||d({q:""})},[o]),f.useEffect(()=>{if(I)return;const{q:N}=h;N.length<2||e(N)},[e,h,I]),f.useEffect(()=>{n.length===0&&m(null),n.length>0&&m(0)},[n]);const S=()=>g<n.length-1?g+1:g,E=()=>g>0?g-1:g,k=N=>{o&&N.text?d({q:N.text}):d({q:""}),y(N),r(N.data),m(null)},W=N=>{const{value:$}=N.target;d({q:$}),p(!0),y(null),m(null),o&&I&&(a==null||a())};f.useEffect(()=>{M.current&&M.current.scrollIntoView({block:"nearest"})},[g]);const G=N=>{b&&(u||x||t||(N.key==="ArrowUp"?(m(E()),N.preventDefault()):N.key==="ArrowDown"?(m(S()),N.preventDefault()):N.key==="Enter"&&g!=null&&(k(n[g]),N.preventDefault())))},L=N=>{k(N)};f.useEffect(()=>{const N=$=>{C.current&&!C.current.contains($.target)?p(!1):p(!0)};return document.addEventListener("pointerdown",N),function(){document.removeEventListener("pointerdown",N)}},[C]);const z=()=>u?React.createElement(fx,null):x||t?React.createElement(gx,{query:c.q}):n.length>0?React.createElement(nx,{results:n,focusedResultIndex:g,onResultClick:L,ref:M}):React.createElement(hx,{query:c.q});return React.createElement(px,{ref:C},React.createElement(Sr,{placeholder:i,icon:We.IconSearch,value:c.q,name:"inputValue",onChange:W,onKeyDown:G,state:s?"error":"default",errorMessage:s,autoComplete:"off"}),b&&React.createElement(ox,{maxHeight:l},z()))},px=O.div`
|
|
1007
1014
|
width: 100%;
|
|
1008
|
-
`;
|
|
1015
|
+
`;Al.propTypes={onQuery:fe.func.isRequired,loading:fe.bool.isRequired,results:fe.arrayOf(fe.shape({text:fe.string,component:fe.element.isRequired,data:fe.any.isRequired})).isRequired,onSelect:fe.func.isRequired,onClear:fe.func,keepResult:fe.bool,placeholder:fe.string,errorMessage:fe.string,queryError:fe.bool,dropdownMaxHeight:fe.string};exports.Badge=$s;exports.Checkbox=Xs;exports.CheckboxGroup=nm;exports.DatePicker=Pu;exports.DateTimePicker=Ol;exports.Dropdown=oo;exports.Input=Sr;exports.InputNumber=nc;exports.Link=Th;exports.LinkExternal=Fh;exports.MonthDayPicker=Tb;exports.RadioButton=Zs;exports.StyledInput=Va;exports.Switch=Wh;exports.Tag=zs;exports.Textarea=cm;exports.Typeahead=Al;exports.devWarning=Mr;exports.dropdownStyles=Rs;exports.getDateFormatPattern=Du;exports.getValidChildrenArray=Li;exports.isString=ji;exports.sanitiseHashtag=Kl;exports.toCamelCase=Ql;exports.useDevWarningOnce=Ba;exports.uuidv4=Vt;
|
|
1009
1016
|
//# sourceMappingURL=index.cjs.js.map
|