forked from Stock-control-supervisors/awesome-go
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
6065-d4d1c899ea2aedd3.js.download
9 lines (9 loc) · 345 KB
/
6065-d4d1c899ea2aedd3.js.download
1
2
3
4
5
6
7
8
9
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6065],{82035:function(e,t,r){r.r(t),r.d(t,{hideOthers:function(){return c},inertOthers:function(){return d},supportsInert:function(){return f},suppressOthers:function(){return p}});var n=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,a=new WeakMap,l={},i=0,s=function(e){return e&&(e.host||s(e.parentNode))},u=function(e,t,r,n){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});l[r]||(l[r]=new WeakMap);var c=l[r],d=[],f=new Set,p=new Set(u),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};u.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var t=e.getAttribute(n),l=null!==t&&"false"!==t,i=(o.get(e)||0)+1,s=(c.get(e)||0)+1;o.set(e,i),c.set(e,s),d.push(e),1===i&&l&&a.set(e,!0),1===s&&e.setAttribute(r,"true"),l||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),f.clear(),i++,function(){d.forEach(function(e){var t=o.get(e)-1,l=c.get(e)-1;o.set(e,t),c.set(e,l),t||(a.has(e)||e.removeAttribute(n),a.delete(e)),l||e.removeAttribute(r)}),--i||(o=new WeakMap,o=new WeakMap,a=new WeakMap,l={})}},c=function(e,t,r){void 0===r&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),a=t||n(e);return a?(o.push.apply(o,Array.from(a.querySelectorAll("[aria-live]"))),u(o,a,r,"aria-hidden")):function(){return null}},d=function(e,t,r){void 0===r&&(r="data-inert-ed");var o=t||n(e);return o?u(e,o,r,"inert"):function(){return null}},f=function(){return"undefined"!=typeof HTMLElement&&HTMLElement.prototype.hasOwnProperty("inert")},p=function(e,t,r){return void 0===r&&(r="data-suppressed"),(f()?d:c)(e,t,r)}},20433:function(e,t){var r;!/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/function(){var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var l=o.apply(null,r);l&&e.push(l)}}else if("object"===a){if(r.toString===Object.prototype.toString)for(var i in r)n.call(r,i)&&r[i]&&e.push(i);else e.push(r.toString())}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0!==(r=(function(){return o}).apply(t,[]))&&(e.exports=r)}()},4285:function(e,t,r){r.d(t,{Z:function(){return B}});var n,o,a,l,i,s,u=r(84213),c=r(91710),d="right-scroll-bar-position",f="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m=c.useLayoutEffect,v=new WeakMap,g=(void 0===n&&(n={}),(void 0===o&&(o=function(e){return e}),a=[],l=!1,i={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,l);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){l=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},o=function(){return Promise.resolve().then(n)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,u.__assign)({async:!0,ssr:!1},n),i),h=function(){},y=c.forwardRef(function(e,t){var r,n,o,a,l=c.useRef(null),i=c.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),s=i[0],d=i[1],f=e.forwardProps,y=e.children,b=e.className,w=e.removeScrollBar,C=e.enabled,E=e.shards,P=e.sideCar,x=e.noIsolation,N=e.inert,O=e.allowPinchZoom,R=e.as,D=(0,u.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),M=(r=[l,t],n=function(e){return r.forEach(function(t){return p(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,a=o.facade,m(function(){var e=v.get(a);if(e){var t=new Set(e),n=new Set(r),o=a.current;t.forEach(function(e){n.has(e)||p(e,null)}),n.forEach(function(e){t.has(e)||p(e,o)})}v.set(a,r)},[r]),a),_=(0,u.__assign)((0,u.__assign)({},D),s);return c.createElement(c.Fragment,null,C&&c.createElement(P,{sideCar:g,removeScrollBar:w,shards:E,noIsolation:x,inert:N,setCallbacks:d,allowPinchZoom:!!O,lockRef:l}),f?c.cloneElement(c.Children.only(y),(0,u.__assign)((0,u.__assign)({},_),{ref:M})):c.createElement(void 0===R?"div":R,(0,u.__assign)({},_,{className:b,ref:M}),y))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:f,zeroRight:d};var b=function(e){var t=e.sideCar,r=(0,u.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return c.createElement(n,(0,u.__assign)({},r))};b.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},C=function(){var e=w();return function(t,r){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},E=function(){var e=C();return function(t){return e(t.styles,t.dynamic),null}},P=function(e){return parseInt(e||"",10)||0},x=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[P(r),P(n),P(o)]},N=function(e){void 0===e&&(e="margin");var t=x(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])}},O=E(),R=function(e,t,r,n){var o=e.left,a=e.top,l=e.right,i=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(i,"px ").concat(n,";\n }\n body {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(i,"px ").concat(n,";\n }\n \n .").concat(f," {\n margin-right: ").concat(i,"px ").concat(n,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(n,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},D=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n,a=c.useMemo(function(){return N(o)},[o]);return c.createElement(O,{styles:R(a,!t,o,r?"":"!important")})},M=!1;try{var _=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",_,_),window.removeEventListener("test",_,_)}catch(e){M=!1}var T=!!M&&{passive:!1},S=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},k=function(e,t){var r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var n=I(e,r);if(n[1]>n[2])return!0}r=r.parentNode}while(r&&r!==document.body);return!1},j=function(e,t){return"v"===e?S(t,"overflowY"):S(t,"overflowX")},I=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},L=function(e,t,r,n,o){var a,l=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),i=l*n,s=r.target,u=t.contains(s),c=!1,d=i>0,f=0,p=0;do{var m=I(e,s),v=m[0],g=m[1]-m[2]-l*v;(v||g)&&j(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(o&&0===f||!o&&i>f)?c=!0:!d&&(o&&0===p||!o&&-i>p)&&(c=!0),c},A=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},z=function(e){return[e.deltaX,e.deltaY]},V=function(e){return e&&"current"in e?e.current:e},W=0,Z=[],H=(g.useMedium(function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),o=c.useState(W++)[0],a=c.useState(function(){return E()})[0],l=c.useRef(e);c.useEffect(function(){l.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,u.__spreadArray)([e.lockRef.current],(e.shards||[]).map(V),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!l.current.allowPinchZoom;var o,a=A(e),i=r.current,s="deltaX"in e?e.deltaX:i[0]-a[0],u="deltaY"in e?e.deltaY:i[1]-a[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=k(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=k(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(s||u)&&(n.current=o),!o)return!0;var p=n.current||o;return L(p,t,e,"h"===p?s:u,!0)},[]),s=c.useCallback(function(e){if(Z.length&&Z[Z.length-1]===a){var r="deltaY"in e?z(e):A(e),n=t.current.filter(function(t){var n;return t.name===e.type&&t.target===e.target&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(l.current.shards||[]).map(V).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?i(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=c.useCallback(function(e,r,n,o){var a={name:e,delta:r,target:n,should:o};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),f=c.useCallback(function(e){r.current=A(e),n.current=void 0},[]),p=c.useCallback(function(t){d(t.type,z(t),t.target,i(t,e.lockRef.current))},[]),m=c.useCallback(function(t){d(t.type,A(t),t.target,i(t,e.lockRef.current))},[]);c.useEffect(function(){return Z.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",s,T),document.addEventListener("touchmove",s,T),document.addEventListener("touchstart",f,T),function(){Z=Z.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,T),document.removeEventListener("touchmove",s,T),document.removeEventListener("touchstart",f,T)}},[]);var v=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?c.createElement(D,{gapMode:"margin"}):null)}),b),F=c.forwardRef(function(e,t){return c.createElement(y,(0,u.__assign)({},e,{ref:t,sideCar:H}))});F.classNames=y.classNames;var B=F},89593:function(e,t,r){function n(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r,n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||!!(r=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e))&&(r.clientHeight<e.scrollHeight||r.clientWidth<e.scrollWidth)}return!1}function l(e,t,r,n,o,a,l,i){return a<e&&l>t||a>e&&l<t?0:a<=e&&i<=r||l>=t&&i>=r?a-e-n:l>t&&i<r||a<e&&i>r?l-t+o:0}r.d(t,{Z:function(){return u}});var i=function(e,t){var r=window,o=t.scrollMode,i=t.block,s=t.inline,u=t.boundary,c=t.skipOverflowHiddenElements,d="function"==typeof u?u:function(e){return e!==u};if(!n(e))throw TypeError("Invalid target");for(var f,p,m=document.scrollingElement||document.documentElement,v=[],g=e;n(g)&&d(g);){if((g=null==(p=(f=g).parentElement)?f.getRootNode().host||null:p)===m){v.push(g);break}null!=g&&g===document.body&&a(g)&&!a(document.documentElement)||null!=g&&a(g,c)&&v.push(g)}for(var h=r.visualViewport?r.visualViewport.width:innerWidth,y=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,C=e.getBoundingClientRect(),E=C.height,P=C.width,x=C.top,N=C.right,O=C.bottom,R=C.left,D="start"===i||"nearest"===i?x:"end"===i?O:x+E/2,M="center"===s?R+P/2:"end"===s?N:R,_=[],T=0;T<v.length;T++){var S=v[T],k=S.getBoundingClientRect(),j=k.height,I=k.width,L=k.top,A=k.right,z=k.bottom,V=k.left;if("if-needed"===o&&x>=0&&R>=0&&O<=y&&N<=h&&x>=L&&O<=z&&R>=V&&N<=A)break;var W=getComputedStyle(S),Z=parseInt(W.borderLeftWidth,10),H=parseInt(W.borderTopWidth,10),F=parseInt(W.borderRightWidth,10),B=parseInt(W.borderBottomWidth,10),K=0,G=0,U="offsetWidth"in S?S.offsetWidth-S.clientWidth-Z-F:0,Y="offsetHeight"in S?S.offsetHeight-S.clientHeight-H-B:0,X="offsetWidth"in S?0===S.offsetWidth?0:I/S.offsetWidth:0,q="offsetHeight"in S?0===S.offsetHeight?0:j/S.offsetHeight:0;if(m===S)K="start"===i?D:"end"===i?D-y:"nearest"===i?l(w,w+y,y,H,B,w+D,w+D+E,E):D-y/2,G="start"===s?M:"center"===s?M-h/2:"end"===s?M-h:l(b,b+h,h,Z,F,b+M,b+M+P,P),K=Math.max(0,K+w),G=Math.max(0,G+b);else{K="start"===i?D-L-H:"end"===i?D-z+B+Y:"nearest"===i?l(L,z,j,H,B+Y,D,D+E,E):D-(L+j/2)+Y/2,G="start"===s?M-V-Z:"center"===s?M-(V+I/2)+U/2:"end"===s?M-A+F+U:l(V,A,I,Z,F+U,M,M+P,P);var J=S.scrollLeft,$=S.scrollTop;D+=$-(K=Math.max(0,Math.min($+K/q,S.scrollHeight-j/q+Y))),M+=J-(G=Math.max(0,Math.min(J+G/X,S.scrollWidth-I/X+U)))}_.push({el:S,top:K,left:G})}return _};function s(e){return e===Object(e)&&0!==Object.keys(e).length}var u=function(e,t){var r=!e.ownerDocument.documentElement.contains(e);if(s(t)&&"function"==typeof t.behavior)return t.behavior(r?[]:i(e,t));if(!r){var n=!1===t?{block:"end",inline:"nearest"}:s(t)?t:{block:"start",inline:"nearest"};return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(e){var n=e.el,o=e.top,a=e.left;n.scroll&&r?n.scroll({top:o,left:a,behavior:t}):(n.scrollTop=o,n.scrollLeft=a)})}(i(e,n),n.behavior)}}},17019:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{alertDialogContentPropDefs:()=>s.dialogContentPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(30598)},1022:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{avatarPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],default:"3",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft"],default:"soft"},...s.colorPropDef,...s.highContrastPropDef,...s.radiusPropDef,fallback:{type:"ReactNode",required:!0}}},14478:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{badgePropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...r(24118).asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"1",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft","surface","outline"],default:"soft"},...s.colorPropDef,...s.highContrastPropDef,...s.radiusPropDef}},27823:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{baseButtonPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","solid","soft","surface","outline","ghost"],default:"solid"},...s.colorPropDef,...s.highContrastPropDef,...s.radiusPropDef,loading:{type:"boolean",className:"rt-loading",default:!1}}},82230:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{baseCheckboxPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef}},5630:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{baseMenuCheckboxItemPropDefs:()=>d,baseMenuContentPropDefs:()=>u,baseMenuItemPropDefs:()=>c,baseMenuRadioItemPropDefs:()=>f}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft"],default:"solid"},...s.colorPropDef,...s.highContrastPropDef},c={...s.asChildPropDef,...s.inheritedColorPropDef,shortcut:{type:"string"}},d={...s.inheritedColorPropDef,shortcut:{type:"string"}},f={...s.inheritedColorPropDef}},1660:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{baseRadioPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef}},40327:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{baseTabListPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2"],default:"2",responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:["nowrap","wrap","wrap-reverse"],responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:["start","center","end"],responsive:!0},...s.colorPropDef,...s.highContrastPropDef}},56471:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{blockquotePropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},...s.weightPropDef,...s.inheritedColorPropDef,...s.highContrastPropDef,...s.truncatePropDef,...s.textWrapPropDef}},90802:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{boxPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={as:{type:"enum",values:["div","span"],default:"div"},...r(85835).asChildPropDef,display:{type:"enum",className:"rt-r-display",values:["none","inline","inline-block","block"],responsive:!0}}},31272:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{buttonPropDefs:()=>s.baseButtonPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(27823)},40170:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{calloutRootPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["soft","surface","outline"],default:"soft"},...s.colorPropDef,...s.highContrastPropDef}},72314:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{cardPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={...r(85835).asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5"],default:"1",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic","ghost"],default:"surface"}}},35064:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{checkboxCardsRootPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835),u=r(29551);let c={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef,columns:{...u.gridPropDefs.columns,default:"repeat(auto-fit, minmax(200px, 1fr))"},gap:{...u.gridPropDefs.gap,default:"4"}}},37284:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{checkboxGroupRootPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835),u=r(82230);let c={...s.asChildPropDef,...u.baseCheckboxPropDefs}},4308:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{checkboxPropDefs:()=>s.baseCheckboxPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(82230)},18482:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{codePropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...r(24118).asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft","outline","ghost"],default:"soft"},...s.weightPropDef,...s.colorPropDef,...s.highContrastPropDef,...s.truncatePropDef,...s.textWrapPropDef}},53311:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{containerPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={...r(85835).asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"4",responsive:!0},display:{type:"enum",className:"rt-r-display",values:["none","initial"],parseValue:function(e){return"initial"===e?"flex":e},responsive:!0},align:{type:"enum",className:"rt-r-ai",values:["left","center","right"],parseValue:function(e){return"left"===e?"start":"right"===e?"end":e},responsive:!0}}},85798:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{contextMenuCheckboxItemPropDefs:()=>s.baseMenuCheckboxItemPropDefs,contextMenuContentPropDefs:()=>s.baseMenuContentPropDefs,contextMenuItemPropDefs:()=>s.baseMenuItemPropDefs,contextMenuRadioItemPropDefs:()=>s.baseMenuRadioItemPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(5630)},43638:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{dataListItemPropDefs:()=>c,dataListLabelPropDefs:()=>d,dataListRootPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={orientation:{type:"enum",className:"rt-r-orientation",values:["horizontal","vertical"],default:"horizontal",responsive:!0},size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},trim:{...s.leadingTrimPropDef.trim,className:"rt-r-trim"}},c={align:{type:"enum",className:"rt-r-ai",values:["start","center","end","baseline","stretch"],responsive:!0}},d={...s.widthPropDefs,...s.colorPropDef,...s.highContrastPropDef}},30598:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{dialogContentPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"3",responsive:!0},width:s.widthPropDefs.width,minWidth:s.widthPropDefs.minWidth,maxWidth:{...s.widthPropDefs.maxWidth,default:"600px"}}},70502:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{dropdownMenuCheckboxItemPropDefs:()=>s.baseMenuCheckboxItemPropDefs,dropdownMenuContentPropDefs:()=>s.baseMenuContentPropDefs,dropdownMenuItemPropDefs:()=>s.baseMenuItemPropDefs,dropdownMenuRadioItemPropDefs:()=>s.baseMenuRadioItemPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(5630)},69001:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{emPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,...s.truncatePropDef,...s.textWrapPropDef}},72542:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{flexPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={as:{type:"enum",values:["div","span"],default:"div"},...s.asChildPropDef,display:{type:"enum",className:"rt-r-display",values:["none","inline-flex","flex"],responsive:!0},direction:{type:"enum",className:"rt-r-fd",values:["row","column","row-reverse","column-reverse"],responsive:!0},align:{type:"enum",className:"rt-r-ai",values:["start","center","end","baseline","stretch"],responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:["start","center","end","between"],parseValue:function(e){return"between"===e?"space-between":e},responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:["nowrap","wrap","wrap-reverse"],responsive:!0},...s.gapPropDefs}},29551:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{gridPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={as:{type:"enum",values:["div","span"],default:"div"},...s.asChildPropDef,display:{type:"enum",className:"rt-r-display",values:["none","inline-grid","grid"],responsive:!0},columns:{type:"enum | string",className:"rt-r-gtc",customProperties:["--grid-template-columns"],values:["1","2","3","4","5","6","7","8","9"],parseValue:c,responsive:!0},rows:{type:"enum | string",className:"rt-r-gtr",customProperties:["--grid-template-rows"],values:["1","2","3","4","5","6","7","8","9"],parseValue:c,responsive:!0},flow:{type:"enum",className:"rt-r-gaf",values:["row","column","dense","row-dense","column-dense"],responsive:!0},align:{type:"enum",className:"rt-r-ai",values:["start","center","end","baseline","stretch"],responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:["start","center","end","between"],parseValue:function(e){return"between"===e?"space-between":e},responsive:!0},...s.gapPropDefs};function c(e){return u.columns.values.includes(e)?e:(null==e?void 0:e.match(/^\d+$/))?"repeat(".concat(e,", minmax(0, 1fr))"):e}},5451:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{headingPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={as:{type:"enum",values:["h1","h2","h3","h4","h5","h6"],default:"h1"},...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],default:"6",responsive:!0},...s.weightPropDef,...s.textAlignPropDef,...s.leadingTrimPropDef,...s.truncatePropDef,...s.textWrapPropDef,...s.inheritedColorPropDef,...s.highContrastPropDef}},98390:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{hoverCardContentPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},width:s.widthPropDefs.width,minWidth:s.widthPropDefs.minWidth,maxWidth:{...s.widthPropDefs.maxWidth,default:"480px"},...s.heightPropDefs}},93593:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{iconButtonPropDefs:()=>s.baseButtonPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(27823)},83623:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{insetPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u=["current","0"],c={...s.asChildPropDef,side:{type:"enum",className:"rt-r-side",values:["all","x","y","top","bottom","left","right"],default:"all",responsive:!0},clip:{type:"enum",className:"rt-r-clip",values:["border-box","padding-box"],default:"border-box",responsive:!0},p:{type:"enum",className:"rt-r-p",values:u,parseValue:d,responsive:!0},px:{type:"enum",className:"rt-r-px",values:u,parseValue:d,responsive:!0},py:{type:"enum",className:"rt-r-py",values:u,parseValue:d,responsive:!0},pt:{type:"enum",className:"rt-r-pt",values:u,parseValue:d,responsive:!0},pr:{type:"enum",className:"rt-r-pr",values:u,parseValue:d,responsive:!0},pb:{type:"enum",className:"rt-r-pb",values:u,parseValue:d,responsive:!0},pl:{type:"enum",className:"rt-r-pl",values:u,parseValue:d,responsive:!0}};function d(e){return"current"===e?"inset":e}},84734:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{kbdPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={...r(85835).asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0}}},47091:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{linkPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},...s.weightPropDef,...s.leadingTrimPropDef,...s.truncatePropDef,...s.textWrapPropDef,underline:{type:"enum",className:"rt-underline",values:["auto","always","hover","none"],default:"auto"},...s.colorPropDef,...s.highContrastPropDef}},39457:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{popoverContentPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"2",responsive:!0},width:s.widthPropDefs.width,minWidth:s.widthPropDefs.minWidth,maxWidth:{...s.widthPropDefs.maxWidth,default:"480px"},...s.heightPropDefs}},46977:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{progressPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef,...s.radiusPropDef,duration:{type:"string"}}},67688:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{quotePropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,...s.truncatePropDef,...s.textWrapPropDef}},55746:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{radioCardsRootPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835),u=r(29551);let c={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef,columns:{...u.gridPropDefs.columns,default:"repeat(auto-fit, minmax(160px, 1fr))"},gap:{...u.gridPropDefs.gap,default:"4"}}},31425:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{radioGroupRootPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef}},23567:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{radioPropDefs:()=>s.baseRadioPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(1660)},67201:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{scrollAreaPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"1",responsive:!0},...s.radiusPropDef,scrollbars:{type:"enum",values:["vertical","horizontal","both"],default:"both"}}},34674:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{sectionPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={...r(85835).asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"3",responsive:!0},display:{type:"enum",className:"rt-r-display",values:["none","initial"],parseValue:function(e){return"initial"===e?"block":e},responsive:!0}}},89686:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{segmentedControlRootPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic"],default:"surface"},...r(85835).radiusPropDef}},52241:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{selectContentPropDefs:()=>d,selectRootPropDefs:()=>u,selectTriggerPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0}},c={variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft","ghost"],default:"surface"},...s.colorPropDef,...s.radiusPropDef,placeholder:{type:"string"}},d={variant:{type:"enum",className:"rt-variant",values:["solid","soft"],default:"solid"},...s.colorPropDef,...s.highContrastPropDef}},2948:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{separatorPropDefs:()=>s}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);let s={orientation:{type:"enum",className:"rt-r-orientation",values:["horizontal","vertical"],default:"horizontal",responsive:!0},size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"1",responsive:!0},color:{...r(85835).colorPropDef.color,default:"gray"},decorative:{type:"boolean",default:!0}}},33908:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{skeletonPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={loading:{type:"boolean",default:!0},...s.widthPropDefs,...s.heightPropDefs}},57197:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{sliderPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef,...s.radiusPropDef}},43239:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{spinnerPropDefs:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},loading:{type:"boolean",default:!0}}},96618:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{strongPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={...s.asChildPropDef,...s.truncatePropDef,...s.textWrapPropDef}},36070:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{switchPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.highContrastPropDef,...s.radiusPropDef}},96427:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{tabNavLinkPropDefs:()=>c,tabNavRootPropDefs:()=>u.baseTabListPropDefs}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835),u=r(40327);let c={...s.asChildPropDef,active:{type:"boolean",default:!1}}},64563:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{tableCellPropDefs:()=>d,tableRootPropDefs:()=>u,tableRowPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","ghost"],default:"ghost"},layout:{type:"enum",className:"rt-r-tl",values:["auto","fixed"],responsive:!0}},c={align:{type:"enum",className:"rt-r-va",values:["start","center","end","baseline"],parseValue:function(e){return({baseline:"baseline",start:"top",center:"middle",end:"bottom"})[e]},responsive:!0}},d={justify:{type:"enum",className:"rt-r-ta",values:["start","center","end"],parseValue:function(e){return({start:"left",center:"center",end:"right"})[e]},responsive:!0},...s.widthPropDefs,...s.paddingPropDefs}},44760:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{tabsContentPropDefs:()=>d,tabsListPropDefs:()=>u.baseTabListPropDefs,tabsRootPropDefs:()=>c}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835),u=r(40327);let c={...s.asChildPropDef},d={...s.asChildPropDef}},6143:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{textAreaPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},resize:{type:"enum",className:"rt-r-resize",values:["none","vertical","horizontal","both"],responsive:!0},...s.colorPropDef,...s.radiusPropDef}},23873:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{textFieldRootPropDefs:()=>c,textFieldSlotPropDefs:()=>d}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835),u=r(72542);let c={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...s.colorPropDef,...s.radiusPropDef},d={side:{type:"enum",values:["left","right"]},...s.inheritedColorPropDef,gap:u.flexPropDefs.gap,px:s.paddingPropDefs.px,pl:s.paddingPropDefs.pl,pr:s.paddingPropDefs.pr}},86517:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{textPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={as:{type:"enum",values:["span","div","label","p"],default:"span"},...s.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},...s.weightPropDef,...s.textAlignPropDef,...s.leadingTrimPropDef,...s.truncatePropDef,...s.textWrapPropDef,...s.inheritedColorPropDef,...s.highContrastPropDef}},89443:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{themePropDefs:()=>d}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(24118),u=r(80485),c=r(86224);let d={...s.asChildPropDef,hasBackground:{type:"boolean",default:!0},appearance:{type:"enum",values:["inherit","light","dark"],default:"inherit"},accentColor:{type:"enum",values:u.accentColors,default:"indigo"},grayColor:{type:"enum",values:u.grayColors,default:"auto"},panelBackground:{type:"enum",values:["solid","translucent"],default:"translucent"},radius:{type:"enum",values:c.radii,default:"medium"},scaling:{type:"enum",values:["90%","95%","100%","105%","110%"],default:"100%"}}},44750:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{tooltipPropDefs:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);let u={content:{type:"ReactNode",required:!0},width:s.widthPropDefs.width,minWidth:s.widthPropDefs.minWidth,maxWidth:{...s.widthPropDefs.maxWidth,default:"360px"}}},77071:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty;e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),{})},21611:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function l(e){let{m:t,mx:r,my:n,mt:o,mr:a,mb:l,ml:i,...s}=e;return{m:t,mx:r,my:n,mt:o,mr:a,mb:l,ml:i,rest:s}}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{extractMarginProps:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a)},72838:function(e,t,r){var n,o,a=Object.create,l=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))c.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},f={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(f,{extractProps:()=>h}),e.exports=d(l({},"__esModule",{value:!0}),f);var p=(o=null!=(n=r(97598))?a(u(n)):{},d(n&&n.__esModule?o:l(o,"default",{value:n,enumerable:!0}),n)),m=r(23158),v=r(83339),g=r(95382);function h(e){let t,r;for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let l={...e},i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Object.assign({},...t)}(...o);for(let e in i){let n=l[e],o=i[e];if(void 0!==o.default&&void 0===n&&(n=o.default),"enum"!==o.type||[o.default,...o.values].includes(n)||(0,v.isResponsiveObject)(n)||(n=o.default),l[e]=n,"className"in o&&o.className){delete l[e];let a="responsive"in o;if(!n||(0,v.isResponsiveObject)(n)&&!a)continue;if((0,v.isResponsiveObject)(n)&&(void 0!==o.default&&void 0===n.initial&&(n.initial=o.default),"enum"===o.type&&([o.default,...o.values].includes(n.initial)||(n.initial=o.default))),"enum"===o.type){let e=(0,m.getResponsiveClassNames)({allowArbitraryValues:!1,value:n,className:o.className,propValues:o.values,parseValue:o.parseValue});t=(0,p.default)(t,e);continue}if("string"===o.type||"enum | string"===o.type){let e="string"===o.type?[]:o.values,[a,l]=(0,m.getResponsiveStyles)({className:o.className,customProperties:o.customProperties,propValues:e,parseValue:o.parseValue,value:n});r=(0,g.mergeStyles)(r,l),t=(0,p.default)(t,a);continue}if("boolean"===o.type&&n){t=(0,p.default)(t,o.className);continue}}}return l.className=(0,p.default)(t,e.className),l.style=(0,g.mergeStyles)(r,e.style),l}},49915:function(e,t,r){var n,o,a=Object.create,l=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))c.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},f={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(f,{getMarginStyles:()=>y}),e.exports=d(l({},"__esModule",{value:!0}),f);var p=(o=null!=(n=r(97598))?a(u(n)):{},d(n&&n.__esModule?o:l(o,"default",{value:n,enumerable:!0}),n)),m=r(23809),v=r(23158),g=r(95382);let h=m.marginPropDefs.m.values;function y(e){let[t,r]=(0,v.getResponsiveStyles)({className:"rt-r-m",customProperties:["--margin"],propValues:h,value:e.m}),[n,o]=(0,v.getResponsiveStyles)({className:"rt-r-mx",customProperties:["--margin-left","--margin-right"],propValues:h,value:e.mx}),[a,l]=(0,v.getResponsiveStyles)({className:"rt-r-my",customProperties:["--margin-top","--margin-bottom"],propValues:h,value:e.my}),[i,s]=(0,v.getResponsiveStyles)({className:"rt-r-mt",customProperties:["--margin-top"],propValues:h,value:e.mt}),[u,c]=(0,v.getResponsiveStyles)({className:"rt-r-mr",customProperties:["--margin-right"],propValues:h,value:e.mr}),[d,f]=(0,v.getResponsiveStyles)({className:"rt-r-mb",customProperties:["--margin-bottom"],propValues:h,value:e.mb}),[m,y]=(0,v.getResponsiveStyles)({className:"rt-r-ml",customProperties:["--margin-left"],propValues:h,value:e.ml});return[(0,p.default)(t,n,a,i,u,d,m),(0,g.mergeStyles)(r,o,l,s,c,f,y)]}},65003:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function l(e){switch(e){case"tomato":case"red":case"ruby":case"crimson":case"pink":case"plum":case"purple":case"violet":return"mauve";case"iris":case"indigo":case"blue":case"sky":case"cyan":return"slate";case"teal":case"jade":case"mint":case"green":return"sage";case"grass":case"lime":return"olive";case"yellow":case"amber":case"orange":case"brown":case"gold":case"bronze":return"sand";case"gray":return"gray"}}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{getMatchingGrayColor:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a)},23158:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{getResponsiveClassNames:()=>f,getResponsiveCustomProperties:()=>m,getResponsiveStyles:()=>d}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85675),u=r(2533),c=r(83339);function d(e){let{className:t,customProperties:r,...n}=e;return[f({allowArbitraryValues:!0,className:t,...n}),m({customProperties:r,...n})]}function f(e){let{allowArbitraryValues:t,value:r,className:n,propValues:o,parseValue:a=e=>e}=e,l=[];if(r){if("string"==typeof r&&o.includes(r))return p(n,r,a);if((0,c.isResponsiveObject)(r)){for(let e in r){if(!(0,u.hasOwnProperty)(r,e)||!s.breakpoints.includes(e))continue;let i=r[e];if(void 0!==i){if(o.includes(i)){let t=p(n,i,a),r="initial"===e?t:"".concat(e,":").concat(t);l.push(r)}else if(t){let t="initial"===e?n:"".concat(e,":").concat(n);l.push(t)}}}return l.join(" ")}if(t)return n}}function p(e,t,r){let n=r(t),o=null==n?void 0:n.startsWith("-"),a=o?null==n?void 0:n.substring(1):n;return"".concat(o?"-":"").concat(e).concat(e?"-":"").concat(a)}function m(e){let{customProperties:t,value:r,propValues:n,parseValue:o=e=>e}=e,a={};if(!(!r||"string"==typeof r&&n.includes(r))){if("string"==typeof r&&(a=Object.fromEntries(t.map(e=>[e,r]))),(0,c.isResponsiveObject)(r))for(let e in r){if(!(0,u.hasOwnProperty)(r,e)||!s.breakpoints.includes(e))continue;let o=r[e];if(!n.includes(o))for(let r of t)a={["initial"===e?r:"".concat(r,"-").concat(e)]:o,...a}}for(let e in a){let t=a[e];void 0!==t&&(a[e]=o(t))}return a}}},14983:function(e,t,r){var n,o,a=Object.create,l=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))c.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},f={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(f,{getSubtree:()=>m}),e.exports=d(l({},"__esModule",{value:!0}),f);var p=(o=null!=(n=r(91710))?a(u(n)):{},d(n&&n.__esModule?o:l(o,"default",{value:n,enumerable:!0}),n));function m(e,t){let{asChild:r,children:n}=e;if(!r)return"function"==typeof t?t(n):t;let o=p.Children.only(n);return p.cloneElement(o,{children:"function"==typeof t?t(o.props.children):t})}},2533:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{hasOwnProperty:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a)},83869:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i=(e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(i=o(t,s))||i.enumerable});return e},s=(e,t,r)=>(i(e,t,"default"),r&&i(r,t,"default")),u={};e.exports=i(n({},"__esModule",{value:!0}),u),s(u,r(77071),e.exports),s(u,r(21611),e.exports),s(u,r(72838),e.exports),s(u,r(49915),e.exports),s(u,r(65003),e.exports),s(u,r(23158),e.exports),s(u,r(14983),e.exports),s(u,r(2533),e.exports),s(u,r(59725),e.exports),s(u,r(83339),e.exports),s(u,r(88777),e.exports),s(u,r(95382),e.exports),s(u,r(84321),e.exports)},59725:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty;e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),{})},83339:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{isResponsiveObject:()=>u}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(85835);function u(e){return"object"==typeof e&&Object.keys(e).some(e=>s.breakpoints.includes(e))}},88777:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function l(e,t){if(void 0!==e)return"string"==typeof e?t(e):Object.fromEntries(Object.entries(e).map(e=>{let[r,n]=e;return[r,t(n)]}))}function i(e){return"3"===e?"3":"2"}function s(e){switch(e){case"1":return"1";case"2":case"3":return"2";case"4":return"3"}}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{mapButtonSizeToSpinnerSize:()=>s,mapCalloutSizeToTextSize:()=>i,mapResponsiveProp:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a)},95382:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n={};for(let e of t)e&&(n={...n,...e});return Object.keys(n).length?n:void 0}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{mergeStyles:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a)},84321:function(e,t,r){var n,o,a=Object.create,l=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))c.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=i(t,o))||n.enumerable});return e},f={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(f,{requireReactElement:()=>m}),e.exports=d(l({},"__esModule",{value:!0}),f);var p=(o=null!=(n=r(91710))?a(u(n)):{},d(n&&n.__esModule?o:l(o,"default",{value:n,enumerable:!0}),n));let m=e=>{if(!p.isValidElement(e))throw Error("Expected a single React Element child, but got: ".concat(p.Children.toArray(e).map(e=>"object"==typeof e&&"type"in e&&"string"==typeof e.type?e.type:typeof e).join(", ")));return e}},24118:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{asChildPropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={asChild:{type:"boolean"}}},80485:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{accentColors:()=>l,colorPropDef:()=>s,grayColors:()=>i,inheritedColorPropDef:()=>u}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"],i=["auto","gray","mauve","slate","sage","olive","sand"],s={color:{type:"enum",values:l,default:""}},u={color:{type:"enum",values:l,default:void 0}}},32355:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{gapPropDefs:()=>i}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=["0","1","2","3","4","5","6","7","8","9"],i={gap:{type:"enum | string",className:"rt-r-gap",customProperties:["--gap"],values:l,responsive:!0},gapX:{type:"enum | string",className:"rt-r-cg",customProperties:["--column-gap"],values:l,responsive:!0},gapY:{type:"enum | string",className:"rt-r-rg",customProperties:["--row-gap"],values:l,responsive:!0}}},79332:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{heightPropDefs:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={height:{type:"string",className:"rt-r-h",customProperties:["--height"],responsive:!0},minHeight:{type:"string",className:"rt-r-min-h",customProperties:["--min-height"],responsive:!0},maxHeight:{type:"string",className:"rt-r-max-h",customProperties:["--max-height"],responsive:!0}}},8368:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{highContrastPropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={highContrast:{type:"boolean",className:"rt-high-contrast",default:void 0}}},85835:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i=(e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(i=o(t,s))||i.enumerable});return e},s=(e,t,r)=>(i(e,t,"default"),r&&i(r,t,"default")),u={};e.exports=i(n({},"__esModule",{value:!0}),u),s(u,r(85675),e.exports),s(u,r(24118),e.exports),s(u,r(80485),e.exports),s(u,r(32355),e.exports),s(u,r(79332),e.exports),s(u,r(8368),e.exports),s(u,r(52709),e.exports),s(u,r(78488),e.exports),s(u,r(23809),e.exports),s(u,r(80984),e.exports),s(u,r(86224),e.exports),s(u,r(55492),e.exports),s(u,r(6061),e.exports),s(u,r(21885),e.exports),s(u,r(36641),e.exports),s(u,r(78210),e.exports),s(u,r(17019),e.exports),s(u,r(1022),e.exports),s(u,r(14478),e.exports),s(u,r(56471),e.exports),s(u,r(90802),e.exports),s(u,r(31272),e.exports),s(u,r(40170),e.exports),s(u,r(72314),e.exports),s(u,r(35064),e.exports),s(u,r(37284),e.exports),s(u,r(4308),e.exports),s(u,r(18482),e.exports),s(u,r(53311),e.exports),s(u,r(85798),e.exports),s(u,r(43638),e.exports),s(u,r(30598),e.exports),s(u,r(70502),e.exports),s(u,r(69001),e.exports),s(u,r(72542),e.exports),s(u,r(29551),e.exports),s(u,r(5451),e.exports),s(u,r(98390),e.exports),s(u,r(93593),e.exports),s(u,r(83623),e.exports),s(u,r(84734),e.exports),s(u,r(47091),e.exports),s(u,r(39457),e.exports),s(u,r(46977),e.exports),s(u,r(67688),e.exports),s(u,r(23567),e.exports),s(u,r(55746),e.exports),s(u,r(31425),e.exports),s(u,r(67201),e.exports),s(u,r(34674),e.exports),s(u,r(89686),e.exports),s(u,r(52241),e.exports),s(u,r(2948),e.exports),s(u,r(33908),e.exports),s(u,r(57197),e.exports),s(u,r(43239),e.exports),s(u,r(96618),e.exports),s(u,r(36070),e.exports),s(u,r(96427),e.exports),s(u,r(64563),e.exports),s(u,r(44760),e.exports),s(u,r(6143),e.exports),s(u,r(23873),e.exports),s(u,r(86517),e.exports),s(u,r(89443),e.exports),s(u,r(44750),e.exports)},52709:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{layoutPropDefs:()=>p}),e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(i=o(t,r))||i.enumerable});return e})(n({},"__esModule",{value:!0}),i);var s=r(80984),u=r(79332),c=r(78210);let d=["visible","hidden","clip","scroll","auto"],f=["0","1","2","3","4","5","6","7","8","9","-1","-2","-3","-4","-5","-6","-7","-8","-9"],p={...s.paddingPropDefs,...c.widthPropDefs,...u.heightPropDefs,position:{type:"enum",className:"rt-r-position",values:["static","relative","absolute","fixed","sticky"],responsive:!0},inset:{type:"enum | string",className:"rt-r-inset",customProperties:["--inset"],values:f,responsive:!0},top:{type:"enum | string",className:"rt-r-top",customProperties:["--top"],values:f,responsive:!0},right:{type:"enum | string",className:"rt-r-right",customProperties:["--right"],values:f,responsive:!0},bottom:{type:"enum | string",className:"rt-r-bottom",customProperties:["--bottom"],values:f,responsive:!0},left:{type:"enum | string",className:"rt-r-left",customProperties:["--left"],values:f,responsive:!0},overflow:{type:"enum",className:"rt-r-overflow",values:d,responsive:!0},overflowX:{type:"enum",className:"rt-r-ox",values:d,responsive:!0},overflowY:{type:"enum",className:"rt-r-oy",values:d,responsive:!0},flexBasis:{type:"string",className:"rt-r-fb",customProperties:["--flex-basis"],responsive:!0},flexShrink:{type:"enum | string",className:"rt-r-fs",customProperties:["--flex-shrink"],values:["0","1"],responsive:!0},flexGrow:{type:"enum | string",className:"rt-r-fg",customProperties:["--flex-grow"],values:["0","1"],responsive:!0},gridColumn:{type:"string",className:"rt-r-gc",customProperties:["--grid-column"],responsive:!0},gridColumnStart:{type:"string",className:"rt-r-gcs",customProperties:["--grid-column-start"],responsive:!0},gridColumnEnd:{type:"string",className:"rt-r-gce",customProperties:["--grid-column-end"],responsive:!0},gridRow:{type:"string",className:"rt-r-gr",customProperties:["--grid-row"],responsive:!0},gridRowStart:{type:"string",className:"rt-r-grs",customProperties:["--grid-row-start"],responsive:!0},gridRowEnd:{type:"string",className:"rt-r-gre",customProperties:["--grid-row-end"],responsive:!0}}},78488:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{leadingTrimPropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={trim:{type:"enum",className:"rt-r-lt",values:["normal","start","end","both"],responsive:!0}}},23809:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{marginPropDefs:()=>i}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=["0","1","2","3","4","5","6","7","8","9","-1","-2","-3","-4","-5","-6","-7","-8","-9"],i={m:{type:"enum | string",values:l,responsive:!0,className:"rt-r-m",customProperties:["--m"]},mx:{type:"enum | string",values:l,responsive:!0,className:"rt-r-mx",customProperties:["--ml","--mr"]},my:{type:"enum | string",values:l,responsive:!0,className:"rt-r-my",customProperties:["--mt","--mb"]},mt:{type:"enum | string",values:l,responsive:!0,className:"rt-r-mt",customProperties:["--mt"]},mr:{type:"enum | string",values:l,responsive:!0,className:"rt-r-mr",customProperties:["--mr"]},mb:{type:"enum | string",values:l,responsive:!0,className:"rt-r-mb",customProperties:["--mb"]},ml:{type:"enum | string",values:l,responsive:!0,className:"rt-r-ml",customProperties:["--ml"]}}},80984:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{paddingPropDefs:()=>i}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=["0","1","2","3","4","5","6","7","8","9"],i={p:{type:"enum | string",className:"rt-r-p",customProperties:["--p"],values:l,responsive:!0},px:{type:"enum | string",className:"rt-r-px",customProperties:["--pl","--pr"],values:l,responsive:!0},py:{type:"enum | string",className:"rt-r-py",customProperties:["--pt","--pb"],values:l,responsive:!0},pt:{type:"enum | string",className:"rt-r-pt",customProperties:["--pt"],values:l,responsive:!0},pr:{type:"enum | string",className:"rt-r-pr",customProperties:["--pr"],values:l,responsive:!0},pb:{type:"enum | string",className:"rt-r-pb",customProperties:["--pb"],values:l,responsive:!0},pl:{type:"enum | string",className:"rt-r-pl",customProperties:["--pl"],values:l,responsive:!0}}},85675:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{breakpoints:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=["initial","xs","sm","md","lg","xl"]},86224:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{radii:()=>l,radiusPropDef:()=>i}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l=["none","small","medium","large","full"],i={radius:{type:"enum",values:l,default:void 0}}},55492:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{textAlignPropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={align:{type:"enum",className:"rt-r-ta",values:["left","center","right"],responsive:!0}}},6061:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{textWrapPropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={wrap:{type:"enum",className:"rt-r-tw",values:["wrap","nowrap","pretty","balance"],responsive:!0}}},21885:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{truncatePropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={truncate:{type:"boolean",className:"rt-truncate"}}},36641:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{weightPropDef:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={weight:{type:"enum",className:"rt-r-weight",values:["light","regular","medium","bold"],responsive:!0}}},78210:function(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{widthPropDefs:()=>l}),e.exports=((e,a,l,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))o.call(e,l)||void 0===l||t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable});return e})(t({},"__esModule",{value:!0}),a);let l={width:{type:"string",className:"rt-r-w",customProperties:["--width"],responsive:!0},minWidth:{type:"string",className:"rt-r-min-w",customProperties:["--min-width"],responsive:!0},maxWidth:{type:"string",className:"rt-r-max-w",customProperties:["--max-width"],responsive:!0}}},97598:function(e,t){var r;!/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/function(){var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}(r)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(r=(function(){return o}).apply(t,[]))&&(e.exports=r)}()},99503:function(e,t,r){r.d(t,{Z:function(){return n}});function n(){return(n=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}).apply(this,arguments)}},74055:function(e,t,r){r.d(t,{Cp:function(){return f},Qo:function(){return m},RR:function(){return u},US:function(){return l},X5:function(){return s},cv:function(){return g},dp:function(){return b},dr:function(){return y},oo:function(){return a},uY:function(){return h},x7:function(){return i}});var n=r(83210);function o(e,t,r){let o,{reference:a,floating:l}=e,i=(0,n.Qq)(t),s=(0,n.Wh)(t),u=(0,n.I4)(s),c=(0,n.k3)(t),d="y"===i,f=a.x+a.width/2-l.width/2,p=a.y+a.height/2-l.height/2,m=a[u]/2-l[u]/2;switch(c){case"top":o={x:f,y:a.y-l.height};break;case"bottom":o={x:f,y:a.y+a.height};break;case"right":o={x:a.x+a.width,y:p};break;case"left":o={x:a.x-l.width,y:p};break;default:o={x:a.x,y:a.y}}switch((0,n.hp)(t)){case"start":o[s]-=m*(r&&d?-1:1);break;case"end":o[s]+=m*(r&&d?-1:1)}return o}let a=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:l=[],platform:i}=r,s=l.filter(Boolean),u=await (null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:f}=o(c,n,u),p=n,m={},v=0;for(let r=0;r<s.length;r++){let{name:l,fn:g}=s[r],{x:h,y:y,data:b,reset:w}=await g({x:d,y:f,initialPlacement:n,placement:p,strategy:a,middlewareData:m,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=h?h:d,f=null!=y?y:f,m={...m,[l]:{...m[l],...b}},w&&v<=50&&(v++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(c=!0===w.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):w.rects),{x:d,y:f}=o(c,p,u)),r=-1)}return{x:d,y:f,placement:p,strategy:a,middlewareData:m}};async function l(e,t){var r;void 0===t&&(t={});let{x:o,y:a,platform:l,rects:i,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=(0,n.ku)(t,e),v=(0,n.yd)(m),g=s[p?"floating"===f?"reference":"floating":f],h=(0,n.JB)(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(g)))||r?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:u})),y="floating"===f?{...i.floating,x:o,y:a}:i.reference,b=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s.floating)),w=await (null==l.isElement?void 0:l.isElement(b))&&await (null==l.getScale?void 0:l.getScale(b))||{x:1,y:1},C=(0,n.JB)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:u}):y);return{top:(h.top-C.top+v.top)/w.y,bottom:(C.bottom-h.bottom+v.bottom)/w.y,left:(h.left-C.left+v.left)/w.x,right:(C.right-h.right+v.right)/w.x}}let i=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:a,rects:l,platform:i,elements:s,middlewareData:u}=t,{element:c,padding:d=0}=(0,n.ku)(e,t)||{};if(null==c)return{};let f=(0,n.yd)(d),p={x:r,y:o},m=(0,n.Wh)(a),v=(0,n.I4)(m),g=await i.getDimensions(c),h="y"===m,y=h?"clientHeight":"clientWidth",b=l.reference[v]+l.reference[m]-p[m]-l.floating[v],w=p[m]-l.reference[m],C=await (null==i.getOffsetParent?void 0:i.getOffsetParent(c)),E=C?C[y]:0;E&&await (null==i.isElement?void 0:i.isElement(C))||(E=s.floating[y]||l.floating[v]);let P=E/2-g[v]/2-1,x=(0,n.VV)(f[h?"top":"left"],P),N=(0,n.VV)(f[h?"bottom":"right"],P),O=E-g[v]-N,R=E/2-g[v]/2+(b/2-w/2),D=(0,n.uZ)(x,R,O),M=!u.arrow&&null!=(0,n.hp)(a)&&R!==D&&l.reference[v]/2-(R<x?x:N)-g[v]/2<0,_=M?R<x?R-x:R-O:0;return{[m]:p[m]+_,data:{[m]:D,centerOffset:R-D-_,...M&&{alignmentOffset:_}},reset:M}}}),s=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a,i;let{rects:s,middlewareData:u,placement:c,platform:d,elements:f}=t,{crossAxis:p=!1,alignment:m,allowedPlacements:v=n.Ct,autoAlignment:g=!0,...h}=(0,n.ku)(e,t),y=void 0!==m||v===n.Ct?((i=m||null)?[...v.filter(e=>(0,n.hp)(e)===i),...v.filter(e=>(0,n.hp)(e)!==i)]:v.filter(e=>(0,n.k3)(e)===e)).filter(e=>!i||(0,n.hp)(e)===i||!!g&&(0,n.Go)(e)!==e):v,b=await l(t,h),w=(null==(r=u.autoPlacement)?void 0:r.index)||0,C=y[w];if(null==C)return{};let E=(0,n.i8)(C,s,await (null==d.isRTL?void 0:d.isRTL(f.floating)));if(c!==C)return{reset:{placement:y[0]}};let P=[b[(0,n.k3)(C)],b[E[0]],b[E[1]]],x=[...(null==(o=u.autoPlacement)?void 0:o.overflows)||[],{placement:C,overflows:P}],N=y[w+1];if(N)return{data:{index:w+1,overflows:x},reset:{placement:N}};let O=x.map(e=>{let t=(0,n.hp)(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),R=(null==(a=O.filter(e=>e[2].slice(0,(0,n.hp)(e[0])?2:3).every(e=>e<=0))[0])?void 0:a[0])||O[0][0];return R!==c?{data:{index:w+1,overflows:x},reset:{placement:R}}:{}}}},u=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o,a,i,s;let{placement:u,middlewareData:c,rects:d,initialPlacement:f,platform:p,elements:m}=t,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:h,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,...C}=(0,n.ku)(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let E=(0,n.k3)(u),P=(0,n.k3)(f)===f,x=await (null==p.isRTL?void 0:p.isRTL(m.floating)),N=h||(P||!w?[(0,n.pw)(f)]:(0,n.gy)(f));h||"none"===b||N.push(...(0,n.KX)(f,w,b,x));let O=[f,...N],R=await l(t,C),D=[],M=(null==(o=c.flip)?void 0:o.overflows)||[];if(v&&D.push(R[E]),g){let e=(0,n.i8)(u,d,x);D.push(R[e[0]],R[e[1]])}if(M=[...M,{placement:u,overflows:D}],!D.every(e=>e<=0)){let e=((null==(a=c.flip)?void 0:a.index)||0)+1,t=O[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let r=null==(i=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(y){case"bestFit":{let e=null==(s=M.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(r=e);break}case"initialPlacement":r=f}if(u!==r)return{reset:{placement:r}}}return{}}}};function c(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function d(e){return n.mA.some(t=>e[t]>=0)}let f=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:o="referenceHidden",...a}=(0,n.ku)(e,t);switch(o){case"referenceHidden":{let e=c(await l(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:d(e)}}}case"escaped":{let e=c(await l(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:d(e)}}}default:return{}}}}};function p(e){let t=(0,n.VV)(...e.map(e=>e.left)),r=(0,n.VV)(...e.map(e=>e.top));return{x:t,y:r,width:(0,n.Fp)(...e.map(e=>e.right))-t,height:(0,n.Fp)(...e.map(e=>e.bottom))-r}}let m=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:r,elements:o,rects:a,platform:l,strategy:i}=t,{padding:s=2,x:u,y:c}=(0,n.ku)(e,t),d=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(o.reference))||[]),f=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),r=[],o=null;for(let e=0;e<t.length;e++){let n=t[e];!o||n.y-o.y>o.height/2?r.push([n]):r[r.length-1].push(n),o=n}return r.map(e=>(0,n.JB)(p(e)))}(d),m=(0,n.JB)(p(d)),v=(0,n.yd)(s),g=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===f.length&&f[0].left>f[1].right&&null!=u&&null!=c)return f.find(e=>u>e.left-v.left&&u<e.right+v.right&&c>e.top-v.top&&c<e.bottom+v.bottom)||m;if(f.length>=2){if("y"===(0,n.Qq)(r)){let e=f[0],t=f[f.length-1],o="top"===(0,n.k3)(r),a=e.top,l=t.bottom,i=o?e.left:t.left,s=o?e.right:t.right;return{top:a,bottom:l,left:i,right:s,width:s-i,height:l-a,x:i,y:a}}let e="left"===(0,n.k3)(r),t=(0,n.Fp)(...f.map(e=>e.right)),o=(0,n.VV)(...f.map(e=>e.left)),a=f.filter(r=>e?r.left===o:r.right===t),l=a[0].top,i=a[a.length-1].bottom;return{top:l,bottom:i,left:o,right:t,width:t-o,height:i-l,x:o,y:l}}return m}},floating:o.floating,strategy:i});return a.reference.x!==g.reference.x||a.reference.y!==g.reference.y||a.reference.width!==g.reference.width||a.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}};async function v(e,t){let{placement:r,platform:o,elements:a}=e,l=await (null==o.isRTL?void 0:o.isRTL(a.floating)),i=(0,n.k3)(r),s=(0,n.hp)(r),u="y"===(0,n.Qq)(r),c=["left","top"].includes(i)?-1:1,d=l&&u?-1:1,f=(0,n.ku)(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof v&&(m="end"===s?-1*v:v),u?{x:m*d,y:p*c}:{x:p*c,y:m*d}}let g=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:a,placement:l,middlewareData:i}=t,s=await v(t,e);return l===(null==(r=i.offset)?void 0:r.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:l}}}}},h=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=(0,n.ku)(e,t),d={x:r,y:o},f=await l(t,c),p=(0,n.Qq)((0,n.k3)(a)),m=(0,n.Rn)(p),v=d[m],g=d[p];if(i){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=v+f[e],o=v-f[t];v=(0,n.uZ)(r,v,o)}if(s){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=g+f[e],o=g-f[t];g=(0,n.uZ)(r,g,o)}let h=u.fn({...t,[m]:v,[p]:g});return{...h,data:{x:h.x-r,y:h.y-o}}}}},y=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:o,placement:a,rects:l,middlewareData:i}=t,{offset:s=0,mainAxis:u=!0,crossAxis:c=!0}=(0,n.ku)(e,t),d={x:r,y:o},f=(0,n.Qq)(a),p=(0,n.Rn)(f),m=d[p],v=d[f],g=(0,n.ku)(s,t),h="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){let e="y"===p?"height":"width",t=l.reference[p]-l.floating[e]+h.mainAxis,r=l.reference[p]+l.reference[e]-h.mainAxis;m<t?m=t:m>r&&(m=r)}if(c){var y,b;let e="y"===p?"width":"height",t=["top","left"].includes((0,n.k3)(a)),r=l.reference[f]-l.floating[e]+(t&&(null==(y=i.offset)?void 0:y[f])||0)+(t?0:h.crossAxis),o=l.reference[f]+l.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[f])||0)-(t?h.crossAxis:0);v<r?v=r:v>o&&(v=o)}return{[p]:m,[f]:v}}}},b=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,o;let{placement:a,rects:i,platform:s,elements:u}=t,{apply:c=()=>{},...d}=(0,n.ku)(e,t),f=await l(t,d),p=(0,n.k3)(a),m=(0,n.hp)(a),v="y"===(0,n.Qq)(a),{width:g,height:h}=i.floating;"top"===p||"bottom"===p?(r=p,o=m===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(o=p,r="end"===m?"top":"bottom");let y=h-f[r],b=g-f[o],w=!t.middlewareData.shift,C=y,E=b;if(v){let e=g-f.left-f.right;E=m||w?(0,n.VV)(b,e):e}else{let e=h-f.top-f.bottom;C=m||w?(0,n.VV)(y,e):e}if(w&&!m){let e=(0,n.Fp)(f.left,0),t=(0,n.Fp)(f.right,0),r=(0,n.Fp)(f.top,0),o=(0,n.Fp)(f.bottom,0);v?E=g-2*(0!==e||0!==t?e+t:(0,n.Fp)(f.left,f.right)):C=h-2*(0!==r||0!==o?r+o:(0,n.Fp)(f.top,f.bottom))}await c({...t,availableWidth:E,availableHeight:C});let P=await s.getDimensions(u.floating);return g!==P.width||h!==P.height?{reset:{rects:!0}}:{}}}}},72709:function(e,t,r){r.d(t,{Cp:function(){return N},Jv:function(){return b},Me:function(){return w},Qo:function(){return R},RR:function(){return P},X5:function(){return C},dp:function(){return x},dr:function(){return D},oo:function(){return M},uY:function(){return E},x7:function(){return O}});var n=r(83210),o=r(74055),a=r(64360);function l(e){let t=(0,a.Dx)(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,l=(0,a.Re)(e),i=l?e.offsetWidth:r,s=l?e.offsetHeight:o,u=(0,n.NM)(r)!==i||(0,n.NM)(o)!==s;return u&&(r=i,o=s),{width:r,height:o,$:u}}function i(e){return(0,a.kK)(e)?e:e.contextElement}function s(e){let t=i(e);if(!(0,a.Re)(t))return(0,n.ze)(1);let r=t.getBoundingClientRect(),{width:o,height:s,$:u}=l(t),c=(u?(0,n.NM)(r.width):r.width)/o,d=(u?(0,n.NM)(r.height):r.height)/s;return c&&Number.isFinite(c)||(c=1),d&&Number.isFinite(d)||(d=1),{x:c,y:d}}let u=(0,n.ze)(0);function c(e){let t=(0,a.Jj)(e);return(0,a.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:u}function d(e,t,r,o){var l;void 0===t&&(t=!1),void 0===r&&(r=!1);let u=e.getBoundingClientRect(),d=i(e),f=(0,n.ze)(1);t&&(o?(0,a.kK)(o)&&(f=s(o)):f=s(e));let p=(void 0===(l=r)&&(l=!1),o&&(!l||o===(0,a.Jj)(d))&&l)?c(d):(0,n.ze)(0),m=(u.left+p.x)/f.x,v=(u.top+p.y)/f.y,g=u.width/f.x,h=u.height/f.y;if(d){let e=(0,a.Jj)(d),t=o&&(0,a.kK)(o)?(0,a.Jj)(o):o,r=e,n=r.frameElement;for(;n&&o&&t!==r;){let e=s(n),t=n.getBoundingClientRect(),o=(0,a.Dx)(n),l=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;m*=e.x,v*=e.y,g*=e.x,h*=e.y,m+=l,v+=i,n=(r=(0,a.Jj)(n)).frameElement}}return(0,n.JB)({width:g,height:h,x:m,y:v})}let f=[":popover-open",":modal"];function p(e){return f.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function m(e){return d((0,a.tF)(e)).left+(0,a.Lw)(e).scrollLeft}function v(e,t,r){let o;if("viewport"===t)o=function(e,t){let r=(0,a.Jj)(e),n=(0,a.tF)(e),o=r.visualViewport,l=n.clientWidth,i=n.clientHeight,s=0,u=0;if(o){l=o.width,i=o.height;let e=(0,a.Pf)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:l,height:i,x:s,y:u}}(e,r);else if("document"===t)o=function(e){let t=(0,a.tF)(e),r=(0,a.Lw)(e),o=e.ownerDocument.body,l=(0,n.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=(0,n.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+m(e),u=-r.scrollTop;return"rtl"===(0,a.Dx)(o).direction&&(s+=(0,n.Fp)(t.clientWidth,o.clientWidth)-l),{width:l,height:i,x:s,y:u}}((0,a.tF)(e));else if((0,a.kK)(t))o=function(e,t){let r=d(e,!0,"fixed"===t),o=r.top+e.clientTop,l=r.left+e.clientLeft,i=(0,a.Re)(e)?s(e):(0,n.ze)(1),u=e.clientWidth*i.x;return{width:u,height:e.clientHeight*i.y,x:l*i.x,y:o*i.y}}(t,r);else{let r=c(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return(0,n.JB)(o)}function g(e,t){return(0,a.Re)(e)&&"fixed"!==(0,a.Dx)(e).position?t?t(e):e.offsetParent:null}function h(e,t){let r=(0,a.Jj)(e);if(!(0,a.Re)(e)||p(e))return r;let n=g(e,t);for(;n&&(0,a.Ze)(n)&&"static"===(0,a.Dx)(n).position;)n=g(n,t);return n&&("html"===(0,a.wk)(n)||"body"===(0,a.wk)(n)&&"static"===(0,a.Dx)(n).position&&!(0,a.hT)(n))?r:n||(0,a.gQ)(e)||r}let y=async function(e){let t=this.getOffsetParent||h,r=this.getDimensions;return{reference:function(e,t,r){let o=(0,a.Re)(t),l=(0,a.tF)(t),i="fixed"===r,s=d(e,!0,i,t),u={scrollLeft:0,scrollTop:0},c=(0,n.ze)(0);if(o||!o&&!i){if(("body"!==(0,a.wk)(t)||(0,a.ao)(l))&&(u=(0,a.Lw)(t)),o){let e=d(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else l&&(c.x=m(l))}return{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}},b={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:l}=e,i="fixed"===l,u=(0,a.tF)(o),c=!!t&&p(t.floating);if(o===u||c&&i)return r;let f={scrollLeft:0,scrollTop:0},m=(0,n.ze)(1),v=(0,n.ze)(0),g=(0,a.Re)(o);if((g||!g&&!i)&&(("body"!==(0,a.wk)(o)||(0,a.ao)(u))&&(f=(0,a.Lw)(o)),(0,a.Re)(o))){let e=d(o);m=s(o),v.x=e.x+o.clientLeft,v.y=e.y+o.clientTop}return{width:r.width*m.x,height:r.height*m.y,x:r.x*m.x-f.scrollLeft*m.x+v.x,y:r.y*m.y-f.scrollTop*m.y+v.y}},getDocumentElement:a.tF,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:l}=e,i=[..."clippingAncestors"===r?function(e,t){let r=t.get(e);if(r)return r;let n=(0,a.Kx)(e,[],!1).filter(e=>(0,a.kK)(e)&&"body"!==(0,a.wk)(e)),o=null,l="fixed"===(0,a.Dx)(e).position,i=l?(0,a.Ow)(e):e;for(;(0,a.kK)(i)&&!(0,a.Py)(i);){let t=(0,a.Dx)(i),r=(0,a.hT)(i);r||"fixed"!==t.position||(o=null),(l?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,a.ao)(i)&&!r&&function e(t,r){let n=(0,a.Ow)(t);return!(n===r||!(0,a.kK)(n)||(0,a.Py)(n))&&("fixed"===(0,a.Dx)(n).position||e(n,r))}(e,i))?n=n.filter(e=>e!==i):o=t,i=(0,a.Ow)(i)}return t.set(e,n),n}(t,this._c):[].concat(r),o],s=i[0],u=i.reduce((e,r)=>{let o=v(t,r,l);return e.top=(0,n.Fp)(o.top,e.top),e.right=(0,n.VV)(o.right,e.right),e.bottom=(0,n.VV)(o.bottom,e.bottom),e.left=(0,n.Fp)(o.left,e.left),e},v(t,s,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:h,getElementRects:y,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=l(e);return{width:t,height:r}},getScale:s,isElement:a.kK,isRTL:function(e){return"rtl"===(0,a.Dx)(e).direction}};function w(e,t,r,o){let l;void 0===o&&(o={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=o,m=i(e),v=s||u?[...m?(0,a.Kx)(m):[],...(0,a.Kx)(t)]:[];v.forEach(e=>{s&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let g=m&&f?function(e,t){let r,o=null,l=(0,a.tF)(e);function i(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return!function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();let{left:c,top:d,width:f,height:p}=e.getBoundingClientRect();if(s||t(),!f||!p)return;let m=(0,n.GW)(d),v=(0,n.GW)(l.clientWidth-(c+f)),g={rootMargin:-m+"px "+-v+"px "+-(0,n.GW)(l.clientHeight-(d+p))+"px "+-(0,n.GW)(c)+"px",threshold:(0,n.Fp)(0,(0,n.VV)(1,u))||1},h=!0;function y(e){let t=e[0].intersectionRatio;if(t!==u){if(!h)return a();t?a(!1,t):r=setTimeout(()=>{a(!1,1e-7)},100)}h=!1}try{o=new IntersectionObserver(y,{...g,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(y,g)}o.observe(e)}(!0),i}(m,r):null,h=-1,y=null;c&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),m&&!p&&y.observe(m),y.observe(t));let b=p?d(e):null;return p&&function t(){let n=d(e);b&&(n.x!==b.x||n.y!==b.y||n.width!==b.width||n.height!==b.height)&&r(),b=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;v.forEach(e=>{s&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,p&&cancelAnimationFrame(l)}}let C=o.X5,E=o.uY,P=o.RR,x=o.dp,N=o.Cp,O=o.x7,R=o.Qo,D=o.dr,M=(e,t,r)=>{let n=new Map,a={platform:b,...r},l={...a.platform,_c:n};return(0,o.oo)(e,t,{...a,platform:l})}},64360:function(e,t,r){function n(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof o(e).Node}function i(e){return e instanceof Element||e instanceof o(e).Element}function s(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(n(e))}function f(e){let t=m(),r=g(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function p(e){let t=y(e);for(;s(t)&&!v(t);){if(f(t))return t;t=y(t)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(n(e))}function g(e){return o(e).getComputedStyle(e)}function h(e){return i(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||a(e);return u(t)?t.host:t}r.d(t,{Dx:function(){return g},Jj:function(){return o},Kx:function(){return function e(t,r,n){var a;void 0===r&&(r=[]),void 0===n&&(n=!0);let l=function e(t){let r=y(t);return v(r)?t.ownerDocument?t.ownerDocument.body:t.body:s(r)&&c(r)?r:e(r)}(t),i=l===(null==(a=t.ownerDocument)?void 0:a.body),u=o(l);return i?r.concat(u,u.visualViewport||[],c(l)?l:[],u.frameElement&&n?e(u.frameElement):[]):r.concat(l,e(l,[],n))}},Lw:function(){return h},Ow:function(){return y},Pf:function(){return m},Py:function(){return v},Re:function(){return s},Ze:function(){return d},ao:function(){return c},gQ:function(){return p},hT:function(){return f},kK:function(){return i},tF:function(){return a},wk:function(){return n}})},83210:function(e,t,r){r.d(t,{Ct:function(){return o},Fp:function(){return l},GW:function(){return s},Go:function(){return E},I4:function(){return h},JB:function(){return O},KX:function(){return P},NM:function(){return i},Qq:function(){return y},Rn:function(){return g},VV:function(){return a},Wh:function(){return b},gy:function(){return C},hp:function(){return v},i8:function(){return w},k3:function(){return m},ku:function(){return p},mA:function(){return n},pw:function(){return x},uZ:function(){return f},yd:function(){return N},ze:function(){return u}});let n=["top","right","bottom","left"],o=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),a=Math.min,l=Math.max,i=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t,r){return l(e,a(t,r))}function p(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(m(e))?"y":"x"}function b(e){return g(y(e))}function w(e,t,r){void 0===r&&(r=!1);let n=v(e),o=b(e),a=h(o),l="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=x(l)),[l,x(l)]}function C(e){let t=x(e);return[E(e),t,E(t)]}function E(e){return e.replace(/start|end/g,e=>d[e])}function P(e,t,r,n){let o=v(e),a=function(e,t,r){let n=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(r)return t?o:n;return t?n:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(m(e),"start"===r,n);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(E)))),a}function x(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function N(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},23422:function(e,t,r){r.d(t,{u:function(){return n}});function n(e,t){let[r,n]=t;return Math.min(n,Math.max(r,e))}},62283:function(e,t,r){r.d(t,{M:function(){return n}});function n(e,t){let{checkForDefaultPrevented:r=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}},93543:function(e,t,r){r.d(t,{C:function(){return a}});var n=r(91710),o=r(56998);let a=e=>{let{children:t,label:r}=e,a=n.Children.only(t);return(0,n.createElement)(n.Fragment,null,(0,n.cloneElement)(a,{"aria-hidden":"true",focusable:"false"}),(0,n.createElement)(o.f,null,r))}},11591:function(e,t,r){r.d(t,{VY:function(){return K},ck:function(){return H},fC:function(){return Z},h4:function(){return F},xz:function(){return B}});var n=r(99503),o=r(91710),a=r(5382),l=r(20469),i=r(37321),s=r(62283),u=r(32574),c=r(24744),d=r(54503),f=r(65276),p=r(25815);let m="Accordion",v=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[g,h,y]=(0,l.B)(m),[b,w]=(0,a.b)(m,[y,d.p_]),C=(0,d.p_)(),E=o.forwardRef((e,t)=>{let{type:r,...a}=e;return o.createElement(g.Provider,{scope:e.__scopeAccordion},"multiple"===r?o.createElement(D,(0,n.Z)({},a,{ref:t})):o.createElement(R,(0,n.Z)({},a,{ref:t})))});E.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[P,x]=b(m),[N,O]=b(m,{collapsible:!1}),R=o.forwardRef((e,t)=>{let{value:r,defaultValue:a,onValueChange:l=()=>{},collapsible:i=!1,...s}=e,[c,d]=(0,u.T)({prop:r,defaultProp:a,onChange:l});return o.createElement(P,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:d,onItemClose:o.useCallback(()=>i&&d(""),[i,d])},o.createElement(N,{scope:e.__scopeAccordion,collapsible:i},o.createElement(T,(0,n.Z)({},s,{ref:t}))))}),D=o.forwardRef((e,t)=>{let{value:r,defaultValue:a,onValueChange:l=()=>{},...i}=e,[s=[],c]=(0,u.T)({prop:r,defaultProp:a,onChange:l}),d=o.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[c]),f=o.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[c]);return o.createElement(P,{scope:e.__scopeAccordion,value:s,onItemOpen:d,onItemClose:f},o.createElement(N,{scope:e.__scopeAccordion,collapsible:!0},o.createElement(T,(0,n.Z)({},i,{ref:t}))))}),[M,_]=b(m),T=o.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:a,dir:l,orientation:u="vertical",...d}=e,f=o.useRef(null),m=(0,i.e)(f,t),y=h(r),b="ltr"===(0,p.gm)(l),w=(0,s.M)(e.onKeyDown,e=>{var t;if(!v.includes(e.key))return;let r=e.target,n=y().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),o=n.findIndex(e=>e.ref.current===r),a=n.length;if(-1===o)return;e.preventDefault();let l=o,i=a-1,s=()=>{(l=o+1)>i&&(l=0)},c=()=>{(l=o-1)<0&&(l=i)};switch(e.key){case"Home":l=0;break;case"End":l=i;break;case"ArrowRight":"horizontal"===u&&(b?s():c());break;case"ArrowDown":"vertical"===u&&s();break;case"ArrowLeft":"horizontal"===u&&(b?c():s());break;case"ArrowUp":"vertical"===u&&c()}null===(t=n[l%a].ref.current)||void 0===t||t.focus()});return o.createElement(M,{scope:r,disabled:a,direction:l,orientation:u},o.createElement(g.Slot,{scope:r},o.createElement(c.WV.div,(0,n.Z)({},d,{"data-orientation":u,ref:m,onKeyDown:a?void 0:w}))))}),S="AccordionItem",[k,j]=b(S),I=o.forwardRef((e,t)=>{let{__scopeAccordion:r,value:a,...l}=e,i=_(S,r),s=x(S,r),u=C(r),c=(0,f.M)(),p=a&&s.value.includes(a)||!1,m=i.disabled||e.disabled;return o.createElement(k,{scope:r,open:p,disabled:m,triggerId:c},o.createElement(d.fC,(0,n.Z)({"data-orientation":i.orientation,"data-state":W(p)},u,l,{ref:t,disabled:m,open:p,onOpenChange:e=>{e?s.onItemOpen(a):s.onItemClose(a)}})))}),L=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,l=_(m,r),i=j("AccordionHeader",r);return o.createElement(c.WV.h3,(0,n.Z)({"data-orientation":l.orientation,"data-state":W(i.open),"data-disabled":i.disabled?"":void 0},a,{ref:t}))}),A="AccordionTrigger",z=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,l=_(m,r),i=j(A,r),s=O(A,r),u=C(r);return o.createElement(g.ItemSlot,{scope:r},o.createElement(d.xz,(0,n.Z)({"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":l.orientation,id:i.triggerId},u,a,{ref:t})))}),V=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,l=_(m,r),i=j("AccordionContent",r),s=C(r);return o.createElement(d.VY,(0,n.Z)({role:"region","aria-labelledby":i.triggerId,"data-orientation":l.orientation},s,a,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function W(e){return e?"open":"closed"}let Z=E,H=I,F=L,B=z,K=V},87546:function(e,t,r){r.d(t,{Ed:function(){return v},fC:function(){return P},z$:function(){return x}});var n=r(99503),o=r(91710),a=r(37321),l=r(5382),i=r(62283),s=r(32574),u=r(17251),c=r(81918),d=r(73093),f=r(24744);let p="Checkbox",[m,v]=(0,l.b)(p),[g,h]=m(p),y=(0,o.forwardRef)((e,t)=>{let{__scopeCheckbox:r,name:l,checked:u,defaultChecked:c,required:d,disabled:p,value:m="on",onCheckedChange:v,...h}=e,[y,b]=(0,o.useState)(null),P=(0,a.e)(t,e=>b(e)),x=(0,o.useRef)(!1),N=!y||!!y.closest("form"),[O=!1,R]=(0,s.T)({prop:u,defaultProp:c,onChange:v}),D=(0,o.useRef)(O);return(0,o.useEffect)(()=>{let e=null==y?void 0:y.form;if(e){let t=()=>R(D.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[y,R]),(0,o.createElement)(g,{scope:r,state:O,disabled:p},(0,o.createElement)(f.WV.button,(0,n.Z)({type:"button",role:"checkbox","aria-checked":C(O)?"mixed":O,"aria-required":d,"data-state":E(O),"data-disabled":p?"":void 0,disabled:p,value:m},h,{ref:P,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.M)(e.onClick,e=>{R(e=>!!C(e)||!e),N&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})),N&&(0,o.createElement)(w,{control:y,bubbles:!x.current,name:l,value:m,checked:O,required:d,disabled:p,style:{transform:"translateX(-100%)"}}))}),b=(0,o.forwardRef)((e,t)=>{let{__scopeCheckbox:r,forceMount:a,...l}=e,i=h("CheckboxIndicator",r);return(0,o.createElement)(d.z,{present:a||C(i.state)||!0===i.state},(0,o.createElement)(f.WV.span,(0,n.Z)({"data-state":E(i.state),"data-disabled":i.disabled?"":void 0},l,{ref:t,style:{pointerEvents:"none",...e.style}})))}),w=e=>{let{control:t,checked:r,bubbles:a=!0,...l}=e,i=(0,o.useRef)(null),s=(0,u.D)(r),d=(0,c.t)(t);return(0,o.useEffect)(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==r&&t){let n=new Event("click",{bubbles:a});e.indeterminate=C(r),t.call(e,!C(r)&&r),e.dispatchEvent(n)}},[s,r,a]),(0,o.createElement)("input",(0,n.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:!C(r)&&r},l,{tabIndex:-1,ref:i,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function C(e){return"indeterminate"===e}function E(e){return C(e)?"indeterminate":e?"checked":"unchecked"}let P=y,x=b},54503:function(e,t,r){r.d(t,{VY:function(){return O},fC:function(){return x},p_:function(){return v},xz:function(){return N}});var n=r(99503),o=r(91710),a=r(62283),l=r(5382),i=r(32574),s=r(26141),u=r(37321),c=r(24744),d=r(73093),f=r(65276);let p="Collapsible",[m,v]=(0,l.b)(p),[g,h]=m(p),y=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:r,open:a,defaultOpen:l,disabled:s,onOpenChange:u,...d}=e,[p=!1,m]=(0,i.T)({prop:a,defaultProp:l,onChange:u});return(0,o.createElement)(g,{scope:r,disabled:s,contentId:(0,f.M)(),open:p,onOpenToggle:(0,o.useCallback)(()=>m(e=>!e),[m])},(0,o.createElement)(c.WV.div,(0,n.Z)({"data-state":P(p),"data-disabled":s?"":void 0},d,{ref:t})))}),b=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:r,...l}=e,i=h("CollapsibleTrigger",r);return(0,o.createElement)(c.WV.button,(0,n.Z)({type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":P(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled},l,{ref:t,onClick:(0,a.M)(e.onClick,i.onOpenToggle)}))}),w="CollapsibleContent",C=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...a}=e,l=h(w,e.__scopeCollapsible);return(0,o.createElement)(d.z,{present:r||l.open},e=>{let{present:r}=e;return(0,o.createElement)(E,(0,n.Z)({},a,{ref:t,present:r}))})}),E=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:r,present:a,children:l,...i}=e,d=h(w,r),[f,p]=(0,o.useState)(a),m=(0,o.useRef)(null),v=(0,u.e)(t,m),g=(0,o.useRef)(0),y=g.current,b=(0,o.useRef)(0),C=b.current,E=d.open||f,x=(0,o.useRef)(E),N=(0,o.useRef)();return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=m.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,b.current=t.width,x.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),p(a)}},[d.open,a]),(0,o.createElement)(c.WV.div,(0,n.Z)({"data-state":P(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!E},i,{ref:v,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":C?"".concat(C,"px"):void 0,...e.style}}),E&&l)});function P(e){return e?"open":"closed"}let x=y,N=b,O=C},20469:function(e,t,r){r.d(t,{B:function(){return i}});var n=r(91710),o=r(5382),a=r(37321),l=r(19767);function i(e){let t=e+"CollectionProvider",[r,i]=(0,o.b)(t),[s,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",d=n.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=u(c,r),s=(0,a.e)(t,i.collectionRef);return n.createElement(l.g7,{ref:s},o)}),f=e+"CollectionItemSlot",p="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,o=n.useRef(null),a=n.useRef(new Map).current;return n.createElement(s,{scope:t,itemMap:a,collectionRef:o},r)},Slot:d,ItemSlot:n.forwardRef((e,t)=>{let{scope:r,children:o,...i}=e,s=n.useRef(null),c=(0,a.e)(t,s),d=u(f,r);return n.useEffect(()=>(d.itemMap.set(s,{ref:s,...i}),()=>void d.itemMap.delete(s))),n.createElement(l.g7,{[p]:"",ref:c},o)})},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(p,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}},37321:function(e,t,r){r.d(t,{F:function(){return o},e:function(){return a}});var n=r(91710);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.useCallback)(o(...t),t)}},5382:function(e,t,r){r.d(t,{b:function(){return a},k:function(){return o}});var n=r(91710);function o(e,t){let r=(0,n.createContext)(t);function o(e){let{children:t,...o}=e,a=(0,n.useMemo)(()=>o,Object.values(o));return(0,n.createElement)(r.Provider,{value:a},t)}return o.displayName=e+"Provider",[o,function(o){let a=(0,n.useContext)(r);if(a)return a;if(void 0!==t)return t;throw Error("`".concat(o,"` must be used within `").concat(e,"`"))}]}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],o=()=>{let t=r.map(e=>(0,n.createContext)(e));return function(r){let o=(null==r?void 0:r[e])||t;return(0,n.useMemo)(()=>({["__scope".concat(e)]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let a=(0,n.createContext)(o),l=r.length;function i(t){let{scope:r,children:o,...i}=t,s=(null==r?void 0:r[e][l])||a,u=(0,n.useMemo)(()=>i,Object.values(i));return(0,n.createElement)(s.Provider,{value:u},o)}return r=[...r,o],i.displayName=t+"Provider",[i,function(r,i){let s=(null==i?void 0:i[e][l])||a,u=(0,n.useContext)(s);if(u)return u;if(void 0!==o)return o;throw Error("`".concat(r,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=t[0];if(1===t.length)return o;let a=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let r=e.reduce((e,r)=>{let{useScope:n,scopeName:o}=r,a=n(t)["__scope".concat(o)];return{...e,...a}},{});return(0,n.useMemo)(()=>({["__scope".concat(o.scopeName)]:r}),[r])}};return a.scopeName=o.scopeName,a}(o,...t)]}},88424:function(e,t,r){r.d(t,{Dx:function(){return Y},VY:function(){return U},aV:function(){return G},dk:function(){return X},fC:function(){return F},h_:function(){return K},jm:function(){return Z},p8:function(){return C},x8:function(){return q},xz:function(){return B}});var n=r(99503),o=r(91710),a=r(62283),l=r(37321),i=r(5382),s=r(65276),u=r(32574),c=r(46876),d=r(94876),f=r(1781),p=r(73093),m=r(24744),v=r(35418),g=r(4285),h=r(82035),y=r(19767);let b="Dialog",[w,C]=(0,i.b)(b),[E,P]=w(b),x=(0,o.forwardRef)((e,t)=>{let{__scopeDialog:r,...i}=e,s=P("DialogTrigger",r),u=(0,l.e)(t,s.triggerRef);return(0,o.createElement)(m.WV.button,(0,n.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":W(s.open)},i,{ref:u,onClick:(0,a.M)(e.onClick,s.onOpenToggle)}))}),N="DialogPortal",[O,R]=w(N,{forceMount:void 0}),D="DialogOverlay",M=(0,o.forwardRef)((e,t)=>{let r=R(D,e.__scopeDialog),{forceMount:a=r.forceMount,...l}=e,i=P(D,e.__scopeDialog);return i.modal?(0,o.createElement)(p.z,{present:a||i.open},(0,o.createElement)(_,(0,n.Z)({},l,{ref:t}))):null}),_=(0,o.forwardRef)((e,t)=>{let{__scopeDialog:r,...a}=e,l=P(D,r);return(0,o.createElement)(g.Z,{as:y.g7,allowPinchZoom:!0,shards:[l.contentRef]},(0,o.createElement)(m.WV.div,(0,n.Z)({"data-state":W(l.open)},a,{ref:t,style:{pointerEvents:"auto",...a.style}})))}),T="DialogContent",S=(0,o.forwardRef)((e,t)=>{let r=R(T,e.__scopeDialog),{forceMount:a=r.forceMount,...l}=e,i=P(T,e.__scopeDialog);return(0,o.createElement)(p.z,{present:a||i.open},i.modal?(0,o.createElement)(k,(0,n.Z)({},l,{ref:t})):(0,o.createElement)(j,(0,n.Z)({},l,{ref:t})))}),k=(0,o.forwardRef)((e,t)=>{let r=P(T,e.__scopeDialog),i=(0,o.useRef)(null),s=(0,l.e)(t,r.contentRef,i);return(0,o.useEffect)(()=>{let e=i.current;if(e)return(0,h.hideOthers)(e)},[]),(0,o.createElement)(I,(0,n.Z)({},e,{ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,a.M)(e.onFocusOutside,e=>e.preventDefault())}))}),j=(0,o.forwardRef)((e,t)=>{let r=P(T,e.__scopeDialog),a=(0,o.useRef)(!1),l=(0,o.useRef)(!1);return(0,o.createElement)(I,(0,n.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,o;null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented||(a.current||null===(o=r.triggerRef.current)||void 0===o||o.focus(),t.preventDefault()),a.current=!1,l.current=!1},onInteractOutside:t=>{var n,o;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(a.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let i=t.target;(null===(o=r.triggerRef.current)||void 0===o?void 0:o.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}}))}),I=(0,o.forwardRef)((e,t)=>{let{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:s,...u}=e,f=P(T,r),p=(0,o.useRef)(null),m=(0,l.e)(t,p);return(0,v.EW)(),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.M,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:s},(0,o.createElement)(c.XB,(0,n.Z)({role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":W(f.open)},u,{ref:m,onDismiss:()=>f.onOpenChange(!1)}))),!1)}),L="DialogTitle",A=(0,o.forwardRef)((e,t)=>{let{__scopeDialog:r,...a}=e,l=P(L,r);return(0,o.createElement)(m.WV.h2,(0,n.Z)({id:l.titleId},a,{ref:t}))}),z=(0,o.forwardRef)((e,t)=>{let{__scopeDialog:r,...a}=e,l=P("DialogDescription",r);return(0,o.createElement)(m.WV.p,(0,n.Z)({id:l.descriptionId},a,{ref:t}))}),V=(0,o.forwardRef)((e,t)=>{let{__scopeDialog:r,...l}=e,i=P("DialogClose",r);return(0,o.createElement)(m.WV.button,(0,n.Z)({type:"button"},l,{ref:t,onClick:(0,a.M)(e.onClick,()=>i.onOpenChange(!1))}))});function W(e){return e?"open":"closed"}let[Z,H]=(0,i.k)("DialogTitleWarning",{contentName:T,titleName:L,docsSlug:"dialog"}),F=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:l,modal:i=!0}=e,c=(0,o.useRef)(null),d=(0,o.useRef)(null),[f=!1,p]=(0,u.T)({prop:n,defaultProp:a,onChange:l});return(0,o.createElement)(E,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.M)(),titleId:(0,s.M)(),descriptionId:(0,s.M)(),open:f,onOpenChange:p,onOpenToggle:(0,o.useCallback)(()=>p(e=>!e),[p]),modal:i},r)},B=x,K=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,l=P(N,t);return(0,o.createElement)(O,{scope:t,forceMount:r},o.Children.map(n,e=>(0,o.createElement)(p.z,{present:r||l.open},(0,o.createElement)(f.h,{asChild:!0,container:a},e))))},G=M,U=S,Y=A,X=z,q=V},25815:function(e,t,r){r.d(t,{_9:function(){return a},gm:function(){return l}});var n=r(91710);let o=(0,n.createContext)(void 0),a=e=>{let{dir:t,children:r}=e;return(0,n.createElement)(o.Provider,{value:t},r)};function l(e){let t=(0,n.useContext)(o);return e||t||"ltr"}},46876:function(e,t,r){let n;r.d(t,{I0:function(){return h},XB:function(){return f},fC:function(){return g}});var o=r(99503),a=r(91710),l=r(62283),i=r(24744),s=r(37321),u=r(44266);let c="dismissableLayer.update",d=(0,a.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=(0,a.forwardRef)((e,t)=>{var r;let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:p,onPointerDownOutside:g,onFocusOutside:h,onInteractOutside:y,onDismiss:b,...w}=e,C=(0,a.useContext)(d),[E,P]=(0,a.useState)(null),x=null!==(r=null==E?void 0:E.ownerDocument)&&void 0!==r?r:null==globalThis?void 0:globalThis.document,[,N]=(0,a.useState)({}),O=(0,s.e)(t,e=>P(e)),R=Array.from(C.layers),[D]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),M=R.indexOf(D),_=E?R.indexOf(E):-1,T=C.layersWithOutsidePointerEventsDisabled.size>0,S=_>=M,k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,r=(0,u.W)(e),n=(0,a.useRef)(!1),o=(0,a.useRef)(()=>{});return(0,a.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let n={originalEvent:e};function a(){v("dismissableLayer.pointerDownOutside",r,n,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...C.branches].some(e=>e.contains(t));!S||r||(null==g||g(e),null==y||y(e),e.defaultPrevented||null==b||b())},x),j=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,r=(0,u.W)(e),n=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=e=>{e.target&&!n.current&&v("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...C.branches].some(e=>e.contains(t))||(null==h||h(e),null==y||y(e),e.defaultPrevented||null==b||b())},x);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,r=(0,u.W)(e);(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[r,t])}(e=>{_!==C.layers.size-1||(null==p||p(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},x),(0,a.useEffect)(()=>{if(E)return f&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(n=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(E)),C.layers.add(E),m(),()=>{f&&1===C.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=n)}},[E,x,f,C]),(0,a.useEffect)(()=>()=>{E&&(C.layers.delete(E),C.layersWithOutsidePointerEventsDisabled.delete(E),m())},[E,C]),(0,a.useEffect)(()=>{let e=()=>N({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,a.createElement)(i.WV.div,(0,o.Z)({},w,{ref:O,style:{pointerEvents:T?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.M)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,l.M)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,l.M)(e.onPointerDownCapture,k.onPointerDownCapture)}))}),p=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(d),n=(0,a.useRef)(null),l=(0,s.e)(t,n);return(0,a.useEffect)(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,a.createElement)(i.WV.div,(0,o.Z)({},e,{ref:l}))});function m(){let e=new CustomEvent(c);document.dispatchEvent(e)}function v(e,t,r,n){let{discrete:o}=n,a=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),o?(0,i.jH)(a,l):a.dispatchEvent(l)}let g=f,h=p},71978:function(e,t,r){r.d(t,{Ee:function(){return z},Rk:function(){return V},Tr:function(){return H},Uv:function(){return S},VY:function(){return k},Z0:function(){return Z},ZA:function(){return j},__:function(){return I},ck:function(){return L},fC:function(){return _},fF:function(){return F},oC:function(){return A},tu:function(){return B},wU:function(){return W},xz:function(){return T}});var n=r(99503),o=r(91710),a=r(62283),l=r(37321),i=r(5382),s=r(32574),u=r(24744),c=r(39108),d=r(65276);let f="DropdownMenu",[p,m]=(0,i.b)(f,[c.Wf]),v=(0,c.Wf)(),[g,h]=p(f),y=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,disabled:i=!1,...s}=e,d=h("DropdownMenuTrigger",r),f=v(r);return(0,o.createElement)(c.ee,(0,n.Z)({asChild:!0},f),(0,o.createElement)(u.WV.button,(0,n.Z)({type:"button",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":d.open?"open":"closed","data-disabled":i?"":void 0,disabled:i},s,{ref:(0,l.F)(t,d.triggerRef),onPointerDown:(0,a.M)(e.onPointerDown,e=>{i||0!==e.button||!1!==e.ctrlKey||(d.onOpenToggle(),d.open||e.preventDefault())}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{!i&&(["Enter"," "].includes(e.key)&&d.onOpenToggle(),"ArrowDown"===e.key&&d.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),b=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...l}=e,i=h("DropdownMenuContent",r),s=v(r),u=(0,o.useRef)(!1);return(0,o.createElement)(c.VY,(0,n.Z)({id:i.contentId,"aria-labelledby":i.triggerId},s,l,{ref:t,onCloseAutoFocus:(0,a.M)(e.onCloseAutoFocus,e=>{var t;u.current||null===(t=i.triggerRef.current)||void 0===t||t.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,a.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!i.modal||n)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.ZA,(0,n.Z)({},l,a,{ref:t}))}),C=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.__,(0,n.Z)({},l,a,{ref:t}))}),E=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.ck,(0,n.Z)({},l,a,{ref:t}))}),P=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.oC,(0,n.Z)({},l,a,{ref:t}))}),x=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.Ee,(0,n.Z)({},l,a,{ref:t}))}),N=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.Rk,(0,n.Z)({},l,a,{ref:t}))}),O=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.wU,(0,n.Z)({},l,a,{ref:t}))}),R=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.Z0,(0,n.Z)({},l,a,{ref:t}))}),D=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.fF,(0,n.Z)({},l,a,{ref:t}))}),M=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=v(r);return(0,o.createElement)(c.tu,(0,n.Z)({},l,a,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),_=e=>{let{__scopeDropdownMenu:t,children:r,dir:a,open:l,defaultOpen:i,onOpenChange:u,modal:f=!0}=e,p=v(t),m=(0,o.useRef)(null),[h=!1,y]=(0,s.T)({prop:l,defaultProp:i,onChange:u});return(0,o.createElement)(g,{scope:t,triggerId:(0,d.M)(),triggerRef:m,contentId:(0,d.M)(),open:h,onOpenChange:y,onOpenToggle:(0,o.useCallback)(()=>y(e=>!e),[y]),modal:f},(0,o.createElement)(c.fC,(0,n.Z)({},p,{open:h,onOpenChange:y,dir:a,modal:f}),r))},T=y,S=e=>{let{__scopeDropdownMenu:t,...r}=e,a=v(t);return(0,o.createElement)(c.h_,(0,n.Z)({},a,r))},k=b,j=w,I=C,L=E,A=P,z=x,V=N,W=O,Z=R,H=e=>{let{__scopeDropdownMenu:t,children:r,open:a,onOpenChange:l,defaultOpen:i}=e,u=v(t),[d=!1,f]=(0,s.T)({prop:a,defaultProp:i,onChange:l});return(0,o.createElement)(c.Tr,(0,n.Z)({},u,{open:d,onOpenChange:f}),r)},F=D,B=M},35418:function(e,t,r){r.d(t,{EW:function(){return a}});var n=r(91710);let o=0;function a(){(0,n.useEffect)(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=r[0])&&void 0!==e?e:l()),document.body.insertAdjacentElement("beforeend",null!==(t=r[1])&&void 0!==t?t:l()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function l(){let 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}},94876:function(e,t,r){let n;r.d(t,{M:function(){return f}});var o=r(99503),a=r(91710),l=r(37321),i=r(24744),s=r(44266);let u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=(0,a.forwardRef)((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:f,onUnmountAutoFocus:h,...y}=e,[b,w]=(0,a.useState)(null),C=(0,s.W)(f),E=(0,s.W)(h),P=(0,a.useRef)(null),x=(0,l.e)(t,e=>w(e)),N=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(n){function e(e){if(N.paused||!b)return;let t=e.target;b.contains(t)?P.current=t:v(P.current,{select:!0})}function t(e){if(N.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||v(P.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&v(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,b,N.paused]),(0,a.useEffect)(()=>{if(b){g.add(N);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,d);b.addEventListener(u,C),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(v(n,{select:t}),document.activeElement!==r)return}(p(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(b))}return()=>{b.removeEventListener(u,C),setTimeout(()=>{let t=new CustomEvent(c,d);b.addEventListener(c,E),b.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,E),g.remove(N)},0)}}},[b,C,E,N]);let O=(0,a.useCallback)(e=>{if(!r&&!n||N.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,a]=function(e){let t=p(e);return[m(t,e),m(t.reverse(),e)]}(t);n&&a?e.shiftKey||o!==a?e.shiftKey&&o===n&&(e.preventDefault(),r&&v(a,{select:!0})):(e.preventDefault(),r&&v(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,N.paused]);return(0,a.createElement)(i.WV.div,(0,o.Z)({tabIndex:-1},y,{ref:x,onKeyDown:O}))});function p(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function m(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function v(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}let g=(n=[],{add(e){let t=n[0];e!==t&&(null==t||t.pause()),(n=h(n,e)).unshift(e)},remove(e){var t;null===(t=(n=h(n,e))[0])||void 0===t||t.resume()}});function h(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},65276:function(e,t,r){r.d(t,{M:function(){return s}});var n,o=r(91710),a=r(26141);let l=(n||(n=r.t(o,2)))["useId".toString()]||(()=>void 0),i=0;function s(e){let[t,r]=o.useState(l());return(0,a.b)(()=>{e||r(e=>null!=e?e:String(i++))},[e]),e||(t?"radix-".concat(t):"")}},39108:function(e,t,r){r.d(t,{Ee:function(){return eS},Eh:function(){return eL},Rk:function(){return ek},Tr:function(){return eA},VY:function(){return eR},Wf:function(){return k},Z0:function(){return eI},ZA:function(){return eD},__:function(){return eM},ck:function(){return e_},ee:function(){return eN},fC:function(){return ex},fF:function(){return ez},h_:function(){return eO},oC:function(){return eT},tu:function(){return eV},wU:function(){return ej}});var n=r(99503),o=r(91710),a=r(62283),l=r(20469),i=r(37321),s=r(5382),u=r(25815),c=r(46876),d=r(35418),f=r(94876),p=r(65276),m=r(81034),v=r(1781),g=r(73093),h=r(24744),y=r(92213),b=r(19767),w=r(44266),C=r(82035),E=r(4285);let P=["Enter"," "],x=["ArrowUp","PageDown","End"],N=["ArrowDown","PageUp","Home",...x],O={ltr:[...P,"ArrowRight"],rtl:[...P,"ArrowLeft"]},R={ltr:["ArrowLeft"],rtl:["ArrowRight"]},D="Menu",[M,_,T]=(0,l.B)(D),[S,k]=(0,s.b)(D,[T,m.D7,y.Pc]),j=(0,m.D7)(),I=(0,y.Pc)(),[L,A]=S(D),[z,V]=S(D),W=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...a}=e,l=j(r);return(0,o.createElement)(m.ee,(0,n.Z)({},l,a,{ref:t}))}),Z="MenuPortal",[H,F]=S(Z,{forceMount:void 0}),B="MenuContent",[K,G]=S(B),U=(0,o.forwardRef)((e,t)=>{let r=F(B,e.__scopeMenu),{forceMount:a=r.forceMount,...l}=e,i=A(B,e.__scopeMenu),s=V(B,e.__scopeMenu);return(0,o.createElement)(M.Provider,{scope:e.__scopeMenu},(0,o.createElement)(g.z,{present:a||i.open},(0,o.createElement)(M.Slot,{scope:e.__scopeMenu},s.modal?(0,o.createElement)(Y,(0,n.Z)({},l,{ref:t})):(0,o.createElement)(X,(0,n.Z)({},l,{ref:t})))))}),Y=(0,o.forwardRef)((e,t)=>{let r=A(B,e.__scopeMenu),l=(0,o.useRef)(null),s=(0,i.e)(t,l);return(0,o.useEffect)(()=>{let e=l.current;if(e)return(0,C.hideOthers)(e)},[]),(0,o.createElement)(q,(0,n.Z)({},e,{ref:s,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,a.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),X=(0,o.forwardRef)((e,t)=>{let r=A(B,e.__scopeMenu);return(0,o.createElement)(q,(0,n.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),q=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,loop:l=!1,trapFocus:s,onOpenAutoFocus:u,onCloseAutoFocus:p,disableOutsidePointerEvents:v,onEntryFocus:g,onEscapeKeyDown:h,onPointerDownOutside:w,onFocusOutside:C,onInteractOutside:P,onDismiss:O,disableOutsideScroll:R,...D}=e,M=A(B,r),T=V(B,r),S=j(r),k=I(r),L=_(r),[z,W]=(0,o.useState)(null),Z=(0,o.useRef)(null),H=(0,i.e)(t,Z,M.onContentChange),F=(0,o.useRef)(0),G=(0,o.useRef)(""),U=(0,o.useRef)(0),Y=(0,o.useRef)(null),X=(0,o.useRef)("right"),q=(0,o.useRef)(0),J=R?E.Z:o.Fragment,$=R?{as:b.g7,allowPinchZoom:!0}:void 0,Q=e=>{var t,r;let n=G.current+e,o=L().filter(e=>!e.disabled),a=document.activeElement,l=null===(t=o.find(e=>e.ref.current===a))||void 0===t?void 0:t.textValue,i=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}(o.map(e=>e.textValue),n,l),s=null===(r=o.find(e=>e.textValue===i))||void 0===r?void 0:r.ref.current;!function e(t){G.current=t,window.clearTimeout(F.current),""!==t&&(F.current=window.setTimeout(()=>e(""),1e3))}(n),s&&setTimeout(()=>s.focus())};(0,o.useEffect)(()=>()=>window.clearTimeout(F.current),[]),(0,d.EW)();let ee=(0,o.useCallback)(e=>{var t,r,n;return X.current===(null===(t=Y.current)||void 0===t?void 0:t.side)&&!!(n=null===(r=Y.current)||void 0===r?void 0:r.area)&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let l=t[e].x,i=t[e].y,s=t[a].x,u=t[a].y;i>n!=u>n&&r<(s-l)*(n-i)/(u-i)+l&&(o=!o)}return o}({x:e.clientX,y:e.clientY},n)},[]);return(0,o.createElement)(K,{scope:r,searchRef:G,onItemEnter:(0,o.useCallback)(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:(0,o.useCallback)(e=>{var t;ee(e)||(null===(t=Z.current)||void 0===t||t.focus(),W(null))},[ee]),onTriggerLeave:(0,o.useCallback)(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:U,onPointerGraceIntentChange:(0,o.useCallback)(e=>{Y.current=e},[])},(0,o.createElement)(J,$,(0,o.createElement)(f.M,{asChild:!0,trapped:s,onMountAutoFocus:(0,a.M)(u,e=>{var t;e.preventDefault(),null===(t=Z.current)||void 0===t||t.focus()}),onUnmountAutoFocus:p},(0,o.createElement)(c.XB,{asChild:!0,disableOutsidePointerEvents:v,onEscapeKeyDown:h,onPointerDownOutside:w,onFocusOutside:C,onInteractOutside:P,onDismiss:O},(0,o.createElement)(y.fC,(0,n.Z)({asChild:!0},k,{dir:T.dir,orientation:"vertical",loop:l,currentTabStopId:z,onCurrentTabStopIdChange:W,onEntryFocus:(0,a.M)(g,e=>{T.isUsingKeyboardRef.current||e.preventDefault()})}),(0,o.createElement)(m.VY,(0,n.Z)({role:"menu","aria-orientation":"vertical","data-state":ew(M.open),"data-radix-menu-content":"",dir:T.dir},S,D,{ref:H,style:{outline:"none",...D.style},onKeyDown:(0,a.M)(D.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&Q(e.key));let o=Z.current;if(e.target!==o||!N.includes(e.key))return;e.preventDefault();let a=L().filter(e=>!e.disabled).map(e=>e.ref.current);x.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,a.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(F.current),G.current="")}),onPointerMove:(0,a.M)(e.onPointerMove,eP(e=>{let t=e.target,r=q.current!==e.clientX;if(e.currentTarget.contains(t)&&r){let t=e.clientX>q.current?"right":"left";X.current=t,q.current=e.clientX}}))})))))))}),J=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...a}=e;return(0,o.createElement)(h.WV.div,(0,n.Z)({role:"group"},a,{ref:t}))}),$=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...a}=e;return(0,o.createElement)(h.WV.div,(0,n.Z)({},a,{ref:t}))}),Q="MenuItem",ee="menu.itemSelect",et=(0,o.forwardRef)((e,t)=>{let{disabled:r=!1,onSelect:l,...s}=e,u=(0,o.useRef)(null),c=V(Q,e.__scopeMenu),d=G(Q,e.__scopeMenu),f=(0,i.e)(t,u),p=(0,o.useRef)(!1);return(0,o.createElement)(er,(0,n.Z)({},s,{ref:f,disabled:r,onClick:(0,a.M)(e.onClick,()=>{let e=u.current;if(!r&&e){let t=new CustomEvent(ee,{bubbles:!0,cancelable:!0});e.addEventListener(ee,e=>null==l?void 0:l(e),{once:!0}),(0,h.jH)(e,t),t.defaultPrevented?p.current=!1:c.onClose()}}),onPointerDown:t=>{var r;null===(r=e.onPointerDown)||void 0===r||r.call(e,t),p.current=!0},onPointerUp:(0,a.M)(e.onPointerUp,e=>{var t;p.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!r&&(!t||" "!==e.key)&&P.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),er=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,disabled:l=!1,textValue:s,...u}=e,c=G(Q,r),d=I(r),f=(0,o.useRef)(null),p=(0,i.e)(t,f),[m,v]=(0,o.useState)(!1),[g,b]=(0,o.useState)("");return(0,o.useEffect)(()=>{let e=f.current;if(e){var t;b((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[u.children]),(0,o.createElement)(M.ItemSlot,{scope:r,disabled:l,textValue:null!=s?s:g},(0,o.createElement)(y.ck,(0,n.Z)({asChild:!0},d,{focusable:!l}),(0,o.createElement)(h.WV.div,(0,n.Z)({role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0},u,{ref:p,onPointerMove:(0,a.M)(e.onPointerMove,eP(e=>{l?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:(0,a.M)(e.onPointerLeave,eP(e=>c.onItemLeave(e))),onFocus:(0,a.M)(e.onFocus,()=>v(!0)),onBlur:(0,a.M)(e.onBlur,()=>v(!1))}))))}),en=(0,o.forwardRef)((e,t)=>{let{checked:r=!1,onCheckedChange:l,...i}=e;return(0,o.createElement)(eu,{scope:e.__scopeMenu,checked:r},(0,o.createElement)(et,(0,n.Z)({role:"menuitemcheckbox","aria-checked":eC(r)?"mixed":r},i,{ref:t,"data-state":eE(r),onSelect:(0,a.M)(i.onSelect,()=>null==l?void 0:l(!!eC(r)||!r),{checkForDefaultPrevented:!1})})))}),[eo,ea]=S("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),el=(0,o.forwardRef)((e,t)=>{let{value:r,onValueChange:a,...l}=e,i=(0,w.W)(a);return(0,o.createElement)(eo,{scope:e.__scopeMenu,value:r,onValueChange:i},(0,o.createElement)(J,(0,n.Z)({},l,{ref:t})))}),ei=(0,o.forwardRef)((e,t)=>{let{value:r,...l}=e,i=ea("MenuRadioItem",e.__scopeMenu),s=r===i.value;return(0,o.createElement)(eu,{scope:e.__scopeMenu,checked:s},(0,o.createElement)(et,(0,n.Z)({role:"menuitemradio","aria-checked":s},l,{ref:t,"data-state":eE(s),onSelect:(0,a.M)(l.onSelect,()=>{var e;return null===(e=i.onValueChange)||void 0===e?void 0:e.call(i,r)},{checkForDefaultPrevented:!1})})))}),es="MenuItemIndicator",[eu,ec]=S(es,{checked:!1}),ed=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,forceMount:a,...l}=e,i=ec(es,r);return(0,o.createElement)(g.z,{present:a||eC(i.checked)||!0===i.checked},(0,o.createElement)(h.WV.span,(0,n.Z)({},l,{ref:t,"data-state":eE(i.checked)})))}),ef=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...a}=e;return(0,o.createElement)(h.WV.div,(0,n.Z)({role:"separator","aria-orientation":"horizontal"},a,{ref:t}))}),ep=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...a}=e,l=j(r);return(0,o.createElement)(m.Eh,(0,n.Z)({},l,a,{ref:t}))}),em="MenuSub",[ev,eg]=S(em),eh="MenuSubTrigger",ey=(0,o.forwardRef)((e,t)=>{let r=A(eh,e.__scopeMenu),l=V(eh,e.__scopeMenu),s=eg(eh,e.__scopeMenu),u=G(eh,e.__scopeMenu),c=(0,o.useRef)(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:f}=u,p={__scopeMenu:e.__scopeMenu},m=(0,o.useCallback)(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return(0,o.useEffect)(()=>m,[m]),(0,o.useEffect)(()=>{let e=d.current;return()=>{window.clearTimeout(e),f(null)}},[d,f]),(0,o.createElement)(W,(0,n.Z)({asChild:!0},p),(0,o.createElement)(er,(0,n.Z)({id:s.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":s.contentId,"data-state":ew(r.open)},e,{ref:(0,i.F)(t,s.onTriggerChange),onClick:t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,a.M)(e.onPointerMove,eP(t=>{u.onItemEnter(t),t.defaultPrevented||e.disabled||r.open||c.current||(u.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{r.onOpenChange(!0),m()},100))})),onPointerLeave:(0,a.M)(e.onPointerLeave,eP(e=>{var t,n;m();let o=null===(t=r.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(n=r.content)||void 0===n?void 0:n.dataset.side,a="right"===t,l=o[a?"left":"right"],i=o[a?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:l,y:o.top},{x:i,y:o.top},{x:i,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.M)(e.onKeyDown,t=>{let n=""!==u.searchRef.current;if(!e.disabled&&(!n||" "!==t.key)&&O[l.dir].includes(t.key)){var o;r.onOpenChange(!0),null===(o=r.content)||void 0===o||o.focus(),t.preventDefault()}})})))}),eb=(0,o.forwardRef)((e,t)=>{let r=F(B,e.__scopeMenu),{forceMount:l=r.forceMount,...s}=e,u=A(B,e.__scopeMenu),c=V(B,e.__scopeMenu),d=eg("MenuSubContent",e.__scopeMenu),f=(0,o.useRef)(null),p=(0,i.e)(t,f);return(0,o.createElement)(M.Provider,{scope:e.__scopeMenu},(0,o.createElement)(g.z,{present:l||u.open},(0,o.createElement)(M.Slot,{scope:e.__scopeMenu},(0,o.createElement)(q,(0,n.Z)({id:d.contentId,"aria-labelledby":d.triggerId},s,{ref:p,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;c.isUsingKeyboardRef.current&&(null===(t=f.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{e.target!==d.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=R[c.dir].includes(e.key);if(t&&r){var n;u.onOpenChange(!1),null===(n=d.trigger)||void 0===n||n.focus(),e.preventDefault()}})})))))});function ew(e){return e?"open":"closed"}function eC(e){return"indeterminate"===e}function eE(e){return eC(e)?"indeterminate":e?"checked":"unchecked"}function eP(e){return t=>"mouse"===t.pointerType?e(t):void 0}let ex=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:a,onOpenChange:l,modal:i=!0}=e,s=j(t),[c,d]=(0,o.useState)(null),f=(0,o.useRef)(!1),p=(0,w.W)(l),v=(0,u.gm)(a);return(0,o.useEffect)(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,o.createElement)(m.fC,s,(0,o.createElement)(L,{scope:t,open:r,onOpenChange:p,content:c,onContentChange:d},(0,o.createElement)(z,{scope:t,onClose:(0,o.useCallback)(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:v,modal:i},n)))},eN=W,eO=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:a}=e,l=A(Z,t);return(0,o.createElement)(H,{scope:t,forceMount:r},(0,o.createElement)(g.z,{present:r||l.open},(0,o.createElement)(v.h,{asChild:!0,container:a},n)))},eR=U,eD=J,eM=$,e_=et,eT=en,eS=el,ek=ei,ej=ed,eI=ef,eL=ep,eA=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:a}=e,l=A(em,t),i=j(t),[s,u]=(0,o.useState)(null),[c,d]=(0,o.useState)(null),f=(0,w.W)(a);return(0,o.useEffect)(()=>(!1===l.open&&f(!1),()=>f(!1)),[l.open,f]),(0,o.createElement)(m.fC,i,(0,o.createElement)(L,{scope:t,open:n,onOpenChange:f,content:c,onContentChange:d},(0,o.createElement)(ev,{scope:t,contentId:(0,p.M)(),triggerId:(0,p.M)(),trigger:s,onTriggerChange:u},r)))},ez=ey,eV=eb},29737:function(e,t,r){r.d(t,{aV:function(){return X},ck:function(){return q},fC:function(){return Y},rU:function(){return J}});var n=r(99503),o=r(91710),a=(r(99719),r(5382)),l=r(62283),i=r(24744),s=r(32574),u=r(37321),c=r(25815),d=r(73093),f=r(65276),p=r(20469),m=r(46876),v=r(17251),g=r(26141),h=r(44266);r(56998);let y="NavigationMenu",[b,w,C]=(0,p.B)(y),[E,P,x]=(0,p.B)(y),[N,O]=(0,a.b)(y,[C,x]),[R,D]=N(y),[M,_]=N(y),T=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:l,defaultValue:d,delayDuration:f=200,skipDelayDuration:p=300,orientation:m="horizontal",dir:v,...g}=e,[h,y]=(0,o.useState)(null),b=(0,u.e)(t,e=>y(e)),w=(0,c.gm)(v),C=(0,o.useRef)(0),E=(0,o.useRef)(0),P=(0,o.useRef)(0),[x,N]=(0,o.useState)(!0),[O="",R]=(0,s.T)({prop:a,onChange:e=>{let t=p>0;""!==e?(window.clearTimeout(P.current),t&&N(!1)):(window.clearTimeout(P.current),P.current=window.setTimeout(()=>N(!0),p)),null==l||l(e)},defaultProp:d}),D=(0,o.useCallback)(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>R(""),150)},[R]),M=(0,o.useCallback)(e=>{window.clearTimeout(E.current),R(e)},[R]),_=(0,o.useCallback)(e=>{O===e?window.clearTimeout(E.current):C.current=window.setTimeout(()=>{window.clearTimeout(E.current),R(e)},f)},[O,R,f]);return(0,o.useEffect)(()=>()=>{window.clearTimeout(C.current),window.clearTimeout(E.current),window.clearTimeout(P.current)},[]),(0,o.createElement)(S,{scope:r,isRootMenu:!0,value:O,dir:w,orientation:m,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(C.current),x?_(e):M(e)},onTriggerLeave:()=>{window.clearTimeout(C.current),D()},onContentEnter:()=>window.clearTimeout(E.current),onContentLeave:D,onItemSelect:e=>{R(t=>t===e?"":e)},onItemDismiss:()=>R("")},(0,o.createElement)(i.WV.nav,(0,n.Z)({"aria-label":"Main","data-orientation":m,dir:w},g,{ref:b})))}),S=e=>{let{scope:t,isRootMenu:r,rootNavigationMenu:n,dir:a,orientation:l,children:i,value:s,onItemSelect:u,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:p,onContentEnter:m,onContentLeave:g}=e,[y,w]=(0,o.useState)(null),[C,E]=(0,o.useState)(new Map),[P,x]=(0,o.useState)(null);return(0,o.createElement)(R,{scope:t,isRootMenu:r,rootNavigationMenu:n,value:s,previousValue:(0,v.D)(s),baseId:(0,f.M)(),dir:a,orientation:l,viewport:y,onViewportChange:w,indicatorTrack:P,onIndicatorTrackChange:x,onTriggerEnter:(0,h.W)(d),onTriggerLeave:(0,h.W)(p),onContentEnter:(0,h.W)(m),onContentLeave:(0,h.W)(g),onItemSelect:(0,h.W)(u),onItemDismiss:(0,h.W)(c),onViewportContentChange:(0,o.useCallback)((e,t)=>{E(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:(0,o.useCallback)(e=>{E(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[])},(0,o.createElement)(b.Provider,{scope:t},(0,o.createElement)(M,{scope:t,items:C},i)))},k=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...a}=e,l=D("NavigationMenuList",r),s=(0,o.createElement)(i.WV.ul,(0,n.Z)({"data-orientation":l.orientation},a,{ref:t}));return(0,o.createElement)(i.WV.div,{style:{position:"relative"},ref:l.onIndicatorTrackChange},(0,o.createElement)(b.Slot,{scope:r},l.isRootMenu?(0,o.createElement)(H,{asChild:!0},s):s))}),[j,I]=N("NavigationMenuItem"),L=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,value:a,...l}=e,s=(0,f.M)(),u=(0,o.useRef)(null),c=(0,o.useRef)(null),d=(0,o.useRef)(null),p=(0,o.useRef)(()=>{}),m=(0,o.useRef)(!1),v=(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(u.current){p.current();let t=K(u.current);t.length&&G("start"===e?t:t.reverse())}},[]),g=(0,o.useCallback)(()=>{if(u.current){let e=K(u.current);e.length&&(p.current=(e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}))}},[]);return(0,o.createElement)(j,{scope:r,value:a||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:u,focusProxyRef:d,wasEscapeCloseRef:m,onEntryKeyDown:v,onFocusProxyEnter:v,onRootContentClose:g,onContentFocusOutside:g},(0,o.createElement)(i.WV.li,(0,n.Z)({},l,{ref:t})))}),A="navigationMenu.linkSelect",z=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,active:a,onSelect:s,...u}=e;return(0,o.createElement)(B,{asChild:!0},(0,o.createElement)(i.WV.a,(0,n.Z)({"data-active":a?"":void 0,"aria-current":a?"page":void 0},u,{ref:t,onClick:(0,l.M)(e.onClick,e=>{let t=e.target,r=new CustomEvent(A,{bubbles:!0,cancelable:!0});if(t.addEventListener(A,e=>null==s?void 0:s(e),{once:!0}),(0,i.jH)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(W,{bubbles:!0,cancelable:!0});(0,i.jH)(t,e)}},{checkForDefaultPrevented:!1})})))}),V=((e,t)=>{let{__scopeNavigationMenu:r,...a}=e,l=D("NavigationMenuIndicator",r),s=w(r),[u,c]=(0,o.useState)(null),[d,f]=(0,o.useState)(null),p="horizontal"===l.orientation,m=!!l.value;(0,o.useEffect)(()=>{var e;let t=null===(e=s().find(e=>e.value===l.value))||void 0===e?void 0:e.ref.current;t&&c(t)},[s,l.value]);let v=()=>{u&&f({size:p?u.offsetWidth:u.offsetHeight,offset:p?u.offsetLeft:u.offsetTop})};return U(u,v),U(l.indicatorTrack,v),d?(0,o.createElement)(i.WV.div,(0,n.Z)({"aria-hidden":!0,"data-state":m?"visible":"hidden","data-orientation":l.orientation},a,{ref:t,style:{position:"absolute",...p?{left:0,width:d.size+"px",transform:"translateX(".concat(d.offset,"px)")}:{top:0,height:d.size+"px",transform:"translateY(".concat(d.offset,"px)")},...a.style}})):null},"NavigationMenuContent"),W=((e,t)=>{let{onViewportContentChange:r,onViewportContentRemove:n}=D(V,e.__scopeNavigationMenu);return(0,g.b)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,g.b)(()=>()=>n(e.value),[e.value,n]),null},"navigationMenu.rootContentDismiss"),Z=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,value:a,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:c,onRootContentClose:d,onContentFocusOutside:f,...p}=e,v=D(V,r),g=(0,o.useRef)(null),h=(0,u.e)(g,t),y=function(e,t){return"".concat(e,"-trigger-").concat(t)}(v.baseId,a),b=function(e,t){return"".concat(e,"-content-").concat(t)}(v.baseId,a),C=w(r),E=(0,o.useRef)(null),{onItemDismiss:P}=v;(0,o.useEffect)(()=>{let e=g.current;if(v.isRootMenu&&e){let t=()=>{var t;P(),d(),e.contains(document.activeElement)&&(null===(t=i.current)||void 0===t||t.focus())};return e.addEventListener(W,t),()=>e.removeEventListener(W,t)}},[v.isRootMenu,e.value,i,P,d]);let x=(0,o.useMemo)(()=>{let e=C().map(e=>e.value);"rtl"===v.dir&&e.reverse();let t=e.indexOf(v.value),r=e.indexOf(v.previousValue),n=a===v.value,o=r===e.indexOf(a);if(!n&&!o)return E.current;let l=(()=>{if(t!==r){if(n&&-1!==r)return t>r?"from-end":"from-start";if(o&&-1!==t)return t>r?"to-start":"to-end"}return null})();return E.current=l,l},[v.previousValue,v.value,v.dir,C,a]);return(0,o.createElement)(H,{asChild:!0},(0,o.createElement)(m.XB,(0,n.Z)({id:b,"aria-labelledby":y,"data-motion":x,"data-orientation":v.orientation},p,{ref:h,onDismiss:()=>{var e;let t=new Event(W,{bubbles:!0,cancelable:!0});null===(e=g.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:(0,l.M)(e.onFocusOutside,e=>{var t;f();let r=e.target;null!==(t=v.rootNavigationMenu)&&void 0!==t&&t.contains(r)&&e.preventDefault()}),onPointerDownOutside:(0,l.M)(e.onPointerDownOutside,e=>{var t;let r=e.target,n=C().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(r)}),o=v.isRootMenu&&(null===(t=v.viewport)||void 0===t?void 0:t.contains(r));(n||o||!v.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=K(e.currentTarget),n=document.activeElement,o=t.findIndex(e=>e===n);if(G(e.shiftKey?t.slice(0,o).reverse():t.slice(o+1,t.length)))e.preventDefault();else{var r;null===(r=s.current)||void 0===r||r.focus()}}}),onEscapeKeyDown:(0,l.M)(e.onEscapeKeyDown,e=>{c.current=!0})})))}),H=((e,t)=>{let{__scopeNavigationMenu:r,children:a,...s}=e,c=D("NavigationMenuViewport",r),f=(0,u.e)(t,c.onViewportChange),p=_(V,e.__scopeNavigationMenu),[m,v]=(0,o.useState)(null),[g,h]=(0,o.useState)(null),y=m?(null==m?void 0:m.width)+"px":void 0,b=m?(null==m?void 0:m.height)+"px":void 0,w=!!c.value,C=w?c.value:c.previousValue;return U(g,()=>{g&&v({width:g.offsetWidth,height:g.offsetHeight})}),(0,o.createElement)(i.WV.div,(0,n.Z)({"data-state":function(e){return e?"open":"closed"}(w),"data-orientation":c.orientation},s,{ref:f,style:{pointerEvents:!w&&c.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":y,"--radix-navigation-menu-viewport-height":b,...s.style},onPointerEnter:(0,l.M)(e.onPointerEnter,c.onContentEnter),onPointerLeave:(0,l.M)(e.onPointerLeave,function(e){return t=>"mouse"===t.pointerType?e(t):void 0}(c.onContentLeave))}),Array.from(p.items).map(e=>{let[t,{ref:r,forceMount:a,...l}]=e,i=C===t;return(0,o.createElement)(d.z,{key:t,present:a||i},(0,o.createElement)(Z,(0,n.Z)({},l,{ref:(0,u.F)(r,e=>{i&&e&&h(e)})})))}))},(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...a}=e,l=D("FocusGroup",r);return(0,o.createElement)(E.Provider,{scope:r},(0,o.createElement)(E.Slot,{scope:r},(0,o.createElement)(i.WV.div,(0,n.Z)({dir:l.dir},a,{ref:t}))))})),F=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],B=(0,o.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...a}=e,s=P(r),u=D("FocusGroupItem",r);return(0,o.createElement)(E.ItemSlot,{scope:r},(0,o.createElement)(i.WV.button,(0,n.Z)({},a,{ref:t,onKeyDown:(0,l.M)(e.onKeyDown,e=>{if(["Home","End",...F].includes(e.key)){let t=s().map(e=>e.ref.current);if(["rtl"===u.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),F.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>G(t)),e.preventDefault()}})})))});function K(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function G(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function U(e,t){let r=(0,h.W)(t);(0,g.b)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}let Y=T,X=k,q=L,J=z},2935:function(e,t,r){r.d(t,{VY:function(){return H},ee:function(){return V},fC:function(){return z},h_:function(){return Z},x8:function(){return F},xz:function(){return W}});var n=r(99503),o=r(91710),a=r(62283),l=r(37321),i=r(5382),s=r(46876),u=r(35418),c=r(94876),d=r(65276),f=r(81034),p=r(1781),m=r(73093),v=r(24744),g=r(19767),h=r(32574),y=r(82035),b=r(4285);let w="Popover",[C,E]=(0,i.b)(w,[f.D7]),P=(0,f.D7)(),[x,N]=C(w),O=(0,o.forwardRef)((e,t)=>{let{__scopePopover:r,...a}=e,l=N("PopoverAnchor",r),i=P(r),{onCustomAnchorAdd:s,onCustomAnchorRemove:u}=l;return(0,o.useEffect)(()=>(s(),()=>u()),[s,u]),(0,o.createElement)(f.ee,(0,n.Z)({},i,a,{ref:t}))}),R=(0,o.forwardRef)((e,t)=>{let{__scopePopover:r,...i}=e,s=N("PopoverTrigger",r),u=P(r),c=(0,l.e)(t,s.triggerRef),d=(0,o.createElement)(v.WV.button,(0,n.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":A(s.open)},i,{ref:c,onClick:(0,a.M)(e.onClick,s.onOpenToggle)}));return s.hasCustomAnchor?d:(0,o.createElement)(f.ee,(0,n.Z)({asChild:!0},u),d)}),D="PopoverPortal",[M,_]=C(D,{forceMount:void 0}),T="PopoverContent",S=(0,o.forwardRef)((e,t)=>{let r=_(T,e.__scopePopover),{forceMount:a=r.forceMount,...l}=e,i=N(T,e.__scopePopover);return(0,o.createElement)(m.z,{present:a||i.open},i.modal?(0,o.createElement)(k,(0,n.Z)({},l,{ref:t})):(0,o.createElement)(j,(0,n.Z)({},l,{ref:t})))}),k=(0,o.forwardRef)((e,t)=>{let r=N(T,e.__scopePopover),i=(0,o.useRef)(null),s=(0,l.e)(t,i),u=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=i.current;if(e)return(0,y.hideOthers)(e)},[]),(0,o.createElement)(b.Z,{as:g.g7,allowPinchZoom:!0},(0,o.createElement)(I,(0,n.Z)({},e,{ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;u.current=n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),j=(0,o.forwardRef)((e,t)=>{let r=N(T,e.__scopePopover),a=(0,o.useRef)(!1),l=(0,o.useRef)(!1);return(0,o.createElement)(I,(0,n.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,o;null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented||(a.current||null===(o=r.triggerRef.current)||void 0===o||o.focus(),t.preventDefault()),a.current=!1,l.current=!1},onInteractOutside:t=>{var n,o;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(a.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let i=t.target;(null===(o=r.triggerRef.current)||void 0===o?void 0:o.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}}))}),I=(0,o.forwardRef)((e,t)=>{let{__scopePopover:r,trapFocus:a,onOpenAutoFocus:l,onCloseAutoFocus:i,disableOutsidePointerEvents:d,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:v,onInteractOutside:g,...h}=e,y=N(T,r),b=P(r);return(0,u.EW)(),(0,o.createElement)(c.M,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:l,onUnmountAutoFocus:i},(0,o.createElement)(s.XB,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:g,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:v,onDismiss:()=>y.onOpenChange(!1)},(0,o.createElement)(f.VY,(0,n.Z)({"data-state":A(y.open),role:"dialog",id:y.contentId},b,h,{ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),L=(0,o.forwardRef)((e,t)=>{let{__scopePopover:r,...l}=e,i=N("PopoverClose",r);return(0,o.createElement)(v.WV.button,(0,n.Z)({type:"button"},l,{ref:t,onClick:(0,a.M)(e.onClick,()=>i.onOpenChange(!1))}))});function A(e){return e?"open":"closed"}let z=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:a,onOpenChange:l,modal:i=!1}=e,s=P(t),u=(0,o.useRef)(null),[c,p]=(0,o.useState)(!1),[m=!1,v]=(0,h.T)({prop:n,defaultProp:a,onChange:l});return(0,o.createElement)(f.fC,s,(0,o.createElement)(x,{scope:t,contentId:(0,d.M)(),triggerRef:u,open:m,onOpenChange:v,onOpenToggle:(0,o.useCallback)(()=>v(e=>!e),[v]),hasCustomAnchor:c,onCustomAnchorAdd:(0,o.useCallback)(()=>p(!0),[]),onCustomAnchorRemove:(0,o.useCallback)(()=>p(!1),[]),modal:i},r))},V=O,W=R,Z=e=>{let{__scopePopover:t,forceMount:r,children:n,container:a}=e,l=N(D,t);return(0,o.createElement)(M,{scope:t,forceMount:r},(0,o.createElement)(m.z,{present:r||l.open},(0,o.createElement)(p.h,{asChild:!0,container:a},n)))},H=S,F=L},81034:function(e,t,r){r.d(t,{ee:function(){return A},Eh:function(){return V},VY:function(){return z},fC:function(){return L},D7:function(){return P}});var n=r(99503),o=r(91710),a=r(72709),l=r(99719);let i=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,a.x7)({element:r.current,padding:n}).fn(t):{}:r?(0,a.x7)({element:r,padding:n}).fn(t):{}}});var s="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function u(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!u(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!u(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function c(e){return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function d(e,t){let r=c(e);return Math.round(t*r)/r}function f(e){let t=o.useRef(e);return s(()=>{t.current=e}),t}var p=r(74055),m=r(24744);let v=(0,o.forwardRef)((e,t)=>{let{children:r,width:a=10,height:l=5,...i}=e;return(0,o.createElement)(m.WV.svg,(0,n.Z)({},i,{ref:t,width:a,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:(0,o.createElement)("polygon",{points:"0,0 30,0 15,10"}))});var g=r(37321),h=r(5382),y=r(44266),b=r(26141),w=r(81918);let C="Popper",[E,P]=(0,h.b)(C),[x,N]=E(C),O=(0,o.forwardRef)((e,t)=>{let{__scopePopper:r,virtualRef:a,...l}=e,i=N("PopperAnchor",r),s=(0,o.useRef)(null),u=(0,g.e)(t,s);return(0,o.useEffect)(()=>{i.onAnchorChange((null==a?void 0:a.current)||s.current)}),a?null:(0,o.createElement)(m.WV.div,(0,n.Z)({},l,{ref:u}))}),R="PopperContent",[D,M]=E(R),_=(0,o.forwardRef)((e,t)=>{var r,v,h,C,E,P,x,O;let{__scopePopper:M,side:_="bottom",sideOffset:T=0,align:S="center",alignOffset:L=0,arrowPadding:A=0,avoidCollisions:z=!0,collisionBoundary:V=[],collisionPadding:W=0,sticky:Z="partial",hideWhenDetached:H=!1,updatePositionStrategy:F="optimized",onPlaced:B,...K}=e,G=N(R,M),[U,Y]=(0,o.useState)(null),X=(0,g.e)(t,e=>Y(e)),[q,J]=(0,o.useState)(null),$=(0,w.t)(q),Q=null!==(r=null==$?void 0:$.width)&&void 0!==r?r:0,ee=null!==(v=null==$?void 0:$.height)&&void 0!==v?v:0,et="number"==typeof W?W:{top:0,right:0,bottom:0,left:0,...W},er=Array.isArray(V)?V:[V],en=er.length>0,eo={padding:et,boundary:er.filter(k),altBoundary:en},{refs:ea,floatingStyles:el,placement:ei,isPositioned:es,middlewareData:eu}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:p,floating:m}={},transform:v=!0,whileElementsMounted:g,open:h}=e,[y,b]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,C]=o.useState(n);u(w,n)||C(n);let[E,P]=o.useState(null),[x,N]=o.useState(null),O=o.useCallback(e=>{e!==_.current&&(_.current=e,P(e))},[]),R=o.useCallback(e=>{e!==T.current&&(T.current=e,N(e))},[]),D=p||E,M=m||x,_=o.useRef(null),T=o.useRef(null),S=o.useRef(y),k=null!=g,j=f(g),I=f(i),L=o.useCallback(()=>{if(!_.current||!T.current)return;let e={placement:t,strategy:r,middleware:w};I.current&&(e.platform=I.current),(0,a.oo)(_.current,T.current,e).then(e=>{let t={...e,isPositioned:!0};A.current&&!u(S.current,t)&&(S.current=t,l.flushSync(()=>{b(t)}))})},[w,t,r,I]);s(()=>{!1===h&&S.current.isPositioned&&(S.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[h]);let A=o.useRef(!1);s(()=>(A.current=!0,()=>{A.current=!1}),[]),s(()=>{if(D&&(_.current=D),M&&(T.current=M),D&&M){if(j.current)return j.current(D,M,L);L()}},[D,M,L,j,k]);let z=o.useMemo(()=>({reference:_,floating:T,setReference:O,setFloating:R}),[O,R]),V=o.useMemo(()=>({reference:D,floating:M}),[D,M]),W=o.useMemo(()=>{let e={position:r,left:0,top:0};if(!V.floating)return e;let t=d(V.floating,y.x),n=d(V.floating,y.y);return v?{...e,transform:"translate("+t+"px, "+n+"px)",...c(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,v,V.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:L,refs:z,elements:V,floatingStyles:W}),[y,L,z,V,W])}({strategy:"fixed",placement:_+("center"!==S?"-"+S:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.Me)(...t,{animationFrame:"always"===F})},elements:{reference:G.anchor},middleware:[(0,p.cv)({mainAxis:T+ee,alignmentAxis:L}),z&&(0,a.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===Z?(0,a.dr)():void 0,...eo}),z&&(0,a.RR)({...eo}),(0,a.dp)({...eo,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:a,height:l}=r.reference,i=t.floating.style;i.setProperty("--radix-popper-available-width","".concat(n,"px")),i.setProperty("--radix-popper-available-height","".concat(o,"px")),i.setProperty("--radix-popper-anchor-width","".concat(a,"px")),i.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),q&&i({element:q,padding:A}),j({arrowWidth:Q,arrowHeight:ee}),H&&(0,a.Cp)({strategy:"referenceHidden",...eo})]}),[ec,ed]=I(ei),ef=(0,y.W)(B);(0,b.b)(()=>{es&&(null==ef||ef())},[es,ef]);let ep=null===(h=eu.arrow)||void 0===h?void 0:h.x,em=null===(C=eu.arrow)||void 0===C?void 0:C.y,ev=(null===(E=eu.arrow)||void 0===E?void 0:E.centerOffset)!==0,[eg,eh]=(0,o.useState)();return(0,b.b)(()=>{U&&eh(window.getComputedStyle(U).zIndex)},[U]),(0,o.createElement)("div",{ref:ea.setFloating,"data-radix-popper-content-wrapper":"",style:{...el,transform:es?el.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eg,"--radix-popper-transform-origin":[null===(P=eu.transformOrigin)||void 0===P?void 0:P.x,null===(x=eu.transformOrigin)||void 0===x?void 0:x.y].join(" ")},dir:e.dir},(0,o.createElement)(D,{scope:M,placedSide:ec,onArrowChange:J,arrowX:ep,arrowY:em,shouldHideArrow:ev},(0,o.createElement)(m.WV.div,(0,n.Z)({"data-side":ec,"data-align":ed},K,{ref:X,style:{...K.style,animation:es?void 0:"none",opacity:null!==(O=eu.hide)&&void 0!==O&&O.referenceHidden?0:void 0}}))))}),T={top:"bottom",right:"left",bottom:"top",left:"right"},S=(0,o.forwardRef)(function(e,t){let{__scopePopper:r,...a}=e,l=M("PopperArrow",r),i=T[l.placedSide];return(0,o.createElement)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0}},(0,o.createElement)(v,(0,n.Z)({},a,{ref:t,style:{...a.style,display:"block"}})))});function k(e){return null!==e}let j=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,l;let{placement:i,rects:s,middlewareData:u}=t,c=(null===(r=u.arrow)||void 0===r?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,m]=I(i),v={start:"0%",center:"50%",end:"100%"}[m],g=(null!==(n=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==n?n:0)+d/2,h=(null!==(a=null===(l=u.arrow)||void 0===l?void 0:l.y)&&void 0!==a?a:0)+f/2,y="",b="";return"bottom"===p?(y=c?v:"".concat(g,"px"),b="".concat(-f,"px")):"top"===p?(y=c?v:"".concat(g,"px"),b="".concat(s.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),b=c?v:"".concat(h,"px")):"left"===p&&(y="".concat(s.floating.width+f,"px"),b=c?v:"".concat(h,"px")),{data:{x:y,y:b}}}});function I(e){let[t,r="center"]=e.split("-");return[t,r]}let L=e=>{let{__scopePopper:t,children:r}=e,[n,a]=(0,o.useState)(null);return(0,o.createElement)(x,{scope:t,anchor:n,onAnchorChange:a},r)},A=O,z=_,V=S},1781:function(e,t,r){r.d(t,{f:function(){return s},h:function(){return i}});var n=r(99503),o=r(91710),a=r(99719),l=r(24744);let i=(0,o.forwardRef)((e,t)=>{var r;let{container:i=null==globalThis?void 0:null===(r=globalThis.document)||void 0===r?void 0:r.body,...s}=e;return i?a.createPortal((0,o.createElement)(l.WV.div,(0,n.Z)({},s,{ref:t})),i):null}),s=i},73093:function(e,t,r){r.d(t,{z:function(){return i}});var n=r(91710),o=r(99719),a=r(37321),l=r(26141);let i=e=>{let{present:t,children:r}=e,i=function(e){var t,r;let[a,i]=(0,n.useState)(),u=(0,n.useRef)({}),c=(0,n.useRef)(e),d=(0,n.useRef)("none"),[f,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,n.useReducer)((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return(0,n.useEffect)(()=>{let e=s(u.current);d.current="mounted"===f?e:"none"},[f]),(0,l.b)(()=>{let t=u.current,r=c.current;if(r!==e){let n=d.current,o=s(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,l.b)(()=>{if(a){let e=e=>{let t=s(u.current).includes(e.animationName);e.target===a&&t&&(0,o.flushSync)(()=>p("ANIMATION_END"))},t=e=>{e.target===a&&(d.current=s(u.current))};return a.addEventListener("animationstart",t),a.addEventListener("animationcancel",e),a.addEventListener("animationend",e),()=>{a.removeEventListener("animationstart",t),a.removeEventListener("animationcancel",e),a.removeEventListener("animationend",e)}}p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:(0,n.useCallback)(e=>{e&&(u.current=getComputedStyle(e)),i(e)},[])}}(t),u="function"==typeof r?r({present:i.isPresent}):n.Children.only(r),c=(0,a.e)(i.ref,u.ref);return"function"==typeof r||i.isPresent?(0,n.cloneElement)(u,{ref:c}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},24744:function(e,t,r){r.d(t,{WV:function(){return i},jH:function(){return s}});var n=r(99503),o=r(91710),a=r(99719),l=r(19767);let i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,o.forwardRef)((e,r)=>{let{asChild:a,...i}=e,s=a?l.g7:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(s,(0,n.Z)({},i,{ref:r}))});return r.displayName="Primitive.".concat(t),{...e,[t]:r}},{});function s(e,t){e&&(0,a.flushSync)(()=>e.dispatchEvent(t))}},620:function(e,t,r){r.d(t,{ck:function(){return L},fC:function(){return I},oo:function(){return R},z$:function(){return A}});var n=r(99503),o=r(91710),a=r(62283),l=r(37321),i=r(5382),s=r(24744),u=r(92213),c=r(32574),d=r(25815),f=r(81918),p=r(17251),m=r(73093);let v="Radio",[g,h]=(0,i.b)(v),[y,b]=g(v),w=(0,o.forwardRef)((e,t)=>{let{__scopeRadio:r,name:i,checked:u=!1,required:c,disabled:d,value:f="on",onCheck:p,...m}=e,[v,g]=(0,o.useState)(null),h=(0,l.e)(t,e=>g(e)),b=(0,o.useRef)(!1),w=!v||!!v.closest("form");return(0,o.createElement)(y,{scope:r,checked:u,disabled:d},(0,o.createElement)(s.WV.button,(0,n.Z)({type:"button",role:"radio","aria-checked":u,"data-state":P(u),"data-disabled":d?"":void 0,disabled:d,value:f},m,{ref:h,onClick:(0,a.M)(e.onClick,e=>{u||null==p||p(),w&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})),w&&(0,o.createElement)(E,{control:v,bubbles:!b.current,name:i,value:f,checked:u,required:c,disabled:d,style:{transform:"translateX(-100%)"}}))}),C=(0,o.forwardRef)((e,t)=>{let{__scopeRadio:r,forceMount:a,...l}=e,i=b("RadioIndicator",r);return(0,o.createElement)(m.z,{present:a||i.checked},(0,o.createElement)(s.WV.span,(0,n.Z)({"data-state":P(i.checked),"data-disabled":i.disabled?"":void 0},l,{ref:t})))}),E=e=>{let{control:t,checked:r,bubbles:a=!0,...l}=e,i=(0,o.useRef)(null),s=(0,p.D)(r),u=(0,f.t)(t);return(0,o.useEffect)(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==r&&t){let n=new Event("click",{bubbles:a});t.call(e,r),e.dispatchEvent(n)}},[s,r,a]),(0,o.createElement)("input",(0,n.Z)({type:"radio","aria-hidden":!0,defaultChecked:r},l,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function P(e){return e?"checked":"unchecked"}let x=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],N="RadioGroup",[O,R]=(0,i.b)(N,[u.Pc,h]),D=(0,u.Pc)(),M=h(),[_,T]=O(N),S=(0,o.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,name:a,defaultValue:l,value:i,required:f=!1,disabled:p=!1,orientation:m,dir:v,loop:g=!0,onValueChange:h,...y}=e,b=D(r),w=(0,d.gm)(v),[C,E]=(0,c.T)({prop:i,defaultProp:l,onChange:h});return(0,o.createElement)(_,{scope:r,name:a,required:f,disabled:p,value:C,onValueChange:E},(0,o.createElement)(u.fC,(0,n.Z)({asChild:!0},b,{orientation:m,dir:w,loop:g}),(0,o.createElement)(s.WV.div,(0,n.Z)({role:"radiogroup","aria-required":f,"aria-orientation":m,"data-disabled":p?"":void 0,dir:w},y,{ref:t}))))}),k=(0,o.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,disabled:i,...s}=e,c=T("RadioGroupItem",r),d=c.disabled||i,f=D(r),p=M(r),m=(0,o.useRef)(null),v=(0,l.e)(t,m),g=c.value===s.value,h=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{x.includes(e.key)&&(h.current=!0)},t=()=>h.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,o.createElement)(u.ck,(0,n.Z)({asChild:!0},f,{focusable:!d,active:g}),(0,o.createElement)(w,(0,n.Z)({disabled:d,required:c.required,checked:g},p,s,{name:c.name,ref:v,onCheck:()=>c.onValueChange(s.value),onKeyDown:(0,a.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,a.M)(s.onFocus,()=>{var e;h.current&&(null===(e=m.current)||void 0===e||e.click())})})))}),j=(0,o.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,...a}=e,l=M(r);return(0,o.createElement)(C,(0,n.Z)({},l,a,{ref:t}))}),I=S,L=k,A=j},92213:function(e,t,r){r.d(t,{Pc:function(){return C},ck:function(){return _},fC:function(){return M}});var n=r(99503),o=r(91710),a=r(62283),l=r(20469),i=r(37321),s=r(5382),u=r(65276),c=r(24744),d=r(44266),f=r(32574),p=r(25815);let m="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[h,y,b]=(0,l.B)(g),[w,C]=(0,s.b)(g,[b]),[E,P]=w(g),x=(0,o.forwardRef)((e,t)=>(0,o.createElement)(h.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(h.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(N,(0,n.Z)({},e,{ref:t}))))),N=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:l,loop:s=!1,dir:u,currentTabStopId:g,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:b,onEntryFocus:w,...C}=e,P=(0,o.useRef)(null),x=(0,i.e)(t,P),N=(0,p.gm)(u),[O=null,R]=(0,f.T)({prop:g,defaultProp:h,onChange:b}),[M,_]=(0,o.useState)(!1),T=(0,d.W)(w),S=y(r),k=(0,o.useRef)(!1),[j,I]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=P.current;if(e)return e.addEventListener(m,T),()=>e.removeEventListener(m,T)},[T]),(0,o.createElement)(E,{scope:r,orientation:l,dir:N,loop:s,currentTabStopId:O,onItemFocus:(0,o.useCallback)(e=>R(e),[R]),onItemShiftTab:(0,o.useCallback)(()=>_(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>I(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>I(e=>e-1),[])},(0,o.createElement)(c.WV.div,(0,n.Z)({tabIndex:M||0===j?-1:0,"data-orientation":l},C,{ref:x,style:{outline:"none",...e.style},onMouseDown:(0,a.M)(e.onMouseDown,()=>{k.current=!0}),onFocus:(0,a.M)(e.onFocus,e=>{let t=!k.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(m,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=S().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current))}}k.current=!1}),onBlur:(0,a.M)(e.onBlur,()=>_(!1))})))}),O=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:i=!1,tabStopId:s,...d}=e,f=(0,u.M)(),p=s||f,m=P("RovingFocusGroupItem",r),v=m.currentTabStopId===p,g=y(r),{onFocusableItemAdd:b,onFocusableItemRemove:w}=m;return(0,o.useEffect)(()=>{if(l)return b(),()=>w()},[l,b,w]),(0,o.createElement)(h.ItemSlot,{scope:r,id:p,focusable:l,active:i},(0,o.createElement)(c.WV.span,(0,n.Z)({tabIndex:v?0:-1,"data-orientation":m.orientation},d,{ref:t,onMouseDown:(0,a.M)(e.onMouseDown,e=>{l?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,a.M)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,a.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return R[o]}(e,m.orientation,m.dir);if(void 0!==t){e.preventDefault();let o=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let a=o.indexOf(e.currentTarget);o=m.loop?(r=o,n=a+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(a+1)}setTimeout(()=>D(o))}})})))}),R={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}let M=x,_=O},23019:function(e,t,r){r.d(t,{LW:function(){return Y},Ns:function(){return q},bU:function(){return X},fC:function(){return G},l_:function(){return U}});var n=r(99503),o=r(91710),a=r(24744),l=r(73093),i=r(5382),s=r(37321),u=r(44266),c=r(25815),d=r(26141),f=r(23422),p=r(62283);let m="ScrollArea",[v,g]=(0,i.b)(m),[h,y]=v(m),b=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,type:l="hover",dir:i,scrollHideDelay:u=600,...d}=e,[f,p]=(0,o.useState)(null),[m,v]=(0,o.useState)(null),[g,y]=(0,o.useState)(null),[b,w]=(0,o.useState)(null),[C,E]=(0,o.useState)(null),[P,x]=(0,o.useState)(0),[N,O]=(0,o.useState)(0),[R,D]=(0,o.useState)(!1),[M,_]=(0,o.useState)(!1),T=(0,s.e)(t,e=>p(e)),S=(0,c.gm)(i);return(0,o.createElement)(h,{scope:r,type:l,dir:S,scrollHideDelay:u,scrollArea:f,viewport:m,onViewportChange:v,content:g,onContentChange:y,scrollbarX:b,onScrollbarXChange:w,scrollbarXEnabled:R,onScrollbarXEnabledChange:D,scrollbarY:C,onScrollbarYChange:E,scrollbarYEnabled:M,onScrollbarYEnabledChange:_,onCornerWidthChange:x,onCornerHeightChange:O},(0,o.createElement)(a.WV.div,(0,n.Z)({dir:S},d,{ref:T,style:{position:"relative","--radix-scroll-area-corner-width":P+"px","--radix-scroll-area-corner-height":N+"px",...e.style}})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,children:l,...i}=e,u=y("ScrollAreaViewport",r),c=(0,o.useRef)(null),d=(0,s.e)(t,c,u.onViewportChange);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,o.createElement)(a.WV.div,(0,n.Z)({"data-radix-scroll-area-viewport":""},i,{ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,o.createElement)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"}},l)))}),C="ScrollAreaScrollbar",E=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...a}=e,l=y(C,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:s}=l,u="horizontal"===e.orientation;return(0,o.useEffect)(()=>(u?i(!0):s(!0),()=>{u?i(!1):s(!1)}),[u,i,s]),"hover"===l.type?(0,o.createElement)(P,(0,n.Z)({},a,{ref:t,forceMount:r})):"scroll"===l.type?(0,o.createElement)(x,(0,n.Z)({},a,{ref:t,forceMount:r})):"auto"===l.type?(0,o.createElement)(N,(0,n.Z)({},a,{ref:t,forceMount:r})):"always"===l.type?(0,o.createElement)(O,(0,n.Z)({},a,{ref:t})):null}),P=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...a}=e,i=y(C,e.__scopeScrollArea),[s,u]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=i.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),u(!0)},n=()=>{t=window.setTimeout(()=>u(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[i.scrollArea,i.scrollHideDelay]),(0,o.createElement)(l.z,{present:r||s},(0,o.createElement)(N,(0,n.Z)({"data-state":s?"visible":"hidden"},a,{ref:t})))}),x=(0,o.forwardRef)((e,t)=>{var r;let{forceMount:a,...i}=e,s=y(C,e.__scopeScrollArea),u="horizontal"===e.orientation,c=B(()=>f("SCROLL_END"),100),[d,f]=(r={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,o.useReducer)((e,t)=>{let n=r[e][t];return null!=n?n:e},"hidden"));return(0,o.useEffect)(()=>{if("idle"===d){let e=window.setTimeout(()=>f("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,s.scrollHideDelay,f]),(0,o.useEffect)(()=>{let e=s.viewport,t=u?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t];r!==n&&(f("SCROLL"),c()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,u,f,c]),(0,o.createElement)(l.z,{present:a||"hidden"!==d},(0,o.createElement)(O,(0,n.Z)({"data-state":"hidden"===d?"hidden":"visible"},i,{ref:t,onPointerEnter:(0,p.M)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,p.M)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})))}),N=(0,o.forwardRef)((e,t)=>{let r=y(C,e.__scopeScrollArea),{forceMount:a,...i}=e,[s,u]=(0,o.useState)(!1),c="horizontal"===e.orientation,d=B(()=>{if(r.viewport){let e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;u(c?e:t)}},10);return K(r.viewport,d),K(r.content,d),(0,o.createElement)(l.z,{present:a||s},(0,o.createElement)(O,(0,n.Z)({"data-state":s?"visible":"hidden"},i,{ref:t})))}),O=(0,o.forwardRef)((e,t)=>{let{orientation:r="vertical",...a}=e,l=y(C,e.__scopeScrollArea),i=(0,o.useRef)(null),s=(0,o.useRef)(0),[u,c]=(0,o.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=V(u.viewport,u.content),f={...a,sizes:u,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>i.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function p(e,t){return function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr",o=W(r),a=t||o/2,l=r.scrollbar.paddingStart+a,i=r.scrollbar.size-r.scrollbar.paddingEnd-(o-a),s=r.content-r.viewport;return H([l,i],"ltr"===n?[0,s]:[-1*s,0])(e)}(e,s.current,u,t)}return"horizontal"===r?(0,o.createElement)(R,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(l.viewport&&i.current){let e=Z(l.viewport.scrollLeft,u,l.dir);i.current.style.transform="translate3d(".concat(e,"px, 0, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollLeft=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollLeft=p(e,l.dir))}})):"vertical"===r?(0,o.createElement)(D,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(l.viewport&&i.current){let e=Z(l.viewport.scrollTop,u);i.current.style.transform="translate3d(0, ".concat(e,"px, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollTop=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollTop=p(e))}})):null}),R=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:a,...l}=e,i=y(C,e.__scopeScrollArea),[u,c]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,s.e)(t,d,i.onScrollbarXChange);return(0,o.useEffect)(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,o.createElement)(T,(0,n.Z)({"data-orientation":"horizontal"},l,{ref:f,sizes:r,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":W(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(i.viewport){let n=i.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),n>0&&n<r&&t.preventDefault()}},onResize:()=>{d.current&&i.viewport&&u&&a({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:z(u.paddingLeft),paddingEnd:z(u.paddingRight)}})}}))}),D=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:a,...l}=e,i=y(C,e.__scopeScrollArea),[u,c]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,s.e)(t,d,i.onScrollbarYChange);return(0,o.useEffect)(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,o.createElement)(T,(0,n.Z)({"data-orientation":"vertical"},l,{ref:f,sizes:r,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":W(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(i.viewport){let n=i.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),n>0&&n<r&&t.preventDefault()}},onResize:()=>{d.current&&i.viewport&&u&&a({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:z(u.paddingTop),paddingEnd:z(u.paddingBottom)}})}}))}),[M,_]=v(C),T=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,sizes:l,hasThumb:i,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:f,onThumbPositionChange:m,onDragScroll:v,onWheelScroll:g,onResize:h,...b}=e,w=y(C,r),[E,P]=(0,o.useState)(null),x=(0,s.e)(t,e=>P(e)),N=(0,o.useRef)(null),O=(0,o.useRef)(""),R=w.viewport,D=l.content-l.viewport,_=(0,u.W)(g),T=(0,u.W)(m),S=B(h,10);function k(e){N.current&&v({x:e.clientX-N.current.left,y:e.clientY-N.current.top})}return(0,o.useEffect)(()=>{let e=e=>{let t=e.target;(null==E?void 0:E.contains(t))&&_(e,D)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[R,E,D,_]),(0,o.useEffect)(T,[l,T]),K(E,S),K(w.content,S),(0,o.createElement)(M,{scope:r,scrollbar:E,hasThumb:i,onThumbChange:(0,u.W)(c),onThumbPointerUp:(0,u.W)(d),onThumbPositionChange:T,onThumbPointerDown:(0,u.W)(f)},(0,o.createElement)(a.WV.div,(0,n.Z)({},b,{ref:x,style:{position:"absolute",...b.style},onPointerDown:(0,p.M)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),N.current=E.getBoundingClientRect(),O.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),k(e))}),onPointerMove:(0,p.M)(e.onPointerMove,k),onPointerUp:(0,p.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=O.current,w.viewport&&(w.viewport.style.scrollBehavior=""),N.current=null})})))}),S="ScrollAreaThumb",k=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...a}=e,i=_(S,e.__scopeScrollArea);return(0,o.createElement)(l.z,{present:r||i.hasThumb},(0,o.createElement)(j,(0,n.Z)({ref:t},a)))}),j=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,style:l,...i}=e,u=y(S,r),c=_(S,r),{onThumbPositionChange:d}=c,f=(0,s.e)(t,e=>c.onThumbChange(e)),m=(0,o.useRef)(),v=B(()=>{m.current&&(m.current(),m.current=void 0)},100);return(0,o.useEffect)(()=>{let e=u.viewport;if(e){let t=()=>{if(v(),!m.current){let t=F(e,d);m.current=t,d()}};return d(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[u.viewport,v,d]),(0,o.createElement)(a.WV.div,(0,n.Z)({"data-state":c.hasThumb?"visible":"hidden"},i,{ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...l},onPointerDownCapture:(0,p.M)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;c.onThumbPointerDown({x:r,y:n})}),onPointerUp:(0,p.M)(e.onPointerUp,c.onThumbPointerUp)}))}),I="ScrollAreaCorner",L=(0,o.forwardRef)((e,t)=>{let r=y(I,e.__scopeScrollArea),a=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&a?(0,o.createElement)(A,(0,n.Z)({},e,{ref:t})):null}),A=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,...l}=e,i=y(I,r),[s,u]=(0,o.useState)(0),[c,d]=(0,o.useState)(0),f=!!(s&&c);return K(i.scrollbarX,()=>{var e;let t=(null===(e=i.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;i.onCornerHeightChange(t),d(t)}),K(i.scrollbarY,()=>{var e;let t=(null===(e=i.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;i.onCornerWidthChange(t),u(t)}),f?(0,o.createElement)(a.WV.div,(0,n.Z)({},l,{ref:t,style:{width:s,height:c,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}})):null});function z(e){return e?parseInt(e,10):0}function V(e,t){let r=e/t;return isNaN(r)?0:r}function W(e){let t=V(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function Z(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",n=W(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,l=t.content-t.viewport,i=(0,f.u)(e,"ltr"===r?[0,l]:[-1*l,0]);return H([0,l],[0,a-n])(i)}function H(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}let F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let a={left:e.scrollLeft,top:e.scrollTop},l=r.left!==a.left,i=r.top!==a.top;(l||i)&&t(),r=a,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function B(e,t){let r=(0,u.W)(e),n=(0,o.useRef)(0);return(0,o.useEffect)(()=>()=>window.clearTimeout(n.current),[]),(0,o.useCallback)(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function K(e,t){let r=(0,u.W)(t);(0,d.b)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}let G=b,U=w,Y=E,X=k,q=L},19767:function(e,t,r){r.d(t,{A4:function(){return s},g7:function(){return l}});var n=r(99503),o=r(91710),a=r(37321);let l=(0,o.forwardRef)((e,t)=>{let{children:r,...a}=e,l=o.Children.toArray(r),s=l.find(u);if(s){let e=s.props.children,r=l.map(t=>t!==s?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(i,(0,n.Z)({},a,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,r):null)}return(0,o.createElement)(i,(0,n.Z)({},a,{ref:t}),r)});l.displayName="Slot";let i=(0,o.forwardRef)((e,t)=>{let{children:r,...n}=e;return(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];a(...t),o(...t)}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props),ref:t?(0,a.F)(t,r.ref):r.ref}):o.Children.count(r)>1?o.Children.only(null):null});i.displayName="SlotClone";let s=e=>{let{children:t}=e;return(0,o.createElement)(o.Fragment,null,t)};function u(e){return(0,o.isValidElement)(e)&&e.type===s}},28726:function(e,t,r){r.d(t,{Eh:function(){return F},VY:function(){return H},fC:function(){return V},h_:function(){return Z},xz:function(){return W},zt:function(){return z}});var n=r(99503),o=r(91710),a=r(62283),l=r(37321),i=r(5382),s=r(46876),u=r(65276),c=r(81034),d=r(1781),f=r(73093),p=r(24744),m=r(19767),v=r(32574),g=r(56998);let[h,y]=(0,i.b)("Tooltip",[c.D7]),b=(0,c.D7)(),w="tooltip.open",[C,E]=h("TooltipProvider"),P="Tooltip",[x,N]=h(P),O="TooltipTrigger",R=(0,o.forwardRef)((e,t)=>{let{__scopeTooltip:r,...i}=e,s=N(O,r),u=E(O,r),d=b(r),f=(0,o.useRef)(null),m=(0,l.e)(t,f,s.onTriggerChange),v=(0,o.useRef)(!1),g=(0,o.useRef)(!1),h=(0,o.useCallback)(()=>v.current=!1,[]);return(0,o.useEffect)(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,o.createElement)(c.ee,(0,n.Z)({asChild:!0},d),(0,o.createElement)(p.WV.button,(0,n.Z)({"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute},i,{ref:m,onPointerMove:(0,a.M)(e.onPointerMove,e=>{"touch"===e.pointerType||g.current||u.isPointerInTransitRef.current||(s.onTriggerEnter(),g.current=!0)}),onPointerLeave:(0,a.M)(e.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:(0,a.M)(e.onPointerDown,()=>{v.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:(0,a.M)(e.onFocus,()=>{v.current||s.onOpen()}),onBlur:(0,a.M)(e.onBlur,s.onClose),onClick:(0,a.M)(e.onClick,s.onClose)})))}),D="TooltipPortal",[M,_]=h(D,{forceMount:void 0}),T="TooltipContent",S=(0,o.forwardRef)((e,t)=>{let r=_(T,e.__scopeTooltip),{forceMount:a=r.forceMount,side:l="top",...i}=e,s=N(T,e.__scopeTooltip);return(0,o.createElement)(f.z,{present:a||s.open},s.disableHoverableContent?(0,o.createElement)(L,(0,n.Z)({side:l},i,{ref:t})):(0,o.createElement)(k,(0,n.Z)({side:l},i,{ref:t})))}),k=(0,o.forwardRef)((e,t)=>{let r=N(T,e.__scopeTooltip),a=E(T,e.__scopeTooltip),i=(0,o.useRef)(null),s=(0,l.e)(t,i),[u,c]=(0,o.useState)(null),{trigger:d,onClose:f}=r,p=i.current,{onPointerInTransitChange:m}=a,v=(0,o.useCallback)(()=>{c(null),m(!1)},[m]),g=(0,o.useCallback)((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},o=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,r.getBoundingClientRect());c(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(t)}([...function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,o),...function(e){let{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}]}(t.getBoundingClientRect())])),m(!0)},[m]);return(0,o.useEffect)(()=>()=>v(),[v]),(0,o.useEffect)(()=>{if(d&&p){let e=e=>g(e,p),t=e=>g(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,g,v]),(0,o.useEffect)(()=>{if(u){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==d?void 0:d.contains(t))||(null==p?void 0:p.contains(t)),o=!function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let l=t[e].x,i=t[e].y,s=t[a].x,u=t[a].y;i>n!=u>n&&r<(s-l)*(n-i)/(u-i)+l&&(o=!o)}return o}(r,u);n?v():o&&(v(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,u,f,v]),(0,o.createElement)(L,(0,n.Z)({},e,{ref:s}))}),[j,I]=h(P,{isInside:!1}),L=(0,o.forwardRef)((e,t)=>{let{__scopeTooltip:r,children:a,"aria-label":l,onEscapeKeyDown:i,onPointerDownOutside:u,...d}=e,f=N(T,r),p=b(r),{onClose:v}=f;return(0,o.useEffect)(()=>(document.addEventListener(w,v),()=>document.removeEventListener(w,v)),[v]),(0,o.useEffect)(()=>{if(f.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(f.trigger)&&v()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,v]),(0,o.createElement)(s.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:v},(0,o.createElement)(c.VY,(0,n.Z)({"data-state":f.stateAttribute},p,d,{ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,o.createElement)(m.A4,null,a),(0,o.createElement)(j,{scope:r,isInside:!0},(0,o.createElement)(g.f,{id:f.contentId,role:"tooltip"},l||a))))}),A=(0,o.forwardRef)((e,t)=>{let{__scopeTooltip:r,...a}=e,l=b(r);return I("TooltipArrow",r).isInside?null:(0,o.createElement)(c.Eh,(0,n.Z)({},l,a,{ref:t}))}),z=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:l}=e,[i,s]=(0,o.useState)(!0),u=(0,o.useRef)(!1),c=(0,o.useRef)(0);return(0,o.useEffect)(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,o.createElement)(C,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:(0,o.useCallback)(()=>{window.clearTimeout(c.current),s(!1)},[]),onClose:(0,o.useCallback)(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:u,onPointerInTransitChange:(0,o.useCallback)(e=>{u.current=e},[]),disableHoverableContent:a},l)},V=e=>{let{__scopeTooltip:t,children:r,open:n,defaultOpen:a=!1,onOpenChange:l,disableHoverableContent:i,delayDuration:s}=e,d=E(P,e.__scopeTooltip),f=b(t),[p,m]=(0,o.useState)(null),g=(0,u.M)(),h=(0,o.useRef)(0),y=null!=i?i:d.disableHoverableContent,C=null!=s?s:d.delayDuration,N=(0,o.useRef)(!1),[O=!1,R]=(0,v.T)({prop:n,defaultProp:a,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(w))):d.onClose(),null==l||l(e)}}),D=(0,o.useMemo)(()=>O?N.current?"delayed-open":"instant-open":"closed",[O]),M=(0,o.useCallback)(()=>{window.clearTimeout(h.current),N.current=!1,R(!0)},[R]),_=(0,o.useCallback)(()=>{window.clearTimeout(h.current),R(!1)},[R]),T=(0,o.useCallback)(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{N.current=!0,R(!0)},C)},[C,R]);return(0,o.useEffect)(()=>()=>window.clearTimeout(h.current),[]),(0,o.createElement)(c.fC,f,(0,o.createElement)(x,{scope:t,contentId:g,open:O,stateAttribute:D,trigger:p,onTriggerChange:m,onTriggerEnter:(0,o.useCallback)(()=>{d.isOpenDelayed?T():M()},[d.isOpenDelayed,T,M]),onTriggerLeave:(0,o.useCallback)(()=>{y?_():window.clearTimeout(h.current)},[_,y]),onOpen:M,onClose:_,disableHoverableContent:y},r))},W=R,Z=e=>{let{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,l=N(D,t);return(0,o.createElement)(M,{scope:t,forceMount:r},(0,o.createElement)(f.z,{present:r||l.open},(0,o.createElement)(d.h,{asChild:!0,container:a},n)))},H=S,F=A},44266:function(e,t,r){r.d(t,{W:function(){return o}});var n=r(91710);function o(e){let t=(0,n.useRef)(e);return(0,n.useEffect)(()=>{t.current=e}),(0,n.useMemo)(()=>function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call(t,...n)},[])}},32574:function(e,t,r){r.d(t,{T:function(){return a}});var n=r(91710),o=r(44266);function a(e){let{prop:t,defaultProp:r,onChange:a=()=>{}}=e,[l,i]=function(e){let{defaultProp:t,onChange:r}=e,a=(0,n.useState)(t),[l]=a,i=(0,n.useRef)(l),s=(0,o.W)(r);return(0,n.useEffect)(()=>{i.current!==l&&(s(l),i.current=l)},[l,i,s]),a}({defaultProp:r,onChange:a}),s=void 0!==t,u=s?t:l,c=(0,o.W)(a);return[u,(0,n.useCallback)(e=>{if(s){let r="function"==typeof e?e(t):e;r!==t&&c(r)}else i(e)},[s,t,i,c])]}},26141:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(91710);let o=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:()=>{}},17251:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(91710);function o(e){let t=(0,n.useRef)({value:e,previous:e});return(0,n.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},81918:function(e,t,r){r.d(t,{t:function(){return a}});var n=r(91710),o=r(26141);function a(e){let[t,r]=(0,n.useState)(void 0);return(0,o.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},56998:function(e,t,r){r.d(t,{T:function(){return l},f:function(){return i}});var n=r(99503),o=r(91710),a=r(24744);let l=(0,o.forwardRef)((e,t)=>(0,o.createElement)(a.WV.span,(0,n.Z)({},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}}))),i=l},44267:function(e,t,r){r.r(t),r.d(t,{AccessibleIcon:function(){return n.C}});var n=r(93543)},39627:function(e,t,r){r.r(t),r.d(t,{Action:function(){return A},Cancel:function(){return z},Content:function(){return j},Description:function(){return L},Root:function(){return S},Title:function(){return I},Trigger:function(){return k}});var n=r(91710),o=r(97598),a=r(99503),l=r(5382),i=r(37321),s=r(88424),u=r(62283),c=r(19767);let[d,f]=(0,l.b)("AlertDialog",[s.p8]),p=(0,s.p8)(),m=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...o}=e,l=p(r);return(0,n.createElement)(s.xz,(0,a.Z)({},l,o,{ref:t}))}),v=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...o}=e,l=p(r);return(0,n.createElement)(s.aV,(0,a.Z)({},l,o,{ref:t}))}),g="AlertDialogContent",[h,y]=d(g),b=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,children:o,...l}=e,d=p(r),f=(0,n.useRef)(null),m=(0,i.e)(t,f),v=(0,n.useRef)(null);return(0,n.createElement)(s.jm,{contentName:g,titleName:w,docsSlug:"alert-dialog"},(0,n.createElement)(h,{scope:r,cancelRef:v},(0,n.createElement)(s.VY,(0,a.Z)({role:"alertdialog"},d,l,{ref:m,onOpenAutoFocus:(0,u.M)(l.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=v.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault()}),(0,n.createElement)(c.A4,null,o),!1)))}),w="AlertDialogTitle",C=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...o}=e,l=p(r);return(0,n.createElement)(s.Dx,(0,a.Z)({},l,o,{ref:t}))}),E=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...o}=e,l=p(r);return(0,n.createElement)(s.dk,(0,a.Z)({},l,o,{ref:t}))}),P=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...o}=e,l=p(r);return(0,n.createElement)(s.x8,(0,a.Z)({},l,o,{ref:t}))}),x=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...o}=e,{cancelRef:l}=y("AlertDialogCancel",r),u=p(r),c=(0,i.e)(t,l);return(0,n.createElement)(s.x8,(0,a.Z)({},u,o,{ref:c}))}),N=e=>{let{__scopeAlertDialog:t,...r}=e,o=p(t);return(0,n.createElement)(s.fC,(0,a.Z)({},o,r,{modal:!0}))},O=e=>{let{__scopeAlertDialog:t,...r}=e,o=p(t);return(0,n.createElement)(s.h_,(0,a.Z)({},o,r))};var R=r(14819),D=r(66475),M=r(85510),_=r(55259),T=r(62542);let S=e=>n.createElement(N,{...e});S.displayName="AlertDialog.Root";let k=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(m,{...o,ref:t,asChild:!0},(0,D.O$)(r))});k.displayName="AlertDialog.Trigger";let j=n.forwardRef((e,t)=>{let{className:r,forceMount:a,container:l,...i}=(0,D.yH)(e,R.S);return n.createElement(O,{container:l,forceMount:a},n.createElement(T.Theme,{asChild:!0},n.createElement(v,{className:"rt-BaseDialogOverlay rt-AlertDialogOverlay"},n.createElement("div",{className:"rt-BaseDialogScroll rt-AlertDialogScroll"},n.createElement("div",{className:"rt-BaseDialogScrollPadding rt-AlertDialogScrollPadding"},n.createElement(b,{...i,ref:t,className:o("rt-BaseDialogContent","rt-AlertDialogContent",r)}))))))});j.displayName="AlertDialog.Content";let I=n.forwardRef((e,t)=>n.createElement(C,{asChild:!0},n.createElement(M.X,{size:"5",mb:"3",trim:"start",...e,asChild:!1,ref:t})));I.displayName="AlertDialog.Title";let L=n.forwardRef((e,t)=>n.createElement(E,{asChild:!0},n.createElement(_.x,{as:"p",size:"3",...e,asChild:!1,ref:t})));L.displayName="AlertDialog.Description";let A=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(P,{...o,ref:t,asChild:!0},(0,D.O$)(r))});A.displayName="AlertDialog.Action";let z=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(x,{...o,ref:t,asChild:!0},(0,D.O$)(r))});z.displayName="AlertDialog.Cancel"},14819:function(e,t,r){r.d(t,{S:function(){return n.x}});var n=r(26767)},87697:function(e,t,r){r.r(t),r.d(t,{Avatar:function(){return C}});var n=r(91710),o=r(97598),a=r(99503),l=r(5382),i=r(44266),s=r(26141),u=r(24744);let c="Avatar",[d,f]=(0,l.b)(c),[p,m]=d(c),v=(0,n.forwardRef)((e,t)=>{let{__scopeAvatar:r,...o}=e,[l,i]=(0,n.useState)("idle");return(0,n.createElement)(p,{scope:r,imageLoadingStatus:l,onImageLoadingStatusChange:i},(0,n.createElement)(u.WV.span,(0,a.Z)({},o,{ref:t})))}),g=(0,n.forwardRef)((e,t)=>{let{__scopeAvatar:r,src:o,onLoadingStatusChange:l=()=>{},...c}=e,d=m("AvatarImage",r),f=function(e){let[t,r]=(0,n.useState)("idle");return(0,s.b)(()=>{if(!e){r("error");return}let t=!0,n=new window.Image,o=e=>()=>{t&&r(e)};return r("loading"),n.onload=o("loaded"),n.onerror=o("error"),n.src=e,()=>{t=!1}},[e]),t}(o),p=(0,i.W)(e=>{l(e),d.onImageLoadingStatusChange(e)});return(0,s.b)(()=>{"idle"!==f&&p(f)},[f,p]),"loaded"===f?(0,n.createElement)(u.WV.img,(0,a.Z)({},c,{ref:t,src:o})):null}),h=(0,n.forwardRef)((e,t)=>{let{__scopeAvatar:r,delayMs:o,...l}=e,i=m("AvatarFallback",r),[s,c]=(0,n.useState)(void 0===o);return(0,n.useEffect)(()=>{if(void 0!==o){let e=window.setTimeout(()=>c(!0),o);return()=>window.clearTimeout(e)}},[o]),s&&"loaded"!==i.imageLoadingStatus?(0,n.createElement)(u.WV.span,(0,a.Z)({},l,{ref:t})):null});var y=r(63736),b=r(66475),w=r(51352);let C=n.forwardRef((e,t)=>{let{asChild:r,children:a,className:l,style:i,color:s,radius:u,...c}=(0,b.yH)(e,y.V,w.Ee);return n.createElement(v,{"data-accent-color":s,"data-radius":u,className:o("rt-reset","rt-AvatarRoot",l),style:i,asChild:r},(0,b.xH)({asChild:r,children:a},n.createElement(E,{ref:t,...c})))});C.displayName="Avatar";let E=n.forwardRef((e,t)=>{let{fallback:r,...a}=e,[l,i]=n.useState("idle");return n.createElement(n.Fragment,null,"idle"===l||"loading"===l?n.createElement("span",{className:"rt-AvatarFallback"}):null,"error"===l?n.createElement(h,{className:o("rt-AvatarFallback",{"rt-one-letter":"string"==typeof r&&1===r.length,"rt-two-letters":"string"==typeof r&&2===r.length}),delayMs:0},r):null,n.createElement(g,{ref:t,className:"rt-AvatarImage",...a,onLoadingStatusChange:e=>{var t;null===(t=a.onLoadingStatusChange)||void 0===t||t.call(a,e),i(e)}}))});E.displayName="AvatarImpl"},63736:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],default:"3",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft"],default:"soft"},...n.EG,...n.Kj,...n.Ir,fallback:{type:"ReactNode",required:!0}}},98712:function(e,t,r){r.d(t,{O:function(){return o}});var n=r(51352);let o={...r(2213).C,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"1",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft","surface","outline"],default:"soft"},...n.EG,...n.Kj,...n.Ir}},31548:function(e,t,r){r.d(t,{C:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","solid","soft","surface","outline","ghost"],default:"solid"},...n.EG,...n.Kj,...n.Ir,loading:{type:"boolean",className:"rt-loading",default:!1}}},55488:function(e,t,r){r.d(t,{m:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Kj}},92186:function(e,t,r){r.d(t,{JD:function(){return o},QN:function(){return i},km:function(){return l},nj:function(){return a}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft"],default:"solid"},...n.EG,...n.Kj},a={...n.CD,...n.vP,shortcut:{type:"string"}},l={...n.vP,shortcut:{type:"string"}},i={...n.vP}},93862:function(e,t,r){r.d(t,{U:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2"],default:"2",responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:["nowrap","wrap","wrap-reverse"],responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:["start","center","end"],responsive:!0},...n.EG,...n.Kj}},75387:function(e,t,r){r.d(t,{W:function(){return n}});let n={as:{type:"enum",values:["div","span"],default:"div"},...r(51352).CD,display:{type:"enum",className:"rt-r-display",values:["none","inline","inline-block","block"],responsive:!0}}},27456:function(e,t,r){r.r(t),r.d(t,{Icon:function(){return f},Root:function(){return d},Text:function(){return p}});var n=r(91710),o=r(97598),a=r(19767),l=r(55259),i=r(36341),s=r(66475),u=r(51352);let c=n.createContext({}),d=n.forwardRef((e,t)=>{let{size:r=i.n.size.default,highContrast:l=i.n.highContrast.default}=e,{asChild:d,children:f,className:p,color:m,...v}=(0,s.yH)(e,i.n,u.Ee);return n.createElement(d?a.g7:"div",{"data-accent-color":m,...v,className:o("rt-CalloutRoot",p),ref:t},n.createElement(c.Provider,{value:n.useMemo(()=>({size:r,color:m,highContrast:l}),[r,m,l])},f))});d.displayName="Callout.Root";let f=n.forwardRef((e,t)=>{let{className:r,...a}=e,{color:i,size:u,highContrast:d}=n.useContext(c);return n.createElement(l.x,{asChild:!0,color:i,size:(0,s.qz)(u,s.uJ),highContrast:d},n.createElement("div",{...a,className:o("rt-CalloutIcon",r),ref:t}))});f.displayName="Callout.Icon";let p=n.forwardRef((e,t)=>{let{className:r,...a}=e,{color:i,size:u,highContrast:d}=n.useContext(c);return n.createElement(l.x,{as:"p",size:(0,s.qz)(u,s.uJ),color:i,highContrast:d,...a,asChild:!1,ref:t,className:o("rt-CalloutText",r)})});p.displayName="Callout.Text"},36341:function(e,t,r){r.d(t,{n:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["soft","surface","outline"],default:"soft"},...n.EG,...n.Kj}},51687:function(e,t,r){r.d(t,{s:function(){return n}});let n={...r(51352).CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5"],default:"1",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic","ghost"],default:"surface"}}},51498:function(e,t,r){r.r(t),r.d(t,{Item:function(){return b},Root:function(){return y}});var n=r(91710),o=r(97598),a=r(5382),l=r(7600),i=r(98994),s=r(55488),u=r(66475),c=r(51352),d=r(93816),f=r(35718);let p="CheckboxCards",[m]=(0,a.b)(p,[l.hm]),v=(0,l.hm)(),[g,h]=m(p),y=n.forwardRef((e,t)=>{let{__scopeCheckboxCards:r,className:a,color:s,...f}=(0,u.yH)(e,i.u,c.Ee),p=v(r);return n.createElement(g,{scope:r,size:e.size,highContrast:e.highContrast},n.createElement(d.r,{asChild:!0},n.createElement(l.fC,{...p,"data-accent-color":s,...f,ref:t,className:o("rt-CheckboxCardsRoot",a)})))});y.displayName="CheckboxCards.Root";let b=n.forwardRef((e,t)=>{let{__scopeCheckboxCards:r,children:a,className:i,style:c,...d}=e,p=h("CheckboxCardsItem",r),m=v(r),{className:g}=(0,u.yH)({size:null==p?void 0:p.size,variant:"surface",highContrast:null==p?void 0:p.highContrast},s.m);return n.createElement("label",{className:o("rt-BaseCard","rt-CheckboxCardsItem",i),style:c},a,n.createElement(l.ck,{...m,...d,ref:t,className:o("rt-reset","rt-BaseCheckboxRoot","rt-CheckboxCardCheckbox",g)},n.createElement(l.z$,{...m,asChild:!0,className:"rt-BaseCheckboxIndicator"},n.createElement(f.dc,null))))});b.displayName="CheckboxCards.Item"},98994:function(e,t,r){r.d(t,{u:function(){return a}});var n=r(51352),o=r(42147);let a={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic"],default:"surface"},...n.EG,...n.Kj,columns:{...o.L.columns,default:"repeat(auto-fit, minmax(200px, 1fr))"},gap:{...o.L.gap,default:"4"}}},61353:function(e,t,r){r.r(t),r.d(t,{Item:function(){return y},Root:function(){return h}});var n=r(91710),o=r(97598),a=r(5382),l=r(7600),i=r(66380),s=r(66475),u=r(51352),c=r(35718),d=r(55259);let f="CheckboxGroup",[p]=(0,a.b)(f,[l.hm]),m=(0,l.hm)(),[v,g]=p(f),h=n.forwardRef((e,t)=>{let{color:r=i.s.color.default,highContrast:a=i.s.highContrast.default,size:c=i.s.size.default,variant:d=i.s.variant.default,...f}=e,{__scopeCheckboxGroup:p,className:g,...h}=(0,s.yH)(f,u.Ee),y=m(p);return n.createElement(v,{scope:p,color:r,size:c,highContrast:a,variant:d},n.createElement(l.fC,{...y,...h,ref:t,className:o("rt-CheckboxGroupRoot",g)}))});h.displayName="CheckboxGroup.Root";let y=n.forwardRef((e,t)=>{let{__scopeCheckboxGroup:r,children:a,className:l,style:i,...s}=e,{size:u}=g("CheckboxGroupItem",r);return a?n.createElement(d.x,{as:"label",size:u,className:o("rt-CheckboxGroupItem",l),style:i},n.createElement(b,{__scopeCheckboxGroup:r,...s,ref:t}),a&&n.createElement("span",null,a)):n.createElement(b,{__scopeCheckboxGroup:r,...s,ref:t,className:l,style:i})});y.displayName="CheckboxGroup.Item";let b=n.forwardRef((e,t)=>{let{__scopeCheckboxGroup:r,...a}=e,d=g("CheckboxGroupItemCheckbox",r),f=m(r),{color:p,className:v}=(0,s.yH)({...a,...d},i.s,u.Ee);return n.createElement(l.ck,{...f,"data-accent-color":p,...a,ref:t,className:o("rt-reset","rt-BaseCheckboxRoot","rt-CheckboxGroupItemCheckbox",v)},n.createElement(l.z$,{...f,asChild:!0,className:"rt-BaseCheckboxIndicator"},n.createElement(c.dc,null)))});b.displayName="CheckboxGroup.ItemCheckbox"},7600:function(e,t,r){r.d(t,{ck:function(){return P},fC:function(){return E},hm:function(){return p},z$:function(){return x}});var n=r(91710),o=r(87546),a=r(37321),l=r(5382),i=r(24744),s=r(92213),u=r(32574),c=r(25815);let d="CheckboxGroup",[f,p]=(0,l.b)(d,[s.Pc,o.Ed]),m=(0,s.Pc)(),v=(0,o.Ed)(),[g,h]=f(d),y=n.forwardRef((e,t)=>{let{__scopeCheckboxGroup:r,name:o,defaultValue:a,value:l,required:d=!1,disabled:f=!1,orientation:p,dir:v,loop:h=!0,onValueChange:y,...b}=e,w=m(r),C=(0,c.gm)(v),[E=[],P]=(0,u.T)({prop:l,defaultProp:a,onChange:y}),x=n.useCallback(e=>P(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[P]),N=n.useCallback(e=>P(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[P]);return n.createElement(g,{scope:r,name:o,required:d,disabled:f,value:E,onItemCheck:x,onItemUncheck:N},n.createElement(s.fC,{asChild:!0,...w,orientation:p,dir:C,loop:h},n.createElement(i.WV.div,{role:"group","data-disabled":f?"":void 0,dir:C,...b,ref:t})))});y.displayName=d;let b="CheckboxGroupItem",w=n.forwardRef((e,t)=>{var r;let{__scopeCheckboxGroup:l,disabled:i,...u}=e,c=h(b,l),d=c.disabled||i,f=m(l),p=v(l),g=n.useRef(null),y=(0,a.e)(t,g),w=null===(r=c.value)||void 0===r?void 0:r.includes(u.value);return n.createElement(s.ck,{asChild:!0,...f,focusable:!d,active:w},n.createElement(o.fC,{name:c.name,disabled:d,required:c.required,checked:w,...p,...u,ref:y,onCheckedChange:t=>{t?c.onItemCheck(e.value):c.onItemUncheck(e.value)}}))});w.displayName=b;let C=n.forwardRef((e,t)=>{let{__scopeCheckboxGroup:r,...a}=e,l=v(r);return n.createElement(o.z$,{...l,...a,ref:t})});C.displayName="CheckboxGroupIndicator";let E=y,P=w,x=C},66380:function(e,t,r){r.d(t,{s:function(){return a}});var n=r(51352),o=r(55488);let a={...n.CD,...o.m}},17966:function(e,t,r){r.r(t),r.d(t,{Checkbox:function(){return c}});var n=r(91710),o=r(97598),a=r(87546),l=r(24697),i=r(66475),s=r(51352),u=r(35718);let c=n.forwardRef((e,t)=>{let{className:r,color:c,...d}=(0,i.yH)(e,l.L,s.Ee);return n.createElement(a.fC,{"data-accent-color":c,...d,asChild:!1,ref:t,className:o("rt-reset","rt-BaseCheckboxRoot","rt-CheckboxRoot",r)},n.createElement(a.z$,{asChild:!0,className:"rt-BaseCheckboxIndicator rt-CheckboxIndicator"},n.createElement(u.dc,null)))});c.displayName="Checkbox"},24697:function(e,t,r){r.d(t,{L:function(){return n.m}});var n=r(55488)},65696:function(e,t,r){r.d(t,{y:function(){return o}});var n=r(51352);let o={...r(2213).C,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},variant:{type:"enum",className:"rt-variant",values:["solid","soft","outline","ghost"],default:"soft"},...n.xE,...n.EG,...n.Kj,...n.w1,...n.Wx}},11441:function(e,t,r){r.d(t,{n:function(){return n}});let n={...r(51352).CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"4",responsive:!0},display:{type:"enum",className:"rt-r-display",values:["none","initial"],parseValue:function(e){return"initial"===e?"flex":e},responsive:!0},align:{type:"enum",className:"rt-r-ai",values:["left","center","right"],parseValue:function(e){return"left"===e?"start":"right"===e?"end":e},responsive:!0}}},28456:function(e,t,r){r.r(t),r.d(t,{CheckboxItem:function(){return X},Content:function(){return F},Group:function(){return G},Item:function(){return K},Label:function(){return B},RadioGroup:function(){return U},RadioItem:function(){return Y},Root:function(){return W},Separator:function(){return Q},Sub:function(){return q},SubContent:function(){return $},SubTrigger:function(){return J},Trigger:function(){return Z}});var n=r(91710),o=r(97598),a=r(99503),l=r(62283),i=r(5382),s=r(24744),u=r(39108),c=r(44266),d=r(32574);let f="ContextMenu",[p,m]=(0,i.b)(f,[u.Wf]),v=(0,u.Wf)(),[g,h]=p(f),y=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,disabled:o=!1,...i}=e,c=h("ContextMenuTrigger",r),d=v(r),f=(0,n.useRef)({x:0,y:0}),p=(0,n.useRef)({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...f.current})}),m=(0,n.useRef)(0),g=(0,n.useCallback)(()=>window.clearTimeout(m.current),[]),y=e=>{f.current={x:e.clientX,y:e.clientY},c.onOpenChange(!0)};return(0,n.useEffect)(()=>g,[g]),(0,n.useEffect)(()=>void(o&&g()),[o,g]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.ee,(0,a.Z)({},d,{virtualRef:p})),(0,n.createElement)(s.WV.span,(0,a.Z)({"data-state":c.open?"open":"closed","data-disabled":o?"":void 0},i,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:o?e.onContextMenu:(0,l.M)(e.onContextMenu,e=>{g(),y(e),e.preventDefault()}),onPointerDown:o?e.onPointerDown:(0,l.M)(e.onPointerDown,_(e=>{g(),m.current=window.setTimeout(()=>y(e),700)})),onPointerMove:o?e.onPointerMove:(0,l.M)(e.onPointerMove,_(g)),onPointerCancel:o?e.onPointerCancel:(0,l.M)(e.onPointerCancel,_(g)),onPointerUp:o?e.onPointerUp:(0,l.M)(e.onPointerUp,_(g))})))}),b=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=h("ContextMenuContent",r),i=v(r),s=(0,n.useRef)(!1);return(0,n.createElement)(u.VY,(0,a.Z)({},i,o,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:t=>{var r;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),!t.defaultPrevented&&s.current&&t.preventDefault(),s.current=!1},onInteractOutside:t=>{var r;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||l.modal||(s.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),w=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.ZA,(0,a.Z)({},l,o,{ref:t}))}),C=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.__,(0,a.Z)({},l,o,{ref:t}))}),E=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.ck,(0,a.Z)({},l,o,{ref:t}))}),P=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.oC,(0,a.Z)({},l,o,{ref:t}))}),x=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.Ee,(0,a.Z)({},l,o,{ref:t}))}),N=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.Rk,(0,a.Z)({},l,o,{ref:t}))}),O=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.wU,(0,a.Z)({},l,o,{ref:t}))}),R=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.Z0,(0,a.Z)({},l,o,{ref:t}))}),D=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.fF,(0,a.Z)({},l,o,{ref:t}))}),M=(0,n.forwardRef)((e,t)=>{let{__scopeContextMenu:r,...o}=e,l=v(r);return(0,n.createElement)(u.tu,(0,a.Z)({},l,o,{ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))});function _(e){return t=>"mouse"!==t.pointerType?e(t):void 0}let T=e=>{let{__scopeContextMenu:t,children:r,onOpenChange:o,dir:l,modal:i=!0}=e,[s,d]=(0,n.useState)(!1),f=v(t),p=(0,c.W)(o),m=(0,n.useCallback)(e=>{d(e),p(e)},[p]);return(0,n.createElement)(g,{scope:t,open:s,onOpenChange:m,modal:i},(0,n.createElement)(u.fC,(0,a.Z)({},f,{dir:l,open:s,onOpenChange:m,modal:i}),r))},S=e=>{let{__scopeContextMenu:t,...r}=e,o=v(t);return(0,n.createElement)(u.h_,(0,a.Z)({},o,r))},k=e=>{let{__scopeContextMenu:t,children:r,onOpenChange:o,open:l,defaultOpen:i}=e,s=v(t),[c,f]=(0,d.T)({prop:l,defaultProp:i,onChange:o});return(0,n.createElement)(u.Tr,(0,a.Z)({},s,{open:c,onOpenChange:f}),r)};var j=r(19767),I=r(935),L=r(11035),A=r(66475),z=r(62542),V=r(35718);let W=e=>n.createElement(T,{...e});W.displayName="ContextMenu.Root";let Z=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(y,{...o,ref:t,asChild:!0},(0,A.O$)(r))});Z.displayName="ContextMenu.Trigger";let H=n.createContext({}),F=n.forwardRef((e,t)=>{let r=(0,z.useThemeContext)(),{size:a=L.Dk.size.default,variant:l=L.Dk.variant.default,highContrast:i=L.Dk.highContrast.default}=e,{className:s,children:u,color:c,container:d,forceMount:f,...p}=(0,A.yH)(e,L.Dk),m=c||r.accentColor;return n.createElement(S,{container:d,forceMount:f},n.createElement(z.Theme,{asChild:!0},n.createElement(b,{"data-accent-color":m,alignOffset:-(4*Number(a)),collisionPadding:10,...p,asChild:!1,ref:t,className:o("rt-PopperContent","rt-BaseMenuContent","rt-ContextMenuContent",s)},n.createElement(I.ScrollArea,{type:"auto"},n.createElement("div",{className:o("rt-BaseMenuViewport","rt-ContextMenuViewport")},n.createElement(H.Provider,{value:n.useMemo(()=>({size:a,variant:l,color:m,highContrast:i}),[a,l,m,i])},u))))))});F.displayName="ContextMenu.Content";let B=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(C,{...a,asChild:!1,ref:t,className:o("rt-BaseMenuLabel","rt-ContextMenuLabel",r)})});B.displayName="ContextMenu.Label";let K=n.forwardRef((e,t)=>{let{className:r,children:a,color:l=L.dz.color.default,shortcut:i,...s}=e;return n.createElement(E,{"data-accent-color":l,...s,ref:t,className:o("rt-reset","rt-BaseMenuItem","rt-ContextMenuItem",r)},n.createElement(j.A4,null,a),i&&n.createElement("div",{className:"rt-BaseMenuShortcut rt-ContextMenuShortcut"},i))});K.displayName="ContextMenu.Item";let G=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(w,{...a,asChild:!1,ref:t,className:o("rt-BaseMenuGroup","rt-ContextMenuGroup",r)})});G.displayName="ContextMenu.Group";let U=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(x,{...a,asChild:!1,ref:t,className:o("rt-BaseMenuRadioGroup","rt-ContextMenuRadioGroup",r)})});U.displayName="ContextMenu.RadioGroup";let Y=n.forwardRef((e,t)=>{let{children:r,className:a,color:l=L.Ld.color.default,...i}=e;return n.createElement(N,{...i,asChild:!1,ref:t,"data-accent-color":l,className:o("rt-BaseMenuItem","rt-BaseMenuRadioItem","rt-ContextMenuItem","rt-ContextMenuRadioItem",a)},n.createElement(j.A4,null,r),n.createElement(O,{className:"rt-BaseMenuItemIndicator rt-ContextMenuItemIndicator"},n.createElement(V.dc,{className:"rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon"})))});Y.displayName="ContextMenu.RadioItem";let X=n.forwardRef((e,t)=>{let{children:r,className:a,shortcut:l,color:i=L.pR.color.default,...s}=e;return n.createElement(P,{...s,asChild:!1,ref:t,"data-accent-color":i,className:o("rt-BaseMenuItem","rt-BaseMenuCheckboxItem","rt-ContextMenuItem","rt-ContextMenuCheckboxItem",a)},n.createElement(j.A4,null,r),n.createElement(O,{className:"rt-BaseMenuItemIndicator rt-ContextMenuItemIndicator"},n.createElement(V.dc,{className:"rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon"})),l&&n.createElement("div",{className:"rt-BaseMenuShortcut rt-ContextMenuShortcut"},l))});X.displayName="ContextMenu.CheckboxItem";let q=e=>n.createElement(k,{...e});q.displayName="ContextMenu.Sub";let J=n.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return n.createElement(D,{...l,asChild:!1,ref:t,className:o("rt-BaseMenuItem","rt-BaseMenuSubTrigger","rt-ContextMenuItem","rt-ContextMenuSubTrigger",r)},a,n.createElement("div",{className:"rt-BaseMenuShortcut rt-ContextMenuShortcut"},n.createElement(V.OW,{className:"rt-BaseMenuSubTriggerIcon rt-ContextMenuSubTriggerIcon"})))});J.displayName="ContextMenu.SubTrigger";let $=n.forwardRef((e,t)=>{let{size:r,variant:a,color:l,highContrast:i}=n.useContext(H),{className:s,children:u,container:c,forceMount:d,...f}=(0,A.yH)({size:r,variant:a,color:l,highContrast:i,...e},L.Dk);return n.createElement(S,{container:c,forceMount:d},n.createElement(z.Theme,{asChild:!0},n.createElement(M,{"data-accent-color":l,alignOffset:-(4*Number(r)),sideOffset:1,collisionPadding:10,...f,asChild:!1,ref:t,className:o("rt-PopperContent","rt-BaseMenuContent","rt-BaseMenuSubContent","rt-ContextMenuContent","rt-ContextMenuSubContent",s)},n.createElement(I.ScrollArea,{type:"auto"},n.createElement("div",{className:o("rt-BaseMenuViewport","rt-ContextMenuViewport")},u)))))});$.displayName="ContextMenu.SubContent";let Q=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(R,{...a,asChild:!1,ref:t,className:o("rt-BaseMenuSeparator","rt-ContextMenuSeparator",r)})});Q.displayName="ContextMenu.Separator"},11035:function(e,t,r){r.d(t,{Dk:function(){return n.JD},Ld:function(){return n.QN},dz:function(){return n.nj},pR:function(){return n.km}});var n=r(92186)},68135:function(e,t,r){r.d(t,{LV:function(){return a},bz:function(){return o},uF:function(){return l}});var n=r(51352);let o={orientation:{type:"enum",className:"rt-r-orientation",values:["horizontal","vertical"],default:"horizontal",responsive:!0},size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},trim:{...n.E0.trim,className:"rt-r-trim"}},a={align:{type:"enum",className:"rt-r-ai",values:["start","center","end","baseline","stretch"],responsive:!0}},l={...n.nb,...n.EG,...n.Kj}},77373:function(e,t,r){r.r(t),r.d(t,{Close:function(){return g},Content:function(){return p},Description:function(){return v},Root:function(){return d},Title:function(){return m},Trigger:function(){return f}});var n=r(91710),o=r(97598),a=r(88424),l=r(26767),i=r(66475),s=r(85510),u=r(55259),c=r(62542);let d=e=>n.createElement(a.fC,{...e,modal:!0});d.displayName="Dialog.Root";let f=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(a.xz,{...o,ref:t,asChild:!0},(0,i.O$)(r))});f.displayName="Dialog.Trigger";let p=n.forwardRef((e,t)=>{let{className:r,forceMount:s,container:u,...d}=(0,i.yH)(e,l.x);return n.createElement(a.h_,{container:u,forceMount:s},n.createElement(c.Theme,{asChild:!0},n.createElement(a.aV,{className:"rt-BaseDialogOverlay rt-DialogOverlay"},n.createElement("div",{className:"rt-BaseDialogScroll rt-DialogScroll"},n.createElement("div",{className:"rt-BaseDialogScrollPadding rt-DialogScrollPadding"},n.createElement(a.VY,{...d,ref:t,className:o("rt-BaseDialogContent","rt-DialogContent",r)}))))))});p.displayName="Dialog.Content";let m=n.forwardRef((e,t)=>n.createElement(a.Dx,{asChild:!0},n.createElement(s.X,{size:"5",mb:"3",trim:"start",...e,asChild:!1,ref:t})));m.displayName="Dialog.Title";let v=n.forwardRef((e,t)=>n.createElement(a.dk,{asChild:!0},n.createElement(u.x,{as:"p",size:"3",...e,asChild:!1,ref:t})));v.displayName="Dialog.Description";let g=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(a.x8,{...o,ref:t,asChild:!0},(0,i.O$)(r))});g.displayName="Dialog.Close"},26767:function(e,t,r){r.d(t,{x:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"3",responsive:!0},width:n.nb.width,minWidth:n.nb.minWidth,maxWidth:{...n.nb.maxWidth,default:"600px"}}},10890:function(e,t,r){r.r(t),r.d(t,{CheckboxItem:function(){return C},Content:function(){return v},Group:function(){return y},Item:function(){return h},Label:function(){return g},RadioGroup:function(){return b},RadioItem:function(){return w},Root:function(){return f},Separator:function(){return N},Sub:function(){return E},SubContent:function(){return x},SubTrigger:function(){return P},Trigger:function(){return p},TriggerIcon:function(){return d.v4}});var n=r(91710),o=r(97598),a=r(71978),l=r(19767),i=r(935),s=r(8090),u=r(66475),c=r(62542),d=r(35718);let f=e=>n.createElement(a.fC,{...e});f.displayName="DropdownMenu.Root";let p=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(a.xz,{...o,ref:t,asChild:!0},(0,u.O$)(r))});p.displayName="DropdownMenu.Trigger";let m=n.createContext({}),v=n.forwardRef((e,t)=>{let r=(0,c.useThemeContext)(),{size:l=s.ry.size.default,variant:d=s.ry.variant.default,highContrast:f=s.ry.highContrast.default}=e,{className:p,children:v,color:g,container:h,forceMount:y,...b}=(0,u.yH)(e,s.ry),w=g||r.accentColor;return n.createElement(a.Uv,{container:h,forceMount:y},n.createElement(c.Theme,{asChild:!0},n.createElement(a.VY,{"data-accent-color":w,align:"start",sideOffset:4,collisionPadding:10,...b,asChild:!1,ref:t,className:o("rt-PopperContent","rt-BaseMenuContent","rt-DropdownMenuContent",p)},n.createElement(i.ScrollArea,{type:"auto"},n.createElement("div",{className:o("rt-BaseMenuViewport","rt-DropdownMenuViewport")},n.createElement(m.Provider,{value:n.useMemo(()=>({size:l,variant:d,color:w,highContrast:f}),[l,d,w,f])},v))))))});v.displayName="DropdownMenu.Content";let g=n.forwardRef((e,t)=>{let{className:r,...l}=e;return n.createElement(a.__,{...l,asChild:!1,ref:t,className:o("rt-BaseMenuLabel","rt-DropdownMenuLabel",r)})});g.displayName="DropdownMenu.Label";let h=n.forwardRef((e,t)=>{let{className:r,children:i,color:u=s.Hq.color.default,shortcut:c,...d}=e;return n.createElement(a.ck,{"data-accent-color":u,...d,ref:t,className:o("rt-reset","rt-BaseMenuItem","rt-DropdownMenuItem",r)},n.createElement(l.A4,null,i),c&&n.createElement("div",{className:"rt-BaseMenuShortcut rt-DropdownMenuShortcut"},c))});h.displayName="DropdownMenu.Item";let y=n.forwardRef((e,t)=>{let{className:r,...l}=e;return n.createElement(a.ZA,{...l,asChild:!1,ref:t,className:o("rt-BaseMenuGroup","rt-DropdownMenuGroup",r)})});y.displayName="DropdownMenu.Group";let b=n.forwardRef((e,t)=>{let{className:r,...l}=e;return n.createElement(a.Ee,{...l,asChild:!1,ref:t,className:o("rt-BaseMenuRadioGroup","rt-DropdownMenuRadioGroup",r)})});b.displayName="DropdownMenu.RadioGroup";let w=n.forwardRef((e,t)=>{let{children:r,className:l,color:i=s.l_.color.default,...u}=e;return n.createElement(a.Rk,{...u,asChild:!1,ref:t,"data-accent-color":i,className:o("rt-BaseMenuItem","rt-BaseMenuRadioItem","rt-DropdownMenuItem","rt-DropdownMenuRadioItem",l)},r,n.createElement(a.wU,{className:"rt-BaseMenuItemIndicator rt-DropdownMenuItemIndicator"},n.createElement(d.dc,{className:"rt-BaseMenuItemIndicatorIcon rt-DropdownMenuItemIndicatorIcon"})))});w.displayName="DropdownMenu.RadioItem";let C=n.forwardRef((e,t)=>{let{children:r,className:l,shortcut:i,color:u=s.Z_.color.default,...c}=e;return n.createElement(a.oC,{...c,asChild:!1,ref:t,"data-accent-color":u,className:o("rt-BaseMenuItem","rt-BaseMenuCheckboxItem","rt-DropdownMenuItem","rt-DropdownMenuCheckboxItem",l)},r,n.createElement(a.wU,{className:"rt-BaseMenuItemIndicator rt-DropdownMenuItemIndicator"},n.createElement(d.dc,{className:"rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon"})),i&&n.createElement("div",{className:"rt-BaseMenuShortcut rt-DropdownMenuShortcut"},i))});C.displayName="DropdownMenu.CheckboxItem";let E=e=>n.createElement(a.Tr,{...e});E.displayName="DropdownMenu.Sub";let P=n.forwardRef((e,t)=>{let{className:r,children:l,...i}=e;return n.createElement(a.fF,{...i,asChild:!1,ref:t,className:o("rt-BaseMenuItem","rt-BaseMenuSubTrigger","rt-DropdownMenuItem","rt-DropdownMenuSubTrigger",r)},l,n.createElement("div",{className:"rt-BaseMenuShortcut rt-DropdownMenuShortcut"},n.createElement(d.OW,{className:"rt-BaseMenuSubTriggerIcon rt-DropdownMenuSubtriggerIcon"})))});P.displayName="DropdownMenu.SubTrigger";let x=n.forwardRef((e,t)=>{let{size:r,variant:l,color:d,highContrast:f}=n.useContext(m),{className:p,children:v,container:g,forceMount:h,...y}=(0,u.yH)({size:r,variant:l,color:d,highContrast:f,...e},s.ry);return n.createElement(a.Uv,{container:g,forceMount:h},n.createElement(c.Theme,{asChild:!0},n.createElement(a.tu,{"data-accent-color":d,alignOffset:-(4*Number(r)),sideOffset:1,collisionPadding:10,...y,asChild:!1,ref:t,className:o("rt-PopperContent","rt-BaseMenuContent","rt-BaseMenuSubContent","rt-DropdownMenuContent","rt-DropdownMenuSubContent",p)},n.createElement(i.ScrollArea,{type:"auto"},n.createElement("div",{className:o("rt-BaseMenuViewport","rt-DropdownMenuViewport")},v)))))});x.displayName="DropdownMenu.SubContent";let N=n.forwardRef((e,t)=>{let{className:r,...l}=e;return n.createElement(a.Z0,{...l,asChild:!1,ref:t,className:o("rt-BaseMenuSeparator","rt-DropdownMenuSeparator",r)})});N.displayName="DropdownMenu.Separator"},8090:function(e,t,r){r.d(t,{Hq:function(){return n.nj},Z_:function(){return n.km},l_:function(){return n.QN},ry:function(){return n.JD}});var n=r(92186)},46423:function(e,t,r){r.d(t,{B:function(){return o}});var n=r(51352);let o={...n.CD,...n.w1,...n.Wx}},69009:function(e,t,r){r.d(t,{l:function(){return o}});var n=r(51352);let o={as:{type:"enum",values:["div","span"],default:"div"},...n.CD,display:{type:"enum",className:"rt-r-display",values:["none","inline-flex","flex"],responsive:!0},direction:{type:"enum",className:"rt-r-fd",values:["row","column","row-reverse","column-reverse"],responsive:!0},align:{type:"enum",className:"rt-r-ai",values:["start","center","end","baseline","stretch"],responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:["start","center","end","between"],parseValue:function(e){return"between"===e?"space-between":e},responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:["nowrap","wrap","wrap-reverse"],responsive:!0},...n.cc}},93816:function(e,t,r){r.d(t,{r:function(){return u}});var n=r(91710),o=r(97598),a=r(19767),l=r(42147),i=r(66475),s=r(51352);let u=n.forwardRef((e,t)=>{let{className:r,asChild:u,as:c="div",...d}=(0,i.yH)(e,l.L,s.P7,s.Ee);return n.createElement(u?a.g7:c,{...d,ref:t,className:o("rt-Grid",r)})});u.displayName="Grid"},42147:function(e,t,r){r.d(t,{L:function(){return o}});var n=r(51352);let o={as:{type:"enum",values:["div","span"],default:"div"},...n.CD,display:{type:"enum",className:"rt-r-display",values:["none","inline-grid","grid"],responsive:!0},columns:{type:"enum | string",className:"rt-r-gtc",customProperties:["--grid-template-columns"],values:["1","2","3","4","5","6","7","8","9"],parseValue:a,responsive:!0},rows:{type:"enum | string",className:"rt-r-gtr",customProperties:["--grid-template-rows"],values:["1","2","3","4","5","6","7","8","9"],parseValue:a,responsive:!0},flow:{type:"enum",className:"rt-r-gaf",values:["row","column","dense","row-dense","column-dense"],responsive:!0},align:{type:"enum",className:"rt-r-ai",values:["start","center","end","baseline","stretch"],responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:["start","center","end","between"],parseValue:function(e){return"between"===e?"space-between":e},responsive:!0},...n.cc};function a(e){return o.columns.values.includes(e)?e:(null==e?void 0:e.match(/^\d+$/))?"repeat(".concat(e,", minmax(0, 1fr))"):e}},85510:function(e,t,r){r.d(t,{X:function(){return u}});var n=r(91710),o=r(97598),a=r(19767),l=r(88902),i=r(66475),s=r(51352);let u=n.forwardRef((e,t)=>{let{children:r,className:u,asChild:c,as:d="h1",color:f,...p}=(0,i.yH)(e,l.p,s.Ee);return n.createElement(a.g7,{"data-accent-color":f||void 0,...p,ref:t,className:o("rt-Heading",u)},c?r:n.createElement(d,null,r))});u.displayName="Heading"},88902:function(e,t,r){r.d(t,{p:function(){return o}});var n=r(51352);let o={as:{type:"enum",values:["h1","h2","h3","h4","h5","h6"],default:"h1"},...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],default:"6",responsive:!0},...n.xE,...n.O1,...n.E0,...n.w1,...n.Wx,...n.vP,...n.Kj}},65989:function(e,t,r){let n;r.r(t),r.d(t,{Content:function(){return A},Root:function(){return I},Trigger:function(){return L}});var o=r(91710),a=r(97598),l=r(99503),i=r(62283),s=r(5382),u=r(32574),c=r(37321),d=r(81034),f=r(1781),p=r(73093),m=r(24744),v=r(46876);let g="HoverCard",[h,y]=(0,s.b)(g,[d.D7]),b=(0,d.D7)(),[w,C]=h(g),E=(0,o.forwardRef)((e,t)=>{let{__scopeHoverCard:r,...n}=e,a=C("HoverCardTrigger",r),s=b(r);return(0,o.createElement)(d.ee,(0,l.Z)({asChild:!0},s),(0,o.createElement)(m.WV.a,(0,l.Z)({"data-state":a.open?"open":"closed"},n,{ref:t,onPointerEnter:(0,i.M)(e.onPointerEnter,M(a.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,M(a.onClose)),onFocus:(0,i.M)(e.onFocus,a.onOpen),onBlur:(0,i.M)(e.onBlur,a.onClose),onTouchStart:(0,i.M)(e.onTouchStart,e=>e.preventDefault())})))}),P="HoverCardPortal",[x,N]=h(P,{forceMount:void 0}),O="HoverCardContent",R=(0,o.forwardRef)((e,t)=>{let r=N(O,e.__scopeHoverCard),{forceMount:n=r.forceMount,...a}=e,s=C(O,e.__scopeHoverCard);return(0,o.createElement)(p.z,{present:n||s.open},(0,o.createElement)(D,(0,l.Z)({"data-state":s.open?"open":"closed"},a,{onPointerEnter:(0,i.M)(e.onPointerEnter,M(s.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,M(s.onClose)),ref:t})))}),D=(0,o.forwardRef)((e,t)=>{let{__scopeHoverCard:r,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:f,...p}=e,m=C(O,r),g=b(r),h=(0,o.useRef)(null),y=(0,c.e)(t,h),[w,E]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(w){let e=document.body;return n=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=n,e.style.webkitUserSelect=n}}},[w]),(0,o.useEffect)(()=>{if(h.current){let e=()=>{E(!1),m.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!==""&&(m.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!1}}},[m.isPointerDownOnContentRef,m.hasSelectionRef]),(0,o.useEffect)(()=>{h.current&&(function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t})(h.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,o.createElement)(v.XB,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:(0,i.M)(u,e=>{e.preventDefault()}),onDismiss:m.onDismiss},(0,o.createElement)(d.VY,(0,l.Z)({},g,p,{onPointerDown:(0,i.M)(p.onPointerDown,e=>{e.currentTarget.contains(e.target)&&E(!0),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!0}),ref:y,style:{...p.style,userSelect:w?"text":void 0,WebkitUserSelect:w?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))});function M(e){return t=>"touch"===t.pointerType?void 0:e()}let _=e=>{let{__scopeHoverCard:t,children:r,open:n,defaultOpen:a,onOpenChange:l,openDelay:i=700,closeDelay:s=300}=e,c=b(t),f=(0,o.useRef)(0),p=(0,o.useRef)(0),m=(0,o.useRef)(!1),v=(0,o.useRef)(!1),[g=!1,h]=(0,u.T)({prop:n,defaultProp:a,onChange:l}),y=(0,o.useCallback)(()=>{clearTimeout(p.current),f.current=window.setTimeout(()=>h(!0),i)},[i,h]),C=(0,o.useCallback)(()=>{clearTimeout(f.current),m.current||v.current||(p.current=window.setTimeout(()=>h(!1),s))},[s,h]),E=(0,o.useCallback)(()=>h(!1),[h]);return(0,o.useEffect)(()=>()=>{clearTimeout(f.current),clearTimeout(p.current)},[]),(0,o.createElement)(w,{scope:t,open:g,onOpenChange:h,onOpen:y,onClose:C,onDismiss:E,hasSelectionRef:m,isPointerDownOnContentRef:v},(0,o.createElement)(d.fC,c,r))},T=e=>{let{__scopeHoverCard:t,forceMount:r,children:n,container:a}=e,l=C(P,t);return(0,o.createElement)(x,{scope:t,forceMount:r},(0,o.createElement)(p.z,{present:r||l.open},(0,o.createElement)(f.h,{asChild:!0,container:a},n)))};var S=r(43686),k=r(66475),j=r(62542);let I=e=>o.createElement(_,{closeDelay:150,openDelay:200,...e});I.displayName="HoverCard.Root";let L=o.forwardRef((e,t)=>{let{children:r,className:n,...l}=e;return o.createElement(E,{ref:t,className:a("rt-HoverCardTrigger",n),...l,asChild:!0},(0,k.O$)(r))});L.displayName="HoverCard.Trigger";let A=o.forwardRef((e,t)=>{let{className:r,forceMount:n,container:l,...i}=(0,k.yH)(e,S.N);return o.createElement(T,{container:l,forceMount:n},o.createElement(j.Theme,{asChild:!0},o.createElement(R,{align:"start",sideOffset:8,collisionPadding:10,...i,ref:t,className:a("rt-PopperContent","rt-HoverCardContent",r)})))});A.displayName="HoverCard.Content"},43686:function(e,t,r){r.d(t,{N:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},width:n.nb.width,minWidth:n.nb.minWidth,maxWidth:{...n.nb.maxWidth,default:"480px"},...n.Fs}},35718:function(e,t,r){r.d(t,{OW:function(){return l},dc:function(){return o},v4:function(){return a}});var n=r(91710);let o=n.forwardRef((e,t)=>n.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z"})));o.displayName="ThickCheckIcon";let a=n.forwardRef((e,t)=>n.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},n.createElement("path",{d:"M0.135232 3.15803C0.324102 2.95657 0.640521 2.94637 0.841971 3.13523L4.5 6.56464L8.158 3.13523C8.3595 2.94637 8.6759 2.95657 8.8648 3.15803C9.0536 3.35949 9.0434 3.67591 8.842 3.86477L4.84197 7.6148C4.64964 7.7951 4.35036 7.7951 4.15803 7.6148L0.158031 3.86477C-0.0434285 3.67591 -0.0536285 3.35949 0.135232 3.15803Z"})));a.displayName="ChevronDownIcon";let l=n.forwardRef((e,t)=>n.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.23826 0.201711C3.54108 -0.0809141 4.01567 -0.0645489 4.29829 0.238264L7.79829 3.98826C8.06724 4.27642 8.06724 4.72359 7.79829 5.01174L4.29829 8.76174C4.01567 9.06455 3.54108 9.08092 3.23826 8.79829C2.93545 8.51567 2.91909 8.04108 3.20171 7.73826L6.22409 4.5L3.20171 1.26174C2.91909 0.958928 2.93545 0.484337 3.23826 0.201711Z"})));l.displayName="ThickChevronRightIcon"},24040:function(e,t,r){r.d(t,{g:function(){return a}});var n=r(51352);let o=["current","0"],a={...n.CD,side:{type:"enum",className:"rt-r-side",values:["all","x","y","top","bottom","left","right"],default:"all",responsive:!0},clip:{type:"enum",className:"rt-r-clip",values:["border-box","padding-box"],default:"border-box",responsive:!0},p:{type:"enum",className:"rt-r-p",values:o,parseValue:l,responsive:!0},px:{type:"enum",className:"rt-r-px",values:o,parseValue:l,responsive:!0},py:{type:"enum",className:"rt-r-py",values:o,parseValue:l,responsive:!0},pt:{type:"enum",className:"rt-r-pt",values:o,parseValue:l,responsive:!0},pr:{type:"enum",className:"rt-r-pr",values:o,parseValue:l,responsive:!0},pb:{type:"enum",className:"rt-r-pb",values:o,parseValue:l,responsive:!0},pl:{type:"enum",className:"rt-r-pl",values:o,parseValue:l,responsive:!0}};function l(e){return"current"===e?"inset":e}},12086:function(e,t,r){r.d(t,{K:function(){return n}});let n={...r(51352).CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0}}},42576:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},...n.xE,...n.E0,...n.w1,...n.Wx,underline:{type:"enum",className:"rt-underline",values:["auto","always","hover","none"],default:"auto"},...n.EG,...n.Kj}},99206:function(e,t,r){r.r(t),r.d(t,{Close:function(){return f},Content:function(){return d},Root:function(){return u},Trigger:function(){return c}});var n=r(91710),o=r(97598),a=r(2935),l=r(97612),i=r(66475),s=r(62542);let u=e=>n.createElement(a.fC,{...e});u.displayName="Popover.Root";let c=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(a.xz,{...o,ref:t,asChild:!0},(0,i.O$)(r))});c.displayName="Popover.Trigger";let d=n.forwardRef((e,t)=>{let{className:r,forceMount:u,container:c,...d}=(0,i.yH)(e,l.b);return n.createElement(a.h_,{container:c,forceMount:u},n.createElement(s.Theme,{asChild:!0},n.createElement(a.VY,{align:"start",sideOffset:8,collisionPadding:10,...d,ref:t,className:o("rt-PopperContent","rt-PopoverContent",r)})))});d.displayName="Popover.Content";let f=n.forwardRef((e,t)=>{let{children:r,...o}=e;return n.createElement(a.x8,{...o,ref:t,asChild:!0},(0,i.O$)(r))});f.displayName="Popover.Close"},97612:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"2",responsive:!0},width:n.nb.width,minWidth:n.nb.minWidth,maxWidth:{...n.nb.maxWidth,default:"480px"},...n.Fs}},72064:function(e,t,r){r.r(t),r.d(t,{Progress:function(){return P}});var n=r(91710),o=r(97598),a=r(99503),l=r(5382),i=r(24744);let s="Progress",[u,c]=(0,l.b)(s),[d,f]=u(s),p=(0,n.forwardRef)((e,t)=>{let{__scopeProgress:r,value:o,max:l,getValueLabel:s=v,...u}=e,c=y(l)?l:100,f=b(o,c)?o:null,p=h(f)?s(f,c):void 0;return(0,n.createElement)(d,{scope:r,value:f,max:c},(0,n.createElement)(i.WV.div,(0,a.Z)({"aria-valuemax":c,"aria-valuemin":0,"aria-valuenow":h(f)?f:void 0,"aria-valuetext":p,role:"progressbar","data-state":g(f,c),"data-value":null!=f?f:void 0,"data-max":c},u,{ref:t})))});p.propTypes={max(e,t,r){let n=e[t],o=String(n);return n&&!y(n)?Error("Invalid prop `max` of value `".concat(o,"` supplied to `").concat(r,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")):null},value(e,t,r){let n=e[t],o=String(n),a=y(e.max)?e.max:100;return null==n||b(n,a)?null:Error("Invalid prop `value` of value `".concat(o,"` supplied to `").concat(r,"`. The `value` prop must be:\n - a positive number\n - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n - `null` if the progress is indeterminate.\n\nDefaulting to `null`."))}};let m=(0,n.forwardRef)((e,t)=>{var r;let{__scopeProgress:o,...l}=e,s=f("ProgressIndicator",o);return(0,n.createElement)(i.WV.div,(0,a.Z)({"data-state":g(s.value,s.max),"data-value":null!==(r=s.value)&&void 0!==r?r:void 0,"data-max":s.max},l,{ref:t}))});function v(e,t){return"".concat(Math.round(e/t*100),"%")}function g(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function h(e){return"number"==typeof e}function y(e){return h(e)&&!isNaN(e)&&e>0}function b(e,t){return h(e)&&!isNaN(e)&&e<=t&&e>=0}var w=r(45955),C=r(66475),E=r(51352);let P=n.forwardRef((e,t)=>{let{className:r,style:a,color:l,radius:i,duration:s,...u}=(0,C.yH)(e,w.n,E.Ee);return n.createElement(p,{"data-accent-color":l,"data-radius":i,ref:t,className:o("rt-ProgressRoot",r),style:(0,C.y0)({"--progress-duration":"value"in u?void 0:s,"--progress-value":"value"in u?u.value:void 0},a),...u,asChild:!1},n.createElement(m,{className:"rt-ProgressIndicator"}))});P.displayName="Progress"},45955:function(e,t,r){r.d(t,{n:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Kj,...n.Ir,duration:{type:"string"}}},82830:function(e,t,r){r.d(t,{q:function(){return o}});var n=r(51352);let o={...n.CD,...n.w1,...n.Wx}},82441:function(e,t,r){r.r(t),r.d(t,{Item:function(){return d},Root:function(){return c}});var n=r(91710),o=r(97598),a=r(620),l=r(91969),i=r(66475),s=r(51352),u=r(93816);let c=n.forwardRef((e,t)=>{let{className:r,color:c,...d}=(0,i.yH)(e,l.o,s.Ee);return n.createElement(u.r,{asChild:!0},n.createElement(a.fC,{"data-accent-color":c,...d,ref:t,className:o("rt-RadioCardsRoot",r)}))});c.displayName="RadioCards.Root";let d=n.forwardRef((e,t)=>{let{className:r,...l}=e;return n.createElement(a.ck,{...l,asChild:!1,ref:t,className:o("rt-reset","rt-BaseCard","rt-RadioCardsItem",r)})});d.displayName="RadioCards.Item"},91969:function(e,t,r){r.d(t,{o:function(){return a}});var n=r(51352),o=r(42147);let a={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic"],default:"surface"},...n.EG,...n.Kj,columns:{...o.L.columns,default:"repeat(auto-fit, minmax(160px, 1fr))"},gap:{...o.L.gap,default:"4"}}},92672:function(e,t,r){r.r(t),r.d(t,{Item:function(){return h},Root:function(){return g}});var n=r(91710),o=r(97598),a=r(5382),l=r(620),i=r(5600),s=r(66475),u=r(51352),c=r(55259);let d="RadioGroup",[f]=(0,a.b)(d,[l.oo]),p=(0,l.oo)(),[m,v]=f(d),g=n.forwardRef((e,t)=>{let{color:r=i.q.color.default,highContrast:a=i.q.highContrast.default,size:c=i.q.size.default,variant:d=i.q.variant.default,...f}=e,{__scopeRadioGroup:v,className:g,...h}=(0,s.yH)(f,u.Ee),y=p(v);return n.createElement(m,{scope:v,color:r,highContrast:a,size:c,variant:d},n.createElement(l.fC,{...y,...h,ref:t,className:o("rt-RadioGroupRoot",g)}))});g.displayName="RadioGroup.Root";let h=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,children:a,className:l,style:i,...s}=e,{size:u}=v("RadioGroupItem",r);return a?n.createElement(c.x,{as:"label",size:u,className:o("rt-RadioGroupItem",l),style:i},n.createElement(y,{__scopeRadioGroup:r,...s,ref:t}),a&&n.createElement("span",null,a)):n.createElement(y,{__scopeRadioGroup:r,...s,ref:t,className:l,style:i})});h.displayName="RadioGroup.Item";let y=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...a}=e,c=v("RadioGroupItemRadio",r),d=p(r),{color:f,className:m}=(0,s.yH)({...a,...c},i.q,u.Ee);return n.createElement(l.ck,{...d,"data-accent-color":f,...a,asChild:!1,ref:t,className:o("rt-reset","rt-BaseRadioRoot",m)})});y.displayName="RadioGroup.ItemRadio"},5600:function(e,t,r){r.d(t,{q:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Kj}},30530:function(e,t,r){r.r(t),r.d(t,{Radio:function(){return c}});var n=r(91710),o=r(97598),a=r(62283),l=r(37321),i=r(71735),s=r(66475),u=r(51352);let c=n.forwardRef((e,t)=>{let r=n.useRef(null),{className:c,color:d,onChange:f,onValueChange:p,...m}=(0,s.yH)(e,i.j,u.Ee);return n.createElement("input",{type:"radio","data-accent-color":d,...m,onChange:(0,a.M)(f,e=>null==p?void 0:p(e.currentTarget.value)),ref:(0,l.F)(r,t),className:o("rt-reset","rt-BaseRadioRoot","rt-RadioRoot",c)})});c.displayName="Radio"},71735:function(e,t,r){r.d(t,{j:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Kj}},935:function(e,t,r){r.r(t),r.d(t,{ScrollArea:function(){return s}});var n=r(91710),o=r(97598),a=r(23019),l=r(68963),i=r(66475);let s=n.forwardRef((e,t)=>{let{rest:r,...s}=(0,i.FY)(e),[u,c]=(0,i.IQ)(s),{asChild:d,children:f,className:p,style:m,type:v,scrollHideDelay:g="scroll"!==v?0:void 0,dir:h,size:y=l.O.size.default,radius:b=l.O.radius.default,scrollbars:w=l.O.scrollbars.default,...C}=r;return n.createElement(a.fC,{type:v,scrollHideDelay:g,className:o("rt-ScrollAreaRoot",u,p),style:(0,i.y0)(c,m),asChild:d},(0,i.xH)({asChild:d,children:f},e=>n.createElement(n.Fragment,null,n.createElement(a.l_,{...C,ref:t,className:"rt-ScrollAreaViewport"},e),n.createElement("div",{className:"rt-ScrollAreaViewportFocusRing"}),"vertical"!==w?n.createElement(a.LW,{"data-radius":b,orientation:"horizontal",className:o("rt-ScrollAreaScrollbar",(0,i.RE)({className:"rt-r-size",value:y,propValues:l.O.size.values}))},n.createElement(a.bU,{className:"rt-ScrollAreaThumb"})):null,"horizontal"!==w?n.createElement(a.LW,{"data-radius":b,orientation:"vertical",className:o("rt-ScrollAreaScrollbar",(0,i.RE)({className:"rt-r-size",value:y,propValues:l.O.size.values}))},n.createElement(a.bU,{className:"rt-ScrollAreaThumb"})):null,"both"===w?n.createElement(a.Ns,{className:"rt-ScrollAreaCorner"}):null)))});s.displayName="ScrollArea"},68963:function(e,t,r){r.d(t,{O:function(){return o}});var n=r(51352);let o={...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"1",responsive:!0},...n.Ir,scrollbars:{type:"enum",values:["vertical","horizontal","both"],default:"both"}}},84539:function(e,t,r){r.d(t,{Q:function(){return n}});let n={...r(51352).CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"3",responsive:!0},display:{type:"enum",className:"rt-r-display",values:["none","initial"],parseValue:function(e){return"initial"===e?"block":e},responsive:!0}}},23365:function(e,t,r){r.r(t),r.d(t,{Item:function(){return S},Root:function(){return T}});var n=r(91710),o=r(97598),a=r(99503),l=r(5382),i=r(24744),s=r(92213),u=r(62283),c=r(32574);let d=(0,n.forwardRef)((e,t)=>{let{pressed:r,defaultPressed:o=!1,onPressedChange:l,...s}=e,[d=!1,f]=(0,c.T)({prop:r,onChange:l,defaultProp:o});return(0,n.createElement)(i.WV.button,(0,a.Z)({type:"button","aria-pressed":d,"data-state":d?"on":"off","data-disabled":e.disabled?"":void 0},s,{ref:t,onClick:(0,u.M)(e.onClick,()=>{e.disabled||f(!d)})}))});var f=r(25815);let p="ToggleGroup",[m,v]=(0,l.b)(p,[s.Pc]),g=(0,s.Pc)(),h=n.forwardRef((e,t)=>{let{type:r,...o}=e;if("single"===r)return n.createElement(w,(0,a.Z)({},o,{ref:t}));if("multiple"===r)return n.createElement(C,(0,a.Z)({},o,{ref:t}));throw Error("Missing prop `type` expected on `".concat(p,"`"))}),[y,b]=m(p),w=n.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:l=()=>{},...i}=e,[s,u]=(0,c.T)({prop:r,defaultProp:o,onChange:l});return n.createElement(y,{scope:e.__scopeToggleGroup,type:"single",value:s?[s]:[],onItemActivate:u,onItemDeactivate:n.useCallback(()=>u(""),[u])},n.createElement(x,(0,a.Z)({},i,{ref:t})))}),C=n.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:l=()=>{},...i}=e,[s=[],u]=(0,c.T)({prop:r,defaultProp:o,onChange:l}),d=n.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),f=n.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return n.createElement(y,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:d,onItemDeactivate:f},n.createElement(x,(0,a.Z)({},i,{ref:t})))}),[E,P]=m(p),x=n.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:o=!1,rovingFocus:l=!0,orientation:u,dir:c,loop:d=!0,...p}=e,m=g(r),v=(0,f.gm)(c),h={role:"group",dir:v,...p};return n.createElement(E,{scope:r,rovingFocus:l,disabled:o},l?n.createElement(s.fC,(0,a.Z)({asChild:!0},m,{orientation:u,dir:v,loop:d}),n.createElement(i.WV.div,(0,a.Z)({},h,{ref:t}))):n.createElement(i.WV.div,(0,a.Z)({},h,{ref:t})))}),N="ToggleGroupItem",O=n.forwardRef((e,t)=>{let r=b(N,e.__scopeToggleGroup),o=P(N,e.__scopeToggleGroup),l=g(e.__scopeToggleGroup),i=r.value.includes(e.value),u=o.disabled||e.disabled,c={...e,pressed:i,disabled:u},d=n.useRef(null);return o.rovingFocus?n.createElement(s.ck,(0,a.Z)({asChild:!0},l,{focusable:!u,active:i,ref:d}),n.createElement(R,(0,a.Z)({},c,{ref:t}))):n.createElement(R,(0,a.Z)({},c,{ref:t}))}),R=n.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:o,...l}=e,i=b(N,r),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},u="single"===i.type?s:void 0;return n.createElement(d,(0,a.Z)({},u,l,{ref:t,onPressedChange:e=>{e?i.onItemActivate(o):i.onItemDeactivate(o)}}))});var D=r(6749),M=r(66475),_=r(51352);let T=n.forwardRef((e,t)=>{let{className:r,children:a,radius:l,value:i,defaultValue:s,onValueChange:u,...d}=(0,M.yH)(e,D.z,_.Ee),[f,p]=(0,c.T)({prop:i,onChange:u,defaultProp:s});return n.createElement(h,{"data-radius":l,ref:t,className:o("rt-SegmentedControlRoot",r),onValueChange:e=>{e&&p(e)},...d,type:"single",value:f,asChild:!1,disabled:!1},a,n.createElement("div",{className:"rt-SegmentedControlIndicator"}))});T.displayName="SegmentedControl.Root";let S=n.forwardRef((e,t)=>{let{children:r,className:a,...l}=e;return n.createElement(O,{ref:t,className:o("rt-reset","rt-SegmentedControlItem",a),...l,disabled:!1,asChild:!1},n.createElement("span",{className:"rt-SegmentedControlItemSeparator"}),n.createElement("span",{className:"rt-SegmentedControlItemLabel"},n.createElement("span",{className:"rt-SegmentedControlItemLabelActive"},r),n.createElement("span",{className:"rt-SegmentedControlItemLabelInactive"},r)))});S.displayName="SegmentedControl.Item"},6749:function(e,t,r){r.d(t,{z:function(){return n}});let n={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","classic"],default:"surface"},...r(51352).Ir}},23175:function(e,t,r){r.r(t),r.d(t,{Content:function(){return eD},Group:function(){return e_},Item:function(){return eM},Label:function(){return eT},Root:function(){return eO},Separator:function(){return eS},Trigger:function(){return eR}});var n=r(91710),o=r(97598),a=r(99503),l=r(99719),i=r(23422),s=r(62283),u=r(20469),c=r(37321),d=r(5382),f=r(25815),p=r(46876),m=r(35418),v=r(94876),g=r(65276),h=r(81034),y=r(1781),b=r(24744),w=r(19767),C=r(44266),E=r(32574),P=r(26141),x=r(17251),N=r(56998),O=r(82035),R=r(4285);let D=[" ","Enter","ArrowUp","ArrowDown"],M=[" ","Enter"],_="Select",[T,S,k]=(0,u.B)(_),[j,I]=(0,d.b)(_,[k,h.D7]),L=(0,h.D7)(),[A,z]=j(_),[V,W]=j(_),Z=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,disabled:o=!1,...l}=e,i=L(r),u=z("SelectTrigger",r),d=u.disabled||o,f=(0,c.e)(t,u.onTriggerChange),p=S(r),[m,v,g]=ev(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===u.value),n=eg(t,e,r);void 0!==n&&u.onValueChange(n.value)}),y=()=>{d||(u.onOpenChange(!0),g())};return(0,n.createElement)(h.ee,(0,a.Z)({asChild:!0},i),(0,n.createElement)(b.WV.button,(0,a.Z)({type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":ep(u.value)?"":void 0},l,{ref:f,onClick:(0,s.M)(l.onClick,e=>{e.currentTarget.focus()}),onPointerDown:(0,s.M)(l.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(y(),u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:(0,s.M)(l.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&D.includes(e.key)&&(y(),e.preventDefault())})})))}),H=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,className:o,style:l,children:i,placeholder:s="",...u}=e,d=z("SelectValue",r),{onValueNodeHasChildrenChange:f}=d,p=void 0!==i,m=(0,c.e)(t,d.onValueNodeChange);return(0,P.b)(()=>{f(p)},[f,p]),(0,n.createElement)(b.WV.span,(0,a.Z)({},u,{ref:m,style:{pointerEvents:"none"}}),ep(d.value)?(0,n.createElement)(n.Fragment,null,s):i)}),F=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,children:o,...l}=e;return(0,n.createElement)(b.WV.span,(0,a.Z)({"aria-hidden":!0},l,{ref:t}),o||"▼")}),B="SelectContent",K=(0,n.forwardRef)((e,t)=>{let r=z(B,e.__scopeSelect),[o,i]=(0,n.useState)();return((0,P.b)(()=>{i(new DocumentFragment)},[]),r.open)?(0,n.createElement)(Y,(0,a.Z)({},e,{ref:t})):o?(0,l.createPortal)((0,n.createElement)(G,{scope:e.__scopeSelect},(0,n.createElement)(T.Slot,{scope:e.__scopeSelect},(0,n.createElement)("div",null,e.children))),o):null}),[G,U]=j(B),Y=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:i,onPointerDownOutside:u,side:d,sideOffset:f,align:g,alignOffset:h,arrowPadding:y,collisionBoundary:b,collisionPadding:C,sticky:E,hideWhenDetached:P,avoidCollisions:x,...N}=e,D=z(B,r),[M,_]=(0,n.useState)(null),[T,k]=(0,n.useState)(null),j=(0,c.e)(t,e=>_(e)),[I,L]=(0,n.useState)(null),[A,V]=(0,n.useState)(null),W=S(r),[Z,H]=(0,n.useState)(!1),F=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(M)return(0,O.hideOthers)(M)},[M]),(0,m.EW)();let K=(0,n.useCallback)(e=>{let[t,...r]=W().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of e)if(r===o||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&T&&(T.scrollTop=0),r===n&&T&&(T.scrollTop=T.scrollHeight),null==r||r.focus(),document.activeElement!==o))return},[W,T]),U=(0,n.useCallback)(()=>K([I,M]),[K,I,M]);(0,n.useEffect)(()=>{Z&&U()},[Z,U]);let{onOpenChange:Y,triggerPointerDownPosRef:J}=D;(0,n.useEffect)(()=>{if(M){let e={x:0,y:0},t=t=>{var r,n,o,a;e={x:Math.abs(Math.round(t.pageX)-(null!==(r=null===(n=J.current)||void 0===n?void 0:n.x)&&void 0!==r?r:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(a=J.current)||void 0===a?void 0:a.y)&&void 0!==o?o:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():M.contains(r.target)||Y(!1),document.removeEventListener("pointermove",t),J.current=null};return null!==J.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[M,Y,J]),(0,n.useEffect)(()=>{let e=()=>Y(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[Y]);let[$,Q]=ev(e=>{let t=W().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eg(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),ee=(0,n.useCallback)((e,t,r)=>{let n=!F.current&&!r;(void 0!==D.value&&D.value===t||n)&&(L(e),n&&(F.current=!0))},[D.value]),et=(0,n.useCallback)(()=>null==M?void 0:M.focus(),[M]),er=(0,n.useCallback)((e,t,r)=>{let n=!F.current&&!r;(void 0!==D.value&&D.value===t||n)&&V(e)},[D.value]),en="popper"===o?q:X;return(0,n.createElement)(G,{scope:r,content:M,viewport:T,onViewportChange:k,itemRefCallback:ee,selectedItem:I,onItemLeave:et,itemTextRefCallback:er,focusSelectedItem:U,selectedItemText:A,position:o,isPositioned:Z,searchRef:$},(0,n.createElement)(R.Z,{as:w.g7,allowPinchZoom:!0},(0,n.createElement)(v.M,{asChild:!0,trapped:D.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,s.M)(l,e=>{var t;null===(t=D.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()})},(0,n.createElement)(p.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>D.onOpenChange(!1)},(0,n.createElement)(en,(0,a.Z)({role:"listbox",id:D.contentId,"data-state":D.open?"open":"closed",dir:D.dir,onContextMenu:e=>e.preventDefault()},N,en===q?{side:d,sideOffset:f,align:g,alignOffset:h,arrowPadding:y,collisionBoundary:b,collisionPadding:C,sticky:E,hideWhenDetached:P,avoidCollisions:x}:{},{onPlaced:()=>H(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:(0,s.M)(N.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Q(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=W().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>K(t)),e.preventDefault()}})}))))))}),X=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,onPlaced:o,...l}=e,s=z(B,r),u=U(B,r),[d,f]=(0,n.useState)(null),[p,m]=(0,n.useState)(null),v=(0,c.e)(t,e=>m(e)),g=S(r),h=(0,n.useRef)(!1),y=(0,n.useRef)(!0),{viewport:w,selectedItem:C,selectedItemText:E,focusSelectedItem:x}=u,N=(0,n.useCallback)(()=>{if(s.trigger&&s.valueNode&&d&&p&&w&&C&&E){let e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=s.valueNode.getBoundingClientRect(),n=E.getBoundingClientRect();if("rtl"!==s.dir){let o=n.left-t.left,a=r.left-o,l=e.left-a,s=e.width+l,u=Math.max(s,t.width),c=window.innerWidth-10,f=(0,i.u)(a,[10,c-u]);d.style.minWidth=s+"px",d.style.left=f+"px"}else{let o=t.right-n.right,a=window.innerWidth-r.right-o,l=window.innerWidth-e.right-a,s=e.width+l,u=Math.max(s,t.width),c=window.innerWidth-10,f=(0,i.u)(a,[10,c-u]);d.style.minWidth=s+"px",d.style.right=f+"px"}let a=g(),l=window.innerHeight-20,u=w.scrollHeight,c=window.getComputedStyle(p),f=parseInt(c.borderTopWidth,10),m=parseInt(c.paddingTop,10),v=parseInt(c.borderBottomWidth,10),y=f+m+u+parseInt(c.paddingBottom,10)+v,b=Math.min(5*C.offsetHeight,y),P=window.getComputedStyle(w),x=parseInt(P.paddingTop,10),N=parseInt(P.paddingBottom,10),O=e.top+e.height/2-10,R=C.offsetHeight/2,D=f+m+(C.offsetTop+R);if(D<=O){let e=C===a[a.length-1].ref.current;d.style.bottom="0px";let t=p.clientHeight-w.offsetTop-w.offsetHeight;d.style.height=D+Math.max(l-O,R+(e?N:0)+t+v)+"px"}else{let e=C===a[0].ref.current;d.style.top="0px";let t=Math.max(O,f+w.offsetTop+(e?x:0)+R);d.style.height=t+(y-D)+"px",w.scrollTop=D-O+w.offsetTop}d.style.margin="".concat(10,"px 0"),d.style.minHeight=b+"px",d.style.maxHeight=l+"px",null==o||o(),requestAnimationFrame(()=>h.current=!0)}},[g,s.trigger,s.valueNode,d,p,w,C,E,s.dir,o]);(0,P.b)(()=>N(),[N]);let[O,R]=(0,n.useState)();(0,P.b)(()=>{p&&R(window.getComputedStyle(p).zIndex)},[p]);let D=(0,n.useCallback)(e=>{e&&!0===y.current&&(N(),null==x||x(),y.current=!1)},[N,x]);return(0,n.createElement)(J,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:h,onScrollButtonChange:D},(0,n.createElement)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},(0,n.createElement)(b.WV.div,(0,a.Z)({},l,{ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}}))))}),q=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,align:o="start",collisionPadding:l=10,...i}=e,s=L(r);return(0,n.createElement)(h.VY,(0,a.Z)({},s,i,{ref:t,align:o,collisionPadding:l,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[J,$]=j(B,{}),Q="SelectViewport",ee=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,...o}=e,l=U(Q,r),i=$(Q,r),u=(0,c.e)(t,l.onViewportChange),d=(0,n.useRef)(0);return(0,n.createElement)(n.Fragment,null,(0,n.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}"}}),(0,n.createElement)(T.Slot,{scope:r},(0,n.createElement)(b.WV.div,(0,a.Z)({"data-radix-select-viewport":"",role:"presentation"},o,{ref:u,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:(0,s.M)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=i;if(null!=n&&n.current&&r){let e=Math.abs(d.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let a=o+e,l=Math.min(n,a),i=a-l;r.style.height=l+"px","0px"===r.style.bottom&&(t.scrollTop=i>0?i:0,r.style.justifyContent="flex-end")}}}d.current=t.scrollTop})}))))}),[et,er]=j("SelectGroup"),en=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,...o}=e,l=(0,g.M)();return(0,n.createElement)(et,{scope:r,id:l},(0,n.createElement)(b.WV.div,(0,a.Z)({role:"group","aria-labelledby":l},o,{ref:t})))}),eo=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,...o}=e,l=er("SelectLabel",r);return(0,n.createElement)(b.WV.div,(0,a.Z)({id:l.id},o,{ref:t}))}),ea="SelectItem",[el,ei]=j(ea),es=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,value:o,disabled:l=!1,textValue:i,...u}=e,d=z(ea,r),f=U(ea,r),p=d.value===o,[m,v]=(0,n.useState)(null!=i?i:""),[h,y]=(0,n.useState)(!1),w=(0,c.e)(t,e=>{var t;return null===(t=f.itemRefCallback)||void 0===t?void 0:t.call(f,e,o,l)}),C=(0,g.M)(),E=()=>{l||(d.onValueChange(o),d.onOpenChange(!1))};if(""===o)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,n.createElement)(el,{scope:r,value:o,disabled:l,textId:C,isSelected:p,onItemTextChange:(0,n.useCallback)(e=>{v(t=>{var r;return t||(null!==(r=null==e?void 0:e.textContent)&&void 0!==r?r:"").trim()})},[])},(0,n.createElement)(T.ItemSlot,{scope:r,value:o,disabled:l,textValue:m},(0,n.createElement)(b.WV.div,(0,a.Z)({role:"option","aria-labelledby":C,"data-highlighted":h?"":void 0,"aria-selected":p&&h,"data-state":p?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1},u,{ref:w,onFocus:(0,s.M)(u.onFocus,()=>y(!0)),onBlur:(0,s.M)(u.onBlur,()=>y(!1)),onPointerUp:(0,s.M)(u.onPointerUp,E),onPointerMove:(0,s.M)(u.onPointerMove,e=>{if(l){var t;null===(t=f.onItemLeave)||void 0===t||t.call(f)}else e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,s.M)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=f.onItemLeave)||void 0===t||t.call(f)}}),onKeyDown:(0,s.M)(u.onKeyDown,e=>{var t;(null===(t=f.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(M.includes(e.key)&&E()," "===e.key&&e.preventDefault())})}))))}),eu="SelectItemText",ec=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,className:o,style:i,...s}=e,u=z(eu,r),d=U(eu,r),f=ei(eu,r),p=W(eu,r),[m,v]=(0,n.useState)(null),g=(0,c.e)(t,e=>v(e),f.onItemTextChange,e=>{var t;return null===(t=d.itemTextRefCallback)||void 0===t?void 0:t.call(d,e,f.value,f.disabled)}),h=null==m?void 0:m.textContent,y=(0,n.useMemo)(()=>(0,n.createElement)("option",{key:f.value,value:f.value,disabled:f.disabled},h),[f.disabled,f.value,h]),{onNativeOptionAdd:w,onNativeOptionRemove:C}=p;return(0,P.b)(()=>(w(y),()=>C(y)),[w,C,y]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(b.WV.span,(0,a.Z)({id:f.textId},s,{ref:g})),f.isSelected&&u.valueNode&&!u.valueNodeHasChildren?(0,l.createPortal)(s.children,u.valueNode):null)}),ed=(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,...o}=e;return ei("SelectItemIndicator",r).isSelected?(0,n.createElement)(b.WV.span,(0,a.Z)({"aria-hidden":!0},o,{ref:t})):null}),ef=((e,t)=>{let{__scopeSelect:r,onAutoScroll:o,...l}=e,i=U("SelectScrollButton",r),u=(0,n.useRef)(null),c=S(r),d=(0,n.useCallback)(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return(0,n.useEffect)(()=>()=>d(),[d]),(0,P.b)(()=>{var e;let t=c().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[c]),(0,n.createElement)(b.WV.div,(0,a.Z)({"aria-hidden":!0},l,{ref:t,style:{flexShrink:0,...l.style},onPointerDown:(0,s.M)(l.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(o,50))}),onPointerMove:(0,s.M)(l.onPointerMove,()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===u.current&&(u.current=window.setInterval(o,50))}),onPointerLeave:(0,s.M)(l.onPointerLeave,()=>{d()})}))},(0,n.forwardRef)((e,t)=>{let{__scopeSelect:r,...o}=e;return(0,n.createElement)(b.WV.div,(0,a.Z)({"aria-hidden":!0},o,{ref:t}))}));function ep(e){return""===e||void 0===e}let em=(0,n.forwardRef)((e,t)=>{let{value:r,...o}=e,l=(0,n.useRef)(null),i=(0,c.e)(t,l),s=(0,x.D)(r);return(0,n.useEffect)(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[s,r]),(0,n.createElement)(N.T,{asChild:!0},(0,n.createElement)("select",(0,a.Z)({},o,{ref:i,defaultValue:r})))});function ev(e){let t=(0,C.W)(e),r=(0,n.useRef)(""),o=(0,n.useRef)(0),a=(0,n.useCallback)(e=>{let n=r.current+e;t(n),function e(t){r.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(n)},[t]),l=(0,n.useCallback)(()=>{r.current="",window.clearTimeout(o.current)},[]);return(0,n.useEffect)(()=>()=>window.clearTimeout(o.current),[]),[r,a,l]}function eg(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let l=a.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}em.displayName="BubbleSelect";let eh=e=>{let{__scopeSelect:t,children:r,open:o,defaultOpen:a,onOpenChange:l,value:i,defaultValue:s,onValueChange:u,dir:c,name:d,autoComplete:p,disabled:m,required:v}=e,y=L(t),[b,w]=(0,n.useState)(null),[C,P]=(0,n.useState)(null),[x,N]=(0,n.useState)(!1),O=(0,f.gm)(c),[R=!1,D]=(0,E.T)({prop:o,defaultProp:a,onChange:l}),[M,_]=(0,E.T)({prop:i,defaultProp:s,onChange:u}),S=(0,n.useRef)(null),k=!b||!!b.closest("form"),[j,I]=(0,n.useState)(new Set),z=Array.from(j).map(e=>e.props.value).join(";");return(0,n.createElement)(h.fC,y,(0,n.createElement)(A,{required:v,scope:t,trigger:b,onTriggerChange:w,valueNode:C,onValueNodeChange:P,valueNodeHasChildren:x,onValueNodeHasChildrenChange:N,contentId:(0,g.M)(),value:M,onValueChange:_,open:R,onOpenChange:D,dir:O,triggerPointerDownPosRef:S,disabled:m},(0,n.createElement)(T.Provider,{scope:t},(0,n.createElement)(V,{scope:e.__scopeSelect,onNativeOptionAdd:(0,n.useCallback)(e=>{I(t=>new Set(t).add(e))},[]),onNativeOptionRemove:(0,n.useCallback)(e=>{I(t=>{let r=new Set(t);return r.delete(e),r})},[])},r)),k?(0,n.createElement)(em,{key:z,"aria-hidden":!0,required:v,tabIndex:-1,name:d,autoComplete:p,value:M,onChange:e=>_(e.target.value),disabled:m},void 0===M?(0,n.createElement)("option",{value:""}):null,Array.from(j)):null))},ey=e=>(0,n.createElement)(y.h,(0,a.Z)({asChild:!0},e));var eb=r(23019),ew=r(34226),eC=r(66475),eE=r(51352),eP=r(62542),ex=r(35718);let eN=n.createContext({}),eO=e=>{let{children:t,size:r=ew.$0.size.default,...o}=e;return n.createElement(eh,{...o},n.createElement(eN.Provider,{value:n.useMemo(()=>({size:r}),[r])},t))};eO.displayName="Select.Root";let eR=n.forwardRef((e,t)=>{let r=n.useContext(eN),{children:a,className:l,color:i,radius:s,placeholder:u,...c}=(0,eC.yH)({size:null==r?void 0:r.size,...e},{size:ew.$0.size},ew.oP,eE.Ee);return n.createElement(Z,{asChild:!0},n.createElement("button",{"data-accent-color":i,"data-radius":s,...c,ref:t,className:o("rt-reset","rt-SelectTrigger",l)},n.createElement("span",{className:"rt-SelectTriggerInner"},n.createElement(H,{placeholder:u},a)),n.createElement(F,{asChild:!0},n.createElement(ex.v4,{className:"rt-SelectIcon"}))))});eR.displayName="Select.Trigger";let eD=n.forwardRef((e,t)=>{let r=n.useContext(eN),{className:a,children:l,color:i,container:s,...u}=(0,eC.yH)({size:null==r?void 0:r.size,...e},{size:ew.$0.size},ew.IP),c=(0,eP.useThemeContext)(),d=i||c.accentColor;return n.createElement(ey,{container:s},n.createElement(eP.Theme,{asChild:!0},n.createElement(K,{"data-accent-color":d,sideOffset:4,...u,asChild:!1,ref:t,className:o({"rt-PopperContent":"popper"===u.position},"rt-SelectContent",a)},n.createElement(eb.fC,{type:"auto",className:"rt-ScrollAreaRoot"},n.createElement(ee,{asChild:!0,className:"rt-SelectViewport"},n.createElement(eb.l_,{className:"rt-ScrollAreaViewport",style:{overflowY:void 0}},l)),n.createElement(eb.LW,{className:"rt-ScrollAreaScrollbar rt-r-size-1",orientation:"vertical"},n.createElement(eb.bU,{className:"rt-ScrollAreaThumb"}))))))});eD.displayName="Select.Content";let eM=n.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return n.createElement(es,{...l,asChild:!1,ref:t,className:o("rt-SelectItem",r)},n.createElement(ed,{className:"rt-SelectItemIndicator"},n.createElement(ex.dc,{className:"rt-SelectItemIndicatorIcon"})),n.createElement(ec,null,a))});eM.displayName="Select.Item";let e_=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(en,{...a,asChild:!1,ref:t,className:o("rt-SelectGroup",r)})});e_.displayName="Select.Group";let eT=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(eo,{...a,asChild:!1,ref:t,className:o("rt-SelectLabel",r)})});eT.displayName="Select.Label";let eS=n.forwardRef((e,t)=>{let{className:r,...a}=e;return n.createElement(ef,{...a,asChild:!1,ref:t,className:o("rt-SelectSeparator",r)})});eS.displayName="Select.Separator"},34226:function(e,t,r){r.d(t,{$0:function(){return o},IP:function(){return l},oP:function(){return a}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0}},a={variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft","ghost"],default:"surface"},...n.EG,...n.Ir,placeholder:{type:"string"}},l={variant:{type:"enum",className:"rt-variant",values:["solid","soft"],default:"solid"},...n.EG,...n.Kj}},9431:function(e,t,r){r.r(t),r.d(t,{Separator:function(){return s}});var n=r(91710),o=r(97598),a=r(82228),l=r(66475),i=r(51352);let s=n.forwardRef((e,t)=>{let{className:r,color:s,decorative:u,...c}=(0,l.yH)(e,a.D,i.Ee);return n.createElement("span",{"data-accent-color":s,role:u?void 0:"separator",...c,ref:t,className:o("rt-Separator",r)})});s.displayName="Separator"},82228:function(e,t,r){r.d(t,{D:function(){return n}});let n={orientation:{type:"enum",className:"rt-r-orientation",values:["horizontal","vertical"],default:"horizontal",responsive:!0},size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"1",responsive:!0},color:{...r(51352).EG.color,default:"gray"},decorative:{type:"boolean",default:!0}}},58801:function(e,t,r){r.d(t,{v:function(){return o}});var n=r(51352);let o={loading:{type:"boolean",default:!0},...n.nb,...n.Fs}},8424:function(e,t,r){r.r(t),r.d(t,{Slider:function(){return K}});var n=r(91710),o=r(97598),a=r(99503),l=r(23422),i=r(62283),s=r(37321),u=r(5382),c=r(32574),d=r(25815),f=r(17251),p=r(81918),m=r(24744),v=r(20469);let g=["PageUp","PageDown"],h=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],y={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},b="Slider",[w,C,E]=(0,v.B)(b),[P,x]=(0,u.b)(b,[E]),[N,O]=P(b),R=(0,n.forwardRef)((e,t)=>{let{name:r,min:o=0,max:u=100,step:d=1,orientation:f="horizontal",disabled:p=!1,minStepsBetweenThumbs:m=0,defaultValue:v=[o],value:y,onValueChange:b=()=>{},onValueCommit:C=()=>{},inverted:E=!1,...P}=e,[x,O]=(0,n.useState)(null),R=(0,s.e)(t,e=>O(e)),D=(0,n.useRef)(new Set),M=(0,n.useRef)(0),S="horizontal"===f,k=!x||!!x.closest("form"),[j=[],I]=(0,c.T)({prop:y,defaultProp:v,onChange:e=>{var t;null===(t=[...D.current][M.current])||void 0===t||t.focus(),b(e)}}),L=(0,n.useRef)(j);function A(e,t){let{commit:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{commit:!1},n=(String(d).split(".")[1]||"").length,a=function(e,t){let r=Math.pow(10,t);return Math.round(e*r)/r}(Math.round((e-o)/d)*d+o,n),i=(0,l.u)(a,[o,u]);I(function(){var e,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=[...e];return n[r]=t,n.sort((e,t)=>e-t)}(o,i,t);if(e=a,!(!((n=m*d)>0)||Math.min(...e.slice(0,-1).map((t,r)=>e[r+1]-t))>=n))return o;{M.current=a.indexOf(i);let e=String(a)!==String(o);return e&&r&&C(a),e?a:o}})}return(0,n.createElement)(N,{scope:e.__scopeSlider,disabled:p,min:o,max:u,valueIndexToChangeRef:M,thumbs:D.current,values:j,orientation:f},(0,n.createElement)(w.Provider,{scope:e.__scopeSlider},(0,n.createElement)(w.Slot,{scope:e.__scopeSlider},(0,n.createElement)(S?_:T,(0,a.Z)({"aria-disabled":p,"data-disabled":p?"":void 0},P,{ref:R,onPointerDown:(0,i.M)(P.onPointerDown,()=>{p||(L.current=j)}),min:o,max:u,inverted:E,onSlideStart:p?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let r=e.map(e=>Math.abs(e-t));return r.indexOf(Math.min(...r))}(j,e);A(e,t)},onSlideMove:p?void 0:function(e){A(e,M.current)},onSlideEnd:p?void 0:function(){let e=L.current[M.current];j[M.current]!==e&&C(j)},onHomeKeyDown:()=>!p&&A(o,0,{commit:!0}),onEndKeyDown:()=>!p&&A(u,j.length-1,{commit:!0}),onStepKeyDown:e=>{let{event:t,direction:r}=e;if(!p){let e=g.includes(t.key)||t.shiftKey&&h.includes(t.key),n=M.current;A(j[n]+d*(e?10:1)*r,n,{commit:!0})}}})))),k&&j.map((e,t)=>(0,n.createElement)(V,{key:t,name:r?r+(j.length>1?"[]":""):void 0,value:e})))}),[D,M]=P(b,{startEdge:"left",endEdge:"right",size:"width",direction:1}),_=(0,n.forwardRef)((e,t)=>{let{min:r,max:o,dir:l,inverted:i,onSlideStart:u,onSlideMove:c,onSlideEnd:f,onStepKeyDown:p,...m}=e,[v,g]=(0,n.useState)(null),h=(0,s.e)(t,e=>g(e)),b=(0,n.useRef)(),w=(0,d.gm)(l),C="ltr"===w,E=C&&!i||!C&&i;function P(e){let t=b.current||v.getBoundingClientRect(),n=Z([0,t.width],E?[r,o]:[o,r]);return b.current=t,n(e-t.left)}return(0,n.createElement)(D,{scope:e.__scopeSlider,startEdge:E?"left":"right",endEdge:E?"right":"left",direction:E?1:-1,size:"width"},(0,n.createElement)(S,(0,a.Z)({dir:w,"data-orientation":"horizontal"},m,{ref:h,style:{...m.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=P(e.clientX);null==u||u(t)},onSlideMove:e=>{let t=P(e.clientX);null==c||c(t)},onSlideEnd:()=>{b.current=void 0,null==f||f()},onStepKeyDown:e=>{let t=y[E?"from-left":"from-right"].includes(e.key);null==p||p({event:e,direction:t?-1:1})}})))}),T=(0,n.forwardRef)((e,t)=>{let{min:r,max:o,inverted:l,onSlideStart:i,onSlideMove:u,onSlideEnd:c,onStepKeyDown:d,...f}=e,p=(0,n.useRef)(null),m=(0,s.e)(t,p),v=(0,n.useRef)(),g=!l;function h(e){let t=v.current||p.current.getBoundingClientRect(),n=Z([0,t.height],g?[o,r]:[r,o]);return v.current=t,n(e-t.top)}return(0,n.createElement)(D,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1},(0,n.createElement)(S,(0,a.Z)({"data-orientation":"vertical"},f,{ref:m,style:{...f.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=h(e.clientY);null==i||i(t)},onSlideMove:e=>{let t=h(e.clientY);null==u||u(t)},onSlideEnd:()=>{v.current=void 0,null==c||c()},onStepKeyDown:e=>{let t=y[g?"from-bottom":"from-top"].includes(e.key);null==d||d({event:e,direction:t?-1:1})}})))}),S=(0,n.forwardRef)((e,t)=>{let{__scopeSlider:r,onSlideStart:o,onSlideMove:l,onSlideEnd:s,onHomeKeyDown:u,onEndKeyDown:c,onStepKeyDown:d,...f}=e,p=O(b,r);return(0,n.createElement)(m.WV.span,(0,a.Z)({},f,{ref:t,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Home"===e.key?(u(e),e.preventDefault()):"End"===e.key?(c(e),e.preventDefault()):g.concat(h).includes(e.key)&&(d(e),e.preventDefault())}),onPointerDown:(0,i.M)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),p.thumbs.has(t)?t.focus():o(e)}),onPointerMove:(0,i.M)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&l(e)}),onPointerUp:(0,i.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),s(e))})}))}),k=(0,n.forwardRef)((e,t)=>{let{__scopeSlider:r,...o}=e,l=O("SliderTrack",r);return(0,n.createElement)(m.WV.span,(0,a.Z)({"data-disabled":l.disabled?"":void 0,"data-orientation":l.orientation},o,{ref:t}))}),j="SliderRange",I=(0,n.forwardRef)((e,t)=>{let{__scopeSlider:r,...o}=e,l=O(j,r),i=M(j,r),u=(0,n.useRef)(null),c=(0,s.e)(t,u),d=l.values.length,f=l.values.map(e=>W(e,l.min,l.max));return(0,n.createElement)(m.WV.span,(0,a.Z)({"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0},o,{ref:c,style:{...e.style,[i.startEdge]:(d>1?Math.min(...f):0)+"%",[i.endEdge]:100-Math.max(...f)+"%"}}))}),L="SliderThumb",A=(0,n.forwardRef)((e,t)=>{let r=C(e.__scopeSlider),[o,l]=(0,n.useState)(null),i=(0,s.e)(t,e=>l(e)),u=(0,n.useMemo)(()=>o?r().findIndex(e=>e.ref.current===o):-1,[r,o]);return(0,n.createElement)(z,(0,a.Z)({},e,{ref:i,index:u}))}),z=(0,n.forwardRef)((e,t)=>{var r;let{__scopeSlider:o,index:l,...u}=e,c=O(L,o),d=M(L,o),[f,v]=(0,n.useState)(null),g=(0,s.e)(t,e=>v(e)),h=(0,p.t)(f),y=c.values[l],b=void 0===y?0:W(y,c.min,c.max),C=(r=c.values.length)>2?"Value ".concat(l+1," of ").concat(r):2===r?["Minimum","Maximum"][l]:void 0,E=null==h?void 0:h[d.size],P=E?function(e,t,r){let n=e/2,o=Z([0,50],[0,n]);return(n-o(t)*r)*r}(E,b,d.direction):0;return(0,n.useEffect)(()=>{if(f)return c.thumbs.add(f),()=>{c.thumbs.delete(f)}},[f,c.thumbs]),(0,n.createElement)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[d.startEdge]:"calc(".concat(b,"% + ").concat(P,"px)")}},(0,n.createElement)(w.ItemSlot,{scope:e.__scopeSlider},(0,n.createElement)(m.WV.span,(0,a.Z)({role:"slider","aria-label":e["aria-label"]||C,"aria-valuemin":c.min,"aria-valuenow":y,"aria-valuemax":c.max,"aria-orientation":c.orientation,"data-orientation":c.orientation,"data-disabled":c.disabled?"":void 0,tabIndex:c.disabled?void 0:0},u,{ref:g,style:void 0===y?{display:"none"}:e.style,onFocus:(0,i.M)(e.onFocus,()=>{c.valueIndexToChangeRef.current=l})}))))}),V=e=>{let{value:t,...r}=e,o=(0,n.useRef)(null),l=(0,f.D)(t);return(0,n.useEffect)(()=>{let e=o.current,r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(l!==t&&r){let n=new Event("input",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[l,t]),(0,n.createElement)("input",(0,a.Z)({style:{display:"none"}},r,{ref:o,defaultValue:t}))};function W(e,t,r){return(0,l.u)(100/(r-t)*(e-t),[0,100])}function Z(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}var H=r(3414),F=r(66475),B=r(51352);let K=n.forwardRef((e,t)=>{var r,a;let{className:l,color:i,radius:s,tabIndex:u,...c}=(0,F.yH)(e,H.x,B.Ee);return n.createElement(R,{"data-accent-color":i,"data-radius":s,ref:t,...c,asChild:!1,className:o("rt-SliderRoot",l)},n.createElement(k,{className:"rt-SliderTrack"},n.createElement(I,{className:o("rt-SliderRange",{"rt-high-contrast":e.highContrast}),"data-inverted":c.inverted?"":void 0})),(null!==(a=null!==(r=c.value)&&void 0!==r?r:c.defaultValue)&&void 0!==a?a:[]).map((e,t)=>n.createElement(A,{key:t,className:"rt-SliderThumb",...void 0!==u?{tabIndex:u}:void 0})))});K.displayName="Slider"},3414:function(e,t,r){r.d(t,{x:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Kj,...n.Ir}},87432:function(e,t,r){r.d(t,{Z:function(){return n}});let n={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},loading:{type:"boolean",default:!0}}},22816:function(e,t,r){r.d(t,{l:function(){return o}});var n=r(51352);let o={...n.CD,...n.w1,...n.Wx}},21466:function(e,t,r){r.r(t),r.d(t,{Switch:function(){return N}});var n=r(91710),o=r(97598),a=r(99503),l=r(62283),i=r(37321),s=r(5382),u=r(32574),c=r(17251),d=r(81918),f=r(24744);let p="Switch",[m,v]=(0,s.b)(p),[g,h]=m(p),y=(0,n.forwardRef)((e,t)=>{let{__scopeSwitch:r,name:o,checked:s,defaultChecked:c,required:d,disabled:p,value:m="on",onCheckedChange:v,...h}=e,[y,b]=(0,n.useState)(null),E=(0,i.e)(t,e=>b(e)),P=(0,n.useRef)(!1),x=!y||!!y.closest("form"),[N=!1,O]=(0,u.T)({prop:s,defaultProp:c,onChange:v});return(0,n.createElement)(g,{scope:r,checked:N,disabled:p},(0,n.createElement)(f.WV.button,(0,a.Z)({type:"button",role:"switch","aria-checked":N,"aria-required":d,"data-state":C(N),"data-disabled":p?"":void 0,disabled:p,value:m},h,{ref:E,onClick:(0,l.M)(e.onClick,e=>{O(e=>!e),x&&(P.current=e.isPropagationStopped(),P.current||e.stopPropagation())})})),x&&(0,n.createElement)(w,{control:y,bubbles:!P.current,name:o,value:m,checked:N,required:d,disabled:p,style:{transform:"translateX(-100%)"}}))}),b=(0,n.forwardRef)((e,t)=>{let{__scopeSwitch:r,...o}=e,l=h("SwitchThumb",r);return(0,n.createElement)(f.WV.span,(0,a.Z)({"data-state":C(l.checked),"data-disabled":l.disabled?"":void 0},o,{ref:t}))}),w=e=>{let{control:t,checked:r,bubbles:o=!0,...l}=e,i=(0,n.useRef)(null),s=(0,c.D)(r),u=(0,d.t)(t);return(0,n.useEffect)(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==r&&t){let n=new Event("click",{bubbles:o});t.call(e,r),e.dispatchEvent(n)}},[s,r,o]),(0,n.createElement)("input",(0,a.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:r},l,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function C(e){return e?"checked":"unchecked"}var E=r(94838),P=r(66475),x=r(51352);let N=n.forwardRef((e,t)=>{let{className:r,color:a,radius:l,...i}=(0,P.yH)(e,E.i,x.Ee);return n.createElement(y,{"data-accent-color":a,"data-radius":l,...i,asChild:!1,ref:t,className:o("rt-reset","rt-SwitchRoot",r)},n.createElement(b,{className:o("rt-SwitchThumb",{"rt-high-contrast":e.highContrast})}))});N.displayName="Switch"},94838:function(e,t,r){r.d(t,{i:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Kj,...n.Ir}},25352:function(e,t,r){r.r(t),r.d(t,{Link:function(){return c},Root:function(){return u}});var n=r(91710),o=r(97598),a=r(29737),l=r(71546),i=r(66475),s=r(51352);let u=n.forwardRef((e,t)=>{let{children:r,className:u,color:c,...d}=(0,i.yH)(e,l.Q,s.Ee);return n.createElement(a.fC,{className:"rt-TabNavRoot","data-accent-color":c,...d,asChild:!1,ref:t},n.createElement(a.aV,{className:o("rt-reset","rt-BaseTabList","rt-TabNavList",u)},r))});u.displayName="TabNav.Root";let c=n.forwardRef((e,t)=>{let{asChild:r,children:l,className:s,...u}=e;return n.createElement(a.ck,{className:"rt-TabNavItem"},n.createElement(a.rU,{...u,ref:t,className:o("rt-reset","rt-BaseTabListTrigger","rt-TabNavLink",s),onSelect:()=>{},asChild:r},(0,i.xH)({asChild:r,children:l},e=>n.createElement(n.Fragment,null,n.createElement("span",{className:"rt-BaseTabListTriggerInner rt-TabNavLinkInner"},e),n.createElement("span",{className:"rt-BaseTabListTriggerInnerHidden rt-TabNavLinkInnerHidden"},e)))))});c.displayName="TabNav.Link"},71546:function(e,t,r){r.d(t,{Q:function(){return o.U}});var n=r(51352),o=r(93862);({...n.CD})},45517:function(e,t,r){r.d(t,{Kj:function(){return o},X5:function(){return l},rf:function(){return a}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["surface","ghost"],default:"ghost"},layout:{type:"enum",className:"rt-r-tl",values:["auto","fixed"],responsive:!0}},a={align:{type:"enum",className:"rt-r-va",values:["start","center","end","baseline"],parseValue:function(e){return({baseline:"baseline",start:"top",center:"middle",end:"bottom"})[e]},responsive:!0}},l={justify:{type:"enum",className:"rt-r-ta",values:["start","center","end"],parseValue:function(e){return({start:"left",center:"center",end:"right"})[e]},responsive:!0},...n.nb,...n.iJ}},33681:function(e,t,r){r.r(t),r.d(t,{Content:function(){return S},List:function(){return _},Root:function(){return M},Trigger:function(){return T}});var n=r(91710),o=r(97598),a=r(99503),l=r(62283),i=r(5382),s=r(92213),u=r(73093),c=r(24744),d=r(25815),f=r(32574),p=r(65276);let m="Tabs",[v,g]=(0,i.b)(m,[s.Pc]),h=(0,s.Pc)(),[y,b]=v(m),w=(0,n.forwardRef)((e,t)=>{let{__scopeTabs:r,value:o,onValueChange:l,defaultValue:i,orientation:s="horizontal",dir:u,activationMode:m="automatic",...v}=e,g=(0,d.gm)(u),[h,b]=(0,f.T)({prop:o,onChange:l,defaultProp:i});return(0,n.createElement)(y,{scope:r,baseId:(0,p.M)(),value:h,onValueChange:b,orientation:s,dir:g,activationMode:m},(0,n.createElement)(c.WV.div,(0,a.Z)({dir:g,"data-orientation":s},v,{ref:t})))}),C=(0,n.forwardRef)((e,t)=>{let{__scopeTabs:r,loop:o=!0,...l}=e,i=b("TabsList",r),u=h(r);return(0,n.createElement)(s.fC,(0,a.Z)({asChild:!0},u,{orientation:i.orientation,dir:i.dir,loop:o}),(0,n.createElement)(c.WV.div,(0,a.Z)({role:"tablist","aria-orientation":i.orientation},l,{ref:t})))}),E=(0,n.forwardRef)((e,t)=>{let{__scopeTabs:r,value:o,disabled:i=!1,...u}=e,d=b("TabsTrigger",r),f=h(r),p=x(d.baseId,o),m=N(d.baseId,o),v=o===d.value;return(0,n.createElement)(s.ck,(0,a.Z)({asChild:!0},f,{focusable:!i,active:v}),(0,n.createElement)(c.WV.button,(0,a.Z)({type:"button",role:"tab","aria-selected":v,"aria-controls":m,"data-state":v?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:p},u,{ref:t,onMouseDown:(0,l.M)(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(o)}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(o)}),onFocus:(0,l.M)(e.onFocus,()=>{let e="manual"!==d.activationMode;v||i||!e||d.onValueChange(o)})})))}),P=(0,n.forwardRef)((e,t)=>{let{__scopeTabs:r,value:o,forceMount:l,children:i,...s}=e,d=b("TabsContent",r),f=x(d.baseId,o),p=N(d.baseId,o),m=o===d.value,v=(0,n.useRef)(m);return(0,n.useEffect)(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.createElement)(u.z,{present:l||m},r=>{let{present:o}=r;return(0,n.createElement)(c.WV.div,(0,a.Z)({"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!o,id:p,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:v.current?"0s":void 0}}),o&&i)})});function x(e,t){return"".concat(e,"-trigger-").concat(t)}function N(e,t){return"".concat(e,"-content-").concat(t)}var O=r(94978),R=r(66475),D=r(51352);let M=n.forwardRef((e,t)=>{let{className:r,...a}=(0,R.yH)(e,D.Ee);return n.createElement(w,{...a,ref:t,className:o("rt-TabsRoot",r)})});M.displayName="Tabs.Root";let _=n.forwardRef((e,t)=>{let{className:r,color:a,...l}=(0,R.yH)(e,O.cY,D.Ee);return n.createElement(C,{"data-accent-color":a,...l,asChild:!1,ref:t,className:o("rt-BaseTabList","rt-TabsList",r)})});_.displayName="Tabs.List";let T=n.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return n.createElement(E,{...l,asChild:!1,ref:t,className:o("rt-reset","rt-BaseTabListTrigger","rt-TabsTrigger",r)},n.createElement("span",{className:"rt-BaseTabListTriggerInner rt-TabsTriggerInner"},a),n.createElement("span",{className:"rt-BaseTabListTriggerInnerHidden rt-TabsTriggerInnerHidden"},a))});T.displayName="Tabs.Trigger";let S=n.forwardRef((e,t)=>{let{className:r,...a}=(0,R.yH)(e,D.Ee);return n.createElement(P,{...a,ref:t,className:o("rt-TabsContent",r)})});S.displayName="Tabs.Content"},94978:function(e,t,r){r.d(t,{cY:function(){return o.U}});var n=r(51352),o=r(93862);n.CD,n.CD},7758:function(e,t,r){r.d(t,{L:function(){return o}});var n=r(51352);let o={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},resize:{type:"enum",className:"rt-r-resize",values:["none","vertical","horizontal","both"],responsive:!0},...n.EG,...n.Ir}},46334:function(e,t,r){r.r(t),r.d(t,{Root:function(){return u},Slot:function(){return c}});var n=r(91710),o=r(97598),a=r(32242),l=r(66475),i=r(51352),s=r(37321);let u=n.forwardRef((e,t)=>{let r=n.useRef(null),{children:u,className:c,color:d,radius:f,style:p,...m}=(0,l.yH)(e,a.H,i.Ee);return n.createElement("div",{"data-accent-color":d,"data-radius":f,style:p,className:o("rt-TextFieldRoot",c),onPointerDown:e=>{let t=e.target;if(t.closest("input, button, a"))return;let n=r.current;if(!n)return;let o=t.closest("\n .rt-TextFieldSlot[data-side='right'],\n .rt-TextFieldSlot:not([data-side='right']) ~ .rt-TextFieldSlot:not([data-side='left'])\n ")?n.value.length:0;requestAnimationFrame(()=>{try{n.setSelectionRange(o,o)}catch(e){}n.focus()})}},n.createElement("input",{spellCheck:"false",...m,ref:(0,s.F)(r,t),className:"rt-reset rt-TextFieldInput"}),u)});u.displayName="TextField.Root";let c=n.forwardRef((e,t)=>{let{className:r,color:i,side:s,...u}=(0,l.yH)(e,a.L);return n.createElement("div",{"data-accent-color":i,"data-side":s,...u,ref:t,className:o("rt-TextFieldSlot",r)})});c.displayName="TextField.Slot"},32242:function(e,t,r){r.d(t,{H:function(){return a},L:function(){return l}});var n=r(51352),o=r(69009);let a={size:{type:"enum",className:"rt-r-size",values:["1","2","3"],default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:["classic","surface","soft"],default:"surface"},...n.EG,...n.Ir},l={side:{type:"enum",values:["left","right"]},...n.vP,gap:o.l.gap,px:n.iJ.px,pl:n.iJ.pl,pr:n.iJ.pr}},55259:function(e,t,r){r.d(t,{x:function(){return u}});var n=r(91710),o=r(97598),a=r(19767),l=r(78619),i=r(66475),s=r(51352);let u=n.forwardRef((e,t)=>{let{children:r,className:u,asChild:c,as:d="span",color:f,...p}=(0,i.yH)(e,l.S,s.Ee);return n.createElement(a.g7,{"data-accent-color":f||void 0,...p,ref:t,className:o("rt-Text",u)},c?r:n.createElement(d,null,r))});u.displayName="Text"},78619:function(e,t,r){r.d(t,{S:function(){return o}});var n=r(51352);let o={as:{type:"enum",values:["span","div","label","p"],default:"span"},...n.CD,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],responsive:!0},...n.xE,...n.O1,...n.E0,...n.w1,...n.Wx,...n.vP,...n.Kj}},38978:function(e,t,r){r.r(t),r.d(t,{ThemePanel:function(){return u}});var n=r(91710),o=r(44266),a=r(63873),l=r(62542),i=r(66475),s=r(51352);let u=n.forwardRef((e,t)=>{let{defaultOpen:r=!0,...o}=e,[a,l]=n.useState(r);return n.createElement(c,{...o,ref:t,open:a,onOpenChange:l})});u.displayName="ThemePanel";let c=n.forwardRef((e,t)=>{let{open:r,onOpenChange:u,onAppearanceChange:c,...f}=e,{appearance:p,onAppearanceChange:m,accentColor:v,onAccentColorChange:g,grayColor:h,onGrayColorChange:y,panelBackground:b,onPanelBackgroundChange:w,radius:C,onRadiusChange:E,scaling:P,onScalingChange:x}=(0,l.useThemeContext)(),N=void 0!==c,O=(0,o.W)(c),R=n.useCallback(e=>{let t=function(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}}();if("inherit"!==p){m(e);return}N?O(e):(j(e),function(e){let t=document.documentElement,r=t.classList.contains("light-theme"),n=t.classList.contains("dark-theme"),o=t.classList.contains("light"),a=t.classList.contains("dark");(r||n)&&(t.classList.remove("light-theme","dark-theme"),t.style.colorScheme=e,t.classList.add("".concat(e,"-theme"))),(o||a)&&(t.classList.remove("light","dark"),t.style.colorScheme=e,t.classList.add(e)),r||n||o||a||(t.style.colorScheme=e,t.classList.add(e))}(e)),t()},[p,m,N,O]),D=(0,i.Gh)(v),M="auto"===h?D:h,[_,T]=n.useState("idle");async function S(){let e={appearance:p===s.yT.appearance.default?void 0:p,accentColor:v===s.yT.accentColor.default?void 0:v,grayColor:h===s.yT.grayColor.default?void 0:h,panelBackground:b===s.yT.panelBackground.default?void 0:b,radius:C===s.yT.radius.default?void 0:C,scaling:P===s.yT.scaling.default?void 0:P},t=Object.keys(e).filter(t=>void 0!==e[t]).map(t=>"".concat(t,'="').concat(e[t],'"')).join(" ");T("copying"),await navigator.clipboard.writeText(t?"<Theme ".concat(t,">"):"<Theme>"),T("copied"),setTimeout(()=>T("idle"),2e3)}let[k,j]=n.useState("inherit"===p?null:p),I='\n [contenteditable],\n [role="combobox"],\n [role="listbox"],\n [role="menu"],\n input:not([type="radio"], [type="checkbox"]),\n select,\n textarea\n ';return n.useEffect(()=>{function e(e){var t,n;let o=e.altKey||e.ctrlKey||e.shiftKey||e.metaKey,a=null===(t=document.activeElement)||void 0===t?void 0:t.closest(I);(null===(n=e.key)||void 0===n?void 0:n.toUpperCase())!=="T"||o||a||u(!r)}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[u,r,I]),n.useEffect(()=>{function e(e){var t,r;let n=e.altKey||e.ctrlKey||e.shiftKey||e.metaKey,o=null===(t=document.activeElement)||void 0===t?void 0:t.closest(I);(null===(r=e.key)||void 0===r?void 0:r.toUpperCase())!=="D"||n||o||R("light"===k?"dark":"light")}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[R,k,I]),n.useEffect(()=>{let e=document.documentElement,t=document.body;function r(){let r=e.classList.contains("dark")||e.classList.contains("dark-theme")||t.classList.contains("dark")||t.classList.contains("dark-theme");j("inherit"===p?r?"dark":"light":p)}let n=new MutationObserver(function(e){e.forEach(function(e){"class"===e.attributeName&&r()})});return r(),"inherit"===p&&(n.observe(e,{attributes:!0}),n.observe(t,{attributes:!0})),()=>n.disconnect()},[p]),n.createElement(l.Theme,{asChild:!0,radius:"medium",scaling:"100%"},n.createElement(a.kC,{direction:"column",position:"fixed",top:"0",right:"0",mr:"4",mt:"4",inert:r?void 0:"",...f,ref:t,style:{zIndex:9999,overflow:"hidden",maxHeight:"calc(100vh - var(--space-4) - var(--space-4))",borderRadius:"var(--radius-4)",backgroundColor:"var(--color-panel-solid)",transformOrigin:"top center",transitionProperty:"transform, box-shadow",transitionDuration:"200ms",transitionTimingFunction:r?"ease-out":"ease-in",transform:r?"none":"translateX(105%)",boxShadow:r?"var(--shadow-5)":"var(--shadow-2)",...e.style}},n.createElement(a.xr,null,n.createElement(a.xu,{flexGrow:"1",p:"5",position:"relative"},n.createElement(a.xu,{position:"absolute",top:"0",right:"0",m:"2"},n.createElement(a.u,{content:"Press T to show/hide the Theme Panel",side:"bottom",sideOffset:6},n.createElement(a.Tz,{asChild:!0,size:"3",tabIndex:0,className:"rt-ThemePanelShortcut"},n.createElement("button",{onClick:()=>u(!r)},"T")))),n.createElement(a.X6,{size:"5",trim:"both",as:"h3",mb:"5"},"Theme"),n.createElement(a.xv,{id:"accent-color-title",as:"p",size:"2",weight:"medium",mt:"5"},"Accent color"),n.createElement(a.rj,{columns:"10",gap:"2",mt:"3",role:"group","aria-labelledby":"accent-color-title"},s.yT.accentColor.values.map(e=>n.createElement("label",{key:e,className:"rt-ThemePanelSwatch",style:{backgroundColor:"var(--".concat(e,"-9)")}},n.createElement(a.u,{content:"".concat(d(e)).concat("gray"===v&&"gray"!==M?" (".concat(d(M),")"):"")},n.createElement("input",{className:"rt-ThemePanelSwatchInput",type:"radio",name:"accentColor",value:e,checked:v===e,onChange:e=>g(e.target.value)}))))),n.createElement(a.kC,{asChild:!0,align:"center",justify:"between"},n.createElement(a.xv,{as:"p",id:"gray-color-title",size:"2",weight:"medium",mt:"5"},"Gray color")),n.createElement(a.rj,{columns:"10",gap:"2",mt:"3",role:"group","aria-labelledby":"gray-color-title"},s.yT.grayColor.values.map(e=>n.createElement(a.kC,{key:e,asChild:!0,align:"center",justify:"center"},n.createElement("label",{className:"rt-ThemePanelSwatch",style:{backgroundColor:"auto"===e?"var(--".concat(D,"-9)"):"gray"===e?"var(--gray-9)":"var(--".concat(e,"-9)"),filter:"gray"===e?"saturate(0)":void 0}},n.createElement(a.u,{content:"".concat(d(e)).concat("auto"===e?" (".concat(d(D),")"):"")},n.createElement("input",{className:"rt-ThemePanelSwatchInput",type:"radio",name:"grayColor",value:e,checked:h===e,onChange:e=>y(e.target.value)})))))),n.createElement(a.xv,{id:"appearance-title",as:"p",size:"2",weight:"medium",mt:"5"},"Appearance"),n.createElement(a.rj,{columns:"2",gap:"2",mt:"3",role:"group","aria-labelledby":"appearance-title"},["light","dark"].map(e=>n.createElement("label",{key:e,className:"rt-ThemePanelRadioCard"},n.createElement("input",{className:"rt-ThemePanelRadioCardInput",type:"radio",name:"appearance",value:e,checked:k===e,onChange:e=>R(e.target.value)}),n.createElement(a.kC,{align:"center",justify:"center",height:"32px",gap:"2"},"light"===e?n.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"0 -1px"}},n.createElement("path",{d:"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):n.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"0 -1px"}},n.createElement("path",{d:"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})),n.createElement(a.xv,{size:"1",weight:"medium"},d(e)))))),n.createElement(a.xv,{id:"radius-title",as:"p",size:"2",weight:"medium",mt:"5"},"Radius"),n.createElement(a.rj,{columns:"5",gap:"2",mt:"3",role:"group","aria-labelledby":"radius-title"},s.yT.radius.values.map(e=>n.createElement(a.kC,{key:e,direction:"column",align:"center"},n.createElement("label",{className:"rt-ThemePanelRadioCard"},n.createElement("input",{className:"rt-ThemePanelRadioCardInput",type:"radio",name:"radius",id:"theme-panel-radius-".concat(e),value:e,checked:C===e,onChange:e=>E(e.target.value)}),n.createElement(l.Theme,{asChild:!0,radius:e},n.createElement(a.xu,{m:"3",width:"32px",height:"32px",style:{borderTopLeftRadius:"full"===e?"80%":"var(--radius-5)",backgroundImage:"linear-gradient(to bottom right, var(--accent-3), var(--accent-4))",borderTop:"2px solid var(--accent-a8)",borderLeft:"2px solid var(--accent-a8)"}}))),n.createElement(a.xu,{asChild:!0,pt:"2"},n.createElement(a.xv,{asChild:!0,size:"1",color:"gray"},n.createElement("label",{htmlFor:"theme-panel-radius-".concat(e)},d(e))))))),n.createElement(a.xv,{id:"scaling-title",as:"p",size:"2",weight:"medium",mt:"5"},"Scaling"),n.createElement(a.rj,{columns:"5",gap:"2",mt:"3",role:"group","aria-labelledby":"scaling-title"},s.yT.scaling.values.map(e=>n.createElement("label",{key:e,className:"rt-ThemePanelRadioCard"},n.createElement("input",{className:"rt-ThemePanelRadioCardInput",type:"radio",name:"scaling",value:e,checked:P===e,onChange:e=>x(e.target.value)}),n.createElement(a.kC,{align:"center",justify:"center",height:"32px"},n.createElement(l.Theme,{asChild:!0,scaling:e},n.createElement(a.kC,{align:"center",justify:"center"},n.createElement(a.xv,{size:"1",weight:"medium"},d(e)))))))),n.createElement(a.kC,{mt:"5",align:"center",gap:"2"},n.createElement(a.xv,{id:"panel-background-title",as:"p",size:"2",weight:"medium"},"Panel background"),n.createElement(a.J2.Root,null,n.createElement(a.J2.Trigger,null,n.createElement(a.hU,{size:"1",variant:"ghost",color:"gray"},n.createElement(a.CJ,{label:"Learn more about panel background options"},n.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",fillRule:"evenodd",clipRule:"evenodd"}))))),n.createElement(a.J2.Content,{size:"1",style:{maxWidth:220},side:"top",align:"center"},n.createElement(a.xv,{as:"p",size:"2"},"Whether Card and Table panels are translucent, showing some of\xa0the background behind them.")))),n.createElement(a.rj,{columns:"2",gap:"2",mt:"3",role:"group","aria-labelledby":"panel-background-title"},s.yT.panelBackground.values.map(e=>n.createElement("label",{key:e,className:"rt-ThemePanelRadioCard"},n.createElement("input",{className:"rt-ThemePanelRadioCardInput",type:"radio",name:"panelBackground",value:e,checked:b===e,onChange:e=>w(e.target.value)}),n.createElement(a.kC,{align:"center",justify:"center",height:"32px",gap:"2"},"solid"===e?n.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"0 -2px"}},n.createElement("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):n.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"0 -2px"}},n.createElement("path",{opacity:".05",d:"M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".1",d:"M7.28204 13.4775C9.23929 9.99523 9.23929 5.00475 7.28204 1.52248L7.71791 1.2775C9.76067 4.9119 9.76067 10.0881 7.71791 13.7225L7.28204 13.4775Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".15",d:"M7.82098 13.5064C9.72502 9.99523 9.72636 5.01411 7.82492 1.50084L8.26465 1.26285C10.2465 4.92466 10.2451 10.085 8.26052 13.7448L7.82098 13.5064Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".2",d:"M8.41284 13.429C10.1952 9.92842 10.1957 5.07537 8.41435 1.57402L8.85999 1.34729C10.7139 4.99113 10.7133 10.0128 8.85841 13.6559L8.41284 13.429Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".25",d:"M9.02441 13.2956C10.6567 9.8379 10.6586 5.17715 9.03005 1.71656L9.48245 1.50366C11.1745 5.09919 11.1726 9.91629 9.47657 13.5091L9.02441 13.2956Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".3",d:"M9.66809 13.0655C11.1097 9.69572 11.1107 5.3121 9.67088 1.94095L10.1307 1.74457C11.6241 5.24121 11.6231 9.76683 10.1278 13.2622L9.66809 13.0655Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".35",d:"M10.331 12.7456C11.5551 9.52073 11.5564 5.49103 10.3347 2.26444L10.8024 2.0874C12.0672 5.42815 12.0659 9.58394 10.7985 12.9231L10.331 12.7456Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".4",d:"M11.0155 12.2986C11.9938 9.29744 11.9948 5.71296 11.0184 2.71067L11.4939 2.55603C12.503 5.6589 12.502 9.35178 11.4909 12.4535L11.0155 12.2986Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".45",d:"M11.7214 11.668C12.4254 9.01303 12.4262 5.99691 11.7237 3.34116L12.2071 3.21329C12.9318 5.95292 12.931 9.05728 12.2047 11.7961L11.7214 11.668Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{opacity:".5",d:"M12.4432 10.752C12.8524 8.63762 12.8523 6.36089 12.4429 4.2466L12.9338 4.15155C13.3553 6.32861 13.3554 8.66985 12.9341 10.847L12.4432 10.752Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),n.createElement("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})),n.createElement(a.xv,{size:"1",weight:"medium"},d(e)))))),n.createElement(a.zx,{mt:"5",style:{width:"100%"},onClick:S},"copied"===_?"Copied":"Copy Theme")))))});function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}c.displayName="ThemePanelImpl"},62542:function(e,t,r){r.r(t),r.d(t,{Theme:function(){return p},useThemeContext:function(){return f}});var n=r(91710),o=r(97598),a=r(28726),l=r(25815),i=r(19767),s=r(66475),u=r(51352);let c=()=>{},d=n.createContext(void 0);function f(){let e=n.useContext(d);if(void 0===e)throw Error("`useThemeContext` must be used within a `Theme`");return e}let p=n.forwardRef((e,t)=>void 0===n.useContext(d)?n.createElement(a.zt,{delayDuration:200},n.createElement(l._9,{dir:"ltr"},n.createElement(m,{...e,ref:t}))):n.createElement(v,{...e,ref:t}));p.displayName="Theme";let m=n.forwardRef((e,t)=>{let{appearance:r=u.yT.appearance.default,accentColor:o=u.yT.accentColor.default,grayColor:a=u.yT.grayColor.default,panelBackground:l=u.yT.panelBackground.default,radius:i=u.yT.radius.default,scaling:s=u.yT.scaling.default,hasBackground:c=u.yT.hasBackground.default,...d}=e,[f,p]=n.useState(r);n.useEffect(()=>p(r),[r]);let[m,g]=n.useState(o);n.useEffect(()=>g(o),[o]);let[h,y]=n.useState(a);n.useEffect(()=>y(a),[a]);let[b,w]=n.useState(l);n.useEffect(()=>w(l),[l]);let[C,E]=n.useState(i);n.useEffect(()=>E(i),[i]);let[P,x]=n.useState(s);return n.useEffect(()=>x(s),[s]),n.createElement(v,{...d,ref:t,isRoot:!0,hasBackground:c,appearance:f,accentColor:m,grayColor:h,panelBackground:b,radius:C,scaling:P,onAppearanceChange:p,onAccentColorChange:g,onGrayColorChange:y,onPanelBackgroundChange:w,onRadiusChange:E,onScalingChange:x})});m.displayName="ThemeRoot";let v=n.forwardRef((e,t)=>{var r,a,l,f,p,m;let v=n.useContext(d),{asChild:g,isRoot:h,hasBackground:y,appearance:b=null!==(r=null==v?void 0:v.appearance)&&void 0!==r?r:u.yT.appearance.default,accentColor:w=null!==(a=null==v?void 0:v.accentColor)&&void 0!==a?a:u.yT.accentColor.default,grayColor:C=null!==(l=null==v?void 0:v.resolvedGrayColor)&&void 0!==l?l:u.yT.grayColor.default,panelBackground:E=null!==(f=null==v?void 0:v.panelBackground)&&void 0!==f?f:u.yT.panelBackground.default,radius:P=null!==(p=null==v?void 0:v.radius)&&void 0!==p?p:u.yT.radius.default,scaling:x=null!==(m=null==v?void 0:v.scaling)&&void 0!==m?m:u.yT.scaling.default,onAppearanceChange:N=c,onAccentColorChange:O=c,onGrayColorChange:R=c,onPanelBackgroundChange:D=c,onRadiusChange:M=c,onScalingChange:_=c,...T}=e,S=g?i.g7:"div",k="auto"===C?(0,s.Gh)(w):C,j="light"===e.appearance||"dark"===e.appearance;return n.createElement(d.Provider,{value:n.useMemo(()=>({appearance:b,accentColor:w,grayColor:C,resolvedGrayColor:k,panelBackground:E,radius:P,scaling:x,onAppearanceChange:N,onAccentColorChange:O,onGrayColorChange:R,onPanelBackgroundChange:D,onRadiusChange:M,onScalingChange:_}),[b,w,C,k,E,P,x,N,O,R,D,M,_])},n.createElement(S,{"data-is-root-theme":h?"true":"false","data-accent-color":w,"data-gray-color":k,"data-has-background":(void 0===y?h||j:y)?"true":"false","data-panel-background":E,"data-radius":P,"data-scaling":x,ref:t,...T,className:o("radix-themes",{light:"light"===b,dark:"dark"===b},T.className)}))});v.displayName="ThemeImpl"},14092:function(e,t,r){r.r(t),r.d(t,{Tooltip:function(){return c}});var n=r(91710),o=r(97598),a=r(28726),l=r(55259),i=r(62542),s=r(66475),u=r(56128);let c=n.forwardRef((e,t)=>{let{children:r,className:c,open:d,defaultOpen:f,onOpenChange:p,delayDuration:m,disableHoverableContent:v,content:g,container:h,forceMount:y,...b}=(0,s.yH)(e,u.B);return n.createElement(a.fC,{open:d,defaultOpen:f,onOpenChange:p,delayDuration:m,disableHoverableContent:v},n.createElement(a.xz,{asChild:!0},r),n.createElement(a.h_,{container:h,forceMount:y},n.createElement(i.Theme,{asChild:!0},n.createElement(a.VY,{sideOffset:4,collisionPadding:10,...b,asChild:!1,ref:t,className:o("rt-TooltipContent",c)},n.createElement(l.x,{as:"p",className:"rt-TooltipText",size:"1"},g),n.createElement(a.Eh,{className:"rt-TooltipArrow"})))))});c.displayName="Tooltip"},56128:function(e,t,r){r.d(t,{B:function(){return o}});var n=r(51352);let o={content:{type:"ReactNode",required:!0},width:n.nb.width,minWidth:n.nb.minWidth,maxWidth:{...n.nb.maxWidth,default:"360px"}}},88889:function(e,t,r){r.r(t),r.d(t,{VisuallyHidden:function(){return n.T}});var n=r(56998)},66475:function(e,t,r){function n(e){let{m:t,mx:r,my:n,mt:o,mr:a,mb:l,ml:i,...s}=e;return{m:t,mx:r,my:n,mt:o,mr:a,mb:l,ml:i,rest:s}}r.d(t,{FY:function(){return n},yH:function(){return p},IQ:function(){return v},Gh:function(){return g},RE:function(){return c},xH:function(){return y},AG:function(){return C},uJ:function(){return w},qz:function(){return b},y0:function(){return f},O$:function(){return E}});var o=r(97598),a=r(17626);function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=r(51352);function s(e){return"object"==typeof e&&Object.keys(e).some(e=>i.AV.includes(e))}function u(e){let{className:t,customProperties:r,...n}=e;return[c({allowArbitraryValues:!0,className:t,...n}),function(e){let{customProperties:t,value:r,propValues:n,parseValue:o=e=>e}=e,i={};if(!(!r||"string"==typeof r&&n.includes(r))){if("string"==typeof r&&(i=Object.fromEntries(t.map(e=>[e,r]))),s(r))for(let e in r){if(!l(r,e)||!a.A.includes(e))continue;let o=r[e];if(!n.includes(o))for(let r of t)i={["initial"===e?r:"".concat(r,"-").concat(e)]:o,...i}}for(let e in i){let t=i[e];void 0!==t&&(i[e]=o(t))}return i}}({customProperties:r,...n})]}function c(e){let{allowArbitraryValues:t,value:r,className:n,propValues:o,parseValue:i=e=>e}=e,u=[];if(r){if("string"==typeof r&&o.includes(r))return d(n,r,i);if(s(r)){for(let e in r){if(!l(r,e)||!a.A.includes(e))continue;let s=r[e];if(void 0!==s){if(o.includes(s)){let t=d(n,s,i),r="initial"===e?t:"".concat(e,":").concat(t);u.push(r)}else if(t){let t="initial"===e?n:"".concat(e,":").concat(n);u.push(t)}}}return u.join(" ")}if(t)return n}}function d(e,t,r){let n=r(t),o=null==n?void 0:n.startsWith("-"),a=o?null==n?void 0:n.substring(1):n;return"".concat(o?"-":"").concat(e).concat(e?"-":"").concat(a)}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n={};for(let e of t)e&&(n={...n,...e});return Object.keys(n).length?n:void 0}function p(e){let t,r;for(var n=arguments.length,a=Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];let i={...e},d=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Object.assign({},...t)}(...a);for(let e in d){let n=i[e],a=d[e];if(void 0!==a.default&&void 0===n&&(n=a.default),"enum"!==a.type||[a.default,...a.values].includes(n)||s(n)||(n=a.default),i[e]=n,"className"in a&&a.className){delete i[e];let l="responsive"in a;if(!n||s(n)&&!l)continue;if(s(n)&&(void 0!==a.default&&void 0===n.initial&&(n.initial=a.default),"enum"===a.type&&([a.default,...a.values].includes(n.initial)||(n.initial=a.default))),"enum"===a.type){t=o(t,c({allowArbitraryValues:!1,value:n,className:a.className,propValues:a.values,parseValue:a.parseValue}));continue}if("string"===a.type||"enum | string"===a.type){let e="string"===a.type?[]:a.values,[l,i]=u({className:a.className,customProperties:a.customProperties,propValues:e,parseValue:a.parseValue,value:n});r=f(r,i),t=o(t,l);continue}if("boolean"===a.type&&n){t=o(t,a.className);continue}}}return i.className=o(t,e.className),i.style=f(r,e.style),i}let m=r(58401).E.m.values;function v(e){let[t,r]=u({className:"rt-r-m",customProperties:["--margin"],propValues:m,value:e.m}),[n,a]=u({className:"rt-r-mx",customProperties:["--margin-left","--margin-right"],propValues:m,value:e.mx}),[l,i]=u({className:"rt-r-my",customProperties:["--margin-top","--margin-bottom"],propValues:m,value:e.my}),[s,c]=u({className:"rt-r-mt",customProperties:["--margin-top"],propValues:m,value:e.mt}),[d,p]=u({className:"rt-r-mr",customProperties:["--margin-right"],propValues:m,value:e.mr}),[v,g]=u({className:"rt-r-mb",customProperties:["--margin-bottom"],propValues:m,value:e.mb}),[h,y]=u({className:"rt-r-ml",customProperties:["--margin-left"],propValues:m,value:e.ml});return[o(t,n,l,s,d,v,h),f(r,a,i,c,p,g,y)]}function g(e){switch(e){case"tomato":case"red":case"ruby":case"crimson":case"pink":case"plum":case"purple":case"violet":return"mauve";case"iris":case"indigo":case"blue":case"sky":case"cyan":return"slate";case"teal":case"jade":case"mint":case"green":return"sage";case"grass":case"lime":return"olive";case"yellow":case"amber":case"orange":case"brown":case"gold":case"bronze":return"sand";case"gray":return"gray"}}var h=r(91710);function y(e,t){let{asChild:r,children:n}=e;if(!r)return"function"==typeof t?t(n):t;let o=h.Children.only(n);return h.cloneElement(o,{children:"function"==typeof t?t(o.props.children):t})}function b(e,t){if(void 0!==e)return"string"==typeof e?t(e):Object.fromEntries(Object.entries(e).map(e=>{let[r,n]=e;return[r,t(n)]}))}function w(e){return"3"===e?"3":"2"}function C(e){switch(e){case"1":return"1";case"2":case"3":return"2";case"4":return"3"}}let E=e=>{if(!h.isValidElement(e))throw Error("Expected a single React Element child, but got: ".concat(h.Children.toArray(e).map(e=>"object"==typeof e&&"type"in e&&"string"==typeof e.type?e.type:typeof e).join(", ")));return e}},63873:function(e,t,r){r.d(t,{CJ:function(){return o.AccessibleIcon},aR:function(){return a},qE:function(){return l.Avatar},Ct:function(){return p},xu:function(){return g},zx:function(){return x},UW:function(){return N},Zb:function(){return R},kW:function(){return D},EK:function(){return _},W2:function(){return S},FR:function(){return n},Vq:function(){return z},h_:function(){return V},Em:function(){return Z},kC:function(){return b},rj:function(){return H.r},X6:function(){return F.X},hU:function(){return B},eB:function(){return G},Tz:function(){return Y},rU:function(){return q},J2:function(){return J},Ex:function(){return $.Progress},Jx:function(){return ee},xr:function(){return et.ScrollArea},$0:function(){return eo},sY:function(){return er},Ph:function(){return ea},Z0:function(){return el.Separator},Od:function(){return es},$j:function(){return C},cK:function(){return ec},rs:function(){return ed.Switch},KT:function(){return ef},mQ:function(){return em},xv:function(){return m.x},Kx:function(){return eg},nv:function(){return eh},Q2:function(){return ey.Theme},u:function(){return eb.Tooltip},TX:function(){return ew.VisuallyHidden}});var n={};r.r(n),r.d(n,{ck:function(){return I},__:function(){return L},fC:function(){return j},B4:function(){return A}});var o=r(44267),a=r(39627),l=r(87697),i=r(91710),s=r(97598),u=r(19767),c=r(98712),d=r(66475),f=r(51352);let p=i.forwardRef((e,t)=>{let{asChild:r,className:n,color:o,radius:a,...l}=(0,d.yH)(e,c.O,f.Ee);return i.createElement(r?u.g7:"span",{"data-accent-color":o,"data-radius":a,...l,ref:t,className:s("rt-reset","rt-Badge",n)})});p.displayName="Badge";var m=r(55259);i.forwardRef((e,t)=>{let{asChild:r,children:n,className:o,...a}=e,l=r?u.g7:"blockquote";return i.createElement(m.x,{asChild:!0,...a,ref:t,className:s("rt-Blockquote",o)},i.createElement(l,null,n))}).displayName="Blockquote";var v=r(75387);let g=i.forwardRef((e,t)=>{let{className:r,asChild:n,as:o="div",...a}=(0,d.yH)(e,v.W,f.P7,f.Ee);return i.createElement(n?u.g7:o,{...a,ref:t,className:s("rt-Box",r)})});g.displayName="Box";var h=r(31548),y=r(69009);let b=i.forwardRef((e,t)=>{let{className:r,asChild:n,as:o="div",...a}=(0,d.yH)(e,y.l,f.P7,f.Ee);return i.createElement(n?u.g7:o,{...a,ref:t,className:s("rt-Flex",r)})});b.displayName="Flex";var w=r(87432);let C=i.forwardRef((e,t)=>{let{className:r,children:n,loading:o,...a}=(0,d.yH)(e,w.Z,f.Ee);if(!o)return n;let l=i.createElement("span",{...a,ref:t,className:s("rt-Spinner",r)},i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}),i.createElement("span",{className:"rt-SpinnerLeaf"}));return void 0===n?l:i.createElement(b,{asChild:!0,position:"relative",align:"center",justify:"center"},i.createElement("span",null,i.createElement("span",{"aria-hidden":!0,style:{display:"contents",visibility:"hidden"},inert:""},n),i.createElement(b,{asChild:!0,align:"center",justify:"center",position:"absolute",inset:"0"},i.createElement("span",null,l))))});C.displayName="Spinner";var E=r(56998);let P=i.forwardRef((e,t)=>{let{size:r=h.C.size.default}=e,{className:n,children:o,asChild:a,color:l,radius:c,disabled:p=e.loading,...m}=(0,d.yH)(e,h.C,f.Ee);return i.createElement(a?u.g7:"button",{"data-disabled":p||void 0,"data-accent-color":l,"data-radius":c,...m,ref:t,className:s("rt-reset","rt-BaseButton",n),disabled:p},e.loading?i.createElement(i.Fragment,null,i.createElement("span",{style:{display:"contents",visibility:"hidden"},"aria-hidden":!0},o),i.createElement(E.T,null,o),i.createElement(b,{asChild:!0,align:"center",justify:"center",position:"absolute",inset:"0"},i.createElement("span",null,i.createElement(C,{size:(0,d.qz)(r,d.AG)})))):o)});P.displayName="BaseButton";let x=i.forwardRef((e,t)=>{let{className:r,...n}=e;return i.createElement(P,{...n,ref:t,className:s("rt-Button",r)})});x.displayName="Button";var N=r(27456),O=r(51687);let R=i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,O.s,f.Ee);return i.createElement(r?u.g7:"div",{ref:t,...o,className:s("rt-reset","rt-BaseCard","rt-Card",n)})});R.displayName="Card";var D=r(51498);r(61353),r(17966);var M=r(65696);let _=i.forwardRef((e,t)=>{let{asChild:r,className:n,color:o,...a}=(0,d.yH)(e,M.y,f.Ee),l="ghost"===e.variant?o||void 0:o;return i.createElement(r?u.g7:"code",{"data-accent-color":l,...a,ref:t,className:s("rt-reset","rt-Code",n)})});_.displayName="Code";var T=r(11441);let S=i.forwardRef((e,t)=>{let{width:r,minWidth:n,maxWidth:o,height:a,minHeight:l,maxHeight:c,...p}=e,{asChild:m,children:v,className:g,...h}=(0,d.yH)(p,T.n,f.P7,f.Ee),{className:y,style:b}=(0,d.yH)({width:r,minWidth:n,maxWidth:o,height:a,minHeight:l,maxHeight:c},f.nb,f.Fs);return i.createElement(m?u.g7:"div",{...h,ref:t,className:s("rt-Container",g)},(0,d.xH)({asChild:m,children:v},e=>i.createElement("div",{className:s("rt-ContainerInner",y),style:b},e)))});S.displayName="Container",r(28456);var k=r(68135);let j=i.forwardRef((e,t)=>{let{className:r,...n}=(0,d.yH)(e,k.bz,f.Ee);return i.createElement(m.x,{asChild:!0},i.createElement("dl",{...n,ref:t,className:s("rt-DataListRoot",r)}))});j.displayName="DataList.Root";let I=i.forwardRef((e,t)=>{let{className:r,...n}=(0,d.yH)(e,k.LV);return i.createElement("div",{...n,ref:t,className:s("rt-DataListItem",r)})});I.displayName="DataList.Item";let L=i.forwardRef((e,t)=>{let{className:r,color:n,...o}=(0,d.yH)(e,k.uF);return i.createElement("dt",{...o,"data-accent-color":n||void 0,ref:t,className:s("rt-DataListLabel",r)})});L.displayName="DataList.Label";let A=i.forwardRef((e,t)=>{let{children:r,className:n,...o}=e;return i.createElement("dd",{...o,ref:t,className:s(n,"rt-DataListValue")},r)});A.displayName="DataList.Value";var z=r(77373),V=r(10890),W=r(46423);let Z=i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,W.B);return i.createElement(r?u.g7:"em",{...o,ref:t,className:s("rt-Em",n)})});Z.displayName="Em";var H=r(93816),F=r(85510);r(65989);let B=i.forwardRef((e,t)=>{let{className:r,...n}=e;return i.createElement(P,{...n,ref:t,className:s("rt-IconButton",r)})});B.displayName="IconButton",r(35718);var K=r(24040);let G=i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,K.g,f.Ee);return i.createElement(r?u.g7:"div",{...o,ref:t,className:s("rt-Inset",n)})});G.displayName="Inset";var U=r(12086);let Y=i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,U.K,f.Ee);return i.createElement(r?u.g7:"kbd",{...o,ref:t,className:s("rt-reset","rt-Kbd",n)})});Y.displayName="Kbd";var X=r(42576);let q=i.forwardRef((e,t)=>{let{children:r,className:n,color:o,asChild:a,...l}=(0,d.yH)(e,X.V);return i.createElement(m.x,{...l,"data-accent-color":o,ref:t,asChild:!0,className:s("rt-reset","rt-Link",n)},a?r:i.createElement("a",null,r))});q.displayName="Link";var J=r(99206),$=r(72064),Q=r(82830);i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,Q.q);return i.createElement(r?u.g7:"q",{...o,ref:t,className:s("rt-Quote",n)})}).displayName="Quote";var ee=r(82441);r(92672),r(30530),i.forwardRef((e,t)=>{let{className:r,children:n,...o}=e;return i.createElement(u.g7,{...o,ref:t,className:s("rt-reset",r)},(0,d.O$)(n))}).displayName="Reset";var et=r(935),er=r(23365),en=r(84539);let eo=i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,en.Q,f.P7,f.Ee);return i.createElement(r?u.g7:"section",{...o,ref:t,className:s("rt-Section",n)})});eo.displayName="Section";var ea=r(23175),el=r(9431),ei=r(58801);let es=i.forwardRef((e,t)=>{let{children:r,className:n,loading:o,...a}=(0,d.yH)(e,ei.v,f.Ee);if(!o)return r;let l=i.isValidElement(r)?u.g7:"span";return i.createElement(l,{ref:t,"aria-hidden":!0,className:s("rt-Skeleton",n),"data-inline-skeleton":!i.isValidElement(r)||void 0,tabIndex:-1,inert:"",...a},r)});es.displayName="Skeleton",r(8424);var eu=r(22816);let ec=i.forwardRef((e,t)=>{let{asChild:r,className:n,...o}=(0,d.yH)(e,eu.l);return i.createElement(r?u.g7:"strong",{...o,ref:t,className:s("rt-Strong",n)})});ec.displayName="Strong";var ed=r(21466),ef=r(25352),ep=r(45517);i.forwardRef((e,t)=>{let{layout:r,...n}=ep.Kj,{className:o,children:a,layout:l,...u}=(0,d.yH)(e,n,f.Ee),c=(0,d.RE)({value:l,className:ep.Kj.layout.className,propValues:ep.Kj.layout.values});return i.createElement("div",{ref:t,className:s("rt-TableRoot",o),...u},i.createElement(et.ScrollArea,null,i.createElement("table",{className:s("rt-TableRootTable",c)},a)))}).displayName="Table.Root",i.forwardRef((e,t)=>{let{className:r,...n}=e;return i.createElement("thead",{...n,ref:t,className:s("rt-TableHeader",r)})}).displayName="Table.Header",i.forwardRef((e,t)=>{let{className:r,...n}=e;return i.createElement("tbody",{...n,ref:t,className:s("rt-TableBody",r)})}).displayName="Table.Body",i.forwardRef((e,t)=>{let{className:r,...n}=(0,d.yH)(e,ep.rf);return i.createElement("tr",{...n,ref:t,className:s("rt-TableRow",r)})}).displayName="Table.Row",i.forwardRef((e,t)=>{let{className:r,...n}=(0,d.yH)(e,ep.X5);return i.createElement("td",{className:s("rt-TableCell",r),ref:t,...n})}).displayName="Table.Cell",i.forwardRef((e,t)=>{let{className:r,...n}=(0,d.yH)(e,ep.X5);return i.createElement("th",{className:s("rt-TableCell","rt-TableColumnHeaderCell",r),scope:"col",ref:t,...n})}).displayName="Table.ColumnHeaderCell",i.forwardRef((e,t)=>{let{className:r,...n}=(0,d.yH)(e,ep.X5);return i.createElement("th",{className:s("rt-TableCell","rt-TableRowHeaderCell",r),scope:"row",ref:t,...n})}).displayName="Table.RowHeaderCell";var em=r(33681),ev=r(7758);let eg=i.forwardRef((e,t)=>{let{className:r,color:n,radius:o,style:a,...l}=(0,d.yH)(e,ev.L,f.Ee);return i.createElement("div",{"data-accent-color":n,"data-radius":o,className:s("rt-TextAreaRoot",r),style:a},i.createElement("textarea",{className:"rt-reset rt-TextAreaInput",ref:t,...l}))});eg.displayName="TextArea";var eh=r(46334);r(38978);var ey=r(62542),eb=r(14092),ew=r(88889)},2213:function(e,t,r){r.d(t,{C:function(){return n}});let n={asChild:{type:"boolean"}}},51352:function(e,t,r){r.d(t,{CD:function(){return o.C},AV:function(){return n.A},EG:function(){return l},cc:function(){return u},Fs:function(){return c},Kj:function(){return d},vP:function(){return i},P7:function(){return h},E0:function(){return y},Ee:function(){return b.E},iJ:function(){return p},Ir:function(){return C},O1:function(){return E},Wx:function(){return P},yT:function(){return O},w1:function(){return x},xE:function(){return N},nb:function(){return m}});var n=r(17626),o=r(2213);let a=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"],l={color:{type:"enum",values:a,default:""}},i={color:{type:"enum",values:a,default:void 0}},s=["0","1","2","3","4","5","6","7","8","9"],u={gap:{type:"enum | string",className:"rt-r-gap",customProperties:["--gap"],values:s,responsive:!0},gapX:{type:"enum | string",className:"rt-r-cg",customProperties:["--column-gap"],values:s,responsive:!0},gapY:{type:"enum | string",className:"rt-r-rg",customProperties:["--row-gap"],values:s,responsive:!0}},c={height:{type:"string",className:"rt-r-h",customProperties:["--height"],responsive:!0},minHeight:{type:"string",className:"rt-r-min-h",customProperties:["--min-height"],responsive:!0},maxHeight:{type:"string",className:"rt-r-max-h",customProperties:["--max-height"],responsive:!0}},d={highContrast:{type:"boolean",className:"rt-high-contrast",default:void 0}},f=["0","1","2","3","4","5","6","7","8","9"],p={p:{type:"enum | string",className:"rt-r-p",customProperties:["--p"],values:f,responsive:!0},px:{type:"enum | string",className:"rt-r-px",customProperties:["--pl","--pr"],values:f,responsive:!0},py:{type:"enum | string",className:"rt-r-py",customProperties:["--pt","--pb"],values:f,responsive:!0},pt:{type:"enum | string",className:"rt-r-pt",customProperties:["--pt"],values:f,responsive:!0},pr:{type:"enum | string",className:"rt-r-pr",customProperties:["--pr"],values:f,responsive:!0},pb:{type:"enum | string",className:"rt-r-pb",customProperties:["--pb"],values:f,responsive:!0},pl:{type:"enum | string",className:"rt-r-pl",customProperties:["--pl"],values:f,responsive:!0}},m={width:{type:"string",className:"rt-r-w",customProperties:["--width"],responsive:!0},minWidth:{type:"string",className:"rt-r-min-w",customProperties:["--min-width"],responsive:!0},maxWidth:{type:"string",className:"rt-r-max-w",customProperties:["--max-width"],responsive:!0}},v=["visible","hidden","clip","scroll","auto"],g=["0","1","2","3","4","5","6","7","8","9","-1","-2","-3","-4","-5","-6","-7","-8","-9"],h={...p,...m,...c,position:{type:"enum",className:"rt-r-position",values:["static","relative","absolute","fixed","sticky"],responsive:!0},inset:{type:"enum | string",className:"rt-r-inset",customProperties:["--inset"],values:g,responsive:!0},top:{type:"enum | string",className:"rt-r-top",customProperties:["--top"],values:g,responsive:!0},right:{type:"enum | string",className:"rt-r-right",customProperties:["--right"],values:g,responsive:!0},bottom:{type:"enum | string",className:"rt-r-bottom",customProperties:["--bottom"],values:g,responsive:!0},left:{type:"enum | string",className:"rt-r-left",customProperties:["--left"],values:g,responsive:!0},overflow:{type:"enum",className:"rt-r-overflow",values:v,responsive:!0},overflowX:{type:"enum",className:"rt-r-ox",values:v,responsive:!0},overflowY:{type:"enum",className:"rt-r-oy",values:v,responsive:!0},flexBasis:{type:"string",className:"rt-r-fb",customProperties:["--flex-basis"],responsive:!0},flexShrink:{type:"enum | string",className:"rt-r-fs",customProperties:["--flex-shrink"],values:["0","1"],responsive:!0},flexGrow:{type:"enum | string",className:"rt-r-fg",customProperties:["--flex-grow"],values:["0","1"],responsive:!0},gridColumn:{type:"string",className:"rt-r-gc",customProperties:["--grid-column"],responsive:!0},gridColumnStart:{type:"string",className:"rt-r-gcs",customProperties:["--grid-column-start"],responsive:!0},gridColumnEnd:{type:"string",className:"rt-r-gce",customProperties:["--grid-column-end"],responsive:!0},gridRow:{type:"string",className:"rt-r-gr",customProperties:["--grid-row"],responsive:!0},gridRowStart:{type:"string",className:"rt-r-grs",customProperties:["--grid-row-start"],responsive:!0},gridRowEnd:{type:"string",className:"rt-r-gre",customProperties:["--grid-row-end"],responsive:!0}},y={trim:{type:"enum",className:"rt-r-lt",values:["normal","start","end","both"],responsive:!0}};var b=r(58401);let w=["none","small","medium","large","full"],C={radius:{type:"enum",values:w,default:void 0}},E={align:{type:"enum",className:"rt-r-ta",values:["left","center","right"],responsive:!0}},P={wrap:{type:"enum",className:"rt-r-tw",values:["wrap","nowrap","pretty","balance"],responsive:!0}},x={truncate:{type:"boolean",className:"rt-truncate"}},N={weight:{type:"enum",className:"rt-r-weight",values:["light","regular","medium","bold"],responsive:!0}};r(14819),r(63736),r(98712),o.C,r(75387),r(31548),r(36341),r(51687),r(98994),r(66380),r(24697),r(65696),r(11441),r(11035),r(68135),r(26767),r(8090),r(46423),r(69009),r(42147),r(88902),r(43686),r(24040),r(12086),r(42576),r(97612),r(45955),r(82830),r(71735),r(91969),r(5600),r(68963),r(84539),r(6749),r(34226),r(82228),r(58801),r(3414),r(87432),r(22816),r(94838),r(71546),r(45517),r(94978),r(7758),r(32242),r(78619);let O={...o.C,hasBackground:{type:"boolean",default:!0},appearance:{type:"enum",values:["inherit","light","dark"],default:"inherit"},accentColor:{type:"enum",values:a,default:"indigo"},grayColor:{type:"enum",values:["auto","gray","mauve","slate","sage","olive","sand"],default:"auto"},panelBackground:{type:"enum",values:["solid","translucent"],default:"translucent"},radius:{type:"enum",values:w,default:"medium"},scaling:{type:"enum",values:["90%","95%","100%","105%","110%"],default:"100%"}};r(56128)},58401:function(e,t,r){r.d(t,{E:function(){return o}});let n=["0","1","2","3","4","5","6","7","8","9","-1","-2","-3","-4","-5","-6","-7","-8","-9"],o={m:{type:"enum | string",values:n,responsive:!0,className:"rt-r-m",customProperties:["--m"]},mx:{type:"enum | string",values:n,responsive:!0,className:"rt-r-mx",customProperties:["--ml","--mr"]},my:{type:"enum | string",values:n,responsive:!0,className:"rt-r-my",customProperties:["--mt","--mb"]},mt:{type:"enum | string",values:n,responsive:!0,className:"rt-r-mt",customProperties:["--mt"]},mr:{type:"enum | string",values:n,responsive:!0,className:"rt-r-mr",customProperties:["--mr"]},mb:{type:"enum | string",values:n,responsive:!0,className:"rt-r-mb",customProperties:["--mb"]},ml:{type:"enum | string",values:n,responsive:!0,className:"rt-r-ml",customProperties:["--ml"]}}},17626:function(e,t,r){r.d(t,{A:function(){return n}});let n=["initial","xs","sm","md","lg","xl"]}}]);