@gyramais/gyra-design 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Filter/Filter.d.ts +5 -1
- package/dist/components/Filter/MultipleFilter.d.ts +5 -1
- package/dist/components/Filter/index.js +6 -6
- package/dist/components/Filter/index.js.map +1 -1
- package/dist/components/List/index.js +1 -1
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Menubar/Menubar.d.ts +2 -2
- package/dist/components/Menubar/index.js +1 -1
- package/dist/components/Menubar/index.js.map +1 -1
- package/dist/components/Table/Table.d.ts +3 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Table/index.js.map +1 -1
- package/dist/index.css +69 -68
- package/dist/index.js.map +1 -1
- package/dist/theme.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use client";import*as e from"react";import t,{createContext as n,useMemo as r,createElement as o,useContext as i,useRef as a,useEffect as s,useCallback as l,useState as c,useLayoutEffect as u,forwardRef as d,Children as f,isValidElement as p,cloneElement as m,Fragment as h,useReducer as
|
|
1
|
+
"use client";import*as e from"react";import t,{createContext as n,useMemo as r,createElement as o,useContext as i,useRef as a,useEffect as s,useCallback as l,useState as c,useLayoutEffect as u,forwardRef as d,Children as f,isValidElement as p,cloneElement as m,Fragment as h,useReducer as v}from"react";import*as y from"react-dom";import g,{flushSync as b,createPortal as w}from"react-dom";import x,{jsxs as E,jsx as S}from"react/jsx-runtime";var k=function(){return k=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},k.apply(this,arguments)};function O(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function N(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function C(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function T(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var _,P={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/_=P,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}_.exports?(t.default=t,_.exports=t):window.classNames=t}();var A=C(P.exports),$=function(e){var n=e.id,r=e.className,o=e.size,i=void 0===o?40:o,a=e.color,s=void 0===a?"var(--primary-button-color)":a;return t.createElement("div",{id:n,className:A("gyramais-loading",r),style:{width:i,height:i}},t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}),t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}))},M=function(e){var n=e.id,r=e.className,o=e.type,i=void 0===o?"primary":o,a=e.size,s=void 0===a?"medium":a,l=e.htmlType,c=void 0===l?"button":l,u=e.link,d=void 0!==u&&u,f=e.block,p=void 0!==f&&f,m=e.disabled,h=void 0!==m&&m,y=e.loading,v=void 0!==y&&y,g=e.icon,b=e.onClick,w=e.children;return t.createElement("button",{id:n,type:c,className:A("gyramais-button","gyramais-button-".concat(s),"gyramais-button-".concat(i),d?"gyramais-button-link":"",p?"gyramais-button-block":"",v?"gyramais-button-loading":"",g&&!w?"gyramais-button-icon":"",r),onClick:v?function(){}:b,disabled:h},v&&t.createElement("div",{className:"gyramais-button-icon-container"},t.createElement($,{size:24,className:"gyramais-button-loading-feedback"})),!v&&g&&t.createElement("div",{className:"gyramais-button-icon-container"},g),w)};function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}function I(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function j(e,t=[]){let a=[];const s=()=>{const t=a.map((e=>n(e)));return function(n){const o=(null==n?void 0:n[e])||t;return r((()=>({[`__scope${e}`]:{...n,[e]:o}})),[n,o])}};return s.scopeName=e,[function(t,s){const l=n(s),c=a.length;function u(t){const{scope:n,children:i,...a}=t,s=(null==n?void 0:n[e][c])||l,u=r((()=>a),Object.values(a));return o(s.Provider,{value:u},i)}return a=[...a,s],u.displayName=t+"Provider",[u,function(n,r){const o=(null==r?void 0:r[e][c])||l,a=i(o);if(a)return a;if(void 0!==s)return s;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},D(s,...t)]}function D(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return r((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return n.scopeName=t.scopeName,n}function L(e){const t=a(e);return s((()=>{t.current=e})),r((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function z({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[r,o]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,o=a(r),i=L(t);return s((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,u=i?e:r,d=L(n);return[u,l((t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&d(n)}else o(t)}),[i,e,o,d])]}function V(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function F(...e){return l(V(...e),e)}const W=["top","right","bottom","left"],B=Math.min,H=Math.max,U=Math.round,K=Math.floor,q=e=>({x:e,y:e}),G={left:"right",right:"left",bottom:"top",top:"bottom"},Y={start:"end",end:"start"};function X(e,t,n){return H(e,B(t,n))}function J(e,t){return"function"==typeof e?e(t):e}function Z(e){return e.split("-")[0]}function Q(e){return e.split("-")[1]}function ee(e){return"x"===e?"y":"x"}function te(e){return"y"===e?"height":"width"}function ne(e){return["top","bottom"].includes(Z(e))?"y":"x"}function re(e){return ee(ne(e))}function oe(e){return e.replace(/start|end/g,(e=>Y[e]))}function ie(e){return e.replace(/left|right|bottom|top/g,(e=>G[e]))}function ae(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function se(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function le(e,t,n){let{reference:r,floating:o}=e;const i=ne(t),a=re(t),s=te(a),l=Z(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Q(t)){case"start":p[a]-=f*(n&&c?-1:1);break;case"end":p[a]+=f*(n&&c?-1:1)}return p}async function ce(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=J(t,e),m=ae(p),h=s[f?"floating"===d?"reference":"floating":d],y=se(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{...a.floating,x:r,y:o}:a.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},w=se(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:g,strategy:l}):v);return{top:(y.top-w.top+m.top)/b.y,bottom:(w.bottom-y.bottom+m.bottom)/b.y,left:(y.left-w.left+m.left)/b.x,right:(w.right-y.right+m.right)/b.x}}function ue(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function de(e){return W.some((t=>e[t]>=0))}const fe=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Z(n),s=Q(n),l="y"===ne(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=J(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof m&&(p="end"===s?-1*m:m),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}};function pe(e){return ye(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function he(e){var t;return null==(t=(ye(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ye(e){return e instanceof Node||e instanceof me(e).Node}function ve(e){return e instanceof Element||e instanceof me(e).Element}function ge(e){return e instanceof HTMLElement||e instanceof me(e).HTMLElement}function be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof me(e).ShadowRoot)}function we(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Oe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function xe(e){return["table","td","th"].includes(pe(e))}function Ee(e){const t=Se(),n=Oe(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Se(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ke(e){return["html","body","#document"].includes(pe(e))}function Oe(e){return me(e).getComputedStyle(e)}function Ne(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ce(e){if("html"===pe(e))return e;const t=e.assignedSlot||e.parentNode||be(e)&&e.host||he(e);return be(t)?t.host:t}function Te(e){const t=Ce(e);return ke(t)?e.ownerDocument?e.ownerDocument.body:e.body:ge(t)&&we(t)?t:Te(t)}function _e(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Te(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=me(o);return i?t.concat(a,a.visualViewport||[],we(o)?o:[],a.frameElement&&n?_e(a.frameElement):[]):t.concat(o,_e(o,[],n))}function Pe(e){const t=Oe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ge(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=U(n)!==i||U(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Ae(e){return ve(e)?e:e.contextElement}function $e(e){const t=Ae(e);if(!ge(t))return q(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Pe(t);let a=(i?U(n.width):n.width)/r,s=(i?U(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Me=q(0);function Re(e){const t=me(e);return Se()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Me}function Ie(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ae(e);let a=q(1);t&&(r?ve(r)&&(a=$e(r)):a=$e(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==me(e))&&t}(i,n,r)?Re(i):q(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=me(i),t=r&&ve(r)?me(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=$e(o),t=o.getBoundingClientRect(),r=Oe(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=me(o),o=n.frameElement}}return se({width:u,height:d,x:l,y:c})}const je=[":popover-open",":modal"];function De(e){return je.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Le(e){return Ie(he(e)).left+Ne(e).scrollLeft}function ze(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=me(e),r=he(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Se();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=he(e),n=Ne(e),r=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Le(e);const s=-n.scrollTop;return"rtl"===Oe(r).direction&&(a+=H(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(he(e));else if(ve(t))r=function(e,t){const n=Ie(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ge(e)?$e(e):q(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Re(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return se(r)}function Ve(e,t){const n=Ce(e);return!(n===t||!ve(n)||ke(n))&&("fixed"===Oe(n).position||Ve(n,t))}function Fe(e,t,n){const r=ge(t),o=he(t),i="fixed"===n,a=Ie(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=q(0);if(r||!r&&!i)if(("body"!==pe(t)||we(o))&&(s=Ne(t)),r){const e=Ie(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Le(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function We(e,t){return ge(e)&&"fixed"!==Oe(e).position?t?t(e):e.offsetParent:null}function Be(e,t){const n=me(e);if(!ge(e)||De(e))return n;let r=We(e,t);for(;r&&xe(r)&&"static"===Oe(r).position;)r=We(r,t);return r&&("html"===pe(r)||"body"===pe(r)&&"static"===Oe(r).position&&!Ee(r))?n:r||function(e){let t=Ce(e);for(;ge(t)&&!ke(t);){if(Ee(t))return t;t=Ce(t)}return null}(e)||n}const He={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=he(r),s=!!t&&De(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=q(1);const u=q(0),d=ge(r);if((d||!d&&!i)&&(("body"!==pe(r)||we(a))&&(l=Ne(r)),ge(r))){const e=Ie(r);c=$e(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:he,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=_e(e,[],!1).filter((e=>ve(e)&&"body"!==pe(e))),o=null;const i="fixed"===Oe(e).position;let a=i?Ce(e):e;for(;ve(a)&&!ke(a);){const t=Oe(a),n=Ee(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||we(a)&&!n&&Ve(e,a))?r=r.filter((e=>e!==a)):o=t,a=Ce(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=ze(t,n,o);return e.top=H(r.top,e.top),e.right=B(r.right,e.right),e.bottom=B(r.bottom,e.bottom),e.left=H(r.left,e.left),e}),ze(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Be,getElementRects:async function(e){const t=this.getOffsetParent||Be,n=this.getDimensions;return{reference:Fe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Pe(e);return{width:t,height:n}},getScale:$e,isElement:ve,isRTL:function(e){return"rtl"===Oe(e).direction}};function Ue(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ae(e),u=o||i?[...c?_e(c):[],..._e(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=he(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-K(u)+"px "+-K(o.clientWidth-(c+d))+"px "+-K(o.clientHeight-(u+f))+"px "+-K(c)+"px",threshold:H(0,B(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,p)}r.observe(e)}(!0),i}(c,n):null;let f,p=-1,m=null;a&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),c&&!l&&m.observe(c),m.observe(t));let h=l?Ie(e):null;return l&&function t(){const r=Ie(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(f)}}const Ke=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=J(e,t),c={x:n,y:r},u=await ce(t,l),d=ne(Z(o)),f=ee(d);let p=c[f],m=c[d];if(i){const e="y"===f?"bottom":"right";p=X(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";m=X(m+u["y"===d?"top":"left"],m,m-u[e])}const h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},qe=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...y}=J(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=Z(o),g=Z(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(g||!h?[ie(s)]:function(e){const t=ie(e);return[oe(e),t,oe(t)]}(s));f||"none"===m||w.push(...function(e,t,n,r){const o=Q(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Z(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(oe)))),i}(s,h,m,b));const x=[s,...w],E=await ce(t,y),S=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(E[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Q(e),o=re(e),i=te(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ie(a)),[a,ie(a)]}(o,a,b);S.push(E[e[0]],E[e[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every((e=>e<=0))){var O,N;const e=((null==(O=i.flip)?void 0:O.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(N=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(p){case"bestFit":{var C;const e=null==(C=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},Ge=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=(()=>{}),...s}=J(e,t),l=await ce(t,s),c=Z(n),u=Q(n),d="y"===ne(n),{width:f,height:p}=r.floating;let m,h;"top"===c||"bottom"===c?(m=c,h=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,m="end"===u?"top":"bottom");const y=p-l[m],v=f-l[h],g=!t.middlewareData.shift;let b=y,w=v;if(d){const e=f-l.left-l.right;w=u||g?B(v,e):e}else{const e=p-l.top-l.bottom;b=u||g?B(y,e):e}if(g&&!u){const e=H(l.left,0),t=H(l.right,0),n=H(l.top,0),r=H(l.bottom,0);d?w=f-2*(0!==e||0!==t?e+t:H(l.left,l.right)):b=p-2*(0!==n||0!==r?n+r:H(l.top,l.bottom))}await a({...t,availableWidth:w,availableHeight:b});const x=await o.getDimensions(i.floating);return f!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}},Ye=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=J(e,t);switch(r){case"referenceHidden":{const e=ue(await ce(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:de(e)}}}case"escaped":{const e=ue(await ce(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:de(e)}}}default:return{}}}}},Xe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=J(e,t)||{};if(null==c)return{};const d=ae(u),f={x:n,y:r},p=re(o),m=te(p),h=await a.getDimensions(c),y="y"===p,v=y?"top":"left",g=y?"bottom":"right",b=y?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],E=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let S=E?E[b]:0;S&&await(null==a.isElement?void 0:a.isElement(E))||(S=s.floating[b]||i.floating[m]);const k=w/2-x/2,O=S/2-h[m]/2-1,N=B(d[v],O),C=B(d[g],O),T=N,_=S-h[m]-C,P=S/2-h[m]/2+k,A=X(T,P,_),$=!l.arrow&&null!=Q(o)&&P!==A&&i.reference[m]/2-(P<T?N:C)-h[m]/2<0,M=$?P<T?P-T:P-_:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:P-A-M,...$&&{alignmentOffset:M}},reset:$}}}),Je=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=J(e,t),u={x:n,y:r},d=ne(o),f=ee(d);let p=u[f],m=u[d];const h=J(s,t),y="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+y.mainAxis,n=i.reference[f]+i.reference[e]-y.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var v,g;const e="y"===f?"width":"height",t=["top","left"].includes(Z(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:y.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(g=a.offset)?void 0:g[d])||0)-(t?y.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Ze=(e,t,n)=>{const r=new Map,o={platform:He,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=le(c,r,l),f=r,p={},m=0;for(let n=0;n<s.length;n++){const{name:i,fn:h}=s[n],{x:y,y:v,data:g,reset:b}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=v?v:d,p={...p,[i]:{...p[i],...g}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=le(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})},Qe=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Xe({element:n.current,padding:r}).fn(t):{}:n?Xe({element:n,padding:r}).fn(t):{};var o}});var et="undefined"!=typeof document?u:s;function tt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!tt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!tt(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function nt(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rt(e,t){const n=nt(e);return Math.round(t*n)/n}function ot(t){const n=e.useRef(t);return et((()=>{n.current=t})),n}const it=d(((e,t)=>{const{children:n,...r}=e,i=f.toArray(n),a=i.find(lt);if(a){const e=a.props.children,n=i.map((t=>t===a?f.count(e)>1?f.only(null):p(e)?e.props.children:null:t));return o(at,R({},r,{ref:t}),p(e)?m(e,void 0,n):null)}return o(at,R({},r,{ref:t}),n)}));it.displayName="Slot";const at=d(((e,t)=>{const{children:n,...r}=e;return p(n)?m(n,{...ct(r,n.props),ref:t?V(t,n.ref):n.ref}):f.count(n)>1?f.only(null):null}));at.displayName="SlotClone";const st=({children:e})=>o(h,null,e);function lt(e){return p(e)&&e.type===st}function ct(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const ut=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=d(((e,n)=>{const{asChild:r,...i}=e,a=r?it:t;return s((()=>{window[Symbol.for("radix-ui")]=!0}),[]),o(a,R({},i,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});const dt=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?u:()=>{};const ft="Popper",[pt,mt]=j(ft),[ht,yt]=pt(ft),vt=d(((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,l=yt("PopperAnchor",n),c=a(null),u=F(t,c);return s((()=>{l.onAnchorChange((null==r?void 0:r.current)||c.current)})),r?null:o(ut.div,R({},i,{ref:u}))})),gt="PopperContent",[bt,wt]=pt(gt),xt=d(((t,n)=>{var r,i,a,s,l,u,d,f;const{__scopePopper:p,side:m="bottom",sideOffset:h=0,align:y="center",alignOffset:g=0,arrowPadding:b=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:S="partial",hideWhenDetached:k=!1,updatePositionStrategy:O="optimized",onPlaced:N,...C}=t,T=yt(gt,p),[_,P]=c(null),A=F(n,(e=>P(e))),[$,M]=c(null),I=function(e){const[t,n]=c(void 0);return dt((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}($),j=null!==(r=null==I?void 0:I.width)&&void 0!==r?r:0,D=null!==(i=null==I?void 0:I.height)&&void 0!==i?i:0,z=m+("center"!==y?"-"+y:""),V="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},W=Array.isArray(x)?x:[x],B=W.length>0,H={padding:V,boundary:W.filter(Et),altBoundary:B},{refs:U,floatingStyles:K,placement:q,isPositioned:G,middlewareData:Y}=function(t){void 0===t&&(t={});const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=t,[d,f]=e.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,m]=e.useState(o);tt(p,o)||m(o);const[h,y]=e.useState(null),[g,b]=e.useState(null),w=e.useCallback((e=>{e!==k.current&&(k.current=e,y(e))}),[]),x=e.useCallback((e=>{e!==O.current&&(O.current=e,b(e))}),[]),E=a||h,S=s||g,k=e.useRef(null),O=e.useRef(null),N=e.useRef(d),C=null!=c,T=ot(c),_=ot(i),P=e.useCallback((()=>{if(!k.current||!O.current)return;const e={placement:n,strategy:r,middleware:p};_.current&&(e.platform=_.current),Ze(k.current,O.current,e).then((e=>{const t={...e,isPositioned:!0};A.current&&!tt(N.current,t)&&(N.current=t,v.flushSync((()=>{f(t)})))}))}),[p,n,r,_]);et((()=>{!1===u&&N.current.isPositioned&&(N.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const A=e.useRef(!1);et((()=>(A.current=!0,()=>{A.current=!1})),[]),et((()=>{if(E&&(k.current=E),S&&(O.current=S),E&&S){if(T.current)return T.current(E,S,P);P()}}),[E,S,P,T,C]);const $=e.useMemo((()=>({reference:k,floating:O,setReference:w,setFloating:x})),[w,x]),M=e.useMemo((()=>({reference:E,floating:S})),[E,S]),R=e.useMemo((()=>{const e={position:r,left:0,top:0};if(!M.floating)return e;const t=rt(M.floating,d.x),n=rt(M.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...nt(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,l,M.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:P,refs:$,elements:M,floatingStyles:R})),[d,P,$,M,R])}({strategy:"fixed",placement:z,whileElementsMounted:(...e)=>Ue(...e,{animationFrame:"always"===O}),elements:{reference:T.anchor},middleware:[fe({mainAxis:h+D,alignmentAxis:g}),w&&Ke({mainAxis:!0,crossAxis:!1,limiter:"partial"===S?Je():void 0,...H}),w&&qe({...H}),Ge({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),$&&Qe({element:$,padding:b}),St({arrowWidth:j,arrowHeight:D}),k&&Ye({strategy:"referenceHidden",...H})]}),[X,J]=kt(q),Z=L(N);dt((()=>{G&&(null==Z||Z())}),[G,Z]);const Q=null===(a=Y.arrow)||void 0===a?void 0:a.x,ee=null===(s=Y.arrow)||void 0===s?void 0:s.y,te=0!==(null===(l=Y.arrow)||void 0===l?void 0:l.centerOffset),[ne,re]=c();return dt((()=>{_&&re(window.getComputedStyle(_).zIndex)}),[_]),o("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:G?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[null===(u=Y.transformOrigin)||void 0===u?void 0:u.x,null===(d=Y.transformOrigin)||void 0===d?void 0:d.y].join(" ")},dir:t.dir},o(bt,{scope:p,placedSide:X,onArrowChange:M,arrowX:Q,arrowY:ee,shouldHideArrow:te},o(ut.div,R({"data-side":X,"data-align":J},C,{ref:A,style:{...C.style,animation:G?void 0:"none",opacity:null!==(f=Y.hide)&&void 0!==f&&f.referenceHidden?0:void 0}}))))}));function Et(e){return null!==e}const St=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=kt(s),h={start:"0%",center:"50%",end:"100%"}[m],y=(null!==(r=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,v=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2;let g="",b="";return"bottom"===p?(g=u?h:`${y}px`,b=-f+"px"):"top"===p?(g=u?h:`${y}px`,b=`${l.floating.height+f}px`):"right"===p?(g=-f+"px",b=u?h:`${v}px`):"left"===p&&(g=`${l.floating.width+f}px`,b=u?h:`${v}px`),{data:{x:g,y:b}}}});function kt(e){const[t,n="center"]=e.split("-");return[t,n]}const Ot=e=>{const{__scopePopper:t,children:n}=e,[r,i]=c(null);return o(ht,{scope:t,anchor:r,onAnchorChange:i},n)},Nt=vt,Ct=xt,Tt=d(((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?g.createPortal(o(ut.div,R({},i,{ref:t})),r):null}));const _t=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=a({}),o=a(e),i=a("none"),u=e?"mounted":"unmounted",[d,f]=function(e,t){return y(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s((()=>{const e=Pt(r.current);i.current="mounted"===d?e:"none"}),[d]),dt((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Pt(t);if(e)f("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))f("UNMOUNT");else{f(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,f]),dt((()=>{if(t){const e=e=>{const n=Pt(r.current).includes(e.animationName);e.target===t&&n&&b((()=>f("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=Pt(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}f("ANIMATION_END")}),[t,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:l((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):f.only(n),i=F(r.ref,o.ref);return"function"==typeof n||r.isPresent?m(o,{ref:i}):null};function Pt(e){return(null==e?void 0:e.animationName)||"none"}_t.displayName="Presence";const At="dismissableLayer.update",$t="dismissableLayer.pointerDownOutside",Mt="dismissableLayer.focusOutside";let Rt;const It=n({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jt=d(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,...m}=e,h=i(It),[y,v]=c(null),g=null!==(n=null==y?void 0:y.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=c({}),w=F(t,(e=>v(e))),x=Array.from(h.layers),[E]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),S=x.indexOf(E),k=y?x.indexOf(y):-1,O=h.layersWithOutsidePointerEventsDisabled.size>0,N=k>=S,C=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=L(e),r=a(!1),o=a((()=>{}));return s((()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function a(){Lt($t,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...h.branches].some((e=>e.contains(t)));N&&!n&&(null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p())}),g),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=L(e),r=a(!1);return s((()=>{const e=e=>{if(e.target&&!r.current){Lt(Mt,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...h.branches].some((e=>e.contains(t)))||(null==d||d(e),null==f||f(e),e.defaultPrevented||null==p||p())}),g);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=L(e);s((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{k===h.layers.size-1&&(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))}),g),s((()=>{if(y)return r&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(Rt=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),Dt(),()=>{r&&1===h.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=Rt)}}),[y,g,r,h]),s((()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),Dt())}),[y,h]),s((()=>{const e=()=>b({});return document.addEventListener(At,e),()=>document.removeEventListener(At,e)}),[]),o(ut.div,R({},m,{ref:w,style:{pointerEvents:O?N?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,T.onFocusCapture),onBlurCapture:I(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,C.onPointerDownCapture)}))}));function Dt(){const e=new CustomEvent(At);document.dispatchEvent(e)}function Lt(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&b((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}let zt;const Vt="HoverCard",[Ft,Wt]=j(Vt,[mt]),Bt=mt(),[Ht,Ut]=Ft(Vt),Kt=d(((e,t)=>{const{__scopeHoverCard:n,...r}=e,i=Ut("HoverCardTrigger",n),a=Bt(n);return o(Nt,R({asChild:!0},a),o(ut.a,R({"data-state":i.open?"open":"closed"},r,{ref:t,onPointerEnter:I(e.onPointerEnter,Zt(i.onOpen)),onPointerLeave:I(e.onPointerLeave,Zt(i.onClose)),onFocus:I(e.onFocus,i.onOpen),onBlur:I(e.onBlur,i.onClose),onTouchStart:I(e.onTouchStart,(e=>e.preventDefault()))})))})),[qt,Gt]=Ft("HoverCardPortal",{forceMount:void 0}),Yt="HoverCardContent",Xt=d(((e,t)=>{const n=Gt(Yt,e.__scopeHoverCard),{forceMount:r=n.forceMount,...i}=e,a=Ut(Yt,e.__scopeHoverCard);return o(_t,{present:r||a.open},o(Jt,R({"data-state":a.open?"open":"closed"},i,{onPointerEnter:I(e.onPointerEnter,Zt(a.onOpen)),onPointerLeave:I(e.onPointerLeave,Zt(a.onClose)),ref:t})))})),Jt=d(((e,t)=>{const{__scopeHoverCard:n,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:u,...d}=e,f=Ut(Yt,n),p=Bt(n),m=a(null),h=F(t,m),[y,v]=c(!1);return s((()=>{if(y){const e=document.body;return zt=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=zt,e.style.webkitUserSelect=zt}}}),[y]),s((()=>{if(m.current){const e=()=>{v(!1),f.isPointerDownOnContentRef.current=!1,setTimeout((()=>{var e;""!==(null===(e=document.getSelection())||void 0===e?void 0:e.toString())&&(f.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!1}}}),[f.isPointerDownOnContentRef,f.hasSelectionRef]),s((()=>{if(m.current){const e=function(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}(m.current);e.forEach((e=>e.setAttribute("tabindex","-1")))}})),o(jt,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:I(l,(e=>{e.preventDefault()})),onDismiss:f.onDismiss},o(Ct,R({},p,d,{onPointerDown:I(d.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&v(!0),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!0})),ref:h,style:{...d.style,userSelect:y?"text":void 0,WebkitUserSelect:y?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}));function Zt(e){return t=>"touch"===t.pointerType?void 0:e()}const Qt=e=>{const{__scopeHoverCard:t,children:n,open:r,defaultOpen:i,onOpenChange:c,openDelay:u=700,closeDelay:d=300}=e,f=Bt(t),p=a(0),m=a(0),h=a(!1),y=a(!1),[v=!1,g]=z({prop:r,defaultProp:i,onChange:c}),b=l((()=>{clearTimeout(m.current),p.current=window.setTimeout((()=>g(!0)),u)}),[u,g]),w=l((()=>{clearTimeout(p.current),h.current||y.current||(m.current=window.setTimeout((()=>g(!1)),d))}),[d,g]),x=l((()=>g(!1)),[g]);return s((()=>()=>{clearTimeout(p.current),clearTimeout(m.current)}),[]),o(Ht,{scope:t,open:v,onOpenChange:g,onOpen:b,onClose:w,onDismiss:x,hasSelectionRef:h,isPointerDownOnContentRef:y},o(Ot,f,n))},en=Kt,tn=Xt;function nn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=nn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function rn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=nn(e))&&(r&&(r+=" "),r+=t);return r}const on="-";function an(e){const t=function(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]},o=function(e,t){if(!t)return e;return e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))]))}(Object.entries(e.classGroups),n);return o.forEach((([e,n])=>{cn(n,r,e,t)})),r}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:function(e){const n=e.split(on);return""===n[0]&&1!==n.length&&n.shift(),sn(n,t)||function(e){if(ln.test(e)){const t=ln.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}}function sn(e,t){if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?sn(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(on);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const ln=/^\[(.+)\]$/;function cn(e,t,n,r){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void cn(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{cn(o,un(t,e),n,r)}))}else{(""===e?t:un(t,e)).classGroupId=n}}))}function un(e,t){let n=e;return t.split(on).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function dn(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}}const fn="!";function pn(e){const t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===r&&(n||e.slice(c,c+o)===t)){i.push(e.slice(l,c)),l=c+o;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===i.length?e:e.substring(l),u=c.startsWith(fn);return{modifiers:i,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const mn=/\s+/;function hn(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=yn(e))&&(r&&(r+=" "),r+=t);return r}function yn(e){if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=yn(e[r]))&&(n&&(n+=" "),n+=t);return n}function vn(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=function(e){return{cache:dn(e.cacheSize),splitModifiers:pn(e),...an(e)}}(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=function(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(mn).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=n(e);let s=r(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=r(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:o?c+fn:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n;return!i.has(a)&&(i.add(a),o(n,r).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,n);return o(e,i),i}return function(){return i(hn.apply(null,arguments))}}function gn(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const bn=/^\[(?:([a-z-]+):)?(.+)\]$/i,wn=/^\d+\/\d+$/,xn=new Set(["px","full","screen"]),En=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sn=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,kn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,On=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Cn(e){return _n(e)||xn.has(e)||wn.test(e)}function Tn(e){return Wn(e,"length",Bn)}function _n(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Pn(e){return Wn(e,"number",_n)}function An(e){return Boolean(e)&&Number.isInteger(Number(e))}function $n(e){return e.endsWith("%")&&_n(e.slice(0,-1))}function Mn(e){return bn.test(e)}function Rn(e){return En.test(e)}const In=new Set(["length","size","percentage"]);function jn(e){return Wn(e,In,Hn)}function Dn(e){return Wn(e,"position",Hn)}const Ln=new Set(["image","url"]);function zn(e){return Wn(e,Ln,Kn)}function Vn(e){return Wn(e,"",Un)}function Fn(){return!0}function Wn(e,t,n){const r=bn.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function Bn(e){return Sn.test(e)&&!kn.test(e)}function Hn(){return!1}function Un(e){return On.test(e)}function Kn(e){return Nn.test(e)}function qn(){const e=gn("colors"),t=gn("spacing"),n=gn("blur"),r=gn("brightness"),o=gn("borderColor"),i=gn("borderRadius"),a=gn("borderSpacing"),s=gn("borderWidth"),l=gn("contrast"),c=gn("grayscale"),u=gn("hueRotate"),d=gn("invert"),f=gn("gap"),p=gn("gradientColorStops"),m=gn("gradientColorStopPositions"),h=gn("inset"),y=gn("margin"),v=gn("opacity"),g=gn("padding"),b=gn("saturate"),w=gn("scale"),x=gn("sepia"),E=gn("skew"),S=gn("space"),k=gn("translate"),O=()=>["auto",Mn,t],N=()=>[Mn,t],C=()=>["",Cn,Tn],T=()=>["auto",_n,Mn],_=()=>["","0",Mn],P=()=>[_n,Pn],A=()=>[_n,Mn];return{cacheSize:500,separator:":",theme:{colors:[Fn],spacing:[Cn,Tn],blur:["none","",Rn,Mn],brightness:P(),borderColor:[e],borderRadius:["none","","full",Rn,Mn],borderSpacing:N(),borderWidth:C(),contrast:P(),grayscale:_(),hueRotate:A(),invert:_(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[$n,Tn],inset:O(),margin:O(),opacity:P(),padding:N(),saturate:P(),scale:P(),sepia:_(),skew:A(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",Mn]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Mn]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",An,Mn]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Mn]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",An,Mn]}],"grid-cols":[{"grid-cols":[Fn]}],"col-start-end":[{col:["auto",{span:["full",An,Mn]},Mn]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[Fn]}],"row-start-end":[{row:["auto",{span:[An,Mn]},Mn]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Mn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Mn]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Mn,t]}],"min-w":[{"min-w":[Mn,t,"min","max","fit"]}],"max-w":[{"max-w":[Mn,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[Mn,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Mn,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Mn,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Mn,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,Tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pn]}],"font-family":[{font:[Fn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Mn]}],"line-clamp":[{"line-clamp":["none",_n,Pn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Cn,Mn]}],"list-image":[{"list-image":["none",Mn]}],"list-style-type":[{list:["none","disc","decimal",Mn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Cn,Tn]}],"underline-offset":[{"underline-offset":["auto",Cn,Mn]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Mn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Mn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Dn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zn]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Cn,Mn]}],"outline-w":[{outline:[Cn,Tn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Cn,Tn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,Vn]}],"shadow-color":[{shadow:[Fn]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rn,Mn]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Mn]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",Mn]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",Mn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[An,Mn]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Mn]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Mn]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Mn]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Cn,Tn,Pn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Gn=vn(qn);function Yn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Gn(rn(e))}var Xn=Qt,Jn=en,Zn=e.forwardRef((function(t,n){var r=t.id,o=t.className,i=t.side,a=void 0===i?"bottom":i,s=t.align,l=void 0===s?"center":s,c=t.sideOffset,u=void 0===c?4:c,d=O(t,["id","className","side","align","sideOffset"]);return e.createElement(tn,k({ref:n,id:r,align:l,side:a,sideOffset:u,className:Yn("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o)},d))}));Zn.displayName=tn.displayName;var Qn,er=function(e){var n=e.id,r=e.className,o=e.align,i=e.side,a=e.sideOffset,s=void 0===a?8:a,l=e.visible,c=e.content,u=e.children;return t.createElement(Xn,{openDelay:100,closeDelay:100,open:l},t.createElement(Jn,{className:"gyramais-hover-card-trigger"},u),t.createElement(Zn,{id:n,className:A("gyramais-hover-card-content",r),align:o,side:i,sideOffset:s},c))},tr=function(e){var n=e.id,r=e.className,o=e.columns,i=void 0===o?1:o,a=e.gap,s=void 0===a?0:a,l=e.align,c=void 0===l?"start":l,u=e.children;return t.createElement("div",{id:n,className:A("gyramais-row","gyramais-row-columns-".concat(i),"gyramais-row-align-".concat(c),"gyramais-row-mobile-gap-".concat("number"==typeof s?s:"object"==typeof s&&!Array.isArray(s)&&s.mobile),"object"==typeof s&&!Array.isArray(s)&&s.tablet?"gyramais-row-tablet-gap-".concat(s.tablet):"","object"==typeof s&&!Array.isArray(s)&&s.desktop?"gyramais-row-desktop-gap-".concat(s.desktop):"","object"==typeof s&&!Array.isArray(s)&&s.wide?"gyramais-row-wide-gap-".concat(s.wide):"",r)},u)},nr=function(e){var n=e.id,r=e.className,o=e.span,i=e.onClick,a=e.children;return t.createElement("div",{id:n,className:A("gyramais-col","gyramais-col-mobile-span-".concat("number"==typeof o?o:"object"==typeof o&&!Array.isArray(o)&&o.mobile),"object"!=typeof o||Array.isArray(o)||void 0===o.tablet?"":"gyramais-col-tablet-span-".concat(o.tablet),"object"!=typeof o||Array.isArray(o)||void 0===o.desktop?"":"gyramais-col-desktop-span-".concat(o.desktop),"object"!=typeof o||Array.isArray(o)||void 0===o.wide?"":"gyramais-col-wide-span-".concat(o.wide),r?"".concat(r,"-container"):""),onClick:i},t.createElement("div",{className:A("gyramais-col-content",r)},a))},rr={exports:{}};rr.exports=(Qn=t,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.conformToMask=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return r(u).default}});var d=r(n(11)),f=r(n(9)),p=r(n(5)),m=n(2),h=function(e){function t(){var e;i(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.setRef=s.setRef.bind(s),s.onBlur=s.onBlur.bind(s),s.onChange=s.onChange.bind(s),s}return s(t,e),c(t,[{key:"setRef",value:function(e){this.inputElement=e}},{key:"initTextMask",value:function(){var e=this.props,t=this.props.value;this.textMaskInputElement=(0,p.default)(l({inputElement:this.inputElement},e)),this.textMaskInputElement.update(t)}},{key:"componentDidMount",value:function(){this.initTextMask()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.pipe,o=t.mask,i={guide:t.guide,placeholderChar:t.placeholderChar,showMask:t.showMask},a="function"==typeof r&&"function"==typeof e.pipe?r.toString()!==e.pipe.toString():(0,m.isNil)(r)&&!(0,m.isNil)(e.pipe)||!(0,m.isNil)(r)&&(0,m.isNil)(e.pipe),s=o.toString()!==e.mask.toString(),l=Object.keys(i).some((function(t){return i[t]!==e[t]}))||s||a;(n!==this.inputElement.value||l)&&this.initTextMask()}},{key:"render",value:function(){var e=this.props,t=e.render,n=o(e,["render"]);return delete n.mask,delete n.guide,delete n.pipe,delete n.placeholderChar,delete n.keepCharPositions,delete n.value,delete n.onBlur,delete n.onChange,delete n.showMask,t(this.setRef,l({onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value},n))}},{key:"onChange",value:function(e){this.textMaskInputElement.update(),"function"==typeof this.props.onChange&&this.props.onChange(e)}},{key:"onBlur",value:function(e){"function"==typeof this.props.onBlur&&this.props.onBlur(e)}}]),t}(d.default.PureComponent);t.default=h,h.propTypes={mask:f.default.oneOfType([f.default.array,f.default.func,f.default.bool,f.default.shape({mask:f.default.oneOfType([f.default.array,f.default.func]),pipe:f.default.func})]).isRequired,guide:f.default.bool,value:f.default.oneOfType([f.default.string,f.default.number]),pipe:f.default.func,placeholderChar:f.default.string,keepCharPositions:f.default.bool,showMask:f.default.bool},h.defaultProps={render:function(e,t){return d.default.createElement("input",l({ref:e},t))}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t,n){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function i(e){return"string"==typeof e||e instanceof String}function a(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function s(e){return null==e}function l(e){for(var t=[],n=void 0;-1!==(n=e.indexOf(d));)t.push(n),e.splice(n,1);return{maskWithoutCaretTraps:e,indexes:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=r,t.isArray=o,t.isString=i,t.isNumber=a,t.isNil=s,t.processCaretTraps=l;var c=n(1),u=[],d="[]"},function(e,t,n){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if((void 0===t?"undefined":o(t))!==a.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var r=n.guide,c=void 0===r||r,u=n.previousConformedValue,d=void 0===u?l:u,f=n.placeholderChar,p=void 0===f?a.placeholderChar:f,m=n.placeholder,h=void 0===m?(0,i.convertMaskToPlaceholder)(t,p):m,y=n.currentCaretPosition,v=n.keepCharPositions,g=!1===c&&void 0!==d,b=e.length,w=d.length,x=h.length,E=t.length,S=b-w,k=S>0,O=y+(k?-S:0),N=O+Math.abs(S);if(!0===v&&!k){for(var C=l,T=O;T<N;T++)h[T]===p&&(C+=p);e=e.slice(0,O)+C+e.slice(O,b)}for(var _=e.split(l).map((function(e,t){return{char:e,isNew:t>=O&&t<N}})),P=b-1;P>=0;P--){var A=_[P].char;A!==p&&A===h[P>=O&&w===E?P-S:P]&&_.splice(P,1)}var $=l,M=!1;e:for(var R=0;R<x;R++){var I=h[R];if(I===p){if(_.length>0)for(;_.length>0;){var j=_.shift(),D=j.char,L=j.isNew;if(D===p&&!0!==g){$+=p;continue e}if(t[R].test(D)){if(!0===v&&!1!==L&&d!==l&&!1!==c&&k){for(var z=_.length,V=null,F=0;F<z;F++){var W=_[F];if(W.char!==p&&!1===W.isNew)break;if(W.char===p){V=F;break}}null!==V?($+=D,_.splice(V,1)):R--}else $+=D;continue e}M=!0}!1===g&&($+=h.substr(R,x));break}$+=I}if(g&&!1===k){for(var B=null,H=0;H<$.length;H++)h[H]===p&&(B=H);$=null!==B?$.substr(0,B+1):l}return{conformedValue:$,meta:{someCharsRejected:M}}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var i=n(2),a=n(1),s=[],l=""},function(e,t){function n(e){var t=e.previousConformedValue,n=void 0===t?o:t,i=e.previousPlaceholder,a=void 0===i?o:i,s=e.currentCaretPosition,l=void 0===s?0:s,c=e.conformedValue,u=e.rawValue,d=e.placeholderChar,f=e.placeholder,p=e.indexesOfPipedChars,m=void 0===p?r:p,h=e.caretTrapIndexes,y=void 0===h?r:h;if(0===l||!u.length)return 0;var v=u.length,g=n.length,b=f.length,w=c.length,x=v-g,E=x>0;if(x>1&&!E&&0!==g)return l;var S=0,k=void 0,O=void 0;if(!E||n!==c&&c!==f){var N=c.toLowerCase(),C=u.toLowerCase().substr(0,l).split(o).filter((function(e){return-1!==N.indexOf(e)}));O=C[C.length-1];var T=a.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,_=f.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,P=_!==T,A=void 0!==a[C.length-1]&&void 0!==f[C.length-2]&&a[C.length-1]!==d&&a[C.length-1]!==f[C.length-1]&&a[C.length-1]===f[C.length-2];!E&&(P||A)&&T>0&&f.indexOf(O)>-1&&void 0!==u[l]&&(k=!0,O=u[l]);for(var $=m.map((function(e){return N[e]})),M=$.filter((function(e){return e===O})).length,R=C.filter((function(e){return e===O})).length,I=f.substr(0,f.indexOf(d)).split(o).filter((function(e,t){return e===O&&u[t]!==e})).length,j=I+R+M+(k?1:0),D=0,L=0;L<w&&(S=L+1,N[L]===O&&D++,!(D>=j));L++);}else S=l-x;if(E){for(var z=S,V=S;V<=b;V++)if(f[V]===d&&(z=V),f[V]===d||-1!==y.indexOf(V)||V===b)return z}else if(k){for(var F=S-1;F>=0;F--)if(c[F]===O||-1!==y.indexOf(F)||0===F)return F}else for(var W=S;W>=0;W--)if(f[W-1]===d||-1!==y.indexOf(W)||0===W)return W}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=[],o=""},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=r.inputElement,m=r.mask,y=r.guide,v=r.pipe,g=r.placeholderChar,b=void 0===g?f.placeholderChar:g,w=r.keepCharPositions,x=void 0!==w&&w,E=r.showMask,S=void 0!==E&&E;if(void 0===n&&(n=o.value),n!==t.previousConformedValue){(void 0===m?"undefined":l(m))===h&&void 0!==m.pipe&&void 0!==m.mask&&(v=m.pipe,m=m.mask);var k=void 0,O=void 0;if(m instanceof Array&&(k=(0,d.convertMaskToPlaceholder)(m,b)),!1!==m){var N=a(n),C=o.selectionEnd,T=t.previousConformedValue,_=t.previousPlaceholder,P=void 0;if((void 0===m?"undefined":l(m))===f.strFunction){if(!1===(O=m(N,{currentCaretPosition:C,previousConformedValue:T,placeholderChar:b})))return;var A=(0,d.processCaretTraps)(O);O=A.maskWithoutCaretTraps,P=A.indexes,k=(0,d.convertMaskToPlaceholder)(O,b)}else O=m;var $={previousConformedValue:T,guide:y,placeholderChar:b,pipe:v,placeholder:k,currentCaretPosition:C,keepCharPositions:x},M=(0,u.default)(N,O,$).conformedValue,R=(void 0===v?"undefined":l(v))===f.strFunction,I={};R&&(!1===(I=v(M,s({rawValue:N},$)))?I={value:T,rejected:!0}:(0,d.isString)(I)&&(I={value:I}));var j=R?I.value:M,D=(0,c.default)({previousConformedValue:T,previousPlaceholder:_,conformedValue:j,placeholder:k,rawValue:N,currentCaretPosition:C,placeholderChar:b,indexesOfPipedChars:I.indexesOfPipedChars,caretTrapIndexes:P}),L=j===k&&0===D?S?k:p:j;t.previousConformedValue=L,t.previousPlaceholder=k,o.value!==L&&(o.value=L,i(o,D))}}}}}function i(e,t){document.activeElement===e&&(y?v((function(){return e.setSelectionRange(t,t,m)}),0):e.setSelectionRange(t,t,m))}function a(e){if((0,d.isString)(e))return e;if((0,d.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var c=r(n(4)),u=r(n(3)),d=n(2),f=n(1),p="",m="none",h="object",y="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),v="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){function r(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=r},function(e,t,n){var r=n(6),o=n(7),i=n(10);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){e.exports=n(8)()},function(e,t){var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){e.exports=Qn}]));var or=C(rr.exports),ir=t.forwardRef((function(e,n){var r=e.id,o=e.className,i=e.name,a=e.type,l=void 0===a?"text":a,u=e.disabled,d=e.placeholder,f=e.value,p=e.mask,m=e.guide,h=void 0!==m&&m,y=e.onChange,v=c(!1),g=v[0],b=v[1];return s((function(){return b(!!f)}),[f]),t.createElement("div",{className:"gyramais-input-controller"},d&&t.createElement("div",{className:A("gyramais-input-placeholder",g?"gyramais-input-with-value":"",u?"gyramais-input-placeholder-disabled":"")},d),p?t.createElement(or,{id:r,className:A("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==y||y(e)},mask:p||!1,guide:h}):t.createElement("input",{id:r,className:A("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==y||y(e)}}))}));function ar(e,[t,n]){return Math.min(n,Math.max(t,e))}const sr=n(void 0);let lr=0;function cr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const ur="focusScope.autoFocusOnMount",dr="focusScope.autoFocusOnUnmount",fr={bubbles:!1,cancelable:!0},pr=d(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:u,...d}=e,[f,p]=c(null),m=L(i),h=L(u),y=a(null),v=F(t,(e=>p(e))),g=a({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s((()=>{if(r){function e(e){if(g.paused||!f)return;const t=e.target;f.contains(t)?y.current=t:vr(y.current,{select:!0})}function t(e){if(g.paused||!f)return;const t=e.relatedTarget;null!==t&&(f.contains(t)||vr(y.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&vr(f)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return f&&o.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[r,f,g.paused]),s((()=>{if(f){gr.add(g);const t=document.activeElement;if(!f.contains(t)){const n=new CustomEvent(ur,fr);f.addEventListener(ur,m),f.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(vr(r,{select:t}),document.activeElement!==n)return}((e=mr(f),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&vr(f))}return()=>{f.removeEventListener(ur,m),setTimeout((()=>{const e=new CustomEvent(dr,fr);f.addEventListener(dr,h),f.dispatchEvent(e),e.defaultPrevented||vr(null!=t?t:document.body,{select:!0}),f.removeEventListener(dr,h),gr.remove(g)}),0)}}var e}),[f,m,h,g]);const b=l((e=>{if(!n&&!r)return;if(g.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=mr(e),n=hr(t,e),r=hr(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&vr(i,{select:!0})):(e.preventDefault(),n&&vr(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,g.paused]);return o(ut.div,R({tabIndex:-1},d,{ref:v,onKeyDown:b}))}));function mr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function hr(e,t){for(const n of e)if(!yr(n,{upTo:t}))return n}function yr(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function vr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const gr=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=br(e,t),e.unshift(t)},remove(t){var n;e=br(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function br(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const wr=e["useId".toString()]||(()=>{});let xr=0;function Er(t){const[n,r]=e.useState(wr());return dt((()=>{t||r((e=>null!=e?e:String(xr++)))}),[t]),t||(n?`radix-${n}`:"")}const Sr=d(((e,t)=>o(ut.span,R({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))));var kr=new WeakMap,Or=new WeakMap,Nr={},Cr=0,Tr=function(e){return e&&(e.host||Tr(e.parentNode))},_r=function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=Tr(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);Nr[n]||(Nr[n]=new WeakMap);var i=Nr[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))u(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(kr.get(e)||0)+1,c=(i.get(e)||0)+1;kr.set(e,l),i.set(e,c),a.push(e),1===l&&o&&Or.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}}))};return u(t),s.clear(),Cr++,function(){a.forEach((function(e){var t=kr.get(e)-1,o=i.get(e)-1;kr.set(e,t),i.set(e,o),t||(Or.has(e)||e.removeAttribute(r),Or.delete(e)),o||e.removeAttribute(n)})),--Cr||(kr=new WeakMap,kr=new WeakMap,Or=new WeakMap,Nr={})}},Pr=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),_r(r,o,n,"aria-hidden")):function(){return null}},Ar="right-scroll-bar-position",$r="width-before-scroll-bar";function Mr(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Rr=new WeakMap;function Ir(t,n){var r,o,i,a=(r=n||null,o=function(e){return t.forEach((function(t){return Mr(t,e)}))},(i=c((function(){return{value:r,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}}))[0]).callback=o,i.facade);return e.useLayoutEffect((function(){var e=Rr.get(a);if(e){var n=new Set(e),r=new Set(t),o=a.current;n.forEach((function(e){r.has(e)||Mr(e,null)})),r.forEach((function(e){n.has(e)||Mr(e,o)}))}Rr.set(a,t)}),[t]),a}function jr(e){return e}var Dr=function(t){var n=t.sideCar,r=O(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return e.createElement(o,k({},r))};Dr.isSideCarExport=!0;var Lr=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=jr);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=k({async:!0,ssr:!1},e),t}(),zr=function(){},Vr=e.forwardRef((function(t,n){var r=e.useRef(null),o=e.useState({onScrollCapture:zr,onWheelCapture:zr,onTouchMoveCapture:zr}),i=o[0],a=o[1],s=t.forwardProps,l=t.children,c=t.className,u=t.removeScrollBar,d=t.enabled,f=t.shards,p=t.sideCar,m=t.noIsolation,h=t.inert,y=t.allowPinchZoom,v=t.as,g=void 0===v?"div":v,b=O(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=Ir([r,n]),E=k(k({},b),i);return e.createElement(e.Fragment,null,d&&e.createElement(w,{sideCar:Lr,removeScrollBar:u,shards:f,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!y,lockRef:r}),s?e.cloneElement(e.Children.only(l),k(k({},E),{ref:x})):e.createElement(g,k({},E,{className:c,ref:x}),l))}));Vr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vr.classNames={fullWidth:$r,zeroRight:Ar};function Fr(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Wr=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=Fr())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Br=function(){var t,n=(t=Wr(),function(n,r){e.useEffect((function(){return t.add(n),function(){t.remove()}}),[n&&r])});return function(e){var t=e.styles,r=e.dynamic;return n(t,r),null}},Hr={left:0,top:0,right:0,gap:0},Ur=function(e){return parseInt(e||"",10)||0},Kr=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Hr;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ur(n),Ur(r),Ur(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},qr=Br(),Gr=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ar," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat($r," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Ar," .").concat(Ar," {\n right: 0 ").concat(r,";\n }\n \n .").concat($r," .").concat($r," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Yr=function(t){var n=t.noRelative,r=t.noImportant,o=t.gapMode,i=void 0===o?"margin":o,a=e.useMemo((function(){return Kr(i)}),[i]);return e.createElement(qr,{styles:Gr(a,!n,i,r?"":"!important")})},Xr=!1;if("undefined"!=typeof window)try{var Jr=Object.defineProperty({},"passive",{get:function(){return Xr=!0,!0}});window.addEventListener("test",Jr,Jr),window.removeEventListener("test",Jr,Jr)}catch(e){Xr=!1}var Zr=!!Xr&&{passive:!1},Qr=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},eo=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),to(e,n)){var r=no(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},to=function(e,t){return"v"===e?function(e){return Qr(e,"overflowY")}(t):function(e){return Qr(e,"overflowX")}(t)},no=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},ro=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},oo=function(e){return[e.deltaX,e.deltaY]},io=function(e){return e&&"current"in e?e.current:e},ao=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},so=0,lo=[];var co,uo=(co=function(t){var n=e.useRef([]),r=e.useRef([0,0]),o=e.useRef(),i=e.useState(so++)[0],a=e.useState((function(){return Br()}))[0],s=e.useRef(t);e.useEffect((function(){s.current=t}),[t]),e.useEffect((function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=N([t.lockRef.current],(t.shards||[]).map(io),!0).filter(Boolean);return e.forEach((function(e){return e.classList.add("allow-interactivity-".concat(i))})),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(i))}))}}}),[t.inert,t.lockRef.current,t.shards]);var l=e.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var n,i=ro(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=eo(d,u);if(!f)return!0;if(f?n=d:(n="v"===d?"h":"v",f=eo(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=n),!n)return!0;var p=o.current||n;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=no(e,s),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&to(e,s)&&(d+=h,f+=m),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&0===d||!o&&a>d)||!u&&(o&&0===f||!o&&-a>f))&&(c=!0),c}(p,t,e,"h"===p?l:c,!0)}),[]),c=e.useCallback((function(e){var t=e;if(lo.length&&lo[lo.length-1]===a){var r="deltaY"in t?oo(t):ro(t),o=n.current.filter((function(e){return e.name===t.type&&e.target===t.target&&(n=e.delta,o=r,n[0]===o[0]&&n[1]===o[1]);var n,o}))[0];if(o&&o.should)t.cancelable&&t.preventDefault();else if(!o){var i=(s.current.shards||[]).map(io).filter(Boolean).filter((function(e){return e.contains(t.target)}));(i.length>0?l(t,i[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),u=e.useCallback((function(e,t,r,o){var i={name:e,delta:t,target:r,should:o};n.current.push(i),setTimeout((function(){n.current=n.current.filter((function(e){return e!==i}))}),1)}),[]),d=e.useCallback((function(e){r.current=ro(e),o.current=void 0}),[]),f=e.useCallback((function(e){u(e.type,oo(e),e.target,l(e,t.lockRef.current))}),[]),p=e.useCallback((function(e){u(e.type,ro(e),e.target,l(e,t.lockRef.current))}),[]);e.useEffect((function(){return lo.push(a),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Zr),document.addEventListener("touchmove",c,Zr),document.addEventListener("touchstart",d,Zr),function(){lo=lo.filter((function(e){return e!==a})),document.removeEventListener("wheel",c,Zr),document.removeEventListener("touchmove",c,Zr),document.removeEventListener("touchstart",d,Zr)}}),[]);var m=t.removeScrollBar,h=t.inert;return e.createElement(e.Fragment,null,h?e.createElement(a,{styles:ao(i)}):null,m?e.createElement(Yr,{gapMode:"margin"}):null)},Lr.useMedium(co),Dr),fo=e.forwardRef((function(t,n){return e.createElement(Vr,k({},t,{ref:n,sideCar:uo}))}));fo.classNames=Vr.classNames;var po=fo;const mo=[" ","Enter","ArrowUp","ArrowDown"],ho=[" ","Enter"],yo="Select",[vo,go,bo]=function(e){const n=e+"CollectionProvider",[r,o]=j(n),[i,a]=r(n,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",l=e+"CollectionItemSlot",c="data-radix-collection-item";return[{Provider:e=>{const{scope:n,children:r}=e,o=t.useRef(null),a=t.useRef(new Map).current;return t.createElement(i,{scope:n,itemMap:a,collectionRef:o},r)},Slot:t.forwardRef(((e,n)=>{const{scope:r,children:o}=e,i=F(n,a(s,r).collectionRef);return t.createElement(it,{ref:i},o)})),ItemSlot:t.forwardRef(((e,n)=>{const{scope:r,children:o,...i}=e,s=t.useRef(null),u=F(n,s),d=a(l,r);return t.useEffect((()=>(d.itemMap.set(s,{ref:s,...i}),()=>{d.itemMap.delete(s)}))),t.createElement(it,{[c]:"",ref:u},o)}))},function(n){const r=a(e+"CollectionConsumer",n);return t.useCallback((()=>{const e=r.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${c}]`));return Array.from(r.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[r.collectionRef,r.itemMap])},o]}(yo),[wo,xo]=j(yo,[bo,mt]),Eo=mt(),[So,ko]=wo(yo),[Oo,No]=wo(yo),Co=d(((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,a=Eo(n),s=ko("SelectTrigger",n),l=s.disabled||r,c=F(t,s.onTriggerChange),u=go(n),[d,f,p]=ai((e=>{const t=u().filter((e=>!e.disabled)),n=t.find((e=>e.value===s.value)),r=si(t,e,n);void 0!==r&&s.onValueChange(r.value)})),m=()=>{l||(s.onOpenChange(!0),p())};return o(Nt,R({asChild:!0},a),o(ut.button,R({type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":oi(s.value)?"":void 0},i,{ref:c,onClick:I(i.onClick,(e=>{e.currentTarget.focus()})),onPointerDown:I(i.onPointerDown,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(m(),s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:I(i.onKeyDown,(e=>{const t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||f(e.key),t&&" "===e.key||mo.includes(e.key)&&(m(),e.preventDefault())}))})))})),To=d(((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:a,placeholder:s="",...l}=e,c=ko("SelectValue",n),{onValueNodeHasChildrenChange:u}=c,d=void 0!==a,f=F(t,c.onValueNodeChange);return dt((()=>{u(d)}),[u,d]),o(ut.span,R({},l,{ref:f,style:{pointerEvents:"none"}}),oi(c.value)?o(h,null,s):a)})),_o=d(((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return o(ut.span,R({"aria-hidden":!0},i,{ref:t}),r||"▼")})),Po="SelectContent",Ao=d(((e,t)=>{const n=ko(Po,e.__scopeSelect),[r,i]=c();if(dt((()=>{i(new DocumentFragment)}),[]),!n.open){const t=r;return t?w(o(Mo,{scope:e.__scopeSelect},o(vo.Slot,{scope:e.__scopeSelect},o("div",null,e.children))),t):null}return o(Io,R({},e,{ref:t}))})),$o=10,[Mo,Ro]=wo(Po),Io=d(((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:u,onPointerDownOutside:d,side:f,sideOffset:p,align:m,alignOffset:h,arrowPadding:y,collisionBoundary:v,collisionPadding:g,sticky:b,hideWhenDetached:w,avoidCollisions:x,...E}=e,S=ko(Po,n),[k,O]=c(null),[N,C]=c(null),T=F(t,(e=>O(e))),[_,P]=c(null),[A,$]=c(null),M=go(n),[j,D]=c(!1),L=a(!1);s((()=>{if(k)return Pr(k)}),[k]),s((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:cr()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:cr()),lr++,()=>{1===lr&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),lr--}}),[]);const z=l((e=>{const[t,...n]=M().map((e=>e.ref.current)),[r]=n.slice(-1),o=document.activeElement;for(const n of e){if(n===o)return;if(null==n||n.scrollIntoView({block:"nearest"}),n===t&&N&&(N.scrollTop=0),n===r&&N&&(N.scrollTop=N.scrollHeight),null==n||n.focus(),document.activeElement!==o)return}}),[M,N]),V=l((()=>z([_,k])),[z,_,k]);s((()=>{j&&V()}),[j,V]);const{onOpenChange:W,triggerPointerDownPosRef:B}=S;s((()=>{if(k){let e={x:0,y:0};const t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=B.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=B.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():k.contains(n.target)||W(!1),document.removeEventListener("pointermove",t),B.current=null};return null!==B.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[k,W,B]),s((()=>{const e=()=>W(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[W]);const[H,U]=ai((e=>{const t=M().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=si(t,e,n);r&&setTimeout((()=>r.ref.current.focus()))})),K=l(((e,t,n)=>{const r=!L.current&&!n;(void 0!==S.value&&S.value===t||r)&&(P(e),r&&(L.current=!0))}),[S.value]),q=l((()=>null==k?void 0:k.focus()),[k]),G=l(((e,t,n)=>{const r=!L.current&&!n;(void 0!==S.value&&S.value===t||r)&&$(e)}),[S.value]),Y="popper"===r?Do:jo,X=Y===Do?{side:f,sideOffset:p,align:m,alignOffset:h,arrowPadding:y,collisionBoundary:v,collisionPadding:g,sticky:b,hideWhenDetached:w,avoidCollisions:x}:{};return o(Mo,{scope:n,content:k,viewport:N,onViewportChange:C,itemRefCallback:K,selectedItem:_,onItemLeave:q,itemTextRefCallback:G,focusSelectedItem:V,selectedItemText:A,position:r,isPositioned:j,searchRef:H},o(po,{as:it,allowPinchZoom:!0},o(pr,{asChild:!0,trapped:S.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:I(i,(e=>{var t;null===(t=S.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},o(jt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>S.onOpenChange(!1)},o(Y,R({role:"listbox",id:S.contentId,"data-state":S.open?"open":"closed",dir:S.dir,onContextMenu:e=>e.preventDefault()},E,X,{onPlaced:()=>D(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:I(E.onKeyDown,(e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=M().filter((e=>!e.disabled)).map((e=>e.ref.current));if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout((()=>z(t))),e.preventDefault()}}))}))))))})),jo=d(((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,s=ko(Po,n),u=Ro(Po,n),[d,f]=c(null),[p,m]=c(null),h=F(t,(e=>m(e))),y=go(n),v=a(!1),g=a(!0),{viewport:b,selectedItem:w,selectedItemText:x,focusSelectedItem:E}=u,S=l((()=>{if(s.trigger&&s.valueNode&&d&&p&&b&&w&&x){const e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),o=x.getBoundingClientRect();if("rtl"!==s.dir){const r=o.left-t.left,i=n.left-r,a=e.left-i,s=e.width+a,l=Math.max(s,t.width),c=window.innerWidth-$o,u=ar(i,[$o,c-l]);d.style.minWidth=s+"px",d.style.left=u+"px"}else{const r=t.right-o.right,i=window.innerWidth-n.right-r,a=window.innerWidth-e.right-i,s=e.width+a,l=Math.max(s,t.width),c=window.innerWidth-$o,u=ar(i,[$o,c-l]);d.style.minWidth=s+"px",d.style.right=u+"px"}const i=y(),a=window.innerHeight-2*$o,l=b.scrollHeight,c=window.getComputedStyle(p),u=parseInt(c.borderTopWidth,10),f=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),h=u+f+l+parseInt(c.paddingBottom,10)+m,g=Math.min(5*w.offsetHeight,h),E=window.getComputedStyle(b),S=parseInt(E.paddingTop,10),k=parseInt(E.paddingBottom,10),O=e.top+e.height/2-$o,N=a-O,C=w.offsetHeight/2,T=u+f+(w.offsetTop+C),_=h-T;if(T<=O){const e=w===i[i.length-1].ref.current;d.style.bottom="0px";const t=p.clientHeight-b.offsetTop-b.offsetHeight,n=T+Math.max(N,C+(e?k:0)+t+m);d.style.height=n+"px"}else{const e=w===i[0].ref.current;d.style.top="0px";const t=Math.max(O,u+b.offsetTop+(e?S:0)+C)+_;d.style.height=t+"px",b.scrollTop=T-O+b.offsetTop}d.style.margin=`${$o}px 0`,d.style.minHeight=g+"px",d.style.maxHeight=a+"px",null==r||r(),requestAnimationFrame((()=>v.current=!0))}}),[y,s.trigger,s.valueNode,d,p,b,w,x,s.dir,r]);dt((()=>S()),[S]);const[k,O]=c();dt((()=>{p&&O(window.getComputedStyle(p).zIndex)}),[p]);const N=l((e=>{e&&!0===g.current&&(S(),null==E||E(),g.current=!1)}),[S,E]);return o(Lo,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:v,onScrollButtonChange:N},o("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k}},o(ut.div,R({},i,{ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}}))))})),Do=d(((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=$o,...a}=e,s=Eo(n);return o(Ct,R({},s,a,{ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))})),[Lo,zo]=wo(Po,{}),Vo="SelectViewport",Fo=d(((e,t)=>{const{__scopeSelect:n,...r}=e,i=Ro(Vo,n),s=zo(Vo,n),l=F(t,i.onViewportChange),c=a(0);return o(h,null,o("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),o(vo.Slot,{scope:n},o(ut.div,R({"data-radix-select-viewport":"",role:"presentation"},r,{ref:l,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:I(r.onScroll,(e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=s;if(null!=r&&r.current&&n){const e=Math.abs(c.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*$o,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),s=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}c.current=t.scrollTop}))}))))})),[Wo,Bo]=wo("SelectGroup"),Ho=d(((e,t)=>{const{__scopeSelect:n,...r}=e,i=Bo("SelectLabel",n);return o(ut.div,R({id:i.id},r,{ref:t}))})),Uo="SelectItem",[Ko,qo]=wo(Uo),Go=d(((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...s}=e,u=ko(Uo,n),d=Ro(Uo,n),f=u.value===r,[p,m]=c(null!=a?a:""),[h,y]=c(!1),v=F(t,(e=>{var t;return null===(t=d.itemRefCallback)||void 0===t?void 0:t.call(d,e,r,i)})),g=Er(),b=()=>{i||(u.onValueChange(r),u.onOpenChange(!1))};if(""===r)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return o(Ko,{scope:n,value:r,disabled:i,textId:g,isSelected:f,onItemTextChange:l((e=>{m((t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},o(vo.ItemSlot,{scope:n,value:r,disabled:i,textValue:p},o(ut.div,R({role:"option","aria-labelledby":g,"data-highlighted":h?"":void 0,"aria-selected":f&&h,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},s,{ref:v,onFocus:I(s.onFocus,(()=>y(!0))),onBlur:I(s.onBlur,(()=>y(!1))),onPointerUp:I(s.onPointerUp,b),onPointerMove:I(s.onPointerMove,(e=>{var t;i?null===(t=d.onItemLeave)||void 0===t||t.call(d):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:I(s.onPointerLeave,(e=>{var t;e.currentTarget===document.activeElement&&(null===(t=d.onItemLeave)||void 0===t||t.call(d))})),onKeyDown:I(s.onKeyDown,(e=>{var t;""!==(null===(t=d.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(ho.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),Yo="SelectItemText",Xo=d(((e,t)=>{const{__scopeSelect:n,className:i,style:a,...s}=e,l=ko(Yo,n),u=Ro(Yo,n),d=qo(Yo,n),f=No(Yo,n),[p,m]=c(null),y=F(t,(e=>m(e)),d.onItemTextChange,(e=>{var t;return null===(t=u.itemTextRefCallback)||void 0===t?void 0:t.call(u,e,d.value,d.disabled)})),v=null==p?void 0:p.textContent,g=r((()=>o("option",{key:d.value,value:d.value,disabled:d.disabled},v)),[d.disabled,d.value,v]),{onNativeOptionAdd:b,onNativeOptionRemove:x}=f;return dt((()=>(b(g),()=>x(g))),[b,x,g]),o(h,null,o(ut.span,R({id:d.textId},s,{ref:y})),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?w(s.children,l.valueNode):null)})),Jo=d(((e,t)=>{const{__scopeSelect:n,...r}=e;return qo("SelectItemIndicator",n).isSelected?o(ut.span,R({"aria-hidden":!0},r,{ref:t})):null})),Zo="SelectScrollUpButton",Qo=d(((e,t)=>{const n=Ro(Zo,e.__scopeSelect),r=zo(Zo,e.__scopeSelect),[i,a]=c(!1),s=F(t,r.onScrollButtonChange);return dt((()=>{if(n.viewport&&n.isPositioned){const e=n.viewport;function t(){const t=e.scrollTop>0;a(t)}return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[n.viewport,n.isPositioned]),i?o(ni,R({},e,{ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),ei="SelectScrollDownButton",ti=d(((e,t)=>{const n=Ro(ei,e.__scopeSelect),r=zo(ei,e.__scopeSelect),[i,a]=c(!1),s=F(t,r.onScrollButtonChange);return dt((()=>{if(n.viewport&&n.isPositioned){const e=n.viewport;function t(){const t=e.scrollHeight-e.clientHeight,n=Math.ceil(e.scrollTop)<t;a(n)}return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[n.viewport,n.isPositioned]),i?o(ni,R({},e,{ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),ni=d(((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,c=Ro("SelectScrollButton",n),u=a(null),d=go(n),f=l((()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)}),[]);return s((()=>()=>f()),[f]),dt((()=>{var e;const t=d().find((e=>e.ref.current===document.activeElement));null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),[d]),o(ut.div,R({"aria-hidden":!0},i,{ref:t,style:{flexShrink:0,...i.style},onPointerDown:I(i.onPointerDown,(()=>{null===u.current&&(u.current=window.setInterval(r,50))})),onPointerMove:I(i.onPointerMove,(()=>{var e;null===(e=c.onItemLeave)||void 0===e||e.call(c),null===u.current&&(u.current=window.setInterval(r,50))})),onPointerLeave:I(i.onPointerLeave,(()=>{f()}))}))})),ri=d(((e,t)=>{const{__scopeSelect:n,...r}=e;return o(ut.div,R({"aria-hidden":!0},r,{ref:t}))}));function oi(e){return""===e||void 0===e}const ii=d(((e,t)=>{const{value:n,...i}=e,l=a(null),c=F(t,l),u=function(e){const t=a({value:e,previous:e});return r((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}(n);return s((()=>{const e=l.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(u!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}}),[u,n]),o(Sr,{asChild:!0},o("select",R({},i,{ref:c,defaultValue:n})))}));function ai(e){const t=L(e),n=a(""),r=a(0),o=l((e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((()=>e("")),1e3))}(o)}),[t]),i=l((()=>{n.current="",window.clearTimeout(r.current)}),[]);return s((()=>()=>window.clearTimeout(r.current)),[]),[n,o,i]}function si(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0])),o=r?t[0]:t,i=n?e.indexOf(n):-1;let a=(s=e,l=Math.max(i,0),s.map(((e,t)=>s[(l+t)%s.length])));var s,l;1===o.length&&(a=a.filter((e=>e!==n)));const c=a.find((e=>e.textValue.toLowerCase().startsWith(o.toLowerCase())));return c!==n?c:void 0}ii.displayName="BubbleSelect";const li=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:s,onOpenChange:u,value:d,defaultValue:f,onValueChange:p,dir:m,name:h,autoComplete:y,disabled:v,required:g}=e,b=Eo(t),[w,x]=c(null),[E,S]=c(null),[k,O]=c(!1),N=function(e){const t=i(sr);return e||t||"ltr"}(m),[C=!1,T]=z({prop:r,defaultProp:s,onChange:u}),[_,P]=z({prop:d,defaultProp:f,onChange:p}),A=a(null),$=!w||Boolean(w.closest("form")),[M,R]=c(new Set),I=Array.from(M).map((e=>e.props.value)).join(";");return o(Ot,b,o(So,{required:g,scope:t,trigger:w,onTriggerChange:x,valueNode:E,onValueNodeChange:S,valueNodeHasChildren:k,onValueNodeHasChildrenChange:O,contentId:Er(),value:_,onValueChange:P,open:C,onOpenChange:T,dir:N,triggerPointerDownPosRef:A,disabled:v},o(vo.Provider,{scope:t},o(Oo,{scope:e.__scopeSelect,onNativeOptionAdd:l((e=>{R((t=>new Set(t).add(e)))}),[]),onNativeOptionRemove:l((e=>{R((t=>{const n=new Set(t);return n.delete(e),n}))}),[])},n)),$?o(ii,{key:I,"aria-hidden":!0,required:g,tabIndex:-1,name:h,autoComplete:y,value:_,onChange:e=>P(e.target.value),disabled:v},void 0===_?o("option",{value:""}):null,Array.from(M)):null))},ci=Co,ui=To,di=_o,fi=e=>o(Tt,R({asChild:!0},e)),pi=Ao,mi=Fo,hi=Ho,yi=Go,vi=Xo,gi=Jo,bi=Qo,wi=ti,xi=ri;var Ei={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Si=(e,t)=>{const n=d((({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:a,children:s,...l},c)=>{return o("svg",{ref:c,...Ei,width:r,height:r,stroke:n,strokeWidth:a?24*Number(i)/Number(r):i,className:`lucide lucide-${u=e,u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,...l},[...t.map((([e,t])=>o(e,t))),...(Array.isArray(s)?s:[s])||[]]);var u}));return n.displayName=`${e}`,n},ki=Si("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),Oi=Si("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Ni=Si("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var Ci=li,Ti=ui,_i=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=O(t,["className","children"]);return e.createElement(ci,k({ref:n,className:Yn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r)},i),o,e.createElement(di,{asChild:!0},e.createElement(Oi,{className:"h-4 w-4 opacity-50"})))}));_i.displayName=ci.displayName;var Pi=e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(bi,k({ref:n,className:Yn("flex cursor-default items-center justify-center py-1",r)},o),e.createElement(Ni,{className:"h-4 w-4"}))}));Pi.displayName=bi.displayName;var Ai=e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(wi,k({ref:n,className:Yn("flex cursor-default items-center justify-center py-1",r)},o),e.createElement(Oi,{className:"h-4 w-4"}))}));Ai.displayName=wi.displayName;var $i=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=t.position,a=void 0===i?"popper":i,s=O(t,["className","children","position"]);return e.createElement(fi,null,e.createElement(pi,k({ref:n,className:Yn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:a},s),e.createElement(Pi,null),e.createElement(mi,{className:Yn("p-1","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},o),e.createElement(Ai,null)))}));$i.displayName=pi.displayName,e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(hi,k({ref:n,className:Yn("py-1.5 pl-8 pr-2 text-sm font-semibold",r)},o))})).displayName=hi.displayName;var Mi=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=O(t,["className","children"]);return e.createElement(yi,k({ref:n,className:Yn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r)},i),e.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},e.createElement(gi,null,e.createElement(ki,{className:"h-4 w-4"}))),e.createElement(vi,null,o))}));Mi.displayName=yi.displayName,e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(xi,k({ref:n,className:Yn("-mx-1 my-1 h-px bg-muted",r)},o))})).displayName=xi.displayName;var Ri=function(e){var n=e.id,r=e.className,o=e.disabled,i=e.placeholder,a=e.value,s=e.options,l=void 0===s?[]:s,c=e.onChange;return t.createElement(Ci,{value:a,onValueChange:c},t.createElement(_i,{id:n,disabled:o,className:A("gyramais-select",r)},t.createElement(Ti,{placeholder:i})),t.createElement($i,{className:"gyramais-select-content"},l.map((function(e,n){return t.createElement(Mi,{key:"".concat(e.value,"-").concat(n),className:"gyramais-select-item",value:e.value,disabled:e.disabled},e.label)}))))},Ii={},ji={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(ji);var Di=ji.exports,Li={};function zi(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Vi(e){if(!zi(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Vi(e[n])})),t}function Fi(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return zi(e)&&zi(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(zi(t[o])&&o in e&&zi(e[o])?r[o]=Fi(e[o],t[o],n):n.clone?r[o]=zi(t[o])?Vi(t[o]):t[o]:r[o]=t[o])})),r}var Wi,Bi={exports:{}},Hi={exports:{}},Ui={};var Ki,qi,Gi,Yi,Xi,Ji,Zi,Qi,ea,ta,na,ra,oa,ia,aa={};
|
|
6
|
+
*/_=P,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}_.exports?(t.default=t,_.exports=t):window.classNames=t}();var A=C(P.exports),$=function(e){var n=e.id,r=e.className,o=e.size,i=void 0===o?40:o,a=e.color,s=void 0===a?"var(--primary-button-color)":a;return t.createElement("div",{id:n,className:A("gyramais-loading",r),style:{width:i,height:i}},t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}),t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}))},M=function(e){var n=e.id,r=e.className,o=e.type,i=void 0===o?"primary":o,a=e.size,s=void 0===a?"medium":a,l=e.htmlType,c=void 0===l?"button":l,u=e.link,d=void 0!==u&&u,f=e.block,p=void 0!==f&&f,m=e.disabled,h=void 0!==m&&m,v=e.loading,y=void 0!==v&&v,g=e.icon,b=e.onClick,w=e.children;return t.createElement("button",{id:n,type:c,className:A("gyramais-button","gyramais-button-".concat(s),"gyramais-button-".concat(i),d?"gyramais-button-link":"",p?"gyramais-button-block":"",y?"gyramais-button-loading":"",g&&!w?"gyramais-button-icon":"",r),onClick:y?function(){}:b,disabled:h},y&&t.createElement("div",{className:"gyramais-button-icon-container"},t.createElement($,{size:24,className:"gyramais-button-loading-feedback"})),!y&&g&&t.createElement("div",{className:"gyramais-button-icon-container"},g),w)};function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}function I(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function j(e,t=[]){let a=[];const s=()=>{const t=a.map((e=>n(e)));return function(n){const o=(null==n?void 0:n[e])||t;return r((()=>({[`__scope${e}`]:{...n,[e]:o}})),[n,o])}};return s.scopeName=e,[function(t,s){const l=n(s),c=a.length;function u(t){const{scope:n,children:i,...a}=t,s=(null==n?void 0:n[e][c])||l,u=r((()=>a),Object.values(a));return o(s.Provider,{value:u},i)}return a=[...a,s],u.displayName=t+"Provider",[u,function(n,r){const o=(null==r?void 0:r[e][c])||l,a=i(o);if(a)return a;if(void 0!==s)return s;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},D(s,...t)]}function D(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return r((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return n.scopeName=t.scopeName,n}function L(e){const t=a(e);return s((()=>{t.current=e})),r((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function z({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[r,o]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,o=a(r),i=L(t);return s((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,u=i?e:r,d=L(n);return[u,l((t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&d(n)}else o(t)}),[i,e,o,d])]}function V(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function F(...e){return l(V(...e),e)}const W=["top","right","bottom","left"],B=Math.min,H=Math.max,U=Math.round,K=Math.floor,q=e=>({x:e,y:e}),G={left:"right",right:"left",bottom:"top",top:"bottom"},Y={start:"end",end:"start"};function X(e,t,n){return H(e,B(t,n))}function J(e,t){return"function"==typeof e?e(t):e}function Z(e){return e.split("-")[0]}function Q(e){return e.split("-")[1]}function ee(e){return"x"===e?"y":"x"}function te(e){return"y"===e?"height":"width"}function ne(e){return["top","bottom"].includes(Z(e))?"y":"x"}function re(e){return ee(ne(e))}function oe(e){return e.replace(/start|end/g,(e=>Y[e]))}function ie(e){return e.replace(/left|right|bottom|top/g,(e=>G[e]))}function ae(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function se(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function le(e,t,n){let{reference:r,floating:o}=e;const i=ne(t),a=re(t),s=te(a),l=Z(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Q(t)){case"start":p[a]-=f*(n&&c?-1:1);break;case"end":p[a]+=f*(n&&c?-1:1)}return p}async function ce(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=J(t,e),m=ae(p),h=s[f?"floating"===d?"reference":"floating":d],v=se(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===d?{...a.floating,x:r,y:o}:a.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},w=se(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:g,strategy:l}):y);return{top:(v.top-w.top+m.top)/b.y,bottom:(w.bottom-v.bottom+m.bottom)/b.y,left:(v.left-w.left+m.left)/b.x,right:(w.right-v.right+m.right)/b.x}}function ue(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function de(e){return W.some((t=>e[t]>=0))}const fe=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Z(n),s=Q(n),l="y"===ne(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=J(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof m&&(p="end"===s?-1*m:m),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}};function pe(e){return ve(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function he(e){var t;return null==(t=(ve(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ve(e){return e instanceof Node||e instanceof me(e).Node}function ye(e){return e instanceof Element||e instanceof me(e).Element}function ge(e){return e instanceof HTMLElement||e instanceof me(e).HTMLElement}function be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof me(e).ShadowRoot)}function we(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Oe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function xe(e){return["table","td","th"].includes(pe(e))}function Ee(e){const t=Se(),n=Oe(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Se(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ke(e){return["html","body","#document"].includes(pe(e))}function Oe(e){return me(e).getComputedStyle(e)}function Ne(e){return ye(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ce(e){if("html"===pe(e))return e;const t=e.assignedSlot||e.parentNode||be(e)&&e.host||he(e);return be(t)?t.host:t}function Te(e){const t=Ce(e);return ke(t)?e.ownerDocument?e.ownerDocument.body:e.body:ge(t)&&we(t)?t:Te(t)}function _e(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Te(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=me(o);return i?t.concat(a,a.visualViewport||[],we(o)?o:[],a.frameElement&&n?_e(a.frameElement):[]):t.concat(o,_e(o,[],n))}function Pe(e){const t=Oe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ge(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=U(n)!==i||U(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Ae(e){return ye(e)?e:e.contextElement}function $e(e){const t=Ae(e);if(!ge(t))return q(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Pe(t);let a=(i?U(n.width):n.width)/r,s=(i?U(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Me=q(0);function Re(e){const t=me(e);return Se()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Me}function Ie(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ae(e);let a=q(1);t&&(r?ye(r)&&(a=$e(r)):a=$e(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==me(e))&&t}(i,n,r)?Re(i):q(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=me(i),t=r&&ye(r)?me(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=$e(o),t=o.getBoundingClientRect(),r=Oe(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=me(o),o=n.frameElement}}return se({width:u,height:d,x:l,y:c})}const je=[":popover-open",":modal"];function De(e){return je.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Le(e){return Ie(he(e)).left+Ne(e).scrollLeft}function ze(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=me(e),r=he(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Se();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=he(e),n=Ne(e),r=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Le(e);const s=-n.scrollTop;return"rtl"===Oe(r).direction&&(a+=H(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(he(e));else if(ye(t))r=function(e,t){const n=Ie(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ge(e)?$e(e):q(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Re(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return se(r)}function Ve(e,t){const n=Ce(e);return!(n===t||!ye(n)||ke(n))&&("fixed"===Oe(n).position||Ve(n,t))}function Fe(e,t,n){const r=ge(t),o=he(t),i="fixed"===n,a=Ie(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=q(0);if(r||!r&&!i)if(("body"!==pe(t)||we(o))&&(s=Ne(t)),r){const e=Ie(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Le(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function We(e,t){return ge(e)&&"fixed"!==Oe(e).position?t?t(e):e.offsetParent:null}function Be(e,t){const n=me(e);if(!ge(e)||De(e))return n;let r=We(e,t);for(;r&&xe(r)&&"static"===Oe(r).position;)r=We(r,t);return r&&("html"===pe(r)||"body"===pe(r)&&"static"===Oe(r).position&&!Ee(r))?n:r||function(e){let t=Ce(e);for(;ge(t)&&!ke(t);){if(Ee(t))return t;t=Ce(t)}return null}(e)||n}const He={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=he(r),s=!!t&&De(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=q(1);const u=q(0),d=ge(r);if((d||!d&&!i)&&(("body"!==pe(r)||we(a))&&(l=Ne(r)),ge(r))){const e=Ie(r);c=$e(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:he,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=_e(e,[],!1).filter((e=>ye(e)&&"body"!==pe(e))),o=null;const i="fixed"===Oe(e).position;let a=i?Ce(e):e;for(;ye(a)&&!ke(a);){const t=Oe(a),n=Ee(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||we(a)&&!n&&Ve(e,a))?r=r.filter((e=>e!==a)):o=t,a=Ce(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=ze(t,n,o);return e.top=H(r.top,e.top),e.right=B(r.right,e.right),e.bottom=B(r.bottom,e.bottom),e.left=H(r.left,e.left),e}),ze(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Be,getElementRects:async function(e){const t=this.getOffsetParent||Be,n=this.getDimensions;return{reference:Fe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Pe(e);return{width:t,height:n}},getScale:$e,isElement:ye,isRTL:function(e){return"rtl"===Oe(e).direction}};function Ue(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ae(e),u=o||i?[...c?_e(c):[],..._e(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=he(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-K(u)+"px "+-K(o.clientWidth-(c+d))+"px "+-K(o.clientHeight-(u+f))+"px "+-K(c)+"px",threshold:H(0,B(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,p)}r.observe(e)}(!0),i}(c,n):null;let f,p=-1,m=null;a&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),c&&!l&&m.observe(c),m.observe(t));let h=l?Ie(e):null;return l&&function t(){const r=Ie(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(f)}}const Ke=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=J(e,t),c={x:n,y:r},u=await ce(t,l),d=ne(Z(o)),f=ee(d);let p=c[f],m=c[d];if(i){const e="y"===f?"bottom":"right";p=X(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";m=X(m+u["y"===d?"top":"left"],m,m-u[e])}const h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},qe=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...v}=J(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=Z(o),g=Z(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(g||!h?[ie(s)]:function(e){const t=ie(e);return[oe(e),t,oe(t)]}(s));f||"none"===m||w.push(...function(e,t,n,r){const o=Q(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Z(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(oe)))),i}(s,h,m,b));const x=[s,...w],E=await ce(t,v),S=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(E[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Q(e),o=re(e),i=te(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ie(a)),[a,ie(a)]}(o,a,b);S.push(E[e[0]],E[e[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every((e=>e<=0))){var O,N;const e=((null==(O=i.flip)?void 0:O.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(N=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(p){case"bestFit":{var C;const e=null==(C=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},Ge=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=(()=>{}),...s}=J(e,t),l=await ce(t,s),c=Z(n),u=Q(n),d="y"===ne(n),{width:f,height:p}=r.floating;let m,h;"top"===c||"bottom"===c?(m=c,h=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,m="end"===u?"top":"bottom");const v=p-l[m],y=f-l[h],g=!t.middlewareData.shift;let b=v,w=y;if(d){const e=f-l.left-l.right;w=u||g?B(y,e):e}else{const e=p-l.top-l.bottom;b=u||g?B(v,e):e}if(g&&!u){const e=H(l.left,0),t=H(l.right,0),n=H(l.top,0),r=H(l.bottom,0);d?w=f-2*(0!==e||0!==t?e+t:H(l.left,l.right)):b=p-2*(0!==n||0!==r?n+r:H(l.top,l.bottom))}await a({...t,availableWidth:w,availableHeight:b});const x=await o.getDimensions(i.floating);return f!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}},Ye=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=J(e,t);switch(r){case"referenceHidden":{const e=ue(await ce(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:de(e)}}}case"escaped":{const e=ue(await ce(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:de(e)}}}default:return{}}}}},Xe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=J(e,t)||{};if(null==c)return{};const d=ae(u),f={x:n,y:r},p=re(o),m=te(p),h=await a.getDimensions(c),v="y"===p,y=v?"top":"left",g=v?"bottom":"right",b=v?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],E=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let S=E?E[b]:0;S&&await(null==a.isElement?void 0:a.isElement(E))||(S=s.floating[b]||i.floating[m]);const k=w/2-x/2,O=S/2-h[m]/2-1,N=B(d[y],O),C=B(d[g],O),T=N,_=S-h[m]-C,P=S/2-h[m]/2+k,A=X(T,P,_),$=!l.arrow&&null!=Q(o)&&P!==A&&i.reference[m]/2-(P<T?N:C)-h[m]/2<0,M=$?P<T?P-T:P-_:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:P-A-M,...$&&{alignmentOffset:M}},reset:$}}}),Je=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=J(e,t),u={x:n,y:r},d=ne(o),f=ee(d);let p=u[f],m=u[d];const h=J(s,t),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+v.mainAxis,n=i.reference[f]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var y,g;const e="y"===f?"width":"height",t=["top","left"].includes(Z(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(y=a.offset)?void 0:y[d])||0)+(t?0:v.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(g=a.offset)?void 0:g[d])||0)-(t?v.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Ze=(e,t,n)=>{const r=new Map,o={platform:He,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=le(c,r,l),f=r,p={},m=0;for(let n=0;n<s.length;n++){const{name:i,fn:h}=s[n],{x:v,y:y,data:g,reset:b}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=y?y:d,p={...p,[i]:{...p[i],...g}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=le(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})},Qe=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Xe({element:n.current,padding:r}).fn(t):{}:n?Xe({element:n,padding:r}).fn(t):{};var o}});var et="undefined"!=typeof document?u:s;function tt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!tt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!tt(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function nt(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rt(e,t){const n=nt(e);return Math.round(t*n)/n}function ot(t){const n=e.useRef(t);return et((()=>{n.current=t})),n}const it=d(((e,t)=>{const{children:n,...r}=e,i=f.toArray(n),a=i.find(lt);if(a){const e=a.props.children,n=i.map((t=>t===a?f.count(e)>1?f.only(null):p(e)?e.props.children:null:t));return o(at,R({},r,{ref:t}),p(e)?m(e,void 0,n):null)}return o(at,R({},r,{ref:t}),n)}));it.displayName="Slot";const at=d(((e,t)=>{const{children:n,...r}=e;return p(n)?m(n,{...ct(r,n.props),ref:t?V(t,n.ref):n.ref}):f.count(n)>1?f.only(null):null}));at.displayName="SlotClone";const st=({children:e})=>o(h,null,e);function lt(e){return p(e)&&e.type===st}function ct(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const ut=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=d(((e,n)=>{const{asChild:r,...i}=e,a=r?it:t;return s((()=>{window[Symbol.for("radix-ui")]=!0}),[]),o(a,R({},i,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});const dt=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?u:()=>{};const ft="Popper",[pt,mt]=j(ft),[ht,vt]=pt(ft),yt=d(((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,l=vt("PopperAnchor",n),c=a(null),u=F(t,c);return s((()=>{l.onAnchorChange((null==r?void 0:r.current)||c.current)})),r?null:o(ut.div,R({},i,{ref:u}))})),gt="PopperContent",[bt,wt]=pt(gt),xt=d(((t,n)=>{var r,i,a,s,l,u,d,f;const{__scopePopper:p,side:m="bottom",sideOffset:h=0,align:v="center",alignOffset:g=0,arrowPadding:b=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:S="partial",hideWhenDetached:k=!1,updatePositionStrategy:O="optimized",onPlaced:N,...C}=t,T=vt(gt,p),[_,P]=c(null),A=F(n,(e=>P(e))),[$,M]=c(null),I=function(e){const[t,n]=c(void 0);return dt((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}($),j=null!==(r=null==I?void 0:I.width)&&void 0!==r?r:0,D=null!==(i=null==I?void 0:I.height)&&void 0!==i?i:0,z=m+("center"!==v?"-"+v:""),V="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},W=Array.isArray(x)?x:[x],B=W.length>0,H={padding:V,boundary:W.filter(Et),altBoundary:B},{refs:U,floatingStyles:K,placement:q,isPositioned:G,middlewareData:Y}=function(t){void 0===t&&(t={});const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=t,[d,f]=e.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,m]=e.useState(o);tt(p,o)||m(o);const[h,v]=e.useState(null),[g,b]=e.useState(null),w=e.useCallback((e=>{e!==k.current&&(k.current=e,v(e))}),[]),x=e.useCallback((e=>{e!==O.current&&(O.current=e,b(e))}),[]),E=a||h,S=s||g,k=e.useRef(null),O=e.useRef(null),N=e.useRef(d),C=null!=c,T=ot(c),_=ot(i),P=e.useCallback((()=>{if(!k.current||!O.current)return;const e={placement:n,strategy:r,middleware:p};_.current&&(e.platform=_.current),Ze(k.current,O.current,e).then((e=>{const t={...e,isPositioned:!0};A.current&&!tt(N.current,t)&&(N.current=t,y.flushSync((()=>{f(t)})))}))}),[p,n,r,_]);et((()=>{!1===u&&N.current.isPositioned&&(N.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const A=e.useRef(!1);et((()=>(A.current=!0,()=>{A.current=!1})),[]),et((()=>{if(E&&(k.current=E),S&&(O.current=S),E&&S){if(T.current)return T.current(E,S,P);P()}}),[E,S,P,T,C]);const $=e.useMemo((()=>({reference:k,floating:O,setReference:w,setFloating:x})),[w,x]),M=e.useMemo((()=>({reference:E,floating:S})),[E,S]),R=e.useMemo((()=>{const e={position:r,left:0,top:0};if(!M.floating)return e;const t=rt(M.floating,d.x),n=rt(M.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...nt(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,l,M.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:P,refs:$,elements:M,floatingStyles:R})),[d,P,$,M,R])}({strategy:"fixed",placement:z,whileElementsMounted:(...e)=>Ue(...e,{animationFrame:"always"===O}),elements:{reference:T.anchor},middleware:[fe({mainAxis:h+D,alignmentAxis:g}),w&&Ke({mainAxis:!0,crossAxis:!1,limiter:"partial"===S?Je():void 0,...H}),w&&qe({...H}),Ge({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),$&&Qe({element:$,padding:b}),St({arrowWidth:j,arrowHeight:D}),k&&Ye({strategy:"referenceHidden",...H})]}),[X,J]=kt(q),Z=L(N);dt((()=>{G&&(null==Z||Z())}),[G,Z]);const Q=null===(a=Y.arrow)||void 0===a?void 0:a.x,ee=null===(s=Y.arrow)||void 0===s?void 0:s.y,te=0!==(null===(l=Y.arrow)||void 0===l?void 0:l.centerOffset),[ne,re]=c();return dt((()=>{_&&re(window.getComputedStyle(_).zIndex)}),[_]),o("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:G?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[null===(u=Y.transformOrigin)||void 0===u?void 0:u.x,null===(d=Y.transformOrigin)||void 0===d?void 0:d.y].join(" ")},dir:t.dir},o(bt,{scope:p,placedSide:X,onArrowChange:M,arrowX:Q,arrowY:ee,shouldHideArrow:te},o(ut.div,R({"data-side":X,"data-align":J},C,{ref:A,style:{...C.style,animation:G?void 0:"none",opacity:null!==(f=Y.hide)&&void 0!==f&&f.referenceHidden?0:void 0}}))))}));function Et(e){return null!==e}const St=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=kt(s),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!==(r=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,y=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2;let g="",b="";return"bottom"===p?(g=u?h:`${v}px`,b=-f+"px"):"top"===p?(g=u?h:`${v}px`,b=`${l.floating.height+f}px`):"right"===p?(g=-f+"px",b=u?h:`${y}px`):"left"===p&&(g=`${l.floating.width+f}px`,b=u?h:`${y}px`),{data:{x:g,y:b}}}});function kt(e){const[t,n="center"]=e.split("-");return[t,n]}const Ot=e=>{const{__scopePopper:t,children:n}=e,[r,i]=c(null);return o(ht,{scope:t,anchor:r,onAnchorChange:i},n)},Nt=yt,Ct=xt,Tt=d(((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?g.createPortal(o(ut.div,R({},i,{ref:t})),r):null}));const _t=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=a({}),o=a(e),i=a("none"),u=e?"mounted":"unmounted",[d,f]=function(e,t){return v(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s((()=>{const e=Pt(r.current);i.current="mounted"===d?e:"none"}),[d]),dt((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Pt(t);if(e)f("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))f("UNMOUNT");else{f(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,f]),dt((()=>{if(t){const e=e=>{const n=Pt(r.current).includes(e.animationName);e.target===t&&n&&b((()=>f("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=Pt(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}f("ANIMATION_END")}),[t,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:l((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):f.only(n),i=F(r.ref,o.ref);return"function"==typeof n||r.isPresent?m(o,{ref:i}):null};function Pt(e){return(null==e?void 0:e.animationName)||"none"}_t.displayName="Presence";const At="dismissableLayer.update",$t="dismissableLayer.pointerDownOutside",Mt="dismissableLayer.focusOutside";let Rt;const It=n({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jt=d(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,...m}=e,h=i(It),[v,y]=c(null),g=null!==(n=null==v?void 0:v.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=c({}),w=F(t,(e=>y(e))),x=Array.from(h.layers),[E]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),S=x.indexOf(E),k=v?x.indexOf(v):-1,O=h.layersWithOutsidePointerEventsDisabled.size>0,N=k>=S,C=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=L(e),r=a(!1),o=a((()=>{}));return s((()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function a(){Lt($t,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...h.branches].some((e=>e.contains(t)));N&&!n&&(null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p())}),g),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=L(e),r=a(!1);return s((()=>{const e=e=>{if(e.target&&!r.current){Lt(Mt,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...h.branches].some((e=>e.contains(t)))||(null==d||d(e),null==f||f(e),e.defaultPrevented||null==p||p())}),g);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=L(e);s((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{k===h.layers.size-1&&(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))}),g),s((()=>{if(v)return r&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(Rt=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(v)),h.layers.add(v),Dt(),()=>{r&&1===h.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=Rt)}}),[v,g,r,h]),s((()=>()=>{v&&(h.layers.delete(v),h.layersWithOutsidePointerEventsDisabled.delete(v),Dt())}),[v,h]),s((()=>{const e=()=>b({});return document.addEventListener(At,e),()=>document.removeEventListener(At,e)}),[]),o(ut.div,R({},m,{ref:w,style:{pointerEvents:O?N?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,T.onFocusCapture),onBlurCapture:I(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,C.onPointerDownCapture)}))}));function Dt(){const e=new CustomEvent(At);document.dispatchEvent(e)}function Lt(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&b((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}let zt;const Vt="HoverCard",[Ft,Wt]=j(Vt,[mt]),Bt=mt(),[Ht,Ut]=Ft(Vt),Kt=d(((e,t)=>{const{__scopeHoverCard:n,...r}=e,i=Ut("HoverCardTrigger",n),a=Bt(n);return o(Nt,R({asChild:!0},a),o(ut.a,R({"data-state":i.open?"open":"closed"},r,{ref:t,onPointerEnter:I(e.onPointerEnter,Zt(i.onOpen)),onPointerLeave:I(e.onPointerLeave,Zt(i.onClose)),onFocus:I(e.onFocus,i.onOpen),onBlur:I(e.onBlur,i.onClose),onTouchStart:I(e.onTouchStart,(e=>e.preventDefault()))})))})),[qt,Gt]=Ft("HoverCardPortal",{forceMount:void 0}),Yt="HoverCardContent",Xt=d(((e,t)=>{const n=Gt(Yt,e.__scopeHoverCard),{forceMount:r=n.forceMount,...i}=e,a=Ut(Yt,e.__scopeHoverCard);return o(_t,{present:r||a.open},o(Jt,R({"data-state":a.open?"open":"closed"},i,{onPointerEnter:I(e.onPointerEnter,Zt(a.onOpen)),onPointerLeave:I(e.onPointerLeave,Zt(a.onClose)),ref:t})))})),Jt=d(((e,t)=>{const{__scopeHoverCard:n,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:u,...d}=e,f=Ut(Yt,n),p=Bt(n),m=a(null),h=F(t,m),[v,y]=c(!1);return s((()=>{if(v){const e=document.body;return zt=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=zt,e.style.webkitUserSelect=zt}}}),[v]),s((()=>{if(m.current){const e=()=>{y(!1),f.isPointerDownOnContentRef.current=!1,setTimeout((()=>{var e;""!==(null===(e=document.getSelection())||void 0===e?void 0:e.toString())&&(f.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!1}}}),[f.isPointerDownOnContentRef,f.hasSelectionRef]),s((()=>{if(m.current){const e=function(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}(m.current);e.forEach((e=>e.setAttribute("tabindex","-1")))}})),o(jt,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:I(l,(e=>{e.preventDefault()})),onDismiss:f.onDismiss},o(Ct,R({},p,d,{onPointerDown:I(d.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&y(!0),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!0})),ref:h,style:{...d.style,userSelect:v?"text":void 0,WebkitUserSelect:v?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}));function Zt(e){return t=>"touch"===t.pointerType?void 0:e()}const Qt=e=>{const{__scopeHoverCard:t,children:n,open:r,defaultOpen:i,onOpenChange:c,openDelay:u=700,closeDelay:d=300}=e,f=Bt(t),p=a(0),m=a(0),h=a(!1),v=a(!1),[y=!1,g]=z({prop:r,defaultProp:i,onChange:c}),b=l((()=>{clearTimeout(m.current),p.current=window.setTimeout((()=>g(!0)),u)}),[u,g]),w=l((()=>{clearTimeout(p.current),h.current||v.current||(m.current=window.setTimeout((()=>g(!1)),d))}),[d,g]),x=l((()=>g(!1)),[g]);return s((()=>()=>{clearTimeout(p.current),clearTimeout(m.current)}),[]),o(Ht,{scope:t,open:y,onOpenChange:g,onOpen:b,onClose:w,onDismiss:x,hasSelectionRef:h,isPointerDownOnContentRef:v},o(Ot,f,n))},en=Kt,tn=Xt;function nn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=nn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function rn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=nn(e))&&(r&&(r+=" "),r+=t);return r}const on="-";function an(e){const t=function(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]},o=function(e,t){if(!t)return e;return e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))]))}(Object.entries(e.classGroups),n);return o.forEach((([e,n])=>{cn(n,r,e,t)})),r}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:function(e){const n=e.split(on);return""===n[0]&&1!==n.length&&n.shift(),sn(n,t)||function(e){if(ln.test(e)){const t=ln.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}}function sn(e,t){if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?sn(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(on);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const ln=/^\[(.+)\]$/;function cn(e,t,n,r){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void cn(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{cn(o,un(t,e),n,r)}))}else{(""===e?t:un(t,e)).classGroupId=n}}))}function un(e,t){let n=e;return t.split(on).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function dn(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}}const fn="!";function pn(e){const t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===r&&(n||e.slice(c,c+o)===t)){i.push(e.slice(l,c)),l=c+o;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===i.length?e:e.substring(l),u=c.startsWith(fn);return{modifiers:i,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const mn=/\s+/;function hn(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=vn(e))&&(r&&(r+=" "),r+=t);return r}function vn(e){if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=vn(e[r]))&&(n&&(n+=" "),n+=t);return n}function yn(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=function(e){return{cache:dn(e.cacheSize),splitModifiers:pn(e),...an(e)}}(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=function(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(mn).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=n(e);let s=r(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=r(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:o?c+fn:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n;return!i.has(a)&&(i.add(a),o(n,r).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,n);return o(e,i),i}return function(){return i(hn.apply(null,arguments))}}function gn(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const bn=/^\[(?:([a-z-]+):)?(.+)\]$/i,wn=/^\d+\/\d+$/,xn=new Set(["px","full","screen"]),En=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sn=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,kn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,On=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Cn(e){return _n(e)||xn.has(e)||wn.test(e)}function Tn(e){return Wn(e,"length",Bn)}function _n(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Pn(e){return Wn(e,"number",_n)}function An(e){return Boolean(e)&&Number.isInteger(Number(e))}function $n(e){return e.endsWith("%")&&_n(e.slice(0,-1))}function Mn(e){return bn.test(e)}function Rn(e){return En.test(e)}const In=new Set(["length","size","percentage"]);function jn(e){return Wn(e,In,Hn)}function Dn(e){return Wn(e,"position",Hn)}const Ln=new Set(["image","url"]);function zn(e){return Wn(e,Ln,Kn)}function Vn(e){return Wn(e,"",Un)}function Fn(){return!0}function Wn(e,t,n){const r=bn.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function Bn(e){return Sn.test(e)&&!kn.test(e)}function Hn(){return!1}function Un(e){return On.test(e)}function Kn(e){return Nn.test(e)}function qn(){const e=gn("colors"),t=gn("spacing"),n=gn("blur"),r=gn("brightness"),o=gn("borderColor"),i=gn("borderRadius"),a=gn("borderSpacing"),s=gn("borderWidth"),l=gn("contrast"),c=gn("grayscale"),u=gn("hueRotate"),d=gn("invert"),f=gn("gap"),p=gn("gradientColorStops"),m=gn("gradientColorStopPositions"),h=gn("inset"),v=gn("margin"),y=gn("opacity"),g=gn("padding"),b=gn("saturate"),w=gn("scale"),x=gn("sepia"),E=gn("skew"),S=gn("space"),k=gn("translate"),O=()=>["auto",Mn,t],N=()=>[Mn,t],C=()=>["",Cn,Tn],T=()=>["auto",_n,Mn],_=()=>["","0",Mn],P=()=>[_n,Pn],A=()=>[_n,Mn];return{cacheSize:500,separator:":",theme:{colors:[Fn],spacing:[Cn,Tn],blur:["none","",Rn,Mn],brightness:P(),borderColor:[e],borderRadius:["none","","full",Rn,Mn],borderSpacing:N(),borderWidth:C(),contrast:P(),grayscale:_(),hueRotate:A(),invert:_(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[$n,Tn],inset:O(),margin:O(),opacity:P(),padding:N(),saturate:P(),scale:P(),sepia:_(),skew:A(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",Mn]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Mn]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",An,Mn]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Mn]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",An,Mn]}],"grid-cols":[{"grid-cols":[Fn]}],"col-start-end":[{col:["auto",{span:["full",An,Mn]},Mn]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[Fn]}],"row-start-end":[{row:["auto",{span:[An,Mn]},Mn]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Mn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Mn]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Mn,t]}],"min-w":[{"min-w":[Mn,t,"min","max","fit"]}],"max-w":[{"max-w":[Mn,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[Mn,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Mn,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Mn,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Mn,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,Tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pn]}],"font-family":[{font:[Fn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Mn]}],"line-clamp":[{"line-clamp":["none",_n,Pn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Cn,Mn]}],"list-image":[{"list-image":["none",Mn]}],"list-style-type":[{list:["none","disc","decimal",Mn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Cn,Tn]}],"underline-offset":[{"underline-offset":["auto",Cn,Mn]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Mn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Mn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Dn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zn]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Cn,Mn]}],"outline-w":[{outline:[Cn,Tn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Cn,Tn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,Vn]}],"shadow-color":[{shadow:[Fn]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rn,Mn]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Mn]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",Mn]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",Mn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[An,Mn]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Mn]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Mn]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Mn]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Cn,Tn,Pn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Gn=yn(qn);function Yn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Gn(rn(e))}var Xn=Qt,Jn=en,Zn=e.forwardRef((function(t,n){var r=t.id,o=t.className,i=t.side,a=void 0===i?"bottom":i,s=t.align,l=void 0===s?"center":s,c=t.sideOffset,u=void 0===c?4:c,d=O(t,["id","className","side","align","sideOffset"]);return e.createElement(tn,k({ref:n,id:r,align:l,side:a,sideOffset:u,className:Yn("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o)},d))}));Zn.displayName=tn.displayName;var Qn,er=function(e){var n=e.id,r=e.className,o=e.align,i=e.side,a=e.sideOffset,s=void 0===a?8:a,l=e.visible,c=e.content,u=e.children;return t.createElement(Xn,{openDelay:100,closeDelay:100,open:l},t.createElement(Jn,{className:"gyramais-hover-card-trigger"},u),t.createElement(Zn,{id:n,className:A("gyramais-hover-card-content",r),align:o,side:i,sideOffset:s},c))},tr=function(e){var n=e.id,r=e.className,o=e.columns,i=void 0===o?1:o,a=e.gap,s=void 0===a?0:a,l=e.align,c=void 0===l?"start":l,u=e.children;return t.createElement("div",{id:n,className:A("gyramais-row","gyramais-row-columns-".concat(i),"gyramais-row-align-".concat(c),"gyramais-row-mobile-gap-".concat("number"==typeof s?s:"object"==typeof s&&!Array.isArray(s)&&s.mobile),"object"==typeof s&&!Array.isArray(s)&&s.tablet?"gyramais-row-tablet-gap-".concat(s.tablet):"","object"==typeof s&&!Array.isArray(s)&&s.desktop?"gyramais-row-desktop-gap-".concat(s.desktop):"","object"==typeof s&&!Array.isArray(s)&&s.wide?"gyramais-row-wide-gap-".concat(s.wide):"",r)},u)},nr=function(e){var n=e.id,r=e.className,o=e.span,i=e.onClick,a=e.children;return t.createElement("div",{id:n,className:A("gyramais-col","gyramais-col-mobile-span-".concat("number"==typeof o?o:"object"==typeof o&&!Array.isArray(o)&&o.mobile),"object"!=typeof o||Array.isArray(o)||void 0===o.tablet?"":"gyramais-col-tablet-span-".concat(o.tablet),"object"!=typeof o||Array.isArray(o)||void 0===o.desktop?"":"gyramais-col-desktop-span-".concat(o.desktop),"object"!=typeof o||Array.isArray(o)||void 0===o.wide?"":"gyramais-col-wide-span-".concat(o.wide),r?"".concat(r,"-container"):""),onClick:i},t.createElement("div",{className:A("gyramais-col-content",r)},a))},rr={exports:{}};rr.exports=(Qn=t,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.conformToMask=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return r(u).default}});var d=r(n(11)),f=r(n(9)),p=r(n(5)),m=n(2),h=function(e){function t(){var e;i(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.setRef=s.setRef.bind(s),s.onBlur=s.onBlur.bind(s),s.onChange=s.onChange.bind(s),s}return s(t,e),c(t,[{key:"setRef",value:function(e){this.inputElement=e}},{key:"initTextMask",value:function(){var e=this.props,t=this.props.value;this.textMaskInputElement=(0,p.default)(l({inputElement:this.inputElement},e)),this.textMaskInputElement.update(t)}},{key:"componentDidMount",value:function(){this.initTextMask()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.pipe,o=t.mask,i={guide:t.guide,placeholderChar:t.placeholderChar,showMask:t.showMask},a="function"==typeof r&&"function"==typeof e.pipe?r.toString()!==e.pipe.toString():(0,m.isNil)(r)&&!(0,m.isNil)(e.pipe)||!(0,m.isNil)(r)&&(0,m.isNil)(e.pipe),s=o.toString()!==e.mask.toString(),l=Object.keys(i).some((function(t){return i[t]!==e[t]}))||s||a;(n!==this.inputElement.value||l)&&this.initTextMask()}},{key:"render",value:function(){var e=this.props,t=e.render,n=o(e,["render"]);return delete n.mask,delete n.guide,delete n.pipe,delete n.placeholderChar,delete n.keepCharPositions,delete n.value,delete n.onBlur,delete n.onChange,delete n.showMask,t(this.setRef,l({onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value},n))}},{key:"onChange",value:function(e){this.textMaskInputElement.update(),"function"==typeof this.props.onChange&&this.props.onChange(e)}},{key:"onBlur",value:function(e){"function"==typeof this.props.onBlur&&this.props.onBlur(e)}}]),t}(d.default.PureComponent);t.default=h,h.propTypes={mask:f.default.oneOfType([f.default.array,f.default.func,f.default.bool,f.default.shape({mask:f.default.oneOfType([f.default.array,f.default.func]),pipe:f.default.func})]).isRequired,guide:f.default.bool,value:f.default.oneOfType([f.default.string,f.default.number]),pipe:f.default.func,placeholderChar:f.default.string,keepCharPositions:f.default.bool,showMask:f.default.bool},h.defaultProps={render:function(e,t){return d.default.createElement("input",l({ref:e},t))}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t,n){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function i(e){return"string"==typeof e||e instanceof String}function a(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function s(e){return null==e}function l(e){for(var t=[],n=void 0;-1!==(n=e.indexOf(d));)t.push(n),e.splice(n,1);return{maskWithoutCaretTraps:e,indexes:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=r,t.isArray=o,t.isString=i,t.isNumber=a,t.isNil=s,t.processCaretTraps=l;var c=n(1),u=[],d="[]"},function(e,t,n){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if((void 0===t?"undefined":o(t))!==a.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var r=n.guide,c=void 0===r||r,u=n.previousConformedValue,d=void 0===u?l:u,f=n.placeholderChar,p=void 0===f?a.placeholderChar:f,m=n.placeholder,h=void 0===m?(0,i.convertMaskToPlaceholder)(t,p):m,v=n.currentCaretPosition,y=n.keepCharPositions,g=!1===c&&void 0!==d,b=e.length,w=d.length,x=h.length,E=t.length,S=b-w,k=S>0,O=v+(k?-S:0),N=O+Math.abs(S);if(!0===y&&!k){for(var C=l,T=O;T<N;T++)h[T]===p&&(C+=p);e=e.slice(0,O)+C+e.slice(O,b)}for(var _=e.split(l).map((function(e,t){return{char:e,isNew:t>=O&&t<N}})),P=b-1;P>=0;P--){var A=_[P].char;A!==p&&A===h[P>=O&&w===E?P-S:P]&&_.splice(P,1)}var $=l,M=!1;e:for(var R=0;R<x;R++){var I=h[R];if(I===p){if(_.length>0)for(;_.length>0;){var j=_.shift(),D=j.char,L=j.isNew;if(D===p&&!0!==g){$+=p;continue e}if(t[R].test(D)){if(!0===y&&!1!==L&&d!==l&&!1!==c&&k){for(var z=_.length,V=null,F=0;F<z;F++){var W=_[F];if(W.char!==p&&!1===W.isNew)break;if(W.char===p){V=F;break}}null!==V?($+=D,_.splice(V,1)):R--}else $+=D;continue e}M=!0}!1===g&&($+=h.substr(R,x));break}$+=I}if(g&&!1===k){for(var B=null,H=0;H<$.length;H++)h[H]===p&&(B=H);$=null!==B?$.substr(0,B+1):l}return{conformedValue:$,meta:{someCharsRejected:M}}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var i=n(2),a=n(1),s=[],l=""},function(e,t){function n(e){var t=e.previousConformedValue,n=void 0===t?o:t,i=e.previousPlaceholder,a=void 0===i?o:i,s=e.currentCaretPosition,l=void 0===s?0:s,c=e.conformedValue,u=e.rawValue,d=e.placeholderChar,f=e.placeholder,p=e.indexesOfPipedChars,m=void 0===p?r:p,h=e.caretTrapIndexes,v=void 0===h?r:h;if(0===l||!u.length)return 0;var y=u.length,g=n.length,b=f.length,w=c.length,x=y-g,E=x>0;if(x>1&&!E&&0!==g)return l;var S=0,k=void 0,O=void 0;if(!E||n!==c&&c!==f){var N=c.toLowerCase(),C=u.toLowerCase().substr(0,l).split(o).filter((function(e){return-1!==N.indexOf(e)}));O=C[C.length-1];var T=a.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,_=f.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,P=_!==T,A=void 0!==a[C.length-1]&&void 0!==f[C.length-2]&&a[C.length-1]!==d&&a[C.length-1]!==f[C.length-1]&&a[C.length-1]===f[C.length-2];!E&&(P||A)&&T>0&&f.indexOf(O)>-1&&void 0!==u[l]&&(k=!0,O=u[l]);for(var $=m.map((function(e){return N[e]})),M=$.filter((function(e){return e===O})).length,R=C.filter((function(e){return e===O})).length,I=f.substr(0,f.indexOf(d)).split(o).filter((function(e,t){return e===O&&u[t]!==e})).length,j=I+R+M+(k?1:0),D=0,L=0;L<w&&(S=L+1,N[L]===O&&D++,!(D>=j));L++);}else S=l-x;if(E){for(var z=S,V=S;V<=b;V++)if(f[V]===d&&(z=V),f[V]===d||-1!==v.indexOf(V)||V===b)return z}else if(k){for(var F=S-1;F>=0;F--)if(c[F]===O||-1!==v.indexOf(F)||0===F)return F}else for(var W=S;W>=0;W--)if(f[W-1]===d||-1!==v.indexOf(W)||0===W)return W}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=[],o=""},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=r.inputElement,m=r.mask,v=r.guide,y=r.pipe,g=r.placeholderChar,b=void 0===g?f.placeholderChar:g,w=r.keepCharPositions,x=void 0!==w&&w,E=r.showMask,S=void 0!==E&&E;if(void 0===n&&(n=o.value),n!==t.previousConformedValue){(void 0===m?"undefined":l(m))===h&&void 0!==m.pipe&&void 0!==m.mask&&(y=m.pipe,m=m.mask);var k=void 0,O=void 0;if(m instanceof Array&&(k=(0,d.convertMaskToPlaceholder)(m,b)),!1!==m){var N=a(n),C=o.selectionEnd,T=t.previousConformedValue,_=t.previousPlaceholder,P=void 0;if((void 0===m?"undefined":l(m))===f.strFunction){if(!1===(O=m(N,{currentCaretPosition:C,previousConformedValue:T,placeholderChar:b})))return;var A=(0,d.processCaretTraps)(O);O=A.maskWithoutCaretTraps,P=A.indexes,k=(0,d.convertMaskToPlaceholder)(O,b)}else O=m;var $={previousConformedValue:T,guide:v,placeholderChar:b,pipe:y,placeholder:k,currentCaretPosition:C,keepCharPositions:x},M=(0,u.default)(N,O,$).conformedValue,R=(void 0===y?"undefined":l(y))===f.strFunction,I={};R&&(!1===(I=y(M,s({rawValue:N},$)))?I={value:T,rejected:!0}:(0,d.isString)(I)&&(I={value:I}));var j=R?I.value:M,D=(0,c.default)({previousConformedValue:T,previousPlaceholder:_,conformedValue:j,placeholder:k,rawValue:N,currentCaretPosition:C,placeholderChar:b,indexesOfPipedChars:I.indexesOfPipedChars,caretTrapIndexes:P}),L=j===k&&0===D?S?k:p:j;t.previousConformedValue=L,t.previousPlaceholder=k,o.value!==L&&(o.value=L,i(o,D))}}}}}function i(e,t){document.activeElement===e&&(v?y((function(){return e.setSelectionRange(t,t,m)}),0):e.setSelectionRange(t,t,m))}function a(e){if((0,d.isString)(e))return e;if((0,d.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var c=r(n(4)),u=r(n(3)),d=n(2),f=n(1),p="",m="none",h="object",v="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),y="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){function r(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=r},function(e,t,n){var r=n(6),o=n(7),i=n(10);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){e.exports=n(8)()},function(e,t){var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){e.exports=Qn}]));var or=C(rr.exports),ir=t.forwardRef((function(e,n){var r=e.id,o=e.className,i=e.name,a=e.type,l=void 0===a?"text":a,u=e.disabled,d=e.placeholder,f=e.value,p=e.mask,m=e.guide,h=void 0!==m&&m,v=e.onChange,y=c(!1),g=y[0],b=y[1];return s((function(){return b(!!f)}),[f]),t.createElement("div",{className:"gyramais-input-controller"},d&&t.createElement("div",{className:A("gyramais-input-placeholder",g?"gyramais-input-with-value":"",u?"gyramais-input-placeholder-disabled":"")},d),p?t.createElement(or,{id:r,className:A("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==v||v(e)},mask:p||!1,guide:h}):t.createElement("input",{id:r,className:A("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==v||v(e)}}))}));function ar(e,[t,n]){return Math.min(n,Math.max(t,e))}const sr=n(void 0);let lr=0;function cr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const ur="focusScope.autoFocusOnMount",dr="focusScope.autoFocusOnUnmount",fr={bubbles:!1,cancelable:!0},pr=d(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:u,...d}=e,[f,p]=c(null),m=L(i),h=L(u),v=a(null),y=F(t,(e=>p(e))),g=a({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s((()=>{if(r){function e(e){if(g.paused||!f)return;const t=e.target;f.contains(t)?v.current=t:yr(v.current,{select:!0})}function t(e){if(g.paused||!f)return;const t=e.relatedTarget;null!==t&&(f.contains(t)||yr(v.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&yr(f)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return f&&o.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[r,f,g.paused]),s((()=>{if(f){gr.add(g);const t=document.activeElement;if(!f.contains(t)){const n=new CustomEvent(ur,fr);f.addEventListener(ur,m),f.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(yr(r,{select:t}),document.activeElement!==n)return}((e=mr(f),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&yr(f))}return()=>{f.removeEventListener(ur,m),setTimeout((()=>{const e=new CustomEvent(dr,fr);f.addEventListener(dr,h),f.dispatchEvent(e),e.defaultPrevented||yr(null!=t?t:document.body,{select:!0}),f.removeEventListener(dr,h),gr.remove(g)}),0)}}var e}),[f,m,h,g]);const b=l((e=>{if(!n&&!r)return;if(g.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=mr(e),n=hr(t,e),r=hr(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&yr(i,{select:!0})):(e.preventDefault(),n&&yr(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,g.paused]);return o(ut.div,R({tabIndex:-1},d,{ref:y,onKeyDown:b}))}));function mr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function hr(e,t){for(const n of e)if(!vr(n,{upTo:t}))return n}function vr(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function yr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const gr=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=br(e,t),e.unshift(t)},remove(t){var n;e=br(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function br(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const wr=e["useId".toString()]||(()=>{});let xr=0;function Er(t){const[n,r]=e.useState(wr());return dt((()=>{t||r((e=>null!=e?e:String(xr++)))}),[t]),t||(n?`radix-${n}`:"")}const Sr=d(((e,t)=>o(ut.span,R({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))));var kr=new WeakMap,Or=new WeakMap,Nr={},Cr=0,Tr=function(e){return e&&(e.host||Tr(e.parentNode))},_r=function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=Tr(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);Nr[n]||(Nr[n]=new WeakMap);var i=Nr[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))u(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(kr.get(e)||0)+1,c=(i.get(e)||0)+1;kr.set(e,l),i.set(e,c),a.push(e),1===l&&o&&Or.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}}))};return u(t),s.clear(),Cr++,function(){a.forEach((function(e){var t=kr.get(e)-1,o=i.get(e)-1;kr.set(e,t),i.set(e,o),t||(Or.has(e)||e.removeAttribute(r),Or.delete(e)),o||e.removeAttribute(n)})),--Cr||(kr=new WeakMap,kr=new WeakMap,Or=new WeakMap,Nr={})}},Pr=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),_r(r,o,n,"aria-hidden")):function(){return null}},Ar="right-scroll-bar-position",$r="width-before-scroll-bar";function Mr(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Rr=new WeakMap;function Ir(t,n){var r,o,i,a=(r=n||null,o=function(e){return t.forEach((function(t){return Mr(t,e)}))},(i=c((function(){return{value:r,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}}))[0]).callback=o,i.facade);return e.useLayoutEffect((function(){var e=Rr.get(a);if(e){var n=new Set(e),r=new Set(t),o=a.current;n.forEach((function(e){r.has(e)||Mr(e,null)})),r.forEach((function(e){n.has(e)||Mr(e,o)}))}Rr.set(a,t)}),[t]),a}function jr(e){return e}var Dr=function(t){var n=t.sideCar,r=O(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return e.createElement(o,k({},r))};Dr.isSideCarExport=!0;var Lr=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=jr);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=k({async:!0,ssr:!1},e),t}(),zr=function(){},Vr=e.forwardRef((function(t,n){var r=e.useRef(null),o=e.useState({onScrollCapture:zr,onWheelCapture:zr,onTouchMoveCapture:zr}),i=o[0],a=o[1],s=t.forwardProps,l=t.children,c=t.className,u=t.removeScrollBar,d=t.enabled,f=t.shards,p=t.sideCar,m=t.noIsolation,h=t.inert,v=t.allowPinchZoom,y=t.as,g=void 0===y?"div":y,b=O(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=Ir([r,n]),E=k(k({},b),i);return e.createElement(e.Fragment,null,d&&e.createElement(w,{sideCar:Lr,removeScrollBar:u,shards:f,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!v,lockRef:r}),s?e.cloneElement(e.Children.only(l),k(k({},E),{ref:x})):e.createElement(g,k({},E,{className:c,ref:x}),l))}));Vr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vr.classNames={fullWidth:$r,zeroRight:Ar};function Fr(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Wr=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=Fr())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Br=function(){var t,n=(t=Wr(),function(n,r){e.useEffect((function(){return t.add(n),function(){t.remove()}}),[n&&r])});return function(e){var t=e.styles,r=e.dynamic;return n(t,r),null}},Hr={left:0,top:0,right:0,gap:0},Ur=function(e){return parseInt(e||"",10)||0},Kr=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Hr;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ur(n),Ur(r),Ur(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},qr=Br(),Gr=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ar," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat($r," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Ar," .").concat(Ar," {\n right: 0 ").concat(r,";\n }\n \n .").concat($r," .").concat($r," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Yr=function(t){var n=t.noRelative,r=t.noImportant,o=t.gapMode,i=void 0===o?"margin":o,a=e.useMemo((function(){return Kr(i)}),[i]);return e.createElement(qr,{styles:Gr(a,!n,i,r?"":"!important")})},Xr=!1;if("undefined"!=typeof window)try{var Jr=Object.defineProperty({},"passive",{get:function(){return Xr=!0,!0}});window.addEventListener("test",Jr,Jr),window.removeEventListener("test",Jr,Jr)}catch(e){Xr=!1}var Zr=!!Xr&&{passive:!1},Qr=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},eo=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),to(e,n)){var r=no(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},to=function(e,t){return"v"===e?function(e){return Qr(e,"overflowY")}(t):function(e){return Qr(e,"overflowX")}(t)},no=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},ro=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},oo=function(e){return[e.deltaX,e.deltaY]},io=function(e){return e&&"current"in e?e.current:e},ao=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},so=0,lo=[];var co,uo=(co=function(t){var n=e.useRef([]),r=e.useRef([0,0]),o=e.useRef(),i=e.useState(so++)[0],a=e.useState((function(){return Br()}))[0],s=e.useRef(t);e.useEffect((function(){s.current=t}),[t]),e.useEffect((function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=N([t.lockRef.current],(t.shards||[]).map(io),!0).filter(Boolean);return e.forEach((function(e){return e.classList.add("allow-interactivity-".concat(i))})),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(i))}))}}}),[t.inert,t.lockRef.current,t.shards]);var l=e.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var n,i=ro(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=eo(d,u);if(!f)return!0;if(f?n=d:(n="v"===d?"h":"v",f=eo(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=n),!n)return!0;var p=o.current||n;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=no(e,s),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&to(e,s)&&(d+=h,f+=m),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&0===d||!o&&a>d)||!u&&(o&&0===f||!o&&-a>f))&&(c=!0),c}(p,t,e,"h"===p?l:c,!0)}),[]),c=e.useCallback((function(e){var t=e;if(lo.length&&lo[lo.length-1]===a){var r="deltaY"in t?oo(t):ro(t),o=n.current.filter((function(e){return e.name===t.type&&e.target===t.target&&(n=e.delta,o=r,n[0]===o[0]&&n[1]===o[1]);var n,o}))[0];if(o&&o.should)t.cancelable&&t.preventDefault();else if(!o){var i=(s.current.shards||[]).map(io).filter(Boolean).filter((function(e){return e.contains(t.target)}));(i.length>0?l(t,i[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),u=e.useCallback((function(e,t,r,o){var i={name:e,delta:t,target:r,should:o};n.current.push(i),setTimeout((function(){n.current=n.current.filter((function(e){return e!==i}))}),1)}),[]),d=e.useCallback((function(e){r.current=ro(e),o.current=void 0}),[]),f=e.useCallback((function(e){u(e.type,oo(e),e.target,l(e,t.lockRef.current))}),[]),p=e.useCallback((function(e){u(e.type,ro(e),e.target,l(e,t.lockRef.current))}),[]);e.useEffect((function(){return lo.push(a),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Zr),document.addEventListener("touchmove",c,Zr),document.addEventListener("touchstart",d,Zr),function(){lo=lo.filter((function(e){return e!==a})),document.removeEventListener("wheel",c,Zr),document.removeEventListener("touchmove",c,Zr),document.removeEventListener("touchstart",d,Zr)}}),[]);var m=t.removeScrollBar,h=t.inert;return e.createElement(e.Fragment,null,h?e.createElement(a,{styles:ao(i)}):null,m?e.createElement(Yr,{gapMode:"margin"}):null)},Lr.useMedium(co),Dr),fo=e.forwardRef((function(t,n){return e.createElement(Vr,k({},t,{ref:n,sideCar:uo}))}));fo.classNames=Vr.classNames;var po=fo;const mo=[" ","Enter","ArrowUp","ArrowDown"],ho=[" ","Enter"],vo="Select",[yo,go,bo]=function(e){const n=e+"CollectionProvider",[r,o]=j(n),[i,a]=r(n,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",l=e+"CollectionItemSlot",c="data-radix-collection-item";return[{Provider:e=>{const{scope:n,children:r}=e,o=t.useRef(null),a=t.useRef(new Map).current;return t.createElement(i,{scope:n,itemMap:a,collectionRef:o},r)},Slot:t.forwardRef(((e,n)=>{const{scope:r,children:o}=e,i=F(n,a(s,r).collectionRef);return t.createElement(it,{ref:i},o)})),ItemSlot:t.forwardRef(((e,n)=>{const{scope:r,children:o,...i}=e,s=t.useRef(null),u=F(n,s),d=a(l,r);return t.useEffect((()=>(d.itemMap.set(s,{ref:s,...i}),()=>{d.itemMap.delete(s)}))),t.createElement(it,{[c]:"",ref:u},o)}))},function(n){const r=a(e+"CollectionConsumer",n);return t.useCallback((()=>{const e=r.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${c}]`));return Array.from(r.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[r.collectionRef,r.itemMap])},o]}(vo),[wo,xo]=j(vo,[bo,mt]),Eo=mt(),[So,ko]=wo(vo),[Oo,No]=wo(vo),Co=d(((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,a=Eo(n),s=ko("SelectTrigger",n),l=s.disabled||r,c=F(t,s.onTriggerChange),u=go(n),[d,f,p]=ai((e=>{const t=u().filter((e=>!e.disabled)),n=t.find((e=>e.value===s.value)),r=si(t,e,n);void 0!==r&&s.onValueChange(r.value)})),m=()=>{l||(s.onOpenChange(!0),p())};return o(Nt,R({asChild:!0},a),o(ut.button,R({type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":oi(s.value)?"":void 0},i,{ref:c,onClick:I(i.onClick,(e=>{e.currentTarget.focus()})),onPointerDown:I(i.onPointerDown,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(m(),s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:I(i.onKeyDown,(e=>{const t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||f(e.key),t&&" "===e.key||mo.includes(e.key)&&(m(),e.preventDefault())}))})))})),To=d(((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:a,placeholder:s="",...l}=e,c=ko("SelectValue",n),{onValueNodeHasChildrenChange:u}=c,d=void 0!==a,f=F(t,c.onValueNodeChange);return dt((()=>{u(d)}),[u,d]),o(ut.span,R({},l,{ref:f,style:{pointerEvents:"none"}}),oi(c.value)?o(h,null,s):a)})),_o=d(((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return o(ut.span,R({"aria-hidden":!0},i,{ref:t}),r||"▼")})),Po="SelectContent",Ao=d(((e,t)=>{const n=ko(Po,e.__scopeSelect),[r,i]=c();if(dt((()=>{i(new DocumentFragment)}),[]),!n.open){const t=r;return t?w(o(Mo,{scope:e.__scopeSelect},o(yo.Slot,{scope:e.__scopeSelect},o("div",null,e.children))),t):null}return o(Io,R({},e,{ref:t}))})),$o=10,[Mo,Ro]=wo(Po),Io=d(((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:u,onPointerDownOutside:d,side:f,sideOffset:p,align:m,alignOffset:h,arrowPadding:v,collisionBoundary:y,collisionPadding:g,sticky:b,hideWhenDetached:w,avoidCollisions:x,...E}=e,S=ko(Po,n),[k,O]=c(null),[N,C]=c(null),T=F(t,(e=>O(e))),[_,P]=c(null),[A,$]=c(null),M=go(n),[j,D]=c(!1),L=a(!1);s((()=>{if(k)return Pr(k)}),[k]),s((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:cr()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:cr()),lr++,()=>{1===lr&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),lr--}}),[]);const z=l((e=>{const[t,...n]=M().map((e=>e.ref.current)),[r]=n.slice(-1),o=document.activeElement;for(const n of e){if(n===o)return;if(null==n||n.scrollIntoView({block:"nearest"}),n===t&&N&&(N.scrollTop=0),n===r&&N&&(N.scrollTop=N.scrollHeight),null==n||n.focus(),document.activeElement!==o)return}}),[M,N]),V=l((()=>z([_,k])),[z,_,k]);s((()=>{j&&V()}),[j,V]);const{onOpenChange:W,triggerPointerDownPosRef:B}=S;s((()=>{if(k){let e={x:0,y:0};const t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=B.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=B.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():k.contains(n.target)||W(!1),document.removeEventListener("pointermove",t),B.current=null};return null!==B.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[k,W,B]),s((()=>{const e=()=>W(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[W]);const[H,U]=ai((e=>{const t=M().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=si(t,e,n);r&&setTimeout((()=>r.ref.current.focus()))})),K=l(((e,t,n)=>{const r=!L.current&&!n;(void 0!==S.value&&S.value===t||r)&&(P(e),r&&(L.current=!0))}),[S.value]),q=l((()=>null==k?void 0:k.focus()),[k]),G=l(((e,t,n)=>{const r=!L.current&&!n;(void 0!==S.value&&S.value===t||r)&&$(e)}),[S.value]),Y="popper"===r?Do:jo,X=Y===Do?{side:f,sideOffset:p,align:m,alignOffset:h,arrowPadding:v,collisionBoundary:y,collisionPadding:g,sticky:b,hideWhenDetached:w,avoidCollisions:x}:{};return o(Mo,{scope:n,content:k,viewport:N,onViewportChange:C,itemRefCallback:K,selectedItem:_,onItemLeave:q,itemTextRefCallback:G,focusSelectedItem:V,selectedItemText:A,position:r,isPositioned:j,searchRef:H},o(po,{as:it,allowPinchZoom:!0},o(pr,{asChild:!0,trapped:S.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:I(i,(e=>{var t;null===(t=S.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},o(jt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>S.onOpenChange(!1)},o(Y,R({role:"listbox",id:S.contentId,"data-state":S.open?"open":"closed",dir:S.dir,onContextMenu:e=>e.preventDefault()},E,X,{onPlaced:()=>D(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:I(E.onKeyDown,(e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=M().filter((e=>!e.disabled)).map((e=>e.ref.current));if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout((()=>z(t))),e.preventDefault()}}))}))))))})),jo=d(((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,s=ko(Po,n),u=Ro(Po,n),[d,f]=c(null),[p,m]=c(null),h=F(t,(e=>m(e))),v=go(n),y=a(!1),g=a(!0),{viewport:b,selectedItem:w,selectedItemText:x,focusSelectedItem:E}=u,S=l((()=>{if(s.trigger&&s.valueNode&&d&&p&&b&&w&&x){const e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),o=x.getBoundingClientRect();if("rtl"!==s.dir){const r=o.left-t.left,i=n.left-r,a=e.left-i,s=e.width+a,l=Math.max(s,t.width),c=window.innerWidth-$o,u=ar(i,[$o,c-l]);d.style.minWidth=s+"px",d.style.left=u+"px"}else{const r=t.right-o.right,i=window.innerWidth-n.right-r,a=window.innerWidth-e.right-i,s=e.width+a,l=Math.max(s,t.width),c=window.innerWidth-$o,u=ar(i,[$o,c-l]);d.style.minWidth=s+"px",d.style.right=u+"px"}const i=v(),a=window.innerHeight-2*$o,l=b.scrollHeight,c=window.getComputedStyle(p),u=parseInt(c.borderTopWidth,10),f=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),h=u+f+l+parseInt(c.paddingBottom,10)+m,g=Math.min(5*w.offsetHeight,h),E=window.getComputedStyle(b),S=parseInt(E.paddingTop,10),k=parseInt(E.paddingBottom,10),O=e.top+e.height/2-$o,N=a-O,C=w.offsetHeight/2,T=u+f+(w.offsetTop+C),_=h-T;if(T<=O){const e=w===i[i.length-1].ref.current;d.style.bottom="0px";const t=p.clientHeight-b.offsetTop-b.offsetHeight,n=T+Math.max(N,C+(e?k:0)+t+m);d.style.height=n+"px"}else{const e=w===i[0].ref.current;d.style.top="0px";const t=Math.max(O,u+b.offsetTop+(e?S:0)+C)+_;d.style.height=t+"px",b.scrollTop=T-O+b.offsetTop}d.style.margin=`${$o}px 0`,d.style.minHeight=g+"px",d.style.maxHeight=a+"px",null==r||r(),requestAnimationFrame((()=>y.current=!0))}}),[v,s.trigger,s.valueNode,d,p,b,w,x,s.dir,r]);dt((()=>S()),[S]);const[k,O]=c();dt((()=>{p&&O(window.getComputedStyle(p).zIndex)}),[p]);const N=l((e=>{e&&!0===g.current&&(S(),null==E||E(),g.current=!1)}),[S,E]);return o(Lo,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:y,onScrollButtonChange:N},o("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k}},o(ut.div,R({},i,{ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}}))))})),Do=d(((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=$o,...a}=e,s=Eo(n);return o(Ct,R({},s,a,{ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))})),[Lo,zo]=wo(Po,{}),Vo="SelectViewport",Fo=d(((e,t)=>{const{__scopeSelect:n,...r}=e,i=Ro(Vo,n),s=zo(Vo,n),l=F(t,i.onViewportChange),c=a(0);return o(h,null,o("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),o(yo.Slot,{scope:n},o(ut.div,R({"data-radix-select-viewport":"",role:"presentation"},r,{ref:l,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:I(r.onScroll,(e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=s;if(null!=r&&r.current&&n){const e=Math.abs(c.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*$o,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),s=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}c.current=t.scrollTop}))}))))})),[Wo,Bo]=wo("SelectGroup"),Ho=d(((e,t)=>{const{__scopeSelect:n,...r}=e,i=Bo("SelectLabel",n);return o(ut.div,R({id:i.id},r,{ref:t}))})),Uo="SelectItem",[Ko,qo]=wo(Uo),Go=d(((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...s}=e,u=ko(Uo,n),d=Ro(Uo,n),f=u.value===r,[p,m]=c(null!=a?a:""),[h,v]=c(!1),y=F(t,(e=>{var t;return null===(t=d.itemRefCallback)||void 0===t?void 0:t.call(d,e,r,i)})),g=Er(),b=()=>{i||(u.onValueChange(r),u.onOpenChange(!1))};if(""===r)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return o(Ko,{scope:n,value:r,disabled:i,textId:g,isSelected:f,onItemTextChange:l((e=>{m((t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},o(yo.ItemSlot,{scope:n,value:r,disabled:i,textValue:p},o(ut.div,R({role:"option","aria-labelledby":g,"data-highlighted":h?"":void 0,"aria-selected":f&&h,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},s,{ref:y,onFocus:I(s.onFocus,(()=>v(!0))),onBlur:I(s.onBlur,(()=>v(!1))),onPointerUp:I(s.onPointerUp,b),onPointerMove:I(s.onPointerMove,(e=>{var t;i?null===(t=d.onItemLeave)||void 0===t||t.call(d):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:I(s.onPointerLeave,(e=>{var t;e.currentTarget===document.activeElement&&(null===(t=d.onItemLeave)||void 0===t||t.call(d))})),onKeyDown:I(s.onKeyDown,(e=>{var t;""!==(null===(t=d.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(ho.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),Yo="SelectItemText",Xo=d(((e,t)=>{const{__scopeSelect:n,className:i,style:a,...s}=e,l=ko(Yo,n),u=Ro(Yo,n),d=qo(Yo,n),f=No(Yo,n),[p,m]=c(null),v=F(t,(e=>m(e)),d.onItemTextChange,(e=>{var t;return null===(t=u.itemTextRefCallback)||void 0===t?void 0:t.call(u,e,d.value,d.disabled)})),y=null==p?void 0:p.textContent,g=r((()=>o("option",{key:d.value,value:d.value,disabled:d.disabled},y)),[d.disabled,d.value,y]),{onNativeOptionAdd:b,onNativeOptionRemove:x}=f;return dt((()=>(b(g),()=>x(g))),[b,x,g]),o(h,null,o(ut.span,R({id:d.textId},s,{ref:v})),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?w(s.children,l.valueNode):null)})),Jo=d(((e,t)=>{const{__scopeSelect:n,...r}=e;return qo("SelectItemIndicator",n).isSelected?o(ut.span,R({"aria-hidden":!0},r,{ref:t})):null})),Zo="SelectScrollUpButton",Qo=d(((e,t)=>{const n=Ro(Zo,e.__scopeSelect),r=zo(Zo,e.__scopeSelect),[i,a]=c(!1),s=F(t,r.onScrollButtonChange);return dt((()=>{if(n.viewport&&n.isPositioned){const e=n.viewport;function t(){const t=e.scrollTop>0;a(t)}return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[n.viewport,n.isPositioned]),i?o(ni,R({},e,{ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),ei="SelectScrollDownButton",ti=d(((e,t)=>{const n=Ro(ei,e.__scopeSelect),r=zo(ei,e.__scopeSelect),[i,a]=c(!1),s=F(t,r.onScrollButtonChange);return dt((()=>{if(n.viewport&&n.isPositioned){const e=n.viewport;function t(){const t=e.scrollHeight-e.clientHeight,n=Math.ceil(e.scrollTop)<t;a(n)}return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[n.viewport,n.isPositioned]),i?o(ni,R({},e,{ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),ni=d(((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,c=Ro("SelectScrollButton",n),u=a(null),d=go(n),f=l((()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)}),[]);return s((()=>()=>f()),[f]),dt((()=>{var e;const t=d().find((e=>e.ref.current===document.activeElement));null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),[d]),o(ut.div,R({"aria-hidden":!0},i,{ref:t,style:{flexShrink:0,...i.style},onPointerDown:I(i.onPointerDown,(()=>{null===u.current&&(u.current=window.setInterval(r,50))})),onPointerMove:I(i.onPointerMove,(()=>{var e;null===(e=c.onItemLeave)||void 0===e||e.call(c),null===u.current&&(u.current=window.setInterval(r,50))})),onPointerLeave:I(i.onPointerLeave,(()=>{f()}))}))})),ri=d(((e,t)=>{const{__scopeSelect:n,...r}=e;return o(ut.div,R({"aria-hidden":!0},r,{ref:t}))}));function oi(e){return""===e||void 0===e}const ii=d(((e,t)=>{const{value:n,...i}=e,l=a(null),c=F(t,l),u=function(e){const t=a({value:e,previous:e});return r((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}(n);return s((()=>{const e=l.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(u!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}}),[u,n]),o(Sr,{asChild:!0},o("select",R({},i,{ref:c,defaultValue:n})))}));function ai(e){const t=L(e),n=a(""),r=a(0),o=l((e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((()=>e("")),1e3))}(o)}),[t]),i=l((()=>{n.current="",window.clearTimeout(r.current)}),[]);return s((()=>()=>window.clearTimeout(r.current)),[]),[n,o,i]}function si(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0])),o=r?t[0]:t,i=n?e.indexOf(n):-1;let a=(s=e,l=Math.max(i,0),s.map(((e,t)=>s[(l+t)%s.length])));var s,l;1===o.length&&(a=a.filter((e=>e!==n)));const c=a.find((e=>e.textValue.toLowerCase().startsWith(o.toLowerCase())));return c!==n?c:void 0}ii.displayName="BubbleSelect";const li=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:s,onOpenChange:u,value:d,defaultValue:f,onValueChange:p,dir:m,name:h,autoComplete:v,disabled:y,required:g}=e,b=Eo(t),[w,x]=c(null),[E,S]=c(null),[k,O]=c(!1),N=function(e){const t=i(sr);return e||t||"ltr"}(m),[C=!1,T]=z({prop:r,defaultProp:s,onChange:u}),[_,P]=z({prop:d,defaultProp:f,onChange:p}),A=a(null),$=!w||Boolean(w.closest("form")),[M,R]=c(new Set),I=Array.from(M).map((e=>e.props.value)).join(";");return o(Ot,b,o(So,{required:g,scope:t,trigger:w,onTriggerChange:x,valueNode:E,onValueNodeChange:S,valueNodeHasChildren:k,onValueNodeHasChildrenChange:O,contentId:Er(),value:_,onValueChange:P,open:C,onOpenChange:T,dir:N,triggerPointerDownPosRef:A,disabled:y},o(yo.Provider,{scope:t},o(Oo,{scope:e.__scopeSelect,onNativeOptionAdd:l((e=>{R((t=>new Set(t).add(e)))}),[]),onNativeOptionRemove:l((e=>{R((t=>{const n=new Set(t);return n.delete(e),n}))}),[])},n)),$?o(ii,{key:I,"aria-hidden":!0,required:g,tabIndex:-1,name:h,autoComplete:v,value:_,onChange:e=>P(e.target.value),disabled:y},void 0===_?o("option",{value:""}):null,Array.from(M)):null))},ci=Co,ui=To,di=_o,fi=e=>o(Tt,R({asChild:!0},e)),pi=Ao,mi=Fo,hi=Ho,vi=Go,yi=Xo,gi=Jo,bi=Qo,wi=ti,xi=ri;var Ei={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Si=(e,t)=>{const n=d((({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:a,children:s,...l},c)=>{return o("svg",{ref:c,...Ei,width:r,height:r,stroke:n,strokeWidth:a?24*Number(i)/Number(r):i,className:`lucide lucide-${u=e,u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,...l},[...t.map((([e,t])=>o(e,t))),...(Array.isArray(s)?s:[s])||[]]);var u}));return n.displayName=`${e}`,n},ki=Si("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),Oi=Si("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Ni=Si("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var Ci=li,Ti=ui,_i=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=O(t,["className","children"]);return e.createElement(ci,k({ref:n,className:Yn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r)},i),o,e.createElement(di,{asChild:!0},e.createElement(Oi,{className:"h-4 w-4 opacity-50"})))}));_i.displayName=ci.displayName;var Pi=e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(bi,k({ref:n,className:Yn("flex cursor-default items-center justify-center py-1",r)},o),e.createElement(Ni,{className:"h-4 w-4"}))}));Pi.displayName=bi.displayName;var Ai=e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(wi,k({ref:n,className:Yn("flex cursor-default items-center justify-center py-1",r)},o),e.createElement(Oi,{className:"h-4 w-4"}))}));Ai.displayName=wi.displayName;var $i=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=t.position,a=void 0===i?"popper":i,s=O(t,["className","children","position"]);return e.createElement(fi,null,e.createElement(pi,k({ref:n,className:Yn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:a},s),e.createElement(Pi,null),e.createElement(mi,{className:Yn("p-1","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},o),e.createElement(Ai,null)))}));$i.displayName=pi.displayName,e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(hi,k({ref:n,className:Yn("py-1.5 pl-8 pr-2 text-sm font-semibold",r)},o))})).displayName=hi.displayName;var Mi=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=O(t,["className","children"]);return e.createElement(vi,k({ref:n,className:Yn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r)},i),e.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},e.createElement(gi,null,e.createElement(ki,{className:"h-4 w-4"}))),e.createElement(yi,null,o))}));Mi.displayName=vi.displayName,e.forwardRef((function(t,n){var r=t.className,o=O(t,["className"]);return e.createElement(xi,k({ref:n,className:Yn("-mx-1 my-1 h-px bg-muted",r)},o))})).displayName=xi.displayName;var Ri=function(e){var n=e.id,r=e.className,o=e.disabled,i=e.placeholder,a=e.value,s=e.options,l=void 0===s?[]:s,c=e.onChange;return t.createElement(Ci,{value:a,onValueChange:c},t.createElement(_i,{id:n,disabled:o,className:A("gyramais-select",r)},t.createElement(Ti,{placeholder:i})),t.createElement($i,{className:"gyramais-select-content"},l.map((function(e,n){return t.createElement(Mi,{key:"".concat(e.value,"-").concat(n),className:"gyramais-select-item",value:e.value,disabled:e.disabled},e.label)}))))},Ii={},ji={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(ji);var Di=ji.exports,Li={};function zi(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Vi(e){if(!zi(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Vi(e[n])})),t}function Fi(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return zi(e)&&zi(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(zi(t[o])&&o in e&&zi(e[o])?r[o]=Fi(e[o],t[o],n):n.clone?r[o]=zi(t[o])?Vi(t[o]):t[o]:r[o]=t[o])})),r}var Wi,Bi={exports:{}},Hi={exports:{}},Ui={};var Ki,qi,Gi,Yi,Xi,Ji,Zi,Qi,ea,ta,na,ra,oa,ia,aa={};
|
|
7
7
|
/** @license React v16.13.1
|
|
8
8
|
* react-is.development.js
|
|
9
9
|
*
|
|
@@ -11,12 +11,12 @@
|
|
|
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
|
-
*/function sa(){return qi||(qi=1,"production"===process.env.NODE_ENV?Hi.exports=function(){if(Wi)return Ui;Wi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,
|
|
14
|
+
*/function sa(){return qi||(qi=1,"production"===process.env.NODE_ENV?Hi.exports=function(){if(Wi)return Ui;Wi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case p:case a:return e;default:return f}}case n:return f}}}function w(e){return b(e)===c}return Ui.AsyncMode=l,Ui.ConcurrentMode=c,Ui.ContextConsumer=s,Ui.ContextProvider=a,Ui.Element=t,Ui.ForwardRef=u,Ui.Fragment=r,Ui.Lazy=m,Ui.Memo=p,Ui.Portal=n,Ui.Profiler=i,Ui.StrictMode=o,Ui.Suspense=d,Ui.isAsyncMode=function(e){return w(e)||b(e)===l},Ui.isConcurrentMode=w,Ui.isContextConsumer=function(e){return b(e)===s},Ui.isContextProvider=function(e){return b(e)===a},Ui.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ui.isForwardRef=function(e){return b(e)===u},Ui.isFragment=function(e){return b(e)===r},Ui.isLazy=function(e){return b(e)===m},Ui.isMemo=function(e){return b(e)===p},Ui.isPortal=function(e){return b(e)===n},Ui.isProfiler=function(e){return b(e)===i},Ui.isStrictMode=function(e){return b(e)===o},Ui.isSuspense=function(e){return b(e)===d},Ui.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},Ui.typeOf=b,Ui}():Hi.exports=(Ki||(Ki=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case l:case c:case r:case i:case o:case d:return h;default:var v=h&&h.$$typeof;switch(v){case s:case u:case m:case p:case a:return v;default:return f}}case n:return f}}}var w=l,x=c,E=s,S=a,k=t,O=u,N=r,C=m,T=p,_=n,P=i,A=o,$=d,M=!1;function R(e){return b(e)===c}aa.AsyncMode=w,aa.ConcurrentMode=x,aa.ContextConsumer=E,aa.ContextProvider=S,aa.Element=k,aa.ForwardRef=O,aa.Fragment=N,aa.Lazy=C,aa.Memo=T,aa.Portal=_,aa.Profiler=P,aa.StrictMode=A,aa.Suspense=$,aa.isAsyncMode=function(e){return M||(M=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||b(e)===l},aa.isConcurrentMode=R,aa.isContextConsumer=function(e){return b(e)===s},aa.isContextProvider=function(e){return b(e)===a},aa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},aa.isForwardRef=function(e){return b(e)===u},aa.isFragment=function(e){return b(e)===r},aa.isLazy=function(e){return b(e)===m},aa.isMemo=function(e){return b(e)===p},aa.isPortal=function(e){return b(e)===n},aa.isProfiler=function(e){return b(e)===i},aa.isStrictMode=function(e){return b(e)===o},aa.isSuspense=function(e){return b(e)===d},aa.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g||e.$$typeof===h)},aa.typeOf=b}()),aa)),Hi.exports}
|
|
15
15
|
/*
|
|
16
16
|
object-assign
|
|
17
17
|
(c) Sindre Sorhus
|
|
18
18
|
@license MIT
|
|
19
|
-
*/function la(){if(Yi)return Gi;Yi=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Gi=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},Gi}function ca(){if(Ji)return Xi;Ji=1;return Xi="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function ua(){return Qi?Zi:(Qi=1,Zi=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var da=sa();Bi.exports=function(){if(ra)return na;ra=1;var e=sa(),t=la(),n=ca(),r=ua(),o=function(){if(ta)return ea;ta=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ca(),n={},r=ua();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=l?l():"";e("Failed "+a+" type: "+u.message+(null!=f?f:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ea=o}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),na=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:y("array"),bigint:y("bigint"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:h(a),arrayOf:function(e){return h((function(t,r,o,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+b(s)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,o,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:h((function(e,t,n,r,o){var i=e[t];return s(i)?null:new m("Invalid "+r+" `"+o+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,r,o,i){var a=t[n];return e.isValidElementType(a)?null:new m("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||d;return new m("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,o){return g(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,o,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=b(l);if("object"!==c)return new m("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(r(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),a}return h((function(t,o,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,i,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&l.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,r,o,i,a){var s=t[r],l=b(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(o,i,a,c,w(u));var d=u(s,c,o,i,a+"."+c,n);if(d)return d}return null}))},exact:function(e){return h((function(o,i,a,s,l){var c=o[i],u=b(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},o[i],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return v(a,s,l,f,w(p));if(!p)return new m("Invalid "+s+" `"+l+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(c,f,a,s,l+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,a,s,c,u,f,p){if(c=c||d,f=f||s,p!==n){if(l){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var y=c+":"+s;!t[y]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[y]=!0,r++)}}return null==a[s]?o?null===a[s]?new m("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,u,f)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function y(e){return h((function(t,n,r,o,i,a){var s=t[n];return b(s)!==e?new m("Invalid "+o+" `"+i+"` of type `"+w(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},na}()(da.isElement,!0)}else Bi.exports=function(){if(ia)return oa;ia=1;var e=ca();function t(){}function n(){}return n.resetWarningCache=t,oa=function(){function r(t,n,r,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var fa=C(Bi.exports);function pa(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var ma,ha={exports:{}},ya={};var va,ga={};
|
|
19
|
+
*/function la(){if(Yi)return Gi;Yi=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Gi=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},Gi}function ca(){if(Ji)return Xi;Ji=1;return Xi="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function ua(){return Qi?Zi:(Qi=1,Zi=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var da=sa();Bi.exports=function(){if(ra)return na;ra=1;var e=sa(),t=la(),n=ca(),r=ua(),o=function(){if(ta)return ea;ta=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ca(),n={},r=ua();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=l?l():"";e("Failed "+a+" type: "+u.message+(null!=f?f:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ea=o}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),na=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:h(a),arrayOf:function(e){return h((function(t,r,o,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+b(s)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,o,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:h((function(e,t,n,r,o){var i=e[t];return s(i)?null:new m("Invalid "+r+" `"+o+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,r,o,i){var a=t[n];return e.isValidElementType(a)?null:new m("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||d;return new m("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,o){return g(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,o,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=b(l);if("object"!==c)return new m("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(r(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),a}return h((function(t,o,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,i,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&l.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,r,o,i,a){var s=t[r],l=b(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return y(o,i,a,c,w(u));var d=u(s,c,o,i,a+"."+c,n);if(d)return d}return null}))},exact:function(e){return h((function(o,i,a,s,l){var c=o[i],u=b(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},o[i],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return y(a,s,l,f,w(p));if(!p)return new m("Invalid "+s+" `"+l+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(c,f,a,s,l+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,a,s,c,u,f,p){if(c=c||d,f=f||s,p!==n){if(l){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=c+":"+s;!t[v]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,r++)}}return null==a[s]?o?null===a[s]?new m("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,u,f)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function v(e){return h((function(t,n,r,o,i,a){var s=t[n];return b(s)!==e?new m("Invalid "+o+" `"+i+"` of type `"+w(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},na}()(da.isElement,!0)}else Bi.exports=function(){if(ia)return oa;ia=1;var e=ca();function t(){}function n(){}return n.resetWarningCache=t,oa=function(){function r(t,n,r,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var fa=C(Bi.exports);function pa(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var ma,ha={exports:{}},va={};var ya,ga={};
|
|
20
20
|
/**
|
|
21
21
|
* @license React
|
|
22
22
|
* react-is.development.js
|
|
@@ -25,7 +25,7 @@ object-assign
|
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the MIT license found in the
|
|
27
27
|
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/"production"===process.env.NODE_ENV?ha.exports=function(){if(ma)return ya;ma=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case i:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case p:case f:case a:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),ya.ContextConsumer=s,ya.ContextProvider=a,ya.Element=t,ya.ForwardRef=c,ya.Fragment=r,ya.Lazy=p,ya.Memo=f,ya.Portal=n,ya.Profiler=i,ya.StrictMode=o,ya.Suspense=u,ya.SuspenseList=d,ya.isAsyncMode=function(){return!1},ya.isConcurrentMode=function(){return!1},ya.isContextConsumer=function(e){return h(e)===s},ya.isContextProvider=function(e){return h(e)===a},ya.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ya.isForwardRef=function(e){return h(e)===c},ya.isFragment=function(e){return h(e)===r},ya.isLazy=function(e){return h(e)===p},ya.isMemo=function(e){return h(e)===f},ya.isPortal=function(e){return h(e)===n},ya.isProfiler=function(e){return h(e)===i},ya.isStrictMode=function(e){return h(e)===o},ya.isSuspense=function(e){return h(e)===u},ya.isSuspenseList=function(e){return h(e)===d},ya.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},ya.typeOf=h,ya}():ha.exports=(va||(va=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var h=e.type;switch(h){case r:case i:case o:case u:case d:return h;default:var y=h&&h.$$typeof;switch(y){case l:case s:case c:case p:case f:case a:return y;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var y=s,v=a,g=t,b=c,w=r,x=p,E=f,S=n,k=i,O=o,N=u,C=d,T=!1,_=!1;ga.ContextConsumer=y,ga.ContextProvider=v,ga.Element=g,ga.ForwardRef=b,ga.Fragment=w,ga.Lazy=x,ga.Memo=E,ga.Portal=S,ga.Profiler=k,ga.StrictMode=O,ga.Suspense=N,ga.SuspenseList=C,ga.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ga.isConcurrentMode=function(e){return _||(_=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ga.isContextConsumer=function(e){return h(e)===s},ga.isContextProvider=function(e){return h(e)===a},ga.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ga.isForwardRef=function(e){return h(e)===c},ga.isFragment=function(e){return h(e)===r},ga.isLazy=function(e){return h(e)===p},ga.isMemo=function(e){return h(e)===f},ga.isPortal=function(e){return h(e)===n},ga.isProfiler=function(e){return h(e)===i},ga.isStrictMode=function(e){return h(e)===o},ga.isSuspense=function(e){return h(e)===u},ga.isSuspenseList=function(e){return h(e)===d},ga.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},ga.typeOf=h}()),ga);var ba=ha.exports;const wa=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function xa(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(wa);return t&&t[1]||""}(e)||t}function Ea(e,t,n){const r=xa(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function Sa(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":pa(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ka(e){return e&&e.ownerDocument||document}function Oa(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Na="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let Ca=0;const Ta=e["useId".toString()];class _a{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new _a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}let Pa=!0,Aa=!1;const $a=new _a,Ma={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ra(e){e.metaKey||e.altKey||e.ctrlKey||(Pa=!0)}function Ia(){Pa=!1}function ja(){"hidden"===this.visibilityState&&Aa&&(Pa=!0)}function Da(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Pa||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Ma[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function La(e,t){const n=R({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=R({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=R({},i),Object.keys(o).forEach((e=>{n[r][e]=La(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}const za=e=>e,Va=(()=>{let e=za;return{configure(t){e=t},generate:t=>e(t),reset(){e=za}}})(),Fa={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Wa(e,t,n="Mui"){const r=Fa[t];return r?`${n}-${r}`:`${Va.generate(e)}-${t}`}function Ba(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ha(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ua=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ka=Ha((function(e){return Ua.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var qa=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\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||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ga="-ms-",Ya="-moz-",Xa="-webkit-",Ja="comm",Za="rule",Qa="decl",es="@keyframes",ts=Math.abs,ns=String.fromCharCode,rs=Object.assign;function os(e){return e.trim()}function is(e,t,n){return e.replace(t,n)}function as(e,t){return e.indexOf(t)}function ss(e,t){return 0|e.charCodeAt(t)}function ls(e,t,n){return e.slice(t,n)}function cs(e){return e.length}function us(e){return e.length}function ds(e,t){return t.push(e),e}var fs=1,ps=1,ms=0,hs=0,ys=0,vs="";function gs(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:fs,column:ps,length:a,return:""}}function bs(e,t){return rs(gs("",null,null,"",null,null,0),e,{length:-e.length},t)}function ws(){return ys=hs>0?ss(vs,--hs):0,ps--,10===ys&&(ps=1,fs--),ys}function xs(){return ys=hs<ms?ss(vs,hs++):0,ps++,10===ys&&(ps=1,fs++),ys}function Es(){return ss(vs,hs)}function Ss(){return hs}function ks(e,t){return ls(vs,e,t)}function Os(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 Ns(e){return fs=ps=1,ms=cs(vs=e),hs=0,[]}function Cs(e){return vs="",e}function Ts(e){return os(ks(hs-1,As(91===e?e+2:40===e?e+1:e)))}function _s(e){for(;(ys=Es())&&ys<33;)xs();return Os(e)>2||Os(ys)>3?"":" "}function Ps(e,t){for(;--t&&xs()&&!(ys<48||ys>102||ys>57&&ys<65||ys>70&&ys<97););return ks(e,Ss()+(t<6&&32==Es()&&32==xs()))}function As(e){for(;xs();)switch(ys){case e:return hs;case 34:case 39:34!==e&&39!==e&&As(ys);break;case 40:41===e&&As(e);break;case 92:xs()}return hs}function $s(e,t){for(;xs()&&e+ys!==57&&(e+ys!==84||47!==Es()););return"/*"+ks(t,hs-1)+"*"+ns(47===e?e:xs())}function Ms(e){for(;!Os(Es());)xs();return ks(e,hs)}function Rs(e){return Cs(Is("",null,null,null,[""],e=Ns(e),0,[0],e))}function Is(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,m=0,h=1,y=1,v=1,g=0,b="",w=o,x=i,E=r,S=b;y;)switch(m=g,g=xs()){case 40:if(108!=m&&58==ss(S,d-1)){-1!=as(S+=is(Ts(g),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:S+=Ts(g);break;case 9:case 10:case 13:case 32:S+=_s(m);break;case 92:S+=Ps(Ss()-1,7);continue;case 47:switch(Es()){case 42:case 47:ds(Ds($s(xs(),Ss()),t,n),l);break;default:S+="/"}break;case 123*h:s[c++]=cs(S)*v;case 125*h:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+u:-1==v&&(S=is(S,/\f/g,"")),p>0&&cs(S)-d&&ds(p>32?Ls(S+";",r,n,d-1):Ls(is(S," ","")+";",r,n,d-2),l);break;case 59:S+=";";default:if(ds(E=js(S,t,n,c,u,o,s,b,w=[],x=[],d),i),123===g)if(0===u)Is(S,t,E,E,w,i,d,s,x);else switch(99===f&&110===ss(S,3)?100:f){case 100:case 108:case 109:case 115:Is(e,E,E,r&&ds(js(e,E,E,0,0,o,s,b,o,w=[],d),x),o,x,d,s,r?w:x);break;default:Is(S,E,E,E,[""],x,0,s,x)}}c=u=p=0,h=v=1,b=S="",d=a;break;case 58:d=1+cs(S),p=m;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==ws())continue;switch(S+=ns(g),g*h){case 38:v=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(cs(S)-1)*v,v=1;break;case 64:45===Es()&&(S+=Ts(xs())),f=Es(),u=d=cs(b=S+=Ms(Ss())),g++;break;case 45:45===m&&2==cs(S)&&(h=0)}}return i}function js(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=us(f),m=0,h=0,y=0;m<r;++m)for(var v=0,g=ls(e,d+1,d=ts(h=a[m])),b=e;v<p;++v)(b=os(h>0?f[v]+" "+g:is(g,/&\f/g,f[v])))&&(l[y++]=b);return gs(e,t,n,0===o?Za:s,l,c,u)}function Ds(e,t,n){return gs(e,t,n,Ja,ns(ys),ls(e,2,-2),0)}function Ls(e,t,n,r){return gs(e,t,n,Qa,ls(e,0,r),ls(e,r+1,-1),r)}function zs(e,t){for(var n="",r=us(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Vs(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Qa:return e.return=e.return||e.value;case Ja:return"";case es:return e.return=e.value+"{"+zs(e.children,r)+"}";case Za:e.value=e.props.join(",")}return cs(n=zs(e.children,r))?e.return=e.value+"{"+n+"}":""}function Fs(e){var t=us(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var Ws=function(e,t,n){for(var r=0,o=0;r=o,o=Es(),38===r&&12===o&&(t[n]=1),!Os(o);)xs();return ks(e,hs)},Bs=function(e,t){return Cs(function(e,t){var n=-1,r=44;do{switch(Os(r)){case 0:38===r&&12===Es()&&(t[n]=1),e[n]+=Ws(hs-1,t,n);break;case 2:e[n]+=Ts(r);break;case 4:if(44===r){e[++n]=58===Es()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ns(r)}}while(r=xs());return e}(Ns(e),t))},Hs=new WeakMap,Us=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Hs.get(n))&&!r){Hs.set(e,!0);for(var o=[],i=Bs(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Ks=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},qs=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Gs=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ys=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Xs=function(e,t,n){Gs(e)&&(e.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."),Ys(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Gs(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ys(e)))};function Js(e,t){switch(function(e,t){return 45^ss(e,0)?(((t<<2^ss(e,0))<<2^ss(e,1))<<2^ss(e,2))<<2^ss(e,3):0}(e,t)){case 5103:return Xa+"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 Xa+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xa+e+Ya+e+Ga+e+e;case 6828:case 4268:return Xa+e+Ga+e+e;case 6165:return Xa+e+Ga+"flex-"+e+e;case 5187:return Xa+e+is(e,/(\w+).+(:[^]+)/,Xa+"box-$1$2"+Ga+"flex-$1$2")+e;case 5443:return Xa+e+Ga+"flex-item-"+is(e,/flex-|-self/,"")+e;case 4675:return Xa+e+Ga+"flex-line-pack"+is(e,/align-content|flex-|-self/,"")+e;case 5548:return Xa+e+Ga+is(e,"shrink","negative")+e;case 5292:return Xa+e+Ga+is(e,"basis","preferred-size")+e;case 6060:return Xa+"box-"+is(e,"-grow","")+Xa+e+Ga+is(e,"grow","positive")+e;case 4554:return Xa+is(e,/([^-])(transform)/g,"$1"+Xa+"$2")+e;case 6187:return is(is(is(e,/(zoom-|grab)/,Xa+"$1"),/(image-set)/,Xa+"$1"),e,"")+e;case 5495:case 3959:return is(e,/(image-set\([^]*)/,Xa+"$1$`$1");case 4968:return is(is(e,/(.+:)(flex-)?(.*)/,Xa+"box-pack:$3"+Ga+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xa+e+e;case 4095:case 3583:case 4068:case 2532:return is(e,/(.+)-inline(.+)/,Xa+"$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(cs(e)-1-t>6)switch(ss(e,t+1)){case 109:if(45!==ss(e,t+4))break;case 102:return is(e,/(.+:)(.+)-([^]+)/,"$1"+Xa+"$2-$3$1"+Ya+(108==ss(e,t+3)?"$3":"$2-$3"))+e;case 115:return~as(e,"stretch")?Js(is(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ss(e,t+1))break;case 6444:switch(ss(e,cs(e)-3-(~as(e,"!important")&&10))){case 107:return is(e,":",":"+Xa)+e;case 101:return is(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xa+(45===ss(e,14)?"inline-":"")+"box$3$1"+Xa+"$2$3$1"+Ga+"$2box$3")+e}break;case 5936:switch(ss(e,t+11)){case 114:return Xa+e+Ga+is(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xa+e+Ga+is(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xa+e+Ga+is(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xa+e+Ga+e+e}return e}var Zs,Qs,el="undefined"!=typeof document,tl=el?void 0:(Zs=function(){return Ha((function(){var e={};return function(t){return e[t]}}))},Qs=new WeakMap,function(e){if(Qs.has(e))return Qs.get(e);var t=Zs(e);return Qs.set(e,t),t}),nl=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Qa:e.return=Js(e.value,e.length);break;case es:return zs([bs(e,{value:is(e.value,"@","@"+Xa)})],r);case Za:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zs([bs(e,{props:[is(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return zs([bs(e,{props:[is(t,/:(plac\w+)/,":"+Xa+"input-$1")]}),bs(e,{props:[is(t,/:(plac\w+)/,":-moz-$1")]}),bs(e,{props:[is(t,/:(plac\w+)/,Ga+"input-$1")]})],r)}return""}))}}],rl=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)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.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(el&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||nl;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];el&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l,c=[Us,Ks];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(qs(s))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),Xs),el){var u,d=[Vs,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==Ja&&u.insert(e.value+"{}"))}:(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=Fs(c.concat(r,d));i=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),zs(Rs(e?e+"{"+t.styles+"}":t.styles),f),r&&(v.inserted[t.name]=!0)}}else{var p=[Vs],m=Fs(c.concat(r,p)),h=tl(r)(t),y=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=zs(Rs(e?e+"{"+t.styles+"}":t.styles),m)),h[n]};i=function(e,t,n,r){var o=t.name,i=y(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new qa({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return v.sheet.hydrate(s),v},ol="undefined"!=typeof document;function il(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var al=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ol&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},sl=function(e,t,n){al(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);ol||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ol&&0!==o.length)return o}};var ll={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},cl="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ul="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",dl=/[A-Z]|^ms/g,fl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pl=function(e){return 45===e.charCodeAt(1)},ml=function(e){return null!=e&&"boolean"!=typeof e},hl=Ha((function(e){return pl(e)?e:e.replace(dl,"-$&").toLowerCase()})),yl=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fl,(function(e,t,n){return Nl={name:t,styles:n,next:Nl},t}))}return 1===ll[e]||pl(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var vl=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,gl=["normal","none","initial","inherit","unset"],bl=yl,wl=/^-ms-/,xl=/-(.)/g,El={};yl=function(e,t){if("content"===e&&("string"!=typeof t||-1===gl.indexOf(t)&&!vl.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=bl(e,t);return""===n||pl(e)||-1===e.indexOf("-")||void 0!==El[e]||(El[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(wl,"ms-").replace(xl,(function(e,t){return t.toUpperCase()}))+"?")),n}}var Sl="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function kl(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(Sl);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Nl={name:n.name,styles:n.styles,next:Nl},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Nl={name:r.name,styles:r.styles,next:Nl},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=kl(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":ml(a)&&(r+=hl(i)+":"+yl(i,a)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(Sl);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=kl(e,t,a);switch(i){case"animation":case"animationName":r+=hl(i)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(ul),r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)ml(a[l])&&(r+=hl(i)+":"+yl(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=Nl,a=n(e);return Nl=i,kl(e,t,a)}"production"!==process.env.NODE_ENV&&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("production"!==process.env.NODE_ENV){var s=[],l=n.replace(fl,(function(e,t,n){var r="animation"+s.length;return s.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var Ol,Nl,Cl=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Ol=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Tl=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Nl=void 0;var i,a=e[0];null==a||void 0===a.raw?(r=!1,o+=kl(n,t,a)):("production"!==process.env.NODE_ENV&&void 0===a[0]&&console.error(cl),o+=a[0]);for(var s=1;s<e.length;s++)o+=kl(n,t,e[s]),r&&("production"!==process.env.NODE_ENV&&void 0===a[s]&&console.error(cl),o+=a[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Ol,(function(e){return i=e,""}))),Cl.lastIndex=0;for(var l,c="";null!==(l=Cl.exec(o));)c+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:i,next:Nl,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:u,styles:o,next:Nl}},_l="undefined"!=typeof document,Pl=function(e){return e()},Al=!!e.useInsertionEffect&&e.useInsertionEffect,$l=_l&&Al||Pl,Ml="undefined"!=typeof document,Rl={}.hasOwnProperty,Il=e.createContext("undefined"!=typeof HTMLElement?rl({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Il.displayName="EmotionCacheContext"),Il.Provider;var jl=function(e){return d((function(t,n){var r=i(Il);return e(t,r,n)}))};Ml||(jl=function(t){return function(n){var r=i(Il);return null===r?(r=rl({key:"css"}),e.createElement(Il.Provider,{value:r},t(n,r))):t(n,r)}});var Dl=e.createContext({});"production"!==process.env.NODE_ENV&&(Dl.displayName="EmotionThemeContext");var Ll="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zl="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Vl=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;al(n,r,o);var i=$l((function(){return sl(n,r,o)}));if(!Ml&&void 0!==i){for(var a,s=r.name,l=r.next;void 0!==l;)s+=" "+l.name,l=l.next;return e.createElement("style",((a={})["data-emotion"]=n.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=n.sheet.nonce,a))}return null},Fl=jl((function(t,n,r){var o=t.css;"string"==typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var i=t[Ll],a=[o],s="";"string"==typeof t.className?s=il(n.registered,a,t.className):null!=t.className&&(s=t.className+" ");var l=Tl(a,void 0,e.useContext(Dl));if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var c=t[zl];c&&(l=Tl([l,"label:"+c+";"]))}s+=n.key+"-"+l.name;var u={};for(var d in t)!Rl.call(t,d)||"css"===d||d===Ll||"production"!==process.env.NODE_ENV&&d===zl||(u[d]=t[d]);return u.ref=r,u.className=s,e.createElement(e.Fragment,null,e.createElement(Vl,{cache:n,serialized:l,isStringTag:"string"==typeof i}),e.createElement(i,u))}));"production"!==process.env.NODE_ENV&&(Fl.displayName="EmotionCssPropInternal");var Wl=Ka,Bl=function(e){return"theme"!==e},Hl=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Wl:Bl},Ul=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Kl="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ql="undefined"!=typeof document,Gl=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;al(n,r,o);var i=$l((function(){return sl(n,r,o)}));if(!ql&&void 0!==i){for(var a,s=r.name,l=r.next;void 0!==l;)s+=" "+l.name,l=l.next;return e.createElement("style",((a={})["data-emotion"]=n.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=n.sheet.nonce,a))}return null},Yl=function t(n,r){if("production"!==process.env.NODE_ENV&&void 0===n)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var o,i,a=n.__emotion_real===n,s=a&&n.__emotion_base||n;void 0!==r&&(o=r.label,i=r.target);var l=Ul(n,r,a),c=l||Hl(s),u=!c("as");return function(){var d=arguments,f=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&f.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(Kl),f.push(d[0][0]);for(var p=d.length,m=1;m<p;m++)"production"!==process.env.NODE_ENV&&void 0===d[0][m]&&console.error(Kl),f.push(d[m],d[0][m])}var h=jl((function(t,n,r){var o=u&&t.as||s,a="",d=[],p=t;if(null==t.theme){for(var m in p={},t)p[m]=t[m];p.theme=e.useContext(Dl)}"string"==typeof t.className?a=il(n.registered,d,t.className):null!=t.className&&(a=t.className+" ");var h=Tl(f.concat(d),n.registered,p);a+=n.key+"-"+h.name,void 0!==i&&(a+=" "+i);var y=u&&void 0===l?Hl(o):c,v={};for(var g in t)u&&"as"===g||y(g)&&(v[g]=t[g]);return v.className=a,v.ref=r,e.createElement(e.Fragment,null,e.createElement(Gl,{cache:n,serialized:h,isStringTag:"string"==typeof o}),e.createElement(o,v))}));return h.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=n.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=f,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return void 0===i&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+i}}),h.withComponent=function(e,n){return t(e,R({},r,n,{shouldForwardProp:Ul(h,n,!0)})).apply(void 0,f)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Yl[e]=Yl(e)}));const Xl=["values","unit","step"],Jl=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>R({},e,{[t.key]:t.val})),{})};var Zl={borderRadius:4};var Ql="production"!==process.env.NODE_ENV?fa.oneOfType([fa.number,fa.string,fa.object,fa.array]):{};function ec(e,t){return t?Fi(e,t,{clone:!1}):e}const tc={xs:0,sm:600,md:900,lg:1200,xl:1536},nc={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${tc[e]}px)`};function rc(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||nc;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||nc;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||tc).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function oc(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function ic(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:oc(e,n)||r,t&&(o=t(o,r,e)),o}function ac(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=oc(e.theme,r)||{};return rc(e,i,(e=>{let r=ic(a,o,e);return e===r&&"string"==typeof e&&(r=ic(a,o,`${t}${"default"===e?"":Sa(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:Ql}:{},i.filterProps=[t],i}const sc={m:"margin",p:"padding"},lc={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},cc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},uc=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!cc[e])return[e];e=cc[e]}const[t,n]=e.split(""),r=sc[t],o=lc[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),dc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],pc=[...dc,...fc];function mc(e,t,n,r){var o;const i=null!=(o=oc(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function hc(e){return mc(e,"spacing",8,"spacing")}function yc(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function vc(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=yc(t,n),e)),{})}(uc(n),r);return rc(e,e[n],o)}function gc(e,t){const n=hc(e.theme);return Object.keys(e).map((r=>vc(e,t,r,n))).reduce(ec,{})}function bc(e){return gc(e,dc)}function wc(e){return gc(e,fc)}function xc(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?ec(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Ec(e){return"number"!=typeof e?e:`${e}px solid`}function Sc(e,t){return ac({prop:e,themeKey:"borders",transform:t})}bc.propTypes="production"!==process.env.NODE_ENV?dc.reduce(((e,t)=>(e[t]=Ql,e)),{}):{},bc.filterProps=dc,wc.propTypes="production"!==process.env.NODE_ENV?fc.reduce(((e,t)=>(e[t]=Ql,e)),{}):{},wc.filterProps=fc,"production"===process.env.NODE_ENV||pc.reduce(((e,t)=>(e[t]=Ql,e)),{});const kc=Sc("border",Ec),Oc=Sc("borderTop",Ec),Nc=Sc("borderRight",Ec),Cc=Sc("borderBottom",Ec),Tc=Sc("borderLeft",Ec),_c=Sc("borderColor"),Pc=Sc("borderTopColor"),Ac=Sc("borderRightColor"),$c=Sc("borderBottomColor"),Mc=Sc("borderLeftColor"),Rc=Sc("outline",Ec),Ic=Sc("outlineColor"),jc=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=mc(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:yc(t,e)});return rc(e,e.borderRadius,n)}return null};jc.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Ql}:{},jc.filterProps=["borderRadius"],xc(kc,Oc,Nc,Cc,Tc,_c,Pc,Ac,$c,Mc,jc,Rc,Ic);const Dc=e=>{if(void 0!==e.gap&&null!==e.gap){const t=mc(e.theme,"spacing",8,"gap"),n=e=>({gap:yc(t,e)});return rc(e,e.gap,n)}return null};Dc.propTypes="production"!==process.env.NODE_ENV?{gap:Ql}:{},Dc.filterProps=["gap"];const Lc=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=mc(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:yc(t,e)});return rc(e,e.columnGap,n)}return null};Lc.propTypes="production"!==process.env.NODE_ENV?{columnGap:Ql}:{},Lc.filterProps=["columnGap"];const zc=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=mc(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:yc(t,e)});return rc(e,e.rowGap,n)}return null};zc.propTypes="production"!==process.env.NODE_ENV?{rowGap:Ql}:{},zc.filterProps=["rowGap"];function Vc(e,t){return"grey"===t?t:e}xc(Dc,Lc,zc,ac({prop:"gridColumn"}),ac({prop:"gridRow"}),ac({prop:"gridAutoFlow"}),ac({prop:"gridAutoColumns"}),ac({prop:"gridAutoRows"}),ac({prop:"gridTemplateColumns"}),ac({prop:"gridTemplateRows"}),ac({prop:"gridTemplateAreas"}),ac({prop:"gridArea"}));function Fc(e){return e<=1&&0!==e?100*e+"%":e}xc(ac({prop:"color",themeKey:"palette",transform:Vc}),ac({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Vc}),ac({prop:"backgroundColor",themeKey:"palette",transform:Vc}));const Wc=ac({prop:"width",transform:Fc}),Bc=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||tc[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Fc(t)}};return rc(e,e.maxWidth,t)}return null};Bc.filterProps=["maxWidth"];const Hc=ac({prop:"minWidth",transform:Fc}),Uc=ac({prop:"height",transform:Fc}),Kc=ac({prop:"maxHeight",transform:Fc}),qc=ac({prop:"minHeight",transform:Fc});ac({prop:"size",cssProperty:"width",transform:Fc}),ac({prop:"size",cssProperty:"height",transform:Fc});xc(Wc,Bc,Hc,Uc,Kc,qc,ac({prop:"boxSizing"}));var Gc={border:{themeKey:"borders",transform:Ec},borderTop:{themeKey:"borders",transform:Ec},borderRight:{themeKey:"borders",transform:Ec},borderBottom:{themeKey:"borders",transform:Ec},borderLeft:{themeKey:"borders",transform:Ec},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ec},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jc},color:{themeKey:"palette",transform:Vc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Vc},backgroundColor:{themeKey:"palette",transform:Vc},p:{style:wc},pt:{style:wc},pr:{style:wc},pb:{style:wc},pl:{style:wc},px:{style:wc},py:{style:wc},padding:{style:wc},paddingTop:{style:wc},paddingRight:{style:wc},paddingBottom:{style:wc},paddingLeft:{style:wc},paddingX:{style:wc},paddingY:{style:wc},paddingInline:{style:wc},paddingInlineStart:{style:wc},paddingInlineEnd:{style:wc},paddingBlock:{style:wc},paddingBlockStart:{style:wc},paddingBlockEnd:{style:wc},m:{style:bc},mt:{style:bc},mr:{style:bc},mb:{style:bc},ml:{style:bc},mx:{style:bc},my:{style:bc},margin:{style:bc},marginTop:{style:bc},marginRight:{style:bc},marginBottom:{style:bc},marginLeft:{style:bc},marginX:{style:bc},marginY:{style:bc},marginInline:{style:bc},marginInlineStart:{style:bc},marginInlineEnd:{style:bc},marginBlock:{style:bc},marginBlockStart:{style:bc},marginBlockEnd:{style:bc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Dc},rowGap:{style:zc},columnGap:{style:Lc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fc},maxWidth:{style:Bc},minWidth:{transform:Fc},height:{transform:Fc},maxHeight:{transform:Fc},minHeight:{transform:Fc},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Yc=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=oc(n,s)||{};if(c)return c(o);return rc(o,t,(t=>{let n=ic(u,l,t);return t===n&&"string"==typeof t&&(n=ic(u,l,`${e}${"default"===t?"":Sa(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Gc;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(a[n])l=ec(l,e(n,o,i,a));else{const e=rc({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=ec(l,e):l[n]=t({sx:o,theme:i})}else l=ec(l,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();function Xc(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}Yc.filterProps=["sx"];const Jc=["breakpoints","palette","spacing","shape"];function Zc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Ba(e,Jc),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ba(e,Xl),i=Jl(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return R({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}(n),l=function(e=8){if(e.mui)return e;const t=hc({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(o);let c=Fi({breakpoints:s,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:l,shape:R({},Zl,i)},a);return c.applyStyles=Xc,c=t.reduce(((e,t)=>Fi(e,t)),c),c.unstable_sxConfig=R({},Gc,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Yc({sx:e,theme:this})},c}function Qc(t=null){const n=e.useContext(Dl);return n&&(r=n,0!==Object.keys(r).length)?n:t;var r}const eu=Zc();const tu=["ownerState"],nu=["variants"],ru=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ou(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const iu=Zc(),au=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function su({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function lu(e){return e?(t,n)=>n[e]:null}function cu(e,t){let{ownerState:n}=t,r=Ba(t,tu);const o="function"==typeof e?e(R({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>cu(e,R({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=Ba(o,nu);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(R({ownerState:n},r)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(R({ownerState:n},r)):e.style))})),t}return o}function uu(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?La(t.components[n].defaultProps,r):r}function du({props:e,name:t,defaultTheme:n,themeId:r}){let o=function(e=eu){return Qc(e)}(n);r&&(o=o[r]||o);return uu({theme:o,name:t,props:e})}function fu(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function pu(e){if(e.type)return e;if("#"===e.charAt(0))return pu(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:pa(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:pa(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function mu(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function hu(e){let t="hsl"===(e=pu(e)).type||"hsla"===e.type?pu(function(e){e=pu(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),mu({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function yu(e,t){const n=hu(e),r=hu(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var vu={black:"#000",white:"#fff"};var gu={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var bu={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var wu={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var xu={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var Eu={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var Su={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var ku={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const Ou=["mode","contrastThreshold","tonalOffset"],Nu={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:vu.white,default:vu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Cu={text:{primary:vu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:vu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Tu(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=pu(e),t=fu(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mu(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=pu(e),t=fu(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mu(e)}(e.main,i)))}function _u(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ba(e,Ou),i=e.primary||function(e="light"){return"dark"===e?{main:Eu[200],light:Eu[50],dark:Eu[400]}:{main:Eu[700],light:Eu[400],dark:Eu[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:bu[200],light:bu[50],dark:bu[400]}:{main:bu[500],light:bu[300],dark:bu[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:wu[500],light:wu[300],dark:wu[700]}:{main:wu[700],light:wu[400],dark:wu[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Su[400],light:Su[300],dark:Su[700]}:{main:Su[700],light:Su[500],dark:Su[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:ku[400],light:ku[300],dark:ku[700]}:{main:ku[800],light:ku[500],dark:ku[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:xu[400],light:xu[300],dark:xu[700]}:{main:"#ed6c02",light:xu[500],dark:xu[900]}}(t);function d(e){const t=yu(e,Cu.text.primary)>=n?Cu.text.primary:Nu.text.primary;if("production"!==process.env.NODE_ENV){const n=yu(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=R({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:pa(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:pa(12,t?` (${t})`:"",JSON.stringify(e.main)));return Tu(e,"light",o,r),Tu(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:Cu,light:Nu};"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return Fi(R({common:R({},vu),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:gu,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),o)}const Pu=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Au={textTransform:"uppercase"},$u='"Roboto", "Helvetica", "Arial", sans-serif';function Mu(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=$u,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=Ba(n,Pu);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=o/14,m=d||(e=>e/c*p+"rem"),h=(e,t,n,o,i)=>{return R({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n},r===$u?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},y={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,Au),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,Au),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fi(R({htmlFontSize:c,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},y),f,{clone:!1})}function Ru(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Iu=["none",Ru(0,2,1,-1,0,1,1,0,0,1,3,0),Ru(0,3,1,-2,0,2,2,0,0,1,5,0),Ru(0,3,3,-2,0,3,4,0,0,1,8,0),Ru(0,2,4,-1,0,4,5,0,0,1,10,0),Ru(0,3,5,-1,0,5,8,0,0,1,14,0),Ru(0,3,5,-1,0,6,10,0,0,1,18,0),Ru(0,4,5,-2,0,7,10,1,0,2,16,1),Ru(0,5,5,-3,0,8,10,1,0,3,14,2),Ru(0,5,6,-3,0,9,12,1,0,3,16,2),Ru(0,6,6,-3,0,10,14,1,0,4,18,3),Ru(0,6,7,-4,0,11,15,1,0,4,20,3),Ru(0,7,8,-4,0,12,17,2,0,5,22,4),Ru(0,7,8,-4,0,13,19,2,0,5,24,4),Ru(0,7,9,-4,0,14,21,2,0,5,26,4),Ru(0,8,9,-5,0,15,22,2,0,6,28,5),Ru(0,8,10,-5,0,16,24,2,0,6,30,5),Ru(0,8,11,-5,0,17,26,2,0,6,32,5),Ru(0,9,11,-5,0,18,28,2,0,7,34,6),Ru(0,9,12,-6,0,19,29,2,0,7,36,6),Ru(0,10,13,-6,0,20,31,3,0,8,38,7),Ru(0,10,13,-6,0,21,33,3,0,8,40,7),Ru(0,10,14,-6,0,22,35,3,0,8,42,7),Ru(0,11,14,-7,0,23,36,3,0,9,44,8),Ru(0,11,15,-7,0,24,38,3,0,9,46,8)],ju=["duration","easing","delay"],Du={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Lu={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function zu(e){return`${Math.round(e)}ms`}function Vu(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fu(e){const t=R({},Du,e.easing),n=R({},Lu,e.duration);return R({getAutoHeightDuration:Vu,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r,s=Ba(r,ju);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),n(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),n(a)||t(a)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof r&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:zu(o)} ${i} ${"string"==typeof a?a:zu(a)}`)).join(",")}},e,{easing:t,duration:n})}var Wu={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Bu=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Hu=function(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Ba(e,Bu);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":pa(18));const s=_u(r),l=Zc(e);let c=Fi(l,{mixins:(u=l.breakpoints,d=n,R({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:s,shadows:Iu.slice(),typography:Mu(s,i),transitions:Fu(o),zIndex:R({},Wu)});var u,d;if(c=Fi(c,a),c=t.reduce(((e,t)=>Fi(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let r;for(r in t){const o=t[r];if(-1!==e.indexOf(r)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=Wa("",r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=R({},Gc,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Yc({sx:e,theme:this})},c}();var Uu=Hu,Ku="$$material";const qu=function(e={}){const{themeId:t,defaultTheme:n=iu,rootShouldForwardProp:r=ou,slotShouldForwardProp:o=ou}=e,i=e=>Yc(R({},e,{theme:su(R({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=lu(au(l))}=a,f=Ba(a,ru),p=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let h;"production"!==process.env.NODE_ENV&&s&&(h=`${s}-${au(l||"Root")}`);let y=ou;"Root"===l||"root"===l?y=r:l?y=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(y=void 0);const v=
|
|
28
|
+
*/"production"===process.env.NODE_ENV?ha.exports=function(){if(ma)return va;ma=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case i:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case p:case f:case a:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),va.ContextConsumer=s,va.ContextProvider=a,va.Element=t,va.ForwardRef=c,va.Fragment=r,va.Lazy=p,va.Memo=f,va.Portal=n,va.Profiler=i,va.StrictMode=o,va.Suspense=u,va.SuspenseList=d,va.isAsyncMode=function(){return!1},va.isConcurrentMode=function(){return!1},va.isContextConsumer=function(e){return h(e)===s},va.isContextProvider=function(e){return h(e)===a},va.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},va.isForwardRef=function(e){return h(e)===c},va.isFragment=function(e){return h(e)===r},va.isLazy=function(e){return h(e)===p},va.isMemo=function(e){return h(e)===f},va.isPortal=function(e){return h(e)===n},va.isProfiler=function(e){return h(e)===i},va.isStrictMode=function(e){return h(e)===o},va.isSuspense=function(e){return h(e)===u},va.isSuspenseList=function(e){return h(e)===d},va.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},va.typeOf=h,va}():ha.exports=(ya||(ya=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var h=e.type;switch(h){case r:case i:case o:case u:case d:return h;default:var v=h&&h.$$typeof;switch(v){case l:case s:case c:case p:case f:case a:return v;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var v=s,y=a,g=t,b=c,w=r,x=p,E=f,S=n,k=i,O=o,N=u,C=d,T=!1,_=!1;ga.ContextConsumer=v,ga.ContextProvider=y,ga.Element=g,ga.ForwardRef=b,ga.Fragment=w,ga.Lazy=x,ga.Memo=E,ga.Portal=S,ga.Profiler=k,ga.StrictMode=O,ga.Suspense=N,ga.SuspenseList=C,ga.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ga.isConcurrentMode=function(e){return _||(_=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ga.isContextConsumer=function(e){return h(e)===s},ga.isContextProvider=function(e){return h(e)===a},ga.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ga.isForwardRef=function(e){return h(e)===c},ga.isFragment=function(e){return h(e)===r},ga.isLazy=function(e){return h(e)===p},ga.isMemo=function(e){return h(e)===f},ga.isPortal=function(e){return h(e)===n},ga.isProfiler=function(e){return h(e)===i},ga.isStrictMode=function(e){return h(e)===o},ga.isSuspense=function(e){return h(e)===u},ga.isSuspenseList=function(e){return h(e)===d},ga.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},ga.typeOf=h}()),ga);var ba=ha.exports;const wa=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function xa(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(wa);return t&&t[1]||""}(e)||t}function Ea(e,t,n){const r=xa(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function Sa(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":pa(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ka(e){return e&&e.ownerDocument||document}function Oa(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Na="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let Ca=0;const Ta=e["useId".toString()];class _a{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new _a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}let Pa=!0,Aa=!1;const $a=new _a,Ma={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ra(e){e.metaKey||e.altKey||e.ctrlKey||(Pa=!0)}function Ia(){Pa=!1}function ja(){"hidden"===this.visibilityState&&Aa&&(Pa=!0)}function Da(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Pa||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Ma[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function La(e,t){const n=R({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=R({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=R({},i),Object.keys(o).forEach((e=>{n[r][e]=La(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}const za=e=>e,Va=(()=>{let e=za;return{configure(t){e=t},generate:t=>e(t),reset(){e=za}}})(),Fa={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Wa(e,t,n="Mui"){const r=Fa[t];return r?`${n}-${r}`:`${Va.generate(e)}-${t}`}function Ba(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ha(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ua=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ka=Ha((function(e){return Ua.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var qa=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\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||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ga="-ms-",Ya="-moz-",Xa="-webkit-",Ja="comm",Za="rule",Qa="decl",es="@keyframes",ts=Math.abs,ns=String.fromCharCode,rs=Object.assign;function os(e){return e.trim()}function is(e,t,n){return e.replace(t,n)}function as(e,t){return e.indexOf(t)}function ss(e,t){return 0|e.charCodeAt(t)}function ls(e,t,n){return e.slice(t,n)}function cs(e){return e.length}function us(e){return e.length}function ds(e,t){return t.push(e),e}var fs=1,ps=1,ms=0,hs=0,vs=0,ys="";function gs(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:fs,column:ps,length:a,return:""}}function bs(e,t){return rs(gs("",null,null,"",null,null,0),e,{length:-e.length},t)}function ws(){return vs=hs>0?ss(ys,--hs):0,ps--,10===vs&&(ps=1,fs--),vs}function xs(){return vs=hs<ms?ss(ys,hs++):0,ps++,10===vs&&(ps=1,fs++),vs}function Es(){return ss(ys,hs)}function Ss(){return hs}function ks(e,t){return ls(ys,e,t)}function Os(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 Ns(e){return fs=ps=1,ms=cs(ys=e),hs=0,[]}function Cs(e){return ys="",e}function Ts(e){return os(ks(hs-1,As(91===e?e+2:40===e?e+1:e)))}function _s(e){for(;(vs=Es())&&vs<33;)xs();return Os(e)>2||Os(vs)>3?"":" "}function Ps(e,t){for(;--t&&xs()&&!(vs<48||vs>102||vs>57&&vs<65||vs>70&&vs<97););return ks(e,Ss()+(t<6&&32==Es()&&32==xs()))}function As(e){for(;xs();)switch(vs){case e:return hs;case 34:case 39:34!==e&&39!==e&&As(vs);break;case 40:41===e&&As(e);break;case 92:xs()}return hs}function $s(e,t){for(;xs()&&e+vs!==57&&(e+vs!==84||47!==Es()););return"/*"+ks(t,hs-1)+"*"+ns(47===e?e:xs())}function Ms(e){for(;!Os(Es());)xs();return ks(e,hs)}function Rs(e){return Cs(Is("",null,null,null,[""],e=Ns(e),0,[0],e))}function Is(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,m=0,h=1,v=1,y=1,g=0,b="",w=o,x=i,E=r,S=b;v;)switch(m=g,g=xs()){case 40:if(108!=m&&58==ss(S,d-1)){-1!=as(S+=is(Ts(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=Ts(g);break;case 9:case 10:case 13:case 32:S+=_s(m);break;case 92:S+=Ps(Ss()-1,7);continue;case 47:switch(Es()){case 42:case 47:ds(Ds($s(xs(),Ss()),t,n),l);break;default:S+="/"}break;case 123*h:s[c++]=cs(S)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+u:-1==y&&(S=is(S,/\f/g,"")),p>0&&cs(S)-d&&ds(p>32?Ls(S+";",r,n,d-1):Ls(is(S," ","")+";",r,n,d-2),l);break;case 59:S+=";";default:if(ds(E=js(S,t,n,c,u,o,s,b,w=[],x=[],d),i),123===g)if(0===u)Is(S,t,E,E,w,i,d,s,x);else switch(99===f&&110===ss(S,3)?100:f){case 100:case 108:case 109:case 115:Is(e,E,E,r&&ds(js(e,E,E,0,0,o,s,b,o,w=[],d),x),o,x,d,s,r?w:x);break;default:Is(S,E,E,E,[""],x,0,s,x)}}c=u=p=0,h=y=1,b=S="",d=a;break;case 58:d=1+cs(S),p=m;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==ws())continue;switch(S+=ns(g),g*h){case 38:y=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(cs(S)-1)*y,y=1;break;case 64:45===Es()&&(S+=Ts(xs())),f=Es(),u=d=cs(b=S+=Ms(Ss())),g++;break;case 45:45===m&&2==cs(S)&&(h=0)}}return i}function js(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=us(f),m=0,h=0,v=0;m<r;++m)for(var y=0,g=ls(e,d+1,d=ts(h=a[m])),b=e;y<p;++y)(b=os(h>0?f[y]+" "+g:is(g,/&\f/g,f[y])))&&(l[v++]=b);return gs(e,t,n,0===o?Za:s,l,c,u)}function Ds(e,t,n){return gs(e,t,n,Ja,ns(vs),ls(e,2,-2),0)}function Ls(e,t,n,r){return gs(e,t,n,Qa,ls(e,0,r),ls(e,r+1,-1),r)}function zs(e,t){for(var n="",r=us(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Vs(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Qa:return e.return=e.return||e.value;case Ja:return"";case es:return e.return=e.value+"{"+zs(e.children,r)+"}";case Za:e.value=e.props.join(",")}return cs(n=zs(e.children,r))?e.return=e.value+"{"+n+"}":""}function Fs(e){var t=us(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var Ws=function(e,t,n){for(var r=0,o=0;r=o,o=Es(),38===r&&12===o&&(t[n]=1),!Os(o);)xs();return ks(e,hs)},Bs=function(e,t){return Cs(function(e,t){var n=-1,r=44;do{switch(Os(r)){case 0:38===r&&12===Es()&&(t[n]=1),e[n]+=Ws(hs-1,t,n);break;case 2:e[n]+=Ts(r);break;case 4:if(44===r){e[++n]=58===Es()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ns(r)}}while(r=xs());return e}(Ns(e),t))},Hs=new WeakMap,Us=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Hs.get(n))&&!r){Hs.set(e,!0);for(var o=[],i=Bs(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Ks=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},qs=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Gs=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ys=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Xs=function(e,t,n){Gs(e)&&(e.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."),Ys(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Gs(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ys(e)))};function Js(e,t){switch(function(e,t){return 45^ss(e,0)?(((t<<2^ss(e,0))<<2^ss(e,1))<<2^ss(e,2))<<2^ss(e,3):0}(e,t)){case 5103:return Xa+"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 Xa+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xa+e+Ya+e+Ga+e+e;case 6828:case 4268:return Xa+e+Ga+e+e;case 6165:return Xa+e+Ga+"flex-"+e+e;case 5187:return Xa+e+is(e,/(\w+).+(:[^]+)/,Xa+"box-$1$2"+Ga+"flex-$1$2")+e;case 5443:return Xa+e+Ga+"flex-item-"+is(e,/flex-|-self/,"")+e;case 4675:return Xa+e+Ga+"flex-line-pack"+is(e,/align-content|flex-|-self/,"")+e;case 5548:return Xa+e+Ga+is(e,"shrink","negative")+e;case 5292:return Xa+e+Ga+is(e,"basis","preferred-size")+e;case 6060:return Xa+"box-"+is(e,"-grow","")+Xa+e+Ga+is(e,"grow","positive")+e;case 4554:return Xa+is(e,/([^-])(transform)/g,"$1"+Xa+"$2")+e;case 6187:return is(is(is(e,/(zoom-|grab)/,Xa+"$1"),/(image-set)/,Xa+"$1"),e,"")+e;case 5495:case 3959:return is(e,/(image-set\([^]*)/,Xa+"$1$`$1");case 4968:return is(is(e,/(.+:)(flex-)?(.*)/,Xa+"box-pack:$3"+Ga+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xa+e+e;case 4095:case 3583:case 4068:case 2532:return is(e,/(.+)-inline(.+)/,Xa+"$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(cs(e)-1-t>6)switch(ss(e,t+1)){case 109:if(45!==ss(e,t+4))break;case 102:return is(e,/(.+:)(.+)-([^]+)/,"$1"+Xa+"$2-$3$1"+Ya+(108==ss(e,t+3)?"$3":"$2-$3"))+e;case 115:return~as(e,"stretch")?Js(is(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ss(e,t+1))break;case 6444:switch(ss(e,cs(e)-3-(~as(e,"!important")&&10))){case 107:return is(e,":",":"+Xa)+e;case 101:return is(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xa+(45===ss(e,14)?"inline-":"")+"box$3$1"+Xa+"$2$3$1"+Ga+"$2box$3")+e}break;case 5936:switch(ss(e,t+11)){case 114:return Xa+e+Ga+is(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xa+e+Ga+is(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xa+e+Ga+is(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xa+e+Ga+e+e}return e}var Zs,Qs,el="undefined"!=typeof document,tl=el?void 0:(Zs=function(){return Ha((function(){var e={};return function(t){return e[t]}}))},Qs=new WeakMap,function(e){if(Qs.has(e))return Qs.get(e);var t=Zs(e);return Qs.set(e,t),t}),nl=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Qa:e.return=Js(e.value,e.length);break;case es:return zs([bs(e,{value:is(e.value,"@","@"+Xa)})],r);case Za:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zs([bs(e,{props:[is(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return zs([bs(e,{props:[is(t,/:(plac\w+)/,":"+Xa+"input-$1")]}),bs(e,{props:[is(t,/:(plac\w+)/,":-moz-$1")]}),bs(e,{props:[is(t,/:(plac\w+)/,Ga+"input-$1")]})],r)}return""}))}}],rl=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)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.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(el&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||nl;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];el&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l,c=[Us,Ks];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(qs(s))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return y.compat}}),Xs),el){var u,d=[Vs,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==Ja&&u.insert(e.value+"{}"))}:(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=Fs(c.concat(r,d));i=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),zs(Rs(e?e+"{"+t.styles+"}":t.styles),f),r&&(y.inserted[t.name]=!0)}}else{var p=[Vs],m=Fs(c.concat(r,p)),h=tl(r)(t),v=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=zs(Rs(e?e+"{"+t.styles+"}":t.styles),m)),h[n]};i=function(e,t,n,r){var o=t.name,i=v(e,t);return void 0===y.compat?(r&&(y.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):r?void(y.inserted[o]=i):i}}var y={key:t,sheet:new qa({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return y.sheet.hydrate(s),y},ol="undefined"!=typeof document;function il(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var al=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ol&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},sl=function(e,t,n){al(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);ol||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ol&&0!==o.length)return o}};var ll={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},cl="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ul="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",dl=/[A-Z]|^ms/g,fl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pl=function(e){return 45===e.charCodeAt(1)},ml=function(e){return null!=e&&"boolean"!=typeof e},hl=Ha((function(e){return pl(e)?e:e.replace(dl,"-$&").toLowerCase()})),vl=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fl,(function(e,t,n){return Nl={name:t,styles:n,next:Nl},t}))}return 1===ll[e]||pl(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var yl=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,gl=["normal","none","initial","inherit","unset"],bl=vl,wl=/^-ms-/,xl=/-(.)/g,El={};vl=function(e,t){if("content"===e&&("string"!=typeof t||-1===gl.indexOf(t)&&!yl.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=bl(e,t);return""===n||pl(e)||-1===e.indexOf("-")||void 0!==El[e]||(El[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(wl,"ms-").replace(xl,(function(e,t){return t.toUpperCase()}))+"?")),n}}var Sl="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function kl(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(Sl);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Nl={name:n.name,styles:n.styles,next:Nl},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Nl={name:r.name,styles:r.styles,next:Nl},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=kl(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":ml(a)&&(r+=hl(i)+":"+vl(i,a)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(Sl);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=kl(e,t,a);switch(i){case"animation":case"animationName":r+=hl(i)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(ul),r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)ml(a[l])&&(r+=hl(i)+":"+vl(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=Nl,a=n(e);return Nl=i,kl(e,t,a)}"production"!==process.env.NODE_ENV&&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("production"!==process.env.NODE_ENV){var s=[],l=n.replace(fl,(function(e,t,n){var r="animation"+s.length;return s.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var Ol,Nl,Cl=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Ol=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Tl=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Nl=void 0;var i,a=e[0];null==a||void 0===a.raw?(r=!1,o+=kl(n,t,a)):("production"!==process.env.NODE_ENV&&void 0===a[0]&&console.error(cl),o+=a[0]);for(var s=1;s<e.length;s++)o+=kl(n,t,e[s]),r&&("production"!==process.env.NODE_ENV&&void 0===a[s]&&console.error(cl),o+=a[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Ol,(function(e){return i=e,""}))),Cl.lastIndex=0;for(var l,c="";null!==(l=Cl.exec(o));)c+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:i,next:Nl,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:u,styles:o,next:Nl}},_l="undefined"!=typeof document,Pl=function(e){return e()},Al=!!e.useInsertionEffect&&e.useInsertionEffect,$l=_l&&Al||Pl,Ml="undefined"!=typeof document,Rl={}.hasOwnProperty,Il=e.createContext("undefined"!=typeof HTMLElement?rl({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Il.displayName="EmotionCacheContext"),Il.Provider;var jl=function(e){return d((function(t,n){var r=i(Il);return e(t,r,n)}))};Ml||(jl=function(t){return function(n){var r=i(Il);return null===r?(r=rl({key:"css"}),e.createElement(Il.Provider,{value:r},t(n,r))):t(n,r)}});var Dl=e.createContext({});"production"!==process.env.NODE_ENV&&(Dl.displayName="EmotionThemeContext");var Ll="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zl="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Vl=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;al(n,r,o);var i=$l((function(){return sl(n,r,o)}));if(!Ml&&void 0!==i){for(var a,s=r.name,l=r.next;void 0!==l;)s+=" "+l.name,l=l.next;return e.createElement("style",((a={})["data-emotion"]=n.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=n.sheet.nonce,a))}return null},Fl=jl((function(t,n,r){var o=t.css;"string"==typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var i=t[Ll],a=[o],s="";"string"==typeof t.className?s=il(n.registered,a,t.className):null!=t.className&&(s=t.className+" ");var l=Tl(a,void 0,e.useContext(Dl));if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var c=t[zl];c&&(l=Tl([l,"label:"+c+";"]))}s+=n.key+"-"+l.name;var u={};for(var d in t)!Rl.call(t,d)||"css"===d||d===Ll||"production"!==process.env.NODE_ENV&&d===zl||(u[d]=t[d]);return u.ref=r,u.className=s,e.createElement(e.Fragment,null,e.createElement(Vl,{cache:n,serialized:l,isStringTag:"string"==typeof i}),e.createElement(i,u))}));"production"!==process.env.NODE_ENV&&(Fl.displayName="EmotionCssPropInternal");var Wl=Ka,Bl=function(e){return"theme"!==e},Hl=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Wl:Bl},Ul=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Kl="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ql="undefined"!=typeof document,Gl=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;al(n,r,o);var i=$l((function(){return sl(n,r,o)}));if(!ql&&void 0!==i){for(var a,s=r.name,l=r.next;void 0!==l;)s+=" "+l.name,l=l.next;return e.createElement("style",((a={})["data-emotion"]=n.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=n.sheet.nonce,a))}return null},Yl=function t(n,r){if("production"!==process.env.NODE_ENV&&void 0===n)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var o,i,a=n.__emotion_real===n,s=a&&n.__emotion_base||n;void 0!==r&&(o=r.label,i=r.target);var l=Ul(n,r,a),c=l||Hl(s),u=!c("as");return function(){var d=arguments,f=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&f.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(Kl),f.push(d[0][0]);for(var p=d.length,m=1;m<p;m++)"production"!==process.env.NODE_ENV&&void 0===d[0][m]&&console.error(Kl),f.push(d[m],d[0][m])}var h=jl((function(t,n,r){var o=u&&t.as||s,a="",d=[],p=t;if(null==t.theme){for(var m in p={},t)p[m]=t[m];p.theme=e.useContext(Dl)}"string"==typeof t.className?a=il(n.registered,d,t.className):null!=t.className&&(a=t.className+" ");var h=Tl(f.concat(d),n.registered,p);a+=n.key+"-"+h.name,void 0!==i&&(a+=" "+i);var v=u&&void 0===l?Hl(o):c,y={};for(var g in t)u&&"as"===g||v(g)&&(y[g]=t[g]);return y.className=a,y.ref=r,e.createElement(e.Fragment,null,e.createElement(Gl,{cache:n,serialized:h,isStringTag:"string"==typeof o}),e.createElement(o,y))}));return h.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=n.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=f,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return void 0===i&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+i}}),h.withComponent=function(e,n){return t(e,R({},r,n,{shouldForwardProp:Ul(h,n,!0)})).apply(void 0,f)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Yl[e]=Yl(e)}));const Xl=["values","unit","step"],Jl=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>R({},e,{[t.key]:t.val})),{})};var Zl={borderRadius:4};var Ql="production"!==process.env.NODE_ENV?fa.oneOfType([fa.number,fa.string,fa.object,fa.array]):{};function ec(e,t){return t?Fi(e,t,{clone:!1}):e}const tc={xs:0,sm:600,md:900,lg:1200,xl:1536},nc={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${tc[e]}px)`};function rc(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||nc;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||nc;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||tc).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function oc(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function ic(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:oc(e,n)||r,t&&(o=t(o,r,e)),o}function ac(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=oc(e.theme,r)||{};return rc(e,i,(e=>{let r=ic(a,o,e);return e===r&&"string"==typeof e&&(r=ic(a,o,`${t}${"default"===e?"":Sa(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:Ql}:{},i.filterProps=[t],i}const sc={m:"margin",p:"padding"},lc={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},cc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},uc=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!cc[e])return[e];e=cc[e]}const[t,n]=e.split(""),r=sc[t],o=lc[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),dc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],pc=[...dc,...fc];function mc(e,t,n,r){var o;const i=null!=(o=oc(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function hc(e){return mc(e,"spacing",8,"spacing")}function vc(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function yc(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=vc(t,n),e)),{})}(uc(n),r);return rc(e,e[n],o)}function gc(e,t){const n=hc(e.theme);return Object.keys(e).map((r=>yc(e,t,r,n))).reduce(ec,{})}function bc(e){return gc(e,dc)}function wc(e){return gc(e,fc)}function xc(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?ec(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Ec(e){return"number"!=typeof e?e:`${e}px solid`}function Sc(e,t){return ac({prop:e,themeKey:"borders",transform:t})}bc.propTypes="production"!==process.env.NODE_ENV?dc.reduce(((e,t)=>(e[t]=Ql,e)),{}):{},bc.filterProps=dc,wc.propTypes="production"!==process.env.NODE_ENV?fc.reduce(((e,t)=>(e[t]=Ql,e)),{}):{},wc.filterProps=fc,"production"===process.env.NODE_ENV||pc.reduce(((e,t)=>(e[t]=Ql,e)),{});const kc=Sc("border",Ec),Oc=Sc("borderTop",Ec),Nc=Sc("borderRight",Ec),Cc=Sc("borderBottom",Ec),Tc=Sc("borderLeft",Ec),_c=Sc("borderColor"),Pc=Sc("borderTopColor"),Ac=Sc("borderRightColor"),$c=Sc("borderBottomColor"),Mc=Sc("borderLeftColor"),Rc=Sc("outline",Ec),Ic=Sc("outlineColor"),jc=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=mc(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:vc(t,e)});return rc(e,e.borderRadius,n)}return null};jc.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Ql}:{},jc.filterProps=["borderRadius"],xc(kc,Oc,Nc,Cc,Tc,_c,Pc,Ac,$c,Mc,jc,Rc,Ic);const Dc=e=>{if(void 0!==e.gap&&null!==e.gap){const t=mc(e.theme,"spacing",8,"gap"),n=e=>({gap:vc(t,e)});return rc(e,e.gap,n)}return null};Dc.propTypes="production"!==process.env.NODE_ENV?{gap:Ql}:{},Dc.filterProps=["gap"];const Lc=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=mc(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:vc(t,e)});return rc(e,e.columnGap,n)}return null};Lc.propTypes="production"!==process.env.NODE_ENV?{columnGap:Ql}:{},Lc.filterProps=["columnGap"];const zc=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=mc(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:vc(t,e)});return rc(e,e.rowGap,n)}return null};zc.propTypes="production"!==process.env.NODE_ENV?{rowGap:Ql}:{},zc.filterProps=["rowGap"];function Vc(e,t){return"grey"===t?t:e}xc(Dc,Lc,zc,ac({prop:"gridColumn"}),ac({prop:"gridRow"}),ac({prop:"gridAutoFlow"}),ac({prop:"gridAutoColumns"}),ac({prop:"gridAutoRows"}),ac({prop:"gridTemplateColumns"}),ac({prop:"gridTemplateRows"}),ac({prop:"gridTemplateAreas"}),ac({prop:"gridArea"}));function Fc(e){return e<=1&&0!==e?100*e+"%":e}xc(ac({prop:"color",themeKey:"palette",transform:Vc}),ac({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Vc}),ac({prop:"backgroundColor",themeKey:"palette",transform:Vc}));const Wc=ac({prop:"width",transform:Fc}),Bc=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||tc[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Fc(t)}};return rc(e,e.maxWidth,t)}return null};Bc.filterProps=["maxWidth"];const Hc=ac({prop:"minWidth",transform:Fc}),Uc=ac({prop:"height",transform:Fc}),Kc=ac({prop:"maxHeight",transform:Fc}),qc=ac({prop:"minHeight",transform:Fc});ac({prop:"size",cssProperty:"width",transform:Fc}),ac({prop:"size",cssProperty:"height",transform:Fc});xc(Wc,Bc,Hc,Uc,Kc,qc,ac({prop:"boxSizing"}));var Gc={border:{themeKey:"borders",transform:Ec},borderTop:{themeKey:"borders",transform:Ec},borderRight:{themeKey:"borders",transform:Ec},borderBottom:{themeKey:"borders",transform:Ec},borderLeft:{themeKey:"borders",transform:Ec},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ec},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jc},color:{themeKey:"palette",transform:Vc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Vc},backgroundColor:{themeKey:"palette",transform:Vc},p:{style:wc},pt:{style:wc},pr:{style:wc},pb:{style:wc},pl:{style:wc},px:{style:wc},py:{style:wc},padding:{style:wc},paddingTop:{style:wc},paddingRight:{style:wc},paddingBottom:{style:wc},paddingLeft:{style:wc},paddingX:{style:wc},paddingY:{style:wc},paddingInline:{style:wc},paddingInlineStart:{style:wc},paddingInlineEnd:{style:wc},paddingBlock:{style:wc},paddingBlockStart:{style:wc},paddingBlockEnd:{style:wc},m:{style:bc},mt:{style:bc},mr:{style:bc},mb:{style:bc},ml:{style:bc},mx:{style:bc},my:{style:bc},margin:{style:bc},marginTop:{style:bc},marginRight:{style:bc},marginBottom:{style:bc},marginLeft:{style:bc},marginX:{style:bc},marginY:{style:bc},marginInline:{style:bc},marginInlineStart:{style:bc},marginInlineEnd:{style:bc},marginBlock:{style:bc},marginBlockStart:{style:bc},marginBlockEnd:{style:bc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Dc},rowGap:{style:zc},columnGap:{style:Lc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fc},maxWidth:{style:Bc},minWidth:{transform:Fc},height:{transform:Fc},maxHeight:{transform:Fc},minHeight:{transform:Fc},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Yc=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=oc(n,s)||{};if(c)return c(o);return rc(o,t,(t=>{let n=ic(u,l,t);return t===n&&"string"==typeof t&&(n=ic(u,l,`${e}${"default"===t?"":Sa(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Gc;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(a[n])l=ec(l,e(n,o,i,a));else{const e=rc({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=ec(l,e):l[n]=t({sx:o,theme:i})}else l=ec(l,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();function Xc(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}Yc.filterProps=["sx"];const Jc=["breakpoints","palette","spacing","shape"];function Zc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Ba(e,Jc),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ba(e,Xl),i=Jl(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return R({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}(n),l=function(e=8){if(e.mui)return e;const t=hc({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(o);let c=Fi({breakpoints:s,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:l,shape:R({},Zl,i)},a);return c.applyStyles=Xc,c=t.reduce(((e,t)=>Fi(e,t)),c),c.unstable_sxConfig=R({},Gc,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Yc({sx:e,theme:this})},c}function Qc(t=null){const n=e.useContext(Dl);return n&&(r=n,0!==Object.keys(r).length)?n:t;var r}const eu=Zc();const tu=["ownerState"],nu=["variants"],ru=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ou(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const iu=Zc(),au=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function su({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function lu(e){return e?(t,n)=>n[e]:null}function cu(e,t){let{ownerState:n}=t,r=Ba(t,tu);const o="function"==typeof e?e(R({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>cu(e,R({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=Ba(o,nu);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(R({ownerState:n},r)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(R({ownerState:n},r)):e.style))})),t}return o}function uu(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?La(t.components[n].defaultProps,r):r}function du({props:e,name:t,defaultTheme:n,themeId:r}){let o=function(e=eu){return Qc(e)}(n);r&&(o=o[r]||o);return uu({theme:o,name:t,props:e})}function fu(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function pu(e){if(e.type)return e;if("#"===e.charAt(0))return pu(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:pa(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:pa(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function mu(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function hu(e){let t="hsl"===(e=pu(e)).type||"hsla"===e.type?pu(function(e){e=pu(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),mu({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vu(e,t){const n=hu(e),r=hu(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var yu={black:"#000",white:"#fff"};var gu={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var bu={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var wu={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var xu={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var Eu={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var Su={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var ku={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const Ou=["mode","contrastThreshold","tonalOffset"],Nu={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:yu.white,default:yu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Cu={text:{primary:yu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:yu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Tu(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=pu(e),t=fu(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mu(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=pu(e),t=fu(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mu(e)}(e.main,i)))}function _u(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ba(e,Ou),i=e.primary||function(e="light"){return"dark"===e?{main:Eu[200],light:Eu[50],dark:Eu[400]}:{main:Eu[700],light:Eu[400],dark:Eu[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:bu[200],light:bu[50],dark:bu[400]}:{main:bu[500],light:bu[300],dark:bu[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:wu[500],light:wu[300],dark:wu[700]}:{main:wu[700],light:wu[400],dark:wu[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Su[400],light:Su[300],dark:Su[700]}:{main:Su[700],light:Su[500],dark:Su[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:ku[400],light:ku[300],dark:ku[700]}:{main:ku[800],light:ku[500],dark:ku[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:xu[400],light:xu[300],dark:xu[700]}:{main:"#ed6c02",light:xu[500],dark:xu[900]}}(t);function d(e){const t=vu(e,Cu.text.primary)>=n?Cu.text.primary:Nu.text.primary;if("production"!==process.env.NODE_ENV){const n=vu(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=R({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:pa(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:pa(12,t?` (${t})`:"",JSON.stringify(e.main)));return Tu(e,"light",o,r),Tu(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:Cu,light:Nu};"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return Fi(R({common:R({},yu),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:gu,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),o)}const Pu=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Au={textTransform:"uppercase"},$u='"Roboto", "Helvetica", "Arial", sans-serif';function Mu(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=$u,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=Ba(n,Pu);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=o/14,m=d||(e=>e/c*p+"rem"),h=(e,t,n,o,i)=>{return R({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n},r===$u?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},v={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,Au),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,Au),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fi(R({htmlFontSize:c,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},v),f,{clone:!1})}function Ru(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Iu=["none",Ru(0,2,1,-1,0,1,1,0,0,1,3,0),Ru(0,3,1,-2,0,2,2,0,0,1,5,0),Ru(0,3,3,-2,0,3,4,0,0,1,8,0),Ru(0,2,4,-1,0,4,5,0,0,1,10,0),Ru(0,3,5,-1,0,5,8,0,0,1,14,0),Ru(0,3,5,-1,0,6,10,0,0,1,18,0),Ru(0,4,5,-2,0,7,10,1,0,2,16,1),Ru(0,5,5,-3,0,8,10,1,0,3,14,2),Ru(0,5,6,-3,0,9,12,1,0,3,16,2),Ru(0,6,6,-3,0,10,14,1,0,4,18,3),Ru(0,6,7,-4,0,11,15,1,0,4,20,3),Ru(0,7,8,-4,0,12,17,2,0,5,22,4),Ru(0,7,8,-4,0,13,19,2,0,5,24,4),Ru(0,7,9,-4,0,14,21,2,0,5,26,4),Ru(0,8,9,-5,0,15,22,2,0,6,28,5),Ru(0,8,10,-5,0,16,24,2,0,6,30,5),Ru(0,8,11,-5,0,17,26,2,0,6,32,5),Ru(0,9,11,-5,0,18,28,2,0,7,34,6),Ru(0,9,12,-6,0,19,29,2,0,7,36,6),Ru(0,10,13,-6,0,20,31,3,0,8,38,7),Ru(0,10,13,-6,0,21,33,3,0,8,40,7),Ru(0,10,14,-6,0,22,35,3,0,8,42,7),Ru(0,11,14,-7,0,23,36,3,0,9,44,8),Ru(0,11,15,-7,0,24,38,3,0,9,46,8)],ju=["duration","easing","delay"],Du={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Lu={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function zu(e){return`${Math.round(e)}ms`}function Vu(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fu(e){const t=R({},Du,e.easing),n=R({},Lu,e.duration);return R({getAutoHeightDuration:Vu,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r,s=Ba(r,ju);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),n(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),n(a)||t(a)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof r&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:zu(o)} ${i} ${"string"==typeof a?a:zu(a)}`)).join(",")}},e,{easing:t,duration:n})}var Wu={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Bu=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Hu=function(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Ba(e,Bu);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":pa(18));const s=_u(r),l=Zc(e);let c=Fi(l,{mixins:(u=l.breakpoints,d=n,R({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:s,shadows:Iu.slice(),typography:Mu(s,i),transitions:Fu(o),zIndex:R({},Wu)});var u,d;if(c=Fi(c,a),c=t.reduce(((e,t)=>Fi(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let r;for(r in t){const o=t[r];if(-1!==e.indexOf(r)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=Wa("",r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=R({},Gc,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Yc({sx:e,theme:this})},c}();var Uu=Hu,Ku="$$material";const qu=function(e={}){const{themeId:t,defaultTheme:n=iu,rootShouldForwardProp:r=ou,slotShouldForwardProp:o=ou}=e,i=e=>Yc(R({},e,{theme:su(R({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=lu(au(l))}=a,f=Ba(a,ru),p=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let h;"production"!==process.env.NODE_ENV&&s&&(h=`${s}-${au(l||"Root")}`);let v=ou;"Root"===l||"root"===l?v=r:l?v=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const y=
|
|
29
29
|
/**
|
|
30
30
|
* @mui/styled-engine v5.15.9
|
|
31
31
|
*
|
|
@@ -33,5 +33,5 @@ object-assign
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
function(e,t){const n=Yl(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}(e,R({shouldForwardProp:y,label:h},f)),g=e=>"function"==typeof e&&e.__emotion_real!==e||zi(e)?r=>cu(e,R({},r,{theme:su({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let a=g(r);const c=o?o.map(g):[];s&&d&&c.push((e=>{const r=su(R({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[s]||!r.components[s].styleOverrides)return null;const o=r.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=cu(n,R({},e,{theme:r}))})),d(e,i)})),s&&!p&&c.push((e=>{var r;const o=su(R({},e,{defaultTheme:n,themeId:t}));return cu({variants:null==o||null==(r=o.components)||null==(r=r[s])?void 0:r.variants},R({},e,{theme:o}))})),m||c.push(i);const u=c.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const f=v(a,...c);if("production"!==process.env.NODE_ENV){let t;s&&(t=`${s}${Sa(l||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return xa(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ba.ForwardRef:return Ea(e,e.render,"ForwardRef");case ba.Memo:return Ea(e,e.type,"memo");default:return}}}(e)})`),f.displayName=t}return e.muiName&&(f.muiName=e.muiName),f};return v.withConfig&&(b.withConfig=v.withConfig),b}}({themeId:Ku,defaultTheme:Uu,rootShouldForwardProp:e=>ou(e)&&"classes"!==e});function Gu(e){return Wa("MuiSvgIcon",e)}!function(e,t,n="Mui"){const r={};t.forEach((t=>{r[t]=Wa(e,t,n)}))}("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Yu=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Xu=e=>{const{color:t,fontSize:n,classes:r}=e;return function(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}({root:["root","inherit"!==t&&`color${Sa(t)}`,`fontSize${Sa(n)}`]},Gu,r)},Ju=qu("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Sa(n.color)}`],t[`fontSize${Sa(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,f,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?d:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}})),Zu=e.forwardRef((function(t,n){const r=function({props:e,name:t}){return du({props:e,name:t,defaultTheme:Uu,themeId:Ku})}({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=Ba(r,Yu),m=e.isValidElement(o)&&"svg"===o.type,h=R({},r,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m}),y={};u||(y.viewBox=f);const v=Xu(h);return E(Ju,R({as:s,className:rn(v.root,i),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:n},y,p,m&&o.props,{ownerState:h,children:[m?o.props.children:o,d?S("title",{children:d}):null]}))}));"production"!==process.env.NODE_ENV&&(Zu.propTypes={children:fa.node,classes:fa.object,className:fa.string,color:fa.oneOfType([fa.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),fa.string]),component:fa.elementType,fontSize:fa.oneOfType([fa.oneOf(["inherit","large","medium","small"]),fa.string]),htmlColor:fa.string,inheritViewBox:fa.bool,shapeRendering:fa.string,sx:fa.oneOfType([fa.arrayOf(fa.oneOfType([fa.func,fa.object,fa.bool])),fa.func,fa.object]),titleAccess:fa.string,viewBox:fa.string}),Zu.muiName="SvgIcon";const Qu={configure:e=>{"production"!==process.env.NODE_ENV&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),Va.configure(e)}};var ed,td=Object.freeze({__proto__:null,capitalize:Sa,createChainedFunction:function(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))},createSvgIcon:function(t,n){function r(e,r){return S(Zu,R({"data-testid":`${n}Icon`,ref:r},e,{children:t}))}return"production"!==process.env.NODE_ENV&&(r.displayName=`${n}Icon`),r.muiName=Zu.muiName,e.memo(e.forwardRef(r))},debounce:function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r},deprecatedPropType:function(e,t){return"production"===process.env.NODE_ENV?()=>null:(e,n,r,o,i)=>{const a=r||"<<anonymous>>",s=i||n;return void 0!==e[n]?new Error(`The ${o} \`${s}\` of \`${a}\` is deprecated. ${t}`):null}},isMuiElement:function(t,n){var r,o;return e.isValidElement(t)&&-1!==n.indexOf(null!=(r=t.type.muiName)?r:null==(o=t.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)},ownerDocument:ka,ownerWindow:function(e){return ka(e).defaultView||window},requirePropFactory:function(e,t){if("production"===process.env.NODE_ENV)return()=>null;const n=t?R({},t.propTypes):null;return t=>(r,o,i,a,s,...l)=>{const c=s||o,u=null==n?void 0:n[c];if(u){const e=u(r,o,i,a,s,...l);if(e)return e}return void 0===r[o]||r[t]?null:new Error(`The prop \`${c}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}},setRef:Oa,unstable_ClassNameGenerator:Qu,unstable_useEnhancedEffect:Na,unstable_useId:function(t){if(void 0!==Ta){const e=Ta();return null!=t?t:e}return function(t){const[n,r]=e.useState(t),o=t||n;return e.useEffect((()=>{null==n&&(Ca+=1,r(`mui-${Ca}`))}),[n]),o}(t)},unsupportedProp:function(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const i=o||t;return void 0!==e[t]?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null},useControlled:function({controlled:t,default:n,name:r,state:o="value"}){const{current:i}=e.useRef(void 0!==t),[a,s]=e.useState(n),l=i?t:a;if("production"!==process.env.NODE_ENV){e.useEffect((()=>{i!==(void 0!==t)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${o} state of ${r} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,r,t]);const{current:a}=e.useRef(n);e.useEffect((()=>{i||a===n||console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"))}),[JSON.stringify(n)])}return[l,e.useCallback((e=>{i||s(e)}),[])]},useEventCallback:function(t){const n=e.useRef(t);return Na((()=>{n.current=t})),e.useRef(((...e)=>(0,n.current)(...e))).current},useForkRef:function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{Oa(t,e)}))}),t)},useIsFocusVisible:function(){const t=e.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ra,!0),t.addEventListener("mousedown",Ia,!0),t.addEventListener("pointerdown",Ia,!0),t.addEventListener("touchstart",Ia,!0),t.addEventListener("visibilitychange",ja,!0))}),[]),n=e.useRef(!1);return{isFocusVisibleRef:n,onFocus:function(e){return!!Da(e)&&(n.current=!0,!0)},onBlur:function(){return!!n.current&&(Aa=!0,$a.start(100,(()=>{Aa=!1})),n.current=!1,!0)},ref:t}}}),nd=T(td);function rd(){return ed||(ed=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=nd}(Li)),Li}var od=Di;Object.defineProperty(Ii,"__esModule",{value:!0});var id=Ii.default=void 0,ad=od(rd()),sd=x;id=Ii.default=(0,ad.default)((0,sd.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");var ld={},cd=Di;Object.defineProperty(ld,"__esModule",{value:!0});var ud=ld.default=void 0,dd=cd(rd()),fd=x;ud=ld.default=(0,dd.default)((0,fd.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var pd={},md=Di;Object.defineProperty(pd,"__esModule",{value:!0});var hd=pd.default=void 0,yd=md(rd()),vd=x;hd=pd.default=(0,yd.default)((0,vd.jsx)("path",{d:"M16 9v10H8V9zm-1.5-6h-5l-1 1H5v2h14V4h-3.5zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2z"}),"DeleteOutlined");var gd={},bd=Di;Object.defineProperty(gd,"__esModule",{value:!0});var wd=gd.default=void 0,xd=bd(rd()),Ed=x;wd=gd.default=(0,xd.default)((0,Ed.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var Sd={text:[{label:"É igual a",value:"equalTo"},{label:"Não é igual a",value:"notEqualTo"}],boolean:[{label:"É igual a",value:"equalTo"}],number:[{label:"É igual a",value:"equalTo"},{label:"É maior que",value:"greatherThan"},{label:"É menor que",value:"lessThan"}]},kd=void 0,Od=function(e){var n=e.type,r=e.value,o=e.onChange;return"boolean"===n?t.createElement(Ri,{placeholder:"Valor",className:"gyramais-filter-item-value",options:[{label:"Sim",value:!0}],value:r,onChange:function(e){return o(e)}}):t.createElement(ir,{className:"gyramais-filter-item-value",placeholder:"Valor",value:r,onChange:function(e){return o(e.target.value)}})},Nd=function(e){var n=e.id,r=e.className,o=e.filters,i=void 0===o?[]:o,a=e.onFilter,s=c([]),l=s[0],u=s[1],d=c(!1),f=d[0],p=d[1],m=c(0),h=m[0],y=m[1],v=function(e){if(a){var t=e.reduce((function(e,t){var n=t.key,r=t.condition,o=t.value;return e[n]||(e[n]={}),r&&(e[n][r]=o),e}),{});a(t)}},g=function(e){var n=e.index,r=e.filter,o=r.key,a=r.type,s=r.condition,c=r.value;return t.createElement("div",{className:"gyramais-filter-container",key:"filter-item-".concat(o,"-").concat(n)},t.createElement("div",{className:"gyramais-filter-item-label"},"Filtro"," ",n+1),t.createElement(tr,{className:"gyramais-filter-item",columns:12,gap:4,align:"center"},t.createElement(nr,{span:{mobile:12,desktop:4}},t.createElement(Ri,{placeholder:"Selecione o filtro",options:i.map((function(e){return{label:e.name,value:e.key}})),value:o,onChange:function(e){var t=i.find((function(t){return t.key===e}));if(t){var r=N([],l,!0);r[n].key=e,r[n].type=t.type,r[n].condition=void 0,r[n].value=void 0,u(r)}}})),t.createElement(nr,{span:{mobile:12,desktop:3}},a&&t.createElement(Ri,{placeholder:"Condição",className:"gyramais-filter-item-condition",options:Sd[a].map((function(e){var t=l.filter((function(e){return o===e.key})).map((function(e){return e.condition}));return k(k({},e),{disabled:t.includes(e.value)})})),value:s,onChange:function(e){var t=N([],l,!0);t[n].condition=e,u(t)}})),t.createElement(nr,{span:{mobile:12,desktop:4}},s&&t.createElement(Od,{type:a,value:c,onChange:function(e){var t=N([],l,!0);t[n].value=e,u(t),clearTimeout(kd),kd=setTimeout((function(){var e=l.filter((function(e){return""!==e.value})).length;y(e),v(l)}),500)}})),t.createElement(nr,{span:{mobile:12,desktop:1},className:"flex justify-end items-center"},t.createElement(hd,{className:"text-[var(--primary-button-color)] cursor-pointer",onClick:function(){var e=N([],l,!0);e.splice(n,1),c&&y(h-1),u(e),v(e)}}))))};return t.createElement("div",{id:n,className:A("gyramais-filter",r)},t.createElement(er,{visible:f,side:"bottom",align:"start",content:t.createElement("div",null,t.createElement(tr,{columns:1,gap:16,className:"gyramais-filter-filters-container"},t.createElement(nr,{span:1,className:"flex items-center justify-between"},t.createElement("div",{className:"text-lg text-[#3B3940] font-medium"},"Filtros"),t.createElement(wd,{className:"cursor-pointer text-[#3B3940]",onClick:function(){return p(!1)}})),l.map((function(e,n){return t.createElement(nr,{key:"filter-item-".concat(n),span:1},g({index:n,filter:e}))}))),t.createElement(M,{link:!0,icon:t.createElement(ud,null),size:"small",onClick:function(){u(N(N([],l,!0),[{key:"",type:void 0,condition:void 0,value:void 0}],!1))}},"Adicionar",l.length>0?" mais ":" ","filtro"))},t.createElement("div",{className:"gyramais-filter-button-container"},h>0&&t.createElement("div",{className:"gyramais-filter-filters-count"},h),t.createElement(M,{className:"gyramais-filter-button",type:"white",icon:t.createElement(id,{className:"gyramais-filter-button-icon"}),onClick:function(){p(!f)}},"Filtro"))))},Cd=function(e){var n=e.id,r=e.className,o=e.filters,i=void 0===o?[]:o,a=e.onFilter,s=c({key:i[0].key,type:"boolean",condition:"equalTo",value:!1}),l=s[0],u=s[1];return t.createElement("div",{id:n,className:A("gyramais-filter",r)},t.createElement(M,{className:"gyramais-filter-button",type:l.value?"primary":"white",icon:t.createElement(id,{className:"gyramais-filter-button-icon"}),onClick:function(){var e,t=k({},l);t.value=!0!==t.value,u(t);var n=((e={})[t.key]={equalTo:t.value},e);a(n)}},i[0].name))},Td=function(e){var n=e.id,r=e.className,o=e.filters,i=void 0===o?[]:o,a=e.onFilter;return 1===i.length&&"boolean"===i[0].type?t.createElement(Cd,{id:n,className:r,filters:i,onFilter:a}):t.createElement(Nd,{id:n,className:r,filters:i,onFilter:a})};export{Td as Filter};
|
|
36
|
+
function(e,t){const n=Yl(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}(e,R({shouldForwardProp:v,label:h},f)),g=e=>"function"==typeof e&&e.__emotion_real!==e||zi(e)?r=>cu(e,R({},r,{theme:su({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let a=g(r);const c=o?o.map(g):[];s&&d&&c.push((e=>{const r=su(R({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[s]||!r.components[s].styleOverrides)return null;const o=r.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=cu(n,R({},e,{theme:r}))})),d(e,i)})),s&&!p&&c.push((e=>{var r;const o=su(R({},e,{defaultTheme:n,themeId:t}));return cu({variants:null==o||null==(r=o.components)||null==(r=r[s])?void 0:r.variants},R({},e,{theme:o}))})),m||c.push(i);const u=c.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const f=y(a,...c);if("production"!==process.env.NODE_ENV){let t;s&&(t=`${s}${Sa(l||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return xa(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ba.ForwardRef:return Ea(e,e.render,"ForwardRef");case ba.Memo:return Ea(e,e.type,"memo");default:return}}}(e)})`),f.displayName=t}return e.muiName&&(f.muiName=e.muiName),f};return y.withConfig&&(b.withConfig=y.withConfig),b}}({themeId:Ku,defaultTheme:Uu,rootShouldForwardProp:e=>ou(e)&&"classes"!==e});function Gu(e){return Wa("MuiSvgIcon",e)}!function(e,t,n="Mui"){const r={};t.forEach((t=>{r[t]=Wa(e,t,n)}))}("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Yu=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Xu=e=>{const{color:t,fontSize:n,classes:r}=e;return function(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}({root:["root","inherit"!==t&&`color${Sa(t)}`,`fontSize${Sa(n)}`]},Gu,r)},Ju=qu("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Sa(n.color)}`],t[`fontSize${Sa(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,f,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?d:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}})),Zu=e.forwardRef((function(t,n){const r=function({props:e,name:t}){return du({props:e,name:t,defaultTheme:Uu,themeId:Ku})}({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=Ba(r,Yu),m=e.isValidElement(o)&&"svg"===o.type,h=R({},r,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m}),v={};u||(v.viewBox=f);const y=Xu(h);return E(Ju,R({as:s,className:rn(y.root,i),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:n},v,p,m&&o.props,{ownerState:h,children:[m?o.props.children:o,d?S("title",{children:d}):null]}))}));"production"!==process.env.NODE_ENV&&(Zu.propTypes={children:fa.node,classes:fa.object,className:fa.string,color:fa.oneOfType([fa.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),fa.string]),component:fa.elementType,fontSize:fa.oneOfType([fa.oneOf(["inherit","large","medium","small"]),fa.string]),htmlColor:fa.string,inheritViewBox:fa.bool,shapeRendering:fa.string,sx:fa.oneOfType([fa.arrayOf(fa.oneOfType([fa.func,fa.object,fa.bool])),fa.func,fa.object]),titleAccess:fa.string,viewBox:fa.string}),Zu.muiName="SvgIcon";const Qu={configure:e=>{"production"!==process.env.NODE_ENV&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),Va.configure(e)}};var ed,td=Object.freeze({__proto__:null,capitalize:Sa,createChainedFunction:function(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))},createSvgIcon:function(t,n){function r(e,r){return S(Zu,R({"data-testid":`${n}Icon`,ref:r},e,{children:t}))}return"production"!==process.env.NODE_ENV&&(r.displayName=`${n}Icon`),r.muiName=Zu.muiName,e.memo(e.forwardRef(r))},debounce:function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r},deprecatedPropType:function(e,t){return"production"===process.env.NODE_ENV?()=>null:(e,n,r,o,i)=>{const a=r||"<<anonymous>>",s=i||n;return void 0!==e[n]?new Error(`The ${o} \`${s}\` of \`${a}\` is deprecated. ${t}`):null}},isMuiElement:function(t,n){var r,o;return e.isValidElement(t)&&-1!==n.indexOf(null!=(r=t.type.muiName)?r:null==(o=t.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)},ownerDocument:ka,ownerWindow:function(e){return ka(e).defaultView||window},requirePropFactory:function(e,t){if("production"===process.env.NODE_ENV)return()=>null;const n=t?R({},t.propTypes):null;return t=>(r,o,i,a,s,...l)=>{const c=s||o,u=null==n?void 0:n[c];if(u){const e=u(r,o,i,a,s,...l);if(e)return e}return void 0===r[o]||r[t]?null:new Error(`The prop \`${c}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}},setRef:Oa,unstable_ClassNameGenerator:Qu,unstable_useEnhancedEffect:Na,unstable_useId:function(t){if(void 0!==Ta){const e=Ta();return null!=t?t:e}return function(t){const[n,r]=e.useState(t),o=t||n;return e.useEffect((()=>{null==n&&(Ca+=1,r(`mui-${Ca}`))}),[n]),o}(t)},unsupportedProp:function(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const i=o||t;return void 0!==e[t]?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null},useControlled:function({controlled:t,default:n,name:r,state:o="value"}){const{current:i}=e.useRef(void 0!==t),[a,s]=e.useState(n),l=i?t:a;if("production"!==process.env.NODE_ENV){e.useEffect((()=>{i!==(void 0!==t)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${o} state of ${r} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,r,t]);const{current:a}=e.useRef(n);e.useEffect((()=>{i||a===n||console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"))}),[JSON.stringify(n)])}return[l,e.useCallback((e=>{i||s(e)}),[])]},useEventCallback:function(t){const n=e.useRef(t);return Na((()=>{n.current=t})),e.useRef(((...e)=>(0,n.current)(...e))).current},useForkRef:function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{Oa(t,e)}))}),t)},useIsFocusVisible:function(){const t=e.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ra,!0),t.addEventListener("mousedown",Ia,!0),t.addEventListener("pointerdown",Ia,!0),t.addEventListener("touchstart",Ia,!0),t.addEventListener("visibilitychange",ja,!0))}),[]),n=e.useRef(!1);return{isFocusVisibleRef:n,onFocus:function(e){return!!Da(e)&&(n.current=!0,!0)},onBlur:function(){return!!n.current&&(Aa=!0,$a.start(100,(()=>{Aa=!1})),n.current=!1,!0)},ref:t}}}),nd=T(td);function rd(){return ed||(ed=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=nd}(Li)),Li}var od=Di;Object.defineProperty(Ii,"__esModule",{value:!0});var id=Ii.default=void 0,ad=od(rd()),sd=x;id=Ii.default=(0,ad.default)((0,sd.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");var ld={},cd=Di;Object.defineProperty(ld,"__esModule",{value:!0});var ud=ld.default=void 0,dd=cd(rd()),fd=x;ud=ld.default=(0,dd.default)((0,fd.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var pd={},md=Di;Object.defineProperty(pd,"__esModule",{value:!0});var hd=pd.default=void 0,vd=md(rd()),yd=x;hd=pd.default=(0,vd.default)((0,yd.jsx)("path",{d:"M16 9v10H8V9zm-1.5-6h-5l-1 1H5v2h14V4h-3.5zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2z"}),"DeleteOutlined");var gd={},bd=Di;Object.defineProperty(gd,"__esModule",{value:!0});var wd=gd.default=void 0,xd=bd(rd()),Ed=x;wd=gd.default=(0,xd.default)((0,Ed.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var Sd={text:[{label:"É igual a",value:"equalTo"}],number:[{label:"É igual a",value:"equalTo"},{label:"É maior que",value:"greatherThan"},{label:"É menor que",value:"lessThan"}],boolean:[{label:"É igual a",value:"equalTo"}],select:[{label:"É igual a",value:"equalTo"}]},kd=void 0,Od=function(e){var n=e.type,r=e.options,o=void 0===r?[]:r,i=e.value,a=e.onChange;return"boolean"===n?t.createElement(Ri,{placeholder:"Valor",className:"gyramais-filter-item-value",options:[{label:"Sim",value:!0},{label:"Não",value:!1}],value:i,onChange:function(e){return a(e)}}):"select"===n?t.createElement(Ri,{placeholder:"Valor",className:"gyramais-filter-item-value",options:o,value:i,onChange:function(e){return a(e)}}):t.createElement(ir,{className:"gyramais-filter-item-value",placeholder:"Valor",value:i,onChange:function(e){return a(e.target.value)}})},Nd=function(e){var n=e.id,r=e.className,o=e.filters,i=void 0===o?[]:o,a=e.onFilter,s=c([]),l=s[0],u=s[1],d=c(!1),f=d[0],p=d[1],m=c(0),h=m[0],v=m[1],y=function(e){if(a){var t=e.reduce((function(e,t){var n=t.key,r=t.condition,o=t.value;return e[n]||(e[n]={}),r&&(e[n][r]=o),e}),{});a(t)}},g=function(e){var n,r=e.index,o=e.filter,a=o.key,s=o.type,c=o.condition,d=o.value,f=void 0===d?"":d;return t.createElement("div",{className:"gyramais-filter-container",key:"filter-item-".concat(a,"-").concat(r)},t.createElement("div",{className:"gyramais-filter-item-label"},"Filtro"," ",r+1),t.createElement(tr,{className:"gyramais-filter-item",columns:12,gap:4,align:"center"},t.createElement(nr,{span:{mobile:12,desktop:4}},t.createElement(Ri,{placeholder:"Selecione o filtro",options:i.map((function(e){return{label:e.name,value:e.key}})),value:a,onChange:function(e){var t=i.find((function(t){return t.key===e}));if(t){var n=N([],l,!0);n[r].key=e,n[r].type=t.type,n[r].value=void 0;var o=Sd[t.type];n[r].condition=1===o.length?o[0].value:void 0,u(n)}}})),t.createElement(nr,{span:{mobile:12,desktop:3}},s&&t.createElement(Ri,{placeholder:"Condição",className:"gyramais-filter-item-condition",options:Sd[s].map((function(e){var t=l.filter((function(e){return a===e.key})).map((function(e){return e.condition}));return k(k({},e),{disabled:t.includes(e.value)})})),value:c,onChange:function(e){var t=N([],l,!0);t[r].condition=e,u(t)}})),t.createElement(nr,{span:{mobile:12,desktop:4}},c&&t.createElement(Od,{options:null===(n=i.find((function(e){return e.key===a})))||void 0===n?void 0:n.options,type:s,value:f,onChange:function(e){var t=N([],l,!0);t[r].value=e,u(t),clearTimeout(kd),kd=setTimeout((function(){var e=l.filter((function(e){return""!==e.value})).length;v(e),y(l)}),500)}})),t.createElement(nr,{span:{mobile:12,desktop:1},className:"flex justify-end items-center"},t.createElement(hd,{className:"text-[var(--primary-button-color)] cursor-pointer",onClick:function(){var e=N([],l,!0);e.splice(r,1),f&&v(h-1),u(e),y(e)}}))))};return t.createElement("div",{id:n,className:A("gyramais-filter",r)},t.createElement(er,{visible:f,side:"bottom",align:"start",content:t.createElement("div",null,t.createElement(tr,{columns:1,gap:16,className:"gyramais-filter-filters-container"},t.createElement(nr,{span:1,className:"flex items-center justify-between"},t.createElement("div",{className:"text-lg text-[#3B3940] font-medium"},"Filtros"),t.createElement(wd,{className:"cursor-pointer text-[#3B3940]",onClick:function(){return p(!1)}})),l.map((function(e,n){return t.createElement(nr,{key:"filter-item-".concat(n),span:1},g({index:n,filter:e}))}))),t.createElement(M,{link:!0,icon:t.createElement(ud,null),size:"small",onClick:function(){u(N(N([],l,!0),[{key:"",type:void 0,condition:void 0,value:void 0}],!1))}},"Adicionar",l.length>0?" mais ":" ","filtro"))},t.createElement("div",{className:"gyramais-filter-button-container"},h>0&&t.createElement("div",{className:"gyramais-filter-filters-count"},h),t.createElement(M,{className:"gyramais-filter-button",type:"white",icon:t.createElement(id,{className:"gyramais-filter-button-icon"}),onClick:function(){p(!f)}},"Filtro"))))},Cd=function(e){var n=e.id,r=e.className,o=e.filters,i=void 0===o?[]:o,a=e.onFilter,s=c({key:i[0].key,type:"boolean",condition:"equalTo",value:!1}),l=s[0],u=s[1];return t.createElement("div",{id:n,className:A("gyramais-filter",r)},t.createElement(M,{className:"gyramais-filter-button",type:l.value?"primary":"white",icon:t.createElement(id,{className:"gyramais-filter-button-icon"}),onClick:function(){var e,t=k({},l);t.value=!0!==t.value,u(t);var n=((e={})[t.key]={equalTo:t.value},e);a(n)}},i[0].name))},Td=function(e){var n=e.id,r=e.className,o=e.filters,i=void 0===o?[]:o,a=e.onFilter;return 1===i.length&&"boolean"===i[0].type?t.createElement(Cd,{id:n,className:r,filters:i,onFilter:a}):t.createElement(Nd,{id:n,className:r,filters:i,onFilter:a})};export{Td as Filter};
|
|
37
37
|
//# sourceMappingURL=index.js.map
|