@theroutingcompany/components 0.0.6 → 0.0.8

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.
Files changed (40) hide show
  1. package/dist/trc-components.es.js +8226 -8041
  2. package/dist/trc-components.es.js.map +1 -1
  3. package/dist/trc-components.umd.js +680 -673
  4. package/dist/trc-components.umd.js.map +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -0
  6. package/package.json +28 -23
  7. package/types/components/AlertDialog/AlertDialog.d.ts +3 -3
  8. package/types/components/Breadcrumbs/Breadcrumbs.d.ts +9 -8
  9. package/types/components/Button/Button.d.ts +18 -18
  10. package/types/components/Button/ButtonBase.d.ts +2 -1
  11. package/types/components/Button/HighEmphasisButton/HighEmphasisButton.d.ts +4 -4
  12. package/types/components/Button/LowEmphasisButton/LowEmphasisButton.d.ts +3 -3
  13. package/types/components/Button/MediumEmphasisButton/MediumEmphasisButton.d.ts +3 -3
  14. package/types/components/Checkbox/Checkbox.d.ts +1 -1
  15. package/types/components/Dialog/Dialog.d.ts +6 -6
  16. package/types/components/Fieldset/Fieldset.d.ts +1 -1
  17. package/types/components/FormControl/FormControl.d.ts +4 -3
  18. package/types/components/FormControl/useFormInput.d.ts +5 -5
  19. package/types/components/IconButton/IconButton.d.ts +2 -2
  20. package/types/components/Input/InputBase.d.ts +5 -5
  21. package/types/components/Input/NumberInput/NumberInput.d.ts +4 -1
  22. package/types/components/Label/Label.d.ts +3 -1
  23. package/types/components/Page/Page.d.ts +2 -0
  24. package/types/components/Paginator/Paginator.d.ts +22 -21
  25. package/types/components/Popover/Popover.d.ts +6 -7
  26. package/types/components/RadioGroup/RadioGroup.d.ts +3 -3
  27. package/types/components/Search/Search.d.ts +6 -6
  28. package/types/components/SegmentControl/SegmentControl.d.ts +3 -3
  29. package/types/components/Select/Select.d.ts +10 -10
  30. package/types/components/Switch/Switch.d.ts +1 -1
  31. package/types/components/Table/Table.d.ts +3 -2
  32. package/types/components/Text/Text.d.ts +0 -2
  33. package/types/components/Toast/Toast.d.ts +5 -4
  34. package/types/components/index.d.ts +1 -0
  35. package/types/helpers/typeHelpers.d.ts +9 -5
  36. package/types/components/Box/Box.d.ts +0 -12
  37. package/types/components/Input/CreditCardInput/CreditCardInput.d.ts +0 -1
  38. package/types/components/Input/PasswordInput/PasswordInput.d.ts +0 -0
  39. package/types/components/Input/PhoneInput/PhoneInput.d.ts +0 -0
  40. package/types/components/Input/URLInput/URLInput.d.ts +0 -0
@@ -1,26 +1,26 @@
1
- (function(R,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],l):(R=typeof globalThis<"u"?globalThis:R||self,l(R["trc-components"]={},R.React,R.ReactDOM,R.styled,R.ReactIs,R.icons))})(this,function(R,l,ut,$t,gr,xe){"use strict";const yr=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function aa(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const H=aa(l),ie=yr(l),Ip=yr(ut),sa=aa(ut),A=yr($t),Pn=yr(gr);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}function Ap(e,t){const r=l.createContext(t);function n(i){const{children:a,...s}=i,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},a)}function o(i){const a=l.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Se(e,t=[]){let r=[];function n(i,a){const s=l.createContext(a),c=r.length;r=[...r,a];function u(p){const{scope:b,children:h,...v}=p,m=(b==null?void 0:b[e][c])||s,y=l.useMemo(()=>v,Object.values(v));return l.createElement(m.Provider,{value:y},h)}function d(p,b){const h=(b==null?void 0:b[e][c])||s,v=l.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=r.map(a=>l.createContext(a));return function(s){const c=(s==null?void 0:s[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,Np(o,...t)]}function Np(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=n.reduce((s,{useScope:c,scopeName:u})=>{const p=c(i)[`__scope${u}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function Mp(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function la(...e){return t=>e.forEach(r=>Mp(r,t))}function le(...e){return l.useCallback(la(...e),e)}function K(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const $e=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},Lp=H["useId".toString()]||(()=>{});let Fp=0;function Ke(e){const[t,r]=H.useState(Lp());return $e(()=>{e||r(n=>n!=null?n:String(Fp++))},[e]),e||(t?`radix-${t}`:"")}function Ce(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Me({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Rp({defaultProp:t,onChange:r}),i=e!==void 0,a=i?e:n,s=Ce(r),c=l.useCallback(u=>{if(i){const p=typeof u=="function"?u(e):u;p!==e&&s(p)}else o(u)},[i,e,o,s]);return[a,c]}function Rp({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),i=Ce(t);return l.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}const dt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),i=o.find(zp);if(i){const a=i.props.children,s=o.map(c=>c===i?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:c);return l.createElement(Sn,C({},n,{ref:t}),l.isValidElement(a)?l.cloneElement(a,void 0,s):null)}return l.createElement(Sn,C({},n,{ref:t}),r)});dt.displayName="Slot";const Sn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Vp(n,r.props),ref:la(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Sn.displayName="SlotClone";const Cn=({children:e})=>l.createElement(l.Fragment,null,e);function zp(e){return l.isValidElement(e)&&e.type===Cn}function Vp(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{i(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const Q=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:i,...a}=n,s=i?dt:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,C({},a,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ca(e,t){e&&ut.flushSync(()=>e.dispatchEvent(t))}function jp(e,t=globalThis==null?void 0:globalThis.document){const r=Ce(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Tn="dismissableLayer.update",Bp="dismissableLayer.pointerDownOutside",Wp="dismissableLayer.focusOutside";let ua;const da=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ht=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(da),[p,b]=l.useState(null),h=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=l.useState({}),m=le(t,N=>b(N)),y=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=y.indexOf($),w=p?y.indexOf(p):-1,g=d.layersWithOutsidePointerEventsDisabled.size>0,D=w>=_,M=Kp(N=>{const F=N.target,G=[...d.branches].some(S=>S.contains(F));!D||G||(i==null||i(N),s==null||s(N),N.defaultPrevented||c==null||c())},h),O=Hp(N=>{const F=N.target;[...d.branches].some(S=>S.contains(F))||(a==null||a(N),s==null||s(N),N.defaultPrevented||c==null||c())},h);return jp(N=>{w===d.layers.size-1&&(o==null||o(N),!N.defaultPrevented&&c&&(N.preventDefault(),c()))},h),l.useEffect(()=>{if(!!p)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(ua=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),fa(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=ua)}},[p,h,n,d]),l.useEffect(()=>()=>{!p||(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),fa())},[p,d]),l.useEffect(()=>{const N=()=>v({});return document.addEventListener(Tn,N),()=>document.removeEventListener(Tn,N)},[]),l.createElement(Q.div,C({},u,{ref:m,style:{pointerEvents:g?D?"auto":"none":void 0,...e.style},onFocusCapture:K(e.onFocusCapture,O.onFocusCapture),onBlurCapture:K(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:K(e.onPointerDownCapture,M.onPointerDownCapture)}))}),Up=l.forwardRef((e,t)=>{const r=l.useContext(da),n=l.useRef(null),o=le(t,n);return l.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),l.createElement(Q.div,C({},e,{ref:o}))});function Kp(e,t=globalThis==null?void 0:globalThis.document){const r=Ce(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let u=function(){pa(Bp,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Hp(e,t=globalThis==null?void 0:globalThis.document){const r=Ce(e),n=l.useRef(!1);return l.useEffect(()=>{const o=i=>{i.target&&!n.current&&pa(Wp,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function fa(){const e=new CustomEvent(Tn);document.dispatchEvent(e)}function pa(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ca(o,i):o.dispatchEvent(i)}const Gp=Ht,qp=Up,On="focusScope.autoFocusOnMount",kn="focusScope.autoFocusOnUnmount",ha={bubbles:!1,cancelable:!0},Dn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),u=Ce(o),d=Ce(i),p=l.useRef(null),b=le(t,m=>c(m)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let m=function($){if(h.paused||!s)return;const _=$.target;s.contains(_)?p.current=_:ft(p.current,{select:!0})},y=function($){h.paused||!s||s.contains($.relatedTarget)||ft(p.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",y),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",y)}}},[n,s,h.paused]),l.useEffect(()=>{if(s){va.add(h);const m=document.activeElement;if(!s.contains(m)){const $=new CustomEvent(On,ha);s.addEventListener(On,u),s.dispatchEvent($),$.defaultPrevented||(Yp(eh(ba(s)),{select:!0}),document.activeElement===m&&ft(s))}return()=>{s.removeEventListener(On,u),setTimeout(()=>{const $=new CustomEvent(kn,ha);s.addEventListener(kn,d),s.dispatchEvent($),$.defaultPrevented||ft(m!=null?m:document.body,{select:!0}),s.removeEventListener(kn,d),va.remove(h)},0)}}},[s,u,d,h]);const v=l.useCallback(m=>{if(!r&&!n||h.paused)return;const y=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,$=document.activeElement;if(y&&$){const _=m.currentTarget,[w,g]=Xp(_);w&&g?!m.shiftKey&&$===g?(m.preventDefault(),r&&ft(w,{select:!0})):m.shiftKey&&$===w&&(m.preventDefault(),r&&ft(g,{select:!0})):$===_&&m.preventDefault()}},[r,n,h.paused]);return l.createElement(Q.div,C({tabIndex:-1},a,{ref:b,onKeyDown:v}))});function Yp(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ft(n,{select:t}),document.activeElement!==r)return}function Xp(e){const t=ba(e),r=ma(t,e),n=ma(t.reverse(),e);return[r,n]}function ba(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ma(e,t){for(const r of e)if(!Jp(r,{upTo:t}))return r}function Jp(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Zp(e){return e instanceof HTMLInputElement&&"select"in e}function ft(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Zp(e)&&t&&e.select()}}const va=Qp();function Qp(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=ga(e,t),e.unshift(t)},remove(t){var r;e=ga(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function ga(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function eh(e){return e.filter(t=>t.tagName!=="A")}const Gt=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ip.default.createPortal(l.createElement(Q.div,C({},o,{ref:t})),n):null});function th(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o!=null?o:r},e)}const De=e=>{const{present:t,children:r}=e,n=rh(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),i=le(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:i}):null};De.displayName="Presence";function rh(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=th(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const u=_r(n.current);i.current=s==="mounted"?u:"none"},[s]),$e(()=>{const u=n.current,d=o.current;if(d!==e){const b=i.current,h=_r(u);e?c("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&b!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),$e(()=>{if(t){const u=p=>{const h=_r(n.current).includes(p.animationName);p.target===t&&h&&ut.flushSync(()=>c("ANIMATION_END"))},d=p=>{p.target===t&&(i.current=_r(n.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(u=>{u&&(n.current=getComputedStyle(u)),r(u)},[])}}function _r(e){return(e==null?void 0:e.animationName)||"none"}let In=0;function An(){l.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:ya()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:ya()),In++,()=>{In===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),In--}},[])}function ya(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Le=function(){return Le=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Le.apply(this,arguments)};function _a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function nh(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var $r="right-scroll-bar-position",xr="width-before-scroll-bar",oh="with-scroll-bars-hidden",ih="--removed-body-scroll-bar-size";function ah(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sh(e,t){var r=l.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function lh(e,t){return sh(t||null,function(r){return e.forEach(function(n){return ah(n,r)})})}function ch(e){var t=e.default;if(typeof t=="function"){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var wr={exports:{}},xt={};/** @license React v16.14.0
1
+ (function(R,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],l):(R=typeof globalThis<"u"?globalThis:R||self,l(R["trc-components"]={},R.React,R.ReactDOM,R.styled,R.ReactIs,R.icons))})(this,function(R,l,ut,I,$t,$e){"use strict";function oa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const W=oa(l),ia=oa(ut);function Mp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var vr={},Lp={get exports(){return vr},set exports(e){vr=e}},xt={};/** @license React v16.14.0
2
2
  * react-jsx-runtime.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var $a;function uh(){if($a)return xt;$a=1;var e=ie.default,t=60103;if(xt.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var r=Symbol.for;t=r("react.element"),xt.Fragment=r("react.fragment")}var n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,u){var d,p={},b=null,h=null;u!==void 0&&(b=""+u),c.key!==void 0&&(b=""+c.key),c.ref!==void 0&&(h=c.ref);for(d in c)o.call(c,d)&&!i.hasOwnProperty(d)&&(p[d]=c[d]);if(s&&s.defaultProps)for(d in c=s.defaultProps,c)p[d]===void 0&&(p[d]=c[d]);return{$$typeof:t,type:s,key:b,ref:h,props:p,_owner:n.current}}return xt.jsx=a,xt.jsxs=a,xt}var Nn={};/** @license React v16.14.0
8
+ */var aa;function Fp(){if(aa)return xt;aa=1;var e=l,t=60103;if(xt.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var r=Symbol.for;t=r("react.element"),xt.Fragment=r("react.fragment")}var n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,d){var f,p={},b=null,h=null;d!==void 0&&(b=""+d),c.key!==void 0&&(b=""+c.key),c.ref!==void 0&&(h=c.ref);for(f in c)o.call(c,f)&&!i.hasOwnProperty(f)&&(p[f]=c[f]);if(s&&s.defaultProps)for(f in c=s.defaultProps,c)p[f]===void 0&&(p[f]=c[f]);return{$$typeof:t,type:s,key:b,ref:h,props:p,_owner:n.current}}return xt.jsx=a,xt.jsxs=a,xt}var En={};/** @license React v16.14.0
9
9
  * react-jsx-runtime.development.js
10
10
  *
11
11
  * Copyright (c) Facebook, Inc. and its affiliates.
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var xa;function dh(){return xa||(xa=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=ie.default,r=60103,n=60106;e.Fragment=60107;var o=60108,i=60114,a=60109,s=60110,c=60112,u=60113,d=60120,p=60115,b=60116,h=60121,v=60122,m=60117,y=60129,$=60131;if(typeof Symbol=="function"&&Symbol.for){var _=Symbol.for;r=_("react.element"),n=_("react.portal"),e.Fragment=_("react.fragment"),o=_("react.strict_mode"),i=_("react.profiler"),a=_("react.provider"),s=_("react.context"),c=_("react.forward_ref"),u=_("react.suspense"),d=_("react.suspense_list"),p=_("react.memo"),b=_("react.lazy"),h=_("react.block"),v=_("react.server.block"),m=_("react.fundamental"),_("react.scope"),_("react.opaque.id"),y=_("react.debug_trace_mode"),_("react.offscreen"),$=_("react.legacy_hidden")}var w=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function D(x){if(x===null||typeof x!="object")return null;var z=w&&x[w]||x[g];return typeof z=="function"?z:null}var M=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(x){{for(var z=arguments.length,W=new Array(z>1?z-1:0),ae=1;ae<z;ae++)W[ae-1]=arguments[ae];N("error",x,W)}}function N(x,z,W){{var ae=M.ReactDebugCurrentFrame,he="";if(ve){var be=Z(ve.type),de=ve._owner;he+=Y(be,ve._source,de&&Z(de.type))}he+=ae.getStackAddendum(),he!==""&&(z+="%s",W=W.concat([he]));var se=W.map(function(Pe){return""+Pe});se.unshift("Warning: "+z),Function.prototype.apply.call(console[x],console,se)}}var F=!1;function G(x){return!!(typeof x=="string"||typeof x=="function"||x===e.Fragment||x===i||x===y||x===o||x===u||x===d||x===$||F||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===p||x.$$typeof===a||x.$$typeof===s||x.$$typeof===c||x.$$typeof===m||x.$$typeof===h||x[0]===v))}var S=/^(.*)[\\\/]/;function Y(x,z,W){var ae="";if(z){var he=z.fileName,be=he.replace(S,"");if(/^index\./.test(be)){var de=he.match(S);if(de){var se=de[1];if(se){var Pe=se.replace(S,"");be=Pe+"/"+be}}}ae=" (at "+be+":"+z.lineNumber+")"}else W&&(ae=" (created by "+W+")");return`
16
- in `+(x||"Unknown")+ae}var I=1;function P(x){return x._status===I?x._result:null}function re(x,z,W){var ae=z.displayName||z.name||"";return x.displayName||(ae!==""?W+"("+ae+")":W)}function Z(x){if(x==null)return null;if(typeof x.tag=="number"&&O("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case e.Fragment:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case s:return"Context.Consumer";case a:return"Context.Provider";case c:return re(x,x.render,"ForwardRef");case p:return Z(x.type);case h:return Z(x.render);case b:{var z=x,W=P(z);if(W)return Z(W);break}}return null}var fe={};M.ReactDebugCurrentFrame;var ve=null;function ee(x){ve=x}function E(x,z,W,ae,he){{var be=Function.call.bind(Object.prototype.hasOwnProperty);for(var de in x)if(be(x,de)){var se=void 0;try{if(typeof x[de]!="function"){var Pe=Error((ae||"React class")+": "+W+" type `"+de+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[de]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}se=x[de](z,de,ae,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ue){se=Ue}se&&!(se instanceof Error)&&(ee(he),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ae||"React class",W,de,typeof se),ee(null)),se instanceof Error&&!(se.message in fe)&&(fe[se.message]=!0,ee(he),O("Failed %s type: %s",W,se.message),ee(null))}}}var L=M.ReactCurrentOwner,B=Object.prototype.hasOwnProperty,j={key:!0,ref:!0,__self:!0,__source:!0},V,U,q;q={};function X(x){if(B.call(x,"ref")){var z=Object.getOwnPropertyDescriptor(x,"ref").get;if(z&&z.isReactWarning)return!1}return x.ref!==void 0}function J(x){if(B.call(x,"key")){var z=Object.getOwnPropertyDescriptor(x,"key").get;if(z&&z.isReactWarning)return!1}return x.key!==void 0}function oe(x,z){if(typeof x.ref=="string"&&L.current&&z&&L.current.stateNode!==z){var W=Z(L.current.type);q[W]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Z(L.current.type),x.ref),q[W]=!0)}}function ne(x,z){{var W=function(){V||(V=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};W.isReactWarning=!0,Object.defineProperty(x,"key",{get:W,configurable:!0})}}function ge(x,z){{var W=function(){U||(U=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};W.isReactWarning=!0,Object.defineProperty(x,"ref",{get:W,configurable:!0})}}var me=function(x,z,W,ae,he,be,de){var se={$$typeof:r,type:x,key:z,ref:W,props:de,_owner:be};return se._store={},Object.defineProperty(se._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(se,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.defineProperty(se,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(se.props),Object.freeze(se)),se};function Ee(x,z,W,ae,he){{var be,de={},se=null,Pe=null;W!==void 0&&(se=""+W),J(z)&&(se=""+z.key),X(z)&&(Pe=z.ref,oe(z,he));for(be in z)B.call(z,be)&&!j.hasOwnProperty(be)&&(de[be]=z[be]);if(x&&x.defaultProps){var Ue=x.defaultProps;for(be in Ue)de[be]===void 0&&(de[be]=Ue[be])}if(se||Pe){var ct=typeof x=="function"?x.displayName||x.name||"Unknown":x;se&&ne(de,ct),Pe&&ge(de,ct)}return me(x,se,Pe,he,ae,L.current,de)}}var Ve=M.ReactCurrentOwner;M.ReactDebugCurrentFrame;function ke(x){ve=x}var je;je=!1;function ye(x){return typeof x=="object"&&x!==null&&x.$$typeof===r}function _e(){{if(Ve.current){var x=Z(Ve.current.type);if(x)return`
15
+ */var sa;function Rp(){return sa||(sa=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=l,r=60103,n=60106;e.Fragment=60107;var o=60108,i=60114,a=60109,s=60110,c=60112,d=60113,f=60120,p=60115,b=60116,h=60121,g=60122,m=60117,_=60129,$=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;r=y("react.element"),n=y("react.portal"),e.Fragment=y("react.fragment"),o=y("react.strict_mode"),i=y("react.profiler"),a=y("react.provider"),s=y("react.context"),c=y("react.forward_ref"),d=y("react.suspense"),f=y("react.suspense_list"),p=y("react.memo"),b=y("react.lazy"),h=y("react.block"),g=y("react.server.block"),m=y("react.fundamental"),y("react.scope"),y("react.opaque.id"),_=y("react.debug_trace_mode"),y("react.offscreen"),$=y("react.legacy_hidden")}var E=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function A(x){if(x===null||typeof x!="object")return null;var z=E&&x[E]||x[v];return typeof z=="function"?z:null}var L=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(x){{for(var z=arguments.length,U=new Array(z>1?z-1:0),ie=1;ie<z;ie++)U[ie-1]=arguments[ie];M("error",x,U)}}function M(x,z,U){{var ie=L.ReactDebugCurrentFrame,he="";if(fe){var me=Q(fe.type),ue=fe._owner;he+=q(me,fe._source,ue&&Q(ue.type))}he+=ie.getStackAddendum(),he!==""&&(z+="%s",U=U.concat([he]));var ae=U.map(function(Ee){return""+Ee});ae.unshift("Warning: "+z),Function.prototype.apply.call(console[x],console,ae)}}var F=!1;function G(x){return!!(typeof x=="string"||typeof x=="function"||x===e.Fragment||x===i||x===_||x===o||x===d||x===f||x===$||F||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===p||x.$$typeof===a||x.$$typeof===s||x.$$typeof===c||x.$$typeof===m||x.$$typeof===h||x[0]===g))}var S=/^(.*)[\\\/]/;function q(x,z,U){var ie="";if(z){var he=z.fileName,me=he.replace(S,"");if(/^index\./.test(me)){var ue=he.match(S);if(ue){var ae=ue[1];if(ae){var Ee=ae.replace(S,"");me=Ee+"/"+me}}}ie=" (at "+me+":"+z.lineNumber+")"}else U&&(ie=" (created by "+U+")");return`
16
+ in `+(x||"Unknown")+ie}var D=1;function P(x){return x._status===D?x._result:null}function ee(x,z,U){var ie=z.displayName||z.name||"";return x.displayName||(ie!==""?U+"("+ie+")":U)}function Q(x){if(x==null)return null;if(typeof x.tag=="number"&&T("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case e.Fragment:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case s:return"Context.Consumer";case a:return"Context.Provider";case c:return ee(x,x.render,"ForwardRef");case p:return Q(x.type);case h:return Q(x.render);case b:{var z=x,U=P(z);if(U)return Q(U);break}}return null}var de={};L.ReactDebugCurrentFrame;var fe=null;function J(x){fe=x}function w(x,z,U,ie,he){{var me=Function.call.bind(Object.prototype.hasOwnProperty);for(var ue in x)if(me(x,ue)){var ae=void 0;try{if(typeof x[ue]!="function"){var Ee=Error((ie||"React class")+": "+U+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ee.name="Invariant Violation",Ee}ae=x[ue](z,ue,ie,U,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){ae=We}ae&&!(ae instanceof Error)&&(J(he),T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ie||"React class",U,ue,typeof ae),J(null)),ae instanceof Error&&!(ae.message in de)&&(de[ae.message]=!0,J(he),T("Failed %s type: %s",U,ae.message),J(null))}}}var N=L.ReactCurrentOwner,B=Object.prototype.hasOwnProperty,j={key:!0,ref:!0,__self:!0,__source:!0},V,K,Y;Y={};function X(x){if(B.call(x,"ref")){var z=Object.getOwnPropertyDescriptor(x,"ref").get;if(z&&z.isReactWarning)return!1}return x.ref!==void 0}function Z(x){if(B.call(x,"key")){var z=Object.getOwnPropertyDescriptor(x,"key").get;if(z&&z.isReactWarning)return!1}return x.key!==void 0}function oe(x,z){if(typeof x.ref=="string"&&N.current&&z&&N.current.stateNode!==z){var U=Q(N.current.type);Y[U]||(T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Q(N.current.type),x.ref),Y[U]=!0)}}function ne(x,z){{var U=function(){V||(V=!0,T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};U.isReactWarning=!0,Object.defineProperty(x,"key",{get:U,configurable:!0})}}function ge(x,z){{var U=function(){K||(K=!0,T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};U.isReactWarning=!0,Object.defineProperty(x,"ref",{get:U,configurable:!0})}}var be=function(x,z,U,ie,he,me,ue){var ae={$$typeof:r,type:x,key:z,ref:U,props:ue,_owner:me};return ae._store={},Object.defineProperty(ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.defineProperty(ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(ae.props),Object.freeze(ae)),ae};function we(x,z,U,ie,he){{var me,ue={},ae=null,Ee=null;U!==void 0&&(ae=""+U),Z(z)&&(ae=""+z.key),X(z)&&(Ee=z.ref,oe(z,he));for(me in z)B.call(z,me)&&!j.hasOwnProperty(me)&&(ue[me]=z[me]);if(x&&x.defaultProps){var We=x.defaultProps;for(me in We)ue[me]===void 0&&(ue[me]=We[me])}if(ae||Ee){var ct=typeof x=="function"?x.displayName||x.name||"Unknown":x;ae&&ne(ue,ct),Ee&&ge(ue,ct)}return be(x,ae,Ee,he,ie,N.current,ue)}}var ze=L.ReactCurrentOwner;L.ReactDebugCurrentFrame;function Oe(x){fe=x}var Ve;Ve=!1;function ve(x){return typeof x=="object"&&x!==null&&x.$$typeof===r}function _e(){{if(ze.current){var x=Q(ze.current.type);if(x)return`
17
17
 
18
- Check the render method of \``+x+"`."}return""}}function Ae(x){{if(x!==void 0){var z=x.fileName.replace(/^.*[\\\/]/,""),W=x.lineNumber;return`
18
+ Check the render method of \``+x+"`."}return""}}function Ie(x){{if(x!==void 0){var z=x.fileName.replace(/^.*[\\\/]/,""),U=x.lineNumber;return`
19
19
 
20
- Check your code at `+z+":"+W+"."}return""}}var Ne={};function lt(x){{var z=_e();if(!z){var W=typeof x=="string"?x:x.displayName||x.name;W&&(z=`
20
+ Check your code at `+z+":"+U+"."}return""}}var Ae={};function lt(x){{var z=_e();if(!z){var U=typeof x=="string"?x:x.displayName||x.name;U&&(z=`
21
21
 
22
- Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var W=lt(z);if(Ne[W])return;Ne[W]=!0;var ae="";x&&x._owner&&x._owner!==Ve.current&&(ae=" It was passed a child from "+Z(x._owner.type)+"."),ke(x),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',W,ae),ke(null)}}function Te(x,z){{if(typeof x!="object")return;if(Array.isArray(x))for(var W=0;W<x.length;W++){var ae=x[W];ye(ae)&&Ut(ae,z)}else if(ye(x))x._store&&(x._store.validated=!0);else if(x){var he=D(x);if(typeof he=="function"&&he!==x.entries)for(var be=he.call(x),de;!(de=be.next()).done;)ye(de.value)&&Ut(de.value,z)}}}function Je(x){{var z=x.type;if(z==null||typeof z=="string")return;var W;if(typeof z=="function")W=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===c||z.$$typeof===p))W=z.propTypes;else return;if(W){var ae=Z(z);E(W,x.props,"prop",ae,x)}else if(z.PropTypes!==void 0&&!je){je=!0;var he=Z(z);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Be(x){{for(var z=Object.keys(x.props),W=0;W<z.length;W++){var ae=z[W];if(ae!=="children"&&ae!=="key"){ke(x),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ae),ke(null);break}}x.ref!==null&&(ke(x),O("Invalid attribute `ref` supplied to `React.Fragment`."),ke(null))}}function We(x,z,W,ae,he,be){{var de=G(x);if(!de){var se="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(se+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Pe=Ae(he);Pe?se+=Pe:se+=_e();var Ue;x===null?Ue="null":Array.isArray(x)?Ue="array":x!==void 0&&x.$$typeof===r?(Ue="<"+(Z(x.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Ue=typeof x,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ue,se)}var ct=Ee(x,z,W,he,be);if(ct==null)return ct;if(de){var Kt=z.children;if(Kt!==void 0)if(ae)if(Array.isArray(Kt)){for(var ia=0;ia<Kt.length;ia++)Te(Kt[ia],x);Object.freeze&&Object.freeze(Kt)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Te(Kt,x)}return x===e.Fragment?Be(ct):Je(ct),ct}}function Ze(x,z,W){return We(x,z,W,!0)}function br(x,z,W){return We(x,z,W,!1)}var mr=br,vr=Ze;e.jsx=mr,e.jsxs=vr}()}(Nn)),Nn}(function(e){process.env.NODE_ENV==="production"?e.exports=uh():e.exports=dh()})(wr);const Mn=wr.exports.Fragment,T=wr.exports.jsx,ce=wr.exports.jsxs;function fh(e){return e}function ph(e,t){t===void 0&&(t=fh);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,n);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(n=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var c=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),r={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),r}}}};return o}function hh(e){e===void 0&&(e={});var t=ph(null);return t.options=Le({async:!0,ssr:!1},e),t}var wa=function(e){var t=e.sideCar,r=_a(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return T(n,{...Le({},r)})};wa.isSideCarExport=!0;function bh(e,t){return e.useMedium(t),wa}var Ea=hh(),Ln=function(){},Er=H.forwardRef(function(e,t){var r=H.useRef(null),n=H.useState({onScrollCapture:Ln,onWheelCapture:Ln,onTouchMoveCapture:Ln}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,b=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,y=e.as,$=y===void 0?"div":y,_=_a(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=b,g=lh([r,t]),D=Le(Le({},_),o);return ce(Mn,{children:[d&&T(w,{sideCar:Ea,removeScrollBar:u,shards:p,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:r}),a?H.cloneElement(H.Children.only(s),Le(Le({},D),{ref:g})):T($,{...Le({},D,{className:c,ref:g}),children:s})]})});Er.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Er.classNames={fullWidth:xr,zeroRight:$r};var mh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function vh(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mh();return t&&e.setAttribute("nonce",t),e}function gh(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function yh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var _h=function(){var e=0,t=null;return{add:function(r){e==0&&(t=vh())&&(gh(t,r),yh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},$h=function(){var e=_h();return function(t,r){H.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Pa=function(){var e=$h(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},xh={left:0,top:0,right:0,gap:0},Fn=function(e){return parseInt(e||"",10)||0},wh=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Fn(r),Fn(n),Fn(o)]},Eh=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return xh;var t=wh(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Ph=Pa(),Sh=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
23
- .`.concat(oh,` {
22
+ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var U=lt(z);if(Ae[U])return;Ae[U]=!0;var ie="";x&&x._owner&&x._owner!==ze.current&&(ie=" It was passed a child from "+Q(x._owner.type)+"."),Oe(x),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',U,ie),Oe(null)}}function Ce(x,z){{if(typeof x!="object")return;if(Array.isArray(x))for(var U=0;U<x.length;U++){var ie=x[U];ve(ie)&&Ut(ie,z)}else if(ve(x))x._store&&(x._store.validated=!0);else if(x){var he=A(x);if(typeof he=="function"&&he!==x.entries)for(var me=he.call(x),ue;!(ue=me.next()).done;)ve(ue.value)&&Ut(ue.value,z)}}}function Je(x){{var z=x.type;if(z==null||typeof z=="string")return;var U;if(typeof z=="function")U=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===c||z.$$typeof===p))U=z.propTypes;else return;if(U){var ie=Q(z);w(U,x.props,"prop",ie,x)}else if(z.PropTypes!==void 0&&!Ve){Ve=!0;var he=Q(z);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function je(x){{for(var z=Object.keys(x.props),U=0;U<z.length;U++){var ie=z[U];if(ie!=="children"&&ie!=="key"){Oe(x),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ie),Oe(null);break}}x.ref!==null&&(Oe(x),T("Invalid attribute `ref` supplied to `React.Fragment`."),Oe(null))}}function Be(x,z,U,ie,he,me){{var ue=G(x);if(!ue){var ae="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(ae+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ee=Ie(he);Ee?ae+=Ee:ae+=_e();var We;x===null?We="null":Array.isArray(x)?We="array":x!==void 0&&x.$$typeof===r?(We="<"+(Q(x.type)||"Unknown")+" />",ae=" Did you accidentally export a JSX literal instead of a component?"):We=typeof x,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,ae)}var ct=we(x,z,U,he,me);if(ct==null)return ct;if(ue){var Kt=z.children;if(Kt!==void 0)if(ie)if(Array.isArray(Kt)){for(var na=0;na<Kt.length;na++)Ce(Kt[na],x);Object.freeze&&Object.freeze(Kt)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ce(Kt,x)}return x===e.Fragment?je(ct):Je(ct),ct}}function Ze(x,z,U){return Be(x,z,U,!0)}function mr(x,z,U){return Be(x,z,U,!1)}var br=mr,gr=Ze;e.jsx=br,e.jsxs=gr}()}(En)),En}(function(e){process.env.NODE_ENV==="production"?e.exports=Fp():e.exports=Rp()})(Lp);const k=vr.jsx,le=vr.jsxs;function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}function zp(e,t){const r=l.createContext(t);function n(i){const{children:a,...s}=i,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},a)}function o(i){const a=l.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Pe(e,t=[]){let r=[];function n(i,a){const s=l.createContext(a),c=r.length;r=[...r,a];function d(p){const{scope:b,children:h,...g}=p,m=(b==null?void 0:b[e][c])||s,_=l.useMemo(()=>g,Object.values(g));return l.createElement(m.Provider,{value:_},h)}function f(p,b){const h=(b==null?void 0:b[e][c])||s,g=l.useContext(h);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${i}\``)}return d.displayName=i+"Provider",[d,f]}const o=()=>{const i=r.map(a=>l.createContext(a));return function(s){const c=(s==null?void 0:s[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,Vp(o,...t)]}function Vp(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=n.reduce((s,{useScope:c,scopeName:d})=>{const p=c(i)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function jp(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function la(...e){return t=>e.forEach(r=>jp(r,t))}function se(...e){return l.useCallback(la(...e),e)}function H(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const ye=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},Bp=W["useId".toString()]||(()=>{});let Wp=0;function Ue(e){const[t,r]=W.useState(Bp());return ye(()=>{e||r(n=>n??String(Wp++))},[e]),e||(t?`radix-${t}`:"")}function Se(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Ne({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Up({defaultProp:t,onChange:r}),i=e!==void 0,a=i?e:n,s=Se(r),c=l.useCallback(d=>{if(i){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[i,e,o,s]);return[a,c]}function Up({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),i=Se(t);return l.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}const dt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),i=o.find(Kp);if(i){const a=i.props.children,s=o.map(c=>c===i?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:c);return l.createElement(Pn,C({},n,{ref:t}),l.isValidElement(a)?l.cloneElement(a,void 0,s):null)}return l.createElement(Pn,C({},n,{ref:t}),r)});dt.displayName="Slot";const Pn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Hp(n,r.props),ref:la(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Pn.displayName="SlotClone";const Sn=({children:e})=>l.createElement(l.Fragment,null,e);function Kp(e){return l.isValidElement(e)&&e.type===Sn}function Hp(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{i(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const te=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:i,...a}=n,s=i?dt:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,C({},a,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ca(e,t){e&&ut.flushSync(()=>e.dispatchEvent(t))}function Gp(e,t=globalThis==null?void 0:globalThis.document){const r=Se(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Cn="dismissableLayer.update",qp="dismissableLayer.pointerDownOutside",Yp="dismissableLayer.focusOutside";let ua;const da=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ht=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(da),[p,b]=l.useState(null),h=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=l.useState({}),m=se(t,M=>b(M)),_=Array.from(f.layers),[$]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),y=_.indexOf($),E=p?_.indexOf(p):-1,v=f.layersWithOutsidePointerEventsDisabled.size>0,A=E>=y,L=Jp(M=>{const F=M.target,G=[...f.branches].some(S=>S.contains(F));!A||G||(i==null||i(M),s==null||s(M),M.defaultPrevented||c==null||c())},h),T=Zp(M=>{const F=M.target;[...f.branches].some(S=>S.contains(F))||(a==null||a(M),s==null||s(M),M.defaultPrevented||c==null||c())},h);return Gp(M=>{E===f.layers.size-1&&(o==null||o(M),!M.defaultPrevented&&c&&(M.preventDefault(),c()))},h),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ua=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),fa(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=ua)}},[p,h,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),fa())},[p,f]),l.useEffect(()=>{const M=()=>g({});return document.addEventListener(Cn,M),()=>document.removeEventListener(Cn,M)},[]),l.createElement(te.div,C({},d,{ref:m,style:{pointerEvents:v?A?"auto":"none":void 0,...e.style},onFocusCapture:H(e.onFocusCapture,T.onFocusCapture),onBlurCapture:H(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:H(e.onPointerDownCapture,L.onPointerDownCapture)}))}),Xp=l.forwardRef((e,t)=>{const r=l.useContext(da),n=l.useRef(null),o=se(t,n);return l.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),l.createElement(te.div,C({},e,{ref:o}))});function Jp(e,t=globalThis==null?void 0:globalThis.document){const r=Se(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let d=function(){pa(qp,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Zp(e,t=globalThis==null?void 0:globalThis.document){const r=Se(e),n=l.useRef(!1);return l.useEffect(()=>{const o=i=>{i.target&&!n.current&&pa(Yp,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function fa(){const e=new CustomEvent(Cn);document.dispatchEvent(e)}function pa(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ca(o,i):o.dispatchEvent(i)}const Qp=Ht,eh=Xp,Tn="focusScope.autoFocusOnMount",On="focusScope.autoFocusOnUnmount",ha={bubbles:!1,cancelable:!0},kn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),d=Se(o),f=Se(i),p=l.useRef(null),b=se(t,m=>c(m)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let m=function($){if(h.paused||!s)return;const y=$.target;s.contains(y)?p.current=y:ft(p.current,{select:!0})},_=function($){h.paused||!s||s.contains($.relatedTarget)||ft(p.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[n,s,h.paused]),l.useEffect(()=>{if(s){ga.add(h);const m=document.activeElement;if(!s.contains(m)){const $=new CustomEvent(Tn,ha);s.addEventListener(Tn,d),s.dispatchEvent($),$.defaultPrevented||(th(ah(ma(s)),{select:!0}),document.activeElement===m&&ft(s))}return()=>{s.removeEventListener(Tn,d),setTimeout(()=>{const $=new CustomEvent(On,ha);s.addEventListener(On,f),s.dispatchEvent($),$.defaultPrevented||ft(m??document.body,{select:!0}),s.removeEventListener(On,f),ga.remove(h)},0)}}},[s,d,f,h]);const g=l.useCallback(m=>{if(!r&&!n||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,$=document.activeElement;if(_&&$){const y=m.currentTarget,[E,v]=rh(y);E&&v?!m.shiftKey&&$===v?(m.preventDefault(),r&&ft(E,{select:!0})):m.shiftKey&&$===E&&(m.preventDefault(),r&&ft(v,{select:!0})):$===y&&m.preventDefault()}},[r,n,h.paused]);return l.createElement(te.div,C({tabIndex:-1},a,{ref:b,onKeyDown:g}))});function th(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ft(n,{select:t}),document.activeElement!==r)return}function rh(e){const t=ma(e),r=ba(t,e),n=ba(t.reverse(),e);return[r,n]}function ma(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ba(e,t){for(const r of e)if(!nh(r,{upTo:t}))return r}function nh(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function oh(e){return e instanceof HTMLInputElement&&"select"in e}function ft(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&oh(e)&&t&&e.select()}}const ga=ih();function ih(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=va(e,t),e.unshift(t)},remove(t){var r;e=va(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function va(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function ah(e){return e.filter(t=>t.tagName!=="A")}const Gt=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?ut.createPortal(l.createElement(te.div,C({},o,{ref:t})),n):null});function sh(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const ke=e=>{const{present:t,children:r}=e,n=lh(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),i=se(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:i}):null};ke.displayName="Presence";function lh(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=sh(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=_r(n.current);i.current=s==="mounted"?d:"none"},[s]),ye(()=>{const d=n.current,f=o.current;if(f!==e){const b=i.current,h=_r(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&b!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),ye(()=>{if(t){const d=p=>{const h=_r(n.current).includes(p.animationName);p.target===t&&h&&ut.flushSync(()=>c("ANIMATION_END"))},f=p=>{p.target===t&&(i.current=_r(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function _r(e){return(e==null?void 0:e.animationName)||"none"}let Dn=0;function In(){l.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:_a()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:_a()),Dn++,()=>{Dn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Dn--}},[])}function _a(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Me=function(){return Me=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Me.apply(this,arguments)};function ya(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function ch(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var yr="right-scroll-bar-position",$r="width-before-scroll-bar",uh="with-scroll-bars-hidden",dh="--removed-body-scroll-bar-size";function fh(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ph(e,t){var r=l.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function hh(e,t){return ph(t||null,function(r){return e.forEach(function(n){return fh(n,r)})})}function mh(e){return e}function bh(e,t){t===void 0&&(t=mh);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,n);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(n=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var c=function(){var f=a;a=[],f.forEach(i)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),r}}}};return o}function gh(e){e===void 0&&(e={});var t=bh(null);return t.options=Me({async:!0,ssr:!1},e),t}var $a=function(e){var t=e.sideCar,r=ya(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return W.createElement(n,Me({},r))};$a.isSideCarExport=!0;function vh(e,t){return e.useMedium(t),$a}var xa=gh(),An=function(){},xr=W.forwardRef(function(e,t){var r=W.useRef(null),n=W.useState({onScrollCapture:An,onWheelCapture:An,onTouchMoveCapture:An}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,f=e.enabled,p=e.shards,b=e.sideCar,h=e.noIsolation,g=e.inert,m=e.allowPinchZoom,_=e.as,$=_===void 0?"div":_,y=ya(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=b,v=hh([r,t]),A=Me(Me({},y),o);return W.createElement(W.Fragment,null,f&&W.createElement(E,{sideCar:xa,removeScrollBar:d,shards:p,noIsolation:h,inert:g,setCallbacks:i,allowPinchZoom:!!m,lockRef:r}),a?W.cloneElement(W.Children.only(s),Me(Me({},A),{ref:v})):W.createElement($,Me({},A,{className:c,ref:v}),s))});xr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xr.classNames={fullWidth:$r,zeroRight:yr};var _h=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function yh(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=_h();return t&&e.setAttribute("nonce",t),e}function $h(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function xh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var wh=function(){var e=0,t=null;return{add:function(r){e==0&&(t=yh())&&($h(t,r),xh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Eh=function(){var e=wh();return function(t,r){W.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},wa=function(){var e=Eh(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Ph={left:0,top:0,right:0,gap:0},Nn=function(e){return parseInt(e||"",10)||0},Sh=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Nn(r),Nn(n),Nn(o)]},Ch=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ph;var t=Sh(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Th=wa(),Oh=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
23
+ .`.concat(uh,` {
24
24
  overflow: hidden `).concat(n,`;
25
25
  padding-right: `).concat(s,"px ").concat(n,`;
26
26
  }
@@ -37,29 +37,29 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
37
37
  `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
38
38
  }
39
39
 
40
- .`).concat($r,` {
40
+ .`).concat(yr,` {
41
41
  right: `).concat(s,"px ").concat(n,`;
42
42
  }
43
43
 
44
- .`).concat(xr,` {
44
+ .`).concat($r,` {
45
45
  margin-right: `).concat(s,"px ").concat(n,`;
46
46
  }
47
47
 
48
- .`).concat($r," .").concat($r,` {
48
+ .`).concat(yr," .").concat(yr,` {
49
49
  right: 0 `).concat(n,`;
50
50
  }
51
51
 
52
- .`).concat(xr," .").concat(xr,` {
52
+ .`).concat($r," .").concat($r,` {
53
53
  margin-right: 0 `).concat(n,`;
54
54
  }
55
55
 
56
56
  body {
57
- `).concat(ih,": ").concat(s,`px;
57
+ `).concat(dh,": ").concat(s,`px;
58
58
  }
59
- `)},Ch=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,i=H.useMemo(function(){return Eh(o)},[o]);return T(Ph,{styles:Sh(i,!t,o,r?"":"!important")})},Rn=!1;if(typeof window<"u")try{var Pr=Object.defineProperty({},"passive",{get:function(){return Rn=!0,!0}});window.addEventListener("test",Pr,Pr),window.removeEventListener("test",Pr,Pr)}catch{Rn=!1}var wt=Rn?{passive:!1}:!1,Th=function(e){return e.tagName==="TEXTAREA"},Sa=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Th(e)&&r[t]==="visible")},Oh=function(e){return Sa(e,"overflowY")},kh=function(e){return Sa(e,"overflowX")},Ca=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Ta(e,r);if(n){var o=Oa(e,r),i=o[1],a=o[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},Dh=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Ih=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Ta=function(e,t){return e==="v"?Oh(t):kh(t)},Oa=function(e,t){return e==="v"?Dh(t):Ih(t)},Ah=function(e,t){return e==="h"&&t==="rtl"?-1:1},Nh=function(e,t,r,n,o){var i=Ah(e,window.getComputedStyle(t).direction),a=i*n,s=r.target,c=t.contains(s),u=!1,d=a>0,p=0,b=0;do{var h=Oa(e,s),v=h[0],m=h[1],y=h[2],$=m-y-i*v;(v||$)&&Ta(e,s)&&(p+=$,b+=v),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(d&&(o&&p===0||!o&&a>p)||!d&&(o&&b===0||!o&&-a>b))&&(u=!0),u},Sr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ka=function(e){return[e.deltaX,e.deltaY]},Da=function(e){return e&&"current"in e?e.current:e},Mh=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Lh=function(e){return`
59
+ `)},kh=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,i=W.useMemo(function(){return Ch(o)},[o]);return W.createElement(Th,{styles:Oh(i,!t,o,r?"":"!important")})},Mn=!1;if(typeof window<"u")try{var wr=Object.defineProperty({},"passive",{get:function(){return Mn=!0,!0}});window.addEventListener("test",wr,wr),window.removeEventListener("test",wr,wr)}catch{Mn=!1}var wt=Mn?{passive:!1}:!1,Dh=function(e){return e.tagName==="TEXTAREA"},Ea=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Dh(e)&&r[t]==="visible")},Ih=function(e){return Ea(e,"overflowY")},Ah=function(e){return Ea(e,"overflowX")},Pa=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Sa(e,r);if(n){var o=Ca(e,r),i=o[1],a=o[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},Nh=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Mh=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Sa=function(e,t){return e==="v"?Ih(t):Ah(t)},Ca=function(e,t){return e==="v"?Nh(t):Mh(t)},Lh=function(e,t){return e==="h"&&t==="rtl"?-1:1},Fh=function(e,t,r,n,o){var i=Lh(e,window.getComputedStyle(t).direction),a=i*n,s=r.target,c=t.contains(s),d=!1,f=a>0,p=0,b=0;do{var h=Ca(e,s),g=h[0],m=h[1],_=h[2],$=m-_-i*g;(g||$)&&Sa(e,s)&&(p+=$,b+=g),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(o&&p===0||!o&&a>p)||!f&&(o&&b===0||!o&&-a>b))&&(d=!0),d},Er=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ta=function(e){return[e.deltaX,e.deltaY]},Oa=function(e){return e&&"current"in e?e.current:e},Rh=function(e,t){return e[0]===t[0]&&e[1]===t[1]},zh=function(e){return`
60
60
  .block-interactivity-`.concat(e,` {pointer-events: none;}
61
61
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
62
- `)},Fh=0,Et=[];function Rh(e){var t=H.useRef([]),r=H.useRef([0,0]),n=H.useRef(),o=H.useState(Fh++)[0],i=H.useState(function(){return Pa()})[0],a=H.useRef(e);H.useEffect(function(){a.current=e},[e]),H.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=nh([e.lockRef.current],(e.shards||[]).map(Da),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=H.useCallback(function(m,y){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var $=Sr(m),_=r.current,w="deltaX"in m?m.deltaX:_[0]-$[0],g="deltaY"in m?m.deltaY:_[1]-$[1],D,M=m.target,O=Math.abs(w)>Math.abs(g)?"h":"v";if("touches"in m&&O==="h"&&M.type==="range")return!1;var N=Ca(O,M);if(!N)return!0;if(N?D=O:(D=O==="v"?"h":"v",N=Ca(O,M)),!N)return!1;if(!n.current&&"changedTouches"in m&&(w||g)&&(n.current=D),!D)return!0;var F=n.current||D;return Nh(F,y,m,F==="h"?w:g,!0)},[]),c=H.useCallback(function(m){var y=m;if(!(!Et.length||Et[Et.length-1]!==i)){var $="deltaY"in y?ka(y):Sr(y),_=t.current.filter(function(D){return D.name===y.type&&D.target===y.target&&Mh(D.delta,$)})[0];if(_&&_.should){y.cancelable&&y.preventDefault();return}if(!_){var w=(a.current.shards||[]).map(Da).filter(Boolean).filter(function(D){return D.contains(y.target)}),g=w.length>0?s(y,w[0]):!a.current.noIsolation;g&&y.cancelable&&y.preventDefault()}}},[]),u=H.useCallback(function(m,y,$,_){var w={name:m,delta:y,target:$,should:_};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(g){return g!==w})},1)},[]),d=H.useCallback(function(m){r.current=Sr(m),n.current=void 0},[]),p=H.useCallback(function(m){u(m.type,ka(m),m.target,s(m,e.lockRef.current))},[]),b=H.useCallback(function(m){u(m.type,Sr(m),m.target,s(m,e.lockRef.current))},[]);H.useEffect(function(){return Et.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:b}),document.addEventListener("wheel",c,wt),document.addEventListener("touchmove",c,wt),document.addEventListener("touchstart",d,wt),function(){Et=Et.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,wt),document.removeEventListener("touchmove",c,wt),document.removeEventListener("touchstart",d,wt)}},[]);var h=e.removeScrollBar,v=e.inert;return ce(Mn,{children:[v?T(i,{styles:Lh(o)}):null,h?T(Ch,{gapMode:"margin"}):null]})}const zh=bh(Ea,Rh);var Ia=H.forwardRef(function(e,t){return T(Er,{...Le({},e,{ref:t,sideCar:zh})})});Ia.classNames=Er.classNames;const zn=Ia;var Vh=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pt=new WeakMap,Cr=new WeakMap,Tr={},Vn=0,Aa=function(e){return e&&(e.host||Aa(e.parentNode))},jh=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Aa(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},Bh=function(e,t,r,n){var o=jh(t,Array.isArray(e)?e:[e]);Tr[r]||(Tr[r]=new WeakMap);var i=Tr[r],a=[],s=new Set,c=new Set(o),u=function(p){!p||s.has(p)||(s.add(p),u(p.parentNode))};o.forEach(u);var d=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(b){if(s.has(b))d(b);else{var h=b.getAttribute(n),v=h!==null&&h!=="false",m=(Pt.get(b)||0)+1,y=(i.get(b)||0)+1;Pt.set(b,m),i.set(b,y),a.push(b),m===1&&v&&Cr.set(b,!0),y===1&&b.setAttribute(r,"true"),v||b.setAttribute(n,"true")}})};return d(t),s.clear(),Vn++,function(){a.forEach(function(p){var b=Pt.get(p)-1,h=i.get(p)-1;Pt.set(p,b),i.set(p,h),b||(Cr.has(p)||p.removeAttribute(n),Cr.delete(p)),h||p.removeAttribute(r)}),Vn--,Vn||(Pt=new WeakMap,Pt=new WeakMap,Cr=new WeakMap,Tr={})}},jn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Vh(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Bh(n,o,r,"aria-hidden")):function(){return null}};const Na="Dialog",[Ma,La]=Se(Na),[Wh,Ie]=Ma(Na),Uh=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=l.useRef(null),c=l.useRef(null),[u=!1,d]=Me({prop:n,defaultProp:o,onChange:i});return l.createElement(Wh,{scope:t,triggerRef:s,contentRef:c,contentId:Ke(),titleId:Ke(),descriptionId:Ke(),open:u,onOpenChange:d,onOpenToggle:l.useCallback(()=>d(p=>!p),[d]),modal:a},r)},Kh="DialogTrigger",Hh=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ie(Kh,r),i=le(t,o.triggerRef);return l.createElement(Q.button,C({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Wn(o.open)},n,{ref:i,onClick:K(e.onClick,o.onOpenToggle)}))}),Fa="DialogPortal",[Gh,Ra]=Ma(Fa,{forceMount:void 0}),qh=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=Ie(Fa,t);return l.createElement(Gh,{scope:t,forceMount:r},l.Children.map(n,a=>l.createElement(De,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},a))))},Bn="DialogOverlay",Yh=l.forwardRef((e,t)=>{const r=Ra(Bn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Ie(Bn,e.__scopeDialog);return i.modal?l.createElement(De,{present:n||i.open},l.createElement(Xh,C({},o,{ref:t}))):null}),Xh=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ie(Bn,r);return l.createElement(zn,{as:dt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(Q.div,C({"data-state":Wn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),St="DialogContent",Jh=l.forwardRef((e,t)=>{const r=Ra(St,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Ie(St,e.__scopeDialog);return l.createElement(De,{present:n||i.open},i.modal?l.createElement(Zh,C({},o,{ref:t})):l.createElement(Qh,C({},o,{ref:t})))}),Zh=l.forwardRef((e,t)=>{const r=Ie(St,e.__scopeDialog),n=l.useRef(null),o=le(t,r.contentRef,n);return l.useEffect(()=>{const i=n.current;if(i)return jn(i)},[]),l.createElement(za,C({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:K(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=r.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:K(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:K(e.onFocusOutside,i=>i.preventDefault())}))}),Qh=l.forwardRef((e,t)=>{const r=Ie(St,e.__scopeDialog),n=l.useRef(!1);return l.createElement(za,C({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),za=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=Ie(St,r),c=l.useRef(null),u=le(t,c);return An(),l.createElement(l.Fragment,null,l.createElement(Dn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Ht,C({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Wn(s.open)},a,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),Va="DialogTitle",e0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ie(Va,r);return l.createElement(Q.h2,C({id:o.titleId},n,{ref:t}))}),t0="DialogDescription",r0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ie(t0,r);return l.createElement(Q.p,C({id:o.descriptionId},n,{ref:t}))}),n0="DialogClose",o0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ie(n0,r);return l.createElement(Q.button,C({type:"button"},n,{ref:t,onClick:K(e.onClick,()=>o.onOpenChange(!1))}))});function Wn(e){return e?"open":"closed"}const i0="DialogTitleWarning",[a0,_E]=Ap(i0,{contentName:St,titleName:Va,docsSlug:"dialog"}),ja=Uh,Ba=Hh,Wa=qh,Ua=Yh,Ka=Jh,Ha=e0,Ga=r0,Un=o0,s0="AlertDialog",[l0,$E]=Se(s0,[La]),He=La(),c0=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(ja,C({},n,r,{modal:!0}))},u0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Ba,C({},o,n,{ref:t}))}),d0=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(Wa,C({},n,r))},f0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Ua,C({},o,n,{ref:t}))}),qa="AlertDialogContent",[p0,h0]=l0(qa),b0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,i=He(r),a=l.useRef(null),s=le(t,a),c=l.useRef(null);return l.createElement(a0,{contentName:qa,titleName:m0,docsSlug:"alert-dialog"},l.createElement(p0,{scope:r,cancelRef:c},l.createElement(Ka,C({role:"alertdialog"},i,o,{ref:s,onOpenAutoFocus:K(o.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=c.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),l.createElement(Cn,null,n),!1)))}),m0="AlertDialogTitle",v0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Ha,C({},o,n,{ref:t}))}),g0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Ga,C({},o,n,{ref:t}))}),y0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Un,C({},o,n,{ref:t}))}),_0="AlertDialogCancel",$0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=h0(_0,r),i=He(r),a=le(t,o);return l.createElement(Un,C({},i,n,{ref:a}))}),x0=c0,w0=u0,E0=d0,P0=f0,S0=b0,C0=y0,T0=$0,O0=v0,k0=g0,f={border_radius_0:"0",border_radius_100:"1px",border_radius_200:"2px",border_radius_400:"4px",border_radius_800:"8px",border_radius_pill:"9999em",border_radius_circle:"50%",border_width_0:"0",border_width_100:"1px",border_width_200:"2px",color_gray_4:"hsl(0, 0%, 4%)",color_gray_8:"hsl(0, 0%, 8%)",color_gray_10:"hsl(0, 0%, 10%)",color_gray_12:"hsl(0, 0%, 12%)",color_gray_14:"hsl(0, 0%, 14%)",color_gray_16:"hsl(0, 0%, 16%)",color_gray_24:"hsl(0, 0%, 24%)",color_gray_32:"hsl(0, 0%, 32%)",color_gray_56:"hsl(0, 0%, 56%)",color_gray_64:"hsl(0, 0%, 64%)",color_gray_84:"hsl(0, 0%, 84%)",color_gray_94:"hsl(0, 0% 94%)",color_gray_96:"hsl(0, 0%, 96%)",color_white:"hsl(0, 0%, 100%)",color_black:"hsl(0, 0%, 0%)",color_background_white_standard:"hsl(0, 0%, 100%)",color_background_white_strong:"hsl(0, 0% 94%)",color_background_white_weak:"hsl(0, 0%, 96%)",color_background_black_standard:"hsl(0, 0%, 16%)",color_background_black_strong:"hsl(0, 0%, 8%)",color_background_black_weak:"hsl(0, 0%, 12%)",color_background_sentiment_negative:"hsl(11, 68%, 55%)",color_background_sentiment_positive:"hsl(54, 63% 52%)",color_background_sentiment_notice:"hsl(29, 74% 53%)",color_background_sentiment_neutral:"hsl(0, 0%, 10%)",color_divider_standard:"hsla(0, 0%, 0%, 12%)",color_divider_strong:"hsla(0, 0%, 0%, 16%)",color_divider_weak:"hsla(0, 0%, 0%, 8%)",color_divider_inverse_standard:"hsla(0, 0%, 1000%, 32%)",color_divider_inverse_strong:"hsla(0, 0%, 100%, 48%)",color_divider_inverse_weak:"hsla(0, 0%, 100%, 24%)",color_text_standard:"hsl(0, 0%, 32%)",color_text_strong:"hsl(0, 0%, 0%)",color_text_weak:"hsl(0, 0%, 56%)",color_text_white_standard:"hsl(0, 0%, 84%)",color_text_white_strong:"hsl(0, 0%, 100%)",color_text_white_weak:"hsl(0, 0%, 64%)",color_text_sentiment_negative:"hsl(11, 68%, 55%)",color_text_sentiment_positive:"hsl(54, 63%, 52%)",color_text_sentiment_notice:"hsl(29, 67%, 47%)",color_text_sentiment_neutral:"hsl(0, 0%, 24%)",color_fill_primary_enabled:"hsla(0, 0%, 8%, 1)",color_fill_primary_hover:"hsl(210, 5%, 16%)",color_fill_primary_pressed:"hsl(210, 3%, 28%)",color_fill_primary_disabled:"hsla(0, 0%, 8%, 0.2)",color_fill_secondary_enabled:"hsla(0, 0%, 0%, 0.06)",color_fill_secondary_hover:"hsla(0, 0%, 0%, 0.12)",color_fill_secondary_pressed:"hsla(0, 0%, 0%, 0.2)",color_fill_secondary_disabled:"hsla(0, 0%, 88%, 0.5)",color_fill_inverse_enabled:"hsl(0, 0%, 100%)",color_fill_inverse_hover:"hsl(0, 0%, 94%)",color_fill_inverse_pressed:"hsl(0, 0%, 90%)",color_fill_inverse_disabled:"hsla(0, 0%, 98%, 0.4)",color_fill_danger_enabled:"hsl(11, 68%, 55%)",color_fill_danger_hover:"hsl(11, 57%, 51%)",color_fill_danger_pressed:"hsl(11, 55%, 48%)",color_fill_danger_disabled:"hsla(11, 68%, 55%, 0.2)",color_outline_primary_danger_enabled:"hsla(11, 68%, 55%, 0.24)",color_outline_primary_danger_hover:"hsla(11, 68%, 55%, 0.48)",color_outline_primary_danger_pressed:"hsla(11, 68%, 55%, 0.72)",color_outline_primary_danger_disabled:"hsla(11, 68%, 55%, 0.16)",color_outline_primary_danger_selected_enabled:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_hover:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_pressed:"hsla(11, 68%, 55%, 0.96)",color_outline_secondary_enabled:"hsla(0, 0%, 0%, 0.16)",color_outline_secondary_hover:"hsla(0, 0%, 0%, 0.32)",color_outline_secondary_pressed:"hsla(0, 0%, 0%, 0.48)",color_outline_secondary_disabled:"hsla(0, 0%, 14%, 0.16)",color_outline_secondary_selected_enabled:"hsla(0, 0%, 0%, 0.6)",color_outline_secondary_selected_hover:"hsla(0, 0%, 0%, 0.72)",color_outline_secondary_selected_pressed:"hsla(0, 0%, 0%, 0.76)",color_outline_inverse_enabled:"hsla(0, 0%, 100%, 0.32)",color_outline_inverse_hover:"hsla(0, 0%, 100%, 0.48)",color_outline_inverse_pressed:"hsla(0, 0%, 100%, 0.56)",color_outline_inverse_disabled:"hsla(0, 0%, 100%, 0.2)",color_outline_inverse_selected_enabled:"hsla(0, 0%, 100%, 0.6)",color_outline_inverse_selected_hover:"hsla(0, 0%, 100%, 0.72)",color_outline_inverse_selected_pressed:"hsla(0, 0%, 100%, 0.8)",color_outline_danger_enabled:"hsl(11, 68%, 55%)",color_outline_danger_hover:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_pressed:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_disabled:"hsla(11, 68%, 55%, 0.32)",color_overlay_secondary_enabled:"hsl(0, 0%, 100%)",color_overlay_secondary_hover:"hsl(0, 0%, 97%)",color_overlay_secondary_pressed:"hsl(0, 0%, 92%)",color_overlay_secondary_selected_enabled:"hsl(0, 0%, 94%)",color_overlay_secondary_selected_hover:"hsl(0, 0%, 91%)",color_overlay_secondary_selected_pressed:"hsl(0, 0%, 88%)",color_overlay_inverse_enabled:"hsl(0, 0%, 0%)",color_overlay_inverse_hover:"hsl(0, 0%, 4%)",color_overlay_inverse_pressed:"hsl(0, 0%, 12%)",color_overlay_inverse_selected_enabled:"hsl(0, 0%, 10%)",color_overlay_inverse_selected_hover:"hsl(0, 0%, 16%)",color_overlay_inverse_selected_pressed:"hsl(0, 0%, 24%)",elevation_static_low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)",elevation_interactive_down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",elevation_interactive_low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",elevation_interactive_medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",elevation_interactive_high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)",z_index_auto:"auto",z_index_below:"-1",z_index_default:"1",z_index_above:"10",z_index_overlay:"1000",font_family_inter:"'Inter', -apple-system, Helvetica, sans-serif",font_family_sans:"'Inter', -apple-system, Helvetica, sans-serif",font_family_inter_display:"'Inter', -apple-system, Helvetica, sans-serif",font_family_monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace",feature_settings_number:"'tnum' on, 'lnum' on, 'ss01' on",letter_spacing_tight:"-0.006em",letter_spacing_tighter:"-0.01em",letter_spacing_heading_large:"-0.018em",letter_spacing_heading_medium:"-0.016em",letter_spacing_heading_small:"-0.014em",letter_spacing_title_large:"-0.014em",letter_spacing_title_medium:"-0.012em",letter_spacing_title_small:"-0.01em",letter_spacing_title_xsmall:"-0.008em",letter_spacing_label_large:"-0.01em",letter_spacing_label_medium:"normal",letter_spacing_label_small:"-0.006em",letter_spacing_body_large:"-0.01em",letter_spacing_body_medium:"-0.006em",letter_spacing_body_small:"normal",letter_spacing_number_large:"-0.05em",letter_spacing_number_medium:"-0.05em",letter_spacing_number_small:"-0.04em",letter_spacing_number_xsmall:"-0.05em",letter_spacing_caption_medium:"0.01em",letter_spacing_caption_small:"0.02em",line_height_111:1.11,line_height_114:1.14,line_height_129:1.29,line_height_133:1.33,line_height_143:1.43,line_height_title_large:1.06,line_height_title_medium:1.08,line_height_title_small:1.1,line_height_title_xsmall:1.11,line_height_label_large:1.11,line_height_label_medium:1.12,line_height_label_small:1.14,line_height_body_large:1.25,line_height_body_medium:1.29,line_height_body_small:1.33,line_height_number_large:1.25,line_height_number_medium:1.14,line_height_number_small:1.17,line_height_number_xsmall:1.2,line_height_caption_medium:1.17,line_height_caption_small:1.2,font_size_50:"0.75rem",font_size_100:"0.875rem",font_size_200:"1rem",font_size_300:"1.125rem",font_size_400:"1.25rem",font_size_500:"1.5rem",font_size_600:"2rem",font_size_700:"2.75rem",font_size_800:"3.5rem",font_size_root:"16px",font_size_heading_large:"4.5rem",font_size_heading_medium:"3.5rem",font_size_heading_small:"3rem",font_size_title_large:"2.125rem",font_size_title_medium:"1.5rem",font_size_title_small:"1.25rem",font_size_title_xsmall:"1.125rem",font_size_label_large:"1.125rem",font_size_label_medium:"16px",font_size_label_small:"0.875rem",font_size_body_large:"16px",font_size_body_medium:"0.875rem",font_size_body_small:"0.75rem",font_size_number_large:"16px",font_size_number_medium:"0.875rem",font_size_number_small:"0.75rem",font_size_number_xsmall:"0.625rem",font_size_caption_medium:"0.875rem",font_size_caption_small:"0.75rem",font_weight_light:"300",font_weight_normal:"400",font_weight_medium:"500",font_weight_semibold:"600",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",sizing_0:"0rem",sizing_100:"0.25rem",sizing_200:"0.5rem",sizing_300:"0.75rem",sizing_350:"0.875rem",sizing_400:"1rem",sizing_450:"1.25rem",sizing_500:"1.5rem",sizing_550:"1.75rem",sizing_600:"2rem",sizing_650:"2.5rem",sizing_700:"3rem",sizing_750:"3.5rem",sizing_800:"4rem",sizing_850:"6rem",sizing_900:"10rem",sizing_1000:"20rem",sizing_1100:"28rem",sizing_1150:"35rem",sizing_1200:"45rem",sizing_1300:"60rem",sizing_1350:"66rem",sizing_1400:"75rem",sizing_1500:"90rem",spacing_0:"0rem",spacing_100:"0.25rem",spacing_200:"0.5rem",spacing_300:"0.75rem",spacing_400:"1rem",spacing_450:"1.25rem",spacing_500:"1.5rem",spacing_550:"1.75rem",spacing_600:"2rem",spacing_650:"2.5rem",spacing_700:"3rem",spacing_750:"3.5rem",spacing_800:"4rem",spacing_850:"6rem",spacing_900:"10rem",transition_duration_75:"75ms",transition_duration_100:"100ms",transition_duration_150:"150ms",transition_duration_200:"200ms",transition_duration_300:"300ms",transition_property_color:"color, background-color, border-color, text-decoration-color, fill, stroke;",transition_property_all:"all",transition_property_opacity:"opacity",transition_property_box_shadow:"box-shadow",transition_property_transform:"transform",transition_timing_function_ease_in:"cubic-bezier(0.4, 0, 1, 1)",transition_timing_function_ease_out:"cubic-bezier(0, 0, 0.2, 1)",transition_timing_function_ease_in_out:"cubic-bezier(0.4, 0, 0.2, 1)"},Kn=$t.keyframes`
62
+ `)},Vh=0,Et=[];function jh(e){var t=W.useRef([]),r=W.useRef([0,0]),n=W.useRef(),o=W.useState(Vh++)[0],i=W.useState(function(){return wa()})[0],a=W.useRef(e);W.useEffect(function(){a.current=e},[e]),W.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=ch([e.lockRef.current],(e.shards||[]).map(Oa),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=W.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var $=Er(m),y=r.current,E="deltaX"in m?m.deltaX:y[0]-$[0],v="deltaY"in m?m.deltaY:y[1]-$[1],A,L=m.target,T=Math.abs(E)>Math.abs(v)?"h":"v";if("touches"in m&&T==="h"&&L.type==="range")return!1;var M=Pa(T,L);if(!M)return!0;if(M?A=T:(A=T==="v"?"h":"v",M=Pa(T,L)),!M)return!1;if(!n.current&&"changedTouches"in m&&(E||v)&&(n.current=A),!A)return!0;var F=n.current||A;return Fh(F,_,m,F==="h"?E:v,!0)},[]),c=W.useCallback(function(m){var _=m;if(!(!Et.length||Et[Et.length-1]!==i)){var $="deltaY"in _?Ta(_):Er(_),y=t.current.filter(function(A){return A.name===_.type&&A.target===_.target&&Rh(A.delta,$)})[0];if(y&&y.should){_.cancelable&&_.preventDefault();return}if(!y){var E=(a.current.shards||[]).map(Oa).filter(Boolean).filter(function(A){return A.contains(_.target)}),v=E.length>0?s(_,E[0]):!a.current.noIsolation;v&&_.cancelable&&_.preventDefault()}}},[]),d=W.useCallback(function(m,_,$,y){var E={name:m,delta:_,target:$,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(v){return v!==E})},1)},[]),f=W.useCallback(function(m){r.current=Er(m),n.current=void 0},[]),p=W.useCallback(function(m){d(m.type,Ta(m),m.target,s(m,e.lockRef.current))},[]),b=W.useCallback(function(m){d(m.type,Er(m),m.target,s(m,e.lockRef.current))},[]);W.useEffect(function(){return Et.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:b}),document.addEventListener("wheel",c,wt),document.addEventListener("touchmove",c,wt),document.addEventListener("touchstart",f,wt),function(){Et=Et.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,wt),document.removeEventListener("touchmove",c,wt),document.removeEventListener("touchstart",f,wt)}},[]);var h=e.removeScrollBar,g=e.inert;return W.createElement(W.Fragment,null,g?W.createElement(i,{styles:zh(o)}):null,h?W.createElement(kh,{gapMode:"margin"}):null)}const Bh=vh(xa,jh);var ka=W.forwardRef(function(e,t){return W.createElement(xr,Me({},e,{ref:t,sideCar:Bh}))});ka.classNames=xr.classNames;const Ln=ka;var Wh=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pt=new WeakMap,Pr=new WeakMap,Sr={},Fn=0,Da=function(e){return e&&(e.host||Da(e.parentNode))},Uh=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Da(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},Kh=function(e,t,r,n){var o=Uh(t,Array.isArray(e)?e:[e]);Sr[r]||(Sr[r]=new WeakMap);var i=Sr[r],a=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(b){if(s.has(b))f(b);else{var h=b.getAttribute(n),g=h!==null&&h!=="false",m=(Pt.get(b)||0)+1,_=(i.get(b)||0)+1;Pt.set(b,m),i.set(b,_),a.push(b),m===1&&g&&Pr.set(b,!0),_===1&&b.setAttribute(r,"true"),g||b.setAttribute(n,"true")}})};return f(t),s.clear(),Fn++,function(){a.forEach(function(p){var b=Pt.get(p)-1,h=i.get(p)-1;Pt.set(p,b),i.set(p,h),b||(Pr.has(p)||p.removeAttribute(n),Pr.delete(p)),h||p.removeAttribute(r)}),Fn--,Fn||(Pt=new WeakMap,Pt=new WeakMap,Pr=new WeakMap,Sr={})}},Rn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Wh(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Kh(n,o,r,"aria-hidden")):function(){return null}};const Ia="Dialog",[Aa,Na]=Pe(Ia),[Hh,De]=Aa(Ia),Gh=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=Ne({prop:n,defaultProp:o,onChange:i});return l.createElement(Hh,{scope:t,triggerRef:s,contentRef:c,contentId:Ue(),titleId:Ue(),descriptionId:Ue(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:a},r)},qh="DialogTrigger",Yh=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(qh,r),i=se(t,o.triggerRef);return l.createElement(te.button,C({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Vn(o.open)},n,{ref:i,onClick:H(e.onClick,o.onOpenToggle)}))}),Ma="DialogPortal",[Xh,La]=Aa(Ma,{forceMount:void 0}),Jh=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=De(Ma,t);return l.createElement(Xh,{scope:t,forceMount:r},l.Children.map(n,a=>l.createElement(ke,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},a))))},zn="DialogOverlay",Zh=l.forwardRef((e,t)=>{const r=La(zn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=De(zn,e.__scopeDialog);return i.modal?l.createElement(ke,{present:n||i.open},l.createElement(Qh,C({},o,{ref:t}))):null}),Qh=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(zn,r);return l.createElement(Ln,{as:dt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(te.div,C({"data-state":Vn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),St="DialogContent",e0=l.forwardRef((e,t)=>{const r=La(St,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=De(St,e.__scopeDialog);return l.createElement(ke,{present:n||i.open},i.modal?l.createElement(t0,C({},o,{ref:t})):l.createElement(r0,C({},o,{ref:t})))}),t0=l.forwardRef((e,t)=>{const r=De(St,e.__scopeDialog),n=l.useRef(null),o=se(t,r.contentRef,n);return l.useEffect(()=>{const i=n.current;if(i)return Rn(i)},[]),l.createElement(Fa,C({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:H(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=r.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:H(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:H(e.onFocusOutside,i=>i.preventDefault())}))}),r0=l.forwardRef((e,t)=>{const r=De(St,e.__scopeDialog),n=l.useRef(!1);return l.createElement(Fa,C({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),Fa=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=De(St,r),c=l.useRef(null),d=se(t,c);return In(),l.createElement(l.Fragment,null,l.createElement(kn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Ht,C({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Vn(s.open)},a,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),Ra="DialogTitle",n0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(Ra,r);return l.createElement(te.h2,C({id:o.titleId},n,{ref:t}))}),o0="DialogDescription",i0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(o0,r);return l.createElement(te.p,C({id:o.descriptionId},n,{ref:t}))}),a0="DialogClose",s0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(a0,r);return l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,()=>o.onOpenChange(!1))}))});function Vn(e){return e?"open":"closed"}const l0="DialogTitleWarning",[c0,$E]=zp(l0,{contentName:St,titleName:Ra,docsSlug:"dialog"}),za=Gh,Va=Yh,ja=Jh,Ba=Zh,Wa=e0,Ua=n0,Ka=i0,jn=s0,u0="AlertDialog",[d0,xE]=Pe(u0,[Na]),Ke=Na(),f0=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ke(t);return l.createElement(za,C({},n,r,{modal:!0}))},p0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Va,C({},o,n,{ref:t}))}),h0=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ke(t);return l.createElement(ja,C({},n,r))},m0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ba,C({},o,n,{ref:t}))}),Ha="AlertDialogContent",[b0,g0]=d0(Ha),v0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,i=Ke(r),a=l.useRef(null),s=se(t,a),c=l.useRef(null);return l.createElement(c0,{contentName:Ha,titleName:_0,docsSlug:"alert-dialog"},l.createElement(b0,{scope:r,cancelRef:c},l.createElement(Wa,C({role:"alertdialog"},i,o,{ref:s,onOpenAutoFocus:H(o.onOpenAutoFocus,d=>{var f;d.preventDefault(),(f=c.current)===null||f===void 0||f.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Sn,null,n),!1)))}),_0="AlertDialogTitle",y0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ua,C({},o,n,{ref:t}))}),$0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ka,C({},o,n,{ref:t}))}),x0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(jn,C({},o,n,{ref:t}))}),w0="AlertDialogCancel",E0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=g0(w0,r),i=Ke(r),a=se(t,o);return l.createElement(jn,C({},i,n,{ref:a}))}),P0=f0,S0=p0,C0=h0,T0=m0,O0=v0,k0=x0,D0=E0,I0=y0,A0=$0,u={border_radius_0:"0",border_radius_100:"1px",border_radius_200:"2px",border_radius_400:"4px",border_radius_800:"8px",border_radius_pill:"9999em",border_radius_circle:"50%",border_width_0:"0",border_width_100:"1px",border_width_200:"2px",color_gray_4:"hsl(0, 0%, 4%)",color_gray_8:"hsl(0, 0%, 8%)",color_gray_10:"hsl(0, 0%, 10%)",color_gray_12:"hsl(0, 0%, 12%)",color_gray_14:"hsl(0, 0%, 14%)",color_gray_16:"hsl(0, 0%, 16%)",color_gray_24:"hsl(0, 0%, 24%)",color_gray_32:"hsl(0, 0%, 32%)",color_gray_56:"hsl(0, 0%, 56%)",color_gray_64:"hsl(0, 0%, 64%)",color_gray_84:"hsl(0, 0%, 84%)",color_gray_94:"hsl(0, 0% 94%)",color_gray_96:"hsl(0, 0%, 96%)",color_white:"hsl(0, 0%, 100%)",color_black:"hsl(0, 0%, 0%)",color_background_white_standard:"hsl(0, 0%, 100%)",color_background_white_strong:"hsl(0, 0% 94%)",color_background_white_weak:"hsl(0, 0%, 96%)",color_background_black_standard:"hsl(0, 0%, 16%)",color_background_black_strong:"hsl(0, 0%, 8%)",color_background_black_weak:"hsl(0, 0%, 12%)",color_background_sentiment_negative:"hsl(11, 68%, 55%)",color_background_sentiment_positive:"hsl(54, 63% 52%)",color_background_sentiment_notice:"hsl(29, 74% 53%)",color_background_sentiment_neutral:"hsl(0, 0%, 10%)",color_divider_standard:"hsla(0, 0%, 0%, 12%)",color_divider_strong:"hsla(0, 0%, 0%, 16%)",color_divider_weak:"hsla(0, 0%, 0%, 8%)",color_divider_inverse_standard:"hsla(0, 0%, 1000%, 32%)",color_divider_inverse_strong:"hsla(0, 0%, 100%, 48%)",color_divider_inverse_weak:"hsla(0, 0%, 100%, 24%)",color_text_standard:"hsl(0, 0%, 32%)",color_text_strong:"hsl(0, 0%, 0%)",color_text_weak:"hsl(0, 0%, 56%)",color_text_white_standard:"hsl(0, 0%, 84%)",color_text_white_strong:"hsl(0, 0%, 100%)",color_text_white_weak:"hsl(0, 0%, 64%)",color_text_sentiment_negative:"hsl(11, 68%, 55%)",color_text_sentiment_positive:"hsl(54, 63%, 52%)",color_text_sentiment_notice:"hsl(29, 67%, 47%)",color_text_sentiment_neutral:"hsl(0, 0%, 24%)",color_fill_primary_enabled:"hsla(0, 0%, 8%, 1)",color_fill_primary_hover:"hsl(210, 5%, 16%)",color_fill_primary_pressed:"hsl(210, 3%, 28%)",color_fill_primary_disabled:"hsla(0, 0%, 8%, 0.2)",color_fill_secondary_enabled:"hsla(0, 0%, 0%, 0.06)",color_fill_secondary_hover:"hsla(0, 0%, 0%, 0.12)",color_fill_secondary_pressed:"hsla(0, 0%, 0%, 0.2)",color_fill_secondary_disabled:"hsla(0, 0%, 88%, 0.5)",color_fill_inverse_enabled:"hsl(0, 0%, 100%)",color_fill_inverse_hover:"hsl(0, 0%, 94%)",color_fill_inverse_pressed:"hsl(0, 0%, 90%)",color_fill_inverse_disabled:"hsla(0, 0%, 98%, 0.4)",color_fill_danger_enabled:"hsl(11, 68%, 55%)",color_fill_danger_hover:"hsl(11, 57%, 51%)",color_fill_danger_pressed:"hsl(11, 55%, 48%)",color_fill_danger_disabled:"hsla(11, 68%, 55%, 0.2)",color_outline_primary_danger_enabled:"hsla(11, 68%, 55%, 0.24)",color_outline_primary_danger_hover:"hsla(11, 68%, 55%, 0.48)",color_outline_primary_danger_pressed:"hsla(11, 68%, 55%, 0.72)",color_outline_primary_danger_disabled:"hsla(11, 68%, 55%, 0.16)",color_outline_primary_danger_selected_enabled:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_hover:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_pressed:"hsla(11, 68%, 55%, 0.96)",color_outline_secondary_enabled:"hsla(0, 0%, 0%, 0.16)",color_outline_secondary_hover:"hsla(0, 0%, 0%, 0.32)",color_outline_secondary_pressed:"hsla(0, 0%, 0%, 0.48)",color_outline_secondary_disabled:"hsla(0, 0%, 14%, 0.16)",color_outline_secondary_selected_enabled:"hsla(0, 0%, 0%, 0.6)",color_outline_secondary_selected_hover:"hsla(0, 0%, 0%, 0.72)",color_outline_secondary_selected_pressed:"hsla(0, 0%, 0%, 0.76)",color_outline_inverse_enabled:"hsla(0, 0%, 100%, 0.32)",color_outline_inverse_hover:"hsla(0, 0%, 100%, 0.48)",color_outline_inverse_pressed:"hsla(0, 0%, 100%, 0.56)",color_outline_inverse_disabled:"hsla(0, 0%, 100%, 0.2)",color_outline_inverse_selected_enabled:"hsla(0, 0%, 100%, 0.6)",color_outline_inverse_selected_hover:"hsla(0, 0%, 100%, 0.72)",color_outline_inverse_selected_pressed:"hsla(0, 0%, 100%, 0.8)",color_outline_danger_enabled:"hsl(11, 68%, 55%)",color_outline_danger_hover:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_pressed:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_disabled:"hsla(11, 68%, 55%, 0.32)",color_overlay_secondary_enabled:"hsl(0, 0%, 100%)",color_overlay_secondary_hover:"hsl(0, 0%, 97%)",color_overlay_secondary_pressed:"hsl(0, 0%, 92%)",color_overlay_secondary_selected_enabled:"hsl(0, 0%, 94%)",color_overlay_secondary_selected_hover:"hsl(0, 0%, 91%)",color_overlay_secondary_selected_pressed:"hsl(0, 0%, 88%)",color_overlay_inverse_enabled:"hsl(0, 0%, 0%)",color_overlay_inverse_hover:"hsl(0, 0%, 4%)",color_overlay_inverse_pressed:"hsl(0, 0%, 12%)",color_overlay_inverse_selected_enabled:"hsl(0, 0%, 10%)",color_overlay_inverse_selected_hover:"hsl(0, 0%, 16%)",color_overlay_inverse_selected_pressed:"hsl(0, 0%, 24%)",elevation_static_low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)",elevation_interactive_down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",elevation_interactive_low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",elevation_interactive_medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",elevation_interactive_high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)",z_index_auto:"auto",z_index_below:"-1",z_index_default:"1",z_index_above:"10",z_index_overlay:"1000",font_family_inter:"'Inter', -apple-system, Helvetica, sans-serif",font_family_sans:"'Inter', -apple-system, Helvetica, sans-serif",font_family_inter_display:"'Inter', -apple-system, Helvetica, sans-serif",font_family_monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace",feature_settings_number:"'tnum' on, 'lnum' on, 'ss01' on",letter_spacing_tight:"-0.006em",letter_spacing_tighter:"-0.01em",letter_spacing_heading_large:"-0.018em",letter_spacing_heading_medium:"-0.016em",letter_spacing_heading_small:"-0.014em",letter_spacing_title_large:"-0.014em",letter_spacing_title_medium:"-0.012em",letter_spacing_title_small:"-0.01em",letter_spacing_title_xsmall:"-0.008em",letter_spacing_label_large:"-0.01em",letter_spacing_label_medium:"normal",letter_spacing_label_small:"-0.006em",letter_spacing_body_large:"-0.01em",letter_spacing_body_medium:"-0.006em",letter_spacing_body_small:"normal",letter_spacing_number_large:"-0.05em",letter_spacing_number_medium:"-0.05em",letter_spacing_number_small:"-0.04em",letter_spacing_number_xsmall:"-0.05em",letter_spacing_caption_medium:"0.01em",letter_spacing_caption_small:"0.02em",line_height_111:1.11,line_height_114:1.14,line_height_129:1.29,line_height_133:1.33,line_height_143:1.43,line_height_title_large:1.06,line_height_title_medium:1.08,line_height_title_small:1.1,line_height_title_xsmall:1.11,line_height_label_large:1.11,line_height_label_medium:1.12,line_height_label_small:1.14,line_height_body_large:1.25,line_height_body_medium:1.29,line_height_body_small:1.33,line_height_number_large:1.25,line_height_number_medium:1.14,line_height_number_small:1.17,line_height_number_xsmall:1.2,line_height_caption_medium:1.17,line_height_caption_small:1.2,font_size_50:"0.75rem",font_size_100:"0.875rem",font_size_200:"1rem",font_size_300:"1.125rem",font_size_400:"1.25rem",font_size_500:"1.5rem",font_size_600:"2rem",font_size_700:"2.75rem",font_size_800:"3.5rem",font_size_root:"16px",font_size_heading_large:"4.5rem",font_size_heading_medium:"3.5rem",font_size_heading_small:"3rem",font_size_title_large:"2.125rem",font_size_title_medium:"1.5rem",font_size_title_small:"1.25rem",font_size_title_xsmall:"1.125rem",font_size_label_large:"1.125rem",font_size_label_medium:"16px",font_size_label_small:"0.875rem",font_size_body_large:"16px",font_size_body_medium:"0.875rem",font_size_body_small:"0.75rem",font_size_number_large:"16px",font_size_number_medium:"0.875rem",font_size_number_small:"0.75rem",font_size_number_xsmall:"0.625rem",font_size_caption_medium:"0.875rem",font_size_caption_small:"0.75rem",font_weight_light:"300",font_weight_normal:"400",font_weight_medium:"500",font_weight_semibold:"600",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",sizing_0:"0rem",sizing_100:"0.25rem",sizing_200:"0.5rem",sizing_300:"0.75rem",sizing_350:"0.875rem",sizing_400:"1rem",sizing_450:"1.25rem",sizing_500:"1.5rem",sizing_550:"1.75rem",sizing_600:"2rem",sizing_650:"2.5rem",sizing_700:"3rem",sizing_750:"3.5rem",sizing_800:"4rem",sizing_850:"6rem",sizing_900:"10rem",sizing_1000:"20rem",sizing_1100:"28rem",sizing_1150:"35rem",sizing_1200:"45rem",sizing_1300:"60rem",sizing_1350:"66rem",sizing_1400:"75rem",sizing_1500:"90rem",spacing_0:"0rem",spacing_100:"0.25rem",spacing_200:"0.5rem",spacing_300:"0.75rem",spacing_400:"1rem",spacing_450:"1.25rem",spacing_500:"1.5rem",spacing_550:"1.75rem",spacing_600:"2rem",spacing_650:"2.5rem",spacing_700:"3rem",spacing_750:"3.5rem",spacing_800:"4rem",spacing_850:"6rem",spacing_900:"10rem",transition_duration_75:"75ms",transition_duration_100:"100ms",transition_duration_150:"150ms",transition_duration_200:"200ms",transition_duration_300:"300ms",transition_property_color:"color, background-color, border-color, text-decoration-color, fill, stroke;",transition_property_all:"all",transition_property_opacity:"opacity",transition_property_box_shadow:"box-shadow",transition_property_transform:"transform",transition_timing_function_ease_in:"cubic-bezier(0.4, 0, 1, 1)",transition_timing_function_ease_out:"cubic-bezier(0, 0, 0.2, 1)",transition_timing_function_ease_in_out:"cubic-bezier(0.4, 0, 0.2, 1)"},Bn=I.keyframes`
63
63
  0% {
64
64
  opacity: 0;
65
65
  }
@@ -67,7 +67,7 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
67
67
  100% {
68
68
  opacity: var(--overlay-opacity);
69
69
  }
70
- `,Hn=$t.keyframes`
70
+ `,Wn=I.keyframes`
71
71
  0% {
72
72
  opacity: 0;
73
73
  transform: translate(-50%, -48%) scale(.96);
@@ -77,136 +77,134 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
77
77
  opacity: 1;
78
78
  transform: translate(-50%, -50%) scale(1);
79
79
  }
80
- `,D0=A.default(Ua)`
80
+ `,N0=I(Ba)`
81
81
  --overlay-opacity: 0.8;
82
- background-color: dimgray; // TODO
82
+ background-color: dimgray; /* TODO */
83
83
  opacity: var(--overlay-opacity);
84
84
  position: fixed;
85
85
  inset: 0;
86
86
  z-index: 4;
87
- animation: ${Kn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
88
- `,Gn={small:"360px",medium:"540px",large:"960px"},I0=A.default(Ka)`
89
- background: white;
90
- padding: ${f.sizing_500};
91
- width: ${e=>Gn[e.size||"medium"]};
92
- max-width: 100vw; // think about this
93
- min-width: min(200px, 100%); // ??
87
+ animation: ${Bn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
88
+ `,Un={small:"360px",medium:"540px",large:"960px"},M0=I(Wa)`
89
+ background: ${u.color_white};
90
+ padding: ${u.sizing_500};
91
+ width: ${e=>Un[e.size??"medium"]};
92
+ max-width: 100vw;
93
+ min-width: min(200px, 100%);
94
94
  position: fixed;
95
95
  top: 50%;
96
96
  left: 50%;
97
97
  transform: translate(-50%, -50%);
98
98
  z-index: 5;
99
- box-shadow: ${f.elevation_static_high};
100
- border-radius: ${f.border_radius_400};
101
- animation: ${Hn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
102
- `;function A0({children:e,size:t,...r}){return ce(Wa,{children:[T(D0,{}),T(I0,{size:t,...r,children:e})]})}const N0=A.default(Ha)`
103
- font-family: ${f.font_family_sans};
99
+ box-shadow: ${u.elevation_static_high};
100
+ border-radius: ${u.border_radius_400};
101
+ animation: ${Wn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
102
+ `;function L0({children:e,size:t,...r}){return le(ja,{children:[k(N0,{}),k(M0,{size:t,...r,children:e})]})}const F0=I(Ua)`
103
+ font-family: ${u.font_family_sans};
104
104
  font-style: normal;
105
105
  font-weight: 500;
106
- font-size: ${f.font_size_300};
107
- line-height: ${f.line_height_111};
108
- letter-spacing: ${f.letter_spacing_tighter};
106
+ font-size: ${u.font_size_300};
107
+ line-height: ${u.line_height_111};
108
+ letter-spacing: ${u.letter_spacing_tighter};
109
109
  margin: 0;
110
- margin-bottom: ${f.spacing_200};
111
- `,M0=A.default(Ga)`
112
- font-family: ${f.font_family_sans};
110
+ margin-bottom: ${u.spacing_200};
111
+ color: ${u.color_text_strong};
112
+ `,R0=I(Ka)`
113
+ font-family: ${u.font_family_sans};
113
114
  font-style: normal;
114
115
  font-weight: 400;
115
- font-size: ${f.font_size_100};
116
- line-height: ${f.line_height_129};
116
+ font-size: ${u.font_size_100};
117
+ line-height: ${u.line_height_129};
117
118
  margin: 0;
118
- margin-top: ${f.sizing_200}; /* or flex parent and gap? */
119
- margin-bottom: ${f.sizing_400};
120
- `,L0=A.default.footer`
121
- margin-top: ${f.spacing_400};
119
+ margin-top: ${u.sizing_200}; /* or flex parent and gap? */
120
+ margin-bottom: ${u.sizing_400};
121
+ `,z0=I.footer`
122
+ margin-top: ${u.spacing_400};
122
123
  display: flex;
123
124
  justify-content: end;
124
- gap: ${f.sizing_200};
125
- `,F0=A.default.button`
125
+ gap: ${u.sizing_200};
126
+ `,V0=I.button`
126
127
  all: unset;
127
128
  font-family: inherit;
128
129
  height: 25px;
129
130
  width: 25px;
130
131
  line-height: 0;
131
132
  display: inline-flex;
132
- border-radius: ${f.border_radius_circle};
133
+ border-radius: ${u.border_radius_circle};
133
134
  align-items: center;
134
135
  justify-content: center;
135
- color: ${f.color_fill_primary_enabled};
136
+ color: ${u.color_fill_primary_enabled};
136
137
  position: absolute;
137
138
  top: 16px;
138
139
  right: 12px;
139
140
 
140
- transition-property: ${f.transition_property_color};
141
- transition-duration: ${f.transition_duration_150};
141
+ transition-property: ${u.transition_property_color};
142
+ transition-duration: ${u.transition_duration_150};
142
143
 
143
144
  &:hover {
144
- color: ${f.color_fill_primary_hover};
145
- background-color: hsla(
146
- 0deg,
147
- 0%,
148
- 0%,
149
- 3%
150
- ); /* Interactive / Overlay / Secondary / Hover */
145
+ color: ${u.color_fill_primary_hover};
146
+ background-color: hsl(0deg 0% 0% / 3%); /* Figma says Interactive / Overlay / Secondary / Hover? */
151
147
  }
152
- `,R0=ja,z0=Ba,V0=Un,j0=A.default(P0)`
148
+ `,j0=za,B0=Va,W0=jn,U0=I(T0)`
153
149
  --overlay-opacity: 0.8;
154
- background-color: dimgray; // TODO
150
+ background-color: dimgray; /* TODO */
155
151
  opacity: var(--overlay-opacity);
156
152
  position: fixed;
157
153
  inset: 0;
158
154
  z-index: 4;
159
- animation: ${Kn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
160
- `,B0=A.default(S0)`
161
- background: white;
162
- padding: ${f.sizing_500};
163
- width: ${e=>Gn[e.size||"medium"]};
164
- max-width: 100vw; // think about this
165
- min-width: 200px; // ??
155
+ animation: ${Bn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
156
+ `,K0=I(O0)`
157
+ background: ${u.color_white};
158
+ padding: ${u.sizing_500};
159
+ width: ${e=>Un[e.size??"medium"]};
160
+ max-width: 100vw; /* think about this */
161
+ min-width: 200px; /* ?? */
166
162
  position: fixed;
167
163
  top: 50%;
168
164
  left: 50%;
169
165
  transform: translate(-50%, -50%);
170
166
  z-index: 5;
171
- box-shadow: ${f.elevation_static_high};
172
- border-radius: ${f.border_radius_400};
173
- animation: ${Hn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
174
- `;function W0({children:e,size:t,...r}){return ce(E0,{children:[T(j0,{}),T(B0,{size:t,...r,children:e})]})}const U0=A.default(O0)`
175
- font-family: ${f.font_family_sans}; // todo make design token variable
167
+ box-shadow: ${u.elevation_static_high};
168
+ border-radius: ${u.border_radius_400};
169
+ animation: ${Wn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
170
+ `;function H0({children:e,size:t,...r}){return le(C0,{children:[k(U0,{}),k(K0,{size:t,...r,children:e})]})}const G0=I(I0)`
171
+ font-family: ${u.font_family_sans};
176
172
  font-style: normal;
177
173
  font-weight: 500;
178
- font-size: ${f.font_size_300};
179
- line-height: ${f.line_height_111};
180
- letter-spacing: ${f.letter_spacing_tighter};
174
+ font-size: ${u.font_size_300};
175
+ line-height: ${u.line_height_111};
176
+ letter-spacing: ${u.letter_spacing_tighter};
181
177
  margin: 0;
182
- margin-bottom: ${f.spacing_200};
183
- `,K0=A.default(k0)`
184
- font-family: ${f.font_family_sans};
178
+ margin-bottom: ${u.spacing_200};
179
+ color: ${u.color_text_strong};
180
+ `,q0=I(A0)`
181
+ font-family: ${u.font_family_sans};
185
182
  font-style: normal;
186
183
  font-weight: 400;
187
- font-size: ${f.font_size_100};
188
- line-height: ${f.line_height_129};
184
+ font-size: ${u.font_size_100};
185
+ line-height: ${u.line_height_129};
189
186
  margin: 0;
190
- margin-top: ${f.sizing_200}; /* or flex parent and gap? */
191
- margin-bottom: ${f.sizing_400};
192
- `,H0=A.default.footer`
193
- margin-top: ${f.sizing_400};
187
+ margin-top: ${u.sizing_200}; /* or flex parent and gap? */
188
+ margin-bottom: ${u.sizing_400};
189
+ `,Y0=I.footer`
190
+ margin-top: ${u.sizing_400};
194
191
  display: flex;
195
192
  justify-content: end;
196
- gap: ${f.sizing_200};
197
- `,G0=x0,q0=w0,Y0=C0,X0=T0,Or=l.forwardRef((e,t)=>l.createElement(Q.span,C({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Ya=Or,J0=({children:e,label:t})=>{const r=l.Children.only(e);return l.createElement(l.Fragment,null,l.cloneElement(r,{"aria-hidden":"true",focusable:"false"}),l.createElement(Ya,null,t))};function qt({children:e,label:t}){return T(J0,{label:t,children:e})}function Xa(e,t,r){let[n,o]=l.useState(e||t),i=l.useRef(e!==void 0),a=i.current,s=e!==void 0,c=l.useRef(n);a!==s&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),i.current=s;let u=l.useCallback((d,...p)=>{let b=(h,...v)=>{r&&(Object.is(c.current,h)||r(h,...v)),s||(c.current=h)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((v,...m)=>{let y=d(s?c.current:v,...m);return b(y,...p),s?v:y})):(s||o(d),b(d,...p))},[s,r]);return s?c.current=e:e=n,[e,u]}function Z0(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function pt(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,i=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&i>r&&(i=Math.floor(r/n)*n):i<t?i=t:!isNaN(r)&&i>r&&(i=t+Math.floor((r-t)/n)*n);let a=n.toString(),s=a.indexOf("."),c=s>=0?a.length-s:0;if(c>0){let u=Math.pow(10,c);i=Math.round(i*u)/u}return i}const qn={prefix:String(Math.round(Math.random()*1e10)),current:0},Ja=ie.default.createContext(qn);let Q0=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function eb(e){let t=l.useContext(Ja);return t===qn&&!Q0&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),l.useMemo(()=>e||`react-aria${t.prefix}-${++t.current}`,[e])}function tb(){let t=l.useContext(Ja)!==qn,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Za(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Za(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Qa(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Za(e))&&(n&&(n+=" "),n+=t);return n}const Ct=typeof window<"u"?ie.default.useLayoutEffect:()=>{};function rb(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let i=l.useRef(null);i.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?i.current():r(s.value)},Ct(()=>{o.current&&i.current()});let a=l.useCallback(s=>{o.current=s(n.current),i.current()},[o,i]);return[t,a]}let kr=new Map;function ht(e){let[t,r]=l.useState(e),n=l.useRef(null),o=eb(t),i=l.useCallback(a=>{n.current=a},[]);return kr.set(o,i),Ct(()=>{let a=o;return()=>{kr.delete(a)}},[o]),l.useEffect(()=>{let a=n.current;a&&(n.current=null,r(a))}),o}function nb(e,t){if(e===t)return e;let r=kr.get(e);if(r)return r(t),t;let n=kr.get(t);return n?(n(e),e):t}function es(e=[]){let t=ht(),[r,n]=rb(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ct(o,[t,o,...e]),r}function ts(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function we(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let i=t[o],a=n[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=ts(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=Qa(i,a):o==="id"&&i&&a?t.id=nb(i,a):t[o]=a!==void 0?a:i}}return t}const ob=new Set(["id"]),ib=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ab=/^(data-.*)$/;function Yt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(ob.has(i)||r&&ib.has(i)||(n==null?void 0:n.has(i))||ab.test(i))&&(o[i]=e[i]);return o}function Tt(e){if(sb())e.focus({preventScroll:!0});else{let t=lb(e);e.focus(),cb(t)}}let Dr=null;function sb(){if(Dr==null){Dr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Dr=!0,!0}})}catch{}}return Dr}function lb(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function cb(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let Ot=new Map,Yn=new Set;function rs(){if(typeof window>"u")return;let e=r=>{let n=Ot.get(r.target);n||(n=new Set,Ot.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Ot.get(r.target);if(!!n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Ot.delete(r.target)),Ot.size===0)){for(let o of Yn)o();Yn.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?rs():document.addEventListener("DOMContentLoaded",rs));function ns(e){requestAnimationFrame(()=>{Ot.size===0?e():Yn.add(e)})}function os(){let e=l.useRef(new Map),t=l.useCallback((o,i,a,s)=>{let c=s!=null&&s.once?(...u)=>{e.current.delete(a),a(...u)}:a;e.current.set(a,{type:i,eventTarget:o,fn:c,options:s}),o.addEventListener(i,a,s)},[]),r=l.useCallback((o,i,a,s)=>{var c;let u=((c=e.current.get(a))===null||c===void 0?void 0:c.fn)||a;o.removeEventListener(i,u,s),e.current.delete(a)},[]),n=l.useCallback(()=>{e.current.forEach((o,i)=>{r(o.eventTarget,o.type,i,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function ub(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=ht(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function bt(e){const t=l.useRef();return Ct(()=>{!e||(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function is(e,t){Ct(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function db(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Xn(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 as(){return Xn(/^Mac/i)}function ss(){return Xn(/^iPhone/i)}function fb(){return Xn(/^iPad/i)||as()&&navigator.maxTouchPoints>1}function Jn(){return ss()||fb()}function ls(){return db(/Android/i)}function pb(e,t,r,n){let o=l.useRef(r);o.current=r;let i=r==null;l.useEffect(()=>{if(i)return;let a=e.current,s=c=>o.current.call(this,c);return a.addEventListener(t,s,n),()=>{a.removeEventListener(t,s,n)}},[e,t,n,i])}function Zn(e){return e.mozInputSource===0&&e.isTrusted?!0:ls()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function hb(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let kt="default",eo="",Ir=new WeakMap;function cs(e){Jn()?(kt==="default"&&(eo=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),kt="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Ir.set(e,e.style.userSelect),e.style.userSelect="none")}function Ar(e){if(Jn()){if(kt!=="disabled")return;kt="restoring",setTimeout(()=>{ns(()=>{kt==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=eo||""),eo="",kt="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ir.has(e)){let t=Ir.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Ir.delete(e)}}const us=ie.default.createContext(null);us.displayName="PressResponderContext";function bb(e){let t=l.useContext(us);if(t){let{register:r,...n}=t;e=we(n,e),r()}return is(t,e.ref),e}function to(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:p,...b}=bb(e),h=l.useRef(null);h.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,shouldCancelOnPointerExit:u};let[v,m]=l.useState(!1),y=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:_}=os(),w=l.useMemo(()=>{let g=y.current,D=(S,Y)=>{let{onPressStart:I,onPressChange:P,isDisabled:re}=h.current;re||g.didFirePressStart||(I&&I({type:"pressstart",pointerType:Y,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),P&&P(!0),g.didFirePressStart=!0,m(!0))},M=(S,Y,I=!0)=>{let{onPressEnd:P,onPressChange:re,onPress:Z,isDisabled:fe}=h.current;!g.didFirePressStart||(g.ignoreClickAfterPress=!0,g.didFirePressStart=!1,P&&P({type:"pressend",pointerType:Y,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),re&&re(!1),m(!1),Z&&I&&!fe&&Z({type:"press",pointerType:Y,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}))},O=(S,Y)=>{let{onPressUp:I,isDisabled:P}=h.current;P||I&&I({type:"pressup",pointerType:Y,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey})},N=S=>{g.isPressed&&(g.isOverTarget&&M(Ge(g.target,S),g.pointerType,!1),g.isPressed=!1,g.isOverTarget=!1,g.activePointerId=null,g.pointerType=null,_(),d||Ar(g.target))},F={onKeyDown(S){no(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)?(fs(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),!g.isPressed&&!S.repeat&&(g.target=S.currentTarget,g.isPressed=!0,D(S,"keyboard"),$(document,"keyup",G,!1))):S.key==="Enter"&&ro(S.currentTarget)&&S.stopPropagation()},onKeyUp(S){no(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&O(Ge(g.target,S),"keyboard")},onClick(S){S&&!S.currentTarget.contains(S.target)||S&&S.button===0&&(S.stopPropagation(),a&&S.preventDefault(),!g.ignoreClickAfterPress&&!g.ignoreEmulatedMouseEvents&&(g.pointerType==="virtual"||Zn(S.nativeEvent))&&(!a&&!c&&Tt(S.currentTarget),D(S,"virtual"),O(S,"virtual"),M(S,"virtual")),g.ignoreEmulatedMouseEvents=!1,g.ignoreClickAfterPress=!1)}},G=S=>{if(g.isPressed&&no(S,g.target)){fs(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),g.isPressed=!1;let Y=S.target;M(Ge(g.target,S),"keyboard",g.target.contains(Y)),_(),g.target instanceof HTMLElement&&g.target.contains(Y)&&(ro(g.target)||g.target.getAttribute("role")==="link")&&g.target.click()}};if(typeof PointerEvent<"u"){F.onPointerDown=P=>{if(!(P.button!==0||!P.currentTarget.contains(P.target))){if(hb(P.nativeEvent)){g.pointerType="virtual";return}oo(P.currentTarget)&&P.preventDefault(),g.pointerType=P.pointerType,P.stopPropagation(),g.isPressed||(g.isPressed=!0,g.isOverTarget=!0,g.activePointerId=P.pointerId,g.target=P.currentTarget,!a&&!c&&Tt(P.currentTarget),d||cs(g.target),D(P,g.pointerType),$(document,"pointermove",S,!1),$(document,"pointerup",Y,!1),$(document,"pointercancel",I,!1))}},F.onMouseDown=P=>{!P.currentTarget.contains(P.target)||P.button===0&&(oo(P.currentTarget)&&P.preventDefault(),P.stopPropagation())},F.onPointerUp=P=>{!P.currentTarget.contains(P.target)||g.pointerType==="virtual"||P.button===0&&Dt(P,P.currentTarget)&&O(P,g.pointerType||P.pointerType)};let S=P=>{P.pointerId===g.activePointerId&&(Dt(P,g.target)?g.isOverTarget||(g.isOverTarget=!0,D(Ge(g.target,P),g.pointerType)):g.isOverTarget&&(g.isOverTarget=!1,M(Ge(g.target,P),g.pointerType,!1),h.current.shouldCancelOnPointerExit&&N(P)))},Y=P=>{P.pointerId===g.activePointerId&&g.isPressed&&P.button===0&&(Dt(P,g.target)?M(Ge(g.target,P),g.pointerType):g.isOverTarget&&M(Ge(g.target,P),g.pointerType,!1),g.isPressed=!1,g.isOverTarget=!1,g.activePointerId=null,g.pointerType=null,_(),d||Ar(g.target))},I=P=>{N(P)};F.onDragStart=P=>{!P.currentTarget.contains(P.target)||N(P)}}else{F.onMouseDown=I=>{I.button!==0||!I.currentTarget.contains(I.target)||(oo(I.currentTarget)&&I.preventDefault(),I.stopPropagation(),!g.ignoreEmulatedMouseEvents&&(g.isPressed=!0,g.isOverTarget=!0,g.target=I.currentTarget,g.pointerType=Zn(I.nativeEvent)?"virtual":"mouse",!a&&!c&&Tt(I.currentTarget),D(I,g.pointerType),$(document,"mouseup",S,!1)))},F.onMouseEnter=I=>{!I.currentTarget.contains(I.target)||(I.stopPropagation(),g.isPressed&&!g.ignoreEmulatedMouseEvents&&(g.isOverTarget=!0,D(I,g.pointerType)))},F.onMouseLeave=I=>{!I.currentTarget.contains(I.target)||(I.stopPropagation(),g.isPressed&&!g.ignoreEmulatedMouseEvents&&(g.isOverTarget=!1,M(I,g.pointerType,!1),h.current.shouldCancelOnPointerExit&&N(I)))},F.onMouseUp=I=>{!I.currentTarget.contains(I.target)||!g.ignoreEmulatedMouseEvents&&I.button===0&&O(I,g.pointerType)};let S=I=>{if(I.button===0){if(g.isPressed=!1,_(),g.ignoreEmulatedMouseEvents){g.ignoreEmulatedMouseEvents=!1;return}Dt(I,g.target)?M(Ge(g.target,I),g.pointerType):g.isOverTarget&&M(Ge(g.target,I),g.pointerType,!1),g.isOverTarget=!1}};F.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;I.stopPropagation();let P=mb(I.nativeEvent);!P||(g.activePointerId=P.identifier,g.ignoreEmulatedMouseEvents=!0,g.isOverTarget=!0,g.isPressed=!0,g.target=I.currentTarget,g.pointerType="touch",!a&&!c&&Tt(I.currentTarget),d||cs(g.target),D(I,g.pointerType),$(window,"scroll",Y,!0))},F.onTouchMove=I=>{if(!I.currentTarget.contains(I.target)||(I.stopPropagation(),!g.isPressed))return;let P=ds(I.nativeEvent,g.activePointerId);P&&Dt(P,I.currentTarget)?g.isOverTarget||(g.isOverTarget=!0,D(I,g.pointerType)):g.isOverTarget&&(g.isOverTarget=!1,M(I,g.pointerType,!1),h.current.shouldCancelOnPointerExit&&N(I))},F.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target)||(I.stopPropagation(),!g.isPressed))return;let P=ds(I.nativeEvent,g.activePointerId);P&&Dt(P,I.currentTarget)?(O(I,g.pointerType),M(I,g.pointerType)):g.isOverTarget&&M(I,g.pointerType,!1),g.isPressed=!1,g.activePointerId=null,g.isOverTarget=!1,g.ignoreEmulatedMouseEvents=!0,d||Ar(g.target),_()},F.onTouchCancel=I=>{!I.currentTarget.contains(I.target)||(I.stopPropagation(),g.isPressed&&N(I))};let Y=I=>{g.isPressed&&I.target.contains(g.target)&&N({currentTarget:g.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=I=>{!I.currentTarget.contains(I.target)||N(I)}}return F},[$,a,c,_,d]);return l.useEffect(()=>()=>{d||Ar(y.current.target)},[d]),{isPressed:s||v,pressProps:we(b,w)}}function ro(e){return e.tagName==="A"&&e.hasAttribute("href")}function no(e,t){const{key:r,code:n}=e,o=t,i=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!ps(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!ro(o)||i==="button"&&r!=="Enter")&&!(i==="link"&&r!=="Enter")}function mb(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function ds(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function Ge(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function vb(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function gb(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Dt(e,t){let r=t.getBoundingClientRect(),n=vb(e);return gb(r,n)}function oo(e){return!(e instanceof HTMLElement)||!e.draggable}function fs(e,t){return e instanceof HTMLInputElement?!ps(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const yb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ps(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":yb.has(e.type)}class _b{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function hs(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Ct(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),l.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,o=i=>{var a,s;t.current.isFocused=!1,n.disabled&&((s=(a=t.current).onBlur)===null||s===void 0||s.call(a,new _b("blur",i))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[])}function io(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const i=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),a=hs(i),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),a(c))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:null}}}let It=null,ao=new Set,bs=!1,mt=!1,so=!1;const $b={Tab:!0,Escape:!0};function lo(e,t){for(let r of ao)r(e,t)}function xb(e){return!(e.metaKey||!as()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ms(e){mt=!0,xb(e)&&(It="keyboard",lo("keyboard",e))}function At(e){It="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(mt=!0,lo("pointer",e))}function wb(e){Zn(e)&&(mt=!0,It="virtual")}function Eb(e){e.target===window||e.target===document||(!mt&&!so&&(It="virtual",lo("virtual",e)),mt=!1,so=!1)}function Pb(){mt=!1,so=!0}function co(){if(typeof window>"u"||bs)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){mt=!0,e.apply(this,arguments)},document.addEventListener("keydown",ms,!0),document.addEventListener("keyup",ms,!0),document.addEventListener("click",wb,!0),window.addEventListener("focus",Eb,!0),window.addEventListener("blur",Pb,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",At,!0),document.addEventListener("pointermove",At,!0),document.addEventListener("pointerup",At,!0)):(document.addEventListener("mousedown",At,!0),document.addEventListener("mousemove",At,!0),document.addEventListener("mouseup",At,!0)),bs=!0}typeof document<"u"&&(document.readyState!=="loading"?co():document.addEventListener("DOMContentLoaded",co));function vs(){return It!=="pointer"}function Sb(){return It}function Cb(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!$b[r.key])}function Tb(e,t,r){co(),l.useEffect(()=>{let n=(o,i)=>{!Cb(r==null?void 0:r.isTextInput,o,i)||e(vs())};return ao.add(n),()=>{ao.delete(n)}},t)}function gs(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=l.useRef({isFocusWithin:!1}),a=l.useCallback(u=>{i.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(i.current.isFocusWithin=!1,r&&r(u),o&&o(!1))},[r,o,i]),s=hs(a),c=l.useCallback(u=>{i.current.isFocusWithin||(n&&n(u),o&&o(!0),i.current.isFocusWithin=!0,s(u))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:a}}}function ys(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function Ob(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ys(e.onKeyDown),onKeyUp:ys(e.onKeyUp)}}}function kb(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(i=>{i.ctrlKey||(i.preventDefault(),i.stopPropagation(),r&&r({deltaX:i.deltaX,deltaY:i.deltaY}))},[r]);pb(t,"wheel",n?null:o)}function Db(e){if(Sb()==="virtual"){let t=document.activeElement;ns(()=>{document.activeElement===t&&document.contains(e)&&Tt(e)})}else Tt(e)}function Ib(e,t){return t.some(r=>r.contains(e))}class uo{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r!=null?r:null),i=new _s({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef.current&&Ib(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.length>0&&o.forEach(i=>n.addChild(i)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.length>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new uo;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){Qn(this,"fastMap",new Map),this.root=new _s({scopeRef:null}),this.fastMap.set(null,this.root)}}class _s{addChild(t){this.children.push(t),t.parent=this}removeChild(t){this.children.splice(this.children.indexOf(t),1),t.parent=void 0}constructor(t){Qn(this,"children",[]),Qn(this,"contain",!1),this.scopeRef=t.scopeRef}}new uo;function Nr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||vs()}),[i,a]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),d=l.useCallback(h=>{o.current.isFocused=h,a(h),u()},[u]);Tb(h=>{o.current.isFocusVisible=h,u()},[],{isTextInput:r});let{focusProps:p}=io({isDisabled:n,onFocusChange:d}),{focusWithinProps:b}=gs({isDisabled:!n,onFocusWithinChange:d});return{isFocused:i,isFocusVisible:o.current.isFocused&&s,focusProps:n?b:p}}let Ab=ie.default.createContext(null);function Nb(e){let t=l.useContext(Ab)||{};is(t,e);let{ref:r,...n}=t;return n}function fo(e,t){let{focusProps:r}=io(e),{keyboardProps:n}=Ob(e),o=we(r,n),i=Nb(t),a=e.isDisabled?{}:i,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&Db(t.current),s.current=!1},[t]),{focusableProps:we({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}function Mb(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:i,onClick:a,isDisabled:s,...c}=e,u;r!=="a"&&(u={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=fo(e,t),{pressProps:p,isPressed:b}=to({onPress:n,onPressStart:o,onPressEnd:i,isDisabled:s,ref:t}),h=Yt(c,{labelable:!0}),v=we(d,p);return{isPressed:b,linkProps:we(h,{...v,...u,"aria-disabled":s||void 0,onClick:m=>{p.onClick(m),a&&(a(m),console.warn("onClick is deprecated, please use onPress"))}})}}class Lb{getStringForLocale(t,r){let n=this.strings[r];n||(n=Fb(r,this.strings,this.defaultLocale),this.strings[r]=n);let o=n[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function Fb(e,t,r="en-US"){if(t[e])return t[e];let n=Rb(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function Rb(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const $s=new Map,xs=new Map;class zb{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let i=this.locale+":"+n,a=$s.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),$s.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=xs.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),xs.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}let po=new Map,ho=!1;try{ho=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Mr=!1;try{Mr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const ws={degree:{narrow:{default:"\xB0","ja-JP":" \u5EA6","zh-TW":"\u5EA6","sl-SI":" \xB0"}}};class bo{format(t){let r="";if(!ho&&this.options.signDisplay!=null?r=jb(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Mr){var n;let{unit:o,unitDisplay:i="short",locale:a}=this.resolvedOptions(),s=(n=ws[o])===null||n===void 0?void 0:n[i];r+=s[a]||s.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} \u2013 ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(i=>({...i,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...o.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!ho&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Mr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Vb(t,r),this.options=r}}function Vb(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Mr){var n;let{unit:a,unitDisplay:s="short"}=t;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=ws[a])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((a,s)=>a[0]<s[0]?-1:1).join():"");if(po.has(o))return po.get(o);let i=new Intl.NumberFormat(e,t);return po.set(o,i),i}function jb(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),i=e.format(r),a=o.replace(i,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(i,"!!!").replace(a,"+").replace("!!!",i)}else return e.format(r)}}const Bb=new RegExp("^.*\\(.*\\).*$"),Wb=["latn","arab","hanidec"];class Ub{parse(t){return mo(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return mo(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return mo(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Es=new Map;function mo(e,t,r){let n=Ps(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of Wb)if(o!==n.options.numberingSystem){let i=Ps(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(r))return i}}return n}function Ps(e,t){let r=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),n=Es.get(r);return n||(n=new Kb(e,t),Es.set(r,n)),n}class Kb{parse(t){let r=this.sanitize(t);r=Lr(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&Bb.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=Lr(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Lr(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),t.startsWith(this.symbols.group)?!1:(t=Lr(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Hb(this.formatter,this.options,r)}}const Ss=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function Hb(e,t,r){var n,o,i,a;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),u=e.formatToParts(1);var d;let p=(d=(n=s.find(O=>O.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&d!==void 0?d:"-",b=(o=c.find(O=>O.type==="plusSign"))===null||o===void 0?void 0:o.value;!b&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(b="+");let h=(i=s.find(O=>O.type==="decimal"))===null||i===void 0?void 0:i.value,v=(a=s.find(O=>O.type==="group"))===null||a===void 0?void 0:a.value,m=s.filter(O=>!Ss.has(O.type)).map(O=>Cs(O.value)),y=u.filter(O=>!Ss.has(O.type)).map(O=>Cs(O.value)),$=[...new Set([...y,...m])].sort((O,N)=>N.length-O.length),_=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),w=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),g=new Map(w.map((O,N)=>[O,N])),D=new RegExp(`[${w.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:h,group:v,literals:_,numeral:D,index:O=>String(g.get(O))}}function Lr(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Cs(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const Gb=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),qb=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Yb(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return Gb.has(r)}let t=e.split("-")[0];return qb.has(t)}function Ts(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Yb(e)?"rtl":"ltr"}}let vo=Ts(),Xt=new Set;function Os(){vo=Ts();for(let e of Xt)e(vo)}function Xb(){let e=tb(),[t,r]=l.useState(vo);return l.useEffect(()=>(Xt.size===0&&window.addEventListener("languagechange",Os),Xt.add(r),()=>{Xt.delete(r),Xt.size===0&&window.removeEventListener("languagechange",Os)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Jb=ie.default.createContext(null);function ks(){let e=Xb();return l.useContext(Jb)||e}const Ds=new WeakMap;function Zb(e){let t=Ds.get(e);return t||(t=new Lb(e),Ds.set(e,t)),t}function Fr(e){let{locale:t}=ks(),r=l.useMemo(()=>Zb(e),[e]);return l.useMemo(()=>new zb(t,r),[t,r])}function Qb(e={}){let{locale:t}=ks();return l.useMemo(()=>new bo(t,e),[t,e])}function em(e){return e&&e.__esModule?e.default:e}function tm(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:i="a",...a}=e,{linkProps:s}=Mb({isDisabled:n||r,elementType:i,...a},t),c=/^h[1-6]$/.test(i),u={};return c||(u=s),r&&(u["aria-current"]=o||"page",u.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...u}}}var Is={},As={};As={breadcrumbs:"\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0648\u0627\u062C\u0647\u0629"};var Ns={};Ns={breadcrumbs:"\u0422\u0440\u043E\u0445\u0438 \u0445\u043B\u044F\u0431"};var Ms={};Ms={breadcrumbs:"Popis cesty"};var Ls={};Ls={breadcrumbs:"Br\xF8dkrummer"};var Fs={};Fs={breadcrumbs:"Breadcrumbs"};var Rs={};Rs={breadcrumbs:"\u03A0\u03BB\u03BF\u03B7\u03B3\u03AE\u03C3\u03B5\u03B9\u03C2 breadcrumb"};var zs={};zs={breadcrumbs:"Breadcrumbs"};var Vs={};Vs={breadcrumbs:"Migas de pan"};var js={};js={breadcrumbs:"Lingiread"};var Bs={};Bs={breadcrumbs:"Navigointilinkit"};var Ws={};Ws={breadcrumbs:"Chemin de navigation"};var Us={};Us={breadcrumbs:"\u05E9\u05D1\u05D9\u05DC\u05D9 \u05E0\u05D9\u05D5\u05D5\u05D8"};var Ks={};Ks={breadcrumbs:"Navigacijski putovi"};var Hs={};Hs={breadcrumbs:"Morzsamen\xFC"};var Gs={};Gs={breadcrumbs:"Breadcrumb"};var qs={};qs={breadcrumbs:"\u30D1\u30F3\u304F\u305A\u30EA\u30B9\u30C8"};var Ys={};Ys={breadcrumbs:"\uD0D0\uC0C9 \uD45C\uC2DC"};var Xs={};Xs={breadcrumbs:"Nar\u0161ymo kelias"};var Js={};Js={breadcrumbs:"Atpaka\u013Cce\u013Ci"};var Zs={};Zs={breadcrumbs:"Navigasjonsstier"};var Qs={};Qs={breadcrumbs:"Broodkruimels"};var el={};el={breadcrumbs:"Struktura nawigacyjna"};var tl={};tl={breadcrumbs:"Caminho detalhado"};var rl={};rl={breadcrumbs:"Categorias"};var nl={};nl={breadcrumbs:"Miez de p\xE2ine"};var ol={};ol={breadcrumbs:"\u041D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F"};var il={};il={breadcrumbs:"Naviga\u010Dn\xE9 prvky Breadcrumbs"};var al={};al={breadcrumbs:"Drobtine"};var sl={};sl={breadcrumbs:"Putanje navigacije"};var ll={};ll={breadcrumbs:"S\xF6kv\xE4gar"};var cl={};cl={breadcrumbs:"\u0130\xE7erik haritalar\u0131"};var ul={};ul={breadcrumbs:"\u041D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u0439\u043D\u0430 \u0441\u0442\u0435\u0436\u043A\u0430"};var dl={};dl={breadcrumbs:"\u5BFC\u822A\u680F"};var fl={};fl={breadcrumbs:"\u5C0E\u89BD\u5217"},Is={"ar-AE":As,"bg-BG":Ns,"cs-CZ":Ms,"da-DK":Ls,"de-DE":Fs,"el-GR":Rs,"en-US":zs,"es-ES":Vs,"et-EE":js,"fi-FI":Bs,"fr-FR":Ws,"he-IL":Us,"hr-HR":Ks,"hu-HU":Hs,"it-IT":Gs,"ja-JP":qs,"ko-KR":Ys,"lt-LT":Xs,"lv-LV":Js,"nb-NO":Zs,"nl-NL":Qs,"pl-PL":el,"pt-BR":tl,"pt-PT":rl,"ro-RO":nl,"ru-RU":ol,"sk-SK":il,"sl-SI":al,"sr-SP":sl,"sv-SE":ll,"tr-TR":cl,"uk-UA":ul,"zh-CN":dl,"zh-TW":fl};function rm(e){let{"aria-label":t,...r}=e,n=Fr(em(Is));return{navProps:{...Yt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function Nt(e){return e.split("-")[0]}function Rr(e){return e.split("-")[1]}function Mt(e){return["top","bottom"].includes(Nt(e))?"x":"y"}function go(e){return e==="y"?"height":"width"}function pl(e,t,r){let{reference:n,floating:o}=e;const i=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,s=Mt(t),c=go(s),u=n[c]/2-o[c]/2,d=Nt(t),p=s==="x";let b;switch(d){case"top":b={x:i,y:n.y-o.height};break;case"bottom":b={x:i,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:a};break;case"left":b={x:n.x-o.width,y:a};break;default:b={x:n.x,y:n.y}}switch(Rr(t)){case"start":b[s]-=u*(r&&p?-1:1);break;case"end":b[s]+=u*(r&&p?-1:1);break}return b}const nm=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=await(a.isRTL==null?void 0:a.isRTL(t));if(process.env.NODE_ENV!=="production"&&(a==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),i.filter(v=>{let{name:m}=v;return m==="autoPlacement"||m==="flip"}).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=pl(c,n,s),p=n,b={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:y}=i[v],{x:$,y:_,data:w,reset:g}=await y({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:c,platform:a,elements:{reference:e,floating:t}});if(u=$!=null?$:u,d=_!=null?_:d,b={...b,[m]:{...b[m],...w}},process.env.NODE_ENV!=="production"&&h>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),g&&h<=50){h++,typeof g=="object"&&(g.placement&&(p=g.placement),g.rects&&(c=g.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):g.rects),{x:u,y:d}=pl(c,p,s)),v=-1;continue}}return{x:u,y:d,placement:p,strategy:o,middlewareData:b}};function om(e){return{top:0,right:0,bottom:0,left:0,...e}}function hl(e){return typeof e!="number"?om(e):{top:e,right:e,bottom:e,left:e}}function zr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Vr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:b=!1,padding:h=0}=t,v=hl(h),y=s[b?p==="floating"?"reference":"floating":p],$=zr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(y)))==null||r?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:c})),_=zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...a.floating,x:n,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:c}):a[p]);return{top:$.top-_.top+v.top,bottom:_.bottom-$.bottom+v.bottom,left:$.left-_.left+v.left,right:_.right-$.right+v.right}}const im=Math.min,am=Math.max;function yo(e,t,r){return am(e,im(t,r))}const bl=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:c}=t;if(r==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const u=hl(n),d={x:o,y:i},p=Mt(a),b=Rr(a),h=go(p),v=await c.getDimensions(r),m=p==="y"?"top":"left",y=p==="y"?"bottom":"right",$=s.reference[h]+s.reference[p]-d[p]-s.floating[h],_=d[p]-s.reference[p],w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let g=w?p==="y"?w.clientHeight||0:w.clientWidth||0:0;g===0&&(g=s.floating[h]);const D=$/2-_/2,M=u[m],O=g-v[h]-u[y],N=g/2-v[h]/2+D,F=yo(M,N,O),Y=(b==="start"?u[m]:u[y])>0&&N!==F&&s.reference[h]<=s.floating[h]?N<M?M-N:O-N:0;return{[p]:d[p]-Y,data:{[p]:F,centerOffset:N-F}}}}),sm={left:"right",right:"left",bottom:"top",top:"bottom"};function jr(e){return e.replace(/left|right|bottom|top/g,t=>sm[t])}function lm(e,t,r){r===void 0&&(r=!1);const n=Rr(e),o=Mt(e),i=go(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=jr(a)),{main:a,cross:jr(a)}}const cm={start:"end",end:"start"};function ml(e){return e.replace(/start|end/g,t=>cm[t])}const um=["top","right","bottom","left"];function dm(e){const t=jr(e);return[ml(e),t,ml(t)]}const fm=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",flipAlignment:h=!0,...v}=e,m=Nt(n),$=p||(m===a||!h?[jr(a)]:dm(a)),_=[a,...$],w=await Vr(t,v),g=[];let D=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&g.push(w[m]),d){const{main:F,cross:G}=lm(n,i,await(s.isRTL==null?void 0:s.isRTL(c.floating)));g.push(w[F],w[G])}if(D=[...D,{placement:n,overflows:g}],!g.every(F=>F<=0)){var M,O;const F=((M=(O=o.flip)==null?void 0:O.index)!=null?M:0)+1,G=_[F];if(G)return{data:{index:F,overflows:D},reset:{placement:G}};let S="bottom";switch(b){case"bestFit":{var N;const Y=(N=D.map(I=>[I,I.overflows.filter(P=>P>0).reduce((P,re)=>P+re,0)]).sort((I,P)=>I[1]-P[1])[0])==null?void 0:N[0].placement;Y&&(S=Y);break}case"initialPlacement":S=a;break}if(n!==S)return{reset:{placement:S}}}return{}}}};function vl(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gl(e){return um.some(t=>e[t]>=0)}const pm=function(e){let{strategy:t="referenceHidden",...r}=e===void 0?{}:e;return{name:"hide",async fn(n){const{rects:o}=n;switch(t){case"referenceHidden":{const i=await Vr(n,{...r,elementContext:"reference"}),a=vl(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:gl(a)}}}case"escaped":{const i=await Vr(n,{...r,altBoundary:!0}),a=vl(i,o.floating);return{data:{escapedOffsets:a,escaped:gl(a)}}}default:return{}}}}};async function hm(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=Nt(r),s=Rr(r),c=Mt(r)==="x",u=["left","top"].includes(a)?-1:1,d=i&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:b,crossAxis:h,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),c?{x:h*d,y:b*u}:{x:b*u,y:h*d}}const bm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await hm(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function yl(e){return e==="x"?"y":"x"}const mm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:y=>{let{x:$,y:_}=y;return{x:$,y:_}}},...c}=e,u={x:r,y:n},d=await Vr(t,c),p=Mt(Nt(o)),b=yl(p);let h=u[p],v=u[b];if(i){const y=p==="y"?"top":"left",$=p==="y"?"bottom":"right",_=h+d[y],w=h-d[$];h=yo(_,h,w)}if(a){const y=b==="y"?"top":"left",$=b==="y"?"bottom":"right",_=v+d[y],w=v-d[$];v=yo(_,v,w)}const m=s.fn({...t,[p]:h,[b]:v});return{...m,data:{x:m.x-r,y:m.y-n}}}}},vm=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=e,d={x:r,y:n},p=Mt(o),b=yl(p);let h=d[p],v=d[b];const m=typeof s=="function"?s({...i,placement:o}):s,y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const D=p==="y"?"height":"width",M=i.reference[p]-i.floating[D]+y.mainAxis,O=i.reference[p]+i.reference[D]-y.mainAxis;h<M?h=M:h>O&&(h=O)}if(u){var $,_,w,g;const D=p==="y"?"width":"height",M=["top","left"].includes(Nt(o)),O=i.reference[b]-i.floating[D]+(M&&($=(_=a.offset)==null?void 0:_[b])!=null?$:0)+(M?0:y.crossAxis),N=i.reference[b]+i.reference[D]+(M?0:(w=(g=a.offset)==null?void 0:g[b])!=null?w:0)-(M?y.crossAxis:0);v<O?v=O:v>N&&(v=N)}return{[p]:h,[b]:v}}}};function _l(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function qe(e){if(e==null)return window;if(!_l(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Jt(e){return qe(e).getComputedStyle(e)}function Ye(e){return _l(e)?"":e?(e.nodeName||"").toLowerCase():""}function $l(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Fe(e){return e instanceof qe(e).HTMLElement}function Qe(e){return e instanceof qe(e).Element}function gm(e){return e instanceof qe(e).Node}function _o(e){if(typeof ShadowRoot>"u")return!1;const t=qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Br(e){const{overflow:t,overflowX:r,overflowY:n}=Jt(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function ym(e){return["table","td","th"].includes(Ye(e))}function xl(e){const t=/firefox/i.test($l()),r=Jt(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&(r.filter?r.filter!=="none":!1)}function wl(){return!/^((?!chrome|android).)*safari/i.test($l())}const El=Math.min,Zt=Math.max,Wr=Math.round;function Xe(e,t,r){var n,o,i,a;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,u=1;t&&Fe(e)&&(c=e.offsetWidth>0&&Wr(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Wr(s.height)/e.offsetHeight||1);const d=Qe(e)?qe(e):window,p=!wl()&&r,b=(s.left+(p&&(n=(o=d.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,h=(s.top+(p&&(i=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/c,m=s.height/u;return{width:v,height:m,top:h,right:b+v,bottom:h+m,left:b,x:b,y:h}}function et(e){return((gm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ur(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pl(e){return Xe(et(e)).left+Ur(e).scrollLeft}function _m(e){const t=Xe(e);return Wr(t.width)!==e.offsetWidth||Wr(t.height)!==e.offsetHeight}function $m(e,t,r){const n=Fe(t),o=et(t),i=Xe(e,n&&_m(t),r==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((Ye(t)!=="body"||Br(o))&&(a=Ur(t)),Fe(t)){const c=Xe(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=Pl(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function Sl(e){return Ye(e)==="html"?e:e.assignedSlot||e.parentNode||(_o(e)?e.host:null)||et(e)}function Cl(e){return!Fe(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function xm(e){let t=Sl(e);for(_o(t)&&(t=t.host);Fe(t)&&!["html","body"].includes(Ye(t));){if(xl(t))return t;t=t.parentNode}return null}function $o(e){const t=qe(e);let r=Cl(e);for(;r&&ym(r)&&getComputedStyle(r).position==="static";)r=Cl(r);return r&&(Ye(r)==="html"||Ye(r)==="body"&&getComputedStyle(r).position==="static"&&!xl(r))?t:r||xm(e)||t}function Tl(e){if(Fe(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Xe(e);return{width:t.width,height:t.height}}function wm(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Fe(r),i=et(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((Ye(r)!=="body"||Br(i))&&(a=Ur(r)),Fe(r))){const c=Xe(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function Em(e,t){const r=qe(e),n=et(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const u=wl();(u||!u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}function Pm(e){var t;const r=et(e),n=Ur(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Zt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Zt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+Pl(e);const c=-n.scrollTop;return Jt(o||r).direction==="rtl"&&(s+=Zt(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Ol(e){const t=Sl(e);return["html","body","#document"].includes(Ye(t))?e.ownerDocument.body:Fe(t)&&Br(t)?t:Ol(t)}function Kr(e,t){var r;t===void 0&&(t=[]);const n=Ol(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=qe(n),a=o?[i].concat(i.visualViewport||[],Br(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Kr(a))}function Sm(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&_o(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function Cm(e,t){const r=Xe(e,!1,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function kl(e,t,r){return t==="viewport"?zr(Em(e,r)):Qe(t)?Cm(t,r):zr(Pm(et(e)))}function Tm(e){const t=Kr(e),n=["absolute","fixed"].includes(Jt(e).position)&&Fe(e)?$o(e):e;return Qe(n)?t.filter(o=>Qe(o)&&Sm(o,n)&&Ye(o)!=="body"):[]}function Om(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?Tm(t):[].concat(r),n],s=a[0],c=a.reduce((u,d)=>{const p=kl(t,d,o);return u.top=Zt(p.top,u.top),u.right=El(p.right,u.right),u.bottom=El(p.bottom,u.bottom),u.left=Zt(p.left,u.left),u},kl(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const km={getClippingRect:Om,convertOffsetParentRelativeRectToViewportRelativeRect:wm,isElement:Qe,getDimensions:Tl,getOffsetParent:$o,getDocumentElement:et,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:$m(t,$o(r),n),floating:{...Tl(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Jt(e).direction==="rtl"};function Dm(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=n,c=o&&!s,u=i&&!s,d=c||u?[...Qe(e)?Kr(e):[],...Kr(t)]:[];d.forEach(m=>{c&&m.addEventListener("scroll",r,{passive:!0}),u&&m.addEventListener("resize",r)});let p=null;if(a){let m=!0;p=new ResizeObserver(()=>{m||r(),m=!1}),Qe(e)&&!s&&p.observe(e),p.observe(t)}let b,h=s?Xe(e):null;s&&v();function v(){const m=Xe(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&r(),h=m,b=requestAnimationFrame(v)}return r(),()=>{var m;d.forEach(y=>{c&&y.removeEventListener("scroll",r),u&&y.removeEventListener("resize",r)}),(m=p)==null||m.disconnect(),p=null,s&&cancelAnimationFrame(b)}}const Im=(e,t,r)=>nm(e,t,{platform:km,...r});var xo=typeof document<"u"?l.useLayoutEffect:l.useEffect;function wo(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!wo(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!wo(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Am(e){const t=H.useRef(e);return xo(()=>{t.current=e}),t}function Nm(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=H.useRef(null),a=H.useRef(null),s=Am(o),c=H.useRef(null),[u,d]=H.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,b]=H.useState(t);wo(p==null?void 0:p.map(w=>{let{options:g}=w;return g}),t==null?void 0:t.map(w=>{let{options:g}=w;return g}))||b(t);const h=H.useCallback(()=>{!i.current||!a.current||Im(i.current,a.current,{middleware:p,placement:r,strategy:n}).then(w=>{v.current&&sa.flushSync(()=>{d(w)})})},[p,r,n]);xo(()=>{v.current&&h()},[h]);const v=H.useRef(!1);xo(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=H.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),i.current&&a.current)if(s.current){const w=s.current(i.current,a.current,h);c.current=w}else h()},[h,s]),y=H.useCallback(w=>{i.current=w,m()},[m]),$=H.useCallback(w=>{a.current=w,m()},[m]),_=H.useMemo(()=>({reference:i,floating:a}),[]);return H.useMemo(()=>({...u,update:h,refs:_,reference:y,floating:$}),[u,h,_,y,$])}const Mm=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?bl({element:t.current,padding:r}).fn(o):{}:t?bl({element:t,padding:r}).fn(o):{}}}},Lm=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...i}=e;return l.createElement(Q.svg,C({},i,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Hr(e){const[t,r]=l.useState(void 0);return $e(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const Dl="Popper",[Eo,Gr]=Se(Dl),[Fm,Il]=Eo(Dl),Rm=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(Fm,{scope:t,anchor:n,onAnchorChange:o},r)},zm="PopperAnchor",Vm=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,i=Il(zm,r),a=l.useRef(null),s=le(t,a);return l.useEffect(()=>{i.onAnchorChange((n==null?void 0:n.current)||a.current)}),n?null:l.createElement(Q.div,C({},o,{ref:s}))}),qr="PopperContent",[jm,Bm]=Eo(qr),[Wm,Um]=Eo(qr,{hasParent:!1,positionUpdateFns:new Set}),Km=l.forwardRef((e,t)=>{var r,n,o,i,a,s,c,u;const{__scopePopper:d,side:p="bottom",sideOffset:b=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:y=[],collisionPadding:$=0,sticky:_="partial",hideWhenDetached:w=!1,avoidCollisions:g=!0,...D}=e,M=Il(qr,d),[O,N]=l.useState(null),F=le(t,Ne=>N(Ne)),[G,S]=l.useState(null),Y=Hr(G),I=(r=Y==null?void 0:Y.width)!==null&&r!==void 0?r:0,P=(n=Y==null?void 0:Y.height)!==null&&n!==void 0?n:0,re=p+(h!=="center"?"-"+h:""),Z=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},fe=Array.isArray(y)?y:[y],ve=fe.length>0,ee={padding:Z,boundary:fe.filter(Xm),altBoundary:ve},{reference:E,floating:L,strategy:B,x:j,y:V,placement:U,middlewareData:q,update:X}=Nm({strategy:"fixed",placement:re,whileElementsMounted:Dm,middleware:[bm({mainAxis:b+P,alignmentAxis:v}),g?mm({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?vm():void 0,...ee}):void 0,G?Mm({element:G,padding:m}):void 0,g?fm({...ee}):void 0,Jm({arrowWidth:I,arrowHeight:P}),w?pm({strategy:"referenceHidden"}):void 0].filter(Ym)});$e(()=>{E(M.anchor)},[E,M.anchor]);const J=j!==null&&V!==null,[oe,ne]=Al(U),ge=(o=q.arrow)===null||o===void 0?void 0:o.x,me=(i=q.arrow)===null||i===void 0?void 0:i.y,Ee=((a=q.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Ve,ke]=l.useState();$e(()=>{O&&ke(window.getComputedStyle(O).zIndex)},[O]);const{hasParent:je,positionUpdateFns:ye}=Um(qr,d),_e=!je;l.useLayoutEffect(()=>{if(!_e)return ye.add(X),()=>{ye.delete(X)}},[_e,ye,X]),l.useLayoutEffect(()=>{_e&&J&&Array.from(ye).reverse().forEach(Ne=>requestAnimationFrame(Ne))},[_e,J,ye]);const Ae={"data-side":oe,"data-align":ne,...D,ref:F,style:{...D.style,animation:J?void 0:"none",opacity:(s=q.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:B,left:0,top:0,transform:J?`translate3d(${Math.round(j)}px, ${Math.round(V)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ve,["--radix-popper-transform-origin"]:[(c=q.transformOrigin)===null||c===void 0?void 0:c.x,(u=q.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},l.createElement(jm,{scope:d,placedSide:oe,onArrowChange:S,arrowX:ge,arrowY:me,shouldHideArrow:Ee},_e?l.createElement(Wm,{scope:d,hasParent:!0,positionUpdateFns:ye},l.createElement(Q.div,Ae)):l.createElement(Q.div,Ae)))}),Hm="PopperArrow",Gm={top:"bottom",right:"left",bottom:"top",left:"right"},qm=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,i=Bm(Hm,n),a=Gm[i.placedSide];return l.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},l.createElement(Lm,C({},o,{ref:r,style:{...o.style,display:"block"}})))});function Ym(e){return e!==void 0}function Xm(e){return e!==null}const Jm=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;const{placement:s,rects:c,middlewareData:u}=t,p=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,b=p?0:e.arrowWidth,h=p?0:e.arrowHeight,[v,m]=Al(s),y={start:"0%",center:"50%",end:"100%"}[m],$=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+b/2,_=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+h/2;let w="",g="";return v==="bottom"?(w=p?y:`${$}px`,g=`${-h}px`):v==="top"?(w=p?y:`${$}px`,g=`${c.floating.height+h}px`):v==="right"?(w=`${-h}px`,g=p?y:`${_}px`):v==="left"&&(w=`${c.floating.width+h}px`,g=p?y:`${_}px`),{data:{x:w,y:g}}}});function Al(e){const[t,r="center"]=e.split("-");return[t,r]}const Nl=Rm,Ml=Vm,Ll=Km,Fl=qm,Rl="Popover",[zl,EE]=Se(Rl,[Gr]),Yr=Gr(),[Zm,vt]=zl(Rl),Qm=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Yr(t),c=l.useRef(null),[u,d]=l.useState(!1),[p=!1,b]=Me({prop:n,defaultProp:o,onChange:i});return l.createElement(Nl,s,l.createElement(Zm,{scope:t,contentId:Ke(),triggerRef:c,open:p,onOpenChange:b,onOpenToggle:l.useCallback(()=>b(h=>!h),[b]),hasCustomAnchor:u,onCustomAnchorAdd:l.useCallback(()=>d(!0),[]),onCustomAnchorRemove:l.useCallback(()=>d(!1),[]),modal:a},r))},ev="PopoverTrigger",tv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=vt(ev,r),i=Yr(r),a=le(t,o.triggerRef),s=l.createElement(Q.button,C({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Wl(o.open)},n,{ref:a,onClick:K(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(Ml,C({asChild:!0},i),s)}),Vl="PopoverPortal",[rv,nv]=zl(Vl,{forceMount:void 0}),ov=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=vt(Vl,t);return l.createElement(rv,{scope:t,forceMount:r},l.createElement(De,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},n)))},Qt="PopoverContent",jl=l.forwardRef((e,t)=>{const r=nv(Qt,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=vt(Qt,e.__scopePopover);return l.createElement(De,{present:n||i.open},i.modal?l.createElement(iv,C({},o,{ref:t})):l.createElement(av,C({},o,{ref:t})))}),iv=l.forwardRef((e,t)=>{const r=vt(Qt,e.__scopePopover),n=l.useRef(null),o=le(t,n),i=l.useRef(!1);return l.useEffect(()=>{const a=n.current;if(a)return jn(a)},[]),l.createElement(zn,{as:dt,allowPinchZoom:!0},l.createElement(Bl,C({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:K(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:K(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,u=s.button===2||c;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:K(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),av=l.forwardRef((e,t)=>{const r=vt(Qt,e.__scopePopover),n=l.useRef(!1);return l.createElement(Bl,C({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),Bl=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:d,...p}=e,b=vt(Qt,r),h=Yr(r);return An(),l.createElement(Dn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Ht,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>b.onOpenChange(!1)},l.createElement(Ll,C({"data-state":Wl(b.open),role:"dialog",id:b.contentId},h,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),sv="PopoverClose",lv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=vt(sv,r);return l.createElement(Q.button,C({type:"button"},n,{ref:t,onClick:K(e.onClick,()=>o.onOpenChange(!1))}))}),cv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Yr(r);return l.createElement(Fl,C({},o,n,{ref:t}))});function Wl(e){return e?"open":"closed"}const uv=Qm,dv=tv,fv=ov,pv=jl,hv=lv,bv=cv,mv=A.default(pv)`
198
- border-radius: ${f.border_radius_400};
199
- padding: 8px;
193
+ gap: ${u.sizing_200};
194
+ `,X0=P0,J0=S0,Z0=k0,Q0=D0,Cr=l.forwardRef((e,t)=>l.createElement(te.span,C({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Ga=Cr,em=({children:e,label:t})=>{const r=l.Children.only(e);return l.createElement(l.Fragment,null,l.cloneElement(r,{"aria-hidden":"true",focusable:"false"}),l.createElement(Ga,null,t))};function qt({children:e,label:t}){return k(em,{label:t,children:e})}function Ct(e){return e.split("-")[0]}function Tr(e){return e.split("-")[1]}function Tt(e){return["top","bottom"].includes(Ct(e))?"x":"y"}function Kn(e){return e==="y"?"height":"width"}function qa(e,t,r){let{reference:n,floating:o}=e;const i=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,s=Tt(t),c=Kn(s),d=n[c]/2-o[c]/2,f=Ct(t),p=s==="x";let b;switch(f){case"top":b={x:i,y:n.y-o.height};break;case"bottom":b={x:i,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:a};break;case"left":b={x:n.x-o.width,y:a};break;default:b={x:n.x,y:n.y}}switch(Tr(t)){case"start":b[s]-=d*(r&&p?-1:1);break;case"end":b[s]+=d*(r&&p?-1:1);break}return b}const tm=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=await(a.isRTL==null?void 0:a.isRTL(t));if(process.env.NODE_ENV!=="production"&&(a==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),i.filter(g=>{let{name:m}=g;return m==="autoPlacement"||m==="flip"}).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=qa(c,n,s),p=n,b={},h=0;for(let g=0;g<i.length;g++){const{name:m,fn:_}=i[g],{x:$,y,data:E,reset:v}=await _({x:d,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:c,platform:a,elements:{reference:e,floating:t}});if(d=$??d,f=y??f,b={...b,[m]:{...b[m],...E}},process.env.NODE_ENV!=="production"&&h>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),v&&h<=50){h++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:d,y:f}=qa(c,p,s)),g=-1;continue}}return{x:d,y:f,placement:p,strategy:o,middlewareData:b}};function rm(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ya(e){return typeof e!="number"?rm(e):{top:e,right:e,bottom:e,left:e}}function Or(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function kr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:b=!1,padding:h=0}=t,g=Ya(h),_=s[b?p==="floating"?"reference":"floating":p],$=Or(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),y=Or(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...a.floating,x:n,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:c}):a[p]);return{top:$.top-y.top+g.top,bottom:y.bottom-$.bottom+g.bottom,left:$.left-y.left+g.left,right:y.right-$.right+g.right}}const nm=Math.min,om=Math.max;function Hn(e,t,r){return om(e,nm(t,r))}const Xa=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:i,placement:a,rects:s,platform:c}=t;if(r==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const d=Ya(n),f={x:o,y:i},p=Tt(a),b=Tr(a),h=Kn(p),g=await c.getDimensions(r),m=p==="y"?"top":"left",_=p==="y"?"bottom":"right",$=s.reference[h]+s.reference[p]-f[p]-s.floating[h],y=f[p]-s.reference[p],E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let v=E?p==="y"?E.clientHeight||0:E.clientWidth||0:0;v===0&&(v=s.floating[h]);const A=$/2-y/2,L=d[m],T=v-g[h]-d[_],M=v/2-g[h]/2+A,F=Hn(L,M,T),q=(b==="start"?d[m]:d[_])>0&&M!==F&&s.reference[h]<=s.floating[h]?M<L?L-M:T-M:0;return{[p]:f[p]-q,data:{[p]:F,centerOffset:M-F}}}}),im={left:"right",right:"left",bottom:"top",top:"bottom"};function Dr(e){return e.replace(/left|right|bottom|top/g,t=>im[t])}function am(e,t,r){r===void 0&&(r=!1);const n=Tr(e),o=Tt(e),i=Kn(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Dr(a)),{main:a,cross:Dr(a)}}const sm={start:"end",end:"start"};function Ja(e){return e.replace(/start|end/g,t=>sm[t])}const lm=["top","right","bottom","left"];function cm(e){const t=Dr(e);return[Ja(e),t,Ja(t)]}const um=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",flipAlignment:h=!0,...g}=e,m=Ct(n),$=p||(m===a||!h?[Dr(a)]:cm(a)),y=[a,...$],E=await kr(t,g),v=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&v.push(E[m]),f){const{main:F,cross:G}=am(n,i,await(s.isRTL==null?void 0:s.isRTL(c.floating)));v.push(E[F],E[G])}if(A=[...A,{placement:n,overflows:v}],!v.every(F=>F<=0)){var L,T;const F=((L=(T=o.flip)==null?void 0:T.index)!=null?L:0)+1,G=y[F];if(G)return{data:{index:F,overflows:A},reset:{placement:G}};let S="bottom";switch(b){case"bestFit":{var M;const q=(M=A.map(D=>[D,D.overflows.filter(P=>P>0).reduce((P,ee)=>P+ee,0)]).sort((D,P)=>D[1]-P[1])[0])==null?void 0:M[0].placement;q&&(S=q);break}case"initialPlacement":S=a;break}if(n!==S)return{reset:{placement:S}}}return{}}}};function Za(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qa(e){return lm.some(t=>e[t]>=0)}const dm=function(e){let{strategy:t="referenceHidden",...r}=e===void 0?{}:e;return{name:"hide",async fn(n){const{rects:o}=n;switch(t){case"referenceHidden":{const i=await kr(n,{...r,elementContext:"reference"}),a=Za(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Qa(a)}}}case"escaped":{const i=await kr(n,{...r,altBoundary:!0}),a=Za(i,o.floating);return{data:{escapedOffsets:a,escaped:Qa(a)}}}default:return{}}}}};async function fm(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=Ct(r),s=Tr(r),c=Tt(r)==="x",d=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:b,crossAxis:h,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),c?{x:h*f,y:b*d}:{x:b*d,y:h*f}}const pm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await fm(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function es(e){return e==="x"?"y":"x"}const hm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:$,y}=_;return{x:$,y}}},...c}=e,d={x:r,y:n},f=await kr(t,c),p=Tt(Ct(o)),b=es(p);let h=d[p],g=d[b];if(i){const _=p==="y"?"top":"left",$=p==="y"?"bottom":"right",y=h+f[_],E=h-f[$];h=Hn(y,h,E)}if(a){const _=b==="y"?"top":"left",$=b==="y"?"bottom":"right",y=g+f[_],E=g-f[$];g=Hn(y,g,E)}const m=s.fn({...t,[p]:h,[b]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}},mm=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,f={x:r,y:n},p=Tt(o),b=es(p);let h=f[p],g=f[b];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const A=p==="y"?"height":"width",L=i.reference[p]-i.floating[A]+_.mainAxis,T=i.reference[p]+i.reference[A]-_.mainAxis;h<L?h=L:h>T&&(h=T)}if(d){var $,y,E,v;const A=p==="y"?"width":"height",L=["top","left"].includes(Ct(o)),T=i.reference[b]-i.floating[A]+(L&&($=(y=a.offset)==null?void 0:y[b])!=null?$:0)+(L?0:_.crossAxis),M=i.reference[b]+i.reference[A]+(L?0:(E=(v=a.offset)==null?void 0:v[b])!=null?E:0)-(L?_.crossAxis:0);g<T?g=T:g>M&&(g=M)}return{[p]:h,[b]:g}}}};function ts(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function He(e){if(e==null)return window;if(!ts(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Yt(e){return He(e).getComputedStyle(e)}function Ge(e){return ts(e)?"":e?(e.nodeName||"").toLowerCase():""}function rs(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Le(e){return e instanceof He(e).HTMLElement}function Qe(e){return e instanceof He(e).Element}function bm(e){return e instanceof He(e).Node}function Gn(e){if(typeof ShadowRoot>"u")return!1;const t=He(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ir(e){const{overflow:t,overflowX:r,overflowY:n}=Yt(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function gm(e){return["table","td","th"].includes(Ge(e))}function ns(e){const t=/firefox/i.test(rs()),r=Yt(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&(r.filter?r.filter!=="none":!1)}function os(){return!/^((?!chrome|android).)*safari/i.test(rs())}const is=Math.min,Xt=Math.max,Ar=Math.round;function qe(e,t,r){var n,o,i,a;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,d=1;t&&Le(e)&&(c=e.offsetWidth>0&&Ar(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&Ar(s.height)/e.offsetHeight||1);const f=Qe(e)?He(e):window,p=!os()&&r,b=(s.left+(p&&(n=(o=f.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,h=(s.top+(p&&(i=(a=f.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/d,g=s.width/c,m=s.height/d;return{width:g,height:m,top:h,right:b+g,bottom:h+m,left:b,x:b,y:h}}function et(e){return((bm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nr(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function as(e){return qe(et(e)).left+Nr(e).scrollLeft}function vm(e){const t=qe(e);return Ar(t.width)!==e.offsetWidth||Ar(t.height)!==e.offsetHeight}function _m(e,t,r){const n=Le(t),o=et(t),i=qe(e,n&&vm(t),r==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((Ge(t)!=="body"||Ir(o))&&(a=Nr(t)),Le(t)){const c=qe(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=as(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function ss(e){return Ge(e)==="html"?e:e.assignedSlot||e.parentNode||(Gn(e)?e.host:null)||et(e)}function ls(e){return!Le(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function ym(e){let t=ss(e);for(Gn(t)&&(t=t.host);Le(t)&&!["html","body"].includes(Ge(t));){if(ns(t))return t;t=t.parentNode}return null}function qn(e){const t=He(e);let r=ls(e);for(;r&&gm(r)&&getComputedStyle(r).position==="static";)r=ls(r);return r&&(Ge(r)==="html"||Ge(r)==="body"&&getComputedStyle(r).position==="static"&&!ns(r))?t:r||ym(e)||t}function cs(e){if(Le(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=qe(e);return{width:t.width,height:t.height}}function $m(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Le(r),i=et(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((Ge(r)!=="body"||Ir(i))&&(a=Nr(r)),Le(r))){const c=qe(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function xm(e,t){const r=He(e),n=et(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const d=os();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}function wm(e){var t;const r=et(e),n=Nr(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Xt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Xt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+as(e);const c=-n.scrollTop;return Yt(o||r).direction==="rtl"&&(s+=Xt(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function us(e){const t=ss(e);return["html","body","#document"].includes(Ge(t))?e.ownerDocument.body:Le(t)&&Ir(t)?t:us(t)}function Mr(e,t){var r;t===void 0&&(t=[]);const n=us(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=He(n),a=o?[i].concat(i.visualViewport||[],Ir(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Mr(a))}function Em(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&Gn(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function Pm(e,t){const r=qe(e,!1,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function ds(e,t,r){return t==="viewport"?Or(xm(e,r)):Qe(t)?Pm(t,r):Or(wm(et(e)))}function Sm(e){const t=Mr(e),n=["absolute","fixed"].includes(Yt(e).position)&&Le(e)?qn(e):e;return Qe(n)?t.filter(o=>Qe(o)&&Em(o,n)&&Ge(o)!=="body"):[]}function Cm(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?Sm(t):[].concat(r),n],s=a[0],c=a.reduce((d,f)=>{const p=ds(t,f,o);return d.top=Xt(p.top,d.top),d.right=is(p.right,d.right),d.bottom=is(p.bottom,d.bottom),d.left=Xt(p.left,d.left),d},ds(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const Tm={getClippingRect:Cm,convertOffsetParentRelativeRectToViewportRelativeRect:$m,isElement:Qe,getDimensions:cs,getOffsetParent:qn,getDocumentElement:et,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:_m(t,qn(r),n),floating:{...cs(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Yt(e).direction==="rtl"};function Om(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=n,c=o&&!s,d=i&&!s,f=c||d?[...Qe(e)?Mr(e):[],...Mr(t)]:[];f.forEach(m=>{c&&m.addEventListener("scroll",r,{passive:!0}),d&&m.addEventListener("resize",r)});let p=null;if(a){let m=!0;p=new ResizeObserver(()=>{m||r(),m=!1}),Qe(e)&&!s&&p.observe(e),p.observe(t)}let b,h=s?qe(e):null;s&&g();function g(){const m=qe(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&r(),h=m,b=requestAnimationFrame(g)}return r(),()=>{var m;f.forEach(_=>{c&&_.removeEventListener("scroll",r),d&&_.removeEventListener("resize",r)}),(m=p)==null||m.disconnect(),p=null,s&&cancelAnimationFrame(b)}}const km=(e,t,r)=>tm(e,t,{platform:Tm,...r});var Yn=typeof document<"u"?l.useLayoutEffect:l.useEffect;function Xn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Xn(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Xn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Dm(e){const t=W.useRef(e);return Yn(()=>{t.current=e}),t}function Im(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=W.useRef(null),a=W.useRef(null),s=Dm(o),c=W.useRef(null),[d,f]=W.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,b]=W.useState(t);Xn(p==null?void 0:p.map(E=>{let{options:v}=E;return v}),t==null?void 0:t.map(E=>{let{options:v}=E;return v}))||b(t);const h=W.useCallback(()=>{!i.current||!a.current||km(i.current,a.current,{middleware:p,placement:r,strategy:n}).then(E=>{g.current&&ia.flushSync(()=>{f(E)})})},[p,r,n]);Yn(()=>{g.current&&h()},[h]);const g=W.useRef(!1);Yn(()=>(g.current=!0,()=>{g.current=!1}),[]);const m=W.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),i.current&&a.current)if(s.current){const E=s.current(i.current,a.current,h);c.current=E}else h()},[h,s]),_=W.useCallback(E=>{i.current=E,m()},[m]),$=W.useCallback(E=>{a.current=E,m()},[m]),y=W.useMemo(()=>({reference:i,floating:a}),[]);return W.useMemo(()=>({...d,update:h,refs:y,reference:_,floating:$}),[d,h,y,_,$])}const Am=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?Xa({element:t.current,padding:r}).fn(o):{}:t?Xa({element:t,padding:r}).fn(o):{}}}},Nm=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...i}=e;return l.createElement(te.svg,C({},i,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Lr(e){const[t,r]=l.useState(void 0);return ye(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,s=d.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const fs="Popper",[Jn,Fr]=Pe(fs),[Mm,ps]=Jn(fs),Lm=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(Mm,{scope:t,anchor:n,onAnchorChange:o},r)},Fm="PopperAnchor",Rm=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,i=ps(Fm,r),a=l.useRef(null),s=se(t,a);return l.useEffect(()=>{i.onAnchorChange((n==null?void 0:n.current)||a.current)}),n?null:l.createElement(te.div,C({},o,{ref:s}))}),Rr="PopperContent",[zm,Vm]=Jn(Rr),[jm,Bm]=Jn(Rr,{hasParent:!1,positionUpdateFns:new Set}),Wm=l.forwardRef((e,t)=>{var r,n,o,i,a,s,c,d;const{__scopePopper:f,side:p="bottom",sideOffset:b=0,align:h="center",alignOffset:g=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:$=0,sticky:y="partial",hideWhenDetached:E=!1,avoidCollisions:v=!0,...A}=e,L=ps(Rr,f),[T,M]=l.useState(null),F=se(t,Ae=>M(Ae)),[G,S]=l.useState(null),q=Lr(G),D=(r=q==null?void 0:q.width)!==null&&r!==void 0?r:0,P=(n=q==null?void 0:q.height)!==null&&n!==void 0?n:0,ee=p+(h!=="center"?"-"+h:""),Q=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},de=Array.isArray(_)?_:[_],fe=de.length>0,J={padding:Q,boundary:de.filter(qm),altBoundary:fe},{reference:w,floating:N,strategy:B,x:j,y:V,placement:K,middlewareData:Y,update:X}=Im({strategy:"fixed",placement:ee,whileElementsMounted:Om,middleware:[pm({mainAxis:b+P,alignmentAxis:g}),v?hm({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?mm():void 0,...J}):void 0,G?Am({element:G,padding:m}):void 0,v?um({...J}):void 0,Ym({arrowWidth:D,arrowHeight:P}),E?dm({strategy:"referenceHidden"}):void 0].filter(Gm)});ye(()=>{w(L.anchor)},[w,L.anchor]);const Z=j!==null&&V!==null,[oe,ne]=hs(K),ge=(o=Y.arrow)===null||o===void 0?void 0:o.x,be=(i=Y.arrow)===null||i===void 0?void 0:i.y,we=((a=Y.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[ze,Oe]=l.useState();ye(()=>{T&&Oe(window.getComputedStyle(T).zIndex)},[T]);const{hasParent:Ve,positionUpdateFns:ve}=Bm(Rr,f),_e=!Ve;l.useLayoutEffect(()=>{if(!_e)return ve.add(X),()=>{ve.delete(X)}},[_e,ve,X]),l.useLayoutEffect(()=>{_e&&Z&&Array.from(ve).reverse().forEach(Ae=>requestAnimationFrame(Ae))},[_e,Z,ve]);const Ie={"data-side":oe,"data-align":ne,...A,ref:F,style:{...A.style,animation:Z?void 0:"none",opacity:(s=Y.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:N,"data-radix-popper-content-wrapper":"",style:{position:B,left:0,top:0,transform:Z?`translate3d(${Math.round(j)}px, ${Math.round(V)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ze,["--radix-popper-transform-origin"]:[(c=Y.transformOrigin)===null||c===void 0?void 0:c.x,(d=Y.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")}},l.createElement(zm,{scope:f,placedSide:oe,onArrowChange:S,arrowX:ge,arrowY:be,shouldHideArrow:we},_e?l.createElement(jm,{scope:f,hasParent:!0,positionUpdateFns:ve},l.createElement(te.div,Ie)):l.createElement(te.div,Ie)))}),Um="PopperArrow",Km={top:"bottom",right:"left",bottom:"top",left:"right"},Hm=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,i=Vm(Um,n),a=Km[i.placedSide];return l.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},l.createElement(Nm,C({},o,{ref:r,style:{...o.style,display:"block"}})))});function Gm(e){return e!==void 0}function qm(e){return e!==null}const Ym=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;const{placement:s,rects:c,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,b=p?0:e.arrowWidth,h=p?0:e.arrowHeight,[g,m]=hs(s),_={start:"0%",center:"50%",end:"100%"}[m],$=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+b/2,y=((i=(a=d.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+h/2;let E="",v="";return g==="bottom"?(E=p?_:`${$}px`,v=`${-h}px`):g==="top"?(E=p?_:`${$}px`,v=`${c.floating.height+h}px`):g==="right"?(E=`${-h}px`,v=p?_:`${y}px`):g==="left"&&(E=`${c.floating.width+h}px`,v=p?_:`${y}px`),{data:{x:E,y:v}}}});function hs(e){const[t,r="center"]=e.split("-");return[t,r]}const ms=Lm,bs=Rm,gs=Wm,vs=Hm,_s="Popover",[ys,PE]=Pe(_s,[Fr]),zr=Fr(),[Xm,pt]=ys(_s),Jm=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=zr(t),c=l.useRef(null),[d,f]=l.useState(!1),[p=!1,b]=Ne({prop:n,defaultProp:o,onChange:i});return l.createElement(ms,s,l.createElement(Xm,{scope:t,contentId:Ue(),triggerRef:c,open:p,onOpenChange:b,onOpenToggle:l.useCallback(()=>b(h=>!h),[b]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>f(!0),[]),onCustomAnchorRemove:l.useCallback(()=>f(!1),[]),modal:a},r))},Zm="PopoverTrigger",Qm=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pt(Zm,r),i=zr(r),a=se(t,o.triggerRef),s=l.createElement(te.button,C({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Es(o.open)},n,{ref:a,onClick:H(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(bs,C({asChild:!0},i),s)}),$s="PopoverPortal",[eb,tb]=ys($s,{forceMount:void 0}),rb=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=pt($s,t);return l.createElement(eb,{scope:t,forceMount:r},l.createElement(ke,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},n)))},Jt="PopoverContent",xs=l.forwardRef((e,t)=>{const r=tb(Jt,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=pt(Jt,e.__scopePopover);return l.createElement(ke,{present:n||i.open},i.modal?l.createElement(nb,C({},o,{ref:t})):l.createElement(ob,C({},o,{ref:t})))}),nb=l.forwardRef((e,t)=>{const r=pt(Jt,e.__scopePopover),n=l.useRef(null),o=se(t,n),i=l.useRef(!1);return l.useEffect(()=>{const a=n.current;if(a)return Rn(a)},[]),l.createElement(Ln,{as:dt,allowPinchZoom:!0},l.createElement(ws,C({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:H(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:H(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,d=s.button===2||c;i.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:H(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),ob=l.forwardRef((e,t)=>{const r=pt(Jt,e.__scopePopover),n=l.useRef(!1);return l.createElement(ws,C({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),ws=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,b=pt(Jt,r),h=zr(r);return In(),l.createElement(kn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Ht,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>b.onOpenChange(!1)},l.createElement(gs,C({"data-state":Es(b.open),role:"dialog",id:b.contentId},h,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),ib="PopoverClose",ab=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pt(ib,r);return l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,()=>o.onOpenChange(!1))}))}),sb=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=zr(r);return l.createElement(vs,C({},o,n,{ref:t}))});function Es(e){return e?"open":"closed"}const lb=Jm,cb=Qm,ub=rb,db=xs,fb=ab,pb=sb;function Ps(e,t,r){let[n,o]=l.useState(e||t),i=l.useRef(e!==void 0),a=i.current,s=e!==void 0,c=l.useRef(n);a!==s&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),i.current=s;let d=l.useCallback((f,...p)=>{let b=(h,...g)=>{r&&(Object.is(c.current,h)||r(h,...g)),s||(c.current=h)};typeof f=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((g,...m)=>{let _=f(s?c.current:g,...m);return b(_,...p),s?g:_})):(s||o(f),b(f,...p))},[s,r]);return s?c.current=e:e=n,[e,d]}function hb(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function ht(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,i=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&i>r&&(i=Math.floor(r/n)*n):i<t?i=t:!isNaN(r)&&i>r&&(i=t+Math.floor((r-t)/n)*n);let a=n.toString(),s=a.indexOf("."),c=s>=0?a.length-s:0;if(c>0){let d=Math.pow(10,c);i=Math.round(i*d)/d}return i}const Zn={prefix:String(Math.round(Math.random()*1e10)),current:0},Ss=l.createContext(Zn);let mb=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function bb(e){let t=l.useContext(Ss);return t===Zn&&!mb&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),l.useMemo(()=>e||`react-aria${t.prefix}-${++t.current}`,[e])}function gb(){let t=l.useContext(Ss)!==Zn,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Cs(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Cs(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ts(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Cs(e))&&(n&&(n+=" "),n+=t);return n}const Ot=typeof window<"u"?l.useLayoutEffect:()=>{};function vb(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let i=l.useRef(null);i.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?i.current():r(s.value)},Ot(()=>{o.current&&i.current()});let a=l.useCallback(s=>{o.current=s(n.current),i.current()},[o,i]);return[t,a]}let Vr=new Map;function mt(e){let[t,r]=l.useState(e),n=l.useRef(null),o=bb(t),i=l.useCallback(a=>{n.current=a},[]);return Vr.set(o,i),Ot(()=>{let a=o;return()=>{Vr.delete(a)}},[o]),l.useEffect(()=>{let a=n.current;a&&(n.current=null,r(a))}),o}function _b(e,t){if(e===t)return e;let r=Vr.get(e);if(r)return r(t),t;let n=Vr.get(t);return n?(n(e),e):t}function Os(e=[]){let t=mt(),[r,n]=vb(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ot(o,[t,o,...e]),r}function ks(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function xe(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let i=t[o],a=n[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=ks(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=Ts(i,a):o==="id"&&i&&a?t.id=_b(i,a):t[o]=a!==void 0?a:i}}return t}const yb=new Set(["id"]),$b=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),xb=/^(data-.*)$/;function Zt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(yb.has(i)||r&&$b.has(i)||n!=null&&n.has(i)||xb.test(i))&&(o[i]=e[i]);return o}function kt(e){if(wb())e.focus({preventScroll:!0});else{let t=Eb(e);e.focus(),Pb(t)}}let jr=null;function wb(){if(jr==null){jr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return jr=!0,!0}})}catch{}}return jr}function Eb(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function Pb(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let Dt=new Map,Qn=new Set;function Ds(){if(typeof window>"u")return;let e=r=>{let n=Dt.get(r.target);n||(n=new Set,Dt.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Dt.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Dt.delete(r.target)),Dt.size===0)){for(let o of Qn)o();Qn.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Ds():document.addEventListener("DOMContentLoaded",Ds));function Is(e){requestAnimationFrame(()=>{Dt.size===0?e():Qn.add(e)})}function As(){let e=l.useRef(new Map),t=l.useCallback((o,i,a,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(a),a(...d)}:a;e.current.set(a,{type:i,eventTarget:o,fn:c,options:s}),o.addEventListener(i,a,s)},[]),r=l.useCallback((o,i,a,s)=>{var c;let d=((c=e.current.get(a))===null||c===void 0?void 0:c.fn)||a;o.removeEventListener(i,d,s),e.current.delete(a)},[]),n=l.useCallback(()=>{e.current.forEach((o,i)=>{r(o.eventTarget,o.type,i,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Sb(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=mt(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function bt(e){const t=l.useRef();return Ot(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function Ns(e,t){Ot(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function Cb(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function eo(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 Ms(){return eo(/^Mac/i)}function Ls(){return eo(/^iPhone/i)}function Tb(){return eo(/^iPad/i)||Ms()&&navigator.maxTouchPoints>1}function to(){return Ls()||Tb()}function Fs(){return Cb(/Android/i)}function Ob(e,t,r,n){let o=l.useRef(r);o.current=r;let i=r==null;l.useEffect(()=>{if(i)return;let a=e.current,s=c=>o.current.call(this,c);return a.addEventListener(t,s,n),()=>{a.removeEventListener(t,s,n)}},[e,t,n,i])}function ro(e){return e.mozInputSource===0&&e.isTrusted?!0:Fs()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function kb(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let It="default",oo="",Br=new WeakMap;function Rs(e){to()?(It==="default"&&(oo=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),It="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Br.set(e,e.style.userSelect),e.style.userSelect="none")}function Wr(e){if(to()){if(It!=="disabled")return;It="restoring",setTimeout(()=>{Is(()=>{It==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=oo||""),oo="",It="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Br.has(e)){let t=Br.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Br.delete(e)}}const zs=l.createContext(null);zs.displayName="PressResponderContext";function Db(e){let t=l.useContext(zs);if(t){let{register:r,...n}=t;e=xe(n,e),r()}return Ns(t,e.ref),e}function io(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...b}=Db(e),h=l.useRef(null);h.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,shouldCancelOnPointerExit:d};let[g,m]=l.useState(!1),_=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:y}=As(),E=l.useMemo(()=>{let v=_.current,A=(S,q)=>{let{onPressStart:D,onPressChange:P,isDisabled:ee}=h.current;ee||v.didFirePressStart||(D&&D({type:"pressstart",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),P&&P(!0),v.didFirePressStart=!0,m(!0))},L=(S,q,D=!0)=>{let{onPressEnd:P,onPressChange:ee,onPress:Q,isDisabled:de}=h.current;v.didFirePressStart&&(v.ignoreClickAfterPress=!0,v.didFirePressStart=!1,P&&P({type:"pressend",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),ee&&ee(!1),m(!1),Q&&D&&!de&&Q({type:"press",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}))},T=(S,q)=>{let{onPressUp:D,isDisabled:P}=h.current;P||D&&D({type:"pressup",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey})},M=S=>{v.isPressed&&(v.isOverTarget&&L(Ye(v.target,S),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,y(),f||Wr(v.target))},F={onKeyDown(S){so(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)?(js(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),!v.isPressed&&!S.repeat&&(v.target=S.currentTarget,v.isPressed=!0,A(S,"keyboard"),$(document,"keyup",G,!1))):S.key==="Enter"&&ao(S.currentTarget)&&S.stopPropagation()},onKeyUp(S){so(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&T(Ye(v.target,S),"keyboard")},onClick(S){S&&!S.currentTarget.contains(S.target)||S&&S.button===0&&(S.stopPropagation(),a&&S.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&(v.pointerType==="virtual"||ro(S.nativeEvent))&&(!a&&!c&&kt(S.currentTarget),A(S,"virtual"),T(S,"virtual"),L(S,"virtual")),v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1)}},G=S=>{if(v.isPressed&&so(S,v.target)){js(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),v.isPressed=!1;let q=S.target;L(Ye(v.target,S),"keyboard",v.target.contains(q)),y(),v.target instanceof HTMLElement&&v.target.contains(q)&&(ao(v.target)||v.target.getAttribute("role")==="link")&&v.target.click()}};if(typeof PointerEvent<"u"){F.onPointerDown=P=>{if(!(P.button!==0||!P.currentTarget.contains(P.target))){if(kb(P.nativeEvent)){v.pointerType="virtual";return}lo(P.currentTarget)&&P.preventDefault(),v.pointerType=P.pointerType,P.stopPropagation(),v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=P.pointerId,v.target=P.currentTarget,!a&&!c&&kt(P.currentTarget),f||Rs(v.target),A(P,v.pointerType),$(document,"pointermove",S,!1),$(document,"pointerup",q,!1),$(document,"pointercancel",D,!1))}},F.onMouseDown=P=>{P.currentTarget.contains(P.target)&&P.button===0&&(lo(P.currentTarget)&&P.preventDefault(),P.stopPropagation())},F.onPointerUp=P=>{!P.currentTarget.contains(P.target)||v.pointerType==="virtual"||P.button===0&&At(P,P.currentTarget)&&T(P,v.pointerType||P.pointerType)};let S=P=>{P.pointerId===v.activePointerId&&(At(P,v.target)?v.isOverTarget||(v.isOverTarget=!0,A(Ye(v.target,P),v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,L(Ye(v.target,P),v.pointerType,!1),h.current.shouldCancelOnPointerExit&&M(P)))},q=P=>{P.pointerId===v.activePointerId&&v.isPressed&&P.button===0&&(At(P,v.target)?L(Ye(v.target,P),v.pointerType):v.isOverTarget&&L(Ye(v.target,P),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,y(),f||Wr(v.target))},D=P=>{M(P)};F.onDragStart=P=>{P.currentTarget.contains(P.target)&&M(P)}}else{F.onMouseDown=D=>{D.button!==0||!D.currentTarget.contains(D.target)||(lo(D.currentTarget)&&D.preventDefault(),D.stopPropagation(),!v.ignoreEmulatedMouseEvents&&(v.isPressed=!0,v.isOverTarget=!0,v.target=D.currentTarget,v.pointerType=ro(D.nativeEvent)?"virtual":"mouse",!a&&!c&&kt(D.currentTarget),A(D,v.pointerType),$(document,"mouseup",S,!1)))},F.onMouseEnter=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!0,A(D,v.pointerType)))},F.onMouseLeave=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!1,L(D,v.pointerType,!1),h.current.shouldCancelOnPointerExit&&M(D)))},F.onMouseUp=D=>{D.currentTarget.contains(D.target)&&!v.ignoreEmulatedMouseEvents&&D.button===0&&T(D,v.pointerType)};let S=D=>{if(D.button===0){if(v.isPressed=!1,y(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}At(D,v.target)?L(Ye(v.target,D),v.pointerType):v.isOverTarget&&L(Ye(v.target,D),v.pointerType,!1),v.isOverTarget=!1}};F.onTouchStart=D=>{if(!D.currentTarget.contains(D.target))return;D.stopPropagation();let P=Ib(D.nativeEvent);P&&(v.activePointerId=P.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=D.currentTarget,v.pointerType="touch",!a&&!c&&kt(D.currentTarget),f||Rs(v.target),A(D,v.pointerType),$(window,"scroll",q,!0))},F.onTouchMove=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!v.isPressed))return;let P=Vs(D.nativeEvent,v.activePointerId);P&&At(P,D.currentTarget)?v.isOverTarget||(v.isOverTarget=!0,A(D,v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,L(D,v.pointerType,!1),h.current.shouldCancelOnPointerExit&&M(D))},F.onTouchEnd=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!v.isPressed))return;let P=Vs(D.nativeEvent,v.activePointerId);P&&At(P,D.currentTarget)?(T(D,v.pointerType),L(D,v.pointerType)):v.isOverTarget&&L(D,v.pointerType,!1),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,f||Wr(v.target),y()},F.onTouchCancel=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),v.isPressed&&M(D))};let q=D=>{v.isPressed&&D.target.contains(v.target)&&M({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=D=>{D.currentTarget.contains(D.target)&&M(D)}}return F},[$,a,c,y,f]);return l.useEffect(()=>()=>{f||Wr(_.current.target)},[f]),{isPressed:s||g,pressProps:xe(b,E)}}function ao(e){return e.tagName==="A"&&e.hasAttribute("href")}function so(e,t){const{key:r,code:n}=e,o=t,i=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!Bs(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!ao(o)||i==="button"&&r!=="Enter")&&!(i==="link"&&r!=="Enter")}function Ib(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Vs(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function Ye(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Ab(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function Nb(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function At(e,t){let r=t.getBoundingClientRect(),n=Ab(e);return Nb(r,n)}function lo(e){return!(e instanceof HTMLElement)||!e.draggable}function js(e,t){return e instanceof HTMLInputElement?!Bs(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Mb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Bs(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Mb.has(e.type)}class Lb{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function Ws(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Ot(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),l.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,o=i=>{var a,s;t.current.isFocused=!1,n.disabled&&((s=(a=t.current).onBlur)===null||s===void 0||s.call(a,new Lb("blur",i))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[])}function co(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const i=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),a=Ws(i),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),a(c))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:null}}}let Nt=null,uo=new Set,Us=!1,gt=!1,fo=!1;const Fb={Tab:!0,Escape:!0};function po(e,t){for(let r of uo)r(e,t)}function Rb(e){return!(e.metaKey||!Ms()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ks(e){gt=!0,Rb(e)&&(Nt="keyboard",po("keyboard",e))}function Mt(e){Nt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(gt=!0,po("pointer",e))}function zb(e){ro(e)&&(gt=!0,Nt="virtual")}function Vb(e){e.target===window||e.target===document||(!gt&&!fo&&(Nt="virtual",po("virtual",e)),gt=!1,fo=!1)}function jb(){gt=!1,fo=!0}function ho(){if(typeof window>"u"||Us)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){gt=!0,e.apply(this,arguments)},document.addEventListener("keydown",Ks,!0),document.addEventListener("keyup",Ks,!0),document.addEventListener("click",zb,!0),window.addEventListener("focus",Vb,!0),window.addEventListener("blur",jb,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Mt,!0),document.addEventListener("pointermove",Mt,!0),document.addEventListener("pointerup",Mt,!0)):(document.addEventListener("mousedown",Mt,!0),document.addEventListener("mousemove",Mt,!0),document.addEventListener("mouseup",Mt,!0)),Us=!0}typeof document<"u"&&(document.readyState!=="loading"?ho():document.addEventListener("DOMContentLoaded",ho));function Hs(){return Nt!=="pointer"}function Bb(){return Nt}function Wb(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!Fb[r.key])}function Ub(e,t,r){ho(),l.useEffect(()=>{let n=(o,i)=>{Wb(r==null?void 0:r.isTextInput,o,i)&&e(Hs())};return uo.add(n),()=>{uo.delete(n)}},t)}function Gs(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=l.useRef({isFocusWithin:!1}),a=l.useCallback(d=>{i.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(i.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,i]),s=Ws(a),c=l.useCallback(d=>{i.current.isFocusWithin||(n&&n(d),o&&o(!0),i.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:a}}}function qs(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function Kb(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:qs(e.onKeyDown),onKeyUp:qs(e.onKeyUp)}}}function Hb(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(i=>{i.ctrlKey||(i.preventDefault(),i.stopPropagation(),r&&r({deltaX:i.deltaX,deltaY:i.deltaY}))},[r]);Ob(t,"wheel",n?null:o)}function Gb(e){if(Bb()==="virtual"){let t=document.activeElement;Is(()=>{document.activeElement===t&&document.contains(e)&&kt(e)})}else kt(e)}function qb(e,t){return t.some(r=>r.contains(e))}class mo{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),i=new Ys({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef.current&&qb(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.length>0&&o.forEach(i=>n.addChild(i)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.length>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new mo;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){no(this,"fastMap",new Map),this.root=new Ys({scopeRef:null}),this.fastMap.set(null,this.root)}}class Ys{addChild(t){this.children.push(t),t.parent=this}removeChild(t){this.children.splice(this.children.indexOf(t),1),t.parent=void 0}constructor(t){no(this,"children",[]),no(this,"contain",!1),this.scopeRef=t.scopeRef}}new mo;function Ur(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||Hs()}),[i,a]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=l.useCallback(h=>{o.current.isFocused=h,a(h),d()},[d]);Ub(h=>{o.current.isFocusVisible=h,d()},[],{isTextInput:r});let{focusProps:p}=co({isDisabled:n,onFocusChange:f}),{focusWithinProps:b}=Gs({isDisabled:!n,onFocusWithinChange:f});return{isFocused:i,isFocusVisible:o.current.isFocused&&s,focusProps:n?b:p}}let Yb=l.createContext(null);function Xb(e){let t=l.useContext(Yb)||{};Ns(t,e);let{ref:r,...n}=t;return n}function bo(e,t){let{focusProps:r}=co(e),{keyboardProps:n}=Kb(e),o=xe(r,n),i=Xb(t),a=e.isDisabled?{}:i,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&Gb(t.current),s.current=!1},[t]),{focusableProps:xe({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}function Jb(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:i,onClick:a,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:f}=bo(e,t),{pressProps:p,isPressed:b}=io({onPress:n,onPressStart:o,onPressEnd:i,isDisabled:s,ref:t}),h=Zt(c,{labelable:!0}),g=xe(f,p);return{isPressed:b,linkProps:xe(h,{...g,...d,"aria-disabled":s||void 0,onClick:m=>{p.onClick(m),a&&(a(m),console.warn("onClick is deprecated, please use onPress"))}})}}class Zb{getStringForLocale(t,r){let n=this.strings[r];n||(n=Qb(r,this.strings,this.defaultLocale),this.strings[r]=n);let o=n[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function Qb(e,t,r="en-US"){if(t[e])return t[e];let n=eg(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function eg(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Xs=new Map,Js=new Map;class tg{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let i=this.locale+":"+n,a=Xs.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),Xs.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Js.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Js.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}let go=new Map,vo=!1;try{vo=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Kr=!1;try{Kr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Zs={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class _o{format(t){let r="";if(!vo&&this.options.signDisplay!=null?r=ng(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Kr){var n;let{unit:o,unitDisplay:i="short",locale:a}=this.resolvedOptions(),s=(n=Zs[o])===null||n===void 0?void 0:n[i];r+=s[a]||s.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!vo&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Kr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=rg(t,r),this.options=r}}function rg(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Kr){var n;let{unit:a,unitDisplay:s="short"}=t;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Zs[a])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((a,s)=>a[0]<s[0]?-1:1).join():"");if(go.has(o))return go.get(o);let i=new Intl.NumberFormat(e,t);return go.set(o,i),i}function ng(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),i=e.format(r),a=o.replace(i,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(i,"!!!").replace(a,"+").replace("!!!",i)}else return e.format(r)}}const og=new RegExp("^.*\\(.*\\).*$"),ig=["latn","arab","hanidec"];class ag{parse(t){return yo(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return yo(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return yo(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Qs=new Map;function yo(e,t,r){let n=el(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of ig)if(o!==n.options.numberingSystem){let i=el(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(r))return i}}return n}function el(e,t){let r=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),n=Qs.get(r);return n||(n=new sg(e,t),Qs.set(r,n)),n}class sg{parse(t){let r=this.sanitize(t);r=Hr(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&og.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=Hr(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Hr(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),t.startsWith(this.symbols.group)?!1:(t=Hr(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=lg(this.formatter,this.options,r)}}const tl=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function lg(e,t,r){var n,o,i,a;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var f;let p=(f=(n=s.find(T=>T.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:"-",b=(o=c.find(T=>T.type==="plusSign"))===null||o===void 0?void 0:o.value;!b&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(b="+");let h=(i=s.find(T=>T.type==="decimal"))===null||i===void 0?void 0:i.value,g=(a=s.find(T=>T.type==="group"))===null||a===void 0?void 0:a.value,m=s.filter(T=>!tl.has(T.type)).map(T=>rl(T.value)),_=d.filter(T=>!tl.has(T.type)).map(T=>rl(T.value)),$=[...new Set([..._,...m])].sort((T,M)=>M.length-T.length),y=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),E=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),v=new Map(E.map((T,M)=>[T,M])),A=new RegExp(`[${E.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:h,group:g,literals:y,numeral:A,index:T=>String(v.get(T))}}function Hr(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function rl(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const cg=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),ug=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function dg(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return cg.has(r)}let t=e.split("-")[0];return ug.has(t)}function nl(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:dg(e)?"rtl":"ltr"}}let $o=nl(),Qt=new Set;function ol(){$o=nl();for(let e of Qt)e($o)}function fg(){let e=gb(),[t,r]=l.useState($o);return l.useEffect(()=>(Qt.size===0&&window.addEventListener("languagechange",ol),Qt.add(r),()=>{Qt.delete(r),Qt.size===0&&window.removeEventListener("languagechange",ol)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const pg=l.createContext(null);function il(){let e=fg();return l.useContext(pg)||e}const al=new WeakMap;function hg(e){let t=al.get(e);return t||(t=new Zb(e),al.set(e,t)),t}function Gr(e){let{locale:t}=il(),r=l.useMemo(()=>hg(e),[e]);return l.useMemo(()=>new tg(t,r),[t,r])}function mg(e={}){let{locale:t}=il();return l.useMemo(()=>new _o(t,e),[t,e])}function bg(e){return e&&e.__esModule?e.default:e}function gg(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:i="a",...a}=e,{linkProps:s}=Jb({isDisabled:n||r,elementType:i,...a},t),c=/^h[1-6]$/.test(i),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var sl={},ll={};ll={breadcrumbs:"عناصر الواجهة"};var cl={};cl={breadcrumbs:"Трохи хляб"};var ul={};ul={breadcrumbs:"Popis cesty"};var dl={};dl={breadcrumbs:"Brødkrummer"};var fl={};fl={breadcrumbs:"Breadcrumbs"};var pl={};pl={breadcrumbs:"Πλοηγήσεις breadcrumb"};var hl={};hl={breadcrumbs:"Breadcrumbs"};var ml={};ml={breadcrumbs:"Migas de pan"};var bl={};bl={breadcrumbs:"Lingiread"};var gl={};gl={breadcrumbs:"Navigointilinkit"};var vl={};vl={breadcrumbs:"Chemin de navigation"};var _l={};_l={breadcrumbs:"שבילי ניווט"};var yl={};yl={breadcrumbs:"Navigacijski putovi"};var $l={};$l={breadcrumbs:"Morzsamenü"};var xl={};xl={breadcrumbs:"Breadcrumb"};var wl={};wl={breadcrumbs:"パンくずリスト"};var El={};El={breadcrumbs:"탐색 표시"};var Pl={};Pl={breadcrumbs:"Naršymo kelias"};var Sl={};Sl={breadcrumbs:"Atpakaļceļi"};var Cl={};Cl={breadcrumbs:"Navigasjonsstier"};var Tl={};Tl={breadcrumbs:"Broodkruimels"};var Ol={};Ol={breadcrumbs:"Struktura nawigacyjna"};var kl={};kl={breadcrumbs:"Caminho detalhado"};var Dl={};Dl={breadcrumbs:"Categorias"};var Il={};Il={breadcrumbs:"Miez de pâine"};var Al={};Al={breadcrumbs:"Навигация"};var Nl={};Nl={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Ml={};Ml={breadcrumbs:"Drobtine"};var Ll={};Ll={breadcrumbs:"Putanje navigacije"};var Fl={};Fl={breadcrumbs:"Sökvägar"};var Rl={};Rl={breadcrumbs:"İçerik haritaları"};var zl={};zl={breadcrumbs:"Навігаційна стежка"};var Vl={};Vl={breadcrumbs:"导航栏"};var jl={};jl={breadcrumbs:"導覽列"},sl={"ar-AE":ll,"bg-BG":cl,"cs-CZ":ul,"da-DK":dl,"de-DE":fl,"el-GR":pl,"en-US":hl,"es-ES":ml,"et-EE":bl,"fi-FI":gl,"fr-FR":vl,"he-IL":_l,"hr-HR":yl,"hu-HU":$l,"it-IT":xl,"ja-JP":wl,"ko-KR":El,"lt-LT":Pl,"lv-LV":Sl,"nb-NO":Cl,"nl-NL":Tl,"pl-PL":Ol,"pt-BR":kl,"pt-PT":Dl,"ro-RO":Il,"ru-RU":Al,"sk-SK":Nl,"sl-SI":Ml,"sr-SP":Ll,"sv-SE":Fl,"tr-TR":Rl,"uk-UA":zl,"zh-CN":Vl,"zh-TW":jl};function vg(e){let{"aria-label":t,...r}=e,n=Gr(bg(sl));return{navProps:{...Zt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const _g=I(db)`
195
+ border-radius: ${u.border_radius_400};
196
+ padding: ${u.sizing_200};
200
197
  width: 260px;
201
- background-color: white;
202
- box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px,
203
- hsl(206 22% 7% / 20%) 0px 10px 20px -15px;
204
- `,vv=A.default(bv)`
205
- fill: white;
206
- `;function gv({children:e,...t}){return T(fv,{children:ce(mv,{...t,children:[e,T(vv,{})]})})}const yv=A.default(hv)`
198
+ background-color: ${u.color_white};
199
+ box-shadow: hsl(206deg 22% 7% / 35%) 0px 10px 38px -10px,
200
+ hsl(206deg 22% 7% / 20%) 0px 10px 20px -15px;
201
+ `,yg=I(pb)`
202
+ fill: ${u.color_white};
203
+ `;function $g({children:e,...t}){return k(ub,{children:le(_g,{...t,children:[e,k(yg,{})]})})}const xg=I(fb)`
207
204
  all: unset;
205
+ cursor: pointer;
208
206
  font-family: inherit;
209
- border-radius: 100%;
207
+ border-radius: ${u.border_radius_circle};
210
208
  height: 25px;
211
209
  width: 25px;
212
210
  display: inline-flex;
@@ -216,23 +214,23 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
216
214
  position: absolute;
217
215
  top: 5px;
218
216
  right: 5px;
219
- `,Ul=uv,Kl=dv,_v=gv,$v=yv,xv="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",wv=A.default(jl)`
217
+ `,Bl=lb,Wl=cb,wg="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",Eg=I(xs)`
220
218
  margin-top: 22px;
221
219
  isolation: isolate;
222
220
  min-width: 210px;
223
- padding: ${f.sizing_350};
224
- background: ${f.color_background_white_standard};
225
- box-shadow: ${f.elevation_interactive_high};
226
- border-radius: ${f.border_radius_800};
221
+ padding: ${u.sizing_350};
222
+ background: ${u.color_background_white_standard};
223
+ box-shadow: ${u.elevation_interactive_high};
224
+ border-radius: ${u.border_radius_800};
227
225
 
228
226
  &[data-state~='focused'] {
229
- outline: 1px solid ${f.color_black};
227
+ outline: 1px solid ${u.color_black};
230
228
  }
231
- `;function Ev({children:e}){const{isFocusVisible:t,focusProps:r}=Nr();return T(wv,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const Po=A.default.ol`
232
- font-family: ${f.font_family_sans};
229
+ `;function Pg({children:e}){const{isFocusVisible:t,focusProps:r}=Ur();return k(Eg,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const xo=I.ol`
230
+ font-family: ${u.font_family_sans};
233
231
  display: flex;
234
232
  list-style: none;
235
- gap: ${f.sizing_200};
233
+ gap: ${u.sizing_200};
236
234
 
237
235
  flex-direction: row;
238
236
  padding-inline-start: 0;
@@ -241,14 +239,14 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
241
239
 
242
240
  & > li:not(:last-of-type)::after {
243
241
  content: '/';
244
- font-family: ${f.font_family_inter};
245
- color: ${f.color_divider_standard};
242
+ font-family: ${u.font_family_sans};
243
+ color: ${u.color_divider_standard};
246
244
  }
247
- `,Hl=A.default(Po)`
245
+ `,Ul=I(xo)`
248
246
  flex-direction: column;
249
247
 
250
248
  & li {
251
- color: ${f.color_text_standard} !important;
249
+ color: ${u.color_text_standard} !important;
252
250
  font-weight: 400 !important;
253
251
  }
254
252
 
@@ -258,7 +256,7 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
258
256
 
259
257
  & > ol li:first-of-type::before {
260
258
  content: '';
261
- background-image: url(${xv});
259
+ background-image: url(${wg});
262
260
  display: block;
263
261
  height: 1em;
264
262
  width: 1em;
@@ -267,184 +265,181 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
267
265
  background-size: initial;
268
266
  background-repeat: initial;
269
267
  }
270
- `,So=A.default.li`
271
- color: ${f.color_text_weak};
268
+ `,wo=I.li`
269
+ color: ${u.color_text_weak};
272
270
  display: flex;
273
271
  align-items: center;
274
- gap: ${f.sizing_200};
275
- `,Gl=A.default.a`
272
+ gap: ${u.sizing_200};
273
+ `,Kl=I.a`
276
274
  text-decoration: none;
277
- color: ${f.color_text_weak};
275
+ color: ${u.color_text_weak};
278
276
  font-style: normal;
279
277
  font-weight: 500;
280
- font-size: ${f.font_size_100};
281
- line-height: ${f.line_height_114};
282
- letter-spacing: ${f.letter_spacing_tight};
283
- border-radius: ${f.border_radius_400};
278
+ font-size: ${u.font_size_100};
279
+ line-height: ${u.line_height_114};
280
+ letter-spacing: ${u.letter_spacing_tight};
281
+ border-radius: ${u.border_radius_400};
284
282
  padding: 2px 4px;
285
-
286
- transition-property: ${f.transition_property_color};
287
- transition-duration: ${f.transition_duration_100};
283
+
284
+ transition-property: ${u.transition_property_color};
285
+ transition-duration: ${u.transition_duration_100};
288
286
  cursor: default;
289
-
287
+
290
288
  &[href] {
291
289
  cursor: pointer;
292
290
  }
293
291
 
294
- &:hover {
295
- background-color: ${f.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
292
+ &:focus {
293
+ outline: none;
296
294
  }
297
295
 
298
- &[href][data-state~='pressed'] {
299
- background-color: ${f.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
296
+ &:hover:not([aria-disabled='true']) {
297
+ background-color: ${u.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
300
298
  }
301
299
 
302
- &:focus {
303
- outline: none;
300
+ &[href][data-state~='pressed'] {
301
+ background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
304
302
  }
305
303
 
306
304
  &[data-state~='focused'] {
307
- outline: 1px solid ${f.color_black};
305
+ outline: 1px solid ${u.color_black};
308
306
  }
309
307
 
310
- &[data-state~='disabled'] {
311
- color: ${f.color_fill_primary_disabled};
308
+ &[aria-disabled='true'] {
309
+ color: ${u.color_fill_primary_disabled};
312
310
  }
313
311
 
314
312
  &[aria-current='page'] {
315
- color: ${f.color_text_strong};
313
+ color: ${u.color_text_strong};
316
314
  font-weight: 400;
317
315
  }
318
- `,Pv=A.default.button`
316
+ `,Sg=I.button`
319
317
  appearance: none;
320
318
  cursor: pointer;
321
319
  touch-action: none;
322
320
  border: none;
323
- font-family: ${f.font_family_inter};
321
+ font-family: ${u.font_family_sans};
324
322
 
325
- background-color: ${f.color_white};
326
- color: ${f.color_text_weak};
327
- border-radius: ${f.border_radius_400};
323
+ background-color: ${u.color_white};
324
+ color: ${u.color_text_weak};
325
+ border-radius: ${u.border_radius_400};
328
326
  padding: 2px 4px;
329
327
 
330
- transition-property: ${f.transition_property_color};
331
- transition-duration: ${f.transition_duration_100};
328
+ transition-property: ${u.transition_property_color};
329
+ transition-duration: ${u.transition_duration_100};
332
330
 
333
331
  &:focus-visible {
334
- outline: 1px solid ${f.color_black};
332
+ outline: 1px solid ${u.color_black};
335
333
  }
336
334
 
337
335
  &:hover {
338
- background-color: ${f.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
336
+ background-color: ${u.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
339
337
  }
340
338
 
341
339
  &:active,
342
- &[data-state='open'] {
343
- background-color: ${f.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
340
+ &[data-state~='open'] {
341
+ background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
344
342
  }
345
- `;function ql({truncatedItems:e}){return e.length>1?ce(Hl,{children:[e.slice(0,1),T(ql,{truncatedItems:e.slice(1)})]}):T(Hl,{children:e})}function Sv({truncatedItems:e}){return T(So,{children:ce(Ul,{children:[T(Kl,{asChild:!0,children:T(Pv,{type:"button",children:"..."})}),T(Ev,{children:T(ql,{truncatedItems:e})})]})})}const Yl=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=rm(t);gr.isFragment(e)&&console.warn("Passing a React fragment to Breadcrumbs will make it not work correctly!");const o=l.Children.toArray(e),i=3;if(o.length>i){const s=o[0],c=o.slice(-2),u=o.slice(1,-2);return T("nav",{...n,children:ce(Po,{ref:r,children:[s,T(Sv,{truncatedItems:u}),c]})})}return T("nav",{...n,children:T(Po,{ref:r,children:o})})});Yl.displayName="Breadcrumbs";const Xl=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,i=bt(t),a=typeof r=="string",{children:s,href:c,isCurrent:u}=e,{itemProps:d}=tm({isDisabled:n,isCurrent:u,elementType:a?r:"a",...o},i),{isPressed:p,pressProps:b}=to({isDisabled:n,ref:i}),{isFocusVisible:h,focusProps:v}=Nr(),m=[p&&"pressed",n&&"disabled",h&&"focused"].filter(Boolean).join(" "),y=!d["aria-disabled"]&&c?c:"",_={[a?"href":"to"]:y};return T(So,{children:T(Gl,{as:r,...d,ref:i,"data-state":m,...v,...b,..._,children:s})})});Xl.displayName="BreadcrumbItem";function Co(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:i,onPressEnd:a,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:u,onClick:d,href:p,target:b,rel:h,type:v="button"}=e,m;r==="button"?m={type:v,disabled:n}:m={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?b:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:y,isPressed:$}=to({onPressStart:i,onPressEnd:a,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:_}=fo(e,t);u&&(_.tabIndex=n?-1:_.tabIndex);let w=we(_,y,Yt(e,{labelable:!0}));return{isPressed:$,buttonProps:we(m,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:g=>{d&&(d(g),console.warn("onClick is deprecated, please use onPress"))}})}}const Cv={small:`${f.spacing_200} ${f.spacing_300}`,large:`${f.spacing_300} ${f.spacing_400}`},Re=A.default.button`
343
+ `;function Hl({truncatedItems:e}){return e.length>1?le(Ul,{children:[e.slice(0,1),k(Hl,{truncatedItems:e.slice(1)})]}):k(Ul,{children:e})}function Cg({truncatedItems:e}){return k(wo,{children:le(Bl,{children:[k(Wl,{asChild:!0,children:k(Sg,{type:"button",children:"..."})}),k(Pg,{children:k(Hl,{truncatedItems:e})})]})})}const Gl=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=vg(t);$t.isFragment(e)&&console.warn("Passing a React fragment to Breadcrumbs will make it not work correctly!");const o=l.Children.toArray(e),i=3;if(o.length>i){const s=o[0],c=o.slice(-2),d=o.slice(1,-2);return k("nav",{...n,children:le(xo,{ref:r,children:[s,k(Cg,{truncatedItems:d}),c]})})}return k("nav",{...n,children:k(xo,{ref:r,children:o})})});Gl.displayName="Breadcrumbs";const ql=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,i=bt(t),a=typeof r=="string",{children:s,href:c,isCurrent:d}=e,{itemProps:f}=gg({isDisabled:n,isCurrent:d,elementType:a?r:"a",...o},i),{isPressed:p,pressProps:b}=io({isDisabled:n??d,ref:i}),{isFocusVisible:h,focusProps:g}=Ur(),m=[p&&"pressed",n&&"disabled",h&&"focused"].filter(Boolean).join(" "),$=d||n?{}:{[a?"href":"to"]:c};return k(wo,{children:k(Kl,{as:r,...f,ref:i,"data-state":m,...g,...b,...$,children:s})})});ql.displayName="BreadcrumbItem";function Eo(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:i,onPressEnd:a,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:b,rel:h,type:g="button"}=e,m;r==="button"?m={type:g,disabled:n}:m={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?b:void 0,type:r==="input"?g:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:_,isPressed:$}=io({onPressStart:i,onPressEnd:a,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:y}=bo(e,t);d&&(y.tabIndex=n?-1:y.tabIndex);let E=xe(y,_,Zt(e,{labelable:!0}));return{isPressed:$,buttonProps:xe(m,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:v=>{f&&(f(v),console.warn("onClick is deprecated, please use onPress"))}})}}const Tg={small:`${u.spacing_200} ${u.spacing_300}`,large:`${u.spacing_300} ${u.spacing_400}`},Fe=I.button`
346
344
  appearance: none;
347
- border-radius: ${f.border_radius_400};
345
+ border-radius: ${u.border_radius_400};
348
346
  border: 1px solid transparent;
349
347
  font-style: normal;
350
- padding: ${({paddingSize:e})=>Cv[e]};
351
- font-family: ${f.font_family_inter};
348
+ padding: ${({paddingSize:e})=>Tg[e]};
349
+ font-family: ${u.font_family_sans};
352
350
  cursor: pointer;
353
351
  white-space: nowrap;
354
- max-width: ${f.spacing_900}; // not sure about this
355
- font-size: ${f.font_size_100};
356
- letter-spacing: ${f.letter_spacing_tight};
352
+ max-width: ${u.spacing_900}; /* not sure about this */
353
+ font-size: ${u.font_size_100};
354
+ letter-spacing: ${u.letter_spacing_tight};
357
355
  flex-shrink: 0;
358
356
  overflow: hidden;
359
357
  text-overflow: ellipsis;
360
358
  touch-action: none;
361
359
  -webkit-tap-highlight-color: transparent;
362
- transition-property: ${f.transition_property_color};
363
- transition-duration: ${f.transition_duration_100};
360
+ transition-property: ${u.transition_property_color};
361
+ transition-duration: ${u.transition_duration_100};
364
362
 
365
- // Not sure about this?
366
363
  &:focus-visible {
367
364
  outline: none;
368
365
  }
369
366
 
370
367
  &[data-state~='focused'] {
371
- outline-color: ${f.color_black};
372
- outline-style: solid;
373
- outline-width: 1px; // TODO make token?
368
+ outline: ${u.color_black} solid 1px;
374
369
  outline-offset: 2px;
375
370
  }
376
371
 
377
372
  &:disabled {
378
373
  cursor: not-allowed;
379
374
  }
380
- `,Tv=A.default(Re)`
381
- background: white;
375
+ `,Og=I(Fe)`
376
+ background: ${u.color_white};
382
377
  color: hsl(0, 0%, 7.84%);
383
- border: 1px solid ${f.color_outline_secondary_enabled};
378
+ border: 1px solid ${u.color_outline_secondary_enabled};
384
379
 
385
380
  &:hover {
386
- background: ${f.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Enabled */
387
- color: ${f.color_fill_primary_hover};
388
- border-color: ${f.color_outline_secondary_hover};
381
+ background: ${u.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Enabled */
382
+ color: ${u.color_fill_primary_hover};
383
+ border-color: ${u.color_outline_secondary_hover};
389
384
  }
390
385
 
391
386
  &[data-state~='pressed'] {
392
- background: ${f.color_overlay_secondary_pressed};
393
- color: ${f.color_outline_secondary_pressed};
394
- border-color: ${f.color_outline_secondary_pressed};
387
+ background: ${u.color_overlay_secondary_pressed};
388
+ color: ${u.color_outline_secondary_pressed};
389
+ border-color: ${u.color_outline_secondary_pressed};
395
390
  }
396
391
 
397
392
  &:disabled {
398
- color: ${f.color_fill_secondary_disabled};
399
- border-color: ${f.color_outline_secondary_disabled};
393
+ color: ${u.color_fill_secondary_disabled};
394
+ border-color: ${u.color_outline_secondary_disabled};
400
395
  }
401
- `,Ov=A.default(Re)`
402
- background: white;
403
- color: ${f.color_fill_danger_enabled};
404
- border: 1px solid ${f.color_outline_danger_enabled};
396
+ `,kg=I(Fe)`
397
+ background: ${u.color_white};
398
+ color: ${u.color_fill_danger_enabled};
399
+ border: 1px solid ${u.color_outline_danger_enabled};
405
400
 
406
401
  &:hover {
407
- color: ${f.color_fill_danger_hover};
408
- background: hsla(10.519, 67.54%, 55.29%, 0.06);
402
+ color: ${u.color_fill_danger_hover};
403
+ background: hsl(10.519deg 67.54%, 55.29% / 6%);
409
404
  }
410
405
 
411
406
  &[data-state~='pressed'] {
412
- background-color: hsla(10.52, 67.54%, 55.29%, 0.18);
413
- color: ${f.color_fill_danger_pressed};
407
+ background-color: hsl(10.52deg 67.54%, 55.29% / 18%);
408
+ color: ${u.color_fill_danger_pressed};
414
409
  }
415
410
 
416
411
  &:disabled {
417
- color: ${f.color_fill_danger_disabled};
412
+ color: ${u.color_fill_danger_disabled};
418
413
  }
419
- `,kv=A.default(Re)`
420
- background: ${f.color_overlay_inverse_enabled};
421
- border-color: ${f.color_outline_inverse_enabled};
422
- color: ${f.color_fill_inverse_enabled};
414
+ `,Dg=I(Fe)`
415
+ background: ${u.color_overlay_inverse_enabled};
416
+ border-color: ${u.color_outline_inverse_enabled};
417
+ color: ${u.color_fill_inverse_enabled};
423
418
 
424
419
  &:hover {
425
- background: ${f.color_overlay_inverse_hover};
426
- border-color: ${f.color_outline_inverse_hover};
427
- color: ${f.color_fill_inverse_hover};
420
+ background: ${u.color_overlay_inverse_hover};
421
+ border-color: ${u.color_outline_inverse_hover};
422
+ color: ${u.color_fill_inverse_hover};
428
423
  }
429
424
 
430
425
  &:focus {
431
- background: ${f.color_overlay_inverse_hover};
432
- border-color: ${f.color_outline_inverse_hover};
433
- color: ${f.color_fill_inverse_hover};
426
+ background: ${u.color_overlay_inverse_hover};
427
+ border-color: ${u.color_outline_inverse_hover};
428
+ color: ${u.color_fill_inverse_hover};
434
429
  /* TODO put in tokens Interactive / Focus / Outside */
435
430
  box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px black;
436
431
  }
437
432
 
438
433
  &[data-state~='pressed'] {
439
- background-color: ${f.color_overlay_inverse_pressed};
440
- color: ${f.color_outline_inverse_pressed};
434
+ background-color: ${u.color_overlay_inverse_pressed};
435
+ color: ${u.color_outline_inverse_pressed};
441
436
  }
442
437
 
443
438
  &:disabled {
444
439
  background-color: transparent;
445
- color: ${f.color_outline_inverse_disabled};
440
+ color: ${u.color_outline_inverse_disabled};
446
441
  }
447
- `,Dv={primary:Tv,danger:Ov,inverse:kv},Iv=A.default(Re)`
442
+ `,Ig={primary:Og,danger:kg,inverse:Dg},Ag=I(Fe)`
448
443
  background: hsla(
449
444
  217.35,
450
445
  81.6%,
@@ -455,239 +450,250 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
455
450
  color: hsl(0, 0%, 7.845%);
456
451
 
457
452
  &:hover {
458
- background: ${f.color_overlay_secondary_hover};
459
- color: ${f.color_fill_primary_hover};
453
+ background: ${u.color_overlay_secondary_hover};
454
+ color: ${u.color_fill_primary_hover};
460
455
  }
461
456
 
462
457
  &[data-state~='pressed'] {
463
- background: ${f.color_overlay_secondary_pressed};
464
- color: ${f.color_fill_primary_pressed};
458
+ background: ${u.color_overlay_secondary_pressed};
459
+ color: ${u.color_fill_primary_pressed};
465
460
  }
466
461
 
467
462
  &:disabled {
468
- color: ${f.color_fill_primary_disabled};
463
+ color: ${u.color_fill_primary_disabled};
469
464
  }
470
- `,Av=A.default(Re)`
471
- color: ${f.color_fill_danger_enabled};
465
+ `,Ng=I(Fe)`
466
+ color: ${u.color_fill_danger_enabled};
472
467
  background-color: hsl(217.35, 81.6%, 50.98%);
473
468
 
474
469
  &:hover {
475
- color: ${f.color_fill_danger_hover};
476
- background: ${f.color_overlay_secondary_hover};
470
+ color: ${u.color_fill_danger_hover};
471
+ background: ${u.color_overlay_secondary_hover};
477
472
  }
478
473
 
479
474
  &:focus {
480
- border-color: ${f.color_outline_danger_enabled};
475
+ border-color: ${u.color_outline_danger_enabled};
481
476
  }
482
477
 
483
478
  &[data-state~='pressed'] {
484
- background-color: ${f.color_overlay_secondary_pressed};
485
- color: ${f.color_fill_danger_pressed};
479
+ background-color: ${u.color_overlay_secondary_pressed};
480
+ color: ${u.color_fill_danger_pressed};
486
481
  border-color: transparent;
487
482
  }
488
483
 
489
484
  &:disabled {
490
- color: ${f.color_fill_danger_disabled};
485
+ color: ${u.color_fill_danger_disabled};
491
486
  }
492
- `,Nv=A.default(Re)`
493
- background: ${f.color_overlay_inverse_enabled};
487
+ `,Mg=I(Fe)`
488
+ background: ${u.color_overlay_inverse_enabled};
494
489
  border-color: transparent;
495
- color: ${f.color_fill_inverse_enabled};
490
+ color: ${u.color_fill_inverse_enabled};
496
491
 
497
492
  &:hover {
498
- background: ${f.color_overlay_inverse_hover};
499
- color: ${f.color_fill_inverse_hover};
493
+ background: ${u.color_overlay_inverse_hover};
494
+ color: ${u.color_fill_inverse_hover};
500
495
  }
501
496
 
502
497
  &:focus {
503
- background: ${f.color_overlay_inverse_hover};
498
+ background: ${u.color_overlay_inverse_hover};
504
499
  /* TODO put in tokens Interactive / Focus / Outside */
505
500
  box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px black;
506
501
  }
507
502
 
508
503
  &[data-state~='pressed'] {
509
- background-color: ${f.color_overlay_inverse_pressed};
510
- color: ${f.color_fill_inverse_pressed};
504
+ background-color: ${u.color_overlay_inverse_pressed};
505
+ color: ${u.color_fill_inverse_pressed};
511
506
  }
512
507
 
513
508
  &:disabled {
514
- background-color: ${f.color_fill_inverse_disabled};
515
- color: ${f.color_outline_inverse_disabled};
509
+ background-color: ${u.color_fill_inverse_disabled};
510
+ color: ${u.color_outline_inverse_disabled};
516
511
  }
517
- `,Mv={primary:Iv,danger:Av,inverse:Nv},Lv=A.default(Re)`
518
- background: ${f.color_fill_primary_enabled};
519
- color: ${f.color_white};
512
+ `,Lg={primary:Ag,danger:Ng,inverse:Mg},Fg=I(Fe)`
513
+ background: ${u.color_fill_primary_enabled};
514
+ color: ${u.color_white};
520
515
 
521
516
  &:hover {
522
- background: ${f.color_fill_primary_hover};
523
- color: ${f.color_fill_inverse_hover};
517
+ background: ${u.color_fill_primary_hover};
518
+ color: ${u.color_fill_inverse_hover};
524
519
  }
525
520
 
526
521
  &[data-state~='pressed'] {
527
- background: ${f.color_fill_primary_pressed};
522
+ background: ${u.color_fill_primary_pressed};
528
523
  }
529
524
 
530
525
  &:disabled {
531
- background: ${f.color_fill_primary_disabled};
532
- color: ${f.color_fill_inverse_pressed};
526
+ background: ${u.color_fill_primary_disabled};
527
+ color: ${u.color_fill_inverse_pressed};
533
528
  }
534
- `,Fv=A.default(Re)`
535
- background: ${f.color_fill_secondary_enabled};
536
- color: ${f.color_fill_primary_enabled};
529
+ `,Rg=I(Fe)`
530
+ background: ${u.color_fill_secondary_enabled};
531
+ color: ${u.color_fill_primary_enabled};
537
532
 
538
533
  &:hover {
539
- background: ${f.color_fill_secondary_hover};
540
- color: ${f.color_fill_primary_hover};
534
+ background: ${u.color_fill_secondary_hover};
535
+ color: ${u.color_fill_primary_hover};
541
536
  }
542
537
 
543
538
  &[data-state~='pressed'] {
544
- background: ${f.color_fill_secondary_pressed};
545
- color: ${f.color_fill_primary_enabled};
539
+ background: ${u.color_fill_secondary_pressed};
540
+ color: ${u.color_fill_primary_enabled};
546
541
  }
547
542
 
548
543
  &:disabled {
549
- background: ${f.color_fill_secondary_disabled};
544
+ background: ${u.color_fill_secondary_disabled};
550
545
  }
551
- `,Rv=A.default(Re)`
552
- background: ${f.color_fill_danger_enabled};
553
- color: ${f.color_white};
546
+ `,zg=I(Fe)`
547
+ background: ${u.color_fill_danger_enabled};
548
+ color: ${u.color_white};
554
549
 
555
550
  &:hover {
556
- color: ${f.color_fill_inverse_hover};
557
- background: ${f.color_fill_danger_hover};
551
+ color: ${u.color_fill_inverse_hover};
552
+ background: ${u.color_fill_danger_hover};
558
553
  }
559
554
 
560
555
  &[data-state~='pressed'] {
561
- background-color: ${f.color_fill_danger_pressed};
562
- color: ${f.color_fill_inverse_pressed};
556
+ background-color: ${u.color_fill_danger_pressed};
557
+ color: ${u.color_fill_inverse_pressed};
563
558
  }
564
559
 
565
560
  &:disabled {
566
- background: ${f.color_fill_danger_disabled};
561
+ background: ${u.color_fill_danger_disabled};
567
562
  }
568
- `,zv=A.default(Re)`
569
- background: ${f.color_white};
563
+ `,Vg=I(Fe)`
564
+ background: ${u.color_white};
570
565
 
571
566
  &:hover {
572
- background-color: ${f.color_fill_inverse_hover};
567
+ background-color: ${u.color_fill_inverse_hover};
573
568
  }
574
569
 
575
570
  &[data-state~='pressed'] {
576
- background-color: ${f.color_fill_inverse_pressed};
571
+ background-color: ${u.color_fill_inverse_pressed};
577
572
  }
578
573
 
579
574
  &:disabled {
580
- background: ${f.color_fill_inverse_disabled};
575
+ background: ${u.color_fill_inverse_disabled};
581
576
  }
582
- `,Vv={low:Mv,medium:Dv,high:{primary:Lv,secondary:Fv,danger:Rv,inverse:zv}},To=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:i=!1,onClick:a,autoFocus:s,children:c,...u}=e,d=bt(t),{buttonProps:p,isPressed:b}=Co({onPress:a,isDisabled:i,autoFocus:s,...u},d),{isFocusVisible:h,focusProps:v}=Nr({autoFocus:s}),$=[h?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),w=Vv[o][n];return T(w,{ref:d,"data-state":$,paddingSize:r,...u,...p,...v,children:c})});To.displayName="Button";function Xr(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const Jl="Checkbox",[jv,SE]=Se(Jl),[Bv,Wv]=jv(Jl),Uv=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:u,...d}=e,[p,b]=l.useState(null),h=le(t,_=>b(_)),v=l.useRef(!1),m=p?Boolean(p.closest("form")):!0,[y=!1,$]=Me({prop:o,defaultProp:i,onChange:u});return l.createElement(Bv,{scope:r,state:y,disabled:s},l.createElement(Q.button,C({type:"button",role:"checkbox","aria-checked":gt(y)?"mixed":y,"aria-required":a,"data-state":Zl(y),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:h,onKeyDown:K(e.onKeyDown,_=>{_.key==="Enter"&&_.preventDefault()}),onClick:K(e.onClick,_=>{$(w=>gt(w)?!0:!w),m&&(v.current=_.isPropagationStopped(),v.current||_.stopPropagation())})})),m&&l.createElement(Gv,{control:p,bubbles:!v.current,name:n,value:c,checked:y,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),Kv="CheckboxIndicator",Hv=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,i=Wv(Kv,r);return l.createElement(De,{present:n||gt(i.state)||i.state===!0},l.createElement(Q.span,C({"data-state":Zl(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),Gv=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=Xr(r),s=Hr(t);return l.useEffect(()=>{const c=i.current,u=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==r&&p){const b=new Event("click",{bubbles:n});c.indeterminate=gt(r),p.call(c,gt(r)?!1:r),c.dispatchEvent(b)}},[a,r,n]),l.createElement("input",C({type:"checkbox","aria-hidden":!0,defaultChecked:gt(r)?!1:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function gt(e){return e==="indeterminate"}function Zl(e){return gt(e)?"indeterminate":e?"checked":"unchecked"}const qv=Uv,Yv=Hv,Oo=l.createContext(!1);Oo.displayName="FieldsetContext";const Ql=A.default.fieldset`
577
+ `,jg={low:Lg,medium:Ig,high:{primary:Fg,secondary:Rg,danger:zg,inverse:Vg}},Po=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:i=!1,onClick:a,autoFocus:s,children:c,...d}=e,f=bt(t),{buttonProps:p,isPressed:b}=Eo({onPress:a,isDisabled:i,autoFocus:s,...d},f),{isFocusVisible:h,focusProps:g}=Ur({autoFocus:s}),$=[h?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),E=jg[o][n];return k(E,{ref:f,"data-state":$,paddingSize:r,...p,...g,...d,children:c})});Po.displayName="Button";function qr(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const Yl="Checkbox",[Bg,CE]=Pe(Yl),[Wg,Ug]=Bg(Yl),Kg=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:d,...f}=e,[p,b]=l.useState(null),h=se(t,y=>b(y)),g=l.useRef(!1),m=p?Boolean(p.closest("form")):!0,[_=!1,$]=Ne({prop:o,defaultProp:i,onChange:d});return l.createElement(Wg,{scope:r,state:_,disabled:s},l.createElement(te.button,C({type:"button",role:"checkbox","aria-checked":vt(_)?"mixed":_,"aria-required":a,"data-state":Xl(_),"data-disabled":s?"":void 0,disabled:s,value:c},f,{ref:h,onKeyDown:H(e.onKeyDown,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:H(e.onClick,y=>{$(E=>vt(E)?!0:!E),m&&(g.current=y.isPropagationStopped(),g.current||y.stopPropagation())})})),m&&l.createElement(qg,{control:p,bubbles:!g.current,name:n,value:c,checked:_,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),Hg="CheckboxIndicator",Gg=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,i=Ug(Hg,r);return l.createElement(ke,{present:n||vt(i.state)||i.state===!0},l.createElement(te.span,C({"data-state":Xl(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),qg=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=qr(r),s=Lr(t);return l.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==r&&p){const b=new Event("click",{bubbles:n});c.indeterminate=vt(r),p.call(c,vt(r)?!1:r),c.dispatchEvent(b)}},[a,r,n]),l.createElement("input",C({type:"checkbox","aria-hidden":!0,defaultChecked:vt(r)?!1:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function vt(e){return e==="indeterminate"}function Xl(e){return vt(e)?"indeterminate":e?"checked":"unchecked"}const Yg=Kg,Xg=Gg,So=l.createContext(!1);So.displayName="FieldsetContext";const Jl=I.fieldset`
583
578
  padding: 0;
584
579
  border: none;
585
- `;function Xv({children:e,disabled:t,...r}){const o=tt()||Boolean(t);return T(Oo.Provider,{value:o,children:T(Ql,{disabled:t,...r,children:e})})}function tt(){return l.useContext(Oo)}function Jv(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:i="label"}=e;t=ht(t);let a=ht(),s={};r?(n=n?`${n} ${a}`:a,s={id:a,htmlFor:i==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let c=ub({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function ec(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:i}=Jv(e),a=es([Boolean(t),Boolean(r),n]),s=es([Boolean(t),Boolean(r),n]);return i=we(i,{"aria-describedby":[a,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:a},errorMessageProps:{id:s}}}function Jr(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:i=!1,validationState:a,type:s="text",onChange:c=()=>{}}=e,{focusableProps:u}=fo(e,t),{labelProps:d,fieldProps:p,descriptionProps:b,errorMessageProps:h}=ec(e),v=Yt(e,{labelable:!0});const m={type:s,pattern:e.pattern};return{labelProps:d,inputProps:we(v,r==="input"&&m,{disabled:n,readOnly:i,"aria-required":o||void 0,"aria-invalid":a==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:y=>c(y.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...p}),descriptionProps:b,errorMessageProps:h}}function tc(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Zv(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!tc())return;let d=r.current,p=b=>{let h=n.current,v;switch(b.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":v=d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentForward":v=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd+1):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentBackward":v=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart-1)+d.value.slice(d.selectionStart):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":v=d.value.slice(d.selectionStart);break;default:b.data!=null&&(v=d.value.slice(0,d.selectionStart)+b.data+d.value.slice(d.selectionEnd));break}(v==null||!h.validate(v))&&b.preventDefault()};return d.addEventListener("beforeinput",p,!1),()=>{d.removeEventListener("beforeinput",p,!1)}},[r,n]);let o=tc()?null:d=>{let p=d.target.value.slice(0,d.target.selectionStart)+d.data+d.target.value.slice(d.target.selectionEnd);t.validate(p)||d.preventDefault()},{labelProps:i,inputProps:a,descriptionProps:s,errorMessageProps:c}=Jr(e,r),u=l.useRef(null);return{inputProps:we(a,{onBeforeInput:o,onCompositionStart(){let{value:d,selectionStart:p,selectionEnd:b}=r.current;u.current={value:d,selectionStart:p,selectionEnd:b}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:d,selectionStart:p,selectionEnd:b}=u.current;r.current.value=d,r.current.setSelectionRange(p,b),t.setInputValue(d)}}}),labelProps:i,descriptionProps:s,errorMessageProps:c}}const ko=A.default.label`
586
- font-family: ${f.font_family_sans};
580
+ `;function Jg({children:e,disabled:t,...r}){const o=tt()||Boolean(t);return k(So.Provider,{value:o,children:k(Jl,{disabled:t,...r,children:e})})}function tt(){return l.useContext(So)}function Zg(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:i="label"}=e;t=mt(t);let a=mt(),s={};r?(n=n?`${n} ${a}`:a,s={id:a,htmlFor:i==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let c=Sb({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function Zl(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:i}=Zg(e),a=Os([Boolean(t),Boolean(r),n]),s=Os([Boolean(t),Boolean(r),n]);return i=xe(i,{"aria-describedby":[a,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:a},errorMessageProps:{id:s}}}function Yr(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:i=!1,validationState:a,type:s="text",onChange:c=()=>{}}=e,{focusableProps:d}=bo(e,t),{labelProps:f,fieldProps:p,descriptionProps:b,errorMessageProps:h}=Zl(e),g=Zt(e,{labelable:!0});const m={type:s,pattern:e.pattern};return{labelProps:f,inputProps:xe(g,r==="input"&&m,{disabled:n,readOnly:i,"aria-required":o||void 0,"aria-invalid":a==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:_=>c(_.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...d,...p}),descriptionProps:b,errorMessageProps:h}}function Ql(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Qg(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!Ql())return;let f=r.current,p=b=>{let h=n.current,g;switch(b.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":g=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":g=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd+1):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentBackward":g=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart-1)+f.value.slice(f.selectionStart):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":g=f.value.slice(f.selectionStart);break;default:b.data!=null&&(g=f.value.slice(0,f.selectionStart)+b.data+f.value.slice(f.selectionEnd));break}(g==null||!h.validate(g))&&b.preventDefault()};return f.addEventListener("beforeinput",p,!1),()=>{f.removeEventListener("beforeinput",p,!1)}},[r,n]);let o=Ql()?null:f=>{let p=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(p)||f.preventDefault()},{labelProps:i,inputProps:a,descriptionProps:s,errorMessageProps:c}=Yr(e,r),d=l.useRef(null);return{inputProps:xe(a,{onBeforeInput:o,onCompositionStart(){let{value:f,selectionStart:p,selectionEnd:b}=r.current;d.current={value:f,selectionStart:p,selectionEnd:b}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:f,selectionStart:p,selectionEnd:b}=d.current;r.current.value=f,r.current.setSelectionRange(p,b),t.setInputValue(f)}}}),labelProps:i,descriptionProps:s,errorMessageProps:c}}const Co=I.label`
581
+ font-family: ${u.font_family_sans};
587
582
  margin: 0;
588
583
  font-style: normal;
589
584
  display: var(--label-display);
590
- gap: ${f.sizing_200};
585
+ gap: ${u.sizing_200};
591
586
  align-items: center;
592
587
  font-weight: var(--label-font-weight, 400);
593
- color: ${f.color_background_black_standard};
594
- `,Qv=A.default(ko)`
595
- font-size: ${f.font_size_label_small};
596
- letter-spacing: ${f.letter_spacing_label_small};
597
- line-height: ${f.line_height_label_small};
598
- `,eg=A.default(ko)`
599
- font-size: ${f.font_size_label_large};
600
- letter-spacing: ${f.letter_spacing_label_large};
601
- line-height: ${f.line_height_label_large};
602
- `,tg=A.default(ko)`
603
- font-size: ${f.font_size_label_medium};
604
- letter-spacing: ${f.letter_spacing_label_medium};
605
- line-height: ${f.line_height_label_medium};
606
- `,rg={small:Qv,medium:tg,large:eg};function rt({children:e,bold:t,size:r="small",display:n="inline-flex",...o}){const i=rg[r];return T(i,{...o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const ng={small:"7px 8px",large:"11px 12px"},er=A.default.input`
607
- padding: ${({paddingSize:e="small"})=>ng[e]}; // add default?
588
+ color: ${u.color_background_black_standard};
589
+
590
+ ${e=>e.srOnly&&`position: absolute;
591
+ width: 1px;
592
+ height: 1px;
593
+ padding: 0;
594
+ margin: -1px;
595
+ overflow: hidden;
596
+ clip: rect(0, 0, 0, 0);
597
+ white-space: nowrap;
598
+ border-width: 0;
599
+ `}
600
+ `,ev=I(Co)`
601
+ font-size: ${u.font_size_label_small};
602
+ letter-spacing: ${u.letter_spacing_label_small};
603
+ line-height: ${u.line_height_label_small};
604
+ `,tv=I(Co)`
605
+ font-size: ${u.font_size_label_large};
606
+ letter-spacing: ${u.letter_spacing_label_large};
607
+ line-height: ${u.line_height_label_large};
608
+ `,rv=I(Co)`
609
+ font-size: ${u.font_size_label_medium};
610
+ letter-spacing: ${u.letter_spacing_label_medium};
611
+ line-height: ${u.line_height_label_medium};
612
+ `,nv={small:ev,medium:rv,large:tv};function Xe({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...i}){const a=nv[r];return k(a,{...i,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const ov={small:"7px 8px",large:"11px 12px"},er=I.input`
613
+ padding: ${({paddingSize:e="small"})=>ov[e]}; // add default?
608
614
  appearance: none;
609
- border: 1px solid ${f.color_outline_secondary_enabled};
610
- border-radius: ${f.border_radius_400};
611
- line-height: ${f.line_height_body_medium};
615
+ border: 1px solid ${u.color_outline_secondary_enabled};
616
+ border-radius: ${u.border_radius_400};
617
+ line-height: ${u.line_height_body_medium};
612
618
 
613
- transition-property: ${f.transition_property_color};
614
- transition-duration: ${f.transition_duration_100};
619
+ transition-property: ${u.transition_property_color};
620
+ transition-duration: ${u.transition_duration_100};
615
621
 
616
622
  resize: none; // TODO make this toggleable with a prop
617
- font-family: ${f.font_family_inter};
623
+ font-family: ${u.font_family_sans};
618
624
 
619
625
  &::placeholder {
620
626
  font-weight: 400;
621
627
  font-style: normal;
622
- color: ${f.color_text_weak};
623
- font-size: ${f.font_size_100};
628
+ color: ${u.color_text_weak};
629
+ font-size: ${u.font_size_100};
624
630
  }
625
631
 
626
632
  &:hover {
627
- background-color: ${f.color_overlay_secondary_hover};
628
- border-color: ${f.color_outline_secondary_hover};
633
+ background-color: ${u.color_overlay_secondary_hover};
634
+ border-color: ${u.color_outline_secondary_hover};
629
635
  }
630
636
 
631
- &[data-state="invalid"],
637
+ &[data-state~="invalid"],
632
638
  &:invalid {
633
- border-color: ${f.color_outline_danger_enabled};
639
+ border-color: ${u.color_outline_danger_enabled};
634
640
  }
635
641
 
636
642
  /* &:active too? */
637
643
  &:focus-visible {
638
- background-color: ${f.color_overlay_secondary_enabled};
639
- outline: 1px solid ${f.color_black};
640
- border-color: ${f.color_black};
644
+ background-color: ${u.color_overlay_secondary_enabled};
645
+ outline: 1px solid ${u.color_black};
646
+ border-color: ${u.color_black};
641
647
  }
642
648
 
643
649
  &:disabled {
644
- /* border-color: ${f.color_outline_secondary_disabled}; */
645
- color: ${f.color_fill_primary_disabled};
650
+ /* border-color: ${u.color_outline_secondary_disabled}; */
651
+ color: ${u.color_fill_primary_disabled};
646
652
  cursor: not-allowed;
647
653
  border-color: revert;
648
654
  }
649
655
 
650
656
  &:disabled::placeholder {
651
- color: ${f.color_fill_primary_disabled};
657
+ color: ${u.color_fill_primary_disabled};
652
658
  }
653
- `,Zr=A.default.div`
659
+ `,tr=I.div`
654
660
  display: flex;
655
661
  flex-direction: column;
656
662
  justify-content: space-between;
657
663
 
658
- gap: ${f.sizing_200};
664
+ gap: ${u.sizing_200};
659
665
  position: relative;
660
- font-family: ${f.font_family_inter};
666
+ font-family: ${u.font_family_sans};
661
667
  font-style: normal;
662
668
  font-weight: 400;
663
- font-size: ${f.font_size_100};
664
- line-height: ${f.line_height_129};
665
- border-radius: ${f.border_radius_400};
666
- letter-spacing: ${f.letter_spacing_tight};
669
+ font-size: ${u.font_size_100};
670
+ line-height: ${u.line_height_129};
671
+ border-radius: ${u.border_radius_400};
672
+ letter-spacing: ${u.letter_spacing_tight};
667
673
 
668
674
  /* max-width: 300px; make configurable with prop? */
669
- `,Qr=A.default.div`
675
+ `,Xr=I.div`
670
676
  display: flex;
671
677
  align-items: center;
672
678
  gap: 5.33px; // TODO update sizing this is 1/3rem
673
- color: ${f.color_text_sentiment_negative};
674
- font-size: ${f.font_size_50};
675
- font-family: ${f.font_family_sans};
679
+ color: ${u.color_text_sentiment_negative};
680
+ font-size: ${u.font_size_50};
681
+ font-family: ${u.font_family_sans};
676
682
  /* max-height? with overflow-x? */
677
683
 
678
684
  & > svg {
679
- font-size: ${f.font_size_200};
685
+ font-size: ${u.font_size_200};
680
686
  line-height: 0;
681
687
  /* display: inline-flex;
682
688
  align-self: center; */
683
689
  }
684
- `,en=A.default.div`
685
- color: ${f.color_text_weak};
686
- font-size: ${f.font_size_50};
687
- line-height: ${f.line_height_133};
688
- font-family: ${f.font_family_sans};
690
+ `,Jr=I.div`
691
+ color: ${u.color_text_weak};
692
+ font-size: ${u.font_size_50};
693
+ line-height: ${u.line_height_133};
694
+ font-family: ${u.font_family_sans};
689
695
  /* max-height? with overflow-x? */
690
- `;A.default.div`
696
+ `;I.div`
691
697
  position: absolute;
692
698
  right: 8px;
693
699
  top: 0;
@@ -695,67 +701,63 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
695
701
  display: flex;
696
702
  align-items: center;
697
703
  pointer-events: none;
698
- `;const Do=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:i,required:a,paddingSize:s="small",label:c,validationState:u,placeholder:d="Enter text...",...p}=e,b=bt(t),h=tt(),v=o||h,{labelProps:m,descriptionProps:y,inputProps:$,errorMessageProps:_}=Jr({...p,isDisabled:v,isReadOnly:i,isRequired:a,placeholder:d,label:c},b);let w=null;return typeof c=="string"?w=T(rt,{...m,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...m})),ce(Zr,{children:[w,T(er,{"data-state":u,paddingSize:s,ref:b,placeholder:"Enter...",type:"text",...$}),r&&ce(Qr,{..._,children:[T(xe.Error,{}),r]}),n&&T(en,{...y,children:n})]})});Do.displayName="TextInput";const[tn,CE]=Se("Tooltip",[Gr]),rn=Gr(),og="TooltipProvider",ig=700,Io="tooltip.open",[ag,Ao]=tn(og),sg=e=>{const{__scopeTooltip:t,delayDuration:r=ig,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:i}=e,[a,s]=l.useState(!0),c=l.useRef(!1),u=l.useRef(0);return l.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),l.createElement(ag,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:l.useCallback(d=>{c.current=d},[]),disableHoverableContent:o},i)},No="Tooltip",[lg,tr]=tn(No),cg=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,c=Ao(No,e.__scopeTooltip),u=rn(t),[d,p]=l.useState(null),b=Ke(),h=l.useRef(0),v=a!=null?a:c.disableHoverableContent,m=s!=null?s:c.delayDuration,y=l.useRef(!1),[$=!1,_]=Me({prop:n,defaultProp:o,onChange:O=>{O?(c.onOpen(),document.dispatchEvent(new CustomEvent(Io))):c.onClose(),i==null||i(O)}}),w=l.useMemo(()=>$?y.current?"delayed-open":"instant-open":"closed",[$]),g=l.useCallback(()=>{window.clearTimeout(h.current),y.current=!1,_(!0)},[_]),D=l.useCallback(()=>{window.clearTimeout(h.current),_(!1)},[_]),M=l.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{y.current=!0,_(!0)},m)},[m,_]);return l.useEffect(()=>()=>window.clearTimeout(h.current),[]),l.createElement(Nl,u,l.createElement(lg,{scope:t,contentId:b,open:$,stateAttribute:w,trigger:d,onTriggerChange:p,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?M():g()},[c.isOpenDelayed,M,g]),onTriggerLeave:l.useCallback(()=>{v?D():window.clearTimeout(h.current)},[D,v]),onOpen:g,onClose:D,disableHoverableContent:v},r))},rc="TooltipTrigger",ug=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=tr(rc,r),i=Ao(rc,r),a=rn(r),s=l.useRef(null),c=le(t,s,o.onTriggerChange),u=l.useRef(!1),d=l.useRef(!1),p=l.useCallback(()=>u.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),l.createElement(Ml,C({asChild:!0},a),l.createElement(Q.button,C({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:K(e.onPointerMove,b=>{b.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:K(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:K(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:K(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:K(e.onBlur,o.onClose),onClick:K(e.onClick,o.onClose)})))}),nc="TooltipPortal",[dg,fg]=tn(nc,{forceMount:void 0}),pg=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,i=tr(nc,t);return l.createElement(dg,{scope:t,forceMount:r},l.createElement(De,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},n)))},rr="TooltipContent",hg=l.forwardRef((e,t)=>{const r=fg(rr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,a=tr(rr,e.__scopeTooltip);return l.createElement(De,{present:n||a.open},a.disableHoverableContent?l.createElement(oc,C({side:o},i,{ref:t})):l.createElement(bg,C({side:o},i,{ref:t})))}),bg=l.forwardRef((e,t)=>{const r=tr(rr,e.__scopeTooltip),n=Ao(rr,e.__scopeTooltip),o=l.useRef(null),i=le(t,o),[a,s]=l.useState(null),{trigger:c,onClose:u}=r,d=o.current,{onPointerInTransitChange:p}=n,b=l.useCallback(()=>{s(null),p(!1)},[p]),h=l.useCallback((v,m)=>{const y=v.currentTarget,$={x:v.clientX,y:v.clientY},_=_g($,y.getBoundingClientRect()),w=_==="right"||_==="bottom"?-5:5,D=_==="right"||_==="left"?{x:v.clientX+w,y:v.clientY}:{x:v.clientX,y:v.clientY+w},M=$g(m.getBoundingClientRect()),O=wg([D,...M]);s(O),p(!0)},[p]);return l.useEffect(()=>()=>b(),[b]),l.useEffect(()=>{if(c&&d){const v=y=>h(y,d),m=y=>h(y,c);return c.addEventListener("pointerleave",v),d.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",v),d.removeEventListener("pointerleave",m)}}},[c,d,h,b]),l.useEffect(()=>{if(a){const v=m=>{const y=m.target,$={x:m.clientX,y:m.clientY},_=(c==null?void 0:c.contains(y))||(d==null?void 0:d.contains(y)),w=!xg($,a);_?b():w&&(b(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[c,d,a,u,b]),l.createElement(oc,C({},e,{ref:i}))}),[mg,vg]=tn(No,{isInside:!1}),oc=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,c=tr(rr,r),u=rn(r),{onClose:d}=c;return l.useEffect(()=>(document.addEventListener(Io,d),()=>document.removeEventListener(Io,d)),[d]),l.useEffect(()=>{if(c.trigger){const p=b=>{const h=b.target;h!=null&&h.contains(c.trigger)&&d()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,d]),l.createElement(Ht,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:d},l.createElement(Ll,C({"data-state":c.stateAttribute},u,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),l.createElement(Cn,null,n),l.createElement(mg,{scope:r,isInside:!0},l.createElement(Ya,{id:c.contentId,role:"tooltip"},o||n))))}),gg="TooltipArrow",yg=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rn(r);return vg(gg,r).isInside?null:l.createElement(Fl,C({},o,n,{ref:t}))});function _g(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function $g(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function xg(e,t){const{x:r,y:n}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,c=t[i].y,u=t[a].x,d=t[a].y;c>n!=d>n&&r<(u-s)*(n-c)/(d-c)+s&&(o=!o)}return o}function wg(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Eg(t)}function Eg(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const Pg=sg,Sg=cg,Cg=ug,Tg=pg,Og=hg,kg=yg,Dg=A.default(Og)`
699
- padding: ${f.sizing_200} ${f.sizing_200};
700
- /* user-select: none; // TODO not sure about this */
701
- background: ${f.color_background_black_standard};
702
- color: ${f.color_text_white_standard};
703
- border-radius: ${f.border_radius_400};
704
- font-size: ${f.font_size_50};
705
- line-height: ${f.line_height_133}; /* identical to box height 16px, or 133% */
706
- font-family: ${f.font_family_inter};
707
- max-width: ${f.sizing_1000}; // TODO ask designers?
708
- z-index: 100; // TODO get from tokens
709
- `,Ig=A.default(kg)`
704
+ `;const To=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:i,required:a,paddingSize:s="small",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,b=bt(t),h=tt(),g=o??h,{labelProps:m,descriptionProps:_,inputProps:$,errorMessageProps:y}=Yr({...p,isDisabled:g,isReadOnly:i,isRequired:a,placeholder:f,label:c},b);let E=null;return typeof c=="string"?E=k(Xe,{...m,children:c}):l.isValidElement(c)&&(E=l.cloneElement(c,{...m})),le(tr,{children:[E,k(er,{"data-state":d,paddingSize:s,ref:b,placeholder:"Enter...",type:"text",...$}),r?le(Xr,{...y,children:[k($e.Error,{}),r]}):null,n?k(Jr,{..._,children:n}):null]})});To.displayName="TextInput";const[Zr,TE]=Pe("Tooltip",[Fr]),Qr=Fr(),iv="TooltipProvider",av=700,Oo="tooltip.open",[sv,ko]=Zr(iv),lv=e=>{const{__scopeTooltip:t,delayDuration:r=av,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:i}=e,[a,s]=l.useState(!0),c=l.useRef(!1),d=l.useRef(0);return l.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),l.createElement(sv,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(d.current),s(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:l.useCallback(f=>{c.current=f},[]),disableHoverableContent:o},i)},Do="Tooltip",[cv,rr]=Zr(Do),uv=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,c=ko(Do,e.__scopeTooltip),d=Qr(t),[f,p]=l.useState(null),b=Ue(),h=l.useRef(0),g=a??c.disableHoverableContent,m=s??c.delayDuration,_=l.useRef(!1),[$=!1,y]=Ne({prop:n,defaultProp:o,onChange:T=>{T?(c.onOpen(),document.dispatchEvent(new CustomEvent(Oo))):c.onClose(),i==null||i(T)}}),E=l.useMemo(()=>$?_.current?"delayed-open":"instant-open":"closed",[$]),v=l.useCallback(()=>{window.clearTimeout(h.current),_.current=!1,y(!0)},[y]),A=l.useCallback(()=>{window.clearTimeout(h.current),y(!1)},[y]),L=l.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{_.current=!0,y(!0)},m)},[m,y]);return l.useEffect(()=>()=>window.clearTimeout(h.current),[]),l.createElement(ms,d,l.createElement(cv,{scope:t,contentId:b,open:$,stateAttribute:E,trigger:f,onTriggerChange:p,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?L():v()},[c.isOpenDelayed,L,v]),onTriggerLeave:l.useCallback(()=>{g?A():window.clearTimeout(h.current)},[A,g]),onOpen:v,onClose:A,disableHoverableContent:g},r))},ec="TooltipTrigger",dv=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rr(ec,r),i=ko(ec,r),a=Qr(r),s=l.useRef(null),c=se(t,s,o.onTriggerChange),d=l.useRef(!1),f=l.useRef(!1),p=l.useCallback(()=>d.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),l.createElement(bs,C({asChild:!0},a),l.createElement(te.button,C({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:H(e.onPointerMove,b=>{b.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:H(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:H(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:H(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:H(e.onBlur,o.onClose),onClick:H(e.onClick,o.onClose)})))}),tc="TooltipPortal",[fv,pv]=Zr(tc,{forceMount:void 0}),hv=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,i=rr(tc,t);return l.createElement(fv,{scope:t,forceMount:r},l.createElement(ke,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},n)))},nr="TooltipContent",mv=l.forwardRef((e,t)=>{const r=pv(nr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,a=rr(nr,e.__scopeTooltip);return l.createElement(ke,{present:n||a.open},a.disableHoverableContent?l.createElement(rc,C({side:o},i,{ref:t})):l.createElement(bv,C({side:o},i,{ref:t})))}),bv=l.forwardRef((e,t)=>{const r=rr(nr,e.__scopeTooltip),n=ko(nr,e.__scopeTooltip),o=l.useRef(null),i=se(t,o),[a,s]=l.useState(null),{trigger:c,onClose:d}=r,f=o.current,{onPointerInTransitChange:p}=n,b=l.useCallback(()=>{s(null),p(!1)},[p]),h=l.useCallback((g,m)=>{const _=g.currentTarget,$={x:g.clientX,y:g.clientY},y=$v($,_.getBoundingClientRect()),E=y==="right"||y==="bottom"?-5:5,A=y==="right"||y==="left"?{x:g.clientX+E,y:g.clientY}:{x:g.clientX,y:g.clientY+E},L=xv(m.getBoundingClientRect()),T=Ev([A,...L]);s(T),p(!0)},[p]);return l.useEffect(()=>()=>b(),[b]),l.useEffect(()=>{if(c&&f){const g=_=>h(_,f),m=_=>h(_,c);return c.addEventListener("pointerleave",g),f.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",g),f.removeEventListener("pointerleave",m)}}},[c,f,h,b]),l.useEffect(()=>{if(a){const g=m=>{const _=m.target,$={x:m.clientX,y:m.clientY},y=(c==null?void 0:c.contains(_))||(f==null?void 0:f.contains(_)),E=!wv($,a);y?b():E&&(b(),d())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[c,f,a,d,b]),l.createElement(rc,C({},e,{ref:i}))}),[gv,vv]=Zr(Do,{isInside:!1}),rc=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,c=rr(nr,r),d=Qr(r),{onClose:f}=c;return l.useEffect(()=>(document.addEventListener(Oo,f),()=>document.removeEventListener(Oo,f)),[f]),l.useEffect(()=>{if(c.trigger){const p=b=>{const h=b.target;h!=null&&h.contains(c.trigger)&&f()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,f]),l.createElement(Ht,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:f},l.createElement(gs,C({"data-state":c.stateAttribute},d,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),l.createElement(Sn,null,n),l.createElement(gv,{scope:r,isInside:!0},l.createElement(Ga,{id:c.contentId,role:"tooltip"},o||n))))}),_v="TooltipArrow",yv=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Qr(r);return vv(_v,r).isInside?null:l.createElement(vs,C({},o,n,{ref:t}))});function $v(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function xv(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function wv(e,t){const{x:r,y:n}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,c=t[i].y,d=t[a].x,f=t[a].y;c>n!=f>n&&r<(d-s)*(n-c)/(f-c)+s&&(o=!o)}return o}function Ev(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Pv(t)}function Pv(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const Sv=lv,Cv=uv,Tv=dv,Ov=hv,kv=mv,Dv=yv,Iv=I(kv)`
705
+ padding: ${u.sizing_200} ${u.sizing_200};
706
+ background: ${u.color_background_black_standard};
707
+ color: ${u.color_text_white_standard};
708
+ border-radius: ${u.border_radius_400};
709
+ font-size: ${u.font_size_50};
710
+ line-height: ${u.line_height_133}; /* identical to box height 16px */
711
+ font-family: ${u.font_family_sans};
712
+ max-width: ${u.sizing_1000}; /* TODO ask designers? */
713
+ z-index: 100; /* TODO get from tokens */
714
+ `,Av=I(Dv)`
710
715
  fill: 'white';
711
- `;function Ag({children:e,...t}){return T(Tg,{children:ce(Dg,{...t,children:[e,T(Ig,{})]})})}const Ng=A.default(Cg)`
716
+ `;function Nv({children:e,...t}){return k(Ov,{children:le(Iv,{...t,children:[e,k(Av,{})]})})}const Mv=I(Tv)`
712
717
  appearance: none;
713
718
  padding: 0;
714
719
  border: none;
715
720
  background-color: unset;
716
721
  line-height: 0;
717
- `,ic=l.forwardRef((e,t)=>{const{children:r,...n}=e;return T(Ng,{ref:t,type:"button",...n,children:r})}),ac=Pg,sc=Sg,lc=Ag,Mg=A.default(ic)`
718
- color: ${f.color_text_white_weak};
722
+ `,Io=l.forwardRef((e,t)=>{const{children:r,...n}=e;return k(Mv,{ref:t,type:"button",...n,children:r})});Io.displayName="TooltipTrigger";const nc=Sv,oc=Cv,ic=Nv,Lv=I(Io)`
723
+ color: ${u.color_text_white_weak};
719
724
  margin-block: auto;
720
725
 
721
726
  & > svg {
722
727
  font-size: 0.9rem;
723
- /* ${f.font_size_200}; */
724
728
  line-height: 0;
725
- color: ${f.color_text_white_weak};
726
-
727
- transition-property: ${f.transition_property_color};
728
- transition-duration: ${f.transition_duration_100};
729
+ color: ${u.color_text_white_weak};
730
+ transition-property: ${u.transition_property_color};
731
+ transition-duration: ${u.transition_duration_100};
729
732
  }
730
733
 
731
734
  &:hover > svg {
732
- color: ${f.color_fill_primary_pressed};
735
+ color: ${u.color_fill_primary_pressed};
733
736
  }
734
737
 
735
738
  /* TODO check these colors with designers */
736
- &:not([data-state='closed']) > svg {
739
+ &:not([data-state~='closed']) > svg {
737
740
  color: steelblue;
738
- /* color: ${f.color_fill_primary_hover}; */
739
741
  }
740
- `;function nn({children:e,icon:t=T(xe.Help,{}),label:r="More info"}){return T(ac,{children:ce(sc,{children:[T(Mg,{children:T(qt,{label:r,children:t})}),T(lc,{sideOffset:5,children:e})]})})}const cc=7e3;let Mo=null;function Lg(e,t="assertive",r=cc){Mo||(Mo=new Fg),Mo.announce(e,t,r)}class Fg{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){!this.node||(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=cc){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){!this.node||((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function Rg(e){return e&&e.__esModule?e.default:e}var uc={},dc={};dc={Empty:"\u0641\u0627\u0631\u063A"};var fc={};fc={Empty:"\u0418\u0437\u043F\u0440\u0430\u0437\u043D\u0438"};var pc={};pc={Empty:"Pr\xE1zdn\xE9"};var hc={};hc={Empty:"Tom"};var bc={};bc={Empty:"Leer"};var mc={};mc={Empty:"\u0386\u03B4\u03B5\u03B9\u03BF"};var vc={};vc={Empty:"Empty"};var gc={};gc={Empty:"Vac\xEDo"};var yc={};yc={Empty:"T\xFChjenda"};var _c={};_c={Empty:"Tyhj\xE4"};var $c={};$c={Empty:"Vide"};var xc={};xc={Empty:"\u05E8\u05D9\u05E7"};var wc={};wc={Empty:"Prazno"};var Ec={};Ec={Empty:"\xDCres"};var Pc={};Pc={Empty:"Vuoto"};var Sc={};Sc={Empty:"\u7A7A"};var Cc={};Cc={Empty:"\uBE44\uC5B4 \uC788\uC74C"};var Tc={};Tc={Empty:"Tu\u0161\u010Dias"};var Oc={};Oc={Empty:"Tuk\u0161s"};var kc={};kc={Empty:"Tom"};var Dc={};Dc={Empty:"Leeg"};var Ic={};Ic={Empty:"Pusty"};var Ac={};Ac={Empty:"Vazio"};var Nc={};Nc={Empty:"Vazio"};var Mc={};Mc={Empty:"Gol"};var Lc={};Lc={Empty:"\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E"};var Fc={};Fc={Empty:"Pr\xE1zdne"};var Rc={};Rc={Empty:"Prazen"};var zc={};zc={Empty:"Prazno"};var Vc={};Vc={Empty:"Tomt"};var jc={};jc={Empty:"Bo\u015F"};var Bc={};Bc={Empty:"\u041F\u0443\u0441\u0442\u043E"};var Wc={};Wc={Empty:"\u7A7A"};var Uc={};Uc={Empty:"\u7A7A\u767D"},uc={"ar-AE":dc,"bg-BG":fc,"cs-CZ":pc,"da-DK":hc,"de-DE":bc,"el-GR":mc,"en-US":vc,"es-ES":gc,"et-EE":yc,"fi-FI":_c,"fr-FR":$c,"he-IL":xc,"hr-HR":wc,"hu-HU":Ec,"it-IT":Pc,"ja-JP":Sc,"ko-KR":Cc,"lt-LT":Tc,"lv-LV":Oc,"nb-NO":kc,"nl-NL":Dc,"pl-PL":Ic,"pt-BR":Ac,"pt-PT":Nc,"ro-RO":Mc,"ru-RU":Lc,"sk-SK":Fc,"sl-SI":Rc,"sr-SP":zc,"sv-SE":Vc,"tr-TR":jc,"uk-UA":Bc,"zh-CN":Wc,"zh-TW":Uc};function zg(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:i,isDisabled:a,isReadOnly:s,isRequired:c,onIncrement:u,onIncrementPage:d,onDecrement:p,onDecrementPage:b,onDecrementToMin:h,onIncrementToMax:v}=e;const m=Fr(Rg(uc)),y=l.useRef(e);y.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let _=S=>{if(!(S.ctrlKey||S.metaKey||S.shiftKey||S.altKey||s))switch(S.key){case"PageUp":if(d){S.preventDefault(),d();break}case"ArrowUp":case"Up":u&&(S.preventDefault(),u());break;case"PageDown":if(b){S.preventDefault(),b();break}case"ArrowDown":case"Down":p&&(S.preventDefault(),p());break;case"Home":h&&(S.preventDefault(),h());break;case"End":v&&(S.preventDefault(),v());break}},w=l.useRef(!1),g=()=>{w.current=!0},D=()=>{w.current=!1};n=n===""?m.format("Empty"):(n||`${r}`).replace("-","\u2212"),l.useEffect(()=>{w.current&&Lg(n,"assertive")},[n]);const M=l.useCallback(S=>{$(),y.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r<i)&&M(60)},S)},[u,i,r]),O=l.useCallback(S=>{$(),y.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&O(60)},S)},[p,o,r]);let N=S=>{S.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:G}=os();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":i,"aria-disabled":a||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:_,onFocus:g,onBlur:D},incrementButtonProps:{onPressStart:()=>{M(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),G()},onFocus:g,onBlur:D},decrementButtonProps:{onPressStart:()=>{O(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),G()},onFocus:g,onBlur:D}}}function Vg(e){return e&&e.__esModule?e.default:e}var Kc={},Hc={};Hc={decrease:e=>`\u062E\u0641\u0636 ${e.fieldLabel}`,increase:e=>`\u0632\u064A\u0627\u062F\u0629 ${e.fieldLabel}`,numberField:"\u062D\u0642\u0644 \u0631\u0642\u0645\u064A"};var Gc={};Gc={decrease:e=>`\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0441\u0438\u043B\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,numberField:"\u041D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043F\u043E\u043B\u0435\u0442\u043E"};var qc={};qc={decrease:e=>`Sn\xED\u017Eit ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161it ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var Yc={};Yc={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`\xD8g ${e.fieldLabel}`,numberField:"Talfelt"};var Xc={};Xc={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erh\xF6hen`,numberField:"Nummernfeld"};var Jc={};Jc={decrease:e=>`\u039C\u03B5\u03AF\u03C9\u03C3\u03B7 ${e.fieldLabel}`,increase:e=>`\u0391\u03CD\u03BE\u03B7\u03C3\u03B7 ${e.fieldLabel}`,numberField:"\u03A0\u03B5\u03B4\u03AF\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03BF\u03CD"};var Zc={};Zc={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Qc={};Qc={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"};var eu={};eu={decrease:e=>`V\xE4henda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri v\xE4li"};var tu={};tu={decrease:e=>`V\xE4henn\xE4 ${e.fieldLabel}`,increase:e=>`Lis\xE4\xE4 ${e.fieldLabel}`,numberField:"Numerokentt\xE4"};var ru={};ru={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var nu={};nu={decrease:e=>`\u05D4\u05E7\u05D8\u05DF ${e.fieldLabel}`,increase:e=>`\u05D4\u05D2\u05D3\u05DC ${e.fieldLabel}`,numberField:"\u05E9\u05D3\u05D4 \u05DE\u05E1\u05E4\u05E8"};var ou={};ou={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"};var iu={};iu={decrease:e=>`${e.fieldLabel} cs\xF6kkent\xE9se`,increase:e=>`${e.fieldLabel} n\xF6vel\xE9se`,numberField:"Sz\xE1mmez\u0151"};var au={};au={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var su={};su={decrease:e=>`${e.fieldLabel}\u3092\u7E2E\u5C0F`,increase:e=>`${e.fieldLabel}\u3092\u62E1\u5927`,numberField:"\u6570\u5024\u30D5\u30A3\u30FC\u30EB\u30C9"};var lu={};lu={decrease:e=>`${e.fieldLabel} \uAC10\uC18C`,increase:e=>`${e.fieldLabel} \uC99D\uAC00`,numberField:"\uBC88\uD638 \uD544\uB4DC"};var cu={};cu={decrease:e=>`Suma\u017Einti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var uu={};uu={decrease:e=>`Samazin\u0101\u0161ana ${e.fieldLabel}`,increase:e=>`Palielin\u0101\u0161ana ${e.fieldLabel}`,numberField:"Skait\u013Cu lauks"};var du={};du={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`\xD8k ${e.fieldLabel}`,numberField:"Tallfelt"};var fu={};fu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var pu={};pu={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwi\u0119ksz ${e.fieldLabel}`,numberField:"Pole numeru"};var hu={};hu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"};var bu={};bu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo num\xE9rico"};var mu={};mu={decrease:e=>`Sc\u0103dere ${e.fieldLabel}`,increase:e=>`Cre\u0219tere ${e.fieldLabel}`,numberField:"C\xE2mp numeric"};var vu={};vu={decrease:e=>`\u0423\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,numberField:"\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435"};var gu={};gu={decrease:e=>`Zn\xED\u017Ei\u0165 ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161i\u0165 ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var yu={};yu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Pove\u010Dajte ${e.fieldLabel}`,numberField:"\u0160tevil\u010Dno polje"};var _u={};_u={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var $u={};$u={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`\xD6ka ${e.fieldLabel}`,numberField:"Nummerf\xE4lt"};var xu={};xu={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} artt\u0131r`,numberField:"Say\u0131 alan\u0131"};var wu={};wu={decrease:e=>`\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,increase:e=>`\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,numberField:"\u041F\u043E\u043B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430"};var Eu={};Eu={decrease:e=>`\u964D\u4F4E ${e.fieldLabel}`,increase:e=>`\u63D0\u9AD8 ${e.fieldLabel}`,numberField:"\u6570\u5B57\u5B57\u6BB5"};var Pu={};Pu={decrease:e=>`\u7E2E\u5C0F ${e.fieldLabel}`,increase:e=>`\u653E\u5927 ${e.fieldLabel}`,numberField:"\u6578\u5B57\u6B04\u4F4D"},Kc={"ar-AE":Hc,"bg-BG":Gc,"cs-CZ":qc,"da-DK":Yc,"de-DE":Xc,"el-GR":Jc,"en-US":Zc,"es-ES":Qc,"et-EE":eu,"fi-FI":tu,"fr-FR":ru,"he-IL":nu,"hr-HR":ou,"hu-HU":iu,"it-IT":au,"ja-JP":su,"ko-KR":lu,"lt-LT":cu,"lv-LV":uu,"nb-NO":du,"nl-NL":fu,"pl-PL":pu,"pt-BR":hu,"pt-PT":bu,"ro-RO":mu,"ru-RU":vu,"sk-SK":gu,"sl-SI":yu,"sr-SP":_u,"sv-SE":$u,"tr-TR":xu,"uk-UA":wu,"zh-CN":Eu,"zh-TW":Pu};function jg(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:i,isDisabled:a,isReadOnly:s,isRequired:c,minValue:u,maxValue:d,autoFocus:p,validationState:b,label:h,formatOptions:v,onBlur:m=()=>{},onFocus:y,onFocusChange:$,onKeyDown:_,onKeyUp:w,description:g,errorMessage:D,...M}=e,{increment:O,incrementToMax:N,decrement:F,decrementToMin:G,numberValue:S,commit:Y}=t;const I=Fr(Vg(Kc));let P=ht(n),{focusProps:re}=io({onBlur:()=>{Y()}}),{spinButtonProps:Z,incrementButtonProps:fe,decrementButtonProps:ve}=zg({isDisabled:a,isReadOnly:s,isRequired:c,maxValue:d,minValue:u,onIncrement:O,onIncrementToMax:N,onDecrement:F,onDecrementToMin:G,value:S,textValue:t.inputValue}),[ee,E]=l.useState(!1),{focusWithinProps:L}=gs({isDisabled:a,onFocusWithinChange:E}),B=l.useCallback(Te=>{Math.abs(Te.deltaY)<=Math.abs(Te.deltaX)||(Te.deltaY>0?O():Te.deltaY<0&&F())},[F,O]);kb({onScroll:B,isDisabled:a||s||!ee},r);let V=Qb(v),q=l.useMemo(()=>V.resolvedOptions(),[V]).maximumFractionDigits>0,X=isNaN(t.minValue)||t.minValue<0,J="numeric";ss()?X?J="text":q&&(J="decimal"):ls()&&(X?J="numeric":q&&(J="decimal"));let oe=Te=>{t.setInputValue(Te)},ne=Yt(e),{labelProps:ge,inputProps:me,descriptionProps:Ee,errorMessageProps:Ve}=Zv({...M,...ne,label:h,autoFocus:p,isDisabled:a,isReadOnly:s,isRequired:c,validationState:b,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:P,type:"text",inputMode:J,onChange:oe,onBlur:m,onFocus:y,onFocusChange:$,onKeyDown:_,onKeyUp:w,description:g,errorMessage:D},t,r),ke=we(Z,re,me,{role:null,"aria-roledescription":Jn()?null:I.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),je=Te=>{document.activeElement!==r.current&&(Te.pointerType==="mouse"?r.current.focus():Te.target.focus())},ye=e["aria-label"]||(typeof e.label=="string"?e.label:""),_e;ye||(_e=e.label!=null?ge.id:e["aria-labelledby"]);let Ae=ht(),Ne=ht(),lt=we(fe,{"aria-label":i||I.format("increase",{fieldLabel:ye}).trim(),id:_e&&!i?Ae:null,"aria-labelledby":_e&&!i?`${Ae} ${_e}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:je}),Ut=we(ve,{"aria-label":o||I.format("decrease",{fieldLabel:ye}).trim(),id:_e&&!o?Ne:null,"aria-labelledby":_e&&!o?`${Ne} ${_e}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:je});return{groupProps:{role:"group","aria-disabled":a,"aria-invalid":b==="invalid"?"true":void 0,...L},labelProps:ge,inputProps:ke,incrementButtonProps:lt,decrementButtonProps:Ut,errorMessageProps:Ve,descriptionProps:Ee}}function Bg(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:i,defaultValue:a,onChange:s,locale:c,isDisabled:u,isReadOnly:d}=e,[p,b]=Xa(i,isNaN(a)?NaN:a,s),[h,v]=l.useState(()=>isNaN(p)?"":new bo(c,o).format(p)),m=l.useMemo(()=>new Ub(c,o),[c,o]),y=l.useMemo(()=>m.getNumberingSystem(h),[m,h]),$=l.useMemo(()=>new bo(c,{...o,numberingSystem:y}),[c,o,y]),_=l.useMemo(()=>$.resolvedOptions(),[$]),w=l.useCallback(ee=>isNaN(ee)||ee===null?"":$.format(ee),[$]),g=isNaN(n)?1:n;_.style==="percent"&&isNaN(n)&&(g=.01);let D=l.useRef(p),M=l.useRef(c),O=l.useRef(o);(!Object.is(p,D.current)||c!==M.current||o!==O.current)&&(v(w(p)),D.current=p,M.current=c,O.current=o);let N=l.useMemo(()=>m.parse(h),[m,h]),F=l.useRef(0);F.current=N;let G=()=>{if(!h.length){b(NaN),v(i===void 0?"":w(p));return}if(isNaN(F.current)){v(w(p));return}let ee;isNaN(n)?ee=Z0(F.current,t,r):ee=pt(F.current,t,r,n),ee=m.parse(w(ee)),b(ee),v(w(i===void 0?ee:p))},S=(ee,E)=>{let L=F.current;if(isNaN(L)){let B=isNaN(E)?0:E;return pt(B,t,r,g)}else{let B=pt(L,t,r,g);return ee==="+"&&B>L||ee==="-"&&B<L?B:pt(Lo(ee,L,g),t,r,g)}},Y=()=>{let ee=S("+",t);ee===p&&v(w(ee)),b(ee)},I=()=>{let ee=S("-",r);ee===p&&v(w(ee)),b(ee)},P=()=>{r!=null&&b(pt(r,t,r,g))},re=()=>{t!=null&&b(t)},Z=l.useMemo(()=>!u&&!d&&(isNaN(N)||isNaN(r)||pt(N,t,r,g)>N||Lo("+",N,g)<=r),[u,d,t,r,g,N]),fe=l.useMemo(()=>!u&&!d&&(isNaN(N)||isNaN(t)||pt(N,t,r,g)<N||Lo("-",N,g)>=t),[u,d,t,r,g,N]);return{validate:ee=>m.isValidPartialNumber(ee,t,r),increment:Y,incrementToMax:P,decrement:I,decrementToMin:re,canIncrement:Z,canDecrement:fe,minValue:t,maxValue:r,numberValue:N,setInputValue:v,inputValue:h,commit:G}}function Lo(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),i=r.toString().split("."),a=o[1]&&o[1].length||0,s=i[1]&&i[1].length||0,c=Math.pow(10,Math.max(a,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function Su(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=Co(e,t),{children:o,className:i}=e;return T("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:i,children:o})}const Wg=A.default.div`
741
- --border-color: ${f.color_outline_secondary_enabled};
742
+ `;function en({children:e,icon:t=k($e.Help,{}),label:r="More info"}){return k(nc,{children:le(oc,{children:[k(Lv,{children:k(qt,{label:r,children:t})}),k(ic,{sideOffset:5,children:e})]})})}const ac=7e3;let Ao=null;function Fv(e,t="assertive",r=ac){Ao||(Ao=new Rv),Ao.announce(e,t,r)}class Rv{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=ac){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function zv(e){return e&&e.__esModule?e.default:e}var sc={},lc={};lc={Empty:"فارغ"};var cc={};cc={Empty:"Изпразни"};var uc={};uc={Empty:"Prázdné"};var dc={};dc={Empty:"Tom"};var fc={};fc={Empty:"Leer"};var pc={};pc={Empty:"Άδειο"};var hc={};hc={Empty:"Empty"};var mc={};mc={Empty:"Vacío"};var bc={};bc={Empty:"Tühjenda"};var gc={};gc={Empty:"Tyhjä"};var vc={};vc={Empty:"Vide"};var _c={};_c={Empty:"ריק"};var yc={};yc={Empty:"Prazno"};var $c={};$c={Empty:"Üres"};var xc={};xc={Empty:"Vuoto"};var wc={};wc={Empty:"空"};var Ec={};Ec={Empty:"비어 있음"};var Pc={};Pc={Empty:"Tuščias"};var Sc={};Sc={Empty:"Tukšs"};var Cc={};Cc={Empty:"Tom"};var Tc={};Tc={Empty:"Leeg"};var Oc={};Oc={Empty:"Pusty"};var kc={};kc={Empty:"Vazio"};var Dc={};Dc={Empty:"Vazio"};var Ic={};Ic={Empty:"Gol"};var Ac={};Ac={Empty:"Не заполнено"};var Nc={};Nc={Empty:"Prázdne"};var Mc={};Mc={Empty:"Prazen"};var Lc={};Lc={Empty:"Prazno"};var Fc={};Fc={Empty:"Tomt"};var Rc={};Rc={Empty:"Boş"};var zc={};zc={Empty:"Пусто"};var Vc={};Vc={Empty:"空"};var jc={};jc={Empty:"空白"},sc={"ar-AE":lc,"bg-BG":cc,"cs-CZ":uc,"da-DK":dc,"de-DE":fc,"el-GR":pc,"en-US":hc,"es-ES":mc,"et-EE":bc,"fi-FI":gc,"fr-FR":vc,"he-IL":_c,"hr-HR":yc,"hu-HU":$c,"it-IT":xc,"ja-JP":wc,"ko-KR":Ec,"lt-LT":Pc,"lv-LV":Sc,"nb-NO":Cc,"nl-NL":Tc,"pl-PL":Oc,"pt-BR":kc,"pt-PT":Dc,"ro-RO":Ic,"ru-RU":Ac,"sk-SK":Nc,"sl-SI":Mc,"sr-SP":Lc,"sv-SE":Fc,"tr-TR":Rc,"uk-UA":zc,"zh-CN":Vc,"zh-TW":jc};function Vv(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:i,isDisabled:a,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:b,onDecrementToMin:h,onIncrementToMax:g}=e;const m=Gr(zv(sc)),_=l.useRef(e);_.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let y=S=>{if(!(S.ctrlKey||S.metaKey||S.shiftKey||S.altKey||s))switch(S.key){case"PageUp":if(f){S.preventDefault(),f();break}case"ArrowUp":case"Up":d&&(S.preventDefault(),d());break;case"PageDown":if(b){S.preventDefault(),b();break}case"ArrowDown":case"Down":p&&(S.preventDefault(),p());break;case"Home":h&&(S.preventDefault(),h());break;case"End":g&&(S.preventDefault(),g());break}},E=l.useRef(!1),v=()=>{E.current=!0},A=()=>{E.current=!1};n=n===""?m.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{E.current&&Fv(n,"assertive")},[n]);const L=l.useCallback(S=>{$(),_.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r<i)&&L(60)},S)},[d,i,r]),T=l.useCallback(S=>{$(),_.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&T(60)},S)},[p,o,r]);let M=S=>{S.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:G}=As();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":i,"aria-disabled":a||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:y,onFocus:v,onBlur:A},incrementButtonProps:{onPressStart:()=>{L(400),F(window,"contextmenu",M)},onPressEnd:()=>{$(),G()},onFocus:v,onBlur:A},decrementButtonProps:{onPressStart:()=>{T(400),F(window,"contextmenu",M)},onPressEnd:()=>{$(),G()},onFocus:v,onBlur:A}}}function jv(e){return e&&e.__esModule?e.default:e}var Bc={},Wc={};Wc={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Uc={};Uc={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Kc={};Kc={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Hc={};Hc={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var Gc={};Gc={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var qc={};qc={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var Yc={};Yc={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Xc={};Xc={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Jc={};Jc={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Zc={};Zc={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Qc={};Qc={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var eu={};eu={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var tu={};tu={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var ru={};ru={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var nu={};nu={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var ou={};ou={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var iu={};iu={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var au={};au={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var su={};su={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var lu={};lu={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var cu={};cu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var uu={};uu={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var du={};du={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var fu={};fu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var pu={};pu={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var hu={};hu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var mu={};mu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var bu={};bu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var gu={};gu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var vu={};vu={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var _u={};_u={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var yu={};yu={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var $u={};$u={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var xu={};xu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},Bc={"ar-AE":Wc,"bg-BG":Uc,"cs-CZ":Kc,"da-DK":Hc,"de-DE":Gc,"el-GR":qc,"en-US":Yc,"es-ES":Xc,"et-EE":Jc,"fi-FI":Zc,"fr-FR":Qc,"he-IL":eu,"hr-HR":tu,"hu-HU":ru,"it-IT":nu,"ja-JP":ou,"ko-KR":iu,"lt-LT":au,"lv-LV":su,"nb-NO":lu,"nl-NL":cu,"pl-PL":uu,"pt-BR":du,"pt-PT":fu,"ro-RO":pu,"ru-RU":hu,"sk-SK":mu,"sl-SI":bu,"sr-SP":gu,"sv-SE":vu,"tr-TR":_u,"uk-UA":yu,"zh-CN":$u,"zh-TW":xu};function Bv(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:i,isDisabled:a,isReadOnly:s,isRequired:c,minValue:d,maxValue:f,autoFocus:p,validationState:b,label:h,formatOptions:g,onBlur:m=()=>{},onFocus:_,onFocusChange:$,onKeyDown:y,onKeyUp:E,description:v,errorMessage:A,...L}=e,{increment:T,incrementToMax:M,decrement:F,decrementToMin:G,numberValue:S,commit:q}=t;const D=Gr(jv(Bc));let P=mt(n),{focusProps:ee}=co({onBlur:()=>{q()}}),{spinButtonProps:Q,incrementButtonProps:de,decrementButtonProps:fe}=Vv({isDisabled:a,isReadOnly:s,isRequired:c,maxValue:f,minValue:d,onIncrement:T,onIncrementToMax:M,onDecrement:F,onDecrementToMin:G,value:S,textValue:t.inputValue}),[J,w]=l.useState(!1),{focusWithinProps:N}=Gs({isDisabled:a,onFocusWithinChange:w}),B=l.useCallback(Ce=>{Math.abs(Ce.deltaY)<=Math.abs(Ce.deltaX)||(Ce.deltaY>0?T():Ce.deltaY<0&&F())},[F,T]);Hb({onScroll:B,isDisabled:a||s||!J},r);let V=mg(g),Y=l.useMemo(()=>V.resolvedOptions(),[V]).maximumFractionDigits>0,X=isNaN(t.minValue)||t.minValue<0,Z="numeric";Ls()?X?Z="text":Y&&(Z="decimal"):Fs()&&(X?Z="numeric":Y&&(Z="decimal"));let oe=Ce=>{t.setInputValue(Ce)},ne=Zt(e),{labelProps:ge,inputProps:be,descriptionProps:we,errorMessageProps:ze}=Qg({...L,...ne,label:h,autoFocus:p,isDisabled:a,isReadOnly:s,isRequired:c,validationState:b,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:P,type:"text",inputMode:Z,onChange:oe,onBlur:m,onFocus:_,onFocusChange:$,onKeyDown:y,onKeyUp:E,description:v,errorMessage:A},t,r),Oe=xe(Q,ee,be,{role:null,"aria-roledescription":to()?null:D.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ve=Ce=>{document.activeElement!==r.current&&(Ce.pointerType==="mouse"?r.current.focus():Ce.target.focus())},ve=e["aria-label"]||(typeof e.label=="string"?e.label:""),_e;ve||(_e=e.label!=null?ge.id:e["aria-labelledby"]);let Ie=mt(),Ae=mt(),lt=xe(de,{"aria-label":i||D.format("increase",{fieldLabel:ve}).trim(),id:_e&&!i?Ie:null,"aria-labelledby":_e&&!i?`${Ie} ${_e}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ve}),Ut=xe(fe,{"aria-label":o||D.format("decrease",{fieldLabel:ve}).trim(),id:_e&&!o?Ae:null,"aria-labelledby":_e&&!o?`${Ae} ${_e}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ve});return{groupProps:{role:"group","aria-disabled":a,"aria-invalid":b==="invalid"?"true":void 0,...N},labelProps:ge,inputProps:Oe,incrementButtonProps:lt,decrementButtonProps:Ut,errorMessageProps:ze,descriptionProps:we}}function Wv(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:i,defaultValue:a,onChange:s,locale:c,isDisabled:d,isReadOnly:f}=e,[p,b]=Ps(i,isNaN(a)?NaN:a,s),[h,g]=l.useState(()=>isNaN(p)?"":new _o(c,o).format(p)),m=l.useMemo(()=>new ag(c,o),[c,o]),_=l.useMemo(()=>m.getNumberingSystem(h),[m,h]),$=l.useMemo(()=>new _o(c,{...o,numberingSystem:_}),[c,o,_]),y=l.useMemo(()=>$.resolvedOptions(),[$]),E=l.useCallback(J=>isNaN(J)||J===null?"":$.format(J),[$]),v=isNaN(n)?1:n;y.style==="percent"&&isNaN(n)&&(v=.01);let A=l.useRef(p),L=l.useRef(c),T=l.useRef(o);(!Object.is(p,A.current)||c!==L.current||o!==T.current)&&(g(E(p)),A.current=p,L.current=c,T.current=o);let M=l.useMemo(()=>m.parse(h),[m,h]),F=l.useRef(0);F.current=M;let G=()=>{if(!h.length){b(NaN),g(i===void 0?"":E(p));return}if(isNaN(F.current)){g(E(p));return}let J;isNaN(n)?J=hb(F.current,t,r):J=ht(F.current,t,r,n),J=m.parse(E(J)),b(J),g(E(i===void 0?J:p))},S=(J,w)=>{let N=F.current;if(isNaN(N)){let B=isNaN(w)?0:w;return ht(B,t,r,v)}else{let B=ht(N,t,r,v);return J==="+"&&B>N||J==="-"&&B<N?B:ht(No(J,N,v),t,r,v)}},q=()=>{let J=S("+",t);J===p&&g(E(J)),b(J)},D=()=>{let J=S("-",r);J===p&&g(E(J)),b(J)},P=()=>{r!=null&&b(ht(r,t,r,v))},ee=()=>{t!=null&&b(t)},Q=l.useMemo(()=>!d&&!f&&(isNaN(M)||isNaN(r)||ht(M,t,r,v)>M||No("+",M,v)<=r),[d,f,t,r,v,M]),de=l.useMemo(()=>!d&&!f&&(isNaN(M)||isNaN(t)||ht(M,t,r,v)<M||No("-",M,v)>=t),[d,f,t,r,v,M]);return{validate:J=>m.isValidPartialNumber(J,t,r),increment:q,incrementToMax:P,decrement:D,decrementToMin:ee,canIncrement:Q,canDecrement:de,minValue:t,maxValue:r,numberValue:M,setInputValue:g,inputValue:h,commit:G}}function No(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),i=r.toString().split("."),a=o[1]&&o[1].length||0,s=i[1]&&i[1].length||0,c=Math.pow(10,Math.max(a,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function wu(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=Eo(e,t),{children:o,className:i}=e;return k("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:i,children:o})}const Uv=I.div`
743
+ --border-color: ${u.color_outline_secondary_enabled};
742
744
  display: inline-grid;
743
745
  grid-template:
744
746
  'field increment'
745
747
  'field decrement'/1fr auto;
746
- border-radius: ${f.border_radius_400};
748
+ border-radius: ${u.border_radius_400};
747
749
 
748
750
  &:hover {
749
- --border-color: ${f.color_outline_secondary_hover};
750
- background-color: ${f.color_overlay_secondary_hover};
751
+ --border-color: ${u.color_outline_secondary_hover};
752
+ background-color: ${u.color_overlay_secondary_hover};
751
753
  }
752
754
 
753
755
  &:focus-within {
754
- background-color: ${f.color_overlay_secondary_enabled};
756
+ background-color: ${u.color_overlay_secondary_enabled};
755
757
  outline: 1px solid black;
756
- --border-color: ${f.color_black};
758
+ --border-color: ${u.color_black};
757
759
  }
758
- `,Ug=A.default(er)`
760
+ `,Kv=I(er)`
759
761
  border-top-right-radius: 0;
760
762
  border-color: var(--border-color);
761
763
  border-bottom-right-radius: 0;
@@ -764,10 +766,10 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
764
766
  grid-area: field;
765
767
  margin: 0;
766
768
  margin-right: -1px; // to make the borders overlap
767
- `,Cu=A.default(Su)`
769
+ `,Eu=I(wu)`
768
770
  display: grid;
769
771
  place-items: center;
770
- color: ${f.color_text_weak};
772
+ color: ${u.color_text_weak};
771
773
  margin: 0;
772
774
  padding: 0;
773
775
  width: 20px;
@@ -779,26 +781,26 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
779
781
  border-left-width: 0px;
780
782
  border-left-color: transparent;
781
783
 
782
- background-color: white;
784
+ background-color: ${u.color_white}
783
785
 
784
- transition-property: ${f.transition_property_color};
785
- transition-duration: ${f.transition_duration_150};
786
- outline-width: 0; // hmmm
786
+ transition-property: ${u.transition_property_color};
787
+ transition-duration: ${u.transition_duration_150};
788
+ outline-width: 0;
787
789
 
788
790
  &:hover {
789
- background-color: ${f.color_overlay_secondary_hover};
790
- color: ${f.color_fill_primary_hover};
791
+ background-color: ${u.color_overlay_secondary_hover};
792
+ color: ${u.color_fill_primary_hover};
791
793
  }
792
794
 
793
- &[data-state='pressed'] {
794
- background: ${f.color_fill_secondary_pressed};
795
- color: ${f.color_fill_primary_enabled};
795
+ &[data-state~='pressed'] {
796
+ background: ${u.color_fill_secondary_pressed};
797
+ color: ${u.color_fill_primary_enabled};
796
798
  border-color: transparent;
797
799
  outline: none;
798
800
  }
799
801
 
800
802
  &:disabled {
801
- background-color: ${f.color_fill_secondary_disabled};
803
+ background-color: ${u.color_fill_secondary_disabled};
802
804
  cursor: not-allowed;
803
805
  color: revert;
804
806
  border-color: none;
@@ -808,62 +810,48 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
808
810
  line-height: 0;
809
811
  font-size: 1rem;
810
812
  }
811
- `,Kg=A.default(Cu)`
813
+ `,Hv=I(Eu)`
812
814
  border-radius: unset;
813
815
  border-top: 1px solid var(--border-color);
814
- border-top-right-radius: ${f.border_radius_400};
816
+ border-top-right-radius: ${u.border_radius_400};
815
817
  border-bottom-width: 0.5px;
816
818
  grid-area: increment;
817
819
  margin-bottom: -0.5px;
818
- `,Hg=A.default(Cu)`
820
+ `,Gv=I(Eu)`
819
821
  border-radius: unset;
820
822
  border-bottom: 1px solid var(--border-color);
821
- border-bottom-right-radius: ${f.border_radius_400};
823
+ border-bottom-right-radius: ${u.border_radius_400};
822
824
  border-top-color: transparent;
823
825
  border-top-width: 0.5px;
824
826
  margin-top: -0.5px;
825
827
  grid-area: decrement;
826
- `,Fo=l.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:i,paddingSize:a="small",label:s,errorMessage:c,validationState:u,placeholder:d="Enter number...",showStepper:p=!0,min:b,max:h,...v}=e,m=tt(),y=n||m,$=bt(t),_=Bg({...v,isDisabled:y,isReadOnly:o,isRequired:i,minValue:b,maxValue:h,placeholder:d,locale:"en-US"}),{labelProps:w,groupProps:g,inputProps:D,incrementButtonProps:M,decrementButtonProps:O,descriptionProps:N,errorMessageProps:F}=jg({...v,isDisabled:y,isReadOnly:o,isRequired:i,minValue:b,maxValue:h,placeholder:d,label:s},_,$);let G=null;return typeof s=="string"?G=T(rt,{...w,children:s}):l.isValidElement(s)&&(G=l.cloneElement(s,{...w})),ce(Zr,{children:[G,p?ce(Wg,{...g,children:[T(Ug,{...D,paddingSize:a,ref:$}),p?ce(Mn,{children:[T(Kg,{...M,children:T(xe.KeyboardArrowUp,{})}),T(Hg,{...O,children:T(xe.KeyboardArrowDown,{})})]}):null]}):T(er,{ref:$,...D,paddingSize:a}),c&&ce(Qr,{...F,children:[T(xe.Error,{}),c]}),r&&T(en,{...N,children:r})]})});Fo.displayName="NumberInput";const Tu=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:i,required:a,paddingSize:s="large",label:c,validationState:u,placeholder:d="Enter text...",...p}=e,b=bt(t),h=tt(),v=o||h,{labelProps:m,descriptionProps:y,inputProps:$,errorMessageProps:_}=Jr({...p,isDisabled:v,isReadOnly:i,isRequired:a,placeholder:d,label:c,inputElementType:"textarea"},b);let w=null;return typeof c=="string"?w=T(rt,{...m,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...m})),ce(Zr,{children:[w,T(er,{as:"textarea","data-state":u,paddingSize:s,ref:b,placeholder:"Enter...",...$}),r&&ce(Qr,{..._,children:[T(xe.Error,{}),r]}),n&&T(en,{...y,children:n})]})});Tu.displayName="TextAreaInput";const Ro=l.createContext({});Ro.displayName="FormControlContext";function on(){return l.useContext(Ro)}function Gg({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:i,validationState:a,id:s,...c}){const{descriptionProps:u,errorMessageProps:d,fieldProps:p,labelProps:b}=ec({errorMessage:r,label:t,description:n,validationState:a,id:s,...c});return T(Ro.Provider,{value:p,children:ce(Zr,{children:[ce(rt,{...b,display:"flex",children:[t,o?T(nn,{icon:i,children:o}):null]}),e,n&&T(en,{...u,children:n}),r&&ce(Qr,{...d,children:[T(xe.Error,{}),r]})]})})}const Ou=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,value:i,...a}=e;return T(Do,{ref:t,label:ce(rt,{children:[r,n?T(nn,{icon:o,children:n}):null]}),...a})});Ou.displayName="TextFormControl";const ku=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return T(Tu,{ref:t,label:ce(rt,{children:[r,n?T(nn,{icon:o,children:n}):null]}),...i})});ku.displayName="TextAreaFormControl";const Du=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return T(Fo,{ref:t,label:ce(rt,{children:[r,n?T(nn,{icon:o,children:n}):null]}),...i})});Du.displayName="NumberFormControl";function Iu(e){const t=tt(),r=e||t;return{...on(),disabled:r}}const qg=()=>T("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M 11.9577 4.4057 L 5.766 10.5974 L 2.4187 7.2501 L 3.4244 6.2445 L 5.766 8.5861 L 10.952 3.4 L 11.9577 4.4057 Z",fill:"white",stroke:"white","stroke-width":"0.25"})}),Yg=()=>T("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:T("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),zo=A.default.div`
828
+ `;function Pu(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const Mo=l.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:i,paddingSize:a="small",label:s,errorMessage:c,placeholder:d="Enter number...",showStepper:f=!0,min:p,max:b,locale:h="en-US",...g}=e,m=tt(),_=n??m,$=bt(t),y=Wv({...g,isDisabled:_,isReadOnly:o,isRequired:i,minValue:p,maxValue:b,placeholder:d,locale:h}),{labelProps:E,groupProps:v,inputProps:A,incrementButtonProps:L,decrementButtonProps:T,descriptionProps:M,errorMessageProps:F}=Bv({...g,isDisabled:_,isReadOnly:o,isRequired:i,minValue:p,maxValue:b,placeholder:d,label:s},y,$);let G=null;typeof s=="string"?G=k(Xe,{...E,children:s}):l.isValidElement(s)&&(G=l.cloneElement(s,{...E}));const S=q=>{const{formatOptions:D}=e;if((D==null?void 0:D.style)==="unit"){const ee=Intl.NumberFormat(h,D),Q=ee.formatToParts(1).filter(N=>N.type==="unit"),de=ee.formatToParts(3).filter(N=>N.type==="unit"),fe=Pu(Q,y.inputValue),J=Pu(de,y.inputValue);let w;if(fe&&fe>-1?w=fe:J&&J>-1&&(w=J),w){const N=q.target.selectionStart;if(N&&N>w){const B=w-1;q.target.setSelectionRange(B,B)}}}};return le(tr,{children:[G,f?le(Uv,{...v,children:[k(Kv,{...A,paddingSize:a,ref:$,onClick:S,onFocus:S}),k(Hv,{...L,children:k($e.KeyboardArrowUp,{})}),k(Gv,{...T,children:k($e.KeyboardArrowDown,{})})]}):k(er,{ref:$,...A,paddingSize:a}),c?le(Xr,{...F,children:[k($e.Error,{}),c]}):null,r?k(Jr,{...M,children:r}):null]})});Mo.displayName="NumberInput";const Su=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:i,required:a,paddingSize:s="large",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,b=bt(t),h=tt(),g=o??h,{labelProps:m,descriptionProps:_,inputProps:$,errorMessageProps:y}=Yr({...p,isDisabled:g,isReadOnly:i,isRequired:a,placeholder:f,label:c,inputElementType:"textarea"},b);let E=null;return typeof c=="string"?E=k(Xe,{...m,children:c}):l.isValidElement(c)&&(E=l.cloneElement(c,{...m})),le(tr,{children:[E,k(er,{as:"textarea","data-state":d,paddingSize:s,ref:b,placeholder:"Enter...",...$}),r?le(Xr,{...y,children:[k($e.Error,{}),r]}):null,n?k(Jr,{..._,children:n}):null]})});Su.displayName="TextAreaInput";const Lo=l.createContext({});Lo.displayName="FormControlContext";function tn(){return l.useContext(Lo)}function qv({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:i,validationState:a,id:s,...c}){const{descriptionProps:d,errorMessageProps:f,fieldProps:p,labelProps:b}=Zl({errorMessage:r,label:t,description:n,validationState:a,id:s,...c});return k(Lo.Provider,{value:p,children:le(tr,{children:[le(Xe,{...b,display:"flex",children:[t,o?k(en,{icon:i,children:o}):null]}),e,n?k(Jr,{...d,children:n}):null,r?le(Xr,{...f,children:[k($e.Error,{}),r]}):null]})})}const Cu=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return k(To,{ref:t,label:le(Xe,{children:[r,n?k(en,{icon:o,children:n}):null]}),...i})});Cu.displayName="TextFormControl";const Tu=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return k(Su,{ref:t,label:le(Xe,{children:[r,n?k(en,{icon:o,children:n}):null]}),...i})});Tu.displayName="TextAreaFormControl";const Ou=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return k(Mo,{ref:t,label:le(Xe,{children:[r,n?k(en,{icon:o,children:n}):null]}),...i})});Ou.displayName="NumberFormControl";function ku(e){const t=tt(),r=e??t;return{...tn(),disabled:r}}const Yv=()=>k("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:k("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M 11.9577 4.4057 L 5.766 10.5974 L 2.4187 7.2501 L 3.4244 6.2445 L 5.766 8.5861 L 10.952 3.4 L 11.9577 4.4057 Z",fill:"white",stroke:"white","stroke-width":"0.25"})}),Xv=()=>k("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:k("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),Fo=I.div`
827
829
  display: grid;
828
830
  place-items: center;
829
831
  width: 16px;
830
832
  height: 16px;
831
- border-radius: ${f.border_radius_400};
833
+ border-radius: ${u.border_radius_400};
832
834
  border: 1px solid currentColor;
833
835
  background: var(--background-color);
834
836
  overflow: hidden;
835
837
 
836
838
  & > svg {
837
- fill: white;
839
+ fill: ${u.color_white};
838
840
  width: 100%;
839
841
  height: 100%;
840
842
  }
841
- `,Xg=A.default(qv)`
843
+ `,Jv=I(Yg)`
842
844
  all: unset;
843
- background-color: ${f.color_white};
844
- width: ${f.sizing_600};
845
- height: ${f.sizing_600};
846
- border-radius: ${f.border_radius_circle};
845
+ background-color: ${u.color_white};
846
+ width: ${u.sizing_600};
847
+ height: ${u.sizing_600};
848
+ border-radius: ${u.border_radius_circle};
847
849
  display: grid;
848
850
  place-items: center;
849
- animation: fadeIn 0.1s linear;
850
-
851
- /* Dont think this does anything */
852
- @keyframes fadeIn {
853
- from {
854
- opacity: 0;
855
- }
856
- to {
857
- opacity: 1;
858
- }
859
- }
860
851
 
861
852
  &:hover {
862
- background-color: hsla(
863
- 0deg,
864
- 0%,
865
- 0%,
866
- 3%
853
+ background-color: hsl(
854
+ 0deg 0% 0% / 3%
867
855
  ); /* Interactive / Overlay / Secondary / Hover */
868
856
  }
869
857
 
@@ -872,70 +860,67 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
872
860
  }
873
861
 
874
862
  &:invalid {
875
- color: ${f.color_fill_danger_enabled};
863
+ color: ${u.color_fill_danger_enabled};
876
864
  }
877
865
 
878
- &[data-state='checked'],
879
- &[data-state='indeterminate'] {
880
- --background-color: ${f.color_fill_primary_enabled};
881
- color: ${f.color_fill_primary_enabled};
866
+ &[data-state~='checked'],
867
+ &[data-state~='indeterminate'] {
868
+ --background-color: ${u.color_fill_primary_enabled};
869
+ color: ${u.color_fill_primary_enabled};
882
870
  }
883
871
 
884
872
  &[data-disabled] {
885
- color: ${f.color_fill_primary_disabled};
873
+ color: ${u.color_fill_primary_disabled};
886
874
  cursor: not-allowed;
887
875
  }
888
876
 
889
877
  &[aria-invalid='true'] {
890
- --background-color: ${f.color_fill_danger_enabled};
891
- color: ${f.color_fill_danger_enabled};
878
+ --background-color: ${u.color_fill_danger_enabled};
879
+ color: ${u.color_fill_danger_enabled};
892
880
  }
893
- `,Jg=A.default(Yv)`
881
+ `,Zv=I(Xg)`
894
882
  line-height: 0;
895
883
 
896
884
  & > svg {
897
885
  line-height: 0;
898
886
  }
899
- `;function Zg({disabled:e,checked:t,invalid:r,...n}){const o=Iu(e);return ce(Xg,{...n,...o,checked:t,"aria-invalid":r,children:[!t&&T(zo,{}),ce(Jg,{children:[t===!0&&T(zo,{children:T(qg,{})}),t==="indeterminate"&&T(zo,{children:T(Yg,{})})]})]})}const Vo=A.default.h1`
900
- font-family: ${f.font_family_inter_display};
901
- font-weight: 500; // don't really see value of using tokens for font-weight
887
+ `;function Qv({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const i=ku(e);return le(Jv,{onCheckedChange:n,...o,...i,checked:t,"aria-invalid":r,children:[!t&&k(Fo,{}),le(Zv,{children:[t===!0&&k(Fo,{children:k(Yv,{})}),t==="indeterminate"&&k(Fo,{children:k(Xv,{})})]})]})}const Ro=I.h1`
888
+ font-family: ${u.font_family_inter_display};
889
+ font-weight: 500;
902
890
  font-style: normal;
903
891
  margin: 0;
904
- `,Qg=A.default(Vo)`
905
- letter-spacing: ${f.letter_spacing_heading_large};
906
- font-size: ${f.font_size_heading_large};
907
- `,ey=A.default(Vo)`
908
- letter-spacing: ${f.letter_spacing_heading_medium};
909
- font-size: ${f.font_size_heading_medium};
910
- `,ty={small:A.default(Vo)`
911
- letter-spacing: ${f.letter_spacing_heading_small};
912
- font-size: ${f.font_size_heading_small};
913
- `,medium:ey,large:Qg},Au=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...i}=e,a=ty[o];return T(a,{...i,ref:t,as:n,children:r})});Au.displayName="Heading";const ry={small:"32px",large:"40px"},ny={circle:f.border_radius_circle,square:f.border_radius_400},an=A.default.button`
892
+ `,e_=I(Ro)`
893
+ letter-spacing: ${u.letter_spacing_heading_large};
894
+ font-size: ${u.font_size_heading_large};
895
+ `,t_=I(Ro)`
896
+ letter-spacing: ${u.letter_spacing_heading_medium};
897
+ font-size: ${u.font_size_heading_medium};
898
+ `,r_={small:I(Ro)`
899
+ letter-spacing: ${u.letter_spacing_heading_small};
900
+ font-size: ${u.font_size_heading_small};
901
+ `,medium:t_,large:e_},Du=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...i}=e,a=r_[o];return k(a,{...i,ref:t,as:n,children:r})});Du.displayName="Heading";const zo={small:"32px",large:"40px"},Iu={circle:u.border_radius_circle,square:u.border_radius_400},rn=I.button`
914
902
  all: unset;
915
903
  appearance: none;
916
904
  display: grid;
917
905
  place-items: center;
918
- border-radius: var(--icon-button-border-radius); // add default?
919
- height: var(--icon-button-size);
920
- width: var(--icon-button-size);
906
+ border-radius: var(--icon-button-border-radius, ${Iu.square});
907
+ height: var(--icon-button-size, ${zo.small});
908
+ width: var(--icon-button-size, ${zo.small});
921
909
  touch-action: none;
922
910
  cursor: pointer;
923
911
  white-space: nowrap;
924
912
  -webkit-tap-highlight-color: transparent;
925
913
 
926
- transition-property: ${f.transition_property_color};
927
- transition-duration: ${f.transition_duration_150};
914
+ transition-property: ${u.transition_property_color};
915
+ transition-duration: ${u.transition_duration_150};
928
916
 
929
- // Not sure about focus-visible
930
917
  /* &:focus-visible {
931
918
  outline: none;
932
919
  } */
933
920
 
934
921
  &[data-state~='focused'] {
935
- outline-color: ${f.color_black};
936
- outline-style: solid;
937
- outline-width: 1px; // TODO make token
938
- outline-offset: 2px; // TODO make token
922
+ outline: ${u.color_black}solid 1px;
923
+ outline-offset: 2px;
939
924
  }
940
925
 
941
926
  &:disabled {
@@ -944,78 +929,78 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
944
929
 
945
930
  & > svg {
946
931
  line-height: 0;
947
- font-size: ${f.font_size_200};
932
+ font-size: ${u.font_size_200};
948
933
  }
949
- `,oy=A.default(an)`
950
- background: ${f.color_fill_primary_enabled};
951
- color: ${f.color_white};
934
+ `,n_=I(rn)`
935
+ background: ${u.color_fill_primary_enabled};
936
+ color: ${u.color_white};
952
937
 
953
938
  &:hover {
954
- background: ${f.color_fill_primary_hover};
955
- color: ${f.color_fill_inverse_hover};
939
+ background: ${u.color_fill_primary_hover};
940
+ color: ${u.color_fill_inverse_hover};
956
941
  }
957
942
 
958
943
  &[data-state~='pressed'] {
959
- background: ${f.color_fill_primary_pressed};
944
+ background: ${u.color_fill_primary_pressed};
960
945
  }
961
946
 
962
947
  &:disabled {
963
- background: ${f.color_fill_primary_disabled};
964
- color: ${f.color_fill_inverse_pressed};
948
+ background: ${u.color_fill_primary_disabled};
949
+ color: ${u.color_fill_inverse_pressed};
965
950
  }
966
- `,iy=A.default(an)`
967
- background: ${f.color_fill_secondary_enabled};
968
- color: ${f.color_fill_primary_enabled};
951
+ `,o_=I(rn)`
952
+ background: ${u.color_fill_secondary_enabled};
953
+ color: ${u.color_fill_primary_enabled};
969
954
 
970
955
  &:hover {
971
- background: ${f.color_fill_secondary_hover};
972
- color: ${f.color_fill_primary_hover};
956
+ background: ${u.color_fill_secondary_hover};
957
+ color: ${u.color_fill_primary_hover};
973
958
  }
974
959
 
975
960
  &[data-state~='pressed'] {
976
- background: ${f.color_fill_secondary_pressed};
977
- color: ${f.color_fill_primary_enabled};
961
+ background: ${u.color_fill_secondary_pressed};
962
+ color: ${u.color_fill_primary_enabled};
978
963
  }
979
964
 
980
965
  &:disabled {
981
- background: ${f.color_fill_secondary_disabled};
966
+ background: ${u.color_fill_secondary_disabled};
982
967
  }
983
- `,ay=A.default(an)`
984
- background: ${f.color_fill_danger_enabled};
985
- color: ${f.color_white};
968
+ `,i_=I(rn)`
969
+ background: ${u.color_fill_danger_enabled};
970
+ color: ${u.color_white};
986
971
 
987
972
  &:hover {
988
- color: ${f.color_fill_inverse_hover};
989
- background: ${f.color_fill_danger_hover};
973
+ color: ${u.color_fill_inverse_hover};
974
+ background: ${u.color_fill_danger_hover};
990
975
  }
991
976
 
992
977
  &[data-state~='pressed'] {
993
- background-color: ${f.color_fill_danger_pressed};
994
- color: ${f.color_fill_inverse_pressed};
978
+ background-color: ${u.color_fill_danger_pressed};
979
+ color: ${u.color_fill_inverse_pressed};
995
980
  }
996
981
 
997
982
  &:disabled {
998
- background: ${f.color_fill_danger_disabled};
983
+ background: ${u.color_fill_danger_disabled};
999
984
  }
1000
- `,sy=A.default(an)`
1001
- background: ${f.color_white};
985
+ `,a_=I(rn)`
986
+ background: ${u.color_white};
1002
987
 
1003
988
  &:hover {
1004
- background-color: ${f.color_fill_inverse_hover};
989
+ background-color: ${u.color_fill_inverse_hover};
1005
990
  }
1006
991
 
1007
992
  &[data-state~='pressed'] {
1008
- background-color: ${f.color_fill_inverse_pressed};
993
+ background-color: ${u.color_fill_inverse_pressed};
1009
994
  }
1010
995
 
1011
996
  &:disabled {
1012
- background: ${f.color_fill_inverse_disabled};
997
+ background: ${u.color_fill_inverse_disabled};
1013
998
  }
1014
- `,ly={primary:oy,secondary:iy,danger:ay,inverse:sy},Nu=l.forwardRef((e,t)=>{const r=bt(t),{label:n,size:o="small",variant:i="primary",shape:a="circle",disabled:s=!1,onClick:c,autoFocus:u,children:d,...p}=e,{buttonProps:b,isPressed:h}=Co({onPress:c,isDisabled:s,autoFocus:u,...p},r),{isFocusVisible:v,focusProps:m}=Nr({autoFocus:u}),_=[v?"focused":void 0,h?"pressed":void 0].filter(Boolean).join(" "),w=ly[i],g=ny[a],D=ry[o];return T(w,{ref:r,"data-state":_,shape:a,size:o,...b,...m,style:{"--icon-button-size":D,"--icon-button-border-radius":g},children:T(qt,{label:n,children:d})})});Nu.displayName="Button";const jo="horizontal",cy=["horizontal","vertical"],Mu=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=jo,...o}=e,i=Lu(n)?n:jo,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return l.createElement(Q.div,C({"data-orientation":i},s,o,{ref:t}))});Mu.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!Lu(n)?new Error(uy(o,r)):null}};function uy(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
999
+ `,s_={primary:n_,secondary:o_,danger:i_,inverse:a_},Au=l.forwardRef((e,t)=>{const r=bt(t),{label:n,size:o="small",variant:i="primary",shape:a="circle",disabled:s=!1,onClick:c,autoFocus:d,children:f,...p}=e,{buttonProps:b,isPressed:h}=Eo({onPress:c,isDisabled:s,autoFocus:d,...p},r),{isFocusVisible:g,focusProps:m}=Ur({autoFocus:d}),y=[g?"focused":void 0,h?"pressed":void 0].filter(Boolean).join(" "),E=s_[i],v=Iu[a],A=zo[o];return k(E,{ref:r,"data-state":y,size:o,...b,...m,style:{"--icon-button-size":A,"--icon-button-border-radius":v},children:k(qt,{label:n,children:f})})});Au.displayName="Button";const Vo="horizontal",l_=["horizontal","vertical"],Nu=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=Vo,...o}=e,i=Mu(n)?n:Vo,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return l.createElement(te.div,C({"data-orientation":i},s,o,{ref:t}))});Nu.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!Mu(n)?new Error(c_(o,r)):null}};function c_(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
1015
1000
  - horizontal
1016
1001
  - vertical
1017
1002
 
1018
- Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;function Bo(e){const t=e+"CollectionProvider",[r,n]=Se(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,y=ie.default.useRef(null),$=ie.default.useRef(new Map).current;return ie.default.createElement(o,{scope:v,itemMap:$,collectionRef:y},m)},s=e+"CollectionSlot",c=ie.default.forwardRef((h,v)=>{const{scope:m,children:y}=h,$=i(s,m),_=le(v,$.collectionRef);return ie.default.createElement(dt,{ref:_},y)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",p=ie.default.forwardRef((h,v)=>{const{scope:m,children:y,...$}=h,_=ie.default.useRef(null),w=le(v,_),g=i(u,m);return ie.default.useEffect(()=>(g.itemMap.set(_,{ref:_,...$}),()=>void g.itemMap.delete(_))),ie.default.createElement(dt,{[d]:"",ref:w},y)});function b(h){const v=i(e+"CollectionConsumer",h);return ie.default.useCallback(()=>{const y=v.collectionRef.current;if(!y)return[];const $=Array.from(y.querySelectorAll(`[${d}]`));return Array.from(v.itemMap.values()).sort((g,D)=>$.indexOf(g.ref.current)-$.indexOf(D.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:c,ItemSlot:p},b,n]}const Fu="ToastProvider",[Wo,fy,py]=Bo("Toast"),[Ru,OE]=Se("Toast",[py]),[hy,sn]=Ru(Fu),zu=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,c]=l.useState(null),[u,d]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(Wo.Provider,{scope:t},l.createElement(hy,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>d(h=>h+1),[]),onToastRemove:l.useCallback(()=>d(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:b},a))};zu.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Fu}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const by="ToastViewport",my=["F8"],Uo="toast.viewportPause",Ko="toast.viewportResume",vy=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=my,label:o="Notifications ({hotkey})",...i}=e,a=sn(by,r),s=fy(r),c=l.useRef(null),u=l.useRef(null),d=l.useRef(null),p=l.useRef(null),b=le(t,p,a.onViewportChange),h=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=a.toastCount>0;l.useEffect(()=>{const y=$=>{var _;n.every(g=>$[g]||$.code===g)&&((_=p.current)===null||_===void 0||_.focus())};return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[n]),l.useEffect(()=>{const y=c.current,$=p.current;if(v&&y&&$){const _=()=>{if(!a.isClosePausedRef.current){const M=new CustomEvent(Uo);$.dispatchEvent(M),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const M=new CustomEvent(Ko);$.dispatchEvent(M),a.isClosePausedRef.current=!1}},g=M=>{!y.contains(M.relatedTarget)&&w()},D=()=>{y.contains(document.activeElement)||w()};return y.addEventListener("focusin",_),y.addEventListener("focusout",g),y.addEventListener("pointermove",_),y.addEventListener("pointerleave",D),window.addEventListener("blur",_),window.addEventListener("focus",w),()=>{y.removeEventListener("focusin",_),y.removeEventListener("focusout",g),y.removeEventListener("pointermove",_),y.removeEventListener("pointerleave",D),window.removeEventListener("blur",_),window.removeEventListener("focus",w)}}},[v,a.isClosePausedRef]);const m=l.useCallback(({tabbingDirection:y})=>{const _=s().map(w=>{const g=w.ref.current,D=[g,...Iy(g)];return y==="forwards"?D:D.reverse()});return(y==="forwards"?_.reverse():_).flat()},[s]);return l.useEffect(()=>{const y=p.current;if(y){const $=_=>{const w=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!w){const N=document.activeElement,F=_.shiftKey;if(_.target===y&&F){var D;(D=u.current)===null||D===void 0||D.focus();return}const Y=m({tabbingDirection:F?"backwards":"forwards"}),I=Y.findIndex(P=>P===N);if(Ho(Y.slice(I+1)))_.preventDefault();else{var M,O;F?(M=u.current)===null||M===void 0||M.focus():(O=d.current)===null||O===void 0||O.focus()}}};return y.addEventListener("keydown",$),()=>y.removeEventListener("keydown",$)}},[s,m]),l.createElement(qp,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"}},v&&l.createElement(Vu,{ref:u,onFocusFromOutsideViewport:()=>{const y=m({tabbingDirection:"forwards"});Ho(y)}}),l.createElement(Wo.Slot,{scope:r},l.createElement(Q.ol,C({tabIndex:-1},i,{ref:b}))),v&&l.createElement(Vu,{ref:d,onFocusFromOutsideViewport:()=>{const y=m({tabbingDirection:"backwards"});Ho(y)}}))}),gy="ToastFocusProxy",Vu=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,i=sn(gy,r);return l.createElement(Or,C({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var s;const c=a.relatedTarget;!((s=i.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),ln="Toast",yy="toast.swipeStart",_y="toast.swipeMove",$y="toast.swipeCancel",xy="toast.swipeEnd",wy=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:i,...a}=e,[s=!0,c]=Me({prop:n,defaultProp:o,onChange:i});return l.createElement(De,{present:r||s},l.createElement(ju,C({open:s},a,{ref:t,onClose:()=>c(!1),onPause:Ce(e.onPause),onResume:Ce(e.onResume),onSwipeStart:K(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:K(e.onSwipeMove,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:K(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:K(e.onSwipeEnd,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[Ey,Py]=Ru(ln,{onClose(){}}),ju=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:p,onSwipeCancel:b,onSwipeEnd:h,...v}=e,m=sn(ln,r),[y,$]=l.useState(null),_=le(t,P=>$(P)),w=l.useRef(null),g=l.useRef(null),D=o||m.duration,M=l.useRef(0),O=l.useRef(D),N=l.useRef(0),{onToastAdd:F,onToastRemove:G}=m,S=Ce(()=>{var P;(y==null?void 0:y.contains(document.activeElement))&&((P=m.viewport)===null||P===void 0||P.focus()),a()}),Y=l.useCallback(P=>{!P||P===1/0||(window.clearTimeout(N.current),M.current=new Date().getTime(),N.current=window.setTimeout(S,P))},[S]);l.useEffect(()=>{const P=m.viewport;if(P){const re=()=>{Y(O.current),u==null||u()},Z=()=>{const fe=new Date().getTime()-M.current;O.current=O.current-fe,window.clearTimeout(N.current),c==null||c()};return P.addEventListener(Uo,Z),P.addEventListener(Ko,re),()=>{P.removeEventListener(Uo,Z),P.removeEventListener(Ko,re)}}},[m.viewport,D,c,u,Y]),l.useEffect(()=>{i&&!m.isClosePausedRef.current&&Y(D)},[i,D,m.isClosePausedRef,Y]),l.useEffect(()=>(F(),()=>G()),[F,G]);const I=l.useMemo(()=>y?Ku(y):null,[y]);return m.viewport?l.createElement(l.Fragment,null,I&&l.createElement(Sy,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},I),l.createElement(Ey,{scope:r,onClose:S},ut.createPortal(l.createElement(Wo.ItemSlot,{scope:r},l.createElement(Gp,{asChild:!0,onEscapeKeyDown:K(s,()=>{m.isFocusedToastEscapeKeyDownRef.current||S(),m.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(Q.li,C({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection},v,{ref:_,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:K(e.onKeyDown,P=>{P.key==="Escape"&&(s==null||s(P.nativeEvent),P.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,S()))}),onPointerDown:K(e.onPointerDown,P=>{P.button===0&&(w.current={x:P.clientX,y:P.clientY})}),onPointerMove:K(e.onPointerMove,P=>{if(!w.current)return;const re=P.clientX-w.current.x,Z=P.clientY-w.current.y,fe=Boolean(g.current),ve=["left","right"].includes(m.swipeDirection),ee=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,E=ve?ee(0,re):0,L=ve?0:ee(0,Z),B=P.pointerType==="touch"?10:2,j={x:E,y:L},V={originalEvent:P,delta:j};fe?(g.current=j,cn(_y,p,V,{discrete:!1})):Hu(j,m.swipeDirection,B)?(g.current=j,cn(yy,d,V,{discrete:!1}),P.target.setPointerCapture(P.pointerId)):(Math.abs(re)>B||Math.abs(Z)>B)&&(w.current=null)}),onPointerUp:K(e.onPointerUp,P=>{const re=g.current,Z=P.target;if(Z.hasPointerCapture(P.pointerId)&&Z.releasePointerCapture(P.pointerId),g.current=null,w.current=null,re){const fe=P.currentTarget,ve={originalEvent:P,delta:re};Hu(re,m.swipeDirection,m.swipeThreshold)?cn(xy,h,ve,{discrete:!0}):cn($y,b,ve,{discrete:!0}),fe.addEventListener("click",ee=>ee.preventDefault(),{once:!0})}})})))),m.viewport))):null});ju.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${ln}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const Sy=e=>{const{__scopeToast:t,children:r,...n}=e,o=sn(ln,t),[i,a]=l.useState(!1),[s,c]=l.useState(!1);return ky(()=>a(!0)),l.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:l.createElement(Gt,{asChild:!0},l.createElement(Or,n,i&&l.createElement(l.Fragment,null,o.label," ",r)))},Cy=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(Q.div,C({},n,{ref:t}))}),Ty="ToastAction",Bu=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(Uu,{altText:r,asChild:!0},l.createElement(Wu,C({},n,{ref:t}))):null});Bu.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Ty}\``)}};const Oy="ToastClose",Wu=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=Py(Oy,r);return l.createElement(Uu,{asChild:!0},l.createElement(Q.button,C({type:"button"},n,{ref:t,onClick:K(e.onClick,o.onClose)})))}),Uu=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(Q.div,C({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function Ku(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),Dy(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=n.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Ku(n))}}),t}function cn(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ca(o,i):o.dispatchEvent(i)}const Hu=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),i=n>o;return t==="left"||t==="right"?i&&n>r:!i&&o>r};function ky(e=()=>{}){const t=Ce(e);$e(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function Dy(e){return e.nodeType===e.ELEMENT_NODE}function Iy(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ho(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const Ay=zu,Ny=vy,My=wy,Ly=Cy,Fy=Bu,Ry=Wu,Go=25,zy=$t.keyframes`
1003
+ Defaulting to \`${Vo}\`.`}function Mu(e){return l_.includes(e)}const u_=Nu;function jo(e){const t=e+"CollectionProvider",[r,n]=Pe(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:g,children:m}=h,_=l.useRef(null),$=l.useRef(new Map).current;return l.createElement(o,{scope:g,itemMap:$,collectionRef:_},m)},s=e+"CollectionSlot",c=l.forwardRef((h,g)=>{const{scope:m,children:_}=h,$=i(s,m),y=se(g,$.collectionRef);return l.createElement(dt,{ref:y},_)}),d=e+"CollectionItemSlot",f="data-radix-collection-item",p=l.forwardRef((h,g)=>{const{scope:m,children:_,...$}=h,y=l.useRef(null),E=se(g,y),v=i(d,m);return l.useEffect(()=>(v.itemMap.set(y,{ref:y,...$}),()=>void v.itemMap.delete(y))),l.createElement(dt,{[f]:"",ref:E},_)});function b(h){const g=i(e+"CollectionConsumer",h);return l.useCallback(()=>{const _=g.collectionRef.current;if(!_)return[];const $=Array.from(_.querySelectorAll(`[${f}]`));return Array.from(g.itemMap.values()).sort((v,A)=>$.indexOf(v.ref.current)-$.indexOf(A.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:a,Slot:c,ItemSlot:p},b,n]}const Lu="ToastProvider",[Bo,d_,f_]=jo("Toast"),[Fu,kE]=Pe("Toast",[f_]),[p_,nn]=Fu(Lu),Ru=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,c]=l.useState(null),[d,f]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(Bo.Provider,{scope:t},l.createElement(p_,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:i,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>f(h=>h+1),[]),onToastRemove:l.useCallback(()=>f(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:b},a))};Ru.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Lu}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const h_="ToastViewport",m_=["F8"],Wo="toast.viewportPause",Uo="toast.viewportResume",b_=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=m_,label:o="Notifications ({hotkey})",...i}=e,a=nn(h_,r),s=d_(r),c=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=l.useRef(null),b=se(t,p,a.onViewportChange),h=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=a.toastCount>0;l.useEffect(()=>{const _=$=>{var y;n.every(v=>$[v]||$.code===v)&&((y=p.current)===null||y===void 0||y.focus())};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[n]),l.useEffect(()=>{const _=c.current,$=p.current;if(g&&_&&$){const y=()=>{if(!a.isClosePausedRef.current){const L=new CustomEvent(Wo);$.dispatchEvent(L),a.isClosePausedRef.current=!0}},E=()=>{if(a.isClosePausedRef.current){const L=new CustomEvent(Uo);$.dispatchEvent(L),a.isClosePausedRef.current=!1}},v=L=>{!_.contains(L.relatedTarget)&&E()},A=()=>{_.contains(document.activeElement)||E()};return _.addEventListener("focusin",y),_.addEventListener("focusout",v),_.addEventListener("pointermove",y),_.addEventListener("pointerleave",A),window.addEventListener("blur",y),window.addEventListener("focus",E),()=>{_.removeEventListener("focusin",y),_.removeEventListener("focusout",v),_.removeEventListener("pointermove",y),_.removeEventListener("pointerleave",A),window.removeEventListener("blur",y),window.removeEventListener("focus",E)}}},[g,a.isClosePausedRef]);const m=l.useCallback(({tabbingDirection:_})=>{const y=s().map(E=>{const v=E.ref.current,A=[v,...D_(v)];return _==="forwards"?A:A.reverse()});return(_==="forwards"?y.reverse():y).flat()},[s]);return l.useEffect(()=>{const _=p.current;if(_){const $=y=>{const E=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!E){const M=document.activeElement,F=y.shiftKey;if(y.target===_&&F){var A;(A=d.current)===null||A===void 0||A.focus();return}const q=m({tabbingDirection:F?"backwards":"forwards"}),D=q.findIndex(P=>P===M);if(Ko(q.slice(D+1)))y.preventDefault();else{var L,T;F?(L=d.current)===null||L===void 0||L.focus():(T=f.current)===null||T===void 0||T.focus()}}};return _.addEventListener("keydown",$),()=>_.removeEventListener("keydown",$)}},[s,m]),l.createElement(eh,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:g?void 0:"none"}},g&&l.createElement(zu,{ref:d,onFocusFromOutsideViewport:()=>{const _=m({tabbingDirection:"forwards"});Ko(_)}}),l.createElement(Bo.Slot,{scope:r},l.createElement(te.ol,C({tabIndex:-1},i,{ref:b}))),g&&l.createElement(zu,{ref:f,onFocusFromOutsideViewport:()=>{const _=m({tabbingDirection:"backwards"});Ko(_)}}))}),g_="ToastFocusProxy",zu=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,i=nn(g_,r);return l.createElement(Cr,C({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var s;const c=a.relatedTarget;!((s=i.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),on="Toast",v_="toast.swipeStart",__="toast.swipeMove",y_="toast.swipeCancel",$_="toast.swipeEnd",x_=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:i,...a}=e,[s=!0,c]=Ne({prop:n,defaultProp:o,onChange:i});return l.createElement(ke,{present:r||s},l.createElement(Vu,C({open:s},a,{ref:t,onClose:()=>c(!1),onPause:Se(e.onPause),onResume:Se(e.onResume),onSwipeStart:H(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:H(e.onSwipeMove,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:H(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:H(e.onSwipeEnd,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[w_,E_]=Fu(on,{onClose(){}}),Vu=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:b,onSwipeEnd:h,...g}=e,m=nn(on,r),[_,$]=l.useState(null),y=se(t,P=>$(P)),E=l.useRef(null),v=l.useRef(null),A=o||m.duration,L=l.useRef(0),T=l.useRef(A),M=l.useRef(0),{onToastAdd:F,onToastRemove:G}=m,S=Se(()=>{var P;(_==null?void 0:_.contains(document.activeElement))&&((P=m.viewport)===null||P===void 0||P.focus()),a()}),q=l.useCallback(P=>{!P||P===1/0||(window.clearTimeout(M.current),L.current=new Date().getTime(),M.current=window.setTimeout(S,P))},[S]);l.useEffect(()=>{const P=m.viewport;if(P){const ee=()=>{q(T.current),d==null||d()},Q=()=>{const de=new Date().getTime()-L.current;T.current=T.current-de,window.clearTimeout(M.current),c==null||c()};return P.addEventListener(Wo,Q),P.addEventListener(Uo,ee),()=>{P.removeEventListener(Wo,Q),P.removeEventListener(Uo,ee)}}},[m.viewport,A,c,d,q]),l.useEffect(()=>{i&&!m.isClosePausedRef.current&&q(A)},[i,A,m.isClosePausedRef,q]),l.useEffect(()=>(F(),()=>G()),[F,G]);const D=l.useMemo(()=>_?Uu(_):null,[_]);return m.viewport?l.createElement(l.Fragment,null,D&&l.createElement(P_,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},D),l.createElement(w_,{scope:r,onClose:S},ut.createPortal(l.createElement(Bo.ItemSlot,{scope:r},l.createElement(Qp,{asChild:!0,onEscapeKeyDown:H(s,()=>{m.isFocusedToastEscapeKeyDownRef.current||S(),m.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(te.li,C({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection},g,{ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:H(e.onKeyDown,P=>{P.key==="Escape"&&(s==null||s(P.nativeEvent),P.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,S()))}),onPointerDown:H(e.onPointerDown,P=>{P.button===0&&(E.current={x:P.clientX,y:P.clientY})}),onPointerMove:H(e.onPointerMove,P=>{if(!E.current)return;const ee=P.clientX-E.current.x,Q=P.clientY-E.current.y,de=Boolean(v.current),fe=["left","right"].includes(m.swipeDirection),J=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,w=fe?J(0,ee):0,N=fe?0:J(0,Q),B=P.pointerType==="touch"?10:2,j={x:w,y:N},V={originalEvent:P,delta:j};de?(v.current=j,an(__,p,V,{discrete:!1})):Ku(j,m.swipeDirection,B)?(v.current=j,an(v_,f,V,{discrete:!1}),P.target.setPointerCapture(P.pointerId)):(Math.abs(ee)>B||Math.abs(Q)>B)&&(E.current=null)}),onPointerUp:H(e.onPointerUp,P=>{const ee=v.current,Q=P.target;if(Q.hasPointerCapture(P.pointerId)&&Q.releasePointerCapture(P.pointerId),v.current=null,E.current=null,ee){const de=P.currentTarget,fe={originalEvent:P,delta:ee};Ku(ee,m.swipeDirection,m.swipeThreshold)?an($_,h,fe,{discrete:!0}):an(y_,b,fe,{discrete:!0}),de.addEventListener("click",J=>J.preventDefault(),{once:!0})}})})))),m.viewport))):null});Vu.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${on}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const P_=e=>{const{__scopeToast:t,children:r,...n}=e,o=nn(on,t),[i,a]=l.useState(!1),[s,c]=l.useState(!1);return O_(()=>a(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(Gt,{asChild:!0},l.createElement(Cr,n,i&&l.createElement(l.Fragment,null,o.label," ",r)))},S_=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(te.div,C({},n,{ref:t}))}),C_="ToastAction",ju=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(Wu,{altText:r,asChild:!0},l.createElement(Bu,C({},n,{ref:t}))):null});ju.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${C_}\``)}};const T_="ToastClose",Bu=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=E_(T_,r);return l.createElement(Wu,{asChild:!0},l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,o.onClose)})))}),Wu=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(te.div,C({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function Uu(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),k_(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=n.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Uu(n))}}),t}function an(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ca(o,i):o.dispatchEvent(i)}const Ku=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),i=n>o;return t==="left"||t==="right"?i&&n>r:!i&&o>r};function O_(e=()=>{}){const t=Se(e);ye(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function k_(e){return e.nodeType===e.ELEMENT_NODE}function D_(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ko(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const I_=Ru,A_=b_,N_=x_,M_=S_,L_=ju,F_=Bu,Ho=25,R_=I.keyframes`
1019
1004
  0% {
1020
1005
  opacity: 1
1021
1006
  }
@@ -1023,30 +1008,32 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1023
1008
  100% {
1024
1009
  opacity: 0
1025
1010
  }
1026
- `,Vy=$t.keyframes`
1011
+ `,z_=I.keyframes`
1027
1012
  from {
1028
- transform: translateX(calc(100% + ${Go}px));
1013
+ transform: translateX(calc(100% + ${Ho}px));
1029
1014
  }
1030
1015
 
1031
1016
  to {
1032
1017
  transform: translateX(0);
1033
1018
  }
1034
- `,jy=$t.keyframes`
1019
+ `,V_=I.keyframes`
1035
1020
  from {
1036
1021
  transform: translateX(var(--radix-toast-swipe-end-x));
1037
1022
  }
1038
1023
  to {
1039
- transform: translateX(calc(100% + ${Go}px));
1024
+ transform: translateX(calc(100% + ${Ho}px));
1040
1025
  }
1041
- `,By=A.default(Fy)``,Gu=A.default(Ry)`
1026
+ `,j_=I(L_)`
1027
+ all: unset;
1028
+ `,Hu=I(F_)`
1042
1029
  all: unset;
1043
1030
  display: grid;
1044
- width: ${f.sizing_500};
1031
+ width: ${u.sizing_500};
1045
1032
  aspect-ratio: 1;
1046
1033
  margin-left: auto;
1047
1034
  place-items: center;
1048
- padding: ${f.sizing_100};
1049
- border-radius: ${f.border_radius_400};
1035
+ padding: ${u.sizing_100};
1036
+ border-radius: ${u.border_radius_400};
1050
1037
 
1051
1038
  &:hover {
1052
1039
  background-color: hsl(0deg 0% 0% / 5%);
@@ -1055,121 +1042,139 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1055
1042
  & > svg {
1056
1043
  font-size: 0.95rem;
1057
1044
  }
1058
- `,Wy=A.default(Ly)`
1059
- font-family: ${f.font_family_inter};
1045
+ `,B_=I(M_)`
1046
+ font-family: ${u.font_family_sans};
1060
1047
  font-style: normal;
1061
1048
  font-weight: 500;
1062
- font-size: ${f.font_size_100};
1063
- line-height: ${f.line_height_129};
1064
- letter-spacing: ${f.letter_spacing_tight};
1049
+ font-size: ${u.font_size_100};
1050
+ line-height: ${u.line_height_129};
1051
+ letter-spacing: ${u.letter_spacing_tight};
1065
1052
  display: flex;
1066
1053
  align-items: center;
1067
- `,qu=A.default(dy)`
1054
+ `,Gu=I(u_)`
1068
1055
  background-color: var(--color-separator);
1069
1056
 
1070
1057
  &[data-orientation='horizontal'] {
1071
1058
  width: 1px;
1072
- height: ${f.sizing_600};
1073
- margin-left: ${f.sizing_500};
1074
- margin-right: ${f.sizing_200};
1059
+ height: ${u.sizing_600};
1060
+ margin-left: ${u.sizing_500};
1061
+ margin-right: ${u.sizing_200};
1075
1062
  }
1076
1063
 
1077
1064
  &[data-orientation='vertical'] {
1078
1065
  height: 100%;
1079
1066
  width: 1;
1080
1067
  }
1081
- `,Uy={info:f.color_background_white_standard,inverse:f.color_background_sentiment_neutral,negative:f.color_background_sentiment_negative},Ky={info:f.color_text_standard,inverse:f.color_background_white_standard,negative:f.color_background_white_standard},Hy={info:f.color_divider_weak,inverse:f.color_divider_inverse_weak,negative:f.color_divider_inverse_weak},Gy=A.default(Ny)`
1068
+ `,W_={info:u.color_background_white_standard,inverse:u.color_background_sentiment_neutral,negative:u.color_background_sentiment_negative},U_={info:u.color_text_standard,inverse:u.color_background_white_standard,negative:u.color_background_white_standard},K_={info:u.color_divider_weak,inverse:u.color_divider_inverse_weak,negative:u.color_divider_inverse_weak},H_=I(A_)`
1082
1069
  position: fixed;
1083
1070
  bottom: 0;
1084
1071
  right: 0;
1085
1072
  display: flex;
1086
1073
  flex-direction: column;
1087
- padding: ${Go}px;
1074
+ padding: ${Ho}px;
1088
1075
  gap: 10px;
1089
1076
  max-width: 100vw;
1090
1077
  margin: 0;
1091
1078
  list-style: none;
1092
1079
  z-index: 30;
1093
1080
  outline: none;
1094
- `,qy=A.default(My)`
1081
+ `,G_=I(N_)`
1095
1082
  display: flex;
1096
1083
  flex-direction: row;
1097
1084
  align-items: center;
1098
- padding: ${f.sizing_200};
1099
- padding-left: ${f.sizing_400};
1100
- gap: ${f.spacing_300};
1085
+ padding: ${u.sizing_200};
1086
+ padding-left: ${u.sizing_400};
1087
+ gap: ${u.spacing_300};
1101
1088
  background-color: var(--color-background-notification);
1102
1089
  color: var(--color-notification);
1103
- box-shadow: ${f.elevation_interactive_low};
1104
- border-radius: ${f.border_radius_400};
1090
+ box-shadow: ${u.elevation_interactive_low};
1091
+ border-radius: ${u.border_radius_400};
1105
1092
 
1106
1093
  & > svg {
1107
1094
  line-height: 0;
1108
1095
  }
1109
1096
 
1110
- &[data-state='open'] {
1111
- animation: ${Vy} 150ms cubic-bezier(0.16, 1, 0.3, 1);
1097
+ &[data-state~='open'] {
1098
+ animation: ${z_} 150ms cubic-bezier(0.16, 1, 0.3, 1);
1112
1099
  }
1113
1100
 
1114
- &[data-state='closed'] {
1115
- animation: ${zy} 100ms ease-in;
1101
+ &[data-state~='closed'] {
1102
+ animation: ${R_} 100ms ease-in;
1116
1103
  }
1117
1104
 
1118
1105
  &[data-swipe='move'] {
1119
1106
  transform: translateX(var(--radix-toast-swipe-move-x));
1120
1107
  }
1108
+
1121
1109
  &[data-swipe='cancel'] {
1122
1110
  transform: translateX(0);
1123
1111
  transition: transform 200ms ease-out;
1124
1112
  }
1113
+
1125
1114
  &[data-swipe='end'] {
1126
- animation: ${jy} 100ms ease-out;
1115
+ animation: ${V_} 100ms ease-out;
1127
1116
  }
1128
- `;function Yy({children:e,...t}){return T(Ay,{...t,children:e})}function Xy({title:e,children:t,sentiment:r,onDismiss:n,...o}){const i=Uy[r],a=Ky[r],s=Hy[r];return ce(qy,{style:{"--color-background-notification":i,"--color-notification":a},...o,children:[r==="negative"?T(xe.Warning,{height:18}):null,T(Wy,{children:e}),T(qu,{style:{"--color-separator":s}}),t,T(Gu,{onClick:n,children:T(qt,{label:"Dismiss notification",children:T(xe.Close,{width:18,height:18})})})]})}const Yu=A.default(To)`
1117
+ `;function q_({children:e,...t}){return k(I_,{...t,children:e})}function Y_({title:e,children:t,sentiment:r,onDismiss:n,...o}){const i=W_[r],a=U_[r],s=K_[r];return le(G_,{style:{"--color-background-notification":i,"--color-notification":a},...o,children:[r==="negative"?k($e.Warning,{height:18}):null,k(B_,{children:e}),k(Gu,{style:{"--color-separator":s}}),t,k(Hu,{onClick:n,children:k(qt,{label:"Dismiss notification",children:k($e.Close,{width:18,height:18})})})]})}const qu=I.div`
1118
+ display: grid;
1119
+ grid-template-columns: 1fr 1fr repeat(8, minmax(0, 150px)) 1fr 1fr;
1120
+ column-gap: ${u.sizing_600};
1121
+ `,Yu=I.div`
1122
+ grid-column: 3 / 11;
1123
+ padding-top: ${u.sizing_450};
1124
+ `;function X_({children:e}){return k(qu,{children:k(Yu,{children:e})})}const Xu=I(Po)`
1129
1125
  display: grid;
1130
1126
  place-content: center;
1131
- border-radius: ${f.border_radius_400};
1132
- height: ${f.sizing_650};
1133
- width: ${f.sizing_650};
1127
+ border-radius: ${u.border_radius_400};
1128
+ height: ${u.sizing_650};
1129
+ width: ${u.sizing_650};
1130
+
1131
+ &:disabled {
1132
+ color: ${u.color_fill_secondary_disabled};
1133
+ background-color: unset;
1134
+ }
1134
1135
 
1135
1136
  & > svg {
1136
1137
  line-height: 0;
1137
- font-size: ${f.font_size_200};
1138
+ font-size: ${u.font_size_200};
1138
1139
  }
1139
- `,un=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,i=r==="left"?T(xe.NavigateBefore,{}):T(xe.NavigateNext,{});return T(Yu,{variant:"inverse",emphasis:"high",ref:t,...o,children:T(qt,{label:n,children:i})})});un.displayName="PaginatorButton";const Jy=A.default(Yu)`
1140
+ `,sn=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,i=r==="left"?k($e.NavigateBefore,{}):k($e.NavigateNext,{});return k(Xu,{variant:"inverse",emphasis:"high",ref:t,...o,children:k(qt,{label:n,children:i})})});sn.displayName="PaginatorButton";const J_=I(Xu)`
1140
1141
  &[aria-current='true'] {
1141
- background-color: ${f.color_overlay_secondary_selected_enabled};
1142
+ background-color: ${u.color_overlay_secondary_selected_enabled};
1142
1143
  }
1143
- `,dn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return T(Jy,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});dn.displayName="PaginatorNumber";const Zy=A.default.nav`
1144
+ `,ln=l.forwardRef((e,t)=>{const{children:r,...n}=e;return k(J_,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});ln.displayName="PaginatorNumber";const Z_=I.nav`
1144
1145
  display: flex;
1145
1146
  gap: 4px;
1146
- `;function Qy({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,ariaLabel:i="Pagination Navigation"}){const a=Array.from({length:e},(b,h)=>h),s=6;let c=a;const u=s-1;if(e>5){const b=e-1;t>e-u?c=[0,-1,...a.slice(-u)]:t+1<u?c=[...a.slice(0,u),-1,b]:c=[0,-1,...c.slice(t-1,t),t,...c.slice(t+1,t+2),-1,b]}const d=t===0,p=t===e-1;return ce(Zy,{"aria-label":i,children:[T(un,{direction:"left",label:"Previous",disabled:d,onClick:d?void 0:r}),c.map((b,h)=>b>-1?T(dn,{"aria-current":b===t,"aria-label":`Page ${b+1}`,onClick:()=>n(b),children:b+1},b):T(dn,{as:"span",children:"..."},`${b}-${h}`)),T(un,{direction:"right",label:"Next",title:"next",disabled:p,onClick:p?void 0:o})]})}const e_=l.createContext(void 0);function qo(e){const t=l.useContext(e_);return e||t||"ltr"}const Yo="rovingFocusGroup.onEntryFocus",t_={bubbles:!1,cancelable:!0},Xo="RovingFocusGroup",[Jo,Xu,r_]=Bo(Xo),[n_,Ju]=Se(Xo,[r_]),[o_,i_]=n_(Xo),a_=l.forwardRef((e,t)=>l.createElement(Jo.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(Jo.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(s_,C({},e,{ref:t}))))),s_=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:u,...d}=e,p=l.useRef(null),b=le(t,p),h=qo(i),[v=null,m]=Me({prop:a,defaultProp:s,onChange:c}),[y,$]=l.useState(!1),_=Ce(u),w=Xu(r),g=l.useRef(!1),[D,M]=l.useState(0);return l.useEffect(()=>{const O=p.current;if(O)return O.addEventListener(Yo,_),()=>O.removeEventListener(Yo,_)},[_]),l.createElement(o_,{scope:r,orientation:n,dir:h,loop:o,currentTabStopId:v,onItemFocus:l.useCallback(O=>m(O),[m]),onItemShiftTab:l.useCallback(()=>$(!0),[]),onFocusableItemAdd:l.useCallback(()=>M(O=>O+1),[]),onFocusableItemRemove:l.useCallback(()=>M(O=>O-1),[])},l.createElement(Q.div,C({tabIndex:y||D===0?-1:0,"data-orientation":n},d,{ref:b,style:{outline:"none",...e.style},onMouseDown:K(e.onMouseDown,()=>{g.current=!0}),onFocus:K(e.onFocus,O=>{const N=!g.current;if(O.target===O.currentTarget&&N&&!y){const F=new CustomEvent(Yo,t_);if(O.currentTarget.dispatchEvent(F),!F.defaultPrevented){const G=w().filter(re=>re.focusable),S=G.find(re=>re.active),Y=G.find(re=>re.id===v),P=[S,Y,...G].filter(Boolean).map(re=>re.ref.current);Zu(P)}}g.current=!1}),onBlur:K(e.onBlur,()=>$(!1))})))}),l_="RovingFocusGroupItem",c_=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,...i}=e,a=Ke(),s=i_(l_,r),c=s.currentTabStopId===a,u=Xu(r),{onFocusableItemAdd:d,onFocusableItemRemove:p}=s;return l.useEffect(()=>{if(n)return d(),()=>p()},[n,d,p]),l.createElement(Jo.ItemSlot,{scope:r,id:a,focusable:n,active:o},l.createElement(Q.span,C({tabIndex:c?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:K(e.onMouseDown,b=>{n?s.onItemFocus(a):b.preventDefault()}),onFocus:K(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:K(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){s.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const h=f_(b,s.orientation,s.dir);if(h!==void 0){b.preventDefault();let m=u().filter(y=>y.focusable).map(y=>y.ref.current);if(h==="last")m.reverse();else if(h==="prev"||h==="next"){h==="prev"&&m.reverse();const y=m.indexOf(b.currentTarget);m=s.loop?p_(m,y+1):m.slice(y+1)}setTimeout(()=>Zu(m))}})})))}),u_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function d_(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function f_(e,t,r){const n=d_(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return u_[n]}function Zu(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function p_(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const h_=a_,b_=c_,Qu="Radio",[m_,ed]=Se(Qu),[v_,g_]=m_(Qu),y_=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:i,disabled:a,value:s="on",onCheck:c,...u}=e,[d,p]=l.useState(null),b=le(t,m=>p(m)),h=l.useRef(!1),v=d?Boolean(d.closest("form")):!0;return l.createElement(v_,{scope:r,checked:o,disabled:a},l.createElement(Q.button,C({type:"button",role:"radio","aria-checked":o,"data-state":td(o),"data-disabled":a?"":void 0,disabled:a,value:s},u,{ref:b,onClick:K(e.onClick,m=>{o||c==null||c(),v&&(h.current=m.isPropagationStopped(),h.current||m.stopPropagation())})})),v&&l.createElement(x_,{control:d,bubbles:!h.current,name:n,value:s,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))}),__="RadioIndicator",$_=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,i=g_(__,r);return l.createElement(De,{present:n||i.checked},l.createElement(Q.span,C({"data-state":td(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))}),x_=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=Xr(r),s=Hr(t);return l.useEffect(()=>{const c=i.current,u=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==r&&p){const b=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(b)}},[a,r,n]),l.createElement("input",C({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function td(e){return e?"checked":"unchecked"}const w_=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],rd="RadioGroup",[E_,kE]=Se(rd,[Ju,ed]),nd=Ju(),od=ed(),[P_,S_]=E_(rd),C_=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:i,required:a=!1,disabled:s=!1,orientation:c,dir:u,loop:d=!0,onValueChange:p,...b}=e,h=nd(r),v=qo(u),[m,y]=Me({prop:i,defaultProp:o,onChange:p});return l.createElement(P_,{scope:r,name:n,required:a,disabled:s,value:m,onValueChange:y},l.createElement(h_,C({asChild:!0},h,{orientation:c,dir:v,loop:d}),l.createElement(Q.div,C({role:"radiogroup","aria-required":a,"aria-orientation":c,"data-disabled":s?"":void 0,dir:v},b,{ref:t}))))}),T_="RadioGroupItem",O_=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,i=S_(T_,r),a=i.disabled||n,s=nd(r),c=od(r),u=l.useRef(null),d=le(t,u),p=i.value===o.value,b=l.useRef(!1);return l.useEffect(()=>{const h=m=>{w_.includes(m.key)&&(b.current=!0)},v=()=>b.current=!1;return document.addEventListener("keydown",h),document.addEventListener("keyup",v),()=>{document.removeEventListener("keydown",h),document.removeEventListener("keyup",v)}},[]),l.createElement(b_,C({asChild:!0},s,{focusable:!a,active:p}),l.createElement(y_,C({disabled:a,required:i.required,checked:p},c,o,{name:i.name,ref:d,onCheck:()=>i.onValueChange(o.value),onKeyDown:K(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:K(o.onFocus,()=>{var h;b.current&&((h=u.current)===null||h===void 0||h.click())})})))}),k_=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=od(r);return l.createElement($_,C({},o,n,{ref:t}))}),D_=C_,I_=O_,A_=k_,id=A.default(I_)`
1147
+ width: min-content;
1148
+ `;function Q_({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:i,ariaLabel:a="Pagination Navigation"}){const s=Array.from({length:e},(h,g)=>g),c=6;let d=s;const f=c-1;if(e>5){const h=e-1;t>e-f?d=[0,-1,...s.slice(-f)]:t+1<f?d=[...s.slice(0,f),-1,h]:d=[0,-1,...d.slice(t-1,t),t,...d.slice(t+1,t+2),-1,h]}const p=t===0,b=t===e-1;return le(Z_,{"aria-label":a,className:i,children:[k(sn,{direction:"left",label:"Previous",disabled:p,onClick:p?void 0:r}),d.map((h,g)=>h>-1?k(ln,{"aria-current":h===t,"aria-label":`Page ${h+1}`,onClick:()=>n(h),children:h+1},h):k(ln,{as:"span",children:"..."},`${h}-${g}`)),k(sn,{direction:"right",label:"Next",title:"next",disabled:b,onClick:b?void 0:o})]})}const ey=l.createContext(void 0);function Go(e){const t=l.useContext(ey);return e||t||"ltr"}const qo="rovingFocusGroup.onEntryFocus",ty={bubbles:!1,cancelable:!0},Yo="RovingFocusGroup",[Xo,Ju,ry]=jo(Yo),[ny,Zu]=Pe(Yo,[ry]),[oy,iy]=ny(Yo),ay=l.forwardRef((e,t)=>l.createElement(Xo.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(Xo.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(sy,C({},e,{ref:t}))))),sy=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:d,...f}=e,p=l.useRef(null),b=se(t,p),h=Go(i),[g=null,m]=Ne({prop:a,defaultProp:s,onChange:c}),[_,$]=l.useState(!1),y=Se(d),E=Ju(r),v=l.useRef(!1),[A,L]=l.useState(0);return l.useEffect(()=>{const T=p.current;if(T)return T.addEventListener(qo,y),()=>T.removeEventListener(qo,y)},[y]),l.createElement(oy,{scope:r,orientation:n,dir:h,loop:o,currentTabStopId:g,onItemFocus:l.useCallback(T=>m(T),[m]),onItemShiftTab:l.useCallback(()=>$(!0),[]),onFocusableItemAdd:l.useCallback(()=>L(T=>T+1),[]),onFocusableItemRemove:l.useCallback(()=>L(T=>T-1),[])},l.createElement(te.div,C({tabIndex:_||A===0?-1:0,"data-orientation":n},f,{ref:b,style:{outline:"none",...e.style},onMouseDown:H(e.onMouseDown,()=>{v.current=!0}),onFocus:H(e.onFocus,T=>{const M=!v.current;if(T.target===T.currentTarget&&M&&!_){const F=new CustomEvent(qo,ty);if(T.currentTarget.dispatchEvent(F),!F.defaultPrevented){const G=E().filter(ee=>ee.focusable),S=G.find(ee=>ee.active),q=G.find(ee=>ee.id===g),P=[S,q,...G].filter(Boolean).map(ee=>ee.ref.current);Qu(P)}}v.current=!1}),onBlur:H(e.onBlur,()=>$(!1))})))}),ly="RovingFocusGroupItem",cy=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,...i}=e,a=Ue(),s=iy(ly,r),c=s.currentTabStopId===a,d=Ju(r),{onFocusableItemAdd:f,onFocusableItemRemove:p}=s;return l.useEffect(()=>{if(n)return f(),()=>p()},[n,f,p]),l.createElement(Xo.ItemSlot,{scope:r,id:a,focusable:n,active:o},l.createElement(te.span,C({tabIndex:c?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:H(e.onMouseDown,b=>{n?s.onItemFocus(a):b.preventDefault()}),onFocus:H(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:H(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){s.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const h=fy(b,s.orientation,s.dir);if(h!==void 0){b.preventDefault();let m=d().filter(_=>_.focusable).map(_=>_.ref.current);if(h==="last")m.reverse();else if(h==="prev"||h==="next"){h==="prev"&&m.reverse();const _=m.indexOf(b.currentTarget);m=s.loop?py(m,_+1):m.slice(_+1)}setTimeout(()=>Qu(m))}})})))}),uy={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function dy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function fy(e,t,r){const n=dy(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return uy[n]}function Qu(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function py(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const hy=ay,my=cy,ed="Radio",[by,td]=Pe(ed),[gy,vy]=by(ed),_y=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:i,disabled:a,value:s="on",onCheck:c,...d}=e,[f,p]=l.useState(null),b=se(t,m=>p(m)),h=l.useRef(!1),g=f?Boolean(f.closest("form")):!0;return l.createElement(gy,{scope:r,checked:o,disabled:a},l.createElement(te.button,C({type:"button",role:"radio","aria-checked":o,"data-state":rd(o),"data-disabled":a?"":void 0,disabled:a,value:s},d,{ref:b,onClick:H(e.onClick,m=>{o||c==null||c(),g&&(h.current=m.isPropagationStopped(),h.current||m.stopPropagation())})})),g&&l.createElement(xy,{control:f,bubbles:!h.current,name:n,value:s,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))}),yy="RadioIndicator",$y=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,i=vy(yy,r);return l.createElement(ke,{present:n||i.checked},l.createElement(te.span,C({"data-state":rd(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))}),xy=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=qr(r),s=Lr(t);return l.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==r&&p){const b=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(b)}},[a,r,n]),l.createElement("input",C({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function rd(e){return e?"checked":"unchecked"}const wy=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],nd="RadioGroup",[Ey,DE]=Pe(nd,[Zu,td]),od=Zu(),id=td(),[Py,Sy]=Ey(nd),Cy=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:i,required:a=!1,disabled:s=!1,orientation:c,dir:d,loop:f=!0,onValueChange:p,...b}=e,h=od(r),g=Go(d),[m,_]=Ne({prop:i,defaultProp:o,onChange:p});return l.createElement(Py,{scope:r,name:n,required:a,disabled:s,value:m,onValueChange:_},l.createElement(hy,C({asChild:!0},h,{orientation:c,dir:g,loop:f}),l.createElement(te.div,C({role:"radiogroup","aria-required":a,"aria-orientation":c,"data-disabled":s?"":void 0,dir:g},b,{ref:t}))))}),Ty="RadioGroupItem",Oy=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,i=Sy(Ty,r),a=i.disabled||n,s=od(r),c=id(r),d=l.useRef(null),f=se(t,d),p=i.value===o.value,b=l.useRef(!1);return l.useEffect(()=>{const h=m=>{wy.includes(m.key)&&(b.current=!0)},g=()=>b.current=!1;return document.addEventListener("keydown",h),document.addEventListener("keyup",g),()=>{document.removeEventListener("keydown",h),document.removeEventListener("keyup",g)}},[]),l.createElement(my,C({asChild:!0},s,{focusable:!a,active:p}),l.createElement(_y,C({disabled:a,required:i.required,checked:p},c,o,{name:i.name,ref:f,onCheck:()=>i.onValueChange(o.value),onKeyDown:H(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:H(o.onFocus,()=>{var h;b.current&&((h=d.current)===null||h===void 0||h.click())})})))}),ky=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=id(r);return l.createElement($y,C({},o,n,{ref:t}))}),Dy=Cy,Iy=Oy,Ay=ky,ad=I(Iy)`
1147
1149
  all: unset;
1148
- --radio-width: ${f.sizing_600};
1149
- --inner-circle-color: ${f.color_white};
1150
+ --radio-width: ${u.sizing_600};
1151
+ --inner-circle-color: ${u.color_white};
1152
+
1150
1153
  display: grid;
1151
1154
  place-items: center;
1152
- color: ${f.color_outline_secondary_enabled};
1155
+ color: ${u.color_outline_secondary_enabled};
1153
1156
 
1154
- background-color: ${f.color_white};
1157
+ background-color: ${u.color_white};
1155
1158
  width: var(--radio-width);
1156
1159
  height: var(--radio-width);
1157
- border-radius: ${f.border_radius_circle};
1160
+ border-radius: ${u.border_radius_circle};
1158
1161
 
1159
- transition-property: ${f.transition_property_color};
1160
- transition-duration: ${f.transition_duration_100};
1162
+ transition-property: ${u.transition_property_color};
1163
+ transition-duration: ${u.transition_duration_100};
1161
1164
  position: relative;
1162
1165
 
1163
1166
  &:hover {
1164
- --inner-circle-color: ${f.color_overlay_secondary_hover};
1165
- background-color: ${f.color_overlay_secondary_hover};
1166
- color: ${f.color_outline_secondary_hover};
1167
+ --inner-circle-color: ${u.color_overlay_secondary_hover};
1168
+
1169
+ background-color: ${u.color_overlay_secondary_hover};
1170
+ color: ${u.color_outline_secondary_hover};
1167
1171
  }
1168
1172
 
1169
1173
  &:active {
1170
- --inner-circle-color: ${f.color_overlay_secondary_pressed};
1171
- background-color: ${f.color_overlay_secondary_pressed};
1172
- color: ${f.color_outline_secondary_pressed};
1174
+ --inner-circle-color: ${u.color_overlay_secondary_pressed};
1175
+
1176
+ background-color: ${u.color_overlay_secondary_pressed};
1177
+ color: ${u.color_outline_secondary_pressed};
1173
1178
  }
1174
1179
 
1175
1180
  &::after {
@@ -1178,9 +1183,9 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1178
1183
  display: block;
1179
1184
  width: calc(var(--radio-width) / 2);
1180
1185
  height: calc(var(--radio-width) / 2);
1181
- border-radius: ${f.border_radius_circle};
1186
+ border-radius: ${u.border_radius_circle};
1182
1187
  border: 1px solid;
1183
- box-sizing: border-box; // not sure
1188
+ box-sizing: border-box; /* not sure */
1184
1189
  }
1185
1190
 
1186
1191
  &:focus-visible::after {
@@ -1189,16 +1194,17 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1189
1194
  }
1190
1195
 
1191
1196
  &[data-disabled]::after {
1192
- border-color: ${f.color_fill_secondary_disabled};
1197
+ border-color: ${u.color_fill_secondary_disabled};
1193
1198
  }
1194
1199
 
1195
1200
  &[data-disabled],
1196
1201
  &:disabled {
1202
+ --inner-circle-color: ${u.color_fill_primary_disabled};
1203
+
1197
1204
  cursor: not-allowed;
1198
- --inner-circle-color: ${f.color_fill_primary_disabled};
1199
- color: ${f.color_fill_primary_disabled};
1205
+ color: ${u.color_fill_primary_disabled};
1200
1206
  }
1201
- `,N_=A.default(A_)`
1207
+ `,sd=I(Ay)`
1202
1208
  display: grid;
1203
1209
  place-items: center;
1204
1210
  width: 100%;
@@ -1211,12 +1217,12 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1211
1217
  display: block;
1212
1218
  width: 16px;
1213
1219
  height: 16px;
1214
- border-radius: ${f.border_radius_circle};
1215
- background-color: ${f.color_fill_primary_enabled};
1220
+ border-radius: ${u.border_radius_circle};
1221
+ background-color: ${u.color_fill_primary_enabled};
1216
1222
  }
1217
1223
 
1218
1224
  &[data-disabled]::before {
1219
- background-color: ${f.color_fill_secondary_disabled};
1225
+ background-color: ${u.color_fill_secondary_disabled};
1220
1226
  }
1221
1227
 
1222
1228
  /* Lighter inner circle */
@@ -1226,90 +1232,88 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1226
1232
  position: absolute;
1227
1233
  width: 5px;
1228
1234
  height: 5px;
1229
- border-radius: ${f.border_radius_circle};
1235
+ border-radius: ${u.border_radius_circle};
1230
1236
  background-color: var(--inner-circle-color);
1231
1237
  }
1232
- `;function M_({children:e,disabled:t,...r}){const n=tt(),o=t||n,i=on();return T(D_,{...r,disabled:o,...i,children:e})}const L_=id,ad=N_;function F_({disabled:e,...t}){const r=tt(),n=e||r,o=on();return T(id,{...t,...o,disabled:n,children:T(ad,{})})}function sd(e,[t,r]){return Math.min(r,Math.max(t,e))}const R_=[" ","Enter","ArrowUp","ArrowDown"],z_=[" ","Enter"],fn="Select",[pn,Zo,V_]=Bo(fn),[nr,DE]=Se(fn,[V_]),[j_,Lt]=nr(fn),[B_,W_]=nr(fn),U_=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:u,name:d,autoComplete:p,disabled:b,required:h}=e,[v,m]=l.useState(null),[y,$]=l.useState(null),[_,w]=l.useState(!1),g=qo(u),[D=!1,M]=Me({prop:n,defaultProp:o,onChange:i}),[O,N]=Me({prop:a,defaultProp:s,onChange:c}),F=l.useRef(null),G=v?Boolean(v.closest("form")):!0,[S,Y]=l.useState(new Set),I=Array.from(S).map(P=>P.props.value).join(";");return l.createElement(j_,{required:h,scope:t,trigger:v,onTriggerChange:m,valueNode:y,onValueNodeChange:$,valueNodeHasChildren:_,onValueNodeHasChildrenChange:w,contentId:Ke(),value:O,onValueChange:N,open:D,onOpenChange:M,dir:g,triggerPointerDownPosRef:F,disabled:b},l.createElement(pn.Provider,{scope:t},l.createElement(B_,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(P=>{Y(re=>new Set(re).add(P))},[]),onNativeOptionRemove:l.useCallback(P=>{Y(re=>{const Z=new Set(re);return Z.delete(P),Z})},[])},r)),G?l.createElement(dd,{key:I,"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:p,value:O,onChange:P=>N(P.target.value),disabled:b},O===void 0?l.createElement("option",{value:""}):null,Array.from(S)):null)},K_="SelectTrigger",H_=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,i=Lt(K_,r),a=i.disabled||n,s=le(t,i.onTriggerChange),c=Zo(r),[u,d,p]=fd(h=>{const v=c().filter($=>!$.disabled),m=v.find($=>$.value===i.value),y=pd(v,h,m);y!==void 0&&i.onValueChange(y.value)}),b=()=>{a||(i.onOpenChange(!0),p())};return l.createElement(Q.button,C({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:s,onClick:K(o.onClick,h=>{h.currentTarget.focus()}),onPointerDown:K(o.onPointerDown,h=>{const v=h.target;v.hasPointerCapture(h.pointerId)&&v.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&(b(),i.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)},h.preventDefault())}),onKeyDown:K(o.onKeyDown,h=>{const v=u.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&d(h.key),!(v&&h.key===" ")&&R_.includes(h.key)&&(b(),h.preventDefault())})}))}),G_="SelectValue",q_=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:a,...s}=e,c=Lt(G_,r),{onValueNodeHasChildrenChange:u}=c,d=i!==void 0,p=le(t,c.onValueNodeChange);return $e(()=>{u(d)},[u,d]),l.createElement(Q.span,C({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&a!==void 0?a:i)}),Y_=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(Q.span,C({"aria-hidden":!0},o,{ref:t}),n||"\u25BC")}),X_=e=>l.createElement(Gt,C({asChild:!0},e)),Qo="SelectContent",J_=l.forwardRef((e,t)=>{const r=Lt(Qo,e.__scopeSelect),[n,o]=l.useState();return $e(()=>{o(new DocumentFragment)},[]),l.createElement(l.Fragment,null,r.open?l.createElement(Z_,C({},e,{ref:t})):n?ut.createPortal(l.createElement(ld,{scope:e.__scopeSelect},l.createElement(pn.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),nt=10,[ld,Ft]=nr(Qo),Z_=l.forwardRef((e,t)=>{const{__scopeSelect:r,onCloseAutoFocus:n,...o}=e,i=Lt(Qo,r),[a,s]=l.useState(null),[c,u]=l.useState(null),[d,p]=l.useState(null),b=le(t,E=>u(E)),[h,v]=l.useState(null),[m,y]=l.useState(null),$=Zo(r),[_,w]=l.useState(!1),g=l.useRef(!0),D=l.useRef(!1),M=l.useRef(!1);l.useEffect(()=>{if(c)return jn(c)},[c]),An();const[O,N]=l.useState();$e(()=>{c&&N(window.getComputedStyle(c).zIndex)},[c]);const F=l.useCallback(E=>{const[L,...B]=$().map(U=>U.ref.current),[j]=B.slice(-1),V=document.activeElement;for(const U of E)if(U===V||(U==null||U.scrollIntoView({block:"nearest"}),U===L&&d&&(d.scrollTop=0),U===j&&d&&(d.scrollTop=d.scrollHeight),U==null||U.focus(),document.activeElement!==V))return},[$,d]),G=l.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&c&&d&&h&&m){const E=i.trigger.getBoundingClientRect(),L=c.getBoundingClientRect(),B=i.valueNode.getBoundingClientRect(),j=m.getBoundingClientRect();if(i.dir!=="rtl"){const Je=j.left-L.left,Be=B.left-Je,We=E.left-Be,Ze=E.width+We,br=Math.max(Ze,L.width),mr=window.innerWidth-nt,vr=sd(Be,[nt,mr-br]);a.style.minWidth=Ze+"px",a.style.left=vr+"px"}else{const Je=L.right-j.right,Be=window.innerWidth-B.right-Je,We=window.innerWidth-E.right-Be,Ze=E.width+We,br=Math.max(Ze,L.width),mr=window.innerWidth-nt,vr=sd(Be,[nt,mr-br]);a.style.minWidth=Ze+"px",a.style.right=vr+"px"}const V=$(),U=window.innerHeight-nt*2,q=d.scrollHeight,X=window.getComputedStyle(c),J=parseInt(X.borderTopWidth,10),oe=parseInt(X.paddingTop,10),ne=parseInt(X.borderBottomWidth,10),ge=parseInt(X.paddingBottom,10),me=J+oe+q+ge+ne,Ee=Math.min(h.offsetHeight*5,me),Ve=window.getComputedStyle(d),ke=parseInt(Ve.paddingTop,10),je=parseInt(Ve.paddingBottom,10),ye=E.top+E.height/2-nt,_e=U-ye,Ae=h.offsetHeight/2,Ne=h.offsetTop+Ae,lt=J+oe+Ne,Ut=me-lt;if(lt<=ye){const Je=h===V[V.length-1].ref.current;a.style.bottom="0px";const Be=c.clientHeight-d.offsetTop-d.offsetHeight,We=Math.max(_e,Ae+(Je?je:0)+Be+ne),Ze=lt+We;a.style.height=Ze+"px"}else{const Je=h===V[0].ref.current;a.style.top="0px";const We=Math.max(ye,J+d.offsetTop+(Je?ke:0)+Ae)+Ut;a.style.height=We+"px",d.scrollTop=lt-ye+d.offsetTop}a.style.margin=`${nt}px 0`,a.style.minHeight=Ee+"px",a.style.maxHeight=U+"px",w(!0),requestAnimationFrame(()=>D.current=!0)}},[$,i.trigger,i.valueNode,a,c,d,h,m,i.dir]);$e(()=>G(),[G]);const S=l.useCallback(()=>F([h,c]),[F,h,c]);l.useEffect(()=>{_&&S()},[_,S]);const Y=l.useCallback(E=>{E&&g.current===!0&&(G(),S(),g.current=!1)},[G,S]),{onOpenChange:I,triggerPointerDownPosRef:P}=i;l.useEffect(()=>{if(c){let E={x:0,y:0};const L=j=>{var V,U,q,X;E={x:Math.abs(Math.round(j.pageX)-((V=(U=P.current)===null||U===void 0?void 0:U.x)!==null&&V!==void 0?V:0)),y:Math.abs(Math.round(j.pageY)-((q=(X=P.current)===null||X===void 0?void 0:X.y)!==null&&q!==void 0?q:0))}},B=j=>{E.x<=10&&E.y<=10?j.preventDefault():c.contains(j.target)||I(!1),document.removeEventListener("pointermove",L),P.current=null};return P.current!==null&&(document.addEventListener("pointermove",L),document.addEventListener("pointerup",B,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",L),document.removeEventListener("pointerup",B,{capture:!0})}}},[c,I,P]),l.useEffect(()=>{const E=()=>I(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[I]);const[re,Z]=fd(E=>{const L=$().filter(V=>!V.disabled),B=L.find(V=>V.ref.current===document.activeElement),j=pd(L,E,B);j&&setTimeout(()=>j.ref.current.focus())}),fe=l.useCallback((E,L,B)=>{const j=!M.current&&!B;(i.value!==void 0&&i.value===L||j)&&(v(E),j&&(M.current=!0))},[i.value]),ve=l.useCallback(()=>c==null?void 0:c.focus(),[c]),ee=l.useCallback((E,L,B)=>{const j=!M.current&&!B;(i.value!==void 0&&i.value===L||j)&&y(E)},[i.value]);return l.createElement(ld,{scope:r,contentWrapper:a,content:c,viewport:d,onViewportChange:p,itemRefCallback:fe,selectedItem:h,onItemLeave:ve,itemTextRefCallback:ee,selectedItemText:m,onScrollButtonChange:Y,isPositioned:_,shouldExpandOnScrollRef:D,searchRef:re},l.createElement(zn,{as:dt,allowPinchZoom:!0},l.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},l.createElement(Dn,{asChild:!0,trapped:i.open,onMountAutoFocus:E=>{E.preventDefault()},onUnmountAutoFocus:K(n,E=>{var L;(L=i.trigger)===null||L===void 0||L.focus({preventScroll:!0}),E.preventDefault()})},l.createElement(Ht,C({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:E=>E.preventDefault()},o,{ref:b,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:E=>E.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:K(o.onKeyDown,E=>{const L=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!L&&E.key.length===1&&Z(E.key),["ArrowUp","ArrowDown","Home","End"].includes(E.key)){let j=$().filter(V=>!V.disabled).map(V=>V.ref.current);if(["ArrowUp","End"].includes(E.key)&&(j=j.slice().reverse()),["ArrowUp","ArrowDown"].includes(E.key)){const V=E.target,U=j.indexOf(V);j=j.slice(U+1)}setTimeout(()=>F(j)),E.preventDefault()}})}))))))}),Q_="SelectViewport",e$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ft(Q_,r),i=le(t,o.onViewportChange),a=l.useRef(0);return l.createElement(l.Fragment,null,l.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),l.createElement(pn.Slot,{scope:r},l.createElement(Q.div,C({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:K(n.onScroll,s=>{const c=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:d}=o;if(d!=null&&d.current&&u){const p=Math.abs(a.current-c.scrollTop);if(p>0){const b=window.innerHeight-nt*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<b){const y=m+p,$=Math.min(b,y),_=y-$;u.style.height=$+"px",u.style.bottom==="0px"&&(c.scrollTop=_>0?_:0,u.style.justifyContent="flex-end")}}}a.current=c.scrollTop})}))))}),t$="SelectGroup",[r$,n$]=nr(t$),o$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ke();return l.createElement(r$,{scope:r,id:o},l.createElement(Q.div,C({role:"group","aria-labelledby":o},n,{ref:t})))}),i$="SelectLabel",a$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=n$(i$,r);return l.createElement(Q.div,C({id:o.id},n,{ref:t}))}),ei="SelectItem",[s$,cd]=nr(ei),l$=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...a}=e,s=Lt(ei,r),c=Ft(ei,r),u=s.value===n,[d,p]=l.useState(i!=null?i:""),[b,h]=l.useState(!1),v=le(t,$=>{var _;return(_=c.itemRefCallback)===null||_===void 0?void 0:_.call(c,$,n,o)}),m=Ke(),y=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(s$,{scope:r,value:n,disabled:o,textId:m,isSelected:u,onItemTextChange:l.useCallback($=>{p(_=>{var w;return _||((w=$==null?void 0:$.textContent)!==null&&w!==void 0?w:"").trim()})},[])},l.createElement(pn.ItemSlot,{scope:r,value:n,disabled:o,textValue:d},l.createElement(Q.div,C({role:"option","aria-labelledby":m,"data-highlighted":b?"":void 0,"aria-selected":u&&b,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:v,onFocus:K(a.onFocus,()=>h(!0)),onBlur:K(a.onBlur,()=>h(!1)),onPointerUp:K(a.onPointerUp,y),onPointerMove:K(a.onPointerMove,$=>{if(o){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:K(a.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}}),onKeyDown:K(a.onKeyDown,$=>{var _;((_=c.searchRef)===null||_===void 0?void 0:_.current)!==""&&$.key===" "||(z_.includes($.key)&&y(),$.key===" "&&$.preventDefault())})}))))}),hn="SelectItemText",c$=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...i}=e,a=Lt(hn,r),s=Ft(hn,r),c=cd(hn,r),u=W_(hn,r),[d,p]=l.useState(null),b=le(t,$=>p($),c.onItemTextChange,$=>{var _;return(_=s.itemTextRefCallback)===null||_===void 0?void 0:_.call(s,$,c.value,c.disabled)}),h=d==null?void 0:d.textContent,v=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},h),[c.disabled,c.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:y}=u;return $e(()=>(m(v),()=>y(v)),[m,y,v]),l.createElement(l.Fragment,null,l.createElement(Q.span,C({id:c.textId},i,{ref:b})),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?ut.createPortal(i.children,a.valueNode):null)}),u$="SelectItemIndicator",d$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return cd(u$,r).isSelected?l.createElement(Q.span,C({"aria-hidden":!0},n,{ref:t})):null}),f$="SelectScrollUpButton",p$=l.forwardRef((e,t)=>{const r=Ft(f$,e.__scopeSelect),[n,o]=l.useState(!1),i=le(t,r.onScrollButtonChange);return $e(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=a.scrollTop>0;o(c)};const a=r.viewport;return s(),a.addEventListener("scroll",s),()=>a.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(ud,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),h$="SelectScrollDownButton",b$=l.forwardRef((e,t)=>{const r=Ft(h$,e.__scopeSelect),[n,o]=l.useState(!1),i=le(t,r.onScrollButtonChange);return $e(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=a.scrollHeight-a.clientHeight,u=Math.ceil(a.scrollTop)<c;o(u)};const a=r.viewport;return s(),a.addEventListener("scroll",s),()=>a.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(ud,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),ud=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,i=Ft("SelectScrollButton",r),a=l.useRef(null),s=Zo(r),c=l.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),$e(()=>{var u;const d=s().find(p=>p.ref.current===document.activeElement);d==null||(u=d.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),l.createElement(Q.div,C({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:K(o.onPointerMove,()=>{var u;(u=i.onItemLeave)===null||u===void 0||u.call(i),a.current===null&&(a.current=window.setInterval(n,50))}),onPointerLeave:K(o.onPointerLeave,()=>{c()})}))}),m$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(Q.div,C({"aria-hidden":!0},n,{ref:t}))}),dd=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),i=le(t,o),a=Xr(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==r&&d){const p=new Event("change",{bubbles:!0});d.call(s,r),s.dispatchEvent(p)}},[a,r]),l.createElement(Or,{asChild:!0},l.createElement("select",C({},n,{ref:i,defaultValue:r})))});dd.displayName="BubbleSelect";function fd(e){const t=Ce(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(a=>{const s=r.current+a;t(s),function c(u){r.current=u,window.clearTimeout(n.current),u!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),i=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function pd(e,t,r){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let a=v$(e,Math.max(i,0));o.length===1&&(a=a.filter(u=>u!==r));const c=a.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function v$(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const g$=U_,y$=q_,_$=X_,$$=J_,x$=e$,w$=o$,E$=a$,P$=l$,S$=c$,C$=d$,T$=p$,O$=b$,k$=m$,hd=A.default(H_)`
1238
+ `;function Ny({children:e,disabled:t,loop:r,onValueChange:n,...o}){const i=tt(),a=t??i,s=tn();return k(Dy,{loop:r,onValueChange:n,...o,disabled:a,...s,children:e})}function My({disabled:e,...t}){const r=tt(),n=e??r,o=tn();return k(ad,{...t,...o,disabled:n,children:k(sd,{})})}function ld(e,[t,r]){return Math.min(r,Math.max(t,e))}const Ly=[" ","Enter","ArrowUp","ArrowDown"],Fy=[" ","Enter"],cn="Select",[un,Jo,Ry]=jo(cn),[or,IE]=Pe(cn,[Ry]),[zy,Lt]=or(cn),[Vy,jy]=or(cn),By=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:b,required:h}=e,[g,m]=l.useState(null),[_,$]=l.useState(null),[y,E]=l.useState(!1),v=Go(d),[A=!1,L]=Ne({prop:n,defaultProp:o,onChange:i}),[T,M]=Ne({prop:a,defaultProp:s,onChange:c}),F=l.useRef(null),G=g?Boolean(g.closest("form")):!0,[S,q]=l.useState(new Set),D=Array.from(S).map(P=>P.props.value).join(";");return l.createElement(zy,{required:h,scope:t,trigger:g,onTriggerChange:m,valueNode:_,onValueNodeChange:$,valueNodeHasChildren:y,onValueNodeHasChildrenChange:E,contentId:Ue(),value:T,onValueChange:M,open:A,onOpenChange:L,dir:v,triggerPointerDownPosRef:F,disabled:b},l.createElement(un.Provider,{scope:t},l.createElement(Vy,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(P=>{q(ee=>new Set(ee).add(P))},[]),onNativeOptionRemove:l.useCallback(P=>{q(ee=>{const Q=new Set(ee);return Q.delete(P),Q})},[])},r)),G?l.createElement(fd,{key:D,"aria-hidden":!0,required:h,tabIndex:-1,name:f,autoComplete:p,value:T,onChange:P=>M(P.target.value),disabled:b},T===void 0?l.createElement("option",{value:""}):null,Array.from(S)):null)},Wy="SelectTrigger",Uy=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,i=Lt(Wy,r),a=i.disabled||n,s=se(t,i.onTriggerChange),c=Jo(r),[d,f,p]=pd(h=>{const g=c().filter($=>!$.disabled),m=g.find($=>$.value===i.value),_=hd(g,h,m);_!==void 0&&i.onValueChange(_.value)}),b=()=>{a||(i.onOpenChange(!0),p())};return l.createElement(te.button,C({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:s,onClick:H(o.onClick,h=>{h.currentTarget.focus()}),onPointerDown:H(o.onPointerDown,h=>{const g=h.target;g.hasPointerCapture(h.pointerId)&&g.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&(b(),i.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)},h.preventDefault())}),onKeyDown:H(o.onKeyDown,h=>{const g=d.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&f(h.key),!(g&&h.key===" ")&&Ly.includes(h.key)&&(b(),h.preventDefault())})}))}),Ky="SelectValue",Hy=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:a,...s}=e,c=Lt(Ky,r),{onValueNodeHasChildrenChange:d}=c,f=i!==void 0,p=se(t,c.onValueNodeChange);return ye(()=>{d(f)},[d,f]),l.createElement(te.span,C({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&a!==void 0?a:i)}),Gy=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(te.span,C({"aria-hidden":!0},o,{ref:t}),n||"▼")}),qy=e=>l.createElement(Gt,C({asChild:!0},e)),Zo="SelectContent",Yy=l.forwardRef((e,t)=>{const r=Lt(Zo,e.__scopeSelect),[n,o]=l.useState();return ye(()=>{o(new DocumentFragment)},[]),l.createElement(l.Fragment,null,r.open?l.createElement(Xy,C({},e,{ref:t})):n?ut.createPortal(l.createElement(cd,{scope:e.__scopeSelect},l.createElement(un.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),rt=10,[cd,Ft]=or(Zo),Xy=l.forwardRef((e,t)=>{const{__scopeSelect:r,onCloseAutoFocus:n,...o}=e,i=Lt(Zo,r),[a,s]=l.useState(null),[c,d]=l.useState(null),[f,p]=l.useState(null),b=se(t,w=>d(w)),[h,g]=l.useState(null),[m,_]=l.useState(null),$=Jo(r),[y,E]=l.useState(!1),v=l.useRef(!0),A=l.useRef(!1),L=l.useRef(!1);l.useEffect(()=>{if(c)return Rn(c)},[c]),In();const[T,M]=l.useState();ye(()=>{c&&M(window.getComputedStyle(c).zIndex)},[c]);const F=l.useCallback(w=>{const[N,...B]=$().map(K=>K.ref.current),[j]=B.slice(-1),V=document.activeElement;for(const K of w)if(K===V||(K==null||K.scrollIntoView({block:"nearest"}),K===N&&f&&(f.scrollTop=0),K===j&&f&&(f.scrollTop=f.scrollHeight),K==null||K.focus(),document.activeElement!==V))return},[$,f]),G=l.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&c&&f&&h&&m){const w=i.trigger.getBoundingClientRect(),N=c.getBoundingClientRect(),B=i.valueNode.getBoundingClientRect(),j=m.getBoundingClientRect();if(i.dir!=="rtl"){const Je=j.left-N.left,je=B.left-Je,Be=w.left-je,Ze=w.width+Be,mr=Math.max(Ze,N.width),br=window.innerWidth-rt,gr=ld(je,[rt,br-mr]);a.style.minWidth=Ze+"px",a.style.left=gr+"px"}else{const Je=N.right-j.right,je=window.innerWidth-B.right-Je,Be=window.innerWidth-w.right-je,Ze=w.width+Be,mr=Math.max(Ze,N.width),br=window.innerWidth-rt,gr=ld(je,[rt,br-mr]);a.style.minWidth=Ze+"px",a.style.right=gr+"px"}const V=$(),K=window.innerHeight-rt*2,Y=f.scrollHeight,X=window.getComputedStyle(c),Z=parseInt(X.borderTopWidth,10),oe=parseInt(X.paddingTop,10),ne=parseInt(X.borderBottomWidth,10),ge=parseInt(X.paddingBottom,10),be=Z+oe+Y+ge+ne,we=Math.min(h.offsetHeight*5,be),ze=window.getComputedStyle(f),Oe=parseInt(ze.paddingTop,10),Ve=parseInt(ze.paddingBottom,10),ve=w.top+w.height/2-rt,_e=K-ve,Ie=h.offsetHeight/2,Ae=h.offsetTop+Ie,lt=Z+oe+Ae,Ut=be-lt;if(lt<=ve){const Je=h===V[V.length-1].ref.current;a.style.bottom="0px";const je=c.clientHeight-f.offsetTop-f.offsetHeight,Be=Math.max(_e,Ie+(Je?Ve:0)+je+ne),Ze=lt+Be;a.style.height=Ze+"px"}else{const Je=h===V[0].ref.current;a.style.top="0px";const Be=Math.max(ve,Z+f.offsetTop+(Je?Oe:0)+Ie)+Ut;a.style.height=Be+"px",f.scrollTop=lt-ve+f.offsetTop}a.style.margin=`${rt}px 0`,a.style.minHeight=we+"px",a.style.maxHeight=K+"px",E(!0),requestAnimationFrame(()=>A.current=!0)}},[$,i.trigger,i.valueNode,a,c,f,h,m,i.dir]);ye(()=>G(),[G]);const S=l.useCallback(()=>F([h,c]),[F,h,c]);l.useEffect(()=>{y&&S()},[y,S]);const q=l.useCallback(w=>{w&&v.current===!0&&(G(),S(),v.current=!1)},[G,S]),{onOpenChange:D,triggerPointerDownPosRef:P}=i;l.useEffect(()=>{if(c){let w={x:0,y:0};const N=j=>{var V,K,Y,X;w={x:Math.abs(Math.round(j.pageX)-((V=(K=P.current)===null||K===void 0?void 0:K.x)!==null&&V!==void 0?V:0)),y:Math.abs(Math.round(j.pageY)-((Y=(X=P.current)===null||X===void 0?void 0:X.y)!==null&&Y!==void 0?Y:0))}},B=j=>{w.x<=10&&w.y<=10?j.preventDefault():c.contains(j.target)||D(!1),document.removeEventListener("pointermove",N),P.current=null};return P.current!==null&&(document.addEventListener("pointermove",N),document.addEventListener("pointerup",B,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",N),document.removeEventListener("pointerup",B,{capture:!0})}}},[c,D,P]),l.useEffect(()=>{const w=()=>D(!1);return window.addEventListener("blur",w),window.addEventListener("resize",w),()=>{window.removeEventListener("blur",w),window.removeEventListener("resize",w)}},[D]);const[ee,Q]=pd(w=>{const N=$().filter(V=>!V.disabled),B=N.find(V=>V.ref.current===document.activeElement),j=hd(N,w,B);j&&setTimeout(()=>j.ref.current.focus())}),de=l.useCallback((w,N,B)=>{const j=!L.current&&!B;(i.value!==void 0&&i.value===N||j)&&(g(w),j&&(L.current=!0))},[i.value]),fe=l.useCallback(()=>c==null?void 0:c.focus(),[c]),J=l.useCallback((w,N,B)=>{const j=!L.current&&!B;(i.value!==void 0&&i.value===N||j)&&_(w)},[i.value]);return l.createElement(cd,{scope:r,contentWrapper:a,content:c,viewport:f,onViewportChange:p,itemRefCallback:de,selectedItem:h,onItemLeave:fe,itemTextRefCallback:J,selectedItemText:m,onScrollButtonChange:q,isPositioned:y,shouldExpandOnScrollRef:A,searchRef:ee},l.createElement(Ln,{as:dt,allowPinchZoom:!0},l.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T}},l.createElement(kn,{asChild:!0,trapped:i.open,onMountAutoFocus:w=>{w.preventDefault()},onUnmountAutoFocus:H(n,w=>{var N;(N=i.trigger)===null||N===void 0||N.focus({preventScroll:!0}),w.preventDefault()})},l.createElement(Ht,C({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:w=>w.preventDefault()},o,{ref:b,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:w=>w.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:H(o.onKeyDown,w=>{const N=w.ctrlKey||w.altKey||w.metaKey;if(w.key==="Tab"&&w.preventDefault(),!N&&w.key.length===1&&Q(w.key),["ArrowUp","ArrowDown","Home","End"].includes(w.key)){let j=$().filter(V=>!V.disabled).map(V=>V.ref.current);if(["ArrowUp","End"].includes(w.key)&&(j=j.slice().reverse()),["ArrowUp","ArrowDown"].includes(w.key)){const V=w.target,K=j.indexOf(V);j=j.slice(K+1)}setTimeout(()=>F(j)),w.preventDefault()}})}))))))}),Jy="SelectViewport",Zy=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ft(Jy,r),i=se(t,o.onViewportChange),a=l.useRef(0);return l.createElement(l.Fragment,null,l.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),l.createElement(un.Slot,{scope:r},l.createElement(te.div,C({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:H(n.onScroll,s=>{const c=s.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:f}=o;if(f!=null&&f.current&&d){const p=Math.abs(a.current-c.scrollTop);if(p>0){const b=window.innerHeight-rt*2,h=parseFloat(d.style.minHeight),g=parseFloat(d.style.height),m=Math.max(h,g);if(m<b){const _=m+p,$=Math.min(b,_),y=_-$;d.style.height=$+"px",d.style.bottom==="0px"&&(c.scrollTop=y>0?y:0,d.style.justifyContent="flex-end")}}}a.current=c.scrollTop})}))))}),Qy="SelectGroup",[e$,t$]=or(Qy),r$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ue();return l.createElement(e$,{scope:r,id:o},l.createElement(te.div,C({role:"group","aria-labelledby":o},n,{ref:t})))}),n$="SelectLabel",o$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=t$(n$,r);return l.createElement(te.div,C({id:o.id},n,{ref:t}))}),Qo="SelectItem",[i$,ud]=or(Qo),a$=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...a}=e,s=Lt(Qo,r),c=Ft(Qo,r),d=s.value===n,[f,p]=l.useState(i??""),[b,h]=l.useState(!1),g=se(t,$=>{var y;return(y=c.itemRefCallback)===null||y===void 0?void 0:y.call(c,$,n,o)}),m=Ue(),_=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(i$,{scope:r,value:n,disabled:o,textId:m,isSelected:d,onItemTextChange:l.useCallback($=>{p(y=>{var E;return y||((E=$==null?void 0:$.textContent)!==null&&E!==void 0?E:"").trim()})},[])},l.createElement(un.ItemSlot,{scope:r,value:n,disabled:o,textValue:f},l.createElement(te.div,C({role:"option","aria-labelledby":m,"data-highlighted":b?"":void 0,"aria-selected":d&&b,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:g,onFocus:H(a.onFocus,()=>h(!0)),onBlur:H(a.onBlur,()=>h(!1)),onPointerUp:H(a.onPointerUp,_),onPointerMove:H(a.onPointerMove,$=>{if(o){var y;(y=c.onItemLeave)===null||y===void 0||y.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:H(a.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var y;(y=c.onItemLeave)===null||y===void 0||y.call(c)}}),onKeyDown:H(a.onKeyDown,$=>{var y;((y=c.searchRef)===null||y===void 0?void 0:y.current)!==""&&$.key===" "||(Fy.includes($.key)&&_(),$.key===" "&&$.preventDefault())})}))))}),dn="SelectItemText",s$=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...i}=e,a=Lt(dn,r),s=Ft(dn,r),c=ud(dn,r),d=jy(dn,r),[f,p]=l.useState(null),b=se(t,$=>p($),c.onItemTextChange,$=>{var y;return(y=s.itemTextRefCallback)===null||y===void 0?void 0:y.call(s,$,c.value,c.disabled)}),h=f==null?void 0:f.textContent,g=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},h),[c.disabled,c.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:_}=d;return ye(()=>(m(g),()=>_(g)),[m,_,g]),l.createElement(l.Fragment,null,l.createElement(te.span,C({id:c.textId},i,{ref:b})),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?ut.createPortal(i.children,a.valueNode):null)}),l$="SelectItemIndicator",c$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return ud(l$,r).isSelected?l.createElement(te.span,C({"aria-hidden":!0},n,{ref:t})):null}),u$="SelectScrollUpButton",d$=l.forwardRef((e,t)=>{const r=Ft(u$,e.__scopeSelect),[n,o]=l.useState(!1),i=se(t,r.onScrollButtonChange);return ye(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=a.scrollTop>0;o(c)};const a=r.viewport;return s(),a.addEventListener("scroll",s),()=>a.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(dd,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),f$="SelectScrollDownButton",p$=l.forwardRef((e,t)=>{const r=Ft(f$,e.__scopeSelect),[n,o]=l.useState(!1),i=se(t,r.onScrollButtonChange);return ye(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=a.scrollHeight-a.clientHeight,d=Math.ceil(a.scrollTop)<c;o(d)};const a=r.viewport;return s(),a.addEventListener("scroll",s),()=>a.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(dd,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),dd=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,i=Ft("SelectScrollButton",r),a=l.useRef(null),s=Jo(r),c=l.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),ye(()=>{var d;const f=s().find(p=>p.ref.current===document.activeElement);f==null||(d=f.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(te.div,C({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:H(o.onPointerMove,()=>{var d;(d=i.onItemLeave)===null||d===void 0||d.call(i),a.current===null&&(a.current=window.setInterval(n,50))}),onPointerLeave:H(o.onPointerLeave,()=>{c()})}))}),h$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(te.div,C({"aria-hidden":!0},n,{ref:t}))}),fd=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),i=se(t,o),a=qr(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==r&&f){const p=new Event("change",{bubbles:!0});f.call(s,r),s.dispatchEvent(p)}},[a,r]),l.createElement(Cr,{asChild:!0},l.createElement("select",C({},n,{ref:i,defaultValue:r})))});fd.displayName="BubbleSelect";function pd(e){const t=Se(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(a=>{const s=r.current+a;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),i=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function hd(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let a=m$(e,Math.max(i,0));o.length===1&&(a=a.filter(d=>d!==r));const c=a.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function m$(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const b$=By,g$=Hy,v$=qy,_$=Yy,y$=Zy,$$=r$,x$=o$,w$=a$,E$=s$,P$=c$,S$=d$,C$=p$,T$=h$,md=I(Uy)`
1233
1239
  all: unset;
1234
1240
  display: flex;
1235
1241
  align-items: center;
1236
1242
  padding: 6px 8px;
1237
- font-size: ${f.font_size_100};
1238
- font-family: 'Inter', sans-serif;
1239
- line-height: ${f.line_height_129};
1240
- gap: ${f.sizing_200};
1241
- background-color: white;
1242
- color: ${f.color_text_white_weak};
1243
+ font-size: ${u.font_size_100};
1244
+ font-family: ${u.font_family_sans};
1245
+ line-height: ${u.line_height_129};
1246
+ gap: ${u.sizing_200};
1247
+ color: ${u.color_text_white_weak};
1243
1248
 
1244
- background: ${f.color_overlay_secondary_enabled};
1245
- border: 1px solid ${f.color_outline_secondary_enabled};
1246
- border-radius: ${f.border_radius_400};
1249
+ background-color: ${u.color_overlay_secondary_enabled};
1250
+ border: 1px solid ${u.color_outline_secondary_enabled};
1251
+ border-radius: ${u.border_radius_400};
1247
1252
 
1248
1253
  &[data-placeholder] {
1249
- color: ${f.color_text_white_weak};
1254
+ color: ${u.color_text_white_weak};
1250
1255
  }
1251
1256
 
1252
1257
  &:hover {
1253
- background-color: ${f.color_overlay_secondary_hover};
1258
+ background-color: ${u.color_overlay_secondary_hover};
1254
1259
  }
1255
1260
 
1256
1261
  &:focus-visible {
1257
- color: ${f.color_black};
1262
+ color: ${u.color_black};
1258
1263
  }
1259
1264
 
1260
1265
  &:disabled {
1261
- background-color: ${f.color_overlay_secondary_hover};
1262
- color: ${f.color_fill_primary_disabled};
1266
+ background-color: ${u.color_overlay_secondary_hover};
1267
+ color: ${u.color_fill_primary_disabled};
1263
1268
  cursor: not-allowed;
1264
1269
  }
1265
- `,D$=A.default(Y_)`
1266
- color: ${f.color_fill_secondary_enabled};
1267
- `,I$=A.default($$)`
1268
- font-family: 'Inter', sans-serif;
1270
+ `,O$=I(Gy)`
1271
+ color: ${u.color_fill_secondary_enabled};
1272
+ `,k$=I(_$)`
1273
+ font-family: ${u.font_family_sans};
1269
1274
  overflow: hidden;
1270
- background-color: white;
1275
+ background-color: ${u.color_white};
1271
1276
  margin-top: 52px;
1272
- border-radius: ${f.border_radius_400};
1273
- box-shadow: ${f.elevation_static_high};
1274
- `,A$=A.default(x$)`
1275
- padding: ${f.sizing_100};
1277
+ border-radius: ${u.border_radius_400};
1278
+ box-shadow: ${u.elevation_static_high};
1279
+ `,D$=I(y$)`
1280
+ padding: ${u.sizing_100};
1276
1281
  min-width: 172px;
1277
- `;function bd({children:e,...t}){return T(_$,{children:T(I$,{...t,children:e})})}const N$=A.default(P$)`
1282
+ `;function bd({children:e,...t}){return k(v$,{children:k(k$,{...t,children:e})})}const I$=I(w$)`
1278
1283
  all: unset;
1279
- font-size: ${f.font_size_100};
1280
- line-height: ${f.line_height_129};
1281
- letter-spacing: ${f.letter_spacing_tight};
1282
- color: ${f.color_fill_primary_pressed};
1284
+ font-size: ${u.font_size_100};
1285
+ line-height: ${u.line_height_129};
1286
+ letter-spacing: ${u.letter_spacing_tight};
1287
+ color: ${u.color_fill_primary_pressed};
1283
1288
  font-weight: 500;
1284
- border-radius: ${f.border_radius_400};
1289
+ border-radius: ${u.border_radius_400};
1285
1290
  display: flex;
1286
1291
  align-items: center;
1287
- justify-content: space-between; // make this configurable?
1292
+ justify-content: space-between; /* make this configurable? */
1288
1293
  /* height: 25px; */
1289
- padding: 7px ${f.sizing_200};
1294
+ padding: 7px ${u.sizing_200};
1290
1295
  position: relative;
1291
1296
  user-select: none;
1292
1297
 
1293
1298
  &[data-disabled] {
1294
- color: ${f.color_text_white_standard}; /* Static / Text / Inverse / Standard */
1299
+ color: ${u.color_text_white_standard}; /* Static / Text / Inverse / Standard */
1295
1300
  pointer-events: none;
1296
1301
  }
1297
1302
 
1298
1303
  &[data-highlighted] {
1299
- background-color: ${f.color_background_white_weak}; /* Static / Background / Weak */
1304
+ background-color: ${u.color_background_white_weak}; /* Static / Background / Weak */
1300
1305
  }
1301
- `,M$=A.default(E$)`
1302
- padding: 7px ${f.sizing_200};
1303
- font-size: ${f.font_size_50};
1304
- line-height: ${f.line_height_133};
1305
- color: ${f.color_text_weak};
1306
+ `,A$=I(x$)`
1307
+ padding: 7px ${u.sizing_200};
1308
+ font-size: ${u.font_size_50};
1309
+ line-height: ${u.line_height_133};
1310
+ color: ${u.color_text_weak};
1306
1311
  font-style: normal;
1307
- `,L$=A.default(k$)`
1312
+ `,N$=I(T$)`
1308
1313
  height: 1px;
1309
- background-color: ${f.color_divider_standard};
1310
- margin: ${f.spacing_100};
1311
- `,F$=A.default(C$)`
1312
- /* position: absolute; // why? */
1314
+ background-color: ${u.color_divider_standard};
1315
+ margin: ${u.spacing_100};
1316
+ `,M$=I(P$)`
1313
1317
  left: 0;
1314
1318
  width: 25px;
1315
1319
  display: inline-flex;
@@ -1318,48 +1322,48 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1318
1322
 
1319
1323
  & > svg {
1320
1324
  line-height: 0;
1321
- font-size: ${f.font_size_200};
1325
+ font-size: ${u.font_size_200};
1322
1326
  }
1323
- `,md=`
1327
+ `,gd=`
1324
1328
  display: flex;
1325
1329
  align-items: center;
1326
1330
  justify-content: center;
1327
1331
  height: 25px;
1328
- background-color: white;
1329
- color: black;
1332
+ background-color: ${u.color_white};
1333
+ color: ${u.color_black};
1330
1334
  cursor: default;
1331
- `,R$=A.default(T$)`
1332
- ${md}
1333
- `,z$=A.default(O$)`
1334
- ${md}
1335
- `,vd=g$,gd=hd,yd=y$,_d=D$,V$=A$,j$=w$,$d=N$,xd=S$,B$=F$,W$=M$,U$=L$,wd=R$,Ed=z$;function K$({items:e,...t}){return ce(vd,{...t,children:[ce(gd,{"aria-label":"Food",children:[T(yd,{placeholder:"Select"}),T(_d,{children:T(xe.ArrowDropDown,{})})]}),ce(bd,{children:[T(wd,{children:T(xe.ArrowDropUp,{})}),e.map(r=>T($d,{value:r,children:T(xd,{children:r})},r)),T(Ed,{children:T(xe.ArrowDropDown,{})})]})]})}function H$(e){let[t,r]=Xa(Pd(e.value),Pd(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function Pd(e){if(e!=null)return e.toString()}function G$(e){return e&&e.__esModule?e.default:e}var Sd={},Cd={};Cd={"Clear search":"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B"};var Td={};Td={"Clear search":"\u0418\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u044A\u0440\u0441\u0435\u043D\u0435"};var Od={};Od={"Clear search":"Vymazat hled\xE1n\xED"};var kd={};kd={"Clear search":"Ryd s\xF8gning"};var Dd={};Dd={"Clear search":"Suche zur\xFCcksetzen"};var Id={};Id={"Clear search":"\u0391\u03C0\u03B1\u03BB\u03BF\u03B9\u03C6\u03AE \u03B1\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7\u03C2"};var Ad={};Ad={"Clear search":"Clear search"};var Nd={};Nd={"Clear search":"Borrar b\xFAsqueda"};var Md={};Md={"Clear search":"T\xFChjenda otsing"};var Ld={};Ld={"Clear search":"Tyhjenn\xE4 haku"};var Fd={};Fd={"Clear search":"Effacer la recherche"};var Rd={};Rd={"Clear search":"\u05E0\u05E7\u05D4 \u05D7\u05D9\u05E4\u05D5\u05E9"};var zd={};zd={"Clear search":"Obri\u0161i pretragu"};var Vd={};Vd={"Clear search":"Keres\xE9s t\xF6rl\xE9se"};var jd={};jd={"Clear search":"Cancella ricerca"};var Bd={};Bd={"Clear search":"\u691C\u7D22\u3092\u30AF\u30EA\u30A2"};var Wd={};Wd={"Clear search":"\uAC80\uC0C9 \uC9C0\uC6B0\uAE30"};var Ud={};Ud={"Clear search":"I\u0161valyti ie\u0161k\u0105"};var Kd={};Kd={"Clear search":"Not\u012Br\u012Bt mekl\u0113\u0161anu"};var Hd={};Hd={"Clear search":"T\xF8m s\xF8k"};var Gd={};Gd={"Clear search":"Zoekactie wissen"};var qd={};qd={"Clear search":"Wyczy\u015B\u0107 zawarto\u015B\u0107 wyszukiwania"};var Yd={};Yd={"Clear search":"Limpar pesquisa"};var Xd={};Xd={"Clear search":"Limpar pesquisa"};var Jd={};Jd={"Clear search":"\u015Eterge\u0163i c\u0103utarea"};var Zd={};Zd={"Clear search":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A"};var Qd={};Qd={"Clear search":"Vymaza\u0165 vyh\u013Ead\xE1vanie"};var ef={};ef={"Clear search":"Po\u010Disti iskanje"};var tf={};tf={"Clear search":"Obri\u0161i pretragu"};var rf={};rf={"Clear search":"Rensa s\xF6kning"};var nf={};nf={"Clear search":"Aramay\u0131 temizle"};var of={};of={"Clear search":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A"};var af={};af={"Clear search":"\u6E05\u9664\u641C\u7D22"};var sf={};sf={"Clear search":"\u6E05\u9664\u641C\u5C0B\u689D\u4EF6"},Sd={"ar-AE":Cd,"bg-BG":Td,"cs-CZ":Od,"da-DK":kd,"de-DE":Dd,"el-GR":Id,"en-US":Ad,"es-ES":Nd,"et-EE":Md,"fi-FI":Ld,"fr-FR":Fd,"he-IL":Rd,"hr-HR":zd,"hu-HU":Vd,"it-IT":jd,"ja-JP":Bd,"ko-KR":Wd,"lt-LT":Ud,"lv-LV":Kd,"nb-NO":Hd,"nl-NL":Gd,"pl-PL":qd,"pt-BR":Yd,"pt-PT":Xd,"ro-RO":Jd,"ru-RU":Zd,"sk-SK":Qd,"sl-SI":ef,"sr-SP":tf,"sv-SE":rf,"tr-TR":nf,"uk-UA":of,"zh-CN":af,"zh-TW":sf};function q$(e,t,r){let n=Fr(G$(Sd)),{isDisabled:o,isReadOnly:i,onSubmit:a=()=>{},onClear:s,type:c="search"}=e,u=y=>{const $=y.key;($==="Enter"||$==="Escape")&&y.preventDefault(),!(o||i)&&($==="Enter"&&a(t.value),$==="Escape"&&(t.setValue(""),s&&s()))},d=()=>{t.setValue(""),s&&s()},p=()=>{r.current.focus()},{labelProps:b,inputProps:h,descriptionProps:v,errorMessageProps:m}=Jr({...e,value:t.value,onChange:t.setValue,onKeyDown:ts(u,e.onKeyDown),type:c},r);return{labelProps:b,inputProps:{...h,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||i,onPress:d,onPressStart:p},descriptionProps:v,errorMessageProps:m}}var ti={},ri={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ri);var ni={exports:{}},lf={exports:{}};(function(e){function t(r){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(lf),function(e){var t=lf.exports.default;function r(o){if(typeof WeakMap!="function")return null;var i=new WeakMap,a=new WeakMap;return(r=function(c){return c?a:i})(o)}function n(o,i){if(!i&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var a=r(i);if(a&&a.has(o))return a.get(o);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in o)if(u!=="default"&&Object.prototype.hasOwnProperty.call(o,u)){var d=c?Object.getOwnPropertyDescriptor(o,u):null;d&&(d.get||d.set)?Object.defineProperty(s,u,d):s[u]=o[u]}return s.default=o,a&&a.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(ni);var oi={};function cf(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function or(e){return or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or(e)}function ii(e){return e&&or(e)==="object"&&e.constructor===Object}function Rt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?C({},e):e;return ii(e)&&ii(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(ii(t[o])&&o in e?n[o]=Rt(e[o],t[o],r):n[o]=t[o])}),n}var ue={exports:{}};/*
1335
+ `,L$=I(S$)`
1336
+ ${gd}
1337
+ `,F$=I(C$)`
1338
+ ${gd}
1339
+ `,vd=b$,_d=md,yd=g$,$d=O$,R$=D$,z$=$$,xd=I$,wd=E$,V$=M$,j$=A$,B$=N$,Ed=L$,Pd=F$;function W$({items:e,...t}){return le(vd,{...t,children:[le(_d,{"aria-label":"Food",children:[k(yd,{placeholder:"Select"}),k($d,{children:k($e.ArrowDropDown,{})})]}),le(bd,{children:[k(Ed,{children:k($e.ArrowDropUp,{})}),e.map(r=>k(xd,{value:r,children:k(wd,{children:r})},r)),k(Pd,{children:k($e.ArrowDropDown,{})})]})]})}function U$(e){let[t,r]=Ps(Sd(e.value),Sd(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function Sd(e){if(e!=null)return e.toString()}function K$(e){return e&&e.__esModule?e.default:e}var Cd={},Td={};Td={"Clear search":"مسح البحث"};var Od={};Od={"Clear search":"Изчистване на търсене"};var kd={};kd={"Clear search":"Vymazat hledání"};var Dd={};Dd={"Clear search":"Ryd søgning"};var Id={};Id={"Clear search":"Suche zurücksetzen"};var Ad={};Ad={"Clear search":"Απαλοιφή αναζήτησης"};var Nd={};Nd={"Clear search":"Clear search"};var Md={};Md={"Clear search":"Borrar búsqueda"};var Ld={};Ld={"Clear search":"Tühjenda otsing"};var Fd={};Fd={"Clear search":"Tyhjennä haku"};var Rd={};Rd={"Clear search":"Effacer la recherche"};var zd={};zd={"Clear search":"נקה חיפוש"};var Vd={};Vd={"Clear search":"Obriši pretragu"};var jd={};jd={"Clear search":"Keresés törlése"};var Bd={};Bd={"Clear search":"Cancella ricerca"};var Wd={};Wd={"Clear search":"検索をクリア"};var Ud={};Ud={"Clear search":"검색 지우기"};var Kd={};Kd={"Clear search":"Išvalyti iešką"};var Hd={};Hd={"Clear search":"Notīrīt meklēšanu"};var Gd={};Gd={"Clear search":"Tøm søk"};var qd={};qd={"Clear search":"Zoekactie wissen"};var Yd={};Yd={"Clear search":"Wyczyść zawartość wyszukiwania"};var Xd={};Xd={"Clear search":"Limpar pesquisa"};var Jd={};Jd={"Clear search":"Limpar pesquisa"};var Zd={};Zd={"Clear search":"Ştergeţi căutarea"};var Qd={};Qd={"Clear search":"Очистить поиск"};var ef={};ef={"Clear search":"Vymazať vyhľadávanie"};var tf={};tf={"Clear search":"Počisti iskanje"};var rf={};rf={"Clear search":"Obriši pretragu"};var nf={};nf={"Clear search":"Rensa sökning"};var of={};of={"Clear search":"Aramayı temizle"};var af={};af={"Clear search":"Очистити пошук"};var sf={};sf={"Clear search":"清除搜索"};var lf={};lf={"Clear search":"清除搜尋條件"},Cd={"ar-AE":Td,"bg-BG":Od,"cs-CZ":kd,"da-DK":Dd,"de-DE":Id,"el-GR":Ad,"en-US":Nd,"es-ES":Md,"et-EE":Ld,"fi-FI":Fd,"fr-FR":Rd,"he-IL":zd,"hr-HR":Vd,"hu-HU":jd,"it-IT":Bd,"ja-JP":Wd,"ko-KR":Ud,"lt-LT":Kd,"lv-LV":Hd,"nb-NO":Gd,"nl-NL":qd,"pl-PL":Yd,"pt-BR":Xd,"pt-PT":Jd,"ro-RO":Zd,"ru-RU":Qd,"sk-SK":ef,"sl-SI":tf,"sr-SP":rf,"sv-SE":nf,"tr-TR":of,"uk-UA":af,"zh-CN":sf,"zh-TW":lf};function H$(e,t,r){let n=Gr(K$(Cd)),{isDisabled:o,isReadOnly:i,onSubmit:a=()=>{},onClear:s,type:c="search"}=e,d=_=>{const $=_.key;($==="Enter"||$==="Escape")&&_.preventDefault(),!(o||i)&&($==="Enter"&&a(t.value),$==="Escape"&&(t.setValue(""),s&&s()))},f=()=>{t.setValue(""),s&&s()},p=()=>{r.current.focus()},{labelProps:b,inputProps:h,descriptionProps:g,errorMessageProps:m}=Yr({...e,value:t.value,onChange:t.setValue,onKeyDown:ks(d,e.onKeyDown),type:c},r);return{labelProps:b,inputProps:{...h,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||i,onPress:f,onPressStart:p},descriptionProps:g,errorMessageProps:m}}var ei={},fn={},G$={get exports(){return fn},set exports(e){fn=e}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(G$);var pn={},q$={get exports(){return pn},set exports(e){pn=e}},ti={},Y$={get exports(){return ti},set exports(e){ti=e}};(function(e){function t(r){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Y$),function(e){var t=ti.default;function r(o){if(typeof WeakMap!="function")return null;var i=new WeakMap,a=new WeakMap;return(r=function(c){return c?a:i})(o)}function n(o,i){if(!i&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var a=r(i);if(a&&a.has(o))return a.get(o);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in o)if(d!=="default"&&Object.prototype.hasOwnProperty.call(o,d)){var f=c?Object.getOwnPropertyDescriptor(o,d):null;f&&(f.get||f.set)?Object.defineProperty(s,d,f):s[d]=o[d]}return s.default=o,a&&a.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(q$);var ri={};function cf(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function nt(e){return nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(e)}function ni(e){return e&&nt(e)==="object"&&e.constructor===Object}function Rt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?C({},e):e;return ni(e)&&ni(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(ni(t[o])&&o in e?n[o]=Rt(e[o],t[o],r):n[o]=t[o])}),n}var ce={},uf={get exports(){return ce},set exports(e){ce=e}};/*
1336
1340
  object-assign
1337
1341
  (c) Sindre Sorhus
1338
1342
  @license MIT
1339
- */var ai,uf;function Y$(){if(uf)return ai;uf=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ai=o()?Object.assign:function(i,a){for(var s,c=n(i),u,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var p in s)t.call(s,p)&&(c[p]=s[p]);if(e){u=e(s);for(var b=0;b<u.length;b++)r.call(s,u[b])&&(c[u[b]]=s[u[b]])}}return c},ai}var si,df;function li(){if(df)return si;df=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return si=e,si}var ci,ff;function pf(){return ff||(ff=1,ci=Function.call.bind(Object.prototype.hasOwnProperty)),ci}var ui,hf;function X$(){if(hf)return ui;hf=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=li(),r={},n=pf();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,u){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var p;try{if(typeof i[d]!="function"){var b=Error((c||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}p=i[d](a,d,c,s,null,t)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var h=u?u():"";e("Failed "+s+" type: "+p.message+(h!=null?h:""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ui=o,ui}var di,bf;function J$(){if(bf)return di;bf=1;var e=Pn.default,t=Y$(),r=li(),n=pf(),o=X$(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return di=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function p(E){var L=E&&(u&&E[u]||E[d]);if(typeof L=="function")return L}var b="<<anonymous>>",h={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:_(),arrayOf:w,element:g(),elementType:D(),instanceOf:M,node:G(),objectOf:N,oneOf:O,oneOfType:F,shape:Y,exact:I};function v(E,L){return E===L?E!==0||1/E===1/L:E!==E&&L!==L}function m(E,L){this.message=E,this.data=L&&typeof L=="object"?L:{},this.stack=""}m.prototype=Error.prototype;function y(E){if(process.env.NODE_ENV!=="production")var L={},B=0;function j(U,q,X,J,oe,ne,ge){if(J=J||b,ne=ne||X,ge!==r){if(c){var me=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw me.name="Invariant Violation",me}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ee=J+":"+X;!L[Ee]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ne+"` prop on `"+J+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),L[Ee]=!0,B++)}}return q[X]==null?U?q[X]===null?new m("The "+oe+" `"+ne+"` is marked as required "+("in `"+J+"`, but its value is `null`.")):new m("The "+oe+" `"+ne+"` is marked as required in "+("`"+J+"`, but its value is `undefined`.")):null:E(q,X,J,oe,ne)}var V=j.bind(null,!1);return V.isRequired=j.bind(null,!0),V}function $(E){function L(B,j,V,U,q,X){var J=B[j],oe=Z(J);if(oe!==E){var ne=fe(J);return new m("Invalid "+U+" `"+q+"` of type "+("`"+ne+"` supplied to `"+V+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return y(L)}function _(){return y(a)}function w(E){function L(B,j,V,U,q){if(typeof E!="function")return new m("Property `"+q+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var X=B[j];if(!Array.isArray(X)){var J=Z(X);return new m("Invalid "+U+" `"+q+"` of type "+("`"+J+"` supplied to `"+V+"`, expected an array."))}for(var oe=0;oe<X.length;oe++){var ne=E(X,oe,V,U,q+"["+oe+"]",r);if(ne instanceof Error)return ne}return null}return y(L)}function g(){function E(L,B,j,V,U){var q=L[B];if(!s(q)){var X=Z(q);return new m("Invalid "+V+" `"+U+"` of type "+("`"+X+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return y(E)}function D(){function E(L,B,j,V,U){var q=L[B];if(!e.isValidElementType(q)){var X=Z(q);return new m("Invalid "+V+" `"+U+"` of type "+("`"+X+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return y(E)}function M(E){function L(B,j,V,U,q){if(!(B[j]instanceof E)){var X=E.name||b,J=ee(B[j]);return new m("Invalid "+U+" `"+q+"` of type "+("`"+J+"` supplied to `"+V+"`, expected ")+("instance of `"+X+"`."))}return null}return y(L)}function O(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function L(B,j,V,U,q){for(var X=B[j],J=0;J<E.length;J++)if(v(X,E[J]))return null;var oe=JSON.stringify(E,function(ge,me){var Ee=fe(me);return Ee==="symbol"?String(me):me});return new m("Invalid "+U+" `"+q+"` of value `"+String(X)+"` "+("supplied to `"+V+"`, expected one of "+oe+"."))}return y(L)}function N(E){function L(B,j,V,U,q){if(typeof E!="function")return new m("Property `"+q+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var X=B[j],J=Z(X);if(J!=="object")return new m("Invalid "+U+" `"+q+"` of type "+("`"+J+"` supplied to `"+V+"`, expected an object."));for(var oe in X)if(n(X,oe)){var ne=E(X,oe,V,U,q+"."+oe,r);if(ne instanceof Error)return ne}return null}return y(L)}function F(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var L=0;L<E.length;L++){var B=E[L];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(B)+" at index "+L+"."),a}function j(V,U,q,X,J){for(var oe=[],ne=0;ne<E.length;ne++){var ge=E[ne],me=ge(V,U,q,X,J,r);if(me==null)return null;me.data&&n(me.data,"expectedType")&&oe.push(me.data.expectedType)}var Ee=oe.length>0?", expected one of type ["+oe.join(", ")+"]":"";return new m("Invalid "+X+" `"+J+"` supplied to "+("`"+q+"`"+Ee+"."))}return y(j)}function G(){function E(L,B,j,V,U){return P(L[B])?null:new m("Invalid "+V+" `"+U+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return y(E)}function S(E,L,B,j,V){return new m((E||"React class")+": "+L+" type `"+B+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function Y(E){function L(B,j,V,U,q){var X=B[j],J=Z(X);if(J!=="object")return new m("Invalid "+U+" `"+q+"` of type `"+J+"` "+("supplied to `"+V+"`, expected `object`."));for(var oe in E){var ne=E[oe];if(typeof ne!="function")return S(V,U,q,oe,fe(ne));var ge=ne(X,oe,V,U,q+"."+oe,r);if(ge)return ge}return null}return y(L)}function I(E){function L(B,j,V,U,q){var X=B[j],J=Z(X);if(J!=="object")return new m("Invalid "+U+" `"+q+"` of type `"+J+"` "+("supplied to `"+V+"`, expected `object`."));var oe=t({},B[j],E);for(var ne in oe){var ge=E[ne];if(n(E,ne)&&typeof ge!="function")return S(V,U,q,ne,fe(ge));if(!ge)return new m("Invalid "+U+" `"+q+"` key `"+ne+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(B[j],null," ")+`
1340
- Valid keys: `+JSON.stringify(Object.keys(E),null," "));var me=ge(X,ne,V,U,q+"."+ne,r);if(me)return me}return null}return y(L)}function P(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(P);if(E===null||s(E))return!0;var L=p(E);if(L){var B=L.call(E),j;if(L!==E.entries){for(;!(j=B.next()).done;)if(!P(j.value))return!1}else for(;!(j=B.next()).done;){var V=j.value;if(V&&!P(V[1]))return!1}}else return!1;return!0;default:return!1}}function re(E,L){return E==="symbol"?!0:L?L["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&L instanceof Symbol:!1}function Z(E){var L=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":re(L,E)?"symbol":L}function fe(E){if(typeof E>"u"||E===null)return""+E;var L=Z(E);if(L==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return L}function ve(E){var L=fe(E);switch(L){case"array":case"object":return"an "+L;case"boolean":case"date":case"regexp":return"a "+L;default:return L}}function ee(E){return!E.constructor||!E.constructor.name?b:E.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},di}var fi,mf;function Z$(){if(mf)return fi;mf=1;var e=li();function t(){}function r(){}return r.resetWarningCache=t,fi=function(){function n(a,s,c,u,d,p){if(p!==e){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},fi}if(process.env.NODE_ENV!=="production"){var Q$=Pn.default,e1=!0;ue.exports=J$()(Q$.isElement,e1)}else ue.exports=Z$()();function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var t1="exact-prop: \u200B";function r1(e){return process.env.NODE_ENV==="production"?e:C({},e,ir({},t1,function(t){var r=Object.keys(t).filter(function(n){return!e.hasOwnProperty(n)});return r.length>0?new Error("The following props are not supported: ".concat(r.map(function(n){return"`".concat(n,"`")}).join(", "),". Please remove them.")):null}))}function bn(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var n1=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function o1(e){var t="".concat(e).match(n1),r=t&&t[1];return r||""}function vf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||o1(e)||t}function gf(e,t,r){var n=vf(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function ar(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return vf(e,"Component");if(or(e)==="object")switch(e.$$typeof){case gr.ForwardRef:return gf(e,e.render,"ForwardRef");case gr.Memo:return gf(e,e.type,"memo");default:return}}}function pi(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":bn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function i1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(n,o){return o==null?n:(process.env.NODE_ENV!=="production"&&typeof o!="function"&&console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null."),function(){for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];n.apply(this,s),o.apply(this,s)})},function(){})}function yf(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ze(e,t){if(e==null)return{};var r=yf(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(r[n]=e[n]))}return r}var a1=typeof Symbol=="function"&&Symbol.for;const s1=a1?Symbol.for("mui.nested"):"__THEME_NESTED__";var l1=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function c1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,r=t===void 0?!1:t,n=e.productionPrefix,o=n===void 0?"jss":n,i=e.seed,a=i===void 0?"":i,s=a===""?"":"".concat(a,"-"),c=0,u=function(){return c+=1,process.env.NODE_ENV!=="production"&&c>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),c};return function(d,p){var b=p.options.name;if(b&&b.indexOf("Mui")===0&&!p.options.link&&!r){if(l1.indexOf(d.key)!==-1)return"Mui-".concat(d.key);var h="".concat(s).concat(b,"-").concat(d.key);return!p.options.theme[s1]||a!==""?h:"".concat(h,"-").concat(u())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(u());var v="".concat(d.key,"-").concat(u());return p.options.classNamePrefix?"".concat(s).concat(p.options.classNamePrefix,"-").concat(v):"".concat(s).concat(v)}}function u1(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o=t.props[r],i;for(i in o)n[i]===void 0&&(n[i]=o[i]);return n}var d1=process.env.NODE_ENV==="production";function Oe(e,t){if(!d1){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sr=(typeof window>"u"?"undefined":_f(window))==="object"&&(typeof document>"u"?"undefined":_f(document))==="object"&&document.nodeType===9;function $f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xf(e,t,r){return t&&$f(e.prototype,t),r&&$f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hi(e,t){return hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},hi(e,t)}function wf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,hi(e,t)}function Ef(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var f1={}.constructor;function bi(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(bi);if(e.constructor!==f1)return e;var t={};for(var r in e)t[r]=bi(e[r]);return t}function mi(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=bi(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Oe(!1,"[JSS] Unknown rule "+e),null)}var Pf=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},yt=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&t[n]!=="!important";n++)r&&(r+=", "),r+=Pf(t[n]," ");else r=Pf(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function zt(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
1341
- `,space:" "}}function lr(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function cr(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,i=o.indent,a=i===void 0?0:i,s=t.fallbacks;r.format===!1&&(a=-1/0);var c=zt(r),u=c.linebreak,d=c.space;if(e&&a++,s)if(Array.isArray(s))for(var p=0;p<s.length;p++){var b=s[p];for(var h in b){var v=b[h];v!=null&&(n&&(n+=u),n+=lr(h+":"+d+yt(v)+";",a))}}else for(var m in s){var y=s[m];y!=null&&(n&&(n+=u),n+=lr(m+":"+d+yt(y)+";",a))}for(var $ in t){var _=t[$];_!=null&&$!=="fallbacks"&&(n&&(n+=u),n+=lr($+":"+d+yt(_)+";",a))}return!n&&!r.allowEmpty||!e?n:(a--,n&&(n=""+u+n+u),lr(""+e+d+"{"+n,a)+lr("}",a))}var p1=/([[\].#*$><+~=|^:(),"'`\s])/g,Sf=typeof CSS<"u"&&CSS.escape,vi=function(e){return Sf?Sf(e):e.replace(p1,"\\$1")},Cf=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var i=o.sheet,a=o.Renderer;this.key=r,this.options=o,this.style=n,i?this.renderer=i.renderer:a&&(this.renderer=new a)}var t=e.prototype;return t.prop=function(n,o,i){if(o===void 0)return this.style[n];var a=i?i.force:!1;if(!a&&this.style[n]===o)return this;var s=o;(!i||i.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,u=n in this.style;if(c&&!u&&!a)return this;var d=c&&u;if(d?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var p=this.options.sheet;return p&&p.attached&&process.env.NODE_ENV!=="production"&&Oe(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),gi=function(e){wf(t,e);function t(n,o,i){var a;a=e.call(this,n,o,i)||this;var s=i.selector,c=i.scoped,u=i.sheet,d=i.generateId;return s?a.selectorText=s:c!==!1&&(a.id=d(Ef(Ef(a)),u),a.selectorText="."+vi(a.id)),a}var r=t.prototype;return r.applyTo=function(o){var i=this.renderer;if(i){var a=this.toJSON();for(var s in a)i.setProperty(o,s,a[s])}return this},r.toJSON=function(){var o={};for(var i in this.style){var a=this.style[i];typeof a!="object"?o[i]=a:Array.isArray(a)&&(o[i]=yt(a))}return o},r.toString=function(o){var i=this.options.sheet,a=i?i.options.link:!1,s=a?C({},o,{allowEmpty:!0}):o;return cr(this.selectorText,this.style,s)},xf(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var i=this.renderer,a=this.renderable;if(!(!a||!i)){var s=i.setSelector(a,o);s||i.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),t}(Cf),h1={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new gi(t,r,n)}},yi={indent:1,children:!0},b1=/@([\w-]+)/,m1=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var i=r.match(b1);this.at=i?i[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new mn(C({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,i){var a=this.rules.add(n,o,i);return a?(this.options.jss.plugins.onProcessRule(a),a):null},t.replaceRule=function(n,o,i){var a=this.rules.replace(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.toString=function(n){n===void 0&&(n=yi);var o=zt(n),i=o.linebreak;if(n.indent==null&&(n.indent=yi.indent),n.children==null&&(n.children=yi.children),n.children===!1)return this.query+" {}";var a=this.rules.toString(n);return a?this.query+" {"+i+a+i+"}":""},e}(),v1=/@media|@supports\s+/,g1={onCreateRule:function(t,r,n){return v1.test(t)?new m1(t,r,n):null}},_i={indent:1,children:!0},y1=/@keyframes\s+([\w-]+)/,$i=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=r.match(y1);i&&i[1]?this.name=i[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Oe(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var a=o.scoped,s=o.sheet,c=o.generateId;this.id=a===!1?this.name:vi(c(this,s)),this.rules=new mn(C({},o,{parent:this}));for(var u in n)this.rules.add(u,n[u],C({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=_i);var o=zt(n),i=o.linebreak;if(n.indent==null&&(n.indent=_i.indent),n.children==null&&(n.children=_i.children),n.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(n);return a&&(a=""+i+a+i),this.at+" "+this.id+" {"+a+"}"},e}(),_1=/@keyframes\s+/,$1=/\$([\w-]+)/g,xi=function(t,r){return typeof t=="string"?t.replace($1,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Oe(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},Tf=function(t,r,n){var o=t[r],i=xi(o,n);i!==o&&(t[r]=i)},x1={onCreateRule:function(t,r,n){return typeof t=="string"&&_1.test(t)?new $i(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Tf(t,"animation-name",n.keyframes),"animation"in t&&Tf(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return xi(t,o.keyframes);case"animation-name":return xi(t,o.keyframes);default:return t}}},w1=function(e){wf(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var i=this.options.sheet,a=i?i.options.link:!1,s=a?C({},o,{allowEmpty:!0}):o;return cr(this.key,this.style,s)},t}(Cf),E1={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new w1(t,r,n):null}},P1=function(){function e(r,n,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){var o=zt(n),i=o.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s<this.style.length;s++)a+=cr(this.at,this.style[s]),this.style[s+1]&&(a+=i);return a}return cr(this.at,this.style,n)},e}(),S1=/@font-face/,C1={onCreateRule:function(t,r,n){return S1.test(t)?new P1(t,r,n):null}},T1=function(){function e(r,n,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){return cr(this.key,this.style,n)},e}(),O1={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new T1(t,r,n):null}},k1=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",i=0;i<this.value.length;i++)o+=this.key+" "+this.value[i]+";",this.value[i+1]&&(o+=`
1342
- `);return o}return this.key+" "+this.value+";"},e}(),D1={"@charset":!0,"@import":!0,"@namespace":!0},I1={onCreateRule:function(t,r,n){return t in D1?new k1(t,r,n):null}},Of=[h1,g1,x1,E1,C1,O1,I1],A1={process:!0},kf={force:!0,process:!0},mn=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,i){var a=this.options,s=a.parent,c=a.sheet,u=a.jss,d=a.Renderer,p=a.generateId,b=a.scoped,h=C({classes:this.classes,parent:s,sheet:c,jss:u,Renderer:d,generateId:p,scoped:b,name:n,keyframes:this.keyframes,selector:void 0},i),v=n;n in this.raw&&(v=n+"-d"+this.counter++),this.raw[v]=o,v in this.classes&&(h.selector="."+vi(this.classes[v]));var m=mi(v,o,h);if(!m)return null;this.register(m);var y=h.index===void 0?this.index.length:h.index;return this.index.splice(y,0,m),m},t.replace=function(n,o,i){var a=this.get(n),s=this.index.indexOf(a);a&&this.remove(a);var c=i;return s!==-1&&(c=C({},i,{index:s})),this.add(n,o,c)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof gi?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof $i&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof gi?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof $i&&delete this.keyframes[n.name]},t.update=function(){var n,o,i;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],i=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,i);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],o,i)},t.updateOne=function(n,o,i){i===void 0&&(i=A1);var a=this.options,s=a.jss.plugins,c=a.sheet;if(n.rules instanceof e){n.rules.update(o,i);return}var u=n.style;if(s.onUpdate(o,n,c,i),i.process&&u&&u!==n.style){s.onProcessStyle(n.style,n,c);for(var d in n.style){var p=n.style[d],b=u[d];p!==b&&n.prop(d,p,kf)}for(var h in u){var v=n.style[h],m=u[h];v==null&&v!==m&&n.prop(h,null,kf)}}},t.toString=function(n){for(var o="",i=this.options.sheet,a=i?i.options.link:!1,s=zt(n),c=s.linebreak,u=0;u<this.index.length;u++){var d=this.index[u],p=d.toString(n);!p&&!a||(o&&(o+=c),o+=p)}return o},e}(),Df=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=C({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new mn(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,i){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(n,o,i);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,i){var a=this.rules.get(n);if(!a)return this.addRule(n,o,i);var s=this.rules.replace(n,o,i);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var i=[];for(var a in n){var s=this.addRule(a,n[a],o);s&&i.push(s)}return i},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,i){return this.rules.updateOne(n,o,i),this},t.toString=function(n){return this.rules.toString(n)},e}(),N1=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,i){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](n,o,i);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,i=0;i<this.registry.onProcessRule.length;i++)this.registry.onProcessRule[i](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,i){for(var a=0;a<this.registry.onProcessStyle.length;a++)o.style=this.registry.onProcessStyle[a](o.style,o,i)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,i,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,i,a)},t.onChangeValue=function(n,o,i){for(var a=n,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,o,i);return a},t.use=function(n,o){o===void 0&&(o={queue:"external"});var i=this.plugins[o.queue];i.indexOf(n)===-1&&(i.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var c in s)c in a?a[c].push(s[c]):process.env.NODE_ENV!=="production"&&Oe(!1,'[JSS] Unknown hook "'+c+'".');return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),M1=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,i=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||i>=this.index){o.push(n);return}for(var a=0;a<o.length;a++)if(o[a].options.index>i){o.splice(a,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,i=o.attached,a=yf(o,["attached"]),s=zt(a),c=s.linebreak,u="",d=0;d<this.registry.length;d++){var p=this.registry[d];i!=null&&p.attached!==i||(u&&(u+=c),u+=p.toString(a))}return u},xf(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),ur=new M1,wi=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Ei="2f1acc6c3a606b082e5eef5e54414ffb";wi[Ei]==null&&(wi[Ei]=0);var If=wi[Ei]++,L1=1e10,Af=function(t){t===void 0&&(t={});var r=0,n=function(i,a){r+=1,r>L1&&process.env.NODE_ENV!=="production"&&Oe(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return a&&(a.options.classNamePrefix&&(c=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),t.minify?""+(c||"c")+If+s+r:c+i.key+"-"+If+(s?"-"+s:"")+"-"+r};return n},Nf=function(t){var r;return function(){return r||(r=t()),r}},F1=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},R1=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=yt(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var i=o?o.indexOf("!important"):-1,a=i>-1?o.substr(0,i-1):o;t.style.setProperty(r,a,i>-1?"important":"")}}catch{return!1}return!0},z1=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Oe(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},V1=function(t,r){return t.selectorText=r,t.selectorText===r},Mf=Nf(function(){return document.querySelector("head")});function j1(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function B1(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function W1(e){for(var t=Mf(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function U1(e){var t=ur.registry;if(t.length>0){var r=j1(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=B1(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=W1(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Oe(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function K1(e,t){var r=t.insertionPoint,n=U1(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,i=o.parentNode;i?i.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Oe(!1,"[JSS] Insertion point is not in the DOM.");return}Mf().appendChild(e)}var H1=Nf(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Lf=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&Oe(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Ff=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},G1=function(){var t=document.createElement("style");return t.textContent=`
1343
- `,t},q1=function(){function e(r){this.getPropertyValue=F1,this.setProperty=R1,this.removeProperty=z1,this.setSelector=V1,this.hasInsertedRules=!1,this.cssRules=[],r&&ur.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,i=n.meta,a=n.element;this.element=a||G1(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),i&&this.element.setAttribute("data-meta",i);var s=H1();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){K1(this.element,this.sheet.options);var n=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&n&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(!!this.sheet){var n=this.element.parentNode;n&&n.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
1344
- `)}},t.deploy=function(){var n=this.sheet;if(!!n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
1343
+ */var oi,df;function X$(){if(df)return oi;df=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return oi=o()?Object.assign:function(i,a){for(var s,c=n(i),d,f=1;f<arguments.length;f++){s=Object(arguments[f]);for(var p in s)t.call(s,p)&&(c[p]=s[p]);if(e){d=e(s);for(var b=0;b<d.length;b++)r.call(s,d[b])&&(c[d[b]]=s[d[b]])}}return c},oi}var ii,ff;function ai(){if(ff)return ii;ff=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ii=e,ii}var si,pf;function hf(){return pf||(pf=1,si=Function.call.bind(Object.prototype.hasOwnProperty)),si}var li,mf;function J$(){if(mf)return li;mf=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ai(),r={},n=hf();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,d){if(process.env.NODE_ENV!=="production"){for(var f in i)if(n(i,f)){var p;try{if(typeof i[f]!="function"){var b=Error((c||"React class")+": "+s+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}p=i[f](a,f,c,s,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var h=d?d():"";e("Failed "+s+" type: "+p.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},li=o,li}var ci,bf;function Z$(){if(bf)return ci;bf=1;var e=$t,t=X$(),r=ai(),n=hf(),o=J$(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return ci=function(s,c){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(w){var N=w&&(d&&w[d]||w[f]);if(typeof N=="function")return N}var b="<<anonymous>>",h={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:y(),arrayOf:E,element:v(),elementType:A(),instanceOf:L,node:G(),objectOf:M,oneOf:T,oneOfType:F,shape:q,exact:D};function g(w,N){return w===N?w!==0||1/w===1/N:w!==w&&N!==N}function m(w,N){this.message=w,this.data=N&&typeof N=="object"?N:{},this.stack=""}m.prototype=Error.prototype;function _(w){if(process.env.NODE_ENV!=="production")var N={},B=0;function j(K,Y,X,Z,oe,ne,ge){if(Z=Z||b,ne=ne||X,ge!==r){if(c){var be=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw be.name="Invariant Violation",be}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var we=Z+":"+X;!N[we]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ne+"` prop on `"+Z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),N[we]=!0,B++)}}return Y[X]==null?K?Y[X]===null?new m("The "+oe+" `"+ne+"` is marked as required "+("in `"+Z+"`, but its value is `null`.")):new m("The "+oe+" `"+ne+"` is marked as required in "+("`"+Z+"`, but its value is `undefined`.")):null:w(Y,X,Z,oe,ne)}var V=j.bind(null,!1);return V.isRequired=j.bind(null,!0),V}function $(w){function N(B,j,V,K,Y,X){var Z=B[j],oe=Q(Z);if(oe!==w){var ne=de(Z);return new m("Invalid "+K+" `"+Y+"` of type "+("`"+ne+"` supplied to `"+V+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return _(N)}function y(){return _(a)}function E(w){function N(B,j,V,K,Y){if(typeof w!="function")return new m("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var X=B[j];if(!Array.isArray(X)){var Z=Q(X);return new m("Invalid "+K+" `"+Y+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected an array."))}for(var oe=0;oe<X.length;oe++){var ne=w(X,oe,V,K,Y+"["+oe+"]",r);if(ne instanceof Error)return ne}return null}return _(N)}function v(){function w(N,B,j,V,K){var Y=N[B];if(!s(Y)){var X=Q(Y);return new m("Invalid "+V+" `"+K+"` of type "+("`"+X+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return _(w)}function A(){function w(N,B,j,V,K){var Y=N[B];if(!e.isValidElementType(Y)){var X=Q(Y);return new m("Invalid "+V+" `"+K+"` of type "+("`"+X+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return _(w)}function L(w){function N(B,j,V,K,Y){if(!(B[j]instanceof w)){var X=w.name||b,Z=J(B[j]);return new m("Invalid "+K+" `"+Y+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected ")+("instance of `"+X+"`."))}return null}return _(N)}function T(w){if(!Array.isArray(w))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function N(B,j,V,K,Y){for(var X=B[j],Z=0;Z<w.length;Z++)if(g(X,w[Z]))return null;var oe=JSON.stringify(w,function(ge,be){var we=de(be);return we==="symbol"?String(be):be});return new m("Invalid "+K+" `"+Y+"` of value `"+String(X)+"` "+("supplied to `"+V+"`, expected one of "+oe+"."))}return _(N)}function M(w){function N(B,j,V,K,Y){if(typeof w!="function")return new m("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var X=B[j],Z=Q(X);if(Z!=="object")return new m("Invalid "+K+" `"+Y+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected an object."));for(var oe in X)if(n(X,oe)){var ne=w(X,oe,V,K,Y+"."+oe,r);if(ne instanceof Error)return ne}return null}return _(N)}function F(w){if(!Array.isArray(w))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var N=0;N<w.length;N++){var B=w[N];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+fe(B)+" at index "+N+"."),a}function j(V,K,Y,X,Z){for(var oe=[],ne=0;ne<w.length;ne++){var ge=w[ne],be=ge(V,K,Y,X,Z,r);if(be==null)return null;be.data&&n(be.data,"expectedType")&&oe.push(be.data.expectedType)}var we=oe.length>0?", expected one of type ["+oe.join(", ")+"]":"";return new m("Invalid "+X+" `"+Z+"` supplied to "+("`"+Y+"`"+we+"."))}return _(j)}function G(){function w(N,B,j,V,K){return P(N[B])?null:new m("Invalid "+V+" `"+K+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return _(w)}function S(w,N,B,j,V){return new m((w||"React class")+": "+N+" type `"+B+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function q(w){function N(B,j,V,K,Y){var X=B[j],Z=Q(X);if(Z!=="object")return new m("Invalid "+K+" `"+Y+"` of type `"+Z+"` "+("supplied to `"+V+"`, expected `object`."));for(var oe in w){var ne=w[oe];if(typeof ne!="function")return S(V,K,Y,oe,de(ne));var ge=ne(X,oe,V,K,Y+"."+oe,r);if(ge)return ge}return null}return _(N)}function D(w){function N(B,j,V,K,Y){var X=B[j],Z=Q(X);if(Z!=="object")return new m("Invalid "+K+" `"+Y+"` of type `"+Z+"` "+("supplied to `"+V+"`, expected `object`."));var oe=t({},B[j],w);for(var ne in oe){var ge=w[ne];if(n(w,ne)&&typeof ge!="function")return S(V,K,Y,ne,de(ge));if(!ge)return new m("Invalid "+K+" `"+Y+"` key `"+ne+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(B[j],null," ")+`
1344
+ Valid keys: `+JSON.stringify(Object.keys(w),null," "));var be=ge(X,ne,V,K,Y+"."+ne,r);if(be)return be}return null}return _(N)}function P(w){switch(typeof w){case"number":case"string":case"undefined":return!0;case"boolean":return!w;case"object":if(Array.isArray(w))return w.every(P);if(w===null||s(w))return!0;var N=p(w);if(N){var B=N.call(w),j;if(N!==w.entries){for(;!(j=B.next()).done;)if(!P(j.value))return!1}else for(;!(j=B.next()).done;){var V=j.value;if(V&&!P(V[1]))return!1}}else return!1;return!0;default:return!1}}function ee(w,N){return w==="symbol"?!0:N?N["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&N instanceof Symbol:!1}function Q(w){var N=typeof w;return Array.isArray(w)?"array":w instanceof RegExp?"object":ee(N,w)?"symbol":N}function de(w){if(typeof w>"u"||w===null)return""+w;var N=Q(w);if(N==="object"){if(w instanceof Date)return"date";if(w instanceof RegExp)return"regexp"}return N}function fe(w){var N=de(w);switch(N){case"array":case"object":return"an "+N;case"boolean":case"date":case"regexp":return"a "+N;default:return N}}function J(w){return!w.constructor||!w.constructor.name?b:w.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},ci}var ui,gf;function Q$(){if(gf)return ui;gf=1;var e=ai();function t(){}function r(){}return r.resetWarningCache=t,ui=function(){function n(a,s,c,d,f,p){if(p!==e){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},ui}if(process.env.NODE_ENV!=="production"){var e1=$t,t1=!0;uf.exports=Z$()(e1.isElement,t1)}else uf.exports=Q$()();function r1(e,t){if(nt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vf(e){var t=r1(e,"string");return nt(t)==="symbol"?t:String(t)}function ir(e,t,r){return t=vf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n1="exact-prop: ";function o1(e){return process.env.NODE_ENV==="production"?e:C({},e,ir({},n1,function(t){var r=Object.keys(t).filter(function(n){return!e.hasOwnProperty(n)});return r.length>0?new Error("The following props are not supported: ".concat(r.map(function(n){return"`".concat(n,"`")}).join(", "),". Please remove them.")):null}))}function hn(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var i1=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a1(e){var t="".concat(e).match(i1),r=t&&t[1];return r||""}function _f(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||a1(e)||t}function yf(e,t,r){var n=_f(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function ar(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return _f(e,"Component");if(nt(e)==="object")switch(e.$$typeof){case $t.ForwardRef:return yf(e,e.render,"ForwardRef");case $t.Memo:return yf(e,e.type,"memo");default:return}}}function di(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":hn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function s1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(n,o){return o==null?n:(process.env.NODE_ENV!=="production"&&typeof o!="function"&&console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null."),function(){for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];n.apply(this,s),o.apply(this,s)})},function(){})}function $f(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Re(e,t){if(e==null)return{};var r=$f(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l1=typeof Symbol=="function"&&Symbol.for;const c1=l1?Symbol.for("mui.nested"):"__THEME_NESTED__";var u1=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function d1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,r=t===void 0?!1:t,n=e.productionPrefix,o=n===void 0?"jss":n,i=e.seed,a=i===void 0?"":i,s=a===""?"":"".concat(a,"-"),c=0,d=function(){return c+=1,process.env.NODE_ENV!=="production"&&c>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),c};return function(f,p){var b=p.options.name;if(b&&b.indexOf("Mui")===0&&!p.options.link&&!r){if(u1.indexOf(f.key)!==-1)return"Mui-".concat(f.key);var h="".concat(s).concat(b,"-").concat(f.key);return!p.options.theme[c1]||a!==""?h:"".concat(h,"-").concat(d())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(d());var g="".concat(f.key,"-").concat(d());return p.options.classNamePrefix?"".concat(s).concat(p.options.classNamePrefix,"-").concat(g):"".concat(s).concat(g)}}function f1(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o=t.props[r],i;for(i in o)n[i]===void 0&&(n[i]=o[i]);return n}var p1=process.env.NODE_ENV==="production";function Te(e,t){if(!p1){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sr=(typeof window>"u"?"undefined":xf(window))==="object"&&(typeof document>"u"?"undefined":xf(document))==="object"&&document.nodeType===9;function wf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,vf(n.key),n)}}function Ef(e,t,r){return t&&wf(e.prototype,t),r&&wf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function fi(e,t){return fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},fi(e,t)}function Pf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fi(e,t)}function Sf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var h1={}.constructor;function pi(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(pi);if(e.constructor!==h1)return e;var t={};for(var r in e)t[r]=pi(e[r]);return t}function hi(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=pi(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] Unknown rule "+e),null)}var Cf=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},_t=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&t[n]!=="!important";n++)r&&(r+=", "),r+=Cf(t[n]," ");else r=Cf(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function zt(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
1345
+ `,space:" "}}function lr(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function cr(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,i=o.indent,a=i===void 0?0:i,s=t.fallbacks;r.format===!1&&(a=-1/0);var c=zt(r),d=c.linebreak,f=c.space;if(e&&a++,s)if(Array.isArray(s))for(var p=0;p<s.length;p++){var b=s[p];for(var h in b){var g=b[h];g!=null&&(n&&(n+=d),n+=lr(h+":"+f+_t(g)+";",a))}}else for(var m in s){var _=s[m];_!=null&&(n&&(n+=d),n+=lr(m+":"+f+_t(_)+";",a))}for(var $ in t){var y=t[$];y!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=lr($+":"+f+_t(y)+";",a))}return!n&&!r.allowEmpty||!e?n:(a--,n&&(n=""+d+n+d),lr(""+e+f+"{"+n,a)+lr("}",a))}var m1=/([[\].#*$><+~=|^:(),"'`\s])/g,Tf=typeof CSS<"u"&&CSS.escape,mi=function(e){return Tf?Tf(e):e.replace(m1,"\\$1")},Of=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var i=o.sheet,a=o.Renderer;this.key=r,this.options=o,this.style=n,i?this.renderer=i.renderer:a&&(this.renderer=new a)}var t=e.prototype;return t.prop=function(n,o,i){if(o===void 0)return this.style[n];var a=i?i.force:!1;if(!a&&this.style[n]===o)return this;var s=o;(!i||i.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,d=n in this.style;if(c&&!d&&!a)return this;var f=c&&d;if(f?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return f?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var p=this.options.sheet;return p&&p.attached&&process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),bi=function(e){Pf(t,e);function t(n,o,i){var a;a=e.call(this,n,o,i)||this;var s=i.selector,c=i.scoped,d=i.sheet,f=i.generateId;return s?a.selectorText=s:c!==!1&&(a.id=f(Sf(Sf(a)),d),a.selectorText="."+mi(a.id)),a}var r=t.prototype;return r.applyTo=function(o){var i=this.renderer;if(i){var a=this.toJSON();for(var s in a)i.setProperty(o,s,a[s])}return this},r.toJSON=function(){var o={};for(var i in this.style){var a=this.style[i];typeof a!="object"?o[i]=a:Array.isArray(a)&&(o[i]=_t(a))}return o},r.toString=function(o){var i=this.options.sheet,a=i?i.options.link:!1,s=a?C({},o,{allowEmpty:!0}):o;return cr(this.selectorText,this.style,s)},Ef(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var i=this.renderer,a=this.renderable;if(!(!a||!i)){var s=i.setSelector(a,o);s||i.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),t}(Of),b1={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new bi(t,r,n)}},gi={indent:1,children:!0},g1=/@([\w-]+)/,v1=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var i=r.match(g1);this.at=i?i[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new mn(C({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,i){var a=this.rules.add(n,o,i);return a?(this.options.jss.plugins.onProcessRule(a),a):null},t.replaceRule=function(n,o,i){var a=this.rules.replace(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.toString=function(n){n===void 0&&(n=gi);var o=zt(n),i=o.linebreak;if(n.indent==null&&(n.indent=gi.indent),n.children==null&&(n.children=gi.children),n.children===!1)return this.query+" {}";var a=this.rules.toString(n);return a?this.query+" {"+i+a+i+"}":""},e}(),_1=/@media|@supports\s+/,y1={onCreateRule:function(t,r,n){return _1.test(t)?new v1(t,r,n):null}},vi={indent:1,children:!0},$1=/@keyframes\s+([\w-]+)/,_i=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=r.match($1);i&&i[1]?this.name=i[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var a=o.scoped,s=o.sheet,c=o.generateId;this.id=a===!1?this.name:mi(c(this,s)),this.rules=new mn(C({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],C({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=vi);var o=zt(n),i=o.linebreak;if(n.indent==null&&(n.indent=vi.indent),n.children==null&&(n.children=vi.children),n.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(n);return a&&(a=""+i+a+i),this.at+" "+this.id+" {"+a+"}"},e}(),x1=/@keyframes\s+/,w1=/\$([\w-]+)/g,yi=function(t,r){return typeof t=="string"?t.replace(w1,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},kf=function(t,r,n){var o=t[r],i=yi(o,n);i!==o&&(t[r]=i)},E1={onCreateRule:function(t,r,n){return typeof t=="string"&&x1.test(t)?new _i(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&kf(t,"animation-name",n.keyframes),"animation"in t&&kf(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return yi(t,o.keyframes);case"animation-name":return yi(t,o.keyframes);default:return t}}},P1=function(e){Pf(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var i=this.options.sheet,a=i?i.options.link:!1,s=a?C({},o,{allowEmpty:!0}):o;return cr(this.key,this.style,s)},t}(Of),S1={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new P1(t,r,n):null}},C1=function(){function e(r,n,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){var o=zt(n),i=o.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s<this.style.length;s++)a+=cr(this.at,this.style[s]),this.style[s+1]&&(a+=i);return a}return cr(this.at,this.style,n)},e}(),T1=/@font-face/,O1={onCreateRule:function(t,r,n){return T1.test(t)?new C1(t,r,n):null}},k1=function(){function e(r,n,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){return cr(this.key,this.style,n)},e}(),D1={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new k1(t,r,n):null}},I1=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",i=0;i<this.value.length;i++)o+=this.key+" "+this.value[i]+";",this.value[i+1]&&(o+=`
1346
+ `);return o}return this.key+" "+this.value+";"},e}(),A1={"@charset":!0,"@import":!0,"@namespace":!0},N1={onCreateRule:function(t,r,n){return t in A1?new I1(t,r,n):null}},Df=[b1,y1,E1,S1,O1,D1,N1],M1={process:!0},If={force:!0,process:!0},mn=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,i){var a=this.options,s=a.parent,c=a.sheet,d=a.jss,f=a.Renderer,p=a.generateId,b=a.scoped,h=C({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:f,generateId:p,scoped:b,name:n,keyframes:this.keyframes,selector:void 0},i),g=n;n in this.raw&&(g=n+"-d"+this.counter++),this.raw[g]=o,g in this.classes&&(h.selector="."+mi(this.classes[g]));var m=hi(g,o,h);if(!m)return null;this.register(m);var _=h.index===void 0?this.index.length:h.index;return this.index.splice(_,0,m),m},t.replace=function(n,o,i){var a=this.get(n),s=this.index.indexOf(a);a&&this.remove(a);var c=i;return s!==-1&&(c=C({},i,{index:s})),this.add(n,o,c)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof bi?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof _i&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof bi?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof _i&&delete this.keyframes[n.name]},t.update=function(){var n,o,i;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],i=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,i);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],o,i)},t.updateOne=function(n,o,i){i===void 0&&(i=M1);var a=this.options,s=a.jss.plugins,c=a.sheet;if(n.rules instanceof e){n.rules.update(o,i);return}var d=n.style;if(s.onUpdate(o,n,c,i),i.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var f in n.style){var p=n.style[f],b=d[f];p!==b&&n.prop(f,p,If)}for(var h in d){var g=n.style[h],m=d[h];g==null&&g!==m&&n.prop(h,null,If)}}},t.toString=function(n){for(var o="",i=this.options.sheet,a=i?i.options.link:!1,s=zt(n),c=s.linebreak,d=0;d<this.index.length;d++){var f=this.index[d],p=f.toString(n);!p&&!a||(o&&(o+=c),o+=p)}return o},e}(),Af=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=C({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new mn(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,i){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(n,o,i);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,i){var a=this.rules.get(n);if(!a)return this.addRule(n,o,i);var s=this.rules.replace(n,o,i);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var i=[];for(var a in n){var s=this.addRule(a,n[a],o);s&&i.push(s)}return i},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,i){return this.rules.updateOne(n,o,i),this},t.toString=function(n){return this.rules.toString(n)},e}(),L1=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,i){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](n,o,i);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,i=0;i<this.registry.onProcessRule.length;i++)this.registry.onProcessRule[i](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,i){for(var a=0;a<this.registry.onProcessStyle.length;a++)o.style=this.registry.onProcessStyle[a](o.style,o,i)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,i,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,i,a)},t.onChangeValue=function(n,o,i){for(var a=n,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,o,i);return a},t.use=function(n,o){o===void 0&&(o={queue:"external"});var i=this.plugins[o.queue];i.indexOf(n)===-1&&(i.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var c in s)c in a?a[c].push(s[c]):process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Unknown hook "'+c+'".');return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),F1=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,i=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||i>=this.index){o.push(n);return}for(var a=0;a<o.length;a++)if(o[a].options.index>i){o.splice(a,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,i=o.attached,a=$f(o,["attached"]),s=zt(a),c=s.linebreak,d="",f=0;f<this.registry.length;f++){var p=this.registry[f];i!=null&&p.attached!==i||(d&&(d+=c),d+=p.toString(a))}return d},Ef(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),ur=new F1,$i=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),xi="2f1acc6c3a606b082e5eef5e54414ffb";$i[xi]==null&&($i[xi]=0);var Nf=$i[xi]++,R1=1e10,Mf=function(t){t===void 0&&(t={});var r=0,n=function(i,a){r+=1,r>R1&&process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return a&&(a.options.classNamePrefix&&(c=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),t.minify?""+(c||"c")+Nf+s+r:c+i.key+"-"+Nf+(s?"-"+s:"")+"-"+r};return n},Lf=function(t){var r;return function(){return r||(r=t()),r}},z1=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},V1=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=_t(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var i=o?o.indexOf("!important"):-1,a=i>-1?o.substr(0,i-1):o;t.style.setProperty(r,a,i>-1?"important":"")}}catch{return!1}return!0},j1=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},B1=function(t,r){return t.selectorText=r,t.selectorText===r},Ff=Lf(function(){return document.querySelector("head")});function W1(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function U1(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function K1(e){for(var t=Ff(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function H1(e){var t=ur.registry;if(t.length>0){var r=W1(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=U1(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=K1(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function G1(e,t){var r=t.insertionPoint,n=H1(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,i=o.parentNode;i?i.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] Insertion point is not in the DOM.");return}Ff().appendChild(e)}var q1=Lf(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Rf=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},zf=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},Y1=function(){var t=document.createElement("style");return t.textContent=`
1347
+ `,t},X1=function(){function e(r){this.getPropertyValue=z1,this.setProperty=V1,this.removeProperty=j1,this.setSelector=B1,this.hasInsertedRules=!1,this.cssRules=[],r&&ur.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,i=n.meta,a=n.element;this.element=a||Y1(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),i&&this.element.setAttribute("data-meta",i);var s=q1();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){G1(this.element,this.sheet.options);var n=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&n&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var n=this.element.parentNode;n&&n.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
1348
+ `)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
1345
1349
  `+n.toString()+`
1346
- `}},t.insertRules=function(n,o){for(var i=0;i<n.index.length;i++)this.insertRule(n.index[i],i,o)},t.insertRule=function(n,o,i){if(i===void 0&&(i=this.element.sheet),n.rules){var a=n,s=i;if(n.type==="conditional"||n.type==="keyframes"){var c=Ff(i,o);if(s=Lf(i,a.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(a.rules,s),s}var u=n.toString();if(!u)return!1;var d=Ff(i,o),p=Lf(i,u,d);return p===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,d,p),p)},t.refCssRule=function(n,o,i){n.renderable=i,n.options.parent instanceof Df&&this.cssRules.splice(o,0,i)},t.deleteRule=function(n){var o=this.element.sheet,i=this.indexOf(n);return i===-1?!1:(o.deleteRule(i),this.cssRules.splice(i,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var i=this.indexOf(n);return i===-1?!1:(this.element.sheet.deleteRule(i),this.cssRules.splice(i,1),this.insertRule(o,i))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Y1=0,X1=function(){function e(r){this.id=Y1++,this.version="10.9.2",this.plugins=new N1,this.options={id:{minify:!1},createGenerateId:Af,Renderer:sr?q1:null,plugins:[]},this.generateId=Af({minify:!1});for(var n=0;n<Of.length;n++)this.plugins.use(Of[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=C({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var i=o,a=i.index;typeof a!="number"&&(a=ur.index===0?0:ur.index+1);var s=new Df(n,C({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:a}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),ur.remove(n),this},t.createRule=function(n,o,i){if(o===void 0&&(o={}),i===void 0&&(i={}),typeof n=="object")return this.createRule(void 0,n,o);var a=C({},i,{name:n,jss:this,Renderer:this.options.Renderer});a.generateId||(a.generateId=this.generateId),a.classes||(a.classes={}),a.keyframes||(a.keyframes={});var s=mi(n,o,a);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return i.forEach(function(s){n.plugins.use(s)}),this},e}(),Pi=function(t){return new X1(t)},Si=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function Rf(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var i=Rf(n);i&&(t||(t={}),t[r]=i)}}return t}/**
1350
+ `}},t.insertRules=function(n,o){for(var i=0;i<n.index.length;i++)this.insertRule(n.index[i],i,o)},t.insertRule=function(n,o,i){if(i===void 0&&(i=this.element.sheet),n.rules){var a=n,s=i;if(n.type==="conditional"||n.type==="keyframes"){var c=zf(i,o);if(s=Rf(i,a.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(a.rules,s),s}var d=n.toString();if(!d)return!1;var f=zf(i,o),p=Rf(i,d,f);return p===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,f,p),p)},t.refCssRule=function(n,o,i){n.renderable=i,n.options.parent instanceof Af&&this.cssRules.splice(o,0,i)},t.deleteRule=function(n){var o=this.element.sheet,i=this.indexOf(n);return i===-1?!1:(o.deleteRule(i),this.cssRules.splice(i,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var i=this.indexOf(n);return i===-1?!1:(this.element.sheet.deleteRule(i),this.cssRules.splice(i,1),this.insertRule(o,i))},t.getRules=function(){return this.element.sheet.cssRules},e}(),J1=0,Z1=function(){function e(r){this.id=J1++,this.version="10.9.2",this.plugins=new L1,this.options={id:{minify:!1},createGenerateId:Mf,Renderer:sr?X1:null,plugins:[]},this.generateId=Mf({minify:!1});for(var n=0;n<Df.length;n++)this.plugins.use(Df[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=C({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var i=o,a=i.index;typeof a!="number"&&(a=ur.index===0?0:ur.index+1);var s=new Af(n,C({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:a}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),ur.remove(n),this},t.createRule=function(n,o,i){if(o===void 0&&(o={}),i===void 0&&(i={}),typeof n=="object")return this.createRule(void 0,n,o);var a=C({},i,{name:n,jss:this,Renderer:this.options.Renderer});a.generateId||(a.generateId=this.generateId),a.classes||(a.classes={}),a.keyframes||(a.keyframes={});var s=hi(n,o,a);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return i.forEach(function(s){n.plugins.use(s)}),this},e}(),wi=function(t){return new Z1(t)},Ei=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function Vf(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var i=Vf(n);i&&(t||(t={}),t[r]=i)}}return t}/**
1347
1351
  * A better abstraction over CSS.
1348
1352
  *
1349
1353
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
1350
1354
  * @website https://github.com/cssinjs/jss
1351
1355
  * @license MIT
1352
- */Pi();var zf=Date.now(),Ci="fnValues"+zf,Ti="fnStyle"+ ++zf,J1=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var i=mi(r,{},o);return i[Ti]=n,i},onProcessStyle:function(r,n){if(Ci in n||Ti in n)return r;var o={};for(var i in r){var a=r[i];typeof a=="function"&&(delete r[i],o[i]=a)}return n[Ci]=o,r},onUpdate:function(r,n,o,i){var a=n,s=a[Ti];if(s&&(a.style=s(r)||{},process.env.NODE_ENV==="development")){for(var c in a.style)if(typeof a.style[c]=="function"){process.env.NODE_ENV!=="production"&&Oe(!1,"[JSS] Function values inside function rules are not supported.");break}}var u=a[Ci];if(u)for(var d in u)a.prop(d,u[d](r),i)}}};const Z1=J1;var ot="@global",Oi="@global ",Q1=function(){function e(r,n,o){this.type="global",this.at=ot,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new mn(C({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.addRule=function(n,o,i){var a=this.rules.add(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.replaceRule=function(n,o,i){var a=this.rules.replace(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),ex=function(){function e(r,n,o){this.type="global",this.at=ot,this.isProcessed=!1,this.key=r,this.options=o;var i=r.substr(Oi.length);this.rule=o.jss.createRule(i,n,C({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),tx=/\s*,\s*/g;function Vf(e,t){for(var r=e.split(tx),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function rx(e,t){var r=e.options,n=e.style,o=n?n[ot]:null;if(!!o){for(var i in o)t.addRule(i,o[i],C({},r,{selector:Vf(i,e.selector)}));delete n[ot]}}function nx(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,ot.length)!==ot)){var i=Vf(o.substr(ot.length),e.selector);t.addRule(i,n[o],C({},r,{selector:i})),delete n[o]}}function ox(){function e(r,n,o){if(!r)return null;if(r===ot)return new Q1(r,n,o);if(r[0]==="@"&&r.substr(0,Oi.length)===Oi)return new ex(r,n,o);var i=o.parent;return i&&(i.type==="global"||i.options.parent&&i.options.parent.type==="global")&&(o.scoped=!1),!o.selector&&o.scoped===!1&&(o.selector=r),null}function t(r,n){r.type!=="style"||!n||(rx(r,n),nx(r,n))}return{onCreateRule:e,onProcessRule:t}}var jf=/\s*,\s*/g,ix=/&/g,ax=/\$([\w-]+)/g;function sx(){function e(o,i){return function(a,s){var c=o.getRule(s)||i&&i.getRule(s);return c?c.selector:(process.env.NODE_ENV!=="production"&&Oe(!1,'[JSS] Could not find the referenced rule "'+s+'" in "'+(o.options.meta||o.toString())+'".'),s)}}function t(o,i){for(var a=i.split(jf),s=o.split(jf),c="",u=0;u<a.length;u++)for(var d=a[u],p=0;p<s.length;p++){var b=s[p];c&&(c+=", "),c+=b.indexOf("&")!==-1?b.replace(ix,d):d+" "+b}return c}function r(o,i,a){if(a)return C({},a,{index:a.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=C({},o.options,{nestingLevel:s,index:i.indexOf(o)+1});return delete c.name,c}function n(o,i,a){if(i.type!=="style")return o;var s=i,c=s.options.parent,u,d;for(var p in o){var b=p.indexOf("&")!==-1,h=p[0]==="@";if(!(!b&&!h)){if(u=r(s,c,u),b){var v=t(p,s.selector);d||(d=e(c,a)),v=v.replace(ax,d);var m=s.key+"-"+p;"replaceRule"in c?c.replaceRule(m,o[p],C({},u,{selector:v})):c.addRule(m,o[p],C({},u,{selector:v}))}else h&&c.addRule(p,{},u).addRule(s.key,o[p],{selector:s.selector});delete o[p]}}return o}return{onProcessStyle:n}}var lx=/[A-Z]/g,cx=/^ms-/,ki={};function ux(e){return"-"+e.toLowerCase()}function Bf(e){if(ki.hasOwnProperty(e))return ki[e];var t=e.replace(lx,ux);return ki[e]=cx.test(t)?"-"+t:t}function vn(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Bf(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(vn):t.fallbacks=vn(e.fallbacks)),t}function dx(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=vn(r[n]);return r}return vn(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var i=Bf(n);return n===i?r:(o.prop(i,r),null)}return{onProcessStyle:e,onChangeValue:t}}var k=Si&&CSS?CSS.px:"px",gn=Si&&CSS?CSS.ms:"ms",Vt=Si&&CSS?CSS.percent:"%",fx={"animation-delay":gn,"animation-duration":gn,"background-position":k,"background-position-x":k,"background-position-y":k,"background-size":k,border:k,"border-bottom":k,"border-bottom-left-radius":k,"border-bottom-right-radius":k,"border-bottom-width":k,"border-left":k,"border-left-width":k,"border-radius":k,"border-right":k,"border-right-width":k,"border-top":k,"border-top-left-radius":k,"border-top-right-radius":k,"border-top-width":k,"border-width":k,"border-block":k,"border-block-end":k,"border-block-end-width":k,"border-block-start":k,"border-block-start-width":k,"border-block-width":k,"border-inline":k,"border-inline-end":k,"border-inline-end-width":k,"border-inline-start":k,"border-inline-start-width":k,"border-inline-width":k,"border-start-start-radius":k,"border-start-end-radius":k,"border-end-start-radius":k,"border-end-end-radius":k,margin:k,"margin-bottom":k,"margin-left":k,"margin-right":k,"margin-top":k,"margin-block":k,"margin-block-end":k,"margin-block-start":k,"margin-inline":k,"margin-inline-end":k,"margin-inline-start":k,padding:k,"padding-bottom":k,"padding-left":k,"padding-right":k,"padding-top":k,"padding-block":k,"padding-block-end":k,"padding-block-start":k,"padding-inline":k,"padding-inline-end":k,"padding-inline-start":k,"mask-position-x":k,"mask-position-y":k,"mask-size":k,height:k,width:k,"min-height":k,"max-height":k,"min-width":k,"max-width":k,bottom:k,left:k,top:k,right:k,inset:k,"inset-block":k,"inset-block-end":k,"inset-block-start":k,"inset-inline":k,"inset-inline-end":k,"inset-inline-start":k,"box-shadow":k,"text-shadow":k,"column-gap":k,"column-rule":k,"column-rule-width":k,"column-width":k,"font-size":k,"font-size-delta":k,"letter-spacing":k,"text-decoration-thickness":k,"text-indent":k,"text-stroke":k,"text-stroke-width":k,"word-spacing":k,motion:k,"motion-offset":k,outline:k,"outline-offset":k,"outline-width":k,perspective:k,"perspective-origin-x":Vt,"perspective-origin-y":Vt,"transform-origin":Vt,"transform-origin-x":Vt,"transform-origin-y":Vt,"transform-origin-z":Vt,"transition-delay":gn,"transition-duration":gn,"vertical-align":k,"flex-basis":k,"shape-margin":k,size:k,gap:k,grid:k,"grid-gap":k,"row-gap":k,"grid-row-gap":k,"grid-column-gap":k,"grid-template-rows":k,"grid-template-columns":k,"grid-auto-rows":k,"grid-auto-columns":k,"box-shadow-x":k,"box-shadow-y":k,"box-shadow-blur":k,"box-shadow-spread":k,"font-line-height":k,"text-shadow-x":k,"text-shadow-y":k,"text-shadow-blur":k};function Wf(e){var t=/(-[a-z])/g,r=function(a){return a[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var px=Wf(fx);function dr(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=dr(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=dr(o,t[o],r);else for(var i in t)t[i]=dr(e+"-"+i,t[i],r);else if(typeof t=="number"&&isNaN(t)===!1){var a=r[e]||px[e];return a&&!(t===0&&a===k)?typeof a=="function"?a(t).toString():""+t+a:t.toString()}return t}function hx(e){e===void 0&&(e={});var t=Wf(e);function r(o,i){if(i.type!=="style")return o;for(var a in o)o[a]=dr(a,o[a],t);return o}function n(o,i){return dr(i,o,t)}return{onProcessStyle:r,onChangeValue:n}}function Di(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bx(e){if(Array.isArray(e))return Di(e)}function mx(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vx(e,t){if(!!e){if(typeof e=="string")return Di(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Di(e,t)}}function gx(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1353
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yx(e){return bx(e)||mx(e)||vx(e)||gx()}var fr="",Ii="",Uf="",Kf="",_x=sr&&"ontouchstart"in document.documentElement;if(sr){var Ai={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},$x=document.createElement("p"),Ni=$x.style,xx="Transform";for(var Mi in Ai)if(Mi+xx in Ni){fr=Mi,Ii=Ai[Mi];break}fr==="Webkit"&&"msHyphens"in Ni&&(fr="ms",Ii=Ai.ms,Kf="edge"),fr==="Webkit"&&"-apple-trailing-word"in Ni&&(Uf="apple")}var te={js:fr,css:Ii,vendor:Uf,browser:Kf,isTouch:_x};function wx(e){return e[1]==="-"||te.js==="ms"?e:"@"+te.css+"keyframes"+e.substr(10)}var Ex={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:te.js==="ms"?"-webkit-"+t:te.css+t}},Px={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:te.js==="Webkit"?te.css+"print-"+t:t}},Sx=/[-\s]+(.)?/g;function Cx(e,t){return t?t.toUpperCase():""}function Li(e){return e.replace(Sx,Cx)}function it(e){return Li("-"+e)}var Tx={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(te.js==="Webkit"){var n="mask-image";if(Li(n)in r)return t;if(te.js+it(n)in r)return te.css+t}return t}},Ox={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:te.vendor==="apple"&&!te.isTouch?te.css+t:t}},kx={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:te.css+t}},Dx={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:te.css+t}},Ix={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:te.js==="Webkit"||te.js==="ms"&&te.browser!=="edge"?te.css+t:t}},Ax={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:te.js==="Moz"||te.js==="ms"||te.vendor==="apple"?te.css+t:t}},Nx={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(te.js==="Webkit"){var n="WebkitColumn"+it(t);return n in r?te.css+"column-"+t:!1}if(te.js==="Moz"){var o="page"+it(t);return o in r?"page-"+t:!1}return!1}},Mx={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(te.js==="Moz")return t;var n=t.replace("-inline","");return te.js+it(n)in r?te.css+n:!1}},Lx={supportedProperty:function(t,r){return Li(t)in r?t:!1}},Fx={supportedProperty:function(t,r){var n=it(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:te.js+n in r?te.css+t:te.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},Rx={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:te.js==="ms"?""+te.css+t:t}},zx={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:te.js==="ms"?te.css+"scroll-chaining":t}},Vx={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},jx={supportedProperty:function(t,r){var n=Vx[t];return n&&te.js+it(n)in r?te.css+n:!1}},Hf={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Bx=Object.keys(Hf),Wx=function(t){return te.css+t},Ux={supportedProperty:function(t,r,n){var o=n.multiple;if(Bx.indexOf(t)>-1){var i=Hf[t];if(!Array.isArray(i))return te.js+it(i)in r?te.css+i:!1;if(!o)return!1;for(var a=0;a<i.length;a++)if(!(te.js+it(i[0])in r))return!1;return i.map(Wx)}return!1}},Gf=[Ex,Px,Tx,Ox,kx,Dx,Ix,Ax,Nx,Mx,Lx,Fx,Rx,zx,jx,Ux],qf=Gf.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),Kx=Gf.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,yx(t.noPrefill)),e},[]),pr,_t={};if(sr){pr=document.createElement("p");var Fi=window.getComputedStyle(document.documentElement,"");for(var Ri in Fi)isNaN(Ri)||(_t[Fi[Ri]]=Fi[Ri]);Kx.forEach(function(e){return delete _t[e]})}function zi(e,t){if(t===void 0&&(t={}),!pr)return e;if(process.env.NODE_ENV!=="benchmark"&&_t[e]!=null)return _t[e];(e==="transition"||e==="transform")&&(t[e]=e in pr.style);for(var r=0;r<qf.length&&(_t[e]=qf[r](e,pr.style,t),!_t[e]);r++);try{pr.style[e]=""}catch{return!1}return _t[e]}var jt={},Hx={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Gx=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,at;function qx(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?zi(t):", "+zi(r);return n||t||r}sr&&(at=document.createElement("p"));function Yf(e,t){var r=t;if(!at||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&jt[n]!=null)return jt[n];try{at.style[e]=r}catch{return jt[n]=!1,!1}if(Hx[e])r=r.replace(Gx,qx);else if(at.style[e]===""&&(r=te.css+r,r==="-ms-flex"&&(at.style[e]="-ms-flexbox"),at.style[e]=r,at.style[e]===""))return jt[n]=!1,!1;return at.style[e]="",jt[n]=r,jt[n]}function Yx(){function e(o){if(o.type==="keyframes"){var i=o;i.at=wx(i.at)}}function t(o){for(var i in o){var a=o[i];if(i==="fallbacks"&&Array.isArray(a)){o[i]=a.map(t);continue}var s=!1,c=zi(i);c&&c!==i&&(s=!0);var u=!1,d=Yf(c,yt(a));d&&d!==a&&(u=!0),(s||u)&&(s&&delete o[i],o[c||i]=d||a)}return o}function r(o,i){return i.type!=="style"?o:t(o)}function n(o,i){return Yf(i,yt(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function Xx(){var e=function(r,n){return r.length===n.length?r>n?1:-1:r.length-n.length};return{onProcessStyle:function(r,n){if(n.type!=="style")return r;for(var o={},i=Object.keys(r).sort(e),a=0;a<i.length;a++)o[i[a]]=r[i[a]];return o}}}function Xf(){return{plugins:[Z1(),ox(),sx(),dx(),hx(),typeof window>"u"?null:Yx(),Xx()]}}function Jf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,r=e.newClasses,n=e.Component;if(!r)return t;var o=C({},t);return process.env.NODE_ENV!=="production"&&typeof r=="string"?(console.error(["Material-UI: The value `".concat(r,"` ")+"provided to the classes prop of ".concat(ar(n)," is incorrect."),"You might want to use the className prop instead."].join(`
1356
+ */wi();var jf=Date.now(),Pi="fnValues"+jf,Si="fnStyle"+ ++jf,Q1=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var i=hi(r,{},o);return i[Si]=n,i},onProcessStyle:function(r,n){if(Pi in n||Si in n)return r;var o={};for(var i in r){var a=r[i];typeof a=="function"&&(delete r[i],o[i]=a)}return n[Pi]=o,r},onUpdate:function(r,n,o,i){var a=n,s=a[Si];if(s&&(a.style=s(r)||{},process.env.NODE_ENV==="development")){for(var c in a.style)if(typeof a.style[c]=="function"){process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] Function values inside function rules are not supported.");break}}var d=a[Pi];if(d)for(var f in d)a.prop(f,d[f](r),i)}}};const ex=Q1;var ot="@global",Ci="@global ",tx=function(){function e(r,n,o){this.type="global",this.at=ot,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new mn(C({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.addRule=function(n,o,i){var a=this.rules.add(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.replaceRule=function(n,o,i){var a=this.rules.replace(n,o,i);return a&&this.options.jss.plugins.onProcessRule(a),a},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),rx=function(){function e(r,n,o){this.type="global",this.at=ot,this.isProcessed=!1,this.key=r,this.options=o;var i=r.substr(Ci.length);this.rule=o.jss.createRule(i,n,C({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),nx=/\s*,\s*/g;function Bf(e,t){for(var r=e.split(nx),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function ox(e,t){var r=e.options,n=e.style,o=n?n[ot]:null;if(o){for(var i in o)t.addRule(i,o[i],C({},r,{selector:Bf(i,e.selector)}));delete n[ot]}}function ix(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,ot.length)!==ot)){var i=Bf(o.substr(ot.length),e.selector);t.addRule(i,n[o],C({},r,{selector:i})),delete n[o]}}function ax(){function e(r,n,o){if(!r)return null;if(r===ot)return new tx(r,n,o);if(r[0]==="@"&&r.substr(0,Ci.length)===Ci)return new rx(r,n,o);var i=o.parent;return i&&(i.type==="global"||i.options.parent&&i.options.parent.type==="global")&&(o.scoped=!1),!o.selector&&o.scoped===!1&&(o.selector=r),null}function t(r,n){r.type!=="style"||!n||(ox(r,n),ix(r,n))}return{onCreateRule:e,onProcessRule:t}}var Wf=/\s*,\s*/g,sx=/&/g,lx=/\$([\w-]+)/g;function cx(){function e(o,i){return function(a,s){var c=o.getRule(s)||i&&i.getRule(s);return c?c.selector:(process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Could not find the referenced rule "'+s+'" in "'+(o.options.meta||o.toString())+'".'),s)}}function t(o,i){for(var a=i.split(Wf),s=o.split(Wf),c="",d=0;d<a.length;d++)for(var f=a[d],p=0;p<s.length;p++){var b=s[p];c&&(c+=", "),c+=b.indexOf("&")!==-1?b.replace(sx,f):f+" "+b}return c}function r(o,i,a){if(a)return C({},a,{index:a.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=C({},o.options,{nestingLevel:s,index:i.indexOf(o)+1});return delete c.name,c}function n(o,i,a){if(i.type!=="style")return o;var s=i,c=s.options.parent,d,f;for(var p in o){var b=p.indexOf("&")!==-1,h=p[0]==="@";if(!(!b&&!h)){if(d=r(s,c,d),b){var g=t(p,s.selector);f||(f=e(c,a)),g=g.replace(lx,f);var m=s.key+"-"+p;"replaceRule"in c?c.replaceRule(m,o[p],C({},d,{selector:g})):c.addRule(m,o[p],C({},d,{selector:g}))}else h&&c.addRule(p,{},d).addRule(s.key,o[p],{selector:s.selector});delete o[p]}}return o}return{onProcessStyle:n}}var ux=/[A-Z]/g,dx=/^ms-/,Ti={};function fx(e){return"-"+e.toLowerCase()}function Uf(e){if(Ti.hasOwnProperty(e))return Ti[e];var t=e.replace(ux,fx);return Ti[e]=dx.test(t)?"-"+t:t}function bn(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Uf(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(bn):t.fallbacks=bn(e.fallbacks)),t}function px(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=bn(r[n]);return r}return bn(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var i=Uf(n);return n===i?r:(o.prop(i,r),null)}return{onProcessStyle:e,onChangeValue:t}}var O=Ei&&CSS?CSS.px:"px",gn=Ei&&CSS?CSS.ms:"ms",Vt=Ei&&CSS?CSS.percent:"%",hx={"animation-delay":gn,"animation-duration":gn,"background-position":O,"background-position-x":O,"background-position-y":O,"background-size":O,border:O,"border-bottom":O,"border-bottom-left-radius":O,"border-bottom-right-radius":O,"border-bottom-width":O,"border-left":O,"border-left-width":O,"border-radius":O,"border-right":O,"border-right-width":O,"border-top":O,"border-top-left-radius":O,"border-top-right-radius":O,"border-top-width":O,"border-width":O,"border-block":O,"border-block-end":O,"border-block-end-width":O,"border-block-start":O,"border-block-start-width":O,"border-block-width":O,"border-inline":O,"border-inline-end":O,"border-inline-end-width":O,"border-inline-start":O,"border-inline-start-width":O,"border-inline-width":O,"border-start-start-radius":O,"border-start-end-radius":O,"border-end-start-radius":O,"border-end-end-radius":O,margin:O,"margin-bottom":O,"margin-left":O,"margin-right":O,"margin-top":O,"margin-block":O,"margin-block-end":O,"margin-block-start":O,"margin-inline":O,"margin-inline-end":O,"margin-inline-start":O,padding:O,"padding-bottom":O,"padding-left":O,"padding-right":O,"padding-top":O,"padding-block":O,"padding-block-end":O,"padding-block-start":O,"padding-inline":O,"padding-inline-end":O,"padding-inline-start":O,"mask-position-x":O,"mask-position-y":O,"mask-size":O,height:O,width:O,"min-height":O,"max-height":O,"min-width":O,"max-width":O,bottom:O,left:O,top:O,right:O,inset:O,"inset-block":O,"inset-block-end":O,"inset-block-start":O,"inset-inline":O,"inset-inline-end":O,"inset-inline-start":O,"box-shadow":O,"text-shadow":O,"column-gap":O,"column-rule":O,"column-rule-width":O,"column-width":O,"font-size":O,"font-size-delta":O,"letter-spacing":O,"text-decoration-thickness":O,"text-indent":O,"text-stroke":O,"text-stroke-width":O,"word-spacing":O,motion:O,"motion-offset":O,outline:O,"outline-offset":O,"outline-width":O,perspective:O,"perspective-origin-x":Vt,"perspective-origin-y":Vt,"transform-origin":Vt,"transform-origin-x":Vt,"transform-origin-y":Vt,"transform-origin-z":Vt,"transition-delay":gn,"transition-duration":gn,"vertical-align":O,"flex-basis":O,"shape-margin":O,size:O,gap:O,grid:O,"grid-gap":O,"row-gap":O,"grid-row-gap":O,"grid-column-gap":O,"grid-template-rows":O,"grid-template-columns":O,"grid-auto-rows":O,"grid-auto-columns":O,"box-shadow-x":O,"box-shadow-y":O,"box-shadow-blur":O,"box-shadow-spread":O,"font-line-height":O,"text-shadow-x":O,"text-shadow-y":O,"text-shadow-blur":O};function Kf(e){var t=/(-[a-z])/g,r=function(a){return a[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var mx=Kf(hx);function dr(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=dr(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=dr(o,t[o],r);else for(var i in t)t[i]=dr(e+"-"+i,t[i],r);else if(typeof t=="number"&&isNaN(t)===!1){var a=r[e]||mx[e];return a&&!(t===0&&a===O)?typeof a=="function"?a(t).toString():""+t+a:t.toString()}return t}function bx(e){e===void 0&&(e={});var t=Kf(e);function r(o,i){if(i.type!=="style")return o;for(var a in o)o[a]=dr(a,o[a],t);return o}function n(o,i){return dr(i,o,t)}return{onProcessStyle:r,onChangeValue:n}}function Oi(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gx(e){if(Array.isArray(e))return Oi(e)}function vx(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _x(e,t){if(e){if(typeof e=="string")return Oi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oi(e,t)}}function yx(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1357
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $x(e){return gx(e)||vx(e)||_x(e)||yx()}var fr="",ki="",Hf="",Gf="",xx=sr&&"ontouchstart"in document.documentElement;if(sr){var Di={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},wx=document.createElement("p"),Ii=wx.style,Ex="Transform";for(var Ai in Di)if(Ai+Ex in Ii){fr=Ai,ki=Di[Ai];break}fr==="Webkit"&&"msHyphens"in Ii&&(fr="ms",ki=Di.ms,Gf="edge"),fr==="Webkit"&&"-apple-trailing-word"in Ii&&(Hf="apple")}var re={js:fr,css:ki,vendor:Hf,browser:Gf,isTouch:xx};function Px(e){return e[1]==="-"||re.js==="ms"?e:"@"+re.css+"keyframes"+e.substr(10)}var Sx={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:re.js==="ms"?"-webkit-"+t:re.css+t}},Cx={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:re.js==="Webkit"?re.css+"print-"+t:t}},Tx=/[-\s]+(.)?/g;function Ox(e,t){return t?t.toUpperCase():""}function Ni(e){return e.replace(Tx,Ox)}function it(e){return Ni("-"+e)}var kx={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(re.js==="Webkit"){var n="mask-image";if(Ni(n)in r)return t;if(re.js+it(n)in r)return re.css+t}return t}},Dx={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:re.vendor==="apple"&&!re.isTouch?re.css+t:t}},Ix={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:re.css+t}},Ax={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:re.css+t}},Nx={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:re.js==="Webkit"||re.js==="ms"&&re.browser!=="edge"?re.css+t:t}},Mx={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:re.js==="Moz"||re.js==="ms"||re.vendor==="apple"?re.css+t:t}},Lx={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(re.js==="Webkit"){var n="WebkitColumn"+it(t);return n in r?re.css+"column-"+t:!1}if(re.js==="Moz"){var o="page"+it(t);return o in r?"page-"+t:!1}return!1}},Fx={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(re.js==="Moz")return t;var n=t.replace("-inline","");return re.js+it(n)in r?re.css+n:!1}},Rx={supportedProperty:function(t,r){return Ni(t)in r?t:!1}},zx={supportedProperty:function(t,r){var n=it(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:re.js+n in r?re.css+t:re.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},Vx={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:re.js==="ms"?""+re.css+t:t}},jx={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:re.js==="ms"?re.css+"scroll-chaining":t}},Bx={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Wx={supportedProperty:function(t,r){var n=Bx[t];return n&&re.js+it(n)in r?re.css+n:!1}},qf={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ux=Object.keys(qf),Kx=function(t){return re.css+t},Hx={supportedProperty:function(t,r,n){var o=n.multiple;if(Ux.indexOf(t)>-1){var i=qf[t];if(!Array.isArray(i))return re.js+it(i)in r?re.css+i:!1;if(!o)return!1;for(var a=0;a<i.length;a++)if(!(re.js+it(i[0])in r))return!1;return i.map(Kx)}return!1}},Yf=[Sx,Cx,kx,Dx,Ix,Ax,Nx,Mx,Lx,Fx,Rx,zx,Vx,jx,Wx,Hx],Xf=Yf.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),Gx=Yf.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,$x(t.noPrefill)),e},[]),pr,yt={};if(sr){pr=document.createElement("p");var Mi=window.getComputedStyle(document.documentElement,"");for(var Li in Mi)isNaN(Li)||(yt[Mi[Li]]=Mi[Li]);Gx.forEach(function(e){return delete yt[e]})}function Fi(e,t){if(t===void 0&&(t={}),!pr)return e;if(process.env.NODE_ENV!=="benchmark"&&yt[e]!=null)return yt[e];(e==="transition"||e==="transform")&&(t[e]=e in pr.style);for(var r=0;r<Xf.length&&(yt[e]=Xf[r](e,pr.style,t),!yt[e]);r++);try{pr.style[e]=""}catch{return!1}return yt[e]}var jt={},qx={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Yx=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,at;function Xx(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?Fi(t):", "+Fi(r);return n||t||r}sr&&(at=document.createElement("p"));function Jf(e,t){var r=t;if(!at||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&jt[n]!=null)return jt[n];try{at.style[e]=r}catch{return jt[n]=!1,!1}if(qx[e])r=r.replace(Yx,Xx);else if(at.style[e]===""&&(r=re.css+r,r==="-ms-flex"&&(at.style[e]="-ms-flexbox"),at.style[e]=r,at.style[e]===""))return jt[n]=!1,!1;return at.style[e]="",jt[n]=r,jt[n]}function Jx(){function e(o){if(o.type==="keyframes"){var i=o;i.at=Px(i.at)}}function t(o){for(var i in o){var a=o[i];if(i==="fallbacks"&&Array.isArray(a)){o[i]=a.map(t);continue}var s=!1,c=Fi(i);c&&c!==i&&(s=!0);var d=!1,f=Jf(c,_t(a));f&&f!==a&&(d=!0),(s||d)&&(s&&delete o[i],o[c||i]=f||a)}return o}function r(o,i){return i.type!=="style"?o:t(o)}function n(o,i){return Jf(i,_t(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function Zx(){var e=function(r,n){return r.length===n.length?r>n?1:-1:r.length-n.length};return{onProcessStyle:function(r,n){if(n.type!=="style")return r;for(var o={},i=Object.keys(r).sort(e),a=0;a<i.length;a++)o[i[a]]=r[i[a]];return o}}}function Zf(){return{plugins:[ex(),ax(),cx(),px(),bx(),typeof window>"u"?null:Jx(),Zx()]}}function Qf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,r=e.newClasses,n=e.Component;if(!r)return t;var o=C({},t);return process.env.NODE_ENV!=="production"&&typeof r=="string"?(console.error(["Material-UI: The value `".concat(r,"` ")+"provided to the classes prop of ".concat(ar(n)," is incorrect."),"You might want to use the className prop instead."].join(`
1354
1358
  `)),t):(Object.keys(r).forEach(function(i){process.env.NODE_ENV!=="production"&&(!t[i]&&r[i]&&console.error(["Material-UI: The key `".concat(i,"` ")+"provided to the classes prop is not implemented in ".concat(ar(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
1355
1359
  `)),r[i]&&typeof r[i]!="string"&&console.error(["Material-UI: The key `".concat(i,"` ")+"provided to the classes prop is not valid for ".concat(ar(n),"."),"You need to provide a non empty string instead of: ".concat(r[i],".")].join(`
1356
- `))),r[i]&&(o[i]="".concat(t[i]," ").concat(r[i]))}),o)}var Jx={set:function(t,r,n,o){var i=t.get(r);i||(i=new Map,t.set(r,i)),i.set(n,o)},get:function(t,r,n){var o=t.get(r);return o?o.get(n):void 0},delete:function(t,r,n){var o=t.get(r);o.delete(n)}};const Bt=Jx;var Zf=ie.default.createContext(null);process.env.NODE_ENV!=="production"&&(Zf.displayName="ThemeContext");const Zx=Zf;function Qf(){var e=ie.default.useContext(Zx);return process.env.NODE_ENV!=="production"&&ie.default.useDebugValue(e),e}var Qx=Pi(Xf()),ew=c1(),tw=new Map,rw={disableGeneration:!1,generateClassName:ew,jss:Qx,sheetsCache:null,sheetsManager:tw,sheetsRegistry:null},yn=ie.default.createContext(rw);process.env.NODE_ENV!=="production"&&(yn.displayName="StylesContext");var _n;function Vi(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,i=o===void 0?!1:o,a=ze(e,["children","injectFirst","disableGeneration"]),s=ie.default.useContext(yn),c=C({},s,{disableGeneration:i},a);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!c.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&c.jss.options.insertionPoint&&n&&console.error("Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),process.env.NODE_ENV!=="production"&&n&&a.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!c.jss.options.insertionPoint&&n&&typeof window<"u"){if(!_n){var u=document.head;_n=document.createComment("mui-inject-first"),u.insertBefore(_n,u.firstChild)}c.jss=Pi({plugins:Xf().plugins,insertionPoint:_n})}return T(yn.Provider,{value:c,children:t})}process.env.NODE_ENV!=="production"&&(Vi.propTypes={children:ue.exports.node.isRequired,disableGeneration:ue.exports.bool,generateClassName:ue.exports.func,injectFirst:ue.exports.bool,jss:ue.exports.object,serverGenerateClassName:ue.exports.func,sheetsCache:ue.exports.object,sheetsManager:ue.exports.object,sheetsRegistry:ue.exports.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Vi.propTypes=r1(Vi.propTypes));var ji=-1e9;function nw(){return ji+=1,process.env.NODE_ENV!=="production"&&ji>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
1357
- `)),ji}var ow={};const ep=ow;function iw(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&or(e)!=="object"&&!t&&console.error(["Material-UI: The `styles` argument provided is invalid.","You need to provide a function generating the styles or a styles object."].join(`
1358
- `)),{create:function(n,o){var i;try{i=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===ep&&console.error(["Material-UI: The `styles` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
1360
+ `))),r[i]&&(o[i]="".concat(t[i]," ").concat(r[i]))}),o)}var Qx={set:function(t,r,n,o){var i=t.get(r);i||(i=new Map,t.set(r,i)),i.set(n,o)},get:function(t,r,n){var o=t.get(r);return o?o.get(n):void 0},delete:function(t,r,n){var o=t.get(r);o.delete(n)}};const Bt=Qx;var ep=l.createContext(null);process.env.NODE_ENV!=="production"&&(ep.displayName="ThemeContext");const ew=ep;function tp(){var e=l.useContext(ew);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var tw=wi(Zf()),rw=d1(),nw=new Map,ow={disableGeneration:!1,generateClassName:rw,jss:tw,sheetsCache:null,sheetsManager:nw,sheetsRegistry:null},vn=l.createContext(ow);process.env.NODE_ENV!=="production"&&(vn.displayName="StylesContext");var _n;function Ri(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,i=o===void 0?!1:o,a=Re(e,["children","injectFirst","disableGeneration"]),s=l.useContext(vn),c=C({},s,{disableGeneration:i},a);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!c.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&c.jss.options.insertionPoint&&n&&console.error("Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),process.env.NODE_ENV!=="production"&&n&&a.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!c.jss.options.insertionPoint&&n&&typeof window<"u"){if(!_n){var d=document.head;_n=document.createComment("mui-inject-first"),d.insertBefore(_n,d.firstChild)}c.jss=wi({plugins:Zf().plugins,insertionPoint:_n})}return l.createElement(vn.Provider,{value:c},t)}process.env.NODE_ENV!=="production"&&(Ri.propTypes={children:ce.node.isRequired,disableGeneration:ce.bool,generateClassName:ce.func,injectFirst:ce.bool,jss:ce.object,serverGenerateClassName:ce.func,sheetsCache:ce.object,sheetsManager:ce.object,sheetsRegistry:ce.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Ri.propTypes=o1(Ri.propTypes));var zi=-1e9;function iw(){return zi+=1,process.env.NODE_ENV!=="production"&&zi>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
1361
+ `)),zi}var aw={};const rp=aw;function sw(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&nt(e)!=="object"&&!t&&console.error(["Material-UI: The `styles` argument provided is invalid.","You need to provide a function generating the styles or a styles object."].join(`
1362
+ `)),{create:function(n,o){var i;try{i=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===rp&&console.error(["Material-UI: The `styles` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
1359
1363
  `)),c}if(!o||!n.overrides||!n.overrides[o])return i;var a=n.overrides[o],s=C({},i);return Object.keys(a).forEach(function(c){process.env.NODE_ENV!=="production"&&(s[c]||console.warn(["Material-UI: You are trying to override a style that does not exist.","Fix the `".concat(c,"` key of `theme.overrides.").concat(o,"`.")].join(`
1360
- `))),s[c]=Rt(s[c],a[c])}),s},options:{}}}function aw(e,t,r){var n=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,i=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,i=!0),i&&(n.cacheClasses.value=Jf({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function sw(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Bt.get(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Bt.set(o.sheetsManager,i,n,s));var c=C({},i.options,o,{theme:n,flip:typeof o.flip=="boolean"?o.flip:n.direction==="rtl"});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=o.sheetsRegistry;if(s.refs===0){var d;o.sheetsCache&&(d=Bt.get(o.sheetsCache,i,n));var p=i.create(n,a);d||(d=o.jss.createStyleSheet(p,C({link:!1},c)),d.attach(),o.sheetsCache&&Bt.set(o.sheetsCache,i,n,d)),u&&u.add(d),s.staticSheet=d,s.dynamicStyles=Rf(p)}if(s.dynamicStyles){var b=o.jss.createStyleSheet(s.dynamicStyles,C({link:!0},c));b.update(t),b.attach(),r.dynamicSheet=b,r.classes=Jf({baseClasses:s.staticSheet.classes,newClasses:b.classes}),u&&u.add(b)}else r.classes=s.staticSheet.classes;s.refs+=1}}function lw(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function cw(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=Bt.get(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;i.refs===0&&(Bt.delete(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function uw(e,t){var r=ie.default.useRef([]),n,o=ie.default.useMemo(function(){return{}},t);r.current!==o&&(r.current=o,n=e()),ie.default.useEffect(function(){return function(){n&&n()}},[o])}function dw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=i===void 0?ep:i,s=ze(t,["name","classNamePrefix","Component","defaultTheme"]),c=iw(e),u=r||n||"makeStyles";c.options={index:nw(),name:r,meta:u,classNamePrefix:u};var d=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=Qf()||a,v=C({},ie.default.useContext(yn),s),m=ie.default.useRef(),y=ie.default.useRef();uw(function(){var _={name:r,state:{},stylesCreator:c,stylesOptions:v,theme:h};return sw(_,b),y.current=!1,m.current=_,function(){cw(_)}},[h,c]),ie.default.useEffect(function(){y.current&&lw(m.current,b),y.current=!0});var $=aw(m.current,b.classes,o);return process.env.NODE_ENV!=="production"&&ie.default.useDebugValue($),$};return d}var Bi=Pn.default,fw={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pw={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},hw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wi={};Wi[Bi.ForwardRef]=hw,Wi[Bi.Memo]=tp;function rp(e){return Bi.isMemo(e)?tp:Wi[e.$$typeof]||fw}var bw=Object.defineProperty,mw=Object.getOwnPropertyNames,np=Object.getOwnPropertySymbols,vw=Object.getOwnPropertyDescriptor,gw=Object.getPrototypeOf,op=Object.prototype;function ip(e,t,r){if(typeof t!="string"){if(op){var n=gw(t);n&&n!==op&&ip(e,n,r)}var o=mw(t);np&&(o=o.concat(np(t)));for(var i=rp(e),a=rp(t),s=0;s<o.length;++s){var c=o[s];if(!pw[c]&&!(r&&r[c])&&!(a&&a[c])&&!(i&&i[c])){var u=vw(t,c);try{bw(e,c,u)}catch{}}}}return e}var yw=ip,_w=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(n){var o=r.defaultTheme,i=r.withTheme,a=i===void 0?!1:i,s=r.name,c=ze(r,["defaultTheme","withTheme","name"]);if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
1361
- `));var u=s;if(process.env.NODE_ENV!=="production"&&!s){var d=ar(n);d!==void 0&&(u=d)}var p=dw(t,C({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:u},c)),b=ie.default.forwardRef(function(v,m){v.classes;var y=v.innerRef,$=ze(v,["classes","innerRef"]),_=p(C({},n.defaultProps,v)),w,g=$;return(typeof s=="string"||a)&&(w=Qf()||o,s&&(g=u1({theme:w,name:s,props:$})),a&&!g.theme&&(g.theme=w)),T(n,{ref:y||m,classes:_,...g})});return process.env.NODE_ENV!=="production"&&(b.propTypes={classes:ue.exports.object,innerRef:cf(ue.exports.oneOfType([ue.exports.func,ue.exports.object]),function(h){return h.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(b.displayName="WithStyles(".concat(ar(n),")")),yw(b,n),process.env.NODE_ENV!=="production"&&(b.Naked=n,b.options=r,b.useStyles=p),b}};const $w=_w;var st=["xs","sm","md","lg","xl"];function xw(e){var t=e.values,r=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,n=e.unit,o=n===void 0?"px":n,i=e.step,a=i===void 0?5:i,s=ze(e,["values","unit","step"]);function c(v){var m=typeof r[v]=="number"?r[v]:v;return"@media (min-width:".concat(m).concat(o,")")}function u(v){var m=st.indexOf(v)+1,y=r[st[m]];if(m===st.length)return c("xs");var $=typeof y=="number"&&m>0?y:v;return"@media (max-width:".concat($-a/100).concat(o,")")}function d(v,m){var y=st.indexOf(m);return y===st.length-1?c(v):"@media (min-width:".concat(typeof r[v]=="number"?r[v]:v).concat(o,") and ")+"(max-width:".concat((y!==-1&&typeof r[st[y+1]]=="number"?r[st[y+1]]:m)-a/100).concat(o,")")}function p(v){return d(v,v)}var b=!1;function h(v){return process.env.NODE_ENV!=="production"&&(b||(b=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
1362
- `)))),r[v]}return C({keys:st,values:r,up:c,down:u,between:d,only:p,width:h},s)}function ww(e,t,r){var n;return C({gutters:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:",`
1364
+ `))),s[c]=Rt(s[c],a[c])}),s},options:{}}}function lw(e,t,r){var n=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,i=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,i=!0),i&&(n.cacheClasses.value=Qf({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function cw(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Bt.get(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Bt.set(o.sheetsManager,i,n,s));var c=C({},i.options,o,{theme:n,flip:typeof o.flip=="boolean"?o.flip:n.direction==="rtl"});c.generateId=c.serverGenerateClassName||c.generateClassName;var d=o.sheetsRegistry;if(s.refs===0){var f;o.sheetsCache&&(f=Bt.get(o.sheetsCache,i,n));var p=i.create(n,a);f||(f=o.jss.createStyleSheet(p,C({link:!1},c)),f.attach(),o.sheetsCache&&Bt.set(o.sheetsCache,i,n,f)),d&&d.add(f),s.staticSheet=f,s.dynamicStyles=Vf(p)}if(s.dynamicStyles){var b=o.jss.createStyleSheet(s.dynamicStyles,C({link:!0},c));b.update(t),b.attach(),r.dynamicSheet=b,r.classes=Qf({baseClasses:s.staticSheet.classes,newClasses:b.classes}),d&&d.add(b)}else r.classes=s.staticSheet.classes;s.refs+=1}}function uw(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function dw(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=Bt.get(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;i.refs===0&&(Bt.delete(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function fw(e,t){var r=l.useRef([]),n,o=l.useMemo(function(){return{}},t);r.current!==o&&(r.current=o,n=e()),l.useEffect(function(){return function(){n&&n()}},[o])}function pw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=i===void 0?rp:i,s=Re(t,["name","classNamePrefix","Component","defaultTheme"]),c=sw(e),d=r||n||"makeStyles";c.options={index:iw(),name:r,meta:d,classNamePrefix:d};var f=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=tp()||a,g=C({},l.useContext(vn),s),m=l.useRef(),_=l.useRef();fw(function(){var y={name:r,state:{},stylesCreator:c,stylesOptions:g,theme:h};return cw(y,b),_.current=!1,m.current=y,function(){dw(y)}},[h,c]),l.useEffect(function(){_.current&&uw(m.current,b),_.current=!0});var $=lw(m.current,b.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue($),$};return f}var Vi=$t,hw={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mw={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},bw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},np={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ji={};ji[Vi.ForwardRef]=bw,ji[Vi.Memo]=np;function op(e){return Vi.isMemo(e)?np:ji[e.$$typeof]||hw}var gw=Object.defineProperty,vw=Object.getOwnPropertyNames,ip=Object.getOwnPropertySymbols,_w=Object.getOwnPropertyDescriptor,yw=Object.getPrototypeOf,ap=Object.prototype;function sp(e,t,r){if(typeof t!="string"){if(ap){var n=yw(t);n&&n!==ap&&sp(e,n,r)}var o=vw(t);ip&&(o=o.concat(ip(t)));for(var i=op(e),a=op(t),s=0;s<o.length;++s){var c=o[s];if(!mw[c]&&!(r&&r[c])&&!(a&&a[c])&&!(i&&i[c])){var d=_w(t,c);try{gw(e,c,d)}catch{}}}}return e}var $w=sp,xw=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(n){var o=r.defaultTheme,i=r.withTheme,a=i===void 0?!1:i,s=r.name,c=Re(r,["defaultTheme","withTheme","name"]);if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
1365
+ `));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=ar(n);f!==void 0&&(d=f)}var p=pw(t,C({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:d},c)),b=l.forwardRef(function(g,m){g.classes;var _=g.innerRef,$=Re(g,["classes","innerRef"]),y=p(C({},n.defaultProps,g)),E,v=$;return(typeof s=="string"||a)&&(E=tp()||o,s&&(v=f1({theme:E,name:s,props:$})),a&&!v.theme&&(v.theme=E)),l.createElement(n,C({ref:_||m,classes:y},v))});return process.env.NODE_ENV!=="production"&&(b.propTypes={classes:ce.object,innerRef:cf(ce.oneOfType([ce.func,ce.object]),function(h){return h.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(b.displayName="WithStyles(".concat(ar(n),")")),$w(b,n),process.env.NODE_ENV!=="production"&&(b.Naked=n,b.options=r,b.useStyles=p),b}};const ww=xw;var st=["xs","sm","md","lg","xl"];function Ew(e){var t=e.values,r=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,n=e.unit,o=n===void 0?"px":n,i=e.step,a=i===void 0?5:i,s=Re(e,["values","unit","step"]);function c(g){var m=typeof r[g]=="number"?r[g]:g;return"@media (min-width:".concat(m).concat(o,")")}function d(g){var m=st.indexOf(g)+1,_=r[st[m]];if(m===st.length)return c("xs");var $=typeof _=="number"&&m>0?_:g;return"@media (max-width:".concat($-a/100).concat(o,")")}function f(g,m){var _=st.indexOf(m);return _===st.length-1?c(g):"@media (min-width:".concat(typeof r[g]=="number"?r[g]:g).concat(o,") and ")+"(max-width:".concat((_!==-1&&typeof r[st[_+1]]=="number"?r[st[_+1]]:m)-a/100).concat(o,")")}function p(g){return f(g,g)}var b=!1;function h(g){return process.env.NODE_ENV!=="production"&&(b||(b=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
1366
+ `)))),r[g]}return C({keys:st,values:r,up:c,down:d,between:f,only:p,width:h},s)}function Pw(e,t,r){var n;return C({gutters:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:",`
1363
1367
  paddingLeft: theme.spacing(2),
1364
1368
  paddingRight: theme.spacing(2),
1365
1369
  [theme.breakpoints.up('sm')]: {
@@ -1367,12 +1371,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1367
1371
  paddingRight: theme.spacing(3),
1368
1372
  },
1369
1373
  `].join(`
1370
- `)),C({paddingLeft:t(2),paddingRight:t(2)},i,ir({},e.up("sm"),C({paddingLeft:t(3),paddingRight:t(3)},i[e.up("sm")])))},toolbar:(n={minHeight:56},ir(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),ir(n,e.up("sm"),{minHeight:64}),n)},r)}var Ew={black:"#000",white:"#fff"};const $n=Ew;var Pw={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const Ui=Pw;var Sw={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const Ki=Sw;var Cw={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const Hi=Cw;var Tw={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};const Gi=Tw;var Ow={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};const qi=Ow;var kw={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};const Yi=kw;var Dw={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const Xi=Dw;function ap(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(r,"].")),Math.min(Math.max(t,e),r)}function Iw(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&r[0].length===1&&(r=r.map(function(n){return n+n})),r?"rgb".concat(r.length===4?"a":"","(").concat(r.map(function(n,o){return o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3}).join(", "),")"):""}function Aw(e){e=Wt(e);var t=e,r=t.values,n=r[0],o=r[1]/100,i=r[2]/100,a=o*Math.min(i,1-i),s=function(p){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(p+n/30)%12;return i-a*Math.max(Math.min(b-3,9-b,1),-1)},c="rgb",u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",u.push(r[3])),Ji({type:c,values:u})}function Wt(e){if(e.type)return e;if(e.charAt(0)==="#")return Wt(Iw(e));var t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: Unsupported `".concat(e,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):bn(3,e));var n=e.substring(t+1,e.length-1).split(",");return n=n.map(function(o){return parseFloat(o)}),{type:r,values:n}}function Ji(e){var t=e.type,r=e.values;return t.indexOf("rgb")!==-1?r=r.map(function(n,o){return o<3?parseInt(n,10):n}):t.indexOf("hsl")!==-1&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function sp(e,t){var r=lp(e),n=lp(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function lp(e){e=Wt(e);var t=e.type==="hsl"?Wt(Aw(e)).values:e.values;return t=t.map(function(r){return r/=255,r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Nw(e,t){if(e=Wt(e),t=ap(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]*=1-t;return Ji(e)}function Mw(e,t){if(e=Wt(e),t=ap(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return Ji(e)}var cp={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:$n.white,default:Ui[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Zi={text:{primary:$n.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Ui[800],default:"#303030"},action:{active:$n.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function up(e,t,r,n){var o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Mw(e.main,o):t==="dark"&&(e.dark=Nw(e.main,i)))}function Lw(e){var t=e.primary,r=t===void 0?{light:Ki[300],main:Ki[500],dark:Ki[700]}:t,n=e.secondary,o=n===void 0?{light:Hi.A200,main:Hi.A400,dark:Hi.A700}:n,i=e.error,a=i===void 0?{light:Gi[300],main:Gi[500],dark:Gi[700]}:i,s=e.warning,c=s===void 0?{light:qi[300],main:qi[500],dark:qi[700]}:s,u=e.info,d=u===void 0?{light:Yi[300],main:Yi[500],dark:Yi[700]}:u,p=e.success,b=p===void 0?{light:Xi[300],main:Xi[500],dark:Xi[700]}:p,h=e.type,v=h===void 0?"light":h,m=e.contrastThreshold,y=m===void 0?3:m,$=e.tonalOffset,_=$===void 0?.2:$,w=ze(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function g(N){var F=sp(N,Zi.text.primary)>=y?Zi.text.primary:cp.text.primary;if(process.env.NODE_ENV!=="production"){var G=sp(N,F);G<3&&console.error(["Material-UI: The contrast ratio of ".concat(G,":1 for ").concat(F," on ").concat(N),"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
1371
- `))}return F}var D=function(F){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(F=C({},F),!F.main&&F[G]&&(F.main=F[G]),!F.main)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(G,"` property."):bn(4,G));if(typeof F.main!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(F.main),`\` was provided instead.
1374
+ `)),C({paddingLeft:t(2),paddingRight:t(2)},i,ir({},e.up("sm"),C({paddingLeft:t(3),paddingRight:t(3)},i[e.up("sm")])))},toolbar:(n={minHeight:56},ir(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),ir(n,e.up("sm"),{minHeight:64}),n)},r)}var Sw={black:"#000",white:"#fff"};const yn=Sw;var Cw={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const Bi=Cw;var Tw={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const Wi=Tw;var Ow={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const Ui=Ow;var kw={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};const Ki=kw;var Dw={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};const Hi=Dw;var Iw={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};const Gi=Iw;var Aw={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const qi=Aw;function lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(r,"].")),Math.min(Math.max(t,e),r)}function Nw(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&r[0].length===1&&(r=r.map(function(n){return n+n})),r?"rgb".concat(r.length===4?"a":"","(").concat(r.map(function(n,o){return o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3}).join(", "),")"):""}function Mw(e){e=Wt(e);var t=e,r=t.values,n=r[0],o=r[1]/100,i=r[2]/100,a=o*Math.min(i,1-i),s=function(p){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(p+n/30)%12;return i-a*Math.max(Math.min(b-3,9-b,1),-1)},c="rgb",d=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",d.push(r[3])),Yi({type:c,values:d})}function Wt(e){if(e.type)return e;if(e.charAt(0)==="#")return Wt(Nw(e));var t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: Unsupported `".concat(e,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):hn(3,e));var n=e.substring(t+1,e.length-1).split(",");return n=n.map(function(o){return parseFloat(o)}),{type:r,values:n}}function Yi(e){var t=e.type,r=e.values;return t.indexOf("rgb")!==-1?r=r.map(function(n,o){return o<3?parseInt(n,10):n}):t.indexOf("hsl")!==-1&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function cp(e,t){var r=up(e),n=up(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function up(e){e=Wt(e);var t=e.type==="hsl"?Wt(Mw(e)).values:e.values;return t=t.map(function(r){return r/=255,r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Lw(e,t){if(e=Wt(e),t=lp(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]*=1-t;return Yi(e)}function Fw(e,t){if(e=Wt(e),t=lp(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return Yi(e)}var dp={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:yn.white,default:Bi[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Xi={text:{primary:yn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Bi[800],default:"#303030"},action:{active:yn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function fp(e,t,r,n){var o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Fw(e.main,o):t==="dark"&&(e.dark=Lw(e.main,i)))}function Rw(e){var t=e.primary,r=t===void 0?{light:Wi[300],main:Wi[500],dark:Wi[700]}:t,n=e.secondary,o=n===void 0?{light:Ui.A200,main:Ui.A400,dark:Ui.A700}:n,i=e.error,a=i===void 0?{light:Ki[300],main:Ki[500],dark:Ki[700]}:i,s=e.warning,c=s===void 0?{light:Hi[300],main:Hi[500],dark:Hi[700]}:s,d=e.info,f=d===void 0?{light:Gi[300],main:Gi[500],dark:Gi[700]}:d,p=e.success,b=p===void 0?{light:qi[300],main:qi[500],dark:qi[700]}:p,h=e.type,g=h===void 0?"light":h,m=e.contrastThreshold,_=m===void 0?3:m,$=e.tonalOffset,y=$===void 0?.2:$,E=Re(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function v(M){var F=cp(M,Xi.text.primary)>=_?Xi.text.primary:dp.text.primary;if(process.env.NODE_ENV!=="production"){var G=cp(M,F);G<3&&console.error(["Material-UI: The contrast ratio of ".concat(G,":1 for ").concat(F," on ").concat(M),"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
1375
+ `))}return F}var A=function(F){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(F=C({},F),!F.main&&F[G]&&(F.main=F[G]),!F.main)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(G,"` property."):hn(4,G));if(typeof F.main!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(F.main),`\` was provided instead.
1372
1376
 
1373
1377
  Did you intend to use one of the following approaches?
1374
1378
 
1375
- import {\xA0green } from "@material-ui/core/colors";
1379
+ import { green } from "@material-ui/core/colors";
1376
1380
 
1377
1381
  const theme1 = createTheme({ palette: {
1378
1382
  primary: green,
@@ -1380,27 +1384,30 @@ const theme1 = createTheme({ palette: {
1380
1384
 
1381
1385
  const theme2 = createTheme({ palette: {
1382
1386
  primary: { main: green[500] },
1383
- } });`):bn(5,JSON.stringify(F.main)));return up(F,"light",S,_),up(F,"dark",Y,_),F.contrastText||(F.contrastText=g(F.main)),F},M={dark:Zi,light:cp};process.env.NODE_ENV!=="production"&&(M[v]||console.error("Material-UI: The palette type `".concat(v,"` is not supported.")));var O=Rt(C({common:$n,type:v,primary:D(r),secondary:D(o,"A400","A200","A700"),error:D(a),warning:D(c),info:D(d),success:D(b),grey:Ui,contrastThreshold:y,getContrastText:g,augmentColor:D,tonalOffset:_},M[v]),w);return O}function dp(e){return Math.round(e*1e5)/1e5}var fp=!1;function Fw(e){return process.env.NODE_ENV!=="production"&&(fp||(console.warn(["Material-UI: The `theme.typography.round` helper is deprecated.","Head to https://mui.com/r/migration-v4/#theme for a migration path."].join(`
1384
- `)),fp=!0)),dp(e)}var pp={textTransform:"uppercase"},hp='"Roboto", "Helvetica", "Arial", sans-serif';function Rw(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?hp:n,i=r.fontSize,a=i===void 0?14:i,s=r.fontWeightLight,c=s===void 0?300:s,u=r.fontWeightRegular,d=u===void 0?400:u,p=r.fontWeightMedium,b=p===void 0?500:p,h=r.fontWeightBold,v=h===void 0?700:h,m=r.htmlFontSize,y=m===void 0?16:m,$=r.allVariants,_=r.pxToRem,w=ze(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("Material-UI: `fontSize` is required to be a number."),typeof y!="number"&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var g=a/14,D=_||function(N){return"".concat(N/y*g,"rem")},M=function(F,G,S,Y,I){return C({fontFamily:o,fontWeight:F,fontSize:D(G),lineHeight:S},o===hp?{letterSpacing:"".concat(dp(Y/G),"em")}:{},I,$)},O={h1:M(c,96,1.167,-1.5),h2:M(c,60,1.2,-.5),h3:M(d,48,1.167,0),h4:M(d,34,1.235,.25),h5:M(d,24,1.334,0),h6:M(b,20,1.6,.15),subtitle1:M(d,16,1.75,.15),subtitle2:M(b,14,1.57,.1),body1:M(d,16,1.5,.15),body2:M(d,14,1.43,.15),button:M(b,14,1.75,.4,pp),caption:M(d,12,1.66,.4),overline:M(d,12,2.66,1,pp)};return Rt(C({htmlFontSize:y,pxToRem:D,round:Fw,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:d,fontWeightMedium:b,fontWeightBold:v},O),w,{clone:!1})}var zw=.2,Vw=.14,jw=.12;function pe(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(zw,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(Vw,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(jw,")")].join(",")}var Bw=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)];const Ww=Bw;var Uw={borderRadius:4};const Kw=Uw;var Hw=process.env.NODE_ENV!=="production"?ue.exports.oneOfType([ue.exports.number,ue.exports.string,ue.exports.object,ue.exports.array]):{};const Gw=Hw;var qw=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Yw(e){var t=e.spacing||8;return typeof t=="number"?function(r){return process.env.NODE_ENV!=="production"&&typeof r!="number"&&console.error("Material-UI: Expected spacing argument to be a number, got ".concat(r,".")),t*r}:Array.isArray(t)?function(r){return process.env.NODE_ENV!=="production"&&r>t.length-1&&console.error(["Material-UI: The value provided (".concat(r,") overflows."),"The supported values are: ".concat(JSON.stringify(t),"."),"".concat(r," > ").concat(t.length-1,", you need to add the missing values.")].join(`
1387
+ } });`):hn(5,JSON.stringify(F.main)));return fp(F,"light",S,y),fp(F,"dark",q,y),F.contrastText||(F.contrastText=v(F.main)),F},L={dark:Xi,light:dp};process.env.NODE_ENV!=="production"&&(L[g]||console.error("Material-UI: The palette type `".concat(g,"` is not supported.")));var T=Rt(C({common:yn,type:g,primary:A(r),secondary:A(o,"A400","A200","A700"),error:A(a),warning:A(c),info:A(f),success:A(b),grey:Bi,contrastThreshold:_,getContrastText:v,augmentColor:A,tonalOffset:y},L[g]),E);return T}function pp(e){return Math.round(e*1e5)/1e5}var hp=!1;function zw(e){return process.env.NODE_ENV!=="production"&&(hp||(console.warn(["Material-UI: The `theme.typography.round` helper is deprecated.","Head to https://mui.com/r/migration-v4/#theme for a migration path."].join(`
1388
+ `)),hp=!0)),pp(e)}var mp={textTransform:"uppercase"},bp='"Roboto", "Helvetica", "Arial", sans-serif';function Vw(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?bp:n,i=r.fontSize,a=i===void 0?14:i,s=r.fontWeightLight,c=s===void 0?300:s,d=r.fontWeightRegular,f=d===void 0?400:d,p=r.fontWeightMedium,b=p===void 0?500:p,h=r.fontWeightBold,g=h===void 0?700:h,m=r.htmlFontSize,_=m===void 0?16:m,$=r.allVariants,y=r.pxToRem,E=Re(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("Material-UI: `fontSize` is required to be a number."),typeof _!="number"&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var v=a/14,A=y||function(M){return"".concat(M/_*v,"rem")},L=function(F,G,S,q,D){return C({fontFamily:o,fontWeight:F,fontSize:A(G),lineHeight:S},o===bp?{letterSpacing:"".concat(pp(q/G),"em")}:{},D,$)},T={h1:L(c,96,1.167,-1.5),h2:L(c,60,1.2,-.5),h3:L(f,48,1.167,0),h4:L(f,34,1.235,.25),h5:L(f,24,1.334,0),h6:L(b,20,1.6,.15),subtitle1:L(f,16,1.75,.15),subtitle2:L(b,14,1.57,.1),body1:L(f,16,1.5,.15),body2:L(f,14,1.43,.15),button:L(b,14,1.75,.4,mp),caption:L(f,12,1.66,.4),overline:L(f,12,2.66,1,mp)};return Rt(C({htmlFontSize:_,pxToRem:A,round:zw,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:b,fontWeightBold:g},T),E,{clone:!1})}var jw=.2,Bw=.14,Ww=.12;function pe(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(jw,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(Bw,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(Ww,")")].join(",")}var Uw=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)];const Kw=Uw;var Hw={borderRadius:4};const Gw=Hw;var qw=process.env.NODE_ENV!=="production"?ce.oneOfType([ce.number,ce.string,ce.object,ce.array]):{};const Yw=qw;var Xw=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Jw(e){var t=e.spacing||8;return typeof t=="number"?function(r){return process.env.NODE_ENV!=="production"&&typeof r!="number"&&console.error("Material-UI: Expected spacing argument to be a number, got ".concat(r,".")),t*r}:Array.isArray(t)?function(r){return process.env.NODE_ENV!=="production"&&r>t.length-1&&console.error(["Material-UI: The value provided (".concat(r,") overflows."),"The supported values are: ".concat(JSON.stringify(t),"."),"".concat(r," > ").concat(t.length-1,", you need to add the missing values.")].join(`
1385
1389
  `)),t[r]}:typeof t=="function"?t:(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `theme.spacing` value (".concat(t,") is invalid."),"It should be a number, an array or a function."].join(`
1386
- `)),function(){})}process.env.NODE_ENV!=="production"&&qw.reduce(function(e,t){return e[t]=Gw,e},{});var bp;function Xw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=Yw({spacing:e}),r=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return process.env.NODE_ENV!=="production"&&(i.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(i.length))),i.length===0?t(1):i.length===1?t(i[0]):i.map(function(s){if(typeof s=="string")return s;var c=t(s);return typeof c=="number"?"".concat(c,"px"):c}).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return process.env.NODE_ENV!=="production"&&((!bp||process.env.NODE_ENV==="test")&&console.error(["Material-UI: theme.spacing.unit usage has been deprecated.","It will be removed in v5.","You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.","","You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother."].join(`
1387
- `)),bp=!0),e}}),r.mui=!0,r}var mp={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vp={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function gp(e){return"".concat(Math.round(e),"ms")}const Jw={easing:mp,duration:vp,create:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.duration,o=n===void 0?vp.standard:n,i=r.easing,a=i===void 0?mp.easeInOut:i,s=r.delay,c=s===void 0?0:s,u=ze(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var d=function(h){return typeof h=="string"},p=function(h){return!isNaN(parseFloat(h))};!d(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!p(o)&&!d(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),d(a)||console.error('Material-UI: Argument "easing" must be a string.'),!p(c)&&!d(c)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(u).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(u).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(b){return"".concat(b," ").concat(typeof o=="string"?o:gp(o)," ").concat(a," ").concat(typeof c=="string"?c:gp(c))}).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var r=t/36;return Math.round((4+15*Math.pow(r,.25)+r/5)*10)}};var Zw={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Qw=Zw;function e5(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,r=t===void 0?{}:t,n=e.mixins,o=n===void 0?{}:n,i=e.palette,a=i===void 0?{}:i,s=e.spacing,c=e.typography,u=c===void 0?{}:c,d=ze(e,["breakpoints","mixins","palette","spacing","typography"]),p=Lw(a),b=xw(r),h=Xw(s),v=Rt({breakpoints:b,direction:"ltr",mixins:ww(b,h,o),overrides:{},palette:p,props:{},shadows:Ww,typography:Rw(p,u),spacing:h,shape:Kw,transitions:Jw,zIndex:Qw},d),m=arguments.length,y=new Array(m>1?m-1:0),$=1;$<m;$++)y[$-1]=arguments[$];if(v=y.reduce(function(g,D){return Rt(g,D)},v),process.env.NODE_ENV!=="production"){var _=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],w=function g(D,M){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,N;for(N in D){var F=D[N];O===1?N.indexOf("Mui")===0&&F&&g(F,N,O+1):_.indexOf(N)!==-1&&Object.keys(F).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(M,"` component increases ")+"the CSS specificity of the `".concat(N,"` internal state."),"You can not override it like this: ",JSON.stringify(D,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:ir({},"&$".concat(N),F)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
1388
- `)),D[N]={})}};w(v.overrides)}return v}var t5=e5();const r5=t5;function n5(e,t){return $w(e,C({defaultTheme:r5},t))}var o5=function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}},Qi=H.forwardRef(function(t,r){var n=t.children,o=t.classes,i=t.className,a=t.color,s=a===void 0?"inherit":a,c=t.component,u=c===void 0?"svg":c,d=t.fontSize,p=d===void 0?"medium":d,b=t.htmlColor,h=t.titleAccess,v=t.viewBox,m=v===void 0?"0 0 24 24":v,y=ze(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return ce(u,{className:Qa(o.root,i,s!=="inherit"&&o["color".concat(pi(s))],p!=="default"&&p!=="medium"&&o["fontSize".concat(pi(p))]),focusable:"false",viewBox:m,color:b,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r,...y,children:[n,h?T("title",{children:h}):null]})});process.env.NODE_ENV!=="production"&&(Qi.propTypes={children:ue.exports.node,classes:ue.exports.object,className:ue.exports.string,color:ue.exports.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ue.exports.elementType,fontSize:cf(ue.exports.oneOf(["default","inherit","large","medium","small"]),function(e){var t=e.fontSize;if(t==="default")throw new Error('Material-UI: `fontSize="default"` is deprecated. Use `fontSize="medium"` instead.');return null}),htmlColor:ue.exports.string,shapeRendering:ue.exports.string,titleAccess:ue.exports.string,viewBox:ue.exports.string}),Qi.muiName="SvgIcon";const yp=n5(o5,{name:"MuiSvgIcon"})(Qi);function i5(e,t){var r=function(o,i){return T(yp,{ref:i,...o,children:e})};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=yp.muiName,ie.default.memo(ie.default.forwardRef(r))}function a5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,r;function n(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=this,c=function(){e.apply(s,i)};clearTimeout(r),r=setTimeout(c,t)}return n.clear=function(){clearTimeout(r)},n}function s5(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(r,n,o,i,a){var s=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error("The ".concat(i," `").concat(c,"` of ")+"`".concat(s,"` is deprecated. ").concat(t)):null}}function l5(e,t){return H.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function _p(e){return e&&e.ownerDocument||document}function c5(e){var t=_p(e);return t.defaultView||window}function u5(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,i,a,s,c){var u=c||i;return typeof o[i]<"u"&&!o[n]?new Error("The prop `".concat(u,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function ea(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function d5(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;var i=o||t;return typeof e[t]<"u"?new Error("The prop `".concat(i,"` is not supported. Please remove it.")):null}function f5(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,i=o===void 0?"value":o,a=H.useRef(t!==void 0),s=a.current,c=H.useState(r),u=c[0],d=c[1],p=s?t:u;if(process.env.NODE_ENV!=="production"){H.useEffect(function(){s!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(s?"":"un","controlled ").concat(i," state of ").concat(n," to be ").concat(s?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(n," ")+"element for the lifetime of the component.","The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
1389
- `))},[t]);var b=H.useRef(r),h=b.current;H.useEffect(function(){!s&&h!==r&&console.error(["Material-UI: A component is changing the default ".concat(i," state of an uncontrolled ").concat(n," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(n,".")].join(`
1390
- `))},[JSON.stringify(r)])}var v=H.useCallback(function(m){s||d(m)},[]);return[p,v]}var p5=typeof window<"u"?H.useLayoutEffect:H.useEffect;function h5(e){var t=H.useRef(e);return p5(function(){t.current=e}),H.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function b5(e,t){return H.useMemo(function(){return e==null&&t==null?null:function(r){ea(e,r),ea(t,r)}},[e,t])}function m5(e){var t=H.useState(e),r=t[0],n=t[1],o=e||r;return H.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var xn=!0,ta=!1,$p=null,v5={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function g5(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&v5[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function y5(e){e.metaKey||e.altKey||e.ctrlKey||(xn=!0)}function ra(){xn=!1}function _5(){this.visibilityState==="hidden"&&ta&&(xn=!0)}function $5(e){e.addEventListener("keydown",y5,!0),e.addEventListener("mousedown",ra,!0),e.addEventListener("pointerdown",ra,!0),e.addEventListener("touchstart",ra,!0),e.addEventListener("visibilitychange",_5,!0)}function xp(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return xn||g5(t)}function x5(){ta=!0,window.clearTimeout($p),$p=window.setTimeout(function(){ta=!1},100)}function w5(){var e=H.useCallback(function(t){var r=sa.findDOMNode(t);r!=null&&$5(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&H.useDebugValue(xp),{isFocusVisible:xp,onBlurVisible:x5,ref:e}}const E5=ch(Object.freeze(Object.defineProperty({__proto__:null,capitalize:pi,createChainedFunction:i1,createSvgIcon:i5,debounce:a5,deprecatedPropType:s5,isMuiElement:l5,ownerDocument:_p,ownerWindow:c5,requirePropFactory:u5,setRef:ea,unsupportedProp:d5,useControlled:f5,useEventCallback:h5,useForkRef:b5,unstable_useId:m5,useIsFocusVisible:w5},Symbol.toStringTag,{value:"Module"})));var wp;function Ep(){return wp||(wp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=E5}(oi)),oi}var P5=ri.exports,S5=ni.exports;Object.defineProperty(ti,"__esModule",{value:!0});var Pp=ti.default=void 0,C5=S5(ie.default),T5=P5(Ep()),O5=(0,T5.default)(C5.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");Pp=ti.default=O5;var na={},k5=ri.exports,D5=ni.exports;Object.defineProperty(na,"__esModule",{value:!0});var Sp=na.default=void 0,I5=D5(ie.default),A5=k5(Ep()),N5=(0,A5.default)(I5.createElement("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 12z"}),"Clear");Sp=na.default=N5;const M5=A.default.div`
1391
- --border-color: ${f.color_outline_secondary_enabled};
1392
- border-radius: ${f.border_radius_400};
1390
+ `)),function(){})}process.env.NODE_ENV!=="production"&&Xw.reduce(function(e,t){return e[t]=Yw,e},{});var gp;function Zw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=Jw({spacing:e}),r=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return process.env.NODE_ENV!=="production"&&(i.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(i.length))),i.length===0?t(1):i.length===1?t(i[0]):i.map(function(s){if(typeof s=="string")return s;var c=t(s);return typeof c=="number"?"".concat(c,"px"):c}).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return process.env.NODE_ENV!=="production"&&((!gp||process.env.NODE_ENV==="test")&&console.error(["Material-UI: theme.spacing.unit usage has been deprecated.","It will be removed in v5.","You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.","","You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother."].join(`
1391
+ `)),gp=!0),e}}),r.mui=!0,r}var vp={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},_p={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yp(e){return"".concat(Math.round(e),"ms")}const Qw={easing:vp,duration:_p,create:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.duration,o=n===void 0?_p.standard:n,i=r.easing,a=i===void 0?vp.easeInOut:i,s=r.delay,c=s===void 0?0:s,d=Re(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var f=function(h){return typeof h=="string"},p=function(h){return!isNaN(parseFloat(h))};!f(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!p(o)&&!f(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),f(a)||console.error('Material-UI: Argument "easing" must be a string.'),!p(c)&&!f(c)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(d).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(d).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(b){return"".concat(b," ").concat(typeof o=="string"?o:yp(o)," ").concat(a," ").concat(typeof c=="string"?c:yp(c))}).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var r=t/36;return Math.round((4+15*Math.pow(r,.25)+r/5)*10)}};var e5={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const t5=e5;function r5(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,r=t===void 0?{}:t,n=e.mixins,o=n===void 0?{}:n,i=e.palette,a=i===void 0?{}:i,s=e.spacing,c=e.typography,d=c===void 0?{}:c,f=Re(e,["breakpoints","mixins","palette","spacing","typography"]),p=Rw(a),b=Ew(r),h=Zw(s),g=Rt({breakpoints:b,direction:"ltr",mixins:Pw(b,h,o),overrides:{},palette:p,props:{},shadows:Kw,typography:Vw(p,d),spacing:h,shape:Gw,transitions:Qw,zIndex:t5},f),m=arguments.length,_=new Array(m>1?m-1:0),$=1;$<m;$++)_[$-1]=arguments[$];if(g=_.reduce(function(v,A){return Rt(v,A)},g),process.env.NODE_ENV!=="production"){var y=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],E=function v(A,L){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,M;for(M in A){var F=A[M];T===1?M.indexOf("Mui")===0&&F&&v(F,M,T+1):y.indexOf(M)!==-1&&Object.keys(F).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(L,"` component increases ")+"the CSS specificity of the `".concat(M,"` internal state."),"You can not override it like this: ",JSON.stringify(A,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:ir({},"&$".concat(M),F)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
1392
+ `)),A[M]={})}};E(g.overrides)}return g}var n5=r5();const o5=n5;function i5(e,t){return ww(e,C({defaultTheme:o5},t))}var a5=function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}},Ji=W.forwardRef(function(t,r){var n=t.children,o=t.classes,i=t.className,a=t.color,s=a===void 0?"inherit":a,c=t.component,d=c===void 0?"svg":c,f=t.fontSize,p=f===void 0?"medium":f,b=t.htmlColor,h=t.titleAccess,g=t.viewBox,m=g===void 0?"0 0 24 24":g,_=Re(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return W.createElement(d,C({className:Ts(o.root,i,s!=="inherit"&&o["color".concat(di(s))],p!=="default"&&p!=="medium"&&o["fontSize".concat(di(p))]),focusable:"false",viewBox:m,color:b,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},_),n,h?W.createElement("title",null,h):null)});process.env.NODE_ENV!=="production"&&(Ji.propTypes={children:ce.node,classes:ce.object,className:ce.string,color:ce.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ce.elementType,fontSize:cf(ce.oneOf(["default","inherit","large","medium","small"]),function(e){var t=e.fontSize;if(t==="default")throw new Error('Material-UI: `fontSize="default"` is deprecated. Use `fontSize="medium"` instead.');return null}),htmlColor:ce.string,shapeRendering:ce.string,titleAccess:ce.string,viewBox:ce.string}),Ji.muiName="SvgIcon";const $p=i5(a5,{name:"MuiSvgIcon"})(Ji);function s5(e,t){var r=function(o,i){return l.createElement($p,C({ref:i},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=$p.muiName,l.memo(l.forwardRef(r))}function l5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,r;function n(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=this,c=function(){e.apply(s,i)};clearTimeout(r),r=setTimeout(c,t)}return n.clear=function(){clearTimeout(r)},n}function c5(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(r,n,o,i,a){var s=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error("The ".concat(i," `").concat(c,"` of ")+"`".concat(s,"` is deprecated. ").concat(t)):null}}function u5(e,t){return W.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function xp(e){return e&&e.ownerDocument||document}function d5(e){var t=xp(e);return t.defaultView||window}function f5(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,i,a,s,c){var d=c||i;return typeof o[i]<"u"&&!o[n]?new Error("The prop `".concat(d,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function Zi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function p5(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;var i=o||t;return typeof e[t]<"u"?new Error("The prop `".concat(i,"` is not supported. Please remove it.")):null}function h5(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,i=o===void 0?"value":o,a=W.useRef(t!==void 0),s=a.current,c=W.useState(r),d=c[0],f=c[1],p=s?t:d;if(process.env.NODE_ENV!=="production"){W.useEffect(function(){s!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(s?"":"un","controlled ").concat(i," state of ").concat(n," to be ").concat(s?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(n," ")+"element for the lifetime of the component.","The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
1393
+ `))},[t]);var b=W.useRef(r),h=b.current;W.useEffect(function(){!s&&h!==r&&console.error(["Material-UI: A component is changing the default ".concat(i," state of an uncontrolled ").concat(n," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(n,".")].join(`
1394
+ `))},[JSON.stringify(r)])}var g=W.useCallback(function(m){s||f(m)},[]);return[p,g]}var m5=typeof window<"u"?W.useLayoutEffect:W.useEffect;function b5(e){var t=W.useRef(e);return m5(function(){t.current=e}),W.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function g5(e,t){return W.useMemo(function(){return e==null&&t==null?null:function(r){Zi(e,r),Zi(t,r)}},[e,t])}function v5(e){var t=W.useState(e),r=t[0],n=t[1],o=e||r;return W.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var $n=!0,Qi=!1,wp=null,_5={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function y5(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&_5[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function $5(e){e.metaKey||e.altKey||e.ctrlKey||($n=!0)}function ea(){$n=!1}function x5(){this.visibilityState==="hidden"&&Qi&&($n=!0)}function w5(e){e.addEventListener("keydown",$5,!0),e.addEventListener("mousedown",ea,!0),e.addEventListener("pointerdown",ea,!0),e.addEventListener("touchstart",ea,!0),e.addEventListener("visibilitychange",x5,!0)}function Ep(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return $n||y5(t)}function E5(){Qi=!0,window.clearTimeout(wp),wp=window.setTimeout(function(){Qi=!1},100)}function P5(){var e=W.useCallback(function(t){var r=ia.findDOMNode(t);r!=null&&w5(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&W.useDebugValue(Ep),{isFocusVisible:Ep,onBlurVisible:E5,ref:e}}const S5=Mp(Object.freeze(Object.defineProperty({__proto__:null,capitalize:di,createChainedFunction:s1,createSvgIcon:s5,debounce:l5,deprecatedPropType:c5,isMuiElement:u5,ownerDocument:xp,ownerWindow:d5,requirePropFactory:f5,setRef:Zi,unsupportedProp:p5,useControlled:h5,useEventCallback:b5,useForkRef:g5,unstable_useId:v5,useIsFocusVisible:P5},Symbol.toStringTag,{value:"Module"})));var Pp;function Sp(){return Pp||(Pp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=S5}(ri)),ri}var C5=fn,T5=pn;Object.defineProperty(ei,"__esModule",{value:!0});var Cp=ei.default=void 0,O5=T5(l),k5=C5(Sp()),D5=(0,k5.default)(O5.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");Cp=ei.default=D5;var ta={},I5=fn,A5=pn;Object.defineProperty(ta,"__esModule",{value:!0});var Tp=ta.default=void 0,N5=A5(l),M5=I5(Sp()),L5=(0,M5.default)(N5.createElement("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 12z"}),"Clear");Tp=ta.default=L5;const F5=I.div`
1395
+ --border-color: ${u.color_outline_secondary_enabled};
1396
+
1397
+ border-radius: ${u.border_radius_400};
1393
1398
  position: relative;
1394
1399
 
1395
1400
  &:hover {
1396
- --border-color: ${f.color_outline_secondary_hover};
1397
- background-color: ${f.color_overlay_secondary_hover};
1401
+ --border-color: ${u.color_outline_secondary_hover};
1402
+
1403
+ background-color: ${u.color_overlay_secondary_hover};
1398
1404
  }
1399
1405
 
1400
1406
  &:focus-within {
1401
- background-color: ${f.color_overlay_secondary_enabled};
1407
+ --border-color: ${u.color_black};
1408
+
1409
+ background-color: ${u.color_overlay_secondary_enabled};
1402
1410
  outline: 1px solid black;
1403
- --border-color: ${f.color_black};
1404
1411
  }
1405
1412
 
1406
1413
  & > svg {
@@ -1413,9 +1420,9 @@ const theme2 = createTheme({ palette: {
1413
1420
  bottom: 0;
1414
1421
  margin: auto 0;
1415
1422
  font-size: 1rem;
1416
- fill: ${f.color_text_weak};
1423
+ fill: ${u.color_text_weak};
1417
1424
  }
1418
- `,L5=A.default(Su)`
1425
+ `,R5=I(wu)`
1419
1426
  all: unset;
1420
1427
  position: absolute;
1421
1428
  right: 10px;
@@ -1423,40 +1430,40 @@ const theme2 = createTheme({ palette: {
1423
1430
  bottom: 0;
1424
1431
  margin: auto 0;
1425
1432
  cursor: pointer;
1426
- border-radius: ${f.border_radius_circle};
1427
- background-color: ${f.color_text_weak};
1428
- color: white;
1433
+ border-radius: ${u.border_radius_circle};
1434
+ background-color: ${u.color_text_weak};
1435
+ color: ${u.color_white};
1429
1436
  display: grid;
1430
1437
  place-items: center;
1431
- // I think this needs to be an even number cu
1432
- width: 16px;
1433
- height: 16px;
1438
+ width: ${u.sizing_400};
1439
+ height: ${u.sizing_400};
1440
+
1434
1441
  & > svg {
1435
1442
  margin: 0;
1436
1443
  line-height: 0;
1437
- font-size: ${f.font_size_50};
1444
+ font-size: ${u.font_size_50};
1438
1445
  }
1439
- `,F5=A.default(er)`
1446
+ `,z5=I(er)`
1440
1447
  padding-left: 32px;
1441
- /* width: 100%; */
1448
+ width: 100%;
1442
1449
 
1443
- // Use our own custom clear button
1444
- // https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling
1450
+ /* Hide the default clear button to use our own custom styled one.
1451
+ https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling */
1445
1452
  &::-webkit-search-decoration,
1446
1453
  &::-webkit-search-cancel-button,
1447
1454
  &::-webkit-search-results-button,
1448
1455
  &::-webkit-search-results-decoration {
1449
1456
  -webkit-appearance: none;
1450
1457
  }
1451
- `,R5=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:i,readOnly:a,required:s,...c}=e,u={label:r,placeholder:o,isDisabled:i,isReadOnly:a,isRequired:s,...c},d=H$(u),p=bt(t),{labelProps:b,inputProps:h,clearButtonProps:v}=q$(u,d,p);return ce(M5,{children:[T(Pp,{}),T("label",{...b,children:r}),T(F5,{...h,ref:p,placeholder:o,paddingSize:n}),d.value!==""&&T(L5,{...v,children:T(Sp,{})})]})}),Cp="Switch",[z5,AE]=Se(Cp),[V5,j5]=z5(Cp),B5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:u,...d}=e,[p,b]=l.useState(null),h=le(t,_=>b(_)),v=l.useRef(!1),m=p?Boolean(p.closest("form")):!0,[y=!1,$]=Me({prop:o,defaultProp:i,onChange:u});return l.createElement(V5,{scope:r,checked:y,disabled:s},l.createElement(Q.button,C({type:"button",role:"switch","aria-checked":y,"aria-required":a,"data-state":Tp(y),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:h,onClick:K(e.onClick,_=>{$(w=>!w),m&&(v.current=_.isPropagationStopped(),v.current||_.stopPropagation())})})),m&&l.createElement(K5,{control:p,bubbles:!v.current,name:n,value:c,checked:y,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),W5="SwitchThumb",U5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=j5(W5,r);return l.createElement(Q.span,C({"data-state":Tp(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),K5=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=Xr(r),s=Hr(t);return l.useEffect(()=>{const c=i.current,u=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==r&&p){const b=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(b)}},[a,r,n]),l.createElement("input",C({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Tp(e){return e?"checked":"unchecked"}const H5=B5,G5=U5,q5=A.default(H5)`
1458
+ `,Op=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:i,readOnly:a,required:s,hideLabel:c,onChange:d,onClear:f,onSubmit:p,...b}=e,h={label:r,placeholder:o,onClear:f,onSubmit:p,onChange:d,isDisabled:i,isReadOnly:a,isRequired:s},g=U$(h),m=bt(t),{labelProps:_,inputProps:$,clearButtonProps:y}=H$(h,g,m);return le(tr,{children:[k(Xe,{..._,srOnly:c,children:r}),le(F5,{children:[k(Cp,{}),k(z5,{...$,ref:m,placeholder:o,paddingSize:n,...b}),g.value!==""&&k(R5,{...y,children:k(Tp,{})})]})]})});Op.displayName="Search";const kp="Switch",[V5,NE]=Pe(kp),[j5,B5]=V5(kp),W5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:d,...f}=e,[p,b]=l.useState(null),h=se(t,y=>b(y)),g=l.useRef(!1),m=p?Boolean(p.closest("form")):!0,[_=!1,$]=Ne({prop:o,defaultProp:i,onChange:d});return l.createElement(j5,{scope:r,checked:_,disabled:s},l.createElement(te.button,C({type:"button",role:"switch","aria-checked":_,"aria-required":a,"data-state":Dp(_),"data-disabled":s?"":void 0,disabled:s,value:c},f,{ref:h,onClick:H(e.onClick,y=>{$(E=>!E),m&&(g.current=y.isPropagationStopped(),g.current||y.stopPropagation())})})),m&&l.createElement(H5,{control:p,bubbles:!g.current,name:n,value:c,checked:_,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),U5="SwitchThumb",K5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=B5(U5,r);return l.createElement(te.span,C({"data-state":Dp(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),H5=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,i=l.useRef(null),a=qr(r),s=Lr(t);return l.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==r&&p){const b=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(b)}},[a,r,n]),l.createElement("input",C({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Dp(e){return e?"checked":"unchecked"}const G5=W5,q5=K5,Y5=I(G5)`
1452
1459
  all: unset;
1453
1460
  width: 40px;
1454
1461
  height: 24px;
1455
- background-color: ${f.color_fill_secondary_enabled};
1462
+ background-color: ${u.color_fill_secondary_enabled};
1456
1463
  border-radius: 9999px;
1457
1464
  position: relative;
1458
- transition-property: ${f.transition_property_color};
1459
- transition-duration: ${f.transition_duration_150};
1465
+ transition-property: ${u.transition_property_color};
1466
+ transition-duration: ${u.transition_duration_150};
1460
1467
 
1461
1468
  &:focus-visible {
1462
1469
  outline-offset: 2px;
@@ -1465,38 +1472,38 @@ const theme2 = createTheme({ palette: {
1465
1472
  }
1466
1473
 
1467
1474
  &:hover {
1468
- background-color: ${f.color_fill_secondary_hover};
1475
+ background-color: ${u.color_fill_secondary_hover};
1469
1476
  }
1470
1477
 
1471
1478
  &:active {
1472
- background-color: ${f.color_fill_secondary_pressed};
1479
+ background-color: ${u.color_fill_secondary_pressed};
1473
1480
  }
1474
1481
 
1475
1482
  &[data-disabled] {
1476
- background: ${f.color_fill_secondary_disabled};
1483
+ background: ${u.color_fill_secondary_disabled};
1477
1484
  cursor: not-allowed;
1478
1485
  }
1479
1486
 
1480
1487
  &[aria-checked='true'] {
1481
- background-color: ${f.color_black};
1488
+ background-color: ${u.color_black};
1482
1489
  }
1483
1490
 
1484
1491
  &[aria-checked='true']:hover {
1485
- background-color: ${f.color_fill_primary_hover};
1492
+ background-color: ${u.color_fill_primary_hover};
1486
1493
  }
1487
1494
 
1488
1495
  &[aria-checked='true']:active {
1489
- background-color: ${f.color_fill_primary_pressed};
1496
+ background-color: ${u.color_fill_primary_pressed};
1490
1497
  }
1491
- `,Y5=A.default(G5)`
1498
+ `,X5=I(q5)`
1492
1499
  --thumb-width: 18px;
1493
1500
  display: block;
1494
1501
  width: var(--thumb-width);
1495
1502
  height: var(--thumb-width);
1496
- background-color: white;
1497
- border-radius: ${f.border_radius_circle};
1498
- box-shadow: ${f.elevation_interactive_medium};
1499
- transition: transform ${f.transition_duration_100};
1503
+ background-color: ${u.color_white};
1504
+ border-radius: ${u.border_radius_circle};
1505
+ box-shadow: ${u.elevation_interactive_medium};
1506
+ transition: transform ${u.transition_duration_100};
1500
1507
  transform: translateX(2px);
1501
1508
  will-change: transform;
1502
1509
 
@@ -1504,86 +1511,86 @@ const theme2 = createTheme({ palette: {
1504
1511
  box-shadow: none;
1505
1512
  }
1506
1513
 
1507
- &[data-state='checked'] {
1514
+ &[data-state~='checked'] {
1508
1515
  transform: translateX(19px);
1509
1516
  }
1510
- `,X5=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=Iu(r);return T(q5,{...n,...o,ref:t,children:T(Y5,{})})}),hr=A.default.p`
1511
- font-family: ${f.font_family_inter};
1517
+ `,Ip=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=ku(r);return k(Y5,{...n,...o,ref:t,children:k(X5,{})})});Ip.displayName="Switch";const hr=I.p`
1518
+ font-family: ${u.font_family_sans};
1512
1519
  font-style: normal;
1513
1520
  font-weight: var(--text-font-weight, 400);
1514
- color: var(--text-color, ${f.color_text_strong});
1521
+ color: var(--text-color, ${u.color_text_strong});
1515
1522
  margin-block: 0;
1516
- `,oa=A.default(hr)`
1517
- max-width: 60ch; // should check with designers
1518
- `,J5=A.default(oa)`
1519
- letter-spacing: ${f.letter_spacing_body_large};
1520
- line-height: ${f.line_height_body_large};
1521
- font-size: ${f.font_size_body_large};
1522
- `,Z5=A.default(oa)`
1523
- letter-spacing: ${f.letter_spacing_body_medium};
1524
- line-height: ${f.line_height_body_medium};
1525
- font-size: ${f.font_size_body_medium};
1526
- `,Q5=A.default(oa)`
1527
- letter-spacing: ${f.letter_spacing_body_small};
1528
- line-height: ${f.line_height_body_small};
1529
- font-size: ${f.font_size_body_small};
1530
- `,eE={large:J5,medium:Z5,small:Q5};function tE({size:e="medium",bold:t,...r}){const n=eE[e];return T(n,{...r})}const wn=A.default.p`
1523
+ `,ra=I(hr)`
1524
+ max-width: 60ch; /* should check with designers */
1525
+ `,J5=I(ra)`
1526
+ letter-spacing: ${u.letter_spacing_body_large};
1527
+ line-height: ${u.line_height_body_large};
1528
+ font-size: ${u.font_size_body_large};
1529
+ `,Z5=I(ra)`
1530
+ letter-spacing: ${u.letter_spacing_body_medium};
1531
+ line-height: ${u.line_height_body_medium};
1532
+ font-size: ${u.font_size_body_medium};
1533
+ `,Q5=I(ra)`
1534
+ letter-spacing: ${u.letter_spacing_body_small};
1535
+ line-height: ${u.line_height_body_small};
1536
+ font-size: ${u.font_size_body_small};
1537
+ `,eE={large:J5,medium:Z5,small:Q5};function tE({size:e="medium",...t}){const r=eE[e];return k(r,{...t})}const xn=I.p`
1531
1538
  font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
1532
- font-family: ${f.font_family_inter};
1539
+ font-family: ${u.font_family_sans};
1533
1540
  font-style: normal;
1534
1541
  font-weight: var(--text-font-weight, 400);
1535
- color: var(--text-color, ${f.color_text_strong});
1542
+ color: var(--text-color, ${u.color_text_strong});
1536
1543
  margin-block: 0;
1537
- `,rE=A.default(wn)`
1538
- letter-spacing: ${f.letter_spacing_number_xsmall};
1539
- line-height: ${f.line_height_number_xsmall};
1540
- font-size: ${f.font_size_number_xsmall};
1541
- `,nE=A.default(wn)`
1542
- letter-spacing: ${f.letter_spacing_number_small};
1543
- line-height: ${f.line_height_number_small};
1544
- font-size: ${f.font_size_number_small};
1545
- `,Op=A.default(wn)`
1546
- letter-spacing: ${f.letter_spacing_number_medium};
1547
- line-height: ${f.line_height_number_medium};
1548
- font-size: ${f.font_size_number_medium};
1549
- `,oE=A.default(wn)`
1550
- letter-spacing: ${f.letter_spacing_number_large};
1551
- line-height: ${f.line_height_number_large};
1552
- font-size: ${f.font_size_number_large};
1553
- `,iE={xsmall:rE,small:nE,medium:Op,large:oE};function aE({size:e="medium",bold:t,...r}){const n=iE[e];return T(n,{...r})}const sE=A.default(hr)`
1554
- letter-spacing: ${f.letter_spacing_number_small};
1555
- line-height: ${f.line_height_number_small};
1556
- font-size: ${f.font_size_number_small};
1557
- `,lE=A.default(hr)`
1558
- letter-spacing: ${f.letter_spacing_number_xsmall};
1559
- line-height: ${f.line_height_number_xsmall};
1560
- font-size: ${f.font_size_number_xsmall};
1561
- `,cE=A.default(hr)`
1562
- letter-spacing: ${f.letter_spacing_number_large};
1563
- line-height: ${f.line_height_number_large};
1564
- font-size: ${f.font_size_number_large};
1565
- `,uE=A.default(hr)`
1566
- letter-spacing: ${f.letter_spacing_number_medium};
1567
- line-height: ${f.line_height_number_medium};
1568
- font-size: ${f.font_size_number_medium};
1569
- `,dE={xsmall:lE,small:sE,medium:uE,large:cE};function fE({size:e="medium",bold:t,...r}){const n=dE[e]||Op;return T(n,{...r})}const pE={caption:fE,body:tE,number:aE},hE={normal:{standard:f.color_text_standard,strong:f.color_text_strong,weak:f.color_text_weak},sentiment:{positive:f.color_text_sentiment_positive,negative:f.color_text_sentiment_negative,notice:f.color_text_sentiment_notice,neutral:f.color_text_sentiment_neutral}},kp=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",bold:i,as:a,...s}=e,c=pE[r]||"div",d=hE[n][o];return T(c,{as:a,...s,ref:t,style:{"--text-font-weight":i?500:400,"--text-color":d}})});kp.displayName="Text";const En=A.default.h1`
1570
- font-family: ${f.font_family_inter_display};
1544
+ `,rE=I(xn)`
1545
+ letter-spacing: ${u.letter_spacing_number_xsmall};
1546
+ line-height: ${u.line_height_number_xsmall};
1547
+ font-size: ${u.font_size_number_xsmall};
1548
+ `,nE=I(xn)`
1549
+ letter-spacing: ${u.letter_spacing_number_small};
1550
+ line-height: ${u.line_height_number_small};
1551
+ font-size: ${u.font_size_number_small};
1552
+ `,oE=I(xn)`
1553
+ letter-spacing: ${u.letter_spacing_number_medium};
1554
+ line-height: ${u.line_height_number_medium};
1555
+ font-size: ${u.font_size_number_medium};
1556
+ `,iE=I(xn)`
1557
+ letter-spacing: ${u.letter_spacing_number_large};
1558
+ line-height: ${u.line_height_number_large};
1559
+ font-size: ${u.font_size_number_large};
1560
+ `,aE={xsmall:rE,small:nE,medium:oE,large:iE};function sE({size:e="medium",...t}){const r=aE[e];return k(r,{...t})}const lE=I(hr)`
1561
+ letter-spacing: ${u.letter_spacing_number_small};
1562
+ line-height: ${u.line_height_number_small};
1563
+ font-size: ${u.font_size_number_small};
1564
+ `,cE=I(hr)`
1565
+ letter-spacing: ${u.letter_spacing_number_xsmall};
1566
+ line-height: ${u.line_height_number_xsmall};
1567
+ font-size: ${u.font_size_number_xsmall};
1568
+ `,uE=I(hr)`
1569
+ letter-spacing: ${u.letter_spacing_number_large};
1570
+ line-height: ${u.line_height_number_large};
1571
+ font-size: ${u.font_size_number_large};
1572
+ `,dE=I(hr)`
1573
+ letter-spacing: ${u.letter_spacing_number_medium};
1574
+ line-height: ${u.line_height_number_medium};
1575
+ font-size: ${u.font_size_number_medium};
1576
+ `,fE={xsmall:cE,small:lE,medium:dE,large:uE};function pE({size:e="medium",...t}){const r=fE[e];return k(r,{...t})}const hE={caption:pE,body:tE,number:sE},mE={normal:{standard:u.color_text_standard,strong:u.color_text_strong,weak:u.color_text_weak},sentiment:{positive:u.color_text_sentiment_positive,negative:u.color_text_sentiment_negative,notice:u.color_text_sentiment_notice,neutral:u.color_text_sentiment_neutral}},Ap=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",bold:i,as:a,...s}=e,c=hE[r],f=mE[n][o];return k(c,{as:a,...s,ref:t,style:{"--text-font-weight":i?500:400,"--text-color":f}})});Ap.displayName="Text";const wn=I.h1`
1577
+ font-family: ${u.font_family_inter_display};
1571
1578
  font-style: normal;
1572
- font-weight: 500; // don't really see value of using tokens for font-weight
1579
+ font-weight: 500; /* don't really see value of using tokens for font-weight */
1573
1580
  margin: 0;
1574
1581
  padding-inline: 0;
1575
- color: ${f.color_text_strong};
1576
- `,bE=A.default(En)`
1577
- font-size: ${f.font_size_title_large};
1578
- letter-spacing: ${f.letter_spacing_title_large};
1579
- `,mE=A.default(En)`
1580
- font-size: ${f.font_size_title_medium};
1581
- letter-spacing: ${f.letter_spacing_title_medium};
1582
- `,vE=A.default(En)`
1583
- font-size: ${f.font_size_title_small};
1584
- letter-spacing: ${f.letter_spacing_title_small};
1585
- `,gE={xsmall:A.default(En)`
1586
- font-size: ${f.font_size_title_xsmall};
1587
- letter-spacing: ${f.letter_spacing_title_xsmall};
1588
- `,small:vE,medium:mE,large:bE},Dp=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,...i}=e,a=gE[n];return T(a,{...i,as:o,ref:t,children:r})});Dp.displayName="Title",R.AccessibleIcon=qt,R.AlertDialog=G0,R.AlertDialogAction=Y0,R.AlertDialogCancel=X0,R.AlertDialogContent=W0,R.AlertDialogDescription=K0,R.AlertDialogFooter=H0,R.AlertDialogTitle=U0,R.AlertDialogTrigger=q0,R.BreadcrumbItem=Xl,R.BreadcrumbLink=Gl,R.BreadcrumbListItem=So,R.Breadcrumbs=Yl,R.Button=To,R.Checkbox=Zg,R.Dialog=R0,R.DialogClose=V0,R.DialogCloseButton=F0,R.DialogContent=A0,R.DialogDescription=M0,R.DialogFooter=L0,R.DialogTitle=N0,R.DialogTrigger=z0,R.Fieldset=Xv,R.FormControl=Gg,R.Heading=Au,R.IconButton=Nu,R.Label=rt,R.NumberFormControl=Du,R.NumberInput=Fo,R.Pagination=Qy,R.PaginatorButton=un,R.PaginatorNumber=dn,R.Popover=Ul,R.PopoverClose=$v,R.PopoverContent=_v,R.PopoverTrigger=Kl,R.Radio=F_,R.RadioGroup=M_,R.RadioGroupIndicator=ad,R.RadioGroupRadio=L_,R.Search=R5,R.Select=vd,R.SelectContent=bd,R.SelectGroup=j$,R.SelectGroupLabel=W$,R.SelectIcon=_d,R.SelectItem=$d,R.SelectItemIndicator=B$,R.SelectItemText=xd,R.SelectScrollDownButton=Ed,R.SelectScrollUpButton=wd,R.SelectSeparator=U$,R.SelectTrigger=gd,R.SelectValue=yd,R.SelectViewport=V$,R.SingleSelect=K$,R.StyledFieldSet=Ql,R.StyledTrigger=hd,R.Switch=X5,R.Text=kp,R.TextAreaFormControl=ku,R.TextFormControl=Ou,R.TextInput=Do,R.Title=Dp,R.Toast=Xy,R.ToastAction=By,R.ToastClose=Gu,R.ToastProvider=Yy,R.ToastSeparator=qu,R.ToastViewport=Gy,R.Tooltip=sc,R.TooltipContent=lc,R.TooltipProvider=ac,R.TooltipTrigger=ic,R.contentShow=Hn,R.dialogWidths=Gn,R.overlayShow=Kn,R.useFieldProps=on,R.useFieldset=tt,Object.defineProperties(R,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1582
+ color: ${u.color_text_strong};
1583
+ `,bE=I(wn)`
1584
+ font-size: ${u.font_size_title_large};
1585
+ letter-spacing: ${u.letter_spacing_title_large};
1586
+ `,gE=I(wn)`
1587
+ font-size: ${u.font_size_title_medium};
1588
+ letter-spacing: ${u.letter_spacing_title_medium};
1589
+ `,vE=I(wn)`
1590
+ font-size: ${u.font_size_title_small};
1591
+ letter-spacing: ${u.letter_spacing_title_small};
1592
+ `,_E={xsmall:I(wn)`
1593
+ font-size: ${u.font_size_title_xsmall};
1594
+ letter-spacing: ${u.letter_spacing_title_xsmall};
1595
+ `,small:vE,medium:gE,large:bE},Np=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,...i}=e,a=_E[n];return k(a,{...i,as:o,ref:t,children:r})});Np.displayName="Title",R.AccessibleIcon=qt,R.AlertDialog=X0,R.AlertDialogAction=Z0,R.AlertDialogCancel=Q0,R.AlertDialogContent=H0,R.AlertDialogDescription=q0,R.AlertDialogFooter=Y0,R.AlertDialogTitle=G0,R.AlertDialogTrigger=J0,R.BreadcrumbItem=ql,R.BreadcrumbLink=Kl,R.BreadcrumbListItem=wo,R.Breadcrumbs=Gl,R.Button=Po,R.Checkbox=Qv,R.Dialog=j0,R.DialogClose=W0,R.DialogCloseButton=V0,R.DialogContent=L0,R.DialogDescription=R0,R.DialogFooter=z0,R.DialogTitle=F0,R.DialogTrigger=B0,R.Fieldset=Jg,R.FormControl=qv,R.Heading=Du,R.IconButton=Au,R.Label=Xe,R.NumberFormControl=Ou,R.NumberInput=Mo,R.Page=X_,R.PageContent=Yu,R.PageGrid=qu,R.Pagination=Q_,R.PaginatorButton=sn,R.PaginatorNumber=ln,R.Popover=Bl,R.PopoverClose=xg,R.PopoverContent=$g,R.PopoverTrigger=Wl,R.Radio=My,R.RadioGroup=Ny,R.RadioGroupIndicator=sd,R.RadioGroupRadio=ad,R.Search=Op,R.Select=vd,R.SelectContent=bd,R.SelectGroup=z$,R.SelectGroupLabel=j$,R.SelectIcon=$d,R.SelectItem=xd,R.SelectItemIndicator=V$,R.SelectItemText=wd,R.SelectScrollDownButton=Pd,R.SelectScrollUpButton=Ed,R.SelectSeparator=B$,R.SelectTrigger=_d,R.SelectValue=yd,R.SelectViewport=R$,R.SingleSelect=W$,R.StyledFieldSet=Jl,R.StyledTrigger=md,R.Switch=Ip,R.Text=Ap,R.TextAreaFormControl=Tu,R.TextFormControl=Cu,R.TextInput=To,R.Title=Np,R.Toast=Y_,R.ToastAction=j_,R.ToastClose=Hu,R.ToastProvider=q_,R.ToastSeparator=Gu,R.ToastViewport=H_,R.Tooltip=oc,R.TooltipContent=ic,R.TooltipProvider=nc,R.TooltipTrigger=Io,R.contentShow=Wn,R.dialogWidths=Un,R.overlayShow=Bn,R.useFieldProps=tn,R.useFieldset=tt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
1589
1596
  //# sourceMappingURL=trc-components.umd.js.map