@theroutingcompany/components 0.0.7 → 0.0.9

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 (46) hide show
  1. package/README.md +243 -7
  2. package/dist/trc-components.es.js +8302 -8130
  3. package/dist/trc-components.es.js.map +1 -1
  4. package/dist/trc-components.umd.js +687 -675
  5. package/dist/trc-components.umd.js.map +1 -1
  6. package/dist/tsconfig.tsbuildinfo +1 -0
  7. package/package.json +34 -24
  8. package/types/components/AlertDialog/AlertDialog.d.ts +3 -3
  9. package/types/components/Breadcrumbs/Breadcrumbs.d.ts +9 -8
  10. package/types/components/Button/Button.d.ts +5 -33
  11. package/types/components/Button/ButtonBase.d.ts +2 -1
  12. package/types/components/Button/HighEmphasisButton/HighEmphasisButton.d.ts +4 -4
  13. package/types/components/Button/LowEmphasisButton/LowEmphasisButton.d.ts +3 -3
  14. package/types/components/Button/MediumEmphasisButton/MediumEmphasisButton.d.ts +3 -3
  15. package/types/components/Checkbox/Checkbox.d.ts +1 -1
  16. package/types/components/Dialog/Dialog.d.ts +6 -6
  17. package/types/components/Fieldset/Fieldset.d.ts +15 -2
  18. package/types/components/FileUpload/FileUpload.d.ts +13 -0
  19. package/types/components/{Input/PasswordInput/PasswordInput.d.ts → Flex.d.ts} +0 -0
  20. package/types/components/FormControl/FormControl.d.ts +4 -3
  21. package/types/components/FormControl/useFormInput.d.ts +5 -5
  22. package/types/components/IconButton/IconButton.d.ts +14 -4
  23. package/types/components/Input/InputBase.d.ts +5 -5
  24. package/types/components/Input/NumberInput/NumberInput.d.ts +1 -1
  25. package/types/components/Input/TextInput/TextInput.d.ts +3 -3
  26. package/types/components/Label/Label.d.ts +3 -1
  27. package/types/components/Page/Page.d.ts +2 -0
  28. package/types/components/Paginator/Paginator.d.ts +10 -37
  29. package/types/components/Popover/Popover.d.ts +7 -7
  30. package/types/components/ProgressBar/ProgressBar.d.ts +7 -0
  31. package/types/components/RadioGroup/RadioGroup.d.ts +3 -3
  32. package/types/components/Search/Search.d.ts +6 -6
  33. package/types/components/SegmentControl/SegmentControl.d.ts +3 -3
  34. package/types/components/Select/Select.d.ts +10 -10
  35. package/types/components/Switch/Switch.d.ts +1 -1
  36. package/types/components/Table/Table.d.ts +4 -5
  37. package/types/components/Tabs/Tabs.d.ts +7 -0
  38. package/types/components/Text/Text.d.ts +1 -2
  39. package/types/components/Title/Title.d.ts +3 -4
  40. package/types/components/Toast/Toast.d.ts +5 -4
  41. package/types/components/index.d.ts +1 -0
  42. package/types/helpers/typeHelpers.d.ts +9 -5
  43. package/types/components/Box/Box.d.ts +0 -12
  44. package/types/components/Input/CreditCardInput/CreditCardInput.d.ts +0 -1
  45. package/types/components/Input/PhoneInput/PhoneInput.d.ts +0 -0
  46. 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 ee=["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,I=w>=_,L=Kp(N=>{const F=N.target,Y=[...d.branches].some(S=>S.contains(F));!I||Y||(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(ee.div,C({},u,{ref:m,style:{pointerEvents:g?I?"auto":"none":void 0,...e.style},onFocusCapture:K(e.onFocusCapture,O.onFocusCapture),onBlurCapture:K(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:K(e.onPointerDownCapture,L.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(ee.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(ee.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(ee.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 Lp(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={},Fp={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 Rp(){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 I(x){if(x===null||typeof x!="object")return null;var z=w&&x[w]||x[g];return typeof z=="function"?z:null}var L=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=L.ReactDebugCurrentFrame,he="";if(me){var be=Z(me.type),fe=me._owner;he+=G(be,me._source,fe&&Z(fe.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 Y(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 G(x,z,W){var ae="";if(z){var he=z.fileName,be=he.replace(S,"");if(/^index\./.test(be)){var fe=he.match(S);if(fe){var se=fe[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 D=1;function P(x){return x._status===D?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 de={};L.ReactDebugCurrentFrame;var me=null;function Q(x){me=x}function E(x,z,W,ae,he){{var be=Function.call.bind(Object.prototype.hasOwnProperty);for(var fe in x)if(be(x,fe)){var se=void 0;try{if(typeof x[fe]!="function"){var Pe=Error((ae||"React class")+": "+W+" type `"+fe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[fe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}se=x[fe](z,fe,ae,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ue){se=Ue}se&&!(se instanceof Error)&&(Q(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,fe,typeof se),Q(null)),se instanceof Error&&!(se.message in de)&&(de[se.message]=!0,Q(he),O("Failed %s type: %s",W,se.message),Q(null))}}}var M=L.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"&&M.current&&z&&M.current.stateNode!==z){var W=Z(M.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(M.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 ve=function(x,z,W,ae,he,be,fe){var se={$$typeof:r,type:x,key:z,ref:W,props:fe,_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,fe={},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)&&(fe[be]=z[be]);if(x&&x.defaultProps){var Ue=x.defaultProps;for(be in Ue)fe[be]===void 0&&(fe[be]=Ue[be])}if(se||Pe){var ct=typeof x=="function"?x.displayName||x.name||"Unknown":x;se&&ne(fe,ct),Pe&&ge(fe,ct)}return ve(x,se,Pe,he,ae,M.current,fe)}}var Ve=L.ReactCurrentOwner;L.ReactDebugCurrentFrame;function ke(x){me=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 zp(){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=I(x);if(typeof he=="function"&&he!==x.entries)for(var be=he.call(x),fe;!(fe=be.next()).done;)ye(fe.value)&&Ut(fe.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 fe=Y(x);if(!fe){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(fe){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]),I=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({},I),{ref:g})):T($,{...Le({},I,{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=Rp():e.exports=zp()})(Fp);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 Vp(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,jp(o,...t)]}function jp(...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 Bp(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function la(...e){return t=>e.forEach(r=>Bp(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:()=>{},Wp=W["useId".toString()]||(()=>{});let Up=0;function Ue(e){const[t,r]=W.useState(Wp());return ye(()=>{e||r(n=>n??String(Up++))},[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]=Kp({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 Kp({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(Hp);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,{...Gp(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 Hp(e){return l.isValidElement(e)&&e.type===Sn}function Gp(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 qp(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",Yp="dismissableLayer.pointerDownOutside",Xp="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=Zp(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=Qp(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 qp(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)}))}),Jp=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 Zp(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(Yp,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 Qp(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(Xp,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 eh=Ht,th=Jp,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||(rh(sh(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]=nh(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 rh(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ft(n,{select:t}),document.activeElement!==r)return}function nh(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(!oh(r,{upTo:t}))return r}function oh(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 ih(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&&ih(e)&&t&&e.select()}}const ga=ah();function ah(){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 sh(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 lh(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=ch(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 ch(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=lh(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 uh(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",dh="with-scroll-bars-hidden",fh="--removed-body-scroll-bar-size";function ph(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function hh(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 mh(e,t){return hh(t||null,function(r){return e.forEach(function(n){return ph(n,r)})})}function bh(e){return e}function gh(e,t){t===void 0&&(t=bh);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 vh(e){e===void 0&&(e={});var t=gh(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 _h(e,t){return e.useMedium(t),$a}var xa=vh(),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=mh([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 yh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function $h(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yh();return t&&e.setAttribute("nonce",t),e}function xh(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function wh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Eh=function(){var e=0,t=null;return{add:function(r){e==0&&(t=$h())&&(xh(t,r),wh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ph=function(){var e=Eh();return function(t,r){W.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},wa=function(){var e=Ph(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Sh={left:0,top:0,right:0,gap:0},Nn=function(e){return parseInt(e||"",10)||0},Ch=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)]},Th=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Sh;var t=Ch(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])}},Oh=wa(),kh=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(dh,` {
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(fh,": ").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
+ `)},Dh=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,i=W.useMemo(function(){return Th(o)},[o]);return W.createElement(Oh,{styles:kh(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,Ih=function(e){return e.tagName==="TEXTAREA"},Ea=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Ih(e)&&r[t]==="visible")},Ah=function(e){return Ea(e,"overflowY")},Nh=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},Mh=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Lh=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Sa=function(e,t){return e==="v"?Ah(t):Nh(t)},Ca=function(e,t){return e==="v"?Mh(t):Lh(t)},Fh=function(e,t){return e==="h"&&t==="rtl"?-1:1},Rh=function(e,t,r,n,o){var i=Fh(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},zh=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Vh=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],I,L=m.target,O=Math.abs(w)>Math.abs(g)?"h":"v";if("touches"in m&&O==="h"&&L.type==="range")return!1;var N=Ca(O,L);if(!N)return!0;if(N?I=O:(I=O==="v"?"h":"v",N=Ca(O,L)),!N)return!1;if(!n.current&&"changedTouches"in m&&(w||g)&&(n.current=I),!I)return!0;var F=n.current||I;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(I){return I.name===y.type&&I.target===y.target&&Mh(I.delta,$)})[0];if(_&&_.should){y.cancelable&&y.preventDefault();return}if(!_){var w=(a.current.shards||[]).map(Da).filter(Boolean).filter(function(I){return I.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(ee.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(ee.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(ee.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(ee.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(ee.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
+ `)},jh=0,Et=[];function Bh(e){var t=W.useRef([]),r=W.useRef([0,0]),n=W.useRef(),o=W.useState(jh++)[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=uh([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 Rh(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&&zh(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:Vh(o)}):null,h?W.createElement(Dh,{gapMode:"margin"}):null)}const Wh=_h(xa,Bh);var ka=W.forwardRef(function(e,t){return W.createElement(xr,Me({},e,{ref:t,sideCar:Wh}))});ka.classNames=xr.classNames;const Ln=ka;var Uh=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))},Kh=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)})},Hh=function(e,t,r,n){var o=Kh(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||Uh(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Hh(n,o,r,"aria-hidden")):function(){return null}};const Ia="Dialog",[Aa,Na]=Pe(Ia),[Gh,De]=Aa(Ia),qh=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(Gh,{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)},Yh="DialogTrigger",Xh=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(Yh,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",[Jh,La]=Aa(Ma,{forceMount:void 0}),Zh=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=De(Ma,t);return l.createElement(Jh,{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",Qh=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(e0,C({},o,{ref:t}))):null}),e0=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",t0=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(r0,C({},o,{ref:t})):l.createElement(n0,C({},o,{ref:t})))}),r0=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())}))}),n0=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",o0=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}))}),i0="DialogDescription",a0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(i0,r);return l.createElement(te.p,C({id:o.descriptionId},n,{ref:t}))}),s0="DialogClose",l0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(s0,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 c0="DialogTitleWarning",[u0,xE]=Vp(c0,{contentName:St,titleName:Ra,docsSlug:"dialog"}),za=qh,Va=Xh,ja=Zh,Ba=Qh,Wa=t0,Ua=o0,Ka=a0,jn=l0,d0="AlertDialog",[f0,wE]=Pe(d0,[Na]),Ke=Na(),p0=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ke(t);return l.createElement(za,C({},n,r,{modal:!0}))},h0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Va,C({},o,n,{ref:t}))}),m0=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ke(t);return l.createElement(ja,C({},n,r))},b0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ba,C({},o,n,{ref:t}))}),Ha="AlertDialogContent",[g0,v0]=f0(Ha),_0=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(u0,{contentName:Ha,titleName:y0,docsSlug:"alert-dialog"},l.createElement(g0,{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)))}),y0="AlertDialogTitle",$0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ua,C({},o,n,{ref:t}))}),x0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ka,C({},o,n,{ref:t}))}),w0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(jn,C({},o,n,{ref:t}))}),E0="AlertDialogCancel",P0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=v0(E0,r),i=Ke(r),a=se(t,o);return l.createElement(jn,C({},i,n,{ref:a}))}),S0=p0,C0=h0,T0=m0,O0=b0,k0=_0,D0=w0,I0=P0,A0=$0,N0=x0,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,162 +77,163 @@ 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)`
81
- --overlay-opacity: 0.8;
82
- background-color: dimgray; // TODO
80
+ `,M0=I(Ba)`
81
+ --overlay-opacity: 0.6;
82
+ background-color: ${u.color_fill_secondary_enabled};
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"},L0=I(Wa)`
89
+ background: ${u.color_white};
90
+ padding: ${u.sizing_500};
91
+ width: ${e=>Un[e.size??"medium"]};
92
+ max-width: 100vw;
93
+ max-height: 85vh;
94
+ overflow: auto;
95
+ min-width: min(200px, 100%);
94
96
  position: fixed;
95
97
  top: 50%;
96
98
  left: 50%;
97
99
  transform: translate(-50%, -50%);
98
100
  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};
101
+ box-shadow: ${u.elevation_static_high};
102
+ border-radius: ${u.border_radius_400};
103
+ animation: ${Wn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
104
+ `;function F0({children:e,size:t,...r}){return le(ja,{children:[k(M0,{}),k(L0,{size:t,...r,children:e})]})}const R0=I(Ua)`
105
+ font-family: ${u.font_family_sans};
104
106
  font-style: normal;
105
107
  font-weight: 500;
106
- font-size: ${f.font_size_300};
107
- line-height: ${f.line_height_111};
108
- letter-spacing: ${f.letter_spacing_tighter};
108
+ font-size: ${u.font_size_300};
109
+ line-height: ${u.line_height_111};
110
+ letter-spacing: ${u.letter_spacing_tighter};
109
111
  margin: 0;
110
- margin-bottom: ${f.spacing_200};
111
- `,M0=A.default(Ga)`
112
- font-family: ${f.font_family_sans};
112
+ margin-bottom: ${u.spacing_200};
113
+ color: ${u.color_text_strong};
114
+ `,z0=I(Ka)`
115
+ font-family: ${u.font_family_sans};
113
116
  font-style: normal;
114
117
  font-weight: 400;
115
- font-size: ${f.font_size_100};
116
- line-height: ${f.line_height_129};
118
+ font-size: ${u.font_size_100};
119
+ line-height: ${u.line_height_129};
117
120
  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};
121
+ margin-top: ${u.sizing_200}; /* or flex parent and gap? */
122
+ margin-bottom: ${u.sizing_400};
123
+ `,V0=I.footer`
124
+ margin-top: ${u.spacing_400};
122
125
  display: flex;
123
126
  justify-content: end;
124
- gap: ${f.sizing_200};
125
- `,F0=A.default.button`
127
+ gap: ${u.sizing_200};
128
+ `,j0=I.button`
126
129
  all: unset;
127
130
  font-family: inherit;
128
131
  height: 25px;
129
132
  width: 25px;
130
133
  line-height: 0;
131
134
  display: inline-flex;
132
- border-radius: ${f.border_radius_circle};
135
+ border-radius: ${u.border_radius_circle};
133
136
  align-items: center;
134
137
  justify-content: center;
135
- color: ${f.color_fill_primary_enabled};
138
+ color: ${u.color_fill_primary_enabled};
136
139
  position: absolute;
137
140
  top: 16px;
138
141
  right: 12px;
139
142
 
140
- transition-property: ${f.transition_property_color};
141
- transition-duration: ${f.transition_duration_150};
143
+ transition-property: ${u.transition_property_color};
144
+ transition-duration: ${u.transition_duration_150};
142
145
 
143
146
  &: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 */
147
+ color: ${u.color_fill_primary_hover};
148
+ background-color: hsl(0deg 0% 0% / 3%); /* Figma says Interactive / Overlay / Secondary / Hover? */
151
149
  }
152
- `,R0=ja,z0=Ba,V0=Un,j0=A.default(P0)`
153
- --overlay-opacity: 0.8;
154
- background-color: dimgray; // TODO
150
+ `,B0=za,W0=Va,U0=jn,K0=I(O0)`
151
+ --overlay-opacity: 0.6;
152
+ background-color: ${u.color_fill_secondary_enabled};
155
153
  opacity: var(--overlay-opacity);
156
154
  position: fixed;
157
155
  inset: 0;
158
156
  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; // ??
157
+ animation: ${Bn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
158
+ `,H0=I(k0)`
159
+ background: ${u.color_white};
160
+ padding: ${u.sizing_500};
161
+ width: ${e=>Un[e.size??"medium"]};
162
+ max-width: 100vw;
163
+ max-height: 85vh;
164
+ overflow: auto;
165
+ min-width: min(200px, 100%);
166
166
  position: fixed;
167
167
  top: 50%;
168
168
  left: 50%;
169
169
  transform: translate(-50%, -50%);
170
170
  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
171
+ box-shadow: ${u.elevation_static_high};
172
+ border-radius: ${u.border_radius_400};
173
+ animation: ${Wn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
174
+ `;function G0({children:e,size:t,...r}){return le(T0,{children:[k(K0,{}),k(H0,{size:t,...r,children:e})]})}const q0=I(A0)`
175
+ font-family: ${u.font_family_sans};
176
176
  font-style: normal;
177
177
  font-weight: 500;
178
- font-size: ${f.font_size_300};
179
- line-height: ${f.line_height_111};
180
- letter-spacing: ${f.letter_spacing_tighter};
178
+ font-size: ${u.font_size_300};
179
+ line-height: ${u.line_height_111};
180
+ letter-spacing: ${u.letter_spacing_tighter};
181
181
  margin: 0;
182
- margin-bottom: ${f.spacing_200};
183
- `,K0=A.default(k0)`
184
- font-family: ${f.font_family_sans};
182
+ margin-bottom: ${u.spacing_200};
183
+ color: ${u.color_text_strong};
184
+ `,Y0=I(N0)`
185
+ font-family: ${u.font_family_sans};
185
186
  font-style: normal;
186
187
  font-weight: 400;
187
- font-size: ${f.font_size_100};
188
- line-height: ${f.line_height_129};
188
+ font-size: ${u.font_size_100};
189
+ line-height: ${u.line_height_129};
189
190
  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};
191
+ margin-top: ${u.sizing_200}; /* or flex parent and gap? */
192
+ margin-bottom: ${u.sizing_400};
193
+ `,X0=I.footer`
194
+ margin-top: ${u.sizing_400};
194
195
  display: flex;
195
196
  justify-content: end;
196
- gap: ${f.sizing_200};
197
- `,G0=x0,q0=w0,Y0=C0,X0=T0,Or=l.forwardRef((e,t)=>l.createElement(ee.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,I=(S,G)=>{let{onPressStart:D,onPressChange:P,isDisabled:re}=h.current;re||g.didFirePressStart||(D&&D({type:"pressstart",pointerType:G,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),P&&P(!0),g.didFirePressStart=!0,m(!0))},L=(S,G,D=!0)=>{let{onPressEnd:P,onPressChange:re,onPress:Z,isDisabled:de}=h.current;!g.didFirePressStart||(g.ignoreClickAfterPress=!0,g.didFirePressStart=!1,P&&P({type:"pressend",pointerType:G,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),re&&re(!1),m(!1),Z&&D&&!de&&Z({type:"press",pointerType:G,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}))},O=(S,G)=>{let{onPressUp:D,isDisabled:P}=h.current;P||D&&D({type:"pressup",pointerType:G,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey})},N=S=>{g.isPressed&&(g.isOverTarget&&L(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,I(S,"keyboard"),$(document,"keyup",Y,!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),I(S,"virtual"),O(S,"virtual"),L(S,"virtual")),g.ignoreEmulatedMouseEvents=!1,g.ignoreClickAfterPress=!1)}},Y=S=>{if(g.isPressed&&no(S,g.target)){fs(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),g.isPressed=!1;let G=S.target;L(Ge(g.target,S),"keyboard",g.target.contains(G)),_(),g.target instanceof HTMLElement&&g.target.contains(G)&&(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),I(P,g.pointerType),$(document,"pointermove",S,!1),$(document,"pointerup",G,!1),$(document,"pointercancel",D,!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,I(Ge(g.target,P),g.pointerType)):g.isOverTarget&&(g.isOverTarget=!1,L(Ge(g.target,P),g.pointerType,!1),h.current.shouldCancelOnPointerExit&&N(P)))},G=P=>{P.pointerId===g.activePointerId&&g.isPressed&&P.button===0&&(Dt(P,g.target)?L(Ge(g.target,P),g.pointerType):g.isOverTarget&&L(Ge(g.target,P),g.pointerType,!1),g.isPressed=!1,g.isOverTarget=!1,g.activePointerId=null,g.pointerType=null,_(),d||Ar(g.target))},D=P=>{N(P)};F.onDragStart=P=>{!P.currentTarget.contains(P.target)||N(P)}}else{F.onMouseDown=D=>{D.button!==0||!D.currentTarget.contains(D.target)||(oo(D.currentTarget)&&D.preventDefault(),D.stopPropagation(),!g.ignoreEmulatedMouseEvents&&(g.isPressed=!0,g.isOverTarget=!0,g.target=D.currentTarget,g.pointerType=Zn(D.nativeEvent)?"virtual":"mouse",!a&&!c&&Tt(D.currentTarget),I(D,g.pointerType),$(document,"mouseup",S,!1)))},F.onMouseEnter=D=>{!D.currentTarget.contains(D.target)||(D.stopPropagation(),g.isPressed&&!g.ignoreEmulatedMouseEvents&&(g.isOverTarget=!0,I(D,g.pointerType)))},F.onMouseLeave=D=>{!D.currentTarget.contains(D.target)||(D.stopPropagation(),g.isPressed&&!g.ignoreEmulatedMouseEvents&&(g.isOverTarget=!1,L(D,g.pointerType,!1),h.current.shouldCancelOnPointerExit&&N(D)))},F.onMouseUp=D=>{!D.currentTarget.contains(D.target)||!g.ignoreEmulatedMouseEvents&&D.button===0&&O(D,g.pointerType)};let S=D=>{if(D.button===0){if(g.isPressed=!1,_(),g.ignoreEmulatedMouseEvents){g.ignoreEmulatedMouseEvents=!1;return}Dt(D,g.target)?L(Ge(g.target,D),g.pointerType):g.isOverTarget&&L(Ge(g.target,D),g.pointerType,!1),g.isOverTarget=!1}};F.onTouchStart=D=>{if(!D.currentTarget.contains(D.target))return;D.stopPropagation();let P=mb(D.nativeEvent);!P||(g.activePointerId=P.identifier,g.ignoreEmulatedMouseEvents=!0,g.isOverTarget=!0,g.isPressed=!0,g.target=D.currentTarget,g.pointerType="touch",!a&&!c&&Tt(D.currentTarget),d||cs(g.target),I(D,g.pointerType),$(window,"scroll",G,!0))},F.onTouchMove=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!g.isPressed))return;let P=ds(D.nativeEvent,g.activePointerId);P&&Dt(P,D.currentTarget)?g.isOverTarget||(g.isOverTarget=!0,I(D,g.pointerType)):g.isOverTarget&&(g.isOverTarget=!1,L(D,g.pointerType,!1),h.current.shouldCancelOnPointerExit&&N(D))},F.onTouchEnd=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!g.isPressed))return;let P=ds(D.nativeEvent,g.activePointerId);P&&Dt(P,D.currentTarget)?(O(D,g.pointerType),L(D,g.pointerType)):g.isOverTarget&&L(D,g.pointerType,!1),g.isPressed=!1,g.activePointerId=null,g.isOverTarget=!1,g.ignoreEmulatedMouseEvents=!0,d||Ar(g.target),_()},F.onTouchCancel=D=>{!D.currentTarget.contains(D.target)||(D.stopPropagation(),g.isPressed&&N(D))};let G=D=>{g.isPressed&&D.target.contains(g.target)&&N({currentTarget:g.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=D=>{!D.currentTarget.contains(D.target)||N(D)}}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])),I=new RegExp(`[${w.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:h,group:v,literals:_,numeral:I,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 I=$/2-_/2,L=u[m],O=g-v[h]-u[y],N=g/2-v[h]/2+I,F=yo(L,N,O),G=(b==="start"?u[m]:u[y])>0&&N!==F&&s.reference[h]<=s.floating[h]?N<L?L-N:O-N:0;return{[p]:d[p]-G,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 I=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&g.push(w[m]),d){const{main:F,cross:Y}=lm(n,i,await(s.isRTL==null?void 0:s.isRTL(c.floating)));g.push(w[F],w[Y])}if(I=[...I,{placement:n,overflows:g}],!g.every(F=>F<=0)){var L,O;const F=((L=(O=o.flip)==null?void 0:O.index)!=null?L:0)+1,Y=_[F];if(Y)return{data:{index:F,overflows:I},reset:{placement:Y}};let S="bottom";switch(b){case"bestFit":{var N;const G=(N=I.map(D=>[D,D.overflows.filter(P=>P>0).reduce((P,re)=>P+re,0)]).sort((D,P)=>D[1]-P[1])[0])==null?void 0:N[0].placement;G&&(S=G);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 I=p==="y"?"height":"width",L=i.reference[p]-i.floating[I]+y.mainAxis,O=i.reference[p]+i.reference[I]-y.mainAxis;h<L?h=L:h>O&&(h=O)}if(u){var $,_,w,g;const I=p==="y"?"width":"height",L=["top","left"].includes(Nt(o)),O=i.reference[b]-i.floating[I]+(L&&($=(_=a.offset)==null?void 0:_[b])!=null?$:0)+(L?0:y.crossAxis),N=i.reference[b]+i.reference[I]+(L?0:(w=(g=a.offset)==null?void 0:g[b])!=null?w:0)-(L?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(ee.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(ee.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,...I}=e,L=Il(qr,d),[O,N]=l.useState(null),F=le(t,Ne=>N(Ne)),[Y,S]=l.useState(null),G=Hr(Y),D=(r=G==null?void 0:G.width)!==null&&r!==void 0?r:0,P=(n=G==null?void 0:G.height)!==null&&n!==void 0?n:0,re=p+(h!=="center"?"-"+h:""),Z=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},de=Array.isArray(y)?y:[y],me=de.length>0,Q={padding:Z,boundary:de.filter(Xm),altBoundary:me},{reference:E,floating:M,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,...Q}):void 0,Y?Mm({element:Y,padding:m}):void 0,g?fm({...Q}):void 0,Jm({arrowWidth:D,arrowHeight:P}),w?pm({strategy:"referenceHidden"}):void 0].filter(Ym)});$e(()=>{E(L.anchor)},[E,L.anchor]);const J=j!==null&&V!==null,[oe,ne]=Al(U),ge=(o=q.arrow)===null||o===void 0?void 0:o.x,ve=(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,...I,ref:F,style:{...I.style,animation:J?void 0:"none",opacity:(s=q.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:M,"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:ve,shouldHideArrow:Ee},_e?l.createElement(Wm,{scope:d,hasParent:!0,positionUpdateFns:ye},l.createElement(ee.div,Ae)):l.createElement(ee.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(ee.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(ee.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;
200
- 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)`
197
+ gap: ${u.sizing_200};
198
+ `,J0=S0,Z0=C0,Q0=D0,em=I0,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,tm=({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(tm,{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 rm=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 nm(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ya(e){return typeof e!="number"?nm(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 om=Math.min,im=Math.max;function Hn(e,t,r){return im(e,om(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}}}}),am={left:"right",right:"left",bottom:"top",top:"bottom"};function Dr(e){return e.replace(/left|right|bottom|top/g,t=>am[t])}function sm(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 lm={start:"end",end:"start"};function Ja(e){return e.replace(/start|end/g,t=>lm[t])}const cm=["top","right","bottom","left"];function um(e){const t=Dr(e);return[Ja(e),t,Ja(t)]}const dm=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)]:um(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}=sm(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 cm.some(t=>e[t]>=0)}const fm=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 pm(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 hm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await pm(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function es(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:_=>{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}}}}},bm=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 gm(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 vm(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((gm(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 _m(e){const t=qe(e);return Ar(t.width)!==e.offsetWidth||Ar(t.height)!==e.offsetHeight}function ym(e,t,r){const n=Le(t),o=et(t),i=qe(e,n&&_m(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 $m(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&&vm(r)&&getComputedStyle(r).position==="static";)r=ls(r);return r&&(Ge(r)==="html"||Ge(r)==="body"&&getComputedStyle(r).position==="static"&&!ns(r))?t:r||$m(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 xm(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 wm(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 Em(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 Pm(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 Sm(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(wm(e,r)):Qe(t)?Sm(t,r):Or(Em(et(e)))}function Cm(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)&&Pm(o,n)&&Ge(o)!=="body"):[]}function Tm(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?Cm(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 Om={getClippingRect:Tm,convertOffsetParentRelativeRectToViewportRelativeRect:xm,isElement:Qe,getDimensions:cs,getOffsetParent:qn,getDocumentElement:et,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:ym(t,qn(r),n),floating:{...cs(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Yt(e).direction==="rtl"};function km(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 Dm=(e,t,r)=>rm(e,t,{platform:Om,...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 Im(e){const t=W.useRef(e);return Yn(()=>{t.current=e}),t}function Am(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=Im(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||Dm(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 Nm=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):{}}}},Mm=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),[Lm,ps]=Jn(fs),Fm=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(Lm,{scope:t,anchor:n,onAnchorChange:o},r)},Rm="PopperAnchor",zm=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,i=ps(Rm,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",[Vm,jm]=Jn(Rr),[Bm,Wm]=Jn(Rr,{hasParent:!1,positionUpdateFns:new Set}),Um=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(Ym),altBoundary:fe},{reference:w,floating:N,strategy:B,x:j,y:V,placement:K,middlewareData:Y,update:X}=Am({strategy:"fixed",placement:ee,whileElementsMounted:km,middleware:[hm({mainAxis:b+P,alignmentAxis:g}),v?mm({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?bm():void 0,...J}):void 0,G?Nm({element:G,padding:m}):void 0,v?dm({...J}):void 0,Xm({arrowWidth:D,arrowHeight:P}),E?fm({strategy:"referenceHidden"}):void 0].filter(qm)});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}=Wm(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(Vm,{scope:f,placedSide:oe,onArrowChange:S,arrowX:ge,arrowY:be,shouldHideArrow:we},_e?l.createElement(Bm,{scope:f,hasParent:!0,positionUpdateFns:ve},l.createElement(te.div,Ie)):l.createElement(te.div,Ie)))}),Km="PopperArrow",Hm={top:"bottom",right:"left",bottom:"top",left:"right"},Gm=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,i=jm(Km,n),a=Hm[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(Mm,C({},o,{ref:r,style:{...o.style,display:"block"}})))});function qm(e){return e!==void 0}function Ym(e){return e!==null}const Xm=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=Fm,bs=zm,gs=Um,vs=Gm,_s="Popover",[ys,SE]=Pe(_s,[Fr]),zr=Fr(),[Jm,pt]=ys(_s),Zm=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(Jm,{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))},Qm="PopoverTrigger",eb=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pt(Qm,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",[tb,rb]=ys($s,{forceMount:void 0}),nb=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=pt($s,t);return l.createElement(tb,{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=rb(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(ob,C({},o,{ref:t})):l.createElement(ib,C({},o,{ref:t})))}),ob=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})})))}),ib=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)"}}))))}),ab="PopoverClose",sb=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pt(ab,r);return l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,()=>o.onOpenChange(!1))}))}),lb=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 cb=Zm,ub=eb,db=nb,fb=xs,Ps=sb,pb=lb;function Ss(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},Cs=l.createContext(Zn);let mb=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function bb(e){let t=l.useContext(Cs);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(Cs)!==Zn,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Ts(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=Ts(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Os(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Ts(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 ks(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 Ds(...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]=Ds(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=Os(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 Is(){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"?Is():document.addEventListener("DOMContentLoaded",Is));function As(e){requestAnimationFrame(()=>{Dt.size===0?e():Qn.add(e)})}function Ns(){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 Ms(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 Ls(){return eo(/^Mac/i)}function Fs(){return eo(/^iPhone/i)}function Tb(){return eo(/^iPad/i)||Ls()&&navigator.maxTouchPoints>1}function to(){return Fs()||Tb()}function Rs(){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:Rs()&&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 zs(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(()=>{As(()=>{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 Vs=l.createContext(null);Vs.displayName="PressResponderContext";function Db(e){let t=l.useContext(Vs);if(t){let{register:r,...n}=t;e=xe(n,e),r()}return Ms(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}=Ns(),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)?(Bs(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)){Bs(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||zs(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||zs(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=js(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=js(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&&!Ws(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 js(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 Bs(e,t){return e instanceof HTMLInputElement?!Ws(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Mb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ws(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 Us(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=Us(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,Ks=!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||!Ls()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Hs(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"||Ks)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){gt=!0,e.apply(this,arguments)},document.addEventListener("keydown",Hs,!0),document.addEventListener("keyup",Hs,!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)),Ks=!0}typeof document<"u"&&(document.readyState!=="loading"?ho():document.addEventListener("DOMContentLoaded",ho));function Gs(){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(Gs())};return uo.add(n),()=>{uo.delete(n)}},t)}function qs(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=Us(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 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 Kb(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ys(e.onKeyDown),onKeyUp:Ys(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;As(()=>{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 Xs({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 Xs({scopeRef:null}),this.fastMap.set(null,this.root)}}class Xs{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||Gs()}),[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}=qs({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)||{};Ms(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 Js=new Map,Zs=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=Js.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),Js.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Zs.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Zs.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 Qs={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=Qs[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=Qs[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 el=new Map;function yo(e,t,r){let n=tl(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of ig)if(o!==n.options.numberingSystem){let i=tl(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(r))return i}}return n}function tl(e,t){let r=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),n=el.get(r);return n||(n=new sg(e,t),el.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 rl=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=>!rl.has(T.type)).map(T=>nl(T.value)),_=d.filter(T=>!rl.has(T.type)).map(T=>nl(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 nl(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 ol(){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=ol(),Qt=new Set;function il(){$o=ol();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",il),Qt.add(r),()=>{Qt.delete(r),Qt.size===0&&window.removeEventListener("languagechange",il)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const pg=l.createContext(null);function al(){let e=fg();return l.useContext(pg)||e}const sl=new WeakMap;function hg(e){let t=sl.get(e);return t||(t=new Zb(e),sl.set(e,t)),t}function Gr(e){let{locale:t}=al(),r=l.useMemo(()=>hg(e),[e]);return l.useMemo(()=>new tg(t,r),[t,r])}function mg(e={}){let{locale:t}=al();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 ll={},cl={};cl={breadcrumbs:"عناصر الواجهة"};var ul={};ul={breadcrumbs:"Трохи хляб"};var dl={};dl={breadcrumbs:"Popis cesty"};var fl={};fl={breadcrumbs:"Brødkrummer"};var pl={};pl={breadcrumbs:"Breadcrumbs"};var hl={};hl={breadcrumbs:"Πλοηγήσεις breadcrumb"};var ml={};ml={breadcrumbs:"Breadcrumbs"};var bl={};bl={breadcrumbs:"Migas de pan"};var gl={};gl={breadcrumbs:"Lingiread"};var vl={};vl={breadcrumbs:"Navigointilinkit"};var _l={};_l={breadcrumbs:"Chemin de navigation"};var yl={};yl={breadcrumbs:"שבילי ניווט"};var $l={};$l={breadcrumbs:"Navigacijski putovi"};var xl={};xl={breadcrumbs:"Morzsamenü"};var wl={};wl={breadcrumbs:"Breadcrumb"};var El={};El={breadcrumbs:"パンくずリスト"};var Pl={};Pl={breadcrumbs:"탐색 표시"};var Sl={};Sl={breadcrumbs:"Naršymo kelias"};var Cl={};Cl={breadcrumbs:"Atpakaļceļi"};var Tl={};Tl={breadcrumbs:"Navigasjonsstier"};var Ol={};Ol={breadcrumbs:"Broodkruimels"};var kl={};kl={breadcrumbs:"Struktura nawigacyjna"};var Dl={};Dl={breadcrumbs:"Caminho detalhado"};var Il={};Il={breadcrumbs:"Categorias"};var Al={};Al={breadcrumbs:"Miez de pâine"};var Nl={};Nl={breadcrumbs:"Навигация"};var Ml={};Ml={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Ll={};Ll={breadcrumbs:"Drobtine"};var Fl={};Fl={breadcrumbs:"Putanje navigacije"};var Rl={};Rl={breadcrumbs:"Sökvägar"};var zl={};zl={breadcrumbs:"İçerik haritaları"};var Vl={};Vl={breadcrumbs:"Навігаційна стежка"};var jl={};jl={breadcrumbs:"导航栏"};var Bl={};Bl={breadcrumbs:"導覽列"},ll={"ar-AE":cl,"bg-BG":ul,"cs-CZ":dl,"da-DK":fl,"de-DE":pl,"el-GR":hl,"en-US":ml,"es-ES":bl,"et-EE":gl,"fi-FI":vl,"fr-FR":_l,"he-IL":yl,"hr-HR":$l,"hu-HU":xl,"it-IT":wl,"ja-JP":El,"ko-KR":Pl,"lt-LT":Sl,"lv-LV":Cl,"nb-NO":Tl,"nl-NL":Ol,"pl-PL":kl,"pt-BR":Dl,"pt-PT":Il,"ro-RO":Al,"ru-RU":Nl,"sk-SK":Ml,"sl-SI":Ll,"sr-SP":Fl,"sv-SE":Rl,"tr-TR":zl,"uk-UA":Vl,"zh-CN":jl,"zh-TW":Bl};function vg(e){let{"aria-label":t,...r}=e,n=Gr(bg(ll));return{navProps:{...Zt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const _g=I(fb)`
199
+ border-radius: ${u.border_radius_400};
200
+ padding: ${u.sizing_200};
201
+ width: fit-content; // Pass props?
202
+ background-color: ${u.color_white};
203
+ box-shadow: ${u.elevation_interactive_medium};
204
+ `,yg=I(pb)`
205
+ fill: ${u.color_white};
206
+ `;function $g({children:e,...t}){return k(db,{children:le(_g,{...t,children:[e,k(yg,{})]})})}const xg=Ps,wg=I(Ps)`
207
207
  all: unset;
208
+ cursor: pointer;
208
209
  font-family: inherit;
209
- border-radius: 100%;
210
+ border-radius: ${u.border_radius_circle};
210
211
  height: 25px;
211
212
  width: 25px;
212
213
  display: inline-flex;
213
214
  align-items: center;
214
215
  justify-content: center;
215
- color: grey;
216
+ color: ${u.color_fill_inverse_pressed};
216
217
  position: absolute;
217
218
  top: 5px;
218
219
  right: 5px;
219
- `,Ul=uv,Kl=dv,_v=gv,$v=yv,xv="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",wv=A.default(jl)`
220
+ `,Wl=cb,Ul=ub,Eg="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",Pg=I(xs)`
220
221
  margin-top: 22px;
221
222
  isolation: isolate;
222
223
  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};
224
+ padding: ${u.sizing_350};
225
+ background: ${u.color_background_white_standard};
226
+ box-shadow: ${u.elevation_interactive_high};
227
+ border-radius: ${u.border_radius_800};
227
228
 
228
229
  &[data-state~='focused'] {
229
- outline: 1px solid ${f.color_black};
230
+ outline: 1px solid ${u.color_black};
230
231
  }
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};
232
+ `;function Sg({children:e}){const{isFocusVisible:t,focusProps:r}=Ur();return k(Pg,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const xo=I.ol`
233
+ font-family: ${u.font_family_sans};
233
234
  display: flex;
234
235
  list-style: none;
235
- gap: ${f.sizing_200};
236
+ gap: ${u.sizing_200};
236
237
 
237
238
  flex-direction: row;
238
239
  padding-inline-start: 0;
@@ -241,14 +242,14 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
241
242
 
242
243
  & > li:not(:last-of-type)::after {
243
244
  content: '/';
244
- font-family: ${f.font_family_inter};
245
- color: ${f.color_divider_standard};
245
+ font-family: ${u.font_family_sans};
246
+ color: ${u.color_divider_standard};
246
247
  }
247
- `,Hl=A.default(Po)`
248
+ `,Kl=I(xo)`
248
249
  flex-direction: column;
249
250
 
250
251
  & li {
251
- color: ${f.color_text_standard} !important;
252
+ color: ${u.color_text_standard} !important;
252
253
  font-weight: 400 !important;
253
254
  }
254
255
 
@@ -258,7 +259,7 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
258
259
 
259
260
  & > ol li:first-of-type::before {
260
261
  content: '';
261
- background-image: url(${xv});
262
+ background-image: url(${Eg});
262
263
  display: block;
263
264
  height: 1em;
264
265
  width: 1em;
@@ -267,184 +268,181 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
267
268
  background-size: initial;
268
269
  background-repeat: initial;
269
270
  }
270
- `,So=A.default.li`
271
- color: ${f.color_text_weak};
271
+ `,wo=I.li`
272
+ color: ${u.color_text_weak};
272
273
  display: flex;
273
274
  align-items: center;
274
- gap: ${f.sizing_200};
275
- `,Gl=A.default.a`
275
+ gap: ${u.sizing_200};
276
+ `,Hl=I.a`
276
277
  text-decoration: none;
277
- color: ${f.color_text_weak};
278
+ color: ${u.color_text_weak};
278
279
  font-style: normal;
279
280
  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};
281
+ font-size: ${u.font_size_100};
282
+ line-height: ${u.line_height_114};
283
+ letter-spacing: ${u.letter_spacing_tight};
284
+ border-radius: ${u.border_radius_400};
284
285
  padding: 2px 4px;
285
286
 
286
- transition-property: ${f.transition_property_color};
287
- transition-duration: ${f.transition_duration_100};
287
+ transition-property: ${u.transition_property_color};
288
+ transition-duration: ${u.transition_duration_100};
288
289
  cursor: default;
289
290
 
290
291
  &[href] {
291
292
  cursor: pointer;
292
293
  }
293
294
 
294
- &:hover:not([aria-disabled='true']) {
295
- background-color: ${f.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
295
+ &:focus {
296
+ outline: none;
296
297
  }
297
298
 
298
- &[href][data-state~='pressed'] {
299
- background-color: ${f.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
299
+ &:hover:not([aria-disabled='true']) {
300
+ background-color: ${u.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
300
301
  }
301
302
 
302
- &:focus {
303
- outline: none;
303
+ &[href][data-state~='pressed'] {
304
+ background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
304
305
  }
305
306
 
306
307
  &[data-state~='focused'] {
307
- outline: 1px solid ${f.color_black};
308
+ outline: 1px solid ${u.color_black};
308
309
  }
309
310
 
310
311
  &[aria-disabled='true'] {
311
- color: ${f.color_fill_primary_disabled};
312
+ color: ${u.color_fill_primary_disabled};
312
313
  }
313
314
 
314
315
  &[aria-current='page'] {
315
- color: ${f.color_text_strong};
316
+ color: ${u.color_text_strong};
316
317
  font-weight: 400;
317
318
  }
318
- `,Pv=A.default.button`
319
+ `,Cg=I.button`
319
320
  appearance: none;
320
321
  cursor: pointer;
321
322
  touch-action: none;
322
323
  border: none;
323
- font-family: ${f.font_family_inter};
324
+ font-family: ${u.font_family_sans};
324
325
 
325
- background-color: ${f.color_white};
326
- color: ${f.color_text_weak};
327
- border-radius: ${f.border_radius_400};
326
+ background-color: ${u.color_white};
327
+ color: ${u.color_text_weak};
328
+ border-radius: ${u.border_radius_400};
328
329
  padding: 2px 4px;
329
330
 
330
- transition-property: ${f.transition_property_color};
331
- transition-duration: ${f.transition_duration_100};
331
+ transition-property: ${u.transition_property_color};
332
+ transition-duration: ${u.transition_duration_100};
332
333
 
333
334
  &:focus-visible {
334
- outline: 1px solid ${f.color_black};
335
+ outline: 1px solid ${u.color_black};
335
336
  }
336
337
 
337
338
  &:hover {
338
- background-color: ${f.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
339
+ background-color: ${u.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Hover */
339
340
  }
340
341
 
341
342
  &:active,
342
- &[data-state='open'] {
343
- background-color: ${f.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
343
+ &[data-state~='open'] {
344
+ background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
344
345
  }
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||u,ref:i}),{isFocusVisible:h,focusProps:v}=Nr(),m=[p&&"pressed",n&&"disabled",h&&"focused"].filter(Boolean).join(" "),$=u||n?{}:{[a?"href":"to"]:c};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`
346
+ `;function Gl({truncatedItems:e}){return e.length>1?le(Kl,{children:[e.slice(0,1),k(Gl,{truncatedItems:e.slice(1)})]}):k(Kl,{children:e})}function Tg({truncatedItems:e}){return k(wo,{children:le(Wl,{children:[k(Ul,{asChild:!0,children:k(Cg,{type:"button",children:"..."})}),k(Sg,{children:k(Gl,{truncatedItems:e})})]})})}const ql=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(Tg,{truncatedItems:d}),c]})})}return k("nav",{...n,children:k(xo,{ref:r,children:o})})});ql.displayName="Breadcrumbs";const Yl=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(Hl,{as:r,...f,ref:i,"data-state":m,...g,...b,...$,children:s})})});Yl.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 Og={small:`${u.spacing_200} ${u.spacing_300}`,large:`${u.spacing_300} ${u.spacing_400}`},Fe=I.button`
346
347
  appearance: none;
347
- border-radius: ${f.border_radius_400};
348
+ border-radius: ${u.border_radius_400};
348
349
  border: 1px solid transparent;
349
350
  font-style: normal;
350
- padding: ${({paddingSize:e})=>Cv[e]};
351
- font-family: ${f.font_family_inter};
351
+ padding: ${({paddingSize:e})=>Og[e]};
352
+ font-family: ${u.font_family_sans};
352
353
  cursor: pointer;
353
354
  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};
355
+ font-size: ${u.font_size_100};
356
+ letter-spacing: ${u.letter_spacing_tight};
357
357
  flex-shrink: 0;
358
+ line-height: 1;
358
359
  overflow: hidden;
359
360
  text-overflow: ellipsis;
360
361
  touch-action: none;
361
362
  -webkit-tap-highlight-color: transparent;
362
- transition-property: ${f.transition_property_color};
363
- transition-duration: ${f.transition_duration_100};
363
+ transition-property: ${u.transition_property_color};
364
+ transition-duration: ${u.transition_duration_100};
364
365
 
365
- // Not sure about this?
366
366
  &:focus-visible {
367
367
  outline: none;
368
368
  }
369
369
 
370
370
  &[data-state~='focused'] {
371
- outline-color: ${f.color_black};
372
- outline-style: solid;
373
- outline-width: 1px; // TODO make token?
371
+ outline: ${u.color_black} solid 1px;
374
372
  outline-offset: 2px;
375
373
  }
376
374
 
377
375
  &:disabled {
378
376
  cursor: not-allowed;
379
377
  }
380
- `,Tv=A.default(Re)`
381
- background: white;
378
+ `,kg=I(Fe)`
379
+ background: ${u.color_white};
382
380
  color: hsl(0, 0%, 7.84%);
383
- border: 1px solid ${f.color_outline_secondary_enabled};
381
+ border: 1px solid ${u.color_outline_secondary_enabled};
384
382
 
385
383
  &: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};
384
+ background: ${u.color_overlay_secondary_hover}; /* Interactive / Overlay / Secondary / Enabled */
385
+ color: ${u.color_fill_primary_hover};
386
+ border-color: ${u.color_outline_secondary_hover};
389
387
  }
390
388
 
391
389
  &[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};
390
+ background: ${u.color_overlay_secondary_pressed};
391
+ color: ${u.color_outline_secondary_pressed};
392
+ border-color: ${u.color_outline_secondary_pressed};
395
393
  }
396
394
 
397
395
  &:disabled {
398
- color: ${f.color_fill_secondary_disabled};
399
- border-color: ${f.color_outline_secondary_disabled};
396
+ color: ${u.color_fill_secondary_disabled};
397
+ border-color: ${u.color_outline_secondary_disabled};
400
398
  }
401
- `,Ov=A.default(Re)`
402
- background: white;
403
- color: ${f.color_fill_danger_enabled};
404
- border: 1px solid ${f.color_outline_danger_enabled};
399
+ `,Dg=I(Fe)`
400
+ background: ${u.color_white};
401
+ color: ${u.color_fill_danger_enabled};
402
+ border: 1px solid ${u.color_outline_danger_enabled};
405
403
 
406
404
  &:hover {
407
- color: ${f.color_fill_danger_hover};
408
- background: hsla(10.519, 67.54%, 55.29%, 0.06);
405
+ color: ${u.color_fill_danger_hover};
406
+ background: hsl(10.519deg 67.54%, 55.29% / 6%);
409
407
  }
410
408
 
411
409
  &[data-state~='pressed'] {
412
- background-color: hsla(10.52, 67.54%, 55.29%, 0.18);
413
- color: ${f.color_fill_danger_pressed};
410
+ background-color: hsl(10.52deg 67.54%, 55.29% / 18%);
411
+ color: ${u.color_fill_danger_pressed};
414
412
  }
415
413
 
416
414
  &:disabled {
417
- color: ${f.color_fill_danger_disabled};
415
+ color: ${u.color_fill_danger_disabled};
418
416
  }
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};
417
+ `,Ig=I(Fe)`
418
+ background: ${u.color_overlay_inverse_enabled};
419
+ border-color: ${u.color_outline_inverse_enabled};
420
+ color: ${u.color_fill_inverse_enabled};
423
421
 
424
422
  &:hover {
425
- background: ${f.color_overlay_inverse_hover};
426
- border-color: ${f.color_outline_inverse_hover};
427
- color: ${f.color_fill_inverse_hover};
423
+ background: ${u.color_overlay_inverse_hover};
424
+ border-color: ${u.color_outline_inverse_hover};
425
+ color: ${u.color_fill_inverse_hover};
428
426
  }
429
427
 
430
428
  &:focus {
431
- background: ${f.color_overlay_inverse_hover};
432
- border-color: ${f.color_outline_inverse_hover};
433
- color: ${f.color_fill_inverse_hover};
429
+ background: ${u.color_overlay_inverse_hover};
430
+ border-color: ${u.color_outline_inverse_hover};
431
+ color: ${u.color_fill_inverse_hover};
434
432
  /* TODO put in tokens Interactive / Focus / Outside */
435
433
  box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px black;
436
434
  }
437
435
 
438
436
  &[data-state~='pressed'] {
439
- background-color: ${f.color_overlay_inverse_pressed};
440
- color: ${f.color_outline_inverse_pressed};
437
+ background-color: ${u.color_overlay_inverse_pressed};
438
+ color: ${u.color_outline_inverse_pressed};
441
439
  }
442
440
 
443
441
  &:disabled {
444
442
  background-color: transparent;
445
- color: ${f.color_outline_inverse_disabled};
443
+ color: ${u.color_outline_inverse_disabled};
446
444
  }
447
- `,Dv={primary:Tv,danger:Ov,inverse:kv},Iv=A.default(Re)`
445
+ `,Ag={primary:kg,danger:Dg,inverse:Ig},Ng=I(Fe)`
448
446
  background: hsla(
449
447
  217.35,
450
448
  81.6%,
@@ -455,239 +453,250 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
455
453
  color: hsl(0, 0%, 7.845%);
456
454
 
457
455
  &:hover {
458
- background: ${f.color_overlay_secondary_hover};
459
- color: ${f.color_fill_primary_hover};
456
+ background: ${u.color_overlay_secondary_hover};
457
+ color: ${u.color_fill_primary_hover};
460
458
  }
461
459
 
462
460
  &[data-state~='pressed'] {
463
- background: ${f.color_overlay_secondary_pressed};
464
- color: ${f.color_fill_primary_pressed};
461
+ background: ${u.color_overlay_secondary_pressed};
462
+ color: ${u.color_fill_primary_pressed};
465
463
  }
466
464
 
467
465
  &:disabled {
468
- color: ${f.color_fill_primary_disabled};
466
+ color: ${u.color_fill_primary_disabled};
469
467
  }
470
- `,Av=A.default(Re)`
471
- color: ${f.color_fill_danger_enabled};
468
+ `,Mg=I(Fe)`
469
+ color: ${u.color_fill_danger_enabled};
472
470
  background-color: hsl(217.35, 81.6%, 50.98%);
473
471
 
474
472
  &:hover {
475
- color: ${f.color_fill_danger_hover};
476
- background: ${f.color_overlay_secondary_hover};
473
+ color: ${u.color_fill_danger_hover};
474
+ background: ${u.color_overlay_secondary_hover};
477
475
  }
478
476
 
479
477
  &:focus {
480
- border-color: ${f.color_outline_danger_enabled};
478
+ border-color: ${u.color_outline_danger_enabled};
481
479
  }
482
480
 
483
481
  &[data-state~='pressed'] {
484
- background-color: ${f.color_overlay_secondary_pressed};
485
- color: ${f.color_fill_danger_pressed};
482
+ background-color: ${u.color_overlay_secondary_pressed};
483
+ color: ${u.color_fill_danger_pressed};
486
484
  border-color: transparent;
487
485
  }
488
486
 
489
487
  &:disabled {
490
- color: ${f.color_fill_danger_disabled};
488
+ color: ${u.color_fill_danger_disabled};
491
489
  }
492
- `,Nv=A.default(Re)`
493
- background: ${f.color_overlay_inverse_enabled};
490
+ `,Lg=I(Fe)`
491
+ background: ${u.color_overlay_inverse_enabled};
494
492
  border-color: transparent;
495
- color: ${f.color_fill_inverse_enabled};
493
+ color: ${u.color_fill_inverse_enabled};
496
494
 
497
495
  &:hover {
498
- background: ${f.color_overlay_inverse_hover};
499
- color: ${f.color_fill_inverse_hover};
496
+ background: ${u.color_overlay_inverse_hover};
497
+ color: ${u.color_fill_inverse_hover};
500
498
  }
501
499
 
502
500
  &:focus {
503
- background: ${f.color_overlay_inverse_hover};
501
+ background: ${u.color_overlay_inverse_hover};
504
502
  /* TODO put in tokens Interactive / Focus / Outside */
505
503
  box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px black;
506
504
  }
507
505
 
508
506
  &[data-state~='pressed'] {
509
- background-color: ${f.color_overlay_inverse_pressed};
510
- color: ${f.color_fill_inverse_pressed};
507
+ background-color: ${u.color_overlay_inverse_pressed};
508
+ color: ${u.color_fill_inverse_pressed};
511
509
  }
512
510
 
513
511
  &:disabled {
514
- background-color: ${f.color_fill_inverse_disabled};
515
- color: ${f.color_outline_inverse_disabled};
512
+ background-color: ${u.color_fill_inverse_disabled};
513
+ color: ${u.color_outline_inverse_disabled};
516
514
  }
517
- `,Mv={primary:Iv,danger:Av,inverse:Nv},Lv=A.default(Re)`
518
- background: ${f.color_fill_primary_enabled};
519
- color: ${f.color_white};
515
+ `,Fg={primary:Ng,danger:Mg,inverse:Lg},Rg=I(Fe)`
516
+ background: ${u.color_fill_primary_enabled};
517
+ color: ${u.color_white};
520
518
 
521
519
  &:hover {
522
- background: ${f.color_fill_primary_hover};
523
- color: ${f.color_fill_inverse_hover};
520
+ background: ${u.color_fill_primary_hover};
521
+ color: ${u.color_fill_inverse_hover};
524
522
  }
525
523
 
526
524
  &[data-state~='pressed'] {
527
- background: ${f.color_fill_primary_pressed};
525
+ background: ${u.color_fill_primary_pressed};
528
526
  }
529
527
 
530
528
  &:disabled {
531
- background: ${f.color_fill_primary_disabled};
532
- color: ${f.color_fill_inverse_pressed};
529
+ background: ${u.color_fill_primary_disabled};
530
+ color: ${u.color_fill_inverse_pressed};
533
531
  }
534
- `,Fv=A.default(Re)`
535
- background: ${f.color_fill_secondary_enabled};
536
- color: ${f.color_fill_primary_enabled};
532
+ `,zg=I(Fe)`
533
+ background: ${u.color_fill_secondary_enabled};
534
+ color: ${u.color_fill_primary_enabled};
537
535
 
538
536
  &:hover {
539
- background: ${f.color_fill_secondary_hover};
540
- color: ${f.color_fill_primary_hover};
537
+ background: ${u.color_fill_secondary_hover};
538
+ color: ${u.color_fill_primary_hover};
541
539
  }
542
540
 
543
541
  &[data-state~='pressed'] {
544
- background: ${f.color_fill_secondary_pressed};
545
- color: ${f.color_fill_primary_enabled};
542
+ background: ${u.color_fill_secondary_pressed};
543
+ color: ${u.color_fill_primary_enabled};
546
544
  }
547
545
 
548
546
  &:disabled {
549
- background: ${f.color_fill_secondary_disabled};
547
+ background: ${u.color_fill_secondary_disabled};
550
548
  }
551
- `,Rv=A.default(Re)`
552
- background: ${f.color_fill_danger_enabled};
553
- color: ${f.color_white};
549
+ `,Vg=I(Fe)`
550
+ background: ${u.color_fill_danger_enabled};
551
+ color: ${u.color_white};
554
552
 
555
553
  &:hover {
556
- color: ${f.color_fill_inverse_hover};
557
- background: ${f.color_fill_danger_hover};
554
+ color: ${u.color_fill_inverse_hover};
555
+ background: ${u.color_fill_danger_hover};
558
556
  }
559
557
 
560
558
  &[data-state~='pressed'] {
561
- background-color: ${f.color_fill_danger_pressed};
562
- color: ${f.color_fill_inverse_pressed};
559
+ background-color: ${u.color_fill_danger_pressed};
560
+ color: ${u.color_fill_inverse_pressed};
563
561
  }
564
562
 
565
563
  &:disabled {
566
- background: ${f.color_fill_danger_disabled};
564
+ background: ${u.color_fill_danger_disabled};
567
565
  }
568
- `,zv=A.default(Re)`
569
- background: ${f.color_white};
566
+ `,jg=I(Fe)`
567
+ background: ${u.color_white};
570
568
 
571
569
  &:hover {
572
- background-color: ${f.color_fill_inverse_hover};
570
+ background-color: ${u.color_fill_inverse_hover};
573
571
  }
574
572
 
575
573
  &[data-state~='pressed'] {
576
- background-color: ${f.color_fill_inverse_pressed};
574
+ background-color: ${u.color_fill_inverse_pressed};
577
575
  }
578
576
 
579
577
  &:disabled {
580
- background: ${f.color_fill_inverse_disabled};
578
+ background: ${u.color_fill_inverse_disabled};
581
579
  }
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(ee.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(ee.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`
580
+ `,Bg={low:Fg,medium:Ag,high:{primary:Rg,secondary:zg,danger:Vg,inverse:jg}},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=Bg[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 Xl="Checkbox",[Wg,TE]=Pe(Xl),[Ug,Kg]=Wg(Xl),Hg=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(Ug,{scope:r,state:_,disabled:s},l.createElement(te.button,C({type:"button",role:"checkbox","aria-checked":vt(_)?"mixed":_,"aria-required":a,"data-state":Jl(_),"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(Yg,{control:p,bubbles:!g.current,name:n,value:c,checked:_,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),Gg="CheckboxIndicator",qg=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,i=Kg(Gg,r);return l.createElement(ke,{present:n||vt(i.state)||i.state===!0},l.createElement(te.span,C({"data-state":Jl(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),Yg=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 Jl(e){return vt(e)?"indeterminate":e?"checked":"unchecked"}const Xg=Hg,Jg=qg,So=l.createContext(!1);So.displayName="FieldsetContext";const Zl=I.fieldset`
583
581
  padding: 0;
584
582
  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};
583
+ `;function Zg({children:e,disabled:t,...r}){const o=tt()||Boolean(t);return k(So.Provider,{value:o,children:k(Zl,{disabled:t,...r,children:e})})}function tt(){return l.useContext(So)}function Qg(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 Ql(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:i}=Qg(e),a=ks([Boolean(t),Boolean(r),n]),s=ks([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}=Ql(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 ec(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function ev(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!ec())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=ec()?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`
584
+ font-family: ${u.font_family_sans};
587
585
  margin: 0;
588
586
  font-style: normal;
589
587
  display: var(--label-display);
590
- gap: ${f.sizing_200};
588
+ gap: ${u.sizing_200};
591
589
  align-items: center;
592
590
  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?
591
+ color: ${u.color_background_black_standard};
592
+
593
+ ${e=>e.srOnly&&`position: absolute;
594
+ width: 1px;
595
+ height: 1px;
596
+ padding: 0;
597
+ margin: -1px;
598
+ overflow: hidden;
599
+ clip: rect(0, 0, 0, 0);
600
+ white-space: nowrap;
601
+ border-width: 0;
602
+ `}
603
+ `,tv=I(Co)`
604
+ font-size: ${u.font_size_label_small};
605
+ letter-spacing: ${u.letter_spacing_label_small};
606
+ line-height: ${u.line_height_label_small};
607
+ `,rv=I(Co)`
608
+ font-size: ${u.font_size_label_large};
609
+ letter-spacing: ${u.letter_spacing_label_large};
610
+ line-height: ${u.line_height_label_large};
611
+ `,nv=I(Co)`
612
+ font-size: ${u.font_size_label_medium};
613
+ letter-spacing: ${u.letter_spacing_label_medium};
614
+ line-height: ${u.line_height_label_medium};
615
+ `,ov={small:tv,medium:nv,large:rv};function Xe({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...i}){const a=ov[r];return k(a,{...i,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const iv={small:"7px 8px",large:"11px 12px"},er=I.input`
616
+ padding: ${({paddingSize:e="small"})=>iv[e]}; // add default?
608
617
  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};
618
+ border: 1px solid ${u.color_outline_secondary_enabled};
619
+ border-radius: ${u.border_radius_400};
620
+ line-height: ${u.line_height_body_medium};
612
621
 
613
- transition-property: ${f.transition_property_color};
614
- transition-duration: ${f.transition_duration_100};
622
+ transition-property: ${u.transition_property_color};
623
+ transition-duration: ${u.transition_duration_100};
615
624
 
616
625
  resize: none; // TODO make this toggleable with a prop
617
- font-family: ${f.font_family_inter};
626
+ font-family: ${u.font_family_sans};
618
627
 
619
628
  &::placeholder {
620
629
  font-weight: 400;
621
630
  font-style: normal;
622
- color: ${f.color_text_weak};
623
- font-size: ${f.font_size_100};
631
+ color: ${u.color_text_weak};
632
+ font-size: ${u.font_size_100};
624
633
  }
625
634
 
626
635
  &:hover {
627
- background-color: ${f.color_overlay_secondary_hover};
628
- border-color: ${f.color_outline_secondary_hover};
636
+ background-color: ${u.color_overlay_secondary_hover};
637
+ border-color: ${u.color_outline_secondary_hover};
629
638
  }
630
639
 
631
- &[data-state="invalid"],
640
+ &[data-state~="invalid"],
632
641
  &:invalid {
633
- border-color: ${f.color_outline_danger_enabled};
642
+ border-color: ${u.color_outline_danger_enabled};
634
643
  }
635
644
 
636
645
  /* &:active too? */
637
646
  &:focus-visible {
638
- background-color: ${f.color_overlay_secondary_enabled};
639
- outline: 1px solid ${f.color_black};
640
- border-color: ${f.color_black};
647
+ background-color: ${u.color_overlay_secondary_enabled};
648
+ outline: 1px solid ${u.color_black};
649
+ border-color: ${u.color_black};
641
650
  }
642
651
 
643
652
  &:disabled {
644
- /* border-color: ${f.color_outline_secondary_disabled}; */
645
- color: ${f.color_fill_primary_disabled};
653
+ /* border-color: ${u.color_outline_secondary_disabled}; */
654
+ color: ${u.color_fill_primary_disabled};
646
655
  cursor: not-allowed;
647
656
  border-color: revert;
648
657
  }
649
658
 
650
659
  &:disabled::placeholder {
651
- color: ${f.color_fill_primary_disabled};
660
+ color: ${u.color_fill_primary_disabled};
652
661
  }
653
- `,Zr=A.default.div`
662
+ `,tr=I.div`
654
663
  display: flex;
655
664
  flex-direction: column;
656
665
  justify-content: space-between;
657
666
 
658
- gap: ${f.sizing_200};
667
+ gap: ${u.sizing_200};
659
668
  position: relative;
660
- font-family: ${f.font_family_inter};
669
+ font-family: ${u.font_family_sans};
661
670
  font-style: normal;
662
671
  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};
672
+ font-size: ${u.font_size_100};
673
+ line-height: ${u.line_height_129};
674
+ border-radius: ${u.border_radius_400};
675
+ letter-spacing: ${u.letter_spacing_tight};
667
676
 
668
677
  /* max-width: 300px; make configurable with prop? */
669
- `,Qr=A.default.div`
678
+ `,Xr=I.div`
670
679
  display: flex;
671
680
  align-items: center;
672
681
  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};
682
+ color: ${u.color_text_sentiment_negative};
683
+ font-size: ${u.font_size_50};
684
+ font-family: ${u.font_family_sans};
676
685
  /* max-height? with overflow-x? */
677
686
 
678
687
  & > svg {
679
- font-size: ${f.font_size_200};
688
+ font-size: ${u.font_size_200};
680
689
  line-height: 0;
681
690
  /* display: inline-flex;
682
691
  align-self: center; */
683
692
  }
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};
693
+ `,Jr=I.div`
694
+ color: ${u.color_text_weak};
695
+ font-size: ${u.font_size_50};
696
+ line-height: ${u.line_height_133};
697
+ font-family: ${u.font_family_sans};
689
698
  /* max-height? with overflow-x? */
690
- `;A.default.div`
699
+ `;I.div`
691
700
  position: absolute;
692
701
  right: 8px;
693
702
  top: 0;
@@ -695,67 +704,63 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
695
704
  display: flex;
696
705
  align-items: center;
697
706
  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)},[_]),I=l.useCallback(()=>{window.clearTimeout(h.current),_(!1)},[_]),L=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?L():g()},[c.isOpenDelayed,L,g]),onTriggerLeave:l.useCallback(()=>{v?I():window.clearTimeout(h.current)},[I,v]),onOpen:g,onClose:I,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(ee.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,I=_==="right"||_==="left"?{x:v.clientX+w,y:v.clientY}:{x:v.clientX,y:v.clientY+w},L=$g(m.getBoundingClientRect()),O=wg([I,...L]);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)`
707
+ `;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,OE]=Pe("Tooltip",[Fr]),Qr=Fr(),av="TooltipProvider",sv=700,Oo="tooltip.open",[lv,ko]=Zr(av),cv=e=>{const{__scopeTooltip:t,delayDuration:r=sv,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(lv,{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",[uv,rr]=Zr(Do),dv=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(uv,{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))},tc="TooltipTrigger",fv=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rr(tc,r),i=ko(tc,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)})))}),rc="TooltipPortal",[pv,hv]=Zr(rc,{forceMount:void 0}),mv=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,i=rr(rc,t);return l.createElement(pv,{scope:t,forceMount:r},l.createElement(ke,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},n)))},nr="TooltipContent",bv=l.forwardRef((e,t)=>{const r=hv(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(nc,C({side:o},i,{ref:t})):l.createElement(gv,C({side:o},i,{ref:t})))}),gv=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=xv($,_.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=wv(m.getBoundingClientRect()),T=Pv([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=!Ev($,a);y?b():E&&(b(),d())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[c,f,a,d,b]),l.createElement(nc,C({},e,{ref:i}))}),[vv,_v]=Zr(Do,{isInside:!1}),nc=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(vv,{scope:r,isInside:!0},l.createElement(Ga,{id:c.contentId,role:"tooltip"},o||n))))}),yv="TooltipArrow",$v=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Qr(r);return _v(yv,r).isInside?null:l.createElement(vs,C({},o,n,{ref:t}))});function xv(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 wv(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 Ev(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 Pv(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),Sv(t)}function Sv(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 Cv=cv,Tv=dv,Ov=fv,kv=mv,Dv=bv,Iv=$v,Av=I(Dv)`
708
+ padding: ${u.sizing_200} ${u.sizing_200};
709
+ background: ${u.color_background_black_standard};
710
+ color: ${u.color_text_white_standard};
711
+ border-radius: ${u.border_radius_400};
712
+ font-size: ${u.font_size_50};
713
+ line-height: ${u.line_height_133}; /* identical to box height 16px */
714
+ font-family: ${u.font_family_sans};
715
+ max-width: ${u.sizing_1000}; /* TODO ask designers? */
716
+ z-index: 100; /* TODO get from tokens */
717
+ `,Nv=I(Iv)`
710
718
  fill: 'white';
711
- `;function Ag({children:e,...t}){return T(Tg,{children:ce(Dg,{...t,children:[e,T(Ig,{})]})})}const Ng=A.default(Cg)`
719
+ `;function Mv({children:e,...t}){return k(kv,{children:le(Av,{...t,children:[e,k(Nv,{})]})})}const Lv=I(Ov)`
712
720
  appearance: none;
713
721
  padding: 0;
714
722
  border: none;
715
723
  background-color: unset;
716
724
  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};
725
+ `,Io=l.forwardRef((e,t)=>{const{children:r,...n}=e;return k(Lv,{ref:t,type:"button",...n,children:r})});Io.displayName="TooltipTrigger";const oc=Cv,ic=Tv,ac=Mv,Fv=I(Io)`
726
+ color: ${u.color_text_white_weak};
719
727
  margin-block: auto;
720
728
 
721
729
  & > svg {
722
730
  font-size: 0.9rem;
723
- /* ${f.font_size_200}; */
724
731
  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};
732
+ color: ${u.color_text_white_weak};
733
+ transition-property: ${u.transition_property_color};
734
+ transition-duration: ${u.transition_duration_100};
729
735
  }
730
736
 
731
737
  &:hover > svg {
732
- color: ${f.color_fill_primary_pressed};
738
+ color: ${u.color_fill_primary_pressed};
733
739
  }
734
740
 
735
741
  /* TODO check these colors with designers */
736
- &:not([data-state='closed']) > svg {
742
+ &:not([data-state~='closed']) > svg {
737
743
  color: steelblue;
738
- /* color: ${f.color_fill_primary_hover}; */
739
744
  }
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},I=()=>{w.current=!1};n=n===""?m.format("Empty"):(n||`${r}`).replace("-","\u2212"),l.useEffect(()=>{w.current&&Lg(n,"assertive")},[n]);const L=l.useCallback(S=>{$(),y.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r<i)&&L(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:Y}=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:I},incrementButtonProps:{onPressStart:()=>{L(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),Y()},onFocus:g,onBlur:I},decrementButtonProps:{onPressStart:()=>{O(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),Y()},onFocus:g,onBlur:I}}}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:I,...L}=e,{increment:O,incrementToMax:N,decrement:F,decrementToMin:Y,numberValue:S,commit:G}=t;const D=Fr(Vg(Kc));let P=ht(n),{focusProps:re}=io({onBlur:()=>{G()}}),{spinButtonProps:Z,incrementButtonProps:de,decrementButtonProps:me}=zg({isDisabled:a,isReadOnly:s,isRequired:c,maxValue:d,minValue:u,onIncrement:O,onIncrementToMax:N,onDecrement:F,onDecrementToMin:Y,value:S,textValue:t.inputValue}),[Q,E]=l.useState(!1),{focusWithinProps:M}=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||!Q},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:ve,descriptionProps:Ee,errorMessageProps:Ve}=Zv({...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:J,onChange:oe,onBlur:m,onFocus:y,onFocusChange:$,onKeyDown:_,onKeyUp:w,description:g,errorMessage:I},t,r),ke=we(Z,re,ve,{role:null,"aria-roledescription":Jn()?null:D.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(de,{"aria-label":i||D.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(me,{"aria-label":o||D.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,...M},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(Q=>isNaN(Q)||Q===null?"":$.format(Q),[$]),g=isNaN(n)?1:n;_.style==="percent"&&isNaN(n)&&(g=.01);let I=l.useRef(p),L=l.useRef(c),O=l.useRef(o);(!Object.is(p,I.current)||c!==L.current||o!==O.current)&&(v(w(p)),I.current=p,L.current=c,O.current=o);let N=l.useMemo(()=>m.parse(h),[m,h]),F=l.useRef(0);F.current=N;let Y=()=>{if(!h.length){b(NaN),v(i===void 0?"":w(p));return}if(isNaN(F.current)){v(w(p));return}let Q;isNaN(n)?Q=Z0(F.current,t,r):Q=pt(F.current,t,r,n),Q=m.parse(w(Q)),b(Q),v(w(i===void 0?Q:p))},S=(Q,E)=>{let M=F.current;if(isNaN(M)){let B=isNaN(E)?0:E;return pt(B,t,r,g)}else{let B=pt(M,t,r,g);return Q==="+"&&B>M||Q==="-"&&B<M?B:pt(Lo(Q,M,g),t,r,g)}},G=()=>{let Q=S("+",t);Q===p&&v(w(Q)),b(Q)},D=()=>{let Q=S("-",r);Q===p&&v(w(Q)),b(Q)},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]),de=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:Q=>m.isValidPartialNumber(Q,t,r),increment:G,incrementToMax:P,decrement:D,decrementToMin:re,canIncrement:Z,canDecrement:de,minValue:t,maxValue:r,numberValue:N,setInputValue:v,inputValue:h,commit:Y}}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};
745
+ `;function en({children:e,icon:t=k($e.Help,{}),label:r="More info"}){return k(oc,{children:le(ic,{children:[k(Fv,{children:k(qt,{label:r,children:t})}),k(ac,{sideOffset:5,children:e})]})})}const sc=7e3;let Ao=null;function Rv(e,t="assertive",r=sc){Ao||(Ao=new zv),Ao.announce(e,t,r)}class zv{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=sc){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 Vv(e){return e&&e.__esModule?e.default:e}var lc={},cc={};cc={Empty:"فارغ"};var uc={};uc={Empty:"Изпразни"};var dc={};dc={Empty:"Prázdné"};var fc={};fc={Empty:"Tom"};var pc={};pc={Empty:"Leer"};var hc={};hc={Empty:"Άδειο"};var mc={};mc={Empty:"Empty"};var bc={};bc={Empty:"Vacío"};var gc={};gc={Empty:"Tühjenda"};var vc={};vc={Empty:"Tyhjä"};var _c={};_c={Empty:"Vide"};var yc={};yc={Empty:"ריק"};var $c={};$c={Empty:"Prazno"};var xc={};xc={Empty:"Üres"};var wc={};wc={Empty:"Vuoto"};var Ec={};Ec={Empty:"空"};var Pc={};Pc={Empty:"비어 있음"};var Sc={};Sc={Empty:"Tuščias"};var Cc={};Cc={Empty:"Tukšs"};var Tc={};Tc={Empty:"Tom"};var Oc={};Oc={Empty:"Leeg"};var kc={};kc={Empty:"Pusty"};var Dc={};Dc={Empty:"Vazio"};var Ic={};Ic={Empty:"Vazio"};var Ac={};Ac={Empty:"Gol"};var Nc={};Nc={Empty:"Не заполнено"};var Mc={};Mc={Empty:"Prázdne"};var Lc={};Lc={Empty:"Prazen"};var Fc={};Fc={Empty:"Prazno"};var Rc={};Rc={Empty:"Tomt"};var zc={};zc={Empty:"Boş"};var Vc={};Vc={Empty:"Пусто"};var jc={};jc={Empty:"空"};var Bc={};Bc={Empty:"空白"},lc={"ar-AE":cc,"bg-BG":uc,"cs-CZ":dc,"da-DK":fc,"de-DE":pc,"el-GR":hc,"en-US":mc,"es-ES":bc,"et-EE":gc,"fi-FI":vc,"fr-FR":_c,"he-IL":yc,"hr-HR":$c,"hu-HU":xc,"it-IT":wc,"ja-JP":Ec,"ko-KR":Pc,"lt-LT":Sc,"lv-LV":Cc,"nb-NO":Tc,"nl-NL":Oc,"pl-PL":kc,"pt-BR":Dc,"pt-PT":Ic,"ro-RO":Ac,"ru-RU":Nc,"sk-SK":Mc,"sl-SI":Lc,"sr-SP":Fc,"sv-SE":Rc,"tr-TR":zc,"uk-UA":Vc,"zh-CN":jc,"zh-TW":Bc};function jv(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(Vv(lc)),_=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&&Rv(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}=Ns();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 Bv(e){return e&&e.__esModule?e.default:e}var Wc={},Uc={};Uc={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Kc={};Kc={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Hc={};Hc={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Gc={};Gc={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var qc={};qc={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Yc={};Yc={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var Xc={};Xc={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Jc={};Jc={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Zc={};Zc={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Qc={};Qc={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var eu={};eu={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var tu={};tu={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var ru={};ru={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var nu={};nu={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var ou={};ou={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var iu={};iu={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var au={};au={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var su={};su={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var lu={};lu={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var cu={};cu={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var uu={};uu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var du={};du={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var fu={};fu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var pu={};pu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var hu={};hu={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var mu={};mu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var bu={};bu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var gu={};gu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var vu={};vu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var _u={};_u={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var yu={};yu={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var $u={};$u={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var xu={};xu={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var wu={};wu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},Wc={"ar-AE":Uc,"bg-BG":Kc,"cs-CZ":Hc,"da-DK":Gc,"de-DE":qc,"el-GR":Yc,"en-US":Xc,"es-ES":Jc,"et-EE":Zc,"fi-FI":Qc,"fr-FR":eu,"he-IL":tu,"hr-HR":ru,"hu-HU":nu,"it-IT":ou,"ja-JP":iu,"ko-KR":au,"lt-LT":su,"lv-LV":lu,"nb-NO":cu,"nl-NL":uu,"pl-PL":du,"pt-BR":fu,"pt-PT":pu,"ro-RO":hu,"ru-RU":mu,"sk-SK":bu,"sl-SI":gu,"sr-SP":vu,"sv-SE":_u,"tr-TR":yu,"uk-UA":$u,"zh-CN":xu,"zh-TW":wu};function Wv(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(Bv(Wc));let P=mt(n),{focusProps:ee}=co({onBlur:()=>{q()}}),{spinButtonProps:Q,incrementButtonProps:de,decrementButtonProps:fe}=jv({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}=qs({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";Fs()?X?Z="text":Y&&(Z="decimal"):Rs()&&(X?Z="numeric":Y&&(Z="decimal"));let oe=Ce=>{t.setInputValue(Ce)},ne=Zt(e),{labelProps:ge,inputProps:be,descriptionProps:we,errorMessageProps:ze}=ev({...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 Uv(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]=Ss(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 Eu(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 Kv=I.div`
746
+ --border-color: ${u.color_outline_secondary_enabled};
742
747
  display: inline-grid;
743
748
  grid-template:
744
749
  'field increment'
745
750
  'field decrement'/1fr auto;
746
- border-radius: ${f.border_radius_400};
751
+ border-radius: ${u.border_radius_400};
747
752
 
748
753
  &:hover {
749
- --border-color: ${f.color_outline_secondary_hover};
750
- background-color: ${f.color_overlay_secondary_hover};
754
+ --border-color: ${u.color_outline_secondary_hover};
755
+ background-color: ${u.color_overlay_secondary_hover};
751
756
  }
752
757
 
753
758
  &:focus-within {
754
- background-color: ${f.color_overlay_secondary_enabled};
759
+ background-color: ${u.color_overlay_secondary_enabled};
755
760
  outline: 1px solid black;
756
- --border-color: ${f.color_black};
761
+ --border-color: ${u.color_black};
757
762
  }
758
- `,Ug=A.default(er)`
763
+ `,Hv=I(er)`
759
764
  border-top-right-radius: 0;
760
765
  border-color: var(--border-color);
761
766
  border-bottom-right-radius: 0;
@@ -764,10 +769,10 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
764
769
  grid-area: field;
765
770
  margin: 0;
766
771
  margin-right: -1px; // to make the borders overlap
767
- `,Cu=A.default(Su)`
772
+ `,Pu=I(Eu)`
768
773
  display: grid;
769
774
  place-items: center;
770
- color: ${f.color_text_weak};
775
+ color: ${u.color_text_weak};
771
776
  margin: 0;
772
777
  padding: 0;
773
778
  width: 20px;
@@ -779,26 +784,26 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
779
784
  border-left-width: 0px;
780
785
  border-left-color: transparent;
781
786
 
782
- background-color: white;
787
+ background-color: ${u.color_white}
783
788
 
784
- transition-property: ${f.transition_property_color};
785
- transition-duration: ${f.transition_duration_150};
786
- outline-width: 0; // hmmm
789
+ transition-property: ${u.transition_property_color};
790
+ transition-duration: ${u.transition_duration_150};
791
+ outline-width: 0;
787
792
 
788
793
  &:hover {
789
- background-color: ${f.color_overlay_secondary_hover};
790
- color: ${f.color_fill_primary_hover};
794
+ background-color: ${u.color_overlay_secondary_hover};
795
+ color: ${u.color_fill_primary_hover};
791
796
  }
792
797
 
793
- &[data-state='pressed'] {
794
- background: ${f.color_fill_secondary_pressed};
795
- color: ${f.color_fill_primary_enabled};
798
+ &[data-state~='pressed'] {
799
+ background: ${u.color_fill_secondary_pressed};
800
+ color: ${u.color_fill_primary_enabled};
796
801
  border-color: transparent;
797
802
  outline: none;
798
803
  }
799
804
 
800
805
  &:disabled {
801
- background-color: ${f.color_fill_secondary_disabled};
806
+ background-color: ${u.color_fill_secondary_disabled};
802
807
  cursor: not-allowed;
803
808
  color: revert;
804
809
  border-color: none;
@@ -808,62 +813,48 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
808
813
  line-height: 0;
809
814
  font-size: 1rem;
810
815
  }
811
- `,Kg=A.default(Cu)`
816
+ `,Gv=I(Pu)`
812
817
  border-radius: unset;
813
818
  border-top: 1px solid var(--border-color);
814
- border-top-right-radius: ${f.border_radius_400};
819
+ border-top-right-radius: ${u.border_radius_400};
815
820
  border-bottom-width: 0.5px;
816
821
  grid-area: increment;
817
822
  margin-bottom: -0.5px;
818
- `,Hg=A.default(Cu)`
823
+ `,qv=I(Pu)`
819
824
  border-radius: unset;
820
825
  border-bottom: 1px solid var(--border-color);
821
- border-bottom-right-radius: ${f.border_radius_400};
826
+ border-bottom-right-radius: ${u.border_radius_400};
822
827
  border-top-color: transparent;
823
828
  border-top-width: 0.5px;
824
829
  margin-top: -0.5px;
825
830
  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,locale:v="en-US",...m}=e,y=tt(),$=n||y,_=bt(t),w=Bg({...m,isDisabled:$,isReadOnly:o,isRequired:i,minValue:b,maxValue:h,placeholder:d,locale:v}),{labelProps:g,groupProps:I,inputProps:L,incrementButtonProps:O,decrementButtonProps:N,descriptionProps:F,errorMessageProps:Y}=jg({...m,isDisabled:$,isReadOnly:o,isRequired:i,minValue:b,maxValue:h,placeholder:d,label:s},w,_);let S=null;typeof s=="string"?S=T(rt,{...g,children:s}):l.isValidElement(s)&&(S=l.cloneElement(s,{...g}));const G=D=>{const{formatOptions:P}=e;if((P==null?void 0:P.style)==="unit"){const Z=w.inputValue.length,de=w.inputValue.split(/\s/);if(de.length>1){const me=D.target.selectionStart,Q=de[de.length-1].length,E=Z-Q;if(me>E){const M=E-1;D.target.setSelectionRange(M,M)}}}};return ce(Zr,{children:[S,p?ce(Wg,{...I,children:[T(Ug,{...L,paddingSize:a,ref:_,onClick:G,onFocus:G}),p?ce(Mn,{children:[T(Kg,{...O,children:T(xe.KeyboardArrowUp,{})}),T(Hg,{...N,children:T(xe.KeyboardArrowDown,{})})]}):null]}):T(er,{ref:_,...L,paddingSize:a}),c&&ce(Qr,{...Y,children:[T(xe.Error,{}),c]}),r&&T(en,{...F,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`
831
+ `;function Su(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=Uv({...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}=Wv({...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=Su(Q,y.inputValue),J=Su(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(Kv,{...v,children:[k(Hv,{...A,paddingSize:a,ref:$,onClick:S,onFocus:S}),k(Gv,{...L,children:k($e.KeyboardArrowUp,{})}),k(qv,{...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 Cu=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]})});Cu.displayName="TextAreaInput";const Lo=l.createContext({});Lo.displayName="FormControlContext";function tn(){return l.useContext(Lo)}function Yv({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}=Ql({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 Tu=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})});Tu.displayName="TextFormControl";const Ou=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...i}=e;return k(Cu,{ref:t,label:le(Xe,{children:[r,n?k(en,{icon:o,children:n}):null]}),...i})});Ou.displayName="TextAreaFormControl";const ku=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})});ku.displayName="NumberFormControl";function Du(e){const t=tt(),r=e??t;return{...tn(),disabled:r}}const Xv=()=>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"})}),Jv=()=>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
832
  display: grid;
828
833
  place-items: center;
829
834
  width: 16px;
830
835
  height: 16px;
831
- border-radius: ${f.border_radius_400};
836
+ border-radius: ${u.border_radius_400};
832
837
  border: 1px solid currentColor;
833
838
  background: var(--background-color);
834
839
  overflow: hidden;
835
840
 
836
841
  & > svg {
837
- fill: white;
842
+ fill: ${u.color_white};
838
843
  width: 100%;
839
844
  height: 100%;
840
845
  }
841
- `,Xg=A.default(qv)`
846
+ `,Zv=I(Xg)`
842
847
  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};
848
+ background-color: ${u.color_white};
849
+ width: ${u.sizing_600};
850
+ height: ${u.sizing_600};
851
+ border-radius: ${u.border_radius_circle};
847
852
  display: grid;
848
853
  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
854
 
861
855
  &:hover {
862
- background-color: hsla(
863
- 0deg,
864
- 0%,
865
- 0%,
866
- 3%
856
+ background-color: hsl(
857
+ 0deg 0% 0% / 3%
867
858
  ); /* Interactive / Overlay / Secondary / Hover */
868
859
  }
869
860
 
@@ -872,70 +863,68 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
872
863
  }
873
864
 
874
865
  &:invalid {
875
- color: ${f.color_fill_danger_enabled};
866
+ color: ${u.color_fill_danger_enabled};
876
867
  }
877
868
 
878
- &[data-state='checked'],
879
- &[data-state='indeterminate'] {
880
- --background-color: ${f.color_fill_primary_enabled};
881
- color: ${f.color_fill_primary_enabled};
869
+ &[data-state~='checked'],
870
+ &[data-state~='indeterminate'] {
871
+ --background-color: ${u.color_fill_primary_enabled};
872
+ color: ${u.color_fill_primary_enabled};
882
873
  }
883
874
 
884
875
  &[data-disabled] {
885
- color: ${f.color_fill_primary_disabled};
876
+ color: ${u.color_fill_primary_disabled};
886
877
  cursor: not-allowed;
887
878
  }
888
879
 
889
880
  &[aria-invalid='true'] {
890
- --background-color: ${f.color_fill_danger_enabled};
891
- color: ${f.color_fill_danger_enabled};
881
+ --background-color: ${u.color_fill_danger_enabled};
882
+ color: ${u.color_fill_danger_enabled};
892
883
  }
893
- `,Jg=A.default(Yv)`
884
+ `,Qv=I(Jg)`
894
885
  line-height: 0;
895
886
 
896
887
  & > svg {
897
888
  line-height: 0;
898
889
  }
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
890
+ `;function e_({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const i=Du(e);return le(Zv,{onCheckedChange:n,...o,...i,checked:t,"aria-invalid":r,children:[!t&&k(Fo,{}),le(Qv,{children:[t===!0&&k(Fo,{children:k(Xv,{})}),t==="indeterminate"&&k(Fo,{children:k(Jv,{})})]})]})}const Ro=I.h1`
891
+ font-family: ${u.font_family_inter_display};
892
+ font-weight: 500;
902
893
  font-style: normal;
903
894
  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`
895
+ `,t_=I(Ro)`
896
+ letter-spacing: ${u.letter_spacing_heading_large};
897
+ font-size: ${u.font_size_heading_large};
898
+ `,r_=I(Ro)`
899
+ letter-spacing: ${u.letter_spacing_heading_medium};
900
+ font-size: ${u.font_size_heading_medium};
901
+ `,n_={small:I(Ro)`
902
+ letter-spacing: ${u.letter_spacing_heading_small};
903
+ font-size: ${u.font_size_heading_small};
904
+ `,medium:r_,large:t_},Iu=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...i}=e,a=n_[o];return k(a,{...i,ref:t,as:n,children:r})});Iu.displayName="Heading";const zo={small:"32px",large:"40px"},Au={circle:u.border_radius_circle,square:u.border_radius_400},rn=I.button`
914
905
  all: unset;
915
906
  appearance: none;
916
907
  display: grid;
908
+ line-height: 1;
917
909
  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);
910
+ border-radius: var(--icon-button-border-radius, ${Au.square});
911
+ height: var(--icon-button-size, ${zo.small});
912
+ width: var(--icon-button-size, ${zo.small});
921
913
  touch-action: none;
922
914
  cursor: pointer;
923
915
  white-space: nowrap;
924
916
  -webkit-tap-highlight-color: transparent;
925
917
 
926
- transition-property: ${f.transition_property_color};
927
- transition-duration: ${f.transition_duration_150};
918
+ transition-property: ${u.transition_property_color};
919
+ transition-duration: ${u.transition_duration_150};
928
920
 
929
- // Not sure about focus-visible
930
921
  /* &:focus-visible {
931
922
  outline: none;
932
923
  } */
933
924
 
934
925
  &[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
926
+ outline: ${u.color_black}solid 1px;
927
+ outline-offset: 2px;
939
928
  }
940
929
 
941
930
  &:disabled {
@@ -944,78 +933,78 @@ Check the top-level render call using <`+W+">.")}return z}}function Ut(x,z){{if(
944
933
 
945
934
  & > svg {
946
935
  line-height: 0;
947
- font-size: ${f.font_size_200};
936
+ font-size: ${u.font_size_200};
948
937
  }
949
- `,oy=A.default(an)`
950
- background: ${f.color_fill_primary_enabled};
951
- color: ${f.color_white};
938
+ `,o_=I(rn)`
939
+ background: ${u.color_fill_primary_enabled};
940
+ color: ${u.color_white};
952
941
 
953
942
  &:hover {
954
- background: ${f.color_fill_primary_hover};
955
- color: ${f.color_fill_inverse_hover};
943
+ background: ${u.color_fill_primary_hover};
944
+ color: ${u.color_fill_inverse_hover};
956
945
  }
957
946
 
958
947
  &[data-state~='pressed'] {
959
- background: ${f.color_fill_primary_pressed};
948
+ background: ${u.color_fill_primary_pressed};
960
949
  }
961
950
 
962
951
  &:disabled {
963
- background: ${f.color_fill_primary_disabled};
964
- color: ${f.color_fill_inverse_pressed};
952
+ background: ${u.color_fill_primary_disabled};
953
+ color: ${u.color_fill_inverse_pressed};
965
954
  }
966
- `,iy=A.default(an)`
967
- background: ${f.color_fill_secondary_enabled};
968
- color: ${f.color_fill_primary_enabled};
955
+ `,i_=I(rn)`
956
+ background: ${u.color_fill_secondary_enabled};
957
+ color: ${u.color_fill_primary_enabled};
969
958
 
970
959
  &:hover {
971
- background: ${f.color_fill_secondary_hover};
972
- color: ${f.color_fill_primary_hover};
960
+ background: ${u.color_fill_secondary_hover};
961
+ color: ${u.color_fill_primary_hover};
973
962
  }
974
963
 
975
964
  &[data-state~='pressed'] {
976
- background: ${f.color_fill_secondary_pressed};
977
- color: ${f.color_fill_primary_enabled};
965
+ background: ${u.color_fill_secondary_pressed};
966
+ color: ${u.color_fill_primary_enabled};
978
967
  }
979
968
 
980
969
  &:disabled {
981
- background: ${f.color_fill_secondary_disabled};
970
+ background: ${u.color_fill_secondary_disabled};
982
971
  }
983
- `,ay=A.default(an)`
984
- background: ${f.color_fill_danger_enabled};
985
- color: ${f.color_white};
972
+ `,a_=I(rn)`
973
+ background: ${u.color_fill_danger_enabled};
974
+ color: ${u.color_white};
986
975
 
987
976
  &:hover {
988
- color: ${f.color_fill_inverse_hover};
989
- background: ${f.color_fill_danger_hover};
977
+ color: ${u.color_fill_inverse_hover};
978
+ background: ${u.color_fill_danger_hover};
990
979
  }
991
980
 
992
981
  &[data-state~='pressed'] {
993
- background-color: ${f.color_fill_danger_pressed};
994
- color: ${f.color_fill_inverse_pressed};
982
+ background-color: ${u.color_fill_danger_pressed};
983
+ color: ${u.color_fill_inverse_pressed};
995
984
  }
996
985
 
997
986
  &:disabled {
998
- background: ${f.color_fill_danger_disabled};
987
+ background: ${u.color_fill_danger_disabled};
999
988
  }
1000
- `,sy=A.default(an)`
1001
- background: ${f.color_white};
989
+ `,s_=I(rn)`
990
+ background: ${u.color_white};
1002
991
 
1003
992
  &:hover {
1004
- background-color: ${f.color_fill_inverse_hover};
993
+ background-color: ${u.color_fill_inverse_hover};
1005
994
  }
1006
995
 
1007
996
  &[data-state~='pressed'] {
1008
- background-color: ${f.color_fill_inverse_pressed};
997
+ background-color: ${u.color_fill_inverse_pressed};
1009
998
  }
1010
999
 
1011
1000
  &:disabled {
1012
- background: ${f.color_fill_inverse_disabled};
1001
+ background: ${u.color_fill_inverse_disabled};
1013
1002
  }
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],I=ry[o];return T(w,{ref:r,"data-state":_,shape:a,size:o,...b,...m,style:{"--icon-button-size":I,"--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(ee.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:
1003
+ `,l_={primary:o_,secondary:i_,danger:a_,inverse:s_},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: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=l_[i],v=Au[a],A=zo[o];return k(E,{ref:r,"data-state":y,...b,...m,style:{"--icon-button-size":A,"--icon-button-border-radius":v},children:k(qt,{label:n,children:f})})});Nu.displayName="Button";const Vo="horizontal",c_=["horizontal","vertical"],Mu=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=Vo,...o}=e,i=Lu(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}))});Mu.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!Lu(n)?new Error(u_(o,r)):null}};function u_(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
1015
1004
  - horizontal
1016
1005
  - vertical
1017
1006
 
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,I)=>$.indexOf(g.ref.current)-$.indexOf(I.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 L=new CustomEvent(Uo);$.dispatchEvent(L),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const L=new CustomEvent(Ko);$.dispatchEvent(L),a.isClosePausedRef.current=!1}},g=L=>{!y.contains(L.relatedTarget)&&w()},I=()=>{y.contains(document.activeElement)||w()};return y.addEventListener("focusin",_),y.addEventListener("focusout",g),y.addEventListener("pointermove",_),y.addEventListener("pointerleave",I),window.addEventListener("blur",_),window.addEventListener("focus",w),()=>{y.removeEventListener("focusin",_),y.removeEventListener("focusout",g),y.removeEventListener("pointermove",_),y.removeEventListener("pointerleave",I),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,I=[g,...Iy(g)];return y==="forwards"?I:I.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 I;(I=u.current)===null||I===void 0||I.focus();return}const G=m({tabbingDirection:F?"backwards":"forwards"}),D=G.findIndex(P=>P===N);if(Ho(G.slice(D+1)))_.preventDefault();else{var L,O;F?(L=u.current)===null||L===void 0||L.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(ee.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),I=o||m.duration,L=l.useRef(0),O=l.useRef(I),N=l.useRef(0),{onToastAdd:F,onToastRemove:Y}=m,S=Ce(()=>{var P;(y==null?void 0:y.contains(document.activeElement))&&((P=m.viewport)===null||P===void 0||P.focus()),a()}),G=l.useCallback(P=>{!P||P===1/0||(window.clearTimeout(N.current),L.current=new Date().getTime(),N.current=window.setTimeout(S,P))},[S]);l.useEffect(()=>{const P=m.viewport;if(P){const re=()=>{G(O.current),u==null||u()},Z=()=>{const de=new Date().getTime()-L.current;O.current=O.current-de,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,I,c,u,G]),l.useEffect(()=>{i&&!m.isClosePausedRef.current&&G(I)},[i,I,m.isClosePausedRef,G]),l.useEffect(()=>(F(),()=>Y()),[F,Y]);const D=l.useMemo(()=>y?Ku(y):null,[y]);return m.viewport?l.createElement(l.Fragment,null,D&&l.createElement(Sy,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},D),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(ee.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,de=Boolean(g.current),me=["left","right"].includes(m.swipeDirection),Q=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,E=me?Q(0,re):0,M=me?0:Q(0,Z),B=P.pointerType==="touch"?10:2,j={x:E,y:M},V={originalEvent:P,delta:j};de?(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 de=P.currentTarget,me={originalEvent:P,delta:re};Hu(re,m.swipeDirection,m.swipeThreshold)?cn(xy,h,me,{discrete:!0}):cn($y,b,me,{discrete:!0}),de.addEventListener("click",Q=>Q.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(ee.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(ee.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(ee.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`
1007
+ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;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 Fu="ToastProvider",[Bo,f_,p_]=jo("Toast"),[Ru,DE]=Pe("Toast",[p_]),[h_,nn]=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),[d,f]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(Bo.Provider,{scope:t},l.createElement(h_,{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))};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 m_="ToastViewport",b_=["F8"],Wo="toast.viewportPause",Uo="toast.viewportResume",g_=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=b_,label:o="Notifications ({hotkey})",...i}=e,a=nn(m_,r),s=f_(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,...I_(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(th,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:g?void 0:"none"}},g&&l.createElement(Vu,{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(Vu,{ref:f,onFocusFromOutsideViewport:()=>{const _=m({tabbingDirection:"backwards"});Ko(_)}}))}),v_="ToastFocusProxy",Vu=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,i=nn(v_,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",__="toast.swipeStart",y_="toast.swipeMove",$_="toast.swipeCancel",x_="toast.swipeEnd",w_=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(ju,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)})})))}),[E_,P_]=Ru(on,{onClose(){}}),ju=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(()=>_?Ku(_):null,[_]);return m.viewport?l.createElement(l.Fragment,null,D&&l.createElement(S_,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},D),l.createElement(E_,{scope:r,onClose:S},ut.createPortal(l.createElement(Bo.ItemSlot,{scope:r},l.createElement(eh,{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(y_,p,V,{discrete:!1})):Hu(j,m.swipeDirection,B)?(v.current=j,an(__,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};Hu(ee,m.swipeDirection,m.swipeThreshold)?an(x_,h,fe,{discrete:!0}):an($_,b,fe,{discrete:!0}),de.addEventListener("click",J=>J.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 \`${on}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const S_=e=>{const{__scopeToast:t,children:r,...n}=e,o=nn(on,t),[i,a]=l.useState(!1),[s,c]=l.useState(!1);return k_(()=>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)))},C_=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(te.div,C({},n,{ref:t}))}),T_="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 \`${T_}\``)}};const O_="ToastClose",Wu=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=P_(O_,r);return l.createElement(Uu,{asChild:!0},l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,o.onClose)})))}),Uu=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 Ku(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),D_(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 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 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 k_(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 D_(e){return e.nodeType===e.ELEMENT_NODE}function I_(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 A_=zu,N_=g_,M_=w_,L_=C_,F_=Bu,R_=Wu,Ho=25,z_=I.keyframes`
1019
1008
  0% {
1020
1009
  opacity: 1
1021
1010
  }
@@ -1023,30 +1012,32 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1023
1012
  100% {
1024
1013
  opacity: 0
1025
1014
  }
1026
- `,Vy=$t.keyframes`
1015
+ `,V_=I.keyframes`
1027
1016
  from {
1028
- transform: translateX(calc(100% + ${Go}px));
1017
+ transform: translateX(calc(100% + ${Ho}px));
1029
1018
  }
1030
1019
 
1031
1020
  to {
1032
1021
  transform: translateX(0);
1033
1022
  }
1034
- `,jy=$t.keyframes`
1023
+ `,j_=I.keyframes`
1035
1024
  from {
1036
1025
  transform: translateX(var(--radix-toast-swipe-end-x));
1037
1026
  }
1038
1027
  to {
1039
- transform: translateX(calc(100% + ${Go}px));
1028
+ transform: translateX(calc(100% + ${Ho}px));
1040
1029
  }
1041
- `,By=A.default(Fy)``,Gu=A.default(Ry)`
1030
+ `,B_=I(F_)`
1031
+ all: unset;
1032
+ `,Gu=I(R_)`
1042
1033
  all: unset;
1043
1034
  display: grid;
1044
- width: ${f.sizing_500};
1035
+ width: ${u.sizing_500};
1045
1036
  aspect-ratio: 1;
1046
1037
  margin-left: auto;
1047
1038
  place-items: center;
1048
- padding: ${f.sizing_100};
1049
- border-radius: ${f.border_radius_400};
1039
+ padding: ${u.sizing_100};
1040
+ border-radius: ${u.border_radius_400};
1050
1041
 
1051
1042
  &:hover {
1052
1043
  background-color: hsl(0deg 0% 0% / 5%);
@@ -1055,121 +1046,140 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1055
1046
  & > svg {
1056
1047
  font-size: 0.95rem;
1057
1048
  }
1058
- `,Wy=A.default(Ly)`
1059
- font-family: ${f.font_family_inter};
1049
+ `,W_=I(L_)`
1050
+ font-family: ${u.font_family_sans};
1060
1051
  font-style: normal;
1061
1052
  font-weight: 500;
1062
- font-size: ${f.font_size_100};
1063
- line-height: ${f.line_height_129};
1064
- letter-spacing: ${f.letter_spacing_tight};
1053
+ font-size: ${u.font_size_100};
1054
+ line-height: ${u.line_height_129};
1055
+ letter-spacing: ${u.letter_spacing_tight};
1065
1056
  display: flex;
1066
1057
  align-items: center;
1067
- `,qu=A.default(dy)`
1058
+ `,qu=I(d_)`
1068
1059
  background-color: var(--color-separator);
1069
1060
 
1070
1061
  &[data-orientation='horizontal'] {
1071
1062
  width: 1px;
1072
- height: ${f.sizing_600};
1073
- margin-left: ${f.sizing_500};
1074
- margin-right: ${f.sizing_200};
1063
+ height: ${u.sizing_600};
1064
+ margin-left: ${u.sizing_500};
1065
+ margin-right: ${u.sizing_200};
1075
1066
  }
1076
1067
 
1077
1068
  &[data-orientation='vertical'] {
1078
1069
  height: 100%;
1079
1070
  width: 1;
1080
1071
  }
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)`
1072
+ `,U_={info:u.color_background_white_standard,inverse:u.color_background_sentiment_neutral,negative:u.color_background_sentiment_negative},K_={info:u.color_text_standard,inverse:u.color_background_white_standard,negative:u.color_background_white_standard},H_={info:u.color_divider_weak,inverse:u.color_divider_inverse_weak,negative:u.color_divider_inverse_weak},G_=I(N_)`
1082
1073
  position: fixed;
1083
1074
  bottom: 0;
1084
1075
  right: 0;
1085
1076
  display: flex;
1086
1077
  flex-direction: column;
1087
- padding: ${Go}px;
1078
+ padding: ${Ho}px;
1088
1079
  gap: 10px;
1089
1080
  max-width: 100vw;
1090
1081
  margin: 0;
1091
1082
  list-style: none;
1092
1083
  z-index: 30;
1093
1084
  outline: none;
1094
- `,qy=A.default(My)`
1085
+ `,q_=I(M_)`
1095
1086
  display: flex;
1096
1087
  flex-direction: row;
1097
1088
  align-items: center;
1098
- padding: ${f.sizing_200};
1099
- padding-left: ${f.sizing_400};
1100
- gap: ${f.spacing_300};
1089
+ padding: ${u.sizing_200};
1090
+ padding-left: ${u.sizing_400};
1091
+ gap: ${u.spacing_300};
1101
1092
  background-color: var(--color-background-notification);
1102
1093
  color: var(--color-notification);
1103
- box-shadow: ${f.elevation_interactive_low};
1104
- border-radius: ${f.border_radius_400};
1094
+ box-shadow: ${u.elevation_interactive_low};
1095
+ border-radius: ${u.border_radius_400};
1105
1096
 
1106
1097
  & > svg {
1107
1098
  line-height: 0;
1108
1099
  }
1109
1100
 
1110
- &[data-state='open'] {
1111
- animation: ${Vy} 150ms cubic-bezier(0.16, 1, 0.3, 1);
1101
+ &[data-state~='open'] {
1102
+ animation: ${V_} 150ms cubic-bezier(0.16, 1, 0.3, 1);
1112
1103
  }
1113
1104
 
1114
- &[data-state='closed'] {
1115
- animation: ${zy} 100ms ease-in;
1105
+ &[data-state~='closed'] {
1106
+ animation: ${z_} 100ms ease-in;
1116
1107
  }
1117
1108
 
1118
1109
  &[data-swipe='move'] {
1119
1110
  transform: translateX(var(--radix-toast-swipe-move-x));
1120
1111
  }
1112
+
1121
1113
  &[data-swipe='cancel'] {
1122
1114
  transform: translateX(0);
1123
1115
  transition: transform 200ms ease-out;
1124
1116
  }
1117
+
1125
1118
  &[data-swipe='end'] {
1126
- animation: ${jy} 100ms ease-out;
1119
+ animation: ${j_} 100ms ease-out;
1127
1120
  }
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)`
1121
+ `;function Y_({children:e,...t}){return k(A_,{...t,children:e})}function X_({title:e,children:t,sentiment:r,onDismiss:n,...o}){const i=U_[r],a=K_[r],s=H_[r];return le(q_,{style:{"--color-background-notification":i,"--color-notification":a},...o,children:[r==="negative"?k($e.Warning,{height:18}):null,k(W_,{children:e}),k(qu,{style:{"--color-separator":s}}),t,k(Gu,{onClick:n,children:k(qt,{label:"Dismiss notification",children:k($e.Close,{width:18,height:18})})})]})}const Yu=I.div`
1122
+ display: grid;
1123
+ grid-template-columns: 1fr 1fr repeat(8, minmax(0, 150px)) 1fr 1fr;
1124
+ column-gap: ${u.sizing_600};
1125
+ background-color: white; /* until app styles are sorted app */
1126
+ `,Xu=I.div`
1127
+ grid-column: 3 / 11;
1128
+ padding-top: ${u.sizing_450};
1129
+ `;function J_({children:e}){return k(Yu,{children:k(Xu,{children:e})})}const Ju=I(Po)`
1129
1130
  display: grid;
1130
1131
  place-content: center;
1131
- border-radius: ${f.border_radius_400};
1132
- height: ${f.sizing_650};
1133
- width: ${f.sizing_650};
1132
+ border-radius: ${u.border_radius_400};
1133
+ height: ${u.sizing_650};
1134
+ width: ${u.sizing_650};
1135
+
1136
+ &:disabled {
1137
+ color: ${u.color_fill_secondary_disabled};
1138
+ background-color: unset;
1139
+ }
1134
1140
 
1135
1141
  & > svg {
1136
1142
  line-height: 0;
1137
- font-size: ${f.font_size_200};
1143
+ font-size: ${u.font_size_200};
1138
1144
  }
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)`
1145
+ `,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(Ju,{variant:"inverse",emphasis:"high",ref:t,...o,children:k(qt,{label:n,children:i})})});sn.displayName="PaginatorButton";const Z_=I(Ju)`
1140
1146
  &[aria-current='true'] {
1141
- background-color: ${f.color_overlay_secondary_selected_enabled};
1147
+ background-color: ${u.color_overlay_secondary_selected_enabled};
1142
1148
  }
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`
1149
+ `,ln=l.forwardRef((e,t)=>{const{children:r,...n}=e;return k(Z_,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});ln.displayName="PaginatorNumber";const Q_=I.nav`
1144
1150
  display: flex;
1145
1151
  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),[I,L]=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(()=>L(O=>O+1),[]),onFocusableItemRemove:l.useCallback(()=>L(O=>O-1),[])},l.createElement(ee.div,C({tabIndex:y||I===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 Y=w().filter(re=>re.focusable),S=Y.find(re=>re.active),G=Y.find(re=>re.id===v),P=[S,G,...Y].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(ee.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(ee.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(ee.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(ee.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_)`
1152
+ width: min-content;
1153
+ `;function ey({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(Q_,{"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 ty=l.createContext(void 0);function Go(e){const t=l.useContext(ty);return e||t||"ltr"}const qo="rovingFocusGroup.onEntryFocus",ry={bubbles:!1,cancelable:!0},Yo="RovingFocusGroup",[Xo,Zu,ny]=jo(Yo),[oy,Qu]=Pe(Yo,[ny]),[iy,ay]=oy(Yo),sy=l.forwardRef((e,t)=>l.createElement(Xo.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(Xo.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(ly,C({},e,{ref:t}))))),ly=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=Zu(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(iy,{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,ry);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);ed(P)}}v.current=!1}),onBlur:H(e.onBlur,()=>$(!1))})))}),cy="RovingFocusGroupItem",uy=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,...i}=e,a=Ue(),s=ay(cy,r),c=s.currentTabStopId===a,d=Zu(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=py(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?hy(m,_+1):m.slice(_+1)}setTimeout(()=>ed(m))}})})))}),dy={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function py(e,t,r){const n=fy(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return dy[n]}function ed(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function hy(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const my=sy,by=uy,td="Radio",[gy,rd]=Pe(td),[vy,_y]=gy(td),yy=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(vy,{scope:r,checked:o,disabled:a},l.createElement(te.button,C({type:"button",role:"radio","aria-checked":o,"data-state":nd(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(wy,{control:f,bubbles:!h.current,name:n,value:s,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))}),$y="RadioIndicator",xy=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,i=_y($y,r);return l.createElement(ke,{present:n||i.checked},l.createElement(te.span,C({"data-state":nd(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))}),wy=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 nd(e){return e?"checked":"unchecked"}const Ey=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],od="RadioGroup",[Py,IE]=Pe(od,[Qu,rd]),id=Qu(),ad=rd(),[Sy,Cy]=Py(od),Ty=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=id(r),g=Go(d),[m,_]=Ne({prop:i,defaultProp:o,onChange:p});return l.createElement(Sy,{scope:r,name:n,required:a,disabled:s,value:m,onValueChange:_},l.createElement(my,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}))))}),Oy="RadioGroupItem",ky=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,i=Cy(Oy,r),a=i.disabled||n,s=id(r),c=ad(r),d=l.useRef(null),f=se(t,d),p=i.value===o.value,b=l.useRef(!1);return l.useEffect(()=>{const h=m=>{Ey.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(by,C({asChild:!0},s,{focusable:!a,active:p}),l.createElement(yy,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())})})))}),Dy=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=ad(r);return l.createElement(xy,C({},o,n,{ref:t}))}),Iy=Ty,Ay=ky,Ny=Dy,sd=I(Ay)`
1147
1154
  all: unset;
1148
- --radio-width: ${f.sizing_600};
1149
- --inner-circle-color: ${f.color_white};
1155
+ --radio-width: ${u.sizing_600};
1156
+ --inner-circle-color: ${u.color_white};
1157
+
1150
1158
  display: grid;
1151
1159
  place-items: center;
1152
- color: ${f.color_outline_secondary_enabled};
1160
+ color: ${u.color_outline_secondary_enabled};
1153
1161
 
1154
- background-color: ${f.color_white};
1162
+ background-color: ${u.color_white};
1155
1163
  width: var(--radio-width);
1156
1164
  height: var(--radio-width);
1157
- border-radius: ${f.border_radius_circle};
1165
+ border-radius: ${u.border_radius_circle};
1158
1166
 
1159
- transition-property: ${f.transition_property_color};
1160
- transition-duration: ${f.transition_duration_100};
1167
+ transition-property: ${u.transition_property_color};
1168
+ transition-duration: ${u.transition_duration_100};
1161
1169
  position: relative;
1162
1170
 
1163
1171
  &: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};
1172
+ --inner-circle-color: ${u.color_overlay_secondary_hover};
1173
+
1174
+ background-color: ${u.color_overlay_secondary_hover};
1175
+ color: ${u.color_outline_secondary_hover};
1167
1176
  }
1168
1177
 
1169
1178
  &: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};
1179
+ --inner-circle-color: ${u.color_overlay_secondary_pressed};
1180
+
1181
+ background-color: ${u.color_overlay_secondary_pressed};
1182
+ color: ${u.color_outline_secondary_pressed};
1173
1183
  }
1174
1184
 
1175
1185
  &::after {
@@ -1178,9 +1188,9 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1178
1188
  display: block;
1179
1189
  width: calc(var(--radio-width) / 2);
1180
1190
  height: calc(var(--radio-width) / 2);
1181
- border-radius: ${f.border_radius_circle};
1191
+ border-radius: ${u.border_radius_circle};
1182
1192
  border: 1px solid;
1183
- box-sizing: border-box; // not sure
1193
+ box-sizing: border-box; /* not sure */
1184
1194
  }
1185
1195
 
1186
1196
  &:focus-visible::after {
@@ -1189,16 +1199,17 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1189
1199
  }
1190
1200
 
1191
1201
  &[data-disabled]::after {
1192
- border-color: ${f.color_fill_secondary_disabled};
1202
+ border-color: ${u.color_fill_secondary_disabled};
1193
1203
  }
1194
1204
 
1195
1205
  &[data-disabled],
1196
1206
  &:disabled {
1207
+ --inner-circle-color: ${u.color_fill_primary_disabled};
1208
+
1197
1209
  cursor: not-allowed;
1198
- --inner-circle-color: ${f.color_fill_primary_disabled};
1199
- color: ${f.color_fill_primary_disabled};
1210
+ color: ${u.color_fill_primary_disabled};
1200
1211
  }
1201
- `,N_=A.default(A_)`
1212
+ `,ld=I(Ny)`
1202
1213
  display: grid;
1203
1214
  place-items: center;
1204
1215
  width: 100%;
@@ -1211,12 +1222,12 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1211
1222
  display: block;
1212
1223
  width: 16px;
1213
1224
  height: 16px;
1214
- border-radius: ${f.border_radius_circle};
1215
- background-color: ${f.color_fill_primary_enabled};
1225
+ border-radius: ${u.border_radius_circle};
1226
+ background-color: ${u.color_fill_primary_enabled};
1216
1227
  }
1217
1228
 
1218
1229
  &[data-disabled]::before {
1219
- background-color: ${f.color_fill_secondary_disabled};
1230
+ background-color: ${u.color_fill_secondary_disabled};
1220
1231
  }
1221
1232
 
1222
1233
  /* Lighter inner circle */
@@ -1226,90 +1237,88 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1226
1237
  position: absolute;
1227
1238
  width: 5px;
1228
1239
  height: 5px;
1229
- border-radius: ${f.border_radius_circle};
1240
+ border-radius: ${u.border_radius_circle};
1230
1241
  background-color: var(--inner-circle-color);
1231
1242
  }
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),[I=!1,L]=Me({prop:n,defaultProp:o,onChange:i}),[O,N]=Me({prop:a,defaultProp:s,onChange:c}),F=l.useRef(null),Y=v?Boolean(v.closest("form")):!0,[S,G]=l.useState(new Set),D=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:I,onOpenChange:L,dir:g,triggerPointerDownPosRef:F,disabled:b},l.createElement(pn.Provider,{scope:t},l.createElement(B_,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(P=>{G(re=>new Set(re).add(P))},[]),onNativeOptionRemove:l.useCallback(P=>{G(re=>{const Z=new Set(re);return Z.delete(P),Z})},[])},r)),Y?l.createElement(dd,{key:D,"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(ee.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(ee.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(ee.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),I=l.useRef(!1),L=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[M,...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===M&&d&&(d.scrollTop=0),U===j&&d&&(d.scrollTop=d.scrollHeight),U==null||U.focus(),document.activeElement!==V))return},[$,d]),Y=l.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&c&&d&&h&&m){const E=i.trigger.getBoundingClientRect(),M=c.getBoundingClientRect(),B=i.valueNode.getBoundingClientRect(),j=m.getBoundingClientRect();if(i.dir!=="rtl"){const Je=j.left-M.left,Be=B.left-Je,We=E.left-Be,Ze=E.width+We,br=Math.max(Ze,M.width),mr=window.innerWidth-nt,vr=sd(Be,[nt,mr-br]);a.style.minWidth=Ze+"px",a.style.left=vr+"px"}else{const Je=M.right-j.right,Be=window.innerWidth-B.right-Je,We=window.innerWidth-E.right-Be,Ze=E.width+We,br=Math.max(Ze,M.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),ve=J+oe+q+ge+ne,Ee=Math.min(h.offsetHeight*5,ve),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=ve-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(()=>I.current=!0)}},[$,i.trigger,i.valueNode,a,c,d,h,m,i.dir]);$e(()=>Y(),[Y]);const S=l.useCallback(()=>F([h,c]),[F,h,c]);l.useEffect(()=>{_&&S()},[_,S]);const G=l.useCallback(E=>{E&&g.current===!0&&(Y(),S(),g.current=!1)},[Y,S]),{onOpenChange:D,triggerPointerDownPosRef:P}=i;l.useEffect(()=>{if(c){let E={x:0,y:0};const M=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)||D(!1),document.removeEventListener("pointermove",M),P.current=null};return P.current!==null&&(document.addEventListener("pointermove",M),document.addEventListener("pointerup",B,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",M),document.removeEventListener("pointerup",B,{capture:!0})}}},[c,D,P]),l.useEffect(()=>{const E=()=>D(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[D]);const[re,Z]=fd(E=>{const M=$().filter(V=>!V.disabled),B=M.find(V=>V.ref.current===document.activeElement),j=pd(M,E,B);j&&setTimeout(()=>j.ref.current.focus())}),de=l.useCallback((E,M,B)=>{const j=!L.current&&!B;(i.value!==void 0&&i.value===M||j)&&(v(E),j&&(L.current=!0))},[i.value]),me=l.useCallback(()=>c==null?void 0:c.focus(),[c]),Q=l.useCallback((E,M,B)=>{const j=!L.current&&!B;(i.value!==void 0&&i.value===M||j)&&y(E)},[i.value]);return l.createElement(ld,{scope:r,contentWrapper:a,content:c,viewport:d,onViewportChange:p,itemRefCallback:de,selectedItem:h,onItemLeave:me,itemTextRefCallback:Q,selectedItemText:m,onScrollButtonChange:G,isPositioned:_,shouldExpandOnScrollRef:I,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 M;(M=i.trigger)===null||M===void 0||M.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 M=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!M&&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(ee.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(ee.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(ee.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(ee.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(ee.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(ee.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(ee.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(ee.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_)`
1243
+ `;function My({children:e,disabled:t,loop:r,onValueChange:n,...o}){const i=tt(),a=t??i,s=tn();return k(Iy,{loop:r,onValueChange:n,...o,disabled:a,...s,children:e})}function Ly({disabled:e,...t}){const r=tt(),n=e??r,o=tn();return k(sd,{...t,...o,disabled:n,children:k(ld,{})})}function cd(e,[t,r]){return Math.min(r,Math.max(t,e))}const Fy=[" ","Enter","ArrowUp","ArrowDown"],Ry=[" ","Enter"],cn="Select",[un,Jo,zy]=jo(cn),[or,AE]=Pe(cn,[zy]),[Vy,Lt]=or(cn),[jy,By]=or(cn),Wy=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(Vy,{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(jy,{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(pd,{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)},Uy="SelectTrigger",Ky=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,i=Lt(Uy,r),a=i.disabled||n,s=se(t,i.onTriggerChange),c=Jo(r),[d,f,p]=hd(h=>{const g=c().filter($=>!$.disabled),m=g.find($=>$.value===i.value),_=md(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===" ")&&Fy.includes(h.key)&&(b(),h.preventDefault())})}))}),Hy="SelectValue",Gy=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:a,...s}=e,c=Lt(Hy,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)}),qy=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(te.span,C({"aria-hidden":!0},o,{ref:t}),n||"▼")}),Yy=e=>l.createElement(Gt,C({asChild:!0},e)),Zo="SelectContent",Xy=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(Jy,C({},e,{ref:t})):n?ut.createPortal(l.createElement(ud,{scope:e.__scopeSelect},l.createElement(un.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),rt=10,[ud,Ft]=or(Zo),Jy=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=cd(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=cd(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]=hd(w=>{const N=$().filter(V=>!V.disabled),B=N.find(V=>V.ref.current===document.activeElement),j=md(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(ud,{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()}})}))))))}),Zy="SelectViewport",Qy=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ft(Zy,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})}))))}),e$="SelectGroup",[t$,r$]=or(e$),n$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ue();return l.createElement(t$,{scope:r,id:o},l.createElement(te.div,C({role:"group","aria-labelledby":o},n,{ref:t})))}),o$="SelectLabel",i$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=r$(o$,r);return l.createElement(te.div,C({id:o.id},n,{ref:t}))}),Qo="SelectItem",[a$,dd]=or(Qo),s$=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(a$,{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===" "||(Ry.includes($.key)&&_(),$.key===" "&&$.preventDefault())})}))))}),dn="SelectItemText",l$=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...i}=e,a=Lt(dn,r),s=Ft(dn,r),c=dd(dn,r),d=By(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)}),c$="SelectItemIndicator",u$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return dd(c$,r).isSelected?l.createElement(te.span,C({"aria-hidden":!0},n,{ref:t})):null}),d$="SelectScrollUpButton",f$=l.forwardRef((e,t)=>{const r=Ft(d$,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(fd,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),p$="SelectScrollDownButton",h$=l.forwardRef((e,t)=>{const r=Ft(p$,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(fd,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),fd=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()})}))}),m$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(te.div,C({"aria-hidden":!0},n,{ref:t}))}),pd=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})))});pd.displayName="BubbleSelect";function hd(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 md(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=b$(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 b$(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const g$=Wy,v$=Gy,_$=Yy,y$=Xy,$$=Qy,x$=n$,w$=i$,E$=s$,P$=l$,S$=u$,C$=f$,T$=h$,O$=m$,bd=I(Ky)`
1233
1244
  all: unset;
1234
1245
  display: flex;
1235
1246
  align-items: center;
1236
1247
  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};
1248
+ font-size: ${u.font_size_100};
1249
+ font-family: ${u.font_family_sans};
1250
+ line-height: ${u.line_height_129};
1251
+ gap: ${u.sizing_200};
1252
+ color: ${u.color_text_white_weak};
1243
1253
 
1244
- background: ${f.color_overlay_secondary_enabled};
1245
- border: 1px solid ${f.color_outline_secondary_enabled};
1246
- border-radius: ${f.border_radius_400};
1254
+ background-color: ${u.color_overlay_secondary_enabled};
1255
+ border: 1px solid ${u.color_outline_secondary_enabled};
1256
+ border-radius: ${u.border_radius_400};
1247
1257
 
1248
1258
  &[data-placeholder] {
1249
- color: ${f.color_text_white_weak};
1259
+ color: ${u.color_text_white_weak};
1250
1260
  }
1251
1261
 
1252
1262
  &:hover {
1253
- background-color: ${f.color_overlay_secondary_hover};
1263
+ background-color: ${u.color_overlay_secondary_hover};
1254
1264
  }
1255
1265
 
1256
1266
  &:focus-visible {
1257
- color: ${f.color_black};
1267
+ color: ${u.color_black};
1258
1268
  }
1259
1269
 
1260
1270
  &:disabled {
1261
- background-color: ${f.color_overlay_secondary_hover};
1262
- color: ${f.color_fill_primary_disabled};
1271
+ background-color: ${u.color_overlay_secondary_hover};
1272
+ color: ${u.color_fill_primary_disabled};
1263
1273
  cursor: not-allowed;
1264
1274
  }
1265
- `,D$=A.default(Y_)`
1266
- color: ${f.color_fill_secondary_enabled};
1267
- `,I$=A.default($$)`
1268
- font-family: 'Inter', sans-serif;
1275
+ `,k$=I(qy)`
1276
+ color: ${u.color_fill_secondary_enabled};
1277
+ `,D$=I(y$)`
1278
+ font-family: ${u.font_family_sans};
1269
1279
  overflow: hidden;
1270
- background-color: white;
1280
+ background-color: ${u.color_white};
1271
1281
  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};
1282
+ border-radius: ${u.border_radius_400};
1283
+ box-shadow: ${u.elevation_static_high};
1284
+ `,I$=I($$)`
1285
+ padding: ${u.sizing_100};
1276
1286
  min-width: 172px;
1277
- `;function bd({children:e,...t}){return T(_$,{children:T(I$,{...t,children:e})})}const N$=A.default(P$)`
1287
+ `;function gd({children:e,...t}){return k(_$,{children:k(D$,{...t,children:e})})}const A$=I(E$)`
1278
1288
  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};
1289
+ font-size: ${u.font_size_100};
1290
+ line-height: ${u.line_height_129};
1291
+ letter-spacing: ${u.letter_spacing_tight};
1292
+ color: ${u.color_fill_primary_pressed};
1283
1293
  font-weight: 500;
1284
- border-radius: ${f.border_radius_400};
1294
+ border-radius: ${u.border_radius_400};
1285
1295
  display: flex;
1286
1296
  align-items: center;
1287
- justify-content: space-between; // make this configurable?
1297
+ justify-content: space-between; /* make this configurable? */
1288
1298
  /* height: 25px; */
1289
- padding: 7px ${f.sizing_200};
1299
+ padding: 7px ${u.sizing_200};
1290
1300
  position: relative;
1291
1301
  user-select: none;
1292
1302
 
1293
1303
  &[data-disabled] {
1294
- color: ${f.color_text_white_standard}; /* Static / Text / Inverse / Standard */
1304
+ color: ${u.color_text_white_standard}; /* Static / Text / Inverse / Standard */
1295
1305
  pointer-events: none;
1296
1306
  }
1297
1307
 
1298
1308
  &[data-highlighted] {
1299
- background-color: ${f.color_background_white_weak}; /* Static / Background / Weak */
1309
+ background-color: ${u.color_background_white_weak}; /* Static / Background / Weak */
1300
1310
  }
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};
1311
+ `,N$=I(w$)`
1312
+ padding: 7px ${u.sizing_200};
1313
+ font-size: ${u.font_size_50};
1314
+ line-height: ${u.line_height_133};
1315
+ color: ${u.color_text_weak};
1306
1316
  font-style: normal;
1307
- `,L$=A.default(k$)`
1317
+ `,M$=I(O$)`
1308
1318
  height: 1px;
1309
- background-color: ${f.color_divider_standard};
1310
- margin: ${f.spacing_100};
1311
- `,F$=A.default(C$)`
1312
- /* position: absolute; // why? */
1319
+ background-color: ${u.color_divider_standard};
1320
+ margin: ${u.spacing_100};
1321
+ `,L$=I(S$)`
1313
1322
  left: 0;
1314
1323
  width: 25px;
1315
1324
  display: inline-flex;
@@ -1318,48 +1327,48 @@ Defaulting to \`${jo}\`.`}function Lu(e){return cy.includes(e)}const dy=Mu;funct
1318
1327
 
1319
1328
  & > svg {
1320
1329
  line-height: 0;
1321
- font-size: ${f.font_size_200};
1330
+ font-size: ${u.font_size_200};
1322
1331
  }
1323
- `,md=`
1332
+ `,vd=`
1324
1333
  display: flex;
1325
1334
  align-items: center;
1326
1335
  justify-content: center;
1327
1336
  height: 25px;
1328
- background-color: white;
1329
- color: black;
1337
+ background-color: ${u.color_white};
1338
+ color: ${u.color_black};
1330
1339
  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:{}};/*
1340
+ `,F$=I(C$)`
1341
+ ${vd}
1342
+ `,R$=I(T$)`
1343
+ ${vd}
1344
+ `,_d=g$,yd=bd,$d=v$,xd=k$,z$=I$,V$=x$,wd=A$,Ed=P$,j$=L$,B$=N$,W$=M$,Pd=F$,Sd=R$;function U$({items:e,...t}){return le(_d,{...t,children:[le(yd,{"aria-label":"Food",children:[k($d,{placeholder:"Select"}),k(xd,{children:k($e.ArrowDropDown,{})})]}),le(gd,{children:[k(Pd,{children:k($e.ArrowDropUp,{})}),e.map(r=>k(wd,{value:r,children:k(Ed,{children:r})},r)),k(Sd,{children:k($e.ArrowDropDown,{})})]})]})}function K$(e){let[t,r]=Ss(Cd(e.value),Cd(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function Cd(e){if(e!=null)return e.toString()}function H$(e){return e&&e.__esModule?e.default:e}var Td={},Od={};Od={"Clear search":"مسح البحث"};var kd={};kd={"Clear search":"Изчистване на търсене"};var Dd={};Dd={"Clear search":"Vymazat hledání"};var Id={};Id={"Clear search":"Ryd søgning"};var Ad={};Ad={"Clear search":"Suche zurücksetzen"};var Nd={};Nd={"Clear search":"Απαλοιφή αναζήτησης"};var Md={};Md={"Clear search":"Clear search"};var Ld={};Ld={"Clear search":"Borrar búsqueda"};var Fd={};Fd={"Clear search":"Tühjenda otsing"};var Rd={};Rd={"Clear search":"Tyhjennä haku"};var zd={};zd={"Clear search":"Effacer la recherche"};var Vd={};Vd={"Clear search":"נקה חיפוש"};var jd={};jd={"Clear search":"Obriši pretragu"};var Bd={};Bd={"Clear search":"Keresés törlése"};var Wd={};Wd={"Clear search":"Cancella ricerca"};var Ud={};Ud={"Clear search":"検索をクリア"};var Kd={};Kd={"Clear search":"검색 지우기"};var Hd={};Hd={"Clear search":"Išvalyti iešką"};var Gd={};Gd={"Clear search":"Notīrīt meklēšanu"};var qd={};qd={"Clear search":"Tøm søk"};var Yd={};Yd={"Clear search":"Zoekactie wissen"};var Xd={};Xd={"Clear search":"Wyczyść zawartość wyszukiwania"};var Jd={};Jd={"Clear search":"Limpar pesquisa"};var Zd={};Zd={"Clear search":"Limpar pesquisa"};var Qd={};Qd={"Clear search":"Ştergeţi căutarea"};var ef={};ef={"Clear search":"Очистить поиск"};var tf={};tf={"Clear search":"Vymazať vyhľadávanie"};var rf={};rf={"Clear search":"Počisti iskanje"};var nf={};nf={"Clear search":"Obriši pretragu"};var of={};of={"Clear search":"Rensa sökning"};var af={};af={"Clear search":"Aramayı temizle"};var sf={};sf={"Clear search":"Очистити пошук"};var lf={};lf={"Clear search":"清除搜索"};var cf={};cf={"Clear search":"清除搜尋條件"},Td={"ar-AE":Od,"bg-BG":kd,"cs-CZ":Dd,"da-DK":Id,"de-DE":Ad,"el-GR":Nd,"en-US":Md,"es-ES":Ld,"et-EE":Fd,"fi-FI":Rd,"fr-FR":zd,"he-IL":Vd,"hr-HR":jd,"hu-HU":Bd,"it-IT":Wd,"ja-JP":Ud,"ko-KR":Kd,"lt-LT":Hd,"lv-LV":Gd,"nb-NO":qd,"nl-NL":Yd,"pl-PL":Xd,"pt-BR":Jd,"pt-PT":Zd,"ro-RO":Qd,"ru-RU":ef,"sk-SK":tf,"sl-SI":rf,"sr-SP":nf,"sv-SE":of,"tr-TR":af,"uk-UA":sf,"zh-CN":lf,"zh-TW":cf};function G$(e,t,r){let n=Gr(H$(Td)),{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:Ds(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={},q$={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})(q$);var pn={},Y$={get exports(){return pn},set exports(e){pn=e}},ti={},X$={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})(X$),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}(Y$);var ri={};function uf(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={},df={get exports(){return ce},set exports(e){ce=e}};/*
1336
1345
  object-assign
1337
1346
  (c) Sindre Sorhus
1338
1347
  @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 M=E&&(u&&E[u]||E[d]);if(typeof M=="function")return M}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:I(),instanceOf:L,node:Y(),objectOf:N,oneOf:O,oneOfType:F,shape:G,exact:D};function v(E,M){return E===M?E!==0||1/E===1/M:E!==E&&M!==M}function m(E,M){this.message=E,this.data=M&&typeof M=="object"?M:{},this.stack=""}m.prototype=Error.prototype;function y(E){if(process.env.NODE_ENV!=="production")var M={},B=0;function j(U,q,X,J,oe,ne,ge){if(J=J||b,ne=ne||X,ge!==r){if(c){var ve=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 ve.name="Invariant Violation",ve}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ee=J+":"+X;!M[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."),M[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 M(B,j,V,U,q,X){var J=B[j],oe=Z(J);if(oe!==E){var ne=de(J);return new m("Invalid "+U+" `"+q+"` of type "+("`"+ne+"` supplied to `"+V+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return y(M)}function _(){return y(a)}function w(E){function M(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(M)}function g(){function E(M,B,j,V,U){var q=M[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 I(){function E(M,B,j,V,U){var q=M[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 L(E){function M(B,j,V,U,q){if(!(B[j]instanceof E)){var X=E.name||b,J=Q(B[j]);return new m("Invalid "+U+" `"+q+"` of type "+("`"+J+"` supplied to `"+V+"`, expected ")+("instance of `"+X+"`."))}return null}return y(M)}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 M(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,ve){var Ee=de(ve);return Ee==="symbol"?String(ve):ve});return new m("Invalid "+U+" `"+q+"` of value `"+String(X)+"` "+("supplied to `"+V+"`, expected one of "+oe+"."))}return y(M)}function N(E){function M(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(M)}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 M=0;M<E.length;M++){var B=E[M];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+me(B)+" at index "+M+"."),a}function j(V,U,q,X,J){for(var oe=[],ne=0;ne<E.length;ne++){var ge=E[ne],ve=ge(V,U,q,X,J,r);if(ve==null)return null;ve.data&&n(ve.data,"expectedType")&&oe.push(ve.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 Y(){function E(M,B,j,V,U){return P(M[B])?null:new m("Invalid "+V+" `"+U+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return y(E)}function S(E,M,B,j,V){return new m((E||"React class")+": "+M+" type `"+B+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function G(E){function M(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,de(ne));var ge=ne(X,oe,V,U,q+"."+oe,r);if(ge)return ge}return null}return y(M)}function D(E){function M(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,de(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 ve=ge(X,ne,V,U,q+"."+ne,r);if(ve)return ve}return null}return y(M)}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 M=p(E);if(M){var B=M.call(E),j;if(M!==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,M){return E==="symbol"?!0:M?M["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&M instanceof Symbol:!1}function Z(E){var M=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":re(M,E)?"symbol":M}function de(E){if(typeof E>"u"||E===null)return""+E;var M=Z(E);if(M==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return M}function me(E){var M=de(E);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function Q(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=`
1348
+ */var oi,ff;function J$(){if(ff)return oi;ff=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,pf;function ai(){if(pf)return ii;pf=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ii=e,ii}var si,hf;function mf(){return hf||(hf=1,si=Function.call.bind(Object.prototype.hasOwnProperty)),si}var li,bf;function Z$(){if(bf)return li;bf=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ai(),r={},n=mf();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,gf;function Q$(){if(gf)return ci;gf=1;var e=$t,t=J$(),r=ai(),n=mf(),o=Z$(),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," ")+`
1349
+ 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,vf;function e1(){if(vf)return ui;vf=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 t1=$t,r1=!0;df.exports=Q$()(t1.isElement,r1)}else df.exports=e1()();function n1(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 _f(e){var t=n1(e,"string");return nt(t)==="symbol"?t:String(t)}function ir(e,t,r){return t=_f(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o1="exact-prop: ";function i1(e){return process.env.NODE_ENV==="production"?e:C({},e,ir({},o1,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 a1=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function s1(e){var t="".concat(e).match(a1),r=t&&t[1];return r||""}function yf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||s1(e)||t}function $f(e,t,r){var n=yf(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 yf(e,"Component");if(nt(e)==="object")switch(e.$$typeof){case $t.ForwardRef:return $f(e,e.render,"ForwardRef");case $t.Memo:return $f(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 l1(){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 xf(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=xf(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 c1=typeof Symbol=="function"&&Symbol.for;const u1=c1?Symbol.for("mui.nested"):"__THEME_NESTED__";var d1=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function f1(){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(d1.indexOf(f.key)!==-1)return"Mui-".concat(f.key);var h="".concat(s).concat(b,"-").concat(f.key);return!p.options.theme[u1]||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 p1(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 h1=process.env.NODE_ENV==="production";function Te(e,t){if(!h1){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var wf=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":wf(window))==="object"&&(typeof document>"u"?"undefined":wf(document))==="object"&&document.nodeType===9;function Ef(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,_f(n.key),n)}}function Pf(e,t,r){return t&&Ef(e.prototype,t),r&&Ef(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 Sf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fi(e,t)}function Cf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var m1={}.constructor;function pi(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(pi);if(e.constructor!==m1)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 Tf=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+=Tf(t[n]," ");else r=Tf(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function zt(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
1350
+ `,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 b1=/([[\].#*$><+~=|^:(),"'`\s])/g,Of=typeof CSS<"u"&&CSS.escape,mi=function(e){return Of?Of(e):e.replace(b1,"\\$1")},kf=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){Sf(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(Cf(Cf(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)},Pf(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}(kf),g1={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},v1=/@([\w-]+)/,_1=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var i=r.match(v1);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}(),y1=/@media|@supports\s+/,$1={onCreateRule:function(t,r,n){return y1.test(t)?new _1(t,r,n):null}},vi={indent:1,children:!0},x1=/@keyframes\s+([\w-]+)/,_i=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=r.match(x1);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}(),w1=/@keyframes\s+/,E1=/\$([\w-]+)/g,yi=function(t,r){return typeof t=="string"?t.replace(E1,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},Df=function(t,r,n){var o=t[r],i=yi(o,n);i!==o&&(t[r]=i)},P1={onCreateRule:function(t,r,n){return typeof t=="string"&&w1.test(t)?new _i(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Df(t,"animation-name",n.keyframes),"animation"in t&&Df(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}}},S1=function(e){Sf(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}(kf),C1={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new S1(t,r,n):null}},T1=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}(),O1=/@font-face/,k1={onCreateRule:function(t,r,n){return O1.test(t)?new T1(t,r,n):null}},D1=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}(),I1={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new D1(t,r,n):null}},A1=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+=`
1351
+ `);return o}return this.key+" "+this.value+";"},e}(),N1={"@charset":!0,"@import":!0,"@namespace":!0},M1={onCreateRule:function(t,r,n){return t in N1?new A1(t,r,n):null}},If=[g1,$1,P1,C1,k1,I1,M1],L1={process:!0},Af={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=L1);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,Af)}for(var h in d){var g=n.style[h],m=d[h];g==null&&g!==m&&n.prop(h,null,Af)}}},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}(),Nf=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}(),F1=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}(),R1=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=xf(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},Pf(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),ur=new R1,$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 Mf=$i[xi]++,z1=1e10,Lf=function(t){t===void 0&&(t={});var r=0,n=function(i,a){r+=1,r>z1&&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")+Mf+s+r:c+i.key+"-"+Mf+(s?"-"+s:"")+"-"+r};return n},Ff=function(t){var r;return function(){return r||(r=t()),r}},V1=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},j1=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},B1=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+'".')}},W1=function(t,r){return t.selectorText=r,t.selectorText===r},Rf=Ff(function(){return document.querySelector("head")});function U1(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 K1(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 H1(e){for(var t=Rf(),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 G1(e){var t=ur.registry;if(t.length>0){var r=U1(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=K1(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=H1(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 q1(e,t){var r=t.insertionPoint,n=G1(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}Rf().appendChild(e)}var Y1=Ff(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),zf=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]},Vf=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},X1=function(){var t=document.createElement("style");return t.textContent=`
1352
+ `,t},J1=function(){function e(r){this.getPropertyValue=V1,this.setProperty=j1,this.removeProperty=B1,this.setSelector=W1,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||X1(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),i&&this.element.setAttribute("data-meta",i);var s=Y1();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){q1(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=`
1353
+ `)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
1345
1354
  `+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}/**
1355
+ `}},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=Vf(i,o);if(s=zf(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=Vf(i,o),p=zf(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 Nf&&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}(),Z1=0,Q1=function(){function e(r){this.id=Z1++,this.version="10.9.2",this.plugins=new F1,this.options={id:{minify:!1},createGenerateId:Lf,Renderer:sr?J1:null,plugins:[]},this.generateId=Lf({minify:!1});for(var n=0;n<If.length;n++)this.plugins.use(If[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 Nf(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 Q1(t)},Ei=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function jf(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=jf(n);i&&(t||(t={}),t[r]=i)}}return t}/**
1347
1356
  * A better abstraction over CSS.
1348
1357
  *
1349
1358
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
1350
1359
  * @website https://github.com/cssinjs/jss
1351
1360
  * @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(`
1361
+ */wi();var Bf=Date.now(),Pi="fnValues"+Bf,Si="fnStyle"+ ++Bf,ex=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 tx=ex;var ot="@global",Ci="@global ",rx=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}(),nx=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}(),ox=/\s*,\s*/g;function Wf(e,t){for(var r=e.split(ox),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function ix(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:Wf(i,e.selector)}));delete n[ot]}}function ax(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=Wf(o.substr(ot.length),e.selector);t.addRule(i,n[o],C({},r,{selector:i})),delete n[o]}}function sx(){function e(r,n,o){if(!r)return null;if(r===ot)return new rx(r,n,o);if(r[0]==="@"&&r.substr(0,Ci.length)===Ci)return new nx(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||(ix(r,n),ax(r,n))}return{onCreateRule:e,onProcessRule:t}}var Uf=/\s*,\s*/g,lx=/&/g,cx=/\$([\w-]+)/g;function ux(){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(Uf),s=o.split(Uf),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(lx,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(cx,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 dx=/[A-Z]/g,fx=/^ms-/,Ti={};function px(e){return"-"+e.toLowerCase()}function Kf(e){if(Ti.hasOwnProperty(e))return Ti[e];var t=e.replace(dx,px);return Ti[e]=fx.test(t)?"-"+t:t}function bn(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Kf(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 hx(){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=Kf(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:"%",mx={"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 Hf(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 bx=Hf(mx);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]||bx[e];return a&&!(t===0&&a===O)?typeof a=="function"?a(t).toString():""+t+a:t.toString()}return t}function gx(e){e===void 0&&(e={});var t=Hf(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 vx(e){if(Array.isArray(e))return Oi(e)}function _x(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yx(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 $x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1362
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xx(e){return vx(e)||_x(e)||yx(e)||$x()}var fr="",ki="",Gf="",qf="",wx=sr&&"ontouchstart"in document.documentElement;if(sr){var Di={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Ex=document.createElement("p"),Ii=Ex.style,Px="Transform";for(var Ai in Di)if(Ai+Px in Ii){fr=Ai,ki=Di[Ai];break}fr==="Webkit"&&"msHyphens"in Ii&&(fr="ms",ki=Di.ms,qf="edge"),fr==="Webkit"&&"-apple-trailing-word"in Ii&&(Gf="apple")}var re={js:fr,css:ki,vendor:Gf,browser:qf,isTouch:wx};function Sx(e){return e[1]==="-"||re.js==="ms"?e:"@"+re.css+"keyframes"+e.substr(10)}var Cx={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:re.js==="ms"?"-webkit-"+t:re.css+t}},Tx={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:re.js==="Webkit"?re.css+"print-"+t:t}},Ox=/[-\s]+(.)?/g;function kx(e,t){return t?t.toUpperCase():""}function Ni(e){return e.replace(Ox,kx)}function it(e){return Ni("-"+e)}var Dx={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}},Ix={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:re.vendor==="apple"&&!re.isTouch?re.css+t:t}},Ax={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:re.css+t}},Nx={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:re.css+t}},Mx={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:re.js==="Webkit"||re.js==="ms"&&re.browser!=="edge"?re.css+t:t}},Lx={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:re.js==="Moz"||re.js==="ms"||re.vendor==="apple"?re.css+t:t}},Fx={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}},Rx={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}},zx={supportedProperty:function(t,r){return Ni(t)in r?t:!1}},Vx={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}},jx={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:re.js==="ms"?""+re.css+t:t}},Bx={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:re.js==="ms"?re.css+"scroll-chaining":t}},Wx={"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"},Ux={supportedProperty:function(t,r){var n=Wx[t];return n&&re.js+it(n)in r?re.css+n:!1}},Yf={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"},Kx=Object.keys(Yf),Hx=function(t){return re.css+t},Gx={supportedProperty:function(t,r,n){var o=n.multiple;if(Kx.indexOf(t)>-1){var i=Yf[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(Hx)}return!1}},Xf=[Cx,Tx,Dx,Ix,Ax,Nx,Mx,Lx,Fx,Rx,zx,Vx,jx,Bx,Ux,Gx],Jf=Xf.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),qx=Xf.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,xx(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]);qx.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<Jf.length&&(yt[e]=Jf[r](e,pr.style,t),!yt[e]);r++);try{pr.style[e]=""}catch{return!1}return yt[e]}var jt={},Yx={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Xx=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,at;function Jx(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 Zf(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(Yx[e])r=r.replace(Xx,Jx);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 Zx(){function e(o){if(o.type==="keyframes"){var i=o;i.at=Sx(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=Zf(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 Zf(i,_t(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function Qx(){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 Qf(){return{plugins:[tx(),sx(),ux(),hx(),gx(),typeof window>"u"?null:Zx(),Qx()]}}function ep(){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
1363
  `)),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
1364
  `)),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(`
1365
+ `))),r[i]&&(o[i]="".concat(t[i]," ").concat(r[i]))}),o)}var ew={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=ew;var tp=l.createContext(null);process.env.NODE_ENV!=="production"&&(tp.displayName="ThemeContext");const tw=tp;function rp(){var e=l.useContext(tw);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var rw=wi(Qf()),nw=f1(),ow=new Map,iw={disableGeneration:!1,generateClassName:nw,jss:rw,sheetsCache:null,sheetsManager:ow,sheetsRegistry:null},vn=l.createContext(iw);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:Qf().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=i1(Ri.propTypes));var zi=-1e9;function aw(){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(`
1366
+ `)),zi}var sw={};const np=sw;function lw(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(`
1367
+ `)),{create:function(n,o){var i;try{i=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===np&&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
1368
  `)),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:",`
1369
+ `))),s[c]=Rt(s[c],a[c])}),s},options:{}}}function cw(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=ep({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function uw(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=jf(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=ep({baseClasses:s.staticSheet.classes,newClasses:b.classes}),d&&d.add(b)}else r.classes=s.staticSheet.classes;s.refs+=1}}function dw(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function fw(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 pw(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 hw(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?np:i,s=Re(t,["name","classNamePrefix","Component","defaultTheme"]),c=lw(e),d=r||n||"makeStyles";c.options={index:aw(),name:r,meta:d,classNamePrefix:d};var f=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=rp()||a,g=C({},l.useContext(vn),s),m=l.useRef(),_=l.useRef();pw(function(){var y={name:r,state:{},stylesCreator:c,stylesOptions:g,theme:h};return uw(y,b),_.current=!1,m.current=y,function(){fw(y)}},[h,c]),l.useEffect(function(){_.current&&dw(m.current,b),_.current=!0});var $=cw(m.current,b.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue($),$};return f}var Vi=$t,mw={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},bw={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},op={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ji={};ji[Vi.ForwardRef]=gw,ji[Vi.Memo]=op;function ip(e){return Vi.isMemo(e)?op:ji[e.$$typeof]||mw}var vw=Object.defineProperty,_w=Object.getOwnPropertyNames,ap=Object.getOwnPropertySymbols,yw=Object.getOwnPropertyDescriptor,$w=Object.getPrototypeOf,sp=Object.prototype;function lp(e,t,r){if(typeof t!="string"){if(sp){var n=$w(t);n&&n!==sp&&lp(e,n,r)}var o=_w(t);ap&&(o=o.concat(ap(t)));for(var i=ip(e),a=ip(t),s=0;s<o.length;++s){var c=o[s];if(!bw[c]&&!(r&&r[c])&&!(a&&a[c])&&!(i&&i[c])){var d=yw(t,c);try{vw(e,c,d)}catch{}}}}return e}var xw=lp,ww=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(`
1370
+ `));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=ar(n);f!==void 0&&(d=f)}var p=hw(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=rp()||o,s&&(v=p1({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:uf(ce.oneOfType([ce.func,ce.object]),function(h){return h.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(b.displayName="WithStyles(".concat(ar(n),")")),xw(b,n),process.env.NODE_ENV!=="production"&&(b.Naked=n,b.options=r,b.useStyles=p),b}};const Ew=ww;var st=["xs","sm","md","lg","xl"];function Pw(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(`
1371
+ `)))),r[g]}return C({keys:st,values:r,up:c,down:d,between:f,only:p,width:h},s)}function Sw(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
1372
  paddingLeft: theme.spacing(2),
1364
1373
  paddingRight: theme.spacing(2),
1365
1374
  [theme.breakpoints.up('sm')]: {
@@ -1367,12 +1376,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1367
1376
  paddingRight: theme.spacing(3),
1368
1377
  },
1369
1378
  `].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 Y=sp(N,F);Y<3&&console.error(["Material-UI: The contrast ratio of ".concat(Y,":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 I=function(F){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(F=C({},F),!F.main&&F[Y]&&(F.main=F[Y]),!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(Y,"` property."):bn(4,Y));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.
1379
+ `)),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 Cw={black:"#000",white:"#fff"};const yn=Cw;var Tw={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=Tw;var Ow={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=Ow;var kw={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=kw;var Dw={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=Dw;var Iw={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=Iw;var Aw={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=Aw;var Nw={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=Nw;function cp(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 Mw(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 Lw(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(Mw(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 up(e,t){var r=dp(e),n=dp(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function dp(e){e=Wt(e);var t=e.type==="hsl"?Wt(Lw(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 Fw(e,t){if(e=Wt(e),t=cp(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 Rw(e,t){if(e=Wt(e),t=cp(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 fp={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 pp(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=Rw(e.main,o):t==="dark"&&(e.dark=Fw(e.main,i)))}function zw(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=up(M,Xi.text.primary)>=_?Xi.text.primary:fp.text.primary;if(process.env.NODE_ENV!=="production"){var G=up(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(`
1380
+ `))}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
1381
 
1373
1382
  Did you intend to use one of the following approaches?
1374
1383
 
1375
- import {\xA0green } from "@material-ui/core/colors";
1384
+ import { green } from "@material-ui/core/colors";
1376
1385
 
1377
1386
  const theme1 = createTheme({ palette: {
1378
1387
  primary: green,
@@ -1380,27 +1389,30 @@ const theme1 = createTheme({ palette: {
1380
1389
 
1381
1390
  const theme2 = createTheme({ palette: {
1382
1391
  primary: { main: green[500] },
1383
- } });`):bn(5,JSON.stringify(F.main)));return up(F,"light",S,_),up(F,"dark",G,_),F.contrastText||(F.contrastText=g(F.main)),F},L={dark:Zi,light:cp};process.env.NODE_ENV!=="production"&&(L[v]||console.error("Material-UI: The palette type `".concat(v,"` is not supported.")));var O=Rt(C({common:$n,type:v,primary:I(r),secondary:I(o,"A400","A200","A700"),error:I(a),warning:I(c),info:I(d),success:I(b),grey:Ui,contrastThreshold:y,getContrastText:g,augmentColor:I,tonalOffset:_},L[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,I=_||function(N){return"".concat(N/y*g,"rem")},L=function(F,Y,S,G,D){return C({fontFamily:o,fontWeight:F,fontSize:I(Y),lineHeight:S},o===hp?{letterSpacing:"".concat(dp(G/Y),"em")}:{},D,$)},O={h1:L(c,96,1.167,-1.5),h2:L(c,60,1.2,-.5),h3:L(d,48,1.167,0),h4:L(d,34,1.235,.25),h5:L(d,24,1.334,0),h6:L(b,20,1.6,.15),subtitle1:L(d,16,1.75,.15),subtitle2:L(b,14,1.57,.1),body1:L(d,16,1.5,.15),body2:L(d,14,1.43,.15),button:L(b,14,1.75,.4,pp),caption:L(d,12,1.66,.4),overline:L(d,12,2.66,1,pp)};return Rt(C({htmlFontSize:y,pxToRem:I,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(`
1392
+ } });`):hn(5,JSON.stringify(F.main)));return pp(F,"light",S,y),pp(F,"dark",q,y),F.contrastText||(F.contrastText=v(F.main)),F},L={dark:Xi,light:fp};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 hp(e){return Math.round(e*1e5)/1e5}var mp=!1;function Vw(e){return process.env.NODE_ENV!=="production"&&(mp||(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(`
1393
+ `)),mp=!0)),hp(e)}var bp={textTransform:"uppercase"},gp='"Roboto", "Helvetica", "Arial", sans-serif';function jw(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?gp: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===gp?{letterSpacing:"".concat(hp(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,bp),caption:L(f,12,1.66,.4),overline:L(f,12,2.66,1,bp)};return Rt(C({htmlFontSize:_,pxToRem:A,round:Vw,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:b,fontWeightBold:g},T),E,{clone:!1})}var Bw=.2,Ww=.14,Uw=.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(Bw,")"),"".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(Ww,")"),"".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(Uw,")")].join(",")}var Kw=["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 Hw=Kw;var Gw={borderRadius:4};const qw=Gw;var Yw=process.env.NODE_ENV!=="production"?ce.oneOfType([ce.number,ce.string,ce.object,ce.array]):{};const Xw=Yw;var Jw=["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 Zw(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
1394
  `)),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,I){return Rt(g,I)},v),process.env.NODE_ENV!=="production"){var _=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],w=function g(I,L){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,N;for(N in I){var F=I[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(L,"` component increases ")+"the CSS specificity of the `".concat(N,"` internal state."),"You can not override it like this: ",JSON.stringify(I,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
- `)),I[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};
1395
+ `)),function(){})}process.env.NODE_ENV!=="production"&&Jw.reduce(function(e,t){return e[t]=Xw,e},{});var vp;function Qw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=Zw({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"&&((!vp||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(`
1396
+ `)),vp=!0),e}}),r.mui=!0,r}var _p={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)"},yp={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function $p(e){return"".concat(Math.round(e),"ms")}const e5={easing:_p,duration:yp,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?yp.standard:n,i=r.easing,a=i===void 0?_p.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:$p(o)," ").concat(a," ").concat(typeof c=="string"?c:$p(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 t5={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const r5=t5;function n5(){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=zw(a),b=Pw(r),h=Qw(s),g=Rt({breakpoints:b,direction:"ltr",mixins:Sw(b,h,o),overrides:{},palette:p,props:{},shadows:Hw,typography:jw(p,d),spacing:h,shape:qw,transitions:e5,zIndex:r5},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(`
1397
+ `)),A[M]={})}};E(g.overrides)}return g}var o5=n5();const i5=o5;function a5(e,t){return Ew(e,C({defaultTheme:i5},t))}var s5=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:Os(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:uf(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 xp=a5(s5,{name:"MuiSvgIcon"})(Ji);function l5(e,t){var r=function(o,i){return l.createElement(xp,C({ref:i},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=xp.muiName,l.memo(l.forwardRef(r))}function c5(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 u5(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 d5(e,t){return W.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function wp(e){return e&&e.ownerDocument||document}function f5(e){var t=wp(e);return t.defaultView||window}function p5(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 h5(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 m5(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(`
1398
+ `))},[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(`
1399
+ `))},[JSON.stringify(r)])}var g=W.useCallback(function(m){s||f(m)},[]);return[p,g]}var b5=typeof window<"u"?W.useLayoutEffect:W.useEffect;function g5(e){var t=W.useRef(e);return b5(function(){t.current=e}),W.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function v5(e,t){return W.useMemo(function(){return e==null&&t==null?null:function(r){Zi(e,r),Zi(t,r)}},[e,t])}function _5(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,Ep=null,y5={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 $5(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&y5[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function x5(e){e.metaKey||e.altKey||e.ctrlKey||($n=!0)}function ea(){$n=!1}function w5(){this.visibilityState==="hidden"&&Qi&&($n=!0)}function E5(e){e.addEventListener("keydown",x5,!0),e.addEventListener("mousedown",ea,!0),e.addEventListener("pointerdown",ea,!0),e.addEventListener("touchstart",ea,!0),e.addEventListener("visibilitychange",w5,!0)}function Pp(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return $n||$5(t)}function P5(){Qi=!0,window.clearTimeout(Ep),Ep=window.setTimeout(function(){Qi=!1},100)}function S5(){var e=W.useCallback(function(t){var r=ia.findDOMNode(t);r!=null&&E5(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&W.useDebugValue(Pp),{isFocusVisible:Pp,onBlurVisible:P5,ref:e}}const C5=Lp(Object.freeze(Object.defineProperty({__proto__:null,capitalize:di,createChainedFunction:l1,createSvgIcon:l5,debounce:c5,deprecatedPropType:u5,isMuiElement:d5,ownerDocument:wp,ownerWindow:f5,requirePropFactory:p5,setRef:Zi,unsupportedProp:h5,useControlled:m5,useEventCallback:g5,useForkRef:v5,unstable_useId:_5,useIsFocusVisible:S5},Symbol.toStringTag,{value:"Module"})));var Sp;function Cp(){return Sp||(Sp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=C5}(ri)),ri}var T5=fn,O5=pn;Object.defineProperty(ei,"__esModule",{value:!0});var Tp=ei.default=void 0,k5=O5(l),D5=T5(Cp()),I5=(0,D5.default)(k5.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");Tp=ei.default=I5;var ta={},A5=fn,N5=pn;Object.defineProperty(ta,"__esModule",{value:!0});var Op=ta.default=void 0,M5=N5(l),L5=A5(Cp()),F5=(0,L5.default)(M5.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");Op=ta.default=F5;const R5=I.div`
1400
+ --border-color: ${u.color_outline_secondary_enabled};
1401
+
1402
+ border-radius: ${u.border_radius_400};
1393
1403
  position: relative;
1394
1404
 
1395
1405
  &:hover {
1396
- --border-color: ${f.color_outline_secondary_hover};
1397
- background-color: ${f.color_overlay_secondary_hover};
1406
+ --border-color: ${u.color_outline_secondary_hover};
1407
+
1408
+ background-color: ${u.color_overlay_secondary_hover};
1398
1409
  }
1399
1410
 
1400
1411
  &:focus-within {
1401
- background-color: ${f.color_overlay_secondary_enabled};
1412
+ --border-color: ${u.color_black};
1413
+
1414
+ background-color: ${u.color_overlay_secondary_enabled};
1402
1415
  outline: 1px solid black;
1403
- --border-color: ${f.color_black};
1404
1416
  }
1405
1417
 
1406
1418
  & > svg {
@@ -1413,9 +1425,9 @@ const theme2 = createTheme({ palette: {
1413
1425
  bottom: 0;
1414
1426
  margin: auto 0;
1415
1427
  font-size: 1rem;
1416
- fill: ${f.color_text_weak};
1428
+ fill: ${u.color_text_weak};
1417
1429
  }
1418
- `,L5=A.default(Su)`
1430
+ `,z5=I(Eu)`
1419
1431
  all: unset;
1420
1432
  position: absolute;
1421
1433
  right: 10px;
@@ -1423,40 +1435,40 @@ const theme2 = createTheme({ palette: {
1423
1435
  bottom: 0;
1424
1436
  margin: auto 0;
1425
1437
  cursor: pointer;
1426
- border-radius: ${f.border_radius_circle};
1427
- background-color: ${f.color_text_weak};
1428
- color: white;
1438
+ border-radius: ${u.border_radius_circle};
1439
+ background-color: ${u.color_text_weak};
1440
+ color: ${u.color_white};
1429
1441
  display: grid;
1430
1442
  place-items: center;
1431
- // I think this needs to be an even number cu
1432
- width: 16px;
1433
- height: 16px;
1443
+ width: ${u.sizing_400};
1444
+ height: ${u.sizing_400};
1445
+
1434
1446
  & > svg {
1435
1447
  margin: 0;
1436
1448
  line-height: 0;
1437
- font-size: ${f.font_size_50};
1449
+ font-size: ${u.font_size_50};
1438
1450
  }
1439
- `,F5=A.default(er)`
1451
+ `,V5=I(er)`
1440
1452
  padding-left: 32px;
1441
- /* width: 100%; */
1453
+ width: 100%;
1442
1454
 
1443
- // Use our own custom clear button
1444
- // https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling
1455
+ /* Hide the default clear button to use our own custom styled one.
1456
+ https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling */
1445
1457
  &::-webkit-search-decoration,
1446
1458
  &::-webkit-search-cancel-button,
1447
1459
  &::-webkit-search-results-button,
1448
1460
  &::-webkit-search-results-decoration {
1449
1461
  -webkit-appearance: none;
1450
1462
  }
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(ee.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(ee.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)`
1463
+ `,kp=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=K$(h),m=bt(t),{labelProps:_,inputProps:$,clearButtonProps:y}=G$(h,g,m);return le(tr,{children:[k(Xe,{..._,srOnly:c,children:r}),le(R5,{children:[k(Tp,{}),k(V5,{...$,ref:m,placeholder:o,paddingSize:n,...b}),g.value!==""&&k(z5,{...y,children:k(Op,{})})]})]})});kp.displayName="Search";const Dp="Switch",[j5,ME]=Pe(Dp),[B5,W5]=j5(Dp),U5=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(B5,{scope:r,checked:_,disabled:s},l.createElement(te.button,C({type:"button",role:"switch","aria-checked":_,"aria-required":a,"data-state":Ip(_),"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(G5,{control:p,bubbles:!g.current,name:n,value:c,checked:_,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),K5="SwitchThumb",H5=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=W5(K5,r);return l.createElement(te.span,C({"data-state":Ip(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),G5=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 Ip(e){return e?"checked":"unchecked"}const q5=U5,Y5=H5,X5=I(q5)`
1452
1464
  all: unset;
1453
1465
  width: 40px;
1454
1466
  height: 24px;
1455
- background-color: ${f.color_fill_secondary_enabled};
1467
+ background-color: ${u.color_fill_secondary_enabled};
1456
1468
  border-radius: 9999px;
1457
1469
  position: relative;
1458
- transition-property: ${f.transition_property_color};
1459
- transition-duration: ${f.transition_duration_150};
1470
+ transition-property: ${u.transition_property_color};
1471
+ transition-duration: ${u.transition_duration_150};
1460
1472
 
1461
1473
  &:focus-visible {
1462
1474
  outline-offset: 2px;
@@ -1465,38 +1477,38 @@ const theme2 = createTheme({ palette: {
1465
1477
  }
1466
1478
 
1467
1479
  &:hover {
1468
- background-color: ${f.color_fill_secondary_hover};
1480
+ background-color: ${u.color_fill_secondary_hover};
1469
1481
  }
1470
1482
 
1471
1483
  &:active {
1472
- background-color: ${f.color_fill_secondary_pressed};
1484
+ background-color: ${u.color_fill_secondary_pressed};
1473
1485
  }
1474
1486
 
1475
1487
  &[data-disabled] {
1476
- background: ${f.color_fill_secondary_disabled};
1488
+ background: ${u.color_fill_secondary_disabled};
1477
1489
  cursor: not-allowed;
1478
1490
  }
1479
1491
 
1480
1492
  &[aria-checked='true'] {
1481
- background-color: ${f.color_black};
1493
+ background-color: ${u.color_black};
1482
1494
  }
1483
1495
 
1484
1496
  &[aria-checked='true']:hover {
1485
- background-color: ${f.color_fill_primary_hover};
1497
+ background-color: ${u.color_fill_primary_hover};
1486
1498
  }
1487
1499
 
1488
1500
  &[aria-checked='true']:active {
1489
- background-color: ${f.color_fill_primary_pressed};
1501
+ background-color: ${u.color_fill_primary_pressed};
1490
1502
  }
1491
- `,Y5=A.default(G5)`
1503
+ `,J5=I(Y5)`
1492
1504
  --thumb-width: 18px;
1493
1505
  display: block;
1494
1506
  width: var(--thumb-width);
1495
1507
  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};
1508
+ background-color: ${u.color_white};
1509
+ border-radius: ${u.border_radius_circle};
1510
+ box-shadow: ${u.elevation_interactive_medium};
1511
+ transition: transform ${u.transition_duration_100};
1500
1512
  transform: translateX(2px);
1501
1513
  will-change: transform;
1502
1514
 
@@ -1504,86 +1516,86 @@ const theme2 = createTheme({ palette: {
1504
1516
  box-shadow: none;
1505
1517
  }
1506
1518
 
1507
- &[data-state='checked'] {
1519
+ &[data-state~='checked'] {
1508
1520
  transform: translateX(19px);
1509
1521
  }
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};
1512
- font-style: normal;
1522
+ `,Ap=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=Du(r);return k(X5,{...n,...o,ref:t,children:k(J5,{})})});Ap.displayName="Switch";const hr=I.p`
1523
+ font-family: ${u.font_family_sans};
1524
+ font-style: var(--text-style, normal);
1513
1525
  font-weight: var(--text-font-weight, 400);
1514
- color: var(--text-color, ${f.color_text_strong});
1526
+ color: var(--text-color, ${u.color_text_strong});
1515
1527
  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`
1528
+ `,ra=I(hr)`
1529
+ max-width: 60ch; /* should check with designers */
1530
+ `,Z5=I(ra)`
1531
+ letter-spacing: ${u.letter_spacing_body_large};
1532
+ line-height: ${u.line_height_body_large};
1533
+ font-size: ${u.font_size_body_large};
1534
+ `,Q5=I(ra)`
1535
+ letter-spacing: ${u.letter_spacing_body_medium};
1536
+ line-height: ${u.line_height_body_medium};
1537
+ font-size: ${u.font_size_body_medium};
1538
+ `,eE=I(ra)`
1539
+ letter-spacing: ${u.letter_spacing_body_small};
1540
+ line-height: ${u.line_height_body_small};
1541
+ font-size: ${u.font_size_body_small};
1542
+ `,tE={large:Z5,medium:Q5,small:eE};function rE({size:e="medium",...t}){const r=tE[e];return k(r,{...t})}const xn=I.p`
1531
1543
  font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
1532
- font-family: ${f.font_family_inter};
1544
+ font-family: ${u.font_family_sans};
1533
1545
  font-style: normal;
1534
1546
  font-weight: var(--text-font-weight, 400);
1535
- color: var(--text-color, ${f.color_text_strong});
1547
+ color: var(--text-color, ${u.color_text_strong});
1536
1548
  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};
1549
+ `,nE=I(xn)`
1550
+ letter-spacing: ${u.letter_spacing_number_xsmall};
1551
+ line-height: ${u.line_height_number_xsmall};
1552
+ font-size: ${u.font_size_number_xsmall};
1553
+ `,oE=I(xn)`
1554
+ letter-spacing: ${u.letter_spacing_number_small};
1555
+ line-height: ${u.line_height_number_small};
1556
+ font-size: ${u.font_size_number_small};
1557
+ `,iE=I(xn)`
1558
+ letter-spacing: ${u.letter_spacing_number_medium};
1559
+ line-height: ${u.line_height_number_medium};
1560
+ font-size: ${u.font_size_number_medium};
1561
+ `,aE=I(xn)`
1562
+ letter-spacing: ${u.letter_spacing_number_large};
1563
+ line-height: ${u.line_height_number_large};
1564
+ font-size: ${u.font_size_number_large};
1565
+ `,sE={xsmall:nE,small:oE,medium:iE,large:aE};function lE({size:e="medium",...t}){const r=sE[e];return k(r,{...t})}const cE=I(hr)`
1566
+ letter-spacing: ${u.letter_spacing_number_small};
1567
+ line-height: ${u.line_height_number_small};
1568
+ font-size: ${u.font_size_number_small};
1569
+ `,uE=I(hr)`
1570
+ letter-spacing: ${u.letter_spacing_number_xsmall};
1571
+ line-height: ${u.line_height_number_xsmall};
1572
+ font-size: ${u.font_size_number_xsmall};
1573
+ `,dE=I(hr)`
1574
+ letter-spacing: ${u.letter_spacing_number_large};
1575
+ line-height: ${u.line_height_number_large};
1576
+ font-size: ${u.font_size_number_large};
1577
+ `,fE=I(hr)`
1578
+ letter-spacing: ${u.letter_spacing_number_medium};
1579
+ line-height: ${u.line_height_number_medium};
1580
+ font-size: ${u.font_size_number_medium};
1581
+ `,pE={xsmall:uE,small:cE,medium:fE,large:dE};function hE({size:e="medium",...t}){const r=pE[e];return k(r,{...t})}const mE={caption:hE,body:rE,number:lE},bE={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}},Np=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:i,bold:a,as:s,...c}=e,d=mE[r],p=bE[n][o];return k(d,{as:s,...c,ref:t,style:{"--text-font-weight":a?500:400,"--text-color":p,"--text-style":i?"italic":"normal"}})});Np.displayName="Text";const wn=I.h1`
1582
+ font-family: ${u.font_family_inter_display};
1571
1583
  font-style: normal;
1572
- font-weight: 500; // don't really see value of using tokens for font-weight
1584
+ font-weight: 500; /* don't really see value of using tokens for font-weight */
1573
1585
  margin: 0;
1574
1586
  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"}})});
1587
+ color: ${u.color_text_strong};
1588
+ `,gE=I(wn)`
1589
+ font-size: ${u.font_size_title_large};
1590
+ letter-spacing: ${u.letter_spacing_title_large};
1591
+ `,vE=I(wn)`
1592
+ font-size: ${u.font_size_title_medium};
1593
+ letter-spacing: ${u.letter_spacing_title_medium};
1594
+ `,_E=I(wn)`
1595
+ font-size: ${u.font_size_title_small};
1596
+ letter-spacing: ${u.letter_spacing_title_small};
1597
+ `,yE={xsmall:I(wn)`
1598
+ font-size: ${u.font_size_title_xsmall};
1599
+ letter-spacing: ${u.letter_spacing_title_xsmall};
1600
+ `,small:_E,medium:vE,large:gE},Mp=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:i,...a}=e,s=yE[n];return k(s,{...a,as:o,ref:t,className:i,children:r})});Mp.displayName="Title",R.AccessibleIcon=qt,R.AlertDialog=J0,R.AlertDialogAction=Q0,R.AlertDialogCancel=em,R.AlertDialogContent=G0,R.AlertDialogDescription=Y0,R.AlertDialogFooter=X0,R.AlertDialogTitle=q0,R.AlertDialogTrigger=Z0,R.BreadcrumbItem=Yl,R.BreadcrumbLink=Hl,R.BreadcrumbListItem=wo,R.Breadcrumbs=ql,R.Button=Po,R.Checkbox=e_,R.Dialog=B0,R.DialogClose=U0,R.DialogCloseButton=j0,R.DialogContent=F0,R.DialogDescription=z0,R.DialogFooter=V0,R.DialogTitle=R0,R.DialogTrigger=W0,R.Fieldset=Zg,R.FormControl=Yv,R.Heading=Iu,R.IconButton=Nu,R.Label=Xe,R.NumberFormControl=ku,R.NumberInput=Mo,R.Page=J_,R.PageContent=Xu,R.PageGrid=Yu,R.Pagination=ey,R.PaginatorButton=sn,R.PaginatorNumber=ln,R.Popover=Wl,R.PopoverClose=xg,R.PopoverCloseCross=wg,R.PopoverContent=$g,R.PopoverTrigger=Ul,R.Radio=Ly,R.RadioGroup=My,R.RadioGroupIndicator=ld,R.RadioGroupRadio=sd,R.Search=kp,R.Select=_d,R.SelectContent=gd,R.SelectGroup=V$,R.SelectGroupLabel=B$,R.SelectIcon=xd,R.SelectItem=wd,R.SelectItemIndicator=j$,R.SelectItemText=Ed,R.SelectScrollDownButton=Sd,R.SelectScrollUpButton=Pd,R.SelectSeparator=W$,R.SelectTrigger=yd,R.SelectValue=$d,R.SelectViewport=z$,R.SingleSelect=U$,R.StyledFieldSet=Zl,R.StyledTrigger=bd,R.Switch=Ap,R.Text=Np,R.TextAreaFormControl=Ou,R.TextFormControl=Tu,R.TextInput=To,R.Title=Mp,R.Toast=X_,R.ToastAction=B_,R.ToastClose=Gu,R.ToastProvider=Y_,R.ToastSeparator=qu,R.ToastViewport=G_,R.Tooltip=ic,R.TooltipContent=ac,R.TooltipProvider=oc,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
1601
  //# sourceMappingURL=trc-components.umd.js.map