@lax-wp/design-system 0.3.41 → 0.3.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
interface ColorShades {
|
|
2
|
+
50: string;
|
|
3
|
+
100: string;
|
|
4
|
+
200: string;
|
|
5
|
+
300: string;
|
|
6
|
+
400: string;
|
|
7
|
+
500: string;
|
|
8
|
+
600: string;
|
|
9
|
+
700: string;
|
|
10
|
+
800: string;
|
|
11
|
+
850: string;
|
|
12
|
+
900: string;
|
|
13
|
+
950: string;
|
|
14
|
+
975: string;
|
|
15
|
+
}
|
|
1
16
|
/**
|
|
2
17
|
* Option type for CustomizableSelectField
|
|
3
18
|
*/
|
|
@@ -67,7 +82,7 @@ export interface CustomizableSelectFieldProps {
|
|
|
67
82
|
/** Whether dark mode is enabled */
|
|
68
83
|
isDark?: boolean;
|
|
69
84
|
/** Primary color shades for styling */
|
|
70
|
-
primaryColorShades?:
|
|
85
|
+
primaryColorShades?: ColorShades;
|
|
71
86
|
/** Additional props */
|
|
72
87
|
[key: string]: any;
|
|
73
88
|
}
|
|
@@ -108,3 +123,4 @@ export declare const CustomizableSelectField: {
|
|
|
108
123
|
({ id, label, options, placeholder, onChange, isLoading, hideLabel, errorMessage, required, optionConfig, menuConfig, value, isMulti, isClearable, disabled, className, isDark, primaryColorShades, }: CustomizableSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
109
124
|
displayName: string;
|
|
110
125
|
};
|
|
126
|
+
export {};
|
package/dist/index.es.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -83,7 +83,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
83
83
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dn(e,t){return b7(e)||x7(e,t)||mu(e,t)||w7()}function tn(e,t){if(e==null)return{};var n,r,i=v1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function y7(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const E7=Math.min,C7=Math.max,ul=Math.round,cl=Math.floor,dl=e=>({x:e,y:e});function k7(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function fl(){return typeof window<"u"}function Tu(e){return Pu(e)?(e.nodeName||"").toLowerCase():"#document"}function fn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ju(e){var t;return(t=(Pu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Pu(e){return fl()?e instanceof Node||e instanceof fn(e).Node:!1}function I7(e){return fl()?e instanceof Element||e instanceof fn(e).Element:!1}function oo(e){return fl()?e instanceof HTMLElement||e instanceof fn(e).HTMLElement:!1}function Ou(e){return!fl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof fn(e).ShadowRoot}const z7=new Set(["inline","contents"]);function Vu(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=so(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!z7.has(i)}function F7(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const S7=new Set(["html","body","#document"]);function M7(e){return S7.has(Tu(e))}function so(e){return fn(e).getComputedStyle(e)}function A7(e){if(Tu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ou(e)&&e.host||ju(e);return Ou(t)?t.host:t}function Gu(e){const t=A7(e);return M7(t)?e.ownerDocument?e.ownerDocument.body:e.body:oo(t)&&Vu(t)?t:Gu(t)}function hl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Gu(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=fn(i);if(a){const u=uo(o);return t.concat(o,o.visualViewport||[],Vu(i)?i:[],u&&n?hl(u):[])}return t.concat(i,hl(i,[],n))}function uo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function N7(e){const t=so(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=oo(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,u=ul(n)!==a||ul(r)!==o;return u&&(n=a,r=o),{width:n,height:r,$:u}}function co(e){return I7(e)?e:e.contextElement}function _u(e){const t=co(e);if(!oo(t))return dl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=N7(t);let o=(a?ul(n.width):n.width)/r,u=(a?ul(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const B7=dl(0);function H7(e){const t=fn(e);return!F7()||!t.visualViewport?B7:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function L7(e,t,n){return!1}function Wu(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),a=co(e);let o=dl(1);t&&(o=_u(e));const u=L7()?H7(a):dl(0);let s=(i.left+u.x)/o.x,c=(i.top+u.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(a){const p=fn(a),m=r;let g=p,b=uo(g);for(;b&&r&&m!==g;){const v=_u(b),x=b.getBoundingClientRect(),E=so(b),C=x.left+(b.clientLeft+parseFloat(E.paddingLeft))*v.x,F=x.top+(b.clientTop+parseFloat(E.paddingTop))*v.y;s*=v.x,c*=v.y,d*=v.x,f*=v.y,s+=C,c+=F,g=fn(b),b=uo(g)}}return k7({width:d,height:f,x:s,y:c})}function $u(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function D7(e,t){let n=null,r;const i=ju(e);function a(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function o(u,s){u===void 0&&(u=!1),s===void 0&&(s=1),a();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:m}=c;if(u||t(),!p||!m)return;const g=cl(f),b=cl(i.clientWidth-(d+p)),v=cl(i.clientHeight-(f+m)),x=cl(d),C={rootMargin:-g+"px "+-b+"px "+-v+"px "+-x+"px",threshold:C7(0,E7(1,s))||1};let F=!0;function y(w){const z=w[0].intersectionRatio;if(z!==s){if(!F)return o();z?o(!1,z):r=setTimeout(()=>{o(!1,1e-7)},1e3)}z===1&&!$u(c,e.getBoundingClientRect())&&o(),F=!1}try{n=new IntersectionObserver(y,{...C,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,C)}n.observe(e)}return o(!0),a}function T7(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,c=co(e),d=i||a?[...c?hl(c):[],...hl(t)]:[];d.forEach(x=>{i&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const f=c&&u?D7(c,n):null;let p=-1,m=null;o&&(m=new ResizeObserver(x=>{let[E]=x;E&&E.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var C;(C=m)==null||C.observe(t)})),n()}),c&&!s&&m.observe(c),m.observe(t));let g,b=s?Wu(e):null;s&&v();function v(){const x=Wu(e);b&&!$u(b,x)&&n(),b=x,g=requestAnimationFrame(v)}return n(),()=>{var x;d.forEach(E=>{i&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),f?.(),(x=m)==null||x.disconnect(),m=null,s&&cancelAnimationFrame(g)}}var fo=l.useLayoutEffect,j7=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ml=function(){};function P7(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function O7(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&a.push("".concat(P7(e,o)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var pl=function(t){return Z7(t)?t.filter(Boolean):Un(t)==="object"&&t!==null?[t]:[]},Xu=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=tn(t,j7);return ge({},n)},qe=function(t,n,r){var i=t.cx,a=t.getStyles,o=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},o(n,t),u)}};function gl(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function V7(e){return gl(e)?window.innerHeight:e.clientHeight}function Uu(e){return gl(e)?window.pageYOffset:e.scrollTop}function vl(e,t){if(gl(e)){window.scrollTo(0,t);return}e.scrollTop=t}function G7(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function _7(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function bl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ml,i=Uu(e),a=t-i,o=10,u=0;function s(){u+=o;var c=_7(u,i,a,n);vl(e,c),u<n?window.requestAnimationFrame(s):r(e)}s()}function Ju(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?vl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&vl(e,Math.max(t.offsetTop-i,0))}function W7(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Zu(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function $7(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Yu=!1,X7={get passive(){return Yu=!0}},xl=typeof window<"u"?window:{};xl.addEventListener&&xl.removeEventListener&&(xl.addEventListener("p",ml,X7),xl.removeEventListener("p",ml,!1));var U7=Yu;function J7(e){return e!=null}function Z7(e){return Array.isArray(e)}function ei(e,t,n){return e?t:n}function pD(e){return e}function gD(e){return e}var Y7=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(o){var u=dn(o,1),s=u[0];return!r.includes(s)});return a.reduce(function(o,u){var s=dn(u,2),c=s[0],d=s[1];return o[c]=d,o},{})},q7=["children","innerProps"],K7=["children","innerProps"];function Q7(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,s=G7(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=s.getBoundingClientRect(),f=d.height,p=n.getBoundingClientRect(),m=p.bottom,g=p.height,b=p.top,v=n.offsetParent.getBoundingClientRect(),x=v.top,E=o?window.innerHeight:V7(s),C=Uu(s),F=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=x-y,z=E-b,k=w+C,I=f-C-b,S=m-E+C+F,B=C+b-y,H=160;switch(i){case"auto":case"bottom":if(z>=g)return{placement:"bottom",maxHeight:t};if(I>=g&&!o)return a&&bl(s,S,H),{placement:"bottom",maxHeight:t};if(!o&&I>=r||o&&z>=r){a&&bl(s,S,H);var T=o?z-F:I-F;return{placement:"bottom",maxHeight:T}}if(i==="auto"||o){var j=t,N=o?w:k;return N>=r&&(j=Math.min(N-F-u,t)),{placement:"top",maxHeight:j}}if(i==="bottom")return a&&vl(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=g)return{placement:"top",maxHeight:t};if(k>=g&&!o)return a&&bl(s,B,H),{placement:"top",maxHeight:t};if(!o&&k>=r||o&&w>=r){var O=t;return(!o&&k>=r||o&&w>=r)&&(O=o?w-y:k-y),a&&bl(s,B,H),{placement:"top",maxHeight:O}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function R7(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var qu=function(t){return t==="auto"?"bottom":t},e8=function(t,n){var r,i=t.placement,a=t.theme,o=a.borderRadius,u=a.spacing,s=a.colors;return ge((r={label:"menu"},Zr(r,R7(i),"100%"),Zr(r,"position","absolute"),Zr(r,"width","100%"),Zr(r,"zIndex",1),r),n?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Ku=l.createContext(null),t8=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,o=t.menuPosition,u=t.menuShouldScrollIntoView,s=t.theme,c=l.useContext(Ku)||{},d=c.setPortalPlacement,f=l.useRef(null),p=l.useState(i),m=dn(p,2),g=m[0],b=m[1],v=l.useState(null),x=dn(v,2),E=x[0],C=x[1],F=s.spacing.controlHeight;return fo(function(){var y=f.current;if(y){var w=o==="fixed",z=u&&!w,k=Q7({maxHeight:i,menuEl:y,minHeight:r,placement:a,shouldScroll:z,isFixedPosition:w,controlHeight:F});b(k.maxHeight),C(k.placement),d?.(k.placement)}},[i,a,o,u,r,d,F]),n({ref:f,placerProps:ge(ge({},t),{},{placement:E||qu(a),maxHeight:g})})},n8=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return pe("div",me({},qe(t,"menu",{menu:!0}),{ref:r},i),n)},r8=n8,i8=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return ge({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},l8=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return pe("div",me({},qe(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},Qu=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return ge({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},a8=Qu,o8=Qu,s8=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=tn(t,q7);return pe("div",me({},qe(ge(ge({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},u8=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=tn(t,K7);return pe("div",me({},qe(ge(ge({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},c8=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},d8=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,o=t.menuPlacement,u=t.menuPosition,s=l.useRef(null),c=l.useRef(null),d=l.useState(qu(o)),f=dn(d,2),p=f[0],m=f[1],g=l.useMemo(function(){return{setPortalPlacement:m}},[]),b=l.useState(null),v=dn(b,2),x=v[0],E=v[1],C=l.useCallback(function(){if(i){var z=W7(i),k=u==="fixed"?0:window.pageYOffset,I=z[p]+k;(I!==x?.offset||z.left!==x?.rect.left||z.width!==x?.rect.width)&&E({offset:I,rect:z})}},[i,u,p,x?.offset,x?.rect.left,x?.rect.width]);fo(function(){C()},[C]);var F=l.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),i&&s.current&&(c.current=T7(i,s.current,C,{elementResize:"ResizeObserver"in window}))},[i,C]);fo(function(){F()},[F]);var y=l.useCallback(function(z){s.current=z,F()},[F]);if(!n&&u!=="fixed"||!x)return null;var w=pe("div",me({ref:y},qe(ge(ge({},t),{},{offset:x.offset,position:u,rect:x.rect}),"menuPortal",{"menu-portal":!0}),a),r);return pe(Ku.Provider,{value:g},n?ir.createPortal(w,n):w)},f8=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},h8=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return pe("div",me({},qe(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},m8=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return ge({alignItems:"center",display:i&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},p8=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return pe("div",me({},qe(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},g8=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},v8=function(t){var n=t.children,r=t.innerProps;return pe("div",me({},qe(t,"indicatorsContainer",{indicators:!0}),r),n)},Ru,b8=["size"],x8=["innerProps","isRtl","size"];function w8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var y8=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50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ICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:w8},ec=function(t){var n=t.size,r=tn(t,b8);return pe("svg",me({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:y8},r))},ho=function(t){return pe(ec,me({size:20},t),pe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},tc=function(t){return pe(ec,me({size:20},t),pe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},nc=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return ge({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:a*2,":hover":{color:r?o.neutral80:o.neutral40}})},E8=nc,C8=function(t){var n=t.children,r=t.innerProps;return pe("div",me({},qe(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||pe(tc,null))},k8=nc,I8=function(t){var n=t.children,r=t.innerProps;return pe("div",me({},qe(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||pe(ho,null))},z8=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return ge({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2})},F8=function(t){var n=t.innerProps;return pe("span",me({},n,qe(t,"indicatorSeparator",{"indicator-separator":!0})))},S8=v7(Ru||(Ru=y7([`
|
|
84
84
|
0%, 80%, 100% { opacity: 0; }
|
|
85
85
|
40% { opacity: 1; }
|
|
86
|
-
`]))),M8=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,u=a.spacing.baseUnit;return ge({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:u*2})},mo=function(t){var n=t.delay,r=t.offset;return pe("span",{css:ao({animation:"".concat(S8," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb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zZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},A8=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,o=tn(t,x8);return pe("div",me({},qe(ge(ge({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),pe(mo,{delay:0,offset:r}),pe(mo,{delay:160,offset:!0}),pe(mo,{delay:320,offset:!r}))},N8=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,u=a.borderRadius,s=a.spacing;return ge({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},B8=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return pe("div",me({ref:a},qe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),o,{"aria-disabled":r||void 0}),n)},H8=B8,L8=["data"],D8=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},T8=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,u=t.headingProps,s=t.innerProps,c=t.label,d=t.theme,f=t.selectProps;return pe("div",me({},qe(t,"group",{group:!0}),s),pe(o,me({},u,{selectProps:f,theme:d,getStyles:i,getClassNames:a,cx:r}),c),pe("div",null,n))},j8=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return ge({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},P8=function(t){var n=Xu(t);n.data;var r=tn(n,L8);return pe("div",me({},qe(t,"groupHeading",{"group-heading":!0}),r))},O8=T8,V8=["innerRef","isDisabled","isHidden","inputClassName"],G8=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,u=a.colors;return ge(ge({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},_8),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},rc={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},_8={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ge({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},rc)},W8=function(t){return ge({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},rc)},$8=function(t){var n=t.cx,r=t.value,i=Xu(t),a=i.innerRef,o=i.isDisabled,u=i.isHidden,s=i.inputClassName,c=tn(i,V8);return pe("div",me({},qe(t,"input",{"input-container":!0}),{"data-value":r||""}),pe("input",me({className:n({input:!0},s),ref:a,style:W8(u),disabled:o},c)))},X8=$8,U8=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return ge({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},J8=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return ge({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Z8=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,u=t.isFocused;return ge({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},ic=function(t){var n=t.children,r=t.innerProps;return pe("div",r,n)},Y8=ic,q8=ic;function K8(e){var t=e.children,n=e.innerProps;return pe("div",me({role:"button"},n),t||pe(ho,{size:14}))}var Q8=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,u=t.removeProps,s=t.selectProps,c=r.Container,d=r.Label,f=r.Remove;return pe(c,{data:i,innerProps:ge(ge({},qe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:s},pe(d,{data:i,innerProps:ge({},qe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},n),pe(f,{data:i,innerProps:ge(ge({},qe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:s}))},R8=Q8,ev=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,u=o.spacing,s=o.colors;return ge({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?s.primary:i?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}})},tv=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,u=t.innerProps;return pe("div",me({},qe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},u),n)},nv=tv,rv=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return ge({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},iv=function(t){var n=t.children,r=t.innerProps;return pe("div",me({},qe(t,"placeholder",{placeholder:!0}),r),n)},lv=iv,av=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return ge({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},ov=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return pe("div",me({},qe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},sv=ov,wl={ClearIndicator:I8,Control:H8,DropdownIndicator:C8,DownChevron:tc,CrossIcon:ho,Group:O8,GroupHeading:P8,IndicatorsContainer:v8,IndicatorSeparator:F8,Input:X8,LoadingIndicator:A8,Menu:r8,MenuList:l8,MenuPortal:d8,LoadingMessage:u8,NoOptionsMessage:s8,MultiValue:R8,MultiValueContainer:Y8,MultiValueLabel:q8,MultiValueRemove:K8,Option:nv,Placeholder:lv,SelectContainer:h8,SingleValue:sv,ValueContainer:p8},uv=function(t){return ge(ge({},wl),t.components)},lc=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function cv(e,t){return!!(e===t||lc(e)&&lc(t))}function dv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!cv(e[n],t[n]))return!1;return!0}function fv(e,t){t===void 0&&(t=dv);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}function hv(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var mv=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:hv},pv=function(t){return pe("span",me({css:mv},t))},ac=pv,gv={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,o=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,u=t.selectValue,s=t.isDisabled,c=t.isSelected,d=t.isAppleDevice,f=function(b,v){return b&&b.length?"".concat(b.indexOf(v)+1," of ").concat(b.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(f(u,r),".");if(n==="menu"&&d){var p=s?" disabled":"",m="".concat(c?" selected":"").concat(p);return"".concat(o).concat(m,", ").concat(f(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},vv=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,u=t.selectValue,s=t.selectProps,c=t.id,d=t.isAppleDevice,f=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,g=s.isMulti,b=s.isOptionDisabled,v=s.isSearchable,x=s.menuIsOpen,E=s.options,C=s.screenReaderStatus,F=s.tabSelectsValue,y=s.isLoading,w=s["aria-label"],z=s["aria-live"],k=l.useMemo(function(){return ge(ge({},gv),f||{})},[f]),I=l.useMemo(function(){var N="";if(n&&k.onChange){var O=n.option,_=n.options,V=n.removedValue,G=n.removedValues,A=n.value,U=function(de){return Array.isArray(de)?null:de},X=V||O||U(A),M=X?p(X):"",W=_||G||void 0,oe=W?W.map(p):[],ae=ge({isDisabled:X&&b(X,u),label:M,labels:oe},n);N=k.onChange(ae)}return N},[n,k,b,u,p]),S=l.useMemo(function(){var N="",O=r||i,_=!!(r&&u&&u.includes(r));if(O&&k.onFocus){var V={focused:O,label:p(O),isDisabled:b(O,u),isSelected:_,options:a,context:O===r?"menu":"value",selectValue:u,isAppleDevice:d};N=k.onFocus(V)}return N},[r,i,p,b,k,a,u,d]),B=l.useMemo(function(){var N="";if(x&&E.length&&!y&&k.onFilter){var O=C({count:a.length});N=k.onFilter({inputValue:m,resultsMessage:O})}return N},[a,m,x,k,E,C,y]),H=n?.action==="initial-input-focus",T=l.useMemo(function(){var N="";if(k.guidance){var O=i?"value":x?"menu":"input";N=k.guidance({"aria-label":w,context:O,isDisabled:r&&b(r,u),isMulti:g,isSearchable:v,tabSelectsValue:F,isInitialFocus:H})}return N},[w,r,i,g,b,v,x,k,u,F,H]),j=pe(l.Fragment,null,pe("span",{id:"aria-selection"},I),pe("span",{id:"aria-focused"},S),pe("span",{id:"aria-results"},B),pe("span",{id:"aria-guidance"},T));return pe(l.Fragment,null,pe(ac,{id:c},H&&j),pe(ac,{"aria-live":z,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!H&&j))},bv=vv,po=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],xv=new RegExp("["+po.map(function(e){return e.letters}).join("")+"]","g"),oc={},go=0;go<po.length;go++)for(var vo=po[go],bo=0;bo<vo.letters.length;bo++)oc[vo.letters[bo]]=vo.base;var sc=function(t){return t.replace(xv,function(n){return oc[n]})},wv=fv(sc),uc=function(t){return t.replace(/^\s+|\s+$/g,"")},yv=function(t){return"".concat(t.label," ").concat(t.value)},Ev=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=ge({ignoreCase:!0,ignoreAccents:!0,stringify:yv,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,u=i.stringify,s=i.trim,c=i.matchFrom,d=s?uc(r):r,f=s?uc(u(n)):u(n);return a&&(d=d.toLowerCase(),f=f.toLowerCase()),o&&(d=wv(d),f=sc(f)),c==="start"?f.substr(0,d.length)===d:f.indexOf(d)>-1}},Cv=["innerRef"];function kv(e){var t=e.innerRef,n=tn(e,Cv),r=Y7(n,"onExited","in","enter","exit","appear");return pe("input",me({ref:t},r,{css:ao({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Iv=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function zv(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=l.useRef(!1),u=l.useRef(!1),s=l.useRef(0),c=l.useRef(null),d=l.useCallback(function(v,x){if(c.current!==null){var E=c.current,C=E.scrollTop,F=E.scrollHeight,y=E.clientHeight,w=c.current,z=x>0,k=F-y-C,I=!1;k>x&&o.current&&(r&&r(v),o.current=!1),z&&u.current&&(a&&a(v),u.current=!1),z&&x>k?(n&&!o.current&&n(v),w.scrollTop=F,I=!0,o.current=!0):!z&&-x>C&&(i&&!u.current&&i(v),w.scrollTop=0,I=!0,u.current=!0),I&&Iv(v)}},[n,r,i,a]),f=l.useCallback(function(v){d(v,v.deltaY)},[d]),p=l.useCallback(function(v){s.current=v.changedTouches[0].clientY},[]),m=l.useCallback(function(v){var x=s.current-v.changedTouches[0].clientY;d(v,x)},[d]),g=l.useCallback(function(v){if(v){var x=U7?{passive:!1}:!1;v.addEventListener("wheel",f,x),v.addEventListener("touchstart",p,x),v.addEventListener("touchmove",m,x)}},[m,p,f]),b=l.useCallback(function(v){v&&(v.removeEventListener("wheel",f,!1),v.removeEventListener("touchstart",p,!1),v.removeEventListener("touchmove",m,!1))},[m,p,f]);return l.useEffect(function(){if(t){var v=c.current;return g(v),function(){b(v)}}},[t,g,b]),function(v){c.current=v}}var cc=["boxSizing","height","overflow","paddingRight","position"],dc={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function fc(e){e.cancelable&&e.preventDefault()}function hc(e){e.stopPropagation()}function mc(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function pc(){return"ontouchstart"in window||navigator.maxTouchPoints}var gc=!!(typeof window<"u"&&window.document&&window.document.createElement),ti=0,pr={capture:!1,passive:!1};function Fv(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=l.useRef({}),a=l.useRef(null),o=l.useCallback(function(s){if(gc){var c=document.body,d=c&&c.style;if(r&&cc.forEach(function(g){var b=d&&d[g];i.current[g]=b}),r&&ti<1){var f=parseInt(i.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+f||0;Object.keys(dc).forEach(function(g){var b=dc[g];d&&(d[g]=b)}),d&&(d.paddingRight="".concat(m,"px"))}c&&pc()&&(c.addEventListener("touchmove",fc,pr),s&&(s.addEventListener("touchstart",mc,pr),s.addEventListener("touchmove",hc,pr))),ti+=1}},[r]),u=l.useCallback(function(s){if(gc){var c=document.body,d=c&&c.style;ti=Math.max(ti-1,0),r&&ti<1&&cc.forEach(function(f){var p=i.current[f];d&&(d[f]=p)}),c&&pc()&&(c.removeEventListener("touchmove",fc,pr),s&&(s.removeEventListener("touchstart",mc,pr),s.removeEventListener("touchmove",hc,pr)))}},[r]);return l.useEffect(function(){if(t){var s=a.current;return o(s),function(){u(s)}}},[t,o,u]),function(s){a.current=s}}function Sv(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Mv=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Av=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2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=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,s=e.onTopLeave,c=zv({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:u,onTopLeave:s}),d=Fv({isEnabled:n}),f=function(m){c(m),d(m)};return pe(l.Fragment,null,n&&pe("div",{onClick:Mv,css:Av}),t(f))}function Bv(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Hv=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Bv},Lv=function(t){var n=t.name,r=t.onFocus;return pe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:Hv,value:"",onChange:function(){}})},Dv=Lv;function xo(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Tv(){return xo(/^iPhone/i)}function vc(){return xo(/^Mac/i)}function jv(){return xo(/^iPad/i)||vc()&&navigator.maxTouchPoints>1}function Pv(){return Tv()||jv()}function Ov(){return vc()||Pv()}var Vv=function(t){return t.label},bc=function(t){return t.label},xc=function(t){return t.value},Gv=function(t){return!!t.isDisabled},_v={clearIndicator:k8,container:f8,control:N8,dropdownIndicator:E8,group:D8,groupHeading:j8,indicatorsContainer:g8,indicatorSeparator:z8,input:G8,loadingIndicator:M8,loadingMessage:o8,menu:e8,menuList:i8,menuPortal:c8,multiValue:U8,multiValueLabel:J8,multiValueRemove:Z8,noOptionsMessage:a8,option:ev,placeholder:rv,singleValue:av,valueContainer:m8},Wv={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},$v=4,wc=4,Xv=38,Uv=wc*2,Jv={baseUnit:wc,controlHeight:Xv,menuGutter:Uv},wo={borderRadius:$v,colors:Wv,spacing:Jv},Zv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Zu(),captureMenuScroll:!Zu(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ev(),formatGroupLabel:Vv,getOptionLabel:bc,getOptionValue:xc,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Gv,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!$7(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function yc(e,t,n,r){var i=zc(e,t,n),a=Fc(e,t,n),o=Ic(e,t),u=El(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:u,index:r}}function yl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,u){return yc(e,o,t,u)}).filter(function(o){return kc(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=yc(e,n,t,r);return kc(e,a)?a:void 0}).filter(J7)}function Ec(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,dr(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Cc(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,dr(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function Yv(e,t){return Ec(yl(e,t))}function kc(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,u=t.value;return(!Mc(e)||!a)&&Sc(e,{label:o,value:u,data:i},r)}function qv(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function Kv(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var yo=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Ic=function(t,n){return t.getOptionLabel(n)},El=function(t,n){return t.getOptionValue(n)};function zc(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Fc(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=El(e,t);return n.some(function(i){return El(e,i)===r})}function Sc(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Mc=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Qv=1,Eo=function(e){hg(n,e);var t=gg(n);function n(r){var i;if(dg(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,c){var d=i.props,f=d.onChange,p=d.name;c.name=p,i.ariaOnChange(s,c),f(s,c)},i.setValue=function(s,c,d){var f=i.props,p=f.closeMenuOnSelect,m=f.isMulti,g=f.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:g}),p&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:c,option:d})},i.selectOption=function(s){var c=i.props,d=c.blurInputOnSelect,f=c.isMulti,p=c.name,m=i.state.selectValue,g=f&&i.isOptionSelected(s,m),b=i.isOptionDisabled(s,m);if(g){var v=i.getOptionValue(s);i.setValue(m.filter(function(x){return i.getOptionValue(x)!==v}),"deselect-option",s)}else if(!b)f?i.setValue([].concat(dr(m),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:p});return}d&&i.blurInput()},i.removeValue=function(s){var c=i.props.isMulti,d=i.state.selectValue,f=i.getOptionValue(s),p=d.filter(function(g){return i.getOptionValue(g)!==f}),m=ei(c,p,p[0]||null);i.onChange(m,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange(ei(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,c=i.state.selectValue,d=c[c.length-1],f=c.slice(0,c.length-1),p=ei(s,f,f[0]||null);d&&i.onChange(p,{action:"pop-value",removedValue:d})},i.getFocusedOptionId=function(s){return yo(i.state.focusableOptionsWithIds,s)},i.getFocusableOptionsWithIds=function(){return Cc(yl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,c=new Array(s),d=0;d<s;d++)c[d]=arguments[d];return O7.apply(void 0,[i.props.classNamePrefix].concat(c))},i.getOptionLabel=function(s){return Ic(i.props,s)},i.getOptionValue=function(s){return El(i.props,s)},i.getStyles=function(s,c){var d=i.props.unstyled,f=_v[s](c,d);f.boxSizing="border-box";var p=i.props.styles[s];return p?p(f,c):f},i.getClassNames=function(s,c){var d,f;return(d=(f=i.props.classNames)[s])===null||d===void 0?void 0:d.call(f,c)},i.getElementId=function(s){return"".concat(i.state.instancePrefix,"-").concat(s)},i.getComponents=function(){return uv(i.props)},i.buildCategorizedOptions=function(){return yl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Ec(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(s,c){i.setState({ariaSelection:ge({value:s},c)})},i.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(s){i.blockOptionHover=!1},i.onControlMouseDown=function(s){if(!s.defaultPrevented){var c=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&i.onMenuClose():c&&i.openMenu("first"):(c&&(i.openAfterFocus=!0),i.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},i.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!i.props.isDisabled){var c=i.props,d=c.isMulti,f=c.menuIsOpen;i.focusInput(),f?(i.setState({inputIsHiddenAfterUpdate:!d}),i.onMenuClose()):i.openMenu("first"),s.preventDefault()}},i.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(i.clearValue(),s.preventDefault(),i.openAfterFocus=!1,s.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(s){typeof i.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&gl(s.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(s)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(s){var c=s.touches,d=c&&c.item(0);d&&(i.initialTouchX=d.clientX,i.initialTouchY=d.clientY,i.userIsDragging=!1)},i.onTouchMove=function(s){var c=s.touches,d=c&&c.item(0);if(d){var f=Math.abs(d.clientX-i.initialTouchX),p=Math.abs(d.clientY-i.initialTouchY),m=5;i.userIsDragging=f>m||p>m}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var c=i.props.inputValue,d=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(d,{action:"input-change",prevInputValue:c}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var c=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:c}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){if(!(i.blockOptionHover||i.state.focusedOption===s)){var c=i.getFocusableOptions(),d=c.indexOf(s);i.setState({focusedOption:s,focusedOptionId:d>-1?i.getFocusedOptionId(s):null})}},i.shouldHideSelectedOptions=function(){return Mc(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var c=i.props,d=c.isMulti,f=c.backspaceRemovesValue,p=c.escapeClearsValue,m=c.inputValue,g=c.isClearable,b=c.isDisabled,v=c.menuIsOpen,x=c.onKeyDown,E=c.tabSelectsValue,C=c.openMenuOnFocus,F=i.state,y=F.focusedOption,w=F.focusedValue,z=F.selectValue;if(!b&&!(typeof x=="function"&&(x(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!d||m)return;i.focusValue("previous");break;case"ArrowRight":if(!d||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(w)i.removeValue(w);else{if(!f)return;d?i.popValue():g&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!v||!E||!y||C&&i.isOptionSelected(y,z))return;i.selectOption(y);break;case"Enter":if(s.keyCode===229)break;if(v){if(!y||i.isComposing)return;i.selectOption(y);break}return;case"Escape":v?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):g&&p&&i.clearValue();break;case" ":if(m)return;if(!v){i.openMenu("first");break}if(!y)return;i.selectOption(y);break;case"ArrowUp":v?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":v?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!v)return;i.focusOption("pageup");break;case"PageDown":if(!v)return;i.focusOption("pagedown");break;case"Home":if(!v)return;i.focusOption("first");break;case"End":if(!v)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Qv),i.state.selectValue=pl(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),u=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[u],i.state.focusedOptionId=yo(a,o[u])}return i}return fg(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ju(this.menuListRef,this.focusedOptionRef),Ov()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,u=a.menuIsOpen,s=this.state.isFocused;(s&&!o&&i.isDisabled||s&&u&&!i.menuIsOpen)&&this.focusInput(),s&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ju(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,u=o.selectValue,s=o.isFocused,c=this.buildFocusableOptions(),d=i==="first"?0:c.length-1;if(!this.props.isMulti){var f=c.indexOf(u[0]);f>-1&&(d=f)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[d],focusedOptionId:this.getFocusedOptionId(c[d])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=o.indexOf(u);u||(s=-1);var c=o.length-1,d=-1;if(o.length){switch(i){case"previous":s===0?d=0:s===-1?d=c:d=s-1;break;case"next":s>-1&&s<c&&(d=s+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var s=0,c=u.indexOf(o);o||(c=-1),i==="up"?s=c>0?c-1:u.length-1:i==="down"?s=(c+1)%u.length:i==="pageup"?(s=c-a,s<0&&(s=0)):i==="pagedown"?(s=c+a,s>u.length-1&&(s=u.length-1)):i==="last"&&(s=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[s])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(wo):ge(ge({},wo),this.props.theme):wo}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,u=this.getClassNames,s=this.getValue,c=this.selectOption,d=this.setValue,f=this.props,p=f.isMulti,m=f.isRtl,g=f.options,b=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:u,getValue:s,hasValue:b,isMulti:p,isRtl:m,options:g,selectOption:c,selectProps:f,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return zc(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return Fc(this.props,i,a)}},{key:"filterOption",value:function(i,a){return Sc(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,u=i.inputId,s=i.inputValue,c=i.tabIndex,d=i.form,f=i.menuIsOpen,p=i.required,m=this.getComponents(),g=m.Input,b=this.state,v=b.inputIsHidden,x=b.ariaSelection,E=this.commonProps,C=u||this.getElementId("input"),F=ge(ge(ge({"aria-autocomplete":"list","aria-expanded":f,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},f&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?ie.createElement(g,me({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:a,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:d,type:"text",value:s},F)):ie.createElement(kv,me({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ml,onFocus:this.onInputFocus,disabled:a,tabIndex:c,inputMode:"none",form:d,value:""},F))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,u=a.MultiValueContainer,s=a.MultiValueLabel,c=a.MultiValueRemove,d=a.SingleValue,f=a.Placeholder,p=this.commonProps,m=this.props,g=m.controlShouldRenderValue,b=m.isDisabled,v=m.isMulti,x=m.inputValue,E=m.placeholder,C=this.state,F=C.selectValue,y=C.focusedValue,w=C.isFocused;if(!this.hasValue()||!g)return x?null:ie.createElement(f,me({},p,{key:"placeholder",isDisabled:b,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),E);if(v)return F.map(function(k,I){var S=k===y,B="".concat(i.getOptionLabel(k),"-").concat(i.getOptionValue(k));return ie.createElement(o,me({},p,{components:{Container:u,Label:s,Remove:c},isFocused:S,isDisabled:b,key:B,index:I,removeProps:{onClick:function(){return i.removeValue(k)},onTouchEnd:function(){return i.removeValue(k)},onMouseDown:function(T){T.preventDefault()}},data:k}),i.formatOptionLabel(k,"value"))});if(x)return null;var z=F[0];return ie.createElement(d,me({},p,{data:z,isDisabled:b}),this.formatOptionLabel(z,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!this.isClearable()||!a||s||!this.hasValue()||c)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(a,me({},o,{innerProps:f,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!a||!c)return null;var f={"aria-hidden":"true"};return ie.createElement(a,me({},o,{innerProps:f,isDisabled:s,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var u=this.commonProps,s=this.props.isDisabled,c=this.state.isFocused;return ie.createElement(o,me({},u,{isDisabled:s,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,u=this.props.isDisabled,s=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(a,me({},o,{innerProps:c,isDisabled:u,isFocused:s}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,u=a.GroupHeading,s=a.Menu,c=a.MenuList,d=a.MenuPortal,f=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,g=this.commonProps,b=this.state.focusedOption,v=this.props,x=v.captureMenuScroll,E=v.inputValue,C=v.isLoading,F=v.loadingMessage,y=v.minMenuHeight,w=v.maxMenuHeight,z=v.menuIsOpen,k=v.menuPlacement,I=v.menuPosition,S=v.menuPortalTarget,B=v.menuShouldBlockScroll,H=v.menuShouldScrollIntoView,T=v.noOptionsMessage,j=v.onMenuScrollToTop,N=v.onMenuScrollToBottom;if(!z)return null;var O=function(M,W){var oe=M.type,ae=M.data,Y=M.isDisabled,de=M.isSelected,Q=M.label,ve=M.value,He=b===ae,re=Y?void 0:function(){return i.onOptionHover(ae)},it=Y?void 0:function(){return i.selectOption(ae)},Je="".concat(i.getElementId("option"),"-").concat(W),ue={id:Je,onClick:it,onMouseMove:re,onMouseOver:re,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:de};return ie.createElement(m,me({},g,{innerProps:ue,data:ae,isDisabled:Y,isSelected:de,key:Je,label:Q,type:oe,value:ve,isFocused:He,innerRef:He?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(M.data,"menu"))},_;if(this.hasOptions())_=this.getCategorizedOptions().map(function(X){if(X.type==="group"){var M=X.data,W=X.options,oe=X.index,ae="".concat(i.getElementId("group"),"-").concat(oe),Y="".concat(ae,"-heading");return ie.createElement(o,me({},g,{key:ae,data:M,options:W,Heading:u,headingProps:{id:Y,data:X.data},label:i.formatGroupLabel(X.data)}),X.options.map(function(de){return O(de,"".concat(oe,"-").concat(de.index))}))}else if(X.type==="option")return O(X,"".concat(X.index))});else if(C){var V=F({inputValue:E});if(V===null)return null;_=ie.createElement(f,g,V)}else{var G=T({inputValue:E});if(G===null)return null;_=ie.createElement(p,g,G)}var A={minMenuHeight:y,maxMenuHeight:w,menuPlacement:k,menuPosition:I,menuShouldScrollIntoView:H},U=ie.createElement(t8,me({},g,A),function(X){var M=X.ref,W=X.placerProps,oe=W.placement,ae=W.maxHeight;return ie.createElement(s,me({},g,A,{innerRef:M,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:C,placement:oe}),ie.createElement(Nv,{captureEnabled:x,onTopArrive:j,onBottomArrive:N,lockEnabled:B},function(Y){return ie.createElement(c,me({},g,{innerRef:function(Q){i.getMenuListRef(Q),Y(Q)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:i.getElementId("listbox")},isLoading:C,maxHeight:ae,focusedOption:b}),_)}))});return S||I==="fixed"?ie.createElement(d,me({},g,{appendTo:S,controlElement:this.controlRef,menuPlacement:k,menuPosition:I}),U):U}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,u=a.isDisabled,s=a.isMulti,c=a.name,d=a.required,f=this.state.selectValue;if(d&&!this.hasValue()&&!u)return ie.createElement(Dv,{name:c,onFocus:this.onValueInputFocus});if(!(!c||u))if(s)if(o){var p=f.map(function(b){return i.getOptionValue(b)}).join(o);return ie.createElement("input",{name:c,type:"hidden",value:p})}else{var m=f.length>0?f.map(function(b,v){return ie.createElement("input",{key:"i-".concat(v),name:c,type:"hidden",value:i.getOptionValue(b)})}):ie.createElement("input",{name:c,type:"hidden",value:""});return ie.createElement("div",null,m)}else{var g=f[0]?this.getOptionValue(f[0]):"";return ie.createElement("input",{name:c,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,u=a.focusedOption,s=a.focusedValue,c=a.isFocused,d=a.selectValue,f=this.getFocusableOptions();return ie.createElement(bv,me({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:s,isFocused:c,selectValue:d,focusableOptions:f,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,u=i.SelectContainer,s=i.ValueContainer,c=this.props,d=c.className,f=c.id,p=c.isDisabled,m=c.menuIsOpen,g=this.state.isFocused,b=this.commonProps=this.getCommonProps();return ie.createElement(u,me({},b,{className:d,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:g}),this.renderLiveRegion(),ie.createElement(a,me({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:g,menuIsOpen:m}),ie.createElement(s,me({},b,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),ie.createElement(o,me({},b,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,u=a.clearFocusValueOnUpdate,s=a.inputIsHiddenAfterUpdate,c=a.ariaSelection,d=a.isFocused,f=a.prevWasFocused,p=a.instancePrefix,m=i.options,g=i.value,b=i.menuIsOpen,v=i.inputValue,x=i.isMulti,E=pl(g),C={};if(o&&(g!==o.value||m!==o.options||b!==o.menuIsOpen||v!==o.inputValue)){var F=b?Yv(i,E):[],y=b?Cc(yl(i,E),"".concat(p,"-option")):[],w=u?qv(a,E):null,z=Kv(a,F),k=yo(y,z);C={selectValue:E,focusedOption:z,focusedOptionId:k,focusableOptionsWithIds:y,focusedValue:w,clearFocusValueOnUpdate:!1}}var I=s!=null&&i!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},S=c,B=d&&f;return d&&!B&&(S={value:ei(x,E,E[0]||null),options:E,action:"initial-input-focus"},B=!f),c?.action==="initial-input-focus"&&(S=null),ge(ge(ge({},C),I),{},{prevProps:i,ariaSelection:S,prevWasFocused:B})}}]),n}(l.Component);Eo.defaultProps=Zv;var Rv=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ac(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,u=e.inputValue,s=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,m=e.value,g=tn(e,Rv),b=l.useState(u!==void 0?u:n),v=dn(b,2),x=v[0],E=v[1],C=l.useState(s!==void 0?s:i),F=dn(C,2),y=F[0],w=F[1],z=l.useState(m!==void 0?m:o),k=dn(z,2),I=k[0],S=k[1],B=l.useCallback(function(V,G){typeof c=="function"&&c(V,G),S(V)},[c]),H=l.useCallback(function(V,G){var A;typeof d=="function"&&(A=d(V,G)),E(A!==void 0?A:V)},[d]),T=l.useCallback(function(){typeof p=="function"&&p(),w(!0)},[p]),j=l.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),N=u!==void 0?u:x,O=s!==void 0?s:y,_=m!==void 0?m:I;return ge(ge({},g),{},{inputValue:N,menuIsOpen:O,onChange:B,onInputChange:H,onMenuClose:j,onMenuOpen:T,value:_})}var e9=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Nc=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),a=String(r.getOptionValue(n)).toLowerCase(),o=String(r.getOptionLabel(n)).toLowerCase();return a===i||o===i},Co={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(a){return Nc(t,a,i)})||r.some(function(a){return Nc(t,a,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function t9(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,a=e.formatCreateLabel,o=a===void 0?Co.formatCreateLabel:a,u=e.isValidNewOption,s=u===void 0?Co.isValidNewOption:u,c=e.getNewOptionData,d=c===void 0?Co.getNewOptionData:c,f=e.onCreateOption,p=e.options,m=p===void 0?[]:p,g=e.onChange,b=tn(e,e9),v=b.getOptionValue,x=v===void 0?xc:v,E=b.getOptionLabel,C=E===void 0?bc:E,F=b.inputValue,y=b.isLoading,w=b.isMulti,z=b.value,k=b.name,I=l.useMemo(function(){return s(F,pl(z),m,{getOptionValue:x,getOptionLabel:C})?d(F,o(F)):void 0},[o,d,C,x,F,s,m,z]),S=l.useMemo(function(){return(n||!y)&&I?i==="first"?[I].concat(dr(m)):[].concat(dr(m),[I]):m},[n,i,y,I,m]),B=l.useCallback(function(H,T){if(T.action!=="select-option")return g(H,T);var j=Array.isArray(H)?H:[H];if(j[j.length-1]===I){if(f)f(F);else{var N=d(F,F),O={action:"create-option",name:k,option:N};g(ei(w,[].concat(dr(pl(z)),[N]),N),O)}return}g(H,T)},[d,F,w,k,I,f,g,z]);return ge(ge({},b),{},{options:S,onChange:B})}var n9=l.forwardRef(function(e,t){var n=Ac(e),r=t9(n);return ie.createElement(Eo,me({ref:t},r))}),r9=n9;const Bc=l.forwardRef(({id:e,label:t,placeholder:n="Select...",value:r,selectedValues:i,onChange:a,onColorChange:o,selectOptions:u,loading:s=!1,multiSelect:c=!1,disabled:d=!1,isClearable:f=!0,required:p=!1,message:m,messageType:g="default",originalCase:b=!1,wrapperClassName:v,selectClassName:x,labelClassName:E,helpText:C,size:F="medium",filterOption:y,selectProps:w,components:z,tags:k,tooltip:I},S)=>{const B=()=>{switch(F){case"small":return{height:"28px",minHeight:"28px",fontSize:"12px",padding:"2px 8px"};case"large":return{height:"40px",minHeight:"40px",fontSize:"16px",padding:"8px 12px"};default:return{height:"32px",minHeight:"32px",fontSize:"14px",padding:"4px 10px"}}},H=M=>m&&g==="error"?"rgb(253 164 155)":m&&g==="success"?"rgb(34 197 94)":m&&g==="info"?"rgb(59 130 246)":M.isFocused?"rgb(0 108 207)":"rgb(229 229 229)",T=B(),j={control:(M,W)=>({...M,borderColor:H(W),backgroundColor:W.isDisabled?"rgb(245 245 245)":"rgb(255 255 255)",borderRadius:"6px",...T,opacity:W.isDisabled?.6:1,cursor:W.isDisabled?"not-allowed":"default",boxShadow:W.isFocused?"0 0 0 2px rgba(59, 130, 246, 0.1)":"none","&:hover":{borderColor:H(W)},transition:"all 0.2s ease-in-out"}),valueContainer:M=>({...M,fontSize:T.fontSize,padding:0,height:"auto",minHeight:"20px"}),input:M=>({...M,margin:"0",padding:"0",color:"inherit"}),indicatorsContainer:M=>({...M,fontSize:T.fontSize,padding:0,height:"20px"}),option:(M,W)=>({...M,fontFamily:"Inter",fontWeight:500,fontSize:T.fontSize,lineHeight:"1.2",borderBottom:"1px solid rgb(229 229 229)",backgroundColor:W.isSelected?"rgb(59 130 246)":W.isFocused?"rgb(245 245 245)":"rgb(255 255 255)",color:W.isSelected?"white":W.isDisabled?"rgb(163 163 163)":"inherit",cursor:W.isDisabled?"not-allowed":"pointer",opacity:W.isDisabled?.6:1,"&:hover":{backgroundColor:W.isSelected?"rgb(59 130 246)":W.isDisabled?"rgb(255 255 255)":"rgb(245 245 245)"}}),singleValue:(M,W)=>({...M,fontFamily:"Inter",fontWeight:500,fontSize:T.fontSize,lineHeight:"1.25rem",display:"block",color:W.isDisabled?"rgb(163 163 163)":"inherit"}),placeholder:(M,W)=>({...M,fontFamily:"Inter",fontSize:T.fontSize,fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:W.isDisabled?"rgb(163 163 163)":"rgb(115 115 115)"}),multiValue:M=>({...M,backgroundColor:"rgb(230 241 252)",border:"1px solid rgb(198 225 249)",borderRadius:"4px",fontFamily:"Inter"}),multiValueLabel:M=>({...M,color:"rgb(0 108 207)",fontSize:"12px"}),multiValueRemove:M=>({...M,color:"rgb(0 108 207)",":hover":{backgroundColor:"rgb(230 241 252)",color:"rgb(220 38 38)"}}),menu:M=>({...M,backgroundColor:"rgb(255 255 255)",border:"1px solid rgb(229 229 229)",borderRadius:"6px",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"}),loadingIndicator:M=>({...M,color:"rgb(99 102 241)"}),noOptionsMessage:M=>({...M,color:"rgb(107 114 128)",fontSize:T.fontSize})},N=()=>g==="error"?"text-red-500 dark:text-red-400":g==="success"?"text-green-500 dark:text-green-400":g==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",O=()=>{switch(F){case"small":return"extra-small";case"large":return"medium";default:return"small"}},_=()=>h.jsx("div",{className:"flex items-center",children:h.jsx(kt.ChevronLeftRounded,{className:"-rotate-90 transition-transform duration-200",sx:{fontSize:F==="small"?"14px":F==="large"?"18px":"16px"}})}),V=M=>h.jsx("div",{className:"absolute top-0 left-0 h-full flex items-center dark:text-neutral-100",children:M.data.label}),G=!!i?.length,U=f&&(G||!!r),X=(M,W)=>{a(M,W),o?.(M)};return h.jsxs("div",{className:$("flex flex-col w-full",v),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",!b&&"capitalize",E),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:O(),appearance:"subtitle",children:[t,p&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),C&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:C}),h.jsx(r9,{...w,ref:S,id:e,required:p,options:u,isClearable:U,isLoading:s,isDisabled:d,styles:j,isMulti:c,value:c?i:r,placeholder:n,filterOption:y,onChange:X,className:$("react-select-container",x),classNamePrefix:"react-select",components:{IndicatorsContainer:_,SingleValue:V,...z},"aria-required":p,"aria-invalid":m&&g==="error"?"true":"false","aria-describedby":m||C?`${e}-description`:void 0}),h.jsx(Ae.AnimatePresence,{children:m&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:g==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",N()),appearance:"custom",size:"extra-small",variant:"medium",children:m})})}),C&&!m&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:C})]})});Bc.displayName="CreatableSelectField";var i9=l.forwardRef(function(e,t){var n=Ac(e);return ie.createElement(Eo,me({ref:t},n))}),l9=i9;const ko=({ref:e,handler:t,enabled:n=!0})=>{l.useEffect(()=>{if(!n)return;const r=i=>{e.current&&!e.current.contains(i.target)&&t()};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t,n])},a9={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},Hc=({id:e,label:t,options:n,placeholder:r,onChange:i,isLoading:a=!1,hideLabel:o=!1,errorMessage:u,required:s=!1,optionConfig:c,menuConfig:d,value:f,isMulti:p=!1,isClearable:m=!0,disabled:g=!1,className:b,isDark:v=!1,primaryColorShades:x=a9})=>{const E=l.useRef(null),[C,F]=l.useState(null),[y,w]=l.useState("");ko({ref:E,handler:()=>{F(null)}});const z={control:(T,j)=>({...T,borderColor:u&&s?"#F04438":j.isFocused?v?"#1e1e1e":x[600]:v?"#1e1e1e":"#e2e8f0",backgroundColor:j.isDisabled?v?"#1a1a1a":"#f5f5f5":v?"#262626":"#FFFFFF",color:j.isDisabled?v?"#666666":"#a0a0a0":v?"#d4d4d4":"#0F172A",borderRadius:"6px",minHeight:"32px",fontSize:"14px",padding:"0px 10px",cursor:j.isDisabled?"not-allowed":"default",opacity:(j.isDisabled,1),boxShadow:j.isFocused?v?`0 0 0 2px ${x[400]}`:`0 0 0 2px ${x[500]}`:"none"}),valueContainer:T=>({...T,fontSize:"14px",maxHeight:"60px",overflowY:"auto",padding:"0px",margin:"0px",color:v?"#d4d4d4":"inherit","::-webkit-scrollbar":{display:"none"}}),input:T=>({...T,margin:"0"}),indicatorSeparator:()=>({display:"none"}),option:T=>({...T,fontWeight:500,fontSize:"14px",lineHeight:"1",borderBottom:v?"1px solid #1e1e1e":"1px solid #eee",backgroundColor:v?"#000000":"#FFFFFF",color:v?"#d4d4d4":"#0F172A",display:"flex",alignItems:"center",zIndex:200,":hover":{backgroundColor:v?"#171717":x[50]},".icon":{height:"14px",width:"14px"}}),singleValue:(T,j)=>({...T,fontWeight:500,fontSize:"14px",lineHeight:"1.25rem",color:(j.isDisabled,v?"#d4d4d4":"#0F172A"),display:"flex",alignItems:"center",".icon":{height:"14px",width:"14px"}}),placeholder:(T,j)=>({...T,fontSize:"14px",fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:(j.isDisabled,v?"#595959":"#9CA3AF")}),multiValue:T=>({...T,backgroundColor:v?"#000000":x[50],borderRadius:"6px",fontFamily:"Inter",fontSize:"12px",height:"20px",alignItems:"center"}),indicatorsContainer:T=>({...T,padding:"0",height:"30px"}),multiValueLabel:T=>({...T,color:v?"#d4d4d4":x[600],fontSize:"12px"}),multiValueRemove:T=>({...T,color:v?"#d4d4d4":x[600],height:"12px",fontSize:"8px",":hover":{backgroundColor:v?"#171717":x[50]},svg:{height:"12px",width:"12px"}})},k=T=>{const j=n.filter(N=>N?.label?.toLowerCase()?.includes(y?.toLowerCase()));return h.jsx(wl.MenuList,{...T,className:$("!z-50 rounded !visible overflow-x-scroll",v?"bg-black-800":"bg-white",v?"text-neutral-300":"text-slate-900",d?.className),ref:E,children:j?.length?j.map((N,O)=>h.jsxs("div",{className:$("item z-[9999] flex items-center justify-between px-4 py-1.5 no-wheel",g?"cursor-not-allowed opacity-50":"cursor-pointer",v?"text-neutral-300":"text-slate-900",!g&&I(N)?v?"bg-black-700":"bg-primary-50":g?"":v?"hover:bg-black-700":"hover:bg-primary-50",d?.optionClassName?"":v?"border-b border-black-700":"border-b border-[#eee]"),onClick:_=>{g||(_.stopPropagation(),T.selectOption(N))},children:[c?.component?h.jsx(c.component,{...c.componentProps,...N}):h.jsx("div",{children:N.label}),h.jsx("div",{className:"flex items-center gap-1",children:I(N)&&c?.selectIndecator?c?.selectIndecator:null})]},O)):h.jsx("div",{className:$("opacity-50 flex justify-center items-center p-1 font-medium",v?"text-neutral-400":"text-gray-700"),children:"No options"})})},I=T=>p?C?.some(j=>j.value===T.value):T.value===C?.value,S=T=>{const{children:j,innerProps:N,isDisabled:O,getValue:_}=T,V=_();return h.jsx(wl.SingleValue,{...T,innerProps:N,isDisabled:O,children:V.length>0?V.map((G,A)=>h.jsx("span",{children:c?.component?h.jsx(c.component,{...c.componentProps,...G}):h.jsx("div",{children:G.label})},A)):h.jsx(h.Fragment,{children:j})})},B=T=>{const{innerProps:j,isDisabled:N,data:O}=T;return h.jsx(wl.MultiValue,{...T,innerProps:j,isDisabled:N,children:c?.component?h.jsx(c.component,{...c.componentProps,...O}):h.jsx("div",{children:O.label})})},H=(T,j)=>(w(j),!0);return h.jsxs("div",{className:$("flex flex-col",v?"text-black-300":"text-slate-900",a?"opacity-50":"opacity-100",g?"cursor-not-allowed":""),id:e,children:[o||!t?null:h.jsxs("div",{className:"w-full inline-flex items-center text-xs mb-1",children:[h.jsx(ne,{size:"extra-small",variant:"medium",className:$("font-medium text-left",v?"text-black-300":"text-neutral-400"),appearance:"custom",children:t}),s&&h.jsx(Qi,{})]}),h.jsx(l9,{required:!0,options:n,placeholder:r,value:f,onChange:T=>{F(T),i(T)},styles:z,isMulti:p,className:$(v&&"bg-black-800 border-black-700",b),components:{MenuList:k,SingleValue:S,MultiValue:B},filterOption:H,closeMenuOnSelect:!0,isClearable:m,isDisabled:g}),u&&h.jsx(ne,{className:$("mt-1",v?"text-red-400":"text-red-500"),appearance:"custom",size:"extra-small",variant:"medium",children:u})]})};Hc.displayName="CustomizableSelectField";const Io=[{value:"USD",label:"United States Dollar",symbol:"$"},{value:"EUR",label:"Euro",symbol:"€"},{value:"GBP",label:"British Pound",symbol:"£"},{value:"JPY",label:"Japanese Yen",symbol:"¥"},{value:"CAD",label:"Canadian Dollar",symbol:"C$"},{value:"AUD",label:"Australian Dollar",symbol:"A$"},{value:"CHF",label:"Swiss Franc",symbol:"CHF"},{value:"CNY",label:"Chinese Yuan",symbol:"¥"},{value:"SEK",label:"Swedish Krona",symbol:"kr"},{value:"NZD",label:"New Zealand Dollar",symbol:"NZ$"}],Lc={USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",SEK:"kr",NZD:"NZ$"},Dc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",currencyCode:b="USD",allowCurrencyChange:v=!1,availableCurrencies:x,showSymbol:E=!0,formatValue:C=!0,min:F,max:y,decimalPlaces:w=2,inputProps:z,inputStyle:k},I)=>{const[S,B]=l.useState(!1),[H,T]=l.useState(b),[j,N]=l.useState(!1),O=x?Io.filter(Y=>x.includes(Y.value)):Io,_=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pl-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pl-12"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pl-10"}}},V=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",G=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",A=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},U=Y=>{if(Y==null)return"";const de=Number(Y);return isNaN(de)?String(Y):C?de.toLocaleString("en-US",{minimumFractionDigits:w,maximumFractionDigits:w}):String(de)},X=Y=>{const de=Y.target.value;if(de===""||de===null||de===void 0)i(null,H);else{const Q=Number(de);isNaN(Q)||i(Q,H)}},M=Y=>{T(Y),N(!1),i(n??null,Y)},W=()=>{B(!0)},oe=()=>{B(!1)},ae=_();return l.useEffect(()=>{T(b)},[b]),h.jsxs("div",{className:$("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:A(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[E&&h.jsx("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:Lc[H]||H}),h.jsx("input",{...z,ref:I,id:e,type:S?"number":"text",value:S?n??"":U(n),defaultValue:r!==void 0?S?r??"":U(r):void 0,placeholder:u,required:o,disabled:a,min:F,max:y,step:1/Math.pow(10,w),onFocus:W,onBlur:oe,onChange:X,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",ae.height,ae.padding,ae.fontSize,E?ae.symbolPadding:"",V(),v?"pr-20":"",a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:k,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),v&&h.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center",children:h.jsxs("div",{className:"relative",children:[h.jsxs("button",{type:"button",onClick:()=>N(!j),disabled:a,className:$("px-3 py-1 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 rounded-r-md border-l border-gray-300 dark:border-gray-600 transition-colors",a&&"opacity-50 cursor-not-allowed"),children:[H,h.jsx("svg",{className:"w-4 h-4 ml-1 inline-block",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),j&&h.jsx("div",{className:"absolute top-full right-0 mt-1 w-64 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-md shadow-lg z-50 max-h-60 overflow-y-auto",children:O.map(Y=>h.jsxs("button",{type:"button",onClick:()=>M(Y.value),className:"w-full px-4 py-2 text-left text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 flex justify-between items-center",children:[h.jsxs("span",{children:[Y.value," - ",Y.label]}),h.jsx("span",{className:"text-gray-500",children:Y.symbol})]},Y.value))})]})}),j&&h.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>N(!1)})]}),h.jsx(Ae.AnimatePresence,{children:s&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",G()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});Dc.displayName="CurrencyInputField";const Tc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,message:u,messageType:s="default",wrapperClassName:c,inputClassName:d,labelClassName:f,helpText:p,size:m="medium",minDate:g,maxDate:b,startPlaceholder:v="Start date",endPlaceholder:x="End date",allowClear:E=!0,inputProps:C},F)=>{const y=n!==void 0?n:r||{startDate:null,endDate:null},w=()=>{switch(m){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},z=()=>s==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":s==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":s==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",k=()=>s==="error"?"text-red-500 dark:text-red-400":s==="success"?"text-green-500 dark:text-green-400":s==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",I=()=>{switch(m){case"small":return"extra-small";case"large":return"medium";default:return"small"}},S=_=>{if(!_)return"";const V=_.getFullYear(),G=String(_.getMonth()+1).padStart(2,"0"),A=String(_.getDate()).padStart(2,"0");return`${V}-${G}-${A}`},B=_=>{if(!_)return null;const V=new Date(_);return isNaN(V.getTime())?null:V},H=_=>{const V=B(_.target.value);i({startDate:V,endDate:y.endDate})},T=_=>{const V=B(_.target.value);i({startDate:y.startDate,endDate:V})},j=()=>{i({startDate:null,endDate:null})},N=_=>_?S(_):void 0,O=w();return h.jsxs("div",{className:$("flex flex-col w-full",c),ref:F,children:[t&&h.jsx("label",{htmlFor:`${e}-start`,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",f),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:I(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),p&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:p}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-start`,type:"date",value:S(y.startDate),onChange:H,disabled:a,required:o,min:N(g),max:N(b),placeholder:v,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",O.height,O.padding,O.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),h.jsx("div",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-400",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 12H6"})})}),h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-end`,type:"date",value:S(y.endDate),onChange:T,disabled:a,required:o,min:N(y.startDate||g),max:N(b),placeholder:x,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",O.height,O.padding,O.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),E&&(y.startDate||y.endDate)&&!a&&h.jsx("button",{type:"button",onClick:j,className:"flex-shrink-0 p-1 text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors","aria-label":"Clear date range",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),h.jsx("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-neutral-400 dark:text-neutral-500",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),h.jsx(Ae.AnimatePresence,{children:u&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:s==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",k()),appearance:"custom",size:"extra-small",variant:"medium",children:u})})}),p&&!u&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:p})]})});Tc.displayName="DateRange";const jc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,onImmediateChange:a,disabled:o=!1,required:u=!1,placeholder:s,message:c,messageType:d="default",wrapperClassName:f,inputClassName:p,labelClassName:m,helpText:g,size:b="medium",type:v="text",debounceTimeout:x=300,min:E,max:C,maxLength:F,pattern:y,inputProps:w,inputStyle:z,onKeyDown:k,onFocus:I,onBlur:S},B)=>{const[H,T]=l.useState(n||r||""),[j,N]=l.useState(n||r||""),O=()=>{switch(b){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},_=()=>d==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":d==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":d==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",V=()=>d==="error"?"text-red-500 dark:text-red-400":d==="success"?"text-green-500 dark:text-green-400":d==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",G=()=>{switch(b){case"small":return"extra-small";case"large":return"medium";default:return"small"}};l.useEffect(()=>{const X=setTimeout(()=>{j!==H&&(N(H),i(H))},x);return()=>clearTimeout(X)},[H,x,i,j]),l.useEffect(()=>{n!==void 0&&n!==H&&(T(n),N(n))},[n,H]);const A=l.useCallback(X=>{const M=X.target.value;T(M),a?.(M)},[a]),U=O();return h.jsxs("div",{className:$("flex flex-col w-full",f),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",m),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:G(),appearance:"subtitle",children:[t,u&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),g&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:g}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...w,ref:B,id:e,type:v,value:H,defaultValue:r,placeholder:s,required:u,disabled:o,min:E,max:C,maxLength:F,pattern:y,onChange:A,onKeyDown:k,onFocus:I,onBlur:S,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",U.height,U.padding,U.fontSize,_(),o&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",p),style:z,"aria-required":u,"aria-invalid":c&&d==="error"?"true":"false","aria-describedby":c||g?`${e}-description`:void 0}),H!==j&&h.jsx("div",{className:"absolute right-2 top-1/2 transform -translate-y-1/2",children:h.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse"})})]}),F&&h.jsx("div",{className:"mt-1 text-right",children:h.jsxs(ne,{className:$("text-xs",H.length>F*.9?"text-orange-500":H.length===F?"text-red-500":"text-neutral-400 dark:text-neutral-500"),appearance:"custom",size:"extra-small",children:[H.length,"/",F]})}),h.jsx(Ae.AnimatePresence,{children:c&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:d==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",V()),appearance:"custom",size:"extra-small",variant:"medium",children:c})})}),g&&!c&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:g})]})});jc.displayName="DebounceInputField";const Pc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",min:b=0,max:v=100,step:x=.01,decimalPlaces:E=2,showSymbol:C=!0,allowNegative:F=!1,inputProps:y,inputStyle:w,onKeyDown:z,onFocus:k,onBlur:I},S)=>{const B=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pr-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pr-10"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pr-9"}}},H=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",T=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",j=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},N=G=>{const A=G.target.value;if(A===""||A===null||A===void 0)i(null);else{const U=Number(A);if(!isNaN(U)){let X=U;!F&&X<0&&(X=0),b!==void 0&&X<b&&(X=b),v!==void 0&&X>v&&(X=v);const M=Math.pow(10,E);X=Math.round(X*M)/M,i(X)}}},O=G=>{k?.(G)},_=G=>{I?.(G)},V=B();return h.jsxs("div",{className:$("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:j(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...y,ref:S,id:e,type:"number",value:n??"",defaultValue:r??"",placeholder:u,required:o,disabled:a,min:F?void 0:b,max:v,step:x,onChange:N,onKeyDown:z,onFocus:O,onBlur:_,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",V.height,V.padding,V.fontSize,C?V.symbolPadding:"",H(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:w,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),C&&h.jsx("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:"%"})]}),n!=null&&h.jsxs("div",{className:"mt-1 flex justify-between items-center text-xs",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[n<b&&h.jsxs("span",{className:"text-orange-500",children:["Below minimum (",b,"%)"]}),n>v&&h.jsxs("span",{className:"text-orange-500",children:["Above maximum (",v,"%)"]}),n>=b&&n<=v&&h.jsx("span",{className:"text-green-500",children:"Valid range"})]}),h.jsxs("span",{className:"text-neutral-400 dark:text-neutral-500",children:[n.toFixed(E),"%"]})]}),h.jsx(Ae.AnimatePresence,{children:s&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",T()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});Pc.displayName="PercentageInputField";var gr=(e=>(e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(gr||{});const o9=(e,t,n,r="medium")=>{const i={small:"w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",medium:"w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",large:"w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"},a={small:"peer-checked:after:translate-x-3",medium:"peer-checked:after:translate-x-full",large:"peer-checked:after:translate-x-5"};return $("p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200 dark:bg-black-400",i[r],a[r],{"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-700 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500":e,"after:bg-white dark:after:bg-black-500":!e,"text-white dark:text-black-900":t,"cursor-not-allowed opacity-70":n})},s9=({size:e=18,fill:t="#016DCF"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",fill:t})}),u9=({size:e=18,fill:t="#101828"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M19 6.41L17.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 12 19 6.41z",fill:t})}),zo=l.forwardRef(({isGTN:e=!1,isChecked:t,id:n,onChange:r,label:i,required:a,isRequiredConditional:o=!1,originalCase:u=!1,hideStatus:s=!1,labelDirection:c=gr.TOP,statusText:d,withIcon:f=!1,tags:p,isAiExtracted:m=!1,tooltip:g="",className:b="",isDisabled:v=!1,icon:x,stopClickPropagation:E=!0,gtnName:C,variant:F="primary",labelClassName:y,isLiveField:w=!1,message:z,messageType:k="default",wrapperClassName:I,helpText:S,size:B="medium",renderAiExtractedIndicator:H,renderLabels:T,renderRequired:j,renderTooltip:N,renderLiveFieldIcon:O,renderGTNAddButton:_,onAddGTNToDocument:V,AddToDocumentIcon:G,t:A=X=>X},U)=>{const X=c===gr.TOP,M=c===gr.LEFT,W=c===gr.RIGHT,[oe,ae]=l.useState(!1),Y=()=>{V&&V({key:C,value:t?"Yes":"No"})},de=()=>k==="error"?"text-red-500 dark:text-red-400":k==="success"?"text-green-500 dark:text-green-400":k==="info"?"text-primary-500 dark:text-primary-400":"text-neutral-500 dark:text-neutral-400",Q=ve=>h.jsx("span",{className:`ml-0.5 ${ve?"text-yellow-500":"text-red-500"}`,children:"*"});return h.jsxs("div",{className:$("flex gap-0.5",oe&&e?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",I),onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),onClick:ve=>{E&&ve.stopPropagation()},children:[e&&!oe?h.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-pulse mt-1.5"}):null,h.jsxs("div",{className:"w-full flex flex-col",children:[X&&i&&h.jsxs("div",{className:"w-full flex justify-between flex-wrap",children:[h.jsxs("h1",{className:$("mb-1 font-inter text-neutral-600 font-medium text-xs flex items-center gap-0.5 flex-wrap",y),children:[h.jsxs(ne,{size:"extra-small",variant:"medium",className:u?"":"capitalize",appearance:"subtitle",children:[i,a&&(j?j(o):Q(o))]}),w&&h.jsx(kt.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),m&&h.jsx(Ki,{}),h.jsx(Vr,{labels:p||[]}),g&&h.jsx(Pt,{placement:"top",title:g,children:h.jsx("div",{className:"cursor-pointer",children:h.jsx(Or,{})})})]}),e&&oe?_?_(Y):h.jsx("button",{id:"btn-toggle-add-to-document",className:"cursor-pointer",onClick:Y,type:"button",children:h.jsx(Ye.Tooltip,{placement:"top",title:A("Add to document"),children:h.jsx(kt.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]}),S&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:S}),h.jsxs("div",{className:"flex",children:[M&&h.jsx(ne,{size:"small",variant:"medium",className:$("mr-2 text-neutral-700 dark:text-black-200",y),appearance:"custom",children:i}),h.jsxs("label",{className:$("relative inline-flex items-center",W||d?"":"w-min",v?"cursor-not-allowed opacity-50":"cursor-pointer"),onClick:ve=>ve.stopPropagation(),children:[h.jsx("input",{ref:U,type:"checkbox",id:n,onChange:ve=>!v&&r(ve.target.checked),value:"",disabled:v,checked:t,className:$("sr-only peer w-full",b),"aria-required":a,"aria-invalid":z&&k==="error"?"true":"false","aria-describedby":z||S?`${n}-description`:void 0}),h.jsx("div",{className:o9(t,f,v,B),children:f?h.jsx("div",{className:"flex items-center justify-center h-full",children:h.jsx("div",{className:$("z-10 transition-all transform",B==="small"&&(t?"translate-x-2":"translate-x-[-6px]"),B==="medium"&&(t?"translate-x-[8.5px]":"translate-x-[-8px]"),B==="large"&&(t?"translate-x-2.5":"translate-x-[-10px]")),children:t?x?.checkedIcon?x.checkedIcon:h.jsx(s9,{size:18,fill:"#016DCF"}):x?.uncheckedIcon?x.uncheckedIcon:h.jsx(u9,{size:18,fill:"#101828"})})}):null}),W&&h.jsx(ne,{size:"small",variant:"medium",className:$("ml-2 text-neutral-700 dark:text-black-300",y),appearance:"custom",children:i}),s?null:h.jsx(ne,{size:"small",variant:"medium",className:"ml-2 text-neutral-900 dark:text-black-100",appearance:"custom",children:d||(t?"Yes":"No")})]})]}),h.jsx(Ae.AnimatePresence,{children:z&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${n}-description`,role:k==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",de()),appearance:"custom",size:"extra-small",variant:"medium",children:z})})}),S&&!z&&h.jsx("div",{id:`${n}-description`,className:"sr-only",children:S})]})]})});zo.displayName="Toggle";function vD(){}function bD(){}function c9(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const d9=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,f9=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h9={};function Oc(e,t){return(h9.jsx?f9:d9).test(e)}const m9=/[ \t\n\f\r]/g;function p9(e){return typeof e=="object"?e.type==="text"?Vc(e.value):!1:Vc(e)}function Vc(e){return e.replace(m9,"")===""}class ni{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ni.prototype.normal={},ni.prototype.property={},ni.prototype.space=void 0;function Gc(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new ni(n,r,t)}function Fo(e){return e.toLowerCase()}class vt{constructor(t,n){this.attribute=n,this.property=t}}vt.prototype.attribute="",vt.prototype.booleanish=!1,vt.prototype.boolean=!1,vt.prototype.commaOrSpaceSeparated=!1,vt.prototype.commaSeparated=!1,vt.prototype.defined=!1,vt.prototype.mustUseProperty=!1,vt.prototype.number=!1,vt.prototype.overloadedBoolean=!1,vt.prototype.property="",vt.prototype.spaceSeparated=!1,vt.prototype.space=void 0;let g9=0;const Ce=Jn(),et=Jn(),So=Jn(),R=Jn(),Xe=Jn(),vr=Jn(),Ft=Jn();function Jn(){return 2**++g9}const Mo=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ce,booleanish:et,commaOrSpaceSeparated:Ft,commaSeparated:vr,number:R,overloadedBoolean:So,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),Ao=Object.keys(Mo);class No extends vt{constructor(t,n,r,i){let a=-1;if(super(t,n),_c(this,"space",i),typeof r=="number")for(;++a<Ao.length;){const o=Ao[a];_c(this,Ao[a],(r&Mo[o])===Mo[o])}}}No.prototype.defined=!0;function _c(e,t,n){n&&(e[t]=n)}function br(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new No(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Fo(r)]=r,n[Fo(a.attribute)]=r}return new ni(t,n,e.space)}const Wc=br({properties:{ariaActiveDescendant:null,ariaAtomic:et,ariaAutoComplete:null,ariaBusy:et,ariaChecked:et,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:et,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:et,ariaFlowTo:Xe,ariaGrabbed:et,ariaHasPopup:null,ariaHidden:et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:R,ariaLive:null,ariaModal:et,ariaMultiLine:et,ariaMultiSelectable:et,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:et,ariaReadOnly:et,ariaRelevant:null,ariaRequired:et,ariaRoleDescription:Xe,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:et,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function $c(e,t){return t in e?e[t]:t}function Xc(e,t){return $c(e,t.toLowerCase())}const v9=br({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:vr,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:Ce,allowPaymentRequest:Ce,allowUserMedia:Ce,alt:null,as:null,async:Ce,autoCapitalize:null,autoComplete:Xe,autoFocus:Ce,autoPlay:Ce,blocking:Xe,capture:null,charSet:null,checked:Ce,cite:null,className:Xe,cols:R,colSpan:null,content:null,contentEditable:et,controls:Ce,controlsList:Xe,coords:R|vr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ce,defer:Ce,dir:null,dirName:null,disabled:Ce,download:So,draggable:et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ce,formTarget:null,headers:Xe,height:R,hidden:So,high:R,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:Ce,inputMode:null,integrity:null,is:null,isMap:Ce,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:Ce,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ce,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:Ce,muted:Ce,name:null,nonce:null,noModule:Ce,noValidate:Ce,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ce,optimum:R,pattern:null,ping:Xe,placeholder:null,playsInline:Ce,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ce,referrerPolicy:null,rel:Xe,required:Ce,reversed:Ce,rows:R,rowSpan:R,sandbox:Xe,scope:null,scoped:Ce,seamless:Ce,selected:Ce,shadowRootClonable:Ce,shadowRootDelegatesFocus:Ce,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:Ce,useMap:null,value:et,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ce,declare:Ce,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:Ce,noHref:Ce,noShade:Ce,noWrap:Ce,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:et,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ce,disableRemotePlayback:Ce,prefix:null,property:null,results:R,security:null,unselectable:null},space:"html",transform:Xc}),b9=br({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ft,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:Ce,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:vr,g2:vr,glyphName:vr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ft,rev:Ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ft,requiredFeatures:Ft,requiredFonts:Ft,requiredFormats:Ft,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ft,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$c}),Uc=br({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Jc=br({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Xc}),Zc=br({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),x9={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},w9=/[A-Z]/g,Yc=/-[a-z]/g,y9=/^data[-\w.:]+$/i;function E9(e,t){const n=Fo(t);let r=t,i=vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&y9.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Yc,k9);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Yc.test(a)){let o=a.replace(w9,C9);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=No}return new i(r,t)}function C9(e){return"-"+e.toLowerCase()}function k9(e){return e.charAt(1).toUpperCase()}const I9=Gc([Wc,v9,Uc,Jc,Zc],"html"),Bo=Gc([Wc,b9,Uc,Jc,Zc],"svg");function z9(e){return e.join(" ").trim()}var xr={},Ho,qc;function F9(){if(qc)return Ho;qc=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,u=/^\s+|\s+$/g,s=`
|
|
86
|
+
`]))),M8=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,u=a.spacing.baseUnit;return ge({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:u*2})},mo=function(t){var n=t.delay,r=t.offset;return pe("span",{css:ao({animation:"".concat(S8," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlY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nRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},A8=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,o=tn(t,x8);return pe("div",me({},qe(ge(ge({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),pe(mo,{delay:0,offset:r}),pe(mo,{delay:160,offset:!0}),pe(mo,{delay:320,offset:!r}))},N8=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,u=a.borderRadius,s=a.spacing;return ge({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},B8=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return pe("div",me({ref:a},qe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),o,{"aria-disabled":r||void 0}),n)},H8=B8,L8=["data"],D8=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},T8=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,u=t.headingProps,s=t.innerProps,c=t.label,d=t.theme,f=t.selectProps;return pe("div",me({},qe(t,"group",{group:!0}),s),pe(o,me({},u,{selectProps:f,theme:d,getStyles:i,getClassNames:a,cx:r}),c),pe("div",null,n))},j8=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return ge({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},P8=function(t){var n=Xu(t);n.data;var r=tn(n,L8);return pe("div",me({},qe(t,"groupHeading",{"group-heading":!0}),r))},O8=T8,V8=["innerRef","isDisabled","isHidden","inputClassName"],G8=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,u=a.colors;return ge(ge({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},_8),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},rc={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},_8={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ge({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},rc)},W8=function(t){return ge({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},rc)},$8=function(t){var n=t.cx,r=t.value,i=Xu(t),a=i.innerRef,o=i.isDisabled,u=i.isHidden,s=i.inputClassName,c=tn(i,V8);return pe("div",me({},qe(t,"input",{"input-container":!0}),{"data-value":r||""}),pe("input",me({className:n({input:!0},s),ref:a,style:W8(u),disabled:o},c)))},X8=$8,U8=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return ge({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},J8=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return ge({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Z8=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,u=t.isFocused;return ge({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},ic=function(t){var n=t.children,r=t.innerProps;return pe("div",r,n)},Y8=ic,q8=ic;function K8(e){var t=e.children,n=e.innerProps;return pe("div",me({role:"button"},n),t||pe(ho,{size:14}))}var Q8=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,u=t.removeProps,s=t.selectProps,c=r.Container,d=r.Label,f=r.Remove;return pe(c,{data:i,innerProps:ge(ge({},qe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:s},pe(d,{data:i,innerProps:ge({},qe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},n),pe(f,{data:i,innerProps:ge(ge({},qe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:s}))},R8=Q8,ev=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,u=o.spacing,s=o.colors;return ge({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?s.primary:i?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}})},tv=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,u=t.innerProps;return pe("div",me({},qe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},u),n)},nv=tv,rv=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return ge({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},iv=function(t){var n=t.children,r=t.innerProps;return pe("div",me({},qe(t,"placeholder",{placeholder:!0}),r),n)},lv=iv,av=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return ge({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},ov=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return pe("div",me({},qe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},sv=ov,wl={ClearIndicator:I8,Control:H8,DropdownIndicator:C8,DownChevron:tc,CrossIcon:ho,Group:O8,GroupHeading:P8,IndicatorsContainer:v8,IndicatorSeparator:F8,Input:X8,LoadingIndicator:A8,Menu:r8,MenuList:l8,MenuPortal:d8,LoadingMessage:u8,NoOptionsMessage:s8,MultiValue:R8,MultiValueContainer:Y8,MultiValueLabel:q8,MultiValueRemove:K8,Option:nv,Placeholder:lv,SelectContainer:h8,SingleValue:sv,ValueContainer:p8},uv=function(t){return ge(ge({},wl),t.components)},lc=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function cv(e,t){return!!(e===t||lc(e)&&lc(t))}function dv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!cv(e[n],t[n]))return!1;return!0}function fv(e,t){t===void 0&&(t=dv);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}function hv(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var mv=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:hv},pv=function(t){return pe("span",me({css:mv},t))},ac=pv,gv={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,o=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,u=t.selectValue,s=t.isDisabled,c=t.isSelected,d=t.isAppleDevice,f=function(b,v){return b&&b.length?"".concat(b.indexOf(v)+1," of ").concat(b.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(f(u,r),".");if(n==="menu"&&d){var p=s?" disabled":"",m="".concat(c?" selected":"").concat(p);return"".concat(o).concat(m,", ").concat(f(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},vv=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,u=t.selectValue,s=t.selectProps,c=t.id,d=t.isAppleDevice,f=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,g=s.isMulti,b=s.isOptionDisabled,v=s.isSearchable,x=s.menuIsOpen,E=s.options,C=s.screenReaderStatus,F=s.tabSelectsValue,y=s.isLoading,w=s["aria-label"],z=s["aria-live"],k=l.useMemo(function(){return ge(ge({},gv),f||{})},[f]),I=l.useMemo(function(){var N="";if(n&&k.onChange){var O=n.option,_=n.options,V=n.removedValue,G=n.removedValues,A=n.value,U=function(de){return Array.isArray(de)?null:de},X=V||O||U(A),M=X?p(X):"",W=_||G||void 0,oe=W?W.map(p):[],ae=ge({isDisabled:X&&b(X,u),label:M,labels:oe},n);N=k.onChange(ae)}return N},[n,k,b,u,p]),S=l.useMemo(function(){var N="",O=r||i,_=!!(r&&u&&u.includes(r));if(O&&k.onFocus){var V={focused:O,label:p(O),isDisabled:b(O,u),isSelected:_,options:a,context:O===r?"menu":"value",selectValue:u,isAppleDevice:d};N=k.onFocus(V)}return N},[r,i,p,b,k,a,u,d]),B=l.useMemo(function(){var N="";if(x&&E.length&&!y&&k.onFilter){var O=C({count:a.length});N=k.onFilter({inputValue:m,resultsMessage:O})}return N},[a,m,x,k,E,C,y]),H=n?.action==="initial-input-focus",T=l.useMemo(function(){var N="";if(k.guidance){var O=i?"value":x?"menu":"input";N=k.guidance({"aria-label":w,context:O,isDisabled:r&&b(r,u),isMulti:g,isSearchable:v,tabSelectsValue:F,isInitialFocus:H})}return N},[w,r,i,g,b,v,x,k,u,F,H]),j=pe(l.Fragment,null,pe("span",{id:"aria-selection"},I),pe("span",{id:"aria-focused"},S),pe("span",{id:"aria-results"},B),pe("span",{id:"aria-guidance"},T));return pe(l.Fragment,null,pe(ac,{id:c},H&&j),pe(ac,{"aria-live":z,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!H&&j))},bv=vv,po=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],xv=new RegExp("["+po.map(function(e){return e.letters}).join("")+"]","g"),oc={},go=0;go<po.length;go++)for(var vo=po[go],bo=0;bo<vo.letters.length;bo++)oc[vo.letters[bo]]=vo.base;var sc=function(t){return t.replace(xv,function(n){return oc[n]})},wv=fv(sc),uc=function(t){return t.replace(/^\s+|\s+$/g,"")},yv=function(t){return"".concat(t.label," ").concat(t.value)},Ev=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=ge({ignoreCase:!0,ignoreAccents:!0,stringify:yv,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,u=i.stringify,s=i.trim,c=i.matchFrom,d=s?uc(r):r,f=s?uc(u(n)):u(n);return a&&(d=d.toLowerCase(),f=f.toLowerCase()),o&&(d=wv(d),f=sc(f)),c==="start"?f.substr(0,d.length)===d:f.indexOf(d)>-1}},Cv=["innerRef"];function kv(e){var t=e.innerRef,n=tn(e,Cv),r=Y7(n,"onExited","in","enter","exit","appear");return pe("input",me({ref:t},r,{css:ao({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLC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c29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Iv=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function zv(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=l.useRef(!1),u=l.useRef(!1),s=l.useRef(0),c=l.useRef(null),d=l.useCallback(function(v,x){if(c.current!==null){var E=c.current,C=E.scrollTop,F=E.scrollHeight,y=E.clientHeight,w=c.current,z=x>0,k=F-y-C,I=!1;k>x&&o.current&&(r&&r(v),o.current=!1),z&&u.current&&(a&&a(v),u.current=!1),z&&x>k?(n&&!o.current&&n(v),w.scrollTop=F,I=!0,o.current=!0):!z&&-x>C&&(i&&!u.current&&i(v),w.scrollTop=0,I=!0,u.current=!0),I&&Iv(v)}},[n,r,i,a]),f=l.useCallback(function(v){d(v,v.deltaY)},[d]),p=l.useCallback(function(v){s.current=v.changedTouches[0].clientY},[]),m=l.useCallback(function(v){var x=s.current-v.changedTouches[0].clientY;d(v,x)},[d]),g=l.useCallback(function(v){if(v){var x=U7?{passive:!1}:!1;v.addEventListener("wheel",f,x),v.addEventListener("touchstart",p,x),v.addEventListener("touchmove",m,x)}},[m,p,f]),b=l.useCallback(function(v){v&&(v.removeEventListener("wheel",f,!1),v.removeEventListener("touchstart",p,!1),v.removeEventListener("touchmove",m,!1))},[m,p,f]);return l.useEffect(function(){if(t){var v=c.current;return g(v),function(){b(v)}}},[t,g,b]),function(v){c.current=v}}var cc=["boxSizing","height","overflow","paddingRight","position"],dc={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function fc(e){e.cancelable&&e.preventDefault()}function hc(e){e.stopPropagation()}function mc(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function pc(){return"ontouchstart"in window||navigator.maxTouchPoints}var gc=!!(typeof window<"u"&&window.document&&window.document.createElement),ti=0,pr={capture:!1,passive:!1};function Fv(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=l.useRef({}),a=l.useRef(null),o=l.useCallback(function(s){if(gc){var c=document.body,d=c&&c.style;if(r&&cc.forEach(function(g){var b=d&&d[g];i.current[g]=b}),r&&ti<1){var f=parseInt(i.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+f||0;Object.keys(dc).forEach(function(g){var b=dc[g];d&&(d[g]=b)}),d&&(d.paddingRight="".concat(m,"px"))}c&&pc()&&(c.addEventListener("touchmove",fc,pr),s&&(s.addEventListener("touchstart",mc,pr),s.addEventListener("touchmove",hc,pr))),ti+=1}},[r]),u=l.useCallback(function(s){if(gc){var c=document.body,d=c&&c.style;ti=Math.max(ti-1,0),r&&ti<1&&cc.forEach(function(f){var p=i.current[f];d&&(d[f]=p)}),c&&pc()&&(c.removeEventListener("touchmove",fc,pr),s&&(s.removeEventListener("touchstart",mc,pr),s.removeEventListener("touchmove",hc,pr)))}},[r]);return l.useEffect(function(){if(t){var s=a.current;return o(s),function(){u(s)}}},[t,o,u]),function(s){a.current=s}}function Sv(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Mv=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Av=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSB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bGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Sv};function Nv(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,s=e.onTopLeave,c=zv({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:u,onTopLeave:s}),d=Fv({isEnabled:n}),f=function(m){c(m),d(m)};return pe(l.Fragment,null,n&&pe("div",{onClick:Mv,css:Av}),t(f))}function Bv(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Hv=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Bv},Lv=function(t){var n=t.name,r=t.onFocus;return pe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:Hv,value:"",onChange:function(){}})},Dv=Lv;function xo(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Tv(){return xo(/^iPhone/i)}function vc(){return xo(/^Mac/i)}function jv(){return xo(/^iPad/i)||vc()&&navigator.maxTouchPoints>1}function Pv(){return Tv()||jv()}function Ov(){return vc()||Pv()}var Vv=function(t){return t.label},bc=function(t){return t.label},xc=function(t){return t.value},Gv=function(t){return!!t.isDisabled},_v={clearIndicator:k8,container:f8,control:N8,dropdownIndicator:E8,group:D8,groupHeading:j8,indicatorsContainer:g8,indicatorSeparator:z8,input:G8,loadingIndicator:M8,loadingMessage:o8,menu:e8,menuList:i8,menuPortal:c8,multiValue:U8,multiValueLabel:J8,multiValueRemove:Z8,noOptionsMessage:a8,option:ev,placeholder:rv,singleValue:av,valueContainer:m8},Wv={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},$v=4,wc=4,Xv=38,Uv=wc*2,Jv={baseUnit:wc,controlHeight:Xv,menuGutter:Uv},wo={borderRadius:$v,colors:Wv,spacing:Jv},Zv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Zu(),captureMenuScroll:!Zu(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ev(),formatGroupLabel:Vv,getOptionLabel:bc,getOptionValue:xc,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Gv,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!$7(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function yc(e,t,n,r){var i=zc(e,t,n),a=Fc(e,t,n),o=Ic(e,t),u=El(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:u,index:r}}function yl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,u){return yc(e,o,t,u)}).filter(function(o){return kc(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=yc(e,n,t,r);return kc(e,a)?a:void 0}).filter(J7)}function Ec(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,dr(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Cc(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,dr(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function Yv(e,t){return Ec(yl(e,t))}function kc(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,u=t.value;return(!Mc(e)||!a)&&Sc(e,{label:o,value:u,data:i},r)}function qv(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function Kv(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var yo=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Ic=function(t,n){return t.getOptionLabel(n)},El=function(t,n){return t.getOptionValue(n)};function zc(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Fc(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=El(e,t);return n.some(function(i){return El(e,i)===r})}function Sc(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Mc=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Qv=1,Eo=function(e){hg(n,e);var t=gg(n);function n(r){var i;if(dg(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,c){var d=i.props,f=d.onChange,p=d.name;c.name=p,i.ariaOnChange(s,c),f(s,c)},i.setValue=function(s,c,d){var f=i.props,p=f.closeMenuOnSelect,m=f.isMulti,g=f.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:g}),p&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:c,option:d})},i.selectOption=function(s){var c=i.props,d=c.blurInputOnSelect,f=c.isMulti,p=c.name,m=i.state.selectValue,g=f&&i.isOptionSelected(s,m),b=i.isOptionDisabled(s,m);if(g){var v=i.getOptionValue(s);i.setValue(m.filter(function(x){return i.getOptionValue(x)!==v}),"deselect-option",s)}else if(!b)f?i.setValue([].concat(dr(m),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:p});return}d&&i.blurInput()},i.removeValue=function(s){var c=i.props.isMulti,d=i.state.selectValue,f=i.getOptionValue(s),p=d.filter(function(g){return i.getOptionValue(g)!==f}),m=ei(c,p,p[0]||null);i.onChange(m,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange(ei(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,c=i.state.selectValue,d=c[c.length-1],f=c.slice(0,c.length-1),p=ei(s,f,f[0]||null);d&&i.onChange(p,{action:"pop-value",removedValue:d})},i.getFocusedOptionId=function(s){return yo(i.state.focusableOptionsWithIds,s)},i.getFocusableOptionsWithIds=function(){return Cc(yl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,c=new Array(s),d=0;d<s;d++)c[d]=arguments[d];return O7.apply(void 0,[i.props.classNamePrefix].concat(c))},i.getOptionLabel=function(s){return Ic(i.props,s)},i.getOptionValue=function(s){return El(i.props,s)},i.getStyles=function(s,c){var d=i.props.unstyled,f=_v[s](c,d);f.boxSizing="border-box";var p=i.props.styles[s];return p?p(f,c):f},i.getClassNames=function(s,c){var d,f;return(d=(f=i.props.classNames)[s])===null||d===void 0?void 0:d.call(f,c)},i.getElementId=function(s){return"".concat(i.state.instancePrefix,"-").concat(s)},i.getComponents=function(){return uv(i.props)},i.buildCategorizedOptions=function(){return yl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Ec(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(s,c){i.setState({ariaSelection:ge({value:s},c)})},i.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(s){i.blockOptionHover=!1},i.onControlMouseDown=function(s){if(!s.defaultPrevented){var c=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&i.onMenuClose():c&&i.openMenu("first"):(c&&(i.openAfterFocus=!0),i.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},i.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!i.props.isDisabled){var c=i.props,d=c.isMulti,f=c.menuIsOpen;i.focusInput(),f?(i.setState({inputIsHiddenAfterUpdate:!d}),i.onMenuClose()):i.openMenu("first"),s.preventDefault()}},i.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(i.clearValue(),s.preventDefault(),i.openAfterFocus=!1,s.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(s){typeof i.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&gl(s.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(s)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(s){var c=s.touches,d=c&&c.item(0);d&&(i.initialTouchX=d.clientX,i.initialTouchY=d.clientY,i.userIsDragging=!1)},i.onTouchMove=function(s){var c=s.touches,d=c&&c.item(0);if(d){var f=Math.abs(d.clientX-i.initialTouchX),p=Math.abs(d.clientY-i.initialTouchY),m=5;i.userIsDragging=f>m||p>m}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var c=i.props.inputValue,d=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(d,{action:"input-change",prevInputValue:c}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var c=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:c}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){if(!(i.blockOptionHover||i.state.focusedOption===s)){var c=i.getFocusableOptions(),d=c.indexOf(s);i.setState({focusedOption:s,focusedOptionId:d>-1?i.getFocusedOptionId(s):null})}},i.shouldHideSelectedOptions=function(){return Mc(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var c=i.props,d=c.isMulti,f=c.backspaceRemovesValue,p=c.escapeClearsValue,m=c.inputValue,g=c.isClearable,b=c.isDisabled,v=c.menuIsOpen,x=c.onKeyDown,E=c.tabSelectsValue,C=c.openMenuOnFocus,F=i.state,y=F.focusedOption,w=F.focusedValue,z=F.selectValue;if(!b&&!(typeof x=="function"&&(x(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!d||m)return;i.focusValue("previous");break;case"ArrowRight":if(!d||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(w)i.removeValue(w);else{if(!f)return;d?i.popValue():g&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!v||!E||!y||C&&i.isOptionSelected(y,z))return;i.selectOption(y);break;case"Enter":if(s.keyCode===229)break;if(v){if(!y||i.isComposing)return;i.selectOption(y);break}return;case"Escape":v?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):g&&p&&i.clearValue();break;case" ":if(m)return;if(!v){i.openMenu("first");break}if(!y)return;i.selectOption(y);break;case"ArrowUp":v?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":v?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!v)return;i.focusOption("pageup");break;case"PageDown":if(!v)return;i.focusOption("pagedown");break;case"Home":if(!v)return;i.focusOption("first");break;case"End":if(!v)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Qv),i.state.selectValue=pl(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),u=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[u],i.state.focusedOptionId=yo(a,o[u])}return i}return fg(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ju(this.menuListRef,this.focusedOptionRef),Ov()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,u=a.menuIsOpen,s=this.state.isFocused;(s&&!o&&i.isDisabled||s&&u&&!i.menuIsOpen)&&this.focusInput(),s&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ju(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,u=o.selectValue,s=o.isFocused,c=this.buildFocusableOptions(),d=i==="first"?0:c.length-1;if(!this.props.isMulti){var f=c.indexOf(u[0]);f>-1&&(d=f)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[d],focusedOptionId:this.getFocusedOptionId(c[d])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=o.indexOf(u);u||(s=-1);var c=o.length-1,d=-1;if(o.length){switch(i){case"previous":s===0?d=0:s===-1?d=c:d=s-1;break;case"next":s>-1&&s<c&&(d=s+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var s=0,c=u.indexOf(o);o||(c=-1),i==="up"?s=c>0?c-1:u.length-1:i==="down"?s=(c+1)%u.length:i==="pageup"?(s=c-a,s<0&&(s=0)):i==="pagedown"?(s=c+a,s>u.length-1&&(s=u.length-1)):i==="last"&&(s=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[s])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(wo):ge(ge({},wo),this.props.theme):wo}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,u=this.getClassNames,s=this.getValue,c=this.selectOption,d=this.setValue,f=this.props,p=f.isMulti,m=f.isRtl,g=f.options,b=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:u,getValue:s,hasValue:b,isMulti:p,isRtl:m,options:g,selectOption:c,selectProps:f,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return zc(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return Fc(this.props,i,a)}},{key:"filterOption",value:function(i,a){return Sc(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,u=i.inputId,s=i.inputValue,c=i.tabIndex,d=i.form,f=i.menuIsOpen,p=i.required,m=this.getComponents(),g=m.Input,b=this.state,v=b.inputIsHidden,x=b.ariaSelection,E=this.commonProps,C=u||this.getElementId("input"),F=ge(ge(ge({"aria-autocomplete":"list","aria-expanded":f,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},f&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?ie.createElement(g,me({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:a,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:d,type:"text",value:s},F)):ie.createElement(kv,me({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ml,onFocus:this.onInputFocus,disabled:a,tabIndex:c,inputMode:"none",form:d,value:""},F))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,u=a.MultiValueContainer,s=a.MultiValueLabel,c=a.MultiValueRemove,d=a.SingleValue,f=a.Placeholder,p=this.commonProps,m=this.props,g=m.controlShouldRenderValue,b=m.isDisabled,v=m.isMulti,x=m.inputValue,E=m.placeholder,C=this.state,F=C.selectValue,y=C.focusedValue,w=C.isFocused;if(!this.hasValue()||!g)return x?null:ie.createElement(f,me({},p,{key:"placeholder",isDisabled:b,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),E);if(v)return F.map(function(k,I){var S=k===y,B="".concat(i.getOptionLabel(k),"-").concat(i.getOptionValue(k));return ie.createElement(o,me({},p,{components:{Container:u,Label:s,Remove:c},isFocused:S,isDisabled:b,key:B,index:I,removeProps:{onClick:function(){return i.removeValue(k)},onTouchEnd:function(){return i.removeValue(k)},onMouseDown:function(T){T.preventDefault()}},data:k}),i.formatOptionLabel(k,"value"))});if(x)return null;var z=F[0];return ie.createElement(d,me({},p,{data:z,isDisabled:b}),this.formatOptionLabel(z,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!this.isClearable()||!a||s||!this.hasValue()||c)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(a,me({},o,{innerProps:f,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!a||!c)return null;var f={"aria-hidden":"true"};return ie.createElement(a,me({},o,{innerProps:f,isDisabled:s,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var u=this.commonProps,s=this.props.isDisabled,c=this.state.isFocused;return ie.createElement(o,me({},u,{isDisabled:s,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,u=this.props.isDisabled,s=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(a,me({},o,{innerProps:c,isDisabled:u,isFocused:s}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,u=a.GroupHeading,s=a.Menu,c=a.MenuList,d=a.MenuPortal,f=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,g=this.commonProps,b=this.state.focusedOption,v=this.props,x=v.captureMenuScroll,E=v.inputValue,C=v.isLoading,F=v.loadingMessage,y=v.minMenuHeight,w=v.maxMenuHeight,z=v.menuIsOpen,k=v.menuPlacement,I=v.menuPosition,S=v.menuPortalTarget,B=v.menuShouldBlockScroll,H=v.menuShouldScrollIntoView,T=v.noOptionsMessage,j=v.onMenuScrollToTop,N=v.onMenuScrollToBottom;if(!z)return null;var O=function(M,W){var oe=M.type,ae=M.data,Y=M.isDisabled,de=M.isSelected,Q=M.label,ve=M.value,He=b===ae,re=Y?void 0:function(){return i.onOptionHover(ae)},it=Y?void 0:function(){return i.selectOption(ae)},Je="".concat(i.getElementId("option"),"-").concat(W),ue={id:Je,onClick:it,onMouseMove:re,onMouseOver:re,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:de};return ie.createElement(m,me({},g,{innerProps:ue,data:ae,isDisabled:Y,isSelected:de,key:Je,label:Q,type:oe,value:ve,isFocused:He,innerRef:He?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(M.data,"menu"))},_;if(this.hasOptions())_=this.getCategorizedOptions().map(function(X){if(X.type==="group"){var M=X.data,W=X.options,oe=X.index,ae="".concat(i.getElementId("group"),"-").concat(oe),Y="".concat(ae,"-heading");return ie.createElement(o,me({},g,{key:ae,data:M,options:W,Heading:u,headingProps:{id:Y,data:X.data},label:i.formatGroupLabel(X.data)}),X.options.map(function(de){return O(de,"".concat(oe,"-").concat(de.index))}))}else if(X.type==="option")return O(X,"".concat(X.index))});else if(C){var V=F({inputValue:E});if(V===null)return null;_=ie.createElement(f,g,V)}else{var G=T({inputValue:E});if(G===null)return null;_=ie.createElement(p,g,G)}var A={minMenuHeight:y,maxMenuHeight:w,menuPlacement:k,menuPosition:I,menuShouldScrollIntoView:H},U=ie.createElement(t8,me({},g,A),function(X){var M=X.ref,W=X.placerProps,oe=W.placement,ae=W.maxHeight;return ie.createElement(s,me({},g,A,{innerRef:M,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:C,placement:oe}),ie.createElement(Nv,{captureEnabled:x,onTopArrive:j,onBottomArrive:N,lockEnabled:B},function(Y){return ie.createElement(c,me({},g,{innerRef:function(Q){i.getMenuListRef(Q),Y(Q)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:i.getElementId("listbox")},isLoading:C,maxHeight:ae,focusedOption:b}),_)}))});return S||I==="fixed"?ie.createElement(d,me({},g,{appendTo:S,controlElement:this.controlRef,menuPlacement:k,menuPosition:I}),U):U}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,u=a.isDisabled,s=a.isMulti,c=a.name,d=a.required,f=this.state.selectValue;if(d&&!this.hasValue()&&!u)return ie.createElement(Dv,{name:c,onFocus:this.onValueInputFocus});if(!(!c||u))if(s)if(o){var p=f.map(function(b){return i.getOptionValue(b)}).join(o);return ie.createElement("input",{name:c,type:"hidden",value:p})}else{var m=f.length>0?f.map(function(b,v){return ie.createElement("input",{key:"i-".concat(v),name:c,type:"hidden",value:i.getOptionValue(b)})}):ie.createElement("input",{name:c,type:"hidden",value:""});return ie.createElement("div",null,m)}else{var g=f[0]?this.getOptionValue(f[0]):"";return ie.createElement("input",{name:c,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,u=a.focusedOption,s=a.focusedValue,c=a.isFocused,d=a.selectValue,f=this.getFocusableOptions();return ie.createElement(bv,me({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:s,isFocused:c,selectValue:d,focusableOptions:f,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,u=i.SelectContainer,s=i.ValueContainer,c=this.props,d=c.className,f=c.id,p=c.isDisabled,m=c.menuIsOpen,g=this.state.isFocused,b=this.commonProps=this.getCommonProps();return ie.createElement(u,me({},b,{className:d,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:g}),this.renderLiveRegion(),ie.createElement(a,me({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:g,menuIsOpen:m}),ie.createElement(s,me({},b,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),ie.createElement(o,me({},b,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,u=a.clearFocusValueOnUpdate,s=a.inputIsHiddenAfterUpdate,c=a.ariaSelection,d=a.isFocused,f=a.prevWasFocused,p=a.instancePrefix,m=i.options,g=i.value,b=i.menuIsOpen,v=i.inputValue,x=i.isMulti,E=pl(g),C={};if(o&&(g!==o.value||m!==o.options||b!==o.menuIsOpen||v!==o.inputValue)){var F=b?Yv(i,E):[],y=b?Cc(yl(i,E),"".concat(p,"-option")):[],w=u?qv(a,E):null,z=Kv(a,F),k=yo(y,z);C={selectValue:E,focusedOption:z,focusedOptionId:k,focusableOptionsWithIds:y,focusedValue:w,clearFocusValueOnUpdate:!1}}var I=s!=null&&i!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},S=c,B=d&&f;return d&&!B&&(S={value:ei(x,E,E[0]||null),options:E,action:"initial-input-focus"},B=!f),c?.action==="initial-input-focus"&&(S=null),ge(ge(ge({},C),I),{},{prevProps:i,ariaSelection:S,prevWasFocused:B})}}]),n}(l.Component);Eo.defaultProps=Zv;var Rv=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ac(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,u=e.inputValue,s=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,m=e.value,g=tn(e,Rv),b=l.useState(u!==void 0?u:n),v=dn(b,2),x=v[0],E=v[1],C=l.useState(s!==void 0?s:i),F=dn(C,2),y=F[0],w=F[1],z=l.useState(m!==void 0?m:o),k=dn(z,2),I=k[0],S=k[1],B=l.useCallback(function(V,G){typeof c=="function"&&c(V,G),S(V)},[c]),H=l.useCallback(function(V,G){var A;typeof d=="function"&&(A=d(V,G)),E(A!==void 0?A:V)},[d]),T=l.useCallback(function(){typeof p=="function"&&p(),w(!0)},[p]),j=l.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),N=u!==void 0?u:x,O=s!==void 0?s:y,_=m!==void 0?m:I;return ge(ge({},g),{},{inputValue:N,menuIsOpen:O,onChange:B,onInputChange:H,onMenuClose:j,onMenuOpen:T,value:_})}var e9=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Nc=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),a=String(r.getOptionValue(n)).toLowerCase(),o=String(r.getOptionLabel(n)).toLowerCase();return a===i||o===i},Co={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(a){return Nc(t,a,i)})||r.some(function(a){return Nc(t,a,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function t9(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,a=e.formatCreateLabel,o=a===void 0?Co.formatCreateLabel:a,u=e.isValidNewOption,s=u===void 0?Co.isValidNewOption:u,c=e.getNewOptionData,d=c===void 0?Co.getNewOptionData:c,f=e.onCreateOption,p=e.options,m=p===void 0?[]:p,g=e.onChange,b=tn(e,e9),v=b.getOptionValue,x=v===void 0?xc:v,E=b.getOptionLabel,C=E===void 0?bc:E,F=b.inputValue,y=b.isLoading,w=b.isMulti,z=b.value,k=b.name,I=l.useMemo(function(){return s(F,pl(z),m,{getOptionValue:x,getOptionLabel:C})?d(F,o(F)):void 0},[o,d,C,x,F,s,m,z]),S=l.useMemo(function(){return(n||!y)&&I?i==="first"?[I].concat(dr(m)):[].concat(dr(m),[I]):m},[n,i,y,I,m]),B=l.useCallback(function(H,T){if(T.action!=="select-option")return g(H,T);var j=Array.isArray(H)?H:[H];if(j[j.length-1]===I){if(f)f(F);else{var N=d(F,F),O={action:"create-option",name:k,option:N};g(ei(w,[].concat(dr(pl(z)),[N]),N),O)}return}g(H,T)},[d,F,w,k,I,f,g,z]);return ge(ge({},b),{},{options:S,onChange:B})}var n9=l.forwardRef(function(e,t){var n=Ac(e),r=t9(n);return ie.createElement(Eo,me({ref:t},r))}),r9=n9;const Bc=l.forwardRef(({id:e,label:t,placeholder:n="Select...",value:r,selectedValues:i,onChange:a,onColorChange:o,selectOptions:u,loading:s=!1,multiSelect:c=!1,disabled:d=!1,isClearable:f=!0,required:p=!1,message:m,messageType:g="default",originalCase:b=!1,wrapperClassName:v,selectClassName:x,labelClassName:E,helpText:C,size:F="medium",filterOption:y,selectProps:w,components:z,tags:k,tooltip:I},S)=>{const B=()=>{switch(F){case"small":return{height:"28px",minHeight:"28px",fontSize:"12px",padding:"2px 8px"};case"large":return{height:"40px",minHeight:"40px",fontSize:"16px",padding:"8px 12px"};default:return{height:"32px",minHeight:"32px",fontSize:"14px",padding:"4px 10px"}}},H=M=>m&&g==="error"?"rgb(253 164 155)":m&&g==="success"?"rgb(34 197 94)":m&&g==="info"?"rgb(59 130 246)":M.isFocused?"rgb(0 108 207)":"rgb(229 229 229)",T=B(),j={control:(M,W)=>({...M,borderColor:H(W),backgroundColor:W.isDisabled?"rgb(245 245 245)":"rgb(255 255 255)",borderRadius:"6px",...T,opacity:W.isDisabled?.6:1,cursor:W.isDisabled?"not-allowed":"default",boxShadow:W.isFocused?"0 0 0 2px rgba(59, 130, 246, 0.1)":"none","&:hover":{borderColor:H(W)},transition:"all 0.2s ease-in-out"}),valueContainer:M=>({...M,fontSize:T.fontSize,padding:0,height:"auto",minHeight:"20px"}),input:M=>({...M,margin:"0",padding:"0",color:"inherit"}),indicatorsContainer:M=>({...M,fontSize:T.fontSize,padding:0,height:"20px"}),option:(M,W)=>({...M,fontFamily:"Inter",fontWeight:500,fontSize:T.fontSize,lineHeight:"1.2",borderBottom:"1px solid rgb(229 229 229)",backgroundColor:W.isSelected?"rgb(59 130 246)":W.isFocused?"rgb(245 245 245)":"rgb(255 255 255)",color:W.isSelected?"white":W.isDisabled?"rgb(163 163 163)":"inherit",cursor:W.isDisabled?"not-allowed":"pointer",opacity:W.isDisabled?.6:1,"&:hover":{backgroundColor:W.isSelected?"rgb(59 130 246)":W.isDisabled?"rgb(255 255 255)":"rgb(245 245 245)"}}),singleValue:(M,W)=>({...M,fontFamily:"Inter",fontWeight:500,fontSize:T.fontSize,lineHeight:"1.25rem",display:"block",color:W.isDisabled?"rgb(163 163 163)":"inherit"}),placeholder:(M,W)=>({...M,fontFamily:"Inter",fontSize:T.fontSize,fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:W.isDisabled?"rgb(163 163 163)":"rgb(115 115 115)"}),multiValue:M=>({...M,backgroundColor:"rgb(230 241 252)",border:"1px solid rgb(198 225 249)",borderRadius:"4px",fontFamily:"Inter"}),multiValueLabel:M=>({...M,color:"rgb(0 108 207)",fontSize:"12px"}),multiValueRemove:M=>({...M,color:"rgb(0 108 207)",":hover":{backgroundColor:"rgb(230 241 252)",color:"rgb(220 38 38)"}}),menu:M=>({...M,backgroundColor:"rgb(255 255 255)",border:"1px solid rgb(229 229 229)",borderRadius:"6px",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"}),loadingIndicator:M=>({...M,color:"rgb(99 102 241)"}),noOptionsMessage:M=>({...M,color:"rgb(107 114 128)",fontSize:T.fontSize})},N=()=>g==="error"?"text-red-500 dark:text-red-400":g==="success"?"text-green-500 dark:text-green-400":g==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",O=()=>{switch(F){case"small":return"extra-small";case"large":return"medium";default:return"small"}},_=()=>h.jsx("div",{className:"flex items-center",children:h.jsx(kt.ChevronLeftRounded,{className:"-rotate-90 transition-transform duration-200",sx:{fontSize:F==="small"?"14px":F==="large"?"18px":"16px"}})}),V=M=>h.jsx("div",{className:"absolute top-0 left-0 h-full flex items-center dark:text-neutral-100",children:M.data.label}),G=!!i?.length,U=f&&(G||!!r),X=(M,W)=>{a(M,W),o?.(M)};return h.jsxs("div",{className:$("flex flex-col w-full",v),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",!b&&"capitalize",E),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:O(),appearance:"subtitle",children:[t,p&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),C&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:C}),h.jsx(r9,{...w,ref:S,id:e,required:p,options:u,isClearable:U,isLoading:s,isDisabled:d,styles:j,isMulti:c,value:c?i:r,placeholder:n,filterOption:y,onChange:X,className:$("react-select-container",x),classNamePrefix:"react-select",components:{IndicatorsContainer:_,SingleValue:V,...z},"aria-required":p,"aria-invalid":m&&g==="error"?"true":"false","aria-describedby":m||C?`${e}-description`:void 0}),h.jsx(Ae.AnimatePresence,{children:m&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:g==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",N()),appearance:"custom",size:"extra-small",variant:"medium",children:m})})}),C&&!m&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:C})]})});Bc.displayName="CreatableSelectField";var i9=l.forwardRef(function(e,t){var n=Ac(e);return ie.createElement(Eo,me({ref:t},n))}),l9=i9;const ko=({ref:e,handler:t,enabled:n=!0})=>{l.useEffect(()=>{if(!n)return;const r=i=>{e.current&&!e.current.contains(i.target)&&t()};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t,n])},a9={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",850:"#1e3a8a",900:"#1e3a8a",950:"#172554",975:"#121f47"},Hc=({id:e,label:t,options:n,placeholder:r,onChange:i,isLoading:a=!1,hideLabel:o=!1,errorMessage:u,required:s=!1,optionConfig:c,menuConfig:d,value:f,isMulti:p=!1,isClearable:m=!0,disabled:g=!1,className:b,isDark:v=!1,primaryColorShades:x=a9})=>{const E=l.useRef(null),[C,F]=l.useState(null),[y,w]=l.useState("");ko({ref:E,handler:()=>{F(null)}});const z={control:(T,j)=>({...T,borderColor:u&&s?"#F04438":j.isFocused?v?"#1e1e1e":x[600]:v?"#1e1e1e":"#e2e8f0",backgroundColor:j.isDisabled?v?"#1a1a1a":"#f5f5f5":v?"#262626":"#FFFFFF",color:j.isDisabled?v?"#666666":"#a0a0a0":v?"#d4d4d4":"#0F172A",borderRadius:"6px",minHeight:"32px",fontSize:"14px",padding:"0px 10px",cursor:j.isDisabled?"not-allowed":"default",opacity:(j.isDisabled,1),boxShadow:j.isFocused?v?`0 0 0 2px ${x[400]}`:`0 0 0 2px ${x[500]}`:"none"}),valueContainer:T=>({...T,fontSize:"14px",maxHeight:"60px",overflowY:"auto",padding:"0px",margin:"0px",color:v?"#d4d4d4":"inherit","::-webkit-scrollbar":{display:"none"}}),input:T=>({...T,margin:"0"}),indicatorSeparator:()=>({display:"none"}),option:T=>({...T,fontWeight:500,fontSize:"14px",lineHeight:"1",borderBottom:v?"1px solid #1e1e1e":"1px solid #eee",backgroundColor:v?"#000000":"#FFFFFF",color:v?"#d4d4d4":"#0F172A",display:"flex",alignItems:"center",zIndex:200,":hover":{backgroundColor:v?"#171717":x[50]},".icon":{height:"14px",width:"14px"}}),singleValue:(T,j)=>({...T,fontWeight:500,fontSize:"14px",lineHeight:"1.25rem",color:(j.isDisabled,v?"#d4d4d4":"#0F172A"),display:"flex",alignItems:"center",".icon":{height:"14px",width:"14px"}}),placeholder:(T,j)=>({...T,fontSize:"14px",fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:(j.isDisabled,v?"#595959":"#9CA3AF")}),multiValue:T=>({...T,backgroundColor:v?"#000000":x[50],borderRadius:"6px",fontFamily:"Inter",fontSize:"12px",height:"20px",alignItems:"center"}),indicatorsContainer:T=>({...T,padding:"0",height:"30px"}),multiValueLabel:T=>({...T,color:v?"#d4d4d4":x[600],fontSize:"12px"}),multiValueRemove:T=>({...T,color:v?"#d4d4d4":x[600],height:"12px",fontSize:"8px",":hover":{backgroundColor:v?"#171717":x[50]},svg:{height:"12px",width:"12px"}})},k=T=>{const j=n.filter(N=>N?.label?.toLowerCase()?.includes(y?.toLowerCase()));return h.jsx(wl.MenuList,{...T,className:$("!z-50 rounded !visible overflow-x-scroll",v?"bg-black-800":"bg-white",v?"text-neutral-300":"text-slate-900",d?.className),ref:E,children:j?.length?j.map((N,O)=>h.jsxs("div",{className:$("item z-[9999] flex items-center justify-between px-4 py-1.5 no-wheel",g?"cursor-not-allowed opacity-50":"cursor-pointer",v?"text-neutral-300":"text-slate-900",!g&&I(N)?v?"bg-black-700":"bg-primary-50":g?"":v?"hover:bg-black-700":"hover:bg-primary-50",d?.optionClassName?"":v?"border-b border-black-700":"border-b border-[#eee]"),onClick:_=>{g||(_.stopPropagation(),T.selectOption(N))},children:[c?.component?h.jsx(c.component,{...c.componentProps,...N}):h.jsx("div",{children:N.label}),h.jsx("div",{className:"flex items-center gap-1",children:I(N)&&c?.selectIndecator?c?.selectIndecator:null})]},O)):h.jsx("div",{className:$("opacity-50 flex justify-center items-center p-1 font-medium",v?"text-neutral-400":"text-gray-700"),children:"No options"})})},I=T=>p?C?.some(j=>j.value===T.value):T.value===C?.value,S=T=>{const{children:j,innerProps:N,isDisabled:O,getValue:_}=T,V=_();return h.jsx(wl.SingleValue,{...T,innerProps:N,isDisabled:O,children:V.length>0?V.map((G,A)=>h.jsx("span",{children:c?.component?h.jsx(c.component,{...c.componentProps,...G}):h.jsx("div",{children:G.label})},A)):h.jsx(h.Fragment,{children:j})})},B=T=>{const{innerProps:j,isDisabled:N,data:O}=T;return h.jsx(wl.MultiValue,{...T,innerProps:j,isDisabled:N,children:c?.component?h.jsx(c.component,{...c.componentProps,...O}):h.jsx("div",{children:O.label})})},H=(T,j)=>(w(j),!0);return h.jsxs("div",{className:$("flex flex-col",v?"text-black-300":"text-slate-900",a?"opacity-50":"opacity-100",g?"cursor-not-allowed":""),id:e,children:[o||!t?null:h.jsxs("div",{className:"w-full inline-flex items-center text-xs mb-1",children:[h.jsx(ne,{size:"extra-small",variant:"medium",className:$("font-medium text-left",v?"text-black-300":"text-neutral-400"),appearance:"custom",children:t}),s&&h.jsx(Qi,{})]}),h.jsx(l9,{required:!0,options:n,placeholder:r,value:f,onChange:T=>{F(T),i(T)},styles:z,isMulti:p,className:$(v&&"bg-black-800 border-black-700",b),components:{MenuList:k,SingleValue:S,MultiValue:B},filterOption:H,closeMenuOnSelect:!0,isClearable:m,isDisabled:g}),u&&h.jsx(ne,{className:$("mt-1",v?"text-red-400":"text-red-500"),appearance:"custom",size:"extra-small",variant:"medium",children:u})]})};Hc.displayName="CustomizableSelectField";const Io=[{value:"USD",label:"United States Dollar",symbol:"$"},{value:"EUR",label:"Euro",symbol:"€"},{value:"GBP",label:"British Pound",symbol:"£"},{value:"JPY",label:"Japanese Yen",symbol:"¥"},{value:"CAD",label:"Canadian Dollar",symbol:"C$"},{value:"AUD",label:"Australian Dollar",symbol:"A$"},{value:"CHF",label:"Swiss Franc",symbol:"CHF"},{value:"CNY",label:"Chinese Yuan",symbol:"¥"},{value:"SEK",label:"Swedish Krona",symbol:"kr"},{value:"NZD",label:"New Zealand Dollar",symbol:"NZ$"}],Lc={USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",SEK:"kr",NZD:"NZ$"},Dc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",currencyCode:b="USD",allowCurrencyChange:v=!1,availableCurrencies:x,showSymbol:E=!0,formatValue:C=!0,min:F,max:y,decimalPlaces:w=2,inputProps:z,inputStyle:k},I)=>{const[S,B]=l.useState(!1),[H,T]=l.useState(b),[j,N]=l.useState(!1),O=x?Io.filter(Y=>x.includes(Y.value)):Io,_=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pl-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pl-12"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pl-10"}}},V=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",G=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",A=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},U=Y=>{if(Y==null)return"";const de=Number(Y);return isNaN(de)?String(Y):C?de.toLocaleString("en-US",{minimumFractionDigits:w,maximumFractionDigits:w}):String(de)},X=Y=>{const de=Y.target.value;if(de===""||de===null||de===void 0)i(null,H);else{const Q=Number(de);isNaN(Q)||i(Q,H)}},M=Y=>{T(Y),N(!1),i(n??null,Y)},W=()=>{B(!0)},oe=()=>{B(!1)},ae=_();return l.useEffect(()=>{T(b)},[b]),h.jsxs("div",{className:$("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:A(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[E&&h.jsx("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:Lc[H]||H}),h.jsx("input",{...z,ref:I,id:e,type:S?"number":"text",value:S?n??"":U(n),defaultValue:r!==void 0?S?r??"":U(r):void 0,placeholder:u,required:o,disabled:a,min:F,max:y,step:1/Math.pow(10,w),onFocus:W,onBlur:oe,onChange:X,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",ae.height,ae.padding,ae.fontSize,E?ae.symbolPadding:"",V(),v?"pr-20":"",a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:k,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),v&&h.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center",children:h.jsxs("div",{className:"relative",children:[h.jsxs("button",{type:"button",onClick:()=>N(!j),disabled:a,className:$("px-3 py-1 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 rounded-r-md border-l border-gray-300 dark:border-gray-600 transition-colors",a&&"opacity-50 cursor-not-allowed"),children:[H,h.jsx("svg",{className:"w-4 h-4 ml-1 inline-block",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),j&&h.jsx("div",{className:"absolute top-full right-0 mt-1 w-64 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-md shadow-lg z-50 max-h-60 overflow-y-auto",children:O.map(Y=>h.jsxs("button",{type:"button",onClick:()=>M(Y.value),className:"w-full px-4 py-2 text-left text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 flex justify-between items-center",children:[h.jsxs("span",{children:[Y.value," - ",Y.label]}),h.jsx("span",{className:"text-gray-500",children:Y.symbol})]},Y.value))})]})}),j&&h.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>N(!1)})]}),h.jsx(Ae.AnimatePresence,{children:s&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",G()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});Dc.displayName="CurrencyInputField";const Tc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,message:u,messageType:s="default",wrapperClassName:c,inputClassName:d,labelClassName:f,helpText:p,size:m="medium",minDate:g,maxDate:b,startPlaceholder:v="Start date",endPlaceholder:x="End date",allowClear:E=!0,inputProps:C},F)=>{const y=n!==void 0?n:r||{startDate:null,endDate:null},w=()=>{switch(m){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},z=()=>s==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":s==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":s==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",k=()=>s==="error"?"text-red-500 dark:text-red-400":s==="success"?"text-green-500 dark:text-green-400":s==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",I=()=>{switch(m){case"small":return"extra-small";case"large":return"medium";default:return"small"}},S=_=>{if(!_)return"";const V=_.getFullYear(),G=String(_.getMonth()+1).padStart(2,"0"),A=String(_.getDate()).padStart(2,"0");return`${V}-${G}-${A}`},B=_=>{if(!_)return null;const V=new Date(_);return isNaN(V.getTime())?null:V},H=_=>{const V=B(_.target.value);i({startDate:V,endDate:y.endDate})},T=_=>{const V=B(_.target.value);i({startDate:y.startDate,endDate:V})},j=()=>{i({startDate:null,endDate:null})},N=_=>_?S(_):void 0,O=w();return h.jsxs("div",{className:$("flex flex-col w-full",c),ref:F,children:[t&&h.jsx("label",{htmlFor:`${e}-start`,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",f),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:I(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),p&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:p}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-start`,type:"date",value:S(y.startDate),onChange:H,disabled:a,required:o,min:N(g),max:N(b),placeholder:v,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",O.height,O.padding,O.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),h.jsx("div",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-400",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 12H6"})})}),h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-end`,type:"date",value:S(y.endDate),onChange:T,disabled:a,required:o,min:N(y.startDate||g),max:N(b),placeholder:x,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",O.height,O.padding,O.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),E&&(y.startDate||y.endDate)&&!a&&h.jsx("button",{type:"button",onClick:j,className:"flex-shrink-0 p-1 text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors","aria-label":"Clear date range",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),h.jsx("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-neutral-400 dark:text-neutral-500",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),h.jsx(Ae.AnimatePresence,{children:u&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:s==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",k()),appearance:"custom",size:"extra-small",variant:"medium",children:u})})}),p&&!u&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:p})]})});Tc.displayName="DateRange";const jc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,onImmediateChange:a,disabled:o=!1,required:u=!1,placeholder:s,message:c,messageType:d="default",wrapperClassName:f,inputClassName:p,labelClassName:m,helpText:g,size:b="medium",type:v="text",debounceTimeout:x=300,min:E,max:C,maxLength:F,pattern:y,inputProps:w,inputStyle:z,onKeyDown:k,onFocus:I,onBlur:S},B)=>{const[H,T]=l.useState(n||r||""),[j,N]=l.useState(n||r||""),O=()=>{switch(b){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},_=()=>d==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":d==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":d==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",V=()=>d==="error"?"text-red-500 dark:text-red-400":d==="success"?"text-green-500 dark:text-green-400":d==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",G=()=>{switch(b){case"small":return"extra-small";case"large":return"medium";default:return"small"}};l.useEffect(()=>{const X=setTimeout(()=>{j!==H&&(N(H),i(H))},x);return()=>clearTimeout(X)},[H,x,i,j]),l.useEffect(()=>{n!==void 0&&n!==H&&(T(n),N(n))},[n,H]);const A=l.useCallback(X=>{const M=X.target.value;T(M),a?.(M)},[a]),U=O();return h.jsxs("div",{className:$("flex flex-col w-full",f),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",m),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:G(),appearance:"subtitle",children:[t,u&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),g&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:g}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...w,ref:B,id:e,type:v,value:H,defaultValue:r,placeholder:s,required:u,disabled:o,min:E,max:C,maxLength:F,pattern:y,onChange:A,onKeyDown:k,onFocus:I,onBlur:S,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",U.height,U.padding,U.fontSize,_(),o&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",p),style:z,"aria-required":u,"aria-invalid":c&&d==="error"?"true":"false","aria-describedby":c||g?`${e}-description`:void 0}),H!==j&&h.jsx("div",{className:"absolute right-2 top-1/2 transform -translate-y-1/2",children:h.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse"})})]}),F&&h.jsx("div",{className:"mt-1 text-right",children:h.jsxs(ne,{className:$("text-xs",H.length>F*.9?"text-orange-500":H.length===F?"text-red-500":"text-neutral-400 dark:text-neutral-500"),appearance:"custom",size:"extra-small",children:[H.length,"/",F]})}),h.jsx(Ae.AnimatePresence,{children:c&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:d==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",V()),appearance:"custom",size:"extra-small",variant:"medium",children:c})})}),g&&!c&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:g})]})});jc.displayName="DebounceInputField";const Pc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",min:b=0,max:v=100,step:x=.01,decimalPlaces:E=2,showSymbol:C=!0,allowNegative:F=!1,inputProps:y,inputStyle:w,onKeyDown:z,onFocus:k,onBlur:I},S)=>{const B=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pr-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pr-10"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pr-9"}}},H=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",T=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",j=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},N=G=>{const A=G.target.value;if(A===""||A===null||A===void 0)i(null);else{const U=Number(A);if(!isNaN(U)){let X=U;!F&&X<0&&(X=0),b!==void 0&&X<b&&(X=b),v!==void 0&&X>v&&(X=v);const M=Math.pow(10,E);X=Math.round(X*M)/M,i(X)}}},O=G=>{k?.(G)},_=G=>{I?.(G)},V=B();return h.jsxs("div",{className:$("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:$("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ne,{variant:"medium",size:j(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...y,ref:S,id:e,type:"number",value:n??"",defaultValue:r??"",placeholder:u,required:o,disabled:a,min:F?void 0:b,max:v,step:x,onChange:N,onKeyDown:z,onFocus:O,onBlur:_,className:$("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",V.height,V.padding,V.fontSize,C?V.symbolPadding:"",H(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:w,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),C&&h.jsx("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:"%"})]}),n!=null&&h.jsxs("div",{className:"mt-1 flex justify-between items-center text-xs",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[n<b&&h.jsxs("span",{className:"text-orange-500",children:["Below minimum (",b,"%)"]}),n>v&&h.jsxs("span",{className:"text-orange-500",children:["Above maximum (",v,"%)"]}),n>=b&&n<=v&&h.jsx("span",{className:"text-green-500",children:"Valid range"})]}),h.jsxs("span",{className:"text-neutral-400 dark:text-neutral-500",children:[n.toFixed(E),"%"]})]}),h.jsx(Ae.AnimatePresence,{children:s&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",T()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});Pc.displayName="PercentageInputField";var gr=(e=>(e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(gr||{});const o9=(e,t,n,r="medium")=>{const i={small:"w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",medium:"w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",large:"w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"},a={small:"peer-checked:after:translate-x-3",medium:"peer-checked:after:translate-x-full",large:"peer-checked:after:translate-x-5"};return $("p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200 dark:bg-black-400",i[r],a[r],{"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-700 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500":e,"after:bg-white dark:after:bg-black-500":!e,"text-white dark:text-black-900":t,"cursor-not-allowed opacity-70":n})},s9=({size:e=18,fill:t="#016DCF"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",fill:t})}),u9=({size:e=18,fill:t="#101828"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M19 6.41L17.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 12 19 6.41z",fill:t})}),zo=l.forwardRef(({isGTN:e=!1,isChecked:t,id:n,onChange:r,label:i,required:a,isRequiredConditional:o=!1,originalCase:u=!1,hideStatus:s=!1,labelDirection:c=gr.TOP,statusText:d,withIcon:f=!1,tags:p,isAiExtracted:m=!1,tooltip:g="",className:b="",isDisabled:v=!1,icon:x,stopClickPropagation:E=!0,gtnName:C,variant:F="primary",labelClassName:y,isLiveField:w=!1,message:z,messageType:k="default",wrapperClassName:I,helpText:S,size:B="medium",renderAiExtractedIndicator:H,renderLabels:T,renderRequired:j,renderTooltip:N,renderLiveFieldIcon:O,renderGTNAddButton:_,onAddGTNToDocument:V,AddToDocumentIcon:G,t:A=X=>X},U)=>{const X=c===gr.TOP,M=c===gr.LEFT,W=c===gr.RIGHT,[oe,ae]=l.useState(!1),Y=()=>{V&&V({key:C,value:t?"Yes":"No"})},de=()=>k==="error"?"text-red-500 dark:text-red-400":k==="success"?"text-green-500 dark:text-green-400":k==="info"?"text-primary-500 dark:text-primary-400":"text-neutral-500 dark:text-neutral-400",Q=ve=>h.jsx("span",{className:`ml-0.5 ${ve?"text-yellow-500":"text-red-500"}`,children:"*"});return h.jsxs("div",{className:$("flex gap-0.5",oe&&e?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",I),onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),onClick:ve=>{E&&ve.stopPropagation()},children:[e&&!oe?h.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-pulse mt-1.5"}):null,h.jsxs("div",{className:"w-full flex flex-col",children:[X&&i&&h.jsxs("div",{className:"w-full flex justify-between flex-wrap",children:[h.jsxs("h1",{className:$("mb-1 font-inter text-neutral-600 font-medium text-xs flex items-center gap-0.5 flex-wrap",y),children:[h.jsxs(ne,{size:"extra-small",variant:"medium",className:u?"":"capitalize",appearance:"subtitle",children:[i,a&&(j?j(o):Q(o))]}),w&&h.jsx(kt.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),m&&h.jsx(Ki,{}),h.jsx(Vr,{labels:p||[]}),g&&h.jsx(Pt,{placement:"top",title:g,children:h.jsx("div",{className:"cursor-pointer",children:h.jsx(Or,{})})})]}),e&&oe?_?_(Y):h.jsx("button",{id:"btn-toggle-add-to-document",className:"cursor-pointer",onClick:Y,type:"button",children:h.jsx(Ye.Tooltip,{placement:"top",title:A("Add to document"),children:h.jsx(kt.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]}),S&&h.jsx(ne,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:S}),h.jsxs("div",{className:"flex",children:[M&&h.jsx(ne,{size:"small",variant:"medium",className:$("mr-2 text-neutral-700 dark:text-black-200",y),appearance:"custom",children:i}),h.jsxs("label",{className:$("relative inline-flex items-center",W||d?"":"w-min",v?"cursor-not-allowed opacity-50":"cursor-pointer"),onClick:ve=>ve.stopPropagation(),children:[h.jsx("input",{ref:U,type:"checkbox",id:n,onChange:ve=>!v&&r(ve.target.checked),value:"",disabled:v,checked:t,className:$("sr-only peer w-full",b),"aria-required":a,"aria-invalid":z&&k==="error"?"true":"false","aria-describedby":z||S?`${n}-description`:void 0}),h.jsx("div",{className:o9(t,f,v,B),children:f?h.jsx("div",{className:"flex items-center justify-center h-full",children:h.jsx("div",{className:$("z-10 transition-all transform",B==="small"&&(t?"translate-x-2":"translate-x-[-6px]"),B==="medium"&&(t?"translate-x-[8.5px]":"translate-x-[-8px]"),B==="large"&&(t?"translate-x-2.5":"translate-x-[-10px]")),children:t?x?.checkedIcon?x.checkedIcon:h.jsx(s9,{size:18,fill:"#016DCF"}):x?.uncheckedIcon?x.uncheckedIcon:h.jsx(u9,{size:18,fill:"#101828"})})}):null}),W&&h.jsx(ne,{size:"small",variant:"medium",className:$("ml-2 text-neutral-700 dark:text-black-300",y),appearance:"custom",children:i}),s?null:h.jsx(ne,{size:"small",variant:"medium",className:"ml-2 text-neutral-900 dark:text-black-100",appearance:"custom",children:d||(t?"Yes":"No")})]})]}),h.jsx(Ae.AnimatePresence,{children:z&&h.jsx(Ae.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${n}-description`,role:k==="error"?"alert":void 0,children:h.jsx(ne,{className:$("mt-1",de()),appearance:"custom",size:"extra-small",variant:"medium",children:z})})}),S&&!z&&h.jsx("div",{id:`${n}-description`,className:"sr-only",children:S})]})]})});zo.displayName="Toggle";function vD(){}function bD(){}function c9(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const d9=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,f9=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h9={};function Oc(e,t){return(h9.jsx?f9:d9).test(e)}const m9=/[ \t\n\f\r]/g;function p9(e){return typeof e=="object"?e.type==="text"?Vc(e.value):!1:Vc(e)}function Vc(e){return e.replace(m9,"")===""}class ni{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ni.prototype.normal={},ni.prototype.property={},ni.prototype.space=void 0;function Gc(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new ni(n,r,t)}function Fo(e){return e.toLowerCase()}class vt{constructor(t,n){this.attribute=n,this.property=t}}vt.prototype.attribute="",vt.prototype.booleanish=!1,vt.prototype.boolean=!1,vt.prototype.commaOrSpaceSeparated=!1,vt.prototype.commaSeparated=!1,vt.prototype.defined=!1,vt.prototype.mustUseProperty=!1,vt.prototype.number=!1,vt.prototype.overloadedBoolean=!1,vt.prototype.property="",vt.prototype.spaceSeparated=!1,vt.prototype.space=void 0;let g9=0;const Ce=Jn(),et=Jn(),So=Jn(),R=Jn(),Xe=Jn(),vr=Jn(),Ft=Jn();function Jn(){return 2**++g9}const Mo=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ce,booleanish:et,commaOrSpaceSeparated:Ft,commaSeparated:vr,number:R,overloadedBoolean:So,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),Ao=Object.keys(Mo);class No extends vt{constructor(t,n,r,i){let a=-1;if(super(t,n),_c(this,"space",i),typeof r=="number")for(;++a<Ao.length;){const o=Ao[a];_c(this,Ao[a],(r&Mo[o])===Mo[o])}}}No.prototype.defined=!0;function _c(e,t,n){n&&(e[t]=n)}function br(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new No(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Fo(r)]=r,n[Fo(a.attribute)]=r}return new ni(t,n,e.space)}const Wc=br({properties:{ariaActiveDescendant:null,ariaAtomic:et,ariaAutoComplete:null,ariaBusy:et,ariaChecked:et,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:et,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:et,ariaFlowTo:Xe,ariaGrabbed:et,ariaHasPopup:null,ariaHidden:et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:R,ariaLive:null,ariaModal:et,ariaMultiLine:et,ariaMultiSelectable:et,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:et,ariaReadOnly:et,ariaRelevant:null,ariaRequired:et,ariaRoleDescription:Xe,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:et,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function $c(e,t){return t in e?e[t]:t}function Xc(e,t){return $c(e,t.toLowerCase())}const v9=br({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:vr,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:Ce,allowPaymentRequest:Ce,allowUserMedia:Ce,alt:null,as:null,async:Ce,autoCapitalize:null,autoComplete:Xe,autoFocus:Ce,autoPlay:Ce,blocking:Xe,capture:null,charSet:null,checked:Ce,cite:null,className:Xe,cols:R,colSpan:null,content:null,contentEditable:et,controls:Ce,controlsList:Xe,coords:R|vr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ce,defer:Ce,dir:null,dirName:null,disabled:Ce,download:So,draggable:et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ce,formTarget:null,headers:Xe,height:R,hidden:So,high:R,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:Ce,inputMode:null,integrity:null,is:null,isMap:Ce,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:Ce,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ce,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:Ce,muted:Ce,name:null,nonce:null,noModule:Ce,noValidate:Ce,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ce,optimum:R,pattern:null,ping:Xe,placeholder:null,playsInline:Ce,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ce,referrerPolicy:null,rel:Xe,required:Ce,reversed:Ce,rows:R,rowSpan:R,sandbox:Xe,scope:null,scoped:Ce,seamless:Ce,selected:Ce,shadowRootClonable:Ce,shadowRootDelegatesFocus:Ce,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:Ce,useMap:null,value:et,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ce,declare:Ce,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:Ce,noHref:Ce,noShade:Ce,noWrap:Ce,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:et,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ce,disableRemotePlayback:Ce,prefix:null,property:null,results:R,security:null,unselectable:null},space:"html",transform:Xc}),b9=br({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ft,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:Ce,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:vr,g2:vr,glyphName:vr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ft,rev:Ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ft,requiredFeatures:Ft,requiredFonts:Ft,requiredFormats:Ft,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ft,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$c}),Uc=br({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Jc=br({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Xc}),Zc=br({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),x9={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},w9=/[A-Z]/g,Yc=/-[a-z]/g,y9=/^data[-\w.:]+$/i;function E9(e,t){const n=Fo(t);let r=t,i=vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&y9.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Yc,k9);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Yc.test(a)){let o=a.replace(w9,C9);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=No}return new i(r,t)}function C9(e){return"-"+e.toLowerCase()}function k9(e){return e.charAt(1).toUpperCase()}const I9=Gc([Wc,v9,Uc,Jc,Zc],"html"),Bo=Gc([Wc,b9,Uc,Jc,Zc],"svg");function z9(e){return e.join(" ").trim()}var xr={},Ho,qc;function F9(){if(qc)return Ho;qc=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,u=/^\s+|\s+$/g,s=`
|
|
87
87
|
`,c="/",d="*",f="",p="comment",m="declaration";function g(v,x){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];x=x||{};var E=1,C=1;function F(j){var N=j.match(t);N&&(E+=N.length);var O=j.lastIndexOf(s);C=~O?j.length-O:C+j.length}function y(){var j={line:E,column:C};return function(N){return N.position=new w(j),I(),N}}function w(j){this.start=j,this.end={line:E,column:C},this.source=x.source}w.prototype.content=v;function z(j){var N=new Error(x.source+":"+E+":"+C+": "+j);if(N.reason=j,N.filename=x.source,N.line=E,N.column=C,N.source=v,!x.silent)throw N}function k(j){var N=j.exec(v);if(N){var O=N[0];return F(O),v=v.slice(O.length),N}}function I(){k(n)}function S(j){var N;for(j=j||[];N=B();)N!==!1&&j.push(N);return j}function B(){var j=y();if(!(c!=v.charAt(0)||d!=v.charAt(1))){for(var N=2;f!=v.charAt(N)&&(d!=v.charAt(N)||c!=v.charAt(N+1));)++N;if(N+=2,f===v.charAt(N-1))return z("End of comment missing");var O=v.slice(2,N-2);return C+=2,F(O),v=v.slice(N),C+=2,j({type:p,comment:O})}}function H(){var j=y(),N=k(r);if(N){if(B(),!k(i))return z("property missing ':'");var O=k(a),_=j({type:m,property:b(N[0].replace(e,f)),value:O?b(O[0].replace(e,f)):f});return k(o),_}}function T(){var j=[];S(j);for(var N;N=H();)N!==!1&&(j.push(N),S(j));return j}return I(),T()}function b(v){return v?v.replace(u,f):f}return Ho=g,Ho}var Kc;function S9(){if(Kc)return xr;Kc=1;var e=xr&&xr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(xr,"__esModule",{value:!0}),xr.default=n;const t=e(F9());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const o=(0,t.default)(r),u=typeof i=="function";return o.forEach(s=>{if(s.type!=="declaration")return;const{property:c,value:d}=s;u?i(c,d,s):d&&(a=a||{},a[c]=d)}),a}return xr}var ri={},Qc;function M9(){if(Qc)return ri;Qc=1,Object.defineProperty(ri,"__esModule",{value:!0}),ri.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||n.test(c)||e.test(c)},o=function(c,d){return d.toUpperCase()},u=function(c,d){return"".concat(d,"-")},s=function(c,d){return d===void 0&&(d={}),a(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(i,u):c=c.replace(r,u),c.replace(t,o))};return ri.camelCase=s,ri}var ii,Rc;function A9(){if(Rc)return ii;Rc=1;var e=ii&&ii.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(S9()),n=M9();function r(i,a){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(u,s){u&&s&&(o[(0,n.camelCase)(u,a)]=s)}),o}return r.default=r,ii=r,ii}var N9=A9();const B9=lr(N9),e0=t0("end"),Lo=t0("start");function t0(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function H9(e){const t=Lo(e),n=e0(e);if(t&&n)return{start:t,end:n}}function li(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?n0(e.position):"start"in e||"end"in e?n0(e):"line"in e||"column"in e?Do(e):""}function Do(e){return r0(e&&e.line)+":"+r0(e&&e.column)}function n0(e){return Do(e&&e.start)+"-"+Do(e&&e.end)}function r0(e){return e&&typeof e=="number"?e:1}class st extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?a.ruleId=r:(a.source=r.slice(0,s),a.ruleId=r.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=li(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}st.prototype.file="",st.prototype.name="",st.prototype.reason="",st.prototype.message="",st.prototype.stack="",st.prototype.column=void 0,st.prototype.line=void 0,st.prototype.ancestors=void 0,st.prototype.cause=void 0,st.prototype.fatal=void 0,st.prototype.place=void 0,st.prototype.ruleId=void 0,st.prototype.source=void 0;const To={}.hasOwnProperty,L9=new Map,D9=/[A-Z]/g,T9=new Set(["table","tbody","thead","tfoot","tr"]),j9=new Set(["td","th"]),i0="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function P9(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=U9(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=X9(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Bo:I9,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=l0(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function l0(e,t,n){if(t.type==="element")return O9(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return V9(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return _9(e,t,n);if(t.type==="mdxjsEsm")return G9(e,t);if(t.type==="root")return W9(e,t,n);if(t.type==="text")return $9(e,t)}function O9(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Bo,e.schema=i),e.ancestors.push(t);const a=o0(e,t.tagName,!1),o=J9(e,t);let u=Po(e,t);return T9.has(t.tagName)&&(u=u.filter(function(s){return typeof s=="string"?!p9(s):!0})),a0(e,o,a,t),jo(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function V9(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}ai(e,t.position)}function G9(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ai(e,t.position)}function _9(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Bo,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:o0(e,t.name,!0),o=Z9(e,t),u=Po(e,t);return a0(e,o,a,t),jo(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function W9(e,t,n){const r={};return jo(r,Po(e,t)),e.create(t,e.Fragment,r,n)}function $9(e,t){return t.value}function a0(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function jo(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function X9(e,t,n){return r;function r(i,a,o,u){const c=Array.isArray(o.children)?n:t;return u?c(a,o,u):c(a,o)}}function U9(e,t){return n;function n(r,i,a,o){const u=Array.isArray(a.children),s=Lo(r);return t(i,a,o,u,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function J9(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&To.call(t.properties,i)){const a=Y9(e,i,t.properties[i]);if(a){const[o,u]=a;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&j9.has(t.tagName)?r=u:n[o]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Z9(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else ai(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else ai(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Po(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:L9;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const s=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(s){const c=i.get(s)||0;o=s+"-"+c,i.set(s,c+1)}}const u=l0(e,a,o);u!==void 0&&n.push(u)}return n}function Y9(e,t,n){const r=E9(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?c9(n):z9(n)),r.property==="style"){let i=typeof n=="object"?n:q9(e,String(n));return e.stylePropertyNameCase==="css"&&(i=K9(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?x9[r.property]||r.property:r.attribute,n]}}function q9(e,t){try{return B9(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new st("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=i0+"#cannot-parse-style-attribute",i}}function o0(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const u=Oc(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(a&&u.type==="Literal"),optional:!1}:u}r=o}else r=Oc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return To.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);ai(e)}function ai(e,t){const n=new st("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=i0+"#cannot-handle-mdx-estrees-without-createevaluater",n}function K9(e){const t={};let n;for(n in e)To.call(e,n)&&(t[Q9(n)]=e[n]);return t}function Q9(e){let t=e.replace(D9,R9);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function R9(e){return"-"+e.toLowerCase()}const Oo={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},eb={};function Vo(e,t){const n=eb,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return s0(e,r,i)}function s0(e,t,n){if(tb(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return u0(e.children,t,n)}return Array.isArray(e)?u0(e,t,n):""}function u0(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=s0(e[i],t,n);return r.join("")}function tb(e){return!!(e&&typeof e=="object")}const c0=document.createElement("i");function Go(e){const t="&"+e+";";c0.innerHTML=t;const n=c0.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function St(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Ot(e,t){return e.length>0?(St(e,e.length,0,t),e):t}const d0={}.hasOwnProperty;function f0(e){const t={};let n=-1;for(;++n<e.length;)nb(t,e[n]);return t}function nb(e,t){let n;for(n in t){const i=(d0.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){d0.call(i,o)||(i[o]=[]);const u=a[o];rb(i[o],Array.isArray(u)?u:u?[u]:[])}}}function rb(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);St(e,0,0,r)}function h0(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function $t(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ct=Dn(/[A-Za-z]/),ut=Dn(/[\dA-Za-z]/),ib=Dn(/[#-'*+\--9=?A-Z^-~]/);function Cl(e){return e!==null&&(e<32||e===127)}const _o=Dn(/\d/),lb=Dn(/[\dA-Fa-f]/),ab=Dn(/[!-/:-@[-`{-~]/);function be(e){return e!==null&&e<-2}function _e(e){return e!==null&&(e<0||e===32)}function ze(e){return e===-2||e===-1||e===32}const kl=Dn(new RegExp("\\p{P}|\\p{S}","u")),Zn=Dn(/\s/);function Dn(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function wr(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&ut(e.charCodeAt(n+1))&&ut(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(o=String.fromCharCode(a,u),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ne(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(s){return ze(s)?(e.enter(n),u(s)):t(s)}function u(s){return ze(s)&&a++<i?(e.consume(s),u):(e.exit(n),t(s))}}const ob={tokenize:sb};function sb(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Ne(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),a(u)}function a(u){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,o(u)}function o(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return be(u)?(e.consume(u),e.exit("chunkText"),a):(e.consume(u),o)}}const ub={tokenize:cb},m0={tokenize:db};function cb(e){const t=this,n=[];let r=0,i,a,o;return u;function u(C){if(r<n.length){const F=n[r];return t.containerState=F[1],e.attempt(F[0].continuation,s,c)(C)}return c(C)}function s(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const F=t.events.length;let y=F,w;for(;y--;)if(t.events[y][0]==="exit"&&t.events[y][1].type==="chunkFlow"){w=t.events[y][1].end;break}x(r);let z=F;for(;z<t.events.length;)t.events[z][1].end={...w},z++;return St(t.events,y+1,0,t.events.slice(F)),t.events.length=z,c(C)}return u(C)}function c(C){if(r===n.length){if(!i)return p(C);if(i.currentConstruct&&i.currentConstruct.concrete)return g(C);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(m0,d,f)(C)}function d(C){return i&&E(),x(r),p(C)}function f(C){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,g(C)}function p(C){return t.containerState={},e.attempt(m0,m,g)(C)}function m(C){return r++,n.push([t.currentConstruct,t.containerState]),p(C)}function g(C){if(C===null){i&&E(),x(0),e.consume(C);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),b(C)}function b(C){if(C===null){v(e.exit("chunkFlow"),!0),x(0),e.consume(C);return}return be(C)?(e.consume(C),v(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(C),b)}function v(C,F){const y=t.sliceStream(C);if(F&&y.push(null),C.previous=a,a&&(a.next=C),a=C,i.defineSkip(C.start),i.write(y),t.parser.lazy[C.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<o&&(!i.events[w][1].end||i.events[w][1].end.offset>o))return;const z=t.events.length;let k=z,I,S;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){if(I){S=t.events[k][1].end;break}I=!0}for(x(r),w=z;w<t.events.length;)t.events[w][1].end={...S},w++;St(t.events,k+1,0,t.events.slice(z)),t.events.length=w}}function x(C){let F=n.length;for(;F-- >C;){const y=n[F];t.containerState=y[1],y[0].exit.call(t,e)}n.length=C}function E(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function db(e,t,n){return Ne(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yr(e){if(e===null||_e(e)||Zn(e))return 1;if(kl(e))return 2}function Il(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Wo={name:"attention",resolveAll:fb,tokenize:hb};function fb(e,t){let n=-1,r,i,a,o,u,s,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};p0(f,-s),p0(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},u={type:s>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...u.end}},e[r][1].end={...o.start},e[n][1].start={...u.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ot(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ot(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=Ot(c,Il(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ot(c,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Ot(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,St(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function hb(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=yr(r);let a;return o;function o(s){return a=s,e.enter("attentionSequence"),u(s)}function u(s){if(s===a)return e.consume(s),u;const c=e.exit("attentionSequence"),d=yr(s),f=!d||d===2&&i||n.includes(s),p=!i||i===2&&d||n.includes(r);return c._open=!!(a===42?f:f&&(i||!p)),c._close=!!(a===42?p:p&&(d||!f)),t(s)}}function p0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const mb={name:"autolink",tokenize:pb};function pb(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return ct(m)?(e.consume(m),o):m===64?n(m):c(m)}function o(m){return m===43||m===45||m===46||ut(m)?(r=1,u(m)):c(m)}function u(m){return m===58?(e.consume(m),r=0,s):(m===43||m===45||m===46||ut(m))&&r++<32?(e.consume(m),u):(r=0,c(m))}function s(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Cl(m)?n(m):(e.consume(m),s)}function c(m){return m===64?(e.consume(m),d):ib(m)?(e.consume(m),c):n(m)}function d(m){return ut(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||ut(m))&&r++<63){const g=m===45?p:f;return e.consume(m),g}return n(m)}}const oi={partial:!0,tokenize:gb};function gb(e,t,n){return r;function r(a){return ze(a)?Ne(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||be(a)?t(a):n(a)}}const g0={continuation:{tokenize:bb},exit:xb,name:"blockQuote",tokenize:vb};function vb(e,t,n){const r=this;return i;function i(o){if(o===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return ze(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function bb(e,t,n){const r=this;return i;function i(o){return ze(o)?Ne(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(g0,t,n)(o)}}function xb(e){e.exit("blockQuote")}const v0={name:"characterEscape",tokenize:wb};function wb(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return ab(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const b0={name:"characterReference",tokenize:yb};function yb(e,t,n){const r=this;let i=0,a,o;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=ut,d(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=lb,d):(e.enter("characterReferenceValue"),a=7,o=_o,d(f))}function d(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return o===ut&&!Go(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<a?(e.consume(f),d):n(f)}}const x0={partial:!0,tokenize:Cb},w0={concrete:!0,name:"codeFenced",tokenize:Eb};function Eb(e,t,n){const r=this,i={partial:!0,tokenize:y};let a=0,o=0,u;return s;function s(w){return c(w)}function c(w){const z=r.events[r.events.length-1];return a=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,u=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(w)}function d(w){return w===u?(o++,e.consume(w),d):o<3?n(w):(e.exit("codeFencedFenceSequence"),ze(w)?Ne(e,f,"whitespace")(w):f(w))}function f(w){return w===null||be(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(x0,b,F)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||be(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(w)):ze(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ne(e,m,"whitespace")(w)):w===96&&w===u?n(w):(e.consume(w),p)}function m(w){return w===null||be(w)?f(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||be(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(w)):w===96&&w===u?n(w):(e.consume(w),g)}function b(w){return e.attempt(i,F,v)(w)}function v(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),x}function x(w){return a>0&&ze(w)?Ne(e,E,"linePrefix",a+1)(w):E(w)}function E(w){return w===null||be(w)?e.check(x0,b,F)(w):(e.enter("codeFlowValue"),C(w))}function C(w){return w===null||be(w)?(e.exit("codeFlowValue"),E(w)):(e.consume(w),C)}function F(w){return e.exit("codeFenced"),t(w)}function y(w,z,k){let I=0;return S;function S(N){return w.enter("lineEnding"),w.consume(N),w.exit("lineEnding"),B}function B(N){return w.enter("codeFencedFence"),ze(N)?Ne(w,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):H(N)}function H(N){return N===u?(w.enter("codeFencedFenceSequence"),T(N)):k(N)}function T(N){return N===u?(I++,w.consume(N),T):I>=o?(w.exit("codeFencedFenceSequence"),ze(N)?Ne(w,j,"whitespace")(N):j(N)):k(N)}function j(N){return N===null||be(N)?(w.exit("codeFencedFence"),z(N)):k(N)}}}function Cb(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const $o={name:"codeIndented",tokenize:Ib},kb={partial:!0,tokenize:zb};function Ib(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Ne(e,a,"linePrefix",5)(c)}function a(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?s(c):be(c)?e.attempt(kb,o,s)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||be(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),u)}function s(c){return e.exit("codeIndented"),t(c)}}function zb(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):be(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Ne(e,a,"linePrefix",5)(o)}function a(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):be(o)?i(o):n(o)}}const Fb={name:"codeText",previous:Mb,resolve:Sb,tokenize:Ab};function Sb(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Mb(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ab(e,t,n){let r=0,i,a;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),u(f)}function u(f){return f===96?(e.consume(f),r++,u):(e.exit("codeTextSequence"),s(f))}function s(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(a=e.enter("codeTextSequence"),i=0,d(f)):be(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||be(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),c)}function d(f){return f===96?(e.consume(f),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",c(f))}}class Nb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&si(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),si(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),si(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);si(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);si(this.left,n.reverse())}}}function si(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function y0(e){const t={};let n=-1,r,i,a,o,u,s,c;const d=new Nb(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Bb(d,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},u=d.slice(i,n),u.unshift(r),d.splice(i,n-i+1,u))}}return St(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function Bb(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,s=[],c={};let d,f,p=-1,m=n,g=0,b=0;const v=[b];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(d=r.sliceStream(m),m.next||d.push(null),f&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++p<u.length;)u[p][0]==="exit"&&u[p-1][0]==="enter"&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(b=p+1,v.push(b),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):v.pop(),p=v.length;p--;){const x=u.slice(v[p],v[p+1]),E=a.pop();s.push([E,E+x.length-1]),e.splice(E,2,x)}for(s.reverse(),p=-1;++p<s.length;)c[g+s[p][0]]=g+s[p][1],g+=s[p][1]-s[p][0]-1;return c}const Hb={resolve:Db,tokenize:Tb},Lb={partial:!0,tokenize:jb};function Db(e){return y0(e),e}function Tb(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?a(u):be(u)?e.check(Lb,o,a)(u):(e.consume(u),i)}function a(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function o(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function jb(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ne(e,a,"linePrefix")}function a(o){if(o===null||be(o))return n(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function E0(e,t,n,r,i,a,o,u,s){const c=s||Number.POSITIVE_INFINITY;let d=0;return f;function f(x){return x===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(x),e.exit(a),p):x===null||x===32||x===41||Cl(x)?n(x):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),b(x))}function p(x){return x===62?(e.enter(a),e.consume(x),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(e.exit("chunkString"),e.exit(u),p(x)):x===null||x===60||be(x)?n(x):(e.consume(x),x===92?g:m)}function g(x){return x===60||x===62||x===92?(e.consume(x),m):m(x)}function b(x){return!d&&(x===null||x===41||_e(x))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(x)):d<c&&x===40?(e.consume(x),d++,b):x===41?(e.consume(x),d--,b):x===null||x===32||x===40||Cl(x)?n(x):(e.consume(x),x===92?v:b)}function v(x){return x===40||x===41||x===92?(e.consume(x),b):b(x)}}function C0(e,t,n,r,i,a){const o=this;let u=0,s;return c;function c(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),d}function d(m){return u>999||m===null||m===91||m===93&&!s||m===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):be(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||be(m)||u++>999?(e.exit("chunkString"),d(m)):(e.consume(m),s||(s=!ze(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function k0(e,t,n,r,i,a){let o;return u;function u(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),o=p===40?41:p,s):n(p)}function s(p){return p===o?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),c(p))}function c(p){return p===o?(e.exit(a),s(o)):p===null?n(p):be(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Ne(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===o||p===null||be(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:d)}function f(p){return p===o||p===92?(e.consume(p),d):d(p)}}function ui(e,t){let n;return r;function r(i){return be(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ze(i)?Ne(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Pb={name:"definition",tokenize:Vb},Ob={partial:!0,tokenize:Gb};function Vb(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),o(m)}function o(m){return C0.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function u(m){return i=$t(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),s):n(m)}function s(m){return _e(m)?ui(e,c)(m):c(m)}function c(m){return E0(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(Ob,f,f)(m)}function f(m){return ze(m)?Ne(e,p,"whitespace")(m):p(m)}function p(m){return m===null||be(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function Gb(e,t,n){return r;function r(u){return _e(u)?ui(e,i)(u):n(u)}function i(u){return k0(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return ze(u)?Ne(e,o,"whitespace")(u):o(u)}function o(u){return u===null||be(u)?t(u):n(u)}}const _b={name:"hardBreakEscape",tokenize:Wb};function Wb(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return be(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const $b={name:"headingAtx",resolve:Xb,tokenize:Ub};function Xb(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},St(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Ub(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&r++<6?(e.consume(d),o):d===null||_e(d)?(e.exit("atxHeadingSequence"),u(d)):n(d)}function u(d){return d===35?(e.enter("atxHeadingSequence"),s(d)):d===null||be(d)?(e.exit("atxHeading"),t(d)):ze(d)?Ne(e,u,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function s(d){return d===35?(e.consume(d),s):(e.exit("atxHeadingSequence"),u(d))}function c(d){return d===null||d===35||_e(d)?(e.exit("atxHeadingText"),u(d)):(e.consume(d),c)}}const Jb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],I0=["pre","script","style","textarea"],Zb={concrete:!0,name:"htmlFlow",resolveTo:Kb,tokenize:Qb},Yb={partial:!0,tokenize:ex},qb={partial:!0,tokenize:Rb};function Kb(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Qb(e,t,n){const r=this;let i,a,o,u,s;return c;function c(M){return d(M)}function d(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),f}function f(M){return M===33?(e.consume(M),p):M===47?(e.consume(M),a=!0,b):M===63?(e.consume(M),i=3,r.interrupt?t:A):ct(M)?(e.consume(M),o=String.fromCharCode(M),v):n(M)}function p(M){return M===45?(e.consume(M),i=2,m):M===91?(e.consume(M),i=5,u=0,g):ct(M)?(e.consume(M),i=4,r.interrupt?t:A):n(M)}function m(M){return M===45?(e.consume(M),r.interrupt?t:A):n(M)}function g(M){const W="CDATA[";return M===W.charCodeAt(u++)?(e.consume(M),u===W.length?r.interrupt?t:H:g):n(M)}function b(M){return ct(M)?(e.consume(M),o=String.fromCharCode(M),v):n(M)}function v(M){if(M===null||M===47||M===62||_e(M)){const W=M===47,oe=o.toLowerCase();return!W&&!a&&I0.includes(oe)?(i=1,r.interrupt?t(M):H(M)):Jb.includes(o.toLowerCase())?(i=6,W?(e.consume(M),x):r.interrupt?t(M):H(M)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(M):a?E(M):C(M))}return M===45||ut(M)?(e.consume(M),o+=String.fromCharCode(M),v):n(M)}function x(M){return M===62?(e.consume(M),r.interrupt?t:H):n(M)}function E(M){return ze(M)?(e.consume(M),E):S(M)}function C(M){return M===47?(e.consume(M),S):M===58||M===95||ct(M)?(e.consume(M),F):ze(M)?(e.consume(M),C):S(M)}function F(M){return M===45||M===46||M===58||M===95||ut(M)?(e.consume(M),F):y(M)}function y(M){return M===61?(e.consume(M),w):ze(M)?(e.consume(M),y):C(M)}function w(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),s=M,z):ze(M)?(e.consume(M),w):k(M)}function z(M){return M===s?(e.consume(M),s=null,I):M===null||be(M)?n(M):(e.consume(M),z)}function k(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||_e(M)?y(M):(e.consume(M),k)}function I(M){return M===47||M===62||ze(M)?C(M):n(M)}function S(M){return M===62?(e.consume(M),B):n(M)}function B(M){return M===null||be(M)?H(M):ze(M)?(e.consume(M),B):n(M)}function H(M){return M===45&&i===2?(e.consume(M),O):M===60&&i===1?(e.consume(M),_):M===62&&i===4?(e.consume(M),U):M===63&&i===3?(e.consume(M),A):M===93&&i===5?(e.consume(M),G):be(M)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Yb,X,T)(M)):M===null||be(M)?(e.exit("htmlFlowData"),T(M)):(e.consume(M),H)}function T(M){return e.check(qb,j,X)(M)}function j(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),N}function N(M){return M===null||be(M)?T(M):(e.enter("htmlFlowData"),H(M))}function O(M){return M===45?(e.consume(M),A):H(M)}function _(M){return M===47?(e.consume(M),o="",V):H(M)}function V(M){if(M===62){const W=o.toLowerCase();return I0.includes(W)?(e.consume(M),U):H(M)}return ct(M)&&o.length<8?(e.consume(M),o+=String.fromCharCode(M),V):H(M)}function G(M){return M===93?(e.consume(M),A):H(M)}function A(M){return M===62?(e.consume(M),U):M===45&&i===2?(e.consume(M),A):H(M)}function U(M){return M===null||be(M)?(e.exit("htmlFlowData"),X(M)):(e.consume(M),U)}function X(M){return e.exit("htmlFlow"),t(M)}}function Rb(e,t,n){const r=this;return i;function i(o){return be(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function ex(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(oi,t,n)}}const tx={name:"htmlText",tokenize:nx};function nx(e,t,n){const r=this;let i,a,o;return u;function u(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),s}function s(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),y):A===63?(e.consume(A),C):ct(A)?(e.consume(A),k):n(A)}function c(A){return A===45?(e.consume(A),d):A===91?(e.consume(A),a=0,g):ct(A)?(e.consume(A),E):n(A)}function d(A){return A===45?(e.consume(A),m):n(A)}function f(A){return A===null?n(A):A===45?(e.consume(A),p):be(A)?(o=f,_(A)):(e.consume(A),f)}function p(A){return A===45?(e.consume(A),m):f(A)}function m(A){return A===62?O(A):A===45?p(A):f(A)}function g(A){const U="CDATA[";return A===U.charCodeAt(a++)?(e.consume(A),a===U.length?b:g):n(A)}function b(A){return A===null?n(A):A===93?(e.consume(A),v):be(A)?(o=b,_(A)):(e.consume(A),b)}function v(A){return A===93?(e.consume(A),x):b(A)}function x(A){return A===62?O(A):A===93?(e.consume(A),x):b(A)}function E(A){return A===null||A===62?O(A):be(A)?(o=E,_(A)):(e.consume(A),E)}function C(A){return A===null?n(A):A===63?(e.consume(A),F):be(A)?(o=C,_(A)):(e.consume(A),C)}function F(A){return A===62?O(A):C(A)}function y(A){return ct(A)?(e.consume(A),w):n(A)}function w(A){return A===45||ut(A)?(e.consume(A),w):z(A)}function z(A){return be(A)?(o=z,_(A)):ze(A)?(e.consume(A),z):O(A)}function k(A){return A===45||ut(A)?(e.consume(A),k):A===47||A===62||_e(A)?I(A):n(A)}function I(A){return A===47?(e.consume(A),O):A===58||A===95||ct(A)?(e.consume(A),S):be(A)?(o=I,_(A)):ze(A)?(e.consume(A),I):O(A)}function S(A){return A===45||A===46||A===58||A===95||ut(A)?(e.consume(A),S):B(A)}function B(A){return A===61?(e.consume(A),H):be(A)?(o=B,_(A)):ze(A)?(e.consume(A),B):I(A)}function H(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,T):be(A)?(o=H,_(A)):ze(A)?(e.consume(A),H):(e.consume(A),j)}function T(A){return A===i?(e.consume(A),i=void 0,N):A===null?n(A):be(A)?(o=T,_(A)):(e.consume(A),T)}function j(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||_e(A)?I(A):(e.consume(A),j)}function N(A){return A===47||A===62||_e(A)?I(A):n(A)}function O(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function _(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),V}function V(A){return ze(A)?Ne(e,G,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):G(A)}function G(A){return e.enter("htmlTextData"),o(A)}}const Xo={name:"labelEnd",resolveAll:ax,resolveTo:ox,tokenize:sx},rx={tokenize:ux},ix={tokenize:cx},lx={tokenize:dx};function ax(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&St(e,0,e.length,n),e}function ox(e,t){let n=e.length,r=0,i,a,o,u;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",s,t],["enter",c,t]],u=Ot(u,e.slice(a+1,a+r+3)),u=Ot(u,[["enter",d,t]]),u=Ot(u,Il(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),u=Ot(u,[["exit",d,t],e[o-2],e[o-1],["exit",c,t]]),u=Ot(u,e.slice(o+1)),u=Ot(u,[["exit",s,t]]),St(e,a,e.length,u),e}function sx(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return u;function u(p){return a?a._inactive?f(p):(o=r.parser.defined.includes($t(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),s):n(p)}function s(p){return p===40?e.attempt(rx,d,o?d:f)(p):p===91?e.attempt(ix,d,o?c:f)(p):o?d(p):f(p)}function c(p){return e.attempt(lx,d,f)(p)}function d(p){return t(p)}function f(p){return a._balanced=!0,n(p)}}function ux(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return _e(f)?ui(e,a)(f):a(f)}function a(f){return f===41?d(f):E0(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return _e(f)?ui(e,s)(f):d(f)}function u(f){return n(f)}function s(f){return f===34||f===39||f===40?k0(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return _e(f)?ui(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function cx(e,t,n){const r=this;return i;function i(u){return C0.call(r,e,a,o,"reference","referenceMarker","referenceString")(u)}function a(u){return r.parser.defined.includes($t(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function o(u){return n(u)}}function dx(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const fx={name:"labelStartImage",resolveAll:Xo.resolveAll,tokenize:hx};function hx(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),a}function a(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),o):n(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const mx={name:"labelStartLink",resolveAll:Xo.resolveAll,tokenize:px};function px(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Uo={name:"lineEnding",tokenize:gx};function gx(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ne(e,t,"linePrefix")}}const zl={name:"thematicBreak",tokenize:vx};function vx(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,u(c)}function u(c){return c===i?(e.enter("thematicBreakSequence"),s(c)):r>=3&&(c===null||be(c))?(e.exit("thematicBreak"),t(c)):n(c)}function s(c){return c===i?(e.consume(c),r++,s):(e.exit("thematicBreakSequence"),ze(c)?Ne(e,u,"whitespace")(c):u(c))}}const bt={continuation:{tokenize:yx},exit:Cx,name:"list",tokenize:wx},bx={partial:!0,tokenize:kx},xx={partial:!0,tokenize:Ex};function wx(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(m){const g=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:_o(m)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(zl,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(m)}return n(m)}function s(m){return _o(m)&&++o<10?(e.consume(m),s):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(oi,r.interrupt?n:d,e.attempt(bx,p,f))}function d(m){return r.containerState.initialBlankLine=!0,a++,p(m)}function f(m){return ze(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function yx(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(oi,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ne(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!ze(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(xx,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ne(e,e.attempt(bt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Ex(e,t,n){const r=this;return Ne(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function Cx(e){e.exit(this.containerState.type)}function kx(e,t,n){const r=this;return Ne(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!ze(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const z0={name:"setextUnderline",resolveTo:Ix,tokenize:zx};function Ix(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function zx(e,t,n){const r=this;let i;return a;function a(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),u(c)}function u(c){return c===i?(e.consume(c),u):(e.exit("setextHeadingLineSequence"),ze(c)?Ne(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||be(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Fx={tokenize:Sx};function Sx(e){const t=this,n=e.attempt(oi,r,e.attempt(this.parser.constructs.flowInitial,i,Ne(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Hb,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Mx={resolveAll:S0()},Ax=F0("string"),Nx=F0("text");function F0(e){return{resolveAll:S0(e==="text"?Bx:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,u);return o;function o(d){return c(d)?a(d):u(d)}function u(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),s}function s(d){return c(d)?(n.exit("data"),a(d)):(n.consume(d),s)}function c(d){if(d===null)return!0;const f=i[d];let p=-1;if(f)for(;++p<f.length;){const m=f[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function S0(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function Bx(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,u=0,s;for(;a--;){const c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(c===-2)s=!0,u++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const c={type:n===e.length||s||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const Hx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Pb},disable:{null:[]},document:{42:bt,43:bt,45:bt,48:bt,49:bt,50:bt,51:bt,52:bt,53:bt,54:bt,55:bt,56:bt,57:bt,62:g0},flow:{35:$b,42:zl,45:[z0,zl],60:Zb,61:z0,95:zl,96:w0,126:w0},flowInitial:{[-2]:$o,[-1]:$o,32:$o},insideSpan:{null:[Wo,Mx]},string:{38:b0,92:v0},text:{[-5]:Uo,[-4]:Uo,[-3]:Uo,33:fx,38:b0,42:Wo,60:[mb,tx],91:mx,92:[_b,v0],93:Xo,95:Wo,96:Fb}},Symbol.toStringTag,{value:"Module"}));function Lx(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],u=[];const s={attempt:z(y),check:z(w),consume:E,enter:C,exit:F,interrupt:z(w,{interrupt:!0})},c={code:null,containerState:{},defineSkip:b,events:[],now:g,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:f};let d=t.tokenize.call(c,s);return t.resolveAll&&a.push(t),c;function f(B){return o=Ot(o,B),v(),o[o.length-1]!==null?[]:(k(t,0),c.events=Il(a,c.events,c),c.events)}function p(B,H){return Tx(m(B),H)}function m(B){return Dx(o,B)}function g(){const{_bufferIndex:B,_index:H,line:T,column:j,offset:N}=r;return{_bufferIndex:B,_index:H,line:T,column:j,offset:N}}function b(B){i[B.line]=B.column,S()}function v(){let B;for(;r._index<o.length;){const H=o[r._index];if(typeof H=="string")for(B=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===B&&r._bufferIndex<H.length;)x(H.charCodeAt(r._bufferIndex));else x(H)}}function x(B){d=d(B)}function E(B){be(B)?(r.line++,r.column=1,r.offset+=B===-3?2:1,S()):B!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=B}function C(B,H){const T=H||{};return T.type=B,T.start=g(),c.events.push(["enter",T,c]),u.push(T),T}function F(B){const H=u.pop();return H.end=g(),c.events.push(["exit",H,c]),H}function y(B,H){k(B,H.from)}function w(B,H){H.restore()}function z(B,H){return T;function T(j,N,O){let _,V,G,A;return Array.isArray(j)?X(j):"tokenize"in j?X([j]):U(j);function U(ae){return Y;function Y(de){const Q=de!==null&&ae[de],ve=de!==null&&ae.null,He=[...Array.isArray(Q)?Q:Q?[Q]:[],...Array.isArray(ve)?ve:ve?[ve]:[]];return X(He)(de)}}function X(ae){return _=ae,V=0,ae.length===0?O:M(ae[V])}function M(ae){return Y;function Y(de){return A=I(),G=ae,ae.partial||(c.currentConstruct=ae),ae.name&&c.parser.constructs.disable.null.includes(ae.name)?oe():ae.tokenize.call(H?Object.assign(Object.create(c),H):c,s,W,oe)(de)}}function W(ae){return B(G,A),N}function oe(ae){return A.restore(),++V<_.length?M(_[V]):O}}}function k(B,H){B.resolveAll&&!a.includes(B)&&a.push(B),B.resolve&&St(c.events,H,c.events.length-H,B.resolve(c.events.slice(H),c)),B.resolveTo&&(c.events=B.resolveTo(c.events,c))}function I(){const B=g(),H=c.previous,T=c.currentConstruct,j=c.events.length,N=Array.from(u);return{from:j,restore:O};function O(){r=B,c.previous=H,c.currentConstruct=T,c.events.length=j,u=N,S()}}function S(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Dx(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Tx(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
88
88
|
`;break}case-3:{o=`\r
|
|
89
89
|
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function jx(e){const r={constructs:f0([Hx,...(e||{}).extensions||[]]),content:i(ob),defined:[],document:i(ub),flow:i(Fx),lazy:{},string:i(Ax),text:i(Nx)};return r;function i(a){return o;function o(u){return Lx(r,a,u)}}}function Px(e){for(;!y0(e););return e}const M0=/[\0\t\n\r]/g;function Ox(){let e=1,t="",n=!0,r;return i;function i(a,o,u){const s=[];let c,d,f,p,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(M0.lastIndex=f,c=M0.exec(a),p=c&&c.index!==void 0?c.index:a.length,m=a.charCodeAt(p),!c){t=a.slice(f);break}if(m===10&&f===p&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),f<p&&(s.push(a.slice(f,p)),e+=p-f),m){case 0:{s.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,s.push(-2);e++<d;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return u&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const Vx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Gx(e){return e.replace(Vx,_x)}function _x(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return h0(n.slice(a?2:1),a?16:10)}return Go(n)||e}const A0={}.hasOwnProperty;function Wx(e,t,n){return typeof t!="string"&&(n=t,t=void 0),$x(n)(Px(jx(n).document().write(Ox()(e,t,!0))))}function $x(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(yt),autolinkProtocol:I,autolinkEmail:I,atxHeading:a(ue),blockQuote:a(ve),characterEscape:I,characterReference:I,codeFenced:a(He),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(He,o),codeText:a(re,o),codeTextData:I,data:I,codeFlowValue:I,definition:a(it),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Je),hardBreakEscape:a(Ee),hardBreakTrailing:a(Ee),htmlFlow:a(Ge,o),htmlFlowData:I,htmlText:a(Ge,o),htmlTextData:I,image:a(Zt),label:o,link:a(yt),listItem:a(un),listItemValue:p,listOrdered:a(Et,f),listUnordered:a(Et),paragraph:a(ce),reference:M,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(ue),strong:a(Fe),thematicBreak:a(Ze)},exit:{atxHeading:s(),atxHeadingSequence:y,autolink:s(),autolinkEmail:Q,autolinkProtocol:de,blockQuote:s(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:oe,characterReferenceMarkerNumeric:oe,characterReferenceValue:ae,characterReference:Y,codeFenced:s(v),codeFencedFence:b,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:S,codeIndented:s(x),codeText:s(N),codeTextData:S,data:S,definition:s(),definitionDestinationString:F,definitionLabelString:E,definitionTitleString:C,emphasis:s(),hardBreakEscape:s(H),hardBreakTrailing:s(H),htmlFlow:s(T),htmlFlowData:S,htmlText:s(j),htmlTextData:S,image:s(_),label:G,labelText:V,lineEnding:B,link:s(O),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:W,resourceDestinationString:A,resourceTitleString:U,resource:X,setextHeading:s(k),setextHeadingLineSequence:z,setextHeadingText:w,strong:s(),thematicBreak:s()}};N0(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(J){let te={type:"root",children:[]};const xe={stack:[te],tokenStack:[],config:t,enter:u,exit:c,buffer:o,resume:d,data:n},ye=[];let Oe=-1;for(;++Oe<J.length;)if(J[Oe][1].type==="listOrdered"||J[Oe][1].type==="listUnordered")if(J[Oe][0]==="enter")ye.push(Oe);else{const Ht=ye.pop();Oe=i(J,Ht,Oe)}for(Oe=-1;++Oe<J.length;){const Ht=t[J[Oe][0]];A0.call(Ht,J[Oe][1].type)&&Ht[J[Oe][1].type].call(Object.assign({sliceSerialize:J[Oe][2].sliceSerialize},xe),J[Oe][1])}if(xe.tokenStack.length>0){const Ht=xe.tokenStack[xe.tokenStack.length-1];(Ht[1]||B0).call(xe,void 0,Ht[0])}for(te.position={start:Tn(J.length>0?J[0][1].start:{line:1,column:1,offset:0}),end:Tn(J.length>0?J[J.length-2][1].end:{line:1,column:1,offset:0})},Oe=-1;++Oe<t.transforms.length;)te=t.transforms[Oe](te)||te;return te}function i(J,te,xe){let ye=te-1,Oe=-1,Ht=!1,Nn,Yt,tr,nr;for(;++ye<=xe;){const ft=J[ye];switch(ft[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ft[0]==="enter"?Oe++:Oe--,nr=void 0;break}case"lineEndingBlank":{ft[0]==="enter"&&(Nn&&!nr&&!Oe&&!tr&&(tr=ye),nr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nr=void 0}if(!Oe&&ft[0]==="enter"&&ft[1].type==="listItemPrefix"||Oe===-1&&ft[0]==="exit"&&(ft[1].type==="listUnordered"||ft[1].type==="listOrdered")){if(Nn){let Wn=ye;for(Yt=void 0;Wn--;){const Lt=J[Wn];if(Lt[1].type==="lineEnding"||Lt[1].type==="lineEndingBlank"){if(Lt[0]==="exit")continue;Yt&&(J[Yt][1].type="lineEndingBlank",Ht=!0),Lt[1].type="lineEnding",Yt=Wn}else if(!(Lt[1].type==="linePrefix"||Lt[1].type==="blockQuotePrefix"||Lt[1].type==="blockQuotePrefixWhitespace"||Lt[1].type==="blockQuoteMarker"||Lt[1].type==="listItemIndent"))break}tr&&(!Yt||tr<Yt)&&(Nn._spread=!0),Nn.end=Object.assign({},Yt?J[Yt][1].start:ft[1].end),J.splice(Yt||ye,0,["exit",Nn,ft[2]]),ye++,xe++}if(ft[1].type==="listItemPrefix"){const Wn={type:"listItem",_spread:!1,start:Object.assign({},ft[1].start),end:void 0};Nn=Wn,J.splice(ye,0,["enter",Wn,ft[2]]),ye++,xe++,tr=void 0,nr=!0}}}return J[te][1]._spread=Ht,xe}function a(J,te){return xe;function xe(ye){u.call(this,J(ye),ye),te&&te.call(this,ye)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(J,te,xe){this.stack[this.stack.length-1].children.push(J),this.stack.push(J),this.tokenStack.push([te,xe||void 0]),J.position={start:Tn(te.start),end:void 0}}function s(J){return te;function te(xe){J&&J.call(this,xe),c.call(this,xe)}}function c(J,te){const xe=this.stack.pop(),ye=this.tokenStack.pop();if(ye)ye[0].type!==J.type&&(te?te.call(this,J,ye[0]):(ye[1]||B0).call(this,J,ye[0]));else throw new Error("Cannot close `"+J.type+"` ("+li({start:J.start,end:J.end})+"): it’s not open");xe.position.end=Tn(J.end)}function d(){return Vo(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(J){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(J),10),this.data.expectingFirstListItemValue=void 0}}function m(){const J=this.resume(),te=this.stack[this.stack.length-1];te.lang=J}function g(){const J=this.resume(),te=this.stack[this.stack.length-1];te.meta=J}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const J=this.resume(),te=this.stack[this.stack.length-1];te.value=J.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const J=this.resume(),te=this.stack[this.stack.length-1];te.value=J.replace(/(\r?\n|\r)$/g,"")}function E(J){const te=this.resume(),xe=this.stack[this.stack.length-1];xe.label=te,xe.identifier=$t(this.sliceSerialize(J)).toLowerCase()}function C(){const J=this.resume(),te=this.stack[this.stack.length-1];te.title=J}function F(){const J=this.resume(),te=this.stack[this.stack.length-1];te.url=J}function y(J){const te=this.stack[this.stack.length-1];if(!te.depth){const xe=this.sliceSerialize(J).length;te.depth=xe}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function z(J){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(J).codePointAt(0)===61?1:2}function k(){this.data.setextHeadingSlurpLineEnding=void 0}function I(J){const xe=this.stack[this.stack.length-1].children;let ye=xe[xe.length-1];(!ye||ye.type!=="text")&&(ye=Me(),ye.position={start:Tn(J.start),end:void 0},xe.push(ye)),this.stack.push(ye)}function S(J){const te=this.stack.pop();te.value+=this.sliceSerialize(J),te.position.end=Tn(J.end)}function B(J){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const xe=te.children[te.children.length-1];xe.position.end=Tn(J.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(I.call(this,J),S.call(this,J))}function H(){this.data.atHardBreak=!0}function T(){const J=this.resume(),te=this.stack[this.stack.length-1];te.value=J}function j(){const J=this.resume(),te=this.stack[this.stack.length-1];te.value=J}function N(){const J=this.resume(),te=this.stack[this.stack.length-1];te.value=J}function O(){const J=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";J.type+="Reference",J.referenceType=te,delete J.url,delete J.title}else delete J.identifier,delete J.label;this.data.referenceType=void 0}function _(){const J=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";J.type+="Reference",J.referenceType=te,delete J.url,delete J.title}else delete J.identifier,delete J.label;this.data.referenceType=void 0}function V(J){const te=this.sliceSerialize(J),xe=this.stack[this.stack.length-2];xe.label=Gx(te),xe.identifier=$t(te).toLowerCase()}function G(){const J=this.stack[this.stack.length-1],te=this.resume(),xe=this.stack[this.stack.length-1];if(this.data.inReference=!0,xe.type==="link"){const ye=J.children;xe.children=ye}else xe.alt=te}function A(){const J=this.resume(),te=this.stack[this.stack.length-1];te.url=J}function U(){const J=this.resume(),te=this.stack[this.stack.length-1];te.title=J}function X(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function W(J){const te=this.resume(),xe=this.stack[this.stack.length-1];xe.label=te,xe.identifier=$t(this.sliceSerialize(J)).toLowerCase(),this.data.referenceType="full"}function oe(J){this.data.characterReferenceType=J.type}function ae(J){const te=this.sliceSerialize(J),xe=this.data.characterReferenceType;let ye;xe?(ye=h0(te,xe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ye=Go(te);const Oe=this.stack[this.stack.length-1];Oe.value+=ye}function Y(J){const te=this.stack.pop();te.position.end=Tn(J.end)}function de(J){S.call(this,J);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(J)}function Q(J){S.call(this,J);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(J)}function ve(){return{type:"blockquote",children:[]}}function He(){return{type:"code",lang:null,meta:null,value:""}}function re(){return{type:"inlineCode",value:""}}function it(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Je(){return{type:"emphasis",children:[]}}function ue(){return{type:"heading",depth:0,children:[]}}function Ee(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function Zt(){return{type:"image",title:null,url:"",alt:null}}function yt(){return{type:"link",title:null,url:"",children:[]}}function Et(J){return{type:"list",ordered:J.type==="listOrdered",start:null,spread:J._spread,children:[]}}function un(J){return{type:"listItem",spread:J._spread,checked:null,children:[]}}function ce(){return{type:"paragraph",children:[]}}function Fe(){return{type:"strong",children:[]}}function Me(){return{type:"text",value:""}}function Ze(){return{type:"thematicBreak"}}}function Tn(e){return{line:e.line,column:e.column,offset:e.offset}}function N0(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?N0(e,r):Xx(e,r)}}function Xx(e,t){let n;for(n in t)if(A0.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function B0(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+li({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+li({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+li({start:t.start,end:t.end})+") is still open")}function Ux(e){const t=this;t.parser=n;function n(r){return Wx(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Jx(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Zx(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|