@aveonline/ui-react 1.3.4 → 1.3.6

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.
@@ -1,9 +1,9 @@
1
- (function(_,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],g):(_=typeof globalThis<"u"?globalThis:_||self,g(_["@aveonline/ui-react"]={},_.React,_.ReactDOM))})(this,function(_,g,Ot){"use strict";var uo=document.createElement("style");uo.innerHTML=`[type=radio]:checked{background-image:url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%2016%2016'%20fill%3D'%232C6ECB'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Ccircle%20cx%3D'8'%20cy%3D'8'%20r%3D'4'%2F%3E%3C%2Fsvg%3E")}[type=radio]:checked:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:disabled{background-image:url("data:image/svg+xml;utf8, %3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%20fill%3D%22white%22%20fill-opacity%3D%220.01%22%2F%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_1575_10817)%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.72%206.23998C14.8872%206.4057%2014.9862%206.62814%2014.9973%206.8633C15.0084%207.09847%2014.9309%207.32924%2014.78%207.50998L9.41%2013.71C9.33315%2013.797%209.23949%2013.8675%209.13466%2013.9174C9.02982%2013.9672%208.91598%2013.9953%208.8%2014C8.68415%2014.0029%208.56899%2013.9813%208.46213%2013.9364C8.35526%2013.8916%208.2591%2013.8247%208.18%2013.74L5.25%2010.64C5.10033%2010.4603%205.01837%2010.2338%205.01837%209.99998C5.01837%209.76613%205.10033%209.53967%205.25%209.35998C5.32761%209.27734%205.42134%209.21148%205.52539%209.16646C5.62945%209.12143%205.74162%209.09821%205.855%209.09821C5.96837%209.09821%206.08055%209.12143%206.1846%209.16646C6.28865%209.21148%206.38238%209.27734%206.46%209.35998L8.75%2011.79L13.52%206.28998C13.5932%206.20432%2013.6834%206.13468%2013.7847%206.0854C13.8861%206.03613%2013.9965%206.00827%2014.1091%206.00358C14.2217%205.99889%2014.3341%206.01746%2014.4392%206.05813C14.5443%206.09881%2014.6399%206.16071%2014.72%206.23998V6.23998Z%22%20fill%3D%22%23D6D6D6%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_1575_10817%22%3E%0A%3Crect%20width%3D%2210%22%20height%3D%2210%22%20fill%3D%22white%22%20transform%3D%22translate(5%205)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A%0A")}
2
- `,document.head.appendChild(uo);const is=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function co(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const oe=is(g),T=co(g),as=co(Ot);var fo={exports:{}};/*!
1
+ (function(_,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],g):(_=typeof globalThis<"u"?globalThis:_||self,g(_["@aveonline/ui-react"]={},_.React,_.ReactDOM))})(this,function(_,g,Ot){"use strict";var co=document.createElement("style");co.innerHTML=`[type=radio]:checked{background-image:url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%2016%2016'%20fill%3D'%232C6ECB'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Ccircle%20cx%3D'8'%20cy%3D'8'%20r%3D'4'%2F%3E%3C%2Fsvg%3E")}[type=radio]:checked:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:disabled{background-image:url("data:image/svg+xml;utf8, %3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%20fill%3D%22white%22%20fill-opacity%3D%220.01%22%2F%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_1575_10817)%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.72%206.23998C14.8872%206.4057%2014.9862%206.62814%2014.9973%206.8633C15.0084%207.09847%2014.9309%207.32924%2014.78%207.50998L9.41%2013.71C9.33315%2013.797%209.23949%2013.8675%209.13466%2013.9174C9.02982%2013.9672%208.91598%2013.9953%208.8%2014C8.68415%2014.0029%208.56899%2013.9813%208.46213%2013.9364C8.35526%2013.8916%208.2591%2013.8247%208.18%2013.74L5.25%2010.64C5.10033%2010.4603%205.01837%2010.2338%205.01837%209.99998C5.01837%209.76613%205.10033%209.53967%205.25%209.35998C5.32761%209.27734%205.42134%209.21148%205.52539%209.16646C5.62945%209.12143%205.74162%209.09821%205.855%209.09821C5.96837%209.09821%206.08055%209.12143%206.1846%209.16646C6.28865%209.21148%206.38238%209.27734%206.46%209.35998L8.75%2011.79L13.52%206.28998C13.5932%206.20432%2013.6834%206.13468%2013.7847%206.0854C13.8861%206.03613%2013.9965%206.00827%2014.1091%206.00358C14.2217%205.99889%2014.3341%206.01746%2014.4392%206.05813C14.5443%206.09881%2014.6399%206.16071%2014.72%206.23998V6.23998Z%22%20fill%3D%22%23D6D6D6%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_1575_10817%22%3E%0A%3Crect%20width%3D%2210%22%20height%3D%2210%22%20fill%3D%22white%22%20transform%3D%22translate(5%205)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A%0A")}
2
+ `,document.head.appendChild(co);const is=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function fo(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const oe=is(g),T=fo(g),as=fo(Ot);var po={exports:{}};/*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o=[],r=0;r<arguments.length;r++){var i=arguments[r];if(!!i){var s=typeof i;if(s==="string"||s==="number")o.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&o.push(a)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){o.push(i.toString());continue}for(var l in i)t.call(i,l)&&i[l]&&o.push(l)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(fo);const M=fo.exports;function ss({variant:e,isLoading:t,size:n,fullWidth:o,align:r,onlyOneIcon:i}){const s=()=>{if(e==="primary")return t?"bg-white":"bg-action-primary-default hover:bg-action-primary-hovered active:bg-action-primary-active text-letter-on disabled:bg-action-primary-disabled";if(e==="basic")return t?"bg-action-secondary-disabled":"bg-action-opacity-default text-letter-default hover:bg-action-opacity-hovered active:bg-action-opacity-active disabled:bg-action-opacity-disabled";if(e==="destructive")return t?"bg-action-critical-disabled":"bg-action-critical-default text-letter-on hover:bg-action-critical-hovered active:bg-action-critical-active disabled:bg-action-critical-disabled";if(e==="plain")return"text-action-primary-default hover:bg-surface-action-hovered active:bg-surface-action-active active:text-action-primary-pressed disabled:bg-white";if(e==="plain-monochrome")return"text-letter-default hover:bg-action-opacity-hovered active:bg-action-opacity-active active:text-letter-default disabled:bg-white";if(e==="plain-destructive")return"text-letter-critical hover:bg-surface-critical-hovered active:bg-surface-critical-active active:text-letter-critical disabled:bg-white"},a=()=>["primary","basic","destructive"].includes(e!=null?e:"primary"),l=M("p-sm",{"h-[56px] w-[56px]":n==="md"&&a(),"h-[36px] w-[36px]":n==="sm"&&a(),"h-[40px] w-[40px]":n==="md"&&!a(),"h-[30px] w-[30px]":n==="sm"&&!a()}),u=M("leading-xs px-sm",{"h-[36px] py-xs":n==="sm"&&a(),"h-[56px] py-md":n==="md"&&a(),"h-[30px] py-[5px]":n==="sm"&&!a(),"h-[40px] py-[10px]":n==="md"&&!a()}),c=()=>i?"":o?"w-full":"w-auto";return{getClass:()=>M("rounded-sm text-xs font-sans font-medium disabled:text-letter-disabled flex items-center gap-x-1 focus:outline-none",t?"relative":"",i?l:u,c(),s(),{"justify-center":r==="center","justify-start":r==="start","justify-end":r==="end"})}}var qt={exports:{}},Bt={};/**
6
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o=[],r=0;r<arguments.length;r++){var i=arguments[r];if(!!i){var s=typeof i;if(s==="string"||s==="number")o.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&o.push(a)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){o.push(i.toString());continue}for(var l in i)t.call(i,l)&&i[l]&&o.push(l)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(po);const B=po.exports;function ss({variant:e,isLoading:t,size:n,fullWidth:o,align:r,onlyOneIcon:i,className:s}){const a=()=>{if(e==="primary")return t?"bg-white":"bg-action-primary-default hover:bg-action-primary-hovered active:bg-action-primary-active text-letter-on disabled:bg-action-primary-disabled";if(e==="basic")return t?"bg-action-secondary-disabled":"bg-action-opacity-default text-letter-default hover:bg-action-opacity-hovered active:bg-action-opacity-active disabled:bg-action-opacity-disabled";if(e==="destructive")return t?"bg-action-critical-disabled":"bg-action-critical-default text-letter-on hover:bg-action-critical-hovered active:bg-action-critical-active disabled:bg-action-critical-disabled";if(e==="plain")return"text-action-primary-default hover:bg-surface-action-hovered active:bg-surface-action-active active:text-action-primary-pressed disabled:bg-white";if(e==="plain-monochrome")return"text-letter-default hover:bg-action-opacity-hovered active:bg-action-opacity-active active:text-letter-default disabled:bg-white";if(e==="plain-destructive")return"text-letter-critical hover:bg-surface-critical-hovered active:bg-surface-critical-active active:text-letter-critical disabled:bg-white"},l=()=>["primary","basic","destructive"].includes(e!=null?e:"primary"),u=B("p-sm",{"h-[56px] w-[56px]":n==="md"&&l(),"h-[36px] w-[36px]":n==="sm"&&l(),"h-[40px] w-[40px]":n==="md"&&!l(),"h-[30px] w-[30px]":n==="sm"&&!l()}),c=B("leading-xs px-sm",{"h-[36px] py-xs":n==="sm"&&l(),"h-[56px] py-md":n==="md"&&l(),"h-[30px] py-[5px]":n==="sm"&&!l(),"h-[40px] py-[10px]":n==="md"&&!l()}),f=()=>i?"":o?"w-full":"w-auto";return{getClass:()=>B("rounded-sm text-xs font-sans font-medium disabled:text-letter-disabled flex items-center gap-x-2 focus:outline-none",t?"relative":"",i?u:c,f(),a(),{"justify-center":r==="center","justify-start":r==="start","justify-end":r==="end"},s)}}var qt={exports:{}},Rt={};/**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.min.js
9
9
  *
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
- */var po;function ls(){if(po)return Bt;po=1;var e=oe.default,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(a,l,u){var c,f={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)o.call(l,c)&&!i.hasOwnProperty(c)&&(f[c]=l[c]);if(a&&a.defaultProps)for(c in l=a.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:a,key:p,ref:h,props:f,_owner:r.current}}return Bt.Fragment=n,Bt.jsx=s,Bt.jsxs=s,Bt}var Rt={};/**
14
+ */var go;function ls(){if(go)return Rt;go=1;var e=oe.default,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(a,l,u){var c,f={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)o.call(l,c)&&!i.hasOwnProperty(c)&&(f[c]=l[c]);if(a&&a.defaultProps)for(c in l=a.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:a,key:p,ref:h,props:f,_owner:r.current}}return Rt.Fragment=n,Rt.jsx=s,Rt.jsxs=s,Rt}var Bt={};/**
15
15
  * @license React
16
16
  * react-jsx-runtime.development.js
17
17
  *
@@ -19,47 +19,47 @@
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var go;function us(){return go||(go=1,process.env.NODE_ENV!=="production"&&function(){var e=oe.default,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=Symbol.iterator,v="@@iterator";function y(m){if(m===null||typeof m!="object")return null;var F=b&&m[b]||m[v];return typeof F=="function"?F:null}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(m){{for(var F=arguments.length,G=new Array(F>1?F-1:0),z=1;z<F;z++)G[z-1]=arguments[z];w("error",m,G)}}function w(m,F,G){{var z=I.ReactDebugCurrentFrame,ee=z.getStackAddendum();ee!==""&&(F+="%s",G=G.concat([ee]));var se=G.map(function(Q){return String(Q)});se.unshift("Warning: "+F),Function.prototype.apply.call(console[m],console,se)}}var C=!1,x=!1,A=!1,S=!1,O=!1,R;R=Symbol.for("react.module.reference");function P(m){return!!(typeof m=="string"||typeof m=="function"||m===o||m===i||O||m===r||m===u||m===c||S||m===h||C||x||A||typeof m=="object"&&m!==null&&(m.$$typeof===p||m.$$typeof===f||m.$$typeof===s||m.$$typeof===a||m.$$typeof===l||m.$$typeof===R||m.getModuleId!==void 0))}function W(m,F,G){var z=m.displayName;if(z)return z;var ee=F.displayName||F.name||"";return ee!==""?G+"("+ee+")":G}function Z(m){return m.displayName||"Context"}function B(m){if(m==null)return null;if(typeof m.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case o:return"Fragment";case n:return"Portal";case i:return"Profiler";case r:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case a:var F=m;return Z(F)+".Consumer";case s:var G=m;return Z(G._context)+".Provider";case l:return W(m,m.render,"ForwardRef");case f:var z=m.displayName||null;return z!==null?z:B(m.type)||"Memo";case p:{var ee=m,se=ee._payload,Q=ee._init;try{return B(Q(se))}catch{return null}}}return null}var N=Object.assign,D=0,L,Y,X,U,de,Re,le;function me(){}me.__reactDisabledLog=!0;function Fe(){{if(D===0){L=console.log,Y=console.info,X=console.warn,U=console.error,de=console.group,Re=console.groupCollapsed,le=console.groupEnd;var m={configurable:!0,enumerable:!0,value:me,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}D++}}function Ee(){{if(D--,D===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},m,{value:L}),info:N({},m,{value:Y}),warn:N({},m,{value:X}),error:N({},m,{value:U}),group:N({},m,{value:de}),groupCollapsed:N({},m,{value:Re}),groupEnd:N({},m,{value:le})})}D<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=I.ReactCurrentDispatcher,we;function Pe(m,F,G){{if(we===void 0)try{throw Error()}catch(ee){var z=ee.stack.trim().match(/\n( *(at )?)/);we=z&&z[1]||""}return`
23
- `+we+m}}var Le=!1,_e;{var ut=typeof WeakMap=="function"?WeakMap:Map;_e=new ut}function k(m,F){if(!m||Le)return"";{var G=_e.get(m);if(G!==void 0)return G}var z;Le=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=ye.current,ye.current=null,Fe();try{if(F){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(tt){z=tt}Reflect.construct(m,[],Q)}else{try{Q.call()}catch(tt){z=tt}m.call(Q.prototype)}}else{try{throw Error()}catch(tt){z=tt}m()}}catch(tt){if(tt&&z&&typeof tt.stack=="string"){for(var J=tt.stack.split(`
22
+ */var mo;function us(){return mo||(mo=1,process.env.NODE_ENV!=="production"&&function(){var e=oe.default,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator,v="@@iterator";function C(b){if(b===null||typeof b!="object")return null;var F=m&&b[m]||b[v];return typeof F=="function"?F:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(b){{for(var F=arguments.length,G=new Array(F>1?F-1:0),z=1;z<F;z++)G[z-1]=arguments[z];w("error",b,G)}}function w(b,F,G){{var z=x.ReactDebugCurrentFrame,ee=z.getStackAddendum();ee!==""&&(F+="%s",G=G.concat([ee]));var se=G.map(function(U){return String(U)});se.unshift("Warning: "+F),Function.prototype.apply.call(console[b],console,se)}}var y=!1,I=!1,A=!1,S=!1,O=!1,M;M=Symbol.for("react.module.reference");function P(b){return!!(typeof b=="string"||typeof b=="function"||b===o||b===i||O||b===r||b===u||b===c||S||b===h||y||I||A||typeof b=="object"&&b!==null&&(b.$$typeof===p||b.$$typeof===f||b.$$typeof===s||b.$$typeof===a||b.$$typeof===l||b.$$typeof===M||b.getModuleId!==void 0))}function W(b,F,G){var z=b.displayName;if(z)return z;var ee=F.displayName||F.name||"";return ee!==""?G+"("+ee+")":G}function Z(b){return b.displayName||"Context"}function R(b){if(b==null)return null;if(typeof b.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case o:return"Fragment";case n:return"Portal";case i:return"Profiler";case r:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case a:var F=b;return Z(F)+".Consumer";case s:var G=b;return Z(G._context)+".Provider";case l:return W(b,b.render,"ForwardRef");case f:var z=b.displayName||null;return z!==null?z:R(b.type)||"Memo";case p:{var ee=b,se=ee._payload,U=ee._init;try{return R(U(se))}catch{return null}}}return null}var N=Object.assign,D=0,L,Y,X,$,de,Be,le;function me(){}me.__reactDisabledLog=!0;function Fe(){{if(D===0){L=console.log,Y=console.info,X=console.warn,$=console.error,de=console.group,Be=console.groupCollapsed,le=console.groupEnd;var b={configurable:!0,enumerable:!0,value:me,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}D++}}function Ee(){{if(D--,D===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},b,{value:L}),info:N({},b,{value:Y}),warn:N({},b,{value:X}),error:N({},b,{value:$}),group:N({},b,{value:de}),groupCollapsed:N({},b,{value:Be}),groupEnd:N({},b,{value:le})})}D<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=x.ReactCurrentDispatcher,we;function Pe(b,F,G){{if(we===void 0)try{throw Error()}catch(ee){var z=ee.stack.trim().match(/\n( *(at )?)/);we=z&&z[1]||""}return`
23
+ `+we+b}}var Le=!1,_e;{var ut=typeof WeakMap=="function"?WeakMap:Map;_e=new ut}function k(b,F){if(!b||Le)return"";{var G=_e.get(b);if(G!==void 0)return G}var z;Le=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=ye.current,ye.current=null,Fe();try{if(F){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(tt){z=tt}Reflect.construct(b,[],U)}else{try{U.call()}catch(tt){z=tt}b.call(U.prototype)}}else{try{throw Error()}catch(tt){z=tt}b()}}catch(tt){if(tt&&z&&typeof tt.stack=="string"){for(var J=tt.stack.split(`
24
24
  `),Te=z.stack.split(`
25
25
  `),be=J.length-1,Ce=Te.length-1;be>=1&&Ce>=0&&J[be]!==Te[Ce];)Ce--;for(;be>=1&&Ce>=0;be--,Ce--)if(J[be]!==Te[Ce]){if(be!==1||Ce!==1)do if(be--,Ce--,Ce<0||J[be]!==Te[Ce]){var ke=`
26
- `+J[be].replace(" at new "," at ");return m.displayName&&ke.includes("<anonymous>")&&(ke=ke.replace("<anonymous>",m.displayName)),typeof m=="function"&&_e.set(m,ke),ke}while(be>=1&&Ce>=0);break}}}finally{Le=!1,ye.current=se,Ee(),Error.prepareStackTrace=ee}var Vt=m?m.displayName||m.name:"",os=Vt?Pe(Vt):"";return typeof m=="function"&&_e.set(m,os),os}function et(m,F,G){return k(m,!1)}function He(m){var F=m.prototype;return!!(F&&F.isReactComponent)}function De(m,F,G){if(m==null)return"";if(typeof m=="function")return k(m,He(m));if(typeof m=="string")return Pe(m);switch(m){case u:return Pe("Suspense");case c:return Pe("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case l:return et(m.render);case f:return De(m.type,F,G);case p:{var z=m,ee=z._payload,se=z._init;try{return De(se(ee),F,G)}catch{}}}return""}var Gt=Object.prototype.hasOwnProperty,zn={},ct=I.ReactDebugCurrentFrame;function ze(m){if(m){var F=m._owner,G=De(m.type,m._source,F?F.type:null);ct.setExtraStackFrame(G)}else ct.setExtraStackFrame(null)}function Ge(m,F,G,z,ee){{var se=Function.call.bind(Gt);for(var Q in m)if(se(m,Q)){var J=void 0;try{if(typeof m[Q]!="function"){var Te=Error((z||"React class")+": "+G+" type `"+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[Q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Te.name="Invariant Violation",Te}J=m[Q](F,Q,z,G,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(be){J=be}J&&!(J instanceof Error)&&(ze(ee),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",z||"React class",G,Q,typeof J),ze(null)),J instanceof Error&&!(J.message in zn)&&(zn[J.message]=!0,ze(ee),E("Failed %s type: %s",G,J.message),ze(null))}}}var oo=Array.isArray;function Ct(m){return oo(m)}function $0(m){{var F=typeof Symbol=="function"&&Symbol.toStringTag,G=F&&m[Symbol.toStringTag]||m.constructor.name||"Object";return G}}function U0(m){try{return Ja(m),!1}catch{return!0}}function Ja(m){return""+m}function $a(m){if(U0(m))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$0(m)),Ja(m)}var Kt=I.ReactCurrentOwner,Q0={key:!0,ref:!0,__self:!0,__source:!0},Ua,Qa,io;io={};function K0(m){if(Gt.call(m,"ref")){var F=Object.getOwnPropertyDescriptor(m,"ref").get;if(F&&F.isReactWarning)return!1}return m.ref!==void 0}function q0(m){if(Gt.call(m,"key")){var F=Object.getOwnPropertyDescriptor(m,"key").get;if(F&&F.isReactWarning)return!1}return m.key!==void 0}function e1(m,F){if(typeof m.ref=="string"&&Kt.current&&F&&Kt.current.stateNode!==F){var G=B(Kt.current.type);io[G]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(Kt.current.type),m.ref),io[G]=!0)}}function t1(m,F){{var G=function(){Ua||(Ua=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};G.isReactWarning=!0,Object.defineProperty(m,"key",{get:G,configurable:!0})}}function n1(m,F){{var G=function(){Qa||(Qa=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};G.isReactWarning=!0,Object.defineProperty(m,"ref",{get:G,configurable:!0})}}var r1=function(m,F,G,z,ee,se,Q){var J={$$typeof:t,type:m,key:F,ref:G,props:Q,_owner:se};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function o1(m,F,G,z,ee){{var se,Q={},J=null,Te=null;G!==void 0&&($a(G),J=""+G),q0(F)&&($a(F.key),J=""+F.key),K0(F)&&(Te=F.ref,e1(F,ee));for(se in F)Gt.call(F,se)&&!Q0.hasOwnProperty(se)&&(Q[se]=F[se]);if(m&&m.defaultProps){var be=m.defaultProps;for(se in be)Q[se]===void 0&&(Q[se]=be[se])}if(J||Te){var Ce=typeof m=="function"?m.displayName||m.name||"Unknown":m;J&&t1(Q,Ce),Te&&n1(Q,Ce)}return r1(m,J,Te,ee,z,Kt.current,Q)}}var ao=I.ReactCurrentOwner,Ka=I.ReactDebugCurrentFrame;function Tt(m){if(m){var F=m._owner,G=De(m.type,m._source,F?F.type:null);Ka.setExtraStackFrame(G)}else Ka.setExtraStackFrame(null)}var so;so=!1;function lo(m){return typeof m=="object"&&m!==null&&m.$$typeof===t}function qa(){{if(ao.current){var m=B(ao.current.type);if(m)return`
26
+ `+J[be].replace(" at new "," at ");return b.displayName&&ke.includes("<anonymous>")&&(ke=ke.replace("<anonymous>",b.displayName)),typeof b=="function"&&_e.set(b,ke),ke}while(be>=1&&Ce>=0);break}}}finally{Le=!1,ye.current=se,Ee(),Error.prepareStackTrace=ee}var Vt=b?b.displayName||b.name:"",os=Vt?Pe(Vt):"";return typeof b=="function"&&_e.set(b,os),os}function et(b,F,G){return k(b,!1)}function He(b){var F=b.prototype;return!!(F&&F.isReactComponent)}function De(b,F,G){if(b==null)return"";if(typeof b=="function")return k(b,He(b));if(typeof b=="string")return Pe(b);switch(b){case u:return Pe("Suspense");case c:return Pe("SuspenseList")}if(typeof b=="object")switch(b.$$typeof){case l:return et(b.render);case f:return De(b.type,F,G);case p:{var z=b,ee=z._payload,se=z._init;try{return De(se(ee),F,G)}catch{}}}return""}var Gt=Object.prototype.hasOwnProperty,zn={},ct=x.ReactDebugCurrentFrame;function ze(b){if(b){var F=b._owner,G=De(b.type,b._source,F?F.type:null);ct.setExtraStackFrame(G)}else ct.setExtraStackFrame(null)}function Ge(b,F,G,z,ee){{var se=Function.call.bind(Gt);for(var U in b)if(se(b,U)){var J=void 0;try{if(typeof b[U]!="function"){var Te=Error((z||"React class")+": "+G+" type `"+U+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof b[U]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Te.name="Invariant Violation",Te}J=b[U](F,U,z,G,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(be){J=be}J&&!(J instanceof Error)&&(ze(ee),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",z||"React class",G,U,typeof J),ze(null)),J instanceof Error&&!(J.message in zn)&&(zn[J.message]=!0,ze(ee),E("Failed %s type: %s",G,J.message),ze(null))}}}var io=Array.isArray;function Ct(b){return io(b)}function $0(b){{var F=typeof Symbol=="function"&&Symbol.toStringTag,G=F&&b[Symbol.toStringTag]||b.constructor.name||"Object";return G}}function U0(b){try{return Ja(b),!1}catch{return!0}}function Ja(b){return""+b}function $a(b){if(U0(b))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$0(b)),Ja(b)}var Kt=x.ReactCurrentOwner,Q0={key:!0,ref:!0,__self:!0,__source:!0},Ua,Qa,ao;ao={};function K0(b){if(Gt.call(b,"ref")){var F=Object.getOwnPropertyDescriptor(b,"ref").get;if(F&&F.isReactWarning)return!1}return b.ref!==void 0}function q0(b){if(Gt.call(b,"key")){var F=Object.getOwnPropertyDescriptor(b,"key").get;if(F&&F.isReactWarning)return!1}return b.key!==void 0}function e1(b,F){if(typeof b.ref=="string"&&Kt.current&&F&&Kt.current.stateNode!==F){var G=R(Kt.current.type);ao[G]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Kt.current.type),b.ref),ao[G]=!0)}}function t1(b,F){{var G=function(){Ua||(Ua=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};G.isReactWarning=!0,Object.defineProperty(b,"key",{get:G,configurable:!0})}}function n1(b,F){{var G=function(){Qa||(Qa=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};G.isReactWarning=!0,Object.defineProperty(b,"ref",{get:G,configurable:!0})}}var r1=function(b,F,G,z,ee,se,U){var J={$$typeof:t,type:b,key:F,ref:G,props:U,_owner:se};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function o1(b,F,G,z,ee){{var se,U={},J=null,Te=null;G!==void 0&&($a(G),J=""+G),q0(F)&&($a(F.key),J=""+F.key),K0(F)&&(Te=F.ref,e1(F,ee));for(se in F)Gt.call(F,se)&&!Q0.hasOwnProperty(se)&&(U[se]=F[se]);if(b&&b.defaultProps){var be=b.defaultProps;for(se in be)U[se]===void 0&&(U[se]=be[se])}if(J||Te){var Ce=typeof b=="function"?b.displayName||b.name||"Unknown":b;J&&t1(U,Ce),Te&&n1(U,Ce)}return r1(b,J,Te,ee,z,Kt.current,U)}}var so=x.ReactCurrentOwner,Ka=x.ReactDebugCurrentFrame;function Tt(b){if(b){var F=b._owner,G=De(b.type,b._source,F?F.type:null);Ka.setExtraStackFrame(G)}else Ka.setExtraStackFrame(null)}var lo;lo=!1;function uo(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function qa(){{if(so.current){var b=R(so.current.type);if(b)return`
27
27
 
28
- Check the render method of \``+m+"`."}return""}}function i1(m){{if(m!==void 0){var F=m.fileName.replace(/^.*[\\\/]/,""),G=m.lineNumber;return`
28
+ Check the render method of \``+b+"`."}return""}}function i1(b){{if(b!==void 0){var F=b.fileName.replace(/^.*[\\\/]/,""),G=b.lineNumber;return`
29
29
 
30
- Check your code at `+F+":"+G+"."}return""}}var es={};function a1(m){{var F=qa();if(!F){var G=typeof m=="string"?m:m.displayName||m.name;G&&(F=`
30
+ Check your code at `+F+":"+G+"."}return""}}var es={};function a1(b){{var F=qa();if(!F){var G=typeof b=="string"?b:b.displayName||b.name;G&&(F=`
31
31
 
32
- Check the top-level render call using <`+G+">.")}return F}}function ts(m,F){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var G=a1(F);if(es[G])return;es[G]=!0;var z="";m&&m._owner&&m._owner!==ao.current&&(z=" It was passed a child from "+B(m._owner.type)+"."),Tt(m),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,z),Tt(null)}}function ns(m,F){{if(typeof m!="object")return;if(Ct(m))for(var G=0;G<m.length;G++){var z=m[G];lo(z)&&ts(z,F)}else if(lo(m))m._store&&(m._store.validated=!0);else if(m){var ee=y(m);if(typeof ee=="function"&&ee!==m.entries)for(var se=ee.call(m),Q;!(Q=se.next()).done;)lo(Q.value)&&ts(Q.value,F)}}}function s1(m){{var F=m.type;if(F==null||typeof F=="string")return;var G;if(typeof F=="function")G=F.propTypes;else if(typeof F=="object"&&(F.$$typeof===l||F.$$typeof===f))G=F.propTypes;else return;if(G){var z=B(F);Ge(G,m.props,"prop",z,m)}else if(F.PropTypes!==void 0&&!so){so=!0;var ee=B(F);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof F.getDefaultProps=="function"&&!F.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function l1(m){{for(var F=Object.keys(m.props),G=0;G<F.length;G++){var z=F[G];if(z!=="children"&&z!=="key"){Tt(m),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z),Tt(null);break}}m.ref!==null&&(Tt(m),E("Invalid attribute `ref` supplied to `React.Fragment`."),Tt(null))}}function rs(m,F,G,z,ee,se){{var Q=P(m);if(!Q){var J="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Te=i1(ee);Te?J+=Te:J+=qa();var be;m===null?be="null":Ct(m)?be="array":m!==void 0&&m.$$typeof===t?(be="<"+(B(m.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):be=typeof m,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,J)}var Ce=o1(m,F,G,ee,se);if(Ce==null)return Ce;if(Q){var ke=F.children;if(ke!==void 0)if(z)if(Ct(ke)){for(var Vt=0;Vt<ke.length;Vt++)ns(ke[Vt],m);Object.freeze&&Object.freeze(ke)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ns(ke,m)}return m===o?l1(Ce):s1(Ce),Ce}}function u1(m,F,G){return rs(m,F,G,!0)}function c1(m,F,G){return rs(m,F,G,!1)}var d1=c1,f1=u1;Rt.Fragment=o,Rt.jsx=d1,Rt.jsxs=f1}()),Rt}(function(e){process.env.NODE_ENV==="production"?e.exports=ls():e.exports=us()})(qt);const pe=qt.exports.Fragment,d=qt.exports.jsx,V=qt.exports.jsxs;function cs({variant:e,size:t}){return d("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform",children:V("svg",{className:(()=>M("animate-spin",{"text-surface-neutral-default":e==="primary","text-icon-subdued":e==="basic","h-[20px] w-[20px]":t==="sm","h-lg w-lg":t==="md"}))(),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[d("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),d("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const mo=g.forwardRef((e,t)=>{const{variant:n="primary",size:o="md",fullWidth:r=!1,isLoading:i=!1,isDisabled:s=!1,align:a="center",onlyOneIcon:l,type:u="button",children:c,onClick:f}=e,{getClass:p}=ss({variant:n,isLoading:i,size:o,fullWidth:r,align:a,onlyOneIcon:l}),h=()=>typeof c=="string"?d("span",{className:i?"invisible":"",children:c}):c;return V("button",{ref:t,type:u,className:p(),disabled:s||i,onClick:f,children:[i&&d(cs,{variant:n,size:o}),h()]})});function bo({size:e="sm"}){return e==="xs"?V("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"24",height:"24",rx:"12",fill:"#E8E8E8"}),d("circle",{cx:"12",cy:"12",r:"12",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 11.8571C13.8585 11.8571 15.3651 10.3221 15.3651 8.42857C15.3651 6.53502 13.8585 5 12.0001 5C10.1416 5 8.63503 6.53502 8.63503 8.42857C8.63503 10.3221 10.1416 11.8571 12.0001 11.8571ZM12.0001 21C14.8276 21 17.354 19.6604 19 17.5715C17.354 15.4825 14.8275 14.1429 11.9999 14.1429C9.17242 14.1429 6.64602 15.4824 5 17.5713C6.64601 19.6604 9.17247 21 12.0001 21Z",fill:"#61666B"})]}):e==="sm"?V("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"32",height:"32",rx:"16",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 16.1238C18.651 16.1238 20.8 13.9747 20.8 11.3238C20.8 8.67279 18.651 6.52376 16 6.52376C13.349 6.52376 11.2 8.67279 11.2 11.3238C11.2 13.9747 13.349 16.1238 16 16.1238ZM16 28.9238C20.0332 28.9238 23.637 27.0484 25.9849 24.1239C23.637 21.1992 20.0332 19.3238 15.9998 19.3238C11.9665 19.3238 8.36282 21.1991 6.01489 24.1236C8.36282 27.0483 11.9666 28.9238 16 28.9238Z",fill:"#61666B"})]}):e==="md"?V("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"40",height:"40",rx:"20",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 20.1547C23.3137 20.1547 26 17.4684 26 14.1547C26 10.841 23.3137 8.15469 20 8.15469C16.6863 8.15469 14 10.841 14 14.1547C14 17.4684 16.6863 20.1547 20 20.1547ZM20 36.1547C25.0416 36.1547 29.5462 33.8105 32.4811 30.1548C29.5462 26.4991 25.0415 24.1547 19.9998 24.1547C14.9582 24.1547 10.4535 26.4989 7.51862 30.1545C10.4535 33.8103 14.9583 36.1547 20 36.1547Z",fill:"#61666B"})]}):e==="lg"?V("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"60",height:"60",rx:"30",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 30.232C34.9706 30.232 39 26.2026 39 21.232C39 16.2615 34.9706 12.232 30 12.232C25.0294 12.232 21 16.2615 21 21.232C21 26.2026 25.0294 30.232 30 30.232ZM30 54.232C37.5623 54.232 44.3193 50.7157 48.7217 45.2323C44.3193 39.7486 37.5622 36.232 29.9996 36.232C22.4373 36.232 15.6803 39.7484 11.2779 45.2318C15.6803 50.7155 22.4374 54.232 30 54.232Z",fill:"#61666B"})]}):d(pe,{})}function ho(e){const{size:t,weight:n,lineHeight:o,className:r,color:i}=e;return{getWeight:()=>M({"font-bold":n==="bold","font-book":n==="book","font-medium":n==="medium"}),getFontSize:()=>M({"text-xxs":t==="xxs","text-xs":t==="xs","text-sm":t==="sm","text-md":t==="md","text-lg":t==="lg","text-xl":t==="xl"}),getLineHeight:()=>M({"leading-xxs":o==="xxs","leading-xs":o==="xs","leading-sm":o==="sm","leading-md":o==="md","leading-lg":o==="lg","leading-xl":o==="xl"}),getColorText:()=>M({"text-letter-on":i==="on","text-letter-critical":i==="critical","text-letter-default":i==="default","text-letter-disabled":i==="disabled","text-letter-subdued":i==="subdued","text-letter-success":i==="success","text-letter-warning":i==="warning","text-action-primary-default":i==="primary"}),getClassName:()=>M(r)}}function ds({variant:e,...t}){const n="font-sans",o=ho({...t}),{getColorText:r,getFontSize:i,getLineHeight:s,getWeight:a,getClassName:l}=o;return{getClass:M(n,(()=>e==="xl"?M(a()||"font-bold",s()||"leading-xl",i()||"text-xl"):e==="lg"?M(a()||"font-bold",s()||"leading-lg",i()||"text-lg"):e==="md"?M(a()||"font-bold",s()||"leading-md",i()||"text-md"):e==="sm"?M("font-book","leading-sm","text-sm"):e==="heading"?M(a()||"font-bold",s()||"leading-sm",i()||"text-sm"):e==="subheading"?M(a()||"font-bold",s()||"leading-xxs",i()||"text-xs"):"")(),r(),l())}}function nt({variant:e="heading",children:t,lineHeight:n,weight:o,color:r="default",size:i,className:s,as:a="h2"}){const{getClass:l}=ds({size:i,weight:o,variant:e,color:r,lineHeight:n,className:s});return d(a,{className:l,children:t})}function fs({variant:e,...t}){const n="font-sans",o=ho({...t}),{getColorText:r,getFontSize:i,getLineHeight:s,getWeight:a,getClassName:l}=o;return{getClass:M(n,(()=>e==="button"?M(a()||"font-medium",s()||"leading-xs",i()||"text-xs"):e==="body"?M(a()||"font-book",s()||"leading-xs",i()||"text-xs"):e==="highlight"?M(a()||"font-bold",s()||"leading-xs",i()||"text-xs"):e==="caption"?M(a()||"font-book",s()||"leading-xxs",i()||"text-xxs"):"")(),r(),l())}}function $({variant:e="body",children:t,lineHeight:n,weight:o,color:r="default",size:i,className:s,as:a="p",...l}){const{getClass:u}=fs({size:i,weight:o,variant:e,color:r,lineHeight:n,className:s});return d(a,{className:u,...l,children:t})}function ps({kind:e="default",className:t,children:n,as:o="span",...r}){return d(o,{className:M(t,"font-sans cursor-pointer font-book text-xs leading-xs select-none",e==="underline"&&"text-action-primary-default underline decoration-action-primary-default decoration-solid underline-offset-4 active:decoration-solid hover:decoration-transparent hover:text-action-primary-hovered active:text-action-primary-active active:decoration-action-primary-active",e==="default"&&"text-action-primary-default active:decoration-solid hover:text-action-primary-hovered active:text-action-primary-active",e==="monochrome"&&"text-letter-default underline decoration-letter-default decoration-solid underline-offset-4 active:decoration-solid hover:decoration-transparent hover:text-letter-default active:text-letter-default"),...r,children:n})}const en=typeof window>"u"||typeof document>"u";let Ae=en?g.useEffect:g.useLayoutEffect;function dt(e){let t=g.useRef(e);return Ae(()=>{t.current=e},[e]),t}function Mt(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function gs(){let e=[],t=[],n={enqueue(o){t.push(o)},addEventListener(o,r,i,s){return o.addEventListener(r,i,s),n.add(()=>o.removeEventListener(r,i,s))},requestAnimationFrame(...o){let r=requestAnimationFrame(...o);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...o){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...o))},setTimeout(...o){let r=setTimeout(...o);return n.add(()=>clearTimeout(r))},microTask(...o){let r={current:!0};return Mt(()=>{r.current&&o[0]()}),n.add(()=>{r.current=!1})},add(o){return e.push(o),()=>{let r=e.indexOf(o);if(r>=0){let[i]=e.splice(r,1);i()}}},dispose(){for(let o of e.splice(0))o()},async workQueue(){for(let o of t.splice(0))await o()}};return n}let K=function(e){let t=dt(e);return oe.default.useCallback((...n)=>t.current(...n),[t])},jn={serverHandoffComplete:!1};function tn(){let[e,t]=g.useState(jn.serverHandoffComplete);return g.useEffect(()=>{e!==!0&&t(!0)},[e]),g.useEffect(()=>{jn.serverHandoffComplete===!1&&(jn.serverHandoffComplete=!0)},[]),e}var vo;let ms=0;function Co(){return++ms}let Ve=(vo=oe.default.useId)!=null?vo:function(){let e=tn(),[t,n]=oe.default.useState(e?Co:null);return Ae(()=>{t===null&&n(Co())},[t]),t!=null?""+t:void 0};function Oe(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,Oe),o}function ft(e){return en?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Yn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ie=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ie||{}),rt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(rt||{}),bs=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(bs||{});function hs(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Yn))}var yo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(yo||{});function vs(e,t=0){var n;return e===((n=ft(e))==null?void 0:n.body)?!1:Oe(t,{[0](){return e.matches(Yn)},[1](){let o=e;for(;o!==null;){if(o.matches(Yn))return!0;o=o.parentElement}return!1}})}function yt(e){e==null||e.focus({preventScroll:!0})}let Cs=["textarea","input"].join(",");function ys(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Cs))!=null?n:!1}function nn(e,t=n=>n){return e.slice().sort((n,o)=>{let r=t(n),i=t(o);if(r===null||i===null)return 0;let s=r.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function We(e,t,n=!0,o=null){let r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?nn(e):e:hs(e);o=o!=null?o:r.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(o))-1;if(t&4)return Math.max(0,i.indexOf(o))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=t&32?{preventScroll:!0}:{},u=0,c=i.length,f;do{if(u>=c||u+c<=0)return 0;let p=a+u;if(t&16)p=(p+c)%c;else{if(p<0)return 3;if(p>=c)return 1}f=i[p],f==null||f.focus(l),u+=s}while(f!==r.activeElement);return t&6&&ys(f)&&f.select(),f.hasAttribute("tabindex")||f.setAttribute("tabindex","0"),2}function _n(e,t,n){let o=dt(t);g.useEffect(()=>{function r(i){o.current(i)}return document.addEventListener(e,r,n),()=>document.removeEventListener(e,r,n)},[e,n])}function Is(e,t,n=!0){let o=g.useRef(!1);g.useEffect(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);function r(s,a){if(!o.current||s.defaultPrevented)return;let l=function c(f){return typeof f=="function"?c(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e),u=a(s);if(u!==null&&!!u.getRootNode().contains(u)){for(let c of l){if(c===null)continue;let f=c instanceof HTMLElement?c:c.current;if(f!=null&&f.contains(u))return}return!vs(u,yo.Loose)&&u.tabIndex!==-1&&s.preventDefault(),t(s,u)}}let i=g.useRef(null);_n("mousedown",s=>{var a,l;o.current&&(i.current=((l=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:l[0])||s.target)},!0),_n("click",s=>{!i.current||(r(s,()=>i.current),i.current=null)},!0),_n("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Io(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Jn(e,t){let[n,o]=g.useState(()=>Io(e));return Ae(()=>{o(Io(e))},[e.type,e.as]),Ae(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}let xo=Symbol();function Eo(e,t=!0){return Object.assign(e,{[xo]:t})}function ge(...e){let t=g.useRef(e);g.useEffect(()=>{t.current=e},[e]);let n=K(o=>{for(let r of t.current)r!=null&&(typeof r=="function"?r(o):r.current=o)});return e.every(o=>o==null||(o==null?void 0:o[xo]))?void 0:n}function xs({container:e,accept:t,walk:n,enabled:o=!0}){let r=g.useRef(t),i=g.useRef(n);g.useEffect(()=>{r.current=t,i.current=n},[t,n]),Ae(()=>{if(!e||!o)return;let s=ft(e);if(!s)return;let a=r.current,l=i.current,u=Object.assign(f=>a(f),{acceptNode:a}),c=s.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,u,!1);for(;c.nextNode();)l(c.currentNode)},[e,o,r,i])}var pt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(pt||{}),Es=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Es||{});function ce({ourProps:e,theirProps:t,slot:n,defaultTag:o,features:r,visible:i=!0,name:s}){let a=wo(t,e);if(i)return rn(a,n,o,s);let l=r!=null?r:0;if(l&2){let{static:u=!1,...c}=a;if(u)return rn(c,n,o,s)}if(l&1){let{unmount:u=!0,...c}=a;return Oe(u?0:1,{[0](){return null},[1](){return rn({...c,hidden:!0,style:{display:"none"}},n,o,s)}})}return rn(a,n,o,s)}function rn(e,t={},n,o){let{as:r=n,children:i,refName:s="ref",...a}=$n(e,["unmount","static"]),l=e.ref!==void 0?{[s]:e.ref}:{},u=typeof i=="function"?i(t):i;a.className&&typeof a.className=="function"&&(a.className=a.className(t));let c={};if(t){let f=!1,p=[];for(let[h,b]of Object.entries(t))typeof b=="boolean"&&(f=!0),b===!0&&p.push(h);f&&(c["data-headlessui-state"]=p.join(" "))}if(r===g.Fragment&&Object.keys(on(a)).length>0){if(!g.isValidElement(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map(f=>` - ${f}`).join(`
32
+ Check the top-level render call using <`+G+">.")}return F}}function ts(b,F){{if(!b._store||b._store.validated||b.key!=null)return;b._store.validated=!0;var G=a1(F);if(es[G])return;es[G]=!0;var z="";b&&b._owner&&b._owner!==so.current&&(z=" It was passed a child from "+R(b._owner.type)+"."),Tt(b),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,z),Tt(null)}}function ns(b,F){{if(typeof b!="object")return;if(Ct(b))for(var G=0;G<b.length;G++){var z=b[G];uo(z)&&ts(z,F)}else if(uo(b))b._store&&(b._store.validated=!0);else if(b){var ee=C(b);if(typeof ee=="function"&&ee!==b.entries)for(var se=ee.call(b),U;!(U=se.next()).done;)uo(U.value)&&ts(U.value,F)}}}function s1(b){{var F=b.type;if(F==null||typeof F=="string")return;var G;if(typeof F=="function")G=F.propTypes;else if(typeof F=="object"&&(F.$$typeof===l||F.$$typeof===f))G=F.propTypes;else return;if(G){var z=R(F);Ge(G,b.props,"prop",z,b)}else if(F.PropTypes!==void 0&&!lo){lo=!0;var ee=R(F);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof F.getDefaultProps=="function"&&!F.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function l1(b){{for(var F=Object.keys(b.props),G=0;G<F.length;G++){var z=F[G];if(z!=="children"&&z!=="key"){Tt(b),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z),Tt(null);break}}b.ref!==null&&(Tt(b),E("Invalid attribute `ref` supplied to `React.Fragment`."),Tt(null))}}function rs(b,F,G,z,ee,se){{var U=P(b);if(!U){var J="";(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Te=i1(ee);Te?J+=Te:J+=qa();var be;b===null?be="null":Ct(b)?be="array":b!==void 0&&b.$$typeof===t?(be="<"+(R(b.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):be=typeof b,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,J)}var Ce=o1(b,F,G,ee,se);if(Ce==null)return Ce;if(U){var ke=F.children;if(ke!==void 0)if(z)if(Ct(ke)){for(var Vt=0;Vt<ke.length;Vt++)ns(ke[Vt],b);Object.freeze&&Object.freeze(ke)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ns(ke,b)}return b===o?l1(Ce):s1(Ce),Ce}}function u1(b,F,G){return rs(b,F,G,!0)}function c1(b,F,G){return rs(b,F,G,!1)}var d1=c1,f1=u1;Bt.Fragment=o,Bt.jsx=d1,Bt.jsxs=f1}()),Bt}(function(e){process.env.NODE_ENV==="production"?e.exports=ls():e.exports=us()})(qt);const pe=qt.exports.Fragment,d=qt.exports.jsx,V=qt.exports.jsxs;function cs({variant:e,size:t}){return d("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform",children:V("svg",{className:(()=>B("animate-spin",{"text-surface-neutral-default":e==="primary","text-icon-subdued":e==="basic","h-[20px] w-[20px]":t==="sm","h-lg w-lg":t==="md"}))(),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[d("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),d("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const jn=g.forwardRef((e,t)=>{const{variant:n="primary",size:o="md",fullWidth:r=!1,isLoading:i=!1,isDisabled:s=!1,align:a="center",onlyOneIcon:l,type:u="button",children:c,onClick:f,className:p}=e,{getClass:h}=ss({variant:n,isLoading:i,size:o,fullWidth:r,align:a,onlyOneIcon:l,className:p}),m=()=>typeof c=="string"?d("span",{className:i?"invisible":"",children:c}):c;return V("button",{ref:t,type:u,className:h(),disabled:s||i,onClick:f,children:[i&&d(cs,{variant:n,size:o}),m()]})});function bo({size:e="sm"}){return e==="xs"?V("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"24",height:"24",rx:"12",fill:"#E8E8E8"}),d("circle",{cx:"12",cy:"12",r:"12",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 11.8571C13.8585 11.8571 15.3651 10.3221 15.3651 8.42857C15.3651 6.53502 13.8585 5 12.0001 5C10.1416 5 8.63503 6.53502 8.63503 8.42857C8.63503 10.3221 10.1416 11.8571 12.0001 11.8571ZM12.0001 21C14.8276 21 17.354 19.6604 19 17.5715C17.354 15.4825 14.8275 14.1429 11.9999 14.1429C9.17242 14.1429 6.64602 15.4824 5 17.5713C6.64601 19.6604 9.17247 21 12.0001 21Z",fill:"#61666B"})]}):e==="sm"?V("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"32",height:"32",rx:"16",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 16.1238C18.651 16.1238 20.8 13.9747 20.8 11.3238C20.8 8.67279 18.651 6.52376 16 6.52376C13.349 6.52376 11.2 8.67279 11.2 11.3238C11.2 13.9747 13.349 16.1238 16 16.1238ZM16 28.9238C20.0332 28.9238 23.637 27.0484 25.9849 24.1239C23.637 21.1992 20.0332 19.3238 15.9998 19.3238C11.9665 19.3238 8.36282 21.1991 6.01489 24.1236C8.36282 27.0483 11.9666 28.9238 16 28.9238Z",fill:"#61666B"})]}):e==="md"?V("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"40",height:"40",rx:"20",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 20.1547C23.3137 20.1547 26 17.4684 26 14.1547C26 10.841 23.3137 8.15469 20 8.15469C16.6863 8.15469 14 10.841 14 14.1547C14 17.4684 16.6863 20.1547 20 20.1547ZM20 36.1547C25.0416 36.1547 29.5462 33.8105 32.4811 30.1548C29.5462 26.4991 25.0415 24.1547 19.9998 24.1547C14.9582 24.1547 10.4535 26.4989 7.51862 30.1545C10.4535 33.8103 14.9583 36.1547 20 36.1547Z",fill:"#61666B"})]}):e==="lg"?V("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"60",height:"60",rx:"30",fill:"#E8E8E8"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 30.232C34.9706 30.232 39 26.2026 39 21.232C39 16.2615 34.9706 12.232 30 12.232C25.0294 12.232 21 16.2615 21 21.232C21 26.2026 25.0294 30.232 30 30.232ZM30 54.232C37.5623 54.232 44.3193 50.7157 48.7217 45.2323C44.3193 39.7486 37.5622 36.232 29.9996 36.232C22.4373 36.232 15.6803 39.7484 11.2779 45.2318C15.6803 50.7155 22.4374 54.232 30 54.232Z",fill:"#61666B"})]}):d(pe,{})}function ho(e){const{size:t,weight:n,lineHeight:o,className:r,color:i}=e;return{getWeight:()=>B({"font-bold":n==="bold","font-book":n==="book","font-medium":n==="medium"}),getFontSize:()=>B({"text-xxs":t==="xxs","text-xs":t==="xs","text-sm":t==="sm","text-md":t==="md","text-lg":t==="lg","text-xl":t==="xl"}),getLineHeight:()=>B({"leading-xxs":o==="xxs","leading-xs":o==="xs","leading-sm":o==="sm","leading-md":o==="md","leading-lg":o==="lg","leading-xl":o==="xl"}),getColorText:()=>B({"text-letter-on":i==="on","text-letter-critical":i==="critical","text-letter-default":i==="default","text-letter-disabled":i==="disabled","text-letter-subdued":i==="subdued","text-letter-success":i==="success","text-letter-warning":i==="warning","text-action-primary-default":i==="primary"}),getClassName:()=>B(r)}}function ds({variant:e,...t}){const n="font-sans",o=ho({...t}),{getColorText:r,getFontSize:i,getLineHeight:s,getWeight:a,getClassName:l}=o;return{getClass:B(n,(()=>e==="xl"?B(a()||"font-bold",s()||"leading-xl",i()||"text-xl"):e==="lg"?B(a()||"font-bold",s()||"leading-lg",i()||"text-lg"):e==="md"?B(a()||"font-bold",s()||"leading-md",i()||"text-md"):e==="sm"?B("font-book","leading-sm","text-sm"):e==="heading"?B(a()||"font-bold",s()||"leading-sm",i()||"text-sm"):e==="subheading"?B(a()||"font-bold",s()||"leading-xxs",i()||"text-xs"):"")(),r(),l())}}function nt({variant:e="heading",children:t,lineHeight:n,weight:o,color:r="default",size:i,className:s,as:a="h2"}){const{getClass:l}=ds({size:i,weight:o,variant:e,color:r,lineHeight:n,className:s});return d(a,{className:l,children:t})}function fs({variant:e,...t}){const n="font-sans",o=ho({...t}),{getColorText:r,getFontSize:i,getLineHeight:s,getWeight:a,getClassName:l}=o;return{getClass:B(n,(()=>e==="button"?B(a()||"font-medium",s()||"leading-xs",i()||"text-xs"):e==="body"?B(a()||"font-book",s()||"leading-xs",i()||"text-xs"):e==="highlight"?B(a()||"font-bold",s()||"leading-xs",i()||"text-xs"):e==="caption"?B(a()||"font-book",s()||"leading-xxs",i()||"text-xxs"):"")(),r(),l())}}function Q({variant:e="body",children:t,lineHeight:n,weight:o,color:r="default",size:i,className:s,as:a="p",...l}){const{getClass:u}=fs({size:i,weight:o,variant:e,color:r,lineHeight:n,className:s});return d(a,{className:u,...l,children:t})}function ps({kind:e="default",className:t,children:n,as:o="span",...r}){return d(o,{className:B(t,"font-sans cursor-pointer font-book text-xs leading-xs select-none",e==="underline"&&"text-action-primary-default underline decoration-action-primary-default decoration-solid underline-offset-4 active:decoration-solid hover:decoration-transparent hover:text-action-primary-hovered active:text-action-primary-active active:decoration-action-primary-active",e==="default"&&"text-action-primary-default active:decoration-solid hover:text-action-primary-hovered active:text-action-primary-active",e==="monochrome"&&"text-letter-default underline decoration-letter-default decoration-solid underline-offset-4 active:decoration-solid hover:decoration-transparent hover:text-letter-default active:text-letter-default"),...r,children:n})}const en=typeof window>"u"||typeof document>"u";let Ae=en?g.useEffect:g.useLayoutEffect;function dt(e){let t=g.useRef(e);return Ae(()=>{t.current=e},[e]),t}function Mt(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function gs(){let e=[],t=[],n={enqueue(o){t.push(o)},addEventListener(o,r,i,s){return o.addEventListener(r,i,s),n.add(()=>o.removeEventListener(r,i,s))},requestAnimationFrame(...o){let r=requestAnimationFrame(...o);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...o){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...o))},setTimeout(...o){let r=setTimeout(...o);return n.add(()=>clearTimeout(r))},microTask(...o){let r={current:!0};return Mt(()=>{r.current&&o[0]()}),n.add(()=>{r.current=!1})},add(o){return e.push(o),()=>{let r=e.indexOf(o);if(r>=0){let[i]=e.splice(r,1);i()}}},dispose(){for(let o of e.splice(0))o()},async workQueue(){for(let o of t.splice(0))await o()}};return n}let K=function(e){let t=dt(e);return oe.default.useCallback((...n)=>t.current(...n),[t])},Yn={serverHandoffComplete:!1};function tn(){let[e,t]=g.useState(Yn.serverHandoffComplete);return g.useEffect(()=>{e!==!0&&t(!0)},[e]),g.useEffect(()=>{Yn.serverHandoffComplete===!1&&(Yn.serverHandoffComplete=!0)},[]),e}var vo;let ms=0;function Co(){return++ms}let Ve=(vo=oe.default.useId)!=null?vo:function(){let e=tn(),[t,n]=oe.default.useState(e?Co:null);return Ae(()=>{t===null&&n(Co())},[t]),t!=null?""+t:void 0};function Oe(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,Oe),o}function ft(e){return en?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let _n=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ie=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ie||{}),rt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(rt||{}),bs=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(bs||{});function hs(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(_n))}var yo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(yo||{});function vs(e,t=0){var n;return e===((n=ft(e))==null?void 0:n.body)?!1:Oe(t,{[0](){return e.matches(_n)},[1](){let o=e;for(;o!==null;){if(o.matches(_n))return!0;o=o.parentElement}return!1}})}function yt(e){e==null||e.focus({preventScroll:!0})}let Cs=["textarea","input"].join(",");function ys(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Cs))!=null?n:!1}function nn(e,t=n=>n){return e.slice().sort((n,o)=>{let r=t(n),i=t(o);if(r===null||i===null)return 0;let s=r.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function We(e,t,n=!0,o=null){let r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?nn(e):e:hs(e);o=o!=null?o:r.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(o))-1;if(t&4)return Math.max(0,i.indexOf(o))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=t&32?{preventScroll:!0}:{},u=0,c=i.length,f;do{if(u>=c||u+c<=0)return 0;let p=a+u;if(t&16)p=(p+c)%c;else{if(p<0)return 3;if(p>=c)return 1}f=i[p],f==null||f.focus(l),u+=s}while(f!==r.activeElement);return t&6&&ys(f)&&f.select(),f.hasAttribute("tabindex")||f.setAttribute("tabindex","0"),2}function Jn(e,t,n){let o=dt(t);g.useEffect(()=>{function r(i){o.current(i)}return document.addEventListener(e,r,n),()=>document.removeEventListener(e,r,n)},[e,n])}function Is(e,t,n=!0){let o=g.useRef(!1);g.useEffect(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);function r(s,a){if(!o.current||s.defaultPrevented)return;let l=function c(f){return typeof f=="function"?c(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e),u=a(s);if(u!==null&&!!u.getRootNode().contains(u)){for(let c of l){if(c===null)continue;let f=c instanceof HTMLElement?c:c.current;if(f!=null&&f.contains(u))return}return!vs(u,yo.Loose)&&u.tabIndex!==-1&&s.preventDefault(),t(s,u)}}let i=g.useRef(null);Jn("mousedown",s=>{var a,l;o.current&&(i.current=((l=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:l[0])||s.target)},!0),Jn("click",s=>{!i.current||(r(s,()=>i.current),i.current=null)},!0),Jn("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Io(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function $n(e,t){let[n,o]=g.useState(()=>Io(e));return Ae(()=>{o(Io(e))},[e.type,e.as]),Ae(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}let xo=Symbol();function Eo(e,t=!0){return Object.assign(e,{[xo]:t})}function ge(...e){let t=g.useRef(e);g.useEffect(()=>{t.current=e},[e]);let n=K(o=>{for(let r of t.current)r!=null&&(typeof r=="function"?r(o):r.current=o)});return e.every(o=>o==null||(o==null?void 0:o[xo]))?void 0:n}function xs({container:e,accept:t,walk:n,enabled:o=!0}){let r=g.useRef(t),i=g.useRef(n);g.useEffect(()=>{r.current=t,i.current=n},[t,n]),Ae(()=>{if(!e||!o)return;let s=ft(e);if(!s)return;let a=r.current,l=i.current,u=Object.assign(f=>a(f),{acceptNode:a}),c=s.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,u,!1);for(;c.nextNode();)l(c.currentNode)},[e,o,r,i])}var pt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(pt||{}),Es=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Es||{});function ce({ourProps:e,theirProps:t,slot:n,defaultTag:o,features:r,visible:i=!0,name:s}){let a=wo(t,e);if(i)return rn(a,n,o,s);let l=r!=null?r:0;if(l&2){let{static:u=!1,...c}=a;if(u)return rn(c,n,o,s)}if(l&1){let{unmount:u=!0,...c}=a;return Oe(u?0:1,{[0](){return null},[1](){return rn({...c,hidden:!0,style:{display:"none"}},n,o,s)}})}return rn(a,n,o,s)}function rn(e,t={},n,o){let{as:r=n,children:i,refName:s="ref",...a}=Un(e,["unmount","static"]),l=e.ref!==void 0?{[s]:e.ref}:{},u=typeof i=="function"?i(t):i;a.className&&typeof a.className=="function"&&(a.className=a.className(t));let c={};if(t){let f=!1,p=[];for(let[h,m]of Object.entries(t))typeof m=="boolean"&&(f=!0),m===!0&&p.push(h);f&&(c["data-headlessui-state"]=p.join(" "))}if(r===g.Fragment&&Object.keys(on(a)).length>0){if(!g.isValidElement(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map(f=>` - ${f}`).join(`
33
33
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(f=>` - ${f}`).join(`
34
34
  `)].join(`
35
- `));return g.cloneElement(u,Object.assign({},wo(u.props,on($n(a,["ref"]))),c,l,ws(u.ref,l.ref)))}return g.createElement(r,Object.assign({},$n(a,["ref"]),r!==g.Fragment&&l,r!==g.Fragment&&c),u)}function ws(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function wo(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let r in o)r.startsWith("on")&&typeof o[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(o[r])):t[r]=o[r];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](r,...i){let s=n[o];for(let a of s){if((r instanceof Event||(r==null?void 0:r.nativeEvent)instanceof Event)&&r.defaultPrevented)return;a(r,...i)}}});return t}function fe(e){var t;return Object.assign(g.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function on(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function $n(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function Dt(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let o=(t==null?void 0:t.getAttribute("disabled"))==="";return o&&As(n)?!1:o}function As(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function Ao(e={},t=null,n=[]){for(let[o,r]of Object.entries(e))No(n,So(t,o),r);return n}function So(e,t){return e?e+"["+t+"]":t}function No(e,t,n){if(Array.isArray(n))for(let[o,r]of n.entries())No(e,So(t,o.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Ao(n,t,e)}function Fo(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let o of n.elements)if(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image"){o.click();return}}}let Ss="div";var gt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(gt||{});let mt=fe(function(e,t){let{features:n=1,...o}=e,r={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return ce({ourProps:r,theirProps:o,slot:{},defaultTag:Ss,name:"Hidden"})}),Un=g.createContext(null);Un.displayName="OpenClosedContext";var It=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(It||{});function Po(){return g.useContext(Un)}function Ns({value:e,children:t}){return oe.default.createElement(Un.Provider,{value:e},t)}var ue=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ue||{});function Go(e,t,n){let[o,r]=g.useState(n),i=e!==void 0,s=g.useRef(i),a=g.useRef(!1),l=g.useRef(!1);return i&&!s.current&&!a.current?(a.current=!0,s.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!i&&s.current&&!l.current&&(l.current=!0,s.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[i?e:o,K(u=>(i||r(u),t==null?void 0:t(u)))]}function To(e,t){let n=g.useRef([]),o=K(e);g.useEffect(()=>{let r=[...n.current];for(let[i,s]of t.entries())if(n.current[i]!==s){let a=o(t,r);return n.current=t,a}},[o,...t])}function Fs(e,t,n){let o=dt(t);g.useEffect(()=>{function r(i){o.current(i)}return window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)},[e,n])}var Qn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Qn||{});function Ps(){let e=g.useRef(0);return Fs("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Vo(){let e=g.useRef(!1);return Ae(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function an(...e){return g.useMemo(()=>ft(...e),[...e])}function Kn(e,t,n,o){let r=dt(n);g.useEffect(()=>{e=e!=null?e:window;function i(s){r.current(s)}return e.addEventListener(t,i,o),()=>e.removeEventListener(t,i,o)},[e,t,o])}let Gs="div";var Oo=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Oo||{});let Lt=Object.assign(fe(function(e,t){let n=g.useRef(null),o=ge(n,t),{initialFocus:r,containers:i,features:s=30,...a}=e;tn()||(s=1);let l=an(n);Ts({ownerDocument:l},Boolean(s&16));let u=Vs({ownerDocument:l,container:n,initialFocus:r},Boolean(s&2));Os({ownerDocument:l,container:n,containers:i,previousActiveElement:u},Boolean(s&8));let c=Ps(),f=K(()=>{let h=n.current;!h||Oe(c.current,{[Qn.Forwards]:()=>We(h,Ie.First),[Qn.Backwards]:()=>We(h,Ie.Last)})}),p={ref:o};return oe.default.createElement(oe.default.Fragment,null,Boolean(s&4)&&d(mt,{as:"button",type:"button",onFocus:f,features:gt.Focusable}),ce({ourProps:p,theirProps:a,defaultTag:Gs,name:"FocusTrap"}),Boolean(s&4)&&d(mt,{as:"button",type:"button",onFocus:f,features:gt.Focusable}))}),{features:Oo});function Ts({ownerDocument:e},t){let n=g.useRef(null);Kn(e==null?void 0:e.defaultView,"focusout",r=>{!t||n.current||(n.current=r.target)},!0),To(()=>{t||((e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&yt(n.current),n.current=null)},[t]);let o=g.useRef(!1);g.useEffect(()=>(o.current=!1,()=>{o.current=!0,Mt(()=>{!o.current||(yt(n.current),n.current=null)})}),[])}function Vs({ownerDocument:e,container:t,initialFocus:n},o){let r=g.useRef(null),i=Vo();return To(()=>{if(!o)return;let s=t.current;!s||Mt(()=>{if(!i.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){r.current=a;return}}else if(s.contains(a)){r.current=a;return}n!=null&&n.current?yt(n.current):We(s,Ie.First)===rt.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),r.current=e==null?void 0:e.activeElement})},[o]),r}function Os({ownerDocument:e,container:t,containers:n,previousActiveElement:o},r){let i=Vo();Kn(e==null?void 0:e.defaultView,"focus",s=>{if(!r||!i.current)return;let a=new Set(n==null?void 0:n.current);a.add(t);let l=o.current;if(!l)return;let u=s.target;u&&u instanceof HTMLElement?Bs(a,u)?(o.current=u,yt(u)):(s.preventDefault(),s.stopPropagation(),yt(l)):yt(o.current)},!0)}function Bs(e,t){var n;for(let o of e)if((n=o.current)!=null&&n.contains(t))return!0;return!1}let xt=new Set,ot=new Map;function Bo(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Ro(e){let t=ot.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function Rs(e,t=!0){Ae(()=>{if(!t||!e.current)return;let n=e.current,o=ft(n);if(o){xt.add(n);for(let r of ot.keys())r.contains(n)&&(Ro(r),ot.delete(r));return o.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement){for(let i of xt)if(r.contains(i))return;xt.size===1&&(ot.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Bo(r))}}),()=>{if(xt.delete(n),xt.size>0)o.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement&&!ot.has(r)){for(let i of xt)if(r.contains(i))return;ot.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Bo(r)}});else for(let r of ot.keys())Ro(r),ot.delete(r)}}},[t])}let Mo=g.createContext(!1);function Ms(){return g.useContext(Mo)}function qn(e){return oe.default.createElement(Mo.Provider,{value:e.force},e.children)}function Ds(e){let t=Ms(),n=g.useContext(Do),o=an(e),[r,i]=g.useState(()=>{if(!t&&n!==null||en)return null;let s=o==null?void 0:o.getElementById("headlessui-portal-root");if(s)return s;if(o===null)return null;let a=o.createElement("div");return a.setAttribute("id","headlessui-portal-root"),o.body.appendChild(a)});return g.useEffect(()=>{r!==null&&(o!=null&&o.body.contains(r)||o==null||o.body.appendChild(r))},[r,o]),g.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),r}let Ls=g.Fragment,ks=fe(function(e,t){let n=e,o=g.useRef(null),r=ge(Eo(c=>{o.current=c}),t),i=an(o),s=Ds(o),[a]=g.useState(()=>{var c;return en?null:(c=i==null?void 0:i.createElement("div"))!=null?c:null}),l=tn(),u=g.useRef(!1);return Ae(()=>{if(u.current=!1,!(!s||!a))return s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a)),()=>{u.current=!0,Mt(()=>{var c;!u.current||!s||!a||(s.removeChild(a),s.childNodes.length<=0&&((c=s.parentElement)==null||c.removeChild(s)))})}},[s,a]),l?!s||!a?null:Ot.createPortal(ce({ourProps:{ref:r},theirProps:n,defaultTag:Ls,name:"Portal"}),a):null}),Ws=g.Fragment,Do=g.createContext(null),Xs=fe(function(e,t){let{target:n,...o}=e,r={ref:ge(t)};return d(Do.Provider,{value:n,children:ce({ourProps:r,theirProps:o,defaultTag:Ws,name:"Popover.Group"})})}),er=Object.assign(ks,{Group:Xs}),Lo=g.createContext(null);function ko(){let e=g.useContext(Lo);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,ko),t}return e}function sn(){let[e,t]=g.useState([]);return[e.length>0?e.join(" "):void 0,g.useMemo(()=>function(n){let o=K(i=>(t(s=>[...s,i]),()=>t(s=>{let a=s.slice(),l=a.indexOf(i);return l!==-1&&a.splice(l,1),a}))),r=g.useMemo(()=>({register:o,slot:n.slot,name:n.name,props:n.props}),[o,n.slot,n.name,n.props]);return oe.default.createElement(Lo.Provider,{value:r},n.children)},[t])]}let Zs="p",tr=fe(function(e,t){let n=ko(),o=`headlessui-description-${Ve()}`,r=ge(t);Ae(()=>n.register(o),[o,n.register]);let i=e,s={ref:r,...n.props,id:o};return ce({ourProps:s,theirProps:i,slot:n.slot||{},defaultTag:Zs,name:n.name||"Description"})}),nr=g.createContext(()=>{});nr.displayName="StackContext";var rr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(rr||{});function Hs(){return g.useContext(nr)}function zs({children:e,onUpdate:t,type:n,element:o,enabled:r}){let i=Hs(),s=K((...a)=>{t==null||t(...a),i(...a)});return Ae(()=>{let a=r===void 0||r===!0;return a&&s(0,n,o),()=>{a&&s(1,n,o)}},[s,n,o,r]),oe.default.createElement(nr.Provider,{value:s},e)}function js(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var Ys=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ys||{}),_s=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(_s||{});let Js={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ln=g.createContext(null);ln.displayName="DialogContext";function kt(e){let t=g.useContext(ln);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,kt),n}return t}function $s(e,t){g.useEffect(()=>{var n;if(!t||!e)return;let o=gs();function r(a,l,u){let c=a.style.getPropertyValue(l);return Object.assign(a.style,{[l]:u}),o.add(()=>{Object.assign(a.style,{[l]:c})})}let i=e.documentElement,s=((n=e.defaultView)!=null?n:window).innerWidth-i.clientWidth;if(r(i,"overflow","hidden"),s>0){let a=i.clientWidth-i.offsetWidth,l=s-a;r(i,"paddingRight",`${l}px`)}if(js()){let a=window.pageYOffset;r(i,"position","fixed"),r(i,"marginTop",`-${a}px`),r(i,"width","100%"),o.add(()=>window.scrollTo(0,a))}return o.dispose},[e,t])}function Us(e,t){return Oe(t.type,Js,e,t)}let Qs="div",Ks=pt.RenderStrategy|pt.Static,qs=fe(function(e,t){let{open:n,onClose:o,initialFocus:r,__demoMode:i=!1,...s}=e,[a,l]=g.useState(0),u=Po();n===void 0&&u!==null&&(n=Oe(u,{[It.Open]:!0,[It.Closed]:!1}));let c=g.useRef(new Set),f=g.useRef(null),p=ge(f,t),h=g.useRef(null),b=an(f),v=e.hasOwnProperty("open")||u!==null,y=e.hasOwnProperty("onClose");if(!v&&!y)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!v)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!y)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof n!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let I=n?0:1,[E,w]=g.useReducer(Us,{titleId:null,descriptionId:null,panelRef:g.createRef()}),C=K(()=>o(!1)),x=K(L=>w({type:0,id:L})),A=tn()?i?!1:I===0:!1,S=a>1,O=g.useContext(ln)!==null,R=S?"parent":"leaf";Rs(f,S?A:!1),Is(()=>{var L,Y;return[...Array.from((L=b==null?void 0:b.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?L:[]).filter(X=>!(!(X instanceof HTMLElement)||X.contains(h.current)||E.panelRef.current&&X.contains(E.panelRef.current))),(Y=E.panelRef.current)!=null?Y:f.current]},C,A&&!S),Kn(b==null?void 0:b.defaultView,"keydown",L=>{L.defaultPrevented||L.key===ue.Escape&&I===0&&(S||(L.preventDefault(),L.stopPropagation(),C()))}),$s(b,I===0&&!O),g.useEffect(()=>{if(I!==0||!f.current)return;let L=new IntersectionObserver(Y=>{for(let X of Y)X.boundingClientRect.x===0&&X.boundingClientRect.y===0&&X.boundingClientRect.width===0&&X.boundingClientRect.height===0&&C()});return L.observe(f.current),()=>L.disconnect()},[I,f,C]);let[P,W]=sn(),Z=`headlessui-dialog-${Ve()}`,B=g.useMemo(()=>[{dialogState:I,close:C,setTitleId:x},E],[I,E,C,x]),N=g.useMemo(()=>({open:I===0}),[I]),D={ref:p,id:Z,role:"dialog","aria-modal":I===0?!0:void 0,"aria-labelledby":E.titleId,"aria-describedby":P};return oe.default.createElement(zs,{type:"Dialog",enabled:I===0,element:f,onUpdate:K((L,Y,X)=>{Y==="Dialog"&&Oe(L,{[rr.Add](){c.current.add(X),l(U=>U+1)},[rr.Remove](){c.current.add(X),l(U=>U-1)}})})},d(qn,{force:!0,children:d(er,{children:d(ln.Provider,{value:B,children:d(er.Group,{target:f,children:d(qn,{force:!1,children:d(W,{slot:N,name:"Dialog.Description",children:d(Lt,{initialFocus:r,containers:c,features:A?Oe(R,{parent:Lt.features.RestoreFocus,leaf:Lt.features.All&~Lt.features.FocusLock}):Lt.features.None,children:ce({ourProps:D,theirProps:s,slot:N,defaultTag:Qs,features:Ks,visible:I===0,name:"Dialog"})})})})})})})}),d(mt,{features:gt.Hidden,ref:h}))}),el="div",tl=fe(function(e,t){let[{dialogState:n,close:o}]=kt("Dialog.Overlay"),r=ge(t),i=`headlessui-dialog-overlay-${Ve()}`,s=K(l=>{if(l.target===l.currentTarget){if(Dt(l.currentTarget))return l.preventDefault();l.preventDefault(),l.stopPropagation(),o()}}),a=g.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:r,id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,defaultTag:el,name:"Dialog.Overlay"})}),nl="div",rl=fe(function(e,t){let[{dialogState:n},o]=kt("Dialog.Backdrop"),r=ge(t),i=`headlessui-dialog-backdrop-${Ve()}`;g.useEffect(()=>{if(o.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[o.panelRef]);let s=g.useMemo(()=>({open:n===0}),[n]);return d(qn,{force:!0,children:d(er,{children:ce({ourProps:{ref:r,id:i,"aria-hidden":!0},theirProps:e,slot:s,defaultTag:nl,name:"Dialog.Backdrop"})})})}),ol="div",il=fe(function(e,t){let[{dialogState:n},o]=kt("Dialog.Panel"),r=ge(t,o.panelRef),i=`headlessui-dialog-panel-${Ve()}`,s=g.useMemo(()=>({open:n===0}),[n]),a=K(l=>{l.stopPropagation()});return ce({ourProps:{ref:r,id:i,onClick:a},theirProps:e,slot:s,defaultTag:ol,name:"Dialog.Panel"})}),al="h2",sl=fe(function(e,t){let[{dialogState:n,setTitleId:o}]=kt("Dialog.Title"),r=`headlessui-dialog-title-${Ve()}`,i=ge(t);g.useEffect(()=>(o(r),()=>o(null)),[r,o]);let s=g.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:i,id:r},theirProps:e,slot:s,defaultTag:al,name:"Dialog.Title"})}),Wo=Object.assign(qs,{Backdrop:rl,Panel:il,Overlay:tl,Title:sl,Description:tr});var ll=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ll||{}),ul=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(ul||{});let cl={[0]:e=>({...e,disclosureState:Oe(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},[3](e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},or=g.createContext(null);or.displayName="DisclosureContext";function ir(e){let t=g.useContext(or);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ir),n}return t}let ar=g.createContext(null);ar.displayName="DisclosureAPIContext";function Xo(e){let t=g.useContext(ar);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Xo),n}return t}let sr=g.createContext(null);sr.displayName="DisclosurePanelContext";function dl(){return g.useContext(sr)}function fl(e,t){return Oe(t.type,cl,e,t)}let pl=g.Fragment,gl=fe(function(e,t){let{defaultOpen:n=!1,...o}=e,r=`headlessui-disclosure-button-${Ve()}`,i=`headlessui-disclosure-panel-${Ve()}`,s=g.useRef(null),a=ge(t,Eo(I=>{s.current=I},e.as===void 0||e.as===g.Fragment)),l=g.useRef(null),u=g.useRef(null),c=g.useReducer(fl,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:l,buttonId:r,panelId:i}),[{disclosureState:f},p]=c;g.useEffect(()=>p({type:2,buttonId:r}),[r,p]),g.useEffect(()=>p({type:3,panelId:i}),[i,p]);let h=K(I=>{p({type:1});let E=ft(s);if(!E)return;let w=(()=>I?I instanceof HTMLElement?I:I.current instanceof HTMLElement?I.current:E.getElementById(r):E.getElementById(r))();w==null||w.focus()}),b=g.useMemo(()=>({close:h}),[h]),v=g.useMemo(()=>({open:f===0,close:h}),[f,h]),y={ref:a};return oe.default.createElement(or.Provider,{value:c},oe.default.createElement(ar.Provider,{value:b},oe.default.createElement(Ns,{value:Oe(f,{[0]:It.Open,[1]:It.Closed})},ce({ourProps:y,theirProps:o,slot:v,defaultTag:pl,name:"Disclosure"}))))}),ml="button",bl=fe(function(e,t){let[n,o]=ir("Disclosure.Button"),r=dl(),i=r===null?!1:r===n.panelId,s=g.useRef(null),a=ge(s,t,i?null:n.buttonRef),l=K(v=>{var y;if(i){if(n.disclosureState===1)return;switch(v.key){case ue.Space:case ue.Enter:v.preventDefault(),v.stopPropagation(),o({type:0}),(y=n.buttonRef.current)==null||y.focus();break}}else switch(v.key){case ue.Space:case ue.Enter:v.preventDefault(),v.stopPropagation(),o({type:0});break}}),u=K(v=>{switch(v.key){case ue.Space:v.preventDefault();break}}),c=K(v=>{var y;Dt(v.currentTarget)||e.disabled||(i?(o({type:0}),(y=n.buttonRef.current)==null||y.focus()):o({type:0}))}),f=g.useMemo(()=>({open:n.disclosureState===0}),[n]),p=Jn(e,s),h=e,b=i?{ref:a,type:p,onKeyDown:l,onClick:c}:{ref:a,id:n.buttonId,type:p,"aria-expanded":e.disabled?void 0:n.disclosureState===0,"aria-controls":n.linkedPanel?n.panelId:void 0,onKeyDown:l,onKeyUp:u,onClick:c};return ce({ourProps:b,theirProps:h,slot:f,defaultTag:ml,name:"Disclosure.Button"})}),hl="div",vl=pt.RenderStrategy|pt.Static,Cl=fe(function(e,t){let[n,o]=ir("Disclosure.Panel"),{close:r}=Xo("Disclosure.Panel"),i=ge(t,n.panelRef,f=>{o({type:f?4:5})}),s=Po(),a=(()=>s!==null?s===It.Open:n.disclosureState===0)(),l=g.useMemo(()=>({open:n.disclosureState===0,close:r}),[n,r]),u=e,c={ref:i,id:n.panelId};return d(sr.Provider,{value:n.panelId,children:ce({ourProps:c,theirProps:u,slot:l,defaultTag:hl,features:vl,visible:a,name:"Disclosure.Panel"})})}),lr=Object.assign(gl,{Button:bl,Panel:Cl});function yl(e=0){let[t,n]=g.useState(e),o=g.useCallback(a=>n(l=>l|a),[t]),r=g.useCallback(a=>Boolean(t&a),[t]),i=g.useCallback(a=>n(l=>l&~a),[n]),s=g.useCallback(a=>n(l=>l^a),[n]);return{addFlag:o,hasFlag:r,removeFlag:i,toggleFlag:s}}let Zo=g.createContext(null);function Ho(){let e=g.useContext(Zo);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Ho),t}return e}function ur(){let[e,t]=g.useState([]);return[e.length>0?e.join(" "):void 0,g.useMemo(()=>function(n){let o=K(i=>(t(s=>[...s,i]),()=>t(s=>{let a=s.slice(),l=a.indexOf(i);return l!==-1&&a.splice(l,1),a}))),r=g.useMemo(()=>({register:o,slot:n.slot,name:n.name,props:n.props}),[o,n.slot,n.name,n.props]);return oe.default.createElement(Zo.Provider,{value:r},n.children)},[t])]}let Il="label",zo=fe(function(e,t){let{passive:n=!1,...o}=e,r=Ho(),i=`headlessui-label-${Ve()}`,s=ge(t);Ae(()=>r.register(i),[i,r.register]);let a={ref:s,...r.props,id:i};return n&&("onClick"in a&&delete a.onClick,"onClick"in o&&delete o.onClick),ce({ourProps:a,theirProps:o,slot:r.slot||{},defaultTag:Il,name:r.name||"Label"})});var xl=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(xl||{});let El={[0](e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:nn(n,o=>o.element.current)}},[1](e,t){let n=e.options.slice(),o=e.options.findIndex(r=>r.id===t.id);return o===-1?e:(n.splice(o,1),{...e,options:n})}},cr=g.createContext(null);cr.displayName="RadioGroupContext";function jo(e){let t=g.useContext(cr);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,jo),n}return t}function wl(e,t){return Oe(t.type,El,e,t)}let Al="div",Sl=fe(function(e,t){let{value:n,defaultValue:o,name:r,onChange:i,by:s=(N,D)=>N===D,disabled:a=!1,...l}=e,u=K(typeof s=="string"?(N,D)=>{let L=s;return(N==null?void 0:N[L])===(D==null?void 0:D[L])}:s),[c,f]=g.useReducer(wl,{options:[]}),p=c.options,[h,b]=ur(),[v,y]=sn(),I=`headlessui-radiogroup-${Ve()}`,E=g.useRef(null),w=ge(E,t),[C,x]=Go(n,i,o),A=g.useMemo(()=>p.find(N=>!N.propsRef.current.disabled),[p]),S=g.useMemo(()=>p.some(N=>u(N.propsRef.current.value,C)),[p,C]),O=K(N=>{var D;if(a||u(N,C))return!1;let L=(D=p.find(Y=>u(Y.propsRef.current.value,N)))==null?void 0:D.propsRef.current;return L!=null&&L.disabled?!1:(x==null||x(N),!0)});xs({container:E.current,accept(N){return N.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:N.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(N){N.setAttribute("role","none")}});let R=K(N=>{let D=E.current;if(!D)return;let L=ft(D),Y=p.filter(X=>X.propsRef.current.disabled===!1).map(X=>X.element.current);switch(N.key){case ue.Enter:Fo(N.currentTarget);break;case ue.ArrowLeft:case ue.ArrowUp:if(N.preventDefault(),N.stopPropagation(),We(Y,Ie.Previous|Ie.WrapAround)===rt.Success){let X=p.find(U=>U.element.current===(L==null?void 0:L.activeElement));X&&O(X.propsRef.current.value)}break;case ue.ArrowRight:case ue.ArrowDown:if(N.preventDefault(),N.stopPropagation(),We(Y,Ie.Next|Ie.WrapAround)===rt.Success){let X=p.find(U=>U.element.current===(L==null?void 0:L.activeElement));X&&O(X.propsRef.current.value)}break;case ue.Space:{N.preventDefault(),N.stopPropagation();let X=p.find(U=>U.element.current===(L==null?void 0:L.activeElement));X&&O(X.propsRef.current.value)}break}}),P=K(N=>(f({type:0,...N}),()=>f({type:1,id:N.id}))),W=g.useMemo(()=>({registerOption:P,firstOption:A,containsCheckedOption:S,change:O,disabled:a,value:C,compare:u}),[P,A,S,O,a,C,u]),Z={ref:w,id:I,role:"radiogroup","aria-labelledby":h,"aria-describedby":v,onKeyDown:R},B=g.useMemo(()=>({value:C}),[C]);return d(y,{name:"RadioGroup.Description",children:d(b,{name:"RadioGroup.Label",children:V(cr.Provider,{value:W,children:[r!=null&&C!=null&&Ao({[r]:C}).map(([N,D])=>oe.default.createElement(mt,{features:gt.Hidden,...on({key:N,as:"input",type:"radio",checked:D!=null,hidden:!0,readOnly:!0,name:N,value:D})})),ce({ourProps:Z,theirProps:l,slot:B,defaultTag:Al,name:"RadioGroup"})]})})})});var Nl=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Nl||{});let Fl="div",Pl=fe(function(e,t){let n=g.useRef(null),o=ge(n,t),r=`headlessui-radiogroup-option-${Ve()}`,[i,s]=ur(),[a,l]=sn(),{addFlag:u,removeFlag:c,hasFlag:f}=yl(1),{value:p,disabled:h=!1,...b}=e,v=g.useRef({value:p,disabled:h});Ae(()=>{v.current.value=p},[p,v]),Ae(()=>{v.current.disabled=h},[h,v]);let{registerOption:y,disabled:I,change:E,firstOption:w,containsCheckedOption:C,value:x,compare:A}=jo("RadioGroup.Option");Ae(()=>y({id:r,element:n,propsRef:v}),[r,y,n,e]);let S=K(D=>{var L;if(Dt(D.currentTarget))return D.preventDefault();!E(p)||(u(2),(L=n.current)==null||L.focus())}),O=K(D=>{if(Dt(D.currentTarget))return D.preventDefault();u(2)}),R=K(()=>c(2)),P=(w==null?void 0:w.id)===r,W=I||h,Z=A(x,p),B={ref:o,id:r,role:"radio","aria-checked":Z?"true":"false","aria-labelledby":i,"aria-describedby":a,"aria-disabled":W?!0:void 0,tabIndex:(()=>W?-1:Z||!C&&P?0:-1)(),onClick:W?void 0:S,onFocus:W?void 0:O,onBlur:W?void 0:R},N=g.useMemo(()=>({checked:Z,disabled:W,active:f(2)}),[Z,W,f]);return d(l,{name:"RadioGroup.Description",children:d(s,{name:"RadioGroup.Label",children:ce({ourProps:B,theirProps:b,slot:N,defaultTag:Fl,name:"RadioGroup.Option"})})})}),Yo=Object.assign(Sl,{Option:Pl,Label:zo,Description:tr}),dr=g.createContext(null);dr.displayName="GroupContext";let Gl=g.Fragment;function Tl(e){let[t,n]=g.useState(null),[o,r]=ur(),[i,s]=sn(),a=g.useMemo(()=>({switch:t,setSwitch:n,labelledby:o,describedby:i}),[t,n,o,i]),l={},u=e;return oe.default.createElement(s,{name:"Switch.Description"},oe.default.createElement(r,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},oe.default.createElement(dr.Provider,{value:a},ce({ourProps:l,theirProps:u,defaultTag:Gl,name:"Switch.Group"}))))}let Vl="button",Ol=fe(function(e,t){let{checked:n,defaultChecked:o=!1,onChange:r,name:i,value:s,...a}=e,l=`headlessui-switch-${Ve()}`,u=g.useContext(dr),c=g.useRef(null),f=ge(c,t,u===null?null:u.setSwitch),[p,h]=Go(n,r,o),b=K(()=>h==null?void 0:h(!p)),v=K(C=>{if(Dt(C.currentTarget))return C.preventDefault();C.preventDefault(),b()}),y=K(C=>{C.key===ue.Space?(C.preventDefault(),b()):C.key===ue.Enter&&Fo(C.currentTarget)}),I=K(C=>C.preventDefault()),E=g.useMemo(()=>({checked:p}),[p]),w={id:l,ref:f,role:"switch",type:Jn(e,c),tabIndex:0,"aria-checked":p,"aria-labelledby":u==null?void 0:u.labelledby,"aria-describedby":u==null?void 0:u.describedby,onClick:v,onKeyUp:y,onKeyPress:I};return oe.default.createElement(oe.default.Fragment,null,i!=null&&p&&oe.default.createElement(mt,{features:gt.Hidden,...on({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:p,name:i,value:s})}),ce({ourProps:w,theirProps:a,slot:E,defaultTag:Vl,name:"Switch"}))}),Bl=Object.assign(Ol,{Group:Tl,Label:zo,Description:tr});function Rl({onFocus:e}){let[t,n]=g.useState(!0);return t?oe.default.createElement(mt,{as:"button",type:"button",features:gt.Focusable,onFocus:o=>{o.preventDefault();let r,i=50;function s(){if(i--<=0){r&&cancelAnimationFrame(r);return}if(e()){n(!1),cancelAnimationFrame(r);return}r=requestAnimationFrame(s)}r=requestAnimationFrame(s)}}):null}var Ml=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Ml||{});let Dl={[0](e,t){let n=e.tabs.filter(i=>{var s;return!((s=i.current)!=null&&s.hasAttribute("disabled"))});if(t.index<0)return{...e,selectedIndex:e.tabs.indexOf(n[0])};if(t.index>e.tabs.length)return{...e,selectedIndex:e.tabs.indexOf(n[n.length-1])};let o=e.tabs.slice(0,t.index),r=[...e.tabs.slice(t.index),...o].find(i=>n.includes(i));return r?{...e,selectedIndex:e.tabs.indexOf(r)}:e},[1](e,t){var n;if(e.tabs.includes(t.tab))return e;let o=e.tabs[e.selectedIndex],r=nn([...e.tabs,t.tab],s=>s.current),i=(n=r.indexOf(o))!=null?n:e.selectedIndex;return i===-1&&(i=e.selectedIndex),{...e,tabs:r,selectedIndex:i}},[2](e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},[3](e,t){return e.panels.includes(t.panel)?e:{...e,panels:nn([...e.panels,t.panel],n=>n.current)}},[4](e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},fr=g.createContext(null);fr.displayName="TabsSSRContext";function pr(e){let t=g.useContext(fr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,pr),n}return t}let gr=g.createContext(null);gr.displayName="TabsDataContext";function Et(e){let t=g.useContext(gr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Et),n}return t}let mr=g.createContext(null);mr.displayName="TabsActionsContext";function br(e){let t=g.useContext(mr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,br),n}return t}function Ll(e,t){return Oe(t.type,Dl,e,t)}let kl=g.Fragment,Wl=fe(function(e,t){let{defaultIndex:n=0,vertical:o=!1,manual:r=!1,onChange:i,selectedIndex:s=null,...a}=e;const l=o?"vertical":"horizontal",u=r?"manual":"auto";let c=s!==null,f=ge(t),[p,h]=g.useReducer(Ll,{selectedIndex:s!=null?s:n,tabs:[],panels:[]}),b=g.useMemo(()=>({selectedIndex:p.selectedIndex}),[p.selectedIndex]),v=dt(i||(()=>{})),y=dt(p.tabs),I=g.useMemo(()=>({orientation:l,activation:u,...p}),[l,u,p]),E=dt(c?e.selectedIndex:p.selectedIndex),w=g.useMemo(()=>({registerTab(A){return h({type:1,tab:A}),()=>h({type:2,tab:A})},registerPanel(A){return h({type:3,panel:A}),()=>h({type:4,panel:A})},change(A){E.current!==A&&v.current(A),c||h({type:0,index:A})}}),[h,c]);Ae(()=>{h({type:0,index:s!=null?s:n})},[s]);let C=g.useRef({tabs:[],panels:[]}),x={ref:f};return oe.default.createElement(fr.Provider,{value:C},oe.default.createElement(mr.Provider,{value:w},oe.default.createElement(gr.Provider,{value:I},I.tabs.length<=0&&oe.default.createElement(Rl,{onFocus:()=>{var A,S;for(let O of y.current)if(((A=O.current)==null?void 0:A.tabIndex)===0)return(S=O.current)==null||S.focus(),!0;return!1}}),ce({ourProps:x,theirProps:a,slot:b,defaultTag:kl,name:"Tabs"}))))}),Xl="div",Zl=fe(function(e,t){let{orientation:n,selectedIndex:o}=Et("Tab.List"),r=ge(t);return ce({ourProps:{ref:r,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:o},defaultTag:Xl,name:"Tabs.List"})}),Hl="button",zl=fe(function(e,t){var n,o;let r=`headlessui-tabs-tab-${Ve()}`,{orientation:i,activation:s,selectedIndex:a,tabs:l,panels:u}=Et("Tab"),c=br("Tab"),f=Et("Tab"),p=pr("Tab"),h=g.useRef(null),b=ge(h,t);Ae(()=>c.registerTab(h),[c,h]);let v=p.current.tabs.indexOf(r);v===-1&&(v=p.current.tabs.push(r)-1);let y=l.indexOf(h);y===-1&&(y=v);let I=y===a,E=K(P=>{var W;let Z=P();if(Z===rt.Success&&s==="auto"){let B=(W=ft(h))==null?void 0:W.activeElement,N=f.tabs.findIndex(D=>D.current===B);N!==-1&&c.change(N)}return Z}),w=K(P=>{let W=l.map(Z=>Z.current).filter(Boolean);if(P.key===ue.Space||P.key===ue.Enter){P.preventDefault(),P.stopPropagation(),c.change(y);return}switch(P.key){case ue.Home:case ue.PageUp:return P.preventDefault(),P.stopPropagation(),E(()=>We(W,Ie.First));case ue.End:case ue.PageDown:return P.preventDefault(),P.stopPropagation(),E(()=>We(W,Ie.Last))}if(E(()=>Oe(i,{vertical(){return P.key===ue.ArrowUp?We(W,Ie.Previous|Ie.WrapAround):P.key===ue.ArrowDown?We(W,Ie.Next|Ie.WrapAround):rt.Error},horizontal(){return P.key===ue.ArrowLeft?We(W,Ie.Previous|Ie.WrapAround):P.key===ue.ArrowRight?We(W,Ie.Next|Ie.WrapAround):rt.Error}}))===rt.Success)return P.preventDefault()}),C=g.useRef(!1),x=K(()=>{var P;C.current||(C.current=!0,(P=h.current)==null||P.focus(),c.change(y),Mt(()=>{C.current=!1}))}),A=K(P=>{P.preventDefault()}),S=g.useMemo(()=>({selected:I}),[I]),O=e,R={ref:b,onKeyDown:w,onMouseDown:A,onClick:x,id:r,role:"tab",type:Jn(e,h),"aria-controls":(o=(n=u[y])==null?void 0:n.current)==null?void 0:o.id,"aria-selected":I,tabIndex:I?0:-1};return ce({ourProps:R,theirProps:O,slot:S,defaultTag:Hl,name:"Tabs.Tab"})}),jl="div",Yl=fe(function(e,t){let{selectedIndex:n}=Et("Tab.Panels"),o=ge(t),r=g.useMemo(()=>({selectedIndex:n}),[n]);return ce({ourProps:{ref:o},theirProps:e,slot:r,defaultTag:jl,name:"Tabs.Panels"})}),_l="div",Jl=pt.RenderStrategy|pt.Static,$l=fe(function(e,t){var n,o,r,i;let{selectedIndex:s,tabs:a,panels:l}=Et("Tab.Panel"),u=br("Tab.Panel"),c=pr("Tab.Panel"),f=`headlessui-tabs-panel-${Ve()}`,p=g.useRef(null),h=ge(p,t);Ae(()=>u.registerPanel(p),[u,p]);let b=c.current.panels.indexOf(f);b===-1&&(b=c.current.panels.push(f)-1);let v=l.indexOf(p);v===-1&&(v=b);let y=v===s,I=g.useMemo(()=>({selected:y}),[y]),E=e,w={ref:h,id:f,role:"tabpanel","aria-labelledby":(o=(n=a[v])==null?void 0:n.current)==null?void 0:o.id,tabIndex:y?0:-1};return!y&&((r=e.unmount)!=null?r:!0)&&!((i=e.static)!=null&&i)?oe.default.createElement(mt,{as:"span",...w}):ce({ourProps:w,theirProps:E,slot:I,defaultTag:_l,features:Jl,visible:y,name:"Tabs.Panel"})}),Wt=Object.assign(zl,{Group:Wl,List:Zl,Panels:Yl,Panel:$l});function Ul({onChange:e,isSelected:t=!1,isDisabled:n,name:o="",...r}){const[i,s]=g.useState(t),a=u=>{s(u),e(u)},l=({checked:u})=>n?"bg-surface-disabled":u?"bg-action-primary-default":"bg-action-primary-disabled";return d(Bl,{name:o,checked:i,onChange:a,as:g.Fragment,...r,children:({checked:u})=>V("button",{disabled:n,className:M("relative inline-flex h-6 w-12 items-center rounded-full",l({checked:u})),children:[d("span",{className:"sr-only"}),d("span",{className:M("inline-block h-4 w-4 transform rounded-full transition",u?"translate-x-7":"translate-x-1",n?"bg-icon-disabled":"bg-icon-on")})]})})}function j({children:e,size:t="sm",className:n,cursor:o,...r}){const i=M({"w-sm w-sm":t==="sm","w-xl h-xl":t==="md","h-[60px] h-[60px]":t==="lg"});return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",className:M(i,n,o==="pointer"?"cursor-pointer":"","inline"),...r,children:e})}function he({kind:e,color:t,...n}){const o=M({"fill-icon-default":t==="default","fill-icon-success":t==="success","fill-icon-warning":t==="warning","fill-icon-disabled":t==="disabled","fill-icon-active":t==="active","fill-icon-subdued":t==="subdued","fill-icon-critical":t==="critical","fill-action-primary-default":t==="primary"}),r=M(o,!t&&"fill-current");switch(e){case"more":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M12.286 7.429H9.07V4.214a.734.734 0 00-.714-.714h-.714a.72.72 0 00-.714.714V7.43H3.714A.72.72 0 003 8.143v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V9.57h3.215A.72.72 0 0013 8.857v-.714a.734.734 0 00-.714-.714z"})});case"print":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M13.25 6.25V3.133a.89.89 0 00-.273-.63l-1.23-1.23a.89.89 0 00-.63-.273H3.625a.881.881 0 00-.875.875V6.25C1.766 6.25 1 7.043 1 8v3.063c0 .246.191.437.438.437H2.75v2.625c0 .492.383.875.875.875h8.75a.881.881 0 00.875-.875V11.5h1.313a.45.45 0 00.437-.438V8c0-.957-.793-1.75-1.75-1.75zm-1.75 7h-7v-2.625h7v2.625zm0-6.125h-7V2.75h5.25v1.313c0 .246.191.437.438.437H11.5v2.625zm1.313 1.969a.632.632 0 01-.657-.656c0-.356.274-.657.656-.657.356 0 .657.301.657.657 0 .382-.301.656-.656.656z"})});case"page-front":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M5.234 3.734a.8.8 0 000 1.132L9.17 8.8l-3.935 3.934a.8.8 0 001.132 1.132l4.5-4.5a.8.8 0 000-1.132l-4.5-4.5a.8.8 0 00-1.132 0z",clipRule:"evenodd"})});case"page-back":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M10.866 3.734a.8.8 0 010 1.132L6.93 8.8l3.935 3.934a.8.8 0 01-1.132 1.132l-4.5-4.5a.8.8 0 010-1.132l4.5-4.5a.8.8 0 011.132 0z",clipRule:"evenodd"})});case"thin-front":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M10.965 7.944H2.89a.89.89 0 000 1.778h8.076l-2.927 2.927a.89.89 0 001.257 1.257l4.444-4.445a.888.888 0 000-1.257L9.295 3.76a.89.89 0 00-1.257 1.257l2.927 2.927z",clipRule:"evenodd"})});case"thin-back":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M5.035 9.722h8.076a.89.89 0 000-1.778H5.035l2.927-2.927A.89.89 0 006.705 3.76L2.261 8.204a.888.888 0 000 1.257l4.444 4.445a.89.89 0 001.257-1.257L5.035 9.722z",clipRule:"evenodd"})});case"file":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M2 2c0-1.103.897-2 2-2h5v4c0 .553.447 1 1 1h4v9c0 1.103-.897 2-2 2H4c-1.103 0-2-.897-2-2V2zm12 2h-4V0l4 4z"})});case"upload":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 0C3.587 0 0 3.587 0 8s3.587 8 8 8 8-3.587 8-8-3.587-8-8-8zm1.145 7.95v4.985h-2.34V7.949H4.26l3.722-5.12 3.722 5.12h-2.56z"})});case"download":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 16c4.413 0 8-3.587 8-8s-3.587-8-8-8-8 3.587-8 8 3.587 8 8 8zM6.855 8.05V3.066h2.34v4.986h2.544l-3.722 5.12-3.722-5.12h2.56z"})});case"percentage":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M3.824 7.324a3.34 3.34 0 01-1.684-.443 3.52 3.52 0 01-1.208-1.24A3.574 3.574 0 01.5 3.911c0-.62.144-1.189.432-1.706A3.292 3.292 0 012.14.966 3.218 3.218 0 013.824.5c.604 0 1.158.155 1.662.465.518.296.92.71 1.208 1.241a3.32 3.32 0 01.453 1.706 3.44 3.44 0 01-.453 1.728c-.288.517-.69.93-1.208 1.241a3.225 3.225 0 01-1.662.443zM10.709.832h2.87L5.442 15.168h-2.87L10.709.832zM3.824 5.42a1.35 1.35 0 001.036-.443 1.47 1.47 0 00.431-1.064c0-.428-.144-.783-.431-1.063a1.35 1.35 0 00-1.036-.444c-.403 0-.748.148-1.036.444-.288.28-.432.635-.432 1.063 0 .414.144.768.432 1.064.288.295.633.443 1.036.443zM12.176 15.5a3.341 3.341 0 01-1.683-.443 3.52 3.52 0 01-1.209-1.24 3.574 3.574 0 01-.431-1.73c0-.62.143-1.188.431-1.705a3.292 3.292 0 011.209-1.24 3.218 3.218 0 011.683-.466c.605 0 1.159.155 1.662.465.518.295.921.71 1.209 1.24a3.32 3.32 0 01.453 1.707 3.44 3.44 0 01-.453 1.728c-.288.517-.69.93-1.209 1.24a3.225 3.225 0 01-1.662.444zm0-1.905a1.35 1.35 0 001.036-.444 1.47 1.47 0 00.432-1.063c0-.428-.144-.783-.432-1.064a1.35 1.35 0 00-1.036-.443c-.417 0-.77.148-1.057.443a1.47 1.47 0 00-.432 1.064c0 .414.144.768.432 1.063.287.296.64.444 1.057.444z"})});case"average-guide":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M15.2 10.4h.4c.2 0 .4.2.4.4v.8c0 .225-.2.4-.4.4h-1.2a2.4 2.4 0 01-4.8 0H6.4a2.4 2.4 0 01-4.8 0h-.4C.525 12 0 11.475 0 10.8v-8c0-.65.525-1.2 1.2-1.2h8c.65 0 1.2.55 1.2 1.2V4h1.1c.3 0 .625.15.85.375l2.475 2.475c.225.225.375.55.375.85v2.7zM2.8 12c0 .675.525 1.2 1.2 1.2A1.2 1.2 0 005.2 12c0-.65-.55-1.2-1.2-1.2A1.2 1.2 0 002.8 12zm8 0c0 .675.525 1.2 1.2 1.2a1.2 1.2 0 001.2-1.2c0-.65-.55-1.2-1.2-1.2a1.2 1.2 0 00-1.2 1.2zm-.4-4H14v-.3l-2.5-2.5h-1.1V8zm-4.54.593v.77h-.731v-.762c-.996-.136-1.469-.856-1.533-1.461l.888-.214c.043.449.344.862 1.003.862.465 0 .738-.22.738-.534 0-.243-.18-.428-.538-.506l-.659-.143c-.773-.17-1.253-.656-1.253-1.34 0-.755.587-1.311 1.354-1.432V3.07h.73v.784c.824.15 1.182.72 1.283 1.197l-.881.25c-.043-.25-.23-.663-.817-.663-.459 0-.71.264-.71.556 0 .221.158.406.495.478l.652.15c.902.199 1.31.733 1.31 1.375 0 .655-.472 1.261-1.332 1.396z",clipRule:"evenodd"})});case"average-unit":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M16 13.63V2.372c0-.415-.168-.814-.466-1.109A1.617 1.617 0 0014.405.8H9.903v5.066l-1.62-.848-1.62.848V.8H1.6a1.626 1.626 0 00-1.132.46A1.569 1.569 0 000 2.373V13.63a1.545 1.545 0 00.469 1.11 1.602 1.602 0 001.131.46h12.798c.425 0 .832-.165 1.132-.46.3-.294.47-.694.47-1.11zm-7.293-.59v.841h-.814v-.833c-1.108-.148-1.634-.934-1.706-1.596l.989-.233c.048.49.383.942 1.116.942.518 0 .821-.242.821-.584 0-.265-.2-.467-.598-.553l-.733-.155c-.861-.187-1.395-.717-1.395-1.464 0-.825.653-1.432 1.506-1.565v-.833h.814v.857c.916.163 1.315.786 1.426 1.308l-.98.272c-.048-.273-.255-.724-.909-.724-.51 0-.789.288-.789.607 0 .242.175.444.55.522l.725.163c1.005.218 1.46.802 1.46 1.503 0 .716-.527 1.377-1.483 1.525z",clipRule:"evenodd"})});case"new":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 16a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm-.75-5.25v-2h-2A.748.748 0 014.5 8c0-.416.334-.75.75-.75h2v-2c0-.416.334-.75.75-.75s.75.334.75.75v2h2c.416 0 .75.334.75.75s-.334.75-.75.75h-2v2c0 .416-.334.75-.75.75a.748.748 0 01-.75-.75z"})});case"padlock":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M13.5 7h-.75V4.75C12.75 2.156 10.594 0 8 0 5.375 0 3.25 2.156 3.25 4.75V7H2.5A1.5 1.5 0 001 8.5v6c0 .844.656 1.5 1.5 1.5h11a1.5 1.5 0 001.5-1.5v-6c0-.813-.688-1.5-1.5-1.5zm-3.25 0h-4.5V4.75c0-1.219 1-2.25 2.25-2.25 1.219 0 2.25 1.031 2.25 2.25V7z"})});case"shipments":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.992 2.601v10.134a1.601 1.601 0 01-1.6 1.599H1.598A1.599 1.599 0 010 12.734V2.602A1.6 1.6 0 011.6 1h5.06v5.159l1.618-.864 1.62.864V1h4.5a1.601 1.601 0 011.595 1.601z"})});case"joke":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M0 8c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8zm6.452-1.548a1.04 1.04 0 01-1.033 1.032c-.58 0-1.032-.452-1.032-1.032A1.04 1.04 0 015.42 5.419c.549 0 1.033.484 1.033 1.033zm5.419.806L11.548 7c-.483-.42-1.483-.42-1.967 0l-.29.258c-.291.258-.71.032-.646-.323.13-.838 1.097-1.354 1.936-1.354.806 0 1.806.516 1.935 1.354.032.355-.387.581-.645.323zM4 10.097c1 .322 2.452.484 4 .484s2.968-.162 3.968-.484a.512.512 0 01.645.58c-.29 1.775-2.678 3-4.613 3-1.968 0-4.355-1.225-4.645-3a.512.512 0 01.645-.58z"})});case"shipping":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.6 10.8h-.4V8.1c0-.3-.15-.625-.375-.85L12.35 4.775c-.225-.225-.55-.375-.85-.375h-1.1V3.2c0-.65-.55-1.2-1.2-1.2h-8A1.2 1.2 0 000 3.2v8c0 .675.525 1.2 1.2 1.2h.4a2.4 2.4 0 004.8 0h3.2a2.4 2.4 0 004.8 0h1.2c.2 0 .4-.175.4-.4v-.8c0-.2-.2-.4-.4-.4zM4 13.6c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2A1.2 1.2 0 014 13.6zm8 0c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2a1.2 1.2 0 01-1.2 1.2zm2-5.2h-3.6V5.6h1.1L14 8.1v.3z"})});case"home":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M7.792 5.217L2.69 9.432v4.52c0 .249.194.443.443.443H6.24c.222 0 .416-.194.416-.444V11.29c0-.221.222-.443.444-.443h1.774c.25 0 .444.222.444.443v2.662c0 .25.222.444.444.444h3.133a.456.456 0 00.444-.444V9.404l-5.13-4.187a.3.3 0 00-.194-.084.315.315 0 00-.222.084zm8.07 2.856L13.56 6.159V2.333A.337.337 0 0013.227 2h-1.553a.32.32 0 00-.333.333v1.996L8.846 2.277a1.426 1.426 0 00-1.692 0L.14 8.073a.33.33 0 00-.139.25c0 .083.055.166.083.221l.721.86c.056.083.139.11.25.11a.315.315 0 00.222-.082L7.792 4.08a.315.315 0 01.222-.083.3.3 0 01.194.083l6.516 5.352a.315.315 0 00.222.083c.111 0 .194-.028.25-.111l.72-.86A.315.315 0 0016 8.322a.331.331 0 00-.139-.25z"})});case"menu":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M0 2.123C0 1.502.51 1 1.143 1h13.714C15.49 1 16 1.502 16 2.123c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 2.123zm0 5.614c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123 0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 7.737zm16 5.614c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 13.35c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123z"})});case"notifications":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8.006 16c1.094 0 1.969-.875 1.969-2h-3.97c0 1.125.876 2 2 2zm6.719-4.656c-.594-.656-1.75-1.625-1.75-4.844 0-2.406-1.688-4.344-4-4.844V1c0-.531-.438-1-.97-1-.562 0-1 .469-1 1v.656c-2.312.5-4 2.438-4 4.844 0 3.219-1.155 4.188-1.75 4.844-.187.187-.28.437-.25.656 0 .531.376 1 1 1h11.97c.625 0 1-.469 1.03-1a.952.952 0 00-.28-.656z"})});case"novelty":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.826 13.25L9.154 1.657c-.5-.862-1.807-.89-2.308 0L.174 13.25c-.5.862.139 1.974 1.167 1.974H14.66a1.323 1.323 0 001.167-1.974zm-7.812-2.418c.695 0 1.279.583 1.279 1.278 0 .723-.584 1.28-1.28 1.28a1.258 1.258 0 01-1.278-1.28c0-.695.556-1.278 1.279-1.278zM6.79 6.244c-.028-.194.139-.361.333-.361h1.752c.194 0 .361.167.333.361l-.194 3.781c-.028.195-.167.306-.334.306H7.32c-.167 0-.306-.111-.334-.306l-.194-3.78z"})});case"help":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8.194 2.645c1.838 0 3.774 1.42 3.774 3.29 0 2.517-2.678 2.549-2.678 3.452v.032a.392.392 0 01-.387.387H7.097a.373.373 0 01-.387-.387V9.29c0-1.322 1-1.838 1.742-2.258.645-.355 1.064-.613 1.064-1.097 0-.645-.839-1.064-1.484-1.064-.87 0-1.258.42-1.838 1.161a.403.403 0 01-.549.065l-1.129-.839c-.161-.129-.193-.355-.064-.548.87-1.323 2-2.065 3.742-2.065zm-.194 8a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 13.613a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 10.645z"})});case"see-more":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M4 8a2 2 0 11-4.001-.001A2 2 0 014 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0110 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0116 8z",clipRule:"evenodd"})});case"info":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 0C3.58 0 0 3.613 0 8c0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8 0-4.387-3.613-8-8-8zm0 3.548c.742 0 1.355.613 1.355 1.355 0 .774-.613 1.355-1.355 1.355-.774 0-1.355-.58-1.355-1.355 0-.742.58-1.355 1.355-1.355zm1.806 8.194a.392.392 0 01-.387.387H6.581a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h.387V8.516H6.58a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h2.064c.194 0 .387.193.387.387v3.226h.387c.194 0 .387.193.387.387v.774z"})});case"alert":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8 9.613a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 12.58a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 9.613zM6.58 4.29c-.032-.225.162-.419.388-.419H9c.226 0 .42.194.387.42l-.226 4.386c-.032.226-.193.355-.387.355h-1.58c-.194 0-.355-.129-.388-.355L6.581 4.29z"})});case"eye":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.916 7.969c-1.502-2.76-4.507-4.636-7.902-4.636-3.423 0-6.428 1.875-7.93 4.636A.787.787 0 000 8.333c0 .156.028.287.083.39 1.503 2.761 4.508 4.61 7.93 4.61 3.396 0 6.4-1.849 7.903-4.61A.787.787 0 0016 8.36a.822.822 0 00-.084-.39zm-7.902 4.114c-2.226 0-4.007-1.666-4.007-3.75 0-2.057 1.78-3.75 4.007-3.75 2.198 0 4.007 1.693 4.007 3.75v.026c0 2.058-1.809 3.75-4.007 3.75v-.026zm0-6.25c-.25.026-.501.052-.724.104.167.209.25.47.25.756 0 .677-.583 1.224-1.307 1.224-.306 0-.584-.079-.807-.235a2.612 2.612 0 00-.083.651c0 1.38 1.196 2.5 2.67 2.5 1.476 0 2.672-1.12 2.672-2.5S9.49 5.86 8.014 5.86v-.026z"})});case"date":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M1.848 6c-.203 0-.348.188-.348.375V14.5c0 .844.61 1.5 1.393 1.5h10.214c.755 0 1.393-.656 1.393-1.5V6.375c0-.188-.174-.375-.348-.375H1.848zM14.5 4.625V3.5c0-.813-.638-1.5-1.393-1.5h-1.393V.375c0-.188-.174-.375-.348-.375h-1.16c-.204 0-.349.188-.349.375V2H6.143V.375C6.143.187 5.969 0 5.795 0H4.634c-.203 0-.348.188-.348.375V2H2.893C2.109 2 1.5 2.688 1.5 3.5v1.125c0 .219.145.375.348.375h12.304c.174 0 .348-.156.348-.375z"})});case"search":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.883 14.635L12.1 10.859c-.094-.062-.188-.125-.282-.125h-.406a6.527 6.527 0 001.594-4.244c0-3.557-2.939-6.49-6.503-6.49C2.908 0 0 2.933 0 6.49a6.492 6.492 0 006.503 6.491 6.592 6.592 0 004.252-1.56v.405c0 .094.031.188.094.281l3.783 3.776c.157.156.407.156.532 0l.719-.718c.156-.124.156-.374 0-.53zm-9.38-3.152A4.972 4.972 0 011.501 6.49a4.992 4.992 0 015.002-4.992c2.752 0 5.003 2.247 5.003 4.992a4.992 4.992 0 01-5.003 4.993z"})});case"delete":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M10.264 7.983l3.404-3.404a1.011 1.011 0 000-1.498l-.749-.75a1.01 1.01 0 00-1.498 0L8.017 5.737 4.579 2.332a1.01 1.01 0 00-1.498 0l-.75.749a1.01 1.01 0 000 1.498l3.405 3.404-3.404 3.438a1.01 1.01 0 000 1.498l.749.75c.408.442 1.09.442 1.498 0l3.438-3.405 3.404 3.404a1.01 1.01 0 001.498 0l.75-.749a1.01 1.01 0 000-1.498l-3.405-3.438z"})});case"more-less":return V(j,{...n,children:[d("path",{className:r,fill:"none",d:"M12.286 3.929H9.07V.714A.734.734 0 008.357 0h-.714a.72.72 0 00-.714.714V3.93H3.714A.72.72 0 003 4.643v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V6.07h3.215A.72.72 0 0013 5.357v-.714a.734.734 0 00-.714-.714z"}),d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 15.214c0-.394.373-.714.833-.714h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})]});case"down":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M12.648 4H3.353C2.226 4 1.595 5.206 2.29 6.028l4.647 5.493c.541.639 1.583.639 2.124 0l4.647-5.493C14.405 5.206 13.774 4 12.648 4z"})});case"up":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M3.353 12h9.295c1.126 0 1.757-1.206 1.061-2.028L9.062 4.479c-.541-.639-1.583-.639-2.124 0L2.291 9.972C1.595 10.794 2.226 12 3.353 12z"})});case"back":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M12 12.648V3.353c0-1.127-1.206-1.758-2.028-1.062L4.479 6.938c-.639.541-.639 1.583 0 2.124l5.493 4.647c.822.696 2.028.065 2.028-1.061z"})});case"front":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M4 3.353v9.295c0 1.126 1.206 1.757 2.028 1.061l5.493-4.647c.639-.541.639-1.583 0-2.124L6.028 2.291C5.206 1.595 4 2.226 4 3.353z"})});case"major-minor":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M13.429 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.862 1.048V.75c0-.414-.306-.75-.685-.75-.38 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.068.367.177.5l-.001.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zM7.309 2.748L5.254.248 5.25.25A.658.658 0 004.743 0a.658.658 0 00-.508.25L4.233.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.001.002.862-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"minor-major":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M7.486 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.861 1.048V.75c0-.414-.307-.75-.686-.75-.379 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.069.367.178.5l-.002.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zm5.88-10.002L11.31.248l-.002.002A.658.658 0 0010.8 0a.658.658 0 00-.508.25L10.29.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.002.002.861-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"create":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M14.857 6.286H9.714V1.143C9.714.536 9.18 0 8.571 0H7.43a1.15 1.15 0 00-1.143 1.143v5.143H1.143A1.15 1.15 0 000 7.429V8.57c0 .643.5 1.143 1.143 1.143h5.143v5.143c0 .643.5 1.143 1.143 1.143H8.57c.608 0 1.143-.5 1.143-1.143V9.714h5.143c.607 0 1.143-.5 1.143-1.143V7.43c0-.608-.536-1.143-1.143-1.143z"})});case"success":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 16a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm3.531-9.469l-4 4a.747.747 0 01-1.06 0l-2-2a.75.75 0 011.06-1.06L7 8.942l3.469-3.472a.75.75 0 011.06 1.06l.002.002z"})});case"error":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M7.18.373L.314 7.336A1.091 1.091 0 00.32 8.874l6.758 6.758c.42.42 1.098.427 1.527.016l7.059-6.77a1.091 1.091 0 00.016-1.558L8.73.368A1.091 1.091 0 007.18.373zM9.39 10.585c0-.716-.601-1.317-1.316-1.317-.745 0-1.317.601-1.317 1.317 0 .744.572 1.316 1.317 1.316.715 0 1.316-.572 1.316-1.316zm-2.232-6.41c-.2 0-.372.171-.344.371l.2 3.893c.03.2.172.314.344.314H8.76c.172 0 .315-.114.344-.314l.2-3.893c.029-.2-.143-.372-.343-.372H7.157z",clipRule:"evenodd"})});case"less":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 7.714C3 7.32 3.373 7 3.833 7h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})});default:return d(pe,{})}}function un(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function Xt(e){return e.split("-")[0]}function cn(e){return e.split("-")[1]}function Zt(e){return["top","bottom"].includes(Xt(e))?"x":"y"}function hr(e){return e==="y"?"height":"width"}function _o(e,t,n){let{reference:o,floating:r}=e;const i=o.x+o.width/2-r.width/2,s=o.y+o.height/2-r.height/2,a=Zt(t),l=hr(a),u=o[l]/2-r[l]/2,c=Xt(t),f=a==="x";let p;switch(c){case"top":p={x:i,y:o.y-r.height};break;case"bottom":p={x:i,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:s};break;case"left":p={x:o.x-r.width,y:s};break;default:p={x:o.x,y:o.y}}switch(cn(t)){case"start":p[a]-=u*(n&&f?-1:1);break;case"end":p[a]+=u*(n&&f?-1:1);break}return p}const Ql=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));if(process.env.NODE_ENV!=="production"){if(s==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),a.filter(v=>{let{name:y}=v;return y==="autoPlacement"||y==="flip"}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));(!e||!t)&&console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let u=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:f}=_o(u,o,l),p=o,h={},b=0;for(let v=0;v<a.length;v++){const{name:y,fn:I}=a[v],{x:E,y:w,data:C,reset:x}=await I({x:c,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});if(c=E!=null?E:c,f=w!=null?w:f,h={...h,[y]:{...h[y],...C}},process.env.NODE_ENV!=="production"&&b>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),x&&b<=50){b++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:c,y:f}=_o(u,p,l)),v=-1;continue}}return{x:c,y:f,placement:p,strategy:r,middlewareData:h}};function Kl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jo(e){return typeof e!="number"?Kl(e):{top:e,right:e,bottom:e,left:e}}function dn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function $o(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=t,b=Jo(h),y=a[p?f==="floating"?"reference":"floating":f],I=dn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),E=dn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...s.floating,x:o,y:r}:s.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:I.top-E.top+b.top,bottom:E.bottom-I.bottom+b.bottom,left:I.left-E.left+b.left,right:E.right-I.right+b.right}}const ql=Math.min,eu=Math.max;function vr(e,t,n){return eu(e,ql(t,n))}const Uo=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=e!=null?e:{},{x:r,y:i,placement:s,rects:a,platform:l}=t;if(n==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const u=Jo(o),c={x:r,y:i},f=Zt(s),p=cn(s),h=hr(f),b=await l.getDimensions(n),v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",I=a.reference[h]+a.reference[f]-c[f]-a.floating[h],E=c[f]-a.reference[f],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let C=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;C===0&&(C=a.floating[h]);const x=I/2-E/2,A=u[v],S=C-b[h]-u[y],O=C/2-b[h]/2+x,R=vr(A,O,S),Z=(p==="start"?u[v]:u[y])>0&&O!==R&&a.reference[h]<=a.floating[h]?O<A?A-O:S-O:0;return{[f]:c[f]-Z,data:{[f]:R,centerOffset:O-R}}}}),tu={left:"right",right:"left",bottom:"top",top:"bottom"};function fn(e){return e.replace(/left|right|bottom|top/g,t=>tu[t])}function nu(e,t,n){n===void 0&&(n=!1);const o=cn(e),r=Zt(e),i=hr(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=fn(s)),{main:s,cross:fn(s)}}const ru={start:"end",end:"start"};function Qo(e){return e.replace(/start|end/g,t=>ru[t])}function ou(e){const t=fn(e);return[Qo(e),t,Qo(t)]}const iu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...b}=e,v=Xt(o),I=f||(v===s||!h?[fn(s)]:ou(s)),E=[s,...I],w=await $o(t,b),C=[];let x=((n=r.flip)==null?void 0:n.overflows)||[];if(u&&C.push(w[v]),c){const{main:R,cross:P}=nu(o,i,await(a.isRTL==null?void 0:a.isRTL(l.floating)));C.push(w[R],w[P])}if(x=[...x,{placement:o,overflows:C}],!C.every(R=>R<=0)){var A,S;const R=((A=(S=r.flip)==null?void 0:S.index)!=null?A:0)+1,P=E[R];if(P)return{data:{index:R,overflows:x},reset:{placement:P}};let W="bottom";switch(p){case"bestFit":{var O;const Z=(O=x.map(B=>[B,B.overflows.filter(N=>N>0).reduce((N,D)=>N+D,0)]).sort((B,N)=>B[1]-N[1])[0])==null?void 0:O[0].placement;Z&&(W=Z);break}case"initialPlacement":W=s;break}if(o!==W)return{reset:{placement:W}}}return{}}}};async function au(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=Xt(n),a=cn(n),l=Zt(n)==="x",u=["left","top"].includes(s)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof b=="number"&&(h=a==="end"?b*-1:b),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const su=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await au(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};function lu(e){return e==="x"?"y":"x"}const uu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:I,y:E}=y;return{x:I,y:E}}},...l}=e,u={x:n,y:o},c=await $o(t,l),f=Zt(Xt(r)),p=lu(f);let h=u[f],b=u[p];if(i){const y=f==="y"?"top":"left",I=f==="y"?"bottom":"right",E=h+c[y],w=h-c[I];h=vr(E,h,w)}if(s){const y=p==="y"?"top":"left",I=p==="y"?"bottom":"right",E=b+c[y],w=b-c[I];b=vr(E,b,w)}const v=a.fn({...t,[f]:h,[p]:b});return{...v,data:{x:v.x-n,y:v.y-o}}}}};function Ko(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Je(e){if(e==null)return window;if(!Ko(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function $e(e){return Je(e).getComputedStyle(e)}function it(e){return Ko(e)?"":e?(e.nodeName||"").toLowerCase():""}function qo(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Ue(e){return e instanceof Je(e).HTMLElement}function Qe(e){return e instanceof Je(e).Element}function cu(e){return e instanceof Je(e).Node}function ei(e){if(typeof ShadowRoot>"u")return!1;const t=Je(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function pn(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=$e(e);return/auto|scroll|overlay|hidden/.test(t+o+n)&&!["inline","contents"].includes(r)}function du(e){return["table","td","th"].includes(it(e))}function Cr(e){const t=/firefox/i.test(qo()),n=$e(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||(o?o!=="none":!1)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const i=n.contain;return i!=null?i.includes(r):!1})}function ti(){return!/^((?!chrome|android).)*safari/i.test(qo())}function yr(e){return["html","body","#document"].includes(it(e))}const ni=Math.min,Ht=Math.max,gn=Math.round;function Ke(e,t,n){var o,r,i,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let l=1,u=1;t&&Ue(e)&&(l=e.offsetWidth>0&&gn(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&gn(a.height)/e.offsetHeight||1);const c=Qe(e)?Je(e):window,f=!ti()&&n,p=(a.left+(f&&(o=(r=c.visualViewport)==null?void 0:r.offsetLeft)!=null?o:0))/l,h=(a.top+(f&&(i=(s=c.visualViewport)==null?void 0:s.offsetTop)!=null?i:0))/u,b=a.width/l,v=a.height/u;return{width:b,height:v,top:h,right:p+b,bottom:h+v,left:p,x:p,y:h}}function at(e){return((cu(e)?e.ownerDocument:e.document)||window.document).documentElement}function mn(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ri(e){return Ke(at(e)).left+mn(e).scrollLeft}function fu(e){const t=Ke(e);return gn(t.width)!==e.offsetWidth||gn(t.height)!==e.offsetHeight}function pu(e,t,n){const o=Ue(t),r=at(t),i=Ke(e,o&&fu(t),n==="fixed");let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&n!=="fixed")if((it(t)!=="body"||pn(r))&&(s=mn(t)),Ue(t)){const l=Ke(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=ri(r));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function zt(e){if(it(e)==="html")return e;const t=e.assignedSlot||e.parentNode||(ei(e)?e.host:null)||at(e);return ei(t)?t.host:t}function oi(e){return!Ue(e)||$e(e).position==="fixed"?null:e.offsetParent}function gu(e){let t=zt(e);for(;Ue(t)&&!yr(t);){if(Cr(t))return t;t=zt(t)}return null}function ii(e){const t=Je(e);let n=oi(e);for(;n&&du(n)&&$e(n).position==="static";)n=oi(n);return n&&(it(n)==="html"||it(n)==="body"&&$e(n).position==="static"&&!Cr(n))?t:n||gu(e)||t}function mu(e){if(Ue(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ke(e);return{width:t.width,height:t.height}}function bu(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=Ue(n),i=at(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&o!=="fixed")&&((it(n)!=="body"||pn(i))&&(s=mn(n)),Ue(n))){const l=Ke(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function hu(e,t){const n=Je(e),o=at(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(r){i=r.width,s=r.height;const u=ti();(u||!u&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:a,y:l}}function vu(e){var t;const n=at(e),o=mn(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=Ht(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=Ht(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+ri(e);const l=-o.scrollTop;return $e(r||n).direction==="rtl"&&(a+=Ht(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function ai(e){const t=zt(e);return yr(t)?e.ownerDocument.body:Ue(t)&&pn(t)?t:ai(t)}function st(e,t){var n;t===void 0&&(t=[]);const o=ai(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=Je(o),s=r?[i].concat(i.visualViewport||[],pn(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(st(s))}function Cu(e,t){const n=Ke(e,!1,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function si(e,t,n){return t==="viewport"?dn(hu(e,n)):Qe(t)?Cu(t,n):dn(vu(at(e)))}function yu(e){let t=st(e).filter(i=>Qe(i)&&it(i)!=="body"),n=null;const o=$e(e).position==="fixed";let r=o?zt(e):e;for(;Qe(r)&&!yr(r);){const i=$e(r),s=Cr(r);(o?!s&&!n:!s&&i.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?t=t.filter(l=>l!==r):n=i,r=zt(r)}return t}function Iu(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?yu(t):[].concat(n),o],a=s[0],l=s.reduce((u,c)=>{const f=si(t,c,r);return u.top=Ht(f.top,u.top),u.right=ni(f.right,u.right),u.bottom=ni(f.bottom,u.bottom),u.left=Ht(f.left,u.left),u},si(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const xu={getClippingRect:Iu,convertOffsetParentRelativeRectToViewportRelativeRect:bu,isElement:Qe,getDimensions:mu,getOffsetParent:ii,getDocumentElement:at,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||ii,i=this.getDimensions;return{reference:pu(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>$e(e).direction==="rtl"};function li(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:a=!1}=o,l=r&&!a,u=l||i?[...Qe(e)?st(e):e.contextElement?st(e.contextElement):[],...st(t)]:[];u.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});let c=null;if(s){let b=!0;c=new ResizeObserver(()=>{b||n(),b=!1}),Qe(e)&&!a&&c.observe(e),!Qe(e)&&e.contextElement&&!a&&c.observe(e.contextElement),c.observe(t)}let f,p=a?Ke(e):null;a&&h();function h(){const b=Ke(e);p&&(b.x!==p.x||b.y!==p.y||b.width!==p.width||b.height!==p.height)&&n(),p=b,f=requestAnimationFrame(h)}return n(),()=>{var b;u.forEach(v=>{l&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),(b=c)==null||b.disconnect(),c=null,a&&cancelAnimationFrame(f)}}const Eu=(e,t,n)=>Ql(e,t,{platform:xu,...n});var Ir=typeof document<"u"?g.useLayoutEffect:g.useEffect;function bn(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 n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!bn(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!bn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wu(e){const t=T.useRef(e);return Ir(()=>{t.current=e}),t}function Au(e){let{middleware:t=[],placement:n="bottom",strategy:o="absolute",whileElementsMounted:r}=e===void 0?{}:e;const[i,s]=T.useState({x:null,y:null,strategy:o,placement:n,middlewareData:{}}),[a,l]=T.useState(t);bn(a,t)||l(t);const u=T.useRef(null),c=T.useRef(null),f=T.useRef(null),p=T.useRef(i),h=wu(r),b=T.useCallback(()=>{!u.current||!c.current||Eu(u.current,c.current,{middleware:a,placement:n,strategy:o}).then(C=>{v.current&&!bn(p.current,C)&&(p.current=C,as.flushSync(()=>{s(C)}))})},[a,n,o]);Ir(()=>{v.current&&b()},[b]);const v=T.useRef(!1);Ir(()=>(v.current=!0,()=>{v.current=!1}),[]);const y=T.useCallback(()=>{if(typeof f.current=="function"&&(f.current(),f.current=null),u.current&&c.current)if(h.current){const C=h.current(u.current,c.current,b);f.current=C}else b()},[b,h]),I=T.useCallback(C=>{u.current=C,y()},[y]),E=T.useCallback(C=>{c.current=C,y()},[y]),w=T.useMemo(()=>({reference:u,floating:c}),[]);return T.useMemo(()=>({...i,update:b,refs:w,reference:I,floating:E}),[i,b,w,I,E])}const Su=e=>{const{element:t,padding:n}=e;function o(r){return Object.prototype.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){return o(t)?t.current!=null?Uo({element:t.current,padding:n}).fn(r):{}:t?Uo({element:t,padding:n}).fn(r):{}}}};var bt=typeof document<"u"?g.useLayoutEffect:g.useEffect;function Nu(){const e=new Map;return{emit(t,n){var o;(o=e.get(t))==null||o.forEach(r=>r(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(o=>o!==n))}}}let xr=!1,Fu=0;const ui=()=>"floating-ui-"+Fu++;function Pu(){const[e,t]=T.useState(()=>xr?ui():void 0);return bt(()=>{e==null&&t(ui())},[]),T.useEffect(()=>{xr||(xr=!0)},[]),e}const ci=T["useId".toString()],di=ci!=null?ci:Pu,Gu=T.createContext(null),Tu=T.createContext(null),fi=()=>{var e,t;return(e=(t=T.useContext(Gu))==null?void 0:t.id)!=null?e:null},Er=()=>T.useContext(Tu);function lt(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function pi(e){var t;return(t=lt(e).defaultView)!=null?t:window}function ht(e){return e?e instanceof pi(e).Element:!1}function Vu(e){return e?e instanceof pi(e).HTMLElement:!1}const gi=T["useInsertionEffect".toString()];function Ou(e){const t=T.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return gi?gi(()=>{t.current=e}):t.current=e,T.useCallback(function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t.current==null?void 0:t.current(...o)},[])}function Bu(e){let{open:t=!1,onOpenChange:n,whileElementsMounted:o,placement:r,middleware:i,strategy:s,nodeId:a}=e===void 0?{}:e;const[l,u]=T.useState(null),c=Er(),f=T.useRef(null),p=T.useRef({}),h=T.useState(()=>Nu())[0],b=Au({placement:r,middleware:i,strategy:s,whileElementsMounted:o}),v=Ou(n),y=T.useMemo(()=>({...b.refs,domReference:f}),[b.refs]),I=T.useMemo(()=>({...b,refs:y,dataRef:p,nodeId:a,events:h,open:t,onOpenChange:v,_:{domReference:l}}),[b,a,h,t,v,y,l]);bt(()=>{const C=c==null?void 0:c.nodesRef.current.find(x=>x.id===a);C&&(C.context=I)});const{reference:E}=b,w=T.useCallback(C=>{(ht(C)||C===null)&&(I.refs.domReference.current=C,u(C)),E(C)},[E,I.refs]);return T.useMemo(()=>({...b,context:I,refs:y,reference:w}),[b,y,I,w])}function wr(e,t,n){const o=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(r=>r?r[n]:null).concat(e).reduce((r,i)=>(i&&Object.entries(i).forEach(s=>{let[a,l]=s;if(a.indexOf("on")===0){if(o.has(a)||o.set(a,[]),typeof l=="function"){var u;(u=o.get(a))==null||u.push(l),r[a]=function(){for(var c,f=arguments.length,p=new Array(f),h=0;h<f;h++)p[h]=arguments[h];(c=o.get(a))==null||c.forEach(b=>b(...p))}}}else r[a]=l}),r),{})}}const Ru=function(e){e===void 0&&(e=[]);const t=e,n=T.useCallback(i=>wr(i,e,"reference"),t),o=T.useCallback(i=>wr(i,e,"floating"),t),r=T.useCallback(i=>wr(i,e,"item"),t);return T.useMemo(()=>({getReferenceProps:n,getFloatingProps:o,getItemProps:r}),[n,o,r])};function Ar(e,t){var n;let o=(n=e.filter(s=>{var a;return s.parentId===t&&((a=s.context)==null?void 0:a.open)}))!=null?n:[],r=o;for(;r.length;){var i;r=(i=e.filter(s=>{var a;return(a=r)==null?void 0:a.some(l=>{var u;return s.parentId===l.id&&((u=s.context)==null?void 0:u.open)})}))!=null?i:[],o=o.concat(r)}return o}const mi="floating-ui-root",Mu=function(e){let{id:t=mi,enabled:n=!0}=e===void 0?{}:e;const[o,r]=T.useState(null);return bt(()=>{if(!n)return;const i=document.getElementById(t);if(i)r(i);else{const s=document.createElement("div");s.id=t,r(s),document.body.contains(s)||document.body.appendChild(s)}},[t,n]),o},Du=e=>{let{children:t,id:n=mi,root:o=null}=e;const r=Mu({id:n,enabled:!o});return o?Ot.createPortal(t,o):r?Ot.createPortal(t,r):null};function Lu(e){return"composedPath"in e?e.composedPath()[0]:e.target}function bi(e){const t=g.useRef(e);return bt(()=>{t.current=e}),t}function ku(e){const t=g.useRef();return bt(()=>{t.current=e},[e]),t.current}function Sr(e,t,n){return n&&n!=="mouse"?0:typeof e=="number"?e:e==null?void 0:e[t]}const Wu=function(e,t){let{enabled:n=!0,delay:o=0,handleClose:r=null,mouseOnly:i=!1,restMs:s=0,move:a=!0}=t===void 0?{}:t;const{open:l,onOpenChange:u,dataRef:c,events:f,refs:p,_:h}=e,b=Er(),v=fi(),y=bi(r),I=bi(o),E=ku(l),w=T.useRef(),C=T.useRef(),x=T.useRef(),A=T.useRef(),S=T.useRef(!0),O=T.useRef(!1),R=T.useCallback(()=>{var B;const N=(B=c.current.openEvent)==null?void 0:B.type;return(N==null?void 0:N.includes("mouse"))&&N!=="mousedown"},[c]);T.useEffect(()=>{if(!n)return;function B(){clearTimeout(C.current),clearTimeout(A.current),S.current=!0}return f.on("dismiss",B),()=>{f.off("dismiss",B)}},[n,f,p]),T.useEffect(()=>{if(!n||!y.current)return;function B(){R()&&u(!1)}const N=lt(p.floating.current).documentElement;return N.addEventListener("mouseleave",B),()=>{N.removeEventListener("mouseleave",B)}},[p,u,n,y,c,R]);const P=T.useCallback(function(B){B===void 0&&(B=!0);const N=Sr(I.current,"close",w.current);N&&!x.current?(clearTimeout(C.current),C.current=setTimeout(()=>u(!1),N)):B&&(clearTimeout(C.current),u(!1))},[I,u]),W=T.useCallback(()=>{x.current&&(lt(p.floating.current).removeEventListener("pointermove",x.current),x.current=void 0)},[p]),Z=T.useCallback(()=>{lt(p.floating.current).body.style.pointerEvents="",O.current=!1},[p]);return T.useEffect(()=>{if(!n)return;function B(){return c.current.openEvent?["click","mousedown"].includes(c.current.openEvent.type):!1}function N(U){if(clearTimeout(C.current),S.current=!1,i&&w.current!=="mouse"||s>0&&Sr(I.current,"open")===0)return;c.current.openEvent=U;const de=Sr(I.current,"open",w.current);de?C.current=setTimeout(()=>{u(!0)},de):u(!0)}function D(U){if(B())return;const de=lt(p.floating.current);if(clearTimeout(A.current),y.current){clearTimeout(C.current),x.current&&de.removeEventListener("pointermove",x.current),x.current=y.current({...e,tree:b,x:U.clientX,y:U.clientY,onClose(){Z(),W(),P()}}),de.addEventListener("pointermove",x.current);return}P()}function L(U){B()||y.current==null||y.current({...e,tree:b,x:U.clientX,y:U.clientY,leave:!0,onClose(){Z(),W(),P()}})(U)}const Y=p.floating.current,X=p.domReference.current;if(ht(X))return l&&X.addEventListener("mouseleave",L),Y==null||Y.addEventListener("mouseleave",L),a&&X.addEventListener("mousemove",N,{once:!0}),X.addEventListener("mouseenter",N),X.addEventListener("mouseleave",D),()=>{l&&X.removeEventListener("mouseleave",L),Y==null||Y.removeEventListener("mouseleave",L),a&&X.removeEventListener("mousemove",N),X.removeEventListener("mouseenter",N),X.removeEventListener("mouseleave",D)}},[h.domReference,n,e,i,s,a,P,W,Z,u,l,b,p,I,y,c]),bt(()=>{if(!!n&&l&&y.current&&y.current.__options.blockPointerEvents&&R()){lt(p.floating.current).body.style.pointerEvents="none",O.current=!0;const D=p.domReference.current,L=p.floating.current;if(ht(D)&&L){var B,N;const Y=b==null||(B=b.nodesRef.current.find(X=>X.id===v))==null||(N=B.context)==null?void 0:N.refs.floating.current;return Y&&(Y.style.pointerEvents=""),D.style.pointerEvents="auto",L.style.pointerEvents="auto",()=>{D.style.pointerEvents="",L.style.pointerEvents=""}}}},[n,l,v,p,b,y,c,R]),bt(()=>{E&&!l&&(w.current=void 0,W(),Z())}),T.useEffect(()=>()=>{W(),clearTimeout(C.current),clearTimeout(A.current),O.current&&Z()},[n,W,Z]),T.useMemo(()=>{if(!n)return{};function B(N){w.current=N.pointerType}return{reference:{onPointerDown:B,onPointerEnter:B,onMouseMove(){l||s===0||(clearTimeout(A.current),A.current=setTimeout(()=>{S.current||u(!0)},s))}},floating:{onMouseEnter(){clearTimeout(C.current)},onMouseLeave(){P(!1)}}}},[n,s,l,u,P])},Xu=function(e,t){let{open:n}=e,{enabled:o=!0,role:r="dialog"}=t===void 0?{}:t;const i=di(),s=di();return T.useMemo(()=>{const a={id:i,role:r};return o?r==="tooltip"?{reference:{"aria-describedby":n?i:void 0},floating:a}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":r==="alertdialog"?"dialog":r,"aria-controls":n?i:void 0,...r==="listbox"&&{role:"combobox"},...r==="menu"&&{id:s}},floating:{...a,...r==="menu"&&{"aria-labelledby":s}}}:{}},[o,r,n,i,s])};function Nr(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}const Zu={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Hu={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},zu=function(e,t){let{open:n,onOpenChange:o,refs:r,events:i,nodeId:s}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:u=!0,outsidePressEvent:c="pointerdown",referencePress:f=!1,referencePressEvent:p="pointerdown",ancestorScroll:h=!1,bubbles:b=!0}=t===void 0?{}:t;const v=Er(),y=fi()!=null,I=T.useRef(!1);return T.useEffect(()=>{if(!n||!a)return;function E(S){if(S.key==="Escape"){if(!b&&v&&Ar(v.nodesRef.current,s).length>0)return;i.emit("dismiss",{preventScroll:!1}),o(!1)}}function w(S){const O=I.current;if(I.current=!1,O)return;const R=Lu(S);if(ht(R)&&r.floating.current){var P;const Z=(P=r.floating.current.ownerDocument.defaultView)!=null?P:window,B=R.scrollWidth>R.clientWidth,N=R.scrollHeight>R.clientHeight;let D=N&&S.offsetX>R.clientWidth;if(N&&Z.getComputedStyle(R).direction==="rtl"&&(D=S.offsetX<=R.offsetWidth-R.clientWidth),D||B&&S.offsetY>R.clientHeight)return}const W=v&&Ar(v.nodesRef.current,s).some(Z=>{var B;return Nr(S,(B=Z.context)==null?void 0:B.refs.floating.current)});Nr(S,r.floating.current)||Nr(S,r.domReference.current)||W||!b&&v&&Ar(v.nodesRef.current,s).length>0||(i.emit("dismiss",y?{preventScroll:!0}:!1),o(!1))}function C(){o(!1)}const x=lt(r.floating.current);l&&x.addEventListener("keydown",E),u&&x.addEventListener(c,w);let A=[];return h&&(ht(r.domReference.current)&&(A=st(r.domReference.current)),ht(r.floating.current)&&(A=A.concat(st(r.floating.current))),!ht(r.reference.current)&&r.reference.current&&r.reference.current.contextElement&&(A=A.concat(st(r.reference.current.contextElement)))),A=A.filter(S=>{var O;return S!==((O=x.defaultView)==null?void 0:O.visualViewport)}),A.forEach(S=>{S.addEventListener("scroll",C,{passive:!0})}),()=>{l&&x.removeEventListener("keydown",E),u&&x.removeEventListener(c,w),A.forEach(S=>{S.removeEventListener("scroll",C)})}},[l,u,c,i,v,s,n,o,h,a,b,r,y]),T.useEffect(()=>{I.current=!1},[u,c]),T.useMemo(()=>a?{reference:{[Zu[p]]:()=>{f&&(i.emit("dismiss"),o(!1))}},floating:{[Hu[c]]:()=>{I.current=!0}}}:{},[a,i,f,c,p,o])},ju=function(e,t){let{open:n,onOpenChange:o,dataRef:r,refs:i,events:s}=e,{enabled:a=!0,keyboardOnly:l=!0}=t===void 0?{}:t;const u=T.useRef(""),c=T.useRef(!1),f=T.useRef();return T.useEffect(()=>{var p;if(!a)return;const b=(p=lt(i.floating.current).defaultView)!=null?p:window;function v(){!n&&Vu(i.domReference.current)&&i.domReference.current.blur()}return b.addEventListener("blur",v),()=>{b.removeEventListener("blur",v)}},[i,n,a]),T.useEffect(()=>{if(!a)return;function p(){c.current=!0}return s.on("dismiss",p),()=>{s.off("dismiss",p)}},[s,a]),T.useEffect(()=>()=>{clearTimeout(f.current)},[]),T.useMemo(()=>a?{reference:{onPointerDown(p){let{pointerType:h}=p;u.current=h,c.current=!!(h&&l)},onPointerLeave(){c.current=!1},onFocus(p){var h,b,v;c.current||p.type==="focus"&&((h=r.current.openEvent)==null?void 0:h.type)==="mousedown"&&(b=i.domReference.current)!=null&&b.contains((v=r.current.openEvent)==null?void 0:v.target)||(r.current.openEvent=p.nativeEvent,o(!0))},onBlur(p){const h=p.relatedTarget;f.current=setTimeout(()=>{var b,v;(b=i.floating.current)!=null&&b.contains(h)||(v=i.domReference.current)!=null&&v.contains(h)||(c.current=!1,o(!1))})}}}:{},[a,l,i,r,o])},Yu=T.forwardRef((e,t)=>{var a,l;const{state:n,children:o,...r}=e,i=T.useMemo(()=>un([n.floating,t]),[n.floating,t]),s=()=>{const u={top:"bottom",right:"left",bottom:"top",left:"right"}[n.placement.split("-")[0]],{arrow:c}=n.middlewareData;return d("div",{ref:n.arrowRef,style:{position:"absolute",width:"10px",height:"10px",background:"white",left:(c==null?void 0:c.x)!=null?`${c==null?void 0:c.x}px`:"",top:(c==null?void 0:c.y)!=null?`${c==null?void 0:c.y}px`:"",[u]:"-2px",transform:"rotate(45deg)"}})};return d(Du,{children:n.open&&V("div",{ref:i,style:{position:n.strategy,top:(a=n.y)!=null?a:0,left:(l=n.x)!=null?l:0,visibility:n.x==null?"hidden":"visible",...r.style},...n.getFloatingProps(r),children:[o,s()]})})}),_u=T.forwardRef((e,t)=>{const{children:n,state:o,asChild:r=!1,...i}=e,s=n.ref,a=T.useMemo(()=>un([o.reference,t,s]),[o.reference,t,s]);return r&&T.isValidElement(n)?T.cloneElement(n,o.getReferenceProps({ref:a,...i,...n.props})):d("button",{ref:a,...o.getReferenceProps(i),children:n})});function Ju(e){const{initialOpen:t=!1,placement:n}=e,o=g.useRef(null),[r,i]=g.useState(t),s=[su(8),iu({padding:5}),uu({padding:5}),Su({element:o,padding:5})],l=Bu({placement:n,open:r,onOpenChange:i,whileElementsMounted:li,middleware:s}),u=l.context,c=Wu(u,{move:!1}),f=ju(u),p=zu(u),h=Xu(u,{role:"tooltip"}),b=Ru([c,f,p,h]);return g.useMemo(()=>({open:r,setOpen:i,arrowRef:o,...b,...l}),[r,i,b,l,o])}function hi({placement:e="bottom",title:t,description:n,initialOpen:o=!1,children:r}){const i=Ju({initialOpen:o,placement:e});return V(pe,{children:[d(_u,{state:i,children:r}),V(Yu,{state:i,className:"w-max max-w-[368px] rounded-[5px] bg-surface-default py-[12px] px-[16px] drop-shadow-[0px_2px_10px_rgba(0,0,0,0.1)]",children:[d($,{variant:"highlight",color:"default",className:"mb-1",children:t}),d($,{variant:"body",color:"subdued",children:n})]})]})}const p1="",Ci=g.forwardRef((e,t)=>{const{id:n,name:o,isDisabled:r,value:i,label:s,helpText:a,onChange:l,checked:u}=e,c=({target:{value:h,checked:b}})=>{l==null||l({checked:b,value:h})},f=()=>r?"border-border-disabled checked:text-action-primary-disabled":"border-border-default checked:border-action-primary-default checked:bg-white hover:border-border-hovered checked:hover:border-action-primary-default checked:hover:bg-white checked:focus:border-action-primary-default checked:focus:bg-white checked:focus:ring-focused-default",p=g.useMemo(()=>un([t]),[t]);return d(pe,{children:V("div",{className:"flex gap-x-2",children:[d("input",{type:"radio",ref:p,id:n,name:o,disabled:r,onChange:c,checked:u,value:i,className:M("border-2",f())}),s&&V("div",{className:"flex flex-col items-start justify-center",children:[d($,{as:"label",variant:"body",className:"break-words",htmlFor:n,color:r?"disabled":"default",children:s}),a&&d($,{variant:"body",className:"mt-1",htmlFor:n,color:r?"disabled":"subdued",children:a})]})]})})});function $u({track:e,isDisabled:t=!1,isSelected:n=!1,title:o,...r}){const[i,s]=g.useState(!1),a=()=>n?"bg-interactive-default":t?"bg-icon-disabled":"bg-icon-subdued",l=()=>n||i&&!t?"default":t?"disabled":"subdued";return V("div",{onMouseOver:()=>s(!0),onMouseOut:()=>s(!1),className:M("flex min-w-[54px] flex-col items-center justify-center",!t&&"cursor-pointer hover:text-letter-default"),...r,children:[d("span",{className:M("relative inline-block h-6 w-6 rounded-md",a()),children:d("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:d($,{variant:"highlight",color:"on",className:"select-none",children:e})})}),d($,{variant:"button",color:l(),className:M("select-none",!t&&"hover:text-letter-default active:text-letter-default mt-1"),children:o})]})}function hn({kind:e,className:t}){return d("img",{src:`./logos/${e}.svg`,className:t})}const g1="",Uu=g.forwardRef((e,t)=>{const{id:n,name:o,isDisabled:r,value:i="",label:s,helpText:a,onChange:l,isError:u,checked:c,size:f="sm"}=e;return d(pe,{children:V("div",{className:"flex gap-x-2",children:[d("input",{id:n,type:"checkbox",name:o,ref:t,disabled:r,onChange:({target:{value:b,checked:v}})=>{l==null||l({checked:v,value:b})},value:i,checked:c,className:M((()=>r?"border-border-disabled checked:text-action-primary-disabled bg-action-secondary-default disabled:bg-action-secondary-disabled checked:hover:bg-action-secondary-disabled":u?"checked:bg-action-critical-default checked:text-letter-critical active:bg-action-critical-default border-border-critical-default checked:hover:bg-action-critical-default focus:ring-none ring-offset-0 active:ring-transparent focus:ring-transparent focus:ring-offset-0 focus:ring-critical-default":"border-border-default hover:border-border-hovered focus:ring-focused-default ring-offset-1 active:ring-1 focus:ring-1 focus:ring-offset-1")(),"rounded-[5px] bg-white border-[1.5px]",f==="sm"&&"h-[18px] w-[18px]",f==="md"&&"h-[20px] w-[20px]")}),s&&V("div",{className:"flex flex-col items-start justify-center",children:[d($,{as:"label",variant:"body",className:"break-words select-none",htmlFor:n,color:r?"disabled":"default",children:s}),a&&d($,{variant:"body",className:"mt-1",htmlFor:n,color:r?"disabled":"subdued",children:a})]})]})})});function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yi(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Qu(e){if(Array.isArray(e))return e}function Ku(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,i=!1,s,a;try{for(n=n.call(e);!(r=(s=n.next()).done)&&(o.push(s.value),!(t&&o.length===t));r=!0);}catch(l){i=!0,a=l}finally{try{!r&&n.return!=null&&n.return()}finally{if(i)throw a}}return o}}function Fr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ii(e,t){if(!!e){if(typeof e=="string")return Fr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fr(e,t)}}function qu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
36
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(e,t){return Qu(e)||Ku(e,t)||Ii(e,t)||qu()}function ec(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function vt(e,t){if(e==null)return{};var n=ec(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,o)||(n[o]=e[o]))}return n}var tc=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function xi(e){var t=e.defaultInputValue,n=t===void 0?"":t,o=e.defaultMenuIsOpen,r=o===void 0?!1:o,i=e.defaultValue,s=i===void 0?null:i,a=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,h=e.value,b=vt(e,tc),v=g.useState(a!==void 0?a:n),y=xe(v,2),I=y[0],E=y[1],w=g.useState(l!==void 0?l:r),C=xe(w,2),x=C[0],A=C[1],S=g.useState(h!==void 0?h:s),O=xe(S,2),R=O[0],P=O[1],W=g.useCallback(function(X,U){typeof u=="function"&&u(X,U),P(X)},[u]),Z=g.useCallback(function(X,U){var de;typeof c=="function"&&(de=c(X,U)),E(de!==void 0?de:X)},[c]),B=g.useCallback(function(){typeof p=="function"&&p(),A(!0)},[p]),N=g.useCallback(function(){typeof f=="function"&&f(),A(!1)},[f]),D=a!==void 0?a:I,L=l!==void 0?l:x,Y=h!==void 0?h:R;return ie(ie({},b),{},{inputValue:D,menuIsOpen:L,onChange:W,onInputChange:Z,onMenuClose:N,onMenuOpen:B,value:Y})}function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ae.apply(this,arguments)}function nc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ei(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rc(e,t,n){return t&&Ei(e.prototype,t),n&&Ei(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pr(e,t){return Pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Pr(e,t)}function oc(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&&Pr(e,t)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(e)}function ic(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Cn(e){return Cn=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},Cn(e)}function ac(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sc(e,t){if(t&&(Cn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ac(e)}function lc(e){var t=ic();return function(){var o=vn(e),r;if(t){var i=vn(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return sc(this,r)}}function uc(e){if(Array.isArray(e))return Fr(e)}function cc(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
35
+ `));return g.cloneElement(u,Object.assign({},wo(u.props,on(Un(a,["ref"]))),c,l,ws(u.ref,l.ref)))}return g.createElement(r,Object.assign({},Un(a,["ref"]),r!==g.Fragment&&l,r!==g.Fragment&&c),u)}function ws(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function wo(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let r in o)r.startsWith("on")&&typeof o[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(o[r])):t[r]=o[r];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](r,...i){let s=n[o];for(let a of s){if((r instanceof Event||(r==null?void 0:r.nativeEvent)instanceof Event)&&r.defaultPrevented)return;a(r,...i)}}});return t}function fe(e){var t;return Object.assign(g.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function on(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Un(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function Dt(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let o=(t==null?void 0:t.getAttribute("disabled"))==="";return o&&As(n)?!1:o}function As(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function Ao(e={},t=null,n=[]){for(let[o,r]of Object.entries(e))No(n,So(t,o),r);return n}function So(e,t){return e?e+"["+t+"]":t}function No(e,t,n){if(Array.isArray(n))for(let[o,r]of n.entries())No(e,So(t,o.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Ao(n,t,e)}function Fo(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let o of n.elements)if(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image"){o.click();return}}}let Ss="div";var gt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(gt||{});let mt=fe(function(e,t){let{features:n=1,...o}=e,r={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return ce({ourProps:r,theirProps:o,slot:{},defaultTag:Ss,name:"Hidden"})}),Qn=g.createContext(null);Qn.displayName="OpenClosedContext";var It=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(It||{});function Po(){return g.useContext(Qn)}function Ns({value:e,children:t}){return oe.default.createElement(Qn.Provider,{value:e},t)}var ue=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ue||{});function Go(e,t,n){let[o,r]=g.useState(n),i=e!==void 0,s=g.useRef(i),a=g.useRef(!1),l=g.useRef(!1);return i&&!s.current&&!a.current?(a.current=!0,s.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!i&&s.current&&!l.current&&(l.current=!0,s.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[i?e:o,K(u=>(i||r(u),t==null?void 0:t(u)))]}function To(e,t){let n=g.useRef([]),o=K(e);g.useEffect(()=>{let r=[...n.current];for(let[i,s]of t.entries())if(n.current[i]!==s){let a=o(t,r);return n.current=t,a}},[o,...t])}function Fs(e,t,n){let o=dt(t);g.useEffect(()=>{function r(i){o.current(i)}return window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)},[e,n])}var Kn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Kn||{});function Ps(){let e=g.useRef(0);return Fs("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Vo(){let e=g.useRef(!1);return Ae(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function an(...e){return g.useMemo(()=>ft(...e),[...e])}function qn(e,t,n,o){let r=dt(n);g.useEffect(()=>{e=e!=null?e:window;function i(s){r.current(s)}return e.addEventListener(t,i,o),()=>e.removeEventListener(t,i,o)},[e,t,o])}let Gs="div";var Oo=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Oo||{});let Lt=Object.assign(fe(function(e,t){let n=g.useRef(null),o=ge(n,t),{initialFocus:r,containers:i,features:s=30,...a}=e;tn()||(s=1);let l=an(n);Ts({ownerDocument:l},Boolean(s&16));let u=Vs({ownerDocument:l,container:n,initialFocus:r},Boolean(s&2));Os({ownerDocument:l,container:n,containers:i,previousActiveElement:u},Boolean(s&8));let c=Ps(),f=K(()=>{let h=n.current;!h||Oe(c.current,{[Kn.Forwards]:()=>We(h,Ie.First),[Kn.Backwards]:()=>We(h,Ie.Last)})}),p={ref:o};return oe.default.createElement(oe.default.Fragment,null,Boolean(s&4)&&d(mt,{as:"button",type:"button",onFocus:f,features:gt.Focusable}),ce({ourProps:p,theirProps:a,defaultTag:Gs,name:"FocusTrap"}),Boolean(s&4)&&d(mt,{as:"button",type:"button",onFocus:f,features:gt.Focusable}))}),{features:Oo});function Ts({ownerDocument:e},t){let n=g.useRef(null);qn(e==null?void 0:e.defaultView,"focusout",r=>{!t||n.current||(n.current=r.target)},!0),To(()=>{t||((e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&yt(n.current),n.current=null)},[t]);let o=g.useRef(!1);g.useEffect(()=>(o.current=!1,()=>{o.current=!0,Mt(()=>{!o.current||(yt(n.current),n.current=null)})}),[])}function Vs({ownerDocument:e,container:t,initialFocus:n},o){let r=g.useRef(null),i=Vo();return To(()=>{if(!o)return;let s=t.current;!s||Mt(()=>{if(!i.current)return;let a=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===a){r.current=a;return}}else if(s.contains(a)){r.current=a;return}n!=null&&n.current?yt(n.current):We(s,Ie.First)===rt.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),r.current=e==null?void 0:e.activeElement})},[o]),r}function Os({ownerDocument:e,container:t,containers:n,previousActiveElement:o},r){let i=Vo();qn(e==null?void 0:e.defaultView,"focus",s=>{if(!r||!i.current)return;let a=new Set(n==null?void 0:n.current);a.add(t);let l=o.current;if(!l)return;let u=s.target;u&&u instanceof HTMLElement?Rs(a,u)?(o.current=u,yt(u)):(s.preventDefault(),s.stopPropagation(),yt(l)):yt(o.current)},!0)}function Rs(e,t){var n;for(let o of e)if((n=o.current)!=null&&n.contains(t))return!0;return!1}let xt=new Set,ot=new Map;function Ro(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Bo(e){let t=ot.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function Bs(e,t=!0){Ae(()=>{if(!t||!e.current)return;let n=e.current,o=ft(n);if(o){xt.add(n);for(let r of ot.keys())r.contains(n)&&(Bo(r),ot.delete(r));return o.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement){for(let i of xt)if(r.contains(i))return;xt.size===1&&(ot.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Ro(r))}}),()=>{if(xt.delete(n),xt.size>0)o.querySelectorAll("body > *").forEach(r=>{if(r instanceof HTMLElement&&!ot.has(r)){for(let i of xt)if(r.contains(i))return;ot.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),Ro(r)}});else for(let r of ot.keys())Bo(r),ot.delete(r)}}},[t])}let Mo=g.createContext(!1);function Ms(){return g.useContext(Mo)}function er(e){return oe.default.createElement(Mo.Provider,{value:e.force},e.children)}function Ds(e){let t=Ms(),n=g.useContext(Do),o=an(e),[r,i]=g.useState(()=>{if(!t&&n!==null||en)return null;let s=o==null?void 0:o.getElementById("headlessui-portal-root");if(s)return s;if(o===null)return null;let a=o.createElement("div");return a.setAttribute("id","headlessui-portal-root"),o.body.appendChild(a)});return g.useEffect(()=>{r!==null&&(o!=null&&o.body.contains(r)||o==null||o.body.appendChild(r))},[r,o]),g.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),r}let Ls=g.Fragment,ks=fe(function(e,t){let n=e,o=g.useRef(null),r=ge(Eo(c=>{o.current=c}),t),i=an(o),s=Ds(o),[a]=g.useState(()=>{var c;return en?null:(c=i==null?void 0:i.createElement("div"))!=null?c:null}),l=tn(),u=g.useRef(!1);return Ae(()=>{if(u.current=!1,!(!s||!a))return s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a)),()=>{u.current=!0,Mt(()=>{var c;!u.current||!s||!a||(s.removeChild(a),s.childNodes.length<=0&&((c=s.parentElement)==null||c.removeChild(s)))})}},[s,a]),l?!s||!a?null:Ot.createPortal(ce({ourProps:{ref:r},theirProps:n,defaultTag:Ls,name:"Portal"}),a):null}),Ws=g.Fragment,Do=g.createContext(null),Xs=fe(function(e,t){let{target:n,...o}=e,r={ref:ge(t)};return d(Do.Provider,{value:n,children:ce({ourProps:r,theirProps:o,defaultTag:Ws,name:"Popover.Group"})})}),tr=Object.assign(ks,{Group:Xs}),Lo=g.createContext(null);function ko(){let e=g.useContext(Lo);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,ko),t}return e}function sn(){let[e,t]=g.useState([]);return[e.length>0?e.join(" "):void 0,g.useMemo(()=>function(n){let o=K(i=>(t(s=>[...s,i]),()=>t(s=>{let a=s.slice(),l=a.indexOf(i);return l!==-1&&a.splice(l,1),a}))),r=g.useMemo(()=>({register:o,slot:n.slot,name:n.name,props:n.props}),[o,n.slot,n.name,n.props]);return oe.default.createElement(Lo.Provider,{value:r},n.children)},[t])]}let Zs="p",nr=fe(function(e,t){let n=ko(),o=`headlessui-description-${Ve()}`,r=ge(t);Ae(()=>n.register(o),[o,n.register]);let i=e,s={ref:r,...n.props,id:o};return ce({ourProps:s,theirProps:i,slot:n.slot||{},defaultTag:Zs,name:n.name||"Description"})}),rr=g.createContext(()=>{});rr.displayName="StackContext";var or=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(or||{});function Hs(){return g.useContext(rr)}function zs({children:e,onUpdate:t,type:n,element:o,enabled:r}){let i=Hs(),s=K((...a)=>{t==null||t(...a),i(...a)});return Ae(()=>{let a=r===void 0||r===!0;return a&&s(0,n,o),()=>{a&&s(1,n,o)}},[s,n,o,r]),oe.default.createElement(rr.Provider,{value:s},e)}function js(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var Ys=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ys||{}),_s=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(_s||{});let Js={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ln=g.createContext(null);ln.displayName="DialogContext";function kt(e){let t=g.useContext(ln);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,kt),n}return t}function $s(e,t){g.useEffect(()=>{var n;if(!t||!e)return;let o=gs();function r(a,l,u){let c=a.style.getPropertyValue(l);return Object.assign(a.style,{[l]:u}),o.add(()=>{Object.assign(a.style,{[l]:c})})}let i=e.documentElement,s=((n=e.defaultView)!=null?n:window).innerWidth-i.clientWidth;if(r(i,"overflow","hidden"),s>0){let a=i.clientWidth-i.offsetWidth,l=s-a;r(i,"paddingRight",`${l}px`)}if(js()){let a=window.pageYOffset;r(i,"position","fixed"),r(i,"marginTop",`-${a}px`),r(i,"width","100%"),o.add(()=>window.scrollTo(0,a))}return o.dispose},[e,t])}function Us(e,t){return Oe(t.type,Js,e,t)}let Qs="div",Ks=pt.RenderStrategy|pt.Static,qs=fe(function(e,t){let{open:n,onClose:o,initialFocus:r,__demoMode:i=!1,...s}=e,[a,l]=g.useState(0),u=Po();n===void 0&&u!==null&&(n=Oe(u,{[It.Open]:!0,[It.Closed]:!1}));let c=g.useRef(new Set),f=g.useRef(null),p=ge(f,t),h=g.useRef(null),m=an(f),v=e.hasOwnProperty("open")||u!==null,C=e.hasOwnProperty("onClose");if(!v&&!C)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!v)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!C)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof n!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let x=n?0:1,[E,w]=g.useReducer(Us,{titleId:null,descriptionId:null,panelRef:g.createRef()}),y=K(()=>o(!1)),I=K(L=>w({type:0,id:L})),A=tn()?i?!1:x===0:!1,S=a>1,O=g.useContext(ln)!==null,M=S?"parent":"leaf";Bs(f,S?A:!1),Is(()=>{var L,Y;return[...Array.from((L=m==null?void 0:m.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?L:[]).filter(X=>!(!(X instanceof HTMLElement)||X.contains(h.current)||E.panelRef.current&&X.contains(E.panelRef.current))),(Y=E.panelRef.current)!=null?Y:f.current]},y,A&&!S),qn(m==null?void 0:m.defaultView,"keydown",L=>{L.defaultPrevented||L.key===ue.Escape&&x===0&&(S||(L.preventDefault(),L.stopPropagation(),y()))}),$s(m,x===0&&!O),g.useEffect(()=>{if(x!==0||!f.current)return;let L=new IntersectionObserver(Y=>{for(let X of Y)X.boundingClientRect.x===0&&X.boundingClientRect.y===0&&X.boundingClientRect.width===0&&X.boundingClientRect.height===0&&y()});return L.observe(f.current),()=>L.disconnect()},[x,f,y]);let[P,W]=sn(),Z=`headlessui-dialog-${Ve()}`,R=g.useMemo(()=>[{dialogState:x,close:y,setTitleId:I},E],[x,E,y,I]),N=g.useMemo(()=>({open:x===0}),[x]),D={ref:p,id:Z,role:"dialog","aria-modal":x===0?!0:void 0,"aria-labelledby":E.titleId,"aria-describedby":P};return oe.default.createElement(zs,{type:"Dialog",enabled:x===0,element:f,onUpdate:K((L,Y,X)=>{Y==="Dialog"&&Oe(L,{[or.Add](){c.current.add(X),l($=>$+1)},[or.Remove](){c.current.add(X),l($=>$-1)}})})},d(er,{force:!0,children:d(tr,{children:d(ln.Provider,{value:R,children:d(tr.Group,{target:f,children:d(er,{force:!1,children:d(W,{slot:N,name:"Dialog.Description",children:d(Lt,{initialFocus:r,containers:c,features:A?Oe(M,{parent:Lt.features.RestoreFocus,leaf:Lt.features.All&~Lt.features.FocusLock}):Lt.features.None,children:ce({ourProps:D,theirProps:s,slot:N,defaultTag:Qs,features:Ks,visible:x===0,name:"Dialog"})})})})})})})}),d(mt,{features:gt.Hidden,ref:h}))}),el="div",tl=fe(function(e,t){let[{dialogState:n,close:o}]=kt("Dialog.Overlay"),r=ge(t),i=`headlessui-dialog-overlay-${Ve()}`,s=K(l=>{if(l.target===l.currentTarget){if(Dt(l.currentTarget))return l.preventDefault();l.preventDefault(),l.stopPropagation(),o()}}),a=g.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:r,id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,defaultTag:el,name:"Dialog.Overlay"})}),nl="div",rl=fe(function(e,t){let[{dialogState:n},o]=kt("Dialog.Backdrop"),r=ge(t),i=`headlessui-dialog-backdrop-${Ve()}`;g.useEffect(()=>{if(o.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[o.panelRef]);let s=g.useMemo(()=>({open:n===0}),[n]);return d(er,{force:!0,children:d(tr,{children:ce({ourProps:{ref:r,id:i,"aria-hidden":!0},theirProps:e,slot:s,defaultTag:nl,name:"Dialog.Backdrop"})})})}),ol="div",il=fe(function(e,t){let[{dialogState:n},o]=kt("Dialog.Panel"),r=ge(t,o.panelRef),i=`headlessui-dialog-panel-${Ve()}`,s=g.useMemo(()=>({open:n===0}),[n]),a=K(l=>{l.stopPropagation()});return ce({ourProps:{ref:r,id:i,onClick:a},theirProps:e,slot:s,defaultTag:ol,name:"Dialog.Panel"})}),al="h2",sl=fe(function(e,t){let[{dialogState:n,setTitleId:o}]=kt("Dialog.Title"),r=`headlessui-dialog-title-${Ve()}`,i=ge(t);g.useEffect(()=>(o(r),()=>o(null)),[r,o]);let s=g.useMemo(()=>({open:n===0}),[n]);return ce({ourProps:{ref:i,id:r},theirProps:e,slot:s,defaultTag:al,name:"Dialog.Title"})}),Wo=Object.assign(qs,{Backdrop:rl,Panel:il,Overlay:tl,Title:sl,Description:nr});var ll=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ll||{}),ul=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(ul||{});let cl={[0]:e=>({...e,disclosureState:Oe(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},[3](e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},ir=g.createContext(null);ir.displayName="DisclosureContext";function ar(e){let t=g.useContext(ir);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ar),n}return t}let sr=g.createContext(null);sr.displayName="DisclosureAPIContext";function Xo(e){let t=g.useContext(sr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Xo),n}return t}let lr=g.createContext(null);lr.displayName="DisclosurePanelContext";function dl(){return g.useContext(lr)}function fl(e,t){return Oe(t.type,cl,e,t)}let pl=g.Fragment,gl=fe(function(e,t){let{defaultOpen:n=!1,...o}=e,r=`headlessui-disclosure-button-${Ve()}`,i=`headlessui-disclosure-panel-${Ve()}`,s=g.useRef(null),a=ge(t,Eo(x=>{s.current=x},e.as===void 0||e.as===g.Fragment)),l=g.useRef(null),u=g.useRef(null),c=g.useReducer(fl,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:l,buttonId:r,panelId:i}),[{disclosureState:f},p]=c;g.useEffect(()=>p({type:2,buttonId:r}),[r,p]),g.useEffect(()=>p({type:3,panelId:i}),[i,p]);let h=K(x=>{p({type:1});let E=ft(s);if(!E)return;let w=(()=>x?x instanceof HTMLElement?x:x.current instanceof HTMLElement?x.current:E.getElementById(r):E.getElementById(r))();w==null||w.focus()}),m=g.useMemo(()=>({close:h}),[h]),v=g.useMemo(()=>({open:f===0,close:h}),[f,h]),C={ref:a};return oe.default.createElement(ir.Provider,{value:c},oe.default.createElement(sr.Provider,{value:m},oe.default.createElement(Ns,{value:Oe(f,{[0]:It.Open,[1]:It.Closed})},ce({ourProps:C,theirProps:o,slot:v,defaultTag:pl,name:"Disclosure"}))))}),ml="button",bl=fe(function(e,t){let[n,o]=ar("Disclosure.Button"),r=dl(),i=r===null?!1:r===n.panelId,s=g.useRef(null),a=ge(s,t,i?null:n.buttonRef),l=K(v=>{var C;if(i){if(n.disclosureState===1)return;switch(v.key){case ue.Space:case ue.Enter:v.preventDefault(),v.stopPropagation(),o({type:0}),(C=n.buttonRef.current)==null||C.focus();break}}else switch(v.key){case ue.Space:case ue.Enter:v.preventDefault(),v.stopPropagation(),o({type:0});break}}),u=K(v=>{switch(v.key){case ue.Space:v.preventDefault();break}}),c=K(v=>{var C;Dt(v.currentTarget)||e.disabled||(i?(o({type:0}),(C=n.buttonRef.current)==null||C.focus()):o({type:0}))}),f=g.useMemo(()=>({open:n.disclosureState===0}),[n]),p=$n(e,s),h=e,m=i?{ref:a,type:p,onKeyDown:l,onClick:c}:{ref:a,id:n.buttonId,type:p,"aria-expanded":e.disabled?void 0:n.disclosureState===0,"aria-controls":n.linkedPanel?n.panelId:void 0,onKeyDown:l,onKeyUp:u,onClick:c};return ce({ourProps:m,theirProps:h,slot:f,defaultTag:ml,name:"Disclosure.Button"})}),hl="div",vl=pt.RenderStrategy|pt.Static,Cl=fe(function(e,t){let[n,o]=ar("Disclosure.Panel"),{close:r}=Xo("Disclosure.Panel"),i=ge(t,n.panelRef,f=>{o({type:f?4:5})}),s=Po(),a=(()=>s!==null?s===It.Open:n.disclosureState===0)(),l=g.useMemo(()=>({open:n.disclosureState===0,close:r}),[n,r]),u=e,c={ref:i,id:n.panelId};return d(lr.Provider,{value:n.panelId,children:ce({ourProps:c,theirProps:u,slot:l,defaultTag:hl,features:vl,visible:a,name:"Disclosure.Panel"})})}),ur=Object.assign(gl,{Button:bl,Panel:Cl});function yl(e=0){let[t,n]=g.useState(e),o=g.useCallback(a=>n(l=>l|a),[t]),r=g.useCallback(a=>Boolean(t&a),[t]),i=g.useCallback(a=>n(l=>l&~a),[n]),s=g.useCallback(a=>n(l=>l^a),[n]);return{addFlag:o,hasFlag:r,removeFlag:i,toggleFlag:s}}let Zo=g.createContext(null);function Ho(){let e=g.useContext(Zo);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Ho),t}return e}function cr(){let[e,t]=g.useState([]);return[e.length>0?e.join(" "):void 0,g.useMemo(()=>function(n){let o=K(i=>(t(s=>[...s,i]),()=>t(s=>{let a=s.slice(),l=a.indexOf(i);return l!==-1&&a.splice(l,1),a}))),r=g.useMemo(()=>({register:o,slot:n.slot,name:n.name,props:n.props}),[o,n.slot,n.name,n.props]);return oe.default.createElement(Zo.Provider,{value:r},n.children)},[t])]}let Il="label",zo=fe(function(e,t){let{passive:n=!1,...o}=e,r=Ho(),i=`headlessui-label-${Ve()}`,s=ge(t);Ae(()=>r.register(i),[i,r.register]);let a={ref:s,...r.props,id:i};return n&&("onClick"in a&&delete a.onClick,"onClick"in o&&delete o.onClick),ce({ourProps:a,theirProps:o,slot:r.slot||{},defaultTag:Il,name:r.name||"Label"})});var xl=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(xl||{});let El={[0](e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:nn(n,o=>o.element.current)}},[1](e,t){let n=e.options.slice(),o=e.options.findIndex(r=>r.id===t.id);return o===-1?e:(n.splice(o,1),{...e,options:n})}},dr=g.createContext(null);dr.displayName="RadioGroupContext";function jo(e){let t=g.useContext(dr);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,jo),n}return t}function wl(e,t){return Oe(t.type,El,e,t)}let Al="div",Sl=fe(function(e,t){let{value:n,defaultValue:o,name:r,onChange:i,by:s=(N,D)=>N===D,disabled:a=!1,...l}=e,u=K(typeof s=="string"?(N,D)=>{let L=s;return(N==null?void 0:N[L])===(D==null?void 0:D[L])}:s),[c,f]=g.useReducer(wl,{options:[]}),p=c.options,[h,m]=cr(),[v,C]=sn(),x=`headlessui-radiogroup-${Ve()}`,E=g.useRef(null),w=ge(E,t),[y,I]=Go(n,i,o),A=g.useMemo(()=>p.find(N=>!N.propsRef.current.disabled),[p]),S=g.useMemo(()=>p.some(N=>u(N.propsRef.current.value,y)),[p,y]),O=K(N=>{var D;if(a||u(N,y))return!1;let L=(D=p.find(Y=>u(Y.propsRef.current.value,N)))==null?void 0:D.propsRef.current;return L!=null&&L.disabled?!1:(I==null||I(N),!0)});xs({container:E.current,accept(N){return N.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:N.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(N){N.setAttribute("role","none")}});let M=K(N=>{let D=E.current;if(!D)return;let L=ft(D),Y=p.filter(X=>X.propsRef.current.disabled===!1).map(X=>X.element.current);switch(N.key){case ue.Enter:Fo(N.currentTarget);break;case ue.ArrowLeft:case ue.ArrowUp:if(N.preventDefault(),N.stopPropagation(),We(Y,Ie.Previous|Ie.WrapAround)===rt.Success){let X=p.find($=>$.element.current===(L==null?void 0:L.activeElement));X&&O(X.propsRef.current.value)}break;case ue.ArrowRight:case ue.ArrowDown:if(N.preventDefault(),N.stopPropagation(),We(Y,Ie.Next|Ie.WrapAround)===rt.Success){let X=p.find($=>$.element.current===(L==null?void 0:L.activeElement));X&&O(X.propsRef.current.value)}break;case ue.Space:{N.preventDefault(),N.stopPropagation();let X=p.find($=>$.element.current===(L==null?void 0:L.activeElement));X&&O(X.propsRef.current.value)}break}}),P=K(N=>(f({type:0,...N}),()=>f({type:1,id:N.id}))),W=g.useMemo(()=>({registerOption:P,firstOption:A,containsCheckedOption:S,change:O,disabled:a,value:y,compare:u}),[P,A,S,O,a,y,u]),Z={ref:w,id:x,role:"radiogroup","aria-labelledby":h,"aria-describedby":v,onKeyDown:M},R=g.useMemo(()=>({value:y}),[y]);return d(C,{name:"RadioGroup.Description",children:d(m,{name:"RadioGroup.Label",children:V(dr.Provider,{value:W,children:[r!=null&&y!=null&&Ao({[r]:y}).map(([N,D])=>oe.default.createElement(mt,{features:gt.Hidden,...on({key:N,as:"input",type:"radio",checked:D!=null,hidden:!0,readOnly:!0,name:N,value:D})})),ce({ourProps:Z,theirProps:l,slot:R,defaultTag:Al,name:"RadioGroup"})]})})})});var Nl=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Nl||{});let Fl="div",Pl=fe(function(e,t){let n=g.useRef(null),o=ge(n,t),r=`headlessui-radiogroup-option-${Ve()}`,[i,s]=cr(),[a,l]=sn(),{addFlag:u,removeFlag:c,hasFlag:f}=yl(1),{value:p,disabled:h=!1,...m}=e,v=g.useRef({value:p,disabled:h});Ae(()=>{v.current.value=p},[p,v]),Ae(()=>{v.current.disabled=h},[h,v]);let{registerOption:C,disabled:x,change:E,firstOption:w,containsCheckedOption:y,value:I,compare:A}=jo("RadioGroup.Option");Ae(()=>C({id:r,element:n,propsRef:v}),[r,C,n,e]);let S=K(D=>{var L;if(Dt(D.currentTarget))return D.preventDefault();!E(p)||(u(2),(L=n.current)==null||L.focus())}),O=K(D=>{if(Dt(D.currentTarget))return D.preventDefault();u(2)}),M=K(()=>c(2)),P=(w==null?void 0:w.id)===r,W=x||h,Z=A(I,p),R={ref:o,id:r,role:"radio","aria-checked":Z?"true":"false","aria-labelledby":i,"aria-describedby":a,"aria-disabled":W?!0:void 0,tabIndex:(()=>W?-1:Z||!y&&P?0:-1)(),onClick:W?void 0:S,onFocus:W?void 0:O,onBlur:W?void 0:M},N=g.useMemo(()=>({checked:Z,disabled:W,active:f(2)}),[Z,W,f]);return d(l,{name:"RadioGroup.Description",children:d(s,{name:"RadioGroup.Label",children:ce({ourProps:R,theirProps:m,slot:N,defaultTag:Fl,name:"RadioGroup.Option"})})})}),Yo=Object.assign(Sl,{Option:Pl,Label:zo,Description:nr}),fr=g.createContext(null);fr.displayName="GroupContext";let Gl=g.Fragment;function Tl(e){let[t,n]=g.useState(null),[o,r]=cr(),[i,s]=sn(),a=g.useMemo(()=>({switch:t,setSwitch:n,labelledby:o,describedby:i}),[t,n,o,i]),l={},u=e;return oe.default.createElement(s,{name:"Switch.Description"},oe.default.createElement(r,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},oe.default.createElement(fr.Provider,{value:a},ce({ourProps:l,theirProps:u,defaultTag:Gl,name:"Switch.Group"}))))}let Vl="button",Ol=fe(function(e,t){let{checked:n,defaultChecked:o=!1,onChange:r,name:i,value:s,...a}=e,l=`headlessui-switch-${Ve()}`,u=g.useContext(fr),c=g.useRef(null),f=ge(c,t,u===null?null:u.setSwitch),[p,h]=Go(n,r,o),m=K(()=>h==null?void 0:h(!p)),v=K(y=>{if(Dt(y.currentTarget))return y.preventDefault();y.preventDefault(),m()}),C=K(y=>{y.key===ue.Space?(y.preventDefault(),m()):y.key===ue.Enter&&Fo(y.currentTarget)}),x=K(y=>y.preventDefault()),E=g.useMemo(()=>({checked:p}),[p]),w={id:l,ref:f,role:"switch",type:$n(e,c),tabIndex:0,"aria-checked":p,"aria-labelledby":u==null?void 0:u.labelledby,"aria-describedby":u==null?void 0:u.describedby,onClick:v,onKeyUp:C,onKeyPress:x};return oe.default.createElement(oe.default.Fragment,null,i!=null&&p&&oe.default.createElement(mt,{features:gt.Hidden,...on({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:p,name:i,value:s})}),ce({ourProps:w,theirProps:a,slot:E,defaultTag:Vl,name:"Switch"}))}),Rl=Object.assign(Ol,{Group:Tl,Label:zo,Description:nr});function Bl({onFocus:e}){let[t,n]=g.useState(!0);return t?oe.default.createElement(mt,{as:"button",type:"button",features:gt.Focusable,onFocus:o=>{o.preventDefault();let r,i=50;function s(){if(i--<=0){r&&cancelAnimationFrame(r);return}if(e()){n(!1),cancelAnimationFrame(r);return}r=requestAnimationFrame(s)}r=requestAnimationFrame(s)}}):null}var Ml=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Ml||{});let Dl={[0](e,t){let n=e.tabs.filter(i=>{var s;return!((s=i.current)!=null&&s.hasAttribute("disabled"))});if(t.index<0)return{...e,selectedIndex:e.tabs.indexOf(n[0])};if(t.index>e.tabs.length)return{...e,selectedIndex:e.tabs.indexOf(n[n.length-1])};let o=e.tabs.slice(0,t.index),r=[...e.tabs.slice(t.index),...o].find(i=>n.includes(i));return r?{...e,selectedIndex:e.tabs.indexOf(r)}:e},[1](e,t){var n;if(e.tabs.includes(t.tab))return e;let o=e.tabs[e.selectedIndex],r=nn([...e.tabs,t.tab],s=>s.current),i=(n=r.indexOf(o))!=null?n:e.selectedIndex;return i===-1&&(i=e.selectedIndex),{...e,tabs:r,selectedIndex:i}},[2](e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},[3](e,t){return e.panels.includes(t.panel)?e:{...e,panels:nn([...e.panels,t.panel],n=>n.current)}},[4](e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},pr=g.createContext(null);pr.displayName="TabsSSRContext";function gr(e){let t=g.useContext(pr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,gr),n}return t}let mr=g.createContext(null);mr.displayName="TabsDataContext";function Et(e){let t=g.useContext(mr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Et),n}return t}let br=g.createContext(null);br.displayName="TabsActionsContext";function hr(e){let t=g.useContext(br);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,hr),n}return t}function Ll(e,t){return Oe(t.type,Dl,e,t)}let kl=g.Fragment,Wl=fe(function(e,t){let{defaultIndex:n=0,vertical:o=!1,manual:r=!1,onChange:i,selectedIndex:s=null,...a}=e;const l=o?"vertical":"horizontal",u=r?"manual":"auto";let c=s!==null,f=ge(t),[p,h]=g.useReducer(Ll,{selectedIndex:s!=null?s:n,tabs:[],panels:[]}),m=g.useMemo(()=>({selectedIndex:p.selectedIndex}),[p.selectedIndex]),v=dt(i||(()=>{})),C=dt(p.tabs),x=g.useMemo(()=>({orientation:l,activation:u,...p}),[l,u,p]),E=dt(c?e.selectedIndex:p.selectedIndex),w=g.useMemo(()=>({registerTab(A){return h({type:1,tab:A}),()=>h({type:2,tab:A})},registerPanel(A){return h({type:3,panel:A}),()=>h({type:4,panel:A})},change(A){E.current!==A&&v.current(A),c||h({type:0,index:A})}}),[h,c]);Ae(()=>{h({type:0,index:s!=null?s:n})},[s]);let y=g.useRef({tabs:[],panels:[]}),I={ref:f};return oe.default.createElement(pr.Provider,{value:y},oe.default.createElement(br.Provider,{value:w},oe.default.createElement(mr.Provider,{value:x},x.tabs.length<=0&&oe.default.createElement(Bl,{onFocus:()=>{var A,S;for(let O of C.current)if(((A=O.current)==null?void 0:A.tabIndex)===0)return(S=O.current)==null||S.focus(),!0;return!1}}),ce({ourProps:I,theirProps:a,slot:m,defaultTag:kl,name:"Tabs"}))))}),Xl="div",Zl=fe(function(e,t){let{orientation:n,selectedIndex:o}=Et("Tab.List"),r=ge(t);return ce({ourProps:{ref:r,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:o},defaultTag:Xl,name:"Tabs.List"})}),Hl="button",zl=fe(function(e,t){var n,o;let r=`headlessui-tabs-tab-${Ve()}`,{orientation:i,activation:s,selectedIndex:a,tabs:l,panels:u}=Et("Tab"),c=hr("Tab"),f=Et("Tab"),p=gr("Tab"),h=g.useRef(null),m=ge(h,t);Ae(()=>c.registerTab(h),[c,h]);let v=p.current.tabs.indexOf(r);v===-1&&(v=p.current.tabs.push(r)-1);let C=l.indexOf(h);C===-1&&(C=v);let x=C===a,E=K(P=>{var W;let Z=P();if(Z===rt.Success&&s==="auto"){let R=(W=ft(h))==null?void 0:W.activeElement,N=f.tabs.findIndex(D=>D.current===R);N!==-1&&c.change(N)}return Z}),w=K(P=>{let W=l.map(Z=>Z.current).filter(Boolean);if(P.key===ue.Space||P.key===ue.Enter){P.preventDefault(),P.stopPropagation(),c.change(C);return}switch(P.key){case ue.Home:case ue.PageUp:return P.preventDefault(),P.stopPropagation(),E(()=>We(W,Ie.First));case ue.End:case ue.PageDown:return P.preventDefault(),P.stopPropagation(),E(()=>We(W,Ie.Last))}if(E(()=>Oe(i,{vertical(){return P.key===ue.ArrowUp?We(W,Ie.Previous|Ie.WrapAround):P.key===ue.ArrowDown?We(W,Ie.Next|Ie.WrapAround):rt.Error},horizontal(){return P.key===ue.ArrowLeft?We(W,Ie.Previous|Ie.WrapAround):P.key===ue.ArrowRight?We(W,Ie.Next|Ie.WrapAround):rt.Error}}))===rt.Success)return P.preventDefault()}),y=g.useRef(!1),I=K(()=>{var P;y.current||(y.current=!0,(P=h.current)==null||P.focus(),c.change(C),Mt(()=>{y.current=!1}))}),A=K(P=>{P.preventDefault()}),S=g.useMemo(()=>({selected:x}),[x]),O=e,M={ref:m,onKeyDown:w,onMouseDown:A,onClick:I,id:r,role:"tab",type:$n(e,h),"aria-controls":(o=(n=u[C])==null?void 0:n.current)==null?void 0:o.id,"aria-selected":x,tabIndex:x?0:-1};return ce({ourProps:M,theirProps:O,slot:S,defaultTag:Hl,name:"Tabs.Tab"})}),jl="div",Yl=fe(function(e,t){let{selectedIndex:n}=Et("Tab.Panels"),o=ge(t),r=g.useMemo(()=>({selectedIndex:n}),[n]);return ce({ourProps:{ref:o},theirProps:e,slot:r,defaultTag:jl,name:"Tabs.Panels"})}),_l="div",Jl=pt.RenderStrategy|pt.Static,$l=fe(function(e,t){var n,o,r,i;let{selectedIndex:s,tabs:a,panels:l}=Et("Tab.Panel"),u=hr("Tab.Panel"),c=gr("Tab.Panel"),f=`headlessui-tabs-panel-${Ve()}`,p=g.useRef(null),h=ge(p,t);Ae(()=>u.registerPanel(p),[u,p]);let m=c.current.panels.indexOf(f);m===-1&&(m=c.current.panels.push(f)-1);let v=l.indexOf(p);v===-1&&(v=m);let C=v===s,x=g.useMemo(()=>({selected:C}),[C]),E=e,w={ref:h,id:f,role:"tabpanel","aria-labelledby":(o=(n=a[v])==null?void 0:n.current)==null?void 0:o.id,tabIndex:C?0:-1};return!C&&((r=e.unmount)!=null?r:!0)&&!((i=e.static)!=null&&i)?oe.default.createElement(mt,{as:"span",...w}):ce({ourProps:w,theirProps:E,slot:x,defaultTag:_l,features:Jl,visible:C,name:"Tabs.Panel"})}),Wt=Object.assign(zl,{Group:Wl,List:Zl,Panels:Yl,Panel:$l});function Ul({onChange:e,isSelected:t=!1,isDisabled:n,name:o="",...r}){const[i,s]=g.useState(t),a=u=>{s(u),e(u)},l=({checked:u})=>n?"bg-surface-disabled":u?"bg-action-primary-default":"bg-action-primary-disabled";return d(Rl,{name:o,checked:i,onChange:a,as:g.Fragment,...r,children:({checked:u})=>V("button",{disabled:n,className:B("relative inline-flex h-6 w-12 items-center rounded-full",l({checked:u})),children:[d("span",{className:"sr-only"}),d("span",{className:B("inline-block h-4 w-4 transform rounded-full transition",u?"translate-x-7":"translate-x-1",n?"bg-icon-disabled":"bg-icon-on")})]})})}function j({children:e,size:t="sm",className:n,cursor:o,...r}){const i=B({"w-sm w-sm":t==="sm","w-xl h-xl":t==="md","h-[60px] h-[60px]":t==="lg"});return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",className:B(i,n,o==="pointer"?"cursor-pointer":"","inline"),...r,children:e})}function he({kind:e,color:t,...n}){const o=B({"fill-icon-default":t==="default","fill-icon-success":t==="success","fill-icon-warning":t==="warning","fill-icon-disabled":t==="disabled","fill-icon-active":t==="active","fill-icon-subdued":t==="subdued","fill-icon-critical":t==="critical","fill-action-primary-default":t==="primary"}),r=B(o,!t&&"fill-current");switch(e){case"more":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M12.286 7.429H9.07V4.214a.734.734 0 00-.714-.714h-.714a.72.72 0 00-.714.714V7.43H3.714A.72.72 0 003 8.143v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V9.57h3.215A.72.72 0 0013 8.857v-.714a.734.734 0 00-.714-.714z"})});case"print":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M13.25 6.25V3.133a.89.89 0 00-.273-.63l-1.23-1.23a.89.89 0 00-.63-.273H3.625a.881.881 0 00-.875.875V6.25C1.766 6.25 1 7.043 1 8v3.063c0 .246.191.437.438.437H2.75v2.625c0 .492.383.875.875.875h8.75a.881.881 0 00.875-.875V11.5h1.313a.45.45 0 00.437-.438V8c0-.957-.793-1.75-1.75-1.75zm-1.75 7h-7v-2.625h7v2.625zm0-6.125h-7V2.75h5.25v1.313c0 .246.191.437.438.437H11.5v2.625zm1.313 1.969a.632.632 0 01-.657-.656c0-.356.274-.657.656-.657.356 0 .657.301.657.657 0 .382-.301.656-.656.656z"})});case"page-front":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M5.234 3.734a.8.8 0 000 1.132L9.17 8.8l-3.935 3.934a.8.8 0 001.132 1.132l4.5-4.5a.8.8 0 000-1.132l-4.5-4.5a.8.8 0 00-1.132 0z",clipRule:"evenodd"})});case"page-back":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M10.866 3.734a.8.8 0 010 1.132L6.93 8.8l3.935 3.934a.8.8 0 01-1.132 1.132l-4.5-4.5a.8.8 0 010-1.132l4.5-4.5a.8.8 0 011.132 0z",clipRule:"evenodd"})});case"thin-front":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M10.965 7.944H2.89a.89.89 0 000 1.778h8.076l-2.927 2.927a.89.89 0 001.257 1.257l4.444-4.445a.888.888 0 000-1.257L9.295 3.76a.89.89 0 00-1.257 1.257l2.927 2.927z",clipRule:"evenodd"})});case"thin-back":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M5.035 9.722h8.076a.89.89 0 000-1.778H5.035l2.927-2.927A.89.89 0 006.705 3.76L2.261 8.204a.888.888 0 000 1.257l4.444 4.445a.89.89 0 001.257-1.257L5.035 9.722z",clipRule:"evenodd"})});case"file":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M2 2c0-1.103.897-2 2-2h5v4c0 .553.447 1 1 1h4v9c0 1.103-.897 2-2 2H4c-1.103 0-2-.897-2-2V2zm12 2h-4V0l4 4z"})});case"upload":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 0C3.587 0 0 3.587 0 8s3.587 8 8 8 8-3.587 8-8-3.587-8-8-8zm1.145 7.95v4.985h-2.34V7.949H4.26l3.722-5.12 3.722 5.12h-2.56z"})});case"download":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 16c4.413 0 8-3.587 8-8s-3.587-8-8-8-8 3.587-8 8 3.587 8 8 8zM6.855 8.05V3.066h2.34v4.986h2.544l-3.722 5.12-3.722-5.12h2.56z"})});case"percentage":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M3.824 7.324a3.34 3.34 0 01-1.684-.443 3.52 3.52 0 01-1.208-1.24A3.574 3.574 0 01.5 3.911c0-.62.144-1.189.432-1.706A3.292 3.292 0 012.14.966 3.218 3.218 0 013.824.5c.604 0 1.158.155 1.662.465.518.296.92.71 1.208 1.241a3.32 3.32 0 01.453 1.706 3.44 3.44 0 01-.453 1.728c-.288.517-.69.93-1.208 1.241a3.225 3.225 0 01-1.662.443zM10.709.832h2.87L5.442 15.168h-2.87L10.709.832zM3.824 5.42a1.35 1.35 0 001.036-.443 1.47 1.47 0 00.431-1.064c0-.428-.144-.783-.431-1.063a1.35 1.35 0 00-1.036-.444c-.403 0-.748.148-1.036.444-.288.28-.432.635-.432 1.063 0 .414.144.768.432 1.064.288.295.633.443 1.036.443zM12.176 15.5a3.341 3.341 0 01-1.683-.443 3.52 3.52 0 01-1.209-1.24 3.574 3.574 0 01-.431-1.73c0-.62.143-1.188.431-1.705a3.292 3.292 0 011.209-1.24 3.218 3.218 0 011.683-.466c.605 0 1.159.155 1.662.465.518.295.921.71 1.209 1.24a3.32 3.32 0 01.453 1.707 3.44 3.44 0 01-.453 1.728c-.288.517-.69.93-1.209 1.24a3.225 3.225 0 01-1.662.444zm0-1.905a1.35 1.35 0 001.036-.444 1.47 1.47 0 00.432-1.063c0-.428-.144-.783-.432-1.064a1.35 1.35 0 00-1.036-.443c-.417 0-.77.148-1.057.443a1.47 1.47 0 00-.432 1.064c0 .414.144.768.432 1.063.287.296.64.444 1.057.444z"})});case"average-guide":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M15.2 10.4h.4c.2 0 .4.2.4.4v.8c0 .225-.2.4-.4.4h-1.2a2.4 2.4 0 01-4.8 0H6.4a2.4 2.4 0 01-4.8 0h-.4C.525 12 0 11.475 0 10.8v-8c0-.65.525-1.2 1.2-1.2h8c.65 0 1.2.55 1.2 1.2V4h1.1c.3 0 .625.15.85.375l2.475 2.475c.225.225.375.55.375.85v2.7zM2.8 12c0 .675.525 1.2 1.2 1.2A1.2 1.2 0 005.2 12c0-.65-.55-1.2-1.2-1.2A1.2 1.2 0 002.8 12zm8 0c0 .675.525 1.2 1.2 1.2a1.2 1.2 0 001.2-1.2c0-.65-.55-1.2-1.2-1.2a1.2 1.2 0 00-1.2 1.2zm-.4-4H14v-.3l-2.5-2.5h-1.1V8zm-4.54.593v.77h-.731v-.762c-.996-.136-1.469-.856-1.533-1.461l.888-.214c.043.449.344.862 1.003.862.465 0 .738-.22.738-.534 0-.243-.18-.428-.538-.506l-.659-.143c-.773-.17-1.253-.656-1.253-1.34 0-.755.587-1.311 1.354-1.432V3.07h.73v.784c.824.15 1.182.72 1.283 1.197l-.881.25c-.043-.25-.23-.663-.817-.663-.459 0-.71.264-.71.556 0 .221.158.406.495.478l.652.15c.902.199 1.31.733 1.31 1.375 0 .655-.472 1.261-1.332 1.396z",clipRule:"evenodd"})});case"average-unit":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M16 13.63V2.372c0-.415-.168-.814-.466-1.109A1.617 1.617 0 0014.405.8H9.903v5.066l-1.62-.848-1.62.848V.8H1.6a1.626 1.626 0 00-1.132.46A1.569 1.569 0 000 2.373V13.63a1.545 1.545 0 00.469 1.11 1.602 1.602 0 001.131.46h12.798c.425 0 .832-.165 1.132-.46.3-.294.47-.694.47-1.11zm-7.293-.59v.841h-.814v-.833c-1.108-.148-1.634-.934-1.706-1.596l.989-.233c.048.49.383.942 1.116.942.518 0 .821-.242.821-.584 0-.265-.2-.467-.598-.553l-.733-.155c-.861-.187-1.395-.717-1.395-1.464 0-.825.653-1.432 1.506-1.565v-.833h.814v.857c.916.163 1.315.786 1.426 1.308l-.98.272c-.048-.273-.255-.724-.909-.724-.51 0-.789.288-.789.607 0 .242.175.444.55.522l.725.163c1.005.218 1.46.802 1.46 1.503 0 .716-.527 1.377-1.483 1.525z",clipRule:"evenodd"})});case"new":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 16a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm-.75-5.25v-2h-2A.748.748 0 014.5 8c0-.416.334-.75.75-.75h2v-2c0-.416.334-.75.75-.75s.75.334.75.75v2h2c.416 0 .75.334.75.75s-.334.75-.75.75h-2v2c0 .416-.334.75-.75.75a.748.748 0 01-.75-.75z"})});case"padlock":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M13.5 7h-.75V4.75C12.75 2.156 10.594 0 8 0 5.375 0 3.25 2.156 3.25 4.75V7H2.5A1.5 1.5 0 001 8.5v6c0 .844.656 1.5 1.5 1.5h11a1.5 1.5 0 001.5-1.5v-6c0-.813-.688-1.5-1.5-1.5zm-3.25 0h-4.5V4.75c0-1.219 1-2.25 2.25-2.25 1.219 0 2.25 1.031 2.25 2.25V7z"})});case"shipments":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.992 2.601v10.134a1.601 1.601 0 01-1.6 1.599H1.598A1.599 1.599 0 010 12.734V2.602A1.6 1.6 0 011.6 1h5.06v5.159l1.618-.864 1.62.864V1h4.5a1.601 1.601 0 011.595 1.601z"})});case"joke":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M0 8c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8zm6.452-1.548a1.04 1.04 0 01-1.033 1.032c-.58 0-1.032-.452-1.032-1.032A1.04 1.04 0 015.42 5.419c.549 0 1.033.484 1.033 1.033zm5.419.806L11.548 7c-.483-.42-1.483-.42-1.967 0l-.29.258c-.291.258-.71.032-.646-.323.13-.838 1.097-1.354 1.936-1.354.806 0 1.806.516 1.935 1.354.032.355-.387.581-.645.323zM4 10.097c1 .322 2.452.484 4 .484s2.968-.162 3.968-.484a.512.512 0 01.645.58c-.29 1.775-2.678 3-4.613 3-1.968 0-4.355-1.225-4.645-3a.512.512 0 01.645-.58z"})});case"shipping":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.6 10.8h-.4V8.1c0-.3-.15-.625-.375-.85L12.35 4.775c-.225-.225-.55-.375-.85-.375h-1.1V3.2c0-.65-.55-1.2-1.2-1.2h-8A1.2 1.2 0 000 3.2v8c0 .675.525 1.2 1.2 1.2h.4a2.4 2.4 0 004.8 0h3.2a2.4 2.4 0 004.8 0h1.2c.2 0 .4-.175.4-.4v-.8c0-.2-.2-.4-.4-.4zM4 13.6c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2A1.2 1.2 0 014 13.6zm8 0c-.675 0-1.2-.525-1.2-1.2 0-.65.525-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2a1.2 1.2 0 01-1.2 1.2zm2-5.2h-3.6V5.6h1.1L14 8.1v.3z"})});case"home":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M7.792 5.217L2.69 9.432v4.52c0 .249.194.443.443.443H6.24c.222 0 .416-.194.416-.444V11.29c0-.221.222-.443.444-.443h1.774c.25 0 .444.222.444.443v2.662c0 .25.222.444.444.444h3.133a.456.456 0 00.444-.444V9.404l-5.13-4.187a.3.3 0 00-.194-.084.315.315 0 00-.222.084zm8.07 2.856L13.56 6.159V2.333A.337.337 0 0013.227 2h-1.553a.32.32 0 00-.333.333v1.996L8.846 2.277a1.426 1.426 0 00-1.692 0L.14 8.073a.33.33 0 00-.139.25c0 .083.055.166.083.221l.721.86c.056.083.139.11.25.11a.315.315 0 00.222-.082L7.792 4.08a.315.315 0 01.222-.083.3.3 0 01.194.083l6.516 5.352a.315.315 0 00.222.083c.111 0 .194-.028.25-.111l.72-.86A.315.315 0 0016 8.322a.331.331 0 00-.139-.25z"})});case"menu":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M0 2.123C0 1.502.51 1 1.143 1h13.714C15.49 1 16 1.502 16 2.123c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 2.123zm0 5.614c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123 0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 7.737zm16 5.614c0 .62-.51 1.123-1.143 1.123H1.143A1.132 1.132 0 010 13.35c0-.621.51-1.123 1.143-1.123h13.714c.632 0 1.143.502 1.143 1.123z"})});case"notifications":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8.006 16c1.094 0 1.969-.875 1.969-2h-3.97c0 1.125.876 2 2 2zm6.719-4.656c-.594-.656-1.75-1.625-1.75-4.844 0-2.406-1.688-4.344-4-4.844V1c0-.531-.438-1-.97-1-.562 0-1 .469-1 1v.656c-2.312.5-4 2.438-4 4.844 0 3.219-1.155 4.188-1.75 4.844-.187.187-.28.437-.25.656 0 .531.376 1 1 1h11.97c.625 0 1-.469 1.03-1a.952.952 0 00-.28-.656z"})});case"novelty":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.826 13.25L9.154 1.657c-.5-.862-1.807-.89-2.308 0L.174 13.25c-.5.862.139 1.974 1.167 1.974H14.66a1.323 1.323 0 001.167-1.974zm-7.812-2.418c.695 0 1.279.583 1.279 1.278 0 .723-.584 1.28-1.28 1.28a1.258 1.258 0 01-1.278-1.28c0-.695.556-1.278 1.279-1.278zM6.79 6.244c-.028-.194.139-.361.333-.361h1.752c.194 0 .361.167.333.361l-.194 3.781c-.028.195-.167.306-.334.306H7.32c-.167 0-.306-.111-.334-.306l-.194-3.78z"})});case"help":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8.194 2.645c1.838 0 3.774 1.42 3.774 3.29 0 2.517-2.678 2.549-2.678 3.452v.032a.392.392 0 01-.387.387H7.097a.373.373 0 01-.387-.387V9.29c0-1.322 1-1.838 1.742-2.258.645-.355 1.064-.613 1.064-1.097 0-.645-.839-1.064-1.484-1.064-.87 0-1.258.42-1.838 1.161a.403.403 0 01-.549.065l-1.129-.839c-.161-.129-.193-.355-.064-.548.87-1.323 2-2.065 3.742-2.065zm-.194 8a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 13.613a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 10.645z"})});case"see-more":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M4 8a2 2 0 11-4.001-.001A2 2 0 014 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0110 8zm6 0a2 2 0 11-4.001-.001A2 2 0 0116 8z",clipRule:"evenodd"})});case"info":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 0C3.58 0 0 3.613 0 8c0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8 0-4.387-3.613-8-8-8zm0 3.548c.742 0 1.355.613 1.355 1.355 0 .774-.613 1.355-1.355 1.355-.774 0-1.355-.58-1.355-1.355 0-.742.58-1.355 1.355-1.355zm1.806 8.194a.392.392 0 01-.387.387H6.581a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h.387V8.516H6.58a.373.373 0 01-.387-.387v-.774c0-.194.16-.387.387-.387h2.064c.194 0 .387.193.387.387v3.226h.387c.194 0 .387.193.387.387v.774z"})});case"alert":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M16 8c0-4.387-3.613-8-8-8-4.42 0-8 3.613-8 8 0 4.42 3.58 8 8 8 4.387 0 8-3.58 8-8zM8 9.613a1.5 1.5 0 011.484 1.484A1.48 1.48 0 018 12.58a1.46 1.46 0 01-1.484-1.484A1.48 1.48 0 018 9.613zM6.58 4.29c-.032-.225.162-.419.388-.419H9c.226 0 .42.194.387.42l-.226 4.386c-.032.226-.193.355-.387.355h-1.58c-.194 0-.355-.129-.388-.355L6.581 4.29z"})});case"eye":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.916 7.969c-1.502-2.76-4.507-4.636-7.902-4.636-3.423 0-6.428 1.875-7.93 4.636A.787.787 0 000 8.333c0 .156.028.287.083.39 1.503 2.761 4.508 4.61 7.93 4.61 3.396 0 6.4-1.849 7.903-4.61A.787.787 0 0016 8.36a.822.822 0 00-.084-.39zm-7.902 4.114c-2.226 0-4.007-1.666-4.007-3.75 0-2.057 1.78-3.75 4.007-3.75 2.198 0 4.007 1.693 4.007 3.75v.026c0 2.058-1.809 3.75-4.007 3.75v-.026zm0-6.25c-.25.026-.501.052-.724.104.167.209.25.47.25.756 0 .677-.583 1.224-1.307 1.224-.306 0-.584-.079-.807-.235a2.612 2.612 0 00-.083.651c0 1.38 1.196 2.5 2.67 2.5 1.476 0 2.672-1.12 2.672-2.5S9.49 5.86 8.014 5.86v-.026z"})});case"date":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M1.848 6c-.203 0-.348.188-.348.375V14.5c0 .844.61 1.5 1.393 1.5h10.214c.755 0 1.393-.656 1.393-1.5V6.375c0-.188-.174-.375-.348-.375H1.848zM14.5 4.625V3.5c0-.813-.638-1.5-1.393-1.5h-1.393V.375c0-.188-.174-.375-.348-.375h-1.16c-.204 0-.349.188-.349.375V2H6.143V.375C6.143.187 5.969 0 5.795 0H4.634c-.203 0-.348.188-.348.375V2H2.893C2.109 2 1.5 2.688 1.5 3.5v1.125c0 .219.145.375.348.375h12.304c.174 0 .348-.156.348-.375z"})});case"search":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M15.883 14.635L12.1 10.859c-.094-.062-.188-.125-.282-.125h-.406a6.527 6.527 0 001.594-4.244c0-3.557-2.939-6.49-6.503-6.49C2.908 0 0 2.933 0 6.49a6.492 6.492 0 006.503 6.491 6.592 6.592 0 004.252-1.56v.405c0 .094.031.188.094.281l3.783 3.776c.157.156.407.156.532 0l.719-.718c.156-.124.156-.374 0-.53zm-9.38-3.152A4.972 4.972 0 011.501 6.49a4.992 4.992 0 015.002-4.992c2.752 0 5.003 2.247 5.003 4.992a4.992 4.992 0 01-5.003 4.993z"})});case"delete":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M10.264 7.983l3.404-3.404a1.011 1.011 0 000-1.498l-.749-.75a1.01 1.01 0 00-1.498 0L8.017 5.737 4.579 2.332a1.01 1.01 0 00-1.498 0l-.75.749a1.01 1.01 0 000 1.498l3.405 3.404-3.404 3.438a1.01 1.01 0 000 1.498l.749.75c.408.442 1.09.442 1.498 0l3.438-3.405 3.404 3.404a1.01 1.01 0 001.498 0l.75-.749a1.01 1.01 0 000-1.498l-3.405-3.438z"})});case"more-less":return V(j,{...n,children:[d("path",{className:r,fill:"none",d:"M12.286 3.929H9.07V.714A.734.734 0 008.357 0h-.714a.72.72 0 00-.714.714V3.93H3.714A.72.72 0 003 4.643v.714c0 .402.313.714.714.714H6.93v3.215c0 .402.312.714.714.714h.714a.72.72 0 00.714-.714V6.07h3.215A.72.72 0 0013 5.357v-.714a.734.734 0 00-.714-.714z"}),d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 15.214c0-.394.373-.714.833-.714h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})]});case"down":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M12.648 4H3.353C2.226 4 1.595 5.206 2.29 6.028l4.647 5.493c.541.639 1.583.639 2.124 0l4.647-5.493C14.405 5.206 13.774 4 12.648 4z"})});case"up":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M3.353 12h9.295c1.126 0 1.757-1.206 1.061-2.028L9.062 4.479c-.541-.639-1.583-.639-2.124 0L2.291 9.972C1.595 10.794 2.226 12 3.353 12z"})});case"back":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M12 12.648V3.353c0-1.127-1.206-1.758-2.028-1.062L4.479 6.938c-.639.541-.639 1.583 0 2.124l5.493 4.647c.822.696 2.028.065 2.028-1.061z"})});case"front":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M4 3.353v9.295c0 1.126 1.206 1.757 2.028 1.061l5.493-4.647c.639-.541.639-1.583 0-2.124L6.028 2.291C5.206 1.595 4 2.226 4 3.353z"})});case"major-minor":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M13.429 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.862 1.048V.75c0-.414-.306-.75-.685-.75-.38 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.068.367.177.5l-.001.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zM7.309 2.748L5.254.248 5.25.25A.658.658 0 004.743 0a.658.658 0 00-.508.25L4.233.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.001.002.862-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"minor-major":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M7.486 12.75c0-.414-.307-.75-.686-.75a.66.66 0 00-.508.25l-.002-.002-.861 1.048V.75c0-.414-.307-.75-.686-.75-.379 0-.686.336-.686.75v12.546l-.862-1.047-.001.001a.659.659 0 00-.508-.25c-.38 0-.686.336-.686.75 0 .193.069.367.178.5l-.002.002 2.057 2.5.002-.002a.66.66 0 00.508.25.66.66 0 00.508-.25l.002.002 2.057-2.5-.002-.002a.786.786 0 00.178-.5zm5.88-10.002L11.31.248l-.002.002A.658.658 0 0010.8 0a.658.658 0 00-.508.25L10.29.248l-2.057 2.5.002.002a.785.785 0 00-.178.5c0 .414.307.75.686.75a.658.658 0 00.508-.25l.002.002.861-1.048V15.25c0 .414.307.75.686.75.379 0 .686-.336.686-.75V2.704l.861 1.048.002-.002c.126.152.306.25.508.25.379 0 .686-.336.686-.75a.784.784 0 00-.178-.5l.002-.002z"})});case"create":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M14.857 6.286H9.714V1.143C9.714.536 9.18 0 8.571 0H7.43a1.15 1.15 0 00-1.143 1.143v5.143H1.143A1.15 1.15 0 000 7.429V8.57c0 .643.5 1.143 1.143 1.143h5.143v5.143c0 .643.5 1.143 1.143 1.143H8.57c.608 0 1.143-.5 1.143-1.143V9.714h5.143c.607 0 1.143-.5 1.143-1.143V7.43c0-.608-.536-1.143-1.143-1.143z"})});case"success":return d(j,{...n,children:d("path",{className:r,fill:"none",d:"M8 16a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm3.531-9.469l-4 4a.747.747 0 01-1.06 0l-2-2a.75.75 0 011.06-1.06L7 8.942l3.469-3.472a.75.75 0 011.06 1.06l.002.002z"})});case"error":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M7.18.373L.314 7.336A1.091 1.091 0 00.32 8.874l6.758 6.758c.42.42 1.098.427 1.527.016l7.059-6.77a1.091 1.091 0 00.016-1.558L8.73.368A1.091 1.091 0 007.18.373zM9.39 10.585c0-.716-.601-1.317-1.316-1.317-.745 0-1.317.601-1.317 1.317 0 .744.572 1.316 1.317 1.316.715 0 1.316-.572 1.316-1.316zm-2.232-6.41c-.2 0-.372.171-.344.371l.2 3.893c.03.2.172.314.344.314H8.76c.172 0 .315-.114.344-.314l.2-3.893c.029-.2-.143-.372-.343-.372H7.157z",clipRule:"evenodd"})});case"less":return d(j,{...n,children:d("path",{className:r,fill:"none",fillRule:"evenodd",d:"M3 7.714C3 7.32 3.373 7 3.833 7h8.334c.46 0 .833.32.833.714 0 .395-.373.715-.833.715H3.833c-.46 0-.833-.32-.833-.715z",clipRule:"evenodd"})});default:return d(pe,{})}}function un(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function Xt(e){return e.split("-")[0]}function cn(e){return e.split("-")[1]}function Zt(e){return["top","bottom"].includes(Xt(e))?"x":"y"}function vr(e){return e==="y"?"height":"width"}function _o(e,t,n){let{reference:o,floating:r}=e;const i=o.x+o.width/2-r.width/2,s=o.y+o.height/2-r.height/2,a=Zt(t),l=vr(a),u=o[l]/2-r[l]/2,c=Xt(t),f=a==="x";let p;switch(c){case"top":p={x:i,y:o.y-r.height};break;case"bottom":p={x:i,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:s};break;case"left":p={x:o.x-r.width,y:s};break;default:p={x:o.x,y:o.y}}switch(cn(t)){case"start":p[a]-=u*(n&&f?-1:1);break;case"end":p[a]+=u*(n&&f?-1:1);break}return p}const Ql=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));if(process.env.NODE_ENV!=="production"){if(s==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),a.filter(v=>{let{name:C}=v;return C==="autoPlacement"||C==="flip"}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));(!e||!t)&&console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let u=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:f}=_o(u,o,l),p=o,h={},m=0;for(let v=0;v<a.length;v++){const{name:C,fn:x}=a[v],{x:E,y:w,data:y,reset:I}=await x({x:c,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});if(c=E!=null?E:c,f=w!=null?w:f,h={...h,[C]:{...h[C],...y}},process.env.NODE_ENV!=="production"&&m>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),I&&m<=50){m++,typeof I=="object"&&(I.placement&&(p=I.placement),I.rects&&(u=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):I.rects),{x:c,y:f}=_o(u,p,l)),v=-1;continue}}return{x:c,y:f,placement:p,strategy:r,middlewareData:h}};function Kl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jo(e){return typeof e!="number"?Kl(e):{top:e,right:e,bottom:e,left:e}}function dn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function $o(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=t,m=Jo(h),C=a[p?f==="floating"?"reference":"floating":f],x=dn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(C)))==null||n?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),E=dn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...s.floating,x:o,y:r}:s.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:x.top-E.top+m.top,bottom:E.bottom-x.bottom+m.bottom,left:x.left-E.left+m.left,right:E.right-x.right+m.right}}const ql=Math.min,eu=Math.max;function Cr(e,t,n){return eu(e,ql(t,n))}const Uo=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=e!=null?e:{},{x:r,y:i,placement:s,rects:a,platform:l}=t;if(n==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const u=Jo(o),c={x:r,y:i},f=Zt(s),p=cn(s),h=vr(f),m=await l.getDimensions(n),v=f==="y"?"top":"left",C=f==="y"?"bottom":"right",x=a.reference[h]+a.reference[f]-c[f]-a.floating[h],E=c[f]-a.reference[f],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let y=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;y===0&&(y=a.floating[h]);const I=x/2-E/2,A=u[v],S=y-m[h]-u[C],O=y/2-m[h]/2+I,M=Cr(A,O,S),Z=(p==="start"?u[v]:u[C])>0&&O!==M&&a.reference[h]<=a.floating[h]?O<A?A-O:S-O:0;return{[f]:c[f]-Z,data:{[f]:M,centerOffset:O-M}}}}),tu={left:"right",right:"left",bottom:"top",top:"bottom"};function fn(e){return e.replace(/left|right|bottom|top/g,t=>tu[t])}function nu(e,t,n){n===void 0&&(n=!1);const o=cn(e),r=Zt(e),i=vr(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=fn(s)),{main:s,cross:fn(s)}}const ru={start:"end",end:"start"};function Qo(e){return e.replace(/start|end/g,t=>ru[t])}function ou(e){const t=fn(e);return[Qo(e),t,Qo(t)]}const iu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...m}=e,v=Xt(o),x=f||(v===s||!h?[fn(s)]:ou(s)),E=[s,...x],w=await $o(t,m),y=[];let I=((n=r.flip)==null?void 0:n.overflows)||[];if(u&&y.push(w[v]),c){const{main:M,cross:P}=nu(o,i,await(a.isRTL==null?void 0:a.isRTL(l.floating)));y.push(w[M],w[P])}if(I=[...I,{placement:o,overflows:y}],!y.every(M=>M<=0)){var A,S;const M=((A=(S=r.flip)==null?void 0:S.index)!=null?A:0)+1,P=E[M];if(P)return{data:{index:M,overflows:I},reset:{placement:P}};let W="bottom";switch(p){case"bestFit":{var O;const Z=(O=I.map(R=>[R,R.overflows.filter(N=>N>0).reduce((N,D)=>N+D,0)]).sort((R,N)=>R[1]-N[1])[0])==null?void 0:O[0].placement;Z&&(W=Z);break}case"initialPlacement":W=s;break}if(o!==W)return{reset:{placement:W}}}return{}}}};async function au(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=Xt(n),a=cn(n),l=Zt(n)==="x",u=["left","top"].includes(s)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof m=="number"&&(h=a==="end"?m*-1:m),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const su=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await au(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};function lu(e){return e==="x"?"y":"x"}const uu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:C=>{let{x,y:E}=C;return{x,y:E}}},...l}=e,u={x:n,y:o},c=await $o(t,l),f=Zt(Xt(r)),p=lu(f);let h=u[f],m=u[p];if(i){const C=f==="y"?"top":"left",x=f==="y"?"bottom":"right",E=h+c[C],w=h-c[x];h=Cr(E,h,w)}if(s){const C=p==="y"?"top":"left",x=p==="y"?"bottom":"right",E=m+c[C],w=m-c[x];m=Cr(E,m,w)}const v=a.fn({...t,[f]:h,[p]:m});return{...v,data:{x:v.x-n,y:v.y-o}}}}};function Ko(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Je(e){if(e==null)return window;if(!Ko(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function $e(e){return Je(e).getComputedStyle(e)}function it(e){return Ko(e)?"":e?(e.nodeName||"").toLowerCase():""}function qo(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Ue(e){return e instanceof Je(e).HTMLElement}function Qe(e){return e instanceof Je(e).Element}function cu(e){return e instanceof Je(e).Node}function ei(e){if(typeof ShadowRoot>"u")return!1;const t=Je(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function pn(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=$e(e);return/auto|scroll|overlay|hidden/.test(t+o+n)&&!["inline","contents"].includes(r)}function du(e){return["table","td","th"].includes(it(e))}function yr(e){const t=/firefox/i.test(qo()),n=$e(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||(o?o!=="none":!1)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const i=n.contain;return i!=null?i.includes(r):!1})}function ti(){return!/^((?!chrome|android).)*safari/i.test(qo())}function Ir(e){return["html","body","#document"].includes(it(e))}const ni=Math.min,Ht=Math.max,gn=Math.round;function Ke(e,t,n){var o,r,i,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let l=1,u=1;t&&Ue(e)&&(l=e.offsetWidth>0&&gn(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&gn(a.height)/e.offsetHeight||1);const c=Qe(e)?Je(e):window,f=!ti()&&n,p=(a.left+(f&&(o=(r=c.visualViewport)==null?void 0:r.offsetLeft)!=null?o:0))/l,h=(a.top+(f&&(i=(s=c.visualViewport)==null?void 0:s.offsetTop)!=null?i:0))/u,m=a.width/l,v=a.height/u;return{width:m,height:v,top:h,right:p+m,bottom:h+v,left:p,x:p,y:h}}function at(e){return((cu(e)?e.ownerDocument:e.document)||window.document).documentElement}function mn(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ri(e){return Ke(at(e)).left+mn(e).scrollLeft}function fu(e){const t=Ke(e);return gn(t.width)!==e.offsetWidth||gn(t.height)!==e.offsetHeight}function pu(e,t,n){const o=Ue(t),r=at(t),i=Ke(e,o&&fu(t),n==="fixed");let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&n!=="fixed")if((it(t)!=="body"||pn(r))&&(s=mn(t)),Ue(t)){const l=Ke(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=ri(r));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function zt(e){if(it(e)==="html")return e;const t=e.assignedSlot||e.parentNode||(ei(e)?e.host:null)||at(e);return ei(t)?t.host:t}function oi(e){return!Ue(e)||$e(e).position==="fixed"?null:e.offsetParent}function gu(e){let t=zt(e);for(;Ue(t)&&!Ir(t);){if(yr(t))return t;t=zt(t)}return null}function ii(e){const t=Je(e);let n=oi(e);for(;n&&du(n)&&$e(n).position==="static";)n=oi(n);return n&&(it(n)==="html"||it(n)==="body"&&$e(n).position==="static"&&!yr(n))?t:n||gu(e)||t}function mu(e){if(Ue(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ke(e);return{width:t.width,height:t.height}}function bu(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=Ue(n),i=at(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&o!=="fixed")&&((it(n)!=="body"||pn(i))&&(s=mn(n)),Ue(n))){const l=Ke(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function hu(e,t){const n=Je(e),o=at(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(r){i=r.width,s=r.height;const u=ti();(u||!u&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:a,y:l}}function vu(e){var t;const n=at(e),o=mn(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=Ht(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=Ht(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+ri(e);const l=-o.scrollTop;return $e(r||n).direction==="rtl"&&(a+=Ht(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function ai(e){const t=zt(e);return Ir(t)?e.ownerDocument.body:Ue(t)&&pn(t)?t:ai(t)}function st(e,t){var n;t===void 0&&(t=[]);const o=ai(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=Je(o),s=r?[i].concat(i.visualViewport||[],pn(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(st(s))}function Cu(e,t){const n=Ke(e,!1,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function si(e,t,n){return t==="viewport"?dn(hu(e,n)):Qe(t)?Cu(t,n):dn(vu(at(e)))}function yu(e){let t=st(e).filter(i=>Qe(i)&&it(i)!=="body"),n=null;const o=$e(e).position==="fixed";let r=o?zt(e):e;for(;Qe(r)&&!Ir(r);){const i=$e(r),s=yr(r);(o?!s&&!n:!s&&i.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?t=t.filter(l=>l!==r):n=i,r=zt(r)}return t}function Iu(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?yu(t):[].concat(n),o],a=s[0],l=s.reduce((u,c)=>{const f=si(t,c,r);return u.top=Ht(f.top,u.top),u.right=ni(f.right,u.right),u.bottom=ni(f.bottom,u.bottom),u.left=Ht(f.left,u.left),u},si(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const xu={getClippingRect:Iu,convertOffsetParentRelativeRectToViewportRelativeRect:bu,isElement:Qe,getDimensions:mu,getOffsetParent:ii,getDocumentElement:at,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||ii,i=this.getDimensions;return{reference:pu(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>$e(e).direction==="rtl"};function li(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:a=!1}=o,l=r&&!a,u=l||i?[...Qe(e)?st(e):e.contextElement?st(e.contextElement):[],...st(t)]:[];u.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});let c=null;if(s){let m=!0;c=new ResizeObserver(()=>{m||n(),m=!1}),Qe(e)&&!a&&c.observe(e),!Qe(e)&&e.contextElement&&!a&&c.observe(e.contextElement),c.observe(t)}let f,p=a?Ke(e):null;a&&h();function h(){const m=Ke(e);p&&(m.x!==p.x||m.y!==p.y||m.width!==p.width||m.height!==p.height)&&n(),p=m,f=requestAnimationFrame(h)}return n(),()=>{var m;u.forEach(v=>{l&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),(m=c)==null||m.disconnect(),c=null,a&&cancelAnimationFrame(f)}}const Eu=(e,t,n)=>Ql(e,t,{platform:xu,...n});var xr=typeof document<"u"?g.useLayoutEffect:g.useEffect;function bn(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 n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!bn(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!bn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wu(e){const t=T.useRef(e);return xr(()=>{t.current=e}),t}function Au(e){let{middleware:t=[],placement:n="bottom",strategy:o="absolute",whileElementsMounted:r}=e===void 0?{}:e;const[i,s]=T.useState({x:null,y:null,strategy:o,placement:n,middlewareData:{}}),[a,l]=T.useState(t);bn(a,t)||l(t);const u=T.useRef(null),c=T.useRef(null),f=T.useRef(null),p=T.useRef(i),h=wu(r),m=T.useCallback(()=>{!u.current||!c.current||Eu(u.current,c.current,{middleware:a,placement:n,strategy:o}).then(y=>{v.current&&!bn(p.current,y)&&(p.current=y,as.flushSync(()=>{s(y)}))})},[a,n,o]);xr(()=>{v.current&&m()},[m]);const v=T.useRef(!1);xr(()=>(v.current=!0,()=>{v.current=!1}),[]);const C=T.useCallback(()=>{if(typeof f.current=="function"&&(f.current(),f.current=null),u.current&&c.current)if(h.current){const y=h.current(u.current,c.current,m);f.current=y}else m()},[m,h]),x=T.useCallback(y=>{u.current=y,C()},[C]),E=T.useCallback(y=>{c.current=y,C()},[C]),w=T.useMemo(()=>({reference:u,floating:c}),[]);return T.useMemo(()=>({...i,update:m,refs:w,reference:x,floating:E}),[i,m,w,x,E])}const Su=e=>{const{element:t,padding:n}=e;function o(r){return Object.prototype.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){return o(t)?t.current!=null?Uo({element:t.current,padding:n}).fn(r):{}:t?Uo({element:t,padding:n}).fn(r):{}}}};var bt=typeof document<"u"?g.useLayoutEffect:g.useEffect;function Nu(){const e=new Map;return{emit(t,n){var o;(o=e.get(t))==null||o.forEach(r=>r(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(o=>o!==n))}}}let Er=!1,Fu=0;const ui=()=>"floating-ui-"+Fu++;function Pu(){const[e,t]=T.useState(()=>Er?ui():void 0);return bt(()=>{e==null&&t(ui())},[]),T.useEffect(()=>{Er||(Er=!0)},[]),e}const ci=T["useId".toString()],di=ci!=null?ci:Pu,Gu=T.createContext(null),Tu=T.createContext(null),fi=()=>{var e,t;return(e=(t=T.useContext(Gu))==null?void 0:t.id)!=null?e:null},wr=()=>T.useContext(Tu);function lt(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function pi(e){var t;return(t=lt(e).defaultView)!=null?t:window}function ht(e){return e?e instanceof pi(e).Element:!1}function Vu(e){return e?e instanceof pi(e).HTMLElement:!1}const gi=T["useInsertionEffect".toString()];function Ou(e){const t=T.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return gi?gi(()=>{t.current=e}):t.current=e,T.useCallback(function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t.current==null?void 0:t.current(...o)},[])}function Ru(e){let{open:t=!1,onOpenChange:n,whileElementsMounted:o,placement:r,middleware:i,strategy:s,nodeId:a}=e===void 0?{}:e;const[l,u]=T.useState(null),c=wr(),f=T.useRef(null),p=T.useRef({}),h=T.useState(()=>Nu())[0],m=Au({placement:r,middleware:i,strategy:s,whileElementsMounted:o}),v=Ou(n),C=T.useMemo(()=>({...m.refs,domReference:f}),[m.refs]),x=T.useMemo(()=>({...m,refs:C,dataRef:p,nodeId:a,events:h,open:t,onOpenChange:v,_:{domReference:l}}),[m,a,h,t,v,C,l]);bt(()=>{const y=c==null?void 0:c.nodesRef.current.find(I=>I.id===a);y&&(y.context=x)});const{reference:E}=m,w=T.useCallback(y=>{(ht(y)||y===null)&&(x.refs.domReference.current=y,u(y)),E(y)},[E,x.refs]);return T.useMemo(()=>({...m,context:x,refs:C,reference:w}),[m,C,x,w])}function Ar(e,t,n){const o=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(r=>r?r[n]:null).concat(e).reduce((r,i)=>(i&&Object.entries(i).forEach(s=>{let[a,l]=s;if(a.indexOf("on")===0){if(o.has(a)||o.set(a,[]),typeof l=="function"){var u;(u=o.get(a))==null||u.push(l),r[a]=function(){for(var c,f=arguments.length,p=new Array(f),h=0;h<f;h++)p[h]=arguments[h];(c=o.get(a))==null||c.forEach(m=>m(...p))}}}else r[a]=l}),r),{})}}const Bu=function(e){e===void 0&&(e=[]);const t=e,n=T.useCallback(i=>Ar(i,e,"reference"),t),o=T.useCallback(i=>Ar(i,e,"floating"),t),r=T.useCallback(i=>Ar(i,e,"item"),t);return T.useMemo(()=>({getReferenceProps:n,getFloatingProps:o,getItemProps:r}),[n,o,r])};function Sr(e,t){var n;let o=(n=e.filter(s=>{var a;return s.parentId===t&&((a=s.context)==null?void 0:a.open)}))!=null?n:[],r=o;for(;r.length;){var i;r=(i=e.filter(s=>{var a;return(a=r)==null?void 0:a.some(l=>{var u;return s.parentId===l.id&&((u=s.context)==null?void 0:u.open)})}))!=null?i:[],o=o.concat(r)}return o}const mi="floating-ui-root",Mu=function(e){let{id:t=mi,enabled:n=!0}=e===void 0?{}:e;const[o,r]=T.useState(null);return bt(()=>{if(!n)return;const i=document.getElementById(t);if(i)r(i);else{const s=document.createElement("div");s.id=t,r(s),document.body.contains(s)||document.body.appendChild(s)}},[t,n]),o},Du=e=>{let{children:t,id:n=mi,root:o=null}=e;const r=Mu({id:n,enabled:!o});return o?Ot.createPortal(t,o):r?Ot.createPortal(t,r):null};function Lu(e){return"composedPath"in e?e.composedPath()[0]:e.target}function bi(e){const t=g.useRef(e);return bt(()=>{t.current=e}),t}function ku(e){const t=g.useRef();return bt(()=>{t.current=e},[e]),t.current}function Nr(e,t,n){return n&&n!=="mouse"?0:typeof e=="number"?e:e==null?void 0:e[t]}const Wu=function(e,t){let{enabled:n=!0,delay:o=0,handleClose:r=null,mouseOnly:i=!1,restMs:s=0,move:a=!0}=t===void 0?{}:t;const{open:l,onOpenChange:u,dataRef:c,events:f,refs:p,_:h}=e,m=wr(),v=fi(),C=bi(r),x=bi(o),E=ku(l),w=T.useRef(),y=T.useRef(),I=T.useRef(),A=T.useRef(),S=T.useRef(!0),O=T.useRef(!1),M=T.useCallback(()=>{var R;const N=(R=c.current.openEvent)==null?void 0:R.type;return(N==null?void 0:N.includes("mouse"))&&N!=="mousedown"},[c]);T.useEffect(()=>{if(!n)return;function R(){clearTimeout(y.current),clearTimeout(A.current),S.current=!0}return f.on("dismiss",R),()=>{f.off("dismiss",R)}},[n,f,p]),T.useEffect(()=>{if(!n||!C.current)return;function R(){M()&&u(!1)}const N=lt(p.floating.current).documentElement;return N.addEventListener("mouseleave",R),()=>{N.removeEventListener("mouseleave",R)}},[p,u,n,C,c,M]);const P=T.useCallback(function(R){R===void 0&&(R=!0);const N=Nr(x.current,"close",w.current);N&&!I.current?(clearTimeout(y.current),y.current=setTimeout(()=>u(!1),N)):R&&(clearTimeout(y.current),u(!1))},[x,u]),W=T.useCallback(()=>{I.current&&(lt(p.floating.current).removeEventListener("pointermove",I.current),I.current=void 0)},[p]),Z=T.useCallback(()=>{lt(p.floating.current).body.style.pointerEvents="",O.current=!1},[p]);return T.useEffect(()=>{if(!n)return;function R(){return c.current.openEvent?["click","mousedown"].includes(c.current.openEvent.type):!1}function N($){if(clearTimeout(y.current),S.current=!1,i&&w.current!=="mouse"||s>0&&Nr(x.current,"open")===0)return;c.current.openEvent=$;const de=Nr(x.current,"open",w.current);de?y.current=setTimeout(()=>{u(!0)},de):u(!0)}function D($){if(R())return;const de=lt(p.floating.current);if(clearTimeout(A.current),C.current){clearTimeout(y.current),I.current&&de.removeEventListener("pointermove",I.current),I.current=C.current({...e,tree:m,x:$.clientX,y:$.clientY,onClose(){Z(),W(),P()}}),de.addEventListener("pointermove",I.current);return}P()}function L($){R()||C.current==null||C.current({...e,tree:m,x:$.clientX,y:$.clientY,leave:!0,onClose(){Z(),W(),P()}})($)}const Y=p.floating.current,X=p.domReference.current;if(ht(X))return l&&X.addEventListener("mouseleave",L),Y==null||Y.addEventListener("mouseleave",L),a&&X.addEventListener("mousemove",N,{once:!0}),X.addEventListener("mouseenter",N),X.addEventListener("mouseleave",D),()=>{l&&X.removeEventListener("mouseleave",L),Y==null||Y.removeEventListener("mouseleave",L),a&&X.removeEventListener("mousemove",N),X.removeEventListener("mouseenter",N),X.removeEventListener("mouseleave",D)}},[h.domReference,n,e,i,s,a,P,W,Z,u,l,m,p,x,C,c]),bt(()=>{if(!!n&&l&&C.current&&C.current.__options.blockPointerEvents&&M()){lt(p.floating.current).body.style.pointerEvents="none",O.current=!0;const D=p.domReference.current,L=p.floating.current;if(ht(D)&&L){var R,N;const Y=m==null||(R=m.nodesRef.current.find(X=>X.id===v))==null||(N=R.context)==null?void 0:N.refs.floating.current;return Y&&(Y.style.pointerEvents=""),D.style.pointerEvents="auto",L.style.pointerEvents="auto",()=>{D.style.pointerEvents="",L.style.pointerEvents=""}}}},[n,l,v,p,m,C,c,M]),bt(()=>{E&&!l&&(w.current=void 0,W(),Z())}),T.useEffect(()=>()=>{W(),clearTimeout(y.current),clearTimeout(A.current),O.current&&Z()},[n,W,Z]),T.useMemo(()=>{if(!n)return{};function R(N){w.current=N.pointerType}return{reference:{onPointerDown:R,onPointerEnter:R,onMouseMove(){l||s===0||(clearTimeout(A.current),A.current=setTimeout(()=>{S.current||u(!0)},s))}},floating:{onMouseEnter(){clearTimeout(y.current)},onMouseLeave(){P(!1)}}}},[n,s,l,u,P])},Xu=function(e,t){let{open:n}=e,{enabled:o=!0,role:r="dialog"}=t===void 0?{}:t;const i=di(),s=di();return T.useMemo(()=>{const a={id:i,role:r};return o?r==="tooltip"?{reference:{"aria-describedby":n?i:void 0},floating:a}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":r==="alertdialog"?"dialog":r,"aria-controls":n?i:void 0,...r==="listbox"&&{role:"combobox"},...r==="menu"&&{id:s}},floating:{...a,...r==="menu"&&{"aria-labelledby":s}}}:{}},[o,r,n,i,s])};function Fr(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}const Zu={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Hu={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},zu=function(e,t){let{open:n,onOpenChange:o,refs:r,events:i,nodeId:s}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:u=!0,outsidePressEvent:c="pointerdown",referencePress:f=!1,referencePressEvent:p="pointerdown",ancestorScroll:h=!1,bubbles:m=!0}=t===void 0?{}:t;const v=wr(),C=fi()!=null,x=T.useRef(!1);return T.useEffect(()=>{if(!n||!a)return;function E(S){if(S.key==="Escape"){if(!m&&v&&Sr(v.nodesRef.current,s).length>0)return;i.emit("dismiss",{preventScroll:!1}),o(!1)}}function w(S){const O=x.current;if(x.current=!1,O)return;const M=Lu(S);if(ht(M)&&r.floating.current){var P;const Z=(P=r.floating.current.ownerDocument.defaultView)!=null?P:window,R=M.scrollWidth>M.clientWidth,N=M.scrollHeight>M.clientHeight;let D=N&&S.offsetX>M.clientWidth;if(N&&Z.getComputedStyle(M).direction==="rtl"&&(D=S.offsetX<=M.offsetWidth-M.clientWidth),D||R&&S.offsetY>M.clientHeight)return}const W=v&&Sr(v.nodesRef.current,s).some(Z=>{var R;return Fr(S,(R=Z.context)==null?void 0:R.refs.floating.current)});Fr(S,r.floating.current)||Fr(S,r.domReference.current)||W||!m&&v&&Sr(v.nodesRef.current,s).length>0||(i.emit("dismiss",C?{preventScroll:!0}:!1),o(!1))}function y(){o(!1)}const I=lt(r.floating.current);l&&I.addEventListener("keydown",E),u&&I.addEventListener(c,w);let A=[];return h&&(ht(r.domReference.current)&&(A=st(r.domReference.current)),ht(r.floating.current)&&(A=A.concat(st(r.floating.current))),!ht(r.reference.current)&&r.reference.current&&r.reference.current.contextElement&&(A=A.concat(st(r.reference.current.contextElement)))),A=A.filter(S=>{var O;return S!==((O=I.defaultView)==null?void 0:O.visualViewport)}),A.forEach(S=>{S.addEventListener("scroll",y,{passive:!0})}),()=>{l&&I.removeEventListener("keydown",E),u&&I.removeEventListener(c,w),A.forEach(S=>{S.removeEventListener("scroll",y)})}},[l,u,c,i,v,s,n,o,h,a,m,r,C]),T.useEffect(()=>{x.current=!1},[u,c]),T.useMemo(()=>a?{reference:{[Zu[p]]:()=>{f&&(i.emit("dismiss"),o(!1))}},floating:{[Hu[c]]:()=>{x.current=!0}}}:{},[a,i,f,c,p,o])},ju=function(e,t){let{open:n,onOpenChange:o,dataRef:r,refs:i,events:s}=e,{enabled:a=!0,keyboardOnly:l=!0}=t===void 0?{}:t;const u=T.useRef(""),c=T.useRef(!1),f=T.useRef();return T.useEffect(()=>{var p;if(!a)return;const m=(p=lt(i.floating.current).defaultView)!=null?p:window;function v(){!n&&Vu(i.domReference.current)&&i.domReference.current.blur()}return m.addEventListener("blur",v),()=>{m.removeEventListener("blur",v)}},[i,n,a]),T.useEffect(()=>{if(!a)return;function p(){c.current=!0}return s.on("dismiss",p),()=>{s.off("dismiss",p)}},[s,a]),T.useEffect(()=>()=>{clearTimeout(f.current)},[]),T.useMemo(()=>a?{reference:{onPointerDown(p){let{pointerType:h}=p;u.current=h,c.current=!!(h&&l)},onPointerLeave(){c.current=!1},onFocus(p){var h,m,v;c.current||p.type==="focus"&&((h=r.current.openEvent)==null?void 0:h.type)==="mousedown"&&(m=i.domReference.current)!=null&&m.contains((v=r.current.openEvent)==null?void 0:v.target)||(r.current.openEvent=p.nativeEvent,o(!0))},onBlur(p){const h=p.relatedTarget;f.current=setTimeout(()=>{var m,v;(m=i.floating.current)!=null&&m.contains(h)||(v=i.domReference.current)!=null&&v.contains(h)||(c.current=!1,o(!1))})}}}:{},[a,l,i,r,o])},Yu=T.forwardRef((e,t)=>{var a,l;const{state:n,children:o,...r}=e,i=T.useMemo(()=>un([n.floating,t]),[n.floating,t]),s=()=>{const u={top:"bottom",right:"left",bottom:"top",left:"right"}[n.placement.split("-")[0]],{arrow:c}=n.middlewareData;return d("div",{ref:n.arrowRef,style:{position:"absolute",width:"10px",height:"10px",background:"white",left:(c==null?void 0:c.x)!=null?`${c==null?void 0:c.x}px`:"",top:(c==null?void 0:c.y)!=null?`${c==null?void 0:c.y}px`:"",[u]:"-2px",transform:"rotate(45deg)"}})};return d(Du,{children:n.open&&V("div",{ref:i,style:{position:n.strategy,top:(a=n.y)!=null?a:0,left:(l=n.x)!=null?l:0,visibility:n.x==null?"hidden":"visible",...r.style},...n.getFloatingProps(r),children:[o,s()]})})}),_u=T.forwardRef((e,t)=>{const{children:n,state:o,asChild:r=!1,...i}=e,s=n.ref,a=T.useMemo(()=>un([o.reference,t,s]),[o.reference,t,s]);return r&&T.isValidElement(n)?T.cloneElement(n,o.getReferenceProps({ref:a,...i,...n.props})):d("button",{ref:a,...o.getReferenceProps(i),children:n})});function Ju(e){const{initialOpen:t=!1,placement:n}=e,o=g.useRef(null),[r,i]=g.useState(t),s=[su(10),iu({padding:5}),uu({padding:5}),Su({element:o,padding:5})],l=Ru({placement:n,open:r,onOpenChange:i,whileElementsMounted:li,middleware:s}),u=l.context,c=Wu(u,{move:!1}),f=ju(u),p=zu(u),h=Xu(u,{role:"tooltip"}),m=Bu([c,f,p,h]);return g.useMemo(()=>({open:r,setOpen:i,arrowRef:o,...m,...l}),[r,i,m,l,o])}function hi({placement:e="bottom",title:t,description:n,initialOpen:o=!1,children:r}){const i=Ju({initialOpen:o,placement:e});return V(pe,{children:[d(_u,{state:i,children:r}),V(Yu,{state:i,className:"w-max max-w-[368px] rounded-[5px] bg-surface-default py-[12px] px-[16px] drop-shadow-[0px_2px_10px_rgba(0,0,0,0.1)]",children:[d(Q,{variant:"highlight",color:"default",className:"mb-1",children:t}),d(Q,{variant:"body",color:"subdued",children:n})]})]})}const p1="",Ci=g.forwardRef((e,t)=>{const{id:n,name:o,isDisabled:r,value:i,label:s,helpText:a,onChange:l,checked:u}=e,c=({target:{value:h,checked:m}})=>{l==null||l({checked:m,value:h})},f=()=>r?"border-border-disabled checked:text-action-primary-disabled":"border-border-default checked:border-action-primary-default checked:bg-white hover:border-border-hovered checked:hover:border-action-primary-default checked:hover:bg-white checked:focus:border-action-primary-default checked:focus:bg-white checked:focus:ring-focused-default",p=g.useMemo(()=>un([t]),[t]);return d(pe,{children:V("div",{className:B("flex gap-x-2",!a&&"items-center"),children:[d("input",{type:"radio",ref:p,id:n,name:o,disabled:r,onChange:c,checked:u,value:i,className:B("border-2",f())}),s&&V("div",{className:"flex flex-col items-start justify-center",children:[d(Q,{as:"label",variant:"body",className:"break-words",htmlFor:n,color:r?"disabled":"default",children:s}),a&&d(Q,{variant:"body",className:"mt-1",htmlFor:n,color:r?"disabled":"subdued",children:a})]})]})})});function $u({track:e,isDisabled:t=!1,isSelected:n=!1,title:o,...r}){const[i,s]=g.useState(!1),a=()=>n?"bg-interactive-default":t?"bg-icon-disabled":"bg-icon-subdued",l=()=>n||i&&!t?"default":t?"disabled":"subdued";return V("div",{onMouseOver:()=>s(!0),onMouseOut:()=>s(!1),className:B("flex min-w-[54px] flex-col items-center justify-center",!t&&"cursor-pointer hover:text-letter-default"),...r,children:[d("span",{className:B("relative inline-block h-6 w-6 rounded-md",a()),children:d("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:d(Q,{variant:"highlight",color:"on",className:"select-none",children:e})})}),d(Q,{variant:"button",color:l(),className:B("select-none mt-1",!t&&"hover:text-letter-default active:text-letter-default"),children:o})]})}function hn({kind:e,className:t}){return d("img",{src:`./logos/${e}.svg`,className:t})}const g1="",Uu=g.forwardRef((e,t)=>{const{id:n,name:o,isDisabled:r,value:i="",label:s,helpText:a,onChange:l,isError:u,checked:c,size:f="sm"}=e;return d(pe,{children:V("div",{className:"flex gap-x-2",children:[d("input",{id:n,type:"checkbox",name:o,ref:t,disabled:r,onChange:({target:{value:m,checked:v}})=>{l==null||l({checked:v,value:m})},value:i,checked:c,className:B((()=>r?"border-border-disabled checked:text-action-primary-disabled bg-action-secondary-default disabled:bg-action-secondary-disabled checked:hover:bg-action-secondary-disabled":u?"checked:bg-action-critical-default checked:text-letter-critical active:bg-action-critical-default border-border-critical-default checked:hover:bg-action-critical-default focus:ring-none ring-offset-0 active:ring-transparent focus:ring-transparent focus:ring-offset-0 focus:ring-critical-default":"border-border-default hover:border-border-hovered focus:ring-focused-default ring-offset-1 active:ring-1 focus:ring-1 focus:ring-offset-1")(),"rounded-[5px] bg-white border-[1.5px]",f==="sm"&&"h-[18px] w-[18px]",f==="md"&&"h-[20px] w-[20px]")}),s&&V("div",{className:"flex flex-col items-start justify-center",children:[d(Q,{as:"label",variant:"body",className:"break-words select-none",htmlFor:n,color:r?"disabled":"default",children:s}),a&&d(Q,{variant:"body",className:"mt-1",htmlFor:n,color:r?"disabled":"subdued",children:a})]})]})})});function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yi(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Qu(e){if(Array.isArray(e))return e}function Ku(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,i=!1,s,a;try{for(n=n.call(e);!(r=(s=n.next()).done)&&(o.push(s.value),!(t&&o.length===t));r=!0);}catch(l){i=!0,a=l}finally{try{!r&&n.return!=null&&n.return()}finally{if(i)throw a}}return o}}function Pr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ii(e,t){if(!!e){if(typeof e=="string")return Pr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pr(e,t)}}function qu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
36
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(e,t){return Qu(e)||Ku(e,t)||Ii(e,t)||qu()}function ec(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function vt(e,t){if(e==null)return{};var n=ec(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,o)||(n[o]=e[o]))}return n}var tc=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function xi(e){var t=e.defaultInputValue,n=t===void 0?"":t,o=e.defaultMenuIsOpen,r=o===void 0?!1:o,i=e.defaultValue,s=i===void 0?null:i,a=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,h=e.value,m=vt(e,tc),v=g.useState(a!==void 0?a:n),C=xe(v,2),x=C[0],E=C[1],w=g.useState(l!==void 0?l:r),y=xe(w,2),I=y[0],A=y[1],S=g.useState(h!==void 0?h:s),O=xe(S,2),M=O[0],P=O[1],W=g.useCallback(function(X,$){typeof u=="function"&&u(X,$),P(X)},[u]),Z=g.useCallback(function(X,$){var de;typeof c=="function"&&(de=c(X,$)),E(de!==void 0?de:X)},[c]),R=g.useCallback(function(){typeof p=="function"&&p(),A(!0)},[p]),N=g.useCallback(function(){typeof f=="function"&&f(),A(!1)},[f]),D=a!==void 0?a:x,L=l!==void 0?l:I,Y=h!==void 0?h:M;return ie(ie({},m),{},{inputValue:D,menuIsOpen:L,onChange:W,onInputChange:Z,onMenuClose:N,onMenuOpen:R,value:Y})}function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ae.apply(this,arguments)}function nc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ei(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rc(e,t,n){return t&&Ei(e.prototype,t),n&&Ei(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gr(e,t){return Gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},Gr(e,t)}function oc(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&&Gr(e,t)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(e)}function ic(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Cn(e){return Cn=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},Cn(e)}function ac(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sc(e,t){if(t&&(Cn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ac(e)}function lc(e){var t=ic();return function(){var o=vn(e),r;if(t){var i=vn(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return sc(this,r)}}function uc(e){if(Array.isArray(e))return Pr(e)}function cc(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
37
37
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wi(e){return uc(e)||cc(e)||Ii(e)||dc()}function fc(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 pc(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 gc=function(){function e(n){var o=this;this._insertTag=function(r){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(r,i),o.tags.push(r)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(pc(this));var r=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=o.charCodeAt(0)===64&&o.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
38
- `+o+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var s=fc(r);try{s.insertRule(o,s.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(o)&&console.error('There was a problem inserting the following rule: "'+o+'"',a)}}else r.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ne="-ms-",yn="-moz-",q="-webkit-",Gr="comm",Tr="rule",Vr="decl",mc="@import",Ai="@keyframes",bc=Math.abs,In=String.fromCharCode,hc=Object.assign;function vc(e,t){return Se(e,0)^45?(((t<<2^Se(e,0))<<2^Se(e,1))<<2^Se(e,2))<<2^Se(e,3):0}function Si(e){return e.trim()}function Cc(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,n){return e.replace(t,n)}function Or(e,t){return e.indexOf(t)}function Se(e,t){return e.charCodeAt(t)|0}function jt(e,t,n){return e.slice(t,n)}function je(e){return e.length}function Br(e){return e.length}function xn(e,t){return t.push(e),e}function yc(e,t){return e.map(t).join("")}var En=1,wt=1,Ni=0,Be=0,ve=0,At="";function wn(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:En,column:wt,length:s,return:""}}function Yt(e,t){return hc(wn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ic(){return ve}function xc(){return ve=Be>0?Se(At,--Be):0,wt--,ve===10&&(wt=1,En--),ve}function Me(){return ve=Be<Ni?Se(At,Be++):0,wt++,ve===10&&(wt=1,En++),ve}function Ye(){return Se(At,Be)}function An(){return Be}function _t(e,t){return jt(At,e,t)}function Jt(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 Fi(e){return En=wt=1,Ni=je(At=e),Be=0,[]}function Pi(e){return At="",e}function Sn(e){return Si(_t(Be-1,Rr(e===91?e+2:e===40?e+1:e)))}function Ec(e){for(;(ve=Ye())&&ve<33;)Me();return Jt(e)>2||Jt(ve)>3?"":" "}function wc(e,t){for(;--t&&Me()&&!(ve<48||ve>102||ve>57&&ve<65||ve>70&&ve<97););return _t(e,An()+(t<6&&Ye()==32&&Me()==32))}function Rr(e){for(;Me();)switch(ve){case e:return Be;case 34:case 39:e!==34&&e!==39&&Rr(ve);break;case 40:e===41&&Rr(e);break;case 92:Me();break}return Be}function Ac(e,t){for(;Me()&&e+ve!==47+10;)if(e+ve===42+42&&Ye()===47)break;return"/*"+_t(t,Be-1)+"*"+In(e===47?e:Me())}function Sc(e){for(;!Jt(Ye());)Me();return _t(e,Be)}function Nc(e){return Pi(Nn("",null,null,null,[""],e=Fi(e),0,[0],e))}function Nn(e,t,n,o,r,i,s,a,l){for(var u=0,c=0,f=s,p=0,h=0,b=0,v=1,y=1,I=1,E=0,w="",C=r,x=i,A=o,S=w;y;)switch(b=E,E=Me()){case 40:if(b!=108&&Se(S,f-1)==58){Or(S+=te(Sn(E),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:S+=Sn(E);break;case 9:case 10:case 13:case 32:S+=Ec(b);break;case 92:S+=wc(An()-1,7);continue;case 47:switch(Ye()){case 42:case 47:xn(Fc(Ac(Me(),An()),t,n),l);break;default:S+="/"}break;case 123*v:a[u++]=je(S)*I;case 125*v:case 59:case 0:switch(E){case 0:case 125:y=0;case 59+c:h>0&&je(S)-f&&xn(h>32?Ti(S+";",o,n,f-1):Ti(te(S," ","")+";",o,n,f-2),l);break;case 59:S+=";";default:if(xn(A=Gi(S,t,n,u,c,r,a,w,C=[],x=[],f),i),E===123)if(c===0)Nn(S,t,A,A,C,i,f,a,x);else switch(p===99&&Se(S,3)===110?100:p){case 100:case 109:case 115:Nn(e,A,A,o&&xn(Gi(e,A,A,0,0,r,a,w,r,C=[],f),x),r,x,f,a,o?C:x);break;default:Nn(S,A,A,A,[""],x,0,a,x)}}u=c=h=0,v=I=1,w=S="",f=s;break;case 58:f=1+je(S),h=b;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&xc()==125)continue}switch(S+=In(E),E*v){case 38:I=c>0?1:(S+="\f",-1);break;case 44:a[u++]=(je(S)-1)*I,I=1;break;case 64:Ye()===45&&(S+=Sn(Me())),p=Ye(),c=f=je(w=S+=Sc(An())),E++;break;case 45:b===45&&je(S)==2&&(v=0)}}return i}function Gi(e,t,n,o,r,i,s,a,l,u,c){for(var f=r-1,p=r===0?i:[""],h=Br(p),b=0,v=0,y=0;b<o;++b)for(var I=0,E=jt(e,f+1,f=bc(v=s[b])),w=e;I<h;++I)(w=Si(v>0?p[I]+" "+E:te(E,/&\f/g,p[I])))&&(l[y++]=w);return wn(e,t,n,r===0?Tr:a,l,u,c)}function Fc(e,t,n){return wn(e,t,n,Gr,In(Ic()),jt(e,2,-2),0)}function Ti(e,t,n,o){return wn(e,t,n,Vr,jt(e,0,o),jt(e,o+1,-1),o)}function St(e,t){for(var n="",o=Br(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Pc(e,t,n,o){switch(e.type){case mc:case Vr:return e.return=e.return||e.value;case Gr:return"";case Ai:return e.return=e.value+"{"+St(e.children,o)+"}";case Tr:e.value=e.props.join(",")}return je(n=St(e.children,o))?e.return=e.value+"{"+n+"}":""}function Gc(e){var t=Br(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}function Tc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Oc=function(t,n,o){for(var r=0,i=0;r=i,i=Ye(),r===38&&i===12&&(n[o]=1),!Jt(i);)Me();return _t(t,Be)},Bc=function(t,n){var o=-1,r=44;do switch(Jt(r)){case 0:r===38&&Ye()===12&&(n[o]=1),t[o]+=Oc(Be-1,n,o);break;case 2:t[o]+=Sn(r);break;case 4:if(r===44){t[++o]=Ye()===58?"&\f":"",n[o]=t[o].length;break}default:t[o]+=In(r)}while(r=Me());return t},Rc=function(t,n){return Pi(Bc(Fi(t),n))},Vi=new WeakMap,Mc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,o=t.parent,r=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Vi.get(o))&&!r){Vi.set(t,!0);for(var i=[],s=Rc(n,i),a=o.props,l=0,u=0;l<s.length;l++)for(var c=0;c<a.length;c++,u++)t.props[u]=i[l]?s[l].replace(/&\f/g,a[c]):a[c]+" "+s[l]}}},Dc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Lc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",kc=function(t){return t.type==="comm"&&t.children.indexOf(Lc)>-1},Wc=function(t){return function(n,o,r){if(!(n.type!=="rule"||t.compat)){var i=n.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var s=n.parent===r[0],a=s?r[0].children:r,l=a.length-1;l>=0;l--){var u=a[l];if(u.line<n.line)break;if(u.column<n.column){if(kc(u))return;break}}i.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Oi=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Xc=function(t,n){for(var o=t-1;o>=0;o--)if(!Oi(n[o]))return!0;return!1},Bi=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Zc=function(t,n,o){!Oi(t)||(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Bi(t)):Xc(n,o)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Bi(t)))};function Ri(e,t){switch(vc(e,t)){case 5103:return q+"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 q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+yn+e+Ne+e+e;case 6828:case 4268:return q+e+Ne+e+e;case 6165:return q+e+Ne+"flex-"+e+e;case 5187:return q+e+te(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+Ne+"flex-$1$2")+e;case 5443:return q+e+Ne+"flex-item-"+te(e,/flex-|-self/,"")+e;case 4675:return q+e+Ne+"flex-line-pack"+te(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+Ne+te(e,"shrink","negative")+e;case 5292:return q+e+Ne+te(e,"basis","preferred-size")+e;case 6060:return q+"box-"+te(e,"-grow","")+q+e+Ne+te(e,"grow","positive")+e;case 4554:return q+te(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+Ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,q+"$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(je(e)-1-t>6)switch(Se(e,t+1)){case 109:if(Se(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+yn+(Se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Or(e,"stretch")?Ri(te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Se(e,t+1)!==115)break;case 6444:switch(Se(e,je(e)-3-(~Or(e,"!important")&&10))){case 107:return te(e,":",":"+q)+e;case 101:return te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Se(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+Ne+"$2box$3")+e}break;case 5936:switch(Se(e,t+11)){case 114:return q+e+Ne+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Ne+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Ne+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Ne+e+e}return e}var Hc=function(t,n,o,r){if(t.length>-1&&!t.return)switch(t.type){case Vr:t.return=Ri(t.value,t.length);break;case Ai:return St([Yt(t,{value:te(t.value,"@","@"+q)})],r);case Tr:if(t.length)return yc(t.props,function(i){switch(Cc(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([Yt(t,{props:[te(i,/:(read-\w+)/,":"+yn+"$1")]})],r);case"::placeholder":return St([Yt(t,{props:[te(i,/:(plac\w+)/,":"+q+"input-$1")]}),Yt(t,{props:[te(i,/:(plac\w+)/,":"+yn+"$1")]}),Yt(t,{props:[te(i,/:(plac\w+)/,Ne+"input-$1")]})],r)}return""})}},zc=[Hc],jc=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
39
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(v){var y=v.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var r=t.stylisPlugins||zc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var y=v.getAttribute("data-emotion").split(" "),I=1;I<y.length;I++)i[y[I]]=!0;a.push(v)});var l,u=[Mc,Dc];process.env.NODE_ENV!=="production"&&u.push(Wc({get compat(){return b.compat}}),Zc);{var c,f=[Pc,process.env.NODE_ENV!=="production"?function(v){v.root||(v.return?c.insert(v.return):v.value&&v.type!==Gr&&c.insert(v.value+"{}"))}:Tc(function(v){c.insert(v)})],p=Gc(u.concat(r,f)),h=function(y){return St(Nc(y),p)};l=function(y,I,E,w){c=E,process.env.NODE_ENV!=="production"&&I.map!==void 0&&(c={insert:function(x){E.insert(x+I.map)}}),h(y?y+"{"+I.styles+"}":I.styles),w&&(b.inserted[I.name]=!0)}}var b={key:n,sheet:new gc({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return b.sheet.hydrate(a),b},Mi={exports:{}},ne={};/** @license React v16.13.1
38
+ `+o+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var s=fc(r);try{s.insertRule(o,s.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(o)&&console.error('There was a problem inserting the following rule: "'+o+'"',a)}}else r.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ne="-ms-",yn="-moz-",q="-webkit-",Tr="comm",Vr="rule",Or="decl",mc="@import",Ai="@keyframes",bc=Math.abs,In=String.fromCharCode,hc=Object.assign;function vc(e,t){return Se(e,0)^45?(((t<<2^Se(e,0))<<2^Se(e,1))<<2^Se(e,2))<<2^Se(e,3):0}function Si(e){return e.trim()}function Cc(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,n){return e.replace(t,n)}function Rr(e,t){return e.indexOf(t)}function Se(e,t){return e.charCodeAt(t)|0}function jt(e,t,n){return e.slice(t,n)}function je(e){return e.length}function Br(e){return e.length}function xn(e,t){return t.push(e),e}function yc(e,t){return e.map(t).join("")}var En=1,wt=1,Ni=0,Re=0,ve=0,At="";function wn(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:En,column:wt,length:s,return:""}}function Yt(e,t){return hc(wn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ic(){return ve}function xc(){return ve=Re>0?Se(At,--Re):0,wt--,ve===10&&(wt=1,En--),ve}function Me(){return ve=Re<Ni?Se(At,Re++):0,wt++,ve===10&&(wt=1,En++),ve}function Ye(){return Se(At,Re)}function An(){return Re}function _t(e,t){return jt(At,e,t)}function Jt(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 Fi(e){return En=wt=1,Ni=je(At=e),Re=0,[]}function Pi(e){return At="",e}function Sn(e){return Si(_t(Re-1,Mr(e===91?e+2:e===40?e+1:e)))}function Ec(e){for(;(ve=Ye())&&ve<33;)Me();return Jt(e)>2||Jt(ve)>3?"":" "}function wc(e,t){for(;--t&&Me()&&!(ve<48||ve>102||ve>57&&ve<65||ve>70&&ve<97););return _t(e,An()+(t<6&&Ye()==32&&Me()==32))}function Mr(e){for(;Me();)switch(ve){case e:return Re;case 34:case 39:e!==34&&e!==39&&Mr(ve);break;case 40:e===41&&Mr(e);break;case 92:Me();break}return Re}function Ac(e,t){for(;Me()&&e+ve!==47+10;)if(e+ve===42+42&&Ye()===47)break;return"/*"+_t(t,Re-1)+"*"+In(e===47?e:Me())}function Sc(e){for(;!Jt(Ye());)Me();return _t(e,Re)}function Nc(e){return Pi(Nn("",null,null,null,[""],e=Fi(e),0,[0],e))}function Nn(e,t,n,o,r,i,s,a,l){for(var u=0,c=0,f=s,p=0,h=0,m=0,v=1,C=1,x=1,E=0,w="",y=r,I=i,A=o,S=w;C;)switch(m=E,E=Me()){case 40:if(m!=108&&Se(S,f-1)==58){Rr(S+=te(Sn(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:S+=Sn(E);break;case 9:case 10:case 13:case 32:S+=Ec(m);break;case 92:S+=wc(An()-1,7);continue;case 47:switch(Ye()){case 42:case 47:xn(Fc(Ac(Me(),An()),t,n),l);break;default:S+="/"}break;case 123*v:a[u++]=je(S)*x;case 125*v:case 59:case 0:switch(E){case 0:case 125:C=0;case 59+c:h>0&&je(S)-f&&xn(h>32?Ti(S+";",o,n,f-1):Ti(te(S," ","")+";",o,n,f-2),l);break;case 59:S+=";";default:if(xn(A=Gi(S,t,n,u,c,r,a,w,y=[],I=[],f),i),E===123)if(c===0)Nn(S,t,A,A,y,i,f,a,I);else switch(p===99&&Se(S,3)===110?100:p){case 100:case 109:case 115:Nn(e,A,A,o&&xn(Gi(e,A,A,0,0,r,a,w,r,y=[],f),I),r,I,f,a,o?y:I);break;default:Nn(S,A,A,A,[""],I,0,a,I)}}u=c=h=0,v=x=1,w=S="",f=s;break;case 58:f=1+je(S),h=m;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&xc()==125)continue}switch(S+=In(E),E*v){case 38:x=c>0?1:(S+="\f",-1);break;case 44:a[u++]=(je(S)-1)*x,x=1;break;case 64:Ye()===45&&(S+=Sn(Me())),p=Ye(),c=f=je(w=S+=Sc(An())),E++;break;case 45:m===45&&je(S)==2&&(v=0)}}return i}function Gi(e,t,n,o,r,i,s,a,l,u,c){for(var f=r-1,p=r===0?i:[""],h=Br(p),m=0,v=0,C=0;m<o;++m)for(var x=0,E=jt(e,f+1,f=bc(v=s[m])),w=e;x<h;++x)(w=Si(v>0?p[x]+" "+E:te(E,/&\f/g,p[x])))&&(l[C++]=w);return wn(e,t,n,r===0?Vr:a,l,u,c)}function Fc(e,t,n){return wn(e,t,n,Tr,In(Ic()),jt(e,2,-2),0)}function Ti(e,t,n,o){return wn(e,t,n,Or,jt(e,0,o),jt(e,o+1,-1),o)}function St(e,t){for(var n="",o=Br(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Pc(e,t,n,o){switch(e.type){case mc:case Or:return e.return=e.return||e.value;case Tr:return"";case Ai:return e.return=e.value+"{"+St(e.children,o)+"}";case Vr:e.value=e.props.join(",")}return je(n=St(e.children,o))?e.return=e.value+"{"+n+"}":""}function Gc(e){var t=Br(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}function Tc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Oc=function(t,n,o){for(var r=0,i=0;r=i,i=Ye(),r===38&&i===12&&(n[o]=1),!Jt(i);)Me();return _t(t,Re)},Rc=function(t,n){var o=-1,r=44;do switch(Jt(r)){case 0:r===38&&Ye()===12&&(n[o]=1),t[o]+=Oc(Re-1,n,o);break;case 2:t[o]+=Sn(r);break;case 4:if(r===44){t[++o]=Ye()===58?"&\f":"",n[o]=t[o].length;break}default:t[o]+=In(r)}while(r=Me());return t},Bc=function(t,n){return Pi(Rc(Fi(t),n))},Vi=new WeakMap,Mc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,o=t.parent,r=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Vi.get(o))&&!r){Vi.set(t,!0);for(var i=[],s=Bc(n,i),a=o.props,l=0,u=0;l<s.length;l++)for(var c=0;c<a.length;c++,u++)t.props[u]=i[l]?s[l].replace(/&\f/g,a[c]):a[c]+" "+s[l]}}},Dc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Lc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",kc=function(t){return t.type==="comm"&&t.children.indexOf(Lc)>-1},Wc=function(t){return function(n,o,r){if(!(n.type!=="rule"||t.compat)){var i=n.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var s=n.parent===r[0],a=s?r[0].children:r,l=a.length-1;l>=0;l--){var u=a[l];if(u.line<n.line)break;if(u.column<n.column){if(kc(u))return;break}}i.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Oi=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Xc=function(t,n){for(var o=t-1;o>=0;o--)if(!Oi(n[o]))return!0;return!1},Ri=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Zc=function(t,n,o){!Oi(t)||(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ri(t)):Xc(n,o)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ri(t)))};function Bi(e,t){switch(vc(e,t)){case 5103:return q+"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 q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+yn+e+Ne+e+e;case 6828:case 4268:return q+e+Ne+e+e;case 6165:return q+e+Ne+"flex-"+e+e;case 5187:return q+e+te(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+Ne+"flex-$1$2")+e;case 5443:return q+e+Ne+"flex-item-"+te(e,/flex-|-self/,"")+e;case 4675:return q+e+Ne+"flex-line-pack"+te(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+Ne+te(e,"shrink","negative")+e;case 5292:return q+e+Ne+te(e,"basis","preferred-size")+e;case 6060:return q+"box-"+te(e,"-grow","")+q+e+Ne+te(e,"grow","positive")+e;case 4554:return q+te(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+Ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,q+"$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(je(e)-1-t>6)switch(Se(e,t+1)){case 109:if(Se(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+yn+(Se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rr(e,"stretch")?Bi(te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Se(e,t+1)!==115)break;case 6444:switch(Se(e,je(e)-3-(~Rr(e,"!important")&&10))){case 107:return te(e,":",":"+q)+e;case 101:return te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Se(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+Ne+"$2box$3")+e}break;case 5936:switch(Se(e,t+11)){case 114:return q+e+Ne+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Ne+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Ne+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Ne+e+e}return e}var Hc=function(t,n,o,r){if(t.length>-1&&!t.return)switch(t.type){case Or:t.return=Bi(t.value,t.length);break;case Ai:return St([Yt(t,{value:te(t.value,"@","@"+q)})],r);case Vr:if(t.length)return yc(t.props,function(i){switch(Cc(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([Yt(t,{props:[te(i,/:(read-\w+)/,":"+yn+"$1")]})],r);case"::placeholder":return St([Yt(t,{props:[te(i,/:(plac\w+)/,":"+q+"input-$1")]}),Yt(t,{props:[te(i,/:(plac\w+)/,":"+yn+"$1")]}),Yt(t,{props:[te(i,/:(plac\w+)/,Ne+"input-$1")]})],r)}return""})}},zc=[Hc],jc=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
39
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(v){var C=v.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var r=t.stylisPlugins||zc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var C=v.getAttribute("data-emotion").split(" "),x=1;x<C.length;x++)i[C[x]]=!0;a.push(v)});var l,u=[Mc,Dc];process.env.NODE_ENV!=="production"&&u.push(Wc({get compat(){return m.compat}}),Zc);{var c,f=[Pc,process.env.NODE_ENV!=="production"?function(v){v.root||(v.return?c.insert(v.return):v.value&&v.type!==Tr&&c.insert(v.value+"{}"))}:Tc(function(v){c.insert(v)})],p=Gc(u.concat(r,f)),h=function(C){return St(Nc(C),p)};l=function(C,x,E,w){c=E,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(c={insert:function(I){E.insert(I+x.map)}}),h(C?C+"{"+x.styles+"}":x.styles),w&&(m.inserted[x.name]=!0)}}var m={key:n,sheet:new gc({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return m.sheet.hydrate(a),m},Mi={exports:{}},ne={};/** @license React v16.13.1
40
40
  * react-is.production.min.js
41
41
  *
42
42
  * Copyright (c) Facebook, Inc. and its affiliates.
43
43
  *
44
44
  * This source code is licensed under the MIT license found in the
45
45
  * LICENSE file in the root directory of this source tree.
46
- */var Di;function Yc(){if(Di)return ne;Di=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(x){if(typeof x=="object"&&x!==null){var A=x.$$typeof;switch(A){case t:switch(x=x.type,x){case l:case u:case o:case i:case r:case f:return x;default:switch(x=x&&x.$$typeof,x){case a:case c:case b:case h:case s:return x;default:return A}}case n:return A}}}function C(x){return w(x)===u}return ne.AsyncMode=l,ne.ConcurrentMode=u,ne.ContextConsumer=a,ne.ContextProvider=s,ne.Element=t,ne.ForwardRef=c,ne.Fragment=o,ne.Lazy=b,ne.Memo=h,ne.Portal=n,ne.Profiler=i,ne.StrictMode=r,ne.Suspense=f,ne.isAsyncMode=function(x){return C(x)||w(x)===l},ne.isConcurrentMode=C,ne.isContextConsumer=function(x){return w(x)===a},ne.isContextProvider=function(x){return w(x)===s},ne.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},ne.isForwardRef=function(x){return w(x)===c},ne.isFragment=function(x){return w(x)===o},ne.isLazy=function(x){return w(x)===b},ne.isMemo=function(x){return w(x)===h},ne.isPortal=function(x){return w(x)===n},ne.isProfiler=function(x){return w(x)===i},ne.isStrictMode=function(x){return w(x)===r},ne.isSuspense=function(x){return w(x)===f},ne.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===o||x===u||x===i||x===r||x===f||x===p||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===h||x.$$typeof===s||x.$$typeof===a||x.$$typeof===c||x.$$typeof===y||x.$$typeof===I||x.$$typeof===E||x.$$typeof===v)},ne.typeOf=w,ne}var re={};/** @license React v16.13.1
46
+ */var Di;function Yc(){if(Di)return ne;Di=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(I){if(typeof I=="object"&&I!==null){var A=I.$$typeof;switch(A){case t:switch(I=I.type,I){case l:case u:case o:case i:case r:case f:return I;default:switch(I=I&&I.$$typeof,I){case a:case c:case m:case h:case s:return I;default:return A}}case n:return A}}}function y(I){return w(I)===u}return ne.AsyncMode=l,ne.ConcurrentMode=u,ne.ContextConsumer=a,ne.ContextProvider=s,ne.Element=t,ne.ForwardRef=c,ne.Fragment=o,ne.Lazy=m,ne.Memo=h,ne.Portal=n,ne.Profiler=i,ne.StrictMode=r,ne.Suspense=f,ne.isAsyncMode=function(I){return y(I)||w(I)===l},ne.isConcurrentMode=y,ne.isContextConsumer=function(I){return w(I)===a},ne.isContextProvider=function(I){return w(I)===s},ne.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===t},ne.isForwardRef=function(I){return w(I)===c},ne.isFragment=function(I){return w(I)===o},ne.isLazy=function(I){return w(I)===m},ne.isMemo=function(I){return w(I)===h},ne.isPortal=function(I){return w(I)===n},ne.isProfiler=function(I){return w(I)===i},ne.isStrictMode=function(I){return w(I)===r},ne.isSuspense=function(I){return w(I)===f},ne.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===o||I===u||I===i||I===r||I===f||I===p||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===h||I.$$typeof===s||I.$$typeof===a||I.$$typeof===c||I.$$typeof===C||I.$$typeof===x||I.$$typeof===E||I.$$typeof===v)},ne.typeOf=w,ne}var re={};/** @license React v16.13.1
47
47
  * react-is.development.js
48
48
  *
49
49
  * Copyright (c) Facebook, Inc. and its affiliates.
50
50
  *
51
51
  * This source code is licensed under the MIT license found in the
52
52
  * LICENSE file in the root directory of this source tree.
53
- */var Li;function _c(){return Li||(Li=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(k){return typeof k=="string"||typeof k=="function"||k===o||k===u||k===i||k===r||k===f||k===p||typeof k=="object"&&k!==null&&(k.$$typeof===b||k.$$typeof===h||k.$$typeof===s||k.$$typeof===a||k.$$typeof===c||k.$$typeof===y||k.$$typeof===I||k.$$typeof===E||k.$$typeof===v)}function C(k){if(typeof k=="object"&&k!==null){var et=k.$$typeof;switch(et){case t:var He=k.type;switch(He){case l:case u:case o:case i:case r:case f:return He;default:var De=He&&He.$$typeof;switch(De){case a:case c:case b:case h:case s:return De;default:return et}}case n:return et}}}var x=l,A=u,S=a,O=s,R=t,P=c,W=o,Z=b,B=h,N=n,D=i,L=r,Y=f,X=!1;function U(k){return X||(X=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),de(k)||C(k)===l}function de(k){return C(k)===u}function Re(k){return C(k)===a}function le(k){return C(k)===s}function me(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function Fe(k){return C(k)===c}function Ee(k){return C(k)===o}function ye(k){return C(k)===b}function we(k){return C(k)===h}function Pe(k){return C(k)===n}function Le(k){return C(k)===i}function _e(k){return C(k)===r}function ut(k){return C(k)===f}re.AsyncMode=x,re.ConcurrentMode=A,re.ContextConsumer=S,re.ContextProvider=O,re.Element=R,re.ForwardRef=P,re.Fragment=W,re.Lazy=Z,re.Memo=B,re.Portal=N,re.Profiler=D,re.StrictMode=L,re.Suspense=Y,re.isAsyncMode=U,re.isConcurrentMode=de,re.isContextConsumer=Re,re.isContextProvider=le,re.isElement=me,re.isForwardRef=Fe,re.isFragment=Ee,re.isLazy=ye,re.isMemo=we,re.isPortal=Pe,re.isProfiler=Le,re.isStrictMode=_e,re.isSuspense=ut,re.isValidElementType=w,re.typeOf=C}()),re}(function(e){process.env.NODE_ENV==="production"?e.exports=Yc():e.exports=_c()})(Mi);var ki=Mi.exports,Jc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wi={};Wi[ki.ForwardRef]=Jc,Wi[ki.Memo]=$c;var Uc=!0;function Xi(e,t,n){var o="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):o+=r+" "}),o}var Mr=function(t,n,o){var r=t.key+"-"+n.name;(o===!1||Uc===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Dr=function(t,n,o){Mr(t,n,o);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+r:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Qc(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){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 Kc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Zi=`You have illegal escape sequence in your template literal, most likely inside content's property value.
53
+ */var Li;function _c(){return Li||(Li=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(k){return typeof k=="string"||typeof k=="function"||k===o||k===u||k===i||k===r||k===f||k===p||typeof k=="object"&&k!==null&&(k.$$typeof===m||k.$$typeof===h||k.$$typeof===s||k.$$typeof===a||k.$$typeof===c||k.$$typeof===C||k.$$typeof===x||k.$$typeof===E||k.$$typeof===v)}function y(k){if(typeof k=="object"&&k!==null){var et=k.$$typeof;switch(et){case t:var He=k.type;switch(He){case l:case u:case o:case i:case r:case f:return He;default:var De=He&&He.$$typeof;switch(De){case a:case c:case m:case h:case s:return De;default:return et}}case n:return et}}}var I=l,A=u,S=a,O=s,M=t,P=c,W=o,Z=m,R=h,N=n,D=i,L=r,Y=f,X=!1;function $(k){return X||(X=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),de(k)||y(k)===l}function de(k){return y(k)===u}function Be(k){return y(k)===a}function le(k){return y(k)===s}function me(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function Fe(k){return y(k)===c}function Ee(k){return y(k)===o}function ye(k){return y(k)===m}function we(k){return y(k)===h}function Pe(k){return y(k)===n}function Le(k){return y(k)===i}function _e(k){return y(k)===r}function ut(k){return y(k)===f}re.AsyncMode=I,re.ConcurrentMode=A,re.ContextConsumer=S,re.ContextProvider=O,re.Element=M,re.ForwardRef=P,re.Fragment=W,re.Lazy=Z,re.Memo=R,re.Portal=N,re.Profiler=D,re.StrictMode=L,re.Suspense=Y,re.isAsyncMode=$,re.isConcurrentMode=de,re.isContextConsumer=Be,re.isContextProvider=le,re.isElement=me,re.isForwardRef=Fe,re.isFragment=Ee,re.isLazy=ye,re.isMemo=we,re.isPortal=Pe,re.isProfiler=Le,re.isStrictMode=_e,re.isSuspense=ut,re.isValidElementType=w,re.typeOf=y}()),re}(function(e){process.env.NODE_ENV==="production"?e.exports=Yc():e.exports=_c()})(Mi);var ki=Mi.exports,Jc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wi={};Wi[ki.ForwardRef]=Jc,Wi[ki.Memo]=$c;var Uc=!0;function Xi(e,t,n){var o="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):o+=r+" "}),o}var Dr=function(t,n,o){var r=t.key+"-"+n.name;(o===!1||Uc===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Lr=function(t,n,o){Dr(t,n,o);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+r:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Qc(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){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 Kc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Zi=`You have illegal escape sequence in your template literal, most likely inside content's property value.
54
54
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
55
55
  You can read more about this here:
56
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,qc="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ed=/[A-Z]|^ms/g,Hi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lr=function(t){return t.charCodeAt(1)===45},zi=function(t){return t!=null&&typeof t!="boolean"},kr=Vc(function(e){return Lr(e)?e:e.replace(ed,"-$&").toLowerCase()}),Fn=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Hi,function(o,r,i){return Ze={name:r,styles:i,next:Ze},r})}return Kc[t]!==1&&!Lr(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var td=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,nd=["normal","none","initial","inherit","unset"],rd=Fn,od=/^-ms-/,id=/-(.)/g,ji={};Fn=function(t,n){if(t==="content"&&(typeof n!="string"||nd.indexOf(n)===-1&&!td.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var o=rd(t,n);return o!==""&&!Lr(t)&&t.indexOf("-")!==-1&&ji[t]===void 0&&(ji[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(od,"ms-").replace(id,function(r,i){return i.toUpperCase()})+"?")),o}}var Yi="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function $t(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Yi);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Ze={name:n.name,styles:n.styles,next:Ze},n.name;if(n.styles!==void 0){var o=n.next;if(o!==void 0)for(;o!==void 0;)Ze={name:o.name,styles:o.styles,next:Ze},o=o.next;var r=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(r+=n.map),r}return ad(e,t,n)}case"function":{if(e!==void 0){var i=Ze,s=n(e);return Ze=i,$t(e,t,s)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var a=[],l=n.replace(Hi,function(c,f,p){var h="animation"+a.length;return a.push("const "+h+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+h+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+l+"`"]).join(`
56
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,qc="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ed=/[A-Z]|^ms/g,Hi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kr=function(t){return t.charCodeAt(1)===45},zi=function(t){return t!=null&&typeof t!="boolean"},Wr=Vc(function(e){return kr(e)?e:e.replace(ed,"-$&").toLowerCase()}),Fn=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Hi,function(o,r,i){return Ze={name:r,styles:i,next:Ze},r})}return Kc[t]!==1&&!kr(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var td=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,nd=["normal","none","initial","inherit","unset"],rd=Fn,od=/^-ms-/,id=/-(.)/g,ji={};Fn=function(t,n){if(t==="content"&&(typeof n!="string"||nd.indexOf(n)===-1&&!td.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var o=rd(t,n);return o!==""&&!kr(t)&&t.indexOf("-")!==-1&&ji[t]===void 0&&(ji[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(od,"ms-").replace(id,function(r,i){return i.toUpperCase()})+"?")),o}}var Yi="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function $t(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Yi);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Ze={name:n.name,styles:n.styles,next:Ze},n.name;if(n.styles!==void 0){var o=n.next;if(o!==void 0)for(;o!==void 0;)Ze={name:o.name,styles:o.styles,next:Ze},o=o.next;var r=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(r+=n.map),r}return ad(e,t,n)}case"function":{if(e!==void 0){var i=Ze,s=n(e);return Ze=i,$t(e,t,s)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var a=[],l=n.replace(Hi,function(c,f,p){var h="animation"+a.length;return a.push("const "+h+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+h+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+l+"`"]).join(`
57
57
  `)+`
58
58
 
59
59
  You should wrap it with \`css\` like this:
60
60
 
61
- `+("css`"+l+"`"))}break}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function ad(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=$t(e,t,n[r])+";";else for(var i in n){var s=n[i];if(typeof s!="object")t!=null&&t[s]!==void 0?o+=i+"{"+t[s]+"}":zi(s)&&(o+=kr(i)+":"+Fn(i,s)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Yi);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)zi(s[a])&&(o+=kr(i)+":"+Fn(i,s[a])+";");else{var l=$t(e,t,s);switch(i){case"animation":case"animationName":{o+=kr(i)+":"+l+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(qc),o+=i+"{"+l+"}"}}}}return o}var _i=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ji;process.env.NODE_ENV!=="production"&&(Ji=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ze,Ut=function(t,n,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,i="";Ze=void 0;var s=t[0];s==null||s.raw===void 0?(r=!1,i+=$t(o,n,s)):(process.env.NODE_ENV!=="production"&&s[0]===void 0&&console.error(Zi),i+=s[0]);for(var a=1;a<t.length;a++)i+=$t(o,n,t[a]),r&&(process.env.NODE_ENV!=="production"&&s[a]===void 0&&console.error(Zi),i+=s[a]);var l;process.env.NODE_ENV!=="production"&&(i=i.replace(Ji,function(p){return l=p,""})),_i.lastIndex=0;for(var u="",c;(c=_i.exec(i))!==null;)u+="-"+c[1];var f=Qc(i)+u;return process.env.NODE_ENV!=="production"?{name:f,styles:i,map:l,next:Ze,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:i,next:Ze}},sd=function(t){return t()},$i=T["useInsertionEffect"]?T["useInsertionEffect"]:!1,Ui=$i||sd,Qi=$i||g.useLayoutEffect,Wr={}.hasOwnProperty,Xr=g.createContext(typeof HTMLElement<"u"?jc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Xr.displayName="EmotionCacheContext"),Xr.Provider;var Zr=function(t){return g.forwardRef(function(n,o){var r=g.useContext(Xr);return t(n,r,o)})},Pn=g.createContext({});process.env.NODE_ENV!=="production"&&(Pn.displayName="EmotionThemeContext");var Ki=function(t){var n=t.split(".");return n[n.length-1]},ld=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return Ki(n[1])},ud=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),cd=function(t){return t.replace(/\$/g,"-")},dd=function(t){if(!!t)for(var n=t.split(`
62
- `),o=0;o<n.length;o++){var r=ld(n[o]);if(!!r){if(ud.has(r))break;if(/^[A-Z]/.test(r))return cd(r)}}},Hr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",fd=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var o={};for(var r in n)Wr.call(n,r)&&(o[r]=n[r]);if(o[Hr]=t,process.env.NODE_ENV!=="production"&&!!n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var i=dd(new Error().stack);i&&(o[zr]=i)}return o},pd=function(t){var n=t.cache,o=t.serialized,r=t.isStringTag;return Mr(n,o,r),Ui(function(){return Dr(n,o,r)}),null},qi=Zr(function(e,t,n){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var r=e[Hr],i=[o],s="";typeof e.className=="string"?s=Xi(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=Ut(i,void 0,g.useContext(Pn));if(process.env.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var l=e[zr];l&&(a=Ut([a,"label:"+l+";"]))}s+=t.key+"-"+a.name;var u={};for(var c in e)Wr.call(e,c)&&c!=="css"&&c!==Hr&&(process.env.NODE_ENV==="production"||c!==zr)&&(u[c]=e[c]);return u.ref=n,u.className=s,g.createElement(g.Fragment,null,g.createElement(pd,{cache:t,serialized:a,isStringTag:typeof r=="string"}),g.createElement(r,u))});process.env.NODE_ENV!=="production"&&(qi.displayName="EmotionCssPropInternal");var gd={name:"@emotion/react",version:"11.10.5",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.5","@emotion/cache":"^11.10.5","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{"@babel/core":"^7.0.0",react:">=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.18.5","@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.5","@emotion/css-prettifier":"1.1.1","@emotion/server":"11.10.0","@emotion/styled":"11.10.5","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},H=function(t,n){var o=arguments;if(n==null||!Wr.call(n,"css"))return g.createElement.apply(void 0,o);var r=o.length,i=new Array(r);i[0]=qi,i[1]=fd(t,n);for(var s=2;s<r;s++)i[s]=o[s];return g.createElement.apply(null,i)},ea=!1,md=Zr(function(e,t){process.env.NODE_ENV!=="production"&&!ea&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),ea=!0);var n=e.styles,o=Ut([n],void 0,g.useContext(Pn)),r=g.useRef();return Qi(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+o.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),r.current=[s,a],function(){s.flush()}},[t]),Qi(function(){var i=r.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(o.next!==void 0&&Dr(t,o.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",o,s,!1)},[t,o.name]),null});process.env.NODE_ENV!=="production"&&(md.displayName="EmotionGlobal");function jr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ut(t)}var bd=function(){var t=jr.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},hd=function e(t){for(var n=t.length,o=0,r="";o<n;o++){var i=t[o];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),s="";for(var a in i)i[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=i}s&&(r&&(r+=" "),r+=s)}}return r};function vd(e,t,n){var o=[],r=Xi(e,o,n);return o.length<2?n:r+t(o)}var Cd=function(t){var n=t.cache,o=t.serializedArr;return Ui(function(){for(var r=0;r<o.length;r++)Dr(n,o[r],!1)}),null},ta=Zr(function(e,t){var n=!1,o=[],r=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];var p=Ut(c,t.registered);return o.push(p),Mr(t,p,!1),t.key+"-"+p.name},i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return vd(t.registered,r,hd(c))},s={css:r,cx:i,theme:g.useContext(Pn)},a=e.children(s);return n=!0,g.createElement(g.Fragment,null,g.createElement(Cd,{cache:t,serializedArr:o}),a)});if(process.env.NODE_ENV!=="production"&&(ta.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var na=!0,yd=typeof jest<"u"||typeof vi<"u";if(na&&!yd){var ra=typeof globalThis<"u"?globalThis:na?window:global,oa="__EMOTION_REACT_"+gd.version.split(".")[0]+"__";ra[oa]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),ra[oa]=!0}}function Id(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Yr=g.useLayoutEffect,xd=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gn=function(){};function Ed(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function wd(e,t,n){var o=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&o.push("".concat(Ed(e,r)));return o.filter(function(i){return i}).map(function(i){return String(i).trim()}).join(" ")}var ia=function(t){return Bd(t)?t.filter(Boolean):Cn(t)==="object"&&t!==null?[t]:[]},aa=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=vt(t,xd);return ie({},n)};function Ad(e,t,n){if(n){var o=n(e,t);if(typeof o=="string")return o}return e}function Tn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Sd(e){return Tn(e)?window.innerHeight:e.clientHeight}function sa(e){return Tn(e)?window.pageYOffset:e.scrollTop}function Vn(e,t){if(Tn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Nd(e){var t=getComputedStyle(e),n=t.position==="absolute",o=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Fd(e,t,n,o){return n*((e=e/o-1)*e*e+1)+t}function On(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gn,r=sa(e),i=t-r,s=10,a=0;function l(){a+=s;var u=Fd(a,r,i,n);Vn(e,u),a<n?window.requestAnimationFrame(l):o(e)}l()}function la(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Vn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Vn(e,Math.max(t.offsetTop-r,0))}function Pd(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 ua(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Gd(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var ca=!1,Td={get passive(){return ca=!0}},Bn=typeof window<"u"?window:{};Bn.addEventListener&&Bn.removeEventListener&&(Bn.addEventListener("p",Gn,Td),Bn.removeEventListener("p",Gn,!1));var Vd=ca;function Od(e){return e!=null}function Bd(e){return Array.isArray(e)}function Rn(e,t,n){return e?t:n}function m1(e){return e}function b1(e){return e}var Rd=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];var i=Object.entries(t).filter(function(s){var a=xe(s,1),l=a[0];return!o.includes(l)});return i.reduce(function(s,a){var l=xe(a,2),u=l[0],c=l[1];return s[u]=c,s},{})};function Md(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.theme,l=a.spacing,u=Nd(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var f=u.getBoundingClientRect(),p=f.height,h=n.getBoundingClientRect(),b=h.bottom,v=h.height,y=h.top,I=n.offsetParent.getBoundingClientRect(),E=I.top,w=s?window.innerHeight:Sd(u),C=sa(u),x=parseInt(getComputedStyle(n).marginBottom,10),A=parseInt(getComputedStyle(n).marginTop,10),S=E-A,O=w-y,R=S+C,P=p-C-y,W=b-w+C+x,Z=C+y-A,B=160;switch(r){case"auto":case"bottom":if(O>=v)return{placement:"bottom",maxHeight:t};if(P>=v&&!s)return i&&On(u,W,B),{placement:"bottom",maxHeight:t};if(!s&&P>=o||s&&O>=o){i&&On(u,W,B);var N=s?O-x:P-x;return{placement:"bottom",maxHeight:N}}if(r==="auto"||s){var D=t,L=s?S:R;return L>=o&&(D=Math.min(L-x-l.controlHeight,t)),{placement:"top",maxHeight:D}}if(r==="bottom")return i&&Vn(u,W),{placement:"bottom",maxHeight:t};break;case"top":if(S>=v)return{placement:"top",maxHeight:t};if(R>=v&&!s)return i&&On(u,Z,B),{placement:"top",maxHeight:t};if(!s&&R>=o||s&&S>=o){var Y=t;return(!s&&R>=o||s&&S>=o)&&(Y=s?S-A:R-A),i&&On(u,Z,B),{placement:"top",maxHeight:Y}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}function Dd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var da=function(t){return t==="auto"?"bottom":t},Ld=function(t){var n,o=t.placement,r=t.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return n={label:"menu"},Xe(n,Dd(o),"100%"),Xe(n,"backgroundColor",a.neutral0),Xe(n,"borderRadius",i),Xe(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Xe(n,"marginBottom",s.menuGutter),Xe(n,"marginTop",s.menuGutter),Xe(n,"position","absolute"),Xe(n,"width","100%"),Xe(n,"zIndex",1),n},fa=g.createContext(null),kd=function(t){var n=t.children,o=t.minMenuHeight,r=t.maxMenuHeight,i=t.menuPlacement,s=t.menuPosition,a=t.menuShouldScrollIntoView,l=t.theme,u=g.useContext(fa)||{},c=u.setPortalPlacement,f=g.useRef(null),p=g.useState(r),h=xe(p,2),b=h[0],v=h[1],y=g.useState(null),I=xe(y,2),E=I[0],w=I[1];return Yr(function(){var C=f.current;if(!!C){var x=s==="fixed",A=a&&!x,S=Md({maxHeight:r,menuEl:C,minHeight:o,placement:i,shouldScroll:A,isFixedPosition:x,theme:l});v(S.maxHeight),w(S.placement),c==null||c(S.placement)}},[r,i,s,a,o,c,l]),n({ref:f,placerProps:ie(ie({},t),{},{placement:E||da(i),maxHeight:b})})},Wd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerRef,a=t.innerProps;return H("div",ae({css:i("menu",t),className:r({menu:!0},o),ref:s},a),n)},Xd=function(t){var n=t.maxHeight,o=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:o,paddingTop:o,position:"relative",WebkitOverflowScrolling:"touch"}},Zd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps,a=t.innerRef,l=t.isMulti;return H("div",ae({css:i("menuList",t),className:r({"menu-list":!0,"menu-list--is-multi":l},o),ref:a},s),n)},pa=function(t){var n=t.theme,o=n.spacing.baseUnit,r=n.colors;return{color:r.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px"),textAlign:"center"}},Hd=pa,zd=pa,ga=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("noOptionsMessage",t),className:r({"menu-notice":!0,"menu-notice--no-options":!0},o)},s),n)};ga.defaultProps={children:"No options"};var ma=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("loadingMessage",t),className:r({"menu-notice":!0,"menu-notice--loading":!0},o)},s),n)};ma.defaultProps={children:"Loading..."};var jd=function(t){var n=t.rect,o=t.offset,r=t.position;return{left:n.left,position:r,top:o,width:n.width,zIndex:1}},Yd=function(t){var n=t.appendTo,o=t.children,r=t.className,i=t.controlElement,s=t.cx,a=t.innerProps,l=t.menuPlacement,u=t.menuPosition,c=t.getStyles,f=g.useRef(null),p=g.useRef(null),h=g.useState(da(l)),b=xe(h,2),v=b[0],y=b[1],I=g.useMemo(function(){return{setPortalPlacement:y}},[]),E=g.useState(null),w=xe(E,2),C=w[0],x=w[1],A=g.useCallback(function(){if(!!i){var P=Pd(i),W=u==="fixed"?0:window.pageYOffset,Z=P[v]+W;(Z!==(C==null?void 0:C.offset)||P.left!==(C==null?void 0:C.rect.left)||P.width!==(C==null?void 0:C.rect.width))&&x({offset:Z,rect:P})}},[i,u,v,C==null?void 0:C.offset,C==null?void 0:C.rect.left,C==null?void 0:C.rect.width]);Yr(function(){A()},[A]);var S=g.useCallback(function(){typeof p.current=="function"&&(p.current(),p.current=null),i&&f.current&&(p.current=li(i,f.current,A,{elementResize:"ResizeObserver"in window}))},[i,A]);Yr(function(){S()},[S]);var O=g.useCallback(function(P){f.current=P,S()},[S]);if(!n&&u!=="fixed"||!C)return null;var R=H("div",ae({ref:O,css:c("menuPortal",{offset:C.offset,position:u,rect:C.rect}),className:s({"menu-portal":!0},r)},a),o);return H(fa.Provider,{value:I},n?Ot.createPortal(R,n):R)},_d=function(t){var n=t.isDisabled,o=t.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Jd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps,a=t.isDisabled,l=t.isRtl;return H("div",ae({css:i("container",t),className:r({"--is-disabled":a,"--is-rtl":l},o)},s),n)},$d=function(t){var n=t.theme.spacing,o=t.isMulti,r=t.hasValue,i=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Ud=function(t){var n=t.children,o=t.className,r=t.cx,i=t.innerProps,s=t.isMulti,a=t.getStyles,l=t.hasValue;return H("div",ae({css:a("valueContainer",t),className:r({"value-container":!0,"value-container--is-multi":s,"value-container--has-value":l},o)},i),n)},Qd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Kd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.innerProps,s=t.getStyles;return H("div",ae({css:s("indicatorsContainer",t),className:r({indicators:!0},o)},i),n)},ba,qd=["size"];function ef(){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 tf=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0g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cm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:ef},ha=function(t){var n=t.size,o=vt(t,qd);return H("svg",ae({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tf},o))},_r=function(t){return H(ha,ae({size:20},t),H("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"}))},va=function(t){return H(ha,ae({size:20},t),H("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"}))},Ca=function(t){var n=t.isFocused,o=t.theme,r=o.spacing.baseUnit,i=o.colors;return{label:"indicatorContainer",color:n?i.neutral60:i.neutral20,display:"flex",padding:r*2,transition:"color 150ms",":hover":{color:n?i.neutral80:i.neutral40}}},nf=Ca,rf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("dropdownIndicator",t),className:r({indicator:!0,"dropdown-indicator":!0},o)},s),n||H(va,null))},of=Ca,af=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("clearIndicator",t),className:r({indicator:!0,"clear-indicator":!0},o)},s),n||H(_r,null))},sf=function(t){var n=t.isDisabled,o=t.theme,r=o.spacing.baseUnit,i=o.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?i.neutral10:i.neutral20,marginBottom:r*2,marginTop:r*2,width:1}},lf=function(t){var n=t.className,o=t.cx,r=t.getStyles,i=t.innerProps;return H("span",ae({},i,{css:r("indicatorSeparator",t),className:o({"indicator-separator":!0},n)}))},uf=bd(ba||(ba=Id([`
61
+ `+("css`"+l+"`"))}break}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function ad(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=$t(e,t,n[r])+";";else for(var i in n){var s=n[i];if(typeof s!="object")t!=null&&t[s]!==void 0?o+=i+"{"+t[s]+"}":zi(s)&&(o+=Wr(i)+":"+Fn(i,s)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Yi);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)zi(s[a])&&(o+=Wr(i)+":"+Fn(i,s[a])+";");else{var l=$t(e,t,s);switch(i){case"animation":case"animationName":{o+=Wr(i)+":"+l+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(qc),o+=i+"{"+l+"}"}}}}return o}var _i=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ji;process.env.NODE_ENV!=="production"&&(Ji=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ze,Ut=function(t,n,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,i="";Ze=void 0;var s=t[0];s==null||s.raw===void 0?(r=!1,i+=$t(o,n,s)):(process.env.NODE_ENV!=="production"&&s[0]===void 0&&console.error(Zi),i+=s[0]);for(var a=1;a<t.length;a++)i+=$t(o,n,t[a]),r&&(process.env.NODE_ENV!=="production"&&s[a]===void 0&&console.error(Zi),i+=s[a]);var l;process.env.NODE_ENV!=="production"&&(i=i.replace(Ji,function(p){return l=p,""})),_i.lastIndex=0;for(var u="",c;(c=_i.exec(i))!==null;)u+="-"+c[1];var f=Qc(i)+u;return process.env.NODE_ENV!=="production"?{name:f,styles:i,map:l,next:Ze,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:i,next:Ze}},sd=function(t){return t()},$i=T["useInsertionEffect"]?T["useInsertionEffect"]:!1,Ui=$i||sd,Qi=$i||g.useLayoutEffect,Xr={}.hasOwnProperty,Zr=g.createContext(typeof HTMLElement<"u"?jc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Zr.displayName="EmotionCacheContext"),Zr.Provider;var Hr=function(t){return g.forwardRef(function(n,o){var r=g.useContext(Zr);return t(n,r,o)})},Pn=g.createContext({});process.env.NODE_ENV!=="production"&&(Pn.displayName="EmotionThemeContext");var Ki=function(t){var n=t.split(".");return n[n.length-1]},ld=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return Ki(n[1])},ud=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),cd=function(t){return t.replace(/\$/g,"-")},dd=function(t){if(!!t)for(var n=t.split(`
62
+ `),o=0;o<n.length;o++){var r=ld(n[o]);if(!!r){if(ud.has(r))break;if(/^[A-Z]/.test(r))return cd(r)}}},zr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",fd=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var o={};for(var r in n)Xr.call(n,r)&&(o[r]=n[r]);if(o[zr]=t,process.env.NODE_ENV!=="production"&&!!n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var i=dd(new Error().stack);i&&(o[jr]=i)}return o},pd=function(t){var n=t.cache,o=t.serialized,r=t.isStringTag;return Dr(n,o,r),Ui(function(){return Lr(n,o,r)}),null},qi=Hr(function(e,t,n){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var r=e[zr],i=[o],s="";typeof e.className=="string"?s=Xi(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=Ut(i,void 0,g.useContext(Pn));if(process.env.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var l=e[jr];l&&(a=Ut([a,"label:"+l+";"]))}s+=t.key+"-"+a.name;var u={};for(var c in e)Xr.call(e,c)&&c!=="css"&&c!==zr&&(process.env.NODE_ENV==="production"||c!==jr)&&(u[c]=e[c]);return u.ref=n,u.className=s,g.createElement(g.Fragment,null,g.createElement(pd,{cache:t,serialized:a,isStringTag:typeof r=="string"}),g.createElement(r,u))});process.env.NODE_ENV!=="production"&&(qi.displayName="EmotionCssPropInternal");var gd={name:"@emotion/react",version:"11.10.5",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.5","@emotion/cache":"^11.10.5","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{"@babel/core":"^7.0.0",react:">=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.18.5","@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.5","@emotion/css-prettifier":"1.1.1","@emotion/server":"11.10.0","@emotion/styled":"11.10.5","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},H=function(t,n){var o=arguments;if(n==null||!Xr.call(n,"css"))return g.createElement.apply(void 0,o);var r=o.length,i=new Array(r);i[0]=qi,i[1]=fd(t,n);for(var s=2;s<r;s++)i[s]=o[s];return g.createElement.apply(null,i)},ea=!1,md=Hr(function(e,t){process.env.NODE_ENV!=="production"&&!ea&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),ea=!0);var n=e.styles,o=Ut([n],void 0,g.useContext(Pn)),r=g.useRef();return Qi(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+o.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),r.current=[s,a],function(){s.flush()}},[t]),Qi(function(){var i=r.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(o.next!==void 0&&Lr(t,o.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",o,s,!1)},[t,o.name]),null});process.env.NODE_ENV!=="production"&&(md.displayName="EmotionGlobal");function Yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ut(t)}var bd=function(){var t=Yr.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},hd=function e(t){for(var n=t.length,o=0,r="";o<n;o++){var i=t[o];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),s="";for(var a in i)i[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=i}s&&(r&&(r+=" "),r+=s)}}return r};function vd(e,t,n){var o=[],r=Xi(e,o,n);return o.length<2?n:r+t(o)}var Cd=function(t){var n=t.cache,o=t.serializedArr;return Ui(function(){for(var r=0;r<o.length;r++)Lr(n,o[r],!1)}),null},ta=Hr(function(e,t){var n=!1,o=[],r=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];var p=Ut(c,t.registered);return o.push(p),Dr(t,p,!1),t.key+"-"+p.name},i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return vd(t.registered,r,hd(c))},s={css:r,cx:i,theme:g.useContext(Pn)},a=e.children(s);return n=!0,g.createElement(g.Fragment,null,g.createElement(Cd,{cache:t,serializedArr:o}),a)});if(process.env.NODE_ENV!=="production"&&(ta.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var na=!0,yd=typeof jest<"u"||typeof vi<"u";if(na&&!yd){var ra=typeof globalThis<"u"?globalThis:na?window:global,oa="__EMOTION_REACT_"+gd.version.split(".")[0]+"__";ra[oa]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),ra[oa]=!0}}function Id(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var _r=g.useLayoutEffect,xd=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gn=function(){};function Ed(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function wd(e,t,n){var o=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&o.push("".concat(Ed(e,r)));return o.filter(function(i){return i}).map(function(i){return String(i).trim()}).join(" ")}var ia=function(t){return Rd(t)?t.filter(Boolean):Cn(t)==="object"&&t!==null?[t]:[]},aa=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=vt(t,xd);return ie({},n)};function Ad(e,t,n){if(n){var o=n(e,t);if(typeof o=="string")return o}return e}function Tn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Sd(e){return Tn(e)?window.innerHeight:e.clientHeight}function sa(e){return Tn(e)?window.pageYOffset:e.scrollTop}function Vn(e,t){if(Tn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Nd(e){var t=getComputedStyle(e),n=t.position==="absolute",o=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Fd(e,t,n,o){return n*((e=e/o-1)*e*e+1)+t}function On(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gn,r=sa(e),i=t-r,s=10,a=0;function l(){a+=s;var u=Fd(a,r,i,n);Vn(e,u),a<n?window.requestAnimationFrame(l):o(e)}l()}function la(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Vn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Vn(e,Math.max(t.offsetTop-r,0))}function Pd(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 ua(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Gd(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var ca=!1,Td={get passive(){return ca=!0}},Rn=typeof window<"u"?window:{};Rn.addEventListener&&Rn.removeEventListener&&(Rn.addEventListener("p",Gn,Td),Rn.removeEventListener("p",Gn,!1));var Vd=ca;function Od(e){return e!=null}function Rd(e){return Array.isArray(e)}function Bn(e,t,n){return e?t:n}function m1(e){return e}function b1(e){return e}var Bd=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];var i=Object.entries(t).filter(function(s){var a=xe(s,1),l=a[0];return!o.includes(l)});return i.reduce(function(s,a){var l=xe(a,2),u=l[0],c=l[1];return s[u]=c,s},{})};function Md(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.theme,l=a.spacing,u=Nd(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var f=u.getBoundingClientRect(),p=f.height,h=n.getBoundingClientRect(),m=h.bottom,v=h.height,C=h.top,x=n.offsetParent.getBoundingClientRect(),E=x.top,w=s?window.innerHeight:Sd(u),y=sa(u),I=parseInt(getComputedStyle(n).marginBottom,10),A=parseInt(getComputedStyle(n).marginTop,10),S=E-A,O=w-C,M=S+y,P=p-y-C,W=m-w+y+I,Z=y+C-A,R=160;switch(r){case"auto":case"bottom":if(O>=v)return{placement:"bottom",maxHeight:t};if(P>=v&&!s)return i&&On(u,W,R),{placement:"bottom",maxHeight:t};if(!s&&P>=o||s&&O>=o){i&&On(u,W,R);var N=s?O-I:P-I;return{placement:"bottom",maxHeight:N}}if(r==="auto"||s){var D=t,L=s?S:M;return L>=o&&(D=Math.min(L-I-l.controlHeight,t)),{placement:"top",maxHeight:D}}if(r==="bottom")return i&&Vn(u,W),{placement:"bottom",maxHeight:t};break;case"top":if(S>=v)return{placement:"top",maxHeight:t};if(M>=v&&!s)return i&&On(u,Z,R),{placement:"top",maxHeight:t};if(!s&&M>=o||s&&S>=o){var Y=t;return(!s&&M>=o||s&&S>=o)&&(Y=s?S-A:M-A),i&&On(u,Z,R),{placement:"top",maxHeight:Y}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}function Dd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var da=function(t){return t==="auto"?"bottom":t},Ld=function(t){var n,o=t.placement,r=t.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return n={label:"menu"},Xe(n,Dd(o),"100%"),Xe(n,"backgroundColor",a.neutral0),Xe(n,"borderRadius",i),Xe(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Xe(n,"marginBottom",s.menuGutter),Xe(n,"marginTop",s.menuGutter),Xe(n,"position","absolute"),Xe(n,"width","100%"),Xe(n,"zIndex",1),n},fa=g.createContext(null),kd=function(t){var n=t.children,o=t.minMenuHeight,r=t.maxMenuHeight,i=t.menuPlacement,s=t.menuPosition,a=t.menuShouldScrollIntoView,l=t.theme,u=g.useContext(fa)||{},c=u.setPortalPlacement,f=g.useRef(null),p=g.useState(r),h=xe(p,2),m=h[0],v=h[1],C=g.useState(null),x=xe(C,2),E=x[0],w=x[1];return _r(function(){var y=f.current;if(!!y){var I=s==="fixed",A=a&&!I,S=Md({maxHeight:r,menuEl:y,minHeight:o,placement:i,shouldScroll:A,isFixedPosition:I,theme:l});v(S.maxHeight),w(S.placement),c==null||c(S.placement)}},[r,i,s,a,o,c,l]),n({ref:f,placerProps:ie(ie({},t),{},{placement:E||da(i),maxHeight:m})})},Wd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerRef,a=t.innerProps;return H("div",ae({css:i("menu",t),className:r({menu:!0},o),ref:s},a),n)},Xd=function(t){var n=t.maxHeight,o=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:o,paddingTop:o,position:"relative",WebkitOverflowScrolling:"touch"}},Zd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps,a=t.innerRef,l=t.isMulti;return H("div",ae({css:i("menuList",t),className:r({"menu-list":!0,"menu-list--is-multi":l},o),ref:a},s),n)},pa=function(t){var n=t.theme,o=n.spacing.baseUnit,r=n.colors;return{color:r.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px"),textAlign:"center"}},Hd=pa,zd=pa,ga=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("noOptionsMessage",t),className:r({"menu-notice":!0,"menu-notice--no-options":!0},o)},s),n)};ga.defaultProps={children:"No options"};var ma=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("loadingMessage",t),className:r({"menu-notice":!0,"menu-notice--loading":!0},o)},s),n)};ma.defaultProps={children:"Loading..."};var jd=function(t){var n=t.rect,o=t.offset,r=t.position;return{left:n.left,position:r,top:o,width:n.width,zIndex:1}},Yd=function(t){var n=t.appendTo,o=t.children,r=t.className,i=t.controlElement,s=t.cx,a=t.innerProps,l=t.menuPlacement,u=t.menuPosition,c=t.getStyles,f=g.useRef(null),p=g.useRef(null),h=g.useState(da(l)),m=xe(h,2),v=m[0],C=m[1],x=g.useMemo(function(){return{setPortalPlacement:C}},[]),E=g.useState(null),w=xe(E,2),y=w[0],I=w[1],A=g.useCallback(function(){if(!!i){var P=Pd(i),W=u==="fixed"?0:window.pageYOffset,Z=P[v]+W;(Z!==(y==null?void 0:y.offset)||P.left!==(y==null?void 0:y.rect.left)||P.width!==(y==null?void 0:y.rect.width))&&I({offset:Z,rect:P})}},[i,u,v,y==null?void 0:y.offset,y==null?void 0:y.rect.left,y==null?void 0:y.rect.width]);_r(function(){A()},[A]);var S=g.useCallback(function(){typeof p.current=="function"&&(p.current(),p.current=null),i&&f.current&&(p.current=li(i,f.current,A,{elementResize:"ResizeObserver"in window}))},[i,A]);_r(function(){S()},[S]);var O=g.useCallback(function(P){f.current=P,S()},[S]);if(!n&&u!=="fixed"||!y)return null;var M=H("div",ae({ref:O,css:c("menuPortal",{offset:y.offset,position:u,rect:y.rect}),className:s({"menu-portal":!0},r)},a),o);return H(fa.Provider,{value:x},n?Ot.createPortal(M,n):M)},_d=function(t){var n=t.isDisabled,o=t.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Jd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps,a=t.isDisabled,l=t.isRtl;return H("div",ae({css:i("container",t),className:r({"--is-disabled":a,"--is-rtl":l},o)},s),n)},$d=function(t){var n=t.theme.spacing,o=t.isMulti,r=t.hasValue,i=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Ud=function(t){var n=t.children,o=t.className,r=t.cx,i=t.innerProps,s=t.isMulti,a=t.getStyles,l=t.hasValue;return H("div",ae({css:a("valueContainer",t),className:r({"value-container":!0,"value-container--is-multi":s,"value-container--has-value":l},o)},i),n)},Qd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Kd=function(t){var n=t.children,o=t.className,r=t.cx,i=t.innerProps,s=t.getStyles;return H("div",ae({css:s("indicatorsContainer",t),className:r({indicators:!0},o)},i),n)},ba,qd=["size"];function ef(){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 tf=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJv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cyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:ef},ha=function(t){var n=t.size,o=vt(t,qd);return H("svg",ae({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tf},o))},Jr=function(t){return H(ha,ae({size:20},t),H("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"}))},va=function(t){return H(ha,ae({size:20},t),H("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"}))},Ca=function(t){var n=t.isFocused,o=t.theme,r=o.spacing.baseUnit,i=o.colors;return{label:"indicatorContainer",color:n?i.neutral60:i.neutral20,display:"flex",padding:r*2,transition:"color 150ms",":hover":{color:n?i.neutral80:i.neutral40}}},nf=Ca,rf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("dropdownIndicator",t),className:r({indicator:!0,"dropdown-indicator":!0},o)},s),n||H(va,null))},of=Ca,af=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("clearIndicator",t),className:r({indicator:!0,"clear-indicator":!0},o)},s),n||H(Jr,null))},sf=function(t){var n=t.isDisabled,o=t.theme,r=o.spacing.baseUnit,i=o.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?i.neutral10:i.neutral20,marginBottom:r*2,marginTop:r*2,width:1}},lf=function(t){var n=t.className,o=t.cx,r=t.getStyles,i=t.innerProps;return H("span",ae({},i,{css:r("indicatorSeparator",t),className:o({"indicator-separator":!0},n)}))},uf=bd(ba||(ba=Id([`
63
63
  0%, 80%, 100% { opacity: 0; }
64
64
  40% { opacity: 1; }
65
- `]))),cf=function(t){var n=t.isFocused,o=t.size,r=t.theme,i=r.colors,s=r.spacing.baseUnit;return{label:"loadingIndicator",color:n?i.neutral60:i.neutral20,display:"flex",padding:s*2,transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"}},Jr=function(t){var n=t.delay,o=t.offset;return H("span",{css:jr({animation:"".concat(uf," 1s ease-in-out ").concat(n,"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi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dWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},ya=function(t){var n=t.className,o=t.cx,r=t.getStyles,i=t.innerProps,s=t.isRtl;return H("div",ae({css:r("loadingIndicator",t),className:o({indicator:!0,"loading-indicator":!0},n)},i),H(Jr,{delay:0,offset:s}),H(Jr,{delay:160,offset:!0}),H(Jr,{delay:320,offset:!s}))};ya.defaultProps={size:4};var df=function(t){var n=t.isDisabled,o=t.isFocused,r=t.theme,i=r.colors,s=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:o?i.primary:i.neutral30}}},ff=function(t){var n=t.children,o=t.cx,r=t.getStyles,i=t.className,s=t.isDisabled,a=t.isFocused,l=t.innerRef,u=t.innerProps,c=t.menuIsOpen;return H("div",ae({ref:l,css:r("control",t),className:o({control:!0,"control--is-disabled":s,"control--is-focused":a,"control--menu-is-open":c},i)},u),n)},pf=["data"],gf=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},mf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.Heading,a=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,f=t.selectProps;return H("div",ae({css:i("group",t),className:r({group:!0},o)},l),H(s,ae({},a,{selectProps:f,theme:c,getStyles:i,cx:r}),u),H("div",null,n))},bf=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},hf=function(t){var n=t.getStyles,o=t.cx,r=t.className,i=aa(t);i.data;var s=vt(i,pf);return H("div",ae({css:n("groupHeading",t),className:o({"group-heading":!0},r)},s))},vf=["innerRef","isDisabled","isHidden","inputClassName"],Cf=function(t){var n=t.isDisabled,o=t.value,r=t.theme,i=r.spacing,s=r.colors;return ie({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:n?"hidden":"visible",color:s.neutral80,transform:o?"translateZ(0)":""},yf)},Ia={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},yf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ie({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ia)},If=function(t){return ie({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ia)},xf=function(t){var n=t.className,o=t.cx,r=t.getStyles,i=t.value,s=aa(t),a=s.innerRef,l=s.isDisabled,u=s.isHidden,c=s.inputClassName,f=vt(s,vf);return H("div",{className:o({"input-container":!0},n),css:r("input",t),"data-value":i||""},H("input",ae({className:o({input:!0},c),ref:a,style:If(u),disabled:l},f)))},Ef=function(t){var n=t.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return{label:"multiValue",backgroundColor:i.neutral10,borderRadius:r/2,display:"flex",margin:o.baseUnit/2,minWidth:0}},wf=function(t){var n=t.theme,o=n.borderRadius,r=n.colors,i=t.cropWithEllipsis;return{borderRadius:o/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},Af=function(t){var n=t.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=t.isFocused;return{alignItems:"center",borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,display:"flex",paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},xa=function(t){var n=t.children,o=t.innerProps;return H("div",o,n)},Sf=xa,Nf=xa;function Ff(e){var t=e.children,n=e.innerProps;return H("div",ae({role:"button"},n),t||H(_r,{size:14}))}var Pf=function(t){var n=t.children,o=t.className,r=t.components,i=t.cx,s=t.data,a=t.getStyles,l=t.innerProps,u=t.isDisabled,c=t.removeProps,f=t.selectProps,p=r.Container,h=r.Label,b=r.Remove;return H(ta,null,function(v){var y=v.css,I=v.cx;return H(p,{data:s,innerProps:ie({className:I(y(a("multiValue",t)),i({"multi-value":!0,"multi-value--is-disabled":u},o))},l),selectProps:f},H(h,{data:s,innerProps:{className:I(y(a("multiValueLabel",t)),i({"multi-value__label":!0},o))},selectProps:f},n),H(b,{data:s,innerProps:ie({className:I(y(a("multiValueRemove",t)),i({"multi-value__remove":!0},o)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:f}))})},Gf=function(t){var n=t.isDisabled,o=t.isFocused,r=t.isSelected,i=t.theme,s=i.spacing,a=i.colors;return{label:"option",backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}}},Tf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.isDisabled,a=t.isFocused,l=t.isSelected,u=t.innerRef,c=t.innerProps;return H("div",ae({css:i("option",t),className:r({option:!0,"option--is-disabled":s,"option--is-focused":a,"option--is-selected":l},o),ref:u,"aria-disabled":s},c),n)},Vf=function(t){var n=t.theme,o=n.spacing,r=n.colors;return{label:"placeholder",color:r.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2}},Of=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("placeholder",t),className:r({placeholder:!0},o)},s),n)},Bf=function(t){var n=t.isDisabled,o=t.theme,r=o.spacing,i=o.colors;return{label:"singleValue",color:n?i.neutral40:i.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Rf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.isDisabled,a=t.innerProps;return H("div",ae({css:i("singleValue",t),className:r({"single-value":!0,"single-value--is-disabled":s},o)},a),n)},qe={ClearIndicator:af,Control:ff,DropdownIndicator:rf,DownChevron:va,CrossIcon:_r,Group:mf,GroupHeading:hf,IndicatorsContainer:Kd,IndicatorSeparator:lf,Input:xf,LoadingIndicator:ya,Menu:Wd,MenuList:Zd,MenuPortal:Yd,LoadingMessage:ma,NoOptionsMessage:ga,MultiValue:Pf,MultiValueContainer:Sf,MultiValueLabel:Nf,MultiValueRemove:Ff,Option:Tf,Placeholder:Of,SelectContainer:Jd,SingleValue:Rf,ValueContainer:Ud},Mf=function(t){return ie(ie({},qe),t.components)},Ea=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Df(e,t){return!!(e===t||Ea(e)&&Ea(t))}function Lf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Df(e[n],t[n]))return!1;return!0}function kf(e,t){t===void 0&&(t=Lf);var n=null;function o(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var s=e.apply(this,r);return n={lastResult:s,lastArgs:r,lastThis:this},s}return o.clear=function(){n=null},o}function Wf(){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)."}for(var Xf=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Wf},wa=function(t){return H("span",ae({css:Xf},t))},Zf={guidance:function(t){var n=t.isSearchable,o=t.isMulti,r=t.isDisabled,i=t.tabSelectsValue,s=t.context;switch(s){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(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 n=t.action,o=t.label,r=o===void 0?"":o,i=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", 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 s?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,o=t.focused,r=t.options,i=t.label,s=i===void 0?"":i,a=t.selectValue,l=t.isDisabled,u=t.isSelected,c=function(b,v){return b&&b.length?"".concat(b.indexOf(v)+1," of ").concat(b.length):""};if(n==="value"&&a)return"value ".concat(s," focused, ").concat(c(a,o),".");if(n==="menu"){var f=l?" disabled":"",p="".concat(u?"selected":"focused").concat(f);return"option ".concat(s," ").concat(p,", ").concat(c(r,o),".")}return""},onFilter:function(t){var n=t.inputValue,o=t.resultsMessage;return"".concat(o).concat(n?" for search term "+n:"",".")}},Hf=function(t){var n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.focusableOptions,s=t.isFocused,a=t.selectValue,l=t.selectProps,u=t.id,c=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,h=l.isMulti,b=l.isOptionDisabled,v=l.isSearchable,y=l.menuIsOpen,I=l.options,E=l.screenReaderStatus,w=l.tabSelectsValue,C=l["aria-label"],x=l["aria-live"],A=g.useMemo(function(){return ie(ie({},Zf),c||{})},[c]),S=g.useMemo(function(){var N="";if(n&&A.onChange){var D=n.option,L=n.options,Y=n.removedValue,X=n.removedValues,U=n.value,de=function(we){return Array.isArray(we)?null:we},Re=Y||D||de(U),le=Re?f(Re):"",me=L||X||void 0,Fe=me?me.map(f):[],Ee=ie({isDisabled:Re&&b(Re,a),label:le,labels:Fe},n);N=A.onChange(Ee)}return N},[n,A,b,a,f]),O=g.useMemo(function(){var N="",D=o||r,L=!!(o&&a&&a.includes(o));if(D&&A.onFocus){var Y={focused:D,label:f(D),isDisabled:b(D,a),isSelected:L,options:i,context:D===o?"menu":"value",selectValue:a};N=A.onFocus(Y)}return N},[o,r,f,b,A,i,a]),R=g.useMemo(function(){var N="";if(y&&I.length&&A.onFilter){var D=E({count:i.length});N=A.onFilter({inputValue:p,resultsMessage:D})}return N},[i,p,y,A,I,E]),P=g.useMemo(function(){var N="";if(A.guidance){var D=r?"value":y?"menu":"input";N=A.guidance({"aria-label":C,context:D,isDisabled:o&&b(o,a),isMulti:h,isSearchable:v,tabSelectsValue:w})}return N},[C,o,r,h,b,v,y,A,a,w]),W="".concat(O," ").concat(R," ").concat(P),Z=H(g.Fragment,null,H("span",{id:"aria-selection"},S),H("span",{id:"aria-context"},W)),B=(n==null?void 0:n.action)==="initial-input-focus";return H(g.Fragment,null,H(wa,{id:u},B&&Z),H(wa,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},s&&!B&&Z))},$r=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],zf=new RegExp("["+$r.map(function(e){return e.letters}).join("")+"]","g"),Aa={},Ur=0;Ur<$r.length;Ur++)for(var Qr=$r[Ur],Kr=0;Kr<Qr.letters.length;Kr++)Aa[Qr.letters[Kr]]=Qr.base;var Sa=function(t){return t.replace(zf,function(n){return Aa[n]})},jf=kf(Sa),Na=function(t){return t.replace(/^\s+|\s+$/g,"")},Yf=function(t){return"".concat(t.label," ").concat(t.value)},_f=function(t){return function(n,o){if(n.data.__isNew__)return!0;var r=ie({ignoreCase:!0,ignoreAccents:!0,stringify:Yf,trim:!0,matchFrom:"any"},t),i=r.ignoreCase,s=r.ignoreAccents,a=r.stringify,l=r.trim,u=r.matchFrom,c=l?Na(o):o,f=l?Na(a(n)):a(n);return i&&(c=c.toLowerCase(),f=f.toLowerCase()),s&&(c=jf(c),f=Sa(f)),u==="start"?f.substr(0,c.length)===c:f.indexOf(c)>-1}},Jf=["innerRef"];function $f(e){var t=e.innerRef,n=vt(e,Jf),o=Rd(n,"onExited","in","enter","exit","appear");return H("input",ae({ref:t},o,{css:jr({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"?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vLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Uf=function(t){t.preventDefault(),t.stopPropagation()};function Qf(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,s=g.useRef(!1),a=g.useRef(!1),l=g.useRef(0),u=g.useRef(null),c=g.useCallback(function(y,I){if(u.current!==null){var E=u.current,w=E.scrollTop,C=E.scrollHeight,x=E.clientHeight,A=u.current,S=I>0,O=C-x-w,R=!1;O>I&&s.current&&(o&&o(y),s.current=!1),S&&a.current&&(i&&i(y),a.current=!1),S&&I>O?(n&&!s.current&&n(y),A.scrollTop=C,R=!0,s.current=!0):!S&&-I>w&&(r&&!a.current&&r(y),A.scrollTop=0,R=!0,a.current=!0),R&&Uf(y)}},[n,o,r,i]),f=g.useCallback(function(y){c(y,y.deltaY)},[c]),p=g.useCallback(function(y){l.current=y.changedTouches[0].clientY},[]),h=g.useCallback(function(y){var I=l.current-y.changedTouches[0].clientY;c(y,I)},[c]),b=g.useCallback(function(y){if(!!y){var I=Vd?{passive:!1}:!1;y.addEventListener("wheel",f,I),y.addEventListener("touchstart",p,I),y.addEventListener("touchmove",h,I)}},[h,p,f]),v=g.useCallback(function(y){!y||(y.removeEventListener("wheel",f,!1),y.removeEventListener("touchstart",p,!1),y.removeEventListener("touchmove",h,!1))},[h,p,f]);return g.useEffect(function(){if(!!t){var y=u.current;return b(y),function(){v(y)}}},[t,b,v]),function(y){u.current=y}}var Fa=["boxSizing","height","overflow","paddingRight","position"],Pa={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ga(e){e.preventDefault()}function Ta(e){e.stopPropagation()}function Va(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Oa(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ba=!!(typeof window<"u"&&window.document&&window.document.createElement),Qt=0,Nt={capture:!1,passive:!1};function Kf(e){var t=e.isEnabled,n=e.accountForScrollbars,o=n===void 0?!0:n,r=g.useRef({}),i=g.useRef(null),s=g.useCallback(function(l){if(!!Ba){var u=document.body,c=u&&u.style;if(o&&Fa.forEach(function(b){var v=c&&c[b];r.current[b]=v}),o&&Qt<1){var f=parseInt(r.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,h=window.innerWidth-p+f||0;Object.keys(Pa).forEach(function(b){var v=Pa[b];c&&(c[b]=v)}),c&&(c.paddingRight="".concat(h,"px"))}u&&Oa()&&(u.addEventListener("touchmove",Ga,Nt),l&&(l.addEventListener("touchstart",Va,Nt),l.addEventListener("touchmove",Ta,Nt))),Qt+=1}},[o]),a=g.useCallback(function(l){if(!!Ba){var u=document.body,c=u&&u.style;Qt=Math.max(Qt-1,0),o&&Qt<1&&Fa.forEach(function(f){var p=r.current[f];c&&(c[f]=p)}),u&&Oa()&&(u.removeEventListener("touchmove",Ga,Nt),l&&(l.removeEventListener("touchstart",Va,Nt),l.removeEventListener("touchmove",Ta,Nt)))}},[o]);return g.useEffect(function(){if(!!t){var l=i.current;return s(l),function(){a(l)}}},[t,s,a]),function(l){i.current=l}}function qf(){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 e0=function(){return document.activeElement&&document.activeElement.blur()},t0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RF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G9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:qf};function n0(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=o===void 0?!0:o,i=e.onBottomArrive,s=e.onBottomLeave,a=e.onTopArrive,l=e.onTopLeave,u=Qf({isEnabled:r,onBottomArrive:i,onBottomLeave:s,onTopArrive:a,onTopLeave:l}),c=Kf({isEnabled:n}),f=function(h){u(h),c(h)};return H(g.Fragment,null,n&&H("div",{onClick:e0,css:t0}),t(f))}function r0(){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 o0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZTogc3RyaW5nO1xuICByZWFkb25seSBvbkZvY3VzOiBGb2N1c0V2ZW50SGFuZGxlcjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0+ID0gKHsgbmFtZSwgb25Gb2N1cyB9KSA9PiAoXG4gIDxpbnB1dFxuICAgIHJlcXVpcmVkXG4gICAgbmFtZT17bmFtZX1cbiAgICB0YWJJbmRleD17LTF9XG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:r0},i0=function(t){var n=t.name,o=t.onFocus;return H("input",{required:!0,name:n,tabIndex:-1,onFocus:o,css:o0,value:"",onChange:function(){}})},a0=function(t){return t.label},s0=function(t){return t.label},l0=function(t){return t.value},u0=function(t){return!!t.isDisabled},c0={clearIndicator:of,container:_d,control:df,dropdownIndicator:nf,group:gf,groupHeading:bf,indicatorsContainer:Qd,indicatorSeparator:sf,input:Cf,loadingIndicator:cf,loadingMessage:zd,menu:Ld,menuList:Xd,menuPortal:jd,multiValue:Ef,multiValueLabel:wf,multiValueRemove:Af,noOptionsMessage:Hd,option:Gf,placeholder:Vf,singleValue:Bf,valueContainer:$d},d0={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%)"},f0=4,Ra=4,p0=38,g0=Ra*2,m0={baseUnit:Ra,controlHeight:p0,menuGutter:g0},qr={borderRadius:f0,colors:d0,spacing:m0},b0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ua(),captureMenuScroll:!ua(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:_f(),formatGroupLabel:a0,getOptionLabel:s0,getOptionValue:l0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:u0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Gd(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Ma(e,t,n,o){var r=Xa(e,t,n),i=Za(e,t,n),s=Wa(e,t),a=Mn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:i,label:s,value:a,index:o}}function Da(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(s,a){return Ma(e,s,t,a)}).filter(function(s){return ka(e,s)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Ma(e,n,t,o);return ka(e,i)?i:void 0}).filter(Od)}function La(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,wi(n.options.map(function(o){return o.data}))):t.push(n.data),t},[])}function h0(e,t){return La(Da(e,t))}function ka(e,t){var n=e.inputValue,o=n===void 0?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!za(e)||!i)&&Ha(e,{label:s,value:a,data:r},o)}function v0(e,t){var n=e.focusedValue,o=e.selectValue,r=o.indexOf(n);if(r>-1){var i=t.indexOf(n);if(i>-1)return n;if(r<t.length)return t[r]}return null}function C0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Wa=function(t,n){return t.getOptionLabel(n)},Mn=function(t,n){return t.getOptionValue(n)};function Xa(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Za(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var o=Mn(e,t);return n.some(function(r){return Mn(e,r)===o})}function Ha(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var za=function(t){var n=t.hideSelectedOptions,o=t.isMulti;return n===void 0?o:n},y0=1,eo=function(e){oc(n,e);var t=lc(n);function n(o){var r;if(nc(this,n),r=t.call(this,o),r.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var u=r.props,c=u.onChange,f=u.name;l.name=f,r.ariaOnChange(a,l),c(a,l)},r.setValue=function(a,l,u){var c=r.props,f=c.closeMenuOnSelect,p=c.isMulti,h=c.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:h}),f&&(r.setState({inputIsHiddenAfterUpdate:!p}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:u})},r.selectOption=function(a){var l=r.props,u=l.blurInputOnSelect,c=l.isMulti,f=l.name,p=r.state.selectValue,h=c&&r.isOptionSelected(a,p),b=r.isOptionDisabled(a,p);if(h){var v=r.getOptionValue(a);r.setValue(p.filter(function(y){return r.getOptionValue(y)!==v}),"deselect-option",a)}else if(!b)c?r.setValue([].concat(wi(p),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}u&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,u=r.state.selectValue,c=r.getOptionValue(a),f=u.filter(function(h){return r.getOptionValue(h)!==c}),p=Rn(l,f,f[0]||null);r.onChange(p,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Rn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,u=l[l.length-1],c=l.slice(0,l.length-1),f=Rn(a,c,c[0]||null);r.onChange(f,{action:"pop-value",removedValue:u})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return wd.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Wa(r.props,a)},r.getOptionValue=function(a){return Mn(r.props,a)},r.getStyles=function(a,l){var u=c0[a](l);u.boxSizing="border-box";var c=r.props.styles[a];return c?c(u,l):u},r.getElementId=function(a){return"".concat(r.instancePrefix,"-").concat(a)},r.getComponents=function(){return Mf(r.props)},r.buildCategorizedOptions=function(){return Da(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return La(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:ie({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,u=l.isMulti,c=l.menuIsOpen;r.focusInput(),c?(r.setState({inputIsHiddenAfterUpdate:!u}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Tn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,u=l&&l.item(0);!u||(r.initialTouchX=u.clientX,r.initialTouchY=u.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,u=l&&l.item(0);if(!!u){var c=Math.abs(u.clientX-r.initialTouchX),f=Math.abs(u.clientY-r.initialTouchY),p=5;r.userIsDragging=c>p||f>p}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,u=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(u,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){r.blockOptionHover||r.state.focusedOption===a||r.setState({focusedOption:a})},r.shouldHideSelectedOptions=function(){return za(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,u=l.isMulti,c=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,h=l.isClearable,b=l.isDisabled,v=l.menuIsOpen,y=l.onKeyDown,I=l.tabSelectsValue,E=l.openMenuOnFocus,w=r.state,C=w.focusedOption,x=w.focusedValue,A=w.selectValue;if(!b&&!(typeof y=="function"&&(y(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!u||p)return;r.focusValue("previous");break;case"ArrowRight":if(!u||p)return;r.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(x)r.removeValue(x);else{if(!c)return;u?r.popValue():h&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!v||!I||!C||E&&r.isOptionSelected(C,A))return;r.selectOption(C);break;case"Enter":if(a.keyCode===229)break;if(v){if(!C||r.isComposing)return;r.selectOption(C);break}return;case"Escape":v?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:p}),r.onMenuClose()):h&&f&&r.clearValue();break;case" ":if(p)return;if(!v){r.openMenu("first");break}if(!C)return;r.selectOption(C);break;case"ArrowUp":v?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":v?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!v)return;r.focusOption("pageup");break;case"PageDown":if(!v)return;r.focusOption("pagedown");break;case"Home":if(!v)return;r.focusOption("first");break;case"End":if(!v)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++y0),r.state.selectValue=ia(o.value),o.menuIsOpen&&r.state.selectValue.length){var i=r.buildFocusableOptions(),s=i.indexOf(r.state.selectValue[0]);r.state.focusedOption=i[s]}return r}return rc(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&la(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var i=this.props,s=i.isDisabled,a=i.menuIsOpen,l=this.state.isFocused;(l&&!s&&r.isDisabled||l&&a&&!r.menuIsOpen)&&this.focusInput(),l&&s&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!s&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(la(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(r,i){this.props.onInputChange(r,i)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(r){var i=this,s=this.state,a=s.selectValue,l=s.isFocused,u=this.buildFocusableOptions(),c=r==="first"?0:u.length-1;if(!this.props.isMulti){var f=u.indexOf(a[0]);f>-1&&(c=f)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c]},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(r){var i=this.state,s=i.selectValue,a=i.focusedValue;if(!!this.props.isMulti){this.setState({focusedOption:null});var l=s.indexOf(a);a||(l=-1);var u=s.length-1,c=-1;if(!!s.length){switch(r){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,s=this.state.focusedOption,a=this.getFocusableOptions();if(!!a.length){var l=0,u=a.indexOf(s);s||(u=-1),r==="up"?l=u>0?u-1:a.length-1:r==="down"?l=(u+1)%a.length:r==="pageup"?(l=u-i,l<0&&(l=0)):r==="pagedown"?(l=u+i,l>a.length-1&&(l=a.length-1)):r==="last"&&(l=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[l],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qr):ie(ie({},qr),this.props.theme):qr}},{key:"getCommonProps",value:function(){var r=this.clearValue,i=this.cx,s=this.getStyles,a=this.getValue,l=this.selectOption,u=this.setValue,c=this.props,f=c.isMulti,p=c.isRtl,h=c.options,b=this.hasValue();return{clearValue:r,cx:i,getStyles:s,getValue:a,hasValue:b,isMulti:f,isRtl:p,options:h,selectOption:l,selectProps:c,setValue:u,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,i=r.isClearable,s=r.isMulti;return i===void 0?s:i}},{key:"isOptionDisabled",value:function(r,i){return Xa(this.props,r,i)}},{key:"isOptionSelected",value:function(r,i){return Za(this.props,r,i)}},{key:"filterOption",value:function(r,i){return Ha(this.props,r,i)}},{key:"formatOptionLabel",value:function(r,i){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(r,{context:i,inputValue:s,selectValue:a})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{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 r=this.props,i=r.isDisabled,s=r.isSearchable,a=r.inputId,l=r.inputValue,u=r.tabIndex,c=r.form,f=r.menuIsOpen,p=r.required,h=this.getComponents(),b=h.Input,v=this.state,y=v.inputIsHidden,I=v.ariaSelection,E=this.commonProps,w=a||this.getElementId("input"),C=ie(ie(ie({"aria-autocomplete":"list","aria-expanded":f,"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":p,role:"combobox"},f&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?(I==null?void 0:I.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?d(b,{...E,autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:i,isHidden:y,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l,...C}):d($f,{id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gn,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:c,value:"",...C})}},{key:"renderPlaceholderOrValue",value:function(){var r=this,i=this.getComponents(),s=i.MultiValue,a=i.MultiValueContainer,l=i.MultiValueLabel,u=i.MultiValueRemove,c=i.SingleValue,f=i.Placeholder,p=this.commonProps,h=this.props,b=h.controlShouldRenderValue,v=h.isDisabled,y=h.isMulti,I=h.inputValue,E=h.placeholder,w=this.state,C=w.selectValue,x=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!b)return I?null:g.createElement(f,{...p,key:"placeholder",isDisabled:v,isFocused:A,innerProps:{id:this.getElementId("placeholder")}},E);if(y)return C.map(function(O,R){var P=O===x,W="".concat(r.getOptionLabel(O),"-").concat(r.getOptionValue(O));return g.createElement(s,{...p,components:{Container:a,Label:l,Remove:u},isFocused:P,isDisabled:v,key:W,index:R,removeProps:{onClick:function(){return r.removeValue(O)},onTouchEnd:function(){return r.removeValue(O)},onMouseDown:function(B){B.preventDefault()}},data:O},r.formatOptionLabel(O,"value"))});if(I)return null;var S=C[0];return d(c,{...p,data:S,isDisabled:v,children:this.formatOptionLabel(S,"value")})}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),i=r.ClearIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||l||!this.hasValue()||u)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return d(i,{...s,innerProps:f,isFocused:c})}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),i=r.LoadingIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!i||!u)return null;var f={"aria-hidden":"true"};return d(i,{...s,innerProps:f,isDisabled:l,isFocused:c})}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),i=r.DropdownIndicator,s=r.IndicatorSeparator;if(!i||!s)return null;var a=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return d(s,{...a,isDisabled:l,isFocused:u})}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),i=r.DropdownIndicator;if(!i)return null;var s=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return d(i,{...s,innerProps:u,isDisabled:a,isFocused:l})}},{key:"renderMenu",value:function(){var r=this,i=this.getComponents(),s=i.Group,a=i.GroupHeading,l=i.Menu,u=i.MenuList,c=i.MenuPortal,f=i.LoadingMessage,p=i.NoOptionsMessage,h=i.Option,b=this.commonProps,v=this.state.focusedOption,y=this.props,I=y.captureMenuScroll,E=y.inputValue,w=y.isLoading,C=y.loadingMessage,x=y.minMenuHeight,A=y.maxMenuHeight,S=y.menuIsOpen,O=y.menuPlacement,R=y.menuPosition,P=y.menuPortalTarget,W=y.menuShouldBlockScroll,Z=y.menuShouldScrollIntoView,B=y.noOptionsMessage,N=y.onMenuScrollToTop,D=y.onMenuScrollToBottom;if(!S)return null;var L=function(me,Fe){var Ee=me.type,ye=me.data,we=me.isDisabled,Pe=me.isSelected,Le=me.label,_e=me.value,ut=v===ye,k=we?void 0:function(){return r.onOptionHover(ye)},et=we?void 0:function(){return r.selectOption(ye)},He="".concat(r.getElementId("option"),"-").concat(Fe),De={id:He,onClick:et,onMouseMove:k,onMouseOver:k,tabIndex:-1};return g.createElement(h,{...b,innerProps:De,data:ye,isDisabled:we,isSelected:Pe,key:He,label:Le,type:Ee,value:_e,isFocused:ut,innerRef:ut?r.getFocusedOptionRef:void 0},r.formatOptionLabel(me.data,"menu"))},Y;if(this.hasOptions())Y=this.getCategorizedOptions().map(function(le){if(le.type==="group"){var me=le.data,Fe=le.options,Ee=le.index,ye="".concat(r.getElementId("group"),"-").concat(Ee),we="".concat(ye,"-heading");return g.createElement(s,{...b,key:ye,data:me,options:Fe,Heading:a,headingProps:{id:we,data:le.data},label:r.formatGroupLabel(le.data)},le.options.map(function(Pe){return L(Pe,"".concat(Ee,"-").concat(Pe.index))}))}else if(le.type==="option")return L(le,"".concat(le.index))});else if(w){var X=C({inputValue:E});if(X===null)return null;Y=d(f,{...b,children:X})}else{var U=B({inputValue:E});if(U===null)return null;Y=d(p,{...b,children:U})}var de={minMenuHeight:x,maxMenuHeight:A,menuPlacement:O,menuPosition:R,menuShouldScrollIntoView:Z},Re=d(kd,{...b,...de,children:function(le){var me=le.ref,Fe=le.placerProps,Ee=Fe.placement,ye=Fe.maxHeight;return d(l,{...b,...de,innerRef:me,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove,id:r.getElementId("listbox")},isLoading:w,placement:Ee,children:d(n0,{captureEnabled:I,onTopArrive:N,onBottomArrive:D,lockEnabled:W,children:function(we){return d(u,{...b,innerRef:function(Le){r.getMenuListRef(Le),we(Le)},isLoading:w,maxHeight:ye,focusedOption:v,children:Y})}})})}});return P||R==="fixed"?d(c,{...b,appendTo:P,controlElement:this.controlRef,menuPlacement:O,menuPosition:R,children:Re}):Re}},{key:"renderFormField",value:function(){var r=this,i=this.props,s=i.delimiter,a=i.isDisabled,l=i.isMulti,u=i.name,c=i.required,f=this.state.selectValue;if(!(!u||a)){if(c&&!this.hasValue())return d(i0,{name:u,onFocus:this.onValueInputFocus});if(l)if(s){var p=f.map(function(v){return r.getOptionValue(v)}).join(s);return d("input",{name:u,type:"hidden",value:p})}else{var h=f.length>0?f.map(function(v,y){return d("input",{name:u,type:"hidden",value:r.getOptionValue(v)},"i-".concat(y))}):d("input",{name:u,type:"hidden",value:""});return d("div",{children:h})}else{var b=f[0]?this.getOptionValue(f[0]):"";return d("input",{name:u,type:"hidden",value:b})}}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,i=this.state,s=i.ariaSelection,a=i.focusedOption,l=i.focusedValue,u=i.isFocused,c=i.selectValue,f=this.getFocusableOptions();return d(Hf,{...r,id:this.getElementId("live-region"),ariaSelection:s,focusedOption:a,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:f})}},{key:"render",value:function(){var r=this.getComponents(),i=r.Control,s=r.IndicatorsContainer,a=r.SelectContainer,l=r.ValueContainer,u=this.props,c=u.className,f=u.id,p=u.isDisabled,h=u.menuIsOpen,b=this.state.isFocused,v=this.commonProps=this.getCommonProps();return V(a,{...v,className:c,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:b,children:[this.renderLiveRegion(),V(i,{...v,innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:b,menuIsOpen:h,children:[V(l,{...v,isDisabled:p,children:[this.renderPlaceholderOrValue(),this.renderInput()]}),V(s,{...v,isDisabled:p,children:[this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator()]})]}),this.renderMenu(),this.renderFormField()]})}}],[{key:"getDerivedStateFromProps",value:function(r,i){var s=i.prevProps,a=i.clearFocusValueOnUpdate,l=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,c=i.isFocused,f=i.prevWasFocused,p=r.options,h=r.value,b=r.menuIsOpen,v=r.inputValue,y=r.isMulti,I=ia(h),E={};if(s&&(h!==s.value||p!==s.options||b!==s.menuIsOpen||v!==s.inputValue)){var w=b?h0(r,I):[],C=a?v0(i,I):null,x=C0(i,w);E={selectValue:I,focusedOption:x,focusedValue:C,clearFocusValueOnUpdate:!1}}var A=l!=null&&r!==s?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},S=u,O=c&&f;return c&&!O&&(S={value:Rn(y,I,I[0]||null),options:I,action:"initial-input-focus"},O=!f),(u==null?void 0:u.action)==="initial-input-focus"&&(S=null),ie(ie(ie({},E),A),{},{prevProps:r,ariaSelection:S,prevWasFocused:O})}}]),n}(g.Component);eo.defaultProps=b0;var I0=g.forwardRef(function(e,t){var n=xi(e);return d(eo,{ref:t,...n})});const Ft=I0;function Dn({error:e,isError:t,helpText:n}){return{styles:{control:(r,i)=>{const s=()=>e||t?"":i.isFocused?"0px 0px 0px 1px #3EADFE":"0px 1px 0px rgba(0, 0, 0, 0.05)";return{...r,backgroundColor:i.isDisabled?"var(--colors-action-secondary-disabled)":"var(--colors-action-secondary-default)",boxShadow:s(),height:"56px",border:e||t?"1px solid var(--colors-action-critical-default)":"0px",padding:"18px 16px",borderRadius:"var(--border-radius-sm)",cursor:"pointer"}},clearIndicator:r=>({...r,padding:"0px",marginRight:"4px",cursor:"pointer"}),singleValue:r=>({...r,margin:"0px"}),placeholder:r=>({...r,margin:"0px"}),indicatorSeparator:r=>({...r,display:"none"}),valueContainer:r=>({...r,padding:"0px"}),indicatorsContainer:r=>({...r,padding:"0px"}),dropdownIndicator:r=>({...r,padding:"0px"}),menuPortal:r=>({...r,padding:"0px"}),menu:r=>({...r,filter:"drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.1))",borderRadius:"var(--border-radius-sm)",background:"var(--colors-action-secondary-default)",padding:0,marginTop:n?"28px":"8px"}),menuList:r=>({...r,padding:"0px",borderRadius:"var(--border-radius-sm)"}),input:r=>({...r,margin:0,padding:0,">:focus":{boxShadow:"none"}}),option:(r,i)=>{const s=()=>i.isFocused&&!i.isSelected?"var(--colors-action-secondary-hovered)":i.isSelected?"var(--colors-action-secondary-pressed)":"var(--colors-action-secondary-default)";return{...r,padding:"8px 16px",border:"0px",height:"40px",cursor:"pointer",color:i.isFocused?"var(--colors-letter-on)":"",backgroundColor:s(),":hover":{backgroundColor:!i.isSelected&&"var(--colors-action-secondary-hovered)"},":active":{backgroundColor:"var(--colors-action-secondary-active)"}}},group:r=>({...r,padding:"0px"}),groupHeading:r=>({...r,padding:"8px 16px",border:"0px",height:"36px",fontFamily:"Circular Std Book",color:"var(--colors-letter-default)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--font-size-xs)",textTransform:"none"})}}}const Ln=e=>d(qe.ClearIndicator,{...e,children:d(he,{size:"sm",kind:"delete",color:"default"})});function kn({helpText:e,error:t,showErrorText:n,children:o}){return V(pe,{children:[o,e&&!t&&d(()=>d("div",{className:"my-1",children:d($,{as:"span",variant:"body",color:"subdued",children:e})}),{}),(t||n)&&!e&&d(()=>d("div",{className:"mt-1",children:d(no,{icon:"error",children:t})}),{})]})}const Wn=e=>d(qe.DropdownIndicator,{...e,children:d(he,{size:"sm",kind:e.isFocused?"up":"down",color:e.isDisabled?"disabled":"subdued"})}),ja=e=>d(qe.Option,{...e,children:d($,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})}),Xn=e=>d(qe.Placeholder,{...e,children:d($,{as:"span",variant:"body",color:e.isDisabled?"disabled":"subdued",children:e.children})}),to=({hasLabelPlaceholder:e,...t})=>{const n=t;return d(qe.SingleValue,{...n,children:V("div",{className:"flex items-center space-x-[4px]",children:[e&&d($,{as:"span",variant:"body",color:"subdued",children:n.selectProps.placeholder}),d($,{as:"span",variant:"body",color:"default",children:n.children})]})})};function x0({options:e,placeholder:t="",defaultValue:n,isDisabled:o=!1,id:r="default",name:i="default",helpText:s="",hasLabelPlaceholder:a=!1,onChange:l,isSearchable:u=!1,isClearable:c=!0,error:f="",isError:p,showErrorText:h,onBlur:b,ref:v}){const{styles:y}=Dn({error:f,isError:p,helpText:s}),I={DropdownIndicator:Wn,ClearIndicator:Ln,Option:ja,Placeholder:Xn,SingleValue:C=>d(to,{...C,hasLabelPlaceholder:a})},E={id:r,name:i,placeholder:t,isDisabled:o,isClearable:c,styles:y,defaultValue:n,noOptionsMessage:()=>"No encontrado"},w={onBlur:b,options:e,isSearchable:u,components:I};return d(kn,{error:f,helpText:s,showErrorText:h,children:v?d(Ft,{...E,...w,ref:v,onChange:C=>l&&l(C)}):d(Ft,{...E,...w,onChange:C=>l&&l(C)})})}var E0=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function w0(e){var t=e.defaultOptions,n=t===void 0?!1:t,o=e.cacheOptions,r=o===void 0?!1:o,i=e.loadOptions;e.options;var s=e.isLoading,a=s===void 0?!1:s,l=e.onInputChange,u=e.filterOption,c=u===void 0?null:u,f=vt(e,E0),p=f.inputValue,h=g.useRef(void 0),b=g.useRef(!1),v=g.useState(Array.isArray(n)?n:void 0),y=xe(v,2),I=y[0],E=y[1],w=g.useState(typeof p<"u"?p:""),C=xe(w,2),x=C[0],A=C[1],S=g.useState(n===!0),O=xe(S,2),R=O[0],P=O[1],W=g.useState(void 0),Z=xe(W,2),B=Z[0],N=Z[1],D=g.useState([]),L=xe(D,2),Y=L[0],X=L[1],U=g.useState(!1),de=xe(U,2),Re=de[0],le=de[1],me=g.useState({}),Fe=xe(me,2),Ee=Fe[0],ye=Fe[1],we=g.useState(void 0),Pe=xe(we,2),Le=Pe[0],_e=Pe[1],ut=g.useState(void 0),k=xe(ut,2),et=k[0],He=k[1];r!==et&&(ye({}),He(r)),n!==Le&&(E(Array.isArray(n)?n:void 0),_e(n)),g.useEffect(function(){return b.current=!0,function(){b.current=!1}},[]);var De=g.useCallback(function(ct,ze){if(!i)return ze();var Ge=i(ct,ze);Ge&&typeof Ge.then=="function"&&Ge.then(ze,function(){return ze()})},[i]);g.useEffect(function(){n===!0&&De(x,function(ct){!b.current||(E(ct||[]),P(!!h.current))})},[]);var Gt=g.useCallback(function(ct,ze){var Ge=Ad(ct,ze,l);if(!Ge){h.current=void 0,A(""),N(""),X([]),P(!1),le(!1);return}if(r&&Ee[Ge])A(Ge),N(Ge),X(Ee[Ge]),P(!1),le(!1);else{var oo=h.current={};A(Ge),P(!0),le(!B),De(Ge,function(Ct){!b||oo===h.current&&(h.current=void 0,P(!1),N(Ge),X(Ct||[]),le(!1),ye(Ct?ie(ie({},Ee),{},Xe({},Ge,Ct)):Ee))})}},[r,De,B,Ee,l]),zn=Re?[]:x&&B?Y:I||[];return ie(ie({},f),{},{options:zn,isLoading:R||a,onInputChange:Gt,filterOption:c})}var Ya=g.forwardRef(function(e,t){var n=w0(e),o=xi(n);return d(eo,{ref:t,...o})});function A0({placeholder:e="",id:t="default-async",name:n="default-async",error:o="",helpText:r="",hasLabelPlaceholder:i=!1,isDisabled:s=!1,isClearable:a=!0,defaultValue:l,onChange:u,isLoading:c,loadOptions:f,isError:p,showErrorText:h,onBlur:b,ref:v}){const{styles:y}=Dn({error:o,isError:p,helpText:r}),I={DropdownIndicator:Wn,ClearIndicator:Ln,Option:ja,Placeholder:Xn,SingleValue:C=>d(to,{...C,hasLabelPlaceholder:i})},E={id:t,name:n,placeholder:e,isDisabled:s,isClearable:a,styles:y,defaultValue:l,noOptionsMessage:()=>"No encontrado"},w={onBlur:b,isLoading:c,components:I};return d(kn,{error:o,helpText:r,showErrorText:h,children:v?d(Ya,{...w,...E,ref:v,cacheOptions:!0,defaultOptions:!0,onChange:C=>u&&u(C),loadOptions:C=>f&&f(C)}):d(Ya,{...w,...E,cacheOptions:!0,defaultOptions:!0,onChange:C=>u&&u(C),loadOptions:C=>f&&f(C)})})}const S0=({alignButton:e,...t})=>{const n=t;return d(({children:r})=>{const i=n.data;if(i.notSelect){const s=n.selectProps,a=u=>{var c;if(i.notSelect)return u(i),(c=s.onClickFirstItem)==null?void 0:c.call(s,i)},l={addButton:()=>a(s.addButton)};return V(mo,{variant:"plain",fullWidth:!0,align:e,...n.innerProps,onClick:l.addButton,children:[d(he,{kind:i.icon}),n.children]})}return d(qe.Option,{...n,children:r})},{children:d($,{as:"span",variant:"body",color:n.isSelected?"on":"default",children:n.children})})};function N0({options:e,placeholder:t="",defaultValue:n,isDisabled:o=!1,id:r="default",error:i="",name:s="default",helpText:a="",hasLabelPlaceholder:l=!1,onChange:u,isSearchable:c=!0,isClearable:f=!0,alignButton:p="start",onClickFirstItem:h,isError:b,showErrorText:v,onBlur:y,ref:I}){const{styles:E}=Dn({error:i,isError:b,helpText:a}),w={DropdownIndicator:Wn,ClearIndicator:Ln,Option:A=>d(S0,{...A,alignButton:p}),Placeholder:Xn,SingleValue:A=>d(to,{...A,hasLabelPlaceholder:l})},C={id:r,name:s,placeholder:t,isDisabled:o,isClearable:f,styles:E,defaultValue:n,noOptionsMessage:()=>"No encontrado"},x={onBlur:y,isSearchable:c,options:e,components:w};return d(kn,{error:i,helpText:a,showErrorText:v,children:I?d(Ft,{...C,...x,ref:I,onChange:A=>u&&u(A),addButton:h}):d(Ft,{...C,...x,onChange:A=>u&&u(A),addButton:h})})}var F0=["title"];function P0(e,t){if(e==null)return{};var n=G0(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,o)||(n[o]=e[o]))}return n}function G0(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var T0=function(t){var n=t.title,o=P0(t,F0);return V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",...o,children:[n&&d("title",{children:n}),d("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),d("path",{fill:"#D80027",d:"M0 343.096h512v83.567H0z"}),d("path",{fill:"#0052B4",d:"M0 256h512v87.096H0z"})]})};const _a=({isDisabled:e})=>d(T0,{className:M("w-[16px]",{"opacity-[0.4]":e})}),V0=({isDisabled:e,...t})=>{const n=t;return d(qe.SingleValue,{...n,children:V("div",{className:"flex items-center space-x-[4px]",children:[d(_a,{isDisabled:e}),d($,{as:"span",variant:"body",color:e?"disabled":"default",children:n.children})]})})},O0=e=>d(qe.Option,{...e,children:V("div",{className:"flex gap-x-1",children:[d(_a,{}),d($,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})]})});function B0({id:e="default-country",name:t="default-country",placeholder:n="",options:o,defaultValue:r,isDisabled:i=!1,error:s="",isSearchable:a=!1,helpText:l="",onChange:u,isClearable:c=!0,isError:f,showErrorText:p,onBlur:h,ref:b}){const{styles:v}=Dn({error:s,isError:f,helpText:l}),y={DropdownIndicator:Wn,ClearIndicator:Ln,Option:O0,Placeholder:Xn,SingleValue:w=>d(V0,{...w,isDisabled:i})},I={id:e,name:t,placeholder:n,isDisabled:i,isClearable:c,styles:v,defaultValue:r,noOptionsMessage:()=>"No encontrado"},E={options:o,isSearchable:a,components:y,onBlur:h};return d(kn,{error:s,helpText:l,showErrorText:p,children:b?d(Ft,{...E,...I,ref:b,onChange:w=>u&&u(w)}):d(Ft,{...E,...I,onChange:w=>u&&u(w)})})}function R0({tabs:e,variant:t="default"}){const n=({selected:s,isDisabled:a})=>M("cursor-pointer focus:outline-none focus-visible:ring-0 after:absolute after:-bottom-[1px] after:h-[3px] after:rounded-t-[4px] after:rounded-r-[4px] after:rounded-b-none after:content-[''] relative",!s&&!a?"after:hover:absolute after:hover:bg-action-secondary-hovered after:hover:transition after:hover:duration-400 after:active:bg-action-secondary-active":"",{"after:left-1 after:w-[88%]":t==="default","after:w-full w-full after:left-0 text-center":t==="fitted","after:bg-action-secondary-pressed":s,"after:bg-action-secondary-disabled":a}),o=({selected:s,isDisabled:a})=>a?"disabled":s?"default":"subdued",r=({selected:s,isDisabled:a})=>!s&&!a?"hover:text-letter-default":"",i=({selected:s,isDisabled:a,nameTab:l,total:u})=>t==="fitted"?V($,{variant:"button",color:o({selected:s,isDisabled:a}),className:M("flex w-full items-center justify-center gap-x-1 p-sm ",r({selected:s,isDisabled:a})),children:[l,u&&d("span",{className:M("flex h-5 items-center rounded-sm bg-surface-neutral-default py-[2px] px-2",r({selected:s,isDisabled:a})),children:u})]}):d($,{variant:"button",color:o({selected:s,isDisabled:a}),className:M("p-sm",r({selected:s,isDisabled:a})),children:l});return d("div",{className:"w-full",children:V(Wt.Group,{children:[d(Wt.List,{className:M("flex border-b",{"justify-center":t==="fitted"}),children:Object.entries(e).map(([s,{isDisabled:a,total:l}],u)=>d(Wt,{className:({selected:c})=>n({selected:c,isDisabled:a}),disabled:a,children:({selected:c})=>i({selected:c,isDisabled:a,nameTab:s,total:l})},u))}),d(Wt.Panels,{className:"mt-3",children:Object.values(e).map((s,a)=>!s.isDisabled&&d(Wt.Panel,{children:s.children},a))})]})})}function no({children:e,size:t="sm",icon:n="error",colorIcon:o="critical",className:r,...i}){return V("div",{className:M("inline-flex items-center gap-x-xs",r),children:[n&&d(he,{kind:n,color:o,size:"sm"}),d($,{as:"span",variant:t==="lg"?"body":"caption",color:"critical",...i,children:e})]})}function M0({title:e,iconTitle:t,subtitle:n,footer:o,isOpen:r=!1,hasBorder:i=[],showClose:s=!0,onClose:a,className:l,children:u}){const c=()=>V("header",{className:"mb-lg flex items-center justify-between",children:[V("div",{className:"flex items-center gap-x-2",children:[t&&t,d(nt,{variant:"heading",color:"default",children:e})]}),s&&d(he,{color:"default",kind:"delete",cursor:"pointer",onClick:()=>a==null?void 0:a(!r)})]}),f=()=>V(pe,{children:[i.includes("top")&&d("div",{className:"mb-xs border-b border-border-disabled"}),u,i.includes("bottom")&&d("div",{className:"mt-xs border-t border-border-disabled"})]});return V(Wo,{open:r,onClose:p=>a==null?void 0:a(p),className:"relative z-50",children:[d("div",{className:"fixed inset-0 bg-background-modal","aria-hidden":"true"}),d("div",{className:"fixed inset-0 overflow-y-auto",children:d("div",{className:"flex min-h-full items-center justify-center",children:V(Wo.Panel,{className:M("mx-auto rounded-sm bg-surface-default p-lg shadow-popup",l),children:[c(),n&&d($,{variant:"caption",color:"subdued",className:"mb-sm",children:n}),d("main",{className:"mb-lg",children:f()}),d("footer",{className:"flex w-full justify-end gap-x-2",children:o&&o})]})})})]})}function D0({title:e,subtitle:t,defaultOpen:n=!1,isDisabled:o,content:r=[],className:i,children:s}){const a=()=>d(pe,{children:typeof e=="string"?d($,{variant:"highlight",color:o?"disabled":"default",children:e}):e}),l=(c,f)=>d(g.Fragment,{children:typeof c=="string"?d($,{variant:"body",color:o?"disabled":"subdued",children:c}):c},f),u=({label:c,value:f},p)=>V("div",{className:"flex items-center justify-between",children:[typeof c=="string"?d($,{variant:"body",color:o?"disabled":"default",children:c}):c,typeof f=="string"?d($,{variant:"body",color:o?"disabled":"subdued",children:f}):f]},p);return o?V("div",{className:M("flex min-h-[56px] w-full flex-wrap items-center justify-between rounded-sm bg-action-secondary-disabled py-xs px-sm focus:outline-none focus-visible:outline-none"),children:[V("div",{className:"flex items-center gap-x-sm",children:[d(he,{kind:"down",color:o?"disabled":"default"}),a()]}),d("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(l)})]}):d(lr,{defaultOpen:n,children:({open:c})=>V("div",{className:M("mb-sm",i),children:[V(lr.Button,{className:M("flex min-h-[56px] w-full flex-wrap items-center justify-between bg-action-secondary-default py-xs px-sm hover:bg-action-secondary-hovered focus:outline-none focus-visible:outline-none active:bg-action-secondary-active",c?"rounded-tl-sm rounded-tr-sm border-t border-l border-r border-border-shadow-subdued":"rounded-sm"),children:[V("div",{className:"flex gap-x-sm",children:[d(he,{kind:c?"up":"down",color:o?"disabled":"default"}),a()]}),d("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(l)})]}),d(lr.Panel,{className:M("space-y-sm rounded-br-sm rounded-bl-sm border border-t-border-subdued bg-action-secondary-default py-sm pr-sm pl-[48px]",c?"border-b border-r border-l border-border-shadow-subdued":""),children:r.length>0?r.map(u):s})]})})}function L0(){return V("svg",{xmlns:"http://www.w3.org/2000/svg",width:"183",height:"136",fill:"none",viewBox:"0 0 183 136",children:[d("path",{fill:"#F0F1F2",d:"M152.637 71.913c0 9.518-2.063 18.56-5.766 26.683C136.836 120.67 114.72 136 89.056 136c-25.664 0-47.78-15.329-57.814-37.404-3.704-8.124-5.766-17.165-5.766-26.683 0-35.395 28.465-64.086 63.58-64.086 35.116 0 63.581 28.691 63.581 64.086z"}),d("mask",{id:"mask0_829_5665",style:{maskType:"alpha"},width:"183",height:"136",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:d("path",{fill:"#F0F1F2",d:"M178.521 33.801c3.673 11.655 17.075 59.762-31.65 64.793C136.836 120.67 114.721 136 89.057 136c-25.665 0-47.78-15.329-57.815-37.405C-18.35 64.953 4.492 33.801 10.386 22.11 31.242 0 53.941 0 89.056 0c35.116 0 47.676 7.794 89.465 33.801z"})}),V("g",{filter:"url(#filter0_d_829_5665)",mask:"url(#mask0_829_5665)",children:[d("path",{fill:"#FFDDA8",d:"M145.907 67.692l-24.135-14.178-10.075-5.911L89.879 34.79l-.88-.518-.302-.165-.023.023-.903.518-55.148 32.384-.255.164-.255.142-.208.118 23.023 13.518 10.052 5.912 21.54 12.647h.023l3.15 1.86.047.024.209.117.023-.023 1.343-.777 38.124-22.397 17.279-10.151v-.024l-.811-.47v-.001z"}),d("path",{fill:"#E8D4BC",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996-55.264 32.453 56.515 32.925.046-.024 5.536-3.226 49.543-28.874.139-.07-14.152-8.314z"}),d("path",{fill:"#CCAF8B",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996v58.525l6.833 3.603.046.023 49.497-28.897.139-.07-14.152-8.314zM89.948 101.535v36.74h-.092c-23.58 0-44.355-12.129-56.631-30.593l-1.32-2.051V67.456l23.022 13.519 10.099 5.91L86.52 99.534h.023l3.197 1.884.208.118z"}),d("path",{fill:"#E8D4BC",d:"M129.439 78.337l-38.124 22.397-1.344.777-.023.024v36.74c1.645 0 3.266-.071 4.864-.212.162.023.302 0 .44-.024 1.807-.117 3.59-.33 5.351-.636.139 0 .278-.023.417-.071.046 0 .092 0 .139-.023.139 0 .278-.023.394-.071.139 0 .278-.023.416-.07.278-.024.556-.071.811-.142.417-.07.811-.165 1.228-.259.139 0 .254-.047.393-.094a12.973 12.973 0 001.598-.377c.139 0 .279-.047.417-.094a50.433 50.433 0 003.243-.895c.185.071.417.024.672-.141l.278-.165h.023c.069 0 .139-.047.231-.071.14-.047.255-.094.394-.141a36.744 36.744 0 002.687-.966 28.905 28.905 0 001.807-.706c.115-.048.254-.094.37-.165 12.508-5.299 23.162-14.249 30.597-25.577V68.186l-17.279 10.15v.001z"}),d("path",{fill:"#B6956D",d:"M87.775 34.505L66.285 8.697 10.407 40.67v1.3l21.489 25.48 1.171.118 54.725-32.095-.016-.969z"}),d("path",{fill:"#DAC2A5",d:"M88.674 34.132v-.118L67.087 7.825l-31.06 18.016L14.811 38.16l-1.297.753-3.104 1.79 12.322 14.625 9.89 11.705.232.306.209.236.208-.117 55.426-32.478v-.424l-.023-.423z"}),d("path",{fill:"#D3B998",d:"M117.214 9.459l-27.602 25.6 55.604 33.297 1.586-.197 27.237-25.616-.416-.93-55.581-32.662-.828.508z"}),d("path",{fill:"#DAC2A5",d:"M140.858 22.332L117.14 8.39l-.811.518-27.33 25.364-.302.283-.255.236.255.141L104.03 44l39.63 23.434 1.413.824.139.094.185-.165.51-.494L157.303 57l16.329-15.379-32.774-19.289z"}),d("path",{fill:"#C9AA8C",d:"M95.53 97.131l-6.833-4.004-5.536 3.25 6.833 3.981.023.023 1.737-1.013 3.822-2.213-.046-.024z"}),d("path",{fill:"#C1A787",d:"M3.148 58.709l30.007 8.947 56.796 32.731-.014 1.078-30.284-7.607L3.148 59.736v-1.027z"}),d("path",{fill:"#DAC2A5",d:"M33.271 67.456l-.417-.118-.486-.141-.903-.259-9.844-2.85L3.137 58.72l18.345 11.069 10.422 6.288L59.652 92.82l26.868 6.712h.023l3.405.848L33.27 67.456z"}),d("path",{fill:"#C7AE90",d:"M158.206 71.554l-11.489-2.308-.741-.141-16.537 9.232-37.684 21.031-1.76.989-.047.024.023 1.13v.071l28.466 7.065 28.281-16.392 9.149-5.298 19.108-11.07v-.965l-16.769-3.368z"}),d("path",{fill:"#DAC2A5",d:"M158.229 70.918l-11.489-2.732h-1.528l-.139.071L95.53 97.131l-5.536 3.227-.046.023 1.367.353 27.122 6.925 28.281-16.369 9.473-5.487 18.784-10.88-16.746-4.005z"})]}),d("defs",{children:V("filter",{id:"filter0_d_829_5665",width:"183.838",height:"142.45",x:"-2.863",y:"5.825",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[d("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),d("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),d("feOffset",{dy:"4"}),d("feGaussianBlur",{stdDeviation:"3"}),d("feComposite",{in2:"hardAlpha",operator:"out"}),d("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),d("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_829_5665"}),d("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_829_5665",result:"shape"})]})})]})}function k0(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60",children:d("path",{fill:"#A2A2A2",d:"M50.625 26.25h-2.813v-8.438C47.813 8.086 39.727 0 30 0c-9.844 0-17.813 8.086-17.813 17.813v8.437H9.376c-3.164 0-5.625 2.578-5.625 5.625v22.5C3.75 57.539 6.21 60 9.375 60h41.25c3.047 0 5.625-2.46 5.625-5.625v-22.5c0-3.047-2.578-5.625-5.625-5.625zm-12.188 0H21.564v-8.438c0-4.57 3.75-8.437 8.437-8.437 4.57 0 8.438 3.867 8.438 8.438v8.437z"})})}function W0({title:e,description:t,img:n,className:o,children:r}){const i=()=>n==="box"?d(L0,{}):n==="padlock"?d(k0,{}):d(pe,{});return V("div",{className:M(o,"flex w-full flex-col items-center justify-center rounded-xs border border-border-disabled bg-surface-default py-xl px-[40px]"),children:[i(),V("div",{className:"mb-sm w-full md:w-[300px]",children:[d(nt,{variant:"heading",color:"default",className:M("mb-sm text-center",n&&"mt-[42px]"),children:e}),d($,{variant:"body",color:"subdued",className:"text-center",children:t})]}),r]})}function X0({icon:e,isSelected:t=!1,title:n,total:o,isSmall:r=!1,...i}){const s=()=>o&&!r?d("span",{className:M("relative inline-block h-[20px] w-[30px] rounded-md bg-surface-neutral-default py-[2px] px-2"),children:d("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:d($,{variant:"caption",color:"default",className:"select-none",children:o})})}):d(pe,{});return V("div",{className:M("flex select-none items-center gap-x-[13px]",!t&&"cursor-pointer"),...i,children:[d("div",{className:M("h-[32px] w-[3px] rounded-sm",t&&"bg-action-primary-default")}),V("div",{className:M("flex items-center justify-between rounded-[5px] px-[8px]",t&&"bg-action-secondary-default",r?"min-w-[32px] py-[10px]":"min-w-[200px] py-[12px]"),children:[V("div",{className:"flex items-center gap-x-[10px]",children:[d(he,{kind:e,size:"sm",color:t?"primary":"subdued"}),!r&&d($,{variant:"body",color:t?"primary":"subdued",children:n})]}),s()]})]})}function Z0({hasLogo:e=!1,className:t="",...n}){return V("header",{className:M("flex h-[64px] w-full min-w-[320px] items-center justify-between bg-surface-default py-sm px-[24px] shadow-[4px_2px_10px_rgba(0,0,0,0.1),inset_0px_-1px_0px_rgba(194,194,194,0.35)]",t),...n,children:[V("div",{className:"flex items-center gap-x-sm",children:[d(he,{kind:"menu",color:"default",cursor:"pointer",size:"sm",className:"sm:hidden"}),e&&d(hn,{kind:"brand-sm",className:"hidden w-[69px] md:block"})]}),V("div",{className:"flex items-center gap-x-sm",children:[d(he,{kind:"notifications",color:"default",cursor:"pointer",size:"sm"}),d(bo,{size:"sm"})]})]})}function Zn({children:e,title:t="",className:n,footer:o,...r}){return V("div",{className:M(n,"m-0 p-0"),...r,children:[d(nt,{variant:"heading",color:"default",className:"mb-lg",children:t}),e]})}Zn.Container=function({children:t,className:n,...o}){return d("div",{className:M(n,"rounded-sm border border-border-disabled p-lg shadow-[0px_0px_3px_0px_#34343426]"),...o,children:t})},Zn.Header=function({children:t,className:n,...o}){return V("div",{className:M(n,"mb-lg space-y-sm"),...o,children:[t,d("div",{className:"mb-lg mt-sm border-t border-border-shadow-subdued"})]})},Zn.Footer=function({children:t,className:n,total:o="$-",isDisabled:r,...i}){return V("footer",{className:M(n),...i,children:[d("div",{className:"mb-xs mt-lg border-t border-border-shadow-subdued"}),V("div",{className:"flex justify-between",children:[d(nt,{variant:"heading",color:r?"disabled":"default",children:"Total (COP)"}),d(nt,{variant:"heading",color:r?"disabled":"default",children:o})]})]})};function H0({isDisabled:e,type:t,iconRight:n,error:o,iconLeft:r,onChange:i,value:s,isError:a}){const l=g.useRef(null),[u,c]=g.useState(s!=null?s:""),[f,p]=g.useState(!1),h=({target:{value:C}})=>(c(C),i==null?void 0:i(C)),b=()=>(c(C=>C?C=Number(C)+1:C=1),i==null?void 0:i(String(u))),v=()=>(c(C=>C?C=Number(C)-1:C=0),i==null?void 0:i(String(u))),y=()=>{var C;return c(""),i==null||i(""),l&&((C=l.current)==null?void 0:C.focus())},I=()=>e?"disabled":"subdued",E=()=>e?"disabled":f&&t==="password"?"default":"subdued",w=M("w-full rounded-sm bg-action-secondary-default py-md px-sm font-sans text-xs font-book leading-xs text-letter-default caret-icon-default placeholder:font-sans placeholder:text-xs placeholder:font-book placeholder:leading-xs placeholder:text-letter-subdued focus:ring-0 disabled:bg-action-secondary-disabled disabled:text-letter-disabled disabled:placeholder:text-letter-disabled",o||a?"border border-action-critical-default focus:border-action-critical-default":"border-none focus:rounded-[5px] focus:shadow-[0px_0px_0px_1px_#3EADFE]",{"pr-20":n,"pl-10":r});return{inputValue:u,inputRef:l,handleChange:h,subtractValue:v,addMoreValue:b,getColorIcon:I,getColorIconPassword:E,showPassword:f,setShowPassword:p,clearInput:y,getClassInput:w}}function z0({logo:e,helpText:t,error:n,showErrorText:o}){const r=()=>e?e&&(t||n)?"justify-between":"justify-end":"justify-start";return e||t||n?V("div",{className:M("mt-xs flex",r()),children:[t&&!n&&d($,{variant:"caption",color:"subdued",children:t}),(n||o)&&!t&&V(no,{icon:"error",children:[n,"a"]}),e&&d(hn,{kind:"google-maps",className:"w-[80px]"})]}):d(pe,{})}function Pt({children:e,renderIconLeft:t,renderInput:n}){return V("div",{className:"relative w-full",children:[n,(()=>t?d("span",{className:"absolute inset-y-0 flex items-center left-0 pl-4",children:t}):d(pe,{}))(),d("div",{className:"absolute top-1/2 right-0 -translate-y-1/2 flex justify-between items-center gap-x-2 pr-4",children:e})]})}Pt.Special=function(t){const{children:n,isNumber:o,isPassword:r}=t;return o?d("span",{className:"flex flex-col items-center justify-center",children:n}):r?d("span",{className:"flex items-center",children:n}):d(pe,{})},Pt.Delete=function(t){const{children:n,inputValue:o}=t;return(typeof o=="number"?o>0:o)?d("span",{children:n}):d(pe,{})};const j0=g.forwardRef((e,t)=>{const{id:n,name:o,isDisabled:r,isReadOnly:i,placeholder:s,autoComplete:a="nope",type:l="text",iconLeft:u,iconRight:c,helpText:f,logo:p,error:h,onChange:b,value:v,tooltip:y,showErrorText:I,isError:E}=e,w=H0({isDisabled:r,type:l,iconRight:c,error:h,iconLeft:u,onChange:b,value:v,isError:E}),{inputValue:C,inputRef:x,handleChange:A,subtractValue:S,addMoreValue:O,getColorIcon:R,getColorIconPassword:P,showPassword:W,setShowPassword:Z,clearInput:B,getClassInput:N}=w,D=()=>y!=null&&y.isActive?d(hi,{placement:y==null?void 0:y.placement,title:y==null?void 0:y.title,description:y==null?void 0:y.description,children:d(he,{kind:c,color:R()})}):d(he,{kind:c,color:R()}),L=g.useMemo(()=>un([x,t]),[x,t]);return V(pe,{children:[V(Pt,{renderInput:d("input",{id:n,name:o,ref:L,value:C,placeholder:s,onChange:A,readOnly:i,disabled:r,autoComplete:a,type:W?"text":l,className:N}),renderIconLeft:u&&d(he,{kind:u,color:R()}),children:[d(Pt.Delete,{inputValue:C,children:d(he,{kind:"delete",color:"default",onClick:B,cursor:"pointer"})}),V(Pt.Special,{isNumber:l==="number",children:[d(he,{kind:"more",cursor:"pointer",size:"sm",color:R(),onClick:O}),d(he,{kind:"less",cursor:"pointer",size:"sm",color:R(),onClick:S})]}),d(Pt.Special,{isPassword:l==="password",children:d(he,{kind:"eye",color:P(),onClick:()=>Z(!W)})}),D()]}),d(z0,{helpText:f,error:h,showErrorText:I,logo:p})]})});function Y0({items:e=[],checkedItem:t,onChange:n}){const o=(i,s)=>s!=null&&s.error?"border-action-critical-default":s!=null&&s.isDisabled?"border-border-disabled":i?"shadow-[0px_0px_0px_1px_#3EADFE]":"border-border-default hover:border-border-hovered",r=(i,s)=>{var a,l;return((a=i==null?void 0:i.id)==null?void 0:a.toLowerCase())===((l=s==null?void 0:s.id)==null?void 0:l.toLowerCase())};return e.length>0?d(Yo,{value:t,by:r,onChange:n,className:"space-y-sm",children:e.map(i=>d(Yo.Option,{value:i,disabled:(i==null?void 0:i.isDisabled)||Boolean(i==null?void 0:i.error),className:({active:s})=>M("flex min-h-[78px] items-center rounded-sm border bg-white p-sm",!(i!=null&&i.isDisabled)&&"cursor-pointer",o(s,i)),children:({checked:s})=>{var a,l;return d(pe,{children:V("div",{className:"flex w-full justify-between",children:[V("div",{className:M("flex items-center",(i==null?void 0:i.img)||(i==null?void 0:i.hasRadio)?"gap-x-sm":""),children:[(i==null?void 0:i.hasRadio)&&d(Ci,{id:i==null?void 0:i.id,name:i==null?void 0:i.title,value:i==null?void 0:i.id,checked:s,isDisabled:i==null?void 0:i.isDisabled}),(i==null?void 0:i.img)&&d(pe,{children:i==null?void 0:i.img}),V("header",{children:[d(nt,{variant:"heading",color:i!=null&&i.isDisabled?"disabled":"default",children:i==null?void 0:i.title}),V("div",{className:"flex gap-x-[2px]",children:[d($,{variant:"body",color:i!=null&&i.isDisabled?"disabled":"subdued",children:(a=i==null?void 0:i.subtitle)!=null?a:""}),d($,{variant:"highlight",color:i!=null&&i.isDisabled?"disabled":"subdued",children:(l=i==null?void 0:i.description)!=null?l:""})]})]})]}),(i==null?void 0:i.state)&&d($,{variant:"caption",color:i!=null&&i.isDisabled?"disabled":"subdued",children:i==null?void 0:i.state})]})})}},i==null?void 0:i.id))}):d(pe,{})}function _0({children:e,isSmall:t=!1,onClick:n,className:o,...r}){return V("nav",{className:M("h-full bg-background-default py-sm shadow-[inset_-1px_0px_0px_#C2C2C2]",o,t?"w-[67px]":"w-[240px] pr-xs"),...r,children:[V("div",{className:M("mb-xl flex items-center",t?"justify-center":"justify-between px-sm"),children:[d(hn,{kind:"brand-sm",className:M("w-[69px]",t&&"hidden")}),d(he,{kind:"menu",color:"subdued",cursor:"pointer",size:"sm",onClick:n})]}),d("div",{className:"flex flex-col space-y-sm",children:e})]})}function Hn({children:e,className:t,...n}){return d("div",{className:M(t,"relative flex h-screen p-0"),...n,children:e})}Hn.Header=function({children:t}){return d(pe,{children:t})},Hn.Menu=function({children:t}){return d(pe,{children:t})},Hn.Main=function({children:t,className:n,...o}){return d("main",{className:M(n,"relative top-[64px] h-[calc(100%-64px)] w-full py-xl px-xxl"),...o,children:t})};function ro({children:e,className:t,...n}){return d("div",{className:M(t,"m-0 p-0"),...n,children:e})}ro.Header=function({children:t,className:n,title:o="",onBack:r,...i}){return V(pe,{children:[V("div",{role:"heading",className:M(n,"m-0 flex w-full flex-col space-y-3 p-0 sm:flex-row sm:items-center sm:justify-between",r?"mb-lg":"mb-[96px]"),...i,children:[d(nt,{variant:"lg",color:"default",className:"leading-none",children:o}),d("div",{className:"mt-6 grid gap-2 grid-cols-2 grid-rows-2 sm:flex sm:justify-between md:w-[448px]",children:t})]}),r&&V("span",{onClick:r,className:"mb-lg inline-flex cursor-pointer items-center gap-x-2 p-4",children:[d(he,{kind:"thin-back",color:"default"}),d($,{variant:"button",color:"default",children:"Atr\xE1s"})]})]})},ro.Main=function({children:t,className:n,...o}){return d("div",{className:M(n,"block md:flex md:justify-between md:gap-x-[112px]"),...o,children:t})};function J0({variant:e,children:t}){return d("span",{className:M("inline-flex rounded-md py-[2px] px-2",{"bg-surface-neutral-default":e==="neutral","bg-surface-action-default":e==="info","bg-surface-success-default":e==="success","bg-surface-warning-default":e==="warning","bg-surface-critical-default":e==="critical"}),children:d($,{variant:"caption",children:t})})}_.AsyncSelect=A0,_.Avatar=bo,_.Badge=J0,_.Button=mo,_.CardSelect=Y0,_.Checkbox=Uu,_.Dropdown=D0,_.EmptyState=W0,_.Field=j0,_.Header=Z0,_.Heading=nt,_.Icon=he,_.InlineError=no,_.LayoutMain=Hn,_.LayoutShipment=ro,_.Link=ps,_.Logo=hn,_.Modal=M0,_.Navigation=_0,_.RadioButton=Ci,_.Select=x0,_.SelectButton=N0,_.SelectCountry=B0,_.Summary=Zn,_.Switch=Ul,_.Tab=R0,_.TabNav=X0,_.Text=$,_.Tooltip=hi,_.Tracker=$u,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
65
+ `]))),cf=function(t){var n=t.isFocused,o=t.size,r=t.theme,i=r.colors,s=r.spacing.baseUnit;return{label:"loadingIndicator",color:n?i.neutral60:i.neutral20,display:"flex",padding:s*2,transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"}},$r=function(t){var n=t.delay,o=t.offset;return H("span",{css:Yr({animation:"".concat(uf," 1s ease-in-out ").concat(n,"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmc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cx,r=t.getStyles,i=t.innerProps,s=t.isRtl;return H("div",ae({css:r("loadingIndicator",t),className:o({indicator:!0,"loading-indicator":!0},n)},i),H($r,{delay:0,offset:s}),H($r,{delay:160,offset:!0}),H($r,{delay:320,offset:!s}))};ya.defaultProps={size:4};var df=function(t){var n=t.isDisabled,o=t.isFocused,r=t.theme,i=r.colors,s=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:o?i.primary:i.neutral30}}},ff=function(t){var n=t.children,o=t.cx,r=t.getStyles,i=t.className,s=t.isDisabled,a=t.isFocused,l=t.innerRef,u=t.innerProps,c=t.menuIsOpen;return H("div",ae({ref:l,css:r("control",t),className:o({control:!0,"control--is-disabled":s,"control--is-focused":a,"control--menu-is-open":c},i)},u),n)},pf=["data"],gf=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},mf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.Heading,a=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,f=t.selectProps;return H("div",ae({css:i("group",t),className:r({group:!0},o)},l),H(s,ae({},a,{selectProps:f,theme:c,getStyles:i,cx:r}),u),H("div",null,n))},bf=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},hf=function(t){var n=t.getStyles,o=t.cx,r=t.className,i=aa(t);i.data;var s=vt(i,pf);return H("div",ae({css:n("groupHeading",t),className:o({"group-heading":!0},r)},s))},vf=["innerRef","isDisabled","isHidden","inputClassName"],Cf=function(t){var n=t.isDisabled,o=t.value,r=t.theme,i=r.spacing,s=r.colors;return ie({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:n?"hidden":"visible",color:s.neutral80,transform:o?"translateZ(0)":""},yf)},Ia={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},yf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ie({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ia)},If=function(t){return ie({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ia)},xf=function(t){var n=t.className,o=t.cx,r=t.getStyles,i=t.value,s=aa(t),a=s.innerRef,l=s.isDisabled,u=s.isHidden,c=s.inputClassName,f=vt(s,vf);return H("div",{className:o({"input-container":!0},n),css:r("input",t),"data-value":i||""},H("input",ae({className:o({input:!0},c),ref:a,style:If(u),disabled:l},f)))},Ef=function(t){var n=t.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return{label:"multiValue",backgroundColor:i.neutral10,borderRadius:r/2,display:"flex",margin:o.baseUnit/2,minWidth:0}},wf=function(t){var n=t.theme,o=n.borderRadius,r=n.colors,i=t.cropWithEllipsis;return{borderRadius:o/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},Af=function(t){var n=t.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=t.isFocused;return{alignItems:"center",borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,display:"flex",paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},xa=function(t){var n=t.children,o=t.innerProps;return H("div",o,n)},Sf=xa,Nf=xa;function Ff(e){var t=e.children,n=e.innerProps;return H("div",ae({role:"button"},n),t||H(Jr,{size:14}))}var Pf=function(t){var n=t.children,o=t.className,r=t.components,i=t.cx,s=t.data,a=t.getStyles,l=t.innerProps,u=t.isDisabled,c=t.removeProps,f=t.selectProps,p=r.Container,h=r.Label,m=r.Remove;return H(ta,null,function(v){var C=v.css,x=v.cx;return H(p,{data:s,innerProps:ie({className:x(C(a("multiValue",t)),i({"multi-value":!0,"multi-value--is-disabled":u},o))},l),selectProps:f},H(h,{data:s,innerProps:{className:x(C(a("multiValueLabel",t)),i({"multi-value__label":!0},o))},selectProps:f},n),H(m,{data:s,innerProps:ie({className:x(C(a("multiValueRemove",t)),i({"multi-value__remove":!0},o)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:f}))})},Gf=function(t){var n=t.isDisabled,o=t.isFocused,r=t.isSelected,i=t.theme,s=i.spacing,a=i.colors;return{label:"option",backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}}},Tf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.isDisabled,a=t.isFocused,l=t.isSelected,u=t.innerRef,c=t.innerProps;return H("div",ae({css:i("option",t),className:r({option:!0,"option--is-disabled":s,"option--is-focused":a,"option--is-selected":l},o),ref:u,"aria-disabled":s},c),n)},Vf=function(t){var n=t.theme,o=n.spacing,r=n.colors;return{label:"placeholder",color:r.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2}},Of=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.innerProps;return H("div",ae({css:i("placeholder",t),className:r({placeholder:!0},o)},s),n)},Rf=function(t){var n=t.isDisabled,o=t.theme,r=o.spacing,i=o.colors;return{label:"singleValue",color:n?i.neutral40:i.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Bf=function(t){var n=t.children,o=t.className,r=t.cx,i=t.getStyles,s=t.isDisabled,a=t.innerProps;return H("div",ae({css:i("singleValue",t),className:r({"single-value":!0,"single-value--is-disabled":s},o)},a),n)},qe={ClearIndicator:af,Control:ff,DropdownIndicator:rf,DownChevron:va,CrossIcon:Jr,Group:mf,GroupHeading:hf,IndicatorsContainer:Kd,IndicatorSeparator:lf,Input:xf,LoadingIndicator:ya,Menu:Wd,MenuList:Zd,MenuPortal:Yd,LoadingMessage:ma,NoOptionsMessage:ga,MultiValue:Pf,MultiValueContainer:Sf,MultiValueLabel:Nf,MultiValueRemove:Ff,Option:Tf,Placeholder:Of,SelectContainer:Jd,SingleValue:Bf,ValueContainer:Ud},Mf=function(t){return ie(ie({},qe),t.components)},Ea=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Df(e,t){return!!(e===t||Ea(e)&&Ea(t))}function Lf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Df(e[n],t[n]))return!1;return!0}function kf(e,t){t===void 0&&(t=Lf);var n=null;function o(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var s=e.apply(this,r);return n={lastResult:s,lastArgs:r,lastThis:this},s}return o.clear=function(){n=null},o}function Wf(){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)."}for(var Xf=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Wf},wa=function(t){return H("span",ae({css:Xf},t))},Zf={guidance:function(t){var n=t.isSearchable,o=t.isMulti,r=t.isDisabled,i=t.tabSelectsValue,s=t.context;switch(s){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(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 n=t.action,o=t.label,r=o===void 0?"":o,i=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", 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 s?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,o=t.focused,r=t.options,i=t.label,s=i===void 0?"":i,a=t.selectValue,l=t.isDisabled,u=t.isSelected,c=function(m,v){return m&&m.length?"".concat(m.indexOf(v)+1," of ").concat(m.length):""};if(n==="value"&&a)return"value ".concat(s," focused, ").concat(c(a,o),".");if(n==="menu"){var f=l?" disabled":"",p="".concat(u?"selected":"focused").concat(f);return"option ".concat(s," ").concat(p,", ").concat(c(r,o),".")}return""},onFilter:function(t){var n=t.inputValue,o=t.resultsMessage;return"".concat(o).concat(n?" for search term "+n:"",".")}},Hf=function(t){var n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.focusableOptions,s=t.isFocused,a=t.selectValue,l=t.selectProps,u=t.id,c=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,h=l.isMulti,m=l.isOptionDisabled,v=l.isSearchable,C=l.menuIsOpen,x=l.options,E=l.screenReaderStatus,w=l.tabSelectsValue,y=l["aria-label"],I=l["aria-live"],A=g.useMemo(function(){return ie(ie({},Zf),c||{})},[c]),S=g.useMemo(function(){var N="";if(n&&A.onChange){var D=n.option,L=n.options,Y=n.removedValue,X=n.removedValues,$=n.value,de=function(we){return Array.isArray(we)?null:we},Be=Y||D||de($),le=Be?f(Be):"",me=L||X||void 0,Fe=me?me.map(f):[],Ee=ie({isDisabled:Be&&m(Be,a),label:le,labels:Fe},n);N=A.onChange(Ee)}return N},[n,A,m,a,f]),O=g.useMemo(function(){var N="",D=o||r,L=!!(o&&a&&a.includes(o));if(D&&A.onFocus){var Y={focused:D,label:f(D),isDisabled:m(D,a),isSelected:L,options:i,context:D===o?"menu":"value",selectValue:a};N=A.onFocus(Y)}return N},[o,r,f,m,A,i,a]),M=g.useMemo(function(){var N="";if(C&&x.length&&A.onFilter){var D=E({count:i.length});N=A.onFilter({inputValue:p,resultsMessage:D})}return N},[i,p,C,A,x,E]),P=g.useMemo(function(){var N="";if(A.guidance){var D=r?"value":C?"menu":"input";N=A.guidance({"aria-label":y,context:D,isDisabled:o&&m(o,a),isMulti:h,isSearchable:v,tabSelectsValue:w})}return N},[y,o,r,h,m,v,C,A,a,w]),W="".concat(O," ").concat(M," ").concat(P),Z=H(g.Fragment,null,H("span",{id:"aria-selection"},S),H("span",{id:"aria-context"},W)),R=(n==null?void 0:n.action)==="initial-input-focus";return H(g.Fragment,null,H(wa,{id:u},R&&Z),H(wa,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text"},s&&!R&&Z))},Ur=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],zf=new RegExp("["+Ur.map(function(e){return e.letters}).join("")+"]","g"),Aa={},Qr=0;Qr<Ur.length;Qr++)for(var Kr=Ur[Qr],qr=0;qr<Kr.letters.length;qr++)Aa[Kr.letters[qr]]=Kr.base;var Sa=function(t){return t.replace(zf,function(n){return Aa[n]})},jf=kf(Sa),Na=function(t){return t.replace(/^\s+|\s+$/g,"")},Yf=function(t){return"".concat(t.label," ").concat(t.value)},_f=function(t){return function(n,o){if(n.data.__isNew__)return!0;var r=ie({ignoreCase:!0,ignoreAccents:!0,stringify:Yf,trim:!0,matchFrom:"any"},t),i=r.ignoreCase,s=r.ignoreAccents,a=r.stringify,l=r.trim,u=r.matchFrom,c=l?Na(o):o,f=l?Na(a(n)):a(n);return i&&(c=c.toLowerCase(),f=f.toLowerCase()),s&&(c=jf(c),f=Sa(f)),u==="start"?f.substr(0,c.length)===c:f.indexOf(c)>-1}},Jf=["innerRef"];function $f(e){var t=e.innerRef,n=vt(e,Jf),o=Bd(n,"onExited","in","enter","exit","appear");return H("input",ae({ref:t},o,{css:Yr({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Uf=function(t){t.preventDefault(),t.stopPropagation()};function Qf(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,s=g.useRef(!1),a=g.useRef(!1),l=g.useRef(0),u=g.useRef(null),c=g.useCallback(function(C,x){if(u.current!==null){var E=u.current,w=E.scrollTop,y=E.scrollHeight,I=E.clientHeight,A=u.current,S=x>0,O=y-I-w,M=!1;O>x&&s.current&&(o&&o(C),s.current=!1),S&&a.current&&(i&&i(C),a.current=!1),S&&x>O?(n&&!s.current&&n(C),A.scrollTop=y,M=!0,s.current=!0):!S&&-x>w&&(r&&!a.current&&r(C),A.scrollTop=0,M=!0,a.current=!0),M&&Uf(C)}},[n,o,r,i]),f=g.useCallback(function(C){c(C,C.deltaY)},[c]),p=g.useCallback(function(C){l.current=C.changedTouches[0].clientY},[]),h=g.useCallback(function(C){var x=l.current-C.changedTouches[0].clientY;c(C,x)},[c]),m=g.useCallback(function(C){if(!!C){var x=Vd?{passive:!1}:!1;C.addEventListener("wheel",f,x),C.addEventListener("touchstart",p,x),C.addEventListener("touchmove",h,x)}},[h,p,f]),v=g.useCallback(function(C){!C||(C.removeEventListener("wheel",f,!1),C.removeEventListener("touchstart",p,!1),C.removeEventListener("touchmove",h,!1))},[h,p,f]);return g.useEffect(function(){if(!!t){var C=u.current;return m(C),function(){v(C)}}},[t,m,v]),function(C){u.current=C}}var Fa=["boxSizing","height","overflow","paddingRight","position"],Pa={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ga(e){e.preventDefault()}function Ta(e){e.stopPropagation()}function Va(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Oa(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ra=!!(typeof window<"u"&&window.document&&window.document.createElement),Qt=0,Nt={capture:!1,passive:!1};function Kf(e){var t=e.isEnabled,n=e.accountForScrollbars,o=n===void 0?!0:n,r=g.useRef({}),i=g.useRef(null),s=g.useCallback(function(l){if(!!Ra){var u=document.body,c=u&&u.style;if(o&&Fa.forEach(function(m){var v=c&&c[m];r.current[m]=v}),o&&Qt<1){var f=parseInt(r.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,h=window.innerWidth-p+f||0;Object.keys(Pa).forEach(function(m){var v=Pa[m];c&&(c[m]=v)}),c&&(c.paddingRight="".concat(h,"px"))}u&&Oa()&&(u.addEventListener("touchmove",Ga,Nt),l&&(l.addEventListener("touchstart",Va,Nt),l.addEventListener("touchmove",Ta,Nt))),Qt+=1}},[o]),a=g.useCallback(function(l){if(!!Ra){var u=document.body,c=u&&u.style;Qt=Math.max(Qt-1,0),o&&Qt<1&&Fa.forEach(function(f){var p=r.current[f];c&&(c[f]=p)}),u&&Oa()&&(u.removeEventListener("touchmove",Ga,Nt),l&&(l.removeEventListener("touchstart",Va,Nt),l.removeEventListener("touchmove",Ta,Nt)))}},[o]);return g.useEffect(function(){if(!!t){var l=i.current;return s(l),function(){a(l)}}},[t,s,a]),function(l){i.current=l}}function qf(){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 e0=function(){return document.activeElement&&document.activeElement.blur()},t0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcu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Bjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:qf};function n0(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=o===void 0?!0:o,i=e.onBottomArrive,s=e.onBottomLeave,a=e.onTopArrive,l=e.onTopLeave,u=Qf({isEnabled:r,onBottomArrive:i,onBottomLeave:s,onTopArrive:a,onTopLeave:l}),c=Kf({isEnabled:n}),f=function(h){u(h),c(h)};return H(g.Fragment,null,n&&H("div",{onClick:e0,css:t0}),t(f))}function r0(){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 o0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZTogc3RyaW5nO1xuICByZWFkb25seSBvbkZvY3VzOiBGb2N1c0V2ZW50SGFuZGxlcjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0+ID0gKHsgbmFtZSwgb25Gb2N1cyB9KSA9PiAoXG4gIDxpbnB1dFxuICAgIHJlcXVpcmVkXG4gICAgbmFtZT17bmFtZX1cbiAgICB0YWJJbmRleD17LTF9XG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:r0},i0=function(t){var n=t.name,o=t.onFocus;return H("input",{required:!0,name:n,tabIndex:-1,onFocus:o,css:o0,value:"",onChange:function(){}})},a0=function(t){return t.label},s0=function(t){return t.label},l0=function(t){return t.value},u0=function(t){return!!t.isDisabled},c0={clearIndicator:of,container:_d,control:df,dropdownIndicator:nf,group:gf,groupHeading:bf,indicatorsContainer:Qd,indicatorSeparator:sf,input:Cf,loadingIndicator:cf,loadingMessage:zd,menu:Ld,menuList:Xd,menuPortal:jd,multiValue:Ef,multiValueLabel:wf,multiValueRemove:Af,noOptionsMessage:Hd,option:Gf,placeholder:Vf,singleValue:Rf,valueContainer:$d},d0={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%)"},f0=4,Ba=4,p0=38,g0=Ba*2,m0={baseUnit:Ba,controlHeight:p0,menuGutter:g0},eo={borderRadius:f0,colors:d0,spacing:m0},b0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ua(),captureMenuScroll:!ua(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:_f(),formatGroupLabel:a0,getOptionLabel:s0,getOptionValue:l0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:u0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Gd(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Ma(e,t,n,o){var r=Xa(e,t,n),i=Za(e,t,n),s=Wa(e,t),a=Mn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:i,label:s,value:a,index:o}}function Da(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(s,a){return Ma(e,s,t,a)}).filter(function(s){return ka(e,s)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Ma(e,n,t,o);return ka(e,i)?i:void 0}).filter(Od)}function La(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,wi(n.options.map(function(o){return o.data}))):t.push(n.data),t},[])}function h0(e,t){return La(Da(e,t))}function ka(e,t){var n=e.inputValue,o=n===void 0?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!za(e)||!i)&&Ha(e,{label:s,value:a,data:r},o)}function v0(e,t){var n=e.focusedValue,o=e.selectValue,r=o.indexOf(n);if(r>-1){var i=t.indexOf(n);if(i>-1)return n;if(r<t.length)return t[r]}return null}function C0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Wa=function(t,n){return t.getOptionLabel(n)},Mn=function(t,n){return t.getOptionValue(n)};function Xa(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Za(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var o=Mn(e,t);return n.some(function(r){return Mn(e,r)===o})}function Ha(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var za=function(t){var n=t.hideSelectedOptions,o=t.isMulti;return n===void 0?o:n},y0=1,to=function(e){oc(n,e);var t=lc(n);function n(o){var r;if(nc(this,n),r=t.call(this,o),r.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var u=r.props,c=u.onChange,f=u.name;l.name=f,r.ariaOnChange(a,l),c(a,l)},r.setValue=function(a,l,u){var c=r.props,f=c.closeMenuOnSelect,p=c.isMulti,h=c.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:h}),f&&(r.setState({inputIsHiddenAfterUpdate:!p}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:u})},r.selectOption=function(a){var l=r.props,u=l.blurInputOnSelect,c=l.isMulti,f=l.name,p=r.state.selectValue,h=c&&r.isOptionSelected(a,p),m=r.isOptionDisabled(a,p);if(h){var v=r.getOptionValue(a);r.setValue(p.filter(function(C){return r.getOptionValue(C)!==v}),"deselect-option",a)}else if(!m)c?r.setValue([].concat(wi(p),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}u&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,u=r.state.selectValue,c=r.getOptionValue(a),f=u.filter(function(h){return r.getOptionValue(h)!==c}),p=Bn(l,f,f[0]||null);r.onChange(p,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Bn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,u=l[l.length-1],c=l.slice(0,l.length-1),f=Bn(a,c,c[0]||null);r.onChange(f,{action:"pop-value",removedValue:u})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return wd.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Wa(r.props,a)},r.getOptionValue=function(a){return Mn(r.props,a)},r.getStyles=function(a,l){var u=c0[a](l);u.boxSizing="border-box";var c=r.props.styles[a];return c?c(u,l):u},r.getElementId=function(a){return"".concat(r.instancePrefix,"-").concat(a)},r.getComponents=function(){return Mf(r.props)},r.buildCategorizedOptions=function(){return Da(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return La(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:ie({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,u=l.isMulti,c=l.menuIsOpen;r.focusInput(),c?(r.setState({inputIsHiddenAfterUpdate:!u}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Tn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,u=l&&l.item(0);!u||(r.initialTouchX=u.clientX,r.initialTouchY=u.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,u=l&&l.item(0);if(!!u){var c=Math.abs(u.clientX-r.initialTouchX),f=Math.abs(u.clientY-r.initialTouchY),p=5;r.userIsDragging=c>p||f>p}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,u=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(u,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){r.blockOptionHover||r.state.focusedOption===a||r.setState({focusedOption:a})},r.shouldHideSelectedOptions=function(){return za(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,u=l.isMulti,c=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,h=l.isClearable,m=l.isDisabled,v=l.menuIsOpen,C=l.onKeyDown,x=l.tabSelectsValue,E=l.openMenuOnFocus,w=r.state,y=w.focusedOption,I=w.focusedValue,A=w.selectValue;if(!m&&!(typeof C=="function"&&(C(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!u||p)return;r.focusValue("previous");break;case"ArrowRight":if(!u||p)return;r.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(I)r.removeValue(I);else{if(!c)return;u?r.popValue():h&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!v||!x||!y||E&&r.isOptionSelected(y,A))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(v){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":v?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:p}),r.onMenuClose()):h&&f&&r.clearValue();break;case" ":if(p)return;if(!v){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":v?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":v?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!v)return;r.focusOption("pageup");break;case"PageDown":if(!v)return;r.focusOption("pagedown");break;case"Home":if(!v)return;r.focusOption("first");break;case"End":if(!v)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++y0),r.state.selectValue=ia(o.value),o.menuIsOpen&&r.state.selectValue.length){var i=r.buildFocusableOptions(),s=i.indexOf(r.state.selectValue[0]);r.state.focusedOption=i[s]}return r}return rc(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&la(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var i=this.props,s=i.isDisabled,a=i.menuIsOpen,l=this.state.isFocused;(l&&!s&&r.isDisabled||l&&a&&!r.menuIsOpen)&&this.focusInput(),l&&s&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!s&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(la(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(r,i){this.props.onInputChange(r,i)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(r){var i=this,s=this.state,a=s.selectValue,l=s.isFocused,u=this.buildFocusableOptions(),c=r==="first"?0:u.length-1;if(!this.props.isMulti){var f=u.indexOf(a[0]);f>-1&&(c=f)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c]},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(r){var i=this.state,s=i.selectValue,a=i.focusedValue;if(!!this.props.isMulti){this.setState({focusedOption:null});var l=s.indexOf(a);a||(l=-1);var u=s.length-1,c=-1;if(!!s.length){switch(r){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,s=this.state.focusedOption,a=this.getFocusableOptions();if(!!a.length){var l=0,u=a.indexOf(s);s||(u=-1),r==="up"?l=u>0?u-1:a.length-1:r==="down"?l=(u+1)%a.length:r==="pageup"?(l=u-i,l<0&&(l=0)):r==="pagedown"?(l=u+i,l>a.length-1&&(l=a.length-1)):r==="last"&&(l=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[l],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(eo):ie(ie({},eo),this.props.theme):eo}},{key:"getCommonProps",value:function(){var r=this.clearValue,i=this.cx,s=this.getStyles,a=this.getValue,l=this.selectOption,u=this.setValue,c=this.props,f=c.isMulti,p=c.isRtl,h=c.options,m=this.hasValue();return{clearValue:r,cx:i,getStyles:s,getValue:a,hasValue:m,isMulti:f,isRtl:p,options:h,selectOption:l,selectProps:c,setValue:u,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,i=r.isClearable,s=r.isMulti;return i===void 0?s:i}},{key:"isOptionDisabled",value:function(r,i){return Xa(this.props,r,i)}},{key:"isOptionSelected",value:function(r,i){return Za(this.props,r,i)}},{key:"filterOption",value:function(r,i){return Ha(this.props,r,i)}},{key:"formatOptionLabel",value:function(r,i){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(r,{context:i,inputValue:s,selectValue:a})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{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 r=this.props,i=r.isDisabled,s=r.isSearchable,a=r.inputId,l=r.inputValue,u=r.tabIndex,c=r.form,f=r.menuIsOpen,p=r.required,h=this.getComponents(),m=h.Input,v=this.state,C=v.inputIsHidden,x=v.ariaSelection,E=this.commonProps,w=a||this.getElementId("input"),y=ie(ie(ie({"aria-autocomplete":"list","aria-expanded":f,"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":p,role:"combobox"},f&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?(x==null?void 0:x.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?d(m,{...E,autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:i,isHidden:C,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l,...y}):d($f,{id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gn,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:c,value:"",...y})}},{key:"renderPlaceholderOrValue",value:function(){var r=this,i=this.getComponents(),s=i.MultiValue,a=i.MultiValueContainer,l=i.MultiValueLabel,u=i.MultiValueRemove,c=i.SingleValue,f=i.Placeholder,p=this.commonProps,h=this.props,m=h.controlShouldRenderValue,v=h.isDisabled,C=h.isMulti,x=h.inputValue,E=h.placeholder,w=this.state,y=w.selectValue,I=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!m)return x?null:g.createElement(f,{...p,key:"placeholder",isDisabled:v,isFocused:A,innerProps:{id:this.getElementId("placeholder")}},E);if(C)return y.map(function(O,M){var P=O===I,W="".concat(r.getOptionLabel(O),"-").concat(r.getOptionValue(O));return g.createElement(s,{...p,components:{Container:a,Label:l,Remove:u},isFocused:P,isDisabled:v,key:W,index:M,removeProps:{onClick:function(){return r.removeValue(O)},onTouchEnd:function(){return r.removeValue(O)},onMouseDown:function(R){R.preventDefault()}},data:O},r.formatOptionLabel(O,"value"))});if(x)return null;var S=y[0];return d(c,{...p,data:S,isDisabled:v,children:this.formatOptionLabel(S,"value")})}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),i=r.ClearIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||l||!this.hasValue()||u)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return d(i,{...s,innerProps:f,isFocused:c})}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),i=r.LoadingIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!i||!u)return null;var f={"aria-hidden":"true"};return d(i,{...s,innerProps:f,isDisabled:l,isFocused:c})}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),i=r.DropdownIndicator,s=r.IndicatorSeparator;if(!i||!s)return null;var a=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return d(s,{...a,isDisabled:l,isFocused:u})}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),i=r.DropdownIndicator;if(!i)return null;var s=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return d(i,{...s,innerProps:u,isDisabled:a,isFocused:l})}},{key:"renderMenu",value:function(){var r=this,i=this.getComponents(),s=i.Group,a=i.GroupHeading,l=i.Menu,u=i.MenuList,c=i.MenuPortal,f=i.LoadingMessage,p=i.NoOptionsMessage,h=i.Option,m=this.commonProps,v=this.state.focusedOption,C=this.props,x=C.captureMenuScroll,E=C.inputValue,w=C.isLoading,y=C.loadingMessage,I=C.minMenuHeight,A=C.maxMenuHeight,S=C.menuIsOpen,O=C.menuPlacement,M=C.menuPosition,P=C.menuPortalTarget,W=C.menuShouldBlockScroll,Z=C.menuShouldScrollIntoView,R=C.noOptionsMessage,N=C.onMenuScrollToTop,D=C.onMenuScrollToBottom;if(!S)return null;var L=function(me,Fe){var Ee=me.type,ye=me.data,we=me.isDisabled,Pe=me.isSelected,Le=me.label,_e=me.value,ut=v===ye,k=we?void 0:function(){return r.onOptionHover(ye)},et=we?void 0:function(){return r.selectOption(ye)},He="".concat(r.getElementId("option"),"-").concat(Fe),De={id:He,onClick:et,onMouseMove:k,onMouseOver:k,tabIndex:-1};return g.createElement(h,{...m,innerProps:De,data:ye,isDisabled:we,isSelected:Pe,key:He,label:Le,type:Ee,value:_e,isFocused:ut,innerRef:ut?r.getFocusedOptionRef:void 0},r.formatOptionLabel(me.data,"menu"))},Y;if(this.hasOptions())Y=this.getCategorizedOptions().map(function(le){if(le.type==="group"){var me=le.data,Fe=le.options,Ee=le.index,ye="".concat(r.getElementId("group"),"-").concat(Ee),we="".concat(ye,"-heading");return g.createElement(s,{...m,key:ye,data:me,options:Fe,Heading:a,headingProps:{id:we,data:le.data},label:r.formatGroupLabel(le.data)},le.options.map(function(Pe){return L(Pe,"".concat(Ee,"-").concat(Pe.index))}))}else if(le.type==="option")return L(le,"".concat(le.index))});else if(w){var X=y({inputValue:E});if(X===null)return null;Y=d(f,{...m,children:X})}else{var $=R({inputValue:E});if($===null)return null;Y=d(p,{...m,children:$})}var de={minMenuHeight:I,maxMenuHeight:A,menuPlacement:O,menuPosition:M,menuShouldScrollIntoView:Z},Be=d(kd,{...m,...de,children:function(le){var me=le.ref,Fe=le.placerProps,Ee=Fe.placement,ye=Fe.maxHeight;return d(l,{...m,...de,innerRef:me,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove,id:r.getElementId("listbox")},isLoading:w,placement:Ee,children:d(n0,{captureEnabled:x,onTopArrive:N,onBottomArrive:D,lockEnabled:W,children:function(we){return d(u,{...m,innerRef:function(Le){r.getMenuListRef(Le),we(Le)},isLoading:w,maxHeight:ye,focusedOption:v,children:Y})}})})}});return P||M==="fixed"?d(c,{...m,appendTo:P,controlElement:this.controlRef,menuPlacement:O,menuPosition:M,children:Be}):Be}},{key:"renderFormField",value:function(){var r=this,i=this.props,s=i.delimiter,a=i.isDisabled,l=i.isMulti,u=i.name,c=i.required,f=this.state.selectValue;if(!(!u||a)){if(c&&!this.hasValue())return d(i0,{name:u,onFocus:this.onValueInputFocus});if(l)if(s){var p=f.map(function(v){return r.getOptionValue(v)}).join(s);return d("input",{name:u,type:"hidden",value:p})}else{var h=f.length>0?f.map(function(v,C){return d("input",{name:u,type:"hidden",value:r.getOptionValue(v)},"i-".concat(C))}):d("input",{name:u,type:"hidden",value:""});return d("div",{children:h})}else{var m=f[0]?this.getOptionValue(f[0]):"";return d("input",{name:u,type:"hidden",value:m})}}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,i=this.state,s=i.ariaSelection,a=i.focusedOption,l=i.focusedValue,u=i.isFocused,c=i.selectValue,f=this.getFocusableOptions();return d(Hf,{...r,id:this.getElementId("live-region"),ariaSelection:s,focusedOption:a,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:f})}},{key:"render",value:function(){var r=this.getComponents(),i=r.Control,s=r.IndicatorsContainer,a=r.SelectContainer,l=r.ValueContainer,u=this.props,c=u.className,f=u.id,p=u.isDisabled,h=u.menuIsOpen,m=this.state.isFocused,v=this.commonProps=this.getCommonProps();return V(a,{...v,className:c,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:m,children:[this.renderLiveRegion(),V(i,{...v,innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:m,menuIsOpen:h,children:[V(l,{...v,isDisabled:p,children:[this.renderPlaceholderOrValue(),this.renderInput()]}),V(s,{...v,isDisabled:p,children:[this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator()]})]}),this.renderMenu(),this.renderFormField()]})}}],[{key:"getDerivedStateFromProps",value:function(r,i){var s=i.prevProps,a=i.clearFocusValueOnUpdate,l=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,c=i.isFocused,f=i.prevWasFocused,p=r.options,h=r.value,m=r.menuIsOpen,v=r.inputValue,C=r.isMulti,x=ia(h),E={};if(s&&(h!==s.value||p!==s.options||m!==s.menuIsOpen||v!==s.inputValue)){var w=m?h0(r,x):[],y=a?v0(i,x):null,I=C0(i,w);E={selectValue:x,focusedOption:I,focusedValue:y,clearFocusValueOnUpdate:!1}}var A=l!=null&&r!==s?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},S=u,O=c&&f;return c&&!O&&(S={value:Bn(C,x,x[0]||null),options:x,action:"initial-input-focus"},O=!f),(u==null?void 0:u.action)==="initial-input-focus"&&(S=null),ie(ie(ie({},E),A),{},{prevProps:r,ariaSelection:S,prevWasFocused:O})}}]),n}(g.Component);to.defaultProps=b0;var I0=g.forwardRef(function(e,t){var n=xi(e);return d(to,{ref:t,...n})});const Ft=I0;function Dn({error:e,isError:t,helpText:n}){return{styles:{control:(r,i)=>{const s=()=>e||t?"":i.isFocused?"0px 0px 0px 1px #3EADFE":"0px 1px 0px rgba(0, 0, 0, 0.05)";return{...r,backgroundColor:i.isDisabled?"var(--colors-action-secondary-disabled)":"var(--colors-action-secondary-default)",boxShadow:s(),height:"56px",border:e||t?"1px solid var(--colors-action-critical-default)":"0px",padding:"18px 16px",borderRadius:"var(--border-radius-sm)",cursor:"pointer"}},clearIndicator:r=>({...r,padding:"0px",marginRight:"4px",cursor:"pointer"}),singleValue:r=>({...r,margin:"0px"}),placeholder:r=>({...r,margin:"0px"}),indicatorSeparator:r=>({...r,display:"none"}),valueContainer:r=>({...r,padding:"0px"}),indicatorsContainer:r=>({...r,padding:"0px"}),dropdownIndicator:r=>({...r,padding:"0px"}),menuPortal:r=>({...r,padding:"0px"}),menu:r=>({...r,filter:"drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.1))",borderRadius:"var(--border-radius-sm)",background:"var(--colors-action-secondary-default)",padding:0,marginTop:n?"28px":"8px"}),menuList:r=>({...r,padding:"0px",borderRadius:"var(--border-radius-sm)"}),input:r=>({...r,margin:0,padding:0,">:focus":{boxShadow:"none"}}),option:(r,i)=>{const s=()=>i.isFocused&&!i.isSelected?"var(--colors-action-secondary-hovered)":i.isSelected?"var(--colors-action-secondary-pressed)":"var(--colors-action-secondary-default)";return{...r,padding:"8px 16px",border:"0px",height:"40px",cursor:"pointer",color:i.isFocused?"var(--colors-letter-on)":"",backgroundColor:s(),":hover":{backgroundColor:!i.isSelected&&"var(--colors-action-secondary-hovered)"},":active":{backgroundColor:"var(--colors-action-secondary-active)"}}},group:r=>({...r,padding:"0px","> div":{fontSize:16,fontWeight:"var(--font-weight-bold)"}}),groupHeading:r=>({...r,padding:"8px 16px",border:"0px",height:"36px",color:"var(--colors-letter-default)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--font-size-xs)",textTransform:"none"})}}}const Ln=e=>d(qe.ClearIndicator,{...e,children:d(he,{size:"sm",kind:"delete",color:"default"})});function kn({helpText:e,error:t,showErrorText:n,children:o}){return V(pe,{children:[o,e&&!t&&d(()=>d("div",{className:"my-1",children:d(Q,{as:"span",variant:"body",color:"subdued",children:e})}),{}),(t||n)&&!e&&d(()=>d("div",{className:"mt-1",children:d(ro,{icon:"error",children:t})}),{})]})}const Wn=e=>d(qe.DropdownIndicator,{...e,children:d(he,{size:"sm",kind:e.isFocused?"up":"down",color:e.isDisabled?"disabled":"subdued"})}),ja=e=>d(qe.Option,{...e,children:d(Q,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})}),Xn=e=>d(qe.Placeholder,{...e,children:d(Q,{as:"span",variant:"body",color:e.isDisabled?"disabled":"subdued",children:e.children})}),no=({hasLabelPlaceholder:e,...t})=>{const n=t;return d(qe.SingleValue,{...n,children:V("div",{className:"flex items-center space-x-[4px]",children:[e&&d(Q,{as:"span",variant:"body",color:"subdued",children:n.selectProps.placeholder}),d(Q,{as:"span",variant:"body",color:"default",children:n.children})]})})};function x0({options:e,placeholder:t="",defaultValue:n,isDisabled:o=!1,id:r="default",name:i="default",helpText:s="",hasLabelPlaceholder:a=!1,onChange:l,isSearchable:u=!1,isClearable:c=!0,error:f="",isError:p,showErrorText:h,onBlur:m,ref:v,menuIsOpen:C}){const{styles:x}=Dn({error:f,isError:p,helpText:s}),E={DropdownIndicator:Wn,ClearIndicator:Ln,Option:ja,Placeholder:Xn,SingleValue:I=>d(no,{...I,hasLabelPlaceholder:a})},w={id:r,name:i,placeholder:t,isDisabled:o,isClearable:c,styles:x,defaultValue:n,noOptionsMessage:()=>"No encontrado"},y={onBlur:m,options:e,isSearchable:u,components:E};return d(kn,{error:f,helpText:s,showErrorText:h,children:v?d(Ft,{...w,...y,ref:v,menuIsOpen:C,onChange:I=>l&&l(I)}):d(Ft,{...w,...y,menuIsOpen:C,onChange:I=>l&&l(I)})})}var E0=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function w0(e){var t=e.defaultOptions,n=t===void 0?!1:t,o=e.cacheOptions,r=o===void 0?!1:o,i=e.loadOptions;e.options;var s=e.isLoading,a=s===void 0?!1:s,l=e.onInputChange,u=e.filterOption,c=u===void 0?null:u,f=vt(e,E0),p=f.inputValue,h=g.useRef(void 0),m=g.useRef(!1),v=g.useState(Array.isArray(n)?n:void 0),C=xe(v,2),x=C[0],E=C[1],w=g.useState(typeof p<"u"?p:""),y=xe(w,2),I=y[0],A=y[1],S=g.useState(n===!0),O=xe(S,2),M=O[0],P=O[1],W=g.useState(void 0),Z=xe(W,2),R=Z[0],N=Z[1],D=g.useState([]),L=xe(D,2),Y=L[0],X=L[1],$=g.useState(!1),de=xe($,2),Be=de[0],le=de[1],me=g.useState({}),Fe=xe(me,2),Ee=Fe[0],ye=Fe[1],we=g.useState(void 0),Pe=xe(we,2),Le=Pe[0],_e=Pe[1],ut=g.useState(void 0),k=xe(ut,2),et=k[0],He=k[1];r!==et&&(ye({}),He(r)),n!==Le&&(E(Array.isArray(n)?n:void 0),_e(n)),g.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var De=g.useCallback(function(ct,ze){if(!i)return ze();var Ge=i(ct,ze);Ge&&typeof Ge.then=="function"&&Ge.then(ze,function(){return ze()})},[i]);g.useEffect(function(){n===!0&&De(I,function(ct){!m.current||(E(ct||[]),P(!!h.current))})},[]);var Gt=g.useCallback(function(ct,ze){var Ge=Ad(ct,ze,l);if(!Ge){h.current=void 0,A(""),N(""),X([]),P(!1),le(!1);return}if(r&&Ee[Ge])A(Ge),N(Ge),X(Ee[Ge]),P(!1),le(!1);else{var io=h.current={};A(Ge),P(!0),le(!R),De(Ge,function(Ct){!m||io===h.current&&(h.current=void 0,P(!1),N(Ge),X(Ct||[]),le(!1),ye(Ct?ie(ie({},Ee),{},Xe({},Ge,Ct)):Ee))})}},[r,De,R,Ee,l]),zn=Be?[]:I&&R?Y:x||[];return ie(ie({},f),{},{options:zn,isLoading:M||a,onInputChange:Gt,filterOption:c})}var Ya=g.forwardRef(function(e,t){var n=w0(e),o=xi(n);return d(to,{ref:t,...o})});function A0({placeholder:e="",id:t="default-async",name:n="default-async",error:o="",helpText:r="",hasLabelPlaceholder:i=!1,isDisabled:s=!1,isClearable:a=!0,defaultValue:l,onChange:u,isLoading:c,loadOptions:f,isError:p,showErrorText:h,onBlur:m,ref:v,menuIsOpen:C}){const{styles:x}=Dn({error:o,isError:p,helpText:r}),E={DropdownIndicator:Wn,ClearIndicator:Ln,Option:ja,Placeholder:Xn,SingleValue:I=>d(no,{...I,hasLabelPlaceholder:i})},w={id:t,name:n,placeholder:e,isDisabled:s,isClearable:a,styles:x,defaultValue:l,noOptionsMessage:()=>"No encontrado"},y={onBlur:m,isLoading:c,components:E};return d(kn,{error:o,helpText:r,showErrorText:h,children:v?d(Ya,{...y,...w,ref:v,menuIsOpen:C,cacheOptions:!0,defaultOptions:!0,onChange:I=>u&&u(I),loadOptions:I=>f&&f(I)}):d(Ya,{...y,...w,cacheOptions:!0,menuIsOpen:C,defaultOptions:!0,onChange:I=>u&&u(I),loadOptions:I=>f&&f(I)})})}const S0=({alignButton:e,...t})=>{const n=t;return d(({children:r})=>{const i=n.data;if(i.notSelect){const s=n.selectProps,a=u=>{var c;if(i.notSelect)return u(i),(c=s.onClickFirstItem)==null?void 0:c.call(s,i)},l={addButton:()=>a(s.addButton)};return V(jn,{variant:"plain",fullWidth:!0,align:e,...n.innerProps,onClick:l.addButton,children:[d(he,{kind:i.icon}),n.children]})}return d(qe.Option,{...n,children:r})},{children:d(Q,{as:"span",variant:"body",color:n.isSelected?"on":"default",children:n.children})})};function N0({options:e,placeholder:t="",defaultValue:n,isDisabled:o=!1,id:r="default",error:i="",name:s="default",helpText:a="",hasLabelPlaceholder:l=!1,onChange:u,isSearchable:c=!0,isClearable:f=!0,alignButton:p="start",onClickFirstItem:h,isError:m,showErrorText:v,onBlur:C,menuIsOpen:x,ref:E}){const{styles:w}=Dn({error:i,isError:m,helpText:a}),y={DropdownIndicator:Wn,ClearIndicator:Ln,Option:S=>d(S0,{...S,alignButton:p}),Placeholder:Xn,SingleValue:S=>d(no,{...S,hasLabelPlaceholder:l})},I={id:r,name:s,placeholder:t,isDisabled:o,isClearable:f,styles:w,defaultValue:n,noOptionsMessage:()=>"No encontrado"},A={onBlur:C,isSearchable:c,options:e,components:y};return d(kn,{error:i,helpText:a,showErrorText:v,children:E?d(Ft,{...I,...A,ref:E,menuIsOpen:x,className:"font-sans",onChange:S=>u&&u(S),addButton:h}):d(Ft,{...I,...A,menuIsOpen:x,className:"font-sans",onChange:S=>u&&u(S),addButton:h})})}var F0=["title"];function P0(e,t){if(e==null)return{};var n=G0(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,o)||(n[o]=e[o]))}return n}function G0(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var T0=function(t){var n=t.title,o=P0(t,F0);return V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",...o,children:[n&&d("title",{children:n}),d("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),d("path",{fill:"#D80027",d:"M0 343.096h512v83.567H0z"}),d("path",{fill:"#0052B4",d:"M0 256h512v87.096H0z"})]})};const _a=({isDisabled:e})=>d(T0,{className:B("w-[16px]",{"opacity-[0.4]":e})}),V0=({isDisabled:e,...t})=>{const n=t;return d(qe.SingleValue,{...n,children:V("div",{className:"flex items-center space-x-[4px]",children:[d(_a,{isDisabled:e}),d(Q,{as:"span",variant:"body",color:e?"disabled":"default",children:n.children})]})})},O0=e=>d(qe.Option,{...e,children:V("div",{className:"flex gap-x-1",children:[d(_a,{}),d(Q,{as:"span",variant:"body",color:e.isSelected?"on":"default",children:e.children})]})});function R0({id:e="default-country",name:t="default-country",placeholder:n="",options:o,defaultValue:r,isDisabled:i=!1,error:s="",isSearchable:a=!1,helpText:l="",onChange:u,isClearable:c=!0,isError:f,showErrorText:p,onBlur:h,ref:m,menuIsOpen:v}){const{styles:C}=Dn({error:s,isError:f,helpText:l}),x={DropdownIndicator:Wn,ClearIndicator:Ln,Option:O0,Placeholder:Xn,SingleValue:y=>d(V0,{...y,isDisabled:i})},E={id:e,name:t,placeholder:n,isDisabled:i,isClearable:c,styles:C,defaultValue:r,noOptionsMessage:()=>"No encontrado"},w={options:o,isSearchable:a,components:x,onBlur:h};return d(kn,{error:s,helpText:l,showErrorText:p,children:m?d(Ft,{...w,...E,ref:m,menuIsOpen:v,onChange:y=>u&&u(y)}):d(Ft,{...w,...E,menuIsOpen:v,onChange:y=>u&&u(y)})})}function B0({tabs:e,variant:t="default"}){const n=({selected:s,isDisabled:a})=>B("cursor-pointer focus:outline-none focus-visible:ring-0 after:absolute after:-bottom-[1px] after:h-[3px] after:rounded-t-[4px] after:rounded-r-[4px] after:rounded-b-none after:content-[''] relative",!s&&!a?"after:hover:absolute after:hover:bg-action-secondary-hovered after:hover:transition after:hover:duration-400 after:active:bg-action-secondary-active":"",{"after:left-1 after:w-[88%]":t==="default","after:w-full w-full after:left-0 text-center":t==="fitted","after:bg-action-secondary-pressed":s,"after:bg-action-secondary-disabled":a}),o=({selected:s,isDisabled:a})=>a?"disabled":s?"default":"subdued",r=({selected:s,isDisabled:a})=>!s&&!a?"hover:text-letter-default":"",i=({selected:s,isDisabled:a,nameTab:l,total:u})=>t==="fitted"?V(Q,{variant:"button",color:o({selected:s,isDisabled:a}),className:B("flex w-full items-center justify-center gap-x-1 p-sm ",r({selected:s,isDisabled:a})),children:[l,u&&d("span",{className:B("flex h-5 items-center rounded-sm bg-surface-neutral-default py-[2px] px-2",r({selected:s,isDisabled:a})),children:u})]}):d(Q,{variant:"button",color:o({selected:s,isDisabled:a}),className:B("p-sm",r({selected:s,isDisabled:a})),children:l});return d("div",{className:"w-full",children:V(Wt.Group,{children:[d(Wt.List,{className:B("flex border-b",{"justify-center":t==="fitted"}),children:Object.entries(e).map(([s,{isDisabled:a,total:l}],u)=>d(Wt,{className:({selected:c})=>n({selected:c,isDisabled:a}),disabled:a,children:({selected:c})=>i({selected:c,isDisabled:a,nameTab:s,total:l})},u))}),d(Wt.Panels,{className:"mt-3",children:Object.values(e).map((s,a)=>!s.isDisabled&&d(Wt.Panel,{children:s.children},a))})]})})}function ro({children:e,size:t="sm",icon:n="error",colorIcon:o="critical",className:r,...i}){return V("div",{className:B("inline-flex items-center gap-x-xs",r),children:[n&&d(he,{kind:n,color:o,size:"sm"}),d(Q,{as:"span",variant:t==="lg"?"body":"caption",color:"critical",...i,children:e})]})}function M0({title:e,iconTitle:t,subtitle:n,footer:o,isOpen:r=!1,hasBorder:i=[],showClose:s=!0,onClose:a,className:l,children:u}){const c=()=>V("header",{className:"mb-xl flex items-center justify-between",children:[V("div",{className:"flex items-center gap-x-2",children:[t&&t,d(nt,{variant:"heading",color:"default",children:e})]}),s&&d(he,{color:"default",kind:"delete",cursor:"pointer",onClick:()=>a==null?void 0:a(!r)})]}),f=()=>V(pe,{children:[i.includes("top")&&d("div",{className:"mb-xs border-b border-border-disabled"}),u,i.includes("bottom")&&d("div",{className:"mt-xs border-t border-border-disabled"})]});return V(Wo,{open:r,onClose:p=>a==null?void 0:a(p),className:"relative z-50",children:[d("div",{className:"fixed inset-0 bg-background-modal","aria-hidden":"true"}),d("div",{className:"fixed inset-0 overflow-y-auto",children:d("div",{className:"flex min-h-full items-center justify-center",children:V(Wo.Panel,{className:B("mx-auto rounded-sm bg-surface-default p-xl shadow-popup",l),children:[c(),n&&d(Q,{variant:"caption",color:"subdued",className:"mb-sm",children:n}),d("main",{className:"mb-xl",children:f()}),d("footer",{className:"flex w-full justify-end gap-x-2",children:o&&o})]})})})]})}function D0({title:e,subtitle:t,defaultOpen:n=!1,isDisabled:o,content:r=[],className:i,children:s}){const a=()=>d(pe,{children:typeof e=="string"?d(Q,{variant:"highlight",color:o?"disabled":"default",children:e}):e}),l=(c,f)=>d(g.Fragment,{children:typeof c=="string"?d(Q,{variant:"body",color:o?"disabled":"subdued",children:c}):c},f),u=({label:c,value:f},p)=>V("div",{className:"flex items-center justify-between",children:[typeof c=="string"?d(Q,{variant:"body",color:o?"disabled":"default",children:c}):c,typeof f=="string"?d(Q,{variant:"body",color:o?"disabled":"subdued",children:f}):f]},p);return o?V("div",{className:B("flex min-h-[56px] w-full flex-wrap items-center justify-between rounded-sm bg-action-secondary-disabled py-xs px-sm focus:outline-none focus-visible:outline-none"),children:[V("div",{className:"flex items-center gap-x-sm",children:[d(he,{kind:"down",color:o?"disabled":"default"}),a()]}),d("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(l)})]}):d(ur,{defaultOpen:n,children:({open:c})=>V("div",{className:B("mb-sm",i),children:[V(ur.Button,{className:B("flex min-h-[56px] w-full flex-wrap items-center justify-between bg-action-secondary-default py-xs px-sm hover:bg-action-secondary-hovered focus:outline-none focus-visible:outline-none active:bg-action-secondary-active",c?"rounded-tl-sm rounded-tr-sm border-t border-l border-r border-border-shadow-subdued":"rounded-sm"),children:[V("div",{className:"flex gap-x-sm",children:[d(he,{kind:c?"up":"down",color:o?"disabled":"default"}),a()]}),d("div",{className:"flex items-center gap-x-xs",children:t==null?void 0:t.map(l)})]}),d(ur.Panel,{className:B("space-y-sm rounded-br-sm rounded-bl-sm border border-t-border-subdued bg-action-secondary-default py-sm pr-sm pl-[48px]",c?"border-b border-r border-l border-border-shadow-subdued":""),children:r.length>0?r.map(u):s})]})})}function L0(){return V("svg",{xmlns:"http://www.w3.org/2000/svg",width:"183",height:"136",fill:"none",viewBox:"0 0 183 136",children:[d("path",{fill:"#F0F1F2",d:"M152.637 71.913c0 9.518-2.063 18.56-5.766 26.683C136.836 120.67 114.72 136 89.056 136c-25.664 0-47.78-15.329-57.814-37.404-3.704-8.124-5.766-17.165-5.766-26.683 0-35.395 28.465-64.086 63.58-64.086 35.116 0 63.581 28.691 63.581 64.086z"}),d("mask",{id:"mask0_829_5665",style:{maskType:"alpha"},width:"183",height:"136",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:d("path",{fill:"#F0F1F2",d:"M178.521 33.801c3.673 11.655 17.075 59.762-31.65 64.793C136.836 120.67 114.721 136 89.057 136c-25.665 0-47.78-15.329-57.815-37.405C-18.35 64.953 4.492 33.801 10.386 22.11 31.242 0 53.941 0 89.056 0c35.116 0 47.676 7.794 89.465 33.801z"})}),V("g",{filter:"url(#filter0_d_829_5665)",mask:"url(#mask0_829_5665)",children:[d("path",{fill:"#FFDDA8",d:"M145.907 67.692l-24.135-14.178-10.075-5.911L89.879 34.79l-.88-.518-.302-.165-.023.023-.903.518-55.148 32.384-.255.164-.255.142-.208.118 23.023 13.518 10.052 5.912 21.54 12.647h.023l3.15 1.86.047.024.209.117.023-.023 1.343-.777 38.124-22.397 17.279-10.151v-.024l-.811-.47v-.001z"}),d("path",{fill:"#E8D4BC",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996-55.264 32.453 56.515 32.925.046-.024 5.536-3.226 49.543-28.874.139-.07-14.152-8.314z"}),d("path",{fill:"#CCAF8B",d:"M131.06 59.873l-1.529-.895-25.501-14.979-15.333-8.996v58.525l6.833 3.603.046.023 49.497-28.897.139-.07-14.152-8.314zM89.948 101.535v36.74h-.092c-23.58 0-44.355-12.129-56.631-30.593l-1.32-2.051V67.456l23.022 13.519 10.099 5.91L86.52 99.534h.023l3.197 1.884.208.118z"}),d("path",{fill:"#E8D4BC",d:"M129.439 78.337l-38.124 22.397-1.344.777-.023.024v36.74c1.645 0 3.266-.071 4.864-.212.162.023.302 0 .44-.024 1.807-.117 3.59-.33 5.351-.636.139 0 .278-.023.417-.071.046 0 .092 0 .139-.023.139 0 .278-.023.394-.071.139 0 .278-.023.416-.07.278-.024.556-.071.811-.142.417-.07.811-.165 1.228-.259.139 0 .254-.047.393-.094a12.973 12.973 0 001.598-.377c.139 0 .279-.047.417-.094a50.433 50.433 0 003.243-.895c.185.071.417.024.672-.141l.278-.165h.023c.069 0 .139-.047.231-.071.14-.047.255-.094.394-.141a36.744 36.744 0 002.687-.966 28.905 28.905 0 001.807-.706c.115-.048.254-.094.37-.165 12.508-5.299 23.162-14.249 30.597-25.577V68.186l-17.279 10.15v.001z"}),d("path",{fill:"#B6956D",d:"M87.775 34.505L66.285 8.697 10.407 40.67v1.3l21.489 25.48 1.171.118 54.725-32.095-.016-.969z"}),d("path",{fill:"#DAC2A5",d:"M88.674 34.132v-.118L67.087 7.825l-31.06 18.016L14.811 38.16l-1.297.753-3.104 1.79 12.322 14.625 9.89 11.705.232.306.209.236.208-.117 55.426-32.478v-.424l-.023-.423z"}),d("path",{fill:"#D3B998",d:"M117.214 9.459l-27.602 25.6 55.604 33.297 1.586-.197 27.237-25.616-.416-.93-55.581-32.662-.828.508z"}),d("path",{fill:"#DAC2A5",d:"M140.858 22.332L117.14 8.39l-.811.518-27.33 25.364-.302.283-.255.236.255.141L104.03 44l39.63 23.434 1.413.824.139.094.185-.165.51-.494L157.303 57l16.329-15.379-32.774-19.289z"}),d("path",{fill:"#C9AA8C",d:"M95.53 97.131l-6.833-4.004-5.536 3.25 6.833 3.981.023.023 1.737-1.013 3.822-2.213-.046-.024z"}),d("path",{fill:"#C1A787",d:"M3.148 58.709l30.007 8.947 56.796 32.731-.014 1.078-30.284-7.607L3.148 59.736v-1.027z"}),d("path",{fill:"#DAC2A5",d:"M33.271 67.456l-.417-.118-.486-.141-.903-.259-9.844-2.85L3.137 58.72l18.345 11.069 10.422 6.288L59.652 92.82l26.868 6.712h.023l3.405.848L33.27 67.456z"}),d("path",{fill:"#C7AE90",d:"M158.206 71.554l-11.489-2.308-.741-.141-16.537 9.232-37.684 21.031-1.76.989-.047.024.023 1.13v.071l28.466 7.065 28.281-16.392 9.149-5.298 19.108-11.07v-.965l-16.769-3.368z"}),d("path",{fill:"#DAC2A5",d:"M158.229 70.918l-11.489-2.732h-1.528l-.139.071L95.53 97.131l-5.536 3.227-.046.023 1.367.353 27.122 6.925 28.281-16.369 9.473-5.487 18.784-10.88-16.746-4.005z"})]}),d("defs",{children:V("filter",{id:"filter0_d_829_5665",width:"183.838",height:"142.45",x:"-2.863",y:"5.825",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[d("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),d("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),d("feOffset",{dy:"4"}),d("feGaussianBlur",{stdDeviation:"3"}),d("feComposite",{in2:"hardAlpha",operator:"out"}),d("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),d("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_829_5665"}),d("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_829_5665",result:"shape"})]})})]})}function k0(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60",children:d("path",{fill:"#A2A2A2",d:"M50.625 26.25h-2.813v-8.438C47.813 8.086 39.727 0 30 0c-9.844 0-17.813 8.086-17.813 17.813v8.437H9.376c-3.164 0-5.625 2.578-5.625 5.625v22.5C3.75 57.539 6.21 60 9.375 60h41.25c3.047 0 5.625-2.46 5.625-5.625v-22.5c0-3.047-2.578-5.625-5.625-5.625zm-12.188 0H21.564v-8.438c0-4.57 3.75-8.437 8.437-8.437 4.57 0 8.438 3.867 8.438 8.438v8.437z"})})}function W0({title:e,description:t,img:n,className:o,children:r}){const i=()=>n==="box"?d(L0,{}):n==="padlock"?d(k0,{}):d(pe,{});return V("div",{className:B(o,"flex w-full flex-col items-center justify-center rounded-xs border border-border-disabled bg-surface-default py-xl px-[40px]"),children:[i(),V("div",{className:"mb-sm w-full md:w-[300px]",children:[d(nt,{variant:"heading",color:"default",className:B("mb-sm text-center",n&&"mt-[42px]"),children:e}),d(Q,{variant:"body",color:"subdued",className:"text-center",children:t})]}),r]})}function X0({icon:e,isSelected:t=!1,title:n,total:o,isSmall:r=!1,...i}){const s=()=>o&&!r?d("span",{className:B("relative inline-block h-[20px] w-[30px] rounded-md bg-surface-neutral-default py-[2px] px-2"),children:d("strong",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",children:d(Q,{variant:"caption",color:"default",className:"select-none",children:o})})}):d(pe,{});return V("div",{className:B("flex select-none items-center gap-x-[13px]",!t&&"cursor-pointer"),...i,children:[d("div",{className:B("h-[32px] w-[3px] rounded-sm",t&&"bg-action-primary-default")}),V("div",{className:B("flex items-center justify-between rounded-[5px] px-[8px]",t&&"bg-action-secondary-default",r?"min-w-[32px] py-[10px]":"min-w-[200px] py-[12px]"),children:[V("div",{className:"flex items-center gap-x-[10px]",children:[d(he,{kind:e,size:"sm",color:t?"primary":"subdued"}),!r&&d(Q,{variant:"body",color:t?"primary":"subdued",children:n})]}),s()]})]})}function Z0({hasLogo:e=!1,className:t="",...n}){return V("header",{className:B("flex h-[64px] w-full min-w-[320px] items-center justify-between bg-surface-default py-sm px-[24px] shadow-[4px_2px_10px_rgba(0,0,0,0.1),inset_0px_-1px_0px_rgba(194,194,194,0.35)]",t),...n,children:[V("div",{className:"flex items-center gap-x-sm",children:[d(he,{kind:"menu",color:"default",cursor:"pointer",size:"sm",className:"sm:hidden"}),e&&d(hn,{kind:"brand-sm",className:"hidden w-[69px] md:block"})]}),V("div",{className:"flex items-center gap-x-sm",children:[d(he,{kind:"notifications",color:"default",cursor:"pointer",size:"sm"}),d(bo,{size:"sm"})]})]})}function Zn({children:e,title:t="",className:n,footer:o,...r}){return V("div",{className:B(n,"m-0 p-0"),...r,children:[d(nt,{variant:"heading",color:"default",className:"mb-lg",children:t}),e]})}Zn.Container=function({children:t,className:n,...o}){return d("div",{className:B(n,"rounded-sm border border-border-disabled p-lg shadow-[0px_0px_3px_0px_#34343426]"),...o,children:t})},Zn.Header=function({children:t,className:n,...o}){return V("div",{className:B(n,"mb-lg space-y-sm"),...o,children:[t,d("div",{className:"mb-lg mt-sm border-t border-border-shadow-subdued"})]})},Zn.Footer=function({children:t,className:n,total:o="$-",isDisabled:r,...i}){return V("footer",{className:B(n),...i,children:[d("div",{className:"mb-xs mt-lg border-t border-border-shadow-subdued"}),V("div",{className:"flex justify-between",children:[d(nt,{variant:"heading",color:r?"disabled":"default",children:"Total (COP)"}),d(nt,{variant:"heading",color:r?"disabled":"default",children:o})]})]})};function H0({isDisabled:e,type:t,iconRight:n,error:o,iconLeft:r,onChange:i,value:s,isError:a}){const l=g.useRef(null),[u,c]=g.useState(s!=null?s:""),[f,p]=g.useState(!1),h=({target:{value:y}})=>(c(y),i==null?void 0:i(y)),m=()=>(c(y=>y?y=Number(y)+1:y=1),i==null?void 0:i(String(u))),v=()=>(c(y=>y?y=Number(y)-1:y=0),i==null?void 0:i(String(u))),C=()=>{var y;return c(""),i==null||i(""),l&&((y=l.current)==null?void 0:y.focus())},x=()=>e?"disabled":"subdued",E=()=>e?"disabled":f&&t==="password"?"default":"subdued",w=B("w-full rounded-sm bg-action-secondary-default py-md px-sm font-sans text-xs font-book leading-xs text-letter-default caret-icon-default placeholder:font-sans placeholder:text-xs placeholder:font-book placeholder:leading-xs placeholder:text-letter-subdued focus:ring-0 disabled:bg-action-secondary-disabled disabled:text-letter-disabled disabled:placeholder:text-letter-disabled",o||a?"border border-action-critical-default focus:border-action-critical-default":"border-none focus:rounded-[5px] focus:shadow-[0px_0px_0px_1px_#3EADFE]",{"pr-14":n,"pl-10":r});return{inputValue:u,inputRef:l,handleChange:h,subtractValue:v,addMoreValue:m,getColorIcon:x,getColorIconPassword:E,showPassword:f,setShowPassword:p,clearInput:C,getClassInput:w}}function z0({logo:e,helpText:t,error:n,showErrorText:o}){const r=()=>e?e&&(t||n)?"justify-between":"justify-end":"justify-start";return e||t||n?V("div",{className:B("mt-xs flex",r()),children:[t&&!n&&d(Q,{variant:"caption",color:"subdued",children:t}),(n||o)&&!t&&V(ro,{icon:"error",children:[n,"a"]}),e&&d(hn,{kind:"google-maps",className:"w-[80px]"})]}):d(pe,{})}function Pt({children:e,renderIconLeft:t,renderInput:n}){return V("div",{className:"relative w-full",children:[n,(()=>t?d("span",{className:"absolute inset-y-0 flex items-center left-0 pl-4",children:t}):d(pe,{}))(),d("div",{className:"absolute top-1/2 right-0 -translate-y-1/2 flex justify-between items-center gap-x-2 pr-4",children:e})]})}Pt.Special=function(t){const{children:n,isNumber:o,isPassword:r}=t;return o?d("span",{className:"flex flex-col items-center justify-center",children:n}):r?d("span",{className:"flex items-center",children:n}):d(pe,{})},Pt.Delete=function(t){const{children:n,inputValue:o}=t;return(typeof o=="number"?o>0:o)?d("span",{children:n}):d(pe,{})};const j0=g.forwardRef((e,t)=>{const{id:n,name:o,isDisabled:r,isReadOnly:i,placeholder:s,autoComplete:a="nope",type:l="text",iconLeft:u,iconRight:c,helpText:f,logo:p,error:h,onChange:m,value:v,tooltip:C,showErrorText:x,isError:E}=e,w=H0({isDisabled:r,type:l,iconRight:c,error:h,iconLeft:u,onChange:m,value:v,isError:E}),{inputValue:y,inputRef:I,handleChange:A,subtractValue:S,addMoreValue:O,getColorIcon:M,getColorIconPassword:P,showPassword:W,setShowPassword:Z,clearInput:R,getClassInput:N}=w,D=()=>C!=null&&C.isActive?d(hi,{placement:C==null?void 0:C.placement,title:C==null?void 0:C.title,description:C==null?void 0:C.description,children:d(he,{kind:c,color:M()})}):d(he,{kind:c,color:M()}),L=g.useMemo(()=>un([I,t]),[I,t]);return V(pe,{children:[V(Pt,{renderInput:d("input",{id:n,name:o,ref:L,value:y,placeholder:s,onChange:A,readOnly:i,disabled:r,autoComplete:a,type:W?"text":l,className:N}),renderIconLeft:u&&d(he,{kind:u,color:M()}),children:[d(Pt.Delete,{inputValue:y,children:d(he,{kind:"delete",color:"default",onClick:R,cursor:"pointer"})}),V(Pt.Special,{isNumber:l==="number",children:[d(he,{kind:"more",cursor:"pointer",size:"sm",color:M(),onClick:O}),d(he,{kind:"less",cursor:"pointer",size:"sm",color:M(),onClick:S})]}),d(Pt.Special,{isPassword:l==="password",children:d(he,{kind:"eye",color:P(),onClick:()=>Z(!W)})}),D()]}),d(z0,{helpText:f,error:h,showErrorText:x,logo:p})]})});function Y0({items:e=[],checkedItem:t,onChange:n}){const o=(i,s)=>s!=null&&s.error?"border-action-critical-default":s!=null&&s.isDisabled?"border-border-disabled":i?"shadow-[0px_0px_0px_1px_#3EADFE]":"border-border-default hover:border-border-hovered",r=(i,s)=>{var a,l;return((a=i==null?void 0:i.id)==null?void 0:a.toLowerCase())===((l=s==null?void 0:s.id)==null?void 0:l.toLowerCase())};return e.length>0?d(Yo,{value:t,by:r,onChange:n,className:"space-y-sm",children:e.map(i=>d(Yo.Option,{value:i,disabled:(i==null?void 0:i.isDisabled)||Boolean(i==null?void 0:i.error),className:({active:s})=>B("flex min-h-[78px] items-center rounded-sm border bg-white p-sm",!(i!=null&&i.isDisabled)&&"cursor-pointer",o(s,i)),children:({checked:s})=>{var a,l;return d(pe,{children:V("div",{className:"flex w-full justify-between",children:[V("div",{className:B("flex items-center",(i==null?void 0:i.img)||(i==null?void 0:i.hasRadio)?"gap-x-sm":""),children:[(i==null?void 0:i.hasRadio)&&d(Ci,{id:i==null?void 0:i.id,name:i==null?void 0:i.title,value:i==null?void 0:i.id,checked:s,isDisabled:i==null?void 0:i.isDisabled}),(i==null?void 0:i.img)&&d(pe,{children:i==null?void 0:i.img}),V("header",{children:[d(nt,{variant:"heading",color:i!=null&&i.isDisabled?"disabled":"default",children:i==null?void 0:i.title}),V("div",{className:"flex gap-x-[2px]",children:[d(Q,{variant:"body",color:i!=null&&i.isDisabled?"disabled":"subdued",children:(a=i==null?void 0:i.subtitle)!=null?a:""}),d(Q,{variant:"highlight",color:i!=null&&i.isDisabled?"disabled":"subdued",children:(l=i==null?void 0:i.description)!=null?l:""})]})]})]}),(i==null?void 0:i.state)&&d(Q,{variant:"caption",color:i!=null&&i.isDisabled?"disabled":"subdued",children:i==null?void 0:i.state})]})})}},i==null?void 0:i.id))}):d(pe,{})}function _0({children:e,isSmall:t=!1,onClick:n,className:o,...r}){return V("nav",{className:B("h-full bg-background-default py-sm shadow-[inset_-1px_0px_0px_#C2C2C2]",o,t?"w-[67px]":"min-w-[240px] w-[240px] pr-xs"),...r,children:[V("div",{className:B("mb-xl flex items-center",t?"justify-center":"justify-between px-sm"),children:[d(hn,{kind:"brand-sm",className:B("w-[69px]",t&&"hidden")}),d(he,{kind:"menu",color:"subdued",cursor:"pointer",size:"sm",onClick:n})]}),d("div",{className:"flex flex-col space-y-sm",children:e})]})}function Hn({children:e,className:t,...n}){return d("div",{className:B(t,"relative flex h-screen p-0"),...n,children:e})}Hn.Header=function({children:t}){return d(pe,{children:t})},Hn.Menu=function({children:t}){return d(pe,{children:t})},Hn.Main=function({children:t,className:n,...o}){return d("main",{className:B(n,"relative top-[64px] h-[calc(100%-64px)] w-full py-xl px-xxl"),...o,children:t})};function oo({children:e,className:t,...n}){return d("div",{className:B(t,"m-0 p-0"),...n,children:e})}oo.Header=function({children:t,className:n,title:o="",onBack:r,...i}){return V(pe,{children:[V("div",{role:"heading",className:B(n,"m-0 flex w-full flex-col p-0 sm:flex-row sm:items-center sm:justify-between",r?"mb-lg":"mb-[96px]"),...i,children:[d(nt,{variant:"lg",color:"default",className:"leading-none flex-none lg:w-[528px] md:gap-x-[112px]",children:o}),d("div",{className:"mt-6 grid gap-2 grid-cols-2 grid-rows-2 sm:mt-0 sm:flex sm:justify-between sm:w-[448px] sm:flex-none",children:t})]}),r&&d("div",{className:"mb-lg",children:V(jn,{variant:"plain-monochrome",onClick:r,children:[d(he,{kind:"thin-back",className:"mb-1"}),"Atr\xE1s"]})})]})},oo.Main=function({children:t,className:n,...o}){return d("div",{className:B(n,"block md:flex md:justify-between md:gap-x-[112px]"),...o,children:t})};function J0({variant:e,children:t}){return d("span",{className:B("inline-flex rounded-md py-[2px] px-2",{"bg-surface-neutral-default":e==="neutral","bg-surface-action-default":e==="info","bg-surface-success-default":e==="success","bg-surface-warning-default":e==="warning","bg-surface-critical-default":e==="critical"}),children:d(Q,{variant:"caption",children:t})})}_.AsyncSelect=A0,_.Avatar=bo,_.Badge=J0,_.Button=jn,_.CardSelect=Y0,_.Checkbox=Uu,_.Dropdown=D0,_.EmptyState=W0,_.Field=j0,_.Header=Z0,_.Heading=nt,_.Icon=he,_.InlineError=ro,_.LayoutMain=Hn,_.LayoutShipment=oo,_.Link=ps,_.Logo=hn,_.Modal=M0,_.Navigation=_0,_.RadioButton=Ci,_.Select=x0,_.SelectButton=N0,_.SelectCountry=R0,_.Summary=Zn,_.Switch=Ul,_.Tab=B0,_.TabNav=X0,_.Text=Q,_.Tooltip=hi,_.Tracker=$u,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});