luis-ui-lib 1.1.74 → 1.1.76

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.
@@ -12,13 +12,13 @@
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var Vu;function zg(){return Vu||(Vu=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=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,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(W){return typeof W=="string"||typeof W=="function"||W===o||W===l||W===i||W===n||W===d||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===m||W.$$typeof===p||W.$$typeof===a||W.$$typeof===s||W.$$typeof===c||W.$$typeof===h||W.$$typeof===b||W.$$typeof===C||W.$$typeof===g)}function w(W){if(typeof W=="object"&&W!==null){var te=W.$$typeof;switch(te){case t:var ae=W.type;switch(ae){case u:case l:case o:case i:case n:case d:return ae;default:var se=ae&&ae.$$typeof;switch(se){case s:case c:case m:case p:case a:return se;default:return te}}case r:return te}}}var I=u,A=l,x=s,E=a,P=t,_=c,L=o,j=m,O=p,N=r,T=i,M=n,G=d,B=!1;function Z(W){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(W)||w(W)===u}function R(W){return w(W)===l}function F(W){return w(W)===s}function D(W){return w(W)===a}function H(W){return typeof W=="object"&&W!==null&&W.$$typeof===t}function k(W){return w(W)===c}function X(W){return w(W)===o}function $(W){return w(W)===m}function Y(W){return w(W)===p}function q(W){return w(W)===r}function U(W){return w(W)===i}function K(W){return w(W)===n}function re(W){return w(W)===d}pe.AsyncMode=I,pe.ConcurrentMode=A,pe.ContextConsumer=x,pe.ContextProvider=E,pe.Element=P,pe.ForwardRef=_,pe.Fragment=L,pe.Lazy=j,pe.Memo=O,pe.Portal=N,pe.Profiler=T,pe.StrictMode=M,pe.Suspense=G,pe.isAsyncMode=Z,pe.isConcurrentMode=R,pe.isContextConsumer=F,pe.isContextProvider=D,pe.isElement=H,pe.isForwardRef=k,pe.isFragment=X,pe.isLazy=$,pe.isMemo=Y,pe.isPortal=q,pe.isProfiler=U,pe.isStrictMode=K,pe.isSuspense=re,pe.isValidElementType=S,pe.typeOf=w}()),pe}var ju;function lr(){return ju||(ju=1,process.env.NODE_ENV==="production"?yr.exports=$g():yr.exports=zg()),yr.exports}/*
15
+ */var Vu;function zg(){return Vu||(Vu=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=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,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(W){return typeof W=="string"||typeof W=="function"||W===o||W===l||W===i||W===n||W===d||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===m||W.$$typeof===p||W.$$typeof===a||W.$$typeof===s||W.$$typeof===c||W.$$typeof===h||W.$$typeof===b||W.$$typeof===C||W.$$typeof===g)}function w(W){if(typeof W=="object"&&W!==null){var te=W.$$typeof;switch(te){case t:var ae=W.type;switch(ae){case u:case l:case o:case i:case n:case d:return ae;default:var se=ae&&ae.$$typeof;switch(se){case s:case c:case m:case p:case a:return se;default:return te}}case r:return te}}}var I=u,A=l,x=s,E=a,P=t,_=c,L=o,j=m,O=p,N=r,T=i,M=n,G=d,B=!1;function Z(W){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(W)||w(W)===u}function R(W){return w(W)===l}function F(W){return w(W)===s}function D(W){return w(W)===a}function H(W){return typeof W=="object"&&W!==null&&W.$$typeof===t}function k(W){return w(W)===c}function $(W){return w(W)===o}function X(W){return w(W)===m}function Y(W){return w(W)===p}function q(W){return w(W)===r}function U(W){return w(W)===i}function K(W){return w(W)===n}function re(W){return w(W)===d}pe.AsyncMode=I,pe.ConcurrentMode=A,pe.ContextConsumer=x,pe.ContextProvider=E,pe.Element=P,pe.ForwardRef=_,pe.Fragment=L,pe.Lazy=j,pe.Memo=O,pe.Portal=N,pe.Profiler=T,pe.StrictMode=M,pe.Suspense=G,pe.isAsyncMode=Z,pe.isConcurrentMode=R,pe.isContextConsumer=F,pe.isContextProvider=D,pe.isElement=H,pe.isForwardRef=k,pe.isFragment=$,pe.isLazy=X,pe.isMemo=Y,pe.isPortal=q,pe.isProfiler=U,pe.isStrictMode=K,pe.isSuspense=re,pe.isValidElementType=S,pe.typeOf=w}()),pe}var ju;function lr(){return ju||(ju=1,process.env.NODE_ENV==="production"?yr.exports=$g():yr.exports=zg()),yr.exports}/*
16
16
  object-assign
17
17
  (c) Sindre Sorhus
18
18
  @license MIT
19
- */var Rn,Bu;function Yg(){if(Bu)return Rn;Bu=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function n(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var u=Object.getOwnPropertyNames(a).map(function(c){return a[c]});if(u.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Rn=n()?Object.assign:function(i,a){for(var s,u=o(i),l,c=1;c<arguments.length;c++){s=Object(arguments[c]);for(var d in s)t.call(s,d)&&(u[d]=s[d]);if(e){l=e(s);for(var f=0;f<l.length;f++)r.call(s,l[f])&&(u[l[f]]=s[l[f]])}}return u},Rn}var Pn,Lu;function Fa(){if(Lu)return Pn;Lu=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Pn=e,Pn}var On,Du;function R1(){return Du||(Du=1,On=Function.call.bind(Object.prototype.hasOwnProperty)),On}var _n,Gu;function qg(){if(Gu)return _n;Gu=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Fa(),r={},o=R1();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function n(i,a,s,u,l){if(process.env.NODE_ENV!=="production"){for(var c in i)if(o(i,c)){var d;try{if(typeof i[c]!="function"){var f=Error((u||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}d=i[c](a,c,u,s,null,t)}catch(m){d=m}if(d&&!(d instanceof Error)&&e((u||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in r)){r[d.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+d.message+(p??""))}}}}return n.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},_n=n,_n}var Tn,Wu;function Jg(){if(Wu)return Tn;Wu=1;var e=lr(),t=Yg(),r=Fa(),o=R1(),n=qg(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Tn=function(s,u){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function d(R){var F=R&&(l&&R[l]||R[c]);if(typeof F=="function")return F}var f="<<anonymous>>",p={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:C(),arrayOf:S,element:w(),elementType:I(),instanceOf:A,node:_(),objectOf:E,oneOf:x,oneOfType:P,shape:j,exact:O};function m(R,F){return R===F?R!==0||1/R===1/F:R!==R&&F!==F}function g(R,F){this.message=R,this.data=F&&typeof F=="object"?F:{},this.stack=""}g.prototype=Error.prototype;function h(R){if(process.env.NODE_ENV!=="production")var F={},D=0;function H(X,$,Y,q,U,K,re){if(q=q||f,K=K||Y,re!==r){if(u){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var te=q+":"+Y;!F[te]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),F[te]=!0,D++)}}return $[Y]==null?X?$[Y]===null?new g("The "+U+" `"+K+"` is marked as required "+("in `"+q+"`, but its value is `null`.")):new g("The "+U+" `"+K+"` is marked as required in "+("`"+q+"`, but its value is `undefined`.")):null:R($,Y,q,U,K)}var k=H.bind(null,!1);return k.isRequired=H.bind(null,!0),k}function b(R){function F(D,H,k,X,$,Y){var q=D[H],U=M(q);if(U!==R){var K=G(q);return new g("Invalid "+X+" `"+$+"` of type "+("`"+K+"` supplied to `"+k+"`, expected ")+("`"+R+"`."),{expectedType:R})}return null}return h(F)}function C(){return h(a)}function S(R){function F(D,H,k,X,$){if(typeof R!="function")return new g("Property `"+$+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var Y=D[H];if(!Array.isArray(Y)){var q=M(Y);return new g("Invalid "+X+" `"+$+"` of type "+("`"+q+"` supplied to `"+k+"`, expected an array."))}for(var U=0;U<Y.length;U++){var K=R(Y,U,k,X,$+"["+U+"]",r);if(K instanceof Error)return K}return null}return h(F)}function w(){function R(F,D,H,k,X){var $=F[D];if(!s($)){var Y=M($);return new g("Invalid "+k+" `"+X+"` of type "+("`"+Y+"` supplied to `"+H+"`, expected a single ReactElement."))}return null}return h(R)}function I(){function R(F,D,H,k,X){var $=F[D];if(!e.isValidElementType($)){var Y=M($);return new g("Invalid "+k+" `"+X+"` of type "+("`"+Y+"` supplied to `"+H+"`, expected a single ReactElement type."))}return null}return h(R)}function A(R){function F(D,H,k,X,$){if(!(D[H]instanceof R)){var Y=R.name||f,q=Z(D[H]);return new g("Invalid "+X+" `"+$+"` of type "+("`"+q+"` supplied to `"+k+"`, expected ")+("instance of `"+Y+"`."))}return null}return h(F)}function x(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function F(D,H,k,X,$){for(var Y=D[H],q=0;q<R.length;q++)if(m(Y,R[q]))return null;var U=JSON.stringify(R,function(re,W){var te=G(W);return te==="symbol"?String(W):W});return new g("Invalid "+X+" `"+$+"` of value `"+String(Y)+"` "+("supplied to `"+k+"`, expected one of "+U+"."))}return h(F)}function E(R){function F(D,H,k,X,$){if(typeof R!="function")return new g("Property `"+$+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var Y=D[H],q=M(Y);if(q!=="object")return new g("Invalid "+X+" `"+$+"` of type "+("`"+q+"` supplied to `"+k+"`, expected an object."));for(var U in Y)if(o(Y,U)){var K=R(Y,U,k,X,$+"."+U,r);if(K instanceof Error)return K}return null}return h(F)}function P(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var F=0;F<R.length;F++){var D=R[F];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(D)+" at index "+F+"."),a}function H(k,X,$,Y,q){for(var U=[],K=0;K<R.length;K++){var re=R[K],W=re(k,X,$,Y,q,r);if(W==null)return null;W.data&&o(W.data,"expectedType")&&U.push(W.data.expectedType)}var te=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new g("Invalid "+Y+" `"+q+"` supplied to "+("`"+$+"`"+te+"."))}return h(H)}function _(){function R(F,D,H,k,X){return N(F[D])?null:new g("Invalid "+k+" `"+X+"` supplied to "+("`"+H+"`, expected a ReactNode."))}return h(R)}function L(R,F,D,H,k){return new g((R||"React class")+": "+F+" type `"+D+"."+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function j(R){function F(D,H,k,X,$){var Y=D[H],q=M(Y);if(q!=="object")return new g("Invalid "+X+" `"+$+"` of type `"+q+"` "+("supplied to `"+k+"`, expected `object`."));for(var U in R){var K=R[U];if(typeof K!="function")return L(k,X,$,U,G(K));var re=K(Y,U,k,X,$+"."+U,r);if(re)return re}return null}return h(F)}function O(R){function F(D,H,k,X,$){var Y=D[H],q=M(Y);if(q!=="object")return new g("Invalid "+X+" `"+$+"` of type `"+q+"` "+("supplied to `"+k+"`, expected `object`."));var U=t({},D[H],R);for(var K in U){var re=R[K];if(o(R,K)&&typeof re!="function")return L(k,X,$,K,G(re));if(!re)return new g("Invalid "+X+" `"+$+"` key `"+K+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(D[H],null," ")+`
20
- Valid keys: `+JSON.stringify(Object.keys(R),null," "));var W=re(Y,K,k,X,$+"."+K,r);if(W)return W}return null}return h(F)}function N(R){switch(typeof R){case"number":case"string":case"undefined":return!0;case"boolean":return!R;case"object":if(Array.isArray(R))return R.every(N);if(R===null||s(R))return!0;var F=d(R);if(F){var D=F.call(R),H;if(F!==R.entries){for(;!(H=D.next()).done;)if(!N(H.value))return!1}else for(;!(H=D.next()).done;){var k=H.value;if(k&&!N(k[1]))return!1}}else return!1;return!0;default:return!1}}function T(R,F){return R==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function M(R){var F=typeof R;return Array.isArray(R)?"array":R instanceof RegExp?"object":T(F,R)?"symbol":F}function G(R){if(typeof R>"u"||R===null)return""+R;var F=M(R);if(F==="object"){if(R instanceof Date)return"date";if(R instanceof RegExp)return"regexp"}return F}function B(R){var F=G(R);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function Z(R){return!R.constructor||!R.constructor.name?f:R.constructor.name}return p.checkPropTypes=n,p.resetWarningCache=n.resetWarningCache,p.PropTypes=p,p},Tn}var Mn,ku;function Ug(){if(ku)return Mn;ku=1;var e=Fa();function t(){}function r(){}return r.resetWarningCache=t,Mn=function(){function o(a,s,u,l,c,d){if(d!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function n(){return o}var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:n,element:o,elementType:o,instanceOf:n,node:o,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Mn}if(process.env.NODE_ENV!=="production"){var Qg=lr(),Kg=!0;oa.exports=Jg()(Qg.isElement,Kg)}else oa.exports=Ug()();var Oe=oa.exports;const ne=Na(Oe);var Nn,Hu;function ev(){if(Hu)return Nn;Hu=1;function e(){return null}e.isRequired=e;function t(){return e}return Nn={and:t,between:t,booleanSome:t,childrenHavePropXorChildren:t,childrenOf:t,childrenOfType:t,childrenSequenceOf:t,componentWithName:t,disallowedIf:t,elementType:t,empty:t,explicitNull:t,forbidExtraProps:Object,integer:t,keysOf:t,mutuallyExclusiveProps:t,mutuallyExclusiveTrueProps:t,nChildren:t,nonNegativeInteger:e,nonNegativeNumber:t,numericString:t,object:t,or:t,predicate:t,range:t,ref:t,requiredBy:t,restrictedProp:t,sequenceOf:t,shape:t,stringEndsWith:t,stringStartsWith:t,uniqueArray:t,uniqueArrayOf:t,valuesOf:t,withShape:t},Nn}var Zu=Object.prototype.toString,P1=function(t){var r=Zu.call(t),o=r==="[object Arguments]";return o||(o=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Zu.call(t.callee)==="[object Function]"),o},Fn,Xu;function tv(){if(Xu)return Fn;Xu=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=P1,n=Object.prototype.propertyIsEnumerable,i=!n.call({toString:null},"toString"),a=n.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(f){var p=f.constructor;return p&&p.prototype===f},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var f in window)try{if(!l["$"+f]&&t.call(window,f)&&window[f]!==null&&typeof window[f]=="object")try{u(window[f])}catch{return!0}}catch{return!0}return!1}(),d=function(f){if(typeof window>"u"||!c)return u(f);try{return u(f)}catch{return!1}};e=function(p){var m=p!==null&&typeof p=="object",g=r.call(p)==="[object Function]",h=o(p),b=m&&r.call(p)==="[object String]",C=[];if(!m&&!g&&!h)throw new TypeError("Object.keys called on a non-object");var S=a&&g;if(b&&p.length>0&&!t.call(p,0))for(var w=0;w<p.length;++w)C.push(String(w));if(h&&p.length>0)for(var I=0;I<p.length;++I)C.push(String(I));else for(var A in p)!(S&&A==="prototype")&&t.call(p,A)&&C.push(String(A));if(i)for(var x=d(p),E=0;E<s.length;++E)!(x&&s[E]==="constructor")&&t.call(p,s[E])&&C.push(s[E]);return C}}return Fn=e,Fn}var rv=Array.prototype.slice,nv=P1,$u=Object.keys,Tr=$u?function(t){return $u(t)}:tv(),zu=Object.keys;Tr.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(o){return nv(o)?zu(rv.call(o)):zu(o)})}else Object.keys=Tr;return Object.keys||Tr};var Va=Tr,Mr=Object.defineProperty||!1;if(Mr)try{Mr({},"a",{value:1})}catch{Mr=!1}var un=Mr,O1=SyntaxError,Fe=TypeError,ov=Object.getOwnPropertyDescriptor,Nr=ov;if(Nr)try{Nr([],"length")}catch{Nr=null}var cr=Nr,Yu=un,iv=O1,St=Fe,qu=cr,ja=function(t,r,o){if(!t||typeof t!="object"&&typeof t!="function")throw new St("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new St("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new St("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new St("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new St("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new St("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,u=!!qu&&qu(t,r);if(Yu)Yu(t,r,{configurable:a===null&&u?u.configurable:!a,enumerable:n===null&&u?u.enumerable:!n,value:o,writable:i===null&&u?u.writable:!i});else if(s||!n&&!i&&!a)t[r]=o;else throw new iv("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ia=un,_1=function(){return!!ia};_1.hasArrayLengthDefineBug=function(){if(!ia)return null;try{return ia([],"length",{value:1}).length!==1}catch{return!0}};var Ba=_1,av=Va,uv=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",sv=Object.prototype.toString,lv=Array.prototype.concat,Ju=ja,cv=function(e){return typeof e=="function"&&sv.call(e)==="[object Function]"},T1=Ba(),dv=function(e,t,r,o){if(t in e){if(o===!0){if(e[t]===r)return}else if(!cv(o)||!o())return}T1?Ju(e,t,r,!0):Ju(e,t,r)},M1=function(e,t){var r=arguments.length>2?arguments[2]:{},o=av(t);uv&&(o=lv.call(o,Object.getOwnPropertySymbols(t)));for(var n=0;n<o.length;n+=1)dv(e,o[n],t[o[n]],r[o[n]])};M1.supportsDescriptors=!!T1;var Re=M1,N1={exports:{}},sn=Object,fv=Error,pv=EvalError,gv=RangeError,vv=ReferenceError,mv=URIError,hv=Math.abs,F1=Math.floor,bv=Math.max,yv=Math.min,Cv=Math.pow,xv=Math.round,La=Number.isNaN||function(t){return t!==t},wv=La,Iv=function(t){return wv(t)||t===0?t:t<0?-1:1},Vn,Uu;function Da(){return Uu||(Uu=1,Vn=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var n=42;t[r]=n;for(var i in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==n||s.enumerable!==!0)return!1}return!0}),Vn}var jn,Qu;function V1(){if(Qu)return jn;Qu=1;var e=typeof Symbol<"u"&&Symbol,t=Da();return jn=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},jn}var Bn,Ku;function j1(){return Ku||(Ku=1,Bn=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Bn}var Ln,es;function B1(){if(es)return Ln;es=1;var e=sn;return Ln=e.getPrototypeOf||null,Ln}var Sv="Function.prototype.bind called on incompatible ",Av=Object.prototype.toString,Ev=Math.max,Rv="[object Function]",ts=function(t,r){for(var o=[],n=0;n<t.length;n+=1)o[n]=t[n];for(var i=0;i<r.length;i+=1)o[i+t.length]=r[i];return o},Pv=function(t,r){for(var o=[],n=r,i=0;n<t.length;n+=1,i+=1)o[i]=t[n];return o},Ov=function(e,t){for(var r="",o=0;o<e.length;o+=1)r+=e[o],o+1<e.length&&(r+=t);return r},_v=function(t){var r=this;if(typeof r!="function"||Av.apply(r)!==Rv)throw new TypeError(Sv+r);for(var o=Pv(arguments,1),n,i=function(){if(this instanceof n){var c=r.apply(this,ts(o,arguments));return Object(c)===c?c:this}return r.apply(t,ts(o,arguments))},a=Ev(0,r.length-o.length),s=[],u=0;u<a;u++)s[u]="$"+u;if(n=Function("binder","return function ("+Ov(s,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n},Tv=_v,dr=Function.prototype.bind||Tv,Ga=Function.prototype.call,Wa=Function.prototype.apply,Mv=typeof Reflect<"u"&&Reflect&&Reflect.apply,Nv=dr,Fv=Wa,Vv=Ga,jv=Mv,L1=jv||Nv.call(Vv,Fv),Bv=dr,Lv=Fe,Dv=Ga,Gv=L1,ka=function(t){if(t.length<1||typeof t[0]!="function")throw new Lv("a function is required");return Gv(Bv,Dv,t)},Dn,rs;function Wv(){if(rs)return Dn;rs=1;var e=ka,t=cr,r;try{r=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var o=!!r&&t&&t(Object.prototype,"__proto__"),n=Object,i=n.getPrototypeOf;return Dn=o&&typeof o.get=="function"?e([o.get]):typeof i=="function"?function(s){return i(s==null?s:n(s))}:!1,Dn}var Gn,ns;function kv(){if(ns)return Gn;ns=1;var e=j1(),t=B1(),r=Wv();return Gn=e?function(n){return e(n)}:t?function(n){if(!n||typeof n!="object"&&typeof n!="function")throw new TypeError("getProto: not an object");return t(n)}:r?function(n){return r(n)}:null,Gn}var Wn,os;function fr(){if(os)return Wn;os=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=dr;return Wn=r.call(e,t),Wn}var ie,Hv=sn,Zv=fv,Xv=pv,$v=gv,zv=vv,Dt=O1,Ft=Fe,Yv=mv,qv=hv,Jv=F1,Uv=bv,Qv=yv,Kv=Cv,em=xv,tm=Iv,D1=Function,kn=function(e){try{return D1('"use strict"; return ('+e+").constructor;")()}catch{}},rr=cr,rm=un,Hn=function(){throw new Ft},nm=rr?function(){try{return arguments.callee,Hn}catch{try{return rr(arguments,"callee").get}catch{return Hn}}}():Hn,At=V1()(),xe=kv(),om=B1(),im=j1(),G1=Wa,pr=Ga,Tt={},am=typeof Uint8Array>"u"||!xe?ie:xe(Uint8Array),mt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ie:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ie:ArrayBuffer,"%ArrayIteratorPrototype%":At&&xe?xe([][Symbol.iterator]()):ie,"%AsyncFromSyncIteratorPrototype%":ie,"%AsyncFunction%":Tt,"%AsyncGenerator%":Tt,"%AsyncGeneratorFunction%":Tt,"%AsyncIteratorPrototype%":Tt,"%Atomics%":typeof Atomics>"u"?ie:Atomics,"%BigInt%":typeof BigInt>"u"?ie:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ie:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ie:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ie:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Zv,"%eval%":eval,"%EvalError%":Xv,"%Float32Array%":typeof Float32Array>"u"?ie:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ie:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ie:FinalizationRegistry,"%Function%":D1,"%GeneratorFunction%":Tt,"%Int8Array%":typeof Int8Array>"u"?ie:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ie:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ie:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":At&&xe?xe(xe([][Symbol.iterator]())):ie,"%JSON%":typeof JSON=="object"?JSON:ie,"%Map%":typeof Map>"u"?ie:Map,"%MapIteratorPrototype%":typeof Map>"u"||!At||!xe?ie:xe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Hv,"%Object.getOwnPropertyDescriptor%":rr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ie:Promise,"%Proxy%":typeof Proxy>"u"?ie:Proxy,"%RangeError%":$v,"%ReferenceError%":zv,"%Reflect%":typeof Reflect>"u"?ie:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ie:Set,"%SetIteratorPrototype%":typeof Set>"u"||!At||!xe?ie:xe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ie:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":At&&xe?xe(""[Symbol.iterator]()):ie,"%Symbol%":At?Symbol:ie,"%SyntaxError%":Dt,"%ThrowTypeError%":nm,"%TypedArray%":am,"%TypeError%":Ft,"%Uint8Array%":typeof Uint8Array>"u"?ie:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ie:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ie:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ie:Uint32Array,"%URIError%":Yv,"%WeakMap%":typeof WeakMap>"u"?ie:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ie:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ie:WeakSet,"%Function.prototype.call%":pr,"%Function.prototype.apply%":G1,"%Object.defineProperty%":rm,"%Object.getPrototypeOf%":om,"%Math.abs%":qv,"%Math.floor%":Jv,"%Math.max%":Uv,"%Math.min%":Qv,"%Math.pow%":Kv,"%Math.round%":em,"%Math.sign%":tm,"%Reflect.getPrototypeOf%":im};if(xe)try{null.error}catch(e){var um=xe(xe(e));mt["%Error.prototype%"]=um}var sm=function e(t){var r;if(t==="%AsyncFunction%")r=kn("async function () {}");else if(t==="%GeneratorFunction%")r=kn("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=kn("async function* () {}");else if(t==="%AsyncGenerator%"){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if(t==="%AsyncIteratorPrototype%"){var n=e("%AsyncGenerator%");n&&xe&&(r=xe(n.prototype))}return mt[t]=r,r},is={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},gr=dr,kr=fr(),lm=gr.call(pr,Array.prototype.concat),cm=gr.call(G1,Array.prototype.splice),as=gr.call(pr,String.prototype.replace),Hr=gr.call(pr,String.prototype.slice),dm=gr.call(pr,RegExp.prototype.exec),fm=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pm=/\\(\\)?/g,gm=function(t){var r=Hr(t,0,1),o=Hr(t,-1);if(r==="%"&&o!=="%")throw new Dt("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&r!=="%")throw new Dt("invalid intrinsic syntax, expected opening `%`");var n=[];return as(t,fm,function(i,a,s,u){n[n.length]=s?as(u,pm,"$1"):a||i}),n},vm=function(t,r){var o=t,n;if(kr(is,o)&&(n=is[o],o="%"+n[0]+"%"),kr(mt,o)){var i=mt[o];if(i===Tt&&(i=sm(o)),typeof i>"u"&&!r)throw new Ft("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new Dt("intrinsic "+t+" does not exist!")},xt=function(t,r){if(typeof t!="string"||t.length===0)throw new Ft("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ft('"allowMissing" argument must be a boolean');if(dm(/^%?[^%]*%?$/,t)===null)throw new Dt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=gm(t),n=o.length>0?o[0]:"",i=vm("%"+n+"%",r),a=i.name,s=i.value,u=!1,l=i.alias;l&&(n=l[0],cm(o,lm([0,1],l)));for(var c=1,d=!0;c<o.length;c+=1){var f=o[c],p=Hr(f,0,1),m=Hr(f,-1);if((p==='"'||p==="'"||p==="`"||m==='"'||m==="'"||m==="`")&&p!==m)throw new Dt("property names with quotes must have matching quotes");if((f==="constructor"||!d)&&(u=!0),n+="."+f,a="%"+n+"%",kr(mt,a))s=mt[a];else if(s!=null){if(!(f in s)){if(!r)throw new Ft("base intrinsic for "+t+" exists, but the property is not available.");return}if(rr&&c+1>=o.length){var g=rr(s,f);d=!!g,d&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[f]}else d=kr(s,f),s=s[f];d&&!u&&(mt[a]=s)}}return s},mm=xt,us=ja,hm=Ba(),ss=cr,ls=Fe,bm=mm("%Math.floor%"),ym=function(t,r){if(typeof t!="function")throw new ls("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||bm(r)!==r)throw new ls("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],n=!0,i=!0;if("length"in t&&ss){var a=ss(t,"length");a&&!a.configurable&&(n=!1),a&&!a.writable&&(i=!1)}return(n||i||!o)&&(hm?us(t,"length",r,!0,!0):us(t,"length",r)),t},Cm=dr,xm=Wa,wm=L1,Im=function(){return wm(Cm,xm,arguments)};(function(e){var t=ym,r=un,o=ka,n=Im;e.exports=function(a){var s=o(arguments),u=a.length-(arguments.length-1);return t(s,1+(u>0?u:0),!0)},r?r(e.exports,"apply",{value:n}):e.exports.apply=n})(N1);var wt=N1.exports,W1=xt,k1=ka,Sm=k1([W1("%String.prototype.indexOf%")]),Je=function(t,r){var o=W1(t,!!r);return typeof o=="function"&&Sm(t,".prototype.")>-1?k1([o]):o},Zn,cs;function H1(){if(cs)return Zn;cs=1;var e=Va,t=Da()(),r=Je,o=sn,n=r("Array.prototype.push"),i=r("Object.prototype.propertyIsEnumerable"),a=t?o.getOwnPropertySymbols:null;return Zn=function(u,l){if(u==null)throw new TypeError("target must be an object");var c=o(u);if(arguments.length===1)return c;for(var d=1;d<arguments.length;++d){var f=o(arguments[d]),p=e(f),m=t&&(o.getOwnPropertySymbols||a);if(m)for(var g=m(f),h=0;h<g.length;++h){var b=g[h];i(f,b)&&n(p,b)}for(var C=0;C<p.length;++C){var S=p[C];if(i(f,S)){var w=f[S];c[S]=w}}}return c},Zn}var Xn,ds;function Z1(){if(ds)return Xn;ds=1;var e=H1(),t=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",n=o.split(""),i={},a=0;a<n.length;++a)i[n[a]]=n[a];var s=Object.assign({},i),u="";for(var l in s)u+=l;return o!==u},r=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return Xn=function(){return!Object.assign||t()||r()?e:Object.assign},Xn}var $n,fs;function Am(){if(fs)return $n;fs=1;var e=Re,t=Z1();return $n=function(){var o=t();return e(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},$n}var zn,ps;function X1(){if(ps)return zn;ps=1;var e=Re,t=wt,r=H1(),o=Z1(),n=Am(),i=t.apply(o()),a=function(u,l){return i(Object,arguments)};return e(a,{getPolyfill:o,implementation:r,shim:n}),zn=a,zn}var Yn,gs;function $1(){if(gs)return Yn;gs=1;var e={}.toString;return Yn=Array.isArray||function(t){return e.call(t)=="[object Array]"},Yn}var qn,vs;function Em(){if(vs)return qn;vs=1;var e=Fe,t=$1();return qn=function(o,n){if(!t(o))throw new e("target must be an array");for(var i=0;i<n.length;i++)o[o.length]=n[i]},qn}var Jn,ms;function Rm(){if(ms)return Jn;ms=1;var e=xt,t=Em(),r=e("%Reflect.ownKeys%",!0),o=e("%Object.getOwnPropertyNames%",!0),n=e("%Object.getOwnPropertySymbols%",!0),i=Va;return Jn=r||function(s){var u=(o||i)(s);return n&&t(u,n(s)),u},Jn}var Un,hs;function z1(){if(hs)return Un;hs=1;var e=$1();return Un=function(r){return r&&typeof r=="object"&&!e(r)},Un}var Qn,bs;function Pm(){if(bs)return Qn;bs=1;var e=X1(),t=fr(),r=Rm(),o=Fe,n=z1(),i="​",a="prop-types-exact: "+i,s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for(a):a,u=Je,l=u("Object.prototype.propertyIsEnumerable");function c(f){return f[a]=s,f}function d(f){return f&&f[a]===s}return Qn=function(p){if(!n(p))throw new o("given propTypes must be an object");if(t(p,a)&&!d(p[a]))throw new o("Against all odds, you created a propType for a prop that uses both the zero-width space and our custom string - which, sadly, conflicts with `prop-types-exact`");var m={};return m[a]=c(function(h,b,C){var S=r(h).filter(function(w){return!t(p,w)&&l(h,w)});return S.length>0?new o(C+": unknown props found: "+S.join(", ")):null}),e({},p,m)},Qn}var Kn={},eo={},ys;function ue(){return ys||(ys=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(X1());function r(n){return n&&n.__esModule?n:{default:n}}function o(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,t.default)(n.bind(),{typeName:i,typeChecker:a,isRequired:(0,t.default)(n.isRequired.bind(),{typeName:i,typeChecker:a,typeRequired:!0})})}}(eo)),eo}var Cs;function It(){return Cs||(Cs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(ue());function r(n){return n&&n.__esModule?n:{default:n}}function o(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"and";if(!Array.isArray(n))throw new TypeError("and: 2 or more validators are required");if(n.length<=1)throw new RangeError("and: 2 or more validators are required");var a=function(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];var d=null;return n.some(function(f){return d=f.apply(void 0,l),d!=null}),d??null};return a.isRequired=function(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];var d=null;return n.some(function(f){return d=f.isRequired.apply(f,l),d!=null}),d??null},(0,t.default)(a,i,n)}}(Kn)),Kn}var to={},Om=Fe,Xt=function(t){if(t==null)throw new Om(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t},ro,xs;function Y1(){if(xs)return ro;xs=1;var e=xt,t=wt,r=t(e("String.prototype.indexOf"));return ro=function(n,i){var a=e(n,!!i);return typeof a=="function"&&r(n,".prototype.")>-1?t(a):a},ro}var no,ws;function q1(){if(ws)return no;ws=1;var e=Xt,t=Y1(),r=t("Object.prototype.propertyIsEnumerable"),o=t("Array.prototype.push");return no=function(i){var a=e(i),s=[];for(var u in a)r(a,u)&&o(s,[u,a[u]]);return s},no}var oo,Is;function J1(){if(Is)return oo;Is=1;var e=q1();return oo=function(){return typeof Object.entries=="function"?Object.entries:e},oo}var io,Ss;function _m(){if(Ss)return io;Ss=1;var e=J1(),t=Re;return io=function(){var o=e();return t(Object,{entries:o},{entries:function(){return Object.entries!==o}}),o},io}var ao,As;function Tm(){if(As)return ao;As=1;var e=Re,t=wt,r=q1(),o=J1(),n=_m(),i=t(o(),Object);return e(i,{getPolyfill:o,implementation:r,shim:n}),ao=i,ao}var uo={},so={},Es;function Ha(){return Es||(Es=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(z1());function r(n){return n&&n.__esModule?n:{default:n}}var o=t.default;e.default=o}(so)),so}var Rs;function Za(){return Rs||(Rs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(Ha()),r=o(ue());function o(i){return i&&i.__esModule?i:{default:i}}function n(i){if(!(0,t.default)(i))throw new TypeError("shape must be a normal object");function a(s,u,l,c){var d=s[u];if(d==null)return null;for(var f=arguments.length,p=new Array(f>4?f-4:0),m=4;m<f;m++)p[m-4]=arguments[m];for(var g in i){var h=i[g];if(h){var b=h.apply(void 0,[d,g,l,c].concat(p));if(b)return b}}return null}return a.isRequired=function(u,l,c){var d=u[l];if(d==null)return new TypeError("".concat(c,": ").concat(l," is required."));for(var f=arguments.length,p=new Array(f>3?f-3:0),m=3;m<f;m++)p[m-3]=arguments[m];return a.apply(void 0,[u,l,c].concat(p))},(0,r.default)(a,"shape",i)}}(uo)),uo}var lo={},co={},Ps;function U1(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(i){return typeof i}:t=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(o)}function r(o){return!o||t(o)!=="object"&&typeof o!="function"}}(co)),co}var Os;function Q1(){return Os||(Os=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(U1()),r=o(ue());function o(i){return i&&i.__esModule?i:{default:i}}function n(i){if(typeof i!="function")throw new TypeError("objectOf: propType must be a function");var a=function(u,l,c,d,f){for(var p=arguments.length,m=new Array(p>5?p-5:0),g=5;g<p;g++)m[g-5]=arguments[g];var h=u[l];if(h==null||(0,t.default)(h))return null;var b;return Object.keys(h).some(function(C){return b=i.apply(void 0,[h,C,c,d,"".concat(f,".").concat(C)].concat(m)),b}),b||null};return a.isRequired=function(u,l,c){var d=u[l];if(d==null)return new TypeError("".concat(c,": ").concat(l," is required."));for(var f=arguments.length,p=new Array(f>3?f-3:0),m=3;m<f;m++)p[m-3]=arguments[m];return a.apply(void 0,[u,l,c].concat(p))},(0,r.default)(a,"valuesOf",i)}}(lo)),lo}var _s;function Xa(){return _s||(_s=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=j;var t=i(Tm()),r=i(Za()),o=i(Q1()),n=i(ue());function i(O){return O&&O.__esModule?O:{default:O}}function a(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(T){return typeof T}:a=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},a(O)}function s(O,N){var T=Object.keys(O);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(O);N&&(M=M.filter(function(G){return Object.getOwnPropertyDescriptor(O,G).enumerable})),T.push.apply(T,M)}return T}function u(O){for(var N=1;N<arguments.length;N++){var T=arguments[N]!=null?arguments[N]:{};N%2?s(Object(T),!0).forEach(function(M){l(O,M,T[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(T)):s(Object(T)).forEach(function(M){Object.defineProperty(O,M,Object.getOwnPropertyDescriptor(T,M))})}return O}function l(O,N,T){return N in O?Object.defineProperty(O,N,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[N]=T,O}function c(O,N){return g(O)||m(O,N)||f(O,N)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
21
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(O,N){if(O){if(typeof O=="string")return p(O,N);var T=Object.prototype.toString.call(O).slice(8,-1);if(T==="Object"&&O.constructor&&(T=O.constructor.name),T==="Map"||T==="Set")return Array.from(O);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return p(O,N)}}function p(O,N){(N==null||N>O.length)&&(N=O.length);for(var T=0,M=new Array(N);T<N;T++)M[T]=O[T];return M}function m(O,N){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(O)))){var T=[],M=!0,G=!1,B=void 0;try{for(var Z=O[Symbol.iterator](),R;!(M=(R=Z.next()).done)&&(T.push(R.value),!(N&&T.length===N));M=!0);}catch(F){G=!0,B=F}finally{try{!M&&Z.return!=null&&Z.return()}finally{if(G)throw B}}return T}}function g(O){if(Array.isArray(O))return O}function h(O,N,T){var M=O[N];return typeof M=="number"&&!isNaN(M)?null:new TypeError("".concat(T,": ").concat(N," must be a non-NaN number."))}function b(O,N){var T=O[N];return typeof T=="function"||typeof T=="number"&&!isNaN(T)?null:new TypeError("".concat(N,": a function, or a non-NaN number is required"))}function C(O,N){var T=N.gt,M=N.gte;return typeof T=="number"?O>T:typeof M=="number"?O>=M:!0}function S(O,N){var T=N.lt,M=N.lte;return typeof T=="number"?O<T:typeof M=="number"?O<=M:!0}function w(O){var N=O.gt,T=O.gte;return typeof N=="number"?"greater than ".concat(N):typeof T=="number"?"greater than or equal to ".concat(T):""}function I(O){var N=O.lt,T=O.lte;return typeof N=="number"?"less than ".concat(N):typeof T=="number"?"less than or equal to ".concat(T):""}function A(O,N,T){var M=[w(T),I(T)].filter(Boolean).join(" and ");return"".concat(O,": ").concat(N," must be ").concat(M)}function x(O){return(0,t.default)(O).reduce(function(N,T){var M=c(T,2),G=M[0],B=M[1],Z=typeof B=="number"?function(){return B}:B;return u(u({},N),{},l({},G,Z))},{})}function E(O,N){return(0,t.default)(O).reduce(function(T,M){var G=c(M,2),B=G[0],Z=G[1],R=Z(N);return u(u({},T),{},l({},B,R))},{})}var P=[(0,r.default)({lt:b,gt:b}).isRequired,(0,r.default)({lte:b,gt:b}).isRequired,(0,r.default)({lt:b,gte:b}).isRequired,(0,r.default)({lte:b,gte:b}).isRequired,(0,r.default)({lt:b}).isRequired,(0,r.default)({lte:b}).isRequired,(0,r.default)({gt:b}).isRequired,(0,r.default)({gte:b}).isRequired];function _(O,N){return P.every(function(T){return!!T(O,N)})}var L=(0,o.default)(h).isRequired;function j(O){var N=_({options:O},"options");if(N)throw new TypeError("between: only one of the pairs of `lt`/`lte`, and `gt`/`gte`, may be supplied, and at least one pair must be provided.");var T=x(O),M=function(B,Z,R){var F=B[Z];if(F==null)return null;if(typeof F!="number")return new RangeError("".concat(R,": ").concat(Z,' must be a number, got "').concat(a(F),'"'));for(var D=E(T,B),H=arguments.length,k=new Array(H>3?H-3:0),X=3;X<H;X++)k[X-3]=arguments[X];var $=L.apply(void 0,[l({},Z,D),Z,R].concat(k));return $||(!C(F,D)||!S(F,D)?new RangeError(A(R,Z,D)):null)};return M.isRequired=function(B,Z,R){var F=B[Z];if(typeof F!="number")return new RangeError("".concat(R,": ").concat(Z,' must be a number, got "').concat(a(F),'"'));for(var D=E(T,B),H=arguments.length,k=new Array(H>3?H-3:0),X=3;X<H;X++)k[X-3]=arguments[X];var $=L.apply(void 0,[l({},Z,D),Z,R].concat(k));return $||(!C(F,D)||!S(F,D)?new RangeError(A(R,Z,D)):null)},(0,n.default)(M,"between",O)}}(to)),to}var fo={},Ts;function Mm(){return Ts||(Ts=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=Oe,r=o(ue());function o(i){return i&&i.__esModule?i:{default:i}}function n(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if(a.length<1)throw new TypeError("at least one prop (one of which must be `true`) is required");if(!a.every(function(c){return typeof c=="string"}))throw new TypeError("all booleanSome props must be strings");var u=a.join(", or "),l=function(d,f,p){var m=function(w,I){return w+(d[I]===!1?1:0)},g=a.reduce(m,0);if(g===a.length)return new Error("A ".concat(p," must have at least one of these boolean props be `true`: ").concat(u));for(var h=arguments.length,b=new Array(h>3?h-3:0),C=3;C<h;C++)b[C-3]=arguments[C];return t.bool.apply(void 0,[d,f,p].concat(b))};return l.isRequired=function(d,f,p){var m=function(w,I){return w+(d[I]===!1?1:0)},g=a.reduce(m,0);if(g===a.length)return new Error("A ".concat(p," must have at least one of these boolean props be `true`: ").concat(u));for(var h=arguments.length,b=new Array(h>3?h-3:0),C=3;C<h;C++)b[C-3]=arguments[C];return t.bool.isRequired.apply(t.bool,[d,f,p].concat(b))},(0,r.default)(l,"booleanSome: ".concat(u),a)}}(fo)),fo}var po={},Ms;function Nm(){return Ms||(Ms=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=o(V),r=o(ue());function o(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(u){return typeof u}:n=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(a)}function i(a){if(typeof a!="string"&&n(a)!=="symbol")throw new TypeError("invalid prop: must be string or symbol");var s=function(l,c,d){var f=l.children,p=0,m=0,g=0;return t.default.Children.forEach(f,function(h){h&&(p+=1,h.props[a]&&(m+=1),t.default.Children.count(h.props.children)&&(g+=1))}),m===p&&g===0||m===0&&g===p||m===0&&g===0?null:new TypeError("`".concat(d,"` requires children to all have prop “").concat(a,"”, all have children, or all have neither."))};return s.isRequired=s,(0,r.default)(s,"childrenHavePropXorChildrenWithProp:".concat(a),a)}}(po)),po}var go={},vo={},Ns;function $a(){return Ns||(Ns=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(V);function r(n){return n&&n.__esModule?n:{default:n}}function o(n){return t.default.Children.toArray(n).filter(function(i){return i===0||i})}}(vo)),vo}var Fs;function Fm(){return Fs||(Fs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var t=o($a()),r=o(ue());function o(l){return l&&l.__esModule?l:{default:l}}function n(l,c){var d=Object.keys(l);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(l);c&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(l,p).enumerable})),d.push.apply(d,f)}return d}function i(l){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?n(Object(d),!0).forEach(function(f){a(l,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(d)):n(Object(d)).forEach(function(f){Object.defineProperty(l,f,Object.getOwnPropertyDescriptor(d,f))})}return l}function a(l,c,d){return c in l?Object.defineProperty(l,c,{value:d,enumerable:!0,configurable:!0,writable:!0}):l[c]=d,l}function s(l,c,d){for(var f=arguments.length,p=new Array(f>3?f-3:0),m=3;m<f;m++)p[m-3]=arguments[m];var g;return c.some(function(h){return g=l.apply(void 0,[i(i({},d),{},{children:h}),"children"].concat(p)),g}),g||null}function u(l){function c(d,f,p){if(f!=="children")return new TypeError("".concat(p,' is using the childrenOf validator on non-children prop "').concat(f,'"'));var m=d[f];if(m==null)return null;var g=(0,t.default)(m);if(g.length===0)return null;for(var h=arguments.length,b=new Array(h>3?h-3:0),C=3;C<h;C++)b[C-3]=arguments[C];return s.apply(void 0,[l,g,d,p].concat(b))}return c.isRequired=function(d,f,p){if(f!=="children")return new TypeError("".concat(p,' is using the childrenOf validator on non-children prop "').concat(f,'"'));var m=(0,t.default)(d[f]);if(m.length===0)return new TypeError("`".concat(p,"` requires at least one node of type ").concat(l.typeName||l.name));for(var g=arguments.length,h=new Array(g>3?g-3:0),b=3;b<g;b++)h[b-3]=arguments[b];return s.apply(void 0,[l,m,d,p].concat(h))},(0,r.default)(c,"childrenOf",l)}}(go)),go}var mo={},ho,Vs;function Vm(){if(Vs)return ho;Vs=1;var e=sn,t=Xt;return ho=function(o){return t(o),e(o)},ho}var bo,js;function jm(){return js||(js=1,bo=Number.MAX_SAFE_INTEGER||9007199254740991),bo}var yo,Bs;function Bm(){return Bs||(Bs=1,yo=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),yo}var Co,Ls;function Lm(){return Ls||(Ls=1,Co=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),Co}var xo,Ds;function za(){if(Ds)return xo;Ds=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,o;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},t(function(){throw 42},null,r)}catch(C){C!==o&&(t=null)}else t=null;var n=/^\s*class\b/,i=function(S){try{var w=e.call(S);return n.test(w)}catch{return!1}},a=function(S){try{return i(S)?!1:(e.call(S),!0)}catch{return!1}},s=Object.prototype.toString,u="[object Object]",l="[object Function]",c="[object GeneratorFunction]",d="[object HTMLAllCollection]",f="[object HTML document.all class]",p="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),h=function(){return!1};if(typeof document=="object"){var b=document.all;s.call(b)===s.call(document.all)&&(h=function(S){if((g||!S)&&(typeof S>"u"||typeof S=="object"))try{var w=s.call(S);return(w===d||w===f||w===p||w===u)&&S("")==null}catch{}return!1})}return xo=t?function(S){if(h(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;try{t(S,null,r)}catch(w){if(w!==o)return!1}return!i(S)&&a(S)}:function(S){if(h(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;if(m)return a(S);if(i(S))return!1;var w=s.call(S);return w!==l&&w!==c&&!/^\[object HTML/.test(w)?!1:a(S)},xo}var wo,Gs;function K1(){if(Gs)return wo;Gs=1;var e=Da();return wo=function(){return e()&&!!Symbol.toStringTag},wo}var Io,Ws;function Dm(){if(Ws)return Io;Ws=1;var e=Je,t=e("Date.prototype.getDay"),r=function(s){try{return t(s),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object Date]",i=K1()();return Io=function(s){return typeof s!="object"||s===null?!1:i?r(s):o(s)===n},Io}var Cr={exports:{}},So,ks;function ed(){if(ks)return So;ks=1;var e=Je,t=K1()(),r=fr(),o=cr,n;if(t){var i=e("RegExp.prototype.exec"),a={},s=function(){throw a},u={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s),n=function(f){if(!f||typeof f!="object")return!1;var p=o(f,"lastIndex"),m=p&&r(p,"value");if(!m)return!1;try{i(f,u)}catch(g){return g===a}}}else{var l=e("Object.prototype.toString"),c="[object RegExp]";n=function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:l(f)===c}}return So=n,So}var Ao,Hs;function td(){if(Hs)return Ao;Hs=1;var e=Je,t=ed(),r=e("RegExp.prototype.exec"),o=Fe;return Ao=function(i){if(!t(i))throw new o("`regex` must be a RegExp");return function(s){return r(i,s)!==null}},Ao}var Zs;function Gm(){if(Zs)return Cr.exports;Zs=1;var e=Je,t=e("Object.prototype.toString"),r=V1()(),o=td();if(r){var n=e("Symbol.prototype.toString"),i=o(/^Symbol\(.*\)$/),a=function(u){return typeof u.valueOf()!="symbol"?!1:i(n(u))};Cr.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||t(u)!=="[object Symbol]")return!1;try{return a(u)}catch{return!1}}}else Cr.exports=function(u){return!1};return Cr.exports}var Eo,Xs;function Wm(){if(Xs)return Eo;Xs=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=Lm(),r=za(),o=Dm(),n=Gm(),i=function(u,l){if(typeof u>"u"||u===null)throw new TypeError("Cannot call method on "+u);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var c=l==="string"?["toString","valueOf"]:["valueOf","toString"],d,f,p;for(p=0;p<c.length;++p)if(d=u[c[p]],r(d)&&(f=d.call(u),t(f)))return f;throw new TypeError("No default value")},a=function(u,l){var c=u[l];if(c!==null&&typeof c<"u"){if(!r(c))throw new TypeError(c+" returned for property "+String(l)+" of object "+u+" is not a function");return c}};return Eo=function(u){if(t(u))return u;var l="default";arguments.length>1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var c;if(e&&(Symbol.toPrimitive?c=a(u,Symbol.toPrimitive):n(u)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var d=c.call(u,l);if(t(d))return d;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(o(u)||n(u))&&(l="string"),i(u,l==="default"?"number":l)},Eo}var Ro,$s;function km(){if($s)return Ro;$s=1;var e=Wm();return Ro=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},Ro}var Po,zs;function Hm(){if(zs)return Po;zs=1;var e=xt,t=e("%String%"),r=Fe;return Po=function(n){if(typeof n=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(n)},Po}var Oo,Ys;function rd(){if(Ys)return Oo;Ys=1;var e=Xt,t=Hm(),r=Je,o=r("String.prototype.replace"),n=/^\s$/.test("᠎"),i=n?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,a=n?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return Oo=function(){var u=t(e(this));return o(o(u,i,""),a,"")},Oo}var _o,qs;function nd(){if(qs)return _o;qs=1;var e=rd(),t="​",r="᠎";return _o=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},_o}var To,Js;function Zm(){if(Js)return To;Js=1;var e=Ba(),t=ja,r=nd();return To=function(){var n=r();return String.prototype.trim!==n&&(e?t(String.prototype,"trim",n,!0):t(String.prototype,"trim",n)),n},To}var Mo,Us;function Xm(){if(Us)return Mo;Us=1;var e=wt,t=Re,r=Xt,o=rd(),n=nd(),i=Zm(),a=e(n()),s=function(l){return r(l),a(l)};return t(s,{getPolyfill:n,implementation:o,shim:i}),Mo=s,Mo}var No,Qs;function $m(){if(Qs)return No;Qs=1;var e=xt,t=e("%RegExp%"),r=Fe,o=e("%parseInt%"),n=Je,i=td(),a=n("String.prototype.slice"),s=i(/^0b[01]+$/i),u=i(/^0o[0-7]+$/i),l=i(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),d=new t("["+c+"]","g"),f=i(d),p=Xm();return No=function m(g){if(typeof g!="string")throw new r("Assertion failed: `argument` is not a String");if(s(g))return+o(a(g,2),2);if(u(g))return+o(a(g,2),8);if(f(g)||l(g))return NaN;var h=p(g);return h!==g?m(h):+g},No}var Fo,Ks;function zm(){if(Ks)return Fo;Ks=1;var e=xt,t=Fe,r=e("%Number%"),o=Bm(),n=km(),i=$m();return Fo=function(s){var u=o(s)?s:n(s,r);if(typeof u=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof u=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof u=="string"?i(u):+u},Fo}var Vo,el;function Ym(){if(el)return Vo;el=1;var e=F1;return Vo=function(r){return typeof r=="bigint"?r:e(r)},Vo}var jo,tl;function qm(){if(tl)return jo;tl=1;var e=Ym(),t=Fe;return jo=function(o){if(typeof o!="number"&&typeof o!="bigint")throw new t("argument must be a Number or a BigInt");var n=o<0?-e(-o):e(o);return n===0?0:n},jo}var Bo,rl;function Jm(){if(rl)return Bo;rl=1;var e=La;return Bo=function(r){return(typeof r=="number"||typeof r=="bigint")&&!e(r)&&r!==1/0&&r!==-1/0},Bo}var Lo,nl;function Um(){if(nl)return Lo;nl=1;var e=zm(),t=qm(),r=La,o=Jm();return Lo=function(i){var a=e(i);return r(a)||a===0?0:o(a)?t(a):a},Lo}var Do,ol;function Qm(){if(ol)return Do;ol=1;var e=jm(),t=Um();return Do=function(o){var n=t(o);return n<=0?0:n>e?e:n},Do}var Go,il;function Km(){return il||(il=1,Go=za()),Go}var Wo,al;function od(){if(al)return Wo;al=1;var e=Vm(),t=Qm(),r=Km();return Wo=function(n){var i=e(this),a=t(i.length);if(!r(n))throw new TypeError("Array#find: predicate must be a function");if(a!==0){var s;arguments.length>0&&(s=arguments[1]);for(var u=0,l;u<a;u++)if(l=i[u],n.apply(s,[l,u,i]))return l}},Wo}var ko,ul;function id(){return ul||(ul=1,ko=function(){var t=Array.prototype.find&&[,1].find(function(){return!0})!==1;return t?Array.prototype.find:od()}),ko}var Ho,sl;function e5(){if(sl)return Ho;sl=1;var e=fr(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",r=t&&Array.prototype[Symbol.unscopables],o=TypeError;return Ho=function(i){if(typeof i!="string"||!i)throw new o("method must be a non-empty string");if(!e(Array.prototype,i))throw new o("method must be on Array.prototype");t&&r&&(r[i]=!0)},Ho}var Zo,ll;function t5(){if(ll)return Zo;ll=1;var e=Re,t=e5(),r=id();return Zo=function(){var n=r();return e(Array.prototype,{find:n},{find:function(){return Array.prototype.find!==n}}),t("find"),n},Zo}var Xo,cl;function ad(){if(cl)return Xo;cl=1;var e=Re,t=Y1(),r=Xt,o=od(),n=id(),i=t5(),a=t("Array.prototype.slice"),s=n(),u=function(c,d){r(c);var f=a(arguments,1);return s.apply(c,f)};return e(u,{getPolyfill:n,implementation:o,shim:i}),Xo=u,Xo}var $o={},zo,dl;function ud(){if(dl)return zo;dl=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var n=t(function(){},"name");return!!n&&!!n.configurable};var r=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof r=="function"&&(function(){}).bind().name!==""},zo=e,zo}var Yo,fl;function sd(){if(fl)return Yo;fl=1;var e=za(),t=fr(),r=ud()(),o=Je,n=o("Function.prototype.toString"),i=o("String.prototype.match"),a=o("Object.prototype.toString"),s=/^class /,u=function(b){if(e(b)||typeof b!="function")return!1;try{var C=i(n(b),s);return!!C}catch{}return!1},l=/\s*function\s+([^(\s]*)\s*/,c=!(0 in[,]),d="[object Object]",f="[object HTMLAllCollection]",p=Function.prototype,m=function(){return!1};if(typeof document=="object"){var g=document.all;a(g)===a(document.all)&&(m=function(b){if((c||!b)&&(typeof b>"u"||typeof b=="object"))try{var C=a(b);return(C===f||C===d)&&b("")==null}catch{}return!1})}return Yo=function(){if(m(this)||!u(this)&&!e(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(r&&t(this,"name"))return this.name;if(this===p)return"";var b=n(this),C=i(b,l),S=C&&C[1];return S},Yo}var qo,pl;function ld(){if(pl)return qo;pl=1;var e=sd();return qo=function(){return e},qo}var Jo,gl;function r5(){if(gl)return Jo;gl=1;var e=Re.supportsDescriptors,t=ud()(),r=ld(),o=Object.defineProperty,n=TypeError;return Jo=function(){var a=r();if(t)return a;if(!e)throw new n("Shimming Function.prototype.name support requires ES5 property descriptor support.");var s=Function.prototype;return o(s,"name",{configurable:!0,enumerable:!1,get:function(){var u=a.call(this);return this!==s&&o(this,"name",{configurable:!0,enumerable:!1,value:u,writable:!1}),u}}),a},Jo}var Uo,vl;function n5(){if(vl)return Uo;vl=1;var e=Re,t=wt,r=sd(),o=ld(),n=r5(),i=t(r);return e(i,{getPolyfill:o,implementation:r,shim:n}),Uo=i,Uo}var ml;function Ya(){return ml||(ml=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(n5()),r=lr();function o(i){return i&&i.__esModule?i:{default:i}}function n(i){return typeof i=="string"?i:typeof i=="function"?i.displayName||(0,t.default)(i):(0,r.isForwardRef)({type:i,$$typeof:r.Element})?i.displayName:(0,r.isMemo)(i)?n(i.type):null}}($o)),$o}var hl;function o5(){return hl||(hl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(ad()),r=i(Ya()),o=i($a()),n=i(ue());function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d,f){if(!d.every(function(m){return m&&(0,t.default)(c,function(g){return g==="*"||m.type===g})})){var p=c.map(r.default).join(", or ");return new TypeError("`".concat(f,"` only accepts children of type ").concat(p))}return null}function s(c,d,f){if(d.length===0){var p=c.map(r.default).join(", or ");return new TypeError("`".concat(f,"` requires at least one node of type ").concat(p))}return null}function u(){for(var c=arguments.length,d=new Array(c),f=0;f<c;f++)d[f]=arguments[f];if(d.length<1)throw new TypeError("childrenOfType: at least 1 type is required");function p(m,g,h){return a(d,(0,o.default)(m[g]),h)}return p.isRequired=function(m,g,h){var b=(0,o.default)(m[g]);return s(d,b,h)||a(d,b,h)},(0,n.default)(p,"childrenOfType",d)}var l=u;e.default=l}(mo)),mo}var Qo={},Ko={},ei={},ti={},ri={},bl;function cd(){return bl||(bl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Math.floor,r=isFinite,o=Number.isInteger||function(n){return typeof n=="number"&&r(n)&&t(n)===n};e.default=o}(ri)),ri}var yl;function qa(){return yl||(yl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(cd()),r=o(ue());function o(s){return s&&s.__esModule?s:{default:s}}function n(s,u,l){var c=s[u];return c==null||!(0,t.default)(c)?new RangeError("".concat(u," in ").concat(l," must be an integer")):null}var i=function(u,l){var c=u[l];if(c==null)return null;for(var d=arguments.length,f=new Array(d>2?d-2:0),p=2;p<d;p++)f[p-2]=arguments[p];return n.apply(void 0,[u,l].concat(f))};i.isRequired=n;var a=function(){return(0,r.default)(i,"integer")};e.default=a}(ti)),ti}var ni={},oi,Cl;function dd(){if(Cl)return oi;Cl=1;var e=function(t){return t!==t};return oi=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||e(r)&&e(o))},oi}var ii,xl;function fd(){if(xl)return ii;xl=1;var e=dd();return ii=function(){return typeof Object.is=="function"?Object.is:e},ii}var ai,wl;function i5(){if(wl)return ai;wl=1;var e=fd(),t=Re;return ai=function(){var o=e();return t(Object,{is:o},{is:function(){return Object.is!==o}}),o},ai}var ui,Il;function pd(){if(Il)return ui;Il=1;var e=Re,t=wt,r=dd(),o=fd(),n=i5(),i=t(o(),Object);return e(i,{getPolyfill:o,implementation:r,shim:n}),ui=i,ui}var Sl;function gd(){return Sl||(Sl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(pd()),r=o(ue());function o(u){return u&&u.__esModule?u:{default:u}}function n(u){return typeof u=="number"&&isFinite(u)&&u>=0&&!(0,t.default)(u,-0)}function i(u,l,c){var d=u[l];return d==null||n(d)?null:new RangeError("".concat(l," in ").concat(c," must be a non-negative number"))}function a(u,l,c){var d=u[l];return n(d)?null:new RangeError("".concat(l," in ").concat(c," must be a non-negative number"))}i.isRequired=a;var s=function(){return(0,r.default)(i,"nonNegativeNumber")};e.default=s}(ni)),ni}var Al;function vd(){return Al||(Al=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(It()),r=n(qa()),o=n(gd());function n(a){return a&&a.__esModule?a:{default:a}}var i=(0,t.default)([(0,r.default)(),(0,o.default)()],"nonNegativeInteger");e.default=i}(ei)),ei}var si={},li={},El;function md(){return El||(El=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=r(V);function r(i){return i&&i.__esModule?i:{default:i}}function o(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(s){return typeof s}:o=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},o(i)}function n(i){return i===null?"null":Array.isArray(i)?"array":o(i)!=="object"?o(i):t.default.isValidElement(i)?i.type:i}}(li)),li}var Rl;function hd(){return Rl||(Rl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ha()),r=n(md()),o=n(ue());function n(u){return u&&u.__esModule?u:{default:u}}var i={prop:"prop",context:"context",childContext:"child context"};function a(u,l,c,d,f){var p=u[l];if(p==null||(0,t.default)(p))return null;var m=i[d]||d;return new TypeError("Invalid ".concat(m," `").concat(f,"` of type `").concat((0,r.default)(p),"` supplied to `").concat(c,"`, expected `object`."))}a.isRequired=function(l,c,d,f,p){var m=l[c];if(m==null){var g=i[f]||f;return new TypeError("The ".concat(g," `").concat(p,"` is marked as required in `").concat(d,"`, but its value is `").concat(m,"`."))}for(var h=arguments.length,b=new Array(h>5?h-5:0),C=5;C<h;C++)b[C-5]=arguments[C];return a.apply(void 0,[l,c,d,f,p].concat(b))};var s=function(){return(0,o.default)(a,"object")};e.default=s}(si)),si}var ci={},Pl;function Ja(){return Pl||(Pl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(It()),r=o(Za());function o(i){return i&&i.__esModule?i:{default:i}}function n(i,a){if(typeof i!="function")throw new TypeError("type must be a valid PropType");var s=(0,r.default)(a);return(0,t.default)([i,s],"withShape")}}(ci)),ci}var Ol;function bd(){return Ol||(Ol=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=I;var t=Oe,r=l(It()),o=l(Xa()),n=l(vd()),i=l(hd()),a=l(Ja()),s=l(md()),u=l(ue());function l(A){return A&&A.__esModule?A:{default:A}}function c(A,x){var E=Object.keys(A);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(A);x&&(P=P.filter(function(_){return Object.getOwnPropertyDescriptor(A,_).enumerable})),E.push.apply(E,P)}return E}function d(A){for(var x=1;x<arguments.length;x++){var E=arguments[x]!=null?arguments[x]:{};x%2?c(Object(E),!0).forEach(function(P){f(A,P,E[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(E)):c(Object(E)).forEach(function(P){Object.defineProperty(A,P,Object.getOwnPropertyDescriptor(E,P))})}return A}function f(A,x,E){return x in A?Object.defineProperty(A,x,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[x]=E,A}var p=n.default,m=(0,r.default)([n.default,(0,o.default)({gte:1})]);function g(A,x){return typeof x!="number"||typeof A!="number"||A<=x?null:new RangeError("min must be less than or equal to max")}var h={validator:function(x,E){var P=x[E];return typeof P!="function"?new TypeError('"validator" must be a propType validator function'):null},min:function(x,E){return p(x,E)||g(x.min,x.max)},max:function(x,E){return m(x,E)||g(x.min,x.max)}};function b(A){var x=A.min,E=A.max,P,_;return typeof x!="number"&&typeof E!="number"?(P=1,_=1):(P=typeof x=="number"?x:1,_=typeof E=="number"?E:1/0),{minimum:P,maximum:_}}function C(A){var x=[],E;return A.reduce(function(P,_){var L=(0,s.default)(_);return!E||L===E?x.push(_):(P.push(x),x=[_]),E=L,P},[]).concat(x.length>0?[x]:[])}function S(A,x,E,P){for(var _=x[E],L=C(_),j=arguments.length,O=new Array(j>4?j-4:0),N=4;N<j;N++)O[N-4]=arguments[N];for(var T=0;T<A.length;T+=1){var M=A[T],G=M.validator,B=M.min,Z=M.max,R=b({min:B,max:Z}),F=R.minimum,D=R.maximum;if(!(L.length===0&&F===0)){var H=(0,t.arrayOf)(G).isRequired,k=L.shift(),X=H.apply(void 0,[d(d({},x),{},f({},E,k)),E,P].concat(O));if(X){if(F===0){L.unshift(k);continue}return X}if(k.length<F)return new RangeError("".concat(P,": specifier index ").concat(T," requires a minimum of ").concat(B," items, but only has ").concat(k.length,"."));if(k.length>D)return new RangeError("".concat(P,": specifier index ").concat(T," requires a maximum of ").concat(Z," items, but has ").concat(k.length,"."))}}return L.length>0?new TypeError("".concat(P,": after all ").concat(A.length," specifiers matched, ").concat(L.length," types of items were remaining.")):null}var w=(0,a.default)((0,i.default)(),h).isRequired;function I(){for(var A=arguments.length,x=new Array(A),E=0;E<A;E++)x[E]=arguments[E];if(x.length===0)throw new RangeError("sequenceOf: at least one specifier is required");var P=x.map(function(L,j){return w({specifier:L},"specifier","sequenceOf specifier","suequenceOf specifier, index ".concat(j),"specifier, index ".concat(j))});if(P.some(Boolean))throw new TypeError(`
19
+ */var Rn,Bu;function Yg(){if(Bu)return Rn;Bu=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function n(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var u=Object.getOwnPropertyNames(a).map(function(c){return a[c]});if(u.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Rn=n()?Object.assign:function(i,a){for(var s,u=o(i),l,c=1;c<arguments.length;c++){s=Object(arguments[c]);for(var d in s)t.call(s,d)&&(u[d]=s[d]);if(e){l=e(s);for(var f=0;f<l.length;f++)r.call(s,l[f])&&(u[l[f]]=s[l[f]])}}return u},Rn}var Pn,Lu;function Fa(){if(Lu)return Pn;Lu=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Pn=e,Pn}var On,Du;function R1(){return Du||(Du=1,On=Function.call.bind(Object.prototype.hasOwnProperty)),On}var _n,Gu;function qg(){if(Gu)return _n;Gu=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Fa(),r={},o=R1();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function n(i,a,s,u,l){if(process.env.NODE_ENV!=="production"){for(var c in i)if(o(i,c)){var d;try{if(typeof i[c]!="function"){var f=Error((u||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}d=i[c](a,c,u,s,null,t)}catch(m){d=m}if(d&&!(d instanceof Error)&&e((u||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in r)){r[d.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+d.message+(p??""))}}}}return n.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},_n=n,_n}var Tn,Wu;function Jg(){if(Wu)return Tn;Wu=1;var e=lr(),t=Yg(),r=Fa(),o=R1(),n=qg(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Tn=function(s,u){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function d(R){var F=R&&(l&&R[l]||R[c]);if(typeof F=="function")return F}var f="<<anonymous>>",p={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:C(),arrayOf:S,element:w(),elementType:I(),instanceOf:A,node:_(),objectOf:E,oneOf:x,oneOfType:P,shape:j,exact:O};function m(R,F){return R===F?R!==0||1/R===1/F:R!==R&&F!==F}function g(R,F){this.message=R,this.data=F&&typeof F=="object"?F:{},this.stack=""}g.prototype=Error.prototype;function h(R){if(process.env.NODE_ENV!=="production")var F={},D=0;function H($,X,Y,q,U,K,re){if(q=q||f,K=K||Y,re!==r){if(u){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var te=q+":"+Y;!F[te]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),F[te]=!0,D++)}}return X[Y]==null?$?X[Y]===null?new g("The "+U+" `"+K+"` is marked as required "+("in `"+q+"`, but its value is `null`.")):new g("The "+U+" `"+K+"` is marked as required in "+("`"+q+"`, but its value is `undefined`.")):null:R(X,Y,q,U,K)}var k=H.bind(null,!1);return k.isRequired=H.bind(null,!0),k}function b(R){function F(D,H,k,$,X,Y){var q=D[H],U=M(q);if(U!==R){var K=G(q);return new g("Invalid "+$+" `"+X+"` of type "+("`"+K+"` supplied to `"+k+"`, expected ")+("`"+R+"`."),{expectedType:R})}return null}return h(F)}function C(){return h(a)}function S(R){function F(D,H,k,$,X){if(typeof R!="function")return new g("Property `"+X+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var Y=D[H];if(!Array.isArray(Y)){var q=M(Y);return new g("Invalid "+$+" `"+X+"` of type "+("`"+q+"` supplied to `"+k+"`, expected an array."))}for(var U=0;U<Y.length;U++){var K=R(Y,U,k,$,X+"["+U+"]",r);if(K instanceof Error)return K}return null}return h(F)}function w(){function R(F,D,H,k,$){var X=F[D];if(!s(X)){var Y=M(X);return new g("Invalid "+k+" `"+$+"` of type "+("`"+Y+"` supplied to `"+H+"`, expected a single ReactElement."))}return null}return h(R)}function I(){function R(F,D,H,k,$){var X=F[D];if(!e.isValidElementType(X)){var Y=M(X);return new g("Invalid "+k+" `"+$+"` of type "+("`"+Y+"` supplied to `"+H+"`, expected a single ReactElement type."))}return null}return h(R)}function A(R){function F(D,H,k,$,X){if(!(D[H]instanceof R)){var Y=R.name||f,q=Z(D[H]);return new g("Invalid "+$+" `"+X+"` of type "+("`"+q+"` supplied to `"+k+"`, expected ")+("instance of `"+Y+"`."))}return null}return h(F)}function x(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function F(D,H,k,$,X){for(var Y=D[H],q=0;q<R.length;q++)if(m(Y,R[q]))return null;var U=JSON.stringify(R,function(re,W){var te=G(W);return te==="symbol"?String(W):W});return new g("Invalid "+$+" `"+X+"` of value `"+String(Y)+"` "+("supplied to `"+k+"`, expected one of "+U+"."))}return h(F)}function E(R){function F(D,H,k,$,X){if(typeof R!="function")return new g("Property `"+X+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var Y=D[H],q=M(Y);if(q!=="object")return new g("Invalid "+$+" `"+X+"` of type "+("`"+q+"` supplied to `"+k+"`, expected an object."));for(var U in Y)if(o(Y,U)){var K=R(Y,U,k,$,X+"."+U,r);if(K instanceof Error)return K}return null}return h(F)}function P(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var F=0;F<R.length;F++){var D=R[F];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(D)+" at index "+F+"."),a}function H(k,$,X,Y,q){for(var U=[],K=0;K<R.length;K++){var re=R[K],W=re(k,$,X,Y,q,r);if(W==null)return null;W.data&&o(W.data,"expectedType")&&U.push(W.data.expectedType)}var te=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new g("Invalid "+Y+" `"+q+"` supplied to "+("`"+X+"`"+te+"."))}return h(H)}function _(){function R(F,D,H,k,$){return N(F[D])?null:new g("Invalid "+k+" `"+$+"` supplied to "+("`"+H+"`, expected a ReactNode."))}return h(R)}function L(R,F,D,H,k){return new g((R||"React class")+": "+F+" type `"+D+"."+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function j(R){function F(D,H,k,$,X){var Y=D[H],q=M(Y);if(q!=="object")return new g("Invalid "+$+" `"+X+"` of type `"+q+"` "+("supplied to `"+k+"`, expected `object`."));for(var U in R){var K=R[U];if(typeof K!="function")return L(k,$,X,U,G(K));var re=K(Y,U,k,$,X+"."+U,r);if(re)return re}return null}return h(F)}function O(R){function F(D,H,k,$,X){var Y=D[H],q=M(Y);if(q!=="object")return new g("Invalid "+$+" `"+X+"` of type `"+q+"` "+("supplied to `"+k+"`, expected `object`."));var U=t({},D[H],R);for(var K in U){var re=R[K];if(o(R,K)&&typeof re!="function")return L(k,$,X,K,G(re));if(!re)return new g("Invalid "+$+" `"+X+"` key `"+K+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(D[H],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var W=re(Y,K,k,$,X+"."+K,r);if(W)return W}return null}return h(F)}function N(R){switch(typeof R){case"number":case"string":case"undefined":return!0;case"boolean":return!R;case"object":if(Array.isArray(R))return R.every(N);if(R===null||s(R))return!0;var F=d(R);if(F){var D=F.call(R),H;if(F!==R.entries){for(;!(H=D.next()).done;)if(!N(H.value))return!1}else for(;!(H=D.next()).done;){var k=H.value;if(k&&!N(k[1]))return!1}}else return!1;return!0;default:return!1}}function T(R,F){return R==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function M(R){var F=typeof R;return Array.isArray(R)?"array":R instanceof RegExp?"object":T(F,R)?"symbol":F}function G(R){if(typeof R>"u"||R===null)return""+R;var F=M(R);if(F==="object"){if(R instanceof Date)return"date";if(R instanceof RegExp)return"regexp"}return F}function B(R){var F=G(R);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function Z(R){return!R.constructor||!R.constructor.name?f:R.constructor.name}return p.checkPropTypes=n,p.resetWarningCache=n.resetWarningCache,p.PropTypes=p,p},Tn}var Mn,ku;function Ug(){if(ku)return Mn;ku=1;var e=Fa();function t(){}function r(){}return r.resetWarningCache=t,Mn=function(){function o(a,s,u,l,c,d){if(d!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function n(){return o}var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:n,element:o,elementType:o,instanceOf:n,node:o,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Mn}if(process.env.NODE_ENV!=="production"){var Qg=lr(),Kg=!0;oa.exports=Jg()(Qg.isElement,Kg)}else oa.exports=Ug()();var Oe=oa.exports;const ne=Na(Oe);var Nn,Hu;function ev(){if(Hu)return Nn;Hu=1;function e(){return null}e.isRequired=e;function t(){return e}return Nn={and:t,between:t,booleanSome:t,childrenHavePropXorChildren:t,childrenOf:t,childrenOfType:t,childrenSequenceOf:t,componentWithName:t,disallowedIf:t,elementType:t,empty:t,explicitNull:t,forbidExtraProps:Object,integer:t,keysOf:t,mutuallyExclusiveProps:t,mutuallyExclusiveTrueProps:t,nChildren:t,nonNegativeInteger:e,nonNegativeNumber:t,numericString:t,object:t,or:t,predicate:t,range:t,ref:t,requiredBy:t,restrictedProp:t,sequenceOf:t,shape:t,stringEndsWith:t,stringStartsWith:t,uniqueArray:t,uniqueArrayOf:t,valuesOf:t,withShape:t},Nn}var Zu=Object.prototype.toString,P1=function(t){var r=Zu.call(t),o=r==="[object Arguments]";return o||(o=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Zu.call(t.callee)==="[object Function]"),o},Fn,Xu;function tv(){if(Xu)return Fn;Xu=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=P1,n=Object.prototype.propertyIsEnumerable,i=!n.call({toString:null},"toString"),a=n.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(f){var p=f.constructor;return p&&p.prototype===f},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var f in window)try{if(!l["$"+f]&&t.call(window,f)&&window[f]!==null&&typeof window[f]=="object")try{u(window[f])}catch{return!0}}catch{return!0}return!1}(),d=function(f){if(typeof window>"u"||!c)return u(f);try{return u(f)}catch{return!1}};e=function(p){var m=p!==null&&typeof p=="object",g=r.call(p)==="[object Function]",h=o(p),b=m&&r.call(p)==="[object String]",C=[];if(!m&&!g&&!h)throw new TypeError("Object.keys called on a non-object");var S=a&&g;if(b&&p.length>0&&!t.call(p,0))for(var w=0;w<p.length;++w)C.push(String(w));if(h&&p.length>0)for(var I=0;I<p.length;++I)C.push(String(I));else for(var A in p)!(S&&A==="prototype")&&t.call(p,A)&&C.push(String(A));if(i)for(var x=d(p),E=0;E<s.length;++E)!(x&&s[E]==="constructor")&&t.call(p,s[E])&&C.push(s[E]);return C}}return Fn=e,Fn}var rv=Array.prototype.slice,nv=P1,$u=Object.keys,Tr=$u?function(t){return $u(t)}:tv(),zu=Object.keys;Tr.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(o){return nv(o)?zu(rv.call(o)):zu(o)})}else Object.keys=Tr;return Object.keys||Tr};var Va=Tr,Mr=Object.defineProperty||!1;if(Mr)try{Mr({},"a",{value:1})}catch{Mr=!1}var un=Mr,O1=SyntaxError,Fe=TypeError,ov=Object.getOwnPropertyDescriptor,Nr=ov;if(Nr)try{Nr([],"length")}catch{Nr=null}var cr=Nr,Yu=un,iv=O1,St=Fe,qu=cr,ja=function(t,r,o){if(!t||typeof t!="object"&&typeof t!="function")throw new St("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new St("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new St("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new St("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new St("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new St("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,u=!!qu&&qu(t,r);if(Yu)Yu(t,r,{configurable:a===null&&u?u.configurable:!a,enumerable:n===null&&u?u.enumerable:!n,value:o,writable:i===null&&u?u.writable:!i});else if(s||!n&&!i&&!a)t[r]=o;else throw new iv("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ia=un,_1=function(){return!!ia};_1.hasArrayLengthDefineBug=function(){if(!ia)return null;try{return ia([],"length",{value:1}).length!==1}catch{return!0}};var Ba=_1,av=Va,uv=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",sv=Object.prototype.toString,lv=Array.prototype.concat,Ju=ja,cv=function(e){return typeof e=="function"&&sv.call(e)==="[object Function]"},T1=Ba(),dv=function(e,t,r,o){if(t in e){if(o===!0){if(e[t]===r)return}else if(!cv(o)||!o())return}T1?Ju(e,t,r,!0):Ju(e,t,r)},M1=function(e,t){var r=arguments.length>2?arguments[2]:{},o=av(t);uv&&(o=lv.call(o,Object.getOwnPropertySymbols(t)));for(var n=0;n<o.length;n+=1)dv(e,o[n],t[o[n]],r[o[n]])};M1.supportsDescriptors=!!T1;var Re=M1,N1={exports:{}},sn=Object,fv=Error,pv=EvalError,gv=RangeError,vv=ReferenceError,mv=URIError,hv=Math.abs,F1=Math.floor,bv=Math.max,yv=Math.min,Cv=Math.pow,xv=Math.round,La=Number.isNaN||function(t){return t!==t},wv=La,Iv=function(t){return wv(t)||t===0?t:t<0?-1:1},Vn,Uu;function Da(){return Uu||(Uu=1,Vn=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var n=42;t[r]=n;for(var i in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==n||s.enumerable!==!0)return!1}return!0}),Vn}var jn,Qu;function V1(){if(Qu)return jn;Qu=1;var e=typeof Symbol<"u"&&Symbol,t=Da();return jn=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},jn}var Bn,Ku;function j1(){return Ku||(Ku=1,Bn=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Bn}var Ln,es;function B1(){if(es)return Ln;es=1;var e=sn;return Ln=e.getPrototypeOf||null,Ln}var Sv="Function.prototype.bind called on incompatible ",Av=Object.prototype.toString,Ev=Math.max,Rv="[object Function]",ts=function(t,r){for(var o=[],n=0;n<t.length;n+=1)o[n]=t[n];for(var i=0;i<r.length;i+=1)o[i+t.length]=r[i];return o},Pv=function(t,r){for(var o=[],n=r,i=0;n<t.length;n+=1,i+=1)o[i]=t[n];return o},Ov=function(e,t){for(var r="",o=0;o<e.length;o+=1)r+=e[o],o+1<e.length&&(r+=t);return r},_v=function(t){var r=this;if(typeof r!="function"||Av.apply(r)!==Rv)throw new TypeError(Sv+r);for(var o=Pv(arguments,1),n,i=function(){if(this instanceof n){var c=r.apply(this,ts(o,arguments));return Object(c)===c?c:this}return r.apply(t,ts(o,arguments))},a=Ev(0,r.length-o.length),s=[],u=0;u<a;u++)s[u]="$"+u;if(n=Function("binder","return function ("+Ov(s,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n},Tv=_v,dr=Function.prototype.bind||Tv,Ga=Function.prototype.call,Wa=Function.prototype.apply,Mv=typeof Reflect<"u"&&Reflect&&Reflect.apply,Nv=dr,Fv=Wa,Vv=Ga,jv=Mv,L1=jv||Nv.call(Vv,Fv),Bv=dr,Lv=Fe,Dv=Ga,Gv=L1,ka=function(t){if(t.length<1||typeof t[0]!="function")throw new Lv("a function is required");return Gv(Bv,Dv,t)},Dn,rs;function Wv(){if(rs)return Dn;rs=1;var e=ka,t=cr,r;try{r=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var o=!!r&&t&&t(Object.prototype,"__proto__"),n=Object,i=n.getPrototypeOf;return Dn=o&&typeof o.get=="function"?e([o.get]):typeof i=="function"?function(s){return i(s==null?s:n(s))}:!1,Dn}var Gn,ns;function kv(){if(ns)return Gn;ns=1;var e=j1(),t=B1(),r=Wv();return Gn=e?function(n){return e(n)}:t?function(n){if(!n||typeof n!="object"&&typeof n!="function")throw new TypeError("getProto: not an object");return t(n)}:r?function(n){return r(n)}:null,Gn}var Wn,os;function fr(){if(os)return Wn;os=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=dr;return Wn=r.call(e,t),Wn}var ie,Hv=sn,Zv=fv,Xv=pv,$v=gv,zv=vv,Dt=O1,Ft=Fe,Yv=mv,qv=hv,Jv=F1,Uv=bv,Qv=yv,Kv=Cv,em=xv,tm=Iv,D1=Function,kn=function(e){try{return D1('"use strict"; return ('+e+").constructor;")()}catch{}},rr=cr,rm=un,Hn=function(){throw new Ft},nm=rr?function(){try{return arguments.callee,Hn}catch{try{return rr(arguments,"callee").get}catch{return Hn}}}():Hn,At=V1()(),xe=kv(),om=B1(),im=j1(),G1=Wa,pr=Ga,Tt={},am=typeof Uint8Array>"u"||!xe?ie:xe(Uint8Array),mt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ie:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ie:ArrayBuffer,"%ArrayIteratorPrototype%":At&&xe?xe([][Symbol.iterator]()):ie,"%AsyncFromSyncIteratorPrototype%":ie,"%AsyncFunction%":Tt,"%AsyncGenerator%":Tt,"%AsyncGeneratorFunction%":Tt,"%AsyncIteratorPrototype%":Tt,"%Atomics%":typeof Atomics>"u"?ie:Atomics,"%BigInt%":typeof BigInt>"u"?ie:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ie:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ie:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ie:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Zv,"%eval%":eval,"%EvalError%":Xv,"%Float32Array%":typeof Float32Array>"u"?ie:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ie:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ie:FinalizationRegistry,"%Function%":D1,"%GeneratorFunction%":Tt,"%Int8Array%":typeof Int8Array>"u"?ie:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ie:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ie:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":At&&xe?xe(xe([][Symbol.iterator]())):ie,"%JSON%":typeof JSON=="object"?JSON:ie,"%Map%":typeof Map>"u"?ie:Map,"%MapIteratorPrototype%":typeof Map>"u"||!At||!xe?ie:xe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Hv,"%Object.getOwnPropertyDescriptor%":rr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ie:Promise,"%Proxy%":typeof Proxy>"u"?ie:Proxy,"%RangeError%":$v,"%ReferenceError%":zv,"%Reflect%":typeof Reflect>"u"?ie:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ie:Set,"%SetIteratorPrototype%":typeof Set>"u"||!At||!xe?ie:xe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ie:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":At&&xe?xe(""[Symbol.iterator]()):ie,"%Symbol%":At?Symbol:ie,"%SyntaxError%":Dt,"%ThrowTypeError%":nm,"%TypedArray%":am,"%TypeError%":Ft,"%Uint8Array%":typeof Uint8Array>"u"?ie:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ie:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ie:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ie:Uint32Array,"%URIError%":Yv,"%WeakMap%":typeof WeakMap>"u"?ie:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ie:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ie:WeakSet,"%Function.prototype.call%":pr,"%Function.prototype.apply%":G1,"%Object.defineProperty%":rm,"%Object.getPrototypeOf%":om,"%Math.abs%":qv,"%Math.floor%":Jv,"%Math.max%":Uv,"%Math.min%":Qv,"%Math.pow%":Kv,"%Math.round%":em,"%Math.sign%":tm,"%Reflect.getPrototypeOf%":im};if(xe)try{null.error}catch(e){var um=xe(xe(e));mt["%Error.prototype%"]=um}var sm=function e(t){var r;if(t==="%AsyncFunction%")r=kn("async function () {}");else if(t==="%GeneratorFunction%")r=kn("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=kn("async function* () {}");else if(t==="%AsyncGenerator%"){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if(t==="%AsyncIteratorPrototype%"){var n=e("%AsyncGenerator%");n&&xe&&(r=xe(n.prototype))}return mt[t]=r,r},is={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},gr=dr,kr=fr(),lm=gr.call(pr,Array.prototype.concat),cm=gr.call(G1,Array.prototype.splice),as=gr.call(pr,String.prototype.replace),Hr=gr.call(pr,String.prototype.slice),dm=gr.call(pr,RegExp.prototype.exec),fm=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pm=/\\(\\)?/g,gm=function(t){var r=Hr(t,0,1),o=Hr(t,-1);if(r==="%"&&o!=="%")throw new Dt("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&r!=="%")throw new Dt("invalid intrinsic syntax, expected opening `%`");var n=[];return as(t,fm,function(i,a,s,u){n[n.length]=s?as(u,pm,"$1"):a||i}),n},vm=function(t,r){var o=t,n;if(kr(is,o)&&(n=is[o],o="%"+n[0]+"%"),kr(mt,o)){var i=mt[o];if(i===Tt&&(i=sm(o)),typeof i>"u"&&!r)throw new Ft("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new Dt("intrinsic "+t+" does not exist!")},xt=function(t,r){if(typeof t!="string"||t.length===0)throw new Ft("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ft('"allowMissing" argument must be a boolean');if(dm(/^%?[^%]*%?$/,t)===null)throw new Dt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=gm(t),n=o.length>0?o[0]:"",i=vm("%"+n+"%",r),a=i.name,s=i.value,u=!1,l=i.alias;l&&(n=l[0],cm(o,lm([0,1],l)));for(var c=1,d=!0;c<o.length;c+=1){var f=o[c],p=Hr(f,0,1),m=Hr(f,-1);if((p==='"'||p==="'"||p==="`"||m==='"'||m==="'"||m==="`")&&p!==m)throw new Dt("property names with quotes must have matching quotes");if((f==="constructor"||!d)&&(u=!0),n+="."+f,a="%"+n+"%",kr(mt,a))s=mt[a];else if(s!=null){if(!(f in s)){if(!r)throw new Ft("base intrinsic for "+t+" exists, but the property is not available.");return}if(rr&&c+1>=o.length){var g=rr(s,f);d=!!g,d&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[f]}else d=kr(s,f),s=s[f];d&&!u&&(mt[a]=s)}}return s},mm=xt,us=ja,hm=Ba(),ss=cr,ls=Fe,bm=mm("%Math.floor%"),ym=function(t,r){if(typeof t!="function")throw new ls("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||bm(r)!==r)throw new ls("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],n=!0,i=!0;if("length"in t&&ss){var a=ss(t,"length");a&&!a.configurable&&(n=!1),a&&!a.writable&&(i=!1)}return(n||i||!o)&&(hm?us(t,"length",r,!0,!0):us(t,"length",r)),t},Cm=dr,xm=Wa,wm=L1,Im=function(){return wm(Cm,xm,arguments)};(function(e){var t=ym,r=un,o=ka,n=Im;e.exports=function(a){var s=o(arguments),u=a.length-(arguments.length-1);return t(s,1+(u>0?u:0),!0)},r?r(e.exports,"apply",{value:n}):e.exports.apply=n})(N1);var wt=N1.exports,W1=xt,k1=ka,Sm=k1([W1("%String.prototype.indexOf%")]),Je=function(t,r){var o=W1(t,!!r);return typeof o=="function"&&Sm(t,".prototype.")>-1?k1([o]):o},Zn,cs;function H1(){if(cs)return Zn;cs=1;var e=Va,t=Da()(),r=Je,o=sn,n=r("Array.prototype.push"),i=r("Object.prototype.propertyIsEnumerable"),a=t?o.getOwnPropertySymbols:null;return Zn=function(u,l){if(u==null)throw new TypeError("target must be an object");var c=o(u);if(arguments.length===1)return c;for(var d=1;d<arguments.length;++d){var f=o(arguments[d]),p=e(f),m=t&&(o.getOwnPropertySymbols||a);if(m)for(var g=m(f),h=0;h<g.length;++h){var b=g[h];i(f,b)&&n(p,b)}for(var C=0;C<p.length;++C){var S=p[C];if(i(f,S)){var w=f[S];c[S]=w}}}return c},Zn}var Xn,ds;function Z1(){if(ds)return Xn;ds=1;var e=H1(),t=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",n=o.split(""),i={},a=0;a<n.length;++a)i[n[a]]=n[a];var s=Object.assign({},i),u="";for(var l in s)u+=l;return o!==u},r=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return Xn=function(){return!Object.assign||t()||r()?e:Object.assign},Xn}var $n,fs;function Am(){if(fs)return $n;fs=1;var e=Re,t=Z1();return $n=function(){var o=t();return e(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},$n}var zn,ps;function X1(){if(ps)return zn;ps=1;var e=Re,t=wt,r=H1(),o=Z1(),n=Am(),i=t.apply(o()),a=function(u,l){return i(Object,arguments)};return e(a,{getPolyfill:o,implementation:r,shim:n}),zn=a,zn}var Yn,gs;function $1(){if(gs)return Yn;gs=1;var e={}.toString;return Yn=Array.isArray||function(t){return e.call(t)=="[object Array]"},Yn}var qn,vs;function Em(){if(vs)return qn;vs=1;var e=Fe,t=$1();return qn=function(o,n){if(!t(o))throw new e("target must be an array");for(var i=0;i<n.length;i++)o[o.length]=n[i]},qn}var Jn,ms;function Rm(){if(ms)return Jn;ms=1;var e=xt,t=Em(),r=e("%Reflect.ownKeys%",!0),o=e("%Object.getOwnPropertyNames%",!0),n=e("%Object.getOwnPropertySymbols%",!0),i=Va;return Jn=r||function(s){var u=(o||i)(s);return n&&t(u,n(s)),u},Jn}var Un,hs;function z1(){if(hs)return Un;hs=1;var e=$1();return Un=function(r){return r&&typeof r=="object"&&!e(r)},Un}var Qn,bs;function Pm(){if(bs)return Qn;bs=1;var e=X1(),t=fr(),r=Rm(),o=Fe,n=z1(),i="​",a="prop-types-exact: "+i,s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for(a):a,u=Je,l=u("Object.prototype.propertyIsEnumerable");function c(f){return f[a]=s,f}function d(f){return f&&f[a]===s}return Qn=function(p){if(!n(p))throw new o("given propTypes must be an object");if(t(p,a)&&!d(p[a]))throw new o("Against all odds, you created a propType for a prop that uses both the zero-width space and our custom string - which, sadly, conflicts with `prop-types-exact`");var m={};return m[a]=c(function(h,b,C){var S=r(h).filter(function(w){return!t(p,w)&&l(h,w)});return S.length>0?new o(C+": unknown props found: "+S.join(", ")):null}),e({},p,m)},Qn}var Kn={},eo={},ys;function ue(){return ys||(ys=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(X1());function r(n){return n&&n.__esModule?n:{default:n}}function o(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,t.default)(n.bind(),{typeName:i,typeChecker:a,isRequired:(0,t.default)(n.isRequired.bind(),{typeName:i,typeChecker:a,typeRequired:!0})})}}(eo)),eo}var Cs;function It(){return Cs||(Cs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(ue());function r(n){return n&&n.__esModule?n:{default:n}}function o(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"and";if(!Array.isArray(n))throw new TypeError("and: 2 or more validators are required");if(n.length<=1)throw new RangeError("and: 2 or more validators are required");var a=function(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];var d=null;return n.some(function(f){return d=f.apply(void 0,l),d!=null}),d??null};return a.isRequired=function(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];var d=null;return n.some(function(f){return d=f.isRequired.apply(f,l),d!=null}),d??null},(0,t.default)(a,i,n)}}(Kn)),Kn}var to={},Om=Fe,Xt=function(t){if(t==null)throw new Om(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t},ro,xs;function Y1(){if(xs)return ro;xs=1;var e=xt,t=wt,r=t(e("String.prototype.indexOf"));return ro=function(n,i){var a=e(n,!!i);return typeof a=="function"&&r(n,".prototype.")>-1?t(a):a},ro}var no,ws;function q1(){if(ws)return no;ws=1;var e=Xt,t=Y1(),r=t("Object.prototype.propertyIsEnumerable"),o=t("Array.prototype.push");return no=function(i){var a=e(i),s=[];for(var u in a)r(a,u)&&o(s,[u,a[u]]);return s},no}var oo,Is;function J1(){if(Is)return oo;Is=1;var e=q1();return oo=function(){return typeof Object.entries=="function"?Object.entries:e},oo}var io,Ss;function _m(){if(Ss)return io;Ss=1;var e=J1(),t=Re;return io=function(){var o=e();return t(Object,{entries:o},{entries:function(){return Object.entries!==o}}),o},io}var ao,As;function Tm(){if(As)return ao;As=1;var e=Re,t=wt,r=q1(),o=J1(),n=_m(),i=t(o(),Object);return e(i,{getPolyfill:o,implementation:r,shim:n}),ao=i,ao}var uo={},so={},Es;function Ha(){return Es||(Es=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(z1());function r(n){return n&&n.__esModule?n:{default:n}}var o=t.default;e.default=o}(so)),so}var Rs;function Za(){return Rs||(Rs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(Ha()),r=o(ue());function o(i){return i&&i.__esModule?i:{default:i}}function n(i){if(!(0,t.default)(i))throw new TypeError("shape must be a normal object");function a(s,u,l,c){var d=s[u];if(d==null)return null;for(var f=arguments.length,p=new Array(f>4?f-4:0),m=4;m<f;m++)p[m-4]=arguments[m];for(var g in i){var h=i[g];if(h){var b=h.apply(void 0,[d,g,l,c].concat(p));if(b)return b}}return null}return a.isRequired=function(u,l,c){var d=u[l];if(d==null)return new TypeError("".concat(c,": ").concat(l," is required."));for(var f=arguments.length,p=new Array(f>3?f-3:0),m=3;m<f;m++)p[m-3]=arguments[m];return a.apply(void 0,[u,l,c].concat(p))},(0,r.default)(a,"shape",i)}}(uo)),uo}var lo={},co={},Ps;function U1(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(i){return typeof i}:t=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(o)}function r(o){return!o||t(o)!=="object"&&typeof o!="function"}}(co)),co}var Os;function Q1(){return Os||(Os=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(U1()),r=o(ue());function o(i){return i&&i.__esModule?i:{default:i}}function n(i){if(typeof i!="function")throw new TypeError("objectOf: propType must be a function");var a=function(u,l,c,d,f){for(var p=arguments.length,m=new Array(p>5?p-5:0),g=5;g<p;g++)m[g-5]=arguments[g];var h=u[l];if(h==null||(0,t.default)(h))return null;var b;return Object.keys(h).some(function(C){return b=i.apply(void 0,[h,C,c,d,"".concat(f,".").concat(C)].concat(m)),b}),b||null};return a.isRequired=function(u,l,c){var d=u[l];if(d==null)return new TypeError("".concat(c,": ").concat(l," is required."));for(var f=arguments.length,p=new Array(f>3?f-3:0),m=3;m<f;m++)p[m-3]=arguments[m];return a.apply(void 0,[u,l,c].concat(p))},(0,r.default)(a,"valuesOf",i)}}(lo)),lo}var _s;function Xa(){return _s||(_s=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=j;var t=i(Tm()),r=i(Za()),o=i(Q1()),n=i(ue());function i(O){return O&&O.__esModule?O:{default:O}}function a(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(T){return typeof T}:a=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},a(O)}function s(O,N){var T=Object.keys(O);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(O);N&&(M=M.filter(function(G){return Object.getOwnPropertyDescriptor(O,G).enumerable})),T.push.apply(T,M)}return T}function u(O){for(var N=1;N<arguments.length;N++){var T=arguments[N]!=null?arguments[N]:{};N%2?s(Object(T),!0).forEach(function(M){l(O,M,T[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(T)):s(Object(T)).forEach(function(M){Object.defineProperty(O,M,Object.getOwnPropertyDescriptor(T,M))})}return O}function l(O,N,T){return N in O?Object.defineProperty(O,N,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[N]=T,O}function c(O,N){return g(O)||m(O,N)||f(O,N)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
21
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(O,N){if(O){if(typeof O=="string")return p(O,N);var T=Object.prototype.toString.call(O).slice(8,-1);if(T==="Object"&&O.constructor&&(T=O.constructor.name),T==="Map"||T==="Set")return Array.from(O);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return p(O,N)}}function p(O,N){(N==null||N>O.length)&&(N=O.length);for(var T=0,M=new Array(N);T<N;T++)M[T]=O[T];return M}function m(O,N){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(O)))){var T=[],M=!0,G=!1,B=void 0;try{for(var Z=O[Symbol.iterator](),R;!(M=(R=Z.next()).done)&&(T.push(R.value),!(N&&T.length===N));M=!0);}catch(F){G=!0,B=F}finally{try{!M&&Z.return!=null&&Z.return()}finally{if(G)throw B}}return T}}function g(O){if(Array.isArray(O))return O}function h(O,N,T){var M=O[N];return typeof M=="number"&&!isNaN(M)?null:new TypeError("".concat(T,": ").concat(N," must be a non-NaN number."))}function b(O,N){var T=O[N];return typeof T=="function"||typeof T=="number"&&!isNaN(T)?null:new TypeError("".concat(N,": a function, or a non-NaN number is required"))}function C(O,N){var T=N.gt,M=N.gte;return typeof T=="number"?O>T:typeof M=="number"?O>=M:!0}function S(O,N){var T=N.lt,M=N.lte;return typeof T=="number"?O<T:typeof M=="number"?O<=M:!0}function w(O){var N=O.gt,T=O.gte;return typeof N=="number"?"greater than ".concat(N):typeof T=="number"?"greater than or equal to ".concat(T):""}function I(O){var N=O.lt,T=O.lte;return typeof N=="number"?"less than ".concat(N):typeof T=="number"?"less than or equal to ".concat(T):""}function A(O,N,T){var M=[w(T),I(T)].filter(Boolean).join(" and ");return"".concat(O,": ").concat(N," must be ").concat(M)}function x(O){return(0,t.default)(O).reduce(function(N,T){var M=c(T,2),G=M[0],B=M[1],Z=typeof B=="number"?function(){return B}:B;return u(u({},N),{},l({},G,Z))},{})}function E(O,N){return(0,t.default)(O).reduce(function(T,M){var G=c(M,2),B=G[0],Z=G[1],R=Z(N);return u(u({},T),{},l({},B,R))},{})}var P=[(0,r.default)({lt:b,gt:b}).isRequired,(0,r.default)({lte:b,gt:b}).isRequired,(0,r.default)({lt:b,gte:b}).isRequired,(0,r.default)({lte:b,gte:b}).isRequired,(0,r.default)({lt:b}).isRequired,(0,r.default)({lte:b}).isRequired,(0,r.default)({gt:b}).isRequired,(0,r.default)({gte:b}).isRequired];function _(O,N){return P.every(function(T){return!!T(O,N)})}var L=(0,o.default)(h).isRequired;function j(O){var N=_({options:O},"options");if(N)throw new TypeError("between: only one of the pairs of `lt`/`lte`, and `gt`/`gte`, may be supplied, and at least one pair must be provided.");var T=x(O),M=function(B,Z,R){var F=B[Z];if(F==null)return null;if(typeof F!="number")return new RangeError("".concat(R,": ").concat(Z,' must be a number, got "').concat(a(F),'"'));for(var D=E(T,B),H=arguments.length,k=new Array(H>3?H-3:0),$=3;$<H;$++)k[$-3]=arguments[$];var X=L.apply(void 0,[l({},Z,D),Z,R].concat(k));return X||(!C(F,D)||!S(F,D)?new RangeError(A(R,Z,D)):null)};return M.isRequired=function(B,Z,R){var F=B[Z];if(typeof F!="number")return new RangeError("".concat(R,": ").concat(Z,' must be a number, got "').concat(a(F),'"'));for(var D=E(T,B),H=arguments.length,k=new Array(H>3?H-3:0),$=3;$<H;$++)k[$-3]=arguments[$];var X=L.apply(void 0,[l({},Z,D),Z,R].concat(k));return X||(!C(F,D)||!S(F,D)?new RangeError(A(R,Z,D)):null)},(0,n.default)(M,"between",O)}}(to)),to}var fo={},Ts;function Mm(){return Ts||(Ts=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=Oe,r=o(ue());function o(i){return i&&i.__esModule?i:{default:i}}function n(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if(a.length<1)throw new TypeError("at least one prop (one of which must be `true`) is required");if(!a.every(function(c){return typeof c=="string"}))throw new TypeError("all booleanSome props must be strings");var u=a.join(", or "),l=function(d,f,p){var m=function(w,I){return w+(d[I]===!1?1:0)},g=a.reduce(m,0);if(g===a.length)return new Error("A ".concat(p," must have at least one of these boolean props be `true`: ").concat(u));for(var h=arguments.length,b=new Array(h>3?h-3:0),C=3;C<h;C++)b[C-3]=arguments[C];return t.bool.apply(void 0,[d,f,p].concat(b))};return l.isRequired=function(d,f,p){var m=function(w,I){return w+(d[I]===!1?1:0)},g=a.reduce(m,0);if(g===a.length)return new Error("A ".concat(p," must have at least one of these boolean props be `true`: ").concat(u));for(var h=arguments.length,b=new Array(h>3?h-3:0),C=3;C<h;C++)b[C-3]=arguments[C];return t.bool.isRequired.apply(t.bool,[d,f,p].concat(b))},(0,r.default)(l,"booleanSome: ".concat(u),a)}}(fo)),fo}var po={},Ms;function Nm(){return Ms||(Ms=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=o(V),r=o(ue());function o(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(u){return typeof u}:n=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(a)}function i(a){if(typeof a!="string"&&n(a)!=="symbol")throw new TypeError("invalid prop: must be string or symbol");var s=function(l,c,d){var f=l.children,p=0,m=0,g=0;return t.default.Children.forEach(f,function(h){h&&(p+=1,h.props[a]&&(m+=1),t.default.Children.count(h.props.children)&&(g+=1))}),m===p&&g===0||m===0&&g===p||m===0&&g===0?null:new TypeError("`".concat(d,"` requires children to all have prop “").concat(a,"”, all have children, or all have neither."))};return s.isRequired=s,(0,r.default)(s,"childrenHavePropXorChildrenWithProp:".concat(a),a)}}(po)),po}var go={},vo={},Ns;function $a(){return Ns||(Ns=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(V);function r(n){return n&&n.__esModule?n:{default:n}}function o(n){return t.default.Children.toArray(n).filter(function(i){return i===0||i})}}(vo)),vo}var Fs;function Fm(){return Fs||(Fs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var t=o($a()),r=o(ue());function o(l){return l&&l.__esModule?l:{default:l}}function n(l,c){var d=Object.keys(l);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(l);c&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(l,p).enumerable})),d.push.apply(d,f)}return d}function i(l){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?n(Object(d),!0).forEach(function(f){a(l,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(d)):n(Object(d)).forEach(function(f){Object.defineProperty(l,f,Object.getOwnPropertyDescriptor(d,f))})}return l}function a(l,c,d){return c in l?Object.defineProperty(l,c,{value:d,enumerable:!0,configurable:!0,writable:!0}):l[c]=d,l}function s(l,c,d){for(var f=arguments.length,p=new Array(f>3?f-3:0),m=3;m<f;m++)p[m-3]=arguments[m];var g;return c.some(function(h){return g=l.apply(void 0,[i(i({},d),{},{children:h}),"children"].concat(p)),g}),g||null}function u(l){function c(d,f,p){if(f!=="children")return new TypeError("".concat(p,' is using the childrenOf validator on non-children prop "').concat(f,'"'));var m=d[f];if(m==null)return null;var g=(0,t.default)(m);if(g.length===0)return null;for(var h=arguments.length,b=new Array(h>3?h-3:0),C=3;C<h;C++)b[C-3]=arguments[C];return s.apply(void 0,[l,g,d,p].concat(b))}return c.isRequired=function(d,f,p){if(f!=="children")return new TypeError("".concat(p,' is using the childrenOf validator on non-children prop "').concat(f,'"'));var m=(0,t.default)(d[f]);if(m.length===0)return new TypeError("`".concat(p,"` requires at least one node of type ").concat(l.typeName||l.name));for(var g=arguments.length,h=new Array(g>3?g-3:0),b=3;b<g;b++)h[b-3]=arguments[b];return s.apply(void 0,[l,m,d,p].concat(h))},(0,r.default)(c,"childrenOf",l)}}(go)),go}var mo={},ho,Vs;function Vm(){if(Vs)return ho;Vs=1;var e=sn,t=Xt;return ho=function(o){return t(o),e(o)},ho}var bo,js;function jm(){return js||(js=1,bo=Number.MAX_SAFE_INTEGER||9007199254740991),bo}var yo,Bs;function Bm(){return Bs||(Bs=1,yo=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),yo}var Co,Ls;function Lm(){return Ls||(Ls=1,Co=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),Co}var xo,Ds;function za(){if(Ds)return xo;Ds=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,o;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},t(function(){throw 42},null,r)}catch(C){C!==o&&(t=null)}else t=null;var n=/^\s*class\b/,i=function(S){try{var w=e.call(S);return n.test(w)}catch{return!1}},a=function(S){try{return i(S)?!1:(e.call(S),!0)}catch{return!1}},s=Object.prototype.toString,u="[object Object]",l="[object Function]",c="[object GeneratorFunction]",d="[object HTMLAllCollection]",f="[object HTML document.all class]",p="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),h=function(){return!1};if(typeof document=="object"){var b=document.all;s.call(b)===s.call(document.all)&&(h=function(S){if((g||!S)&&(typeof S>"u"||typeof S=="object"))try{var w=s.call(S);return(w===d||w===f||w===p||w===u)&&S("")==null}catch{}return!1})}return xo=t?function(S){if(h(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;try{t(S,null,r)}catch(w){if(w!==o)return!1}return!i(S)&&a(S)}:function(S){if(h(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;if(m)return a(S);if(i(S))return!1;var w=s.call(S);return w!==l&&w!==c&&!/^\[object HTML/.test(w)?!1:a(S)},xo}var wo,Gs;function K1(){if(Gs)return wo;Gs=1;var e=Da();return wo=function(){return e()&&!!Symbol.toStringTag},wo}var Io,Ws;function Dm(){if(Ws)return Io;Ws=1;var e=Je,t=e("Date.prototype.getDay"),r=function(s){try{return t(s),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object Date]",i=K1()();return Io=function(s){return typeof s!="object"||s===null?!1:i?r(s):o(s)===n},Io}var Cr={exports:{}},So,ks;function ed(){if(ks)return So;ks=1;var e=Je,t=K1()(),r=fr(),o=cr,n;if(t){var i=e("RegExp.prototype.exec"),a={},s=function(){throw a},u={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s),n=function(f){if(!f||typeof f!="object")return!1;var p=o(f,"lastIndex"),m=p&&r(p,"value");if(!m)return!1;try{i(f,u)}catch(g){return g===a}}}else{var l=e("Object.prototype.toString"),c="[object RegExp]";n=function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:l(f)===c}}return So=n,So}var Ao,Hs;function td(){if(Hs)return Ao;Hs=1;var e=Je,t=ed(),r=e("RegExp.prototype.exec"),o=Fe;return Ao=function(i){if(!t(i))throw new o("`regex` must be a RegExp");return function(s){return r(i,s)!==null}},Ao}var Zs;function Gm(){if(Zs)return Cr.exports;Zs=1;var e=Je,t=e("Object.prototype.toString"),r=V1()(),o=td();if(r){var n=e("Symbol.prototype.toString"),i=o(/^Symbol\(.*\)$/),a=function(u){return typeof u.valueOf()!="symbol"?!1:i(n(u))};Cr.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||t(u)!=="[object Symbol]")return!1;try{return a(u)}catch{return!1}}}else Cr.exports=function(u){return!1};return Cr.exports}var Eo,Xs;function Wm(){if(Xs)return Eo;Xs=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=Lm(),r=za(),o=Dm(),n=Gm(),i=function(u,l){if(typeof u>"u"||u===null)throw new TypeError("Cannot call method on "+u);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var c=l==="string"?["toString","valueOf"]:["valueOf","toString"],d,f,p;for(p=0;p<c.length;++p)if(d=u[c[p]],r(d)&&(f=d.call(u),t(f)))return f;throw new TypeError("No default value")},a=function(u,l){var c=u[l];if(c!==null&&typeof c<"u"){if(!r(c))throw new TypeError(c+" returned for property "+String(l)+" of object "+u+" is not a function");return c}};return Eo=function(u){if(t(u))return u;var l="default";arguments.length>1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var c;if(e&&(Symbol.toPrimitive?c=a(u,Symbol.toPrimitive):n(u)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var d=c.call(u,l);if(t(d))return d;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(o(u)||n(u))&&(l="string"),i(u,l==="default"?"number":l)},Eo}var Ro,$s;function km(){if($s)return Ro;$s=1;var e=Wm();return Ro=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},Ro}var Po,zs;function Hm(){if(zs)return Po;zs=1;var e=xt,t=e("%String%"),r=Fe;return Po=function(n){if(typeof n=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(n)},Po}var Oo,Ys;function rd(){if(Ys)return Oo;Ys=1;var e=Xt,t=Hm(),r=Je,o=r("String.prototype.replace"),n=/^\s$/.test("᠎"),i=n?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,a=n?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return Oo=function(){var u=t(e(this));return o(o(u,i,""),a,"")},Oo}var _o,qs;function nd(){if(qs)return _o;qs=1;var e=rd(),t="​",r="᠎";return _o=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},_o}var To,Js;function Zm(){if(Js)return To;Js=1;var e=Ba(),t=ja,r=nd();return To=function(){var n=r();return String.prototype.trim!==n&&(e?t(String.prototype,"trim",n,!0):t(String.prototype,"trim",n)),n},To}var Mo,Us;function Xm(){if(Us)return Mo;Us=1;var e=wt,t=Re,r=Xt,o=rd(),n=nd(),i=Zm(),a=e(n()),s=function(l){return r(l),a(l)};return t(s,{getPolyfill:n,implementation:o,shim:i}),Mo=s,Mo}var No,Qs;function $m(){if(Qs)return No;Qs=1;var e=xt,t=e("%RegExp%"),r=Fe,o=e("%parseInt%"),n=Je,i=td(),a=n("String.prototype.slice"),s=i(/^0b[01]+$/i),u=i(/^0o[0-7]+$/i),l=i(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),d=new t("["+c+"]","g"),f=i(d),p=Xm();return No=function m(g){if(typeof g!="string")throw new r("Assertion failed: `argument` is not a String");if(s(g))return+o(a(g,2),2);if(u(g))return+o(a(g,2),8);if(f(g)||l(g))return NaN;var h=p(g);return h!==g?m(h):+g},No}var Fo,Ks;function zm(){if(Ks)return Fo;Ks=1;var e=xt,t=Fe,r=e("%Number%"),o=Bm(),n=km(),i=$m();return Fo=function(s){var u=o(s)?s:n(s,r);if(typeof u=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof u=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof u=="string"?i(u):+u},Fo}var Vo,el;function Ym(){if(el)return Vo;el=1;var e=F1;return Vo=function(r){return typeof r=="bigint"?r:e(r)},Vo}var jo,tl;function qm(){if(tl)return jo;tl=1;var e=Ym(),t=Fe;return jo=function(o){if(typeof o!="number"&&typeof o!="bigint")throw new t("argument must be a Number or a BigInt");var n=o<0?-e(-o):e(o);return n===0?0:n},jo}var Bo,rl;function Jm(){if(rl)return Bo;rl=1;var e=La;return Bo=function(r){return(typeof r=="number"||typeof r=="bigint")&&!e(r)&&r!==1/0&&r!==-1/0},Bo}var Lo,nl;function Um(){if(nl)return Lo;nl=1;var e=zm(),t=qm(),r=La,o=Jm();return Lo=function(i){var a=e(i);return r(a)||a===0?0:o(a)?t(a):a},Lo}var Do,ol;function Qm(){if(ol)return Do;ol=1;var e=jm(),t=Um();return Do=function(o){var n=t(o);return n<=0?0:n>e?e:n},Do}var Go,il;function Km(){return il||(il=1,Go=za()),Go}var Wo,al;function od(){if(al)return Wo;al=1;var e=Vm(),t=Qm(),r=Km();return Wo=function(n){var i=e(this),a=t(i.length);if(!r(n))throw new TypeError("Array#find: predicate must be a function");if(a!==0){var s;arguments.length>0&&(s=arguments[1]);for(var u=0,l;u<a;u++)if(l=i[u],n.apply(s,[l,u,i]))return l}},Wo}var ko,ul;function id(){return ul||(ul=1,ko=function(){var t=Array.prototype.find&&[,1].find(function(){return!0})!==1;return t?Array.prototype.find:od()}),ko}var Ho,sl;function e5(){if(sl)return Ho;sl=1;var e=fr(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",r=t&&Array.prototype[Symbol.unscopables],o=TypeError;return Ho=function(i){if(typeof i!="string"||!i)throw new o("method must be a non-empty string");if(!e(Array.prototype,i))throw new o("method must be on Array.prototype");t&&r&&(r[i]=!0)},Ho}var Zo,ll;function t5(){if(ll)return Zo;ll=1;var e=Re,t=e5(),r=id();return Zo=function(){var n=r();return e(Array.prototype,{find:n},{find:function(){return Array.prototype.find!==n}}),t("find"),n},Zo}var Xo,cl;function ad(){if(cl)return Xo;cl=1;var e=Re,t=Y1(),r=Xt,o=od(),n=id(),i=t5(),a=t("Array.prototype.slice"),s=n(),u=function(c,d){r(c);var f=a(arguments,1);return s.apply(c,f)};return e(u,{getPolyfill:n,implementation:o,shim:i}),Xo=u,Xo}var $o={},zo,dl;function ud(){if(dl)return zo;dl=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var n=t(function(){},"name");return!!n&&!!n.configurable};var r=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof r=="function"&&(function(){}).bind().name!==""},zo=e,zo}var Yo,fl;function sd(){if(fl)return Yo;fl=1;var e=za(),t=fr(),r=ud()(),o=Je,n=o("Function.prototype.toString"),i=o("String.prototype.match"),a=o("Object.prototype.toString"),s=/^class /,u=function(b){if(e(b)||typeof b!="function")return!1;try{var C=i(n(b),s);return!!C}catch{}return!1},l=/\s*function\s+([^(\s]*)\s*/,c=!(0 in[,]),d="[object Object]",f="[object HTMLAllCollection]",p=Function.prototype,m=function(){return!1};if(typeof document=="object"){var g=document.all;a(g)===a(document.all)&&(m=function(b){if((c||!b)&&(typeof b>"u"||typeof b=="object"))try{var C=a(b);return(C===f||C===d)&&b("")==null}catch{}return!1})}return Yo=function(){if(m(this)||!u(this)&&!e(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(r&&t(this,"name"))return this.name;if(this===p)return"";var b=n(this),C=i(b,l),S=C&&C[1];return S},Yo}var qo,pl;function ld(){if(pl)return qo;pl=1;var e=sd();return qo=function(){return e},qo}var Jo,gl;function r5(){if(gl)return Jo;gl=1;var e=Re.supportsDescriptors,t=ud()(),r=ld(),o=Object.defineProperty,n=TypeError;return Jo=function(){var a=r();if(t)return a;if(!e)throw new n("Shimming Function.prototype.name support requires ES5 property descriptor support.");var s=Function.prototype;return o(s,"name",{configurable:!0,enumerable:!1,get:function(){var u=a.call(this);return this!==s&&o(this,"name",{configurable:!0,enumerable:!1,value:u,writable:!1}),u}}),a},Jo}var Uo,vl;function n5(){if(vl)return Uo;vl=1;var e=Re,t=wt,r=sd(),o=ld(),n=r5(),i=t(r);return e(i,{getPolyfill:o,implementation:r,shim:n}),Uo=i,Uo}var ml;function Ya(){return ml||(ml=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(n5()),r=lr();function o(i){return i&&i.__esModule?i:{default:i}}function n(i){return typeof i=="string"?i:typeof i=="function"?i.displayName||(0,t.default)(i):(0,r.isForwardRef)({type:i,$$typeof:r.Element})?i.displayName:(0,r.isMemo)(i)?n(i.type):null}}($o)),$o}var hl;function o5(){return hl||(hl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(ad()),r=i(Ya()),o=i($a()),n=i(ue());function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d,f){if(!d.every(function(m){return m&&(0,t.default)(c,function(g){return g==="*"||m.type===g})})){var p=c.map(r.default).join(", or ");return new TypeError("`".concat(f,"` only accepts children of type ").concat(p))}return null}function s(c,d,f){if(d.length===0){var p=c.map(r.default).join(", or ");return new TypeError("`".concat(f,"` requires at least one node of type ").concat(p))}return null}function u(){for(var c=arguments.length,d=new Array(c),f=0;f<c;f++)d[f]=arguments[f];if(d.length<1)throw new TypeError("childrenOfType: at least 1 type is required");function p(m,g,h){return a(d,(0,o.default)(m[g]),h)}return p.isRequired=function(m,g,h){var b=(0,o.default)(m[g]);return s(d,b,h)||a(d,b,h)},(0,n.default)(p,"childrenOfType",d)}var l=u;e.default=l}(mo)),mo}var Qo={},Ko={},ei={},ti={},ri={},bl;function cd(){return bl||(bl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Math.floor,r=isFinite,o=Number.isInteger||function(n){return typeof n=="number"&&r(n)&&t(n)===n};e.default=o}(ri)),ri}var yl;function qa(){return yl||(yl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(cd()),r=o(ue());function o(s){return s&&s.__esModule?s:{default:s}}function n(s,u,l){var c=s[u];return c==null||!(0,t.default)(c)?new RangeError("".concat(u," in ").concat(l," must be an integer")):null}var i=function(u,l){var c=u[l];if(c==null)return null;for(var d=arguments.length,f=new Array(d>2?d-2:0),p=2;p<d;p++)f[p-2]=arguments[p];return n.apply(void 0,[u,l].concat(f))};i.isRequired=n;var a=function(){return(0,r.default)(i,"integer")};e.default=a}(ti)),ti}var ni={},oi,Cl;function dd(){if(Cl)return oi;Cl=1;var e=function(t){return t!==t};return oi=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||e(r)&&e(o))},oi}var ii,xl;function fd(){if(xl)return ii;xl=1;var e=dd();return ii=function(){return typeof Object.is=="function"?Object.is:e},ii}var ai,wl;function i5(){if(wl)return ai;wl=1;var e=fd(),t=Re;return ai=function(){var o=e();return t(Object,{is:o},{is:function(){return Object.is!==o}}),o},ai}var ui,Il;function pd(){if(Il)return ui;Il=1;var e=Re,t=wt,r=dd(),o=fd(),n=i5(),i=t(o(),Object);return e(i,{getPolyfill:o,implementation:r,shim:n}),ui=i,ui}var Sl;function gd(){return Sl||(Sl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(pd()),r=o(ue());function o(u){return u&&u.__esModule?u:{default:u}}function n(u){return typeof u=="number"&&isFinite(u)&&u>=0&&!(0,t.default)(u,-0)}function i(u,l,c){var d=u[l];return d==null||n(d)?null:new RangeError("".concat(l," in ").concat(c," must be a non-negative number"))}function a(u,l,c){var d=u[l];return n(d)?null:new RangeError("".concat(l," in ").concat(c," must be a non-negative number"))}i.isRequired=a;var s=function(){return(0,r.default)(i,"nonNegativeNumber")};e.default=s}(ni)),ni}var Al;function vd(){return Al||(Al=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(It()),r=n(qa()),o=n(gd());function n(a){return a&&a.__esModule?a:{default:a}}var i=(0,t.default)([(0,r.default)(),(0,o.default)()],"nonNegativeInteger");e.default=i}(ei)),ei}var si={},li={},El;function md(){return El||(El=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=r(V);function r(i){return i&&i.__esModule?i:{default:i}}function o(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(s){return typeof s}:o=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},o(i)}function n(i){return i===null?"null":Array.isArray(i)?"array":o(i)!=="object"?o(i):t.default.isValidElement(i)?i.type:i}}(li)),li}var Rl;function hd(){return Rl||(Rl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ha()),r=n(md()),o=n(ue());function n(u){return u&&u.__esModule?u:{default:u}}var i={prop:"prop",context:"context",childContext:"child context"};function a(u,l,c,d,f){var p=u[l];if(p==null||(0,t.default)(p))return null;var m=i[d]||d;return new TypeError("Invalid ".concat(m," `").concat(f,"` of type `").concat((0,r.default)(p),"` supplied to `").concat(c,"`, expected `object`."))}a.isRequired=function(l,c,d,f,p){var m=l[c];if(m==null){var g=i[f]||f;return new TypeError("The ".concat(g," `").concat(p,"` is marked as required in `").concat(d,"`, but its value is `").concat(m,"`."))}for(var h=arguments.length,b=new Array(h>5?h-5:0),C=5;C<h;C++)b[C-5]=arguments[C];return a.apply(void 0,[l,c,d,f,p].concat(b))};var s=function(){return(0,o.default)(a,"object")};e.default=s}(si)),si}var ci={},Pl;function Ja(){return Pl||(Pl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=o(It()),r=o(Za());function o(i){return i&&i.__esModule?i:{default:i}}function n(i,a){if(typeof i!="function")throw new TypeError("type must be a valid PropType");var s=(0,r.default)(a);return(0,t.default)([i,s],"withShape")}}(ci)),ci}var Ol;function bd(){return Ol||(Ol=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=I;var t=Oe,r=l(It()),o=l(Xa()),n=l(vd()),i=l(hd()),a=l(Ja()),s=l(md()),u=l(ue());function l(A){return A&&A.__esModule?A:{default:A}}function c(A,x){var E=Object.keys(A);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(A);x&&(P=P.filter(function(_){return Object.getOwnPropertyDescriptor(A,_).enumerable})),E.push.apply(E,P)}return E}function d(A){for(var x=1;x<arguments.length;x++){var E=arguments[x]!=null?arguments[x]:{};x%2?c(Object(E),!0).forEach(function(P){f(A,P,E[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(E)):c(Object(E)).forEach(function(P){Object.defineProperty(A,P,Object.getOwnPropertyDescriptor(E,P))})}return A}function f(A,x,E){return x in A?Object.defineProperty(A,x,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[x]=E,A}var p=n.default,m=(0,r.default)([n.default,(0,o.default)({gte:1})]);function g(A,x){return typeof x!="number"||typeof A!="number"||A<=x?null:new RangeError("min must be less than or equal to max")}var h={validator:function(x,E){var P=x[E];return typeof P!="function"?new TypeError('"validator" must be a propType validator function'):null},min:function(x,E){return p(x,E)||g(x.min,x.max)},max:function(x,E){return m(x,E)||g(x.min,x.max)}};function b(A){var x=A.min,E=A.max,P,_;return typeof x!="number"&&typeof E!="number"?(P=1,_=1):(P=typeof x=="number"?x:1,_=typeof E=="number"?E:1/0),{minimum:P,maximum:_}}function C(A){var x=[],E;return A.reduce(function(P,_){var L=(0,s.default)(_);return!E||L===E?x.push(_):(P.push(x),x=[_]),E=L,P},[]).concat(x.length>0?[x]:[])}function S(A,x,E,P){for(var _=x[E],L=C(_),j=arguments.length,O=new Array(j>4?j-4:0),N=4;N<j;N++)O[N-4]=arguments[N];for(var T=0;T<A.length;T+=1){var M=A[T],G=M.validator,B=M.min,Z=M.max,R=b({min:B,max:Z}),F=R.minimum,D=R.maximum;if(!(L.length===0&&F===0)){var H=(0,t.arrayOf)(G).isRequired,k=L.shift(),$=H.apply(void 0,[d(d({},x),{},f({},E,k)),E,P].concat(O));if($){if(F===0){L.unshift(k);continue}return $}if(k.length<F)return new RangeError("".concat(P,": specifier index ").concat(T," requires a minimum of ").concat(B," items, but only has ").concat(k.length,"."));if(k.length>D)return new RangeError("".concat(P,": specifier index ").concat(T," requires a maximum of ").concat(Z," items, but has ").concat(k.length,"."))}}return L.length>0?new TypeError("".concat(P,": after all ").concat(A.length," specifiers matched, ").concat(L.length," types of items were remaining.")):null}var w=(0,a.default)((0,i.default)(),h).isRequired;function I(){for(var A=arguments.length,x=new Array(A),E=0;E<A;E++)x[E]=arguments[E];if(x.length===0)throw new RangeError("sequenceOf: at least one specifier is required");var P=x.map(function(L,j){return w({specifier:L},"specifier","sequenceOf specifier","suequenceOf specifier, index ".concat(j),"specifier, index ".concat(j))});if(P.some(Boolean))throw new TypeError(`
22
22
  sequenceOf: all specifiers must match the appropriate shape.
23
23
 
24
24
  Errors:
@@ -35,9 +35,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
35
35
 
36
36
  `+("The placeholder character that was received is: "+JSON.stringify(h)+`
37
37
 
38
- `)+("The mask that was received is: "+JSON.stringify(g)));return g.map(function(b){return b instanceof RegExp?h:b}).join("")}function s(g){return Array.isArray&&Array.isArray(g)||g instanceof Array}function u(g){return typeof g=="string"||g instanceof String}function l(g){return typeof g=="number"&&g.length===void 0&&!isNaN(g)}function c(g){return typeof g>"u"||g===null}function d(g){for(var h=[],b=void 0;b=g.indexOf(m),b!==-1;)h.push(b),g.splice(b,1);return{maskWithoutCaretTraps:g,indexes:h}}Object.defineProperty(n,"__esModule",{value:!0}),n.convertMaskToPlaceholder=a,n.isArray=s,n.isString=u,n.isNumber=l,n.isNil=c,n.processCaretTraps=d;var f=i(1),p=[],m="[]"},function(o,n,i){function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c,m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(0,u.isArray)(p)){if((typeof p>"u"?"undefined":s(p))!==l.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");p=p(f,m),p=(0,u.processCaretTraps)(p).maskWithoutCaretTraps}var g=m.guide,h=g===void 0||g,b=m.previousConformedValue,C=b===void 0?d:b,S=m.placeholderChar,w=S===void 0?l.placeholderChar:S,I=m.placeholder,A=I===void 0?(0,u.convertMaskToPlaceholder)(p,w):I,x=m.currentCaretPosition,E=m.keepCharPositions,P=h===!1&&C!==void 0,_=f.length,L=C.length,j=A.length,O=p.length,N=_-L,T=N>0,M=x+(T?-N:0),G=M+Math.abs(N);if(E===!0&&!T){for(var B=d,Z=M;Z<G;Z++)A[Z]===w&&(B+=w);f=f.slice(0,M)+B+f.slice(M,_)}for(var R=f.split(d).map(function(be,me){return{char:be,isNew:me>=M&&me<G}}),F=_-1;F>=0;F--){var D=R[F].char;if(D!==w){var H=F>=M&&L===O;D===A[H?F-N:F]&&R.splice(F,1)}}var k=d,X=!1;e:for(var $=0;$<j;$++){var Y=A[$];if(Y===w){if(R.length>0)for(;R.length>0;){var q=R.shift(),U=q.char,K=q.isNew;if(U===w&&P!==!0){k+=w;continue e}if(p[$].test(U)){if(E===!0&&K!==!1&&C!==d&&h!==!1&&T){for(var re=R.length,W=null,te=0;te<re;te++){var ae=R[te];if(ae.char!==w&&ae.isNew===!1)break;if(ae.char===w){W=te;break}}W!==null?(k+=U,R.splice(W,1)):$--}else k+=U;continue e}X=!0}P===!1&&(k+=A.substr($,j));break}k+=Y}if(P&&T===!1){for(var se=null,ge=0;ge<k.length;ge++)A[ge]===w&&(se=ge);k=se!==null?k.substr(0,se+1):d}return{conformedValue:k,meta:{someCharsRejected:X}}}Object.defineProperty(n,"__esModule",{value:!0});var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};n.default=a;var u=i(2),l=i(1),c=[],d=""},function(o,n){function i(u){var l=u.previousConformedValue,c=l===void 0?s:l,d=u.previousPlaceholder,f=d===void 0?s:d,p=u.currentCaretPosition,m=p===void 0?0:p,g=u.conformedValue,h=u.rawValue,b=u.placeholderChar,C=u.placeholder,S=u.indexesOfPipedChars,w=S===void 0?a:S,I=u.caretTrapIndexes,A=I===void 0?a:I;if(m===0||!h.length)return 0;var x=h.length,E=c.length,P=C.length,_=g.length,L=x-E,j=L>0,O=E===0,N=L>1&&!j&&!O;if(N)return m;var T=j&&(c===g||g===C),M=0,G=void 0,B=void 0;if(T)M=m-L;else{var Z=g.toLowerCase(),R=h.toLowerCase(),F=R.substr(0,m).split(s),D=F.filter(function(oe){return Z.indexOf(oe)!==-1});B=D[D.length-1];var H=f.substr(0,D.length).split(s).filter(function(oe){return oe!==b}).length,k=C.substr(0,D.length).split(s).filter(function(oe){return oe!==b}).length,X=k!==H,$=f[D.length-1]!==void 0&&C[D.length-2]!==void 0&&f[D.length-1]!==b&&f[D.length-1]!==C[D.length-1]&&f[D.length-1]===C[D.length-2];!j&&(X||$)&&H>0&&C.indexOf(B)>-1&&h[m]!==void 0&&(G=!0,B=h[m]);for(var Y=w.map(function(oe){return Z[oe]}),q=Y.filter(function(oe){return oe===B}).length,U=D.filter(function(oe){return oe===B}).length,K=C.substr(0,C.indexOf(b)).split(s).filter(function(oe,ye){return oe===B&&h[ye]!==oe}).length,re=K+U+q+(G?1:0),W=0,te=0;te<_;te++){var ae=Z[te];if(M=te+1,ae===B&&W++,W>=re)break}}if(j){for(var se=M,ge=M;ge<=P;ge++)if(C[ge]===b&&(se=ge),C[ge]===b||A.indexOf(ge)!==-1||ge===P)return se}else if(G){for(var be=M-1;be>=0;be--)if(g[be]===B||A.indexOf(be)!==-1||be===0)return be}else for(var me=M;me>=0;me--)if(C[me-1]===b||A.indexOf(me)!==-1||me===0)return me}Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=[],s=""},function(o,n,i){function a(x){return x&&x.__esModule?x:{default:x}}function s(x){var E={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:E,update:function(P){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,L=_.inputElement,j=_.mask,O=_.guide,N=_.pipe,T=_.placeholderChar,M=T===void 0?b.placeholderChar:T,G=_.keepCharPositions,B=G!==void 0&&G,Z=_.showMask,R=Z!==void 0&&Z;if(typeof P>"u"&&(P=L.value),P!==E.previousConformedValue){(typeof j>"u"?"undefined":d(j))===w&&j.pipe!==void 0&&j.mask!==void 0&&(N=j.pipe,j=j.mask);var F=void 0,D=void 0;if(j instanceof Array&&(F=(0,h.convertMaskToPlaceholder)(j,M)),j!==!1){var H=l(P),k=L.selectionEnd,X=E.previousConformedValue,$=E.previousPlaceholder,Y=void 0;if((typeof j>"u"?"undefined":d(j))===b.strFunction){if(D=j(H,{currentCaretPosition:k,previousConformedValue:X,placeholderChar:M}),D===!1)return;var q=(0,h.processCaretTraps)(D),U=q.maskWithoutCaretTraps,K=q.indexes;D=U,Y=K,F=(0,h.convertMaskToPlaceholder)(D,M)}else D=j;var re={previousConformedValue:X,guide:O,placeholderChar:M,pipe:N,placeholder:F,currentCaretPosition:k,keepCharPositions:B},W=(0,g.default)(H,D,re),te=W.conformedValue,ae=(typeof N>"u"?"undefined":d(N))===b.strFunction,se={};ae&&(se=N(te,c({rawValue:H},re)),se===!1?se={value:X,rejected:!0}:(0,h.isString)(se)&&(se={value:se}));var ge=ae?se.value:te,be=(0,p.default)({previousConformedValue:X,previousPlaceholder:$,conformedValue:ge,placeholder:F,rawValue:H,currentCaretPosition:k,placeholderChar:M,indexesOfPipedChars:se.indexesOfPipedChars,caretTrapIndexes:Y}),me=ge===F&&be===0,oe=R?F:C,ye=me?oe:ge;E.previousConformedValue=ye,E.previousPlaceholder=F,L.value!==ye&&(L.value=ye,u(L,be))}}}}}function u(x,E){document.activeElement===x&&(I?A(function(){return x.setSelectionRange(E,E,S)},0):x.setSelectionRange(E,E,S))}function l(x){if((0,h.isString)(x))return x;if((0,h.isNumber)(x))return String(x);if(x==null)return C;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
38
+ `)+("The mask that was received is: "+JSON.stringify(g)));return g.map(function(b){return b instanceof RegExp?h:b}).join("")}function s(g){return Array.isArray&&Array.isArray(g)||g instanceof Array}function u(g){return typeof g=="string"||g instanceof String}function l(g){return typeof g=="number"&&g.length===void 0&&!isNaN(g)}function c(g){return typeof g>"u"||g===null}function d(g){for(var h=[],b=void 0;b=g.indexOf(m),b!==-1;)h.push(b),g.splice(b,1);return{maskWithoutCaretTraps:g,indexes:h}}Object.defineProperty(n,"__esModule",{value:!0}),n.convertMaskToPlaceholder=a,n.isArray=s,n.isString=u,n.isNumber=l,n.isNil=c,n.processCaretTraps=d;var f=i(1),p=[],m="[]"},function(o,n,i){function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c,m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(0,u.isArray)(p)){if((typeof p>"u"?"undefined":s(p))!==l.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");p=p(f,m),p=(0,u.processCaretTraps)(p).maskWithoutCaretTraps}var g=m.guide,h=g===void 0||g,b=m.previousConformedValue,C=b===void 0?d:b,S=m.placeholderChar,w=S===void 0?l.placeholderChar:S,I=m.placeholder,A=I===void 0?(0,u.convertMaskToPlaceholder)(p,w):I,x=m.currentCaretPosition,E=m.keepCharPositions,P=h===!1&&C!==void 0,_=f.length,L=C.length,j=A.length,O=p.length,N=_-L,T=N>0,M=x+(T?-N:0),G=M+Math.abs(N);if(E===!0&&!T){for(var B=d,Z=M;Z<G;Z++)A[Z]===w&&(B+=w);f=f.slice(0,M)+B+f.slice(M,_)}for(var R=f.split(d).map(function(be,me){return{char:be,isNew:me>=M&&me<G}}),F=_-1;F>=0;F--){var D=R[F].char;if(D!==w){var H=F>=M&&L===O;D===A[H?F-N:F]&&R.splice(F,1)}}var k=d,$=!1;e:for(var X=0;X<j;X++){var Y=A[X];if(Y===w){if(R.length>0)for(;R.length>0;){var q=R.shift(),U=q.char,K=q.isNew;if(U===w&&P!==!0){k+=w;continue e}if(p[X].test(U)){if(E===!0&&K!==!1&&C!==d&&h!==!1&&T){for(var re=R.length,W=null,te=0;te<re;te++){var ae=R[te];if(ae.char!==w&&ae.isNew===!1)break;if(ae.char===w){W=te;break}}W!==null?(k+=U,R.splice(W,1)):X--}else k+=U;continue e}$=!0}P===!1&&(k+=A.substr(X,j));break}k+=Y}if(P&&T===!1){for(var se=null,ge=0;ge<k.length;ge++)A[ge]===w&&(se=ge);k=se!==null?k.substr(0,se+1):d}return{conformedValue:k,meta:{someCharsRejected:$}}}Object.defineProperty(n,"__esModule",{value:!0});var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};n.default=a;var u=i(2),l=i(1),c=[],d=""},function(o,n){function i(u){var l=u.previousConformedValue,c=l===void 0?s:l,d=u.previousPlaceholder,f=d===void 0?s:d,p=u.currentCaretPosition,m=p===void 0?0:p,g=u.conformedValue,h=u.rawValue,b=u.placeholderChar,C=u.placeholder,S=u.indexesOfPipedChars,w=S===void 0?a:S,I=u.caretTrapIndexes,A=I===void 0?a:I;if(m===0||!h.length)return 0;var x=h.length,E=c.length,P=C.length,_=g.length,L=x-E,j=L>0,O=E===0,N=L>1&&!j&&!O;if(N)return m;var T=j&&(c===g||g===C),M=0,G=void 0,B=void 0;if(T)M=m-L;else{var Z=g.toLowerCase(),R=h.toLowerCase(),F=R.substr(0,m).split(s),D=F.filter(function(oe){return Z.indexOf(oe)!==-1});B=D[D.length-1];var H=f.substr(0,D.length).split(s).filter(function(oe){return oe!==b}).length,k=C.substr(0,D.length).split(s).filter(function(oe){return oe!==b}).length,$=k!==H,X=f[D.length-1]!==void 0&&C[D.length-2]!==void 0&&f[D.length-1]!==b&&f[D.length-1]!==C[D.length-1]&&f[D.length-1]===C[D.length-2];!j&&($||X)&&H>0&&C.indexOf(B)>-1&&h[m]!==void 0&&(G=!0,B=h[m]);for(var Y=w.map(function(oe){return Z[oe]}),q=Y.filter(function(oe){return oe===B}).length,U=D.filter(function(oe){return oe===B}).length,K=C.substr(0,C.indexOf(b)).split(s).filter(function(oe,ye){return oe===B&&h[ye]!==oe}).length,re=K+U+q+(G?1:0),W=0,te=0;te<_;te++){var ae=Z[te];if(M=te+1,ae===B&&W++,W>=re)break}}if(j){for(var se=M,ge=M;ge<=P;ge++)if(C[ge]===b&&(se=ge),C[ge]===b||A.indexOf(ge)!==-1||ge===P)return se}else if(G){for(var be=M-1;be>=0;be--)if(g[be]===B||A.indexOf(be)!==-1||be===0)return be}else for(var me=M;me>=0;me--)if(C[me-1]===b||A.indexOf(me)!==-1||me===0)return me}Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=[],s=""},function(o,n,i){function a(x){return x&&x.__esModule?x:{default:x}}function s(x){var E={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:E,update:function(P){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,L=_.inputElement,j=_.mask,O=_.guide,N=_.pipe,T=_.placeholderChar,M=T===void 0?b.placeholderChar:T,G=_.keepCharPositions,B=G!==void 0&&G,Z=_.showMask,R=Z!==void 0&&Z;if(typeof P>"u"&&(P=L.value),P!==E.previousConformedValue){(typeof j>"u"?"undefined":d(j))===w&&j.pipe!==void 0&&j.mask!==void 0&&(N=j.pipe,j=j.mask);var F=void 0,D=void 0;if(j instanceof Array&&(F=(0,h.convertMaskToPlaceholder)(j,M)),j!==!1){var H=l(P),k=L.selectionEnd,$=E.previousConformedValue,X=E.previousPlaceholder,Y=void 0;if((typeof j>"u"?"undefined":d(j))===b.strFunction){if(D=j(H,{currentCaretPosition:k,previousConformedValue:$,placeholderChar:M}),D===!1)return;var q=(0,h.processCaretTraps)(D),U=q.maskWithoutCaretTraps,K=q.indexes;D=U,Y=K,F=(0,h.convertMaskToPlaceholder)(D,M)}else D=j;var re={previousConformedValue:$,guide:O,placeholderChar:M,pipe:N,placeholder:F,currentCaretPosition:k,keepCharPositions:B},W=(0,g.default)(H,D,re),te=W.conformedValue,ae=(typeof N>"u"?"undefined":d(N))===b.strFunction,se={};ae&&(se=N(te,c({rawValue:H},re)),se===!1?se={value:$,rejected:!0}:(0,h.isString)(se)&&(se={value:se}));var ge=ae?se.value:te,be=(0,p.default)({previousConformedValue:$,previousPlaceholder:X,conformedValue:ge,placeholder:F,rawValue:H,currentCaretPosition:k,placeholderChar:M,indexesOfPipedChars:se.indexesOfPipedChars,caretTrapIndexes:Y}),me=ge===F&&be===0,oe=R?F:C,ye=me?oe:ge;E.previousConformedValue=ye,E.previousPlaceholder=F,L.value!==ye&&(L.value=ye,u(L,be))}}}}}function u(x,E){document.activeElement===x&&(I?A(function(){return x.setSelectionRange(E,E,S)},0):x.setSelectionRange(E,E,S))}function l(x){if((0,h.isString)(x))return x;if((0,h.isNumber)(x))return String(x);if(x==null)return C;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
39
39
 
40
- `+JSON.stringify(x))}Object.defineProperty(n,"__esModule",{value:!0});var c=Object.assign||function(x){for(var E=1;E<arguments.length;E++){var P=arguments[E];for(var _ in P)Object.prototype.hasOwnProperty.call(P,_)&&(x[_]=P[_])}return x},d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x};n.default=s;var f=i(4),p=a(f),m=i(3),g=a(m),h=i(2),b=i(1),C="",S="none",w="object",I=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),A=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout},function(o,n){function i(s){return function(){return s}}var a=function(){};a.thatReturns=i,a.thatReturnsFalse=i(!1),a.thatReturnsTrue=i(!0),a.thatReturnsNull=i(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(s){return s},o.exports=a},function(o,n,i){function a(s,u,l,c,d,f,p,m){if(!s){var g;if(u===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[l,c,d,f,p,m],b=0;g=new Error(u.replace(/%s/g,function(){return h[b++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}}o.exports=a},function(o,n,i){var a=i(6),s=i(7),u=i(10);o.exports=function(){function l(f,p,m,g,h,b){b!==u&&s(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function c(){return l}l.isRequired=l;var d={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return d.checkPropTypes=a,d.PropTypes=d,d}},function(o,n,i){o.exports=i(8)()},function(o,n){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";o.exports=i},function(o,n){o.exports=r}])})})(Td);var e3=Td.exports;const t3=Na(e3);var r3="Separator",ec="horizontal",n3=["horizontal","vertical"],Md=y.forwardRef((e,t)=>{const{decorative:r,orientation:o=ec,...n}=e,i=o3(o)?o:ec,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return v.jsx(de.div,{"data-orientation":i,...s,...n,ref:t})});Md.displayName=r3;function o3(e){return n3.includes(e)}var i3=Md;const aa=({orientation:e,marginVertical:t,marginHorizontal:r,color:o})=>v.jsx(i3,{className:z.separator({orientation:e,marginHorizontal:r,marginVertical:t,color:o})}),Nd=V.forwardRef(({id:e,flat:t,mask:r,name:o,type:n,icon:i,size:a,value:s,block:u,style:l,color:c,onBlur:d,prefix:f,suffix:p,invalid:m,error:g,inverse:h,onFocus:b,shimmer:C,disabled:S,floating:w,onChange:I,readOnly:A,maxLength:x,onKeyDown:E,noPadding:P,separator:_,borderless:L,spellCheck:j,autoCorrect:O,placeholder:N,autoComplete:T,removeMargin:M,focusBorderless:G,separatorPrefix:B,separatorSuffix:Z,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D,inputDefaultPlaceholder:H,inputInversePlaceholder:k,inpuFakeValuePlaceholder:X,...$},Y)=>{const q=z.input({flat:t,block:u,hasPrefix:!!f,hasSuffix:!!p,inverse:h,invalid:m,error:g,color:c,size:a,disabled:S,floating:w,noPadding:P,separator:_,borderless:L,removeMargin:M,focusBorderless:G,separatorPrefix:B,separatorSuffix:Z,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D,inputDefaultPlaceholder:H,inputInversePlaceholder:k,inpuFakeValuePlaceholder:X});return v.jsxs("div",{ref:Y,className:q.root,style:l,children:[C&&v.jsx("div",{className:q.loader,children:v.jsx(Ne,{width:"100%",height:"100%"})}),f&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:q.prefixContainer,children:f}),B&&v.jsx(aa,{orientation:"vertical",marginVertical:"small"})]}),r!=null?v.jsx(t3,{id:e,mask:r,name:o,type:n,value:s,onBlur:d,onFocus:b,onChange:I,readOnly:A,disabled:!!S,maxLength:x,onKeyDown:E,spellCheck:j,"aria-readonly":A,autoCorrect:O,placeholder:N,className:q.masked,autoComplete:T,...$}):v.jsx("input",{id:e,name:o,type:n,value:s,onBlur:d,onFocus:b,onChange:I,readOnly:A,disabled:!!S,maxLength:x,onKeyDown:E,spellCheck:j,"aria-readonly":A,className:q.input,autoCorrect:O,placeholder:N,autoComplete:T,...$}),i&&i,p&&v.jsxs(v.Fragment,{children:[Z&&v.jsx(aa,{orientation:"vertical",marginVertical:"small"}),v.jsx("div",{className:q.separator,children:p})]})]})});Nd.displayName="InputOnly";const Fd=V.forwardRef(({id:e,name:t,mask:r,type:o,size:n,label:i,value:a,style:s,color:u,inline:l,onBlur:c,prefix:d,suffix:f,invalid:p,error:m,inverse:g,onFocus:h,disabled:b,floating:C,onChange:S,readOnly:w,hideLabel:I=!1,maxLength:A,onKeyDown:x,borderless:E,fontWeight:P,spellCheck:_,autoCorrect:L,placeholder:j,autoComplete:O,errorMessage:N,removeMargin:T,focusBorderless:M,separatorPrefix:G,separatorSuffix:B,labelDescription:Z,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D,autoFocus:H,...k},X)=>v.jsx(Ua,{label:i,inline:l,invalid:p,hideLabel:I,fontWeight:P,errorMessage:N,labelDescription:Z,block:!1,children:v.jsx(Nd,{id:e,ref:X,...k,size:n,name:t,mask:r,type:o,color:u,value:a,style:s,onBlur:c,prefix:d,suffix:f,autoFocus:H,invalid:p,error:m,inverse:g,onFocus:h,disabled:b,floating:C,onChange:S,readOnly:w,maxLength:A,onKeyDown:x,borderless:E,spellCheck:_,autoCorrect:L,placeholder:j,autoComplete:O,removeMargin:T,focusBorderless:M,separatorPrefix:G,separatorSuffix:B,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D})}));function a3({id:e,name:t,size:r,label:o,value:n,prefix:i,inline:a,invalid:s,inverse:u,disabled:l,hideLabel:c,placeholder:d,labelDescription:f,inputRemoveMargins:p,inputFocusBorderless:m,inputOverflowEllipsis:g}){return v.jsx(_d,{onOutsideClick:()=>{},children:v.jsx(Fd,{id:e,name:t,type:"text",value:n,label:o,size:r,prefix:!!i,inline:a,invalid:s,inverse:u,autoComplete:"off",disabled:l,hideLabel:c,placeholder:d,removeMargin:p,labelDescription:f,focusBorderless:m,showOverflowEllipsis:g,color:"gray",separatorPrefix:!1,separatorSuffix:!1,removePrefixSpacing:!1,removeSuffixSpacing:!1,suffix:!1,noPadding:!1,error:!1,flat:!1,borderless:!1,floating:!1,separator:!1,block:!1,inputDefaultPlaceholder:!1,inpuFakeValuePlaceholder:!1,inputInversePlaceholder:!1})})}var Qa="Avatar",[u3,fC]=qe(Qa),[s3,Vd]=u3(Qa),jd=y.forwardRef((e,t)=>{const{__scopeAvatar:r,...o}=e,[n,i]=y.useState("idle");return v.jsx(s3,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:i,children:v.jsx(de.span,{...o,ref:t})})});jd.displayName=Qa;var Bd="AvatarImage",Ld=y.forwardRef((e,t)=>{const{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...i}=e,a=Vd(Bd,r),s=l3(o,i.referrerPolicy),u=Xe(l=>{n(l),a.onImageLoadingStatusChange(l)});return $e(()=>{s!=="idle"&&u(s)},[s,u]),s==="loaded"?v.jsx(de.img,{...i,ref:t,src:o}):null});Ld.displayName=Bd;var Dd="AvatarFallback",Gd=y.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:o,...n}=e,i=Vd(Dd,r),[a,s]=y.useState(o===void 0);return y.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(u)}},[o]),a&&i.imageLoadingStatus!=="loaded"?v.jsx(de.span,{...n,ref:t}):null});Gd.displayName=Dd;function l3(e,t){const[r,o]=y.useState("idle");return $e(()=>{if(!e){o("error");return}let n=!0;const i=new window.Image,a=s=>()=>{n&&o(s)};return o("loading"),i.onload=a("loaded"),i.onerror=a("error"),i.src=e,t&&(i.referrerPolicy=t),()=>{n=!1}},[e,t]),r}var c3=jd,d3=Ld,f3=Gd;const Wd=({icon:e,size:t,shape:r,source:o,inline:n,loading:i,fallback:a})=>{const s=z.avatar({inline:n,size:t,shape:r});return v.jsxs(c3,{className:s.root,children:[v.jsx(d3,{className:s.image,src:o,alt:"Avatar"}),v.jsxs(f3,{className:s.fallback,delayMs:600,children:[a&&!i&&!e&&a,!a&&!i&&e&&v.jsx(ze,{name:"alert",size:"large",color:"secondary"}),i&&v.jsx(Ne,{width:"100%",height:"100%"})]})]})};function p3(e,t=globalThis==null?void 0:globalThis.document){const r=Xe(e);y.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var g3="DismissableLayer",ua="dismissableLayer.update",v3="dismissableLayer.pointerDownOutside",m3="dismissableLayer.focusOutside",tc,kd=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ka=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...u}=e,l=y.useContext(kd),[c,d]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=y.useState({}),m=Se(t,x=>d(x)),g=Array.from(l.layers),[h]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(h),C=c?g.indexOf(c):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,w=C>=b,I=y3(x=>{const E=x.target,P=[...l.branches].some(_=>_.contains(E));!w||P||(n==null||n(x),a==null||a(x),x.defaultPrevented||s==null||s())},f),A=C3(x=>{const E=x.target;[...l.branches].some(_=>_.contains(E))||(i==null||i(x),a==null||a(x),x.defaultPrevented||s==null||s())},f);return p3(x=>{C===l.layers.size-1&&(o==null||o(x),!x.defaultPrevented&&s&&(x.preventDefault(),s()))},f),y.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(tc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),rc(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=tc)}},[c,f,r,l]),y.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),rc())},[c,l]),y.useEffect(()=>{const x=()=>p({});return document.addEventListener(ua,x),()=>document.removeEventListener(ua,x)},[]),v.jsx(de.div,{...u,ref:m,style:{pointerEvents:S?w?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,A.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,I.onPointerDownCapture)})});Ka.displayName=g3;var h3="DismissableLayerBranch",b3=y.forwardRef((e,t)=>{const r=y.useContext(kd),o=y.useRef(null),n=Se(t,o);return y.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),v.jsx(de.div,{...e,ref:n})});b3.displayName=h3;function y3(e,t=globalThis==null?void 0:globalThis.document){const r=Xe(e),o=y.useRef(!1),n=y.useRef(()=>{});return y.useEffect(()=>{const i=s=>{if(s.target&&!o.current){let u=function(){Hd(v3,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function C3(e,t=globalThis==null?void 0:globalThis.document){const r=Xe(e),o=y.useRef(!1);return y.useEffect(()=>{const n=i=>{i.target&&!o.current&&Hd(m3,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function rc(){const e=new CustomEvent(ua);document.dispatchEvent(e)}function Hd(e,t,r,{discrete:o}){const n=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?cg(n,i):n.dispatchEvent(i)}const x3=["top","right","bottom","left"],ut=Math.min,_e=Math.max,Zr=Math.round,xr=Math.floor,He=e=>({x:e,y:e}),w3={left:"right",right:"left",bottom:"top",top:"bottom"},I3={start:"end",end:"start"};function sa(e,t,r){return _e(e,ut(t,r))}function Ke(e,t){return typeof e=="function"?e(t):e}function et(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function eu(e){return e==="x"?"y":"x"}function tu(e){return e==="y"?"height":"width"}function st(e){return["top","bottom"].includes(et(e))?"y":"x"}function ru(e){return eu(st(e))}function S3(e,t,r){r===void 0&&(r=!1);const o=$t(e),n=ru(e),i=tu(n);let a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Xr(a)),[a,Xr(a)]}function A3(e){const t=Xr(e);return[la(e),t,la(t)]}function la(e){return e.replace(/start|end/g,t=>I3[t])}function E3(e,t,r){const o=["left","right"],n=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?n:o:t?o:n;case"left":case"right":return t?i:a;default:return[]}}function R3(e,t,r,o){const n=$t(e);let i=E3(et(e),r==="start",o);return n&&(i=i.map(a=>a+"-"+n),t&&(i=i.concat(i.map(la)))),i}function Xr(e){return e.replace(/left|right|bottom|top/g,t=>w3[t])}function P3(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zd(e){return typeof e!="number"?P3(e):{top:e,right:e,bottom:e,left:e}}function $r(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function nc(e,t,r){let{reference:o,floating:n}=e;const i=st(t),a=ru(t),s=tu(a),u=et(t),l=i==="y",c=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,f=o[s]/2-n[s]/2;let p;switch(u){case"top":p={x:c,y:o.y-n.height};break;case"bottom":p={x:c,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-n.width,y:d};break;default:p={x:o.x,y:o.y}}switch($t(t)){case"start":p[a]-=f*(r&&l?-1:1);break;case"end":p[a]+=f*(r&&l?-1:1);break}return p}const O3=async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:d}=nc(l,o,u),f=o,p={},m=0;for(let g=0;g<s.length;g++){const{name:h,fn:b}=s[g],{x:C,y:S,data:w,reset:I}=await b({x:c,y:d,initialPlacement:o,placement:f,strategy:n,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});c=C??c,d=S??d,p={...p,[h]:{...p[h],...w}},I&&m<=50&&(m++,typeof I=="object"&&(I.placement&&(f=I.placement),I.rects&&(l=I.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:n}):I.rects),{x:c,y:d}=nc(l,f,u)),g=-1)}return{x:c,y:d,placement:f,strategy:n,middlewareData:p}};async function nr(e,t){var r;t===void 0&&(t={});const{x:o,y:n,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Ke(t,e),m=Zd(p),h=s[f?d==="floating"?"reference":"floating":d],b=$r(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(h)))==null||r?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),C=d==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),w=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},I=$r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:C,offsetParent:S,strategy:u}):C);return{top:(b.top-I.top+m.top)/w.y,bottom:(I.bottom-b.bottom+m.bottom)/w.y,left:(b.left-I.left+m.left)/w.x,right:(I.right-b.right+m.right)/w.x}}const _3=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:i,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:c=0}=Ke(e,t)||{};if(l==null)return{};const d=Zd(c),f={x:r,y:o},p=ru(n),m=tu(p),g=await a.getDimensions(l),h=p==="y",b=h?"top":"left",C=h?"bottom":"right",S=h?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],I=f[p]-i.reference[p],A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let x=A?A[S]:0;(!x||!await(a.isElement==null?void 0:a.isElement(A)))&&(x=s.floating[S]||i.floating[m]);const E=w/2-I/2,P=x/2-g[m]/2-1,_=ut(d[b],P),L=ut(d[C],P),j=_,O=x-g[m]-L,N=x/2-g[m]/2+E,T=sa(j,N,O),M=!u.arrow&&$t(n)!=null&&N!==T&&i.reference[m]/2-(N<j?_:L)-g[m]/2<0,G=M?N<j?N-j:N-O:0;return{[p]:f[p]+G,data:{[p]:T,centerOffset:N-T-G,...M&&{alignmentOffset:G}},reset:M}}}),T3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:i,rects:a,initialPlacement:s,platform:u,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...h}=Ke(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const b=et(n),C=st(s),S=et(s)===s,w=await(u.isRTL==null?void 0:u.isRTL(l.floating)),I=f||(S||!g?[Xr(s)]:A3(s)),A=m!=="none";!f&&A&&I.push(...R3(s,g,m,w));const x=[s,...I],E=await nr(t,h),P=[];let _=((o=i.flip)==null?void 0:o.overflows)||[];if(c&&P.push(E[b]),d){const N=S3(n,a,w);P.push(E[N[0]],E[N[1]])}if(_=[..._,{placement:n,overflows:P}],!P.every(N=>N<=0)){var L,j;const N=(((L=i.flip)==null?void 0:L.index)||0)+1,T=x[N];if(T)return{data:{index:N,overflows:_},reset:{placement:T}};let M=(j=_.filter(G=>G.overflows[0]<=0).sort((G,B)=>G.overflows[1]-B.overflows[1])[0])==null?void 0:j.placement;if(!M)switch(p){case"bestFit":{var O;const G=(O=_.filter(B=>{if(A){const Z=st(B.placement);return Z===C||Z==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(Z=>Z>0).reduce((Z,R)=>Z+R,0)]).sort((B,Z)=>B[1]-Z[1])[0])==null?void 0:O[0];G&&(M=G);break}case"initialPlacement":M=s;break}if(n!==M)return{reset:{placement:M}}}return{}}}};function oc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ic(e){return x3.some(t=>e[t]>=0)}const M3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...n}=Ke(e,t);switch(o){case"referenceHidden":{const i=await nr(t,{...n,elementContext:"reference"}),a=oc(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ic(a)}}}case"escaped":{const i=await nr(t,{...n,altBoundary:!0}),a=oc(i,r.floating);return{data:{escapedOffsets:a,escaped:ic(a)}}}default:return{}}}}};async function N3(e,t){const{placement:r,platform:o,elements:n}=e,i=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=et(r),s=$t(r),u=st(r)==="y",l=["left","top"].includes(a)?-1:1,c=i&&u?-1:1,d=Ke(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m=="number"&&(p=s==="end"?m*-1:m),u?{x:p*c,y:f*l}:{x:f*l,y:p*c}}const F3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:n,y:i,placement:a,middlewareData:s}=t,u=await N3(t,e);return a===((r=s.offset)==null?void 0:r.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:n+u.x,y:i+u.y,data:{...u,placement:a}}}}},V3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:h=>{let{x:b,y:C}=h;return{x:b,y:C}}},...u}=Ke(e,t),l={x:r,y:o},c=await nr(t,u),d=st(et(n)),f=eu(d);let p=l[f],m=l[d];if(i){const h=f==="y"?"top":"left",b=f==="y"?"bottom":"right",C=p+c[h],S=p-c[b];p=sa(C,p,S)}if(a){const h=d==="y"?"top":"left",b=d==="y"?"bottom":"right",C=m+c[h],S=m-c[b];m=sa(C,m,S)}const g=s.fn({...t,[f]:p,[d]:m});return{...g,data:{x:g.x-r,y:g.y-o,enabled:{[f]:i,[d]:a}}}}}},j3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=Ke(e,t),c={x:r,y:o},d=st(n),f=eu(d);let p=c[f],m=c[d];const g=Ke(s,t),h=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const S=f==="y"?"height":"width",w=i.reference[f]-i.floating[S]+h.mainAxis,I=i.reference[f]+i.reference[S]-h.mainAxis;p<w?p=w:p>I&&(p=I)}if(l){var b,C;const S=f==="y"?"width":"height",w=["top","left"].includes(et(n)),I=i.reference[d]-i.floating[S]+(w&&((b=a.offset)==null?void 0:b[d])||0)+(w?0:h.crossAxis),A=i.reference[d]+i.reference[S]+(w?0:((C=a.offset)==null?void 0:C[d])||0)-(w?h.crossAxis:0);m<I?m=I:m>A&&(m=A)}return{[f]:p,[d]:m}}}},B3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:i,platform:a,elements:s}=t,{apply:u=()=>{},...l}=Ke(e,t),c=await nr(t,l),d=et(n),f=$t(n),p=st(n)==="y",{width:m,height:g}=i.floating;let h,b;d==="top"||d==="bottom"?(h=d,b=f===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(b=d,h=f==="end"?"top":"bottom");const C=g-c.top-c.bottom,S=m-c.left-c.right,w=ut(g-c[h],C),I=ut(m-c[b],S),A=!t.middlewareData.shift;let x=w,E=I;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=S),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(x=C),A&&!f){const _=_e(c.left,0),L=_e(c.right,0),j=_e(c.top,0),O=_e(c.bottom,0);p?E=m-2*(_!==0||L!==0?_+L:_e(c.left,c.right)):x=g-2*(j!==0||O!==0?j+O:_e(c.top,c.bottom))}await u({...t,availableWidth:E,availableHeight:x});const P=await a.getDimensions(s.floating);return m!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};function cn(){return typeof window<"u"}function zt(e){return Xd(e)?(e.nodeName||"").toLowerCase():"#document"}function Te(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ue(e){var t;return(t=(Xd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xd(e){return cn()?e instanceof Node||e instanceof Te(e).Node:!1}function Ve(e){return cn()?e instanceof Element||e instanceof Te(e).Element:!1}function Ye(e){return cn()?e instanceof HTMLElement||e instanceof Te(e).HTMLElement:!1}function ac(e){return!cn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Te(e).ShadowRoot}function vr(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=je(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(n)}function L3(e){return["table","td","th"].includes(zt(e))}function dn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function nu(e){const t=ou(),r=Ve(e)?je(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function D3(e){let t=lt(e);for(;Ye(t)&&!Gt(t);){if(nu(t))return t;if(dn(t))return null;t=lt(t)}return null}function ou(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Gt(e){return["html","body","#document"].includes(zt(e))}function je(e){return Te(e).getComputedStyle(e)}function fn(e){return Ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lt(e){if(zt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ac(e)&&e.host||Ue(e);return ac(t)?t.host:t}function $d(e){const t=lt(e);return Gt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ye(t)&&vr(t)?t:$d(t)}function or(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const n=$d(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),a=Te(n);if(i){const s=ca(a);return t.concat(a,a.visualViewport||[],vr(n)?n:[],s&&r?or(s):[])}return t.concat(n,or(n,[],r))}function ca(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zd(e){const t=je(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=Ye(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,s=Zr(r)!==i||Zr(o)!==a;return s&&(r=i,o=a),{width:r,height:o,$:s}}function iu(e){return Ve(e)?e:e.contextElement}function Vt(e){const t=iu(e);if(!Ye(t))return He(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:i}=zd(t);let a=(i?Zr(r.width):r.width)/o,s=(i?Zr(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const G3=He(0);function Yd(e){const t=Te(e);return!ou()||!t.visualViewport?G3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function W3(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Te(e)?!1:t}function ht(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=iu(e);let a=He(1);t&&(o?Ve(o)&&(a=Vt(o)):a=Vt(e));const s=W3(i,r,o)?Yd(i):He(0);let u=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,c=n.width/a.x,d=n.height/a.y;if(i){const f=Te(i),p=o&&Ve(o)?Te(o):o;let m=f,g=ca(m);for(;g&&o&&p!==m;){const h=Vt(g),b=g.getBoundingClientRect(),C=je(g),S=b.left+(g.clientLeft+parseFloat(C.paddingLeft))*h.x,w=b.top+(g.clientTop+parseFloat(C.paddingTop))*h.y;u*=h.x,l*=h.y,c*=h.x,d*=h.y,u+=S,l+=w,m=Te(g),g=ca(m)}}return $r({width:c,height:d,x:u,y:l})}function au(e,t){const r=fn(e).scrollLeft;return t?t.left+r:ht(Ue(e)).left+r}function qd(e,t,r){r===void 0&&(r=!1);const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-(r?0:au(e,o)),i=o.top+t.scrollTop;return{x:n,y:i}}function k3(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const i=n==="fixed",a=Ue(o),s=t?dn(t.floating):!1;if(o===a||s&&i)return r;let u={scrollLeft:0,scrollTop:0},l=He(1);const c=He(0),d=Ye(o);if((d||!d&&!i)&&((zt(o)!=="body"||vr(a))&&(u=fn(o)),Ye(o))){const p=ht(o);l=Vt(o),c.x=p.x+o.clientLeft,c.y=p.y+o.clientTop}const f=a&&!d&&!i?qd(a,u,!0):He(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+f.x,y:r.y*l.y-u.scrollTop*l.y+c.y+f.y}}function H3(e){return Array.from(e.getClientRects())}function Z3(e){const t=Ue(e),r=fn(e),o=e.ownerDocument.body,n=_e(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=_e(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+au(e);const s=-r.scrollTop;return je(o).direction==="rtl"&&(a+=_e(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}function X3(e,t){const r=Te(e),o=Ue(e),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,u=0;if(n){i=n.width,a=n.height;const l=ou();(!l||l&&t==="fixed")&&(s=n.offsetLeft,u=n.offsetTop)}return{width:i,height:a,x:s,y:u}}function $3(e,t){const r=ht(e,!0,t==="fixed"),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=Ye(e)?Vt(e):He(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,u=n*i.x,l=o*i.y;return{width:a,height:s,x:u,y:l}}function uc(e,t,r){let o;if(t==="viewport")o=X3(e,r);else if(t==="document")o=Z3(Ue(e));else if(Ve(t))o=$3(t,r);else{const n=Yd(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return $r(o)}function Jd(e,t){const r=lt(e);return r===t||!Ve(r)||Gt(r)?!1:je(r).position==="fixed"||Jd(r,t)}function z3(e,t){const r=t.get(e);if(r)return r;let o=or(e,[],!1).filter(s=>Ve(s)&&zt(s)!=="body"),n=null;const i=je(e).position==="fixed";let a=i?lt(e):e;for(;Ve(a)&&!Gt(a);){const s=je(a),u=nu(a);!u&&s.position==="fixed"&&(n=null),(i?!u&&!n:!u&&s.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||vr(a)&&!u&&Jd(e,a))?o=o.filter(c=>c!==a):n=s,a=lt(a)}return t.set(e,o),o}function Y3(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a=[...r==="clippingAncestors"?dn(t)?[]:z3(t,this._c):[].concat(r),o],s=a[0],u=a.reduce((l,c)=>{const d=uc(t,c,n);return l.top=_e(d.top,l.top),l.right=ut(d.right,l.right),l.bottom=ut(d.bottom,l.bottom),l.left=_e(d.left,l.left),l},uc(t,s,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function q3(e){const{width:t,height:r}=zd(e);return{width:t,height:r}}function J3(e,t,r){const o=Ye(t),n=Ue(t),i=r==="fixed",a=ht(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=He(0);if(o||!o&&!i)if((zt(t)!=="body"||vr(n))&&(s=fn(t)),o){const f=ht(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else n&&(u.x=au(n));const l=n&&!o&&!i?qd(n,s):He(0),c=a.left+s.scrollLeft-u.x-l.x,d=a.top+s.scrollTop-u.y-l.y;return{x:c,y:d,width:a.width,height:a.height}}function Vi(e){return je(e).position==="static"}function sc(e,t){if(!Ye(e)||je(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ue(e)===r&&(r=r.ownerDocument.body),r}function Ud(e,t){const r=Te(e);if(dn(e))return r;if(!Ye(e)){let n=lt(e);for(;n&&!Gt(n);){if(Ve(n)&&!Vi(n))return n;n=lt(n)}return r}let o=sc(e,t);for(;o&&L3(o)&&Vi(o);)o=sc(o,t);return o&&Gt(o)&&Vi(o)&&!nu(o)?r:o||D3(e)||r}const U3=async function(e){const t=this.getOffsetParent||Ud,r=this.getDimensions,o=await r(e.floating);return{reference:J3(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Q3(e){return je(e).direction==="rtl"}const K3={convertOffsetParentRelativeRectToViewportRelativeRect:k3,getDocumentElement:Ue,getClippingRect:Y3,getOffsetParent:Ud,getElementRects:U3,getClientRects:H3,getDimensions:q3,getScale:Vt,isElement:Ve,isRTL:Q3};function Qd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eh(e,t){let r=null,o;const n=Ue(e);function i(){var s;clearTimeout(o),(s=r)==null||s.disconnect(),r=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const l=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;const m=xr(d),g=xr(n.clientWidth-(c+f)),h=xr(n.clientHeight-(d+p)),b=xr(c),S={rootMargin:-m+"px "+-g+"px "+-h+"px "+-b+"px",threshold:_e(0,ut(1,u))||1};let w=!0;function I(A){const x=A[0].intersectionRatio;if(x!==u){if(!w)return a();x?a(!1,x):o=setTimeout(()=>{a(!1,1e-7)},1e3)}x===1&&!Qd(l,e.getBoundingClientRect())&&a(),w=!1}try{r=new IntersectionObserver(I,{...S,root:n.ownerDocument})}catch{r=new IntersectionObserver(I,S)}r.observe(e)}return a(!0),i}function uu(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,l=iu(e),c=n||i?[...l?or(l):[],...or(t)]:[];c.forEach(b=>{n&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});const d=l&&s?eh(l,r):null;let f=-1,p=null;a&&(p=new ResizeObserver(b=>{let[C]=b;C&&C.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=p)==null||S.observe(t)})),r()}),l&&!u&&p.observe(l),p.observe(t));let m,g=u?ht(e):null;u&&h();function h(){const b=ht(e);g&&!Qd(g,b)&&r(),g=b,m=requestAnimationFrame(h)}return r(),()=>{var b;c.forEach(C=>{n&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),d==null||d(),(b=p)==null||b.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const th=F3,rh=V3,nh=T3,oh=B3,ih=M3,lc=_3,ah=j3,uh=(e,t,r)=>{const o=new Map,n={platform:K3,...r},i={...n.platform,_c:o};return O3(e,t,{...n,platform:i})};var Fr=typeof document<"u"?V.useLayoutEffect:V.useEffect;function zr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!zr(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=r;o--!==0;){const i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!zr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Kd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cc(e,t){const r=Kd(e);return Math.round(t*r)/r}function ji(e){const t=y.useRef(e);return Fr(()=>{t.current=e}),t}function ef(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:n,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=e,[c,d]=y.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=y.useState(o);zr(f,o)||p(o);const[m,g]=y.useState(null),[h,b]=y.useState(null),C=y.useCallback(B=>{B!==A.current&&(A.current=B,g(B))},[]),S=y.useCallback(B=>{B!==x.current&&(x.current=B,b(B))},[]),w=i||m,I=a||h,A=y.useRef(null),x=y.useRef(null),E=y.useRef(c),P=u!=null,_=ji(u),L=ji(n),j=ji(l),O=y.useCallback(()=>{if(!A.current||!x.current)return;const B={placement:t,strategy:r,middleware:f};L.current&&(B.platform=L.current),uh(A.current,x.current,B).then(Z=>{const R={...Z,isPositioned:j.current!==!1};N.current&&!zr(E.current,R)&&(E.current=R,Sa.flushSync(()=>{d(R)}))})},[f,t,r,L,j]);Fr(()=>{l===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(B=>({...B,isPositioned:!1})))},[l]);const N=y.useRef(!1);Fr(()=>(N.current=!0,()=>{N.current=!1}),[]),Fr(()=>{if(w&&(A.current=w),I&&(x.current=I),w&&I){if(_.current)return _.current(w,I,O);O()}},[w,I,O,_,P]);const T=y.useMemo(()=>({reference:A,floating:x,setReference:C,setFloating:S}),[C,S]),M=y.useMemo(()=>({reference:w,floating:I}),[w,I]),G=y.useMemo(()=>{const B={position:r,left:0,top:0};if(!M.floating)return B;const Z=cc(M.floating,c.x),R=cc(M.floating,c.y);return s?{...B,transform:"translate("+Z+"px, "+R+"px)",...Kd(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Z,top:R}},[r,s,M.floating,c.x,c.y]);return y.useMemo(()=>({...c,update:O,refs:T,elements:M,floatingStyles:G}),[c,O,T,M,G])}const sh=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:n}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?lc({element:o.current,padding:n}).fn(r):{}:o?lc({element:o,padding:n}).fn(r):{}}}},tf=(e,t)=>({...th(e),options:[e,t]}),rf=(e,t)=>({...rh(e),options:[e,t]}),nf=(e,t)=>({...ah(e),options:[e,t]}),of=(e,t)=>({...nh(e),options:[e,t]}),af=(e,t)=>({...oh(e),options:[e,t]}),uf=(e,t)=>({...ih(e),options:[e,t]}),sf=(e,t)=>({...sh(e),options:[e,t]});var lh="Arrow",lf=y.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...i}=e;return v.jsx(de.svg,{...i,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});lf.displayName=lh;var ch=lf;function cf(e){const[t,r]=y.useState(void 0);return $e(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var su="Popper",[df,ff]=qe(su),[dh,pf]=df(su),gf=e=>{const{__scopePopper:t,children:r}=e,[o,n]=y.useState(null);return v.jsx(dh,{scope:t,anchor:o,onAnchorChange:n,children:r})};gf.displayName=su;var vf="PopperAnchor",mf=y.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,i=pf(vf,r),a=y.useRef(null),s=Se(t,a);return y.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||a.current)}),o?null:v.jsx(de.div,{...n,ref:s})});mf.displayName=vf;var lu="PopperContent",[fh,ph]=df(lu),hf=y.forwardRef((e,t)=>{var Y,q,U,K,re,W;const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...g}=e,h=pf(lu,r),[b,C]=y.useState(null),S=Se(t,te=>C(te)),[w,I]=y.useState(null),A=cf(w),x=(A==null?void 0:A.width)??0,E=(A==null?void 0:A.height)??0,P=o+(i!=="center"?"-"+i:""),_=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},L=Array.isArray(l)?l:[l],j=L.length>0,O={padding:_,boundary:L.filter(vh),altBoundary:j},{refs:N,floatingStyles:T,placement:M,isPositioned:G,middlewareData:B}=ef({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>uu(...te,{animationFrame:p==="always"}),elements:{reference:h.anchor},middleware:[tf({mainAxis:n+E,alignmentAxis:a}),u&&rf({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?nf():void 0,...O}),u&&of({...O}),af({...O,apply:({elements:te,rects:ae,availableWidth:se,availableHeight:ge})=>{const{width:be,height:me}=ae.reference,oe=te.floating.style;oe.setProperty("--radix-popper-available-width",`${se}px`),oe.setProperty("--radix-popper-available-height",`${ge}px`),oe.setProperty("--radix-popper-anchor-width",`${be}px`),oe.setProperty("--radix-popper-anchor-height",`${me}px`)}}),w&&sf({element:w,padding:s}),mh({arrowWidth:x,arrowHeight:E}),f&&uf({strategy:"referenceHidden",...O})]}),[Z,R]=Cf(M),F=Xe(m);$e(()=>{G&&(F==null||F())},[G,F]);const D=(Y=B.arrow)==null?void 0:Y.x,H=(q=B.arrow)==null?void 0:q.y,k=((U=B.arrow)==null?void 0:U.centerOffset)!==0,[X,$]=y.useState();return $e(()=>{b&&$(window.getComputedStyle(b).zIndex)},[b]),v.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:G?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(K=B.transformOrigin)==null?void 0:K.x,(re=B.transformOrigin)==null?void 0:re.y].join(" "),...((W=B.hide)==null?void 0:W.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(fh,{scope:r,placedSide:Z,onArrowChange:I,arrowX:D,arrowY:H,shouldHideArrow:k,children:v.jsx(de.div,{"data-side":Z,"data-align":R,...g,ref:S,style:{...g.style,animation:G?void 0:"none"}})})})});hf.displayName=lu;var bf="PopperArrow",gh={top:"bottom",right:"left",bottom:"top",left:"right"},yf=y.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,i=ph(bf,o),a=gh[i.placedSide];return v.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:v.jsx(ch,{...n,ref:r,style:{...n.style,display:"block"}})})});yf.displayName=bf;function vh(e){return e!==null}var mh=e=>({name:"transformOrigin",options:e,fn(t){var h,b,C;const{placement:r,rects:o,middlewareData:n}=t,a=((h=n.arrow)==null?void 0:h.centerOffset)!==0,s=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[l,c]=Cf(r),d={start:"0%",center:"50%",end:"100%"}[c],f=(((b=n.arrow)==null?void 0:b.x)??0)+s/2,p=(((C=n.arrow)==null?void 0:C.y)??0)+u/2;let m="",g="";return l==="bottom"?(m=a?d:`${f}px`,g=`${-u}px`):l==="top"?(m=a?d:`${f}px`,g=`${o.floating.height+u}px`):l==="right"?(m=`${-u}px`,g=a?d:`${p}px`):l==="left"&&(m=`${o.floating.width+u}px`,g=a?d:`${p}px`),{data:{x:m,y:g}}}});function Cf(e){const[t,r="center"]=e.split("-");return[t,r]}var hh=gf,bh=mf,yh=hf,Ch=yf,xh="Portal",xf=y.forwardRef((e,t)=>{var s;const{container:r,...o}=e,[n,i]=y.useState(!1);$e(()=>i(!0),[]);const a=r||n&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Qe.createPortal(v.jsx(de.div,{...o,ref:t}),a):null});xf.displayName=xh;var wh="VisuallyHidden",wf=y.forwardRef((e,t)=>v.jsx(de.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));wf.displayName=wh;var Ih=wf,[pn,pC]=qe("Tooltip",[ff]),gn=ff(),If="TooltipProvider",Sh=700,da="tooltip.open",[Ah,cu]=pn(If),Sf=e=>{const{__scopeTooltip:t,delayDuration:r=Sh,skipDelayDuration:o=300,disableHoverableContent:n=!1,children:i}=e,[a,s]=y.useState(!0),u=y.useRef(!1),l=y.useRef(0);return y.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),v.jsx(Ah,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:y.useCallback(()=>{window.clearTimeout(l.current),s(!1)},[]),onClose:y.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:y.useCallback(c=>{u.current=c},[]),disableHoverableContent:n,children:i})};Sf.displayName=If;var vn="Tooltip",[Eh,mn]=pn(vn),Af=e=>{const{__scopeTooltip:t,children:r,open:o,defaultOpen:n=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,u=cu(vn,e.__scopeTooltip),l=gn(t),[c,d]=y.useState(null),f=it(),p=y.useRef(0),m=a??u.disableHoverableContent,g=s??u.delayDuration,h=y.useRef(!1),[b=!1,C]=dt({prop:o,defaultProp:n,onChange:x=>{x?(u.onOpen(),document.dispatchEvent(new CustomEvent(da))):u.onClose(),i==null||i(x)}}),S=y.useMemo(()=>b?h.current?"delayed-open":"instant-open":"closed",[b]),w=y.useCallback(()=>{window.clearTimeout(p.current),p.current=0,h.current=!1,C(!0)},[C]),I=y.useCallback(()=>{window.clearTimeout(p.current),p.current=0,C(!1)},[C]),A=y.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{h.current=!0,C(!0),p.current=0},g)},[g,C]);return y.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),v.jsx(hh,{...l,children:v.jsx(Eh,{scope:t,contentId:f,open:b,stateAttribute:S,trigger:c,onTriggerChange:d,onTriggerEnter:y.useCallback(()=>{u.isOpenDelayed?A():w()},[u.isOpenDelayed,A,w]),onTriggerLeave:y.useCallback(()=>{m?I():(window.clearTimeout(p.current),p.current=0)},[I,m]),onOpen:w,onClose:I,disableHoverableContent:m,children:r})})};Af.displayName=vn;var fa="TooltipTrigger",Ef=y.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=mn(fa,r),i=cu(fa,r),a=gn(r),s=y.useRef(null),u=Se(t,s,n.onTriggerChange),l=y.useRef(!1),c=y.useRef(!1),d=y.useCallback(()=>l.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),v.jsx(bh,{asChild:!0,...a,children:v.jsx(de.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...o,ref:u,onPointerMove:ve(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ve(e.onFocus,()=>{l.current||n.onOpen()}),onBlur:ve(e.onBlur,n.onClose),onClick:ve(e.onClick,n.onClose)})})});Ef.displayName=fa;var Rh="TooltipPortal",[gC,Ph]=pn(Rh,{forceMount:void 0}),Wt="TooltipContent",Rf=y.forwardRef((e,t)=>{const r=Ph(Wt,e.__scopeTooltip),{forceMount:o=r.forceMount,side:n="top",...i}=e,a=mn(Wt,e.__scopeTooltip);return v.jsx(Ct,{present:o||a.open,children:a.disableHoverableContent?v.jsx(Pf,{side:n,...i,ref:t}):v.jsx(Oh,{side:n,...i,ref:t})})}),Oh=y.forwardRef((e,t)=>{const r=mn(Wt,e.__scopeTooltip),o=cu(Wt,e.__scopeTooltip),n=y.useRef(null),i=Se(t,n),[a,s]=y.useState(null),{trigger:u,onClose:l}=r,c=n.current,{onPointerInTransitChange:d}=o,f=y.useCallback(()=>{s(null),d(!1)},[d]),p=y.useCallback((m,g)=>{const h=m.currentTarget,b={x:m.clientX,y:m.clientY},C=Mh(b,h.getBoundingClientRect()),S=Nh(b,C),w=Fh(g.getBoundingClientRect()),I=jh([...S,...w]);s(I),d(!0)},[d]);return y.useEffect(()=>()=>f(),[f]),y.useEffect(()=>{if(u&&c){const m=h=>p(h,c),g=h=>p(h,u);return u.addEventListener("pointerleave",m),c.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",m),c.removeEventListener("pointerleave",g)}}},[u,c,p,f]),y.useEffect(()=>{if(a){const m=g=>{const h=g.target,b={x:g.clientX,y:g.clientY},C=(u==null?void 0:u.contains(h))||(c==null?void 0:c.contains(h)),S=!Vh(b,a);C?f():S&&(f(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[u,c,a,l,f]),v.jsx(Pf,{...e,ref:i})}),[_h,Th]=pn(vn,{isInside:!1}),Pf=y.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,u=mn(Wt,r),l=gn(r),{onClose:c}=u;return y.useEffect(()=>(document.addEventListener(da,c),()=>document.removeEventListener(da,c)),[c]),y.useEffect(()=>{if(u.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(u.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,c]),v.jsx(Ka,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:v.jsxs(yh,{"data-state":u.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[v.jsx(s1,{children:o}),v.jsx(_h,{scope:r,isInside:!0,children:v.jsx(Ih,{id:u.contentId,role:"tooltip",children:n||o})})]})})});Rf.displayName=Wt;var Of="TooltipArrow",_f=y.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=gn(r);return Th(Of,r).isInside?null:v.jsx(Ch,{...n,...o,ref:t})});_f.displayName=Of;function Mh(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,o,n,i)){case i:return"left";case n:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Nh(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}function Fh(e){const{top:t,right:r,bottom:o,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:o},{x:n,y:o}]}function Vh(e,t){const{x:r,y:o}=e;let n=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,u=t[i].y,l=t[a].x,c=t[a].y;u>o!=c>o&&r<(l-s)*(o-u)/(c-u)+s&&(n=!n)}return n}function jh(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),Bh(t)}function Bh(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const n=e[o];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))t.pop();else break}t.push(n)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const n=e[o];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))r.pop();else break}r.push(n)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Lh=Sf,Dh=Af,Gh=Ef,Wh=Rf,kh=_f;const pa=({open:e,content:t,children:r,defaultOpen:o,onOpenChange:n,side:i="top"})=>{const a=z.tooltip({});return v.jsx(Lh,{delayDuration:800,skipDelayDuration:500,children:v.jsxs(Dh,{open:e,defaultOpen:o,onOpenChange:n,children:[v.jsx(Gh,{children:r}),v.jsxs(Wh,{side:i,className:a.content,children:[t,v.jsx(kh,{className:a.arrow})]})]})})},Hh=({size:e,side:t,apps:r=[],showItems:o=4,square:n,rawCounter:i,inline:a})=>{var l,c;const s=`+${i==null?void 0:i.toLocaleString("pt-BR")}`,u=z.avatarGroup({square:n});return v.jsxs("div",{className:u.container,children:[(l=r==null?void 0:r.filter((d,f)=>f<o))==null?void 0:l.map((d,f)=>v.jsx("div",{className:u.avatarStyle,children:v.jsx(pa,{side:t,content:d&&(d==null?void 0:d.name),children:v.jsx(Wd,{source:d==null?void 0:d.icon,size:e,shape:n?"square":"default",inline:a})})},f)),i&&v.jsx("div",{className:u.othersStyle,children:v.jsx(Ee,{size:"small",color:"muted",fontWeight:"bold",children:s})}),!i&&r.length>o&&v.jsx("div",{className:u.othersStyle,children:v.jsx(pa,{side:t,content:(c=r==null?void 0:r.filter((d,f)=>f>=o))==null?void 0:c.map((d,f)=>v.jsx(Ee,{size:"micro",textAlign:"center",color:"inverse",collapsed:!0,children:d&&(d==null?void 0:d.name)},d?d==null?void 0:d.name:f)),children:v.jsx(Ee,{size:"small",color:"muted",fontWeight:"bold",children:`+${r.length-o}`})})})]})};function Tf(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function Yr(e,t){return Yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Yr(e,t)}function Zh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yr(e,t)}const dc={disabled:!1};var Xh=process.env.NODE_ENV!=="production"?ne.oneOfType([ne.number,ne.shape({enter:ne.number,exit:ne.number,appear:ne.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ne.oneOfType([ne.string,ne.shape({enter:ne.string,exit:ne.string,active:ne.string}),ne.shape({enter:ne.string,enterDone:ne.string,enterActive:ne.string,exit:ne.string,exitDone:ne.string,exitActive:ne.string})]);const Mf=V.createContext(null);var $h=function(t){return t.scrollTop},Qt="unmounted",gt="exited",vt="entering",Mt="entered",ga="exiting",Be=function(e){Zh(t,e);function t(o,n){var i;i=e.call(this,o,n)||this;var a=n,s=a&&!a.isMounting?o.enter:o.appear,u;return i.appearStatus=null,o.in?s?(u=gt,i.appearStatus=vt):u=Mt:o.unmountOnExit||o.mountOnEnter?u=Qt:u=gt,i.state={status:u},i.nextCallback=null,i}t.getDerivedStateFromProps=function(n,i){var a=n.in;return a&&i.status===Qt?{status:gt}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(n){var i=null;if(n!==this.props){var a=this.state.status;this.props.in?a!==vt&&a!==Mt&&(i=vt):(a===vt||a===Mt)&&(i=ga)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var n=this.props.timeout,i,a,s;return i=a=s=n,n!=null&&typeof n!="number"&&(i=n.exit,a=n.enter,s=n.appear!==void 0?n.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(n,i){if(n===void 0&&(n=!1),i!==null)if(this.cancelNextCallback(),i===vt){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Qe.findDOMNode(this);a&&$h(a)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gt&&this.setState({status:Qt})},r.performEnter=function(n){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:n,u=this.props.nodeRef?[s]:[Qe.findDOMNode(this),s],l=u[0],c=u[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!n&&!a||dc.disabled){this.safeSetState({status:Mt},function(){i.props.onEntered(l)});return}this.props.onEnter(l,c),this.safeSetState({status:vt},function(){i.props.onEntering(l,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Mt},function(){i.props.onEntered(l,c)})})})},r.performExit=function(){var n=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Qe.findDOMNode(this);if(!i||dc.disabled){this.safeSetState({status:gt},function(){n.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ga},function(){n.props.onExiting(s),n.onTransitionEnd(a.exit,function(){n.safeSetState({status:gt},function(){n.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(n,i){i=this.setNextCallback(i),this.setState(n,i)},r.setNextCallback=function(n){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,n(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(n,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Qe.findDOMNode(this),s=n==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],l=u[0],c=u[1];this.props.addEndListener(l,c)}n!=null&&setTimeout(this.nextCallback,n)},r.render=function(){var n=this.state.status;if(n===Qt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=Tf(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return V.createElement(Mf.Provider,{value:null},typeof a=="function"?a(n,s):V.cloneElement(V.Children.only(a),s))},t}(V.Component);Be.contextType=Mf;Be.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ne.shape({current:typeof Element>"u"?ne.any:function(e,t,r,o,n,i){var a=e[t];return ne.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,o,n,i)}}),children:ne.oneOfType([ne.func.isRequired,ne.element.isRequired]).isRequired,in:ne.bool,mountOnEnter:ne.bool,unmountOnExit:ne.bool,appear:ne.bool,enter:ne.bool,exit:ne.bool,timeout:function(t){var r=Xh;t.addEndListener||(r=r.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),i=1;i<o;i++)n[i-1]=arguments[i];return r.apply(void 0,[t].concat(n))},addEndListener:ne.func,onEnter:ne.func,onEntering:ne.func,onEntered:ne.func,onExit:ne.func,onExiting:ne.func,onExited:ne.func}:{};function Et(){}Be.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Et,onEntering:Et,onEntered:Et,onExit:Et,onExiting:Et,onExited:Et};Be.UNMOUNTED=Qt;Be.EXITED=gt;Be.ENTERING=vt;Be.ENTERED=Mt;Be.EXITING=ga;const zh={name:"default",value:0},Yh=V.createContext({breakpoint:zh,isGreaterThan:()=>!1,isLessThan:()=>!1}),Nf=Yh.Consumer,Ff={small:640,large:1024,medium:1127,xlarge:1280},Vf=(e,t)=>{const r=typeof e=="string"?Ff[e]:e;return t!==null&&t<r},jf=(e,t)=>{const r=typeof e=="string"?Ff[e]:e;return t===null||t>=r},Bf=({showFor:e,hideFor:t,unmount:r=!1,children:o})=>{const n=i=>e&&Vf(e,i.breakpoint.value)||t&&jf(t,i.breakpoint.value)?r?null:v.jsx("div",{style:{display:"none"},children:o}):o;return v.jsx(Nf,{children:i=>n(i)})},du=({position:e,showFor:t,hideFor:r,global:o,visible:n,onClick:i,onClose:a,primary:s})=>{const u=V.useRef(null);return v.jsx(Be,{in:n,timeout:300,mountOnEnter:!0,unmountOnExit:!0,nodeRef:u,onEnter:()=>{u.current&&(u.current.scrollTop=0)},onExited:()=>a&&a(),children:l=>v.jsx(Bf,{showFor:t,hideFor:r,children:v.jsx("button",{ref:u,type:"button",className:z.blanketRecipe({position:e,global:o,primary:s,entering:l==="entering"||l==="entered",exiting:l==="exiting"||l==="exited"}),onClick:i,"aria-label":"Blanket"})})})},qh=({border:e,padding:t,children:r,relative:o,direction:n,alignItems:i,fullHeight:a,background:s,justifyContent:u,fullWidth:l,...c})=>v.jsx("div",{...c,className:z.block({border:e,padding:t,relative:o,direction:n,alignItems:i,fullHeight:a,background:s,justifyContent:u,fullWidth:l}),children:r}),Jh=({size:e,segments:t,showItems:r=4})=>{const o=z.boxGroupSlot({size:e}),n=(s,u,l)=>v.jsxs("div",{className:o.subItens,children:[v.jsx("div",{className:o.boxStyle,children:u.name}),v.jsx("div",{className:o.boxStyle,children:s[l+1].name})]},l),i=(s,u)=>v.jsx("div",{className:o.subItens,children:v.jsx("div",{className:z.boxGroupSlot({size:e}).boxStyle,children:s.name})},u),a=()=>{const s=t.filter((u,l)=>l<r);return s.map((u,l)=>l+1<s.length&&l%2===0?n(s,u,l):s.length%2!==0&&l===s.length-1?i(u,l):null)};return v.jsxs("div",{className:o.container,children:[v.jsx("div",{className:o.rowStyle,children:a()}),t.length>r&&v.jsx("div",{className:o.others,children:v.jsx(pa,{side:"bottom",content:t.filter((s,u)=>u>=r).map((s,u)=>v.jsx(Ee,{collapsed:!0,size:"micro",color:"inverse",textAlign:"center",children:s&&s.name},s?s.name:u)),children:v.jsx(Ee,{size:"small",color:"gray",fontWeight:"bold",children:`+${(t==null?void 0:t.length)-r}`})})})]})},Uh=({className:e})=>v.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx("g",{clipPath:"url(#clip0_7281_18876)",children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.83785 3.08736C5.06565 2.85955 5.435 2.85955 5.6628 3.08736L9.1628 6.58736C9.39061 6.81516 9.39061 7.18451 9.1628 7.41232L5.6628 10.9123C5.435 11.1401 5.06565 11.1401 4.83785 10.9123C4.61004 10.6845 4.61004 10.3152 4.83785 10.0874L7.92537 6.99984L4.83785 3.91232C4.61004 3.68451 4.61004 3.31516 4.83785 3.08736Z",fill:"#A6A6A6"})}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_7281_18876",children:v.jsx("rect",{width:"14",height:"14",rx:"5",fill:"white"})})})]}),Qh=({crumbs:e})=>{if(!e||e.length<=1)return null;const t=z.breadcrumbSlot({});return v.jsx("nav",{className:t.container,"aria-label":"Breadcrumb",children:e.map(({name:r,onClick:o},n)=>{const i=n===e.length-1,a=z.breadcrumbSlot({current:i}).item;return v.jsxs(V.Fragment,{children:[i?v.jsx("span",{className:a,children:r}):v.jsx("button",{className:a,onClick:()=>o&&o(),children:r}),!i&&v.jsx(Uh,{className:t.separator})]},`${r}-${n}`)})})},Kh=z.css({display:"flex",alignItems:"center",justifyContent:"center"}),fu=({color:e,second:t,size:r,third:o})=>v.jsxs("div",{className:Kh,children:[v.jsx("div",{className:z.loader({color:e,size:r,second:t,third:o})}),v.jsx("div",{className:z.loader({color:e,size:r,second:t,third:o})}),v.jsx("div",{className:z.loader({color:e,size:r,second:t,third:o})})]}),hn=V.forwardRef(({size:e,tall:t,block:r,shape:o,short:n,style:i,type:a,compact:s,grouped:u,loading:l,spacing:c,shimmer:d,children:f,leftIcon:p,disabled:m,fullWidth:g,rightIcon:h,underlined:b,onBlur:C,onClick:S,title:w,...I},A)=>{const x={ghost:"primary",solid:"white",mono:"mono",danger:"white",default:"primary"},E=i?x[i]:x.default;return v.jsxs("button",{ref:A,type:a,disabled:m,onBlur:C,title:w,onClick:S,className:z.button({size:e,tall:t,block:r,shape:o,short:n,style:i,compact:s,grouped:u,loading:l,spacing:c,fullWidth:g,underlined:b,leftIcon:!!p,rightIcon:!!h}).buttonStyle,...I,children:[l&&d&&v.jsx("div",{className:z.button({}).wrapperShimmer,children:v.jsx(Ne,{height:"100%",width:"100%"})}),v.jsxs("div",{className:z.button({leftIcon:!!p,rightIcon:!!h,contentLoading:!!l,contentFullWidth:!!g}).contentStyle,children:[p,f,h]}),l&&v.jsx("div",{className:z.button({}).buttonLoader,children:!d&&v.jsx(fu,{size:"small",color:E})})]})});hn.displayName="Button";const e4=({fit:e,size:t,auto:r,grow:o,style:n,shrink:i,scroll:a,children:s,relative:u,largeSize:l,noSpacing:c,mediumSize:d,xlargeSize:f,fitOnLarge:p,fullHeight:m,fitOnMedium:g,fitOnXlarge:h,autoOnLarge:b,growOnLarge:C,microSpacing:S,smallSpacing:w,largeSpacing:I,autoOnMedium:A,autoOnXlarge:x,growOnMedium:E,growOnXlarge:P,shrinkOnLarge:_,shrinkOnMedium:L,shrinkOnXlarge:j,verticalSpacing:O,fullHeightOnLarge:N,fullHeightOnMedium:T,fullHeightOnXlarge:M,microVerticalSpacing:G,smallVerticalSpacing:B,largeVerticalSpacing:Z})=>{const R=f||l||d||t,F=z.cx(z.cell({fit:e,auto:r,grow:o,scroll:a,shrink:i,relative:u,noSpacing:c,fitOnLarge:p,fullHeight:m,fitOnMedium:g,fitOnXlarge:h,autoOnLarge:b,growOnLarge:C,microSpacing:S,largeSpacing:I,autoOnMedium:A,autoOnXlarge:x,growOnMedium:E,growOnXlarge:P,shrinkOnLarge:_,shrinkOnMedium:L,shrinkOnXlarge:j,verticalSpacing:O,fullHeightOnLarge:N,fullHeightOnMedium:T,fullHeightOnXlarge:M,microVerticalSpacing:G,smallVerticalSpacing:B,largeVerticalSpacing:Z,smallPadding:w}),z.css({small:t??R,large:l??R,medium:d??R,xlarge:f??R}));return v.jsx("div",{style:n,className:F,children:s})},Lf=({children:e,htmlFor:t,inline:r,table:o})=>{const n=z.labelSlot({inline:r,table:o});return v.jsx("label",{className:n.labelStyles,htmlFor:t,children:o?v.jsx("div",{className:n.tableRow,children:e}):e})},t4=({checked:e,defaultChecked:t,disabled:r,id:o,invalid:n,name:i,onBlur:a,onChange:s,onFocus:u})=>{const l=z.checkBoxSlot({});return v.jsx("div",{className:l.containerCheckOnly,children:v.jsxs("div",{className:z.checkBoxSlot({disabled:r,invalid:n}).checkboxStyle,children:[v.jsx("input",{className:l.checkboxInput,type:"checkbox",id:o,name:i,checked:e,defaultChecked:t,disabled:r,"aria-invalid":n,onBlur:a,onChange:s,onFocus:u}),v.jsx("div",{className:l.markContainer,"data-fake-checkbox":!n&&!r,children:e&&v.jsx("div",{className:l.checkMark,children:v.jsx("svg",{className:l.checkMarkIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 54.19 42.05",children:v.jsx("path",{d:"M48,0a6,6,0,0,0-4.12,1.81c-9.36,9.38-16.58,17.25-25.16,26L10,20.47a6,6,0,0,0-8,8.92l.28.23,13,11a6,6,0,0,0,8.13-.34c10.79-10.81,18.46-19.43,29-30A6,6,0,0,0,48,0Z"})})})})]})})},r4=({id:e,name:t,label:r,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:s,onChange:u,subtitle:l,pullRight:c,boldLabel:d,smallLabel:f,inlineText:p})=>{const m=z.checkBoxSlot({pullRight:c,spacing:!c,marginRight:c,columnTextBreak:!p,columnTextNoBreak:p});return v.jsxs(Lf,{htmlFor:e,children:[v.jsx("div",{className:m.columnStyles,children:v.jsx(t4,{id:e,name:t,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:s,onChange:u})}),r&&v.jsxs("div",{className:m.columnStyles,children:[v.jsx("div",{className:m.checkboxLabel,children:typeof r=="string"?v.jsx(Ee,{disabled:s,size:f?"small":"regular",fontWeight:d?"bold":"semibold",children:r}):r}),l&&v.jsx("div",{className:m.subtitle,children:v.jsx(Ee,{size:"micro",color:"gray",children:l})})]})]})},n4=({children:e,disabled:t,inline:r,inverse:o,onClick:n,rectangular:i})=>r?v.jsx("span",{className:z.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e}):v.jsx("div",{className:z.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e});var Bi="focusScope.autoFocusOnMount",Li="focusScope.autoFocusOnUnmount",fc={bubbles:!1,cancelable:!0},o4="FocusScope",Df=y.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...a}=e,[s,u]=y.useState(null),l=Xe(n),c=Xe(i),d=y.useRef(null),f=Se(t,g=>u(g)),p=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(o){let g=function(S){if(p.paused||!s)return;const w=S.target;s.contains(w)?d.current=w:nt(d.current,{select:!0})},h=function(S){if(p.paused||!s)return;const w=S.relatedTarget;w!==null&&(s.contains(w)||nt(d.current,{select:!0}))},b=function(S){if(document.activeElement===document.body)for(const I of S)I.removedNodes.length>0&&nt(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",h);const C=new MutationObserver(b);return s&&C.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",h),C.disconnect()}}},[o,s,p.paused]),y.useEffect(()=>{if(s){gc.add(p);const g=document.activeElement;if(!s.contains(g)){const b=new CustomEvent(Bi,fc);s.addEventListener(Bi,l),s.dispatchEvent(b),b.defaultPrevented||(i4(c4(Gf(s)),{select:!0}),document.activeElement===g&&nt(s))}return()=>{s.removeEventListener(Bi,l),setTimeout(()=>{const b=new CustomEvent(Li,fc);s.addEventListener(Li,c),s.dispatchEvent(b),b.defaultPrevented||nt(g??document.body,{select:!0}),s.removeEventListener(Li,c),gc.remove(p)},0)}}},[s,l,c,p]);const m=y.useCallback(g=>{if(!r&&!o||p.paused)return;const h=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(h&&b){const C=g.currentTarget,[S,w]=a4(C);S&&w?!g.shiftKey&&b===w?(g.preventDefault(),r&&nt(S,{select:!0})):g.shiftKey&&b===S&&(g.preventDefault(),r&&nt(w,{select:!0})):b===C&&g.preventDefault()}},[r,o,p.paused]);return v.jsx(de.div,{tabIndex:-1,...a,ref:f,onKeyDown:m})});Df.displayName=o4;function i4(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(nt(o,{select:t}),document.activeElement!==r)return}function a4(e){const t=Gf(e),r=pc(t,e),o=pc(t.reverse(),e);return[r,o]}function Gf(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function pc(e,t){for(const r of e)if(!u4(r,{upTo:t}))return r}function u4(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function s4(e){return e instanceof HTMLInputElement&&"select"in e}function nt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&s4(e)&&t&&e.select()}}var gc=l4();function l4(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=vc(e,t),e.unshift(t)},remove(t){var r;e=vc(e,t),(r=e[0])==null||r.resume()}}}function vc(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function c4(e){return e.filter(t=>t.tagName!=="A")}var Di=0;function d4(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??mc()),document.body.insertAdjacentElement("beforeend",e[1]??mc()),Di++,()=>{Di===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Di--}},[])}function mc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ke=function(){return ke=Object.assign||function(t){for(var r,o=1,n=arguments.length;o<n;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ke.apply(this,arguments)};function Wf(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}function f4(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var Vr="right-scroll-bar-position",jr="width-before-scroll-bar",p4="with-scroll-bars-hidden",g4="--removed-body-scroll-bar-size";function Gi(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function v4(e,t){var r=V.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(o){var n=r.value;n!==o&&(r.value=o,r.callback(o,n))}}}})[0];return r.callback=t,r.facade}var m4=typeof window<"u"?y.useLayoutEffect:y.useEffect,hc=new WeakMap;function h4(e,t){var r=v4(null,function(o){return e.forEach(function(n){return Gi(n,o)})});return m4(function(){var o=hc.get(r);if(o){var n=new Set(o),i=new Set(e),a=r.current;n.forEach(function(s){i.has(s)||Gi(s,null)}),i.forEach(function(s){n.has(s)||Gi(s,a)})}hc.set(r,e)},[e]),r}function b4(e){return e}function y4(e,t){t===void 0&&(t=b4);var r=[],o=!1,n={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,o);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(o=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){o=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var u=function(){var c=a;a=[],c.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),r={push:function(c){a.push(c),l()},filter:function(c){return a=a.filter(c),r}}}};return n}function C4(e){e===void 0&&(e={});var t=y4(null);return t.options=ke({async:!0,ssr:!1},e),t}var kf=function(e){var t=e.sideCar,r=Wf(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return y.createElement(o,ke({},r))};kf.isSideCarExport=!0;function x4(e,t){return e.useMedium(t),kf}var Hf=C4(),Wi=function(){},bn=y.forwardRef(function(e,t){var r=y.useRef(null),o=y.useState({onScrollCapture:Wi,onWheelCapture:Wi,onTouchMoveCapture:Wi}),n=o[0],i=o[1],a=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,g=e.allowPinchZoom,h=e.as,b=h===void 0?"div":h,C=e.gapMode,S=Wf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=f,I=h4([r,t]),A=ke(ke({},S),n);return y.createElement(y.Fragment,null,c&&y.createElement(w,{sideCar:Hf,removeScrollBar:l,shards:d,noIsolation:p,inert:m,setCallbacks:i,allowPinchZoom:!!g,lockRef:r,gapMode:C}),a?y.cloneElement(y.Children.only(s),ke(ke({},A),{ref:I})):y.createElement(b,ke({},A,{className:u,ref:I}),s))});bn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};bn.classNames={fullWidth:jr,zeroRight:Vr};var w4=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function I4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=w4();return t&&e.setAttribute("nonce",t),e}function S4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function A4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var E4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=I4())&&(S4(t,r),A4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R4=function(){var e=E4();return function(t,r){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Zf=function(){var e=R4(),t=function(r){var o=r.styles,n=r.dynamic;return e(o,n),null};return t},P4={left:0,top:0,right:0,gap:0},ki=function(e){return parseInt(e||"",10)||0},O4=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[ki(r),ki(o),ki(n)]},_4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return P4;var t=O4(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-r+t[2]-t[0])}},T4=Zf(),jt="data-scroll-locked",M4=function(e,t,r,o){var n=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
40
+ `+JSON.stringify(x))}Object.defineProperty(n,"__esModule",{value:!0});var c=Object.assign||function(x){for(var E=1;E<arguments.length;E++){var P=arguments[E];for(var _ in P)Object.prototype.hasOwnProperty.call(P,_)&&(x[_]=P[_])}return x},d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x};n.default=s;var f=i(4),p=a(f),m=i(3),g=a(m),h=i(2),b=i(1),C="",S="none",w="object",I=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),A=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout},function(o,n){function i(s){return function(){return s}}var a=function(){};a.thatReturns=i,a.thatReturnsFalse=i(!1),a.thatReturnsTrue=i(!0),a.thatReturnsNull=i(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(s){return s},o.exports=a},function(o,n,i){function a(s,u,l,c,d,f,p,m){if(!s){var g;if(u===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[l,c,d,f,p,m],b=0;g=new Error(u.replace(/%s/g,function(){return h[b++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}}o.exports=a},function(o,n,i){var a=i(6),s=i(7),u=i(10);o.exports=function(){function l(f,p,m,g,h,b){b!==u&&s(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function c(){return l}l.isRequired=l;var d={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return d.checkPropTypes=a,d.PropTypes=d,d}},function(o,n,i){o.exports=i(8)()},function(o,n){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";o.exports=i},function(o,n){o.exports=r}])})})(Td);var e3=Td.exports;const t3=Na(e3);var r3="Separator",ec="horizontal",n3=["horizontal","vertical"],Md=y.forwardRef((e,t)=>{const{decorative:r,orientation:o=ec,...n}=e,i=o3(o)?o:ec,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return v.jsx(de.div,{"data-orientation":i,...s,...n,ref:t})});Md.displayName=r3;function o3(e){return n3.includes(e)}var i3=Md;const aa=({orientation:e,marginVertical:t,marginHorizontal:r,color:o})=>v.jsx(i3,{className:z.separator({orientation:e,marginHorizontal:r,marginVertical:t,color:o})}),Nd=V.forwardRef(({id:e,flat:t,mask:r,name:o,type:n,icon:i,size:a,value:s,block:u,style:l,color:c,onBlur:d,prefix:f,suffix:p,invalid:m,error:g,inverse:h,onFocus:b,shimmer:C,disabled:S,floating:w,onChange:I,readOnly:A,maxLength:x,onKeyDown:E,noPadding:P,separator:_,borderless:L,spellCheck:j,autoCorrect:O,placeholder:N,autoComplete:T,removeMargin:M,focusBorderless:G,separatorPrefix:B,separatorSuffix:Z,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D,inputDefaultPlaceholder:H,inputInversePlaceholder:k,inpuFakeValuePlaceholder:$,...X},Y)=>{const q=z.input({flat:t,block:u,hasPrefix:!!f,hasSuffix:!!p,inverse:h,invalid:m,error:g,color:c,size:a,disabled:S,floating:w,noPadding:P,separator:_,borderless:L,removeMargin:M,focusBorderless:G,separatorPrefix:B,separatorSuffix:Z,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D,inputDefaultPlaceholder:H,inputInversePlaceholder:k,inpuFakeValuePlaceholder:$});return v.jsxs("div",{ref:Y,className:q.root,style:l,children:[C&&v.jsx("div",{className:q.loader,children:v.jsx(Ne,{width:"100%",height:"100%"})}),f&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:q.prefixContainer,children:f}),B&&v.jsx(aa,{orientation:"vertical",marginVertical:"small"})]}),r!=null?v.jsx(t3,{id:e,mask:r,name:o,type:n,value:s,onBlur:d,onFocus:b,onChange:I,readOnly:A,disabled:!!S,maxLength:x,onKeyDown:E,spellCheck:j,"aria-readonly":A,autoCorrect:O,placeholder:N,className:q.masked,autoComplete:T,...X}):v.jsx("input",{id:e,name:o,type:n,value:s,onBlur:d,onFocus:b,onChange:I,readOnly:A,disabled:!!S,maxLength:x,onKeyDown:E,spellCheck:j,"aria-readonly":A,className:q.input,autoCorrect:O,placeholder:N,autoComplete:T,...X}),i&&i,p&&v.jsxs(v.Fragment,{children:[Z&&v.jsx(aa,{orientation:"vertical",marginVertical:"small"}),v.jsx("div",{className:q.separator,children:p})]})]})});Nd.displayName="InputOnly";const Fd=V.forwardRef(({id:e,name:t,mask:r,type:o,size:n,label:i,value:a,style:s,color:u,inline:l,onBlur:c,prefix:d,suffix:f,invalid:p,error:m,inverse:g,onFocus:h,disabled:b,floating:C,onChange:S,readOnly:w,hideLabel:I=!1,maxLength:A,onKeyDown:x,borderless:E,fontWeight:P,spellCheck:_,autoCorrect:L,placeholder:j,autoComplete:O,errorMessage:N,removeMargin:T,focusBorderless:M,separatorPrefix:G,separatorSuffix:B,labelDescription:Z,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D,...H},k)=>v.jsx(Ua,{label:i,inline:l,invalid:p,hideLabel:I,fontWeight:P,errorMessage:N,labelDescription:Z,block:!1,children:v.jsx(Nd,{id:e,ref:k,...H,size:n,name:t,mask:r,type:o,color:u,value:a,style:s,onBlur:c,prefix:d,suffix:f,invalid:p,error:m,inverse:g,onFocus:h,disabled:b,floating:C,onChange:S,readOnly:w,maxLength:A,onKeyDown:x,borderless:E,spellCheck:_,autoCorrect:L,placeholder:j,autoComplete:O,removeMargin:T,focusBorderless:M,separatorPrefix:G,separatorSuffix:B,removePrefixSpacing:R,removeSuffixSpacing:F,showOverflowEllipsis:D})}));function a3({id:e,name:t,size:r,label:o,value:n,prefix:i,inline:a,invalid:s,inverse:u,disabled:l,hideLabel:c,placeholder:d,labelDescription:f,inputRemoveMargins:p,inputFocusBorderless:m,inputOverflowEllipsis:g}){return v.jsx(_d,{onOutsideClick:()=>{},children:v.jsx(Fd,{id:e,name:t,type:"text",value:n,label:o,size:r,prefix:!!i,inline:a,invalid:s,inverse:u,autoComplete:"off",disabled:l,hideLabel:c,placeholder:d,removeMargin:p,labelDescription:f,focusBorderless:m,showOverflowEllipsis:g,color:"gray",separatorPrefix:!1,separatorSuffix:!1,removePrefixSpacing:!1,removeSuffixSpacing:!1,suffix:!1,noPadding:!1,error:!1,flat:!1,borderless:!1,floating:!1,separator:!1,block:!1,inputDefaultPlaceholder:!1,inpuFakeValuePlaceholder:!1,inputInversePlaceholder:!1})})}var Qa="Avatar",[u3,fC]=qe(Qa),[s3,Vd]=u3(Qa),jd=y.forwardRef((e,t)=>{const{__scopeAvatar:r,...o}=e,[n,i]=y.useState("idle");return v.jsx(s3,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:i,children:v.jsx(de.span,{...o,ref:t})})});jd.displayName=Qa;var Bd="AvatarImage",Ld=y.forwardRef((e,t)=>{const{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...i}=e,a=Vd(Bd,r),s=l3(o,i.referrerPolicy),u=Xe(l=>{n(l),a.onImageLoadingStatusChange(l)});return $e(()=>{s!=="idle"&&u(s)},[s,u]),s==="loaded"?v.jsx(de.img,{...i,ref:t,src:o}):null});Ld.displayName=Bd;var Dd="AvatarFallback",Gd=y.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:o,...n}=e,i=Vd(Dd,r),[a,s]=y.useState(o===void 0);return y.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(u)}},[o]),a&&i.imageLoadingStatus!=="loaded"?v.jsx(de.span,{...n,ref:t}):null});Gd.displayName=Dd;function l3(e,t){const[r,o]=y.useState("idle");return $e(()=>{if(!e){o("error");return}let n=!0;const i=new window.Image,a=s=>()=>{n&&o(s)};return o("loading"),i.onload=a("loaded"),i.onerror=a("error"),i.src=e,t&&(i.referrerPolicy=t),()=>{n=!1}},[e,t]),r}var c3=jd,d3=Ld,f3=Gd;const Wd=({icon:e,size:t,shape:r,source:o,inline:n,loading:i,fallback:a})=>{const s=z.avatar({inline:n,size:t,shape:r});return v.jsxs(c3,{className:s.root,children:[v.jsx(d3,{className:s.image,src:o,alt:"Avatar"}),v.jsxs(f3,{className:s.fallback,delayMs:600,children:[a&&!i&&!e&&a,!a&&!i&&e&&v.jsx(ze,{name:"alert",size:"large",color:"secondary"}),i&&v.jsx(Ne,{width:"100%",height:"100%"})]})]})};function p3(e,t=globalThis==null?void 0:globalThis.document){const r=Xe(e);y.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var g3="DismissableLayer",ua="dismissableLayer.update",v3="dismissableLayer.pointerDownOutside",m3="dismissableLayer.focusOutside",tc,kd=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ka=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...u}=e,l=y.useContext(kd),[c,d]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=y.useState({}),m=Se(t,x=>d(x)),g=Array.from(l.layers),[h]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(h),C=c?g.indexOf(c):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,w=C>=b,I=y3(x=>{const E=x.target,P=[...l.branches].some(_=>_.contains(E));!w||P||(n==null||n(x),a==null||a(x),x.defaultPrevented||s==null||s())},f),A=C3(x=>{const E=x.target;[...l.branches].some(_=>_.contains(E))||(i==null||i(x),a==null||a(x),x.defaultPrevented||s==null||s())},f);return p3(x=>{C===l.layers.size-1&&(o==null||o(x),!x.defaultPrevented&&s&&(x.preventDefault(),s()))},f),y.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(tc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),rc(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=tc)}},[c,f,r,l]),y.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),rc())},[c,l]),y.useEffect(()=>{const x=()=>p({});return document.addEventListener(ua,x),()=>document.removeEventListener(ua,x)},[]),v.jsx(de.div,{...u,ref:m,style:{pointerEvents:S?w?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,A.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,I.onPointerDownCapture)})});Ka.displayName=g3;var h3="DismissableLayerBranch",b3=y.forwardRef((e,t)=>{const r=y.useContext(kd),o=y.useRef(null),n=Se(t,o);return y.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),v.jsx(de.div,{...e,ref:n})});b3.displayName=h3;function y3(e,t=globalThis==null?void 0:globalThis.document){const r=Xe(e),o=y.useRef(!1),n=y.useRef(()=>{});return y.useEffect(()=>{const i=s=>{if(s.target&&!o.current){let u=function(){Hd(v3,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function C3(e,t=globalThis==null?void 0:globalThis.document){const r=Xe(e),o=y.useRef(!1);return y.useEffect(()=>{const n=i=>{i.target&&!o.current&&Hd(m3,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function rc(){const e=new CustomEvent(ua);document.dispatchEvent(e)}function Hd(e,t,r,{discrete:o}){const n=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?cg(n,i):n.dispatchEvent(i)}const x3=["top","right","bottom","left"],ut=Math.min,_e=Math.max,Zr=Math.round,xr=Math.floor,He=e=>({x:e,y:e}),w3={left:"right",right:"left",bottom:"top",top:"bottom"},I3={start:"end",end:"start"};function sa(e,t,r){return _e(e,ut(t,r))}function Ke(e,t){return typeof e=="function"?e(t):e}function et(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function eu(e){return e==="x"?"y":"x"}function tu(e){return e==="y"?"height":"width"}function st(e){return["top","bottom"].includes(et(e))?"y":"x"}function ru(e){return eu(st(e))}function S3(e,t,r){r===void 0&&(r=!1);const o=$t(e),n=ru(e),i=tu(n);let a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Xr(a)),[a,Xr(a)]}function A3(e){const t=Xr(e);return[la(e),t,la(t)]}function la(e){return e.replace(/start|end/g,t=>I3[t])}function E3(e,t,r){const o=["left","right"],n=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?n:o:t?o:n;case"left":case"right":return t?i:a;default:return[]}}function R3(e,t,r,o){const n=$t(e);let i=E3(et(e),r==="start",o);return n&&(i=i.map(a=>a+"-"+n),t&&(i=i.concat(i.map(la)))),i}function Xr(e){return e.replace(/left|right|bottom|top/g,t=>w3[t])}function P3(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zd(e){return typeof e!="number"?P3(e):{top:e,right:e,bottom:e,left:e}}function $r(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function nc(e,t,r){let{reference:o,floating:n}=e;const i=st(t),a=ru(t),s=tu(a),u=et(t),l=i==="y",c=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,f=o[s]/2-n[s]/2;let p;switch(u){case"top":p={x:c,y:o.y-n.height};break;case"bottom":p={x:c,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-n.width,y:d};break;default:p={x:o.x,y:o.y}}switch($t(t)){case"start":p[a]-=f*(r&&l?-1:1);break;case"end":p[a]+=f*(r&&l?-1:1);break}return p}const O3=async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:d}=nc(l,o,u),f=o,p={},m=0;for(let g=0;g<s.length;g++){const{name:h,fn:b}=s[g],{x:C,y:S,data:w,reset:I}=await b({x:c,y:d,initialPlacement:o,placement:f,strategy:n,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});c=C??c,d=S??d,p={...p,[h]:{...p[h],...w}},I&&m<=50&&(m++,typeof I=="object"&&(I.placement&&(f=I.placement),I.rects&&(l=I.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:n}):I.rects),{x:c,y:d}=nc(l,f,u)),g=-1)}return{x:c,y:d,placement:f,strategy:n,middlewareData:p}};async function nr(e,t){var r;t===void 0&&(t={});const{x:o,y:n,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Ke(t,e),m=Zd(p),h=s[f?d==="floating"?"reference":"floating":d],b=$r(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(h)))==null||r?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),C=d==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),w=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},I=$r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:C,offsetParent:S,strategy:u}):C);return{top:(b.top-I.top+m.top)/w.y,bottom:(I.bottom-b.bottom+m.bottom)/w.y,left:(b.left-I.left+m.left)/w.x,right:(I.right-b.right+m.right)/w.x}}const _3=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:i,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:c=0}=Ke(e,t)||{};if(l==null)return{};const d=Zd(c),f={x:r,y:o},p=ru(n),m=tu(p),g=await a.getDimensions(l),h=p==="y",b=h?"top":"left",C=h?"bottom":"right",S=h?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],I=f[p]-i.reference[p],A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let x=A?A[S]:0;(!x||!await(a.isElement==null?void 0:a.isElement(A)))&&(x=s.floating[S]||i.floating[m]);const E=w/2-I/2,P=x/2-g[m]/2-1,_=ut(d[b],P),L=ut(d[C],P),j=_,O=x-g[m]-L,N=x/2-g[m]/2+E,T=sa(j,N,O),M=!u.arrow&&$t(n)!=null&&N!==T&&i.reference[m]/2-(N<j?_:L)-g[m]/2<0,G=M?N<j?N-j:N-O:0;return{[p]:f[p]+G,data:{[p]:T,centerOffset:N-T-G,...M&&{alignmentOffset:G}},reset:M}}}),T3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:i,rects:a,initialPlacement:s,platform:u,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...h}=Ke(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const b=et(n),C=st(s),S=et(s)===s,w=await(u.isRTL==null?void 0:u.isRTL(l.floating)),I=f||(S||!g?[Xr(s)]:A3(s)),A=m!=="none";!f&&A&&I.push(...R3(s,g,m,w));const x=[s,...I],E=await nr(t,h),P=[];let _=((o=i.flip)==null?void 0:o.overflows)||[];if(c&&P.push(E[b]),d){const N=S3(n,a,w);P.push(E[N[0]],E[N[1]])}if(_=[..._,{placement:n,overflows:P}],!P.every(N=>N<=0)){var L,j;const N=(((L=i.flip)==null?void 0:L.index)||0)+1,T=x[N];if(T)return{data:{index:N,overflows:_},reset:{placement:T}};let M=(j=_.filter(G=>G.overflows[0]<=0).sort((G,B)=>G.overflows[1]-B.overflows[1])[0])==null?void 0:j.placement;if(!M)switch(p){case"bestFit":{var O;const G=(O=_.filter(B=>{if(A){const Z=st(B.placement);return Z===C||Z==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(Z=>Z>0).reduce((Z,R)=>Z+R,0)]).sort((B,Z)=>B[1]-Z[1])[0])==null?void 0:O[0];G&&(M=G);break}case"initialPlacement":M=s;break}if(n!==M)return{reset:{placement:M}}}return{}}}};function oc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ic(e){return x3.some(t=>e[t]>=0)}const M3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...n}=Ke(e,t);switch(o){case"referenceHidden":{const i=await nr(t,{...n,elementContext:"reference"}),a=oc(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ic(a)}}}case"escaped":{const i=await nr(t,{...n,altBoundary:!0}),a=oc(i,r.floating);return{data:{escapedOffsets:a,escaped:ic(a)}}}default:return{}}}}};async function N3(e,t){const{placement:r,platform:o,elements:n}=e,i=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=et(r),s=$t(r),u=st(r)==="y",l=["left","top"].includes(a)?-1:1,c=i&&u?-1:1,d=Ke(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m=="number"&&(p=s==="end"?m*-1:m),u?{x:p*c,y:f*l}:{x:f*l,y:p*c}}const F3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:n,y:i,placement:a,middlewareData:s}=t,u=await N3(t,e);return a===((r=s.offset)==null?void 0:r.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:n+u.x,y:i+u.y,data:{...u,placement:a}}}}},V3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:h=>{let{x:b,y:C}=h;return{x:b,y:C}}},...u}=Ke(e,t),l={x:r,y:o},c=await nr(t,u),d=st(et(n)),f=eu(d);let p=l[f],m=l[d];if(i){const h=f==="y"?"top":"left",b=f==="y"?"bottom":"right",C=p+c[h],S=p-c[b];p=sa(C,p,S)}if(a){const h=d==="y"?"top":"left",b=d==="y"?"bottom":"right",C=m+c[h],S=m-c[b];m=sa(C,m,S)}const g=s.fn({...t,[f]:p,[d]:m});return{...g,data:{x:g.x-r,y:g.y-o,enabled:{[f]:i,[d]:a}}}}}},j3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=Ke(e,t),c={x:r,y:o},d=st(n),f=eu(d);let p=c[f],m=c[d];const g=Ke(s,t),h=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const S=f==="y"?"height":"width",w=i.reference[f]-i.floating[S]+h.mainAxis,I=i.reference[f]+i.reference[S]-h.mainAxis;p<w?p=w:p>I&&(p=I)}if(l){var b,C;const S=f==="y"?"width":"height",w=["top","left"].includes(et(n)),I=i.reference[d]-i.floating[S]+(w&&((b=a.offset)==null?void 0:b[d])||0)+(w?0:h.crossAxis),A=i.reference[d]+i.reference[S]+(w?0:((C=a.offset)==null?void 0:C[d])||0)-(w?h.crossAxis:0);m<I?m=I:m>A&&(m=A)}return{[f]:p,[d]:m}}}},B3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:i,platform:a,elements:s}=t,{apply:u=()=>{},...l}=Ke(e,t),c=await nr(t,l),d=et(n),f=$t(n),p=st(n)==="y",{width:m,height:g}=i.floating;let h,b;d==="top"||d==="bottom"?(h=d,b=f===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(b=d,h=f==="end"?"top":"bottom");const C=g-c.top-c.bottom,S=m-c.left-c.right,w=ut(g-c[h],C),I=ut(m-c[b],S),A=!t.middlewareData.shift;let x=w,E=I;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=S),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(x=C),A&&!f){const _=_e(c.left,0),L=_e(c.right,0),j=_e(c.top,0),O=_e(c.bottom,0);p?E=m-2*(_!==0||L!==0?_+L:_e(c.left,c.right)):x=g-2*(j!==0||O!==0?j+O:_e(c.top,c.bottom))}await u({...t,availableWidth:E,availableHeight:x});const P=await a.getDimensions(s.floating);return m!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};function cn(){return typeof window<"u"}function zt(e){return Xd(e)?(e.nodeName||"").toLowerCase():"#document"}function Te(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ue(e){var t;return(t=(Xd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xd(e){return cn()?e instanceof Node||e instanceof Te(e).Node:!1}function Ve(e){return cn()?e instanceof Element||e instanceof Te(e).Element:!1}function Ye(e){return cn()?e instanceof HTMLElement||e instanceof Te(e).HTMLElement:!1}function ac(e){return!cn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Te(e).ShadowRoot}function vr(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=je(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(n)}function L3(e){return["table","td","th"].includes(zt(e))}function dn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function nu(e){const t=ou(),r=Ve(e)?je(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function D3(e){let t=lt(e);for(;Ye(t)&&!Gt(t);){if(nu(t))return t;if(dn(t))return null;t=lt(t)}return null}function ou(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Gt(e){return["html","body","#document"].includes(zt(e))}function je(e){return Te(e).getComputedStyle(e)}function fn(e){return Ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lt(e){if(zt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ac(e)&&e.host||Ue(e);return ac(t)?t.host:t}function $d(e){const t=lt(e);return Gt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ye(t)&&vr(t)?t:$d(t)}function or(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const n=$d(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),a=Te(n);if(i){const s=ca(a);return t.concat(a,a.visualViewport||[],vr(n)?n:[],s&&r?or(s):[])}return t.concat(n,or(n,[],r))}function ca(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zd(e){const t=je(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=Ye(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,s=Zr(r)!==i||Zr(o)!==a;return s&&(r=i,o=a),{width:r,height:o,$:s}}function iu(e){return Ve(e)?e:e.contextElement}function Vt(e){const t=iu(e);if(!Ye(t))return He(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:i}=zd(t);let a=(i?Zr(r.width):r.width)/o,s=(i?Zr(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const G3=He(0);function Yd(e){const t=Te(e);return!ou()||!t.visualViewport?G3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function W3(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Te(e)?!1:t}function ht(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=iu(e);let a=He(1);t&&(o?Ve(o)&&(a=Vt(o)):a=Vt(e));const s=W3(i,r,o)?Yd(i):He(0);let u=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,c=n.width/a.x,d=n.height/a.y;if(i){const f=Te(i),p=o&&Ve(o)?Te(o):o;let m=f,g=ca(m);for(;g&&o&&p!==m;){const h=Vt(g),b=g.getBoundingClientRect(),C=je(g),S=b.left+(g.clientLeft+parseFloat(C.paddingLeft))*h.x,w=b.top+(g.clientTop+parseFloat(C.paddingTop))*h.y;u*=h.x,l*=h.y,c*=h.x,d*=h.y,u+=S,l+=w,m=Te(g),g=ca(m)}}return $r({width:c,height:d,x:u,y:l})}function au(e,t){const r=fn(e).scrollLeft;return t?t.left+r:ht(Ue(e)).left+r}function qd(e,t,r){r===void 0&&(r=!1);const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-(r?0:au(e,o)),i=o.top+t.scrollTop;return{x:n,y:i}}function k3(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const i=n==="fixed",a=Ue(o),s=t?dn(t.floating):!1;if(o===a||s&&i)return r;let u={scrollLeft:0,scrollTop:0},l=He(1);const c=He(0),d=Ye(o);if((d||!d&&!i)&&((zt(o)!=="body"||vr(a))&&(u=fn(o)),Ye(o))){const p=ht(o);l=Vt(o),c.x=p.x+o.clientLeft,c.y=p.y+o.clientTop}const f=a&&!d&&!i?qd(a,u,!0):He(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+f.x,y:r.y*l.y-u.scrollTop*l.y+c.y+f.y}}function H3(e){return Array.from(e.getClientRects())}function Z3(e){const t=Ue(e),r=fn(e),o=e.ownerDocument.body,n=_e(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=_e(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+au(e);const s=-r.scrollTop;return je(o).direction==="rtl"&&(a+=_e(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}function X3(e,t){const r=Te(e),o=Ue(e),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,u=0;if(n){i=n.width,a=n.height;const l=ou();(!l||l&&t==="fixed")&&(s=n.offsetLeft,u=n.offsetTop)}return{width:i,height:a,x:s,y:u}}function $3(e,t){const r=ht(e,!0,t==="fixed"),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=Ye(e)?Vt(e):He(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,u=n*i.x,l=o*i.y;return{width:a,height:s,x:u,y:l}}function uc(e,t,r){let o;if(t==="viewport")o=X3(e,r);else if(t==="document")o=Z3(Ue(e));else if(Ve(t))o=$3(t,r);else{const n=Yd(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return $r(o)}function Jd(e,t){const r=lt(e);return r===t||!Ve(r)||Gt(r)?!1:je(r).position==="fixed"||Jd(r,t)}function z3(e,t){const r=t.get(e);if(r)return r;let o=or(e,[],!1).filter(s=>Ve(s)&&zt(s)!=="body"),n=null;const i=je(e).position==="fixed";let a=i?lt(e):e;for(;Ve(a)&&!Gt(a);){const s=je(a),u=nu(a);!u&&s.position==="fixed"&&(n=null),(i?!u&&!n:!u&&s.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||vr(a)&&!u&&Jd(e,a))?o=o.filter(c=>c!==a):n=s,a=lt(a)}return t.set(e,o),o}function Y3(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a=[...r==="clippingAncestors"?dn(t)?[]:z3(t,this._c):[].concat(r),o],s=a[0],u=a.reduce((l,c)=>{const d=uc(t,c,n);return l.top=_e(d.top,l.top),l.right=ut(d.right,l.right),l.bottom=ut(d.bottom,l.bottom),l.left=_e(d.left,l.left),l},uc(t,s,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function q3(e){const{width:t,height:r}=zd(e);return{width:t,height:r}}function J3(e,t,r){const o=Ye(t),n=Ue(t),i=r==="fixed",a=ht(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=He(0);if(o||!o&&!i)if((zt(t)!=="body"||vr(n))&&(s=fn(t)),o){const f=ht(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else n&&(u.x=au(n));const l=n&&!o&&!i?qd(n,s):He(0),c=a.left+s.scrollLeft-u.x-l.x,d=a.top+s.scrollTop-u.y-l.y;return{x:c,y:d,width:a.width,height:a.height}}function Vi(e){return je(e).position==="static"}function sc(e,t){if(!Ye(e)||je(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ue(e)===r&&(r=r.ownerDocument.body),r}function Ud(e,t){const r=Te(e);if(dn(e))return r;if(!Ye(e)){let n=lt(e);for(;n&&!Gt(n);){if(Ve(n)&&!Vi(n))return n;n=lt(n)}return r}let o=sc(e,t);for(;o&&L3(o)&&Vi(o);)o=sc(o,t);return o&&Gt(o)&&Vi(o)&&!nu(o)?r:o||D3(e)||r}const U3=async function(e){const t=this.getOffsetParent||Ud,r=this.getDimensions,o=await r(e.floating);return{reference:J3(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Q3(e){return je(e).direction==="rtl"}const K3={convertOffsetParentRelativeRectToViewportRelativeRect:k3,getDocumentElement:Ue,getClippingRect:Y3,getOffsetParent:Ud,getElementRects:U3,getClientRects:H3,getDimensions:q3,getScale:Vt,isElement:Ve,isRTL:Q3};function Qd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eh(e,t){let r=null,o;const n=Ue(e);function i(){var s;clearTimeout(o),(s=r)==null||s.disconnect(),r=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const l=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;const m=xr(d),g=xr(n.clientWidth-(c+f)),h=xr(n.clientHeight-(d+p)),b=xr(c),S={rootMargin:-m+"px "+-g+"px "+-h+"px "+-b+"px",threshold:_e(0,ut(1,u))||1};let w=!0;function I(A){const x=A[0].intersectionRatio;if(x!==u){if(!w)return a();x?a(!1,x):o=setTimeout(()=>{a(!1,1e-7)},1e3)}x===1&&!Qd(l,e.getBoundingClientRect())&&a(),w=!1}try{r=new IntersectionObserver(I,{...S,root:n.ownerDocument})}catch{r=new IntersectionObserver(I,S)}r.observe(e)}return a(!0),i}function uu(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,l=iu(e),c=n||i?[...l?or(l):[],...or(t)]:[];c.forEach(b=>{n&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});const d=l&&s?eh(l,r):null;let f=-1,p=null;a&&(p=new ResizeObserver(b=>{let[C]=b;C&&C.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=p)==null||S.observe(t)})),r()}),l&&!u&&p.observe(l),p.observe(t));let m,g=u?ht(e):null;u&&h();function h(){const b=ht(e);g&&!Qd(g,b)&&r(),g=b,m=requestAnimationFrame(h)}return r(),()=>{var b;c.forEach(C=>{n&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),d==null||d(),(b=p)==null||b.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const th=F3,rh=V3,nh=T3,oh=B3,ih=M3,lc=_3,ah=j3,uh=(e,t,r)=>{const o=new Map,n={platform:K3,...r},i={...n.platform,_c:o};return O3(e,t,{...n,platform:i})};var Fr=typeof document<"u"?V.useLayoutEffect:V.useEffect;function zr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!zr(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=r;o--!==0;){const i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!zr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Kd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cc(e,t){const r=Kd(e);return Math.round(t*r)/r}function ji(e){const t=y.useRef(e);return Fr(()=>{t.current=e}),t}function ef(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:n,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=e,[c,d]=y.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=y.useState(o);zr(f,o)||p(o);const[m,g]=y.useState(null),[h,b]=y.useState(null),C=y.useCallback(B=>{B!==A.current&&(A.current=B,g(B))},[]),S=y.useCallback(B=>{B!==x.current&&(x.current=B,b(B))},[]),w=i||m,I=a||h,A=y.useRef(null),x=y.useRef(null),E=y.useRef(c),P=u!=null,_=ji(u),L=ji(n),j=ji(l),O=y.useCallback(()=>{if(!A.current||!x.current)return;const B={placement:t,strategy:r,middleware:f};L.current&&(B.platform=L.current),uh(A.current,x.current,B).then(Z=>{const R={...Z,isPositioned:j.current!==!1};N.current&&!zr(E.current,R)&&(E.current=R,Sa.flushSync(()=>{d(R)}))})},[f,t,r,L,j]);Fr(()=>{l===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(B=>({...B,isPositioned:!1})))},[l]);const N=y.useRef(!1);Fr(()=>(N.current=!0,()=>{N.current=!1}),[]),Fr(()=>{if(w&&(A.current=w),I&&(x.current=I),w&&I){if(_.current)return _.current(w,I,O);O()}},[w,I,O,_,P]);const T=y.useMemo(()=>({reference:A,floating:x,setReference:C,setFloating:S}),[C,S]),M=y.useMemo(()=>({reference:w,floating:I}),[w,I]),G=y.useMemo(()=>{const B={position:r,left:0,top:0};if(!M.floating)return B;const Z=cc(M.floating,c.x),R=cc(M.floating,c.y);return s?{...B,transform:"translate("+Z+"px, "+R+"px)",...Kd(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Z,top:R}},[r,s,M.floating,c.x,c.y]);return y.useMemo(()=>({...c,update:O,refs:T,elements:M,floatingStyles:G}),[c,O,T,M,G])}const sh=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:n}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?lc({element:o.current,padding:n}).fn(r):{}:o?lc({element:o,padding:n}).fn(r):{}}}},tf=(e,t)=>({...th(e),options:[e,t]}),rf=(e,t)=>({...rh(e),options:[e,t]}),nf=(e,t)=>({...ah(e),options:[e,t]}),of=(e,t)=>({...nh(e),options:[e,t]}),af=(e,t)=>({...oh(e),options:[e,t]}),uf=(e,t)=>({...ih(e),options:[e,t]}),sf=(e,t)=>({...sh(e),options:[e,t]});var lh="Arrow",lf=y.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...i}=e;return v.jsx(de.svg,{...i,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});lf.displayName=lh;var ch=lf;function cf(e){const[t,r]=y.useState(void 0);return $e(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var su="Popper",[df,ff]=qe(su),[dh,pf]=df(su),gf=e=>{const{__scopePopper:t,children:r}=e,[o,n]=y.useState(null);return v.jsx(dh,{scope:t,anchor:o,onAnchorChange:n,children:r})};gf.displayName=su;var vf="PopperAnchor",mf=y.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,i=pf(vf,r),a=y.useRef(null),s=Se(t,a);return y.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||a.current)}),o?null:v.jsx(de.div,{...n,ref:s})});mf.displayName=vf;var lu="PopperContent",[fh,ph]=df(lu),hf=y.forwardRef((e,t)=>{var Y,q,U,K,re,W;const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...g}=e,h=pf(lu,r),[b,C]=y.useState(null),S=Se(t,te=>C(te)),[w,I]=y.useState(null),A=cf(w),x=(A==null?void 0:A.width)??0,E=(A==null?void 0:A.height)??0,P=o+(i!=="center"?"-"+i:""),_=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},L=Array.isArray(l)?l:[l],j=L.length>0,O={padding:_,boundary:L.filter(vh),altBoundary:j},{refs:N,floatingStyles:T,placement:M,isPositioned:G,middlewareData:B}=ef({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>uu(...te,{animationFrame:p==="always"}),elements:{reference:h.anchor},middleware:[tf({mainAxis:n+E,alignmentAxis:a}),u&&rf({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?nf():void 0,...O}),u&&of({...O}),af({...O,apply:({elements:te,rects:ae,availableWidth:se,availableHeight:ge})=>{const{width:be,height:me}=ae.reference,oe=te.floating.style;oe.setProperty("--radix-popper-available-width",`${se}px`),oe.setProperty("--radix-popper-available-height",`${ge}px`),oe.setProperty("--radix-popper-anchor-width",`${be}px`),oe.setProperty("--radix-popper-anchor-height",`${me}px`)}}),w&&sf({element:w,padding:s}),mh({arrowWidth:x,arrowHeight:E}),f&&uf({strategy:"referenceHidden",...O})]}),[Z,R]=Cf(M),F=Xe(m);$e(()=>{G&&(F==null||F())},[G,F]);const D=(Y=B.arrow)==null?void 0:Y.x,H=(q=B.arrow)==null?void 0:q.y,k=((U=B.arrow)==null?void 0:U.centerOffset)!==0,[$,X]=y.useState();return $e(()=>{b&&X(window.getComputedStyle(b).zIndex)},[b]),v.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:G?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$,"--radix-popper-transform-origin":[(K=B.transformOrigin)==null?void 0:K.x,(re=B.transformOrigin)==null?void 0:re.y].join(" "),...((W=B.hide)==null?void 0:W.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(fh,{scope:r,placedSide:Z,onArrowChange:I,arrowX:D,arrowY:H,shouldHideArrow:k,children:v.jsx(de.div,{"data-side":Z,"data-align":R,...g,ref:S,style:{...g.style,animation:G?void 0:"none"}})})})});hf.displayName=lu;var bf="PopperArrow",gh={top:"bottom",right:"left",bottom:"top",left:"right"},yf=y.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,i=ph(bf,o),a=gh[i.placedSide];return v.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:v.jsx(ch,{...n,ref:r,style:{...n.style,display:"block"}})})});yf.displayName=bf;function vh(e){return e!==null}var mh=e=>({name:"transformOrigin",options:e,fn(t){var h,b,C;const{placement:r,rects:o,middlewareData:n}=t,a=((h=n.arrow)==null?void 0:h.centerOffset)!==0,s=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[l,c]=Cf(r),d={start:"0%",center:"50%",end:"100%"}[c],f=(((b=n.arrow)==null?void 0:b.x)??0)+s/2,p=(((C=n.arrow)==null?void 0:C.y)??0)+u/2;let m="",g="";return l==="bottom"?(m=a?d:`${f}px`,g=`${-u}px`):l==="top"?(m=a?d:`${f}px`,g=`${o.floating.height+u}px`):l==="right"?(m=`${-u}px`,g=a?d:`${p}px`):l==="left"&&(m=`${o.floating.width+u}px`,g=a?d:`${p}px`),{data:{x:m,y:g}}}});function Cf(e){const[t,r="center"]=e.split("-");return[t,r]}var hh=gf,bh=mf,yh=hf,Ch=yf,xh="Portal",xf=y.forwardRef((e,t)=>{var s;const{container:r,...o}=e,[n,i]=y.useState(!1);$e(()=>i(!0),[]);const a=r||n&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Qe.createPortal(v.jsx(de.div,{...o,ref:t}),a):null});xf.displayName=xh;var wh="VisuallyHidden",wf=y.forwardRef((e,t)=>v.jsx(de.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));wf.displayName=wh;var Ih=wf,[pn,pC]=qe("Tooltip",[ff]),gn=ff(),If="TooltipProvider",Sh=700,da="tooltip.open",[Ah,cu]=pn(If),Sf=e=>{const{__scopeTooltip:t,delayDuration:r=Sh,skipDelayDuration:o=300,disableHoverableContent:n=!1,children:i}=e,[a,s]=y.useState(!0),u=y.useRef(!1),l=y.useRef(0);return y.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),v.jsx(Ah,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:y.useCallback(()=>{window.clearTimeout(l.current),s(!1)},[]),onClose:y.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:y.useCallback(c=>{u.current=c},[]),disableHoverableContent:n,children:i})};Sf.displayName=If;var vn="Tooltip",[Eh,mn]=pn(vn),Af=e=>{const{__scopeTooltip:t,children:r,open:o,defaultOpen:n=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,u=cu(vn,e.__scopeTooltip),l=gn(t),[c,d]=y.useState(null),f=it(),p=y.useRef(0),m=a??u.disableHoverableContent,g=s??u.delayDuration,h=y.useRef(!1),[b=!1,C]=dt({prop:o,defaultProp:n,onChange:x=>{x?(u.onOpen(),document.dispatchEvent(new CustomEvent(da))):u.onClose(),i==null||i(x)}}),S=y.useMemo(()=>b?h.current?"delayed-open":"instant-open":"closed",[b]),w=y.useCallback(()=>{window.clearTimeout(p.current),p.current=0,h.current=!1,C(!0)},[C]),I=y.useCallback(()=>{window.clearTimeout(p.current),p.current=0,C(!1)},[C]),A=y.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{h.current=!0,C(!0),p.current=0},g)},[g,C]);return y.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),v.jsx(hh,{...l,children:v.jsx(Eh,{scope:t,contentId:f,open:b,stateAttribute:S,trigger:c,onTriggerChange:d,onTriggerEnter:y.useCallback(()=>{u.isOpenDelayed?A():w()},[u.isOpenDelayed,A,w]),onTriggerLeave:y.useCallback(()=>{m?I():(window.clearTimeout(p.current),p.current=0)},[I,m]),onOpen:w,onClose:I,disableHoverableContent:m,children:r})})};Af.displayName=vn;var fa="TooltipTrigger",Ef=y.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=mn(fa,r),i=cu(fa,r),a=gn(r),s=y.useRef(null),u=Se(t,s,n.onTriggerChange),l=y.useRef(!1),c=y.useRef(!1),d=y.useCallback(()=>l.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),v.jsx(bh,{asChild:!0,...a,children:v.jsx(de.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...o,ref:u,onPointerMove:ve(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ve(e.onFocus,()=>{l.current||n.onOpen()}),onBlur:ve(e.onBlur,n.onClose),onClick:ve(e.onClick,n.onClose)})})});Ef.displayName=fa;var Rh="TooltipPortal",[gC,Ph]=pn(Rh,{forceMount:void 0}),Wt="TooltipContent",Rf=y.forwardRef((e,t)=>{const r=Ph(Wt,e.__scopeTooltip),{forceMount:o=r.forceMount,side:n="top",...i}=e,a=mn(Wt,e.__scopeTooltip);return v.jsx(Ct,{present:o||a.open,children:a.disableHoverableContent?v.jsx(Pf,{side:n,...i,ref:t}):v.jsx(Oh,{side:n,...i,ref:t})})}),Oh=y.forwardRef((e,t)=>{const r=mn(Wt,e.__scopeTooltip),o=cu(Wt,e.__scopeTooltip),n=y.useRef(null),i=Se(t,n),[a,s]=y.useState(null),{trigger:u,onClose:l}=r,c=n.current,{onPointerInTransitChange:d}=o,f=y.useCallback(()=>{s(null),d(!1)},[d]),p=y.useCallback((m,g)=>{const h=m.currentTarget,b={x:m.clientX,y:m.clientY},C=Mh(b,h.getBoundingClientRect()),S=Nh(b,C),w=Fh(g.getBoundingClientRect()),I=jh([...S,...w]);s(I),d(!0)},[d]);return y.useEffect(()=>()=>f(),[f]),y.useEffect(()=>{if(u&&c){const m=h=>p(h,c),g=h=>p(h,u);return u.addEventListener("pointerleave",m),c.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",m),c.removeEventListener("pointerleave",g)}}},[u,c,p,f]),y.useEffect(()=>{if(a){const m=g=>{const h=g.target,b={x:g.clientX,y:g.clientY},C=(u==null?void 0:u.contains(h))||(c==null?void 0:c.contains(h)),S=!Vh(b,a);C?f():S&&(f(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[u,c,a,l,f]),v.jsx(Pf,{...e,ref:i})}),[_h,Th]=pn(vn,{isInside:!1}),Pf=y.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,u=mn(Wt,r),l=gn(r),{onClose:c}=u;return y.useEffect(()=>(document.addEventListener(da,c),()=>document.removeEventListener(da,c)),[c]),y.useEffect(()=>{if(u.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(u.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,c]),v.jsx(Ka,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:v.jsxs(yh,{"data-state":u.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[v.jsx(s1,{children:o}),v.jsx(_h,{scope:r,isInside:!0,children:v.jsx(Ih,{id:u.contentId,role:"tooltip",children:n||o})})]})})});Rf.displayName=Wt;var Of="TooltipArrow",_f=y.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=gn(r);return Th(Of,r).isInside?null:v.jsx(Ch,{...n,...o,ref:t})});_f.displayName=Of;function Mh(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,o,n,i)){case i:return"left";case n:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Nh(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}function Fh(e){const{top:t,right:r,bottom:o,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:o},{x:n,y:o}]}function Vh(e,t){const{x:r,y:o}=e;let n=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,u=t[i].y,l=t[a].x,c=t[a].y;u>o!=c>o&&r<(l-s)*(o-u)/(c-u)+s&&(n=!n)}return n}function jh(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),Bh(t)}function Bh(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const n=e[o];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))t.pop();else break}t.push(n)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const n=e[o];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))r.pop();else break}r.push(n)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Lh=Sf,Dh=Af,Gh=Ef,Wh=Rf,kh=_f;const pa=({open:e,content:t,children:r,defaultOpen:o,onOpenChange:n,side:i="top"})=>{const a=z.tooltip({});return v.jsx(Lh,{delayDuration:800,skipDelayDuration:500,children:v.jsxs(Dh,{open:e,defaultOpen:o,onOpenChange:n,children:[v.jsx(Gh,{children:r}),v.jsxs(Wh,{side:i,className:a.content,children:[t,v.jsx(kh,{className:a.arrow})]})]})})},Hh=({size:e,side:t,apps:r=[],showItems:o=4,square:n,rawCounter:i,inline:a})=>{var l,c;const s=`+${i==null?void 0:i.toLocaleString("pt-BR")}`,u=z.avatarGroup({square:n});return v.jsxs("div",{className:u.container,children:[(l=r==null?void 0:r.filter((d,f)=>f<o))==null?void 0:l.map((d,f)=>v.jsx("div",{className:u.avatarStyle,children:v.jsx(pa,{side:t,content:d&&(d==null?void 0:d.name),children:v.jsx(Wd,{source:d==null?void 0:d.icon,size:e,shape:n?"square":"default",inline:a})})},f)),i&&v.jsx("div",{className:u.othersStyle,children:v.jsx(Ee,{size:"small",color:"muted",fontWeight:"bold",children:s})}),!i&&r.length>o&&v.jsx("div",{className:u.othersStyle,children:v.jsx(pa,{side:t,content:(c=r==null?void 0:r.filter((d,f)=>f>=o))==null?void 0:c.map((d,f)=>v.jsx(Ee,{size:"micro",textAlign:"center",color:"inverse",collapsed:!0,children:d&&(d==null?void 0:d.name)},d?d==null?void 0:d.name:f)),children:v.jsx(Ee,{size:"small",color:"muted",fontWeight:"bold",children:`+${r.length-o}`})})})]})};function Tf(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function Yr(e,t){return Yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Yr(e,t)}function Zh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yr(e,t)}const dc={disabled:!1};var Xh=process.env.NODE_ENV!=="production"?ne.oneOfType([ne.number,ne.shape({enter:ne.number,exit:ne.number,appear:ne.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ne.oneOfType([ne.string,ne.shape({enter:ne.string,exit:ne.string,active:ne.string}),ne.shape({enter:ne.string,enterDone:ne.string,enterActive:ne.string,exit:ne.string,exitDone:ne.string,exitActive:ne.string})]);const Mf=V.createContext(null);var $h=function(t){return t.scrollTop},Qt="unmounted",gt="exited",vt="entering",Mt="entered",ga="exiting",Be=function(e){Zh(t,e);function t(o,n){var i;i=e.call(this,o,n)||this;var a=n,s=a&&!a.isMounting?o.enter:o.appear,u;return i.appearStatus=null,o.in?s?(u=gt,i.appearStatus=vt):u=Mt:o.unmountOnExit||o.mountOnEnter?u=Qt:u=gt,i.state={status:u},i.nextCallback=null,i}t.getDerivedStateFromProps=function(n,i){var a=n.in;return a&&i.status===Qt?{status:gt}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(n){var i=null;if(n!==this.props){var a=this.state.status;this.props.in?a!==vt&&a!==Mt&&(i=vt):(a===vt||a===Mt)&&(i=ga)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var n=this.props.timeout,i,a,s;return i=a=s=n,n!=null&&typeof n!="number"&&(i=n.exit,a=n.enter,s=n.appear!==void 0?n.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(n,i){if(n===void 0&&(n=!1),i!==null)if(this.cancelNextCallback(),i===vt){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Qe.findDOMNode(this);a&&$h(a)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gt&&this.setState({status:Qt})},r.performEnter=function(n){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:n,u=this.props.nodeRef?[s]:[Qe.findDOMNode(this),s],l=u[0],c=u[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!n&&!a||dc.disabled){this.safeSetState({status:Mt},function(){i.props.onEntered(l)});return}this.props.onEnter(l,c),this.safeSetState({status:vt},function(){i.props.onEntering(l,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Mt},function(){i.props.onEntered(l,c)})})})},r.performExit=function(){var n=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Qe.findDOMNode(this);if(!i||dc.disabled){this.safeSetState({status:gt},function(){n.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ga},function(){n.props.onExiting(s),n.onTransitionEnd(a.exit,function(){n.safeSetState({status:gt},function(){n.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(n,i){i=this.setNextCallback(i),this.setState(n,i)},r.setNextCallback=function(n){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,n(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(n,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Qe.findDOMNode(this),s=n==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],l=u[0],c=u[1];this.props.addEndListener(l,c)}n!=null&&setTimeout(this.nextCallback,n)},r.render=function(){var n=this.state.status;if(n===Qt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=Tf(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return V.createElement(Mf.Provider,{value:null},typeof a=="function"?a(n,s):V.cloneElement(V.Children.only(a),s))},t}(V.Component);Be.contextType=Mf;Be.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ne.shape({current:typeof Element>"u"?ne.any:function(e,t,r,o,n,i){var a=e[t];return ne.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,o,n,i)}}),children:ne.oneOfType([ne.func.isRequired,ne.element.isRequired]).isRequired,in:ne.bool,mountOnEnter:ne.bool,unmountOnExit:ne.bool,appear:ne.bool,enter:ne.bool,exit:ne.bool,timeout:function(t){var r=Xh;t.addEndListener||(r=r.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),i=1;i<o;i++)n[i-1]=arguments[i];return r.apply(void 0,[t].concat(n))},addEndListener:ne.func,onEnter:ne.func,onEntering:ne.func,onEntered:ne.func,onExit:ne.func,onExiting:ne.func,onExited:ne.func}:{};function Et(){}Be.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Et,onEntering:Et,onEntered:Et,onExit:Et,onExiting:Et,onExited:Et};Be.UNMOUNTED=Qt;Be.EXITED=gt;Be.ENTERING=vt;Be.ENTERED=Mt;Be.EXITING=ga;const zh={name:"default",value:0},Yh=V.createContext({breakpoint:zh,isGreaterThan:()=>!1,isLessThan:()=>!1}),Nf=Yh.Consumer,Ff={small:640,large:1024,medium:1127,xlarge:1280},Vf=(e,t)=>{const r=typeof e=="string"?Ff[e]:e;return t!==null&&t<r},jf=(e,t)=>{const r=typeof e=="string"?Ff[e]:e;return t===null||t>=r},Bf=({showFor:e,hideFor:t,unmount:r=!1,children:o})=>{const n=i=>e&&Vf(e,i.breakpoint.value)||t&&jf(t,i.breakpoint.value)?r?null:v.jsx("div",{style:{display:"none"},children:o}):o;return v.jsx(Nf,{children:i=>n(i)})},du=({position:e,showFor:t,hideFor:r,global:o,visible:n,onClick:i,onClose:a,primary:s})=>{const u=V.useRef(null);return v.jsx(Be,{in:n,timeout:300,mountOnEnter:!0,unmountOnExit:!0,nodeRef:u,onEnter:()=>{u.current&&(u.current.scrollTop=0)},onExited:()=>a&&a(),children:l=>v.jsx(Bf,{showFor:t,hideFor:r,children:v.jsx("button",{ref:u,type:"button",className:z.blanketRecipe({position:e,global:o,primary:s,entering:l==="entering"||l==="entered",exiting:l==="exiting"||l==="exited"}),onClick:i,"aria-label":"Blanket"})})})},qh=({border:e,padding:t,children:r,relative:o,direction:n,alignItems:i,fullHeight:a,background:s,justifyContent:u,fullWidth:l,...c})=>v.jsx("div",{...c,className:z.block({border:e,padding:t,relative:o,direction:n,alignItems:i,fullHeight:a,background:s,justifyContent:u,fullWidth:l}),children:r}),Jh=({size:e,segments:t,showItems:r=4})=>{const o=z.boxGroupSlot({size:e}),n=(s,u,l)=>v.jsxs("div",{className:o.subItens,children:[v.jsx("div",{className:o.boxStyle,children:u.name}),v.jsx("div",{className:o.boxStyle,children:s[l+1].name})]},l),i=(s,u)=>v.jsx("div",{className:o.subItens,children:v.jsx("div",{className:z.boxGroupSlot({size:e}).boxStyle,children:s.name})},u),a=()=>{const s=t.filter((u,l)=>l<r);return s.map((u,l)=>l+1<s.length&&l%2===0?n(s,u,l):s.length%2!==0&&l===s.length-1?i(u,l):null)};return v.jsxs("div",{className:o.container,children:[v.jsx("div",{className:o.rowStyle,children:a()}),t.length>r&&v.jsx("div",{className:o.others,children:v.jsx(pa,{side:"bottom",content:t.filter((s,u)=>u>=r).map((s,u)=>v.jsx(Ee,{collapsed:!0,size:"micro",color:"inverse",textAlign:"center",children:s&&s.name},s?s.name:u)),children:v.jsx(Ee,{size:"small",color:"gray",fontWeight:"bold",children:`+${(t==null?void 0:t.length)-r}`})})})]})},Uh=({className:e})=>v.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx("g",{clipPath:"url(#clip0_7281_18876)",children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.83785 3.08736C5.06565 2.85955 5.435 2.85955 5.6628 3.08736L9.1628 6.58736C9.39061 6.81516 9.39061 7.18451 9.1628 7.41232L5.6628 10.9123C5.435 11.1401 5.06565 11.1401 4.83785 10.9123C4.61004 10.6845 4.61004 10.3152 4.83785 10.0874L7.92537 6.99984L4.83785 3.91232C4.61004 3.68451 4.61004 3.31516 4.83785 3.08736Z",fill:"#A6A6A6"})}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_7281_18876",children:v.jsx("rect",{width:"14",height:"14",rx:"5",fill:"white"})})})]}),Qh=({crumbs:e})=>{if(!e||e.length<=1)return null;const t=z.breadcrumbSlot({});return v.jsx("nav",{className:t.container,"aria-label":"Breadcrumb",children:e.map(({name:r,onClick:o},n)=>{const i=n===e.length-1,a=z.breadcrumbSlot({current:i}).item;return v.jsxs(V.Fragment,{children:[i?v.jsx("span",{className:a,children:r}):v.jsx("button",{className:a,onClick:()=>o&&o(),children:r}),!i&&v.jsx(Uh,{className:t.separator})]},`${r}-${n}`)})})},Kh=z.css({display:"flex",alignItems:"center",justifyContent:"center"}),fu=({color:e,second:t,size:r,third:o})=>v.jsxs("div",{className:Kh,children:[v.jsx("div",{className:z.loader({color:e,size:r,second:t,third:o})}),v.jsx("div",{className:z.loader({color:e,size:r,second:t,third:o})}),v.jsx("div",{className:z.loader({color:e,size:r,second:t,third:o})})]}),hn=V.forwardRef(({size:e,tall:t,block:r,shape:o,short:n,style:i,type:a,compact:s,grouped:u,loading:l,spacing:c,shimmer:d,children:f,leftIcon:p,disabled:m,fullWidth:g,rightIcon:h,underlined:b,onBlur:C,onClick:S,title:w,...I},A)=>{const x={ghost:"primary",solid:"white",mono:"mono",danger:"white",default:"primary"},E=i?x[i]:x.default;return v.jsxs("button",{ref:A,type:a,disabled:m,onBlur:C,title:w,onClick:S,className:z.button({size:e,tall:t,block:r,shape:o,short:n,style:i,compact:s,grouped:u,loading:l,spacing:c,fullWidth:g,underlined:b,leftIcon:!!p,rightIcon:!!h}).buttonStyle,...I,children:[l&&d&&v.jsx("div",{className:z.button({}).wrapperShimmer,children:v.jsx(Ne,{height:"100%",width:"100%"})}),v.jsxs("div",{className:z.button({leftIcon:!!p,rightIcon:!!h,contentLoading:!!l,contentFullWidth:!!g}).contentStyle,children:[p,f,h]}),l&&v.jsx("div",{className:z.button({}).buttonLoader,children:!d&&v.jsx(fu,{size:"small",color:E})})]})});hn.displayName="Button";const e4=({fit:e,size:t,auto:r,grow:o,style:n,shrink:i,scroll:a,children:s,relative:u,largeSize:l,noSpacing:c,mediumSize:d,xlargeSize:f,fitOnLarge:p,fullHeight:m,fitOnMedium:g,fitOnXlarge:h,autoOnLarge:b,growOnLarge:C,microSpacing:S,smallSpacing:w,largeSpacing:I,autoOnMedium:A,autoOnXlarge:x,growOnMedium:E,growOnXlarge:P,shrinkOnLarge:_,shrinkOnMedium:L,shrinkOnXlarge:j,verticalSpacing:O,fullHeightOnLarge:N,fullHeightOnMedium:T,fullHeightOnXlarge:M,microVerticalSpacing:G,smallVerticalSpacing:B,largeVerticalSpacing:Z})=>{const R=f||l||d||t,F=z.cx(z.cell({fit:e,auto:r,grow:o,scroll:a,shrink:i,relative:u,noSpacing:c,fitOnLarge:p,fullHeight:m,fitOnMedium:g,fitOnXlarge:h,autoOnLarge:b,growOnLarge:C,microSpacing:S,largeSpacing:I,autoOnMedium:A,autoOnXlarge:x,growOnMedium:E,growOnXlarge:P,shrinkOnLarge:_,shrinkOnMedium:L,shrinkOnXlarge:j,verticalSpacing:O,fullHeightOnLarge:N,fullHeightOnMedium:T,fullHeightOnXlarge:M,microVerticalSpacing:G,smallVerticalSpacing:B,largeVerticalSpacing:Z,smallPadding:w}),z.css({small:t??R,large:l??R,medium:d??R,xlarge:f??R}));return v.jsx("div",{style:n,className:F,children:s})},Lf=({children:e,htmlFor:t,inline:r,table:o})=>{const n=z.labelSlot({inline:r,table:o});return v.jsx("label",{className:n.labelStyles,htmlFor:t,children:o?v.jsx("div",{className:n.tableRow,children:e}):e})},t4=({checked:e,defaultChecked:t,disabled:r,id:o,invalid:n,name:i,onBlur:a,onChange:s,onFocus:u})=>{const l=z.checkBoxSlot({});return v.jsx("div",{className:l.containerCheckOnly,children:v.jsxs("div",{className:z.checkBoxSlot({disabled:r,invalid:n}).checkboxStyle,children:[v.jsx("input",{className:l.checkboxInput,type:"checkbox",id:o,name:i,checked:e,defaultChecked:t,disabled:r,"aria-invalid":n,onBlur:a,onChange:s,onFocus:u}),v.jsx("div",{className:l.markContainer,"data-fake-checkbox":!n&&!r,children:e&&v.jsx("div",{className:l.checkMark,children:v.jsx("svg",{className:l.checkMarkIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 54.19 42.05",children:v.jsx("path",{d:"M48,0a6,6,0,0,0-4.12,1.81c-9.36,9.38-16.58,17.25-25.16,26L10,20.47a6,6,0,0,0-8,8.92l.28.23,13,11a6,6,0,0,0,8.13-.34c10.79-10.81,18.46-19.43,29-30A6,6,0,0,0,48,0Z"})})})})]})})},r4=({id:e,name:t,label:r,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:s,onChange:u,subtitle:l,pullRight:c,boldLabel:d,smallLabel:f,inlineText:p})=>{const m=z.checkBoxSlot({pullRight:c,spacing:!c,marginRight:c,columnTextBreak:!p,columnTextNoBreak:p});return v.jsxs(Lf,{htmlFor:e,children:[v.jsx("div",{className:m.columnStyles,children:v.jsx(t4,{id:e,name:t,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:s,onChange:u})}),r&&v.jsxs("div",{className:m.columnStyles,children:[v.jsx("div",{className:m.checkboxLabel,children:typeof r=="string"?v.jsx(Ee,{disabled:s,size:f?"small":"regular",fontWeight:d?"bold":"semibold",children:r}):r}),l&&v.jsx("div",{className:m.subtitle,children:v.jsx(Ee,{size:"micro",color:"gray",children:l})})]})]})},n4=({children:e,disabled:t,inline:r,inverse:o,onClick:n,rectangular:i})=>r?v.jsx("span",{className:z.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e}):v.jsx("div",{className:z.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e});var Bi="focusScope.autoFocusOnMount",Li="focusScope.autoFocusOnUnmount",fc={bubbles:!1,cancelable:!0},o4="FocusScope",Df=y.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...a}=e,[s,u]=y.useState(null),l=Xe(n),c=Xe(i),d=y.useRef(null),f=Se(t,g=>u(g)),p=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(o){let g=function(S){if(p.paused||!s)return;const w=S.target;s.contains(w)?d.current=w:nt(d.current,{select:!0})},h=function(S){if(p.paused||!s)return;const w=S.relatedTarget;w!==null&&(s.contains(w)||nt(d.current,{select:!0}))},b=function(S){if(document.activeElement===document.body)for(const I of S)I.removedNodes.length>0&&nt(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",h);const C=new MutationObserver(b);return s&&C.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",h),C.disconnect()}}},[o,s,p.paused]),y.useEffect(()=>{if(s){gc.add(p);const g=document.activeElement;if(!s.contains(g)){const b=new CustomEvent(Bi,fc);s.addEventListener(Bi,l),s.dispatchEvent(b),b.defaultPrevented||(i4(c4(Gf(s)),{select:!0}),document.activeElement===g&&nt(s))}return()=>{s.removeEventListener(Bi,l),setTimeout(()=>{const b=new CustomEvent(Li,fc);s.addEventListener(Li,c),s.dispatchEvent(b),b.defaultPrevented||nt(g??document.body,{select:!0}),s.removeEventListener(Li,c),gc.remove(p)},0)}}},[s,l,c,p]);const m=y.useCallback(g=>{if(!r&&!o||p.paused)return;const h=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(h&&b){const C=g.currentTarget,[S,w]=a4(C);S&&w?!g.shiftKey&&b===w?(g.preventDefault(),r&&nt(S,{select:!0})):g.shiftKey&&b===S&&(g.preventDefault(),r&&nt(w,{select:!0})):b===C&&g.preventDefault()}},[r,o,p.paused]);return v.jsx(de.div,{tabIndex:-1,...a,ref:f,onKeyDown:m})});Df.displayName=o4;function i4(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(nt(o,{select:t}),document.activeElement!==r)return}function a4(e){const t=Gf(e),r=pc(t,e),o=pc(t.reverse(),e);return[r,o]}function Gf(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function pc(e,t){for(const r of e)if(!u4(r,{upTo:t}))return r}function u4(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function s4(e){return e instanceof HTMLInputElement&&"select"in e}function nt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&s4(e)&&t&&e.select()}}var gc=l4();function l4(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=vc(e,t),e.unshift(t)},remove(t){var r;e=vc(e,t),(r=e[0])==null||r.resume()}}}function vc(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function c4(e){return e.filter(t=>t.tagName!=="A")}var Di=0;function d4(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??mc()),document.body.insertAdjacentElement("beforeend",e[1]??mc()),Di++,()=>{Di===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Di--}},[])}function mc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ke=function(){return ke=Object.assign||function(t){for(var r,o=1,n=arguments.length;o<n;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ke.apply(this,arguments)};function Wf(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}function f4(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var Vr="right-scroll-bar-position",jr="width-before-scroll-bar",p4="with-scroll-bars-hidden",g4="--removed-body-scroll-bar-size";function Gi(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function v4(e,t){var r=V.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(o){var n=r.value;n!==o&&(r.value=o,r.callback(o,n))}}}})[0];return r.callback=t,r.facade}var m4=typeof window<"u"?y.useLayoutEffect:y.useEffect,hc=new WeakMap;function h4(e,t){var r=v4(null,function(o){return e.forEach(function(n){return Gi(n,o)})});return m4(function(){var o=hc.get(r);if(o){var n=new Set(o),i=new Set(e),a=r.current;n.forEach(function(s){i.has(s)||Gi(s,null)}),i.forEach(function(s){n.has(s)||Gi(s,a)})}hc.set(r,e)},[e]),r}function b4(e){return e}function y4(e,t){t===void 0&&(t=b4);var r=[],o=!1,n={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,o);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(o=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){o=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var u=function(){var c=a;a=[],c.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),r={push:function(c){a.push(c),l()},filter:function(c){return a=a.filter(c),r}}}};return n}function C4(e){e===void 0&&(e={});var t=y4(null);return t.options=ke({async:!0,ssr:!1},e),t}var kf=function(e){var t=e.sideCar,r=Wf(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return y.createElement(o,ke({},r))};kf.isSideCarExport=!0;function x4(e,t){return e.useMedium(t),kf}var Hf=C4(),Wi=function(){},bn=y.forwardRef(function(e,t){var r=y.useRef(null),o=y.useState({onScrollCapture:Wi,onWheelCapture:Wi,onTouchMoveCapture:Wi}),n=o[0],i=o[1],a=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,g=e.allowPinchZoom,h=e.as,b=h===void 0?"div":h,C=e.gapMode,S=Wf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=f,I=h4([r,t]),A=ke(ke({},S),n);return y.createElement(y.Fragment,null,c&&y.createElement(w,{sideCar:Hf,removeScrollBar:l,shards:d,noIsolation:p,inert:m,setCallbacks:i,allowPinchZoom:!!g,lockRef:r,gapMode:C}),a?y.cloneElement(y.Children.only(s),ke(ke({},A),{ref:I})):y.createElement(b,ke({},A,{className:u,ref:I}),s))});bn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};bn.classNames={fullWidth:jr,zeroRight:Vr};var w4=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function I4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=w4();return t&&e.setAttribute("nonce",t),e}function S4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function A4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var E4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=I4())&&(S4(t,r),A4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R4=function(){var e=E4();return function(t,r){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Zf=function(){var e=R4(),t=function(r){var o=r.styles,n=r.dynamic;return e(o,n),null};return t},P4={left:0,top:0,right:0,gap:0},ki=function(e){return parseInt(e||"",10)||0},O4=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[ki(r),ki(o),ki(n)]},_4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return P4;var t=O4(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-r+t[2]-t[0])}},T4=Zf(),jt="data-scroll-locked",M4=function(e,t,r,o){var n=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
41
41
  .`.concat(p4,` {
42
42
  overflow: hidden `).concat(o,`;
43
43
  padding-right: `).concat(s,"px ").concat(o,`;
@@ -81,9 +81,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
81
81
 
82
82
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
83
83
 
84
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return y.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},nb="DialogDescriptionWarning",ob=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${d2(nb).contentName}}.`;return y.useEffect(()=>{var i;const n=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},ib=Uf,ab=Kf,ub=t2,sb=r2,lb=n2,cb=i2,db=u2,fb=l2;const pb=({size:e,shape:t,title:r,padding:o,children:n,fullHeight:i,triggerOpen:a,removeOverlay:s,removeCloseButton:u})=>{const l=z.dialog({fullHeight:i,padding:o,shape:t,size:e});return v.jsxs(ib,{children:[v.jsx(ab,{asChild:!0,children:v.jsx("div",{children:a})}),v.jsxs(ub,{children:[!s&&v.jsx(sb,{className:l.overlay}),v.jsxs(lb,{className:l.content,children:[v.jsx(cb,{className:l.title,children:v.jsx(Ee,{size:"regular",color:"gray",children:r})}),!u&&v.jsx(fb,{asChild:!0,className:l.close,children:v.jsx("div",{children:v.jsx(ze,{name:"close",color:"mono",size:"default"})})}),v.jsx(db,{className:l.description,children:n})]})]})]})},f2=({children:e,disabled:t,loading:r,icon:o,variant:n="primary",soft:i,square:a,shimmer:s,size:u="medium",name:l,colorIcon:c,...d})=>v.jsxs("button",{...d,className:z.flatButtonSlot({variant:n,soft:i,square:a,size:u,loading:r,disabled:t}).buttonFlat,type:"button",children:[r&&s&&v.jsx("div",{className:z.flatButtonSlot().shimmerButton,children:v.jsx(Ne,{height:"100%",width:"100%"})}),v.jsxs("div",{className:z.flatButtonSlot({loading:r}).contentButton,children:[typeof l=="string"?v.jsx(ze,{name:l,size:u,color:c}):o,e]}),r&&v.jsx("div",{className:z.flatButtonSlot().loaderButton,children:!s&&v.jsx(fu,{size:"small"})})]}),gb=({size:e="small",side:t="right",fixed:r,border:o,active:n,global:i,onClose:a,children:s,elevated:u,onClosed:l,removeBlanket:c,primaryBlanket:d,fixedCloseButton:f,removeCloseButton:p,closeOnClickOutside:m})=>{const g=V.useRef(null);return v.jsxs(V.Fragment,{children:[v.jsx("div",{className:z.drawerSlot({fixed:r,absolute:!r}).container,children:v.jsx(Be,{in:n,timeout:250,nodeRef:g,onEnter:()=>{g.current&&(g.current.scrollTop=0)},onExited:()=>l&&l(),children:h=>v.jsxs("div",{className:z.drawerSlot({elevated:u&&h!=="exited",size:e,side:t,border:o,entering:h==="entering"||h==="entered",exiting:t==="right"&&(h==="exiting"||h==="exited"),exitingLeft:t!=="right"&&(h==="exiting"||h==="exited")}).drawerStyle,children:[!p&&v.jsx("div",{className:z.drawerSlot({fixed:f}).closeButton,children:v.jsx(f2,{colorIcon:"mono",name:"close",size:"large",onClick:()=>a&&a()})}),s]})})}),!c&&v.jsx(du,{global:i,primary:d,visible:n,onClick:()=>a&&m&&a()})]})},vb=({option:e,handleSelectOption:t})=>v.jsx("li",{style:{listStyle:"none"},children:v.jsx(hn,{short:!0,block:!0,compact:!0,style:"ghost",spacing:"noSpacing",onClick:t,children:e==null?void 0:e.label})}),wc=({options:e,handleSelectOption:t})=>v.jsx("ul",{className:z.dropdown().dropdownList,children:e==null?void 0:e.map(r=>v.jsx(vb,{option:r,handleSelectOption:()=>t(r)},r.value))}),Ic=({left:e,side:t,combo:r,bottom:o,isOpen:n,children:i,revertTop:a,mountOnEnter:s,insideAButton:u,unmountOnExit:l,onClickOutside:c,dropdownCustomStyles:d})=>{const f=V.useRef(null);return v.jsx(_d,{onOutsideClick:()=>c&&c(),children:v.jsx(Be,{in:n,timeout:300,mountOnEnter:s,unmountOnExit:l,nodeRef:f,onEnter:()=>{f.current&&(f.current.scrollTop=0)},children:p=>v.jsx("div",{ref:f,style:d,className:z.dropdown({left:e&&!t,revertTop:a,right:!e&&!t,leftSide:e&&t,rightSide:!e&&t,sideTop:t&&!o,sideBottom:t&&o,insideAButton:!r&&u,exiting:p==="exiting"||p==="exited",entering:p==="entering"||p==="entered"}).dropdownMenu,children:i})})})},p2=({soft:e,mono:t,ghost:r,secondary:o,transparent:n})=>e||r||n?"primary":o?"secondary":t?"mono":"secondary",mb=({error:e,ghost:t,mono:r,soft:o,shade:n})=>e?"error":t?"ghost":r?"mono":o?"soft":n?"shade":"ghost",hb=({noBorder:e,rectangular:t})=>e?"noBorder":t?"rectangular":"regular",bb=({small:e,large:t})=>e?"small":t?"large":"medium",yb=({icon:e,tall:t,mono:r,soft:o,only:n,label:i,block:a,short:s,large:u,small:l,ghost:c,shade:d,error:f,onClick:p,loading:m,shimmer:g,compact:h,iconName:b,disabled:C,noBorder:S,fullWidth:w,secondary:I,removeIcon:A,rectangular:x,transparent:E})=>v.jsxs(hn,{tall:t,block:a,short:s,loading:m,shimmer:g,compact:h,onClick:p,spacing:"noSpacing",fullWidth:w,disabled:C||m,size:bb({large:u,small:l}),shape:hb({noBorder:S,rectangular:x}),style:mb({ghost:c,mono:r,shade:d,soft:o,error:f}),children:[v.jsx("div",{className:z.dropdown({only:n}).labelStyle,children:i}),!A&&e&&(typeof i=="string"?v.jsx(ze,{noPadding:!0,size:"small",name:b,color:"secondary"}):e),!e&&!A&&v.jsx(ze,{name:"arrow-drop-down",color:p2({soft:o,mono:r,ghost:c,secondary:I,transparent:E})})]}),Cb=({only:e,left:t,icon:r,mono:o,side:n,soft:i,tall:a,label:s,block:u,combo:l,shade:c,short:d,small:f,large:p,button:m,bottom:g,options:h,loading:b,compact:C,ghost:S,shimmer:w,children:I,relative:A,disabled:x,iconName:E,noBorder:P,container:_,fullWidth:L,noSpacing:j,secondary:O,revertTop:N,removeIcon:T,rectangular:M,transparent:G,onToggleMenu:B,mountOnEnter:Z,closeOnSelect:R,unmountOnExit:F,error:D=!1,onSelectOption:H,buttonAbsolute:k,dropdownCustomStyles:X,isOpen:$})=>{const[Y,q]=V.useState($),[U,K]=V.useState(!1);V.useEffect(()=>{$&&q($)},[$]),V.useEffect(()=>{B&&B(Y)},[Y,B,$]);const re=()=>{q(U&&!Y?!1:!Y)},W=()=>{q(!1),K(!!Y)},te=ae=>{H&&H(ae),R&&re()};return v.jsxs(v.Fragment,{children:[_&&v.jsxs("div",{className:z.dropdown({noSpacing:j,relative:A}).dropdownContainer,children:[v.jsx("div",{onClick:()=>re(),children:I}),v.jsx(Ic,{left:t,side:n,isOpen:Y,bottom:g,revertTop:N,mountOnEnter:Z,unmountOnExit:F,dropdownCustomStyles:X,onClickOutside:()=>W(),children:h?v.jsx(wc,{handleSelectOption:te,options:h}):v.jsx(Ee,{size:"micro",children:"Sem opções"})})]}),!_&&v.jsxs("div",{className:z.dropdown({asAButton:m,noSpacing:j,relative:!l&&l&&(_||m||e||A),absolute:k}).dropdownContainer,children:[m?v.jsx(yb,{icon:r,tall:a,mono:o,soft:i,only:e,label:s,block:u,short:d,large:p,small:f,ghost:S,shade:c,error:D,loading:b,shimmer:w,compact:C,iconName:E,disabled:x,noBorder:P,fullWidth:L,secondary:O,removeIcon:T,rectangular:M,transparent:G,onClick:()=>re()}):v.jsx("button",{className:z.dropdown({only:e}).dropdownStyles,type:"button",onClick:re,children:v.jsx(ze,{name:"arrow-drop-down",color:p2({soft:i,mono:o,ghost:S,secondary:O,transparent:G}),size:"default"})}),v.jsxs(Ic,{left:t,side:n,combo:l,isOpen:Y,bottom:g,revertTop:N,insideAButton:m,mountOnEnter:Z,unmountOnExit:F,dropdownCustomStyles:X,onClickOutside:()=>W(),children:[I,!I&&v.jsx(v.Fragment,{children:h?v.jsx(wc,{handleSelectOption:te,options:h}):v.jsx(Ee,{size:"micro",children:"Sem opções"})})]})]})]})},g2=({id:e,gap:t,spacing:r,children:o,flexWrap:n,alignItems:i,fullHeight:a,flexDirection:s,justifyContent:u})=>{const l=z.gridSlot({gap:t,spacing:r,flexWrap:n,alignItems:i,fullHeight:a,flexDirection:s,justifyContent:u});return v.jsx("div",{className:l.root,id:e,children:v.jsx("div",{className:l.content,children:o})})},xb=({flex:e,size:t,fixed:r,style:o,global:n,onClose:i,visible:a,children:s,noPadding:u,fullHeight:l,fullScreen:c,centralize:d,removeBlanket:f,onClickBlanket:p,removeCloseButton:m})=>{const{closeButton:g,container:h,modalStyles:b}=z.modalSlot({centralize:d,fixed:r,flex:e,fullHeight:l,fullScreen:c,noPadding:u,size:t});return a?Qe.createPortal(v.jsxs("div",{className:h,children:[v.jsxs("div",{className:b,style:o,children:[!m&&v.jsx("div",{className:g,style:o}),s]}),(f||!c)&&v.jsx(du,{global:n,visible:!0,onClick:()=>p?p():i&&i()})]}),document.body):null},Kt="...",Er=(e,t)=>{const r=t-e+1;return Array.from({length:r},(o,n)=>n+e)},wb=({pageSize:e,siblingCount:t=1,currentPage:r})=>V.useMemo(()=>{const n=e;if(t+5>=n)return Er(1,n);const a=Math.max(r-t,1),s=Math.min(r+t,n),u=a>2,l=s<n-2,c=1,d=n;if(!u&&l){const f=3+2*t;return[...Er(1,f),Kt,n]}if(u&&!l){const f=3+2*t,p=Er(n-f+1,n);return[c,Kt,...p]}if(u&&l){const f=Er(a,s);return[c,Kt,...f,Kt,d]}return[]},[e,t,r]),Ib=({onPageChange:e,totalCount:t,currentPage:r,pageSize:o,siblingCount:n=1})=>{const i=wb({currentPage:r,siblingCount:n,pageSize:o});if(r===0||(i==null?void 0:i.length)<2)return null;const a=()=>{e(r+1)},s=()=>{e(r-1)},u=i[i.length-1],l=z.paginationSlot({});return v.jsxs("ul",{className:l.container,children:[v.jsx("li",{className:z.paginationSlot({disabled:r===1}).item,onClick:s,children:v.jsx("div",{className:z.paginationSlot({direction:"left"}).arrow})}),i==null?void 0:i.map((c,d)=>c===Kt?v.jsx("li",{className:z.paginationSlot({dots:!0}).item,children:"…"},`dots-${d}`):v.jsx("li",{className:z.paginationSlot({selected:c===r}).item,onClick:()=>e(Number(c)),children:c},c)),v.jsx("li",{className:z.paginationSlot({disabled:r===u}).item,onClick:a,children:v.jsx("div",{className:z.paginationSlot({direction:"right",disabled:r===u}).arrow})})]})};function at(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function Sc(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function v2(...e){return t=>{let r=!1;const o=e.map(n=>{const i=Sc(n,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let n=0;n<o.length;n++){const i=o[n];typeof i=="function"?i():Sc(e[n],null)}}}}function ft(...e){return y.useCallback(v2(...e),e)}function m2(e,t=[]){let r=[];function o(i,a){const s=y.createContext(a),u=r.length;r=[...r,a];const l=d=>{var b;const{scope:f,children:p,...m}=d,g=((b=f==null?void 0:f[e])==null?void 0:b[u])||s,h=y.useMemo(()=>m,Object.values(m));return v.jsx(g.Provider,{value:h,children:p})};l.displayName=i+"Provider";function c(d,f){var g;const p=((g=f==null?void 0:f[e])==null?void 0:g[u])||s,m=y.useContext(p);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,c]}const n=()=>{const i=r.map(a=>y.createContext(a));return function(s){const u=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return n.scopeName=e,[o,Sb(n,...t)]}function Sb(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(i){const a=o.reduce((s,{useScope:u,scopeName:l})=>{const d=u(i)[`__scope${l}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function h2(e){const t=Ab(e),r=y.forwardRef((o,n)=>{const{children:i,...a}=o,s=y.Children.toArray(i),u=s.find(Rb);if(u){const l=u.props.children,c=s.map(d=>d===u?y.Children.count(l)>1?y.Children.only(null):y.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:n,children:y.isValidElement(l)?y.cloneElement(l,void 0,c):null})}return v.jsx(t,{...a,ref:n,children:i})});return r.displayName=`${e}.Slot`,r}function Ab(e){const t=y.forwardRef((r,o)=>{const{children:n,...i}=r;if(y.isValidElement(n)){const a=Ob(n),s=Pb(i,n.props);return n.type!==y.Fragment&&(s.ref=o?v2(o,a):a),y.cloneElement(n,s)}return y.Children.count(n)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Eb=Symbol("radix.slottable");function Rb(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Eb}function Pb(e,t){const r={...t};for(const o in t){const n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...s)=>{const u=i(...s);return n(...s),u}:n&&(r[o]=n):o==="style"?r[o]={...n,...i}:o==="className"&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}function Ob(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var _b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=_b.reduce((e,t)=>{const r=h2(`Primitive.${t}`),o=y.forwardRef((n,i)=>{const{asChild:a,...s}=n,u=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(u,{...s,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Tb(e,t){e&&Sa.flushSync(()=>e.dispatchEvent(t))}function kt(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...r)=>{var o;return(o=t.current)==null?void 0:o.call(t,...r)},[])}function Mb(e,t=globalThis==null?void 0:globalThis.document){const r=kt(e);y.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var Nb="DismissableLayer",ma="dismissableLayer.update",Fb="dismissableLayer.pointerDownOutside",Vb="dismissableLayer.focusOutside",Ac,b2=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y2=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...u}=e,l=y.useContext(b2),[c,d]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=y.useState({}),m=ft(t,x=>d(x)),g=Array.from(l.layers),[h]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(h),C=c?g.indexOf(c):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,w=C>=b,I=Lb(x=>{const E=x.target,P=[...l.branches].some(_=>_.contains(E));!w||P||(n==null||n(x),a==null||a(x),x.defaultPrevented||s==null||s())},f),A=Db(x=>{const E=x.target;[...l.branches].some(_=>_.contains(E))||(i==null||i(x),a==null||a(x),x.defaultPrevented||s==null||s())},f);return Mb(x=>{C===l.layers.size-1&&(o==null||o(x),!x.defaultPrevented&&s&&(x.preventDefault(),s()))},f),y.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Ac=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),Ec(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Ac)}},[c,f,r,l]),y.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),Ec())},[c,l]),y.useEffect(()=>{const x=()=>p({});return document.addEventListener(ma,x),()=>document.removeEventListener(ma,x)},[]),v.jsx(rt.div,{...u,ref:m,style:{pointerEvents:S?w?"auto":"none":void 0,...e.style},onFocusCapture:at(e.onFocusCapture,A.onFocusCapture),onBlurCapture:at(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:at(e.onPointerDownCapture,I.onPointerDownCapture)})});y2.displayName=Nb;var jb="DismissableLayerBranch",Bb=y.forwardRef((e,t)=>{const r=y.useContext(b2),o=y.useRef(null),n=ft(t,o);return y.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),v.jsx(rt.div,{...e,ref:n})});Bb.displayName=jb;function Lb(e,t=globalThis==null?void 0:globalThis.document){const r=kt(e),o=y.useRef(!1),n=y.useRef(()=>{});return y.useEffect(()=>{const i=s=>{if(s.target&&!o.current){let u=function(){C2(Fb,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function Db(e,t=globalThis==null?void 0:globalThis.document){const r=kt(e),o=y.useRef(!1);return y.useEffect(()=>{const n=i=>{i.target&&!o.current&&C2(Vb,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ec(){const e=new CustomEvent(ma);document.dispatchEvent(e)}function C2(e,t,r,{discrete:o}){const n=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?Tb(n,i):n.dispatchEvent(i)}var Zi=0;function Gb(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Rc()),document.body.insertAdjacentElement("beforeend",e[1]??Rc()),Zi++,()=>{Zi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Zi--}},[])}function Rc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xi="focusScope.autoFocusOnMount",$i="focusScope.autoFocusOnUnmount",Pc={bubbles:!1,cancelable:!0},Wb="FocusScope",x2=y.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...a}=e,[s,u]=y.useState(null),l=kt(n),c=kt(i),d=y.useRef(null),f=ft(t,g=>u(g)),p=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(o){let g=function(S){if(p.paused||!s)return;const w=S.target;s.contains(w)?d.current=w:ot(d.current,{select:!0})},h=function(S){if(p.paused||!s)return;const w=S.relatedTarget;w!==null&&(s.contains(w)||ot(d.current,{select:!0}))},b=function(S){if(document.activeElement===document.body)for(const I of S)I.removedNodes.length>0&&ot(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",h);const C=new MutationObserver(b);return s&&C.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",h),C.disconnect()}}},[o,s,p.paused]),y.useEffect(()=>{if(s){_c.add(p);const g=document.activeElement;if(!s.contains(g)){const b=new CustomEvent(Xi,Pc);s.addEventListener(Xi,l),s.dispatchEvent(b),b.defaultPrevented||(kb(zb(w2(s)),{select:!0}),document.activeElement===g&&ot(s))}return()=>{s.removeEventListener(Xi,l),setTimeout(()=>{const b=new CustomEvent($i,Pc);s.addEventListener($i,c),s.dispatchEvent(b),b.defaultPrevented||ot(g??document.body,{select:!0}),s.removeEventListener($i,c),_c.remove(p)},0)}}},[s,l,c,p]);const m=y.useCallback(g=>{if(!r&&!o||p.paused)return;const h=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(h&&b){const C=g.currentTarget,[S,w]=Hb(C);S&&w?!g.shiftKey&&b===w?(g.preventDefault(),r&&ot(S,{select:!0})):g.shiftKey&&b===S&&(g.preventDefault(),r&&ot(w,{select:!0})):b===C&&g.preventDefault()}},[r,o,p.paused]);return v.jsx(rt.div,{tabIndex:-1,...a,ref:f,onKeyDown:m})});x2.displayName=Wb;function kb(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(ot(o,{select:t}),document.activeElement!==r)return}function Hb(e){const t=w2(e),r=Oc(t,e),o=Oc(t.reverse(),e);return[r,o]}function w2(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Oc(e,t){for(const r of e)if(!Zb(r,{upTo:t}))return r}function Zb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Xb(e){return e instanceof HTMLInputElement&&"select"in e}function ot(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Xb(e)&&t&&e.select()}}var _c=$b();function $b(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Tc(e,t),e.unshift(t)},remove(t){var r;e=Tc(e,t),(r=e[0])==null||r.resume()}}}function Tc(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function zb(e){return e.filter(t=>t.tagName!=="A")}var ct=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},Yb=y[" useId ".trim().toString()]||(()=>{}),qb=0;function Jb(e){const[t,r]=y.useState(Yb());return ct(()=>{r(o=>o??String(qb++))},[e]),e||(t?`radix-${t}`:"")}var Ub="Arrow",I2=y.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...i}=e;return v.jsx(rt.svg,{...i,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});I2.displayName=Ub;var Qb=I2;function Kb(e){const[t,r]=y.useState(void 0);return ct(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var bu="Popper",[S2,A2]=m2(bu),[e9,E2]=S2(bu),R2=e=>{const{__scopePopper:t,children:r}=e,[o,n]=y.useState(null);return v.jsx(e9,{scope:t,anchor:o,onAnchorChange:n,children:r})};R2.displayName=bu;var P2="PopperAnchor",O2=y.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,i=E2(P2,r),a=y.useRef(null),s=ft(t,a),u=y.useRef(null);return y.useEffect(()=>{const l=u.current;u.current=(o==null?void 0:o.current)||a.current,l!==u.current&&i.onAnchorChange(u.current)}),o?null:v.jsx(rt.div,{...n,ref:s})});O2.displayName=P2;var yu="PopperContent",[t9,r9]=S2(yu),_2=y.forwardRef((e,t)=>{var Y,q,U,K,re,W;const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...g}=e,h=E2(yu,r),[b,C]=y.useState(null),S=ft(t,te=>C(te)),[w,I]=y.useState(null),A=Kb(w),x=(A==null?void 0:A.width)??0,E=(A==null?void 0:A.height)??0,P=o+(i!=="center"?"-"+i:""),_=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},L=Array.isArray(l)?l:[l],j=L.length>0,O={padding:_,boundary:L.filter(o9),altBoundary:j},{refs:N,floatingStyles:T,placement:M,isPositioned:G,middlewareData:B}=ef({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>uu(...te,{animationFrame:p==="always"}),elements:{reference:h.anchor},middleware:[tf({mainAxis:n+E,alignmentAxis:a}),u&&rf({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?nf():void 0,...O}),u&&of({...O}),af({...O,apply:({elements:te,rects:ae,availableWidth:se,availableHeight:ge})=>{const{width:be,height:me}=ae.reference,oe=te.floating.style;oe.setProperty("--radix-popper-available-width",`${se}px`),oe.setProperty("--radix-popper-available-height",`${ge}px`),oe.setProperty("--radix-popper-anchor-width",`${be}px`),oe.setProperty("--radix-popper-anchor-height",`${me}px`)}}),w&&sf({element:w,padding:s}),i9({arrowWidth:x,arrowHeight:E}),f&&uf({strategy:"referenceHidden",...O})]}),[Z,R]=N2(M),F=kt(m);ct(()=>{G&&(F==null||F())},[G,F]);const D=(Y=B.arrow)==null?void 0:Y.x,H=(q=B.arrow)==null?void 0:q.y,k=((U=B.arrow)==null?void 0:U.centerOffset)!==0,[X,$]=y.useState();return ct(()=>{b&&$(window.getComputedStyle(b).zIndex)},[b]),v.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:G?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(K=B.transformOrigin)==null?void 0:K.x,(re=B.transformOrigin)==null?void 0:re.y].join(" "),...((W=B.hide)==null?void 0:W.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(t9,{scope:r,placedSide:Z,onArrowChange:I,arrowX:D,arrowY:H,shouldHideArrow:k,children:v.jsx(rt.div,{"data-side":Z,"data-align":R,...g,ref:S,style:{...g.style,animation:G?void 0:"none"}})})})});_2.displayName=yu;var T2="PopperArrow",n9={top:"bottom",right:"left",bottom:"top",left:"right"},M2=y.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,i=r9(T2,o),a=n9[i.placedSide];return v.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:v.jsx(Qb,{...n,ref:r,style:{...n.style,display:"block"}})})});M2.displayName=T2;function o9(e){return e!==null}var i9=e=>({name:"transformOrigin",options:e,fn(t){var h,b,C;const{placement:r,rects:o,middlewareData:n}=t,a=((h=n.arrow)==null?void 0:h.centerOffset)!==0,s=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[l,c]=N2(r),d={start:"0%",center:"50%",end:"100%"}[c],f=(((b=n.arrow)==null?void 0:b.x)??0)+s/2,p=(((C=n.arrow)==null?void 0:C.y)??0)+u/2;let m="",g="";return l==="bottom"?(m=a?d:`${f}px`,g=`${-u}px`):l==="top"?(m=a?d:`${f}px`,g=`${o.floating.height+u}px`):l==="right"?(m=`${-u}px`,g=a?d:`${p}px`):l==="left"&&(m=`${o.floating.width+u}px`,g=a?d:`${p}px`),{data:{x:m,y:g}}}});function N2(e){const[t,r="center"]=e.split("-");return[t,r]}var a9=R2,F2=O2,u9=_2,s9=M2,l9="Portal",V2=y.forwardRef((e,t)=>{var s;const{container:r,...o}=e,[n,i]=y.useState(!1);ct(()=>i(!0),[]);const a=r||n&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Qe.createPortal(v.jsx(rt.div,{...o,ref:t}),a):null});V2.displayName=l9;function c9(e,t){return y.useReducer((r,o)=>t[r][o]??r,e)}var Cu=e=>{const{present:t,children:r}=e,o=d9(t),n=typeof r=="function"?r({present:o.isPresent}):y.Children.only(r),i=ft(o.ref,f9(n));return typeof r=="function"||o.isPresent?y.cloneElement(n,{ref:i}):null};Cu.displayName="Presence";function d9(e){const[t,r]=y.useState(),o=y.useRef(null),n=y.useRef(e),i=y.useRef("none"),a=e?"mounted":"unmounted",[s,u]=c9(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const l=Rr(o.current);i.current=s==="mounted"?l:"none"},[s]),ct(()=>{const l=o.current,c=n.current;if(c!==e){const f=i.current,p=Rr(l);e?u("MOUNT"):p==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,u]),ct(()=>{if(t){let l;const c=t.ownerDocument.defaultView??window,d=p=>{const g=Rr(o.current).includes(CSS.escape(p.animationName));if(p.target===t&&g&&(u("ANIMATION_END"),!n.current)){const h=t.style.animationFillMode;t.style.animationFillMode="forwards",l=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=h)})}},f=p=>{p.target===t&&(i.current=Rr(o.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(l),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:y.useCallback(l=>{o.current=l?getComputedStyle(l):null,r(l)},[])}}function Rr(e){return(e==null?void 0:e.animationName)||"none"}function f9(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var p9=y[" useInsertionEffect ".trim().toString()]||ct;function g9({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){const[n,i,a]=v9({defaultProp:t,onChange:r}),s=e!==void 0,u=s?e:n;{const c=y.useRef(e!==void 0);y.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${o} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,o])}const l=y.useCallback(c=>{var d;if(s){const f=m9(c)?c(e):c;f!==e&&((d=a.current)==null||d.call(a,f))}else i(c)},[s,e,i,a]);return[u,l]}function v9({defaultProp:e,onChange:t}){const[r,o]=y.useState(e),n=y.useRef(r),i=y.useRef(t);return p9(()=>{i.current=t},[t]),y.useEffect(()=>{var a;n.current!==r&&((a=i.current)==null||a.call(i,r),n.current=r)},[r,n]),[r,o,i]}function m9(e){return typeof e=="function"}var yn="Popover",[j2,hC]=m2(yn,[A2]),mr=A2(),[h9,pt]=j2(yn),B2=e=>{const{__scopePopover:t,children:r,open:o,defaultOpen:n,onOpenChange:i,modal:a=!1}=e,s=mr(t),u=y.useRef(null),[l,c]=y.useState(!1),[d,f]=g9({prop:o,defaultProp:n??!1,onChange:i,caller:yn});return v.jsx(a9,{...s,children:v.jsx(h9,{scope:t,contentId:Jb(),triggerRef:u,open:d,onOpenChange:f,onOpenToggle:y.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:l,onCustomAnchorAdd:y.useCallback(()=>c(!0),[]),onCustomAnchorRemove:y.useCallback(()=>c(!1),[]),modal:a,children:r})})};B2.displayName=yn;var L2="PopoverAnchor",b9=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=pt(L2,r),i=mr(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=n;return y.useEffect(()=>(a(),()=>s()),[a,s]),v.jsx(F2,{...i,...o,ref:t})});b9.displayName=L2;var D2="PopoverTrigger",G2=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=pt(D2,r),i=mr(r),a=ft(t,n.triggerRef),s=v.jsx(rt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":$2(n.open),...o,ref:a,onClick:at(e.onClick,n.onOpenToggle)});return n.hasCustomAnchor?s:v.jsx(F2,{asChild:!0,...i,children:s})});G2.displayName=D2;var xu="PopoverPortal",[y9,C9]=j2(xu,{forceMount:void 0}),W2=e=>{const{__scopePopover:t,forceMount:r,children:o,container:n}=e,i=pt(xu,t);return v.jsx(y9,{scope:t,forceMount:r,children:v.jsx(Cu,{present:r||i.open,children:v.jsx(V2,{asChild:!0,container:n,children:o})})})};W2.displayName=xu;var Ht="PopoverContent",k2=y.forwardRef((e,t)=>{const r=C9(Ht,e.__scopePopover),{forceMount:o=r.forceMount,...n}=e,i=pt(Ht,e.__scopePopover);return v.jsx(Cu,{present:o||i.open,children:i.modal?v.jsx(w9,{...n,ref:t}):v.jsx(I9,{...n,ref:t})})});k2.displayName=Ht;var x9=h2("PopoverContent.RemoveScroll"),w9=y.forwardRef((e,t)=>{const r=pt(Ht,e.__scopePopover),o=y.useRef(null),n=ft(t,o),i=y.useRef(!1);return y.useEffect(()=>{const a=o.current;if(a)return qf(a)},[]),v.jsx(pu,{as:x9,allowPinchZoom:!0,children:v.jsx(H2,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:at(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=r.triggerRef.current)==null||s.focus()}),onPointerDownOutside:at(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,l=s.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:at(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),I9=y.forwardRef((e,t)=>{const r=pt(Ht,e.__scopePopover),o=y.useRef(!1),n=y.useRef(!1);return v.jsx(H2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(o.current||(s=r.triggerRef.current)==null||s.focus(),i.preventDefault()),o.current=!1,n.current=!1},onInteractOutside:i=>{var u,l;(u=e.onInteractOutside)==null||u.call(e,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=i.target;((l=r.triggerRef.current)==null?void 0:l.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&n.current&&i.preventDefault()}})}),H2=y.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:c,...d}=e,f=pt(Ht,r),p=mr(r);return Gb(),v.jsx(x2,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:i,children:v.jsx(y2,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:v.jsx(u9,{"data-state":$2(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Z2="PopoverClose",S9=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=pt(Z2,r);return v.jsx(rt.button,{type:"button",...o,ref:t,onClick:at(e.onClick,()=>n.onOpenChange(!1))})});S9.displayName=Z2;var A9="PopoverArrow",X2=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=mr(r);return v.jsx(s9,{...n,...o,ref:t})});X2.displayName=A9;function $2(e){return e?"open":"closed"}var E9=B2,R9=G2,P9=W2,O9=k2,_9=X2;const T9=({trigger:e,content:t,children:r,side:o="bottom",align:n="center",sideOffset:i=5,collisionPadding:a=8,open:s,onOpenChange:u})=>{const l=z.popover();return v.jsxs(E9,{open:s,onOpenChange:u,children:[v.jsx(R9,{asChild:!0,children:e}),v.jsx(P9,{children:v.jsxs(O9,{side:o,align:n,sideOffset:i,collisionPadding:a,onOpenAutoFocus:c=>c.preventDefault(),children:[v.jsx("div",{className:l.content,children:t||r}),v.jsx(_9,{className:l.arrow})]})})]})},z2=e=>{const t=r=>v.jsx(Nf,{children:o=>v.jsx(e,{...r,breakpoint:o.breakpoint,isGreaterThan:n=>jf(n,o.breakpoint.value),isLessThan:n=>Vf(n,o.breakpoint.value)})});return t.displayName=`WithBreakpoints(${e.displayName||e.name||"Component"})`,t};function yt(e){"@babel/helpers - typeof";return yt=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},yt(e)}function M9(e,t){if(yt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(yt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y2(e){var t=M9(e,"string");return yt(t)=="symbol"?t:t+""}function Nt(e,t,r){return(t=Y2(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mc(Object(r),!0).forEach(function(o){Nt(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mc(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function N9(e){if(Array.isArray(e))return e}function F9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,n,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(o=i.call(r)).done)&&(s.push(o.value),s.length!==t);u=!0);}catch(c){l=!0,n=c}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw n}}return s}}function ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function q2(e,t){if(e){if(typeof e=="string")return ha(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ha(e,t):void 0}}function V9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
84
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return y.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},nb="DialogDescriptionWarning",ob=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${d2(nb).contentName}}.`;return y.useEffect(()=>{var i;const n=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},ib=Uf,ab=Kf,ub=t2,sb=r2,lb=n2,cb=i2,db=u2,fb=l2;const pb=({size:e,shape:t,title:r,padding:o,children:n,fullHeight:i,triggerOpen:a,removeOverlay:s,removeCloseButton:u})=>{const l=z.dialog({fullHeight:i,padding:o,shape:t,size:e});return v.jsxs(ib,{children:[v.jsx(ab,{asChild:!0,children:v.jsx("div",{children:a})}),v.jsxs(ub,{children:[!s&&v.jsx(sb,{className:l.overlay}),v.jsxs(lb,{className:l.content,children:[v.jsx(cb,{className:l.title,children:v.jsx(Ee,{size:"regular",color:"gray",children:r})}),!u&&v.jsx(fb,{asChild:!0,className:l.close,children:v.jsx("div",{children:v.jsx(ze,{name:"close",color:"mono",size:"default"})})}),v.jsx(db,{className:l.description,children:n})]})]})]})},f2=({children:e,disabled:t,loading:r,icon:o,variant:n="primary",soft:i,square:a,shimmer:s,size:u="medium",name:l,colorIcon:c,...d})=>v.jsxs("button",{...d,className:z.flatButtonSlot({variant:n,soft:i,square:a,size:u,loading:r,disabled:t}).buttonFlat,type:"button",children:[r&&s&&v.jsx("div",{className:z.flatButtonSlot().shimmerButton,children:v.jsx(Ne,{height:"100%",width:"100%"})}),v.jsxs("div",{className:z.flatButtonSlot({loading:r}).contentButton,children:[typeof l=="string"?v.jsx(ze,{name:l,size:u,color:c}):o,e]}),r&&v.jsx("div",{className:z.flatButtonSlot().loaderButton,children:!s&&v.jsx(fu,{size:"small"})})]}),gb=({size:e="small",side:t="right",fixed:r,border:o,active:n,global:i,onClose:a,children:s,elevated:u,onClosed:l,removeBlanket:c,primaryBlanket:d,fixedCloseButton:f,removeCloseButton:p,closeOnClickOutside:m})=>{const g=V.useRef(null);return v.jsxs(V.Fragment,{children:[v.jsx("div",{className:z.drawerSlot({fixed:r,absolute:!r}).container,children:v.jsx(Be,{in:n,timeout:250,nodeRef:g,onEnter:()=>{g.current&&(g.current.scrollTop=0)},onExited:()=>l&&l(),children:h=>v.jsxs("div",{className:z.drawerSlot({elevated:u&&h!=="exited",size:e,side:t,border:o,entering:h==="entering"||h==="entered",exiting:t==="right"&&(h==="exiting"||h==="exited"),exitingLeft:t!=="right"&&(h==="exiting"||h==="exited")}).drawerStyle,children:[!p&&v.jsx("div",{className:z.drawerSlot({fixed:f}).closeButton,children:v.jsx(f2,{colorIcon:"mono",name:"close",size:"large",onClick:()=>a&&a()})}),s]})})}),!c&&v.jsx(du,{global:i,primary:d,visible:n,onClick:()=>a&&m&&a()})]})},vb=({option:e,handleSelectOption:t})=>v.jsx("li",{style:{listStyle:"none"},children:v.jsx(hn,{short:!0,block:!0,compact:!0,style:"ghost",spacing:"noSpacing",onClick:t,children:e==null?void 0:e.label})}),wc=({options:e,handleSelectOption:t})=>v.jsx("ul",{className:z.dropdown().dropdownList,children:e==null?void 0:e.map(r=>v.jsx(vb,{option:r,handleSelectOption:()=>t(r)},r.value))}),Ic=({left:e,side:t,combo:r,bottom:o,isOpen:n,children:i,revertTop:a,mountOnEnter:s,insideAButton:u,unmountOnExit:l,onClickOutside:c,dropdownCustomStyles:d})=>{const f=V.useRef(null);return v.jsx(_d,{onOutsideClick:()=>c&&c(),children:v.jsx(Be,{in:n,timeout:300,mountOnEnter:s,unmountOnExit:l,nodeRef:f,onEnter:()=>{f.current&&(f.current.scrollTop=0)},children:p=>v.jsx("div",{ref:f,style:d,className:z.dropdown({left:e&&!t,revertTop:a,right:!e&&!t,leftSide:e&&t,rightSide:!e&&t,sideTop:t&&!o,sideBottom:t&&o,insideAButton:!r&&u,exiting:p==="exiting"||p==="exited",entering:p==="entering"||p==="entered"}).dropdownMenu,children:i})})})},p2=({soft:e,mono:t,ghost:r,secondary:o,transparent:n})=>e||r||n?"primary":o?"secondary":t?"mono":"secondary",mb=({error:e,ghost:t,mono:r,soft:o,shade:n})=>e?"error":t?"ghost":r?"mono":o?"soft":n?"shade":"ghost",hb=({noBorder:e,rectangular:t})=>e?"noBorder":t?"rectangular":"regular",bb=({small:e,large:t})=>e?"small":t?"large":"medium",yb=({icon:e,tall:t,mono:r,soft:o,only:n,label:i,block:a,short:s,large:u,small:l,ghost:c,shade:d,error:f,onClick:p,loading:m,shimmer:g,compact:h,iconName:b,disabled:C,noBorder:S,fullWidth:w,secondary:I,removeIcon:A,rectangular:x,transparent:E})=>v.jsxs(hn,{tall:t,block:a,short:s,loading:m,shimmer:g,compact:h,onClick:p,spacing:"noSpacing",fullWidth:w,disabled:C||m,size:bb({large:u,small:l}),shape:hb({noBorder:S,rectangular:x}),style:mb({ghost:c,mono:r,shade:d,soft:o,error:f}),children:[v.jsx("div",{className:z.dropdown({only:n}).labelStyle,children:i}),!A&&e&&(typeof i=="string"?v.jsx(ze,{noPadding:!0,size:"small",name:b,color:"secondary"}):e),!e&&!A&&v.jsx(ze,{name:"arrow-drop-down",color:p2({soft:o,mono:r,ghost:c,secondary:I,transparent:E})})]}),Cb=({only:e,left:t,icon:r,mono:o,side:n,soft:i,tall:a,label:s,block:u,combo:l,shade:c,short:d,small:f,large:p,button:m,bottom:g,options:h,loading:b,compact:C,ghost:S,shimmer:w,children:I,relative:A,disabled:x,iconName:E,noBorder:P,container:_,fullWidth:L,noSpacing:j,secondary:O,revertTop:N,removeIcon:T,rectangular:M,transparent:G,onToggleMenu:B,mountOnEnter:Z,closeOnSelect:R,unmountOnExit:F,error:D=!1,onSelectOption:H,buttonAbsolute:k,dropdownCustomStyles:$,isOpen:X})=>{const[Y,q]=V.useState(X),[U,K]=V.useState(!1);V.useEffect(()=>{X&&q(X)},[X]),V.useEffect(()=>{B&&B(Y)},[Y,B,X]);const re=()=>{q(U&&!Y?!1:!Y)},W=()=>{q(!1),K(!!Y)},te=ae=>{H&&H(ae),R&&re()};return v.jsxs(v.Fragment,{children:[_&&v.jsxs("div",{className:z.dropdown({noSpacing:j,relative:A}).dropdownContainer,children:[v.jsx("div",{onClick:()=>re(),children:I}),v.jsx(Ic,{left:t,side:n,isOpen:Y,bottom:g,revertTop:N,mountOnEnter:Z,unmountOnExit:F,dropdownCustomStyles:$,onClickOutside:()=>W(),children:h?v.jsx(wc,{handleSelectOption:te,options:h}):v.jsx(Ee,{size:"micro",children:"Sem opções"})})]}),!_&&v.jsxs("div",{className:z.dropdown({asAButton:m,noSpacing:j,relative:!l&&l&&(_||m||e||A),absolute:k}).dropdownContainer,children:[m?v.jsx(yb,{icon:r,tall:a,mono:o,soft:i,only:e,label:s,block:u,short:d,large:p,small:f,ghost:S,shade:c,error:D,loading:b,shimmer:w,compact:C,iconName:E,disabled:x,noBorder:P,fullWidth:L,secondary:O,removeIcon:T,rectangular:M,transparent:G,onClick:()=>re()}):v.jsx("button",{className:z.dropdown({only:e}).dropdownStyles,type:"button",onClick:re,children:v.jsx(ze,{name:"arrow-drop-down",color:p2({soft:i,mono:o,ghost:S,secondary:O,transparent:G}),size:"default"})}),v.jsxs(Ic,{left:t,side:n,combo:l,isOpen:Y,bottom:g,revertTop:N,insideAButton:m,mountOnEnter:Z,unmountOnExit:F,dropdownCustomStyles:$,onClickOutside:()=>W(),children:[I,!I&&v.jsx(v.Fragment,{children:h?v.jsx(wc,{handleSelectOption:te,options:h}):v.jsx(Ee,{size:"micro",children:"Sem opções"})})]})]})]})},g2=({id:e,gap:t,spacing:r,children:o,flexWrap:n,alignItems:i,fullHeight:a,flexDirection:s,justifyContent:u})=>{const l=z.gridSlot({gap:t,spacing:r,flexWrap:n,alignItems:i,fullHeight:a,flexDirection:s,justifyContent:u});return v.jsx("div",{className:l.root,id:e,children:v.jsx("div",{className:l.content,children:o})})},xb=({flex:e,size:t,fixed:r,style:o,global:n,onClose:i,visible:a,children:s,noPadding:u,fullHeight:l,fullScreen:c,centralize:d,removeBlanket:f,onClickBlanket:p,removeCloseButton:m})=>{const{closeButton:g,container:h,modalStyles:b}=z.modalSlot({centralize:d,fixed:r,flex:e,fullHeight:l,fullScreen:c,noPadding:u,size:t});return a?Qe.createPortal(v.jsxs("div",{className:h,children:[v.jsxs("div",{className:b,style:o,children:[!m&&v.jsx("div",{className:g,style:o}),s]}),(f||!c)&&v.jsx(du,{global:n,visible:!0,onClick:()=>p?p():i&&i()})]}),document.body):null},Kt="...",Er=(e,t)=>{const r=t-e+1;return Array.from({length:r},(o,n)=>n+e)},wb=({pageSize:e,siblingCount:t=1,currentPage:r})=>V.useMemo(()=>{const n=e;if(t+5>=n)return Er(1,n);const a=Math.max(r-t,1),s=Math.min(r+t,n),u=a>2,l=s<n-2,c=1,d=n;if(!u&&l){const f=3+2*t;return[...Er(1,f),Kt,n]}if(u&&!l){const f=3+2*t,p=Er(n-f+1,n);return[c,Kt,...p]}if(u&&l){const f=Er(a,s);return[c,Kt,...f,Kt,d]}return[]},[e,t,r]),Ib=({onPageChange:e,totalCount:t,currentPage:r,pageSize:o,siblingCount:n=1})=>{const i=wb({currentPage:r,siblingCount:n,pageSize:o});if(r===0||(i==null?void 0:i.length)<2)return null;const a=()=>{e(r+1)},s=()=>{e(r-1)},u=i[i.length-1],l=z.paginationSlot({});return v.jsxs("ul",{className:l.container,children:[v.jsx("li",{className:z.paginationSlot({disabled:r===1}).item,onClick:s,children:v.jsx("div",{className:z.paginationSlot({direction:"left"}).arrow})}),i==null?void 0:i.map((c,d)=>c===Kt?v.jsx("li",{className:z.paginationSlot({dots:!0}).item,children:"…"},`dots-${d}`):v.jsx("li",{className:z.paginationSlot({selected:c===r}).item,onClick:()=>e(Number(c)),children:c},c)),v.jsx("li",{className:z.paginationSlot({disabled:r===u}).item,onClick:a,children:v.jsx("div",{className:z.paginationSlot({direction:"right",disabled:r===u}).arrow})})]})};function at(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function Sc(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function v2(...e){return t=>{let r=!1;const o=e.map(n=>{const i=Sc(n,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let n=0;n<o.length;n++){const i=o[n];typeof i=="function"?i():Sc(e[n],null)}}}}function ft(...e){return y.useCallback(v2(...e),e)}function m2(e,t=[]){let r=[];function o(i,a){const s=y.createContext(a),u=r.length;r=[...r,a];const l=d=>{var b;const{scope:f,children:p,...m}=d,g=((b=f==null?void 0:f[e])==null?void 0:b[u])||s,h=y.useMemo(()=>m,Object.values(m));return v.jsx(g.Provider,{value:h,children:p})};l.displayName=i+"Provider";function c(d,f){var g;const p=((g=f==null?void 0:f[e])==null?void 0:g[u])||s,m=y.useContext(p);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,c]}const n=()=>{const i=r.map(a=>y.createContext(a));return function(s){const u=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return n.scopeName=e,[o,Sb(n,...t)]}function Sb(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(i){const a=o.reduce((s,{useScope:u,scopeName:l})=>{const d=u(i)[`__scope${l}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function h2(e){const t=Ab(e),r=y.forwardRef((o,n)=>{const{children:i,...a}=o,s=y.Children.toArray(i),u=s.find(Rb);if(u){const l=u.props.children,c=s.map(d=>d===u?y.Children.count(l)>1?y.Children.only(null):y.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:n,children:y.isValidElement(l)?y.cloneElement(l,void 0,c):null})}return v.jsx(t,{...a,ref:n,children:i})});return r.displayName=`${e}.Slot`,r}function Ab(e){const t=y.forwardRef((r,o)=>{const{children:n,...i}=r;if(y.isValidElement(n)){const a=Ob(n),s=Pb(i,n.props);return n.type!==y.Fragment&&(s.ref=o?v2(o,a):a),y.cloneElement(n,s)}return y.Children.count(n)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Eb=Symbol("radix.slottable");function Rb(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Eb}function Pb(e,t){const r={...t};for(const o in t){const n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...s)=>{const u=i(...s);return n(...s),u}:n&&(r[o]=n):o==="style"?r[o]={...n,...i}:o==="className"&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}function Ob(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var _b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=_b.reduce((e,t)=>{const r=h2(`Primitive.${t}`),o=y.forwardRef((n,i)=>{const{asChild:a,...s}=n,u=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(u,{...s,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Tb(e,t){e&&Sa.flushSync(()=>e.dispatchEvent(t))}function kt(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...r)=>{var o;return(o=t.current)==null?void 0:o.call(t,...r)},[])}function Mb(e,t=globalThis==null?void 0:globalThis.document){const r=kt(e);y.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var Nb="DismissableLayer",ma="dismissableLayer.update",Fb="dismissableLayer.pointerDownOutside",Vb="dismissableLayer.focusOutside",Ac,b2=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y2=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...u}=e,l=y.useContext(b2),[c,d]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=y.useState({}),m=ft(t,x=>d(x)),g=Array.from(l.layers),[h]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(h),C=c?g.indexOf(c):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,w=C>=b,I=Lb(x=>{const E=x.target,P=[...l.branches].some(_=>_.contains(E));!w||P||(n==null||n(x),a==null||a(x),x.defaultPrevented||s==null||s())},f),A=Db(x=>{const E=x.target;[...l.branches].some(_=>_.contains(E))||(i==null||i(x),a==null||a(x),x.defaultPrevented||s==null||s())},f);return Mb(x=>{C===l.layers.size-1&&(o==null||o(x),!x.defaultPrevented&&s&&(x.preventDefault(),s()))},f),y.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Ac=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),Ec(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Ac)}},[c,f,r,l]),y.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),Ec())},[c,l]),y.useEffect(()=>{const x=()=>p({});return document.addEventListener(ma,x),()=>document.removeEventListener(ma,x)},[]),v.jsx(rt.div,{...u,ref:m,style:{pointerEvents:S?w?"auto":"none":void 0,...e.style},onFocusCapture:at(e.onFocusCapture,A.onFocusCapture),onBlurCapture:at(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:at(e.onPointerDownCapture,I.onPointerDownCapture)})});y2.displayName=Nb;var jb="DismissableLayerBranch",Bb=y.forwardRef((e,t)=>{const r=y.useContext(b2),o=y.useRef(null),n=ft(t,o);return y.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),v.jsx(rt.div,{...e,ref:n})});Bb.displayName=jb;function Lb(e,t=globalThis==null?void 0:globalThis.document){const r=kt(e),o=y.useRef(!1),n=y.useRef(()=>{});return y.useEffect(()=>{const i=s=>{if(s.target&&!o.current){let u=function(){C2(Fb,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function Db(e,t=globalThis==null?void 0:globalThis.document){const r=kt(e),o=y.useRef(!1);return y.useEffect(()=>{const n=i=>{i.target&&!o.current&&C2(Vb,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ec(){const e=new CustomEvent(ma);document.dispatchEvent(e)}function C2(e,t,r,{discrete:o}){const n=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?Tb(n,i):n.dispatchEvent(i)}var Zi=0;function Gb(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Rc()),document.body.insertAdjacentElement("beforeend",e[1]??Rc()),Zi++,()=>{Zi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Zi--}},[])}function Rc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xi="focusScope.autoFocusOnMount",$i="focusScope.autoFocusOnUnmount",Pc={bubbles:!1,cancelable:!0},Wb="FocusScope",x2=y.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...a}=e,[s,u]=y.useState(null),l=kt(n),c=kt(i),d=y.useRef(null),f=ft(t,g=>u(g)),p=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(o){let g=function(S){if(p.paused||!s)return;const w=S.target;s.contains(w)?d.current=w:ot(d.current,{select:!0})},h=function(S){if(p.paused||!s)return;const w=S.relatedTarget;w!==null&&(s.contains(w)||ot(d.current,{select:!0}))},b=function(S){if(document.activeElement===document.body)for(const I of S)I.removedNodes.length>0&&ot(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",h);const C=new MutationObserver(b);return s&&C.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",h),C.disconnect()}}},[o,s,p.paused]),y.useEffect(()=>{if(s){_c.add(p);const g=document.activeElement;if(!s.contains(g)){const b=new CustomEvent(Xi,Pc);s.addEventListener(Xi,l),s.dispatchEvent(b),b.defaultPrevented||(kb(zb(w2(s)),{select:!0}),document.activeElement===g&&ot(s))}return()=>{s.removeEventListener(Xi,l),setTimeout(()=>{const b=new CustomEvent($i,Pc);s.addEventListener($i,c),s.dispatchEvent(b),b.defaultPrevented||ot(g??document.body,{select:!0}),s.removeEventListener($i,c),_c.remove(p)},0)}}},[s,l,c,p]);const m=y.useCallback(g=>{if(!r&&!o||p.paused)return;const h=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(h&&b){const C=g.currentTarget,[S,w]=Hb(C);S&&w?!g.shiftKey&&b===w?(g.preventDefault(),r&&ot(S,{select:!0})):g.shiftKey&&b===S&&(g.preventDefault(),r&&ot(w,{select:!0})):b===C&&g.preventDefault()}},[r,o,p.paused]);return v.jsx(rt.div,{tabIndex:-1,...a,ref:f,onKeyDown:m})});x2.displayName=Wb;function kb(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(ot(o,{select:t}),document.activeElement!==r)return}function Hb(e){const t=w2(e),r=Oc(t,e),o=Oc(t.reverse(),e);return[r,o]}function w2(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Oc(e,t){for(const r of e)if(!Zb(r,{upTo:t}))return r}function Zb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Xb(e){return e instanceof HTMLInputElement&&"select"in e}function ot(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Xb(e)&&t&&e.select()}}var _c=$b();function $b(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Tc(e,t),e.unshift(t)},remove(t){var r;e=Tc(e,t),(r=e[0])==null||r.resume()}}}function Tc(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function zb(e){return e.filter(t=>t.tagName!=="A")}var ct=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},Yb=y[" useId ".trim().toString()]||(()=>{}),qb=0;function Jb(e){const[t,r]=y.useState(Yb());return ct(()=>{r(o=>o??String(qb++))},[e]),e||(t?`radix-${t}`:"")}var Ub="Arrow",I2=y.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...i}=e;return v.jsx(rt.svg,{...i,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});I2.displayName=Ub;var Qb=I2;function Kb(e){const[t,r]=y.useState(void 0);return ct(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var bu="Popper",[S2,A2]=m2(bu),[e9,E2]=S2(bu),R2=e=>{const{__scopePopper:t,children:r}=e,[o,n]=y.useState(null);return v.jsx(e9,{scope:t,anchor:o,onAnchorChange:n,children:r})};R2.displayName=bu;var P2="PopperAnchor",O2=y.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,i=E2(P2,r),a=y.useRef(null),s=ft(t,a),u=y.useRef(null);return y.useEffect(()=>{const l=u.current;u.current=(o==null?void 0:o.current)||a.current,l!==u.current&&i.onAnchorChange(u.current)}),o?null:v.jsx(rt.div,{...n,ref:s})});O2.displayName=P2;var yu="PopperContent",[t9,r9]=S2(yu),_2=y.forwardRef((e,t)=>{var Y,q,U,K,re,W;const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...g}=e,h=E2(yu,r),[b,C]=y.useState(null),S=ft(t,te=>C(te)),[w,I]=y.useState(null),A=Kb(w),x=(A==null?void 0:A.width)??0,E=(A==null?void 0:A.height)??0,P=o+(i!=="center"?"-"+i:""),_=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},L=Array.isArray(l)?l:[l],j=L.length>0,O={padding:_,boundary:L.filter(o9),altBoundary:j},{refs:N,floatingStyles:T,placement:M,isPositioned:G,middlewareData:B}=ef({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>uu(...te,{animationFrame:p==="always"}),elements:{reference:h.anchor},middleware:[tf({mainAxis:n+E,alignmentAxis:a}),u&&rf({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?nf():void 0,...O}),u&&of({...O}),af({...O,apply:({elements:te,rects:ae,availableWidth:se,availableHeight:ge})=>{const{width:be,height:me}=ae.reference,oe=te.floating.style;oe.setProperty("--radix-popper-available-width",`${se}px`),oe.setProperty("--radix-popper-available-height",`${ge}px`),oe.setProperty("--radix-popper-anchor-width",`${be}px`),oe.setProperty("--radix-popper-anchor-height",`${me}px`)}}),w&&sf({element:w,padding:s}),i9({arrowWidth:x,arrowHeight:E}),f&&uf({strategy:"referenceHidden",...O})]}),[Z,R]=N2(M),F=kt(m);ct(()=>{G&&(F==null||F())},[G,F]);const D=(Y=B.arrow)==null?void 0:Y.x,H=(q=B.arrow)==null?void 0:q.y,k=((U=B.arrow)==null?void 0:U.centerOffset)!==0,[$,X]=y.useState();return ct(()=>{b&&X(window.getComputedStyle(b).zIndex)},[b]),v.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:G?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$,"--radix-popper-transform-origin":[(K=B.transformOrigin)==null?void 0:K.x,(re=B.transformOrigin)==null?void 0:re.y].join(" "),...((W=B.hide)==null?void 0:W.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(t9,{scope:r,placedSide:Z,onArrowChange:I,arrowX:D,arrowY:H,shouldHideArrow:k,children:v.jsx(rt.div,{"data-side":Z,"data-align":R,...g,ref:S,style:{...g.style,animation:G?void 0:"none"}})})})});_2.displayName=yu;var T2="PopperArrow",n9={top:"bottom",right:"left",bottom:"top",left:"right"},M2=y.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,i=r9(T2,o),a=n9[i.placedSide];return v.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:v.jsx(Qb,{...n,ref:r,style:{...n.style,display:"block"}})})});M2.displayName=T2;function o9(e){return e!==null}var i9=e=>({name:"transformOrigin",options:e,fn(t){var h,b,C;const{placement:r,rects:o,middlewareData:n}=t,a=((h=n.arrow)==null?void 0:h.centerOffset)!==0,s=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[l,c]=N2(r),d={start:"0%",center:"50%",end:"100%"}[c],f=(((b=n.arrow)==null?void 0:b.x)??0)+s/2,p=(((C=n.arrow)==null?void 0:C.y)??0)+u/2;let m="",g="";return l==="bottom"?(m=a?d:`${f}px`,g=`${-u}px`):l==="top"?(m=a?d:`${f}px`,g=`${o.floating.height+u}px`):l==="right"?(m=`${-u}px`,g=a?d:`${p}px`):l==="left"&&(m=`${o.floating.width+u}px`,g=a?d:`${p}px`),{data:{x:m,y:g}}}});function N2(e){const[t,r="center"]=e.split("-");return[t,r]}var a9=R2,F2=O2,u9=_2,s9=M2,l9="Portal",V2=y.forwardRef((e,t)=>{var s;const{container:r,...o}=e,[n,i]=y.useState(!1);ct(()=>i(!0),[]);const a=r||n&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Qe.createPortal(v.jsx(rt.div,{...o,ref:t}),a):null});V2.displayName=l9;function c9(e,t){return y.useReducer((r,o)=>t[r][o]??r,e)}var Cu=e=>{const{present:t,children:r}=e,o=d9(t),n=typeof r=="function"?r({present:o.isPresent}):y.Children.only(r),i=ft(o.ref,f9(n));return typeof r=="function"||o.isPresent?y.cloneElement(n,{ref:i}):null};Cu.displayName="Presence";function d9(e){const[t,r]=y.useState(),o=y.useRef(null),n=y.useRef(e),i=y.useRef("none"),a=e?"mounted":"unmounted",[s,u]=c9(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const l=Rr(o.current);i.current=s==="mounted"?l:"none"},[s]),ct(()=>{const l=o.current,c=n.current;if(c!==e){const f=i.current,p=Rr(l);e?u("MOUNT"):p==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,u]),ct(()=>{if(t){let l;const c=t.ownerDocument.defaultView??window,d=p=>{const g=Rr(o.current).includes(CSS.escape(p.animationName));if(p.target===t&&g&&(u("ANIMATION_END"),!n.current)){const h=t.style.animationFillMode;t.style.animationFillMode="forwards",l=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=h)})}},f=p=>{p.target===t&&(i.current=Rr(o.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(l),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:y.useCallback(l=>{o.current=l?getComputedStyle(l):null,r(l)},[])}}function Rr(e){return(e==null?void 0:e.animationName)||"none"}function f9(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var p9=y[" useInsertionEffect ".trim().toString()]||ct;function g9({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){const[n,i,a]=v9({defaultProp:t,onChange:r}),s=e!==void 0,u=s?e:n;{const c=y.useRef(e!==void 0);y.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${o} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,o])}const l=y.useCallback(c=>{var d;if(s){const f=m9(c)?c(e):c;f!==e&&((d=a.current)==null||d.call(a,f))}else i(c)},[s,e,i,a]);return[u,l]}function v9({defaultProp:e,onChange:t}){const[r,o]=y.useState(e),n=y.useRef(r),i=y.useRef(t);return p9(()=>{i.current=t},[t]),y.useEffect(()=>{var a;n.current!==r&&((a=i.current)==null||a.call(i,r),n.current=r)},[r,n]),[r,o,i]}function m9(e){return typeof e=="function"}var yn="Popover",[j2,hC]=m2(yn,[A2]),mr=A2(),[h9,pt]=j2(yn),B2=e=>{const{__scopePopover:t,children:r,open:o,defaultOpen:n,onOpenChange:i,modal:a=!1}=e,s=mr(t),u=y.useRef(null),[l,c]=y.useState(!1),[d,f]=g9({prop:o,defaultProp:n??!1,onChange:i,caller:yn});return v.jsx(a9,{...s,children:v.jsx(h9,{scope:t,contentId:Jb(),triggerRef:u,open:d,onOpenChange:f,onOpenToggle:y.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:l,onCustomAnchorAdd:y.useCallback(()=>c(!0),[]),onCustomAnchorRemove:y.useCallback(()=>c(!1),[]),modal:a,children:r})})};B2.displayName=yn;var L2="PopoverAnchor",b9=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=pt(L2,r),i=mr(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=n;return y.useEffect(()=>(a(),()=>s()),[a,s]),v.jsx(F2,{...i,...o,ref:t})});b9.displayName=L2;var D2="PopoverTrigger",G2=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=pt(D2,r),i=mr(r),a=ft(t,n.triggerRef),s=v.jsx(rt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":$2(n.open),...o,ref:a,onClick:at(e.onClick,n.onOpenToggle)});return n.hasCustomAnchor?s:v.jsx(F2,{asChild:!0,...i,children:s})});G2.displayName=D2;var xu="PopoverPortal",[y9,C9]=j2(xu,{forceMount:void 0}),W2=e=>{const{__scopePopover:t,forceMount:r,children:o,container:n}=e,i=pt(xu,t);return v.jsx(y9,{scope:t,forceMount:r,children:v.jsx(Cu,{present:r||i.open,children:v.jsx(V2,{asChild:!0,container:n,children:o})})})};W2.displayName=xu;var Ht="PopoverContent",k2=y.forwardRef((e,t)=>{const r=C9(Ht,e.__scopePopover),{forceMount:o=r.forceMount,...n}=e,i=pt(Ht,e.__scopePopover);return v.jsx(Cu,{present:o||i.open,children:i.modal?v.jsx(w9,{...n,ref:t}):v.jsx(I9,{...n,ref:t})})});k2.displayName=Ht;var x9=h2("PopoverContent.RemoveScroll"),w9=y.forwardRef((e,t)=>{const r=pt(Ht,e.__scopePopover),o=y.useRef(null),n=ft(t,o),i=y.useRef(!1);return y.useEffect(()=>{const a=o.current;if(a)return qf(a)},[]),v.jsx(pu,{as:x9,allowPinchZoom:!0,children:v.jsx(H2,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:at(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=r.triggerRef.current)==null||s.focus()}),onPointerDownOutside:at(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,l=s.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:at(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),I9=y.forwardRef((e,t)=>{const r=pt(Ht,e.__scopePopover),o=y.useRef(!1),n=y.useRef(!1);return v.jsx(H2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(o.current||(s=r.triggerRef.current)==null||s.focus(),i.preventDefault()),o.current=!1,n.current=!1},onInteractOutside:i=>{var u,l;(u=e.onInteractOutside)==null||u.call(e,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=i.target;((l=r.triggerRef.current)==null?void 0:l.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&n.current&&i.preventDefault()}})}),H2=y.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:c,...d}=e,f=pt(Ht,r),p=mr(r);return Gb(),v.jsx(x2,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:i,children:v.jsx(y2,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:v.jsx(u9,{"data-state":$2(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Z2="PopoverClose",S9=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=pt(Z2,r);return v.jsx(rt.button,{type:"button",...o,ref:t,onClick:at(e.onClick,()=>n.onOpenChange(!1))})});S9.displayName=Z2;var A9="PopoverArrow",X2=y.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=mr(r);return v.jsx(s9,{...n,...o,ref:t})});X2.displayName=A9;function $2(e){return e?"open":"closed"}var E9=B2,R9=G2,P9=W2,O9=k2,_9=X2;const T9=({trigger:e,content:t,children:r,side:o="bottom",align:n="center",sideOffset:i=5,collisionPadding:a=8,open:s,onOpenChange:u})=>{const l=z.popover();return v.jsxs(E9,{open:s,onOpenChange:u,children:[v.jsx(R9,{asChild:!0,children:e}),v.jsx(P9,{children:v.jsxs(O9,{side:o,align:n,sideOffset:i,collisionPadding:a,onOpenAutoFocus:c=>c.preventDefault(),children:[v.jsx("div",{className:l.content,children:t||r}),v.jsx(_9,{className:l.arrow})]})})]})},z2=e=>{const t=r=>v.jsx(Nf,{children:o=>v.jsx(e,{...r,breakpoint:o.breakpoint,isGreaterThan:n=>jf(n,o.breakpoint.value),isLessThan:n=>Vf(n,o.breakpoint.value)})});return t.displayName=`WithBreakpoints(${e.displayName||e.name||"Component"})`,t};function yt(e){"@babel/helpers - typeof";return yt=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},yt(e)}function M9(e,t){if(yt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(yt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y2(e){var t=M9(e,"string");return yt(t)=="symbol"?t:t+""}function Nt(e,t,r){return(t=Y2(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mc(Object(r),!0).forEach(function(o){Nt(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mc(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function N9(e){if(Array.isArray(e))return e}function F9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,n,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(o=i.call(r)).done)&&(s.push(o.value),s.length!==t);u=!0);}catch(c){l=!0,n=c}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw n}}return s}}function ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function q2(e,t){if(e){if(typeof e=="string")return ha(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ha(e,t):void 0}}function V9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
85
85
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(e,t){return N9(e)||F9(e,t)||q2(e,t)||V9()}function De(e,t){if(e==null)return{};var r,o,n=Tf(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var j9=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function wu(e){var t=e.defaultInputValue,r=t===void 0?"":t,o=e.defaultMenuIsOpen,n=o===void 0?!1:o,i=e.defaultValue,a=i===void 0?null:i,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,m=De(e,j9),g=V.useState(s!==void 0?s:r),h=we(g,2),b=h[0],C=h[1],S=V.useState(u!==void 0?u:n),w=we(S,2),I=w[0],A=w[1],x=V.useState(p!==void 0?p:a),E=we(x,2),P=E[0],_=E[1],L=V.useCallback(function(B,Z){typeof l=="function"&&l(B,Z),_(B)},[l]),j=V.useCallback(function(B,Z){var R;typeof c=="function"&&(R=c(B,Z)),C(R!==void 0?R:B)},[c]),O=V.useCallback(function(){typeof f=="function"&&f(),A(!0)},[f]),N=V.useCallback(function(){typeof d=="function"&&d(),A(!1)},[d]),T=s!==void 0?s:b,M=u!==void 0?u:I,G=p!==void 0?p:P;return J(J({},m),{},{inputValue:T,menuIsOpen:M,onChange:L,onInputChange:j,onMenuClose:N,onMenuOpen:O,value:G})}function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},ee.apply(null,arguments)}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nc(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Y2(o.key),o)}}function L9(e,t,r){return t&&Nc(e.prototype,t),r&&Nc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function D9(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&&Yr(e,t)}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jr(e)}function J2(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J2=function(){return!!e})()}function G9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W9(e,t){if(t&&(yt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return G9(e)}function k9(e){var t=J2();return function(){var r,o=Jr(e);if(t){var n=Jr(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return W9(this,r)}}function H9(e){if(Array.isArray(e))return ha(e)}function Z9(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function X9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
86
86
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bt(e){return H9(e)||Z9(e)||q2(e)||X9()}function $9(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 z9(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 Y9=function(){function e(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(z9(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=$9(n);try{i.insertRule(o,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},e}(),Ae="-ms-",Ur="-moz-",le="-webkit-",U2="comm",Iu="rule",Su="decl",q9="@import",Q2="@keyframes",J9="@layer",U9=Math.abs,Cn=String.fromCharCode,Q9=Object.assign;function K9(e,t){return Ie(e,0)^45?(((t<<2^Ie(e,0))<<2^Ie(e,1))<<2^Ie(e,2))<<2^Ie(e,3):0}function K2(e){return e.trim()}function e6(e,t){return(e=t.exec(e))?e[0]:e}function ce(e,t,r){return e.replace(t,r)}function ba(e,t){return e.indexOf(t)}function Ie(e,t){return e.charCodeAt(t)|0}function ir(e,t,r){return e.slice(t,r)}function Ge(e){return e.length}function Au(e){return e.length}function Pr(e,t){return t.push(e),e}function t6(e,t){return e.map(t).join("")}var xn=1,Zt=1,ep=0,Pe=0,Ce=0,Yt="";function wn(e,t,r,o,n,i,a){return{value:e,root:t,parent:r,type:o,props:n,children:i,line:xn,column:Zt,length:a,return:""}}function Jt(e,t){return Q9(wn("",null,null,"",null,null,0),e,{length:-e.length},t)}function r6(){return Ce}function n6(){return Ce=Pe>0?Ie(Yt,--Pe):0,Zt--,Ce===10&&(Zt=1,xn--),Ce}function Me(){return Ce=Pe<ep?Ie(Yt,Pe++):0,Zt++,Ce===10&&(Zt=1,xn++),Ce}function Ze(){return Ie(Yt,Pe)}function Br(){return Pe}function hr(e,t){return ir(Yt,e,t)}function ar(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 tp(e){return xn=Zt=1,ep=Ge(Yt=e),Pe=0,[]}function rp(e){return Yt="",e}function Lr(e){return K2(hr(Pe-1,ya(e===91?e+2:e===40?e+1:e)))}function o6(e){for(;(Ce=Ze())&&Ce<33;)Me();return ar(e)>2||ar(Ce)>3?"":" "}function i6(e,t){for(;--t&&Me()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return hr(e,Br()+(t<6&&Ze()==32&&Me()==32))}function ya(e){for(;Me();)switch(Ce){case e:return Pe;case 34:case 39:e!==34&&e!==39&&ya(Ce);break;case 40:e===41&&ya(e);break;case 92:Me();break}return Pe}function a6(e,t){for(;Me()&&e+Ce!==57;)if(e+Ce===84&&Ze()===47)break;return"/*"+hr(t,Pe-1)+"*"+Cn(e===47?e:Me())}function u6(e){for(;!ar(Ze());)Me();return hr(e,Pe)}function s6(e){return rp(Dr("",null,null,null,[""],e=tp(e),0,[0],e))}function Dr(e,t,r,o,n,i,a,s,u){for(var l=0,c=0,d=a,f=0,p=0,m=0,g=1,h=1,b=1,C=0,S="",w=n,I=i,A=o,x=S;h;)switch(m=C,C=Me()){case 40:if(m!=108&&Ie(x,d-1)==58){ba(x+=ce(Lr(C),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:x+=Lr(C);break;case 9:case 10:case 13:case 32:x+=o6(m);break;case 92:x+=i6(Br()-1,7);continue;case 47:switch(Ze()){case 42:case 47:Pr(l6(a6(Me(),Br()),t,r),u);break;default:x+="/"}break;case 123*g:s[l++]=Ge(x)*b;case 125*g:case 59:case 0:switch(C){case 0:case 125:h=0;case 59+c:b==-1&&(x=ce(x,/\f/g,"")),p>0&&Ge(x)-d&&Pr(p>32?Vc(x+";",o,r,d-1):Vc(ce(x," ","")+";",o,r,d-2),u);break;case 59:x+=";";default:if(Pr(A=Fc(x,t,r,l,c,n,s,S,w=[],I=[],d),i),C===123)if(c===0)Dr(x,t,A,A,w,i,d,s,I);else switch(f===99&&Ie(x,3)===110?100:f){case 100:case 108:case 109:case 115:Dr(e,A,A,o&&Pr(Fc(e,A,A,0,0,n,s,S,n,w=[],d),I),n,I,d,s,o?w:I);break;default:Dr(x,A,A,A,[""],I,0,s,I)}}l=c=p=0,g=b=1,S=x="",d=a;break;case 58:d=1+Ge(x),p=m;default:if(g<1){if(C==123)--g;else if(C==125&&g++==0&&n6()==125)continue}switch(x+=Cn(C),C*g){case 38:b=c>0?1:(x+="\f",-1);break;case 44:s[l++]=(Ge(x)-1)*b,b=1;break;case 64:Ze()===45&&(x+=Lr(Me())),f=Ze(),c=d=Ge(S=x+=u6(Br())),C++;break;case 45:m===45&&Ge(x)==2&&(g=0)}}return i}function Fc(e,t,r,o,n,i,a,s,u,l,c){for(var d=n-1,f=n===0?i:[""],p=Au(f),m=0,g=0,h=0;m<o;++m)for(var b=0,C=ir(e,d+1,d=U9(g=a[m])),S=e;b<p;++b)(S=K2(g>0?f[b]+" "+C:ce(C,/&\f/g,f[b])))&&(u[h++]=S);return wn(e,t,r,n===0?Iu:s,u,l,c)}function l6(e,t,r){return wn(e,t,r,U2,Cn(r6()),ir(e,2,-2),0)}function Vc(e,t,r,o){return wn(e,t,r,Su,ir(e,0,o),ir(e,o+1,-1),o)}function Lt(e,t){for(var r="",o=Au(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function c6(e,t,r,o){switch(e.type){case J9:if(e.children.length)break;case q9:case Su:return e.return=e.return||e.value;case U2:return"";case Q2:return e.return=e.value+"{"+Lt(e.children,o)+"}";case Iu:e.value=e.props.join(",")}return Ge(r=Lt(e.children,o))?e.return=e.value+"{"+r+"}":""}function d6(e){var t=Au(e);return function(r,o,n,i){for(var a="",s=0;s<t;s++)a+=e[s](r,o,n,i)||"";return a}}function f6(e){return function(t){t.root||(t=t.return)&&e(t)}}function p6(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var g6=function(t,r,o){for(var n=0,i=0;n=i,i=Ze(),n===38&&i===12&&(r[o]=1),!ar(i);)Me();return hr(t,Pe)},v6=function(t,r){var o=-1,n=44;do switch(ar(n)){case 0:n===38&&Ze()===12&&(r[o]=1),t[o]+=g6(Pe-1,r,o);break;case 2:t[o]+=Lr(n);break;case 4:if(n===44){t[++o]=Ze()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Cn(n)}while(n=Me());return t},m6=function(t,r){return rp(v6(tp(t),r))},jc=new WeakMap,h6=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!jc.get(o))&&!n){jc.set(t,!0);for(var i=[],a=m6(r,i),s=o.props,u=0,l=0;u<a.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=i[u]?a[u].replace(/&\f/g,s[c]):s[c]+" "+a[u]}}},b6=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function np(e,t){switch(K9(e,t)){case 5103:return le+"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 le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return le+e+Ur+e+Ae+e+e;case 6828:case 4268:return le+e+Ae+e+e;case 6165:return le+e+Ae+"flex-"+e+e;case 5187:return le+e+ce(e,/(\w+).+(:[^]+)/,le+"box-$1$2"+Ae+"flex-$1$2")+e;case 5443:return le+e+Ae+"flex-item-"+ce(e,/flex-|-self/,"")+e;case 4675:return le+e+Ae+"flex-line-pack"+ce(e,/align-content|flex-|-self/,"")+e;case 5548:return le+e+Ae+ce(e,"shrink","negative")+e;case 5292:return le+e+Ae+ce(e,"basis","preferred-size")+e;case 6060:return le+"box-"+ce(e,"-grow","")+le+e+Ae+ce(e,"grow","positive")+e;case 4554:return le+ce(e,/([^-])(transform)/g,"$1"+le+"$2")+e;case 6187:return ce(ce(ce(e,/(zoom-|grab)/,le+"$1"),/(image-set)/,le+"$1"),e,"")+e;case 5495:case 3959:return ce(e,/(image-set\([^]*)/,le+"$1$`$1");case 4968:return ce(ce(e,/(.+:)(flex-)?(.*)/,le+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+le+e+e;case 4095:case 3583:case 4068:case 2532:return ce(e,/(.+)-inline(.+)/,le+"$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(Ge(e)-1-t>6)switch(Ie(e,t+1)){case 109:if(Ie(e,t+4)!==45)break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+le+"$2-$3$1"+Ur+(Ie(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ba(e,"stretch")?np(ce(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ie(e,t+1)!==115)break;case 6444:switch(Ie(e,Ge(e)-3-(~ba(e,"!important")&&10))){case 107:return ce(e,":",":"+le)+e;case 101:return ce(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+le+(Ie(e,14)===45?"inline-":"")+"box$3$1"+le+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch(Ie(e,t+11)){case 114:return le+e+Ae+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return le+e+Ae+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return le+e+Ae+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return le+e+Ae+e+e}return e}var y6=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case Su:t.return=np(t.value,t.length);break;case Q2:return Lt([Jt(t,{value:ce(t.value,"@","@"+le)})],n);case Iu:if(t.length)return t6(t.props,function(i){switch(e6(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Lt([Jt(t,{props:[ce(i,/:(read-\w+)/,":"+Ur+"$1")]})],n);case"::placeholder":return Lt([Jt(t,{props:[ce(i,/:(plac\w+)/,":"+le+"input-$1")]}),Jt(t,{props:[ce(i,/:(plac\w+)/,":"+Ur+"$1")]}),Jt(t,{props:[ce(i,/:(plac\w+)/,Ae+"input-$1")]})],n)}return""})}},C6=[y6],x6=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(g){var h=g.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=t.stylisPlugins||C6,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var h=g.getAttribute("data-emotion").split(" "),b=1;b<h.length;b++)i[h[b]]=!0;s.push(g)});var u,l=[h6,b6];{var c,d=[c6,f6(function(g){c.insert(g)})],f=d6(l.concat(n,d)),p=function(h){return Lt(s6(h),f)};u=function(h,b,C,S){c=C,p(h?h+"{"+b.styles+"}":b.styles),S&&(m.inserted[b.name]=!0)}}var m={key:r,sheet:new Y9({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return m.sheet.hydrate(s),m},op=lr(),w6={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},I6={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ip={};ip[op.ForwardRef]=w6;ip[op.Memo]=I6;var S6=!0;function A6(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(o+=n+" ")}),o}var ap=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||S6===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles)},E6=function(t,r,o){ap(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function R6(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 P6={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},O6=/[A-Z]|^ms/g,_6=/_EMO_([^_]+?)_([^]*?)_EMO_/g,up=function(t){return t.charCodeAt(1)===45},Bc=function(t){return t!=null&&typeof t!="boolean"},zi=p6(function(e){return up(e)?e:e.replace(O6,"-$&").toLowerCase()}),Lc=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(_6,function(o,n,i){return We={name:n,styles:i,next:We},n})}return P6[t]!==1&&!up(t)&&typeof r=="number"&&r!==0?r+"px":r};function ur(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return We={name:n.name,styles:n.styles,next:We},n.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)We={name:a.name,styles:a.styles,next:We},a=a.next;var s=i.styles+";";return s}return T6(e,t,r)}case"function":{if(e!==void 0){var u=We,l=r(e);return We=u,ur(e,t,l)}break}}var c=r;return c}function T6(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=ur(e,t,r[n])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;Bc(s)&&(o+=zi(i)+":"+Lc(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var u=0;u<a.length;u++)Bc(a[u])&&(o+=zi(i)+":"+Lc(i,a[u])+";");else{var l=ur(e,t,a);switch(i){case"animation":case"animationName":{o+=zi(i)+":"+l+";";break}default:o+=i+"{"+l+"}"}}}return o}var Dc=/label:\s*([^\s;{]+)\s*(;|$)/g,We;function sp(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";We=void 0;var i=e[0];if(i==null||i.raw===void 0)o=!1,n+=ur(r,t,i);else{var a=i;n+=a[0]}for(var s=1;s<e.length;s++)if(n+=ur(r,t,e[s]),o){var u=i;n+=u[s]}Dc.lastIndex=0;for(var l="",c;(c=Dc.exec(n))!==null;)l+="-"+c[1];var d=R6(n)+l;return{name:d,styles:n,next:We}}var M6=function(t){return t()},N6=y.useInsertionEffect?y.useInsertionEffect:!1,F6=N6||M6,lp=y.createContext(typeof HTMLElement<"u"?x6({key:"css"}):null);lp.Provider;var V6=function(t){return V.forwardRef(function(r,o){var n=V.useContext(lp);return t(r,n,o)})},j6=y.createContext({}),Eu={}.hasOwnProperty,Ca="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",B6=function(t,r){var o={};for(var n in r)Eu.call(r,n)&&(o[n]=r[n]);return o[Ca]=t,o},L6=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return ap(r,o,n),F6(function(){return E6(r,o,n)}),null},D6=V6(function(e,t,r){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var n=e[Ca],i=[o],a="";typeof e.className=="string"?a=A6(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=sp(i,void 0,y.useContext(j6));a+=t.key+"-"+s.name;var u={};for(var l in e)Eu.call(e,l)&&l!=="css"&&l!==Ca&&(u[l]=e[l]);return u.className=a,r&&(u.ref=r),y.createElement(y.Fragment,null,y.createElement(L6,{cache:t,serialized:s,isStringTag:typeof n=="string"}),y.createElement(n,u))}),G6=D6,Q=function(t,r){var o=arguments;if(r==null||!Eu.call(r,"css"))return y.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=G6,i[1]=B6(t,r);for(var a=2;a<n;a++)i[a]=o[a];return y.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Q||(Q={}));function Ru(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return sp(t)}function W6(){var e=Ru.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function k6(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xa=V.useLayoutEffect,H6=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Qr=function(){};function Z6(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function X6(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var i=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Z6(e,a)));return i.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var Kr=function(t){return t8(t)?t.filter(Boolean):yt(t)==="object"&&t!==null?[t]:[]},cp=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var r=De(t,H6);return J({},r)},he=function(t,r,o){var n=t.cx,i=t.getStyles,a=t.getClassNames,s=t.className;return{css:i(r,t),className:n(o??{},a(r,t),s)}};function $6(e,t,r){if(r){var o=r(e,t);if(typeof o=="string")return o}return e}function In(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function z6(e){return In(e)?window.innerHeight:e.clientHeight}function dp(e){return In(e)?window.pageYOffset:e.scrollTop}function en(e,t){if(In(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Y6(e){var t=getComputedStyle(e),r=t.position==="absolute",o=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var n=e;n=n.parentElement;)if(t=getComputedStyle(n),!(r&&t.position==="static")&&o.test(t.overflow+t.overflowY+t.overflowX))return n;return document.documentElement}function q6(e,t,r,o){return r*((e=e/o-1)*e*e+1)+t}function Or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Qr,n=dp(e),i=t-n,a=10,s=0;function u(){s+=a;var l=q6(s,n,i,r);en(e,l),s<r?window.requestAnimationFrame(u):o(e)}u()}function Gc(e,t){var r=e.getBoundingClientRect(),o=t.getBoundingClientRect(),n=t.offsetHeight/3;o.bottom+n>r.bottom?en(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+n,e.scrollHeight)):o.top-n<r.top&&en(e,Math.max(t.offsetTop-n,0))}function J6(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 Wc(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function U6(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var fp=!1,Q6={get passive(){return fp=!0}},_r=typeof window<"u"?window:{};_r.addEventListener&&_r.removeEventListener&&(_r.addEventListener("p",Qr,Q6),_r.removeEventListener("p",Qr,!1));var K6=fp;function e8(e){return e!=null}function t8(e){return Array.isArray(e)}function er(e,t,r){return e?t:r}var r8=function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var i=Object.entries(t).filter(function(a){var s=we(a,1),u=s[0];return!o.includes(u)});return i.reduce(function(a,s){var u=we(s,2),l=u[0],c=u[1];return a[l]=c,a},{})},n8=["children","innerProps"],o8=["children","innerProps"];function i8(e){var t=e.maxHeight,r=e.menuEl,o=e.minHeight,n=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=Y6(r),l={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return l;var c=u.getBoundingClientRect(),d=c.height,f=r.getBoundingClientRect(),p=f.bottom,m=f.height,g=f.top,h=r.offsetParent.getBoundingClientRect(),b=h.top,C=a?window.innerHeight:z6(u),S=dp(u),w=parseInt(getComputedStyle(r).marginBottom,10),I=parseInt(getComputedStyle(r).marginTop,10),A=b-I,x=C-g,E=A+S,P=d-S-g,_=p-C+S+w,L=S+g-I,j=160;switch(n){case"auto":case"bottom":if(x>=m)return{placement:"bottom",maxHeight:t};if(P>=m&&!a)return i&&Or(u,_,j),{placement:"bottom",maxHeight:t};if(!a&&P>=o||a&&x>=o){i&&Or(u,_,j);var O=a?x-w:P-w;return{placement:"bottom",maxHeight:O}}if(n==="auto"||a){var N=t,T=a?A:E;return T>=o&&(N=Math.min(T-w-s,t)),{placement:"top",maxHeight:N}}if(n==="bottom")return i&&en(u,_),{placement:"bottom",maxHeight:t};break;case"top":if(A>=m)return{placement:"top",maxHeight:t};if(E>=m&&!a)return i&&Or(u,L,j),{placement:"top",maxHeight:t};if(!a&&E>=o||a&&A>=o){var M=t;return(!a&&E>=o||a&&A>=o)&&(M=a?A-I:E-I),i&&Or(u,L,j),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return l}function a8(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var pp=function(t){return t==="auto"?"bottom":t},u8=function(t,r){var o,n=t.placement,i=t.theme,a=i.borderRadius,s=i.spacing,u=i.colors;return J((o={label:"menu"},Nt(o,a8(n),"100%"),Nt(o,"position","absolute"),Nt(o,"width","100%"),Nt(o,"zIndex",1),o),r?{}:{backgroundColor:u.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},gp=V.createContext(null),s8=function(t){var r=t.children,o=t.minMenuHeight,n=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,u=t.theme,l=V.useContext(gp)||{},c=l.setPortalPlacement,d=V.useRef(null),f=V.useState(n),p=we(f,2),m=p[0],g=p[1],h=V.useState(null),b=we(h,2),C=b[0],S=b[1],w=u.spacing.controlHeight;return xa(function(){var I=d.current;if(I){var A=a==="fixed",x=s&&!A,E=i8({maxHeight:n,menuEl:I,minHeight:o,placement:i,shouldScroll:x,isFixedPosition:A,controlHeight:w});g(E.maxHeight),S(E.placement),c==null||c(E.placement)}},[n,i,a,s,o,c,w]),r({ref:d,placerProps:J(J({},t),{},{placement:C||pp(i),maxHeight:m})})},l8=function(t){var r=t.children,o=t.innerRef,n=t.innerProps;return Q("div",ee({},he(t,"menu",{menu:!0}),{ref:o},n),r)},c8=l8,d8=function(t,r){var o=t.maxHeight,n=t.theme.spacing.baseUnit;return J({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},f8=function(t){var r=t.children,o=t.innerProps,n=t.innerRef,i=t.isMulti;return Q("div",ee({},he(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},o),r)},vp=function(t,r){var o=t.theme,n=o.spacing.baseUnit,i=o.colors;return J({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},p8=vp,g8=vp,v8=function(t){var r=t.children,o=r===void 0?"No options":r,n=t.innerProps,i=De(t,n8);return Q("div",ee({},he(J(J({},i),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},m8=function(t){var r=t.children,o=r===void 0?"Loading...":r,n=t.innerProps,i=De(t,o8);return Q("div",ee({},he(J(J({},i),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},h8=function(t){var r=t.rect,o=t.offset,n=t.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},b8=function(t){var r=t.appendTo,o=t.children,n=t.controlElement,i=t.innerProps,a=t.menuPlacement,s=t.menuPosition,u=V.useRef(null),l=V.useRef(null),c=V.useState(pp(a)),d=we(c,2),f=d[0],p=d[1],m=V.useMemo(function(){return{setPortalPlacement:p}},[]),g=V.useState(null),h=we(g,2),b=h[0],C=h[1],S=V.useCallback(function(){if(n){var x=J6(n),E=s==="fixed"?0:window.pageYOffset,P=x[f]+E;(P!==(b==null?void 0:b.offset)||x.left!==(b==null?void 0:b.rect.left)||x.width!==(b==null?void 0:b.rect.width))&&C({offset:P,rect:x})}},[n,s,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);xa(function(){S()},[S]);var w=V.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),n&&u.current&&(l.current=uu(n,u.current,S,{elementResize:"ResizeObserver"in window}))},[n,S]);xa(function(){w()},[w]);var I=V.useCallback(function(x){u.current=x,w()},[w]);if(!r&&s!=="fixed"||!b)return null;var A=Q("div",ee({ref:I},he(J(J({},t),{},{offset:b.offset,position:s,rect:b.rect}),"menuPortal",{"menu-portal":!0}),i),o);return Q(gp.Provider,{value:m},r?Qe.createPortal(A,r):A)},y8=function(t){var r=t.isDisabled,o=t.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},C8=function(t){var r=t.children,o=t.innerProps,n=t.isDisabled,i=t.isRtl;return Q("div",ee({},he(t,"container",{"--is-disabled":n,"--is-rtl":i}),o),r)},x8=function(t,r){var o=t.theme.spacing,n=t.isMulti,i=t.hasValue,a=t.selectProps.controlShouldRenderValue;return J({alignItems:"center",display:n&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},w8=function(t){var r=t.children,o=t.innerProps,n=t.isMulti,i=t.hasValue;return Q("div",ee({},he(t,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),o),r)},I8=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},S8=function(t){var r=t.children,o=t.innerProps;return Q("div",ee({},he(t,"indicatorsContainer",{indicators:!0}),o),r)},kc,A8=["size"],E8=["innerProps","isRtl","size"];function R8(){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 P8=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:R8},mp=function(t){var r=t.size,o=De(t,A8);return Q("svg",ee({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:P8},o))},Pu=function(t){return Q(mp,ee({size:20},t),Q("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"}))},hp=function(t){return Q(mp,ee({size:20},t),Q("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"}))},bp=function(t,r){var o=t.isFocused,n=t.theme,i=n.spacing.baseUnit,a=n.colors;return J({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?a.neutral60:a.neutral20,padding:i*2,":hover":{color:o?a.neutral80:a.neutral40}})},O8=bp,_8=function(t){var r=t.children,o=t.innerProps;return Q("div",ee({},he(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||Q(hp,null))},T8=bp,M8=function(t){var r=t.children,o=t.innerProps;return Q("div",ee({},he(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||Q(Pu,null))},N8=function(t,r){var o=t.isDisabled,n=t.theme,i=n.spacing.baseUnit,a=n.colors;return J({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},F8=function(t){var r=t.innerProps;return Q("span",ee({},r,he(t,"indicatorSeparator",{"indicator-separator":!0})))},V8=W6(kc||(kc=k6([`
87
87
  0%, 80%, 100% { opacity: 0; }
88
88
  40% { opacity: 1; }
89
- `]))),j8=function(t,r){var o=t.isFocused,n=t.size,i=t.theme,a=i.colors,s=i.spacing.baseUnit;return J({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?a.neutral60:a.neutral20,padding:s*2})},Yi=function(t){var r=t.delay,o=t.offset;return Q("span",{css:Ru({animation:"".concat(V8," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},B8=function(t){var r=t.innerProps,o=t.isRtl,n=t.size,i=n===void 0?4:n,a=De(t,E8);return Q("div",ee({},he(J(J({},a),{},{innerProps:r,isRtl:o,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),Q(Yi,{delay:0,offset:o}),Q(Yi,{delay:160,offset:!0}),Q(Yi,{delay:320,offset:!o}))},L8=function(t,r){var o=t.isDisabled,n=t.isFocused,i=t.theme,a=i.colors,s=i.borderRadius,u=i.spacing;return J({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?a.neutral5:a.neutral0,borderColor:o?a.neutral10:n?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:n?a.primary:a.neutral30}})},D8=function(t){var r=t.children,o=t.isDisabled,n=t.isFocused,i=t.innerRef,a=t.innerProps,s=t.menuIsOpen;return Q("div",ee({ref:i},he(t,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":s}),a,{"aria-disabled":o||void 0}),r)},G8=D8,W8=["data"],k8=function(t,r){var o=t.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},H8=function(t){var r=t.children,o=t.cx,n=t.getStyles,i=t.getClassNames,a=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return Q("div",ee({},he(t,"group",{group:!0}),u),Q(a,ee({},s,{selectProps:d,theme:c,getStyles:n,getClassNames:i,cx:o}),l),Q("div",null,r))},Z8=function(t,r){var o=t.theme,n=o.colors,i=o.spacing;return J({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},X8=function(t){var r=cp(t);r.data;var o=De(r,W8);return Q("div",ee({},he(t,"groupHeading",{"group-heading":!0}),o))},$8=H8,z8=["innerRef","isDisabled","isHidden","inputClassName"],Y8=function(t,r){var o=t.isDisabled,n=t.value,i=t.theme,a=i.spacing,s=i.colors;return J(J({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},q8),r?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},yp={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},q8={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":J({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},yp)},J8=function(t){return J({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},yp)},U8=function(t){var r=t.cx,o=t.value,n=cp(t),i=n.innerRef,a=n.isDisabled,s=n.isHidden,u=n.inputClassName,l=De(n,z8);return Q("div",ee({},he(t,"input",{"input-container":!0}),{"data-value":o||""}),Q("input",ee({className:r({input:!0},u),ref:i,style:J8(s),disabled:a},l)))},Q8=U8,K8=function(t,r){var o=t.theme,n=o.spacing,i=o.borderRadius,a=o.colors;return J({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},e7=function(t,r){var o=t.theme,n=o.borderRadius,i=o.colors,a=t.cropWithEllipsis;return J({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},t7=function(t,r){var o=t.theme,n=o.spacing,i=o.borderRadius,a=o.colors,s=t.isFocused;return J({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Cp=function(t){var r=t.children,o=t.innerProps;return Q("div",o,r)},r7=Cp,n7=Cp;function o7(e){var t=e.children,r=e.innerProps;return Q("div",ee({role:"button"},r),t||Q(Pu,{size:14}))}var i7=function(t){var r=t.children,o=t.components,n=t.data,i=t.innerProps,a=t.isDisabled,s=t.removeProps,u=t.selectProps,l=o.Container,c=o.Label,d=o.Remove;return Q(l,{data:n,innerProps:J(J({},he(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:u},Q(c,{data:n,innerProps:J({},he(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},r),Q(d,{data:n,innerProps:J(J({},he(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},s),selectProps:u}))},a7=i7,u7=function(t,r){var o=t.isDisabled,n=t.isFocused,i=t.isSelected,a=t.theme,s=a.spacing,u=a.colors;return J({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?u.primary:n?u.primary25:"transparent",color:o?u.neutral20:i?u.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:i?u.primary:u.primary50}})},s7=function(t){var r=t.children,o=t.isDisabled,n=t.isFocused,i=t.isSelected,a=t.innerRef,s=t.innerProps;return Q("div",ee({},he(t,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":i}),{ref:a,"aria-disabled":o},s),r)},l7=s7,c7=function(t,r){var o=t.theme,n=o.spacing,i=o.colors;return J({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},d7=function(t){var r=t.children,o=t.innerProps;return Q("div",ee({},he(t,"placeholder",{placeholder:!0}),o),r)},f7=d7,p7=function(t,r){var o=t.isDisabled,n=t.theme,i=n.spacing,a=n.colors;return J({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},g7=function(t){var r=t.children,o=t.isDisabled,n=t.innerProps;return Q("div",ee({},he(t,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},v7=g7,xp={ClearIndicator:M8,Control:G8,DropdownIndicator:_8,DownChevron:hp,CrossIcon:Pu,Group:$8,GroupHeading:X8,IndicatorsContainer:S8,IndicatorSeparator:F8,Input:Q8,LoadingIndicator:B8,Menu:c8,MenuList:f8,MenuPortal:b8,LoadingMessage:m8,NoOptionsMessage:v8,MultiValue:a7,MultiValueContainer:r7,MultiValueLabel:n7,MultiValueRemove:o7,Option:l7,Placeholder:f7,SelectContainer:C8,SingleValue:v7,ValueContainer:w8},m7=function(t){return J(J({},xp),t.components)},Hc=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function h7(e,t){return!!(e===t||Hc(e)&&Hc(t))}function b7(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!h7(e[r],t[r]))return!1;return!0}function y7(e,t){t===void 0&&(t=b7);var r=null;function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var a=e.apply(this,n);return r={lastResult:a,lastArgs:n,lastThis:this},a}return o.clear=function(){r=null},o}function C7(){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 x7=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:C7},w7=function(t){return Q("span",ee({css:x7},t))},Zc=w7,I7={guidance:function(t){var r=t.isSearchable,o=t.isMulti,n=t.tabSelectsValue,i=t.context,a=t.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" 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 r=t.action,o=t.label,n=o===void 0?"":o,i=t.labels,a=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(t){var r=t.context,o=t.focused,n=t.options,i=t.label,a=i===void 0?"":i,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(g,h){return g&&g.length?"".concat(g.indexOf(h)+1," of ").concat(g.length):""};if(r==="value"&&s)return"value ".concat(a," focused, ").concat(d(s,o),".");if(r==="menu"&&c){var f=u?" disabled":"",p="".concat(l?" selected":"").concat(f);return"".concat(a).concat(p,", ").concat(d(n,o),".")}return""},onFilter:function(t){var r=t.inputValue,o=t.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},S7=function(t){var r=t.ariaSelection,o=t.focusedOption,n=t.focusedValue,i=t.focusableOptions,a=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=t.isAppleDevice,d=u.ariaLiveMessages,f=u.getOptionLabel,p=u.inputValue,m=u.isMulti,g=u.isOptionDisabled,h=u.isSearchable,b=u.menuIsOpen,C=u.options,S=u.screenReaderStatus,w=u.tabSelectsValue,I=u.isLoading,A=u["aria-label"],x=u["aria-live"],E=V.useMemo(function(){return J(J({},I7),d||{})},[d]),P=V.useMemo(function(){var T="";if(r&&E.onChange){var M=r.option,G=r.options,B=r.removedValue,Z=r.removedValues,R=r.value,F=function(q){return Array.isArray(q)?null:q},D=B||M||F(R),H=D?f(D):"",k=G||Z||void 0,X=k?k.map(f):[],$=J({isDisabled:D&&g(D,s),label:H,labels:X},r);T=E.onChange($)}return T},[r,E,g,s,f]),_=V.useMemo(function(){var T="",M=o||n,G=!!(o&&s&&s.includes(o));if(M&&E.onFocus){var B={focused:M,label:f(M),isDisabled:g(M,s),isSelected:G,options:i,context:M===o?"menu":"value",selectValue:s,isAppleDevice:c};T=E.onFocus(B)}return T},[o,n,f,g,E,i,s,c]),L=V.useMemo(function(){var T="";if(b&&C.length&&!I&&E.onFilter){var M=S({count:i.length});T=E.onFilter({inputValue:p,resultsMessage:M})}return T},[i,p,b,E,C,S,I]),j=(r==null?void 0:r.action)==="initial-input-focus",O=V.useMemo(function(){var T="";if(E.guidance){var M=n?"value":b?"menu":"input";T=E.guidance({"aria-label":A,context:M,isDisabled:o&&g(o,s),isMulti:m,isSearchable:h,tabSelectsValue:w,isInitialFocus:j})}return T},[A,o,n,m,g,h,b,E,s,w,j]),N=Q(V.Fragment,null,Q("span",{id:"aria-selection"},P),Q("span",{id:"aria-focused"},_),Q("span",{id:"aria-results"},L),Q("span",{id:"aria-guidance"},O));return Q(V.Fragment,null,Q(Zc,{id:l},j&&N),Q(Zc,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!j&&N))},A7=S7,wa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],E7=new RegExp("["+wa.map(function(e){return e.letters}).join("")+"]","g"),wp={};for(var qi=0;qi<wa.length;qi++)for(var Ji=wa[qi],Ui=0;Ui<Ji.letters.length;Ui++)wp[Ji.letters[Ui]]=Ji.base;var Ip=function(t){return t.replace(E7,function(r){return wp[r]})},R7=y7(Ip),Xc=function(t){return t.replace(/^\s+|\s+$/g,"")},P7=function(t){return"".concat(t.label," ").concat(t.value)},O7=function(t){return function(r,o){if(r.data.__isNew__)return!0;var n=J({ignoreCase:!0,ignoreAccents:!0,stringify:P7,trim:!0,matchFrom:"any"},t),i=n.ignoreCase,a=n.ignoreAccents,s=n.stringify,u=n.trim,l=n.matchFrom,c=u?Xc(o):o,d=u?Xc(s(r)):s(r);return i&&(c=c.toLowerCase(),d=d.toLowerCase()),a&&(c=R7(c),d=Ip(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},_7=["innerRef"];function T7(e){var t=e.innerRef,r=De(e,_7),o=r8(r,"onExited","in","enter","exit","appear");return Q("input",ee({ref:t},o,{css:Ru({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var M7=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function N7(e){var t=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,n=e.onTopArrive,i=e.onTopLeave,a=V.useRef(!1),s=V.useRef(!1),u=V.useRef(0),l=V.useRef(null),c=V.useCallback(function(h,b){if(l.current!==null){var C=l.current,S=C.scrollTop,w=C.scrollHeight,I=C.clientHeight,A=l.current,x=b>0,E=w-I-S,P=!1;E>b&&a.current&&(o&&o(h),a.current=!1),x&&s.current&&(i&&i(h),s.current=!1),x&&b>E?(r&&!a.current&&r(h),A.scrollTop=w,P=!0,a.current=!0):!x&&-b>S&&(n&&!s.current&&n(h),A.scrollTop=0,P=!0,s.current=!0),P&&M7(h)}},[r,o,n,i]),d=V.useCallback(function(h){c(h,h.deltaY)},[c]),f=V.useCallback(function(h){u.current=h.changedTouches[0].clientY},[]),p=V.useCallback(function(h){var b=u.current-h.changedTouches[0].clientY;c(h,b)},[c]),m=V.useCallback(function(h){if(h){var b=K6?{passive:!1}:!1;h.addEventListener("wheel",d,b),h.addEventListener("touchstart",f,b),h.addEventListener("touchmove",p,b)}},[p,f,d]),g=V.useCallback(function(h){h&&(h.removeEventListener("wheel",d,!1),h.removeEventListener("touchstart",f,!1),h.removeEventListener("touchmove",p,!1))},[p,f,d]);return V.useEffect(function(){if(t){var h=l.current;return m(h),function(){g(h)}}},[t,m,g]),function(h){l.current=h}}var $c=["boxSizing","height","overflow","paddingRight","position"],zc={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Yc(e){e.cancelable&&e.preventDefault()}function qc(e){e.stopPropagation()}function Jc(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Uc(){return"ontouchstart"in window||navigator.maxTouchPoints}var Qc=!!(typeof window<"u"&&window.document&&window.document.createElement),Ut=0,_t={capture:!1,passive:!1};function F7(e){var t=e.isEnabled,r=e.accountForScrollbars,o=r===void 0?!0:r,n=V.useRef({}),i=V.useRef(null),a=V.useCallback(function(u){if(Qc){var l=document.body,c=l&&l.style;if(o&&$c.forEach(function(m){var g=c&&c[m];n.current[m]=g}),o&&Ut<1){var d=parseInt(n.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(zc).forEach(function(m){var g=zc[m];c&&(c[m]=g)}),c&&(c.paddingRight="".concat(p,"px"))}l&&Uc()&&(l.addEventListener("touchmove",Yc,_t),u&&(u.addEventListener("touchstart",Jc,_t),u.addEventListener("touchmove",qc,_t))),Ut+=1}},[o]),s=V.useCallback(function(u){if(Qc){var l=document.body,c=l&&l.style;Ut=Math.max(Ut-1,0),o&&Ut<1&&$c.forEach(function(d){var f=n.current[d];c&&(c[d]=f)}),l&&Uc()&&(l.removeEventListener("touchmove",Yc,_t),u&&(u.removeEventListener("touchstart",Jc,_t),u.removeEventListener("touchmove",qc,_t)))}},[o]);return V.useEffect(function(){if(t){var u=i.current;return a(u),function(){s(u)}}},[t,a,s]),function(u){i.current=u}}function V7(){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 j7=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},B7=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:V7};function L7(e){var t=e.children,r=e.lockEnabled,o=e.captureEnabled,n=o===void 0?!0:o,i=e.onBottomArrive,a=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=N7({isEnabled:n,onBottomArrive:i,onBottomLeave:a,onTopArrive:s,onTopLeave:u}),c=F7({isEnabled:r}),d=function(p){l(p),c(p)};return Q(V.Fragment,null,r&&Q("div",{onClick:j7,css:B7}),t(d))}function D7(){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 G7=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:D7},W7=function(t){var r=t.name,o=t.onFocus;return Q("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:G7,value:"",onChange:function(){}})},k7=W7;function Ou(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function H7(){return Ou(/^iPhone/i)}function Sp(){return Ou(/^Mac/i)}function Z7(){return Ou(/^iPad/i)||Sp()&&navigator.maxTouchPoints>1}function X7(){return H7()||Z7()}function $7(){return Sp()||X7()}var z7=function(t){return t.label},Ap=function(t){return t.label},Ep=function(t){return t.value},Y7=function(t){return!!t.isDisabled},q7={clearIndicator:T8,container:y8,control:L8,dropdownIndicator:O8,group:k8,groupHeading:Z8,indicatorsContainer:I8,indicatorSeparator:N8,input:Y8,loadingIndicator:j8,loadingMessage:g8,menu:u8,menuList:d8,menuPortal:h8,multiValue:K8,multiValueLabel:e7,multiValueRemove:t7,noOptionsMessage:p8,option:u7,placeholder:c7,singleValue:p7,valueContainer:x8},J7={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%)"},U7=4,Rp=4,Q7=38,K7=Rp*2,ey={baseUnit:Rp,controlHeight:Q7,menuGutter:K7},Qi={borderRadius:U7,colors:J7,spacing:ey},ty={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Wc(),captureMenuScroll:!Wc(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:O7(),formatGroupLabel:z7,getOptionLabel:Ap,getOptionValue:Ep,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Y7,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!U6(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Kc(e,t,r,o){var n=_p(e,t,r),i=Tp(e,t,r),a=Op(e,t),s=tn(e,t);return{type:"option",data:t,isDisabled:n,isSelected:i,label:a,value:s,index:o}}function Gr(e,t){return e.options.map(function(r,o){if("options"in r){var n=r.options.map(function(a,s){return Kc(e,a,t,s)}).filter(function(a){return t1(e,a)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var i=Kc(e,r,t,o);return t1(e,i)?i:void 0}).filter(e8)}function Pp(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,Bt(r.options.map(function(o){return o.data}))):t.push(r.data),t},[])}function e1(e,t){return e.reduce(function(r,o){return o.type==="group"?r.push.apply(r,Bt(o.options.map(function(n){return{data:n.data,id:"".concat(t,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(t,"-").concat(o.index)}),r},[])}function ry(e,t){return Pp(Gr(e,t))}function t1(e,t){var r=e.inputValue,o=r===void 0?"":r,n=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Np(e)||!i)&&Mp(e,{label:a,value:s,data:n},o)}function ny(e,t){var r=e.focusedValue,o=e.selectValue,n=o.indexOf(r);if(n>-1){var i=t.indexOf(r);if(i>-1)return r;if(n<t.length)return t[n]}return null}function oy(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var Ki=function(t,r){var o,n=(o=t.find(function(i){return i.data===r}))===null||o===void 0?void 0:o.id;return n||null},Op=function(t,r){return t.getOptionLabel(r)},tn=function(t,r){return t.getOptionValue(r)};function _p(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function Tp(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var o=tn(e,t);return r.some(function(n){return tn(e,n)===o})}function Mp(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var Np=function(t){var r=t.hideSelectedOptions,o=t.isMulti;return r===void 0?o:r},iy=1,Sn=function(e){D9(r,e);var t=k9(r);function r(o){var n;if(B9(this,r),n=t.call(this,o),n.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(u){n.controlRef=u},n.focusedOptionRef=null,n.getFocusedOptionRef=function(u){n.focusedOptionRef=u},n.menuListRef=null,n.getMenuListRef=function(u){n.menuListRef=u},n.inputRef=null,n.getInputRef=function(u){n.inputRef=u},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(u,l){var c=n.props,d=c.onChange,f=c.name;l.name=f,n.ariaOnChange(u,l),d(u,l)},n.setValue=function(u,l,c){var d=n.props,f=d.closeMenuOnSelect,p=d.isMulti,m=d.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(n.setState({inputIsHiddenAfterUpdate:!p}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(u,{action:l,option:c})},n.selectOption=function(u){var l=n.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,p=n.state.selectValue,m=d&&n.isOptionSelected(u,p),g=n.isOptionDisabled(u,p);if(m){var h=n.getOptionValue(u);n.setValue(p.filter(function(b){return n.getOptionValue(b)!==h}),"deselect-option",u)}else if(!g)d?n.setValue([].concat(Bt(p),[u]),"select-option",u):n.setValue(u,"select-option");else{n.ariaOnChange(u,{action:"select-option",option:u,name:f});return}c&&n.blurInput()},n.removeValue=function(u){var l=n.props.isMulti,c=n.state.selectValue,d=n.getOptionValue(u),f=c.filter(function(m){return n.getOptionValue(m)!==d}),p=er(l,f,f[0]||null);n.onChange(p,{action:"remove-value",removedValue:u}),n.focusInput()},n.clearValue=function(){var u=n.state.selectValue;n.onChange(er(n.props.isMulti,[],null),{action:"clear",removedValues:u})},n.popValue=function(){var u=n.props.isMulti,l=n.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=er(u,d,d[0]||null);c&&n.onChange(f,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(u){return Ki(n.state.focusableOptionsWithIds,u)},n.getFocusableOptionsWithIds=function(){return e1(Gr(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];return X6.apply(void 0,[n.props.classNamePrefix].concat(l))},n.getOptionLabel=function(u){return Op(n.props,u)},n.getOptionValue=function(u){return tn(n.props,u)},n.getStyles=function(u,l){var c=n.props.unstyled,d=q7[u](l,c);d.boxSizing="border-box";var f=n.props.styles[u];return f?f(d,l):d},n.getClassNames=function(u,l){var c,d;return(c=(d=n.props.classNames)[u])===null||c===void 0?void 0:c.call(d,l)},n.getElementId=function(u){return"".concat(n.state.instancePrefix,"-").concat(u)},n.getComponents=function(){return m7(n.props)},n.buildCategorizedOptions=function(){return Gr(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return Pp(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(u,l){n.setState({ariaSelection:J({value:u},l)})},n.onMenuMouseDown=function(u){u.button===0&&(u.stopPropagation(),u.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(u){n.blockOptionHover=!1},n.onControlMouseDown=function(u){if(!u.defaultPrevented){var l=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&n.onMenuClose():l&&n.openMenu("first"):(l&&(n.openAfterFocus=!0),n.focusInput()),u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&u.preventDefault()}},n.onDropdownIndicatorMouseDown=function(u){if(!(u&&u.type==="mousedown"&&u.button!==0)&&!n.props.isDisabled){var l=n.props,c=l.isMulti,d=l.menuIsOpen;n.focusInput(),d?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),u.preventDefault()}},n.onClearIndicatorMouseDown=function(u){u&&u.type==="mousedown"&&u.button!==0||(n.clearValue(),u.preventDefault(),n.openAfterFocus=!1,u.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(u){typeof n.props.closeMenuOnScroll=="boolean"?u.target instanceof HTMLElement&&In(u.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(u)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(u){var l=u.touches,c=l&&l.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(u){var l=u.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-n.initialTouchX),f=Math.abs(c.clientY-n.initialTouchY),p=5;n.userIsDragging=d>p||f>p}},n.onTouchEnd=function(u){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(u.target)&&n.menuListRef&&!n.menuListRef.contains(u.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(u){n.userIsDragging||n.onControlMouseDown(u)},n.onClearIndicatorTouchEnd=function(u){n.userIsDragging||n.onClearIndicatorMouseDown(u)},n.onDropdownIndicatorTouchEnd=function(u){n.userIsDragging||n.onDropdownIndicatorMouseDown(u)},n.handleInputChange=function(u){var l=n.props.inputValue,c=u.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:l}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(u){n.props.onFocus&&n.props.onFocus(u),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(u){var l=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(u),n.onInputChange("",{action:"input-blur",prevInputValue:l}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(u){if(!(n.blockOptionHover||n.state.focusedOption===u)){var l=n.getFocusableOptions(),c=l.indexOf(u);n.setState({focusedOption:u,focusedOptionId:c>-1?n.getFocusedOptionId(u):null})}},n.shouldHideSelectedOptions=function(){return Np(n.props)},n.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),n.focus()},n.onKeyDown=function(u){var l=n.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,m=l.isClearable,g=l.isDisabled,h=l.menuIsOpen,b=l.onKeyDown,C=l.tabSelectsValue,S=l.openMenuOnFocus,w=n.state,I=w.focusedOption,A=w.focusedValue,x=w.selectValue;if(!g&&!(typeof b=="function"&&(b(u),u.defaultPrevented))){switch(n.blockOptionHover=!0,u.key){case"ArrowLeft":if(!c||p)return;n.focusValue("previous");break;case"ArrowRight":if(!c||p)return;n.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(A)n.removeValue(A);else{if(!d)return;c?n.popValue():m&&n.clearValue()}break;case"Tab":if(n.isComposing||u.shiftKey||!h||!C||!I||S&&n.isOptionSelected(I,x))return;n.selectOption(I);break;case"Enter":if(u.keyCode===229)break;if(h){if(!I||n.isComposing)return;n.selectOption(I);break}return;case"Escape":h?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:p}),n.onMenuClose()):m&&f&&n.clearValue();break;case" ":if(p)return;if(!h){n.openMenu("first");break}if(!I)return;n.selectOption(I);break;case"ArrowUp":h?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":h?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!h)return;n.focusOption("pageup");break;case"PageDown":if(!h)return;n.focusOption("pagedown");break;case"Home":if(!h)return;n.focusOption("first");break;case"End":if(!h)return;n.focusOption("last");break;default:return}u.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++iy),n.state.selectValue=Kr(o.value),o.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),a=n.buildFocusableOptions(),s=a.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=a[s],n.state.focusedOptionId=Ki(i,a[s])}return n}return L9(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Gc(this.menuListRef,this.focusedOptionRef),$7()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,a=i.isDisabled,s=i.menuIsOpen,u=this.state.isFocused;(u&&!a&&n.isDisabled||u&&s&&!n.menuIsOpen)&&this.focusInput(),u&&a&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!a&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Gc(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(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,a=this.state,s=a.selectValue,u=a.isFocused,l=this.buildFocusableOptions(),c=n==="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],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,a=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=a.indexOf(s);s||(u=-1);var l=a.length-1,c=-1;if(a.length){switch(n){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:a[c]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(a);a||(l=-1),n==="up"?u=l>0?l-1:s.length-1:n==="down"?u=(l+1)%s.length:n==="pageup"?(u=l-i,u<0&&(u=0)):n==="pagedown"?(u=l+i,u>s.length-1&&(u=s.length-1)):n==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[u])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qi):J(J({},Qi),this.props.theme):Qi}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,a=this.getStyles,s=this.getClassNames,u=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,m=d.options,g=this.hasValue();return{clearValue:n,cx:i,getStyles:a,getClassNames:s,getValue:u,hasValue:g,isMulti:f,isRtl:p,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,a=n.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(n,i){return _p(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return Tp(this.props,n,i)}},{key:"filterOption",value:function(n,i){return Mp(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:a,selectValue:s})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{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 n=this.props,i=n.isDisabled,a=n.isSearchable,s=n.inputId,u=n.inputValue,l=n.tabIndex,c=n.form,d=n.menuIsOpen,f=n.required,p=this.getComponents(),m=p.Input,g=this.state,h=g.inputIsHidden,b=g.ariaSelection,C=this.commonProps,S=s||this.getElementId("input"),w=J(J(J({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?y.createElement(m,ee({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:i,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},w)):y.createElement(T7,ee({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Qr,onFocus:this.onInputFocus,disabled:i,tabIndex:l,inputMode:"none",form:c,value:""},w))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),a=i.MultiValue,s=i.MultiValueContainer,u=i.MultiValueLabel,l=i.MultiValueRemove,c=i.SingleValue,d=i.Placeholder,f=this.commonProps,p=this.props,m=p.controlShouldRenderValue,g=p.isDisabled,h=p.isMulti,b=p.inputValue,C=p.placeholder,S=this.state,w=S.selectValue,I=S.focusedValue,A=S.isFocused;if(!this.hasValue()||!m)return b?null:y.createElement(d,ee({},f,{key:"placeholder",isDisabled:g,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),C);if(h)return w.map(function(E,P){var _=E===I,L="".concat(n.getOptionLabel(E),"-").concat(n.getOptionValue(E));return y.createElement(a,ee({},f,{components:{Container:s,Label:u,Remove:l},isFocused:_,isDisabled:g,key:L,index:P,removeProps:{onClick:function(){return n.removeValue(E)},onTouchEnd:function(){return n.removeValue(E)},onMouseDown:function(O){O.preventDefault()}},data:E}),n.formatOptionLabel(E,"value"))});if(b)return null;var x=w[0];return y.createElement(c,ee({},f,{data:x,isDisabled:g}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,a=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return y.createElement(i,ee({},a,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,a=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!i||!l)return null;var d={"aria-hidden":"true"};return y.createElement(i,ee({},a,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,a=n.IndicatorSeparator;if(!i||!a)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return y.createElement(a,ee({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var a=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return y.createElement(i,ee({},a,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),a=i.Group,s=i.GroupHeading,u=i.Menu,l=i.MenuList,c=i.MenuPortal,d=i.LoadingMessage,f=i.NoOptionsMessage,p=i.Option,m=this.commonProps,g=this.state.focusedOption,h=this.props,b=h.captureMenuScroll,C=h.inputValue,S=h.isLoading,w=h.loadingMessage,I=h.minMenuHeight,A=h.maxMenuHeight,x=h.menuIsOpen,E=h.menuPlacement,P=h.menuPosition,_=h.menuPortalTarget,L=h.menuShouldBlockScroll,j=h.menuShouldScrollIntoView,O=h.noOptionsMessage,N=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var M=function(H,k){var X=H.type,$=H.data,Y=H.isDisabled,q=H.isSelected,U=H.label,K=H.value,re=g===$,W=Y?void 0:function(){return n.onOptionHover($)},te=Y?void 0:function(){return n.selectOption($)},ae="".concat(n.getElementId("option"),"-").concat(k),se={id:ae,onClick:te,onMouseMove:W,onMouseOver:W,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:q};return y.createElement(p,ee({},m,{innerProps:se,data:$,isDisabled:Y,isSelected:q,key:ae,label:U,type:X,value:K,isFocused:re,innerRef:re?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(H.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function(D){if(D.type==="group"){var H=D.data,k=D.options,X=D.index,$="".concat(n.getElementId("group"),"-").concat(X),Y="".concat($,"-heading");return y.createElement(a,ee({},m,{key:$,data:H,options:k,Heading:s,headingProps:{id:Y,data:D.data},label:n.formatGroupLabel(D.data)}),D.options.map(function(q){return M(q,"".concat(X,"-").concat(q.index))}))}else if(D.type==="option")return M(D,"".concat(D.index))});else if(S){var B=w({inputValue:C});if(B===null)return null;G=y.createElement(d,m,B)}else{var Z=O({inputValue:C});if(Z===null)return null;G=y.createElement(f,m,Z)}var R={minMenuHeight:I,maxMenuHeight:A,menuPlacement:E,menuPosition:P,menuShouldScrollIntoView:j},F=y.createElement(s8,ee({},m,R),function(D){var H=D.ref,k=D.placerProps,X=k.placement,$=k.maxHeight;return y.createElement(u,ee({},m,R,{innerRef:H,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:S,placement:X}),y.createElement(L7,{captureEnabled:b,onTopArrive:N,onBottomArrive:T,lockEnabled:L},function(Y){return y.createElement(l,ee({},m,{innerRef:function(U){n.getMenuListRef(U),Y(U)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:n.getElementId("listbox")},isLoading:S,maxHeight:$,focusedOption:g}),G)}))});return _||P==="fixed"?y.createElement(c,ee({},m,{appendTo:_,controlElement:this.controlRef,menuPlacement:E,menuPosition:P}),F):F}},{key:"renderFormField",value:function(){var n=this,i=this.props,a=i.delimiter,s=i.isDisabled,u=i.isMulti,l=i.name,c=i.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!s)return y.createElement(k7,{name:l,onFocus:this.onValueInputFocus});if(!(!l||s))if(u)if(a){var f=d.map(function(g){return n.getOptionValue(g)}).join(a);return y.createElement("input",{name:l,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,h){return y.createElement("input",{key:"i-".concat(h),name:l,type:"hidden",value:n.getOptionValue(g)})}):y.createElement("input",{name:l,type:"hidden",value:""});return y.createElement("div",null,p)}else{var m=d[0]?this.getOptionValue(d[0]):"";return y.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,a=i.ariaSelection,s=i.focusedOption,u=i.focusedValue,l=i.isFocused,c=i.selectValue,d=this.getFocusableOptions();return y.createElement(A7,ee({},n,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,a=n.IndicatorsContainer,s=n.SelectContainer,u=n.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,p=l.menuIsOpen,m=this.state.isFocused,g=this.commonProps=this.getCommonProps();return y.createElement(s,ee({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),y.createElement(i,ee({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:p}),y.createElement(u,ee({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),y.createElement(a,ee({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var a=i.prevProps,s=i.clearFocusValueOnUpdate,u=i.inputIsHiddenAfterUpdate,l=i.ariaSelection,c=i.isFocused,d=i.prevWasFocused,f=i.instancePrefix,p=n.options,m=n.value,g=n.menuIsOpen,h=n.inputValue,b=n.isMulti,C=Kr(m),S={};if(a&&(m!==a.value||p!==a.options||g!==a.menuIsOpen||h!==a.inputValue)){var w=g?ry(n,C):[],I=g?e1(Gr(n,C),"".concat(f,"-option")):[],A=s?ny(i,C):null,x=oy(i,w),E=Ki(I,x);S={selectValue:C,focusedOption:x,focusedOptionId:E,focusableOptionsWithIds:I,focusedValue:A,clearFocusValueOnUpdate:!1}}var P=u!=null&&n!==a?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},_=l,L=c&&d;return c&&!L&&(_={value:er(b,C,C[0]||null),options:C,action:"initial-input-focus"},L=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(_=null),J(J(J({},S),P),{},{prevProps:n,ariaSelection:_,prevWasFocused:L})}}]),r}(V.Component);Sn.defaultProps=ty;var ay=V.forwardRef(function(e,t){var r=wu(e);return y.createElement(Sn,ee({ref:t},r))}),uy=ay,sy=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function ly(e){var t=e.defaultOptions,r=t===void 0?!1:t,o=e.cacheOptions,n=o===void 0?!1:o,i=e.loadOptions;e.options;var a=e.isLoading,s=a===void 0?!1:a,u=e.onInputChange,l=e.filterOption,c=l===void 0?null:l,d=De(e,sy),f=d.inputValue,p=V.useRef(void 0),m=V.useRef(!1),g=V.useState(Array.isArray(r)?r:void 0),h=we(g,2),b=h[0],C=h[1],S=V.useState(typeof f<"u"?f:""),w=we(S,2),I=w[0],A=w[1],x=V.useState(r===!0),E=we(x,2),P=E[0],_=E[1],L=V.useState(void 0),j=we(L,2),O=j[0],N=j[1],T=V.useState([]),M=we(T,2),G=M[0],B=M[1],Z=V.useState(!1),R=we(Z,2),F=R[0],D=R[1],H=V.useState({}),k=we(H,2),X=k[0],$=k[1],Y=V.useState(void 0),q=we(Y,2),U=q[0],K=q[1],re=V.useState(void 0),W=we(re,2),te=W[0],ae=W[1];n!==te&&($({}),ae(n)),r!==U&&(C(Array.isArray(r)?r:void 0),K(r)),V.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var se=V.useCallback(function(me,oe){if(!i)return oe();var ye=i(me,oe);ye&&typeof ye.then=="function"&&ye.then(oe,function(){return oe()})},[i]);V.useEffect(function(){r===!0&&se(I,function(me){m.current&&(C(me||[]),_(!!p.current))})},[]);var ge=V.useCallback(function(me,oe){var ye=$6(me,oe,u);if(!ye){p.current=void 0,A(""),N(""),B([]),_(!1),D(!1);return}if(n&&X[ye])A(ye),N(ye),B(X[ye]),_(!1),D(!1);else{var En=p.current={};A(ye),_(!0),D(!O),se(ye,function(qt){m&&En===p.current&&(p.current=void 0,_(!1),N(ye),B(qt||[]),D(!1),$(qt?J(J({},X),{},Nt({},ye,qt)):X))})}},[n,se,O,X,u]),be=F?[]:I&&O?G:b||[];return J(J({},d),{},{options:be,isLoading:P||s,onInputChange:ge,filterOption:c})}var cy=V.forwardRef(function(e,t){var r=ly(e),o=wu(r);return y.createElement(Sn,ee({ref:t},o))}),dy=cy,fy=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],r1=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,n=String(t).toLowerCase(),i=String(o.getOptionValue(r)).toLowerCase(),a=String(o.getOptionLabel(r)).toLowerCase();return i===n||a===n},ea={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,o,n){return!(!t||r.some(function(i){return r1(t,i,n)})||o.some(function(i){return r1(t,i,n)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function py(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,o=e.createOptionPosition,n=o===void 0?"last":o,i=e.formatCreateLabel,a=i===void 0?ea.formatCreateLabel:i,s=e.isValidNewOption,u=s===void 0?ea.isValidNewOption:s,l=e.getNewOptionData,c=l===void 0?ea.getNewOptionData:l,d=e.onCreateOption,f=e.options,p=f===void 0?[]:f,m=e.onChange,g=De(e,fy),h=g.getOptionValue,b=h===void 0?Ep:h,C=g.getOptionLabel,S=C===void 0?Ap:C,w=g.inputValue,I=g.isLoading,A=g.isMulti,x=g.value,E=g.name,P=V.useMemo(function(){return u(w,Kr(x),p,{getOptionValue:b,getOptionLabel:S})?c(w,a(w)):void 0},[a,c,S,b,w,u,p,x]),_=V.useMemo(function(){return(r||!I)&&P?n==="first"?[P].concat(Bt(p)):[].concat(Bt(p),[P]):p},[r,n,I,P,p]),L=V.useCallback(function(j,O){if(O.action!=="select-option")return m(j,O);var N=Array.isArray(j)?j:[j];if(N[N.length-1]===P){if(d)d(w);else{var T=c(w,w),M={action:"create-option",name:E,option:T};m(er(A,[].concat(Bt(Kr(x)),[T]),T),M)}return}m(j,O)},[c,w,A,E,P,d,m,x]);return J(J({},g),{},{options:_,onChange:L})}var gy=V.forwardRef(function(e,t){var r=wu(e),o=py(r);return y.createElement(Sn,ee({ref:t},o))}),vy=gy;const my=({prefix:e,suffix:t,prefixSeparator:r,suffixSeparator:o,removePrefixSpacing:n,removeSuffixSpacing:i})=>v.jsxs(v.Fragment,{children:[e&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:z.select({removePrefixSpacing:n}).selectPrefix,children:e}),r&&v.jsx("div",{className:z.select({prefix:!0,removePrefixSpacing:n}).separator})]}),t&&v.jsxs(v.Fragment,{children:[o&&v.jsx("div",{className:z.select({suffix:!0,removeSuffixSpacing:i}).separator}),v.jsx("div",{className:z.select({removeSuffixSpacing:i}).selectSuffix,children:t})]})]}),hy=({primary:e,suffix:t})=>({option:(r,o)=>({appearance:"none",borderWidth:0,height:"30px",paddingTop:"3.75px",paddingRight:"11.25px",paddingBottom:"3.75px",paddingLeft:"11.25px",borderRadius:4,fontSize:"14.25px",display:"flex",alignItems:"center",outline:0,position:"relative",margin:0,fontWeight:500,cursor:"pointer",boxSizing:"border-box",background:o.isSelected?"#7a96cc":o.isFocused?"#f5f5f5":"#fff",color:o.isSelected?"#fff":"#001166",whiteSpace:"nowrap","&:hover":{background:!o.isSelected&&"#ecf2fb"},"&:active":{background:!o.isSelected&&"#c5d2e3"}}),dropdownIndicator:(r,o)=>({...r,fill:"#9B9B9B",color:o.isFocused?"#464646":"#9B9B9B",opacity:1,width:32,display:t?"none":"block","&:hover":{color:"#464646"}}),menu:()=>({position:"absolute",marginTop:"3.75px",top:"100%",backgroundColor:"#fff",boxShadow:'0 7.5px "11.25px" 6.75px rgba(0, 0, 0, .2)',padding:"7.5px",borderRadius:3,borderWidth:1,borderStyle:"solid",borderColor:"#ecf2fb",zIndex:2,minWidth:"100%",boxSizing:"border-box"}),menuList:r=>({...r,padding:0}),control:()=>({width:"100%",display:"flex",alignItems:"center",flex:1,flexWrap:"wrap",position:"relative",boxSizing:"border-box"}),container:()=>({width:"100%"}),indicatorSeparator:()=>({display:"none"}),singleValue:r=>({...r,transition:"opacity 300ms",color:e?"#0055FF":"#464646",position:"static",transform:"none",maxWidth:"100%",order:2}),input:r=>({...r,color:e?"#0055FF":"#464646",margin:0,padding:0,order:1}),placeholder:r=>({...r,position:"static",transform:"none",order:2,fontSize:"14px",color:"#C3C3C3",lineHeight:"20px"}),multiValue:r=>({...r,background:"#FAFBFF",color:"#0055FF"}),multiValueRemove:r=>({...r,borderRadius:"50%",height:18,width:18,padding:0,marginTop:2,marginLeft:4,marginRight:2,display:"flex",alignItems:"center",justifyContent:"center",color:"#80AAFF",fill:"#80AAFF","&:hover":{background:"rgba(0, 0, 0, .1)",color:"#80AAFF",fill:"#80AAFF"}}),multiValueLabel:r=>({...r,color:"464646"})}),by=z.css({top:0,left:0,right:0,bottom:0,width:"100%",height:"100%",position:"absolute"}),yy=e=>v.jsx(xp.ClearIndicator,{...e,children:v.jsx(ze,{name:"close"})}),Cy=({css:e,flat:t,name:r,small:o,value:n,onBlur:i,prefix:a,suffix:s,invalid:u,inverse:l,isMulti:c,onFocus:d,options:f,shimmer:p,primary:m,floating:g,onChange:h,isLoading:b,onKeyDown:C,isDisabled:S,isClearable:w,loadOptions:I,placeholder:A,autoComplete:x,cacheOptions:E,defaultValue:P,insidePrefix:_,insideSuffix:L,onInputChange:j,removeMargins:O,defaultOptions:N,getOptionLabel:T,getOptionValue:M,loadingMessage:G,onCreateOption:B,focusBorderless:Z,prefixSeparator:R,suffixSeparator:F,noOptionsMessage:D,closeMenuOnSelect:H,removePrefixSpacing:k,removeSuffixSpacing:X})=>{const $=hy({primary:m}),Y={ClearIndicator:yy},q=()=>({name:r,onBlur:i,onFocus:d,options:f,isMulti:c,onChange:h,onKeyDown:C,isLoading:b,isDisabled:S,placeholder:A,isClearable:w,defaultValue:P,onInputChange:j,getOptionLabel:T,getOptionValue:M,closeMenuOnSelect:H,isSearchable:x,styles:{...$},loadingMessage:()=>G,noOptionsMessage:()=>D,theme:re=>({...re,width:"100%",borderRadius:0,colors:{text:"orangered",primary:"#0055FF",primary25:"#c5d2e3"}}),value:n}),U=({loadOptions:re,selectProps:W,onCreateOption:te})=>re?v.jsx(dy,{...W,loadOptions:re,cacheOptions:E,defaultOptions:N,formatCreateLabel:()=>"Criar"}):te?v.jsx(vy,{...W,defaultOptions:N,onCreateOption:te,formatCreateLabel:()=>"Criar",isValidNewOption:(ae,se,ge)=>{const be=!ge.map(oe=>oe).includes(ae);return ae!==""&&be}}):v.jsx(uy,{...W,components:Y}),K=z.select({flat:t,small:o,invalid:u,inverse:l,primary:m,floating:g,insidePrefix:_,insideSuffix:L,removeMargins:O,focusBorderless:Z,removePrefixSpacing:k,removeSuffixSpacing:X,disabled:S});return v.jsxs("div",{className:K.selectStyle,style:e,children:[p&&v.jsx("div",{className:by,children:v.jsx(Ne,{height:"100%",width:"100%"})}),v.jsx(my,{prefix:a,suffix:s,prefixSeparator:R,suffixSeparator:F,removePrefixSpacing:k,removeSuffixSpacing:X}),v.jsx(U,{loadOptions:I,selectProps:q(),onCreateOption:B})]})},xy=({id:e,css:t,book:r,mask:o,name:n,flat:i,type:a="text",label:s,large:u,small:l,value:c,inline:d,onBlur:f,prefix:p,suffix:m,invalid:g,inverse:h,onClear:b,onFocus:C,options:S,shimmer:w,primary:I,multiple:A,onChange:x,readOnly:E,autoFocus:P,hideLabel:_=!1,isLoading:L,maxLength:j,onKeyDown:O,borderless:N,isDisabled:T,lightLabel:M,spellCheck:G,suffixText:B,autoCorrect:Z,isClearable:R,loadOptions:F,placeholder:D,refForFocus:H,autoComplete:k="on",cacheOptions:X,defaultValue:$,errorMessage:Y,onInputChange:q,removeMargins:U,autoCapitalize:K,defaultOptions:re,getOptionLabel:W,getOptionValue:te,loadingMessage:ae,onCreateOption:se,underlineFocus:ge,focusBorderless:be,prefixSeparator:me,suffixSeparator:oe,labelDescription:ye,noOptionsMessage:En,closeMenuOnSelect:qt=!0,removePrefixSpacing:o0,removeSuffixSpacing:i0,showOverflowEllipsis:a0,showFakeValuePlaceholder:u0})=>v.jsx(Ua,{label:s,inline:d,invalid:g,hideLabel:_,errorMessage:Y,labelDescription:ye,fontWeight:M?"light":"semibold",block:!1,children:v.jsx(Cy,{id:e,book:r,flat:i,mask:o,name:n,type:a,styles:t,large:u,small:l,value:c,inline:d,onBlur:f,prefix:p,suffix:m,primary:I,invalid:g,inverse:h,onClear:b,onFocus:C,options:S,shimmer:w,isMulti:A,onChange:x,readOnly:E,autoFocus:P,isLoading:L,maxLength:j,onKeyDown:O,borderless:N,isDisabled:T,spellCheck:G,suffixText:B,autoCorrect:Z,isClearable:R,loadOptions:F,placeholder:D,refForFocus:H,autoComplete:k,cacheOptions:X,defaultValue:$,onInputChange:q,removeMargins:U,autoCapitalize:K,defaultOptions:re,getOptionLabel:W,getOptionValue:te,loadingMessage:ae,onCreateOption:se,underlineFocus:ge,focusBorderless:be,prefixSeparator:me,suffixSeparator:oe,noOptionsMessage:En,closeMenuOnSelect:qt,removePrefixSpacing:o0,removeSuffixSpacing:i0,showOverflowEllipsis:a0,showFakeValuePlaceholder:u0})}),Fp=({top:e,left:t,right:r,bottom:o,inline:n,inside:i,children:a,vertical:s,horizontal:u,isGreaterThan:l,topLargeAndAbove:c,leftLargeAndAbove:d,topMediumAndAbove:f,leftMediumAndAbove:p,rightLargeAndAbove:m,bottomLargeAndAbove:g,rightMediumAndAbove:h,bottomMediumAndAbove:b,verticalLargeAndAbove:C,verticalMediumAndAbove:S,horizontalLargeAndAbove:w,horizontalMediumAndAbove:I})=>{const A=O=>O*16,x=({primary:O,primaryLargeAndAbove:N,primaryMediumAndAbove:T,secondary:M,secondaryLargeAndAbove:G,secondaryMediumAndAbove:B})=>(N!=null||G!=null)&&l("large")?N||G:(T!=null||B!=null)&&l("medium")?T||B:O||M,E=x({primary:e,secondary:s,primaryLargeAndAbove:c,primaryMediumAndAbove:f,secondaryLargeAndAbove:C,secondaryMediumAndAbove:S}),P=x({primary:r,secondary:u,primaryLargeAndAbove:m,primaryMediumAndAbove:h,secondaryLargeAndAbove:w,secondaryMediumAndAbove:I}),_=x({primary:o,secondary:s,primaryLargeAndAbove:g,primaryMediumAndAbove:b,secondaryLargeAndAbove:C,secondaryMediumAndAbove:S}),L=x({primary:t,secondary:u,primaryLargeAndAbove:d,primaryMediumAndAbove:p,secondaryLargeAndAbove:w,secondaryMediumAndAbove:I}),j=V.useMemo(()=>({...{[i?"paddingTop":"marginTop"]:E?A(E):null,[i?"paddingRight":"marginRight"]:P?A(P):null,[i?"paddingBottom":"marginBottom"]:_?A(_):null,[i?"paddingLeft":"marginLeft"]:L?A(L):null},display:n?"inline-block":"block",...n?{}:{width:"100%"}}),[E,P,_,L,n,i]);return n?v.jsx("span",{style:j,children:a}):v.jsx("div",{style:j,children:a})},wy=z2(Fp);Fp.displayName="Spacing";function Iy(e){const t=y.useRef({value:e,previous:e});return y.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var _u="Switch",[Sy,bC]=qe(_u),[Ay,Ey]=Sy(_u),Vp=y.forwardRef((e,t)=>{const{__scopeSwitch:r,name:o,checked:n,defaultChecked:i,required:a,disabled:s,value:u="on",onCheckedChange:l,form:c,...d}=e,[f,p]=y.useState(null),m=Se(t,S=>p(S)),g=y.useRef(!1),h=f?c||!!f.closest("form"):!0,[b=!1,C]=dt({prop:n,defaultProp:i,onChange:l});return v.jsxs(Ay,{scope:r,checked:b,disabled:s,children:[v.jsx(de.button,{type:"button",role:"switch","aria-checked":b,"aria-required":a,"data-state":Lp(b),"data-disabled":s?"":void 0,disabled:s,value:u,...d,ref:m,onClick:ve(e.onClick,S=>{C(w=>!w),h&&(g.current=S.isPropagationStopped(),g.current||S.stopPropagation())})}),h&&v.jsx(Ry,{control:f,bubbles:!g.current,name:o,value:u,checked:b,required:a,disabled:s,form:c,style:{transform:"translateX(-100%)"}})]})});Vp.displayName=_u;var jp="SwitchThumb",Bp=y.forwardRef((e,t)=>{const{__scopeSwitch:r,...o}=e,n=Ey(jp,r);return v.jsx(de.span,{"data-state":Lp(n.checked),"data-disabled":n.disabled?"":void 0,...o,ref:t})});Bp.displayName=jp;var Ry=e=>{const{control:t,checked:r,bubbles:o=!0,...n}=e,i=y.useRef(null),a=Iy(r),s=cf(t);return y.useEffect(()=>{const u=i.current,l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"checked").set;if(a!==r&&d){const f=new Event("click",{bubbles:o});d.call(u,r),u.dispatchEvent(f)}},[a,r,o]),v.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...n,tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Lp(e){return e?"checked":"unchecked"}var Py=Vp,Oy=Bp;const _y=({label:e,subtitle:t,disabled:r,...o})=>{const n=z.switchSlot({});return v.jsxs("div",{className:n.container,children:[v.jsx(Py,{...o,className:n.root,id:"switch",disabled:r,children:v.jsx(Oy,{className:n.thumb})}),v.jsxs("div",{className:n.content,children:[v.jsx("label",{className:n.label,htmlFor:"switch-mode",children:e}),v.jsx("label",{className:n.subtitle,htmlFor:"switch-mode",children:t})]})]})};var ta="rovingFocusGroup.onEntryFocus",Ty={bubbles:!1,cancelable:!0},An="RovingFocusGroup",[Ia,Dp,My]=l1(An),[Ny,Gp]=qe(An,[My]),[Fy,Vy]=Ny(An),Wp=y.forwardRef((e,t)=>v.jsx(Ia.Provider,{scope:e.__scopeRovingFocusGroup,children:v.jsx(Ia.Slot,{scope:e.__scopeRovingFocusGroup,children:v.jsx(jy,{...e,ref:t})})}));Wp.displayName=An;var jy=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:o,loop:n=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:l,preventScrollOnEntryFocus:c=!1,...d}=e,f=y.useRef(null),p=Se(t,f),m=Oa(i),[g=null,h]=dt({prop:a,defaultProp:s,onChange:u}),[b,C]=y.useState(!1),S=Xe(l),w=Dp(r),I=y.useRef(!1),[A,x]=y.useState(0);return y.useEffect(()=>{const E=f.current;if(E)return E.addEventListener(ta,S),()=>E.removeEventListener(ta,S)},[S]),v.jsx(Fy,{scope:r,orientation:o,dir:m,loop:n,currentTabStopId:g,onItemFocus:y.useCallback(E=>h(E),[h]),onItemShiftTab:y.useCallback(()=>C(!0),[]),onFocusableItemAdd:y.useCallback(()=>x(E=>E+1),[]),onFocusableItemRemove:y.useCallback(()=>x(E=>E-1),[]),children:v.jsx(de.div,{tabIndex:b||A===0?-1:0,"data-orientation":o,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:ve(e.onMouseDown,()=>{I.current=!0}),onFocus:ve(e.onFocus,E=>{const P=!I.current;if(E.target===E.currentTarget&&P&&!b){const _=new CustomEvent(ta,Ty);if(E.currentTarget.dispatchEvent(_),!_.defaultPrevented){const L=w().filter(M=>M.focusable),j=L.find(M=>M.active),O=L.find(M=>M.id===g),T=[j,O,...L].filter(Boolean).map(M=>M.ref.current);Zp(T,c)}}I.current=!1}),onBlur:ve(e.onBlur,()=>C(!1))})})}),kp="RovingFocusGroupItem",Hp=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:o=!0,active:n=!1,tabStopId:i,...a}=e,s=it(),u=i||s,l=Vy(kp,r),c=l.currentTabStopId===u,d=Dp(r),{onFocusableItemAdd:f,onFocusableItemRemove:p}=l;return y.useEffect(()=>{if(o)return f(),()=>p()},[o,f,p]),v.jsx(Ia.ItemSlot,{scope:r,id:u,focusable:o,active:n,children:v.jsx(de.span,{tabIndex:c?0:-1,"data-orientation":l.orientation,...a,ref:t,onMouseDown:ve(e.onMouseDown,m=>{o?l.onItemFocus(u):m.preventDefault()}),onFocus:ve(e.onFocus,()=>l.onItemFocus(u)),onKeyDown:ve(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){l.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=Dy(m,l.orientation,l.dir);if(g!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let b=d().filter(C=>C.focusable).map(C=>C.ref.current);if(g==="last")b.reverse();else if(g==="prev"||g==="next"){g==="prev"&&b.reverse();const C=b.indexOf(m.currentTarget);b=l.loop?Gy(b,C+1):b.slice(C+1)}setTimeout(()=>Zp(b))}})})})});Hp.displayName=kp;var By={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ly(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Dy(e,t,r){const o=Ly(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return By[o]}function Zp(e,t=!1){const r=document.activeElement;for(const o of e)if(o===r||(o.focus({preventScroll:t}),document.activeElement!==r))return}function Gy(e,t){return e.map((r,o)=>e[(t+o)%e.length])}var Wy=Wp,ky=Hp,Tu="Tabs",[Hy,yC]=qe(Tu,[Gp]),Xp=Gp(),[Zy,Mu]=Hy(Tu),$p=y.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,onValueChange:n,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:u="automatic",...l}=e,c=Oa(s),[d,f]=dt({prop:o,onChange:n,defaultProp:i});return v.jsx(Zy,{scope:r,baseId:it(),value:d,onValueChange:f,orientation:a,dir:c,activationMode:u,children:v.jsx(de.div,{dir:c,"data-orientation":a,...l,ref:t})})});$p.displayName=Tu;var zp="TabsList",Yp=y.forwardRef((e,t)=>{const{__scopeTabs:r,loop:o=!0,...n}=e,i=Mu(zp,r),a=Xp(r);return v.jsx(Wy,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:o,children:v.jsx(de.div,{role:"tablist","aria-orientation":i.orientation,...n,ref:t})})});Yp.displayName=zp;var qp="TabsTrigger",Jp=y.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,disabled:n=!1,...i}=e,a=Mu(qp,r),s=Xp(r),u=Kp(a.baseId,o),l=e0(a.baseId,o),c=o===a.value;return v.jsx(ky,{asChild:!0,...s,focusable:!n,active:c,children:v.jsx(de.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":l,"data-state":c?"active":"inactive","data-disabled":n?"":void 0,disabled:n,id:u,...i,ref:t,onMouseDown:ve(e.onMouseDown,d=>{!n&&d.button===0&&d.ctrlKey===!1?a.onValueChange(o):d.preventDefault()}),onKeyDown:ve(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&a.onValueChange(o)}),onFocus:ve(e.onFocus,()=>{const d=a.activationMode!=="manual";!c&&!n&&d&&a.onValueChange(o)})})})});Jp.displayName=qp;var Up="TabsContent",Qp=y.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,forceMount:n,children:i,...a}=e,s=Mu(Up,r),u=Kp(s.baseId,o),l=e0(s.baseId,o),c=o===s.value,d=y.useRef(c);return y.useEffect(()=>{const f=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(f)},[]),v.jsx(Ct,{present:n||c,children:({present:f})=>v.jsx(de.div,{"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!f,id:l,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:f&&i})})});Qp.displayName=Up;function Kp(e,t){return`${e}-trigger-${t}`}function e0(e,t){return`${e}-content-${t}`}var Xy=$p,$y=Yp,zy=Jp,Yy=Qp,t0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n1=V.createContext&&V.createContext(t0),qy=["attr","size","title"];function Jy(e,t){if(e==null)return{};var r=Uy(e,t),o,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function Uy(e,t){if(e==null)return{};var r={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;r[o]=e[o]}return r}function rn(){return rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},rn.apply(this,arguments)}function o1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function nn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?o1(Object(r),!0).forEach(function(o){Qy(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o1(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Qy(e,t,r){return t=Ky(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ky(e){var t=eC(e,"string");return typeof t=="symbol"?t:t+""}function eC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r0(e){return e&&e.map((t,r)=>V.createElement(t.tag,nn({key:r},t.attr),r0(t.child)))}function n0(e){return t=>V.createElement(tC,rn({attr:nn({},e.attr)},t),r0(e.child))}function tC(e){var t=r=>{var{attr:o,size:n,title:i}=e,a=Jy(e,qy),s=n||r.size||"1em",u;return r.className&&(u=r.className),e.className&&(u=(u?u+" ":"")+e.className),V.createElement("svg",rn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,o,a,{className:u,style:nn(nn({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&V.createElement("title",null,i),e.children)};return n1!==void 0?V.createElement(n1.Consumer,null,r=>t(r)):t(t0)}function rC(e){return n0({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C9.243 2 7 4.243 7 7v2H6c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v2H9V7zm9.002 13H13v-2.278c.595-.347 1-.985 1-1.722 0-1.103-.897-2-2-2s-2 .897-2 2c0 .736.405 1.375 1 1.722V20H6v-9h12l.002 9z"},child:[]}]})(e)}function nC(e){return n0({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1z"},child:[]}]})(e)}const oC=({icon:e,tabs:t,disabled:r,loading:o,btnIcon:n})=>{const[i,a]=V.useState("0"),s=l=>{a(l)},u=z.tabsSlot({btnIcon:n});return v.jsxs(Xy,{className:u.root,defaultValue:i,children:[v.jsx($y,{className:u.list,children:t==null?void 0:t.map(({title:l,disabledTab:c},d)=>{const f=`${d}`;return v.jsx(zy,{className:u.trigger,value:f,onClick:()=>s(f),disabled:c||o||r,style:{borderBottomColor:i===f?"black":"#0055ff"},children:v.jsxs(g2,{alignItems:"center",justifyContent:"center",gap:"small",children:[!!e&&v.jsx(nC,{size:"16"}),!!c&&v.jsx(rC,{size:"16"}),l]})},l)})}),t==null?void 0:t.map(({content:l},c)=>{const d=`${c}`;return v.jsx(Yy,{className:u.content,value:d,children:l},c)})]})},iC=({size:e,icon:t,color:r,shape:o,onClose:n,children:i,noSpacing:a,border:s})=>v.jsxs("span",{className:z.tagRecipe({color:r,noSpacing:a,shape:o,size:e,icon:!!t,border:s}),children:[t,i,!!n&&v.jsx("div",{className:aC,role:"button",onClick:n,children:v.jsx(ze,{name:"close",color:r})})]}),aC=z.css({display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50px",backgroundColor:"transparent",cursor:"pointer",transition:"all 0.3s ease",_hover:{bg:"fogWeak"}}),uC=({color:e,size:t,invalid:r,disabled:o,borderless:n,removeMargins:i,showOverflowEllipsis:a,showFakeValuePlaceholder:s,inline:u,errorMessage:l,label:c,labelDescription:d,hideLabel:f,lightLabel:p,className:m,...g})=>{const h=z.textAreaSlot({color:e,size:t,invalid:r,disabled:o,borderless:n,removeMargins:i,showOverflowEllipsis:a,showFakeValuePlaceholder:s});return v.jsx(Ua,{label:c,inline:u,invalid:!!r,hideLabel:f,errorMessage:l,labelDescription:d,children:v.jsx("div",{className:z.cx(h.root,m),children:v.jsx("textarea",{className:h.textarea,disabled:typeof o=="boolean"?o:!!o,...g})})})},sC=({size:e,flex:t,color:r,level:o,block:n,title:i,inline:a,loading:s,truncate:u,children:l,textAlign:c,noSpacing:d,fontWeight:f,lineHeight:p,fontMontserrat:m,noTopSpacing:g,shimmerWidth:h,alternativeFont:b,noBottomSpacing:C})=>{const S=z.titleSlot({size:e,flex:t,color:r,level:o,block:n,inline:a,truncate:u,textAlign:c,noSpacing:d,fontWeight:f,lineHeight:p,fontMontserrat:m,noTopSpacing:g,alternativeFont:b,noBottomSpacing:C}),w=`h${o}`;return v.jsx("div",{className:S.titleStyle,children:s?v.jsx(Ne,{height:"1ex",width:h||"60%"}):v.jsx(w,{className:S.titleHeader,children:l||i})})},lC=({hideIf:e,showIf:t,unmount:r,children:o})=>r?e===!1||t===!0?v.jsx(v.Fragment,{children:o}):null:v.jsx("div",{className:z.visibilitySlot({hidden:e!==!1&&t!==!0}).container,children:o}),cC=({id:e,gray:t,relative:r,children:o,container:n,fullHeight:i,size:a="default",spacing:s="none",verticalSpacing:u="default"})=>{const l=z.wrapperRecipe({container:n,size:a,fullHeight:i,gray:t,spacing:s,verticalSpacing:u,relative:r});return v.jsx("div",{id:e,className:l,children:o})};exports.Accordion=Dg;exports.Anchor=Hg;exports.Autocomplete=a3;exports.Avatar=Wd;exports.AvatarGroup=Hh;exports.Blanket=du;exports.Block=qh;exports.BoxGroup=Jh;exports.Breadcrumbs=Qh;exports.Button=hn;exports.Cell=e4;exports.Checkbox=r4;exports.Clickable=n4;exports.Dialog=pb;exports.Drawer=gb;exports.Dropdown=Cb;exports.FlatButton=f2;exports.Grid=g2;exports.Icon=ze;exports.Input=Fd;exports.Label=Lf;exports.Loader=fu;exports.Modal=xb;exports.Pagination=Ib;exports.Popover=T9;exports.Responsive=Bf;exports.Select=xy;exports.Separator=aa;exports.Shimmer=Ne;exports.Spacing=wy;exports.Switch=_y;exports.Tabs=oC;exports.Tag=iC;exports.Text=Ee;exports.TextArea=uC;exports.Title=sC;exports.Visibility=lC;exports.Wrapper=cC;exports.auroraPreset=rg;exports.withBreakpoints=z2;
89
+ `]))),j8=function(t,r){var o=t.isFocused,n=t.size,i=t.theme,a=i.colors,s=i.spacing.baseUnit;return J({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?a.neutral60:a.neutral20,padding:s*2})},Yi=function(t){var r=t.delay,o=t.offset;return Q("span",{css:Ru({animation:"".concat(V8," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},B8=function(t){var r=t.innerProps,o=t.isRtl,n=t.size,i=n===void 0?4:n,a=De(t,E8);return Q("div",ee({},he(J(J({},a),{},{innerProps:r,isRtl:o,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),Q(Yi,{delay:0,offset:o}),Q(Yi,{delay:160,offset:!0}),Q(Yi,{delay:320,offset:!o}))},L8=function(t,r){var o=t.isDisabled,n=t.isFocused,i=t.theme,a=i.colors,s=i.borderRadius,u=i.spacing;return J({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?a.neutral5:a.neutral0,borderColor:o?a.neutral10:n?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:n?a.primary:a.neutral30}})},D8=function(t){var r=t.children,o=t.isDisabled,n=t.isFocused,i=t.innerRef,a=t.innerProps,s=t.menuIsOpen;return Q("div",ee({ref:i},he(t,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":s}),a,{"aria-disabled":o||void 0}),r)},G8=D8,W8=["data"],k8=function(t,r){var o=t.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},H8=function(t){var r=t.children,o=t.cx,n=t.getStyles,i=t.getClassNames,a=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return Q("div",ee({},he(t,"group",{group:!0}),u),Q(a,ee({},s,{selectProps:d,theme:c,getStyles:n,getClassNames:i,cx:o}),l),Q("div",null,r))},Z8=function(t,r){var o=t.theme,n=o.colors,i=o.spacing;return J({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},X8=function(t){var r=cp(t);r.data;var o=De(r,W8);return Q("div",ee({},he(t,"groupHeading",{"group-heading":!0}),o))},$8=H8,z8=["innerRef","isDisabled","isHidden","inputClassName"],Y8=function(t,r){var o=t.isDisabled,n=t.value,i=t.theme,a=i.spacing,s=i.colors;return J(J({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},q8),r?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},yp={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},q8={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":J({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},yp)},J8=function(t){return J({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},yp)},U8=function(t){var r=t.cx,o=t.value,n=cp(t),i=n.innerRef,a=n.isDisabled,s=n.isHidden,u=n.inputClassName,l=De(n,z8);return Q("div",ee({},he(t,"input",{"input-container":!0}),{"data-value":o||""}),Q("input",ee({className:r({input:!0},u),ref:i,style:J8(s),disabled:a},l)))},Q8=U8,K8=function(t,r){var o=t.theme,n=o.spacing,i=o.borderRadius,a=o.colors;return J({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},e7=function(t,r){var o=t.theme,n=o.borderRadius,i=o.colors,a=t.cropWithEllipsis;return J({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},t7=function(t,r){var o=t.theme,n=o.spacing,i=o.borderRadius,a=o.colors,s=t.isFocused;return J({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Cp=function(t){var r=t.children,o=t.innerProps;return Q("div",o,r)},r7=Cp,n7=Cp;function o7(e){var t=e.children,r=e.innerProps;return Q("div",ee({role:"button"},r),t||Q(Pu,{size:14}))}var i7=function(t){var r=t.children,o=t.components,n=t.data,i=t.innerProps,a=t.isDisabled,s=t.removeProps,u=t.selectProps,l=o.Container,c=o.Label,d=o.Remove;return Q(l,{data:n,innerProps:J(J({},he(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:u},Q(c,{data:n,innerProps:J({},he(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},r),Q(d,{data:n,innerProps:J(J({},he(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},s),selectProps:u}))},a7=i7,u7=function(t,r){var o=t.isDisabled,n=t.isFocused,i=t.isSelected,a=t.theme,s=a.spacing,u=a.colors;return J({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?u.primary:n?u.primary25:"transparent",color:o?u.neutral20:i?u.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:i?u.primary:u.primary50}})},s7=function(t){var r=t.children,o=t.isDisabled,n=t.isFocused,i=t.isSelected,a=t.innerRef,s=t.innerProps;return Q("div",ee({},he(t,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":i}),{ref:a,"aria-disabled":o},s),r)},l7=s7,c7=function(t,r){var o=t.theme,n=o.spacing,i=o.colors;return J({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},d7=function(t){var r=t.children,o=t.innerProps;return Q("div",ee({},he(t,"placeholder",{placeholder:!0}),o),r)},f7=d7,p7=function(t,r){var o=t.isDisabled,n=t.theme,i=n.spacing,a=n.colors;return J({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},g7=function(t){var r=t.children,o=t.isDisabled,n=t.innerProps;return Q("div",ee({},he(t,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},v7=g7,xp={ClearIndicator:M8,Control:G8,DropdownIndicator:_8,DownChevron:hp,CrossIcon:Pu,Group:$8,GroupHeading:X8,IndicatorsContainer:S8,IndicatorSeparator:F8,Input:Q8,LoadingIndicator:B8,Menu:c8,MenuList:f8,MenuPortal:b8,LoadingMessage:m8,NoOptionsMessage:v8,MultiValue:a7,MultiValueContainer:r7,MultiValueLabel:n7,MultiValueRemove:o7,Option:l7,Placeholder:f7,SelectContainer:C8,SingleValue:v7,ValueContainer:w8},m7=function(t){return J(J({},xp),t.components)},Hc=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function h7(e,t){return!!(e===t||Hc(e)&&Hc(t))}function b7(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!h7(e[r],t[r]))return!1;return!0}function y7(e,t){t===void 0&&(t=b7);var r=null;function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var a=e.apply(this,n);return r={lastResult:a,lastArgs:n,lastThis:this},a}return o.clear=function(){r=null},o}function C7(){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 x7=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:C7},w7=function(t){return Q("span",ee({css:x7},t))},Zc=w7,I7={guidance:function(t){var r=t.isSearchable,o=t.isMulti,n=t.tabSelectsValue,i=t.context,a=t.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" 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 r=t.action,o=t.label,n=o===void 0?"":o,i=t.labels,a=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(t){var r=t.context,o=t.focused,n=t.options,i=t.label,a=i===void 0?"":i,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(g,h){return g&&g.length?"".concat(g.indexOf(h)+1," of ").concat(g.length):""};if(r==="value"&&s)return"value ".concat(a," focused, ").concat(d(s,o),".");if(r==="menu"&&c){var f=u?" disabled":"",p="".concat(l?" selected":"").concat(f);return"".concat(a).concat(p,", ").concat(d(n,o),".")}return""},onFilter:function(t){var r=t.inputValue,o=t.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},S7=function(t){var r=t.ariaSelection,o=t.focusedOption,n=t.focusedValue,i=t.focusableOptions,a=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=t.isAppleDevice,d=u.ariaLiveMessages,f=u.getOptionLabel,p=u.inputValue,m=u.isMulti,g=u.isOptionDisabled,h=u.isSearchable,b=u.menuIsOpen,C=u.options,S=u.screenReaderStatus,w=u.tabSelectsValue,I=u.isLoading,A=u["aria-label"],x=u["aria-live"],E=V.useMemo(function(){return J(J({},I7),d||{})},[d]),P=V.useMemo(function(){var T="";if(r&&E.onChange){var M=r.option,G=r.options,B=r.removedValue,Z=r.removedValues,R=r.value,F=function(q){return Array.isArray(q)?null:q},D=B||M||F(R),H=D?f(D):"",k=G||Z||void 0,$=k?k.map(f):[],X=J({isDisabled:D&&g(D,s),label:H,labels:$},r);T=E.onChange(X)}return T},[r,E,g,s,f]),_=V.useMemo(function(){var T="",M=o||n,G=!!(o&&s&&s.includes(o));if(M&&E.onFocus){var B={focused:M,label:f(M),isDisabled:g(M,s),isSelected:G,options:i,context:M===o?"menu":"value",selectValue:s,isAppleDevice:c};T=E.onFocus(B)}return T},[o,n,f,g,E,i,s,c]),L=V.useMemo(function(){var T="";if(b&&C.length&&!I&&E.onFilter){var M=S({count:i.length});T=E.onFilter({inputValue:p,resultsMessage:M})}return T},[i,p,b,E,C,S,I]),j=(r==null?void 0:r.action)==="initial-input-focus",O=V.useMemo(function(){var T="";if(E.guidance){var M=n?"value":b?"menu":"input";T=E.guidance({"aria-label":A,context:M,isDisabled:o&&g(o,s),isMulti:m,isSearchable:h,tabSelectsValue:w,isInitialFocus:j})}return T},[A,o,n,m,g,h,b,E,s,w,j]),N=Q(V.Fragment,null,Q("span",{id:"aria-selection"},P),Q("span",{id:"aria-focused"},_),Q("span",{id:"aria-results"},L),Q("span",{id:"aria-guidance"},O));return Q(V.Fragment,null,Q(Zc,{id:l},j&&N),Q(Zc,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!j&&N))},A7=S7,wa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],E7=new RegExp("["+wa.map(function(e){return e.letters}).join("")+"]","g"),wp={};for(var qi=0;qi<wa.length;qi++)for(var Ji=wa[qi],Ui=0;Ui<Ji.letters.length;Ui++)wp[Ji.letters[Ui]]=Ji.base;var Ip=function(t){return t.replace(E7,function(r){return wp[r]})},R7=y7(Ip),Xc=function(t){return t.replace(/^\s+|\s+$/g,"")},P7=function(t){return"".concat(t.label," ").concat(t.value)},O7=function(t){return function(r,o){if(r.data.__isNew__)return!0;var n=J({ignoreCase:!0,ignoreAccents:!0,stringify:P7,trim:!0,matchFrom:"any"},t),i=n.ignoreCase,a=n.ignoreAccents,s=n.stringify,u=n.trim,l=n.matchFrom,c=u?Xc(o):o,d=u?Xc(s(r)):s(r);return i&&(c=c.toLowerCase(),d=d.toLowerCase()),a&&(c=R7(c),d=Ip(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},_7=["innerRef"];function T7(e){var t=e.innerRef,r=De(e,_7),o=r8(r,"onExited","in","enter","exit","appear");return Q("input",ee({ref:t},o,{css:Ru({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var M7=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function N7(e){var t=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,n=e.onTopArrive,i=e.onTopLeave,a=V.useRef(!1),s=V.useRef(!1),u=V.useRef(0),l=V.useRef(null),c=V.useCallback(function(h,b){if(l.current!==null){var C=l.current,S=C.scrollTop,w=C.scrollHeight,I=C.clientHeight,A=l.current,x=b>0,E=w-I-S,P=!1;E>b&&a.current&&(o&&o(h),a.current=!1),x&&s.current&&(i&&i(h),s.current=!1),x&&b>E?(r&&!a.current&&r(h),A.scrollTop=w,P=!0,a.current=!0):!x&&-b>S&&(n&&!s.current&&n(h),A.scrollTop=0,P=!0,s.current=!0),P&&M7(h)}},[r,o,n,i]),d=V.useCallback(function(h){c(h,h.deltaY)},[c]),f=V.useCallback(function(h){u.current=h.changedTouches[0].clientY},[]),p=V.useCallback(function(h){var b=u.current-h.changedTouches[0].clientY;c(h,b)},[c]),m=V.useCallback(function(h){if(h){var b=K6?{passive:!1}:!1;h.addEventListener("wheel",d,b),h.addEventListener("touchstart",f,b),h.addEventListener("touchmove",p,b)}},[p,f,d]),g=V.useCallback(function(h){h&&(h.removeEventListener("wheel",d,!1),h.removeEventListener("touchstart",f,!1),h.removeEventListener("touchmove",p,!1))},[p,f,d]);return V.useEffect(function(){if(t){var h=l.current;return m(h),function(){g(h)}}},[t,m,g]),function(h){l.current=h}}var $c=["boxSizing","height","overflow","paddingRight","position"],zc={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Yc(e){e.cancelable&&e.preventDefault()}function qc(e){e.stopPropagation()}function Jc(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Uc(){return"ontouchstart"in window||navigator.maxTouchPoints}var Qc=!!(typeof window<"u"&&window.document&&window.document.createElement),Ut=0,_t={capture:!1,passive:!1};function F7(e){var t=e.isEnabled,r=e.accountForScrollbars,o=r===void 0?!0:r,n=V.useRef({}),i=V.useRef(null),a=V.useCallback(function(u){if(Qc){var l=document.body,c=l&&l.style;if(o&&$c.forEach(function(m){var g=c&&c[m];n.current[m]=g}),o&&Ut<1){var d=parseInt(n.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(zc).forEach(function(m){var g=zc[m];c&&(c[m]=g)}),c&&(c.paddingRight="".concat(p,"px"))}l&&Uc()&&(l.addEventListener("touchmove",Yc,_t),u&&(u.addEventListener("touchstart",Jc,_t),u.addEventListener("touchmove",qc,_t))),Ut+=1}},[o]),s=V.useCallback(function(u){if(Qc){var l=document.body,c=l&&l.style;Ut=Math.max(Ut-1,0),o&&Ut<1&&$c.forEach(function(d){var f=n.current[d];c&&(c[d]=f)}),l&&Uc()&&(l.removeEventListener("touchmove",Yc,_t),u&&(u.removeEventListener("touchstart",Jc,_t),u.removeEventListener("touchmove",qc,_t)))}},[o]);return V.useEffect(function(){if(t){var u=i.current;return a(u),function(){s(u)}}},[t,a,s]),function(u){i.current=u}}function V7(){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 j7=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},B7=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:V7};function L7(e){var t=e.children,r=e.lockEnabled,o=e.captureEnabled,n=o===void 0?!0:o,i=e.onBottomArrive,a=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=N7({isEnabled:n,onBottomArrive:i,onBottomLeave:a,onTopArrive:s,onTopLeave:u}),c=F7({isEnabled:r}),d=function(p){l(p),c(p)};return Q(V.Fragment,null,r&&Q("div",{onClick:j7,css:B7}),t(d))}function D7(){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 G7=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:D7},W7=function(t){var r=t.name,o=t.onFocus;return Q("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:G7,value:"",onChange:function(){}})},k7=W7;function Ou(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function H7(){return Ou(/^iPhone/i)}function Sp(){return Ou(/^Mac/i)}function Z7(){return Ou(/^iPad/i)||Sp()&&navigator.maxTouchPoints>1}function X7(){return H7()||Z7()}function $7(){return Sp()||X7()}var z7=function(t){return t.label},Ap=function(t){return t.label},Ep=function(t){return t.value},Y7=function(t){return!!t.isDisabled},q7={clearIndicator:T8,container:y8,control:L8,dropdownIndicator:O8,group:k8,groupHeading:Z8,indicatorsContainer:I8,indicatorSeparator:N8,input:Y8,loadingIndicator:j8,loadingMessage:g8,menu:u8,menuList:d8,menuPortal:h8,multiValue:K8,multiValueLabel:e7,multiValueRemove:t7,noOptionsMessage:p8,option:u7,placeholder:c7,singleValue:p7,valueContainer:x8},J7={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%)"},U7=4,Rp=4,Q7=38,K7=Rp*2,ey={baseUnit:Rp,controlHeight:Q7,menuGutter:K7},Qi={borderRadius:U7,colors:J7,spacing:ey},ty={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Wc(),captureMenuScroll:!Wc(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:O7(),formatGroupLabel:z7,getOptionLabel:Ap,getOptionValue:Ep,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Y7,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!U6(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Kc(e,t,r,o){var n=_p(e,t,r),i=Tp(e,t,r),a=Op(e,t),s=tn(e,t);return{type:"option",data:t,isDisabled:n,isSelected:i,label:a,value:s,index:o}}function Gr(e,t){return e.options.map(function(r,o){if("options"in r){var n=r.options.map(function(a,s){return Kc(e,a,t,s)}).filter(function(a){return t1(e,a)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var i=Kc(e,r,t,o);return t1(e,i)?i:void 0}).filter(e8)}function Pp(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,Bt(r.options.map(function(o){return o.data}))):t.push(r.data),t},[])}function e1(e,t){return e.reduce(function(r,o){return o.type==="group"?r.push.apply(r,Bt(o.options.map(function(n){return{data:n.data,id:"".concat(t,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(t,"-").concat(o.index)}),r},[])}function ry(e,t){return Pp(Gr(e,t))}function t1(e,t){var r=e.inputValue,o=r===void 0?"":r,n=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Np(e)||!i)&&Mp(e,{label:a,value:s,data:n},o)}function ny(e,t){var r=e.focusedValue,o=e.selectValue,n=o.indexOf(r);if(n>-1){var i=t.indexOf(r);if(i>-1)return r;if(n<t.length)return t[n]}return null}function oy(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var Ki=function(t,r){var o,n=(o=t.find(function(i){return i.data===r}))===null||o===void 0?void 0:o.id;return n||null},Op=function(t,r){return t.getOptionLabel(r)},tn=function(t,r){return t.getOptionValue(r)};function _p(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function Tp(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var o=tn(e,t);return r.some(function(n){return tn(e,n)===o})}function Mp(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var Np=function(t){var r=t.hideSelectedOptions,o=t.isMulti;return r===void 0?o:r},iy=1,Sn=function(e){D9(r,e);var t=k9(r);function r(o){var n;if(B9(this,r),n=t.call(this,o),n.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(u){n.controlRef=u},n.focusedOptionRef=null,n.getFocusedOptionRef=function(u){n.focusedOptionRef=u},n.menuListRef=null,n.getMenuListRef=function(u){n.menuListRef=u},n.inputRef=null,n.getInputRef=function(u){n.inputRef=u},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(u,l){var c=n.props,d=c.onChange,f=c.name;l.name=f,n.ariaOnChange(u,l),d(u,l)},n.setValue=function(u,l,c){var d=n.props,f=d.closeMenuOnSelect,p=d.isMulti,m=d.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(n.setState({inputIsHiddenAfterUpdate:!p}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(u,{action:l,option:c})},n.selectOption=function(u){var l=n.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,p=n.state.selectValue,m=d&&n.isOptionSelected(u,p),g=n.isOptionDisabled(u,p);if(m){var h=n.getOptionValue(u);n.setValue(p.filter(function(b){return n.getOptionValue(b)!==h}),"deselect-option",u)}else if(!g)d?n.setValue([].concat(Bt(p),[u]),"select-option",u):n.setValue(u,"select-option");else{n.ariaOnChange(u,{action:"select-option",option:u,name:f});return}c&&n.blurInput()},n.removeValue=function(u){var l=n.props.isMulti,c=n.state.selectValue,d=n.getOptionValue(u),f=c.filter(function(m){return n.getOptionValue(m)!==d}),p=er(l,f,f[0]||null);n.onChange(p,{action:"remove-value",removedValue:u}),n.focusInput()},n.clearValue=function(){var u=n.state.selectValue;n.onChange(er(n.props.isMulti,[],null),{action:"clear",removedValues:u})},n.popValue=function(){var u=n.props.isMulti,l=n.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=er(u,d,d[0]||null);c&&n.onChange(f,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(u){return Ki(n.state.focusableOptionsWithIds,u)},n.getFocusableOptionsWithIds=function(){return e1(Gr(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];return X6.apply(void 0,[n.props.classNamePrefix].concat(l))},n.getOptionLabel=function(u){return Op(n.props,u)},n.getOptionValue=function(u){return tn(n.props,u)},n.getStyles=function(u,l){var c=n.props.unstyled,d=q7[u](l,c);d.boxSizing="border-box";var f=n.props.styles[u];return f?f(d,l):d},n.getClassNames=function(u,l){var c,d;return(c=(d=n.props.classNames)[u])===null||c===void 0?void 0:c.call(d,l)},n.getElementId=function(u){return"".concat(n.state.instancePrefix,"-").concat(u)},n.getComponents=function(){return m7(n.props)},n.buildCategorizedOptions=function(){return Gr(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return Pp(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(u,l){n.setState({ariaSelection:J({value:u},l)})},n.onMenuMouseDown=function(u){u.button===0&&(u.stopPropagation(),u.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(u){n.blockOptionHover=!1},n.onControlMouseDown=function(u){if(!u.defaultPrevented){var l=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&n.onMenuClose():l&&n.openMenu("first"):(l&&(n.openAfterFocus=!0),n.focusInput()),u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&u.preventDefault()}},n.onDropdownIndicatorMouseDown=function(u){if(!(u&&u.type==="mousedown"&&u.button!==0)&&!n.props.isDisabled){var l=n.props,c=l.isMulti,d=l.menuIsOpen;n.focusInput(),d?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),u.preventDefault()}},n.onClearIndicatorMouseDown=function(u){u&&u.type==="mousedown"&&u.button!==0||(n.clearValue(),u.preventDefault(),n.openAfterFocus=!1,u.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(u){typeof n.props.closeMenuOnScroll=="boolean"?u.target instanceof HTMLElement&&In(u.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(u)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(u){var l=u.touches,c=l&&l.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(u){var l=u.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-n.initialTouchX),f=Math.abs(c.clientY-n.initialTouchY),p=5;n.userIsDragging=d>p||f>p}},n.onTouchEnd=function(u){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(u.target)&&n.menuListRef&&!n.menuListRef.contains(u.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(u){n.userIsDragging||n.onControlMouseDown(u)},n.onClearIndicatorTouchEnd=function(u){n.userIsDragging||n.onClearIndicatorMouseDown(u)},n.onDropdownIndicatorTouchEnd=function(u){n.userIsDragging||n.onDropdownIndicatorMouseDown(u)},n.handleInputChange=function(u){var l=n.props.inputValue,c=u.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:l}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(u){n.props.onFocus&&n.props.onFocus(u),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(u){var l=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(u),n.onInputChange("",{action:"input-blur",prevInputValue:l}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(u){if(!(n.blockOptionHover||n.state.focusedOption===u)){var l=n.getFocusableOptions(),c=l.indexOf(u);n.setState({focusedOption:u,focusedOptionId:c>-1?n.getFocusedOptionId(u):null})}},n.shouldHideSelectedOptions=function(){return Np(n.props)},n.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),n.focus()},n.onKeyDown=function(u){var l=n.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,m=l.isClearable,g=l.isDisabled,h=l.menuIsOpen,b=l.onKeyDown,C=l.tabSelectsValue,S=l.openMenuOnFocus,w=n.state,I=w.focusedOption,A=w.focusedValue,x=w.selectValue;if(!g&&!(typeof b=="function"&&(b(u),u.defaultPrevented))){switch(n.blockOptionHover=!0,u.key){case"ArrowLeft":if(!c||p)return;n.focusValue("previous");break;case"ArrowRight":if(!c||p)return;n.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(A)n.removeValue(A);else{if(!d)return;c?n.popValue():m&&n.clearValue()}break;case"Tab":if(n.isComposing||u.shiftKey||!h||!C||!I||S&&n.isOptionSelected(I,x))return;n.selectOption(I);break;case"Enter":if(u.keyCode===229)break;if(h){if(!I||n.isComposing)return;n.selectOption(I);break}return;case"Escape":h?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:p}),n.onMenuClose()):m&&f&&n.clearValue();break;case" ":if(p)return;if(!h){n.openMenu("first");break}if(!I)return;n.selectOption(I);break;case"ArrowUp":h?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":h?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!h)return;n.focusOption("pageup");break;case"PageDown":if(!h)return;n.focusOption("pagedown");break;case"Home":if(!h)return;n.focusOption("first");break;case"End":if(!h)return;n.focusOption("last");break;default:return}u.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++iy),n.state.selectValue=Kr(o.value),o.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),a=n.buildFocusableOptions(),s=a.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=a[s],n.state.focusedOptionId=Ki(i,a[s])}return n}return L9(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Gc(this.menuListRef,this.focusedOptionRef),$7()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,a=i.isDisabled,s=i.menuIsOpen,u=this.state.isFocused;(u&&!a&&n.isDisabled||u&&s&&!n.menuIsOpen)&&this.focusInput(),u&&a&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!a&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Gc(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(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,a=this.state,s=a.selectValue,u=a.isFocused,l=this.buildFocusableOptions(),c=n==="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],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,a=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=a.indexOf(s);s||(u=-1);var l=a.length-1,c=-1;if(a.length){switch(n){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:a[c]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(a);a||(l=-1),n==="up"?u=l>0?l-1:s.length-1:n==="down"?u=(l+1)%s.length:n==="pageup"?(u=l-i,u<0&&(u=0)):n==="pagedown"?(u=l+i,u>s.length-1&&(u=s.length-1)):n==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[u])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qi):J(J({},Qi),this.props.theme):Qi}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,a=this.getStyles,s=this.getClassNames,u=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,m=d.options,g=this.hasValue();return{clearValue:n,cx:i,getStyles:a,getClassNames:s,getValue:u,hasValue:g,isMulti:f,isRtl:p,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,a=n.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(n,i){return _p(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return Tp(this.props,n,i)}},{key:"filterOption",value:function(n,i){return Mp(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:a,selectValue:s})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{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 n=this.props,i=n.isDisabled,a=n.isSearchable,s=n.inputId,u=n.inputValue,l=n.tabIndex,c=n.form,d=n.menuIsOpen,f=n.required,p=this.getComponents(),m=p.Input,g=this.state,h=g.inputIsHidden,b=g.ariaSelection,C=this.commonProps,S=s||this.getElementId("input"),w=J(J(J({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?y.createElement(m,ee({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:i,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},w)):y.createElement(T7,ee({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Qr,onFocus:this.onInputFocus,disabled:i,tabIndex:l,inputMode:"none",form:c,value:""},w))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),a=i.MultiValue,s=i.MultiValueContainer,u=i.MultiValueLabel,l=i.MultiValueRemove,c=i.SingleValue,d=i.Placeholder,f=this.commonProps,p=this.props,m=p.controlShouldRenderValue,g=p.isDisabled,h=p.isMulti,b=p.inputValue,C=p.placeholder,S=this.state,w=S.selectValue,I=S.focusedValue,A=S.isFocused;if(!this.hasValue()||!m)return b?null:y.createElement(d,ee({},f,{key:"placeholder",isDisabled:g,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),C);if(h)return w.map(function(E,P){var _=E===I,L="".concat(n.getOptionLabel(E),"-").concat(n.getOptionValue(E));return y.createElement(a,ee({},f,{components:{Container:s,Label:u,Remove:l},isFocused:_,isDisabled:g,key:L,index:P,removeProps:{onClick:function(){return n.removeValue(E)},onTouchEnd:function(){return n.removeValue(E)},onMouseDown:function(O){O.preventDefault()}},data:E}),n.formatOptionLabel(E,"value"))});if(b)return null;var x=w[0];return y.createElement(c,ee({},f,{data:x,isDisabled:g}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,a=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return y.createElement(i,ee({},a,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,a=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!i||!l)return null;var d={"aria-hidden":"true"};return y.createElement(i,ee({},a,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,a=n.IndicatorSeparator;if(!i||!a)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return y.createElement(a,ee({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var a=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return y.createElement(i,ee({},a,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),a=i.Group,s=i.GroupHeading,u=i.Menu,l=i.MenuList,c=i.MenuPortal,d=i.LoadingMessage,f=i.NoOptionsMessage,p=i.Option,m=this.commonProps,g=this.state.focusedOption,h=this.props,b=h.captureMenuScroll,C=h.inputValue,S=h.isLoading,w=h.loadingMessage,I=h.minMenuHeight,A=h.maxMenuHeight,x=h.menuIsOpen,E=h.menuPlacement,P=h.menuPosition,_=h.menuPortalTarget,L=h.menuShouldBlockScroll,j=h.menuShouldScrollIntoView,O=h.noOptionsMessage,N=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var M=function(H,k){var $=H.type,X=H.data,Y=H.isDisabled,q=H.isSelected,U=H.label,K=H.value,re=g===X,W=Y?void 0:function(){return n.onOptionHover(X)},te=Y?void 0:function(){return n.selectOption(X)},ae="".concat(n.getElementId("option"),"-").concat(k),se={id:ae,onClick:te,onMouseMove:W,onMouseOver:W,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:q};return y.createElement(p,ee({},m,{innerProps:se,data:X,isDisabled:Y,isSelected:q,key:ae,label:U,type:$,value:K,isFocused:re,innerRef:re?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(H.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function(D){if(D.type==="group"){var H=D.data,k=D.options,$=D.index,X="".concat(n.getElementId("group"),"-").concat($),Y="".concat(X,"-heading");return y.createElement(a,ee({},m,{key:X,data:H,options:k,Heading:s,headingProps:{id:Y,data:D.data},label:n.formatGroupLabel(D.data)}),D.options.map(function(q){return M(q,"".concat($,"-").concat(q.index))}))}else if(D.type==="option")return M(D,"".concat(D.index))});else if(S){var B=w({inputValue:C});if(B===null)return null;G=y.createElement(d,m,B)}else{var Z=O({inputValue:C});if(Z===null)return null;G=y.createElement(f,m,Z)}var R={minMenuHeight:I,maxMenuHeight:A,menuPlacement:E,menuPosition:P,menuShouldScrollIntoView:j},F=y.createElement(s8,ee({},m,R),function(D){var H=D.ref,k=D.placerProps,$=k.placement,X=k.maxHeight;return y.createElement(u,ee({},m,R,{innerRef:H,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:S,placement:$}),y.createElement(L7,{captureEnabled:b,onTopArrive:N,onBottomArrive:T,lockEnabled:L},function(Y){return y.createElement(l,ee({},m,{innerRef:function(U){n.getMenuListRef(U),Y(U)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:n.getElementId("listbox")},isLoading:S,maxHeight:X,focusedOption:g}),G)}))});return _||P==="fixed"?y.createElement(c,ee({},m,{appendTo:_,controlElement:this.controlRef,menuPlacement:E,menuPosition:P}),F):F}},{key:"renderFormField",value:function(){var n=this,i=this.props,a=i.delimiter,s=i.isDisabled,u=i.isMulti,l=i.name,c=i.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!s)return y.createElement(k7,{name:l,onFocus:this.onValueInputFocus});if(!(!l||s))if(u)if(a){var f=d.map(function(g){return n.getOptionValue(g)}).join(a);return y.createElement("input",{name:l,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,h){return y.createElement("input",{key:"i-".concat(h),name:l,type:"hidden",value:n.getOptionValue(g)})}):y.createElement("input",{name:l,type:"hidden",value:""});return y.createElement("div",null,p)}else{var m=d[0]?this.getOptionValue(d[0]):"";return y.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,a=i.ariaSelection,s=i.focusedOption,u=i.focusedValue,l=i.isFocused,c=i.selectValue,d=this.getFocusableOptions();return y.createElement(A7,ee({},n,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,a=n.IndicatorsContainer,s=n.SelectContainer,u=n.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,p=l.menuIsOpen,m=this.state.isFocused,g=this.commonProps=this.getCommonProps();return y.createElement(s,ee({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),y.createElement(i,ee({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:p}),y.createElement(u,ee({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),y.createElement(a,ee({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var a=i.prevProps,s=i.clearFocusValueOnUpdate,u=i.inputIsHiddenAfterUpdate,l=i.ariaSelection,c=i.isFocused,d=i.prevWasFocused,f=i.instancePrefix,p=n.options,m=n.value,g=n.menuIsOpen,h=n.inputValue,b=n.isMulti,C=Kr(m),S={};if(a&&(m!==a.value||p!==a.options||g!==a.menuIsOpen||h!==a.inputValue)){var w=g?ry(n,C):[],I=g?e1(Gr(n,C),"".concat(f,"-option")):[],A=s?ny(i,C):null,x=oy(i,w),E=Ki(I,x);S={selectValue:C,focusedOption:x,focusedOptionId:E,focusableOptionsWithIds:I,focusedValue:A,clearFocusValueOnUpdate:!1}}var P=u!=null&&n!==a?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},_=l,L=c&&d;return c&&!L&&(_={value:er(b,C,C[0]||null),options:C,action:"initial-input-focus"},L=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(_=null),J(J(J({},S),P),{},{prevProps:n,ariaSelection:_,prevWasFocused:L})}}]),r}(V.Component);Sn.defaultProps=ty;var ay=V.forwardRef(function(e,t){var r=wu(e);return y.createElement(Sn,ee({ref:t},r))}),uy=ay,sy=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function ly(e){var t=e.defaultOptions,r=t===void 0?!1:t,o=e.cacheOptions,n=o===void 0?!1:o,i=e.loadOptions;e.options;var a=e.isLoading,s=a===void 0?!1:a,u=e.onInputChange,l=e.filterOption,c=l===void 0?null:l,d=De(e,sy),f=d.inputValue,p=V.useRef(void 0),m=V.useRef(!1),g=V.useState(Array.isArray(r)?r:void 0),h=we(g,2),b=h[0],C=h[1],S=V.useState(typeof f<"u"?f:""),w=we(S,2),I=w[0],A=w[1],x=V.useState(r===!0),E=we(x,2),P=E[0],_=E[1],L=V.useState(void 0),j=we(L,2),O=j[0],N=j[1],T=V.useState([]),M=we(T,2),G=M[0],B=M[1],Z=V.useState(!1),R=we(Z,2),F=R[0],D=R[1],H=V.useState({}),k=we(H,2),$=k[0],X=k[1],Y=V.useState(void 0),q=we(Y,2),U=q[0],K=q[1],re=V.useState(void 0),W=we(re,2),te=W[0],ae=W[1];n!==te&&(X({}),ae(n)),r!==U&&(C(Array.isArray(r)?r:void 0),K(r)),V.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var se=V.useCallback(function(me,oe){if(!i)return oe();var ye=i(me,oe);ye&&typeof ye.then=="function"&&ye.then(oe,function(){return oe()})},[i]);V.useEffect(function(){r===!0&&se(I,function(me){m.current&&(C(me||[]),_(!!p.current))})},[]);var ge=V.useCallback(function(me,oe){var ye=$6(me,oe,u);if(!ye){p.current=void 0,A(""),N(""),B([]),_(!1),D(!1);return}if(n&&$[ye])A(ye),N(ye),B($[ye]),_(!1),D(!1);else{var En=p.current={};A(ye),_(!0),D(!O),se(ye,function(qt){m&&En===p.current&&(p.current=void 0,_(!1),N(ye),B(qt||[]),D(!1),X(qt?J(J({},$),{},Nt({},ye,qt)):$))})}},[n,se,O,$,u]),be=F?[]:I&&O?G:b||[];return J(J({},d),{},{options:be,isLoading:P||s,onInputChange:ge,filterOption:c})}var cy=V.forwardRef(function(e,t){var r=ly(e),o=wu(r);return y.createElement(Sn,ee({ref:t},o))}),dy=cy,fy=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],r1=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,n=String(t).toLowerCase(),i=String(o.getOptionValue(r)).toLowerCase(),a=String(o.getOptionLabel(r)).toLowerCase();return i===n||a===n},ea={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,o,n){return!(!t||r.some(function(i){return r1(t,i,n)})||o.some(function(i){return r1(t,i,n)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function py(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,o=e.createOptionPosition,n=o===void 0?"last":o,i=e.formatCreateLabel,a=i===void 0?ea.formatCreateLabel:i,s=e.isValidNewOption,u=s===void 0?ea.isValidNewOption:s,l=e.getNewOptionData,c=l===void 0?ea.getNewOptionData:l,d=e.onCreateOption,f=e.options,p=f===void 0?[]:f,m=e.onChange,g=De(e,fy),h=g.getOptionValue,b=h===void 0?Ep:h,C=g.getOptionLabel,S=C===void 0?Ap:C,w=g.inputValue,I=g.isLoading,A=g.isMulti,x=g.value,E=g.name,P=V.useMemo(function(){return u(w,Kr(x),p,{getOptionValue:b,getOptionLabel:S})?c(w,a(w)):void 0},[a,c,S,b,w,u,p,x]),_=V.useMemo(function(){return(r||!I)&&P?n==="first"?[P].concat(Bt(p)):[].concat(Bt(p),[P]):p},[r,n,I,P,p]),L=V.useCallback(function(j,O){if(O.action!=="select-option")return m(j,O);var N=Array.isArray(j)?j:[j];if(N[N.length-1]===P){if(d)d(w);else{var T=c(w,w),M={action:"create-option",name:E,option:T};m(er(A,[].concat(Bt(Kr(x)),[T]),T),M)}return}m(j,O)},[c,w,A,E,P,d,m,x]);return J(J({},g),{},{options:_,onChange:L})}var gy=V.forwardRef(function(e,t){var r=wu(e),o=py(r);return y.createElement(Sn,ee({ref:t},o))}),vy=gy;const my=({prefix:e,suffix:t,prefixSeparator:r,suffixSeparator:o,removePrefixSpacing:n,removeSuffixSpacing:i})=>v.jsxs(v.Fragment,{children:[e&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:z.select({removePrefixSpacing:n}).selectPrefix,children:e}),r&&v.jsx("div",{className:z.select({prefix:!0,removePrefixSpacing:n}).separator})]}),t&&v.jsxs(v.Fragment,{children:[o&&v.jsx("div",{className:z.select({suffix:!0,removeSuffixSpacing:i}).separator}),v.jsx("div",{className:z.select({removeSuffixSpacing:i}).selectSuffix,children:t})]})]}),hy=({primary:e,suffix:t})=>({option:(r,o)=>({appearance:"none",borderWidth:0,height:"30px",paddingTop:"3.75px",paddingRight:"11.25px",paddingBottom:"3.75px",paddingLeft:"11.25px",borderRadius:4,fontSize:"14.25px",display:"flex",alignItems:"center",outline:0,position:"relative",margin:0,fontWeight:500,cursor:"pointer",boxSizing:"border-box",background:o.isSelected?"#7a96cc":o.isFocused?"#f5f5f5":"#fff",color:o.isSelected?"#fff":"#001166",whiteSpace:"nowrap","&:hover":{background:!o.isSelected&&"#ecf2fb"},"&:active":{background:!o.isSelected&&"#c5d2e3"}}),dropdownIndicator:(r,o)=>({...r,fill:"#9B9B9B",color:o.isFocused?"#464646":"#9B9B9B",opacity:1,width:32,display:t?"none":"block","&:hover":{color:"#464646"}}),menu:()=>({position:"absolute",marginTop:"3.75px",top:"100%",backgroundColor:"#fff",boxShadow:'0 7.5px "11.25px" 6.75px rgba(0, 0, 0, .2)',padding:"7.5px",borderRadius:3,borderWidth:1,borderStyle:"solid",borderColor:"#ecf2fb",zIndex:2,minWidth:"100%",boxSizing:"border-box"}),menuList:r=>({...r,padding:0}),control:()=>({width:"100%",display:"flex",alignItems:"center",flex:1,flexWrap:"wrap",position:"relative",boxSizing:"border-box"}),container:()=>({width:"100%"}),indicatorSeparator:()=>({display:"none"}),singleValue:r=>({...r,transition:"opacity 300ms",color:e?"#0055FF":"#464646",position:"static",transform:"none",maxWidth:"100%",order:2}),input:r=>({...r,color:e?"#0055FF":"#464646",margin:0,padding:0,order:1}),placeholder:r=>({...r,position:"static",transform:"none",order:2,fontSize:"14px",color:"#C3C3C3",lineHeight:"20px"}),multiValue:r=>({...r,background:"#FAFBFF",color:"#0055FF"}),multiValueRemove:r=>({...r,borderRadius:"50%",height:18,width:18,padding:0,marginTop:2,marginLeft:4,marginRight:2,display:"flex",alignItems:"center",justifyContent:"center",color:"#80AAFF",fill:"#80AAFF","&:hover":{background:"rgba(0, 0, 0, .1)",color:"#80AAFF",fill:"#80AAFF"}}),multiValueLabel:r=>({...r,color:"464646"})}),by=z.css({top:0,left:0,right:0,bottom:0,width:"100%",height:"100%",position:"absolute"}),yy=e=>v.jsx(xp.ClearIndicator,{...e,children:v.jsx(ze,{name:"close"})}),Cy=({css:e,flat:t,name:r,small:o,value:n,onBlur:i,prefix:a,suffix:s,invalid:u,inverse:l,isMulti:c,onFocus:d,options:f,shimmer:p,primary:m,floating:g,onChange:h,isLoading:b,onKeyDown:C,isDisabled:S,isClearable:w,loadOptions:I,placeholder:A,autoComplete:x,cacheOptions:E,defaultValue:P,insidePrefix:_,insideSuffix:L,onInputChange:j,removeMargins:O,defaultOptions:N,getOptionLabel:T,getOptionValue:M,loadingMessage:G,onCreateOption:B,focusBorderless:Z,prefixSeparator:R,suffixSeparator:F,noOptionsMessage:D,closeMenuOnSelect:H,removePrefixSpacing:k,removeSuffixSpacing:$})=>{const X=hy({primary:m}),Y={ClearIndicator:yy},q=()=>({name:r,onBlur:i,onFocus:d,options:f,isMulti:c,onChange:h,onKeyDown:C,isLoading:b,isDisabled:S,placeholder:A,isClearable:w,defaultValue:P,onInputChange:j,getOptionLabel:T,getOptionValue:M,closeMenuOnSelect:H,isSearchable:x,styles:{...X},loadingMessage:()=>G,noOptionsMessage:()=>D,theme:re=>({...re,width:"100%",borderRadius:0,colors:{text:"orangered",primary:"#0055FF",primary25:"#c5d2e3"}}),value:n}),U=({loadOptions:re,selectProps:W,onCreateOption:te})=>re?v.jsx(dy,{...W,loadOptions:re,cacheOptions:E,defaultOptions:N,formatCreateLabel:()=>"Criar"}):te?v.jsx(vy,{...W,defaultOptions:N,onCreateOption:te,formatCreateLabel:()=>"Criar",isValidNewOption:(ae,se,ge)=>{const be=!ge.map(oe=>oe).includes(ae);return ae!==""&&be}}):v.jsx(uy,{...W,components:Y}),K=z.select({flat:t,small:o,invalid:u,inverse:l,primary:m,floating:g,insidePrefix:_,insideSuffix:L,removeMargins:O,focusBorderless:Z,removePrefixSpacing:k,removeSuffixSpacing:$,disabled:S});return v.jsxs("div",{className:K.selectStyle,style:e,children:[p&&v.jsx("div",{className:by,children:v.jsx(Ne,{height:"100%",width:"100%"})}),v.jsx(my,{prefix:a,suffix:s,prefixSeparator:R,suffixSeparator:F,removePrefixSpacing:k,removeSuffixSpacing:$}),v.jsx(U,{loadOptions:I,selectProps:q(),onCreateOption:B})]})},xy=({id:e,css:t,book:r,mask:o,name:n,flat:i,type:a="text",label:s,large:u,small:l,value:c,inline:d,onBlur:f,prefix:p,suffix:m,invalid:g,inverse:h,onClear:b,onFocus:C,options:S,shimmer:w,primary:I,multiple:A,onChange:x,readOnly:E,autoFocus:P,hideLabel:_=!1,isLoading:L,maxLength:j,onKeyDown:O,borderless:N,isDisabled:T,lightLabel:M,spellCheck:G,suffixText:B,autoCorrect:Z,isClearable:R,loadOptions:F,placeholder:D,refForFocus:H,autoComplete:k="on",cacheOptions:$,defaultValue:X,errorMessage:Y,onInputChange:q,removeMargins:U,autoCapitalize:K,defaultOptions:re,getOptionLabel:W,getOptionValue:te,loadingMessage:ae,onCreateOption:se,underlineFocus:ge,focusBorderless:be,prefixSeparator:me,suffixSeparator:oe,labelDescription:ye,noOptionsMessage:En,closeMenuOnSelect:qt=!0,removePrefixSpacing:o0,removeSuffixSpacing:i0,showOverflowEllipsis:a0,showFakeValuePlaceholder:u0})=>v.jsx(Ua,{label:s,inline:d,invalid:g,hideLabel:_,errorMessage:Y,labelDescription:ye,fontWeight:M?"light":"semibold",block:!1,children:v.jsx(Cy,{id:e,book:r,flat:i,mask:o,name:n,type:a,styles:t,large:u,small:l,value:c,inline:d,onBlur:f,prefix:p,suffix:m,primary:I,invalid:g,inverse:h,onClear:b,onFocus:C,options:S,shimmer:w,isMulti:A,onChange:x,readOnly:E,autoFocus:P,isLoading:L,maxLength:j,onKeyDown:O,borderless:N,isDisabled:T,spellCheck:G,suffixText:B,autoCorrect:Z,isClearable:R,loadOptions:F,placeholder:D,refForFocus:H,autoComplete:k,cacheOptions:$,defaultValue:X,onInputChange:q,removeMargins:U,autoCapitalize:K,defaultOptions:re,getOptionLabel:W,getOptionValue:te,loadingMessage:ae,onCreateOption:se,underlineFocus:ge,focusBorderless:be,prefixSeparator:me,suffixSeparator:oe,noOptionsMessage:En,closeMenuOnSelect:qt,removePrefixSpacing:o0,removeSuffixSpacing:i0,showOverflowEllipsis:a0,showFakeValuePlaceholder:u0})}),Fp=({top:e,left:t,right:r,bottom:o,inline:n,inside:i,children:a,vertical:s,horizontal:u,isGreaterThan:l,topLargeAndAbove:c,leftLargeAndAbove:d,topMediumAndAbove:f,leftMediumAndAbove:p,rightLargeAndAbove:m,bottomLargeAndAbove:g,rightMediumAndAbove:h,bottomMediumAndAbove:b,verticalLargeAndAbove:C,verticalMediumAndAbove:S,horizontalLargeAndAbove:w,horizontalMediumAndAbove:I})=>{const A=O=>O*16,x=({primary:O,primaryLargeAndAbove:N,primaryMediumAndAbove:T,secondary:M,secondaryLargeAndAbove:G,secondaryMediumAndAbove:B})=>(N!=null||G!=null)&&l("large")?N||G:(T!=null||B!=null)&&l("medium")?T||B:O||M,E=x({primary:e,secondary:s,primaryLargeAndAbove:c,primaryMediumAndAbove:f,secondaryLargeAndAbove:C,secondaryMediumAndAbove:S}),P=x({primary:r,secondary:u,primaryLargeAndAbove:m,primaryMediumAndAbove:h,secondaryLargeAndAbove:w,secondaryMediumAndAbove:I}),_=x({primary:o,secondary:s,primaryLargeAndAbove:g,primaryMediumAndAbove:b,secondaryLargeAndAbove:C,secondaryMediumAndAbove:S}),L=x({primary:t,secondary:u,primaryLargeAndAbove:d,primaryMediumAndAbove:p,secondaryLargeAndAbove:w,secondaryMediumAndAbove:I}),j=V.useMemo(()=>({...{[i?"paddingTop":"marginTop"]:E?A(E):null,[i?"paddingRight":"marginRight"]:P?A(P):null,[i?"paddingBottom":"marginBottom"]:_?A(_):null,[i?"paddingLeft":"marginLeft"]:L?A(L):null},display:n?"inline-block":"block",...n?{}:{width:"100%"}}),[E,P,_,L,n,i]);return n?v.jsx("span",{style:j,children:a}):v.jsx("div",{style:j,children:a})},wy=z2(Fp);Fp.displayName="Spacing";function Iy(e){const t=y.useRef({value:e,previous:e});return y.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var _u="Switch",[Sy,bC]=qe(_u),[Ay,Ey]=Sy(_u),Vp=y.forwardRef((e,t)=>{const{__scopeSwitch:r,name:o,checked:n,defaultChecked:i,required:a,disabled:s,value:u="on",onCheckedChange:l,form:c,...d}=e,[f,p]=y.useState(null),m=Se(t,S=>p(S)),g=y.useRef(!1),h=f?c||!!f.closest("form"):!0,[b=!1,C]=dt({prop:n,defaultProp:i,onChange:l});return v.jsxs(Ay,{scope:r,checked:b,disabled:s,children:[v.jsx(de.button,{type:"button",role:"switch","aria-checked":b,"aria-required":a,"data-state":Lp(b),"data-disabled":s?"":void 0,disabled:s,value:u,...d,ref:m,onClick:ve(e.onClick,S=>{C(w=>!w),h&&(g.current=S.isPropagationStopped(),g.current||S.stopPropagation())})}),h&&v.jsx(Ry,{control:f,bubbles:!g.current,name:o,value:u,checked:b,required:a,disabled:s,form:c,style:{transform:"translateX(-100%)"}})]})});Vp.displayName=_u;var jp="SwitchThumb",Bp=y.forwardRef((e,t)=>{const{__scopeSwitch:r,...o}=e,n=Ey(jp,r);return v.jsx(de.span,{"data-state":Lp(n.checked),"data-disabled":n.disabled?"":void 0,...o,ref:t})});Bp.displayName=jp;var Ry=e=>{const{control:t,checked:r,bubbles:o=!0,...n}=e,i=y.useRef(null),a=Iy(r),s=cf(t);return y.useEffect(()=>{const u=i.current,l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"checked").set;if(a!==r&&d){const f=new Event("click",{bubbles:o});d.call(u,r),u.dispatchEvent(f)}},[a,r,o]),v.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...n,tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Lp(e){return e?"checked":"unchecked"}var Py=Vp,Oy=Bp;const _y=({label:e,subtitle:t,disabled:r,...o})=>{const n=z.switchSlot({});return v.jsxs("div",{className:n.container,children:[v.jsx(Py,{...o,className:n.root,id:"switch",disabled:r,children:v.jsx(Oy,{className:n.thumb})}),v.jsxs("div",{className:n.content,children:[v.jsx("label",{className:n.label,htmlFor:"switch-mode",children:e}),v.jsx("label",{className:n.subtitle,htmlFor:"switch-mode",children:t})]})]})};var ta="rovingFocusGroup.onEntryFocus",Ty={bubbles:!1,cancelable:!0},An="RovingFocusGroup",[Ia,Dp,My]=l1(An),[Ny,Gp]=qe(An,[My]),[Fy,Vy]=Ny(An),Wp=y.forwardRef((e,t)=>v.jsx(Ia.Provider,{scope:e.__scopeRovingFocusGroup,children:v.jsx(Ia.Slot,{scope:e.__scopeRovingFocusGroup,children:v.jsx(jy,{...e,ref:t})})}));Wp.displayName=An;var jy=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:o,loop:n=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:l,preventScrollOnEntryFocus:c=!1,...d}=e,f=y.useRef(null),p=Se(t,f),m=Oa(i),[g=null,h]=dt({prop:a,defaultProp:s,onChange:u}),[b,C]=y.useState(!1),S=Xe(l),w=Dp(r),I=y.useRef(!1),[A,x]=y.useState(0);return y.useEffect(()=>{const E=f.current;if(E)return E.addEventListener(ta,S),()=>E.removeEventListener(ta,S)},[S]),v.jsx(Fy,{scope:r,orientation:o,dir:m,loop:n,currentTabStopId:g,onItemFocus:y.useCallback(E=>h(E),[h]),onItemShiftTab:y.useCallback(()=>C(!0),[]),onFocusableItemAdd:y.useCallback(()=>x(E=>E+1),[]),onFocusableItemRemove:y.useCallback(()=>x(E=>E-1),[]),children:v.jsx(de.div,{tabIndex:b||A===0?-1:0,"data-orientation":o,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:ve(e.onMouseDown,()=>{I.current=!0}),onFocus:ve(e.onFocus,E=>{const P=!I.current;if(E.target===E.currentTarget&&P&&!b){const _=new CustomEvent(ta,Ty);if(E.currentTarget.dispatchEvent(_),!_.defaultPrevented){const L=w().filter(M=>M.focusable),j=L.find(M=>M.active),O=L.find(M=>M.id===g),T=[j,O,...L].filter(Boolean).map(M=>M.ref.current);Zp(T,c)}}I.current=!1}),onBlur:ve(e.onBlur,()=>C(!1))})})}),kp="RovingFocusGroupItem",Hp=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:o=!0,active:n=!1,tabStopId:i,...a}=e,s=it(),u=i||s,l=Vy(kp,r),c=l.currentTabStopId===u,d=Dp(r),{onFocusableItemAdd:f,onFocusableItemRemove:p}=l;return y.useEffect(()=>{if(o)return f(),()=>p()},[o,f,p]),v.jsx(Ia.ItemSlot,{scope:r,id:u,focusable:o,active:n,children:v.jsx(de.span,{tabIndex:c?0:-1,"data-orientation":l.orientation,...a,ref:t,onMouseDown:ve(e.onMouseDown,m=>{o?l.onItemFocus(u):m.preventDefault()}),onFocus:ve(e.onFocus,()=>l.onItemFocus(u)),onKeyDown:ve(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){l.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=Dy(m,l.orientation,l.dir);if(g!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let b=d().filter(C=>C.focusable).map(C=>C.ref.current);if(g==="last")b.reverse();else if(g==="prev"||g==="next"){g==="prev"&&b.reverse();const C=b.indexOf(m.currentTarget);b=l.loop?Gy(b,C+1):b.slice(C+1)}setTimeout(()=>Zp(b))}})})})});Hp.displayName=kp;var By={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ly(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Dy(e,t,r){const o=Ly(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return By[o]}function Zp(e,t=!1){const r=document.activeElement;for(const o of e)if(o===r||(o.focus({preventScroll:t}),document.activeElement!==r))return}function Gy(e,t){return e.map((r,o)=>e[(t+o)%e.length])}var Wy=Wp,ky=Hp,Tu="Tabs",[Hy,yC]=qe(Tu,[Gp]),Xp=Gp(),[Zy,Mu]=Hy(Tu),$p=y.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,onValueChange:n,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:u="automatic",...l}=e,c=Oa(s),[d,f]=dt({prop:o,onChange:n,defaultProp:i});return v.jsx(Zy,{scope:r,baseId:it(),value:d,onValueChange:f,orientation:a,dir:c,activationMode:u,children:v.jsx(de.div,{dir:c,"data-orientation":a,...l,ref:t})})});$p.displayName=Tu;var zp="TabsList",Yp=y.forwardRef((e,t)=>{const{__scopeTabs:r,loop:o=!0,...n}=e,i=Mu(zp,r),a=Xp(r);return v.jsx(Wy,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:o,children:v.jsx(de.div,{role:"tablist","aria-orientation":i.orientation,...n,ref:t})})});Yp.displayName=zp;var qp="TabsTrigger",Jp=y.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,disabled:n=!1,...i}=e,a=Mu(qp,r),s=Xp(r),u=Kp(a.baseId,o),l=e0(a.baseId,o),c=o===a.value;return v.jsx(ky,{asChild:!0,...s,focusable:!n,active:c,children:v.jsx(de.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":l,"data-state":c?"active":"inactive","data-disabled":n?"":void 0,disabled:n,id:u,...i,ref:t,onMouseDown:ve(e.onMouseDown,d=>{!n&&d.button===0&&d.ctrlKey===!1?a.onValueChange(o):d.preventDefault()}),onKeyDown:ve(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&a.onValueChange(o)}),onFocus:ve(e.onFocus,()=>{const d=a.activationMode!=="manual";!c&&!n&&d&&a.onValueChange(o)})})})});Jp.displayName=qp;var Up="TabsContent",Qp=y.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,forceMount:n,children:i,...a}=e,s=Mu(Up,r),u=Kp(s.baseId,o),l=e0(s.baseId,o),c=o===s.value,d=y.useRef(c);return y.useEffect(()=>{const f=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(f)},[]),v.jsx(Ct,{present:n||c,children:({present:f})=>v.jsx(de.div,{"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!f,id:l,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:f&&i})})});Qp.displayName=Up;function Kp(e,t){return`${e}-trigger-${t}`}function e0(e,t){return`${e}-content-${t}`}var Xy=$p,$y=Yp,zy=Jp,Yy=Qp,t0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n1=V.createContext&&V.createContext(t0),qy=["attr","size","title"];function Jy(e,t){if(e==null)return{};var r=Uy(e,t),o,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function Uy(e,t){if(e==null)return{};var r={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;r[o]=e[o]}return r}function rn(){return rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},rn.apply(this,arguments)}function o1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function nn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?o1(Object(r),!0).forEach(function(o){Qy(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o1(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Qy(e,t,r){return t=Ky(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ky(e){var t=eC(e,"string");return typeof t=="symbol"?t:t+""}function eC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r0(e){return e&&e.map((t,r)=>V.createElement(t.tag,nn({key:r},t.attr),r0(t.child)))}function n0(e){return t=>V.createElement(tC,rn({attr:nn({},e.attr)},t),r0(e.child))}function tC(e){var t=r=>{var{attr:o,size:n,title:i}=e,a=Jy(e,qy),s=n||r.size||"1em",u;return r.className&&(u=r.className),e.className&&(u=(u?u+" ":"")+e.className),V.createElement("svg",rn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,o,a,{className:u,style:nn(nn({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&V.createElement("title",null,i),e.children)};return n1!==void 0?V.createElement(n1.Consumer,null,r=>t(r)):t(t0)}function rC(e){return n0({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C9.243 2 7 4.243 7 7v2H6c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v2H9V7zm9.002 13H13v-2.278c.595-.347 1-.985 1-1.722 0-1.103-.897-2-2-2s-2 .897-2 2c0 .736.405 1.375 1 1.722V20H6v-9h12l.002 9z"},child:[]}]})(e)}function nC(e){return n0({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1z"},child:[]}]})(e)}const oC=({icon:e,tabs:t,disabled:r,loading:o,btnIcon:n})=>{const[i,a]=V.useState("0"),s=l=>{a(l)},u=z.tabsSlot({btnIcon:n});return v.jsxs(Xy,{className:u.root,defaultValue:i,children:[v.jsx($y,{className:u.list,children:t==null?void 0:t.map(({title:l,disabledTab:c},d)=>{const f=`${d}`;return v.jsx(zy,{className:u.trigger,value:f,onClick:()=>s(f),disabled:c||o||r,style:{borderBottomColor:i===f?"black":"#0055ff"},children:v.jsxs(g2,{alignItems:"center",justifyContent:"center",gap:"small",children:[!!e&&v.jsx(nC,{size:"16"}),!!c&&v.jsx(rC,{size:"16"}),l]})},l)})}),t==null?void 0:t.map(({content:l},c)=>{const d=`${c}`;return v.jsx(Yy,{className:u.content,value:d,children:l},c)})]})},iC=({size:e,icon:t,color:r,shape:o,onClose:n,children:i,noSpacing:a,border:s})=>v.jsxs("span",{className:z.tagRecipe({color:r,noSpacing:a,shape:o,size:e,icon:!!t,border:s}),children:[t,i,!!n&&v.jsx("div",{className:aC,role:"button",onClick:n,children:v.jsx(ze,{name:"close",color:r})})]}),aC=z.css({display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50px",backgroundColor:"transparent",cursor:"pointer",transition:"all 0.3s ease",_hover:{bg:"fogWeak"}}),uC=({color:e,size:t,invalid:r,disabled:o,borderless:n,removeMargins:i,showOverflowEllipsis:a,showFakeValuePlaceholder:s,inline:u,errorMessage:l,label:c,labelDescription:d,hideLabel:f,lightLabel:p,className:m,...g})=>{const h=z.textAreaSlot({color:e,size:t,invalid:r,disabled:o,borderless:n,removeMargins:i,showOverflowEllipsis:a,showFakeValuePlaceholder:s});return v.jsx(Ua,{label:c,inline:u,invalid:!!r,hideLabel:f,errorMessage:l,labelDescription:d,children:v.jsx("div",{className:z.cx(h.root,m),children:v.jsx("textarea",{className:h.textarea,disabled:typeof o=="boolean"?o:!!o,...g})})})},sC=({size:e,flex:t,color:r,level:o,block:n,title:i,inline:a,loading:s,truncate:u,children:l,textAlign:c,noSpacing:d,fontWeight:f,lineHeight:p,fontMontserrat:m,noTopSpacing:g,shimmerWidth:h,alternativeFont:b,noBottomSpacing:C})=>{const S=z.titleSlot({size:e,flex:t,color:r,level:o,block:n,inline:a,truncate:u,textAlign:c,noSpacing:d,fontWeight:f,lineHeight:p,fontMontserrat:m,noTopSpacing:g,alternativeFont:b,noBottomSpacing:C}),w=`h${o}`;return v.jsx("div",{className:S.titleStyle,children:s?v.jsx(Ne,{height:"1ex",width:h||"60%"}):v.jsx(w,{className:S.titleHeader,children:l||i})})},lC=({hideIf:e,showIf:t,unmount:r,children:o})=>r?e===!1||t===!0?v.jsx(v.Fragment,{children:o}):null:v.jsx("div",{className:z.visibilitySlot({hidden:e!==!1&&t!==!0}).container,children:o}),cC=({id:e,gray:t,relative:r,children:o,container:n,fullHeight:i,size:a="default",spacing:s="none",verticalSpacing:u="default"})=>{const l=z.wrapperRecipe({container:n,size:a,fullHeight:i,gray:t,spacing:s,verticalSpacing:u,relative:r});return v.jsx("div",{id:e,className:l,children:o})};exports.Accordion=Dg;exports.Anchor=Hg;exports.Autocomplete=a3;exports.Avatar=Wd;exports.AvatarGroup=Hh;exports.Blanket=du;exports.Block=qh;exports.BoxGroup=Jh;exports.Breadcrumbs=Qh;exports.Button=hn;exports.Cell=e4;exports.Checkbox=r4;exports.Clickable=n4;exports.Dialog=pb;exports.Drawer=gb;exports.Dropdown=Cb;exports.FlatButton=f2;exports.Grid=g2;exports.Icon=ze;exports.Input=Fd;exports.Label=Lf;exports.Loader=fu;exports.Modal=xb;exports.Pagination=Ib;exports.Popover=T9;exports.Responsive=Bf;exports.Select=xy;exports.Separator=aa;exports.Shimmer=Ne;exports.Spacing=wy;exports.Switch=_y;exports.Tabs=oC;exports.Tag=iC;exports.Text=Ee;exports.TextArea=uC;exports.Title=sC;exports.Visibility=lC;exports.Wrapper=cC;exports.auroraPreset=rg;exports.withBreakpoints=z2;