Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
talha_silentcontent
/
.next
/
server
/
chunks
/
Filename :
5915.js
back
Copy
exports.id=5915,exports.ids=[5915],exports.modules={35664:(e,t,n)=>{"use strict";n.d(t,{Ry:()=>s});var r=new WeakMap,o=new WeakMap,i={},a=0,l=function(e){return e&&(e.host||l(e.parentNode))},c=function(e,t,n,c){var s=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=l(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[n]||(i[n]=new WeakMap);var u=i[n],f=[],d=new Set,p=new Set(s),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};s.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(c),i=null!==t&&"false"!==t,a=(r.get(e)||0)+1,l=(u.get(e)||0)+1;r.set(e,a),u.set(e,l),f.push(e),1===a&&i&&o.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),a++,function(){f.forEach(function(e){var t=r.get(e)-1,i=u.get(e)-1;r.set(e,t),u.set(e,i),t||(o.has(e)||e.removeAttribute(c),o.delete(e)),i||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r,o=Array.from(Array.isArray(e)?e:[e]),i=t||(r=e,"undefined"==typeof document?null:(Array.isArray(r)?r[0]:r).ownerDocument.body);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),c(o,i,n,"aria-hidden")):function(){return null}}},35047:(e,t,n)=>{"use strict";var r=n(77389);n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},2114:(e,t,n)=>{"use strict";n.d(t,{Bj$:()=>a,dIY:()=>i,m3W:()=>o});var r=n(75868);function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"}}]})(e)}function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208H432c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}},75868:(e,t,n)=>{"use strict";n.d(t,{w_:()=>s});var r=n(17577),o=n.n(r),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=o().createContext&&o().createContext(i),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function s(e){return function(t){return o().createElement(u,l({attr:l({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return o().createElement(t.tag,l({key:n},t.attr),e(t.child))})}(e.child))}}function u(e){var t=function(t){var n,r=e.attr,i=e.size,a=e.title,s=c(e,["attr","size","title"]),u=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),o().createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,s,{className:n,style:l(l({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),a&&o().createElement("title",null,a),e.children)};return void 0!==a?o().createElement(a.Consumer,null,function(e){return t(e)}):t(i)}},60452:(e,t,n)=>{"use strict";n.d(t,{$l:()=>v,M7:()=>m,TZ:()=>g,sN:()=>b,v2:()=>y});var r=n(17577),o=n.n(r),i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function c(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(e){return this instanceof u?(this.v=e,this):new u(e)}var f=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return a},__rest:l,__decorate:function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}c((r=r.apply(e,t||[])).next())})},__generator:function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},__values:c,__read:s,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)r[o]=i[a];return r},__await:u,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||l(e,t)})})}function l(e,t){try{var n;(n=o[e](t)).value instanceof u?Promise.resolve(n.value.v).then(c,s):f(i[0][2],n)}catch(e){f(i[0][3],e)}}function c(e){l("next",e)}function s(e){l("throw",e)}function f(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:u(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=c(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,o,(t=e[n](t)).done,t.value)})}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,n),n}});function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p=d(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=n.apply(null,o);a&&e.push(a)}else if("object"===i)for(var l in o)t.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),h=(0,r.createContext)({collapsed:!1,rtl:!1,toggled:!1}),m=(0,r.forwardRef)(function(e,t){var n=e.children,i=e.className,c=e.width,s=e.collapsed,u=e.rtl,f=e.toggled,d=e.image,m=e.breakPoint,v=e.onToggle,g=l(e,["children","className","width","collapsed","rtl","toggled","image","breakPoint","onToggle"]),y=(0,r.useState)({collapsed:void 0!==s&&s,rtl:void 0!==u&&u,toggled:void 0!==f&&f}),b=y[0],w=y[1],E=t||o().createRef(),x=function(){var e=b.toggled;w(a(a({},b),{toggled:!e})),v&&v(!e)};return(0,r.useEffect)(function(){w(a(a({},b),{collapsed:s,rtl:u,toggled:f}))},[s,u,f]),o().createElement(h.Provider,{value:b},o().createElement("div",a({},g,{ref:E,className:p("pro-sidebar",i,m,{collapsed:s,rtl:u,toggled:f}),style:{width:c}}),o().createElement("div",{className:"pro-sidebar-inner"},d?o().createElement("img",{src:d,alt:"sidebar background",className:"sidebar-bg"}):null,o().createElement("div",{className:"pro-sidebar-layout"},n)),o().createElement("div",{className:"overlay",onClick:x,onKeyPress:x,role:"button",tabIndex:0,"aria-label":"overlay"})))}),v=(0,r.forwardRef)(function(e,t){var n=e.children,r=e.className,i=l(e,["children","className"]),c=t||o().createRef();return o().createElement("div",a({},i,{ref:c,className:p("pro-sidebar-header",r)}),n)}),g=(0,r.forwardRef)(function(e,t){var n=e.children,r=e.className,i=l(e,["children","className"]),c=t||o().createRef();return o().createElement("div",a({},i,{ref:c,className:p("pro-sidebar-content",r)}),n)});(0,r.forwardRef)(function(e,t){var n=e.children,r=e.className,i=l(e,["children","className"]),c=t||o().createRef();return o().createElement("div",a({},i,{ref:c,className:p("pro-sidebar-footer",r)}),n)});var y=(0,r.forwardRef)(function(e,t){var n,r=e.children,i=e.className,c=e.iconShape,s=e.popperArrow,u=l(e,["children","className","iconShape","popperArrow"]),f=t||o().createRef();return o().createElement("nav",a({},u,{ref:f,className:p("pro-menu",i,((n={})["shaped "+c]=["square","round","circle"].indexOf(c)>=0,n))}),o().createElement("ul",null,o().Children.map(r,function(e){return o().cloneElement(e,{firstchild:1,popperarrow:!0===s?1:0})})))}),b=(0,r.forwardRef)(function(e,t){var n=e.children,r=e.className,i=e.icon,c=e.active,s=e.prefix,u=e.suffix,f=(e.firstchild,e.popperarrow,l(e,["children","className","icon","active","prefix","suffix","firstchild","popperarrow"])),d=t||o().createRef();return o().createElement("li",a({},f,{ref:d,className:p("pro-menu-item",r,{active:c})}),o().createElement("div",{className:"pro-inner-item",tabIndex:0,role:"button"},i?o().createElement("span",{className:"pro-icon-wrapper"},o().createElement("span",{className:"pro-icon"},i)):null,s?o().createElement("span",{className:"prefix-wrapper"},s):null,o().createElement("span",{className:"pro-item-content"},n),u?o().createElement("span",{className:"suffix-wrapper"},u):null))}),w=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=f.__importStar(o()),r=function(e){function t(t){var n=e.call(this,t)||this;return n.outerRef=null,n.handleRef=function(e){if(n.outerRef=e,n.props.forwardedRef){if("function"==typeof n.props.forwardedRef)n.props.forwardedRef(e);else if("object"==typeof n.props.forwardedRef)n.props.forwardedRef.current=e;else throw Error("Invalid forwardedRef "+n.props.forwardedRef)}},n.handleTransitionEnd=function(e){e.target===n.outerRef&&"height"===e.propertyName&&(n.state.childrenLeaving?n.setState({children:null,childrenLeaving:!1},function(){return n.endTransition()}):n.endTransition())},n.state={children:t.children,childrenLeaving:!1},n}return f.__extends(t,e),t.prototype.componentDidMount=function(){this.outerRef&&(this.props.closed||!this.props.children?(this.outerRef.classList.add("closed"),this.outerRef.style.height="0px"):this.props.transitionOnAppear?this.startTransition("0px"):this.outerRef.style.height="auto")},t.prototype.getSnapshotBeforeUpdate=function(){return this.outerRef?this.outerRef.getBoundingClientRect().height+"px":null},t.getDerivedStateFromProps=function(e,t){return e.children?{children:e.children,childrenLeaving:!1}:t.children?{children:t.children,childrenLeaving:!0}:null},t.prototype.componentDidUpdate=function(e,t,n){this.outerRef&&this.startTransition(n)},t.prototype.startTransition=function(e){var t="0px";this.props.closed||this.state.childrenLeaving||!this.state.children||(this.outerRef.classList.remove("closed"),this.outerRef.style.height="auto",t=getComputedStyle(this.outerRef).height),parseFloat(t).toFixed(2)!==parseFloat(e).toFixed(2)&&(this.outerRef.classList.add("transitioning"),this.outerRef.style.height=e,this.outerRef.offsetHeight,this.outerRef.style.transitionProperty="height",this.outerRef.style.height=t)},t.prototype.endTransition=function(){this.outerRef.classList.remove("transitioning"),this.outerRef.style.transitionProperty="none",this.outerRef.style.height=this.props.closed?"0px":"auto",(this.props.closed||!this.state.children)&&this.outerRef.classList.add("closed")},t.prototype.render=function(){var e=this.props,t=e.as,r=(e.children,e.className),o=(e.closed,e.transitionOnAppear,e.forwardedRef,f.__rest(e,["as","children","className","closed","transitionOnAppear","forwardedRef"]));return n.default.createElement(void 0===t?"div":t,f.__assign({ref:this.handleRef,className:r?"react-slidedown "+r:"react-slidedown",onTransitionEnd:this.handleTransitionEnd},o),this.state.children)},t.defaultProps={transitionOnAppear:!0,closed:!1},t}(n.Component);t.SlideDown=n.forwardRef(function(e,t){return n.default.createElement(r,f.__assign({},e,{forwardedRef:t}))}),t.default=t.SlideDown}),E=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(w);function x(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function O(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function _(e){var t=O(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function R(e){var t=O(e).Element;return e instanceof t||e instanceof Element}function M(e){var t=O(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function C(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return(R(e)?e.ownerDocument:e.document).documentElement}function P(e){return x(S(e)).left+_(e).scrollLeft}function T(e){return O(e).getComputedStyle(e)}function k(e){var t=T(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function A(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function D(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||e.host||S(e)}function L(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:M(t)&&k(t)?t:e(D(t))}(e),r="body"===C(n),o=O(n),i=r?[o].concat(o.visualViewport||[],k(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(L(D(i)))}function j(e){if(!M(e)||"fixed"===T(e).position)return null;var t=e.offsetParent;if(t){var n=S(t);if("body"===C(t)&&"static"===T(t).position&&"static"!==T(n).position)return n}return t}function F(e){for(var t=O(e),n=j(e);n&&["table","td","th"].indexOf(C(n))>=0&&"static"===T(n).position;)n=j(n);return n&&"body"===C(n)&&"static"===T(n).position?t:n||function(e){for(var t=D(e);M(t)&&0>["html","body"].indexOf(C(t));){var n=T(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}w.SlideDown;var I="bottom",N="right",W="left",B="auto",V=["top",I,N,W],z="start",H="viewport",Z="popper",$=V.reduce(function(e,t){return e.concat([t+"-"+z,t+"-end"])},[]),K=[].concat(V,[B]).reduce(function(e,t){return e.concat([t,t+"-"+z,t+"-end"])},[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Y(e){return e.split("-")[0]}function G(e,t){var n=!!(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function X(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function U(e,t){var n,r,o,i,a,l,c,s,u,f,d,p,h,m,v,g;return t===H?X((n=O(e),r=S(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,c=0,o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=o.offsetLeft,c=o.offsetTop)),{width:i,height:a,x:l+P(e),y:c})):M(t)?((s=x(t)).top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s):X((u=S(e),f=S(u),d=_(u),p=u.ownerDocument.body,h=Math.max(f.scrollWidth,f.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),m=Math.max(f.scrollHeight,f.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),v=-d.scrollLeft+P(u),g=-d.scrollTop,"rtl"===T(p||f).direction&&(v+=Math.max(f.clientWidth,p?p.clientWidth:0)-h),{width:h,height:m,x:v,y:g}))}function Q(e){return e.split("-")[1]}function J(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ee(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?Q(o):null,l=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:l,y:n.y-r.height};break;case I:t={x:l,y:n.y+n.height};break;case N:t={x:n.x+n.width,y:c};break;case W:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var s=i?J(i):null;if(null!=s){var u="y"===s?"height":"width";switch(a){case z:t[s]=Math.floor(t[s])-Math.floor(n[u]/2-r[u]/2);break;case"end":t[s]=Math.floor(t[s])+Math.ceil(n[u]/2-r[u]/2)}}return t}function et(){return{top:0,right:0,bottom:0,left:0}}function en(e){return Object.assign(Object.assign({},et()),e)}function er(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function eo(e,t){void 0===t&&(t={});var n,r,o,i,a,l,c,s,u=t,f=u.placement,d=void 0===f?e.placement:f,p=u.boundary,h=u.rootBoundary,m=u.elementContext,v=void 0===m?Z:m,g=u.altBoundary,y=u.padding,b=void 0===y?0:y,w=en("number"!=typeof b?b:er(b,V)),E=e.elements.reference,O=e.rects.popper,_=e.elements[void 0!==g&&g?v===Z?"reference":Z:v],P=(n=R(_)?_:_.contextElement||S(e.elements.popper),r=void 0===p?"clippingParents":p,o=void 0===h?H:h,c=(l=[].concat("clippingParents"===r?(i=L(D(n)),R(a=["absolute","fixed"].indexOf(T(n).position)>=0&&M(n)?F(n):n)?i.filter(function(e){return R(e)&&G(e,a)&&"body"!==C(e)}):[]):[].concat(r),[o]))[0],(s=l.reduce(function(e,t){var r=U(n,t);return e.top=Math.max(r.top,e.top),e.right=Math.min(r.right,e.right),e.bottom=Math.min(r.bottom,e.bottom),e.left=Math.max(r.left,e.left),e},U(n,c))).width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s),k=x(E),A=ee({reference:k,element:O,strategy:"absolute",placement:d}),j=X(Object.assign(Object.assign({},O),A)),W=v===Z?j:k,B={top:P.top-W.top+w.top,bottom:W.bottom-P.bottom+w.bottom,left:P.left-W.left+w.left,right:W.right-P.right+w.right},z=e.modifiersData.offset;if(v===Z&&z){var $=z[d];Object.keys(B).forEach(function(e){var t=[N,I].indexOf(e)>=0?1:-1,n=["top",I].indexOf(e)>=0?"y":"x";B[e]+=$[n]*t})}return B}var ei={placement:"bottom",modifiers:[],strategy:"absolute"};function ea(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var el={passive:!0},ec={top:"auto",right:"auto",bottom:"auto",left:"auto"};function es(e){var t,n,r,o,i,a=e.popper,l=e.popperRect,c=e.placement,s=e.offsets,u=e.position,f=e.gpuAcceleration,d=e.adaptive,p=(t=s.x,n=s.y,{x:Math.round(t*(r=window.devicePixelRatio||1))/r||0,y:Math.round(n*r)/r||0}),h=p.x,m=p.y,v=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),y=W,b="top",w=window;if(d){var E=F(a);E===O(a)&&(E=S(a)),"top"===c&&(b=I,m-=E.clientHeight-l.height,m*=f?1:-1),c===W&&(y=N,h-=E.clientWidth-l.width,h*=f?1:-1)}var x=Object.assign({position:u},d&&ec);return f?Object.assign(Object.assign({},x),{},((i={})[b]=g?"0":"",i[y]=v?"0":"",i.transform=2>(w.devicePixelRatio||1)?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",i)):Object.assign(Object.assign({},x),{},((o={})[b]=g?m+"px":"",o[y]=v?h+"px":"",o.transform="",o))}var eu={left:"right",right:"left",bottom:"top",top:"bottom"};function ef(e){return e.replace(/left|right|bottom|top/g,function(e){return eu[e]})}var ed={start:"end",end:"start"};function ep(e){return e.replace(/start|end/g,function(e){return ed[e]})}function eh(e,t,n){return Math.max(e,Math.min(t,n))}function em(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ev(e){return["top",N,I,W].some(function(t){return e[t]>=0})}var eg=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ei:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},ei),i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],s=!1,u={state:l,setOptions:function(n){f(),l.options=Object.assign(Object.assign(Object.assign({},i),l.options),n),l.scrollParents={reference:R(e)?L(e):e.contextElement?L(e.contextElement):[],popper:L(t)};var o,a,s,d,p,h=(a=Object.keys(o=[].concat(r,l.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e},{})).map(function(e){return o[e]}),s=new Map,d=new Set,p=[],a.forEach(function(e){s.set(e.name,e)}),a.forEach(function(e){d.has(e.name)||function e(t){d.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!d.has(t)){var n=s.get(t);n&&e(n)}}),p.push(t)}(e)}),q.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return l.orderedModifiers=h.filter(function(e){return e.enabled}),l.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:l,name:t,instance:u,options:void 0===n?{}:n});c.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!s){var e,t,n,r,o,i,a,c,f=l.elements,d=f.reference,p=f.popper;if(ea(d,p)){l.rects={reference:(t=F(p),n="fixed"===l.options.strategy,r=S(t),o=x(d),i=M(t),a={scrollLeft:0,scrollTop:0},c={x:0,y:0},(i||!i&&!n)&&(("body"!==C(t)||k(r))&&(a=(e=t)!==O(e)&&M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:_(e)),M(t)?(c=x(t),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=P(r))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}),popper:A(p)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(e){return l.modifiersData[e.name]=Object.assign({},e.data)});for(var h=0;h<l.orderedModifiers.length;h++){if(!0===l.reset){l.reset=!1,h=-1;continue}var m=l.orderedModifiers[h],v=m.fn,g=m.options,y=void 0===g?{}:g,b=m.name;"function"==typeof v&&(l=v({state:l,options:y,name:b,instance:u})||l)}}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(l)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){f(),s=!0}};if(!ea(e,t))return u;function f(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,c=O(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&s.forEach(function(e){e.addEventListener("scroll",n.update,el)}),l&&c.addEventListener("resize",n.update,el),function(){i&&s.forEach(function(e){e.removeEventListener("scroll",n.update,el)}),l&&c.removeEventListener("resize",n.update,el)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ee({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i={placement:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),es(Object.assign(Object.assign({},i),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),es(Object.assign(Object.assign({},i),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];M(o)&&C(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});M(r)&&C(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=K.reduce(function(e,n){var r,o,a,l,c,s;return e[n]=(r=t.rects,a=[W,"top"].indexOf(o=Y(n))>=0?-1:1,c=(l="function"==typeof i?i(Object.assign(Object.assign({},r),{},{placement:n})):i)[0],s=l[1],c=c||0,s=(s||0)*a,[W,N].indexOf(o)>=0?{x:s,y:c}:{x:c,y:s}),e},{}),l=a[t.placement],c=l.x,s=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,c=n.fallbackPlacements,s=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=Y(v)===v,y=c||(g||!h?[ef(v)]:function(e){if(Y(e)===B)return[];var t=ef(e);return[ep(e),t,ep(t)]}(v)),b=[v].concat(y).reduce(function(e,n){var r,o,i,a,l,c,d,p,v,g,y,b;return e.concat(Y(n)===B?(o=(r={placement:n,boundary:u,rootBoundary:f,padding:s,flipVariations:h,allowedAutoPlacements:m}).placement,i=r.boundary,a=r.rootBoundary,l=r.padding,c=r.flipVariations,p=void 0===(d=r.allowedAutoPlacements)?K:d,0===(y=(g=(v=Q(o))?c?$:$.filter(function(e){return Q(e)===v}):V).filter(function(e){return p.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=eo(t,{placement:n,boundary:i,rootBoundary:a,padding:l})[Y(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),w=t.rects.reference,E=t.rects.popper,x=new Map,O=!0,_=b[0],R=0;R<b.length;R++){var M=b[R],C=Y(M),S=Q(M)===z,P=["top",I].indexOf(C)>=0,T=P?"width":"height",k=eo(t,{placement:M,boundary:u,rootBoundary:f,altBoundary:d,padding:s}),A=P?S?N:W:S?I:"top";w[T]>E[T]&&(A=ef(A));var D=ef(A),L=[];if(i&&L.push(k[C]<=0),l&&L.push(k[A]<=0,k[D]<=0),L.every(function(e){return e})){_=M,O=!1;break}x.set(M,L)}if(O)for(var j=h?3:1,F=function(e){var t=b.find(function(t){var n=x.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return _=t,"break"},H=j;H>0&&"break"!==F(H);H--);t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,l=n.rootBoundary,c=n.altBoundary,s=n.padding,u=n.tether,f=void 0===u||u,d=n.tetherOffset,p=void 0===d?0:d,h=eo(t,{boundary:a,rootBoundary:l,padding:s,altBoundary:c}),m=Y(t.placement),v=Q(t.placement),g=!v,y=J(m),b="x"===y?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,x=t.rects.popper,O="function"==typeof p?p(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):p,_={x:0,y:0};if(w){if(void 0===o||o){var R="y"===y?"top":W,M="y"===y?I:N,C="y"===y?"height":"width",S=w[y],P=w[y]+h[R],T=w[y]-h[M],k=f?-x[C]/2:0,D=v===z?E[C]:x[C],L=v===z?-x[C]:-E[C],j=t.elements.arrow,B=f&&j?A(j):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:et(),H=V[R],Z=V[M],$=eh(0,E[C],B[C]),K=g?E[C]/2-k-$-H-O:D-$-H-O,q=g?-E[C]/2+k+$+Z+O:L+$+Z+O,G=t.elements.arrow&&F(t.elements.arrow),X=G?"y"===y?G.clientTop||0:G.clientLeft||0:0,U=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,ee=w[y]+K-U-X,en=w[y]+q-U,er=eh(f?Math.min(P,ee):P,S,f?Math.max(T,en):T);w[y]=er,_[y]=er-S}if(void 0!==i&&i){var ei="x"===y?"top":W,ea="x"===y?I:N,el=w[b],ec=el+h[ei],es=el-h[ea],eu=eh(ec,el,es);w[b]=eu,_[b]=eu-el}t.modifiersData[r]=_}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Y(n.placement),l=J(a),c=[W,N].indexOf(a)>=0?"height":"width";if(o&&i){var s=n.modifiersData[r+"#persistent"].padding,u=A(o),f="y"===l?"top":W,d="y"===l?I:N,p=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],h=i[l]-n.rects.reference[l],m=F(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,g=s[f],y=v-u[c]-s[d],b=v/2-u[c]/2+(p/2-h/2),w=eh(g,b,y);n.modifiersData[r]=((t={})[l]=w,t.centerOffset=w-b,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,l=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&G(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:en("number"!=typeof l?l:er(l,V))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=eo(t,{elementContext:"reference"}),l=eo(t,{altBoundary:!0}),c=em(a,r),s=em(l,o,i),u=ev(c),f=ev(s);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:s,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),ey=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),eb="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,ew="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),eE="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ew):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},ex=["top","right","bottom","left","width","height","size","weight"],eO="undefined"!=typeof MutationObserver,e_=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function a(){eE(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,20);o=e}return l}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){eb&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),eO?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){eb&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;ex.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),eR=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},eM=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||ew},eC=ek(0,0,0,0);function eS(e){return parseFloat(e)||0}function eP(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+eS(e["border-"+n+"-width"])},0)}var eT="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof eM(e).SVGGraphicsElement}:function(e){return e instanceof eM(e).SVGElement&&"function"==typeof e.getBBox};function ek(e,t,n,r){return{x:e,y:t,width:n,height:r}}var eA=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ek(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!eb)return eC;if(eT(e)){var t;return ek(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return eC;var r=eM(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=eS(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,l=eS(r.width),c=eS(r.height);if("border-box"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=eP(r,"left","right")+i),Math.round(c+a)!==n&&(c-=eP(r,"top","bottom")+a)),e!==eM(e).document.documentElement){var s=Math.round(l+i)-t,u=Math.round(c+a)-n;1!==Math.abs(s)&&(l-=s),1!==Math.abs(u)&&(c-=u)}return ek(o.left,o.top,l,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),eD=function(e,t){var n,r,o,i,a,l=(n=t.x,r=t.y,o=t.width,i=t.height,eR(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:o,height:i,top:r,right:n+o,bottom:i+r,left:n}),a);eR(this,{target:e,contentRect:l})},eL=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new ey,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof eM(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new eA(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof eM(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new eD(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),ej="undefined"!=typeof WeakMap?new WeakMap:new ey,eF=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new eL(t,e_.getInstance(),this);ej.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){eF.prototype[e]=function(){var t;return(t=ej.get(this))[e].apply(t,arguments)}});var eI=void 0!==ew.ResizeObserver?ew.ResizeObserver:eF;(0,r.forwardRef)(function(e,t){var n,i=e.children,c=e.icon,s=e.className,u=e.title,f=e.defaultOpen,d=e.open,m=e.prefix,v=e.suffix,g=e.firstchild,y=e.popperarrow,b=e.onOpenChange,w=l(e,["children","icon","className","title","defaultOpen","open","prefix","suffix","firstchild","popperarrow","onOpenChange"]),x=(0,r.useContext)(h),O=x.collapsed,_=x.rtl,R=x.toggled,M=(0,r.useState)(!(void 0!==f&&f)),C=M[0],S=M[1],P=(0,r.useRef)(null),T=(0,r.useRef)(null),k=(0,r.useRef)(null),A=function(){b&&b(C),S(!C)};(0,r.useEffect)(function(){if(g&&O){if(T.current&&k.current&&(n=eg(T.current,k.current,{placement:"right",strategy:"fixed",modifiers:[{name:"computeStyles",options:{adaptive:!1}}]})),P.current){var e=new eI(function(){n&&n.update()});e.observe(P.current),e.observe(T.current)}setTimeout(function(){n&&n.update()},300)}return function(){n&&(n.destroy(),n=null)}},[O,_,R]);var D=t||o().createRef();return o().createElement("li",a({ref:D,className:p("pro-menu-item pro-sub-menu",s,{open:void 0===d?!C:d})},w),o().createElement("div",{ref:T,className:"pro-inner-item",onClick:A,onKeyPress:A,role:"button",tabIndex:0},c?o().createElement("span",{className:"pro-icon-wrapper"},o().createElement("span",{className:"pro-icon"},c)):null,m?o().createElement("span",{className:"prefix-wrapper"},m):null,o().createElement("span",{className:"pro-item-content"},u),v?o().createElement("span",{className:"suffix-wrapper"},v):null,o().createElement("span",{className:"pro-arrow-wrapper"},o().createElement("span",{className:"pro-arrow"}))),g&&O?o().createElement("div",{ref:k,className:p("pro-inner-list-item popper-element",{"has-arrow":y})},o().createElement("div",{className:"popper-inner",ref:P},o().createElement("ul",null,i)),y?o().createElement("div",{className:"popper-arrow","data-popper-arrow":!0}):null):o().createElement(E,{closed:void 0===d?C:!d,className:"pro-inner-list-item"},o().createElement("div",null,o().createElement("ul",null,i))))})},32064:(e,t,n)=>{"use strict";n.d(t,{Av:()=>a,pF:()=>r,xv:()=>i,zi:()=>o});var r="right-scroll-bar-position",o="width-before-scroll-bar",i="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},3566:(e,t,n)=>{"use strict";n.d(t,{jp:()=>m});var r=n(17577),o=n(98848),i=n(32064),a={left:0,top:0,right:0,gap:0},l=function(e){return parseInt(e||"",10)||0},c=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[l(n),l(r),l(o)]},s=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=c(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},u=(0,o.Ws)(),f="data-scroll-locked",d=function(e,t,n,r){var o=e.left,a=e.top,l=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat(i.xv," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(f,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i.pF," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(i.zi," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(i.pF," .").concat(i.pF," {\n right: 0 ").concat(r,";\n }\n \n .").concat(i.zi," .").concat(i.zi," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(f,"] {\n ").concat(i.Av,": ").concat(c,"px;\n }\n")},p=function(){var e=parseInt(document.body.getAttribute(f)||"0",10);return isFinite(e)?e:0},h=function(){r.useEffect(function(){return document.body.setAttribute(f,(p()+1).toString()),function(){var e=p()-1;e<=0?document.body.removeAttribute(f):document.body.setAttribute(f,e.toString())}},[])},m=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;h();var a=r.useMemo(function(){return s(i)},[i]);return r.createElement(u,{styles:d(a,!t,i,n?"":"!important")})}},17397:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(65826),o=n(17577),i=n(32064),a=n(55745),l=(0,n(45305)._)(),c=function(){},s=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),s=i[0],u=i[1],f=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,v=e.shards,g=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,E=e.as,x=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),O=(0,a.q)([n,t]),_=(0,r.pi)((0,r.pi)({},x),s);return o.createElement(o.Fragment,null,m&&o.createElement(g,{sideCar:l,removeScrollBar:h,shards:v,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!w,lockRef:n}),f?o.cloneElement(o.Children.only(d),(0,r.pi)((0,r.pi)({},_),{ref:O})):o.createElement(void 0===E?"div":E,(0,r.pi)({},_,{className:p,ref:O}),d))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},s.classNames={fullWidth:i.zi,zeroRight:i.pF};var u=n(73943),f=n(3566),d=n(98848),p=!1;if("undefined"!=typeof window)try{var h=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch(e){p=!1}var m=!!p&&{passive:!1},v=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},g=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),y(e,n)){var r=b(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},y=function(e,t){return"v"===e?v(t,"overflowY"):v(t,"overflowX")},b=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},w=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,c=n.target,s=t.contains(c),u=!1,f=l>0,d=0,p=0;do{var h=b(e,c),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&y(e,c)&&(d+=v,p+=m),c=c.parentNode}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return f&&(o&&0===d||!o&&l>d)?u=!0:!f&&(o&&0===p||!o&&-l>p)&&(u=!0),u},E=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},x=function(e){return[e.deltaX,e.deltaY]},O=function(e){return e&&"current"in e?e.current:e},_=0,R=[];let M=(0,u.L)(l,function(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),a=o.useState(_++)[0],l=o.useState(function(){return(0,d.Ws)()})[0],c=o.useRef(e);o.useEffect(function(){c.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(O),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var r,o=E(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],s="deltaY"in e?e.deltaY:a[1]-o[1],u=e.target,f=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===u.type)return!1;var d=g(f,u);if(!d)return!0;if(d?r=f:(r="v"===f?"h":"v",d=g(f,u)),!d)return!1;if(!i.current&&"changedTouches"in e&&(l||s)&&(i.current=r),!r)return!0;var p=i.current||r;return w(p,t,e,"h"===p?l:s,!0)},[]),u=o.useCallback(function(e){if(R.length&&R[R.length-1]===l){var n="deltaY"in e?x(e):E(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(O).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=o.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=o.useCallback(function(e){n.current=E(e),i.current=void 0},[]),v=o.useCallback(function(t){p(t.type,x(t),t.target,s(t,e.lockRef.current))},[]),y=o.useCallback(function(t){p(t.type,E(t),t.target,s(t,e.lockRef.current))},[]);o.useEffect(function(){return R.push(l),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",u,m),document.addEventListener("touchmove",u,m),document.addEventListener("touchstart",h,m),function(){R=R.filter(function(e){return e!==l}),document.removeEventListener("wheel",u,m),document.removeEventListener("touchmove",u,m),document.removeEventListener("touchstart",h,m)}},[]);var b=e.removeScrollBar,M=e.inert;return o.createElement(o.Fragment,null,M?o.createElement(l,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,b?o.createElement(f.jp,{gapMode:"margin"}):null)});var C=o.forwardRef(function(e,t){return o.createElement(s,(0,r.pi)({},e,{ref:t,sideCar:M}))});C.classNames=s.classNames;let S=C},98848:(e,t,n)=>{"use strict";n.d(t,{Ws:()=>l});var r,o=n(17577),i=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=i();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},l=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},55745:(e,t,n)=>{"use strict";n.d(t,{q:()=>l});var r=n(17577);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function l(e,t){var n,l,c,s=(n=t||null,l=function(t){return e.forEach(function(e){return o(e,t)})},(c=(0,r.useState)(function(){return{value:n,callback:l,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=l,c.facade);return i(function(){var t=a.get(s);if(t){var n=new Set(t),r=new Set(e),i=s.current;n.forEach(function(e){r.has(e)||o(e,null)}),r.forEach(function(e){n.has(e)||o(e,i)})}a.set(s,e)},[e]),s}},73943:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(65826),o=n(17577),i=function(e){var t=e.sideCar,n=(0,r._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return o.createElement(i,(0,r.pi)({},n))};function a(e,t){return e.useMedium(t),i}i.isSideCarExport=!0},45305:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(65826);function o(e){return e}function i(e){void 0===e&&(e={});var t,n,i,a=(void 0===t&&(t=o),n=[],i=!1,{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var r=t(e,i);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return a.options=(0,r.pi)({async:!0,ssr:!1},e),a}},42432:()=>{},20827:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>f,RR:()=>c,cv:()=>p,dp:()=>v,dr:()=>m,oo:()=>i,uY:()=>h,x7:()=>l});var r=n(14109);function o(e,t,n){let o,{reference:i,floating:a}=e,l=(0,r.Qq)(t),c=(0,r.Wh)(t),s=(0,r.I4)(c),u=(0,r.k3)(t),f="y"===l,d=i.x+i.width/2-a.width/2,p=i.y+i.height/2-a.height/2,h=i[s]/2-a[s]/2;switch(u){case"top":o={x:d,y:i.y-a.height};break;case"bottom":o={x:d,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-a.width,y:p};break;default:o={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":o[c]-=h*(n&&f?-1:1);break;case"end":o[c]+=h*(n&&f?-1:1)}return o}let i=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:l}=n,c=a.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:d}=o(u,r,s),p=r,h={},m=0;for(let n=0;n<c.length;n++){let{name:a,fn:v}=c[n],{x:g,y:y,data:b,reset:w}=await v({x:f,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});f=null!=g?g:f,d=null!=y?y:d,h={...h,[a]:{...h[a],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:f,y:d}=o(u,p,s)),n=-1)}return{x:f,y:d,placement:p,strategy:i,middlewareData:h}};async function a(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:a,rects:l,elements:c,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,r.ku)(t,e),m=(0,r.yd)(h),v=c[p?"floating"===d?"reference":"floating":d],g=(0,r.JB)(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:s})),y="floating"===d?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c.floating)),w=await (null==a.isElement?void 0:a.isElement(b))&&await (null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},E=(0,r.JB)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:b,strategy:s}):y);return{top:(g.top-E.top+m.top)/w.y,bottom:(E.bottom-g.bottom+m.bottom)/w.y,left:(g.left-E.left+m.left)/w.x,right:(E.right-g.right+m.right)/w.x}}let l=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:a,platform:l,elements:c,middlewareData:s}=t,{element:u,padding:f=0}=(0,r.ku)(e,t)||{};if(null==u)return{};let d=(0,r.yd)(f),p={x:n,y:o},h=(0,r.Wh)(i),m=(0,r.I4)(h),v=await l.getDimensions(u),g="y"===h,y=g?"clientHeight":"clientWidth",b=a.reference[m]+a.reference[h]-p[h]-a.floating[m],w=p[h]-a.reference[h],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),x=E?E[y]:0;x&&await (null==l.isElement?void 0:l.isElement(E))||(x=c.floating[y]||a.floating[m]);let O=x/2-v[m]/2-1,_=(0,r.VV)(d[g?"top":"left"],O),R=(0,r.VV)(d[g?"bottom":"right"],O),M=x-v[m]-R,C=x/2-v[m]/2+(b/2-w/2),S=(0,r.uZ)(_,C,M),P=!s.arrow&&null!=(0,r.hp)(i)&&C!==S&&a.reference[m]/2-(C<_?_:R)-v[m]/2<0,T=P?C<_?C-_:C-M:0;return{[h]:p[h]+T,data:{[h]:S,centerOffset:C-S-T,...P&&{alignmentOffset:T}},reset:P}}}),c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,l,c;let{placement:s,middlewareData:u,rects:f,initialPlacement:d,platform:p,elements:h}=t,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:g,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,...E}=(0,r.ku)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let x=(0,r.k3)(s),O=(0,r.Qq)(d),_=(0,r.k3)(d)===d,R=await (null==p.isRTL?void 0:p.isRTL(h.floating)),M=g||(_||!w?[(0,r.pw)(d)]:(0,r.gy)(d)),C="none"!==b;!g&&C&&M.push(...(0,r.KX)(d,w,b,R));let S=[d,...M],P=await a(t,E),T=[],k=(null==(o=u.flip)?void 0:o.overflows)||[];if(m&&T.push(P[x]),v){let e=(0,r.i8)(s,f,R);T.push(P[e[0]],P[e[1]])}if(k=[...k,{placement:s,overflows:T}],!T.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(l=k.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(c=k.filter(e=>{if(C){let t=(0,r.Qq)(e.placement);return t===O||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:c[0];e&&(n=e);break}case"initialPlacement":n=d}if(s!==n)return{reset:{placement:n}}}return{}}}};function s(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function u(e){return r.mA.some(t=>e[t]>=0)}let f=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:o="referenceHidden",...i}=(0,r.ku)(e,t);switch(o){case"referenceHidden":{let e=s(await a(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:u(e)}}}case"escaped":{let e=s(await a(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:u(e)}}}default:return{}}}}};async function d(e,t){let{placement:n,platform:o,elements:i}=e,a=await (null==o.isRTL?void 0:o.isRTL(i.floating)),l=(0,r.k3)(n),c=(0,r.hp)(n),s="y"===(0,r.Qq)(n),u=["left","top"].includes(l)?-1:1,f=a&&s?-1:1,d=(0,r.ku)(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return c&&"number"==typeof m&&(h="end"===c?-1*m:m),s?{x:h*f,y:p*u}:{x:p*u,y:h*f}}let p=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:a,middlewareData:l}=t,c=await d(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},h=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r.ku)(e,t),f={x:n,y:o},d=await a(t,u),p=(0,r.Qq)((0,r.k3)(i)),h=(0,r.Rn)(p),m=f[h],v=f[p];if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+d[e],o=m-d[t];m=(0,r.uZ)(n,m,o)}if(c){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+d[e],o=v-d[t];v=(0,r.uZ)(n,v,o)}let g=s.fn({...t,[h]:m,[p]:v});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:l,[p]:c}}}}}},m=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:o,placement:i,rects:a,middlewareData:l}=t,{offset:c=0,mainAxis:s=!0,crossAxis:u=!0}=(0,r.ku)(e,t),f={x:n,y:o},d=(0,r.Qq)(i),p=(0,r.Rn)(d),h=f[p],m=f[d],v=(0,r.ku)(c,t),g="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+g.mainAxis,n=a.reference[p]+a.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(u){var y,b;let e="y"===p?"width":"height",t=["top","left"].includes((0,r.k3)(i)),n=a.reference[d]-a.floating[e]+(t&&(null==(y=l.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),o=a.reference[d]+a.reference[e]+(t?0:(null==(b=l.offset)?void 0:b[d])||0)-(t?g.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[p]:h,[d]:m}}}},v=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let i,l;let{placement:c,rects:s,platform:u,elements:f}=t,{apply:d=()=>{},...p}=(0,r.ku)(e,t),h=await a(t,p),m=(0,r.k3)(c),v=(0,r.hp)(c),g="y"===(0,r.Qq)(c),{width:y,height:b}=s.floating;"top"===m||"bottom"===m?(i=m,l=v===(await (null==u.isRTL?void 0:u.isRTL(f.floating))?"start":"end")?"left":"right"):(l=m,i="end"===v?"top":"bottom");let w=b-h.top-h.bottom,E=y-h.left-h.right,x=(0,r.VV)(b-h[i],w),O=(0,r.VV)(y-h[l],E),_=!t.middlewareData.shift,R=x,M=O;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(M=E),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(R=w),_&&!v){let e=(0,r.Fp)(h.left,0),t=(0,r.Fp)(h.right,0),n=(0,r.Fp)(h.top,0),o=(0,r.Fp)(h.bottom,0);g?M=y-2*(0!==e||0!==t?e+t:(0,r.Fp)(h.left,h.right)):R=b-2*(0!==n||0!==o?n+o:(0,r.Fp)(h.top,h.bottom))}await d({...t,availableWidth:M,availableHeight:R});let C=await u.getDimensions(f.floating);return y!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}}},14109:(e,t,n)=>{"use strict";n.d(t,{Fp:()=>i,I4:()=>p,JB:()=>x,KX:()=>b,Qq:()=>h,Rn:()=>d,VV:()=>o,Wh:()=>m,gy:()=>g,hp:()=>f,i8:()=>v,k3:()=>u,ku:()=>s,mA:()=>r,pw:()=>w,uZ:()=>c,yd:()=>E});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,a={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function c(e,t,n){return i(e,o(t,n))}function s(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function d(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function h(e){return["top","bottom"].includes(u(e))?"y":"x"}function m(e){return d(h(e))}function v(e,t,n){void 0===n&&(n=!1);let r=f(e),o=m(e),i=p(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=w(a)),[a,w(a)]}function g(e){let t=w(e);return[y(e),t,y(t)]}function y(e){return e.replace(/start|end/g,e=>l[e])}function b(e,t,n,r){let o=f(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(u(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}function w(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}},16145:(e,t,n)=>{"use strict";n.d(t,{Me:()=>I,oo:()=>N});var r=n(14109),o=n(20827);let i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=e=>({x:e,y:e});function u(e){return p(e)?(e.nodeName||"").toLowerCase():"#document"}function f(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function d(e){var t;return null==(t=(p(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function p(e){return e instanceof Node||e instanceof f(e).Node}function h(e){return e instanceof Element||e instanceof f(e).Element}function m(e){return e instanceof HTMLElement||e instanceof f(e).HTMLElement}function v(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof f(e).ShadowRoot)}function g(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function y(e){let t=b(),n=E(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function b(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function w(e){return["html","body","#document"].includes(u(e))}function E(e){return f(e).getComputedStyle(e)}function x(e){return h(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function O(e){if("html"===u(e))return e;let t=e.assignedSlot||e.parentNode||v(e)&&e.host||d(e);return v(t)?t.host:t}function _(e,t){var n;void 0===t&&(t=[]);let r=function e(t){let n=O(t);return w(n)?t.ownerDocument?t.ownerDocument.body:t.body:m(n)&&g(n)?n:e(n)}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=f(r);return o?t.concat(i,i.visualViewport||[],g(r)?r:[],i.frameElement?_(i.frameElement):[]):t.concat(r,_(r))}function R(e){let t=E(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=m(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=l(n)!==i||l(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function M(e){return h(e)?e:e.contextElement}function C(e){let t=M(e);if(!m(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=R(t),a=(i?l(n.width):n.width)/r,c=(i?l(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}let S=s(0);function P(e){let t=f(e);return b()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:S}function T(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),l=M(e),c=s(1);t&&(o?h(o)&&(c=C(o)):c=C(e));let u=(void 0===(i=n)&&(i=!1),o&&(!i||o===f(l))&&i)?P(l):s(0),d=(a.left+u.x)/c.x,p=(a.top+u.y)/c.y,m=a.width/c.x,v=a.height/c.y;if(l){let e=f(l),t=o&&h(o)?f(o):o,n=e.frameElement;for(;n&&o&&t!==e;){let e=C(n),t=n.getBoundingClientRect(),r=E(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,p*=e.y,m*=e.x,v*=e.y,d+=o,p+=i,n=f(n).frameElement}}return(0,r.JB)({width:m,height:v,x:d,y:p})}function k(e){return T(d(e)).left+x(e).scrollLeft}function A(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=f(e),r=d(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;let e=b();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}(e,n);else if("document"===t)o=function(e){let t=d(e),n=x(e),r=e.ownerDocument.body,o=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+k(e),c=-n.scrollTop;return"rtl"===E(r).direction&&(l+=a(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:c}}(d(e));else if(h(t))o=function(e,t){let n=T(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=m(e)?C(e):s(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=P(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function D(e,t){return m(e)&&"fixed"!==E(e).position?t?t(e):e.offsetParent:null}function L(e,t){let n=f(e);if(!m(e))return n;let r=D(e,t);for(;r&&["table","td","th"].includes(u(r))&&"static"===E(r).position;)r=D(r,t);return r&&("html"===u(r)||"body"===u(r)&&"static"===E(r).position&&!y(r))?n:r||function(e){let t=O(e);for(;m(t)&&!w(t);){if(y(t))return t;t=O(t)}return null}(e)||n}let j=async function(e){let{reference:t,floating:n,strategy:r}=e,o=this.getOffsetParent||L,i=this.getDimensions;return{reference:function(e,t,n){let r=m(t),o=d(t),i="fixed"===n,a=T(e,!0,i,t),l={scrollLeft:0,scrollTop:0},c=s(0);if(r||!r&&!i){if(("body"!==u(t)||g(o))&&(l=x(t)),r){let e=T(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=k(o))}return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},F={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,o=m(n),i=d(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},l=s(1),c=s(0);if((o||!o&&"fixed"!==r)&&(("body"!==u(n)||g(i))&&(a=x(n)),m(n))){let e=T(n);l=C(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+c.x,y:t.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:d,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,l=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=_(e).filter(e=>h(e)&&"body"!==u(e)),o=null,i="fixed"===E(e).position,a=i?O(e):e;for(;h(a)&&!w(a);){let t=E(a),n=y(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||g(a)&&!n&&function e(t,n){let r=O(t);return!(r===n||!h(r)||w(r))&&("fixed"===E(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=O(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],c=l[0],s=l.reduce((e,n)=>{let r=A(t,n,o);return e.top=a(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=a(r.left,e.left),e},A(t,c,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:L,getElementRects:j,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return R(e)},getScale:C,isElement:h,isRTL:function(e){return"rtl"===E(e).direction}};function I(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=r,h=M(e),m=l||s?[...h?_(h):[],..._(t)]:[];m.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let v=h&&f?function(e,t){let n,r=null,o=d(e);function l(){clearTimeout(n),r&&r.disconnect(),r=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();let{left:d,top:p,width:h,height:m}=e.getBoundingClientRect();if(u||t(),!h||!m)return;let v=c(p),g=c(o.clientWidth-(d+h)),y={rootMargin:-v+"px "+-g+"px "+-c(o.clientHeight-(p+m))+"px "+-c(d)+"px",threshold:a(0,i(1,f))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==f){if(!b)return s();t?s(!1,t):n=setTimeout(()=>{s(!1,1e-7)},100)}b=!1}try{r=new IntersectionObserver(w,{...y,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),l}(h,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{y&&y.observe(t)})),n()}),h&&!p&&y.observe(h),y.observe(t));let b=p?T(e):null;return p&&function t(){let r=T(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,o=requestAnimationFrame(t)}(),n(),()=>{m.forEach(e=>{l&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),v&&v(),y&&y.disconnect(),y=null,p&&cancelAnimationFrame(o)}}let N=(e,t,n)=>{let r=new Map,i={platform:F,...n},a={...i.platform,_c:r};return(0,o.oo)(e,t,{...i,platform:a})}},77192:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>b,RR:()=>g,YF:()=>d,cv:()=>h,dp:()=>y,dr:()=>v,uY:()=>m,x7:()=>w});var r=n(16145),o=n(20827),i=n(17577),a=n(60962),l="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function c(e,t){let n,r,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((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!c(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=s(e);return Math.round(t*n)/n}function f(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,E]=i.useState(o);c(w,o)||E(o);let[x,O]=i.useState(null),[_,R]=i.useState(null),M=i.useCallback(e=>{e!==T.current&&(T.current=e,O(e))},[]),C=i.useCallback(e=>{e!==k.current&&(k.current=e,R(e))},[]),S=p||x,P=h||_,T=i.useRef(null),k=i.useRef(null),A=i.useRef(y),D=null!=v,L=f(v),j=f(d),F=f(g),I=i.useCallback(()=>{if(!T.current||!k.current)return;let e={placement:t,strategy:n,middleware:w};j.current&&(e.platform=j.current),(0,r.oo)(T.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==F.current};N.current&&!c(A.current,t)&&(A.current=t,a.flushSync(()=>{b(t)}))})},[w,t,n,j,F]);l(()=>{!1===g&&A.current.isPositioned&&(A.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let N=i.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{if(S&&(T.current=S),P&&(k.current=P),S&&P){if(L.current)return L.current(S,P,I);I()}},[S,P,I,L,D]);let W=i.useMemo(()=>({reference:T,floating:k,setReference:M,setFloating:C}),[M,C]),B=i.useMemo(()=>({reference:S,floating:P}),[S,P]),V=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=u(B.floating,y.x),r=u(B.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...s(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,B.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:I,refs:W,elements:B,floatingStyles:V}),[y,I,W,B,V])}let p=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,o.x7)({element:n.current,padding:r}).fn(t):{}:n?(0,o.x7)({element:n,padding:r}).fn(t):{}}}),h=(e,t)=>({...(0,o.cv)(e),options:[e,t]}),m=(e,t)=>({...(0,o.uY)(e),options:[e,t]}),v=(e,t)=>({...(0,o.dr)(e),options:[e,t]}),g=(e,t)=>({...(0,o.RR)(e),options:[e,t]}),y=(e,t)=>({...(0,o.dp)(e),options:[e,t]}),b=(e,t)=>({...(0,o.Cp)(e),options:[e,t]}),w=(e,t)=>({...p(e),options:[e,t]})},92764:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var r=n(45353),o=n(17577),i=n(77335);let a=(0,o.forwardRef)((e,t)=>{let{children:n,width:a=10,height:l=5,...c}=e;return(0,o.createElement)(i.WV.svg,(0,r.Z)({},c,{ref:t,width:a,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,o.createElement)("polygon",{points:"0,0 30,0 15,10"}))})},17124:(e,t,n)=>{"use strict";n.d(t,{gm:()=>i});var r=n(17577);let o=(0,r.createContext)(void 0);function i(e){let t=(0,r.useContext)(o);return e||t||"ltr"}},13230:(e,t,n)=>{"use strict";let r;n.d(t,{VY:()=>e9,ck:()=>te,fC:()=>e5,xz:()=>e3});var o=n(45353),i=n(17577),a=n(82561),l=n(48051),c=n(93095),s=n(52067),u=n(77335),f=n(73866),d=n(17124),p=n(55049),h=n(77575);let m="dismissableLayer.update",v=(0,i.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),g=(0,i.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:c=!1,onEscapeKeyDown:s,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:g,onDismiss:w,...E}=e,x=(0,i.useContext)(v),[O,_]=(0,i.useState)(null),R=null!==(n=null==O?void 0:O.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,M]=(0,i.useState)({}),C=(0,l.e)(t,e=>_(e)),S=Array.from(x.layers),[P]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),T=S.indexOf(P),k=O?S.indexOf(O):-1,A=x.layersWithOutsidePointerEventsDisabled.size>0,D=k>=T,L=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,p.W)(e),r=(0,i.useRef)(!1),o=(0,i.useRef)(()=>{});return(0,i.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function i(){b("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));!D||n||(null==f||f(e),null==g||g(e),e.defaultPrevented||null==w||w())},R),j=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,p.W)(e),r=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=e=>{e.target&&!r.current&&b("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;[...x.branches].some(e=>e.contains(t))||(null==d||d(e),null==g||g(e),e.defaultPrevented||null==w||w())},R);return(0,h.e)(e=>{k!==x.layers.size-1||(null==s||s(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},R),(0,i.useEffect)(()=>{if(O)return c&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(O)),x.layers.add(O),y(),()=>{c&&1===x.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[O,R,c,x]),(0,i.useEffect)(()=>()=>{O&&(x.layers.delete(O),x.layersWithOutsidePointerEventsDisabled.delete(O),y())},[O,x]),(0,i.useEffect)(()=>{let e=()=>M({});return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,i.createElement)(u.WV.div,(0,o.Z)({},E,{ref:C,style:{pointerEvents:A?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,L.onPointerDownCapture)}))});function y(){let e=new CustomEvent(m);document.dispatchEvent(e)}function b(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,u.jH)(o,i):o.dispatchEvent(i)}var w=n(80699);let E="focusScope.autoFocusOnMount",x="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0},_=(0,i.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:c,...s}=e,[f,d]=(0,i.useState)(null),h=(0,p.W)(a),m=(0,p.W)(c),v=(0,i.useRef)(null),g=(0,l.e)(t,e=>d(e)),y=(0,i.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,i.useEffect)(()=>{if(r){function e(e){if(y.paused||!f)return;let t=e.target;f.contains(t)?v.current=t:C(v.current,{select:!0})}function t(e){if(y.paused||!f)return;let t=e.relatedTarget;null===t||f.contains(t)||C(v.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&C(f)});return f&&n.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,f,y.paused]),(0,i.useEffect)(()=>{if(f){S.add(y);let e=document.activeElement;if(!f.contains(e)){let t=new CustomEvent(E,O);f.addEventListener(E,h),f.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(C(r,{select:t}),document.activeElement!==n)return}(R(f).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&C(f))}return()=>{f.removeEventListener(E,h),setTimeout(()=>{let t=new CustomEvent(x,O);f.addEventListener(x,m),f.dispatchEvent(t),t.defaultPrevented||C(null!=e?e:document.body,{select:!0}),f.removeEventListener(x,m),S.remove(y)},0)}}},[f,h,m,y]);let b=(0,i.useCallback)(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=R(e);return[M(t,e),M(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&C(i,{select:!0})):(e.preventDefault(),n&&C(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,i.createElement)(u.WV.div,(0,o.Z)({tabIndex:-1},s,{ref:g,onKeyDown:b}))});function R(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function M(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function C(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let S=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=P(e,t)).unshift(t)},remove(t){var n;null===(n=(e=P(e,t))[0])||void 0===n||n.resume()}}}();function P(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var T=n(88957),k=n(77192),A=n(16145),D=n(92764),L=n(65819),j=n(2566);let F="Popper",[I,N]=(0,c.b)(F),[W,B]=I(F),V=(0,i.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:r,...a}=e,c=B("PopperAnchor",n),s=(0,i.useRef)(null),f=(0,l.e)(t,s);return(0,i.useEffect)(()=>{c.onAnchorChange((null==r?void 0:r.current)||s.current)}),r?null:(0,i.createElement)(u.WV.div,(0,o.Z)({},a,{ref:f}))}),z="PopperContent",[H,Z]=I(z),$=(0,i.forwardRef)((e,t)=>{var n,r,a,c,s,f,d,h;let{__scopePopper:m,side:v="bottom",sideOffset:g=0,align:y="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:E=!0,collisionBoundary:x=[],collisionPadding:O=0,sticky:_="partial",hideWhenDetached:R=!1,updatePositionStrategy:M="optimized",onPlaced:C,...S}=e,P=B(z,m),[T,D]=(0,i.useState)(null),F=(0,l.e)(t,e=>D(e)),[I,N]=(0,i.useState)(null),W=(0,j.t)(I),V=null!==(n=null==W?void 0:W.width)&&void 0!==n?n:0,Z=null!==(r=null==W?void 0:W.height)&&void 0!==r?r:0,$="number"==typeof O?O:{top:0,right:0,bottom:0,left:0,...O},K=Array.isArray(x)?x:[x],q=K.length>0,U={padding:$,boundary:K.filter(Y),altBoundary:q},{refs:Q,floatingStyles:J,placement:ee,isPositioned:et,middlewareData:en}=(0,k.YF)({strategy:"fixed",placement:v+("center"!==y?"-"+y:""),whileElementsMounted:(...e)=>(0,A.Me)(...e,{animationFrame:"always"===M}),elements:{reference:P.anchor},middleware:[(0,k.cv)({mainAxis:g+Z,alignmentAxis:b}),E&&(0,k.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===_?(0,k.dr)():void 0,...U}),E&&(0,k.RR)({...U}),(0,k.dp)({...U,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),I&&(0,k.x7)({element:I,padding:w}),G({arrowWidth:V,arrowHeight:Z}),R&&(0,k.Cp)({strategy:"referenceHidden",...U})]}),[er,eo]=X(ee),ei=(0,p.W)(C);(0,L.b)(()=>{et&&(null==ei||ei())},[et,ei]);let ea=null===(a=en.arrow)||void 0===a?void 0:a.x,el=null===(c=en.arrow)||void 0===c?void 0:c.y,ec=(null===(s=en.arrow)||void 0===s?void 0:s.centerOffset)!==0,[es,eu]=(0,i.useState)();return(0,L.b)(()=>{T&&eu(window.getComputedStyle(T).zIndex)},[T]),(0,i.createElement)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:et?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null===(f=en.transformOrigin)||void 0===f?void 0:f.x,null===(d=en.transformOrigin)||void 0===d?void 0:d.y].join(" ")},dir:e.dir},(0,i.createElement)(H,{scope:m,placedSide:er,onArrowChange:N,arrowX:ea,arrowY:el,shouldHideArrow:ec},(0,i.createElement)(u.WV.div,(0,o.Z)({"data-side":er,"data-align":eo},S,{ref:F,style:{...S.style,animation:et?void 0:"none",opacity:null!==(h=en.hide)&&void 0!==h&&h.referenceHidden?0:void 0}}))))}),K={top:"bottom",right:"left",bottom:"top",left:"right"},q=(0,i.forwardRef)(function(e,t){let{__scopePopper:n,...r}=e,a=Z("PopperArrow",n),l=K[a.placedSide];return(0,i.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,i.createElement)(D.f,(0,o.Z)({},r,{ref:t,style:{...r.style,display:"block"}})))});function Y(e){return null!==e}let G=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:l,rects:c,middlewareData:s}=t,u=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=u?0:e.arrowWidth,d=u?0:e.arrowHeight,[p,h]=X(l),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(r=null===(o=s.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=s.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===p?(y=u?m:`${v}px`,b=`${-d}px`):"top"===p?(y=u?m:`${v}px`,b=`${c.floating.height+d}px`):"right"===p?(y=`${-d}px`,b=u?m:`${g}px`):"left"===p&&(y=`${c.floating.width+d}px`,b=u?m:`${g}px`),{data:{x:y,y:b}}}});function X(e){let[t,n="center"]=e.split("-");return[t,n]}let U=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,i.useState)(null);return(0,i.createElement)(W,{scope:t,anchor:r,onAnchorChange:o},n)};var Q=n(60962);(e,t)=>{var n;let{container:r=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...a}=e;return r?Q.createPortal((0,i.createElement)(u.WV.div,(0,o.Z)({},a,{ref:t})),r):null};var J=n(9815),ee=n(15594);let et=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e,a=i.Children.toArray(n),l=a.find(eo);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(en,(0,o.Z)({},r,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(en,(0,o.Z)({},r,{ref:t}),n)});et.displayName="Slot";let en=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,l.F)(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});en.displayName="SlotClone";let er=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function eo(e){return(0,i.isValidElement)(e)&&e.type===er}var ei=n(35664),ea=n(17397);let el=["Enter"," "],ec=["ArrowUp","PageDown","End"],es=["ArrowDown","PageUp","Home",...ec],eu={ltr:[...el,"ArrowRight"],rtl:[...el,"ArrowLeft"]},ef={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ed="Menu",[ep,eh,em]=(0,f.B)(ed),[ev,eg]=(0,c.b)(ed,[em,N,ee.Pc]),ey=N(),eb=(0,ee.Pc)(),[ew,eE]=ev(ed),[ex,eO]=ev(ed),e_=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,a=ey(n);return(0,i.createElement)(V,(0,o.Z)({},a,r,{ref:t}))}),[eR,eM]=ev("MenuPortal",{forceMount:void 0}),eC="MenuContent",[eS,eP]=ev(eC),eT=(0,i.forwardRef)((e,t)=>{let n=eM(eC,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,l=eE(eC,e.__scopeMenu),c=eO(eC,e.__scopeMenu);return(0,i.createElement)(ep.Provider,{scope:e.__scopeMenu},(0,i.createElement)(J.z,{present:r||l.open},(0,i.createElement)(ep.Slot,{scope:e.__scopeMenu},c.modal?(0,i.createElement)(ek,(0,o.Z)({},a,{ref:t})):(0,i.createElement)(eA,(0,o.Z)({},a,{ref:t})))))}),ek=(0,i.forwardRef)((e,t)=>{let n=eE(eC,e.__scopeMenu),r=(0,i.useRef)(null),c=(0,l.e)(t,r);return(0,i.useEffect)(()=>{let e=r.current;if(e)return(0,ei.Ry)(e)},[]),(0,i.createElement)(eD,(0,o.Z)({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,a.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),eA=(0,i.forwardRef)((e,t)=>{let n=eE(eC,e.__scopeMenu);return(0,i.createElement)(eD,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),eD=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:c,onOpenAutoFocus:s,onCloseAutoFocus:u,disableOutsidePointerEvents:f,onEntryFocus:d,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:v,onDismiss:y,disableOutsideScroll:b,...E}=e,x=eE(eC,n),O=eO(eC,n),R=ey(n),M=eb(n),C=eh(n),[S,P]=(0,i.useState)(null),T=(0,i.useRef)(null),k=(0,l.e)(t,T,x.onContentChange),A=(0,i.useRef)(0),D=(0,i.useRef)(""),L=(0,i.useRef)(0),j=(0,i.useRef)(null),F=(0,i.useRef)("right"),I=(0,i.useRef)(0),N=b?ea.Z:i.Fragment,W=e=>{var t,n;let r=D.current+e,o=C().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,l=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),c=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;(function e(t){D.current=t,window.clearTimeout(A.current),""!==t&&(A.current=window.setTimeout(()=>e(""),1e3))})(r),c&&setTimeout(()=>c.focus())};(0,i.useEffect)(()=>()=>window.clearTimeout(A.current),[]),(0,w.EW)();let B=(0,i.useCallback)(e=>{var t,n;return F.current===(null===(t=j.current)||void 0===t?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,l=t[e].y,c=t[i].x,s=t[i].y;l>r!=s>r&&n<(c-a)*(r-l)/(s-l)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null===(n=j.current)||void 0===n?void 0:n.area)},[]);return(0,i.createElement)(eS,{scope:n,searchRef:D,onItemEnter:(0,i.useCallback)(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:(0,i.useCallback)(e=>{var t;B(e)||(null===(t=T.current)||void 0===t||t.focus(),P(null))},[B]),onTriggerLeave:(0,i.useCallback)(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:L,onPointerGraceIntentChange:(0,i.useCallback)(e=>{j.current=e},[])},(0,i.createElement)(N,b?{as:et,allowPinchZoom:!0}:void 0,(0,i.createElement)(_,{asChild:!0,trapped:c,onMountAutoFocus:(0,a.M)(s,e=>{var t;e.preventDefault(),null===(t=T.current)||void 0===t||t.focus()}),onUnmountAutoFocus:u},(0,i.createElement)(g,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:v,onDismiss:y},(0,i.createElement)(ee.fC,(0,o.Z)({asChild:!0},M,{dir:O.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:P,onEntryFocus:(0,a.M)(d,e=>{O.isUsingKeyboardRef.current||e.preventDefault()})}),(0,i.createElement)($,(0,o.Z)({role:"menu","aria-orientation":"vertical","data-state":eq(x.open),"data-radix-menu-content":"",dir:O.dir},R,E,{ref:k,style:{outline:"none",...E.style},onKeyDown:(0,a.M)(E.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&W(e.key));let o=T.current;if(e.target!==o||!es.includes(e.key))return;e.preventDefault();let i=C().filter(e=>!e.disabled).map(e=>e.ref.current);ec.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,a.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(A.current),D.current="")}),onPointerMove:(0,a.M)(e.onPointerMove,eX(e=>{let t=e.target,n=I.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>I.current?"right":"left";F.current=t,I.current=e.clientX}}))})))))))}),eL=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,i.createElement)(u.WV.div,(0,o.Z)({role:"group"},r,{ref:t}))}),ej=((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,i.createElement)(u.WV.div,(0,o.Z)({},r,{ref:t}))},"MenuItem"),eF="menu.itemSelect",eI=(0,i.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:r,...c}=e,s=(0,i.useRef)(null),f=eO(ej,e.__scopeMenu),d=eP(ej,e.__scopeMenu),p=(0,l.e)(t,s),h=(0,i.useRef)(!1);return(0,i.createElement)(eN,(0,o.Z)({},c,{ref:p,disabled:n,onClick:(0,a.M)(e.onClick,()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(eF,{bubbles:!0,cancelable:!0});e.addEventListener(eF,e=>null==r?void 0:r(e),{once:!0}),(0,u.jH)(e,t),t.defaultPrevented?h.current=!1:f.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),h.current=!0},onPointerUp:(0,a.M)(e.onPointerUp,e=>{var t;h.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!n&&(!t||" "!==e.key)&&el.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),eN=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:c,...s}=e,f=eP(ej,n),d=eb(n),p=(0,i.useRef)(null),h=(0,l.e)(t,p),[m,v]=(0,i.useState)(!1),[g,y]=(0,i.useState)("");return(0,i.useEffect)(()=>{let e=p.current;if(e){var t;y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[s.children]),(0,i.createElement)(ep.ItemSlot,{scope:n,disabled:r,textValue:null!=c?c:g},(0,i.createElement)(ee.ck,(0,o.Z)({asChild:!0},d,{focusable:!r}),(0,i.createElement)(u.WV.div,(0,o.Z)({role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},s,{ref:h,onPointerMove:(0,a.M)(e.onPointerMove,eX(e=>{r?f.onItemLeave(e):(f.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:(0,a.M)(e.onPointerLeave,eX(e=>f.onItemLeave(e))),onFocus:(0,a.M)(e.onFocus,()=>v(!0)),onBlur:(0,a.M)(e.onBlur,()=>v(!1))}))))}),[eW,eB]=((e,t)=>{let{checked:n=!1,onCheckedChange:r,...l}=e;return(0,i.createElement)(ez,{scope:e.__scopeMenu,checked:n},(0,i.createElement)(eI,(0,o.Z)({role:"menuitemcheckbox","aria-checked":eY(n)?"mixed":n},l,{ref:t,"data-state":eG(n),onSelect:(0,a.M)(l.onSelect,()=>null==r?void 0:r(!!eY(n)||!n),{checkForDefaultPrevented:!1})})))},ev("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),eV=((e,t)=>{let{value:n,onValueChange:r,...a}=e,l=(0,p.W)(r);return(0,i.createElement)(eW,{scope:e.__scopeMenu,value:n,onValueChange:l},(0,i.createElement)(eL,(0,o.Z)({},a,{ref:t})))},"MenuItemIndicator"),[ez,eH]=ev(eV,{checked:!1}),[eZ,e$]=((e,t)=>{let{__scopeMenu:n,forceMount:r,...a}=e,l=eH(eV,n);return(0,i.createElement)(J.z,{present:r||eY(l.checked)||!0===l.checked},(0,i.createElement)(u.WV.span,(0,o.Z)({},a,{ref:t,"data-state":eG(l.checked)})))},ev("MenuSub")),eK="MenuSubTrigger";function eq(e){return e?"open":"closed"}function eY(e){return"indeterminate"===e}function eG(e){return eY(e)?"indeterminate":e?"checked":"unchecked"}function eX(e){return t=>"mouse"===t.pointerType?e(t):void 0}(e,t)=>{let n=eE(eK,e.__scopeMenu),r=eO(eK,e.__scopeMenu),c=e$(eK,e.__scopeMenu),s=eP(eK,e.__scopeMenu),u=(0,i.useRef)(null),{pointerGraceTimerRef:f,onPointerGraceIntentChange:d}=s,p={__scopeMenu:e.__scopeMenu},h=(0,i.useCallback)(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return(0,i.useEffect)(()=>h,[h]),(0,i.useEffect)(()=>{let e=f.current;return()=>{window.clearTimeout(e),d(null)}},[f,d]),(0,i.createElement)(e_,(0,o.Z)({asChild:!0},p),(0,i.createElement)(eN,(0,o.Z)({id:c.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":c.contentId,"data-state":eq(n.open)},e,{ref:(0,l.F)(t,c.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,a.M)(e.onPointerMove,eX(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||u.current||(s.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),h()},100))})),onPointerLeave:(0,a.M)(e.onPointerLeave,eX(e=>{var t,r;h();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,i="right"===t,a=o[i?"left":"right"],l=o[i?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(f.current),f.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.M)(e.onKeyDown,t=>{let o=""!==s.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&eu[r.dir].includes(t.key)){var i;n.onOpenChange(!0),null===(i=n.content)||void 0===i||i.focus(),t.preventDefault()}})})))},(e,t)=>{let n=eM(eC,e.__scopeMenu),{forceMount:r=n.forceMount,...c}=e,s=eE(eC,e.__scopeMenu),u=eO(eC,e.__scopeMenu),f=e$("MenuSubContent",e.__scopeMenu),d=(0,i.useRef)(null),p=(0,l.e)(t,d);return(0,i.createElement)(ep.Provider,{scope:e.__scopeMenu},(0,i.createElement)(J.z,{present:r||s.open},(0,i.createElement)(ep.Slot,{scope:e.__scopeMenu},(0,i.createElement)(eD,(0,o.Z)({id:f.contentId,"aria-labelledby":f.triggerId},c,{ref:p,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;u.isUsingKeyboardRef.current&&(null===(t=d.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{e.target!==f.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=ef[u.dir].includes(e.key);if(t&&n){var r;s.onOpenChange(!1),null===(r=f.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))};let eU=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:l=!0}=e,c=ey(t),[s,u]=(0,i.useState)(null),f=(0,i.useRef)(!1),h=(0,p.W)(a),m=(0,d.gm)(o);return(0,i.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,i.createElement)(U,c,(0,i.createElement)(ew,{scope:t,open:n,onOpenChange:h,content:s,onContentChange:u},(0,i.createElement)(ex,{scope:t,onClose:(0,i.useCallback)(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:m,modal:l},r)))},eQ="DropdownMenu",[eJ,e0]=(0,c.b)(eQ,[eg]),e1=eg(),[e2,e8]=eJ(eQ),e6=(0,i.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...c}=e,s=e8("DropdownMenuTrigger",n),f=e1(n);return(0,i.createElement)(e_,(0,o.Z)({asChild:!0},f),(0,i.createElement)(u.WV.button,(0,o.Z)({type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},c,{ref:(0,l.F)(t,s.triggerRef),onPointerDown:(0,a.M)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),e4=(0,i.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=e8("DropdownMenuContent",n),c=e1(n),s=(0,i.useRef)(!1);return(0,i.createElement)(eT,(0,o.Z)({id:l.contentId,"aria-labelledby":l.triggerId},c,r,{ref:t,onCloseAutoFocus:(0,a.M)(e.onCloseAutoFocus,e=>{var t;s.current||null===(t=l.triggerRef.current)||void 0===t||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,a.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!l.modal||r)&&(s.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)"}}))}),e7=(0,i.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,a=e1(n);return(0,i.createElement)(eI,(0,o.Z)({},a,r,{ref:t}))}),e5=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:a,defaultOpen:l,onOpenChange:c,modal:u=!0}=e,f=e1(t),d=(0,i.useRef)(null),[p=!1,h]=(0,s.T)({prop:a,defaultProp:l,onChange:c});return(0,i.createElement)(e2,{scope:t,triggerId:(0,T.M)(),triggerRef:d,contentId:(0,T.M)(),open:p,onOpenChange:h,onOpenToggle:(0,i.useCallback)(()=>h(e=>!e),[h]),modal:u},(0,i.createElement)(eU,(0,o.Z)({},f,{open:p,onOpenChange:h,dir:r,modal:u}),n))},e3=e6,e9=e4,te=e7},80699:(e,t,n)=>{"use strict";n.d(t,{EW:()=>i});var r=n(17577);let o=0;function i(){(0,r.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){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}},88957:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var r,o=n(17577),i=n(65819);let a=(r||(r=n.t(o,2)))["useId".toString()]||(()=>void 0),l=0;function c(e){let[t,n]=o.useState(a());return(0,i.b)(()=>{e||n(e=>null!=e?e:String(l++))},[e]),e||(t?`radix-${t}`:"")}},15594:(e,t,n)=>{"use strict";n.d(t,{Pc:()=>E,ck:()=>T,fC:()=>P});var r=n(45353),o=n(17577),i=n(82561),a=n(73866),l=n(48051),c=n(93095),s=n(88957),u=n(77335),f=n(55049),d=n(52067),p=n(17124);let h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[g,y,b]=(0,a.B)(v),[w,E]=(0,c.b)(v,[b]),[x,O]=w(v),_=(0,o.forwardRef)((e,t)=>(0,o.createElement)(g.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(g.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(R,(0,r.Z)({},e,{ref:t}))))),R=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:c=!1,dir:s,currentTabStopId:v,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:w,...E}=e,O=(0,o.useRef)(null),_=(0,l.e)(t,O),R=(0,p.gm)(s),[M=null,C]=(0,d.T)({prop:v,defaultProp:g,onChange:b}),[P,T]=(0,o.useState)(!1),k=(0,f.W)(w),A=y(n),D=(0,o.useRef)(!1),[L,j]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=O.current;if(e)return e.addEventListener(h,k),()=>e.removeEventListener(h,k)},[k]),(0,o.createElement)(x,{scope:n,orientation:a,dir:R,loop:c,currentTabStopId:M,onItemFocus:(0,o.useCallback)(e=>C(e),[C]),onItemShiftTab:(0,o.useCallback)(()=>T(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>j(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>j(e=>e-1),[])},(0,o.createElement)(u.WV.div,(0,r.Z)({tabIndex:P||0===L?-1:0,"data-orientation":a},E,{ref:_,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,i.M)(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=A().filter(e=>e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===M),...e].filter(Boolean).map(e=>e.ref.current))}}D.current=!1}),onBlur:(0,i.M)(e.onBlur,()=>T(!1))})))}),M=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,tabStopId:c,...f}=e,d=(0,s.M)(),p=c||d,h=O("RovingFocusGroupItem",n),m=h.currentTabStopId===p,v=y(n),{onFocusableItemAdd:b,onFocusableItemRemove:w}=h;return(0,o.useEffect)(()=>{if(a)return b(),()=>w()},[a,b,w]),(0,o.createElement)(g.ItemSlot,{scope:n,id:p,focusable:a,active:l},(0,o.createElement)(u.WV.span,(0,r.Z)({tabIndex:m?0:-1,"data-orientation":h.orientation},f,{ref:t,onMouseDown:(0,i.M)(e.onMouseDown,e=>{a?h.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.M)(e.onFocus,()=>h.onItemFocus(p)),onKeyDown:(0,i.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){h.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return C[o]}(e,h.orientation,h.dir);if(void 0!==t){e.preventDefault();let n=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=h.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>S(n))}})})))}),C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let P=_,T=M},2566:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(17577),o=n(65819);function i(e){let[t,n]=(0,r.useState)(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},14831:(e,t,n)=>{"use strict";n.d(t,{f:()=>l});var r=n(17577),o=["light","dark"],i="(prefers-color-scheme: dark)",a=r.createContext(void 0),l=e=>r.useContext(a)?e.children:r.createElement(s,{...e}),c=["light","dark"],s=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:l=!0,storageKey:s="theme",themes:h=c,defaultTheme:m=n?"system":"light",attribute:v="data-theme",value:g,children:y,nonce:b})=>{let[w,E]=r.useState(()=>f(s,m)),[x,O]=r.useState(()=>f(s)),_=g?Object.values(g):h,R=r.useCallback(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=p());let i=g?g[r]:r,a=t?d():null,c=document.documentElement;if("class"===v?(c.classList.remove(..._),i&&c.classList.add(i)):i?c.setAttribute(v,i):c.removeAttribute(v),l){let e=o.includes(m)?m:null,t=o.includes(r)?r:e;c.style.colorScheme=t}null==a||a()},[]),M=r.useCallback(e=>{let t="function"==typeof e?e(e):e;E(t);try{localStorage.setItem(s,t)}catch(e){}},[e]),C=r.useCallback(t=>{O(p(t)),"system"===w&&n&&!e&&R("system")},[w,e]);r.useEffect(()=>{let e=window.matchMedia(i);return e.addListener(C),C(e),()=>e.removeListener(C)},[C]),r.useEffect(()=>{let e=e=>{e.key===s&&M(e.newValue||m)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[M]),r.useEffect(()=>{R(null!=e?e:w)},[e,w]);let S=r.useMemo(()=>({theme:w,setTheme:M,forcedTheme:e,resolvedTheme:"system"===w?x:w,themes:n?[...h,"system"]:h,systemTheme:n?x:void 0}),[w,M,e,x,n,h]);return r.createElement(a.Provider,{value:S},r.createElement(u,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:l,storageKey:s,themes:h,defaultTheme:m,attribute:v,value:g,children:y,attrs:_,nonce:b}),y)},u=r.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:a,enableColorScheme:l,defaultTheme:c,value:s,attrs:u,nonce:f})=>{let d="system"===c,p="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${u.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=l?(o.includes(c)?c:null)?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,r=!0)=>{let i=s?s[e]:e,a=t?e+"|| ''":`'${i}'`,c="";return l&&r&&!t&&o.includes(e)&&(c+=`d.style.colorScheme = '${e}';`),"class"===n?t||i?c+=`c.add(${a})`:c+="null":i&&(c+=`d[s](n,${a})`),c},v=e?`!function(){${p}${m(e)}}()`:a?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${i}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${m(s?"x[e]":"e",!0)}}${d?"":"else{"+m(c,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${m(s?"x[e]":"e",!0)}}else{${m(c,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:f,dangerouslySetInnerHTML:{__html:v}})}),f=(e,t)=>{},d=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-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)}},p=e=>(e||(e=window.matchMedia(i)),e.matches?"dark":"light")},65826:(e,t,n)=>{"use strict";n.d(t,{_T:()=>o,ev:()=>i,pi:()=>r});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function i(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}};