(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5585],{54131:function(e,t,n){"use strict";n.d(t,{Ry:function(){return s}});var r=new WeakMap,a=new WeakMap,o={},i=0,u=function(e){return e&&(e.host||u(e.parentNode))},l=function(e,t,n,l){var s=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(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});o[n]||(o[n]=new WeakMap);var d=o[n],c=[],f=new Set,m=new Set(s),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};s.forEach(p);var h=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else{var t=e.getAttribute(l),o=null!==t&&"false"!==t,i=(r.get(e)||0)+1,u=(d.get(e)||0)+1;r.set(e,i),d.set(e,u),c.push(e),1===i&&o&&a.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(l,"true")}})};return h(t),f.clear(),i++,function(){c.forEach(function(e){var t=r.get(e)-1,o=d.get(e)-1;r.set(e,t),d.set(e,o),t||(a.has(e)||e.removeAttribute(l),a.delete(e)),o||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,a=new WeakMap,o={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live]"))),l(r,a,n,"aria-hidden")):function(){return null}}},45434:function(e){var t=/[\\\/\-_+.# \t"@\[\(\{&]/,n=/[\\\/\-_+.# \t"@\[\(\{&]/g;e.exports=function(e,r){return function e(r,a,o,i,u,l){if(l===a.length)return u===r.length?1:.99;for(var s,d,c,f=i.charAt(l),m=o.indexOf(f,u),p=0;m>=0;)(s=e(r,a,o,i,m+1,l+1))>p&&(m===u?s*=1:t.test(r.charAt(m-1))?(s*=.9,(c=r.slice(u,m-1).match(n))&&u>0&&(s*=Math.pow(.999,c.length))):(t.test(r.slice(u,m-1))?s*=0:s*=.3,u>0&&(s*=Math.pow(.999,m-u))),r.charAt(m)!==a.charAt(l)&&(s*=.9999)),s<.1&&o.charAt(m-1)===i.charAt(l+1)&&o.charAt(m-1)!==i.charAt(l)&&.1*(d=e(r,a,o,i,m+1,l+2))>s&&(s=.1*d),s>p&&(p=s),m=o.indexOf(f,m+1);return p}(e,r,e.toLowerCase(),r.toLowerCase(),0,0)}},25459:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4470),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{color:u="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:d,className:c="",children:f,...m}=n;return(0,r.createElement)("svg",{ref:i,...a,width:l,height:l,stroke:u,strokeWidth:d?24*Number(s)/Number(l):s,className:["lucide","lucide-".concat(o(e)),c].join(" "),...m},[...t.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(f)?f:[f]])});return n.displayName="".concat(e),n}},5970:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},42682:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},67988:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},87928:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},21484:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},21329:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},60104:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},94458:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},66052:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},66668:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},17949:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},18200:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.371.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(25459).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},16252:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});var r=n(4470);let a=(0,r.createContext)(void 0),o={setTheme:e=>{},themes:[]},i=()=>{var e;return null!==(e=(0,r.useContext)(a))&&void 0!==e?e:o}},75134:function(e,t,n){"use strict";n.d(t,{_W:function(){return e3}});var r,a,o,i=n(4470),u=n(32959),l=n(68192);function s(e){let t=(0,l.Q)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function d(e){let t=(0,l.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}var c=n(59478),f=n(87600);function m(e,t){let n=(0,l.Q)(e),r=n.getFullYear(),a=n.getDate(),o=(0,f.L)(e,0);o.setFullYear(r,t,15),o.setHours(0,0,0,0);let i=function(e){let t=(0,l.Q)(e),n=t.getFullYear(),r=t.getMonth(),a=(0,f.L)(e,0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(o);return n.setMonth(t,Math.min(a,i)),n}function p(e,t){let n=(0,l.Q)(e);return isNaN(+n)?(0,f.L)(e,NaN):(n.setFullYear(t),n)}var h=n(37725);function v(e,t){let n=(0,l.Q)(e),r=(0,l.Q)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}function g(e,t){let n=(0,l.Q)(e);if(isNaN(t))return(0,f.L)(e,NaN);if(!t)return n;let r=n.getDate(),a=(0,f.L)(e,n.getTime());return(a.setMonth(n.getMonth()+t+1,0),r>=a.getDate())?a:(n.setFullYear(a.getFullYear(),a.getMonth(),r),n)}function y(e,t){let n=(0,l.Q)(e),r=(0,l.Q)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function b(e,t){return+(0,l.Q)(e)<+(0,l.Q)(t)}var w=n(74096),D=n(27507);function E(e,t){let n=(0,l.Q)(e);return isNaN(t)?(0,f.L)(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function x(e,t){return+(0,c.b)(e)==+(0,c.b)(t)}function C(e,t){let n=(0,l.Q)(e),r=(0,l.Q)(t);return n.getTime()>r.getTime()}var k=n(15),S=n(1437);function M(e,t){return E(e,7*t)}function R(e,t){return g(e,12*t)}var P=n(31773);function T(e,t){var n,r,a,o,i,u,s,d;let c=(0,P.j)(),f=null!==(d=null!==(s=null!==(u=null!==(i=null==t?void 0:t.weekStartsOn)&&void 0!==i?i:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==u?u:c.weekStartsOn)&&void 0!==s?s:null===(o=c.locale)||void 0===o?void 0:null===(a=o.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==d?d:0,m=(0,l.Q)(e),p=m.getDay();return m.setDate(m.getDate()+((p<f?-7:0)+6-(p-f))),m.setHours(23,59,59,999),m}function A(e){return T(e,{weekStartsOn:1})}var F=n(95287),B=n(88910),_=n(15355),O=n(63369),N=n(23247),I=function(){return(I=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function L(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var V={exports:{}},$={};V.exports=function(){if(a)return $;a=1;var e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function u(t,a,i){var u,l={},s=null,d=null;for(u in void 0!==i&&(s=""+i),void 0!==a.key&&(s=""+a.key),void 0!==a.ref&&(d=a.ref),a)n.call(a,u)&&!o.hasOwnProperty(u)&&(l[u]=a[u]);if(t&&t.defaultProps)for(u in a=t.defaultProps)void 0===l[u]&&(l[u]=a[u]);return{$$typeof:e,type:t,key:s,ref:d,props:l,_owner:r.current}}return $.Fragment=t,$.jsx=u,$.jsxs=u,$}();var j=V.exports;function W(e){return"multiple"===e.mode}function z(e){return"range"===e.mode}function Z(e){return"single"===e.mode}var U={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"},K=Object.freeze({__proto__:null,formatCaption:function(e,t){return(0,u.WU)(e,"LLLL y",t)},formatDay:function(e,t){return(0,u.WU)(e,"d",t)},formatMonthCaption:function(e,t){return(0,u.WU)(e,"LLLL",t)},formatWeekNumber:function(e){return"".concat(e)},formatWeekdayName:function(e,t){return(0,u.WU)(e,"cccccc",t)},formatYearCaption:function(e,t){return(0,u.WU)(e,"yyyy",t)}}),H=Object.freeze({__proto__:null,labelDay:function(e,t,n){return(0,u.WU)(e,"do MMMM (EEEE)",n)},labelMonthDropdown:function(){return"Month: "},labelNext:function(){return"Go to next month"},labelPrevious:function(){return"Go to previous month"},labelWeekNumber:function(e){return"Week n. ".concat(e)},labelWeekday:function(e,t){return(0,u.WU)(e,"cccc",t)},labelYearDropdown:function(){return"Year: "}}),Y=(0,i.createContext)(void 0);function q(e){var t,n,r,a,o,i,u,l,f=e.initialProps,m={captionLayout:"buttons",classNames:U,formatters:K,labels:H,locale:N._,modifiersClassNames:{},modifiers:{},numberOfMonths:1,styles:{},today:new Date,mode:"default"},p=(t=f.fromYear,n=f.toYear,r=f.fromMonth,a=f.toMonth,o=f.fromDate,i=f.toDate,r?o=s(r):t&&(o=new Date(t,0,1)),a?i=d(a):n&&(i=new Date(n,11,31)),{fromDate:o?(0,c.b)(o):void 0,toDate:i?(0,c.b)(i):void 0}),h=p.fromDate,v=p.toDate,g=null!==(u=f.captionLayout)&&void 0!==u?u:m.captionLayout;"buttons"===g||h&&v||(g="buttons"),(Z(f)||W(f)||z(f))&&(l=f.onSelect);var y=I(I(I({},m),f),{captionLayout:g,classNames:I(I({},m.classNames),f.classNames),components:I({},f.components),formatters:I(I({},m.formatters),f.formatters),fromDate:h,labels:I(I({},m.labels),f.labels),mode:f.mode||m.mode,modifiers:I(I({},m.modifiers),f.modifiers),modifiersClassNames:I(I({},m.modifiersClassNames),f.modifiersClassNames),onSelect:l,styles:I(I({},m.styles),f.styles),toDate:v});return j.jsx(Y.Provider,{value:y,children:e.children})}function G(){var e=(0,i.useContext)(Y);if(!e)throw Error("useDayPicker must be used within a DayPickerProvider.");return e}function Q(e){var t=G(),n=t.locale,r=t.classNames,a=t.styles,o=t.formatters.formatCaption;return j.jsx("div",{className:r.caption_label,style:a.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:o(e.displayMonth,{locale:n})})}function J(e){return j.jsx("svg",I({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:j.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function X(e){var t,n,r=e.onChange,a=e.value,o=e.children,i=e.caption,u=e.className,l=e.style,s=G(),d=null!==(n=null===(t=s.components)||void 0===t?void 0:t.IconDropdown)&&void 0!==n?n:J;return j.jsxs("div",{className:u,style:l,children:[j.jsx("span",{className:s.classNames.vhidden,children:e["aria-label"]}),j.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:s.classNames.dropdown,style:s.styles.dropdown,value:a,onChange:r,children:o}),j.jsxs("div",{className:s.classNames.caption_label,style:s.styles.caption_label,"aria-hidden":"true",children:[i,j.jsx(d,{className:s.classNames.dropdown_icon,style:s.styles.dropdown_icon})]})]})}function ee(e){var t,n=G(),r=n.fromDate,a=n.toDate,o=n.styles,i=n.locale,u=n.formatters.formatMonthCaption,d=n.classNames,c=n.components,f=n.labels.labelMonthDropdown;if(!r||!a)return j.jsx(j.Fragment,{});var p=[];if(function(e,t){let n=(0,l.Q)(e),r=(0,l.Q)(t);return n.getFullYear()===r.getFullYear()}(r,a))for(var h=s(r),v=r.getMonth();v<=a.getMonth();v++)p.push(m(h,v));else for(var h=s(new Date),v=0;v<=11;v++)p.push(m(h,v));var g=null!==(t=null==c?void 0:c.Dropdown)&&void 0!==t?t:X;return j.jsx(g,{name:"months","aria-label":f(),className:d.dropdown_month,style:o.dropdown_month,onChange:function(t){var n=Number(t.target.value),r=m(s(e.displayMonth),n);e.onChange(r)},value:e.displayMonth.getMonth(),caption:u(e.displayMonth,{locale:i}),children:p.map(function(e){return j.jsx("option",{value:e.getMonth(),children:u(e,{locale:i})},e.getMonth())})})}function et(e){var t,n=e.displayMonth,r=G(),a=r.fromDate,o=r.toDate,i=r.locale,u=r.styles,l=r.classNames,d=r.components,c=r.formatters.formatYearCaption,f=r.labels.labelYearDropdown,m=[];if(!a||!o)return j.jsx(j.Fragment,{});for(var v=a.getFullYear(),g=o.getFullYear(),y=v;y<=g;y++)m.push(p((0,h.e)(new Date),y));var b=null!==(t=null==d?void 0:d.Dropdown)&&void 0!==t?t:X;return j.jsx(b,{name:"years","aria-label":f(),className:l.dropdown_year,style:u.dropdown_year,onChange:function(t){var r=p(s(n),Number(t.target.value));e.onChange(r)},value:n.getFullYear(),caption:c(n,{locale:i}),children:m.map(function(e){return j.jsx("option",{value:e.getFullYear(),children:c(e,{locale:i})},e.getFullYear())})})}var en=(0,i.createContext)(void 0);function er(e){var t,n,r,a,o,u,l,d,c,f,m,p,h,w,D,E,x=G(),C=(D=(r=(n=t=G()).month,a=n.defaultMonth,o=n.today,u=r||a||o||new Date,l=n.toDate,d=n.fromDate,c=n.numberOfMonths,l&&0>v(l,u)&&(u=g(l,-1*((void 0===c?1:c)-1))),d&&0>v(u,d)&&(u=d),f=s(u),m=t.month,h=(p=(0,i.useState)(f))[0],w=[void 0===m?h:m,p[1]])[0],E=w[1],[D,function(e){if(!t.disableNavigation){var n,r=s(e);E(r),null===(n=t.onMonthChange)||void 0===n||n.call(t,r)}}]),k=C[0],S=C[1],M=function(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,a=s(e),o=v(s(g(a,r)),a),i=[],u=0;u<o;u++){var l=g(a,u);i.push(l)}return n&&(i=i.reverse()),i}(k,x),R=function(e,t){if(!t.disableNavigation){var n=t.toDate,r=t.pagedNavigation,a=t.numberOfMonths,o=void 0===a?1:a,i=s(e);if(!n||!(v(n,e)<o))return g(i,r?o:1)}}(k,x),P=function(e,t){if(!t.disableNavigation){var n=t.fromDate,r=t.pagedNavigation,a=t.numberOfMonths,o=s(e);if(!n||!(0>=v(o,n)))return g(o,-(r?void 0===a?1:a:1))}}(k,x),T=function(e){return M.some(function(t){return y(e,t)})};return j.jsx(en.Provider,{value:{currentMonth:k,displayMonths:M,goToMonth:S,goToDate:function(e,t){T(e)||(t&&b(e,t)?S(g(e,1+-1*x.numberOfMonths)):S(e))},previousMonth:P,nextMonth:R,isDateDisplayed:T},children:e.children})}function ea(){var e=(0,i.useContext)(en);if(!e)throw Error("useNavigation must be used within a NavigationProvider");return e}function eo(e){var t,n=G(),r=n.classNames,a=n.styles,o=n.components,i=ea().goToMonth,u=function(t){i(g(t,e.displayIndex?-e.displayIndex:0))},l=null!==(t=null==o?void 0:o.CaptionLabel)&&void 0!==t?t:Q,s=j.jsx(l,{id:e.id,displayMonth:e.displayMonth});return j.jsxs("div",{className:r.caption_dropdowns,style:a.caption_dropdowns,children:[j.jsx("div",{className:r.vhidden,children:s}),j.jsx(ee,{onChange:u,displayMonth:e.displayMonth}),j.jsx(et,{onChange:u,displayMonth:e.displayMonth})]})}function ei(e){return j.jsx("svg",I({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:j.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function eu(e){return j.jsx("svg",I({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:j.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var el=(0,i.forwardRef)(function(e,t){var n=G(),r=n.classNames,a=n.styles,o=[r.button_reset,r.button];e.className&&o.push(e.className);var i=o.join(" "),u=I(I({},a.button_reset),a.button);return e.style&&Object.assign(u,e.style),j.jsx("button",I({},e,{ref:t,type:"button",className:i,style:u}))});function es(e){var t,n,r=G(),a=r.dir,o=r.locale,i=r.classNames,u=r.styles,l=r.labels,s=l.labelPrevious,d=l.labelNext,c=r.components;if(!e.nextMonth&&!e.previousMonth)return j.jsx(j.Fragment,{});var f=s(e.previousMonth,{locale:o}),m=[i.nav_button,i.nav_button_previous].join(" "),p=d(e.nextMonth,{locale:o}),h=[i.nav_button,i.nav_button_next].join(" "),v=null!==(t=null==c?void 0:c.IconRight)&&void 0!==t?t:eu,g=null!==(n=null==c?void 0:c.IconLeft)&&void 0!==n?n:ei;return j.jsxs("div",{className:i.nav,style:u.nav,children:[!e.hidePrevious&&j.jsx(el,{name:"previous-month","aria-label":f,className:m,style:u.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:"rtl"===a?j.jsx(v,{className:i.nav_icon,style:u.nav_icon}):j.jsx(g,{className:i.nav_icon,style:u.nav_icon})}),!e.hideNext&&j.jsx(el,{name:"next-month","aria-label":p,className:h,style:u.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:"rtl"===a?j.jsx(g,{className:i.nav_icon,style:u.nav_icon}):j.jsx(v,{className:i.nav_icon,style:u.nav_icon})})]})}function ed(e){var t=G().numberOfMonths,n=ea(),r=n.previousMonth,a=n.nextMonth,o=n.goToMonth,i=n.displayMonths,u=i.findIndex(function(t){return y(e.displayMonth,t)}),l=0===u,s=u===i.length-1;return j.jsx(es,{displayMonth:e.displayMonth,hideNext:t>1&&(l||!s),hidePrevious:t>1&&(s||!l),nextMonth:a,previousMonth:r,onPreviousClick:function(){r&&o(r)},onNextClick:function(){a&&o(a)}})}function ec(e){var t,n,r=G(),a=r.classNames,o=r.disableNavigation,i=r.styles,u=r.captionLayout,l=r.components,s=null!==(t=null==l?void 0:l.CaptionLabel)&&void 0!==t?t:Q;return n=o?j.jsx(s,{id:e.id,displayMonth:e.displayMonth}):"dropdown"===u?j.jsx(eo,{displayMonth:e.displayMonth,id:e.id}):"dropdown-buttons"===u?j.jsxs(j.Fragment,{children:[j.jsx(eo,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),j.jsx(ed,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):j.jsxs(j.Fragment,{children:[j.jsx(s,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),j.jsx(ed,{displayMonth:e.displayMonth,id:e.id})]}),j.jsx("div",{className:a.caption,style:i.caption,children:n})}function ef(e){var t=G(),n=t.footer,r=t.styles,a=t.classNames.tfoot;return n?j.jsx("tfoot",{className:a,style:r.tfoot,children:j.jsx("tr",{children:j.jsx("td",{colSpan:8,children:n})})}):j.jsx(j.Fragment,{})}function em(){var e=G(),t=e.classNames,n=e.styles,r=e.showWeekNumber,a=e.locale,o=e.weekStartsOn,i=e.ISOWeek,u=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,s=function(e,t,n){for(var r=n?(0,w.T)(new Date):(0,D.z)(new Date,{locale:e,weekStartsOn:t}),a=[],o=0;o<7;o++){var i=E(r,o);a.push(i)}return a}(a,o,i);return j.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&j.jsx("td",{style:n.head_cell,className:t.head_cell}),s.map(function(e,r){return j.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(e,{locale:a}),children:u(e,{locale:a})},r)})]})}function ep(){var e,t=G(),n=t.classNames,r=t.styles,a=t.components,o=null!==(e=null==a?void 0:a.HeadRow)&&void 0!==e?e:em;return j.jsx("thead",{style:r.head,className:n.head,children:j.jsx(o,{})})}function eh(e){var t=G(),n=t.locale,r=t.formatters.formatDay;return j.jsx(j.Fragment,{children:r(e.date,{locale:n})})}var ev=(0,i.createContext)(void 0);function eg(e){return W(e.initialProps)?j.jsx(ey,{initialProps:e.initialProps,children:e.children}):j.jsx(ev.Provider,{value:{selected:void 0,modifiers:{disabled:[]}},children:e.children})}function ey(e){var t=e.initialProps,n=e.children,r=t.selected,a=t.min,o=t.max,i={disabled:[]};return r&&i.disabled.push(function(e){var t=o&&r.length>o-1,n=r.some(function(t){return x(t,e)});return!!(t&&!n)}),j.jsx(ev.Provider,{value:{selected:r,onDayClick:function(e,n,i){if(null===(u=t.onDayClick)||void 0===u||u.call(t,e,n,i),(!n.selected||!a||(null==r?void 0:r.length)!==a)&&(n.selected||!o||(null==r?void 0:r.length)!==o)){var u,l,s=r?L([],r,!0):[];if(n.selected){var d=s.findIndex(function(t){return x(e,t)});s.splice(d,1)}else s.push(e);null===(l=t.onSelect)||void 0===l||l.call(t,s,e,n,i)}},modifiers:i},children:n})}function eb(){var e=(0,i.useContext)(ev);if(!e)throw Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}var ew=(0,i.createContext)(void 0);function eD(e){return z(e.initialProps)?j.jsx(eE,{initialProps:e.initialProps,children:e.children}):j.jsx(ew.Provider,{value:{selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}},children:e.children})}function eE(e){var t=e.initialProps,n=e.children,r=t.selected,a=r||{},o=a.from,i=a.to,u=t.min,l=t.max,s={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(s.range_start=[o],i?(s.range_end=[i],x(o,i)||(s.range_middle=[{after:o,before:i}])):s.range_end=[o]):i&&(s.range_start=[i],s.range_end=[i]),u&&(o&&!i&&s.disabled.push({after:E(o,-(u-1)),before:E(o,u-1)}),o&&i&&s.disabled.push({after:o,before:E(o,u-1)}),!o&&i&&s.disabled.push({after:E(i,-(u-1)),before:E(i,u-1)})),l){if(o&&!i&&(s.disabled.push({before:E(o,-l+1)}),s.disabled.push({after:E(o,l-1)})),o&&i){var d=l-((0,k.w)(i,o)+1);s.disabled.push({before:E(o,-d)}),s.disabled.push({after:E(i,d)})}!o&&i&&(s.disabled.push({before:E(i,-l+1)}),s.disabled.push({after:E(i,l-1)}))}return j.jsx(ew.Provider,{value:{selected:r,onDayClick:function(e,n,a){null===(l=t.onDayClick)||void 0===l||l.call(t,e,n,a);var o,i,u,l,s,d=(i=(o=r||{}).from,u=o.to,i&&u?x(u,e)&&x(i,e)?void 0:x(u,e)?{from:u,to:void 0}:x(i,e)?void 0:C(i,e)?{from:e,to:u}:{from:i,to:e}:u?C(e,u)?{from:u,to:e}:{from:e,to:u}:i?b(e,i)?{from:e,to:i}:{from:i,to:e}:{from:e,to:void 0});null===(s=t.onSelect)||void 0===s||s.call(t,d,e,n,a)},modifiers:s},children:n})}function ex(){var e=(0,i.useContext)(ew);if(!e)throw Error("useSelectRange must be used within a SelectRangeProvider");return e}function eC(e){return Array.isArray(e)?L([],e,!0):void 0!==e?[e]:[]}(r=o||(o={})).Outside="outside",r.Disabled="disabled",r.Selected="selected",r.Hidden="hidden",r.Today="today",r.RangeStart="range_start",r.RangeEnd="range_end",r.RangeMiddle="range_middle";var ek=o.Selected,eS=o.Disabled,eM=o.Hidden,eR=o.Today,eP=o.RangeEnd,eT=o.RangeMiddle,eA=o.RangeStart,eF=o.Outside,eB=(0,i.createContext)(void 0);function e_(e){var t,n,r,a=G(),o=eb(),i=ex(),u=((t={})[ek]=eC(a.selected),t[eS]=eC(a.disabled),t[eM]=eC(a.hidden),t[eR]=[a.today],t[eP]=[],t[eT]=[],t[eA]=[],t[eF]=[],a.fromDate&&t[eS].push({before:a.fromDate}),a.toDate&&t[eS].push({after:a.toDate}),W(a)?t[eS]=t[eS].concat(o.modifiers[eS]):z(a)&&(t[eS]=t[eS].concat(i.modifiers[eS]),t[eA]=i.modifiers[eA],t[eT]=i.modifiers[eT],t[eP]=i.modifiers[eP]),t),l=(n=a.modifiers,r={},Object.entries(n).forEach(function(e){var t=e[0],n=e[1];r[t]=eC(n)}),r),s=I(I({},u),l);return j.jsx(eB.Provider,{value:s,children:e.children})}function eO(){var e=(0,i.useContext)(eB);if(!e)throw Error("useModifiers must be used within a ModifiersProvider");return e}function eN(e,t,n){var r=Object.keys(t).reduce(function(n,r){return t[r].some(function(t){if("boolean"==typeof t)return t;if((0,S.J)(t))return x(e,t);if(Array.isArray(t)&&t.every(S.J))return t.includes(e);if(t&&"object"==typeof t&&"from"in t)return r=t.from,a=t.to,r&&a?(0>(0,k.w)(a,r)&&(r=(n=[a,r])[0],a=n[1]),(0,k.w)(e,r)>=0&&(0,k.w)(a,e)>=0):a?x(a,e):!!r&&x(r,e);if(t&&"object"==typeof t&&"dayOfWeek"in t)return t.dayOfWeek.includes(e.getDay());if(t&&"object"==typeof t&&"before"in t&&"after"in t){var n,r,a,o=(0,k.w)(t.before,e),i=(0,k.w)(t.after,e),u=o>0,l=i<0;return C(t.before,t.after)?l&&u:u||l}return t&&"object"==typeof t&&"after"in t?(0,k.w)(e,t.after)>0:t&&"object"==typeof t&&"before"in t?(0,k.w)(t.before,e)>0:"function"==typeof t&&t(e)})&&n.push(r),n},[]),a={};return r.forEach(function(e){return a[e]=!0}),n&&!y(e,n)&&(a.outside=!0),a}var eI=(0,i.createContext)(void 0);function eL(e){var t=ea(),n=eO(),r=(0,i.useState)(),a=r[0],o=r[1],u=(0,i.useState)(),c=u[0],f=u[1],m=function(e,t){for(var n,r,a=s(e[0]),o=d(e[e.length-1]),i=a;i<=o;){var u=eN(i,t);if(!(!u.disabled&&!u.hidden)){i=E(i,1);continue}if(u.selected)return i;u.today&&!r&&(r=i),n||(n=i),i=E(i,1)}return r||n}(t.displayMonths,n),p=(null!=a?a:c&&t.isDateDisplayed(c))?c:m,h=function(e){o(e)},v=G(),y=function(e,r){if(a){var o=function e(t,n){var r=n.moveBy,a=n.direction,o=n.context,i=n.modifiers,u=n.retry,s=void 0===u?{count:0,lastFocused:t}:u,d=o.weekStartsOn,c=o.fromDate,f=o.toDate,m=o.locale,p=({day:E,week:M,month:g,year:R,startOfWeek:function(e){return o.ISOWeek?(0,w.T)(e):(0,D.z)(e,{locale:m,weekStartsOn:d})},endOfWeek:function(e){return o.ISOWeek?A(e):T(e,{locale:m,weekStartsOn:d})}})[r](t,"after"===a?1:-1);if("before"===a&&c){let e;[c,p].forEach(function(t){let n=(0,l.Q)(t);(void 0===e||e<n||isNaN(Number(n)))&&(e=n)}),p=e||new Date(NaN)}else if("after"===a&&f){let e;[f,p].forEach(t=>{let n=(0,l.Q)(t);(!e||e>n||isNaN(+n))&&(e=n)}),p=e||new Date(NaN)}var h=!0;if(i){var v=eN(p,i);h=!v.disabled&&!v.hidden}return h?p:s.count>365?s.lastFocused:e(p,{moveBy:r,direction:a,context:o,modifiers:i,retry:I(I({},s),{count:s.count+1})})}(a,{moveBy:e,direction:r,context:v,modifiers:n});x(a,o)||(t.goToDate(o,a),h(o))}};return j.jsx(eI.Provider,{value:{focusedDay:a,focusTarget:p,blur:function(){f(a),o(void 0)},focus:h,focusDayAfter:function(){return y("day","after")},focusDayBefore:function(){return y("day","before")},focusWeekAfter:function(){return y("week","after")},focusWeekBefore:function(){return y("week","before")},focusMonthBefore:function(){return y("month","before")},focusMonthAfter:function(){return y("month","after")},focusYearBefore:function(){return y("year","before")},focusYearAfter:function(){return y("year","after")},focusStartOfWeek:function(){return y("startOfWeek","before")},focusEndOfWeek:function(){return y("endOfWeek","after")}},children:e.children})}function eV(){var e=(0,i.useContext)(eI);if(!e)throw Error("useFocusContext must be used within a FocusProvider");return e}var e$=(0,i.createContext)(void 0);function ej(e){return Z(e.initialProps)?j.jsx(eW,{initialProps:e.initialProps,children:e.children}):j.jsx(e$.Provider,{value:{selected:void 0},children:e.children})}function eW(e){var t=e.initialProps,n=e.children,r={selected:t.selected,onDayClick:function(e,n,r){var a,o,i;if(null===(a=t.onDayClick)||void 0===a||a.call(t,e,n,r),n.selected&&!t.required){null===(o=t.onSelect)||void 0===o||o.call(t,void 0,e,n,r);return}null===(i=t.onSelect)||void 0===i||i.call(t,e,e,n,r)}};return j.jsx(e$.Provider,{value:r,children:n})}function ez(){var e=(0,i.useContext)(e$);if(!e)throw Error("useSelectSingle must be used within a SelectSingleProvider");return e}function eZ(e){var t,n,r,a,u,l,s,d,c,f,m,p,h,v,g,y,b,w,D,E,C,k,S,M,R,P,T,A,F,B,_,O,N,L,V,$,U,K,H,Y,q,Q,J=(0,i.useRef)(null),X=(t=e.date,n=e.displayMonth,l=G(),s=eV(),d=eN(t,eO(),n),c=G(),f=ez(),m=eb(),p=ex(),v=(h=eV()).focusDayAfter,g=h.focusDayBefore,y=h.focusWeekAfter,b=h.focusWeekBefore,w=h.blur,D=h.focus,E=h.focusMonthBefore,C=h.focusMonthAfter,k=h.focusYearBefore,S=h.focusYearAfter,M=h.focusStartOfWeek,R=h.focusEndOfWeek,P={onClick:function(e){var n,r,a,o;Z(c)?null===(n=f.onDayClick)||void 0===n||n.call(f,t,d,e):W(c)?null===(r=m.onDayClick)||void 0===r||r.call(m,t,d,e):z(c)?null===(a=p.onDayClick)||void 0===a||a.call(p,t,d,e):null===(o=c.onDayClick)||void 0===o||o.call(c,t,d,e)},onFocus:function(e){var n;D(t),null===(n=c.onDayFocus)||void 0===n||n.call(c,t,d,e)},onBlur:function(e){var n;w(),null===(n=c.onDayBlur)||void 0===n||n.call(c,t,d,e)},onKeyDown:function(e){var n;switch(e.key){case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===c.dir?v():g();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===c.dir?g():v();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),y();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),b();break;case"PageUp":e.preventDefault(),e.stopPropagation(),e.shiftKey?k():E();break;case"PageDown":e.preventDefault(),e.stopPropagation(),e.shiftKey?S():C();break;case"Home":e.preventDefault(),e.stopPropagation(),M();break;case"End":e.preventDefault(),e.stopPropagation(),R()}null===(n=c.onDayKeyDown)||void 0===n||n.call(c,t,d,e)},onKeyUp:function(e){var n;null===(n=c.onDayKeyUp)||void 0===n||n.call(c,t,d,e)},onMouseEnter:function(e){var n;null===(n=c.onDayMouseEnter)||void 0===n||n.call(c,t,d,e)},onMouseLeave:function(e){var n;null===(n=c.onDayMouseLeave)||void 0===n||n.call(c,t,d,e)},onPointerEnter:function(e){var n;null===(n=c.onDayPointerEnter)||void 0===n||n.call(c,t,d,e)},onPointerLeave:function(e){var n;null===(n=c.onDayPointerLeave)||void 0===n||n.call(c,t,d,e)},onTouchCancel:function(e){var n;null===(n=c.onDayTouchCancel)||void 0===n||n.call(c,t,d,e)},onTouchEnd:function(e){var n;null===(n=c.onDayTouchEnd)||void 0===n||n.call(c,t,d,e)},onTouchMove:function(e){var n;null===(n=c.onDayTouchMove)||void 0===n||n.call(c,t,d,e)},onTouchStart:function(e){var n;null===(n=c.onDayTouchStart)||void 0===n||n.call(c,t,d,e)}},T=G(),A=ez(),F=eb(),B=ex(),_=Z(T)?A.selected:W(T)?F.selected:z(T)?B.selected:void 0,O=!!(l.onDayClick||"default"!==l.mode),(0,i.useEffect)(function(){var e;!d.outside&&s.focusedDay&&O&&x(s.focusedDay,t)&&(null===(e=J.current)||void 0===e||e.focus())},[s.focusedDay,t,J,O,d.outside]),L=(N=[l.classNames.day],Object.keys(d).forEach(function(e){var t=l.modifiersClassNames[e];if(t)N.push(t);else if(Object.values(o).includes(e)){var n=l.classNames["day_".concat(e)];n&&N.push(n)}}),N).join(" "),V=I({},l.styles.day),Object.keys(d).forEach(function(e){var t;V=I(I({},V),null===(t=l.modifiersStyles)||void 0===t?void 0:t[e])}),$=V,U=!!(d.outside&&!l.showOutsideDays||d.hidden),K=null!==(u=null===(a=l.components)||void 0===a?void 0:a.DayContent)&&void 0!==u?u:eh,H={style:$,className:L,children:j.jsx(K,{date:t,displayMonth:n,activeModifiers:d}),role:"gridcell"},Y=s.focusTarget&&x(s.focusTarget,t)&&!d.outside,q=s.focusedDay&&x(s.focusedDay,t),Q=I(I(I({},H),((r={disabled:d.disabled,role:"gridcell"})["aria-selected"]=d.selected,r.tabIndex=q||Y?0:-1,r)),P),{isButton:O,isHidden:U,activeModifiers:d,selectedDays:_,buttonProps:Q,divProps:H});return X.isHidden?j.jsx("div",{role:"gridcell"}):X.isButton?j.jsx(el,I({name:"day",ref:J},X.buttonProps)):j.jsx("div",I({},X.divProps))}function eU(e){var t=e.number,n=e.dates,r=G(),a=r.onWeekNumberClick,o=r.styles,i=r.classNames,u=r.locale,l=r.labels.labelWeekNumber,s=(0,r.formatters.formatWeekNumber)(Number(t),{locale:u});if(!a)return j.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:s});var d=l(Number(t),{locale:u});return j.jsx(el,{name:"week-number","aria-label":d,className:i.weeknumber,style:o.weeknumber,onClick:function(e){a(t,n,e)},children:s})}function eK(e){var t,n,r,a=G(),o=a.styles,i=a.classNames,u=a.showWeekNumber,s=a.components,d=null!==(t=null==s?void 0:s.Day)&&void 0!==t?t:eZ,c=null!==(n=null==s?void 0:s.WeekNumber)&&void 0!==n?n:eU;return u&&(r=j.jsx("td",{className:i.cell,style:o.cell,children:j.jsx(c,{number:e.weekNumber,dates:e.dates})})),j.jsxs("tr",{className:i.row,style:o.row,children:[r,e.dates.map(function(t){return j.jsx("td",{className:i.cell,style:o.cell,role:"presentation",children:j.jsx(d,{displayMonth:e.displayMonth,date:t})},Math.trunc(+(0,l.Q)(t)/1e3))})]})}function eH(e,t,n){for(var r=(null==n?void 0:n.ISOWeek)?A(t):T(t,n),a=(null==n?void 0:n.ISOWeek)?(0,w.T)(e):(0,D.z)(e,n),o=(0,k.w)(r,a),i=[],u=0;u<=o;u++)i.push(E(a,u));return i.reduce(function(e,t){var r=(null==n?void 0:n.ISOWeek)?(0,F.l)(t):(0,B.Q)(t,n),a=e.find(function(e){return e.weekNumber===r});return a?a.dates.push(t):e.push({weekNumber:r,dates:[t]}),e},[])}function eY(e){var t,n,r,a=G(),o=a.locale,i=a.classNames,u=a.styles,c=a.hideHead,f=a.fixedWeeks,m=a.components,p=a.weekStartsOn,h=a.firstWeekContainsDate,v=a.ISOWeek,g=function(e,t){var n=eH(s(e),d(e),t);if(null==t?void 0:t.useFixedWeeks){var r=function(e,t,n){let r=(0,D.z)(e,n),a=(0,D.z)(t,n);return Math.round((+r-(0,O.D)(r)-(+a-(0,O.D)(a)))/_.jE)}(function(e){let t=(0,l.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}(e),s(e),t)+1;if(r<6){var a=n[n.length-1],o=a.dates[a.dates.length-1],i=M(o,6-r),u=eH(M(o,1),i,t);n.push.apply(n,u)}}return n}(e.displayMonth,{useFixedWeeks:!!f,ISOWeek:v,locale:o,weekStartsOn:p,firstWeekContainsDate:h}),y=null!==(t=null==m?void 0:m.Head)&&void 0!==t?t:ep,b=null!==(n=null==m?void 0:m.Row)&&void 0!==n?n:eK,w=null!==(r=null==m?void 0:m.Footer)&&void 0!==r?r:ef;return j.jsxs("table",{id:e.id,className:i.table,style:u.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!c&&j.jsx(y,{}),j.jsx("tbody",{className:i.tbody,style:u.tbody,children:g.map(function(t){return j.jsx(b,{displayMonth:e.displayMonth,dates:t.dates,weekNumber:t.weekNumber},t.weekNumber)})}),j.jsx(w,{displayMonth:e.displayMonth})]})}var eq="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,eG=!1,eQ=0;function eJ(){return"react-day-picker-".concat(++eQ)}function eX(e){var t,n,r,a,o,u,l,s,d=G(),c=d.dir,f=d.classNames,m=d.styles,p=d.components,h=ea().displayMonths,v=(r=null!=(t=d.id?"".concat(d.id,"-").concat(e.displayIndex):void 0)?t:eG?eJ():null,o=(a=(0,i.useState)(r))[0],u=a[1],eq(function(){null===o&&u(eJ())},[]),(0,i.useEffect)(function(){!1===eG&&(eG=!0)},[]),null!==(n=null!=t?t:o)&&void 0!==n?n:void 0),g=d.id?"".concat(d.id,"-grid-").concat(e.displayIndex):void 0,y=[f.month],b=m.month,w=0===e.displayIndex,D=e.displayIndex===h.length-1,E=!w&&!D;"rtl"===c&&(D=(l=[w,D])[0],w=l[1]),w&&(y.push(f.caption_start),b=I(I({},b),m.caption_start)),D&&(y.push(f.caption_end),b=I(I({},b),m.caption_end)),E&&(y.push(f.caption_between),b=I(I({},b),m.caption_between));var x=null!==(s=null==p?void 0:p.Caption)&&void 0!==s?s:ec;return j.jsxs("div",{className:y.join(" "),style:b,children:[j.jsx(x,{id:v,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),j.jsx(eY,{id:g,"aria-labelledby":v,displayMonth:e.displayMonth})]},e.displayIndex)}function e0(e){var t=G(),n=t.classNames,r=t.styles;return j.jsx("div",{className:n.months,style:r.months,children:e.children})}function e4(e){var t,n,r=e.initialProps,a=G(),o=eV(),u=ea(),l=(0,i.useState)(!1),s=l[0],d=l[1];(0,i.useEffect)(function(){a.initialFocus&&o.focusTarget&&(s||(o.focus(o.focusTarget),d(!0)))},[a.initialFocus,s,o.focus,o.focusTarget,o]);var c=[a.classNames.root,a.className];a.numberOfMonths>1&&c.push(a.classNames.multiple_months),a.showWeekNumber&&c.push(a.classNames.with_weeknumber);var f=I(I({},a.styles.root),a.style),m=Object.keys(r).filter(function(e){return e.startsWith("data-")}).reduce(function(e,t){var n;return I(I({},e),((n={})[t]=r[t],n))},{}),p=null!==(n=null===(t=r.components)||void 0===t?void 0:t.Months)&&void 0!==n?n:e0;return j.jsx("div",I({className:c.join(" "),style:f,dir:a.dir,id:a.id,nonce:r.nonce,title:r.title,lang:r.lang},m,{children:j.jsx(p,{children:u.displayMonths.map(function(e,t){return j.jsx(eX,{displayIndex:t,displayMonth:e},t)})})}))}function e1(e){var t=e.children,n=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}(e,["children"]);return j.jsx(q,{initialProps:n,children:j.jsx(er,{children:j.jsx(ej,{initialProps:n,children:j.jsx(eg,{initialProps:n,children:j.jsx(eD,{initialProps:n,children:j.jsx(e_,{children:j.jsx(eL,{children:t})})})})})})})}function e3(e){return j.jsx(e1,I({},e,{children:j.jsx(e4,{initialProps:e})}))}},79857:function(e,t,n){"use strict";n.d(t,{Av:function(){return i},pF:function(){return r},xv:function(){return o},zi:function(){return a}});var r="right-scroll-bar-position",a="width-before-scroll-bar",o="with-scroll-bars-hidden",i="--removed-body-scroll-bar-size"},97802:function(e,t,n){"use strict";n.d(t,{jp:function(){return f}});var r=n(4470),a=n(13362),o=n(79857),i={left:0,top:0,right:0,gap:0},u=function(e){return parseInt(e||"",10)||0},l=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[u(n),u(r),u(a)]},s=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return i;var t=l(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])}},d=(0,a.Ws)(),c=function(e,t,n,r){var a=e.left,i=e.top,u=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(o.xv," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(a,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(u,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(o.pF," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(o.zi," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(o.pF," .").concat(o.pF," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(o.zi," .").concat(o.zi," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body {\n    ").concat(o.Av,": ").concat(l,"px;\n  }\n")},f=function(e){var t=e.noRelative,n=e.noImportant,a=e.gapMode,o=void 0===a?"margin":a,i=r.useMemo(function(){return s(o)},[o]);return r.createElement(d,{styles:c(i,!t,o,n?"":"!important")})}},85859:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(52303),a=n(4470),o=n(79857),i=n(25092),u=(0,n(33615)._)(),l=function(){},s=a.forwardRef(function(e,t){var n=a.useRef(null),o=a.useState({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:l}),s=o[0],d=o[1],c=e.forwardProps,f=e.children,m=e.className,p=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,D=e.as,E=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=(0,i.q)([n,t]),C=(0,r.pi)((0,r.pi)({},E),s);return a.createElement(a.Fragment,null,h&&a.createElement(g,{sideCar:u,removeScrollBar:p,shards:v,noIsolation:y,inert:b,setCallbacks:d,allowPinchZoom:!!w,lockRef:n}),c?a.cloneElement(a.Children.only(f),(0,r.pi)((0,r.pi)({},C),{ref:x})):a.createElement(void 0===D?"div":D,(0,r.pi)({},C,{className:m,ref:x}),f))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},s.classNames={fullWidth:o.zi,zeroRight:o.pF};var d=n(41608),c=n(97802),f=n(13362),m=!1;if("undefined"!=typeof window)try{var p=Object.defineProperty({},"passive",{get:function(){return m=!0,!0}});window.addEventListener("test",p,p),window.removeEventListener("test",p,p)}catch(e){m=!1}var h=!!m&&{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,a){var o,i=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),u=i*r,l=n.target,s=t.contains(l),d=!1,c=u>0,f=0,m=0;do{var p=b(e,l),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&y(e,l)&&(f+=v,m+=h),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return c&&(a&&0===f||!a&&u>f)?d=!0:!c&&(a&&0===m||!a&&-u>m)&&(d=!0),d},D=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},E=function(e){return[e.deltaX,e.deltaY]},x=function(e){return e&&"current"in e?e.current:e},C=0,k=[],S=(0,d.L)(u,function(e){var t=a.useRef([]),n=a.useRef([0,0]),o=a.useRef(),i=a.useState(C++)[0],u=a.useState(function(){return(0,f.Ws)()})[0],l=a.useRef(e);a.useEffect(function(){l.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(x),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!l.current.allowPinchZoom;var r,a=D(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],s="deltaY"in e?e.deltaY:i[1]-a[1],d=e.target,c=Math.abs(u)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===c&&"range"===d.type)return!1;var f=g(c,d);if(!f)return!0;if(f?r=c:(r="v"===c?"h":"v",f=g(c,d)),!f)return!1;if(!o.current&&"changedTouches"in e&&(u||s)&&(o.current=r),!r)return!0;var m=o.current||r;return w(m,t,e,"h"===m?u:s,!0)},[]),d=a.useCallback(function(e){if(k.length&&k[k.length-1]===u){var n="deltaY"in e?E(e):D(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 a=(l.current.shards||[]).map(x).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?s(e,a[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),m=a.useCallback(function(e,n,r,a){var o={name:e,delta:n,target:r,should:a};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),p=a.useCallback(function(e){n.current=D(e),o.current=void 0},[]),v=a.useCallback(function(t){m(t.type,E(t),t.target,s(t,e.lockRef.current))},[]),y=a.useCallback(function(t){m(t.type,D(t),t.target,s(t,e.lockRef.current))},[]);a.useEffect(function(){return k.push(u),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",d,h),document.addEventListener("touchmove",d,h),document.addEventListener("touchstart",p,h),function(){k=k.filter(function(e){return e!==u}),document.removeEventListener("wheel",d,h),document.removeEventListener("touchmove",d,h),document.removeEventListener("touchstart",p,h)}},[]);var b=e.removeScrollBar,S=e.inert;return a.createElement(a.Fragment,null,S?a.createElement(u,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,b?a.createElement(c.jp,{gapMode:"margin"}):null)}),M=a.forwardRef(function(e,t){return a.createElement(s,(0,r.pi)({},e,{ref:t,sideCar:S}))});M.classNames=s.classNames;var R=M},13362:function(e,t,n){"use strict";n.d(t,{Ws:function(){return u}});var r,a=n(4470),o=function(){var e=0,t=null;return{add:function(a){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 o,i;(o=t).styleSheet?o.styleSheet.cssText=a:o.appendChild(document.createTextNode(a)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},i=function(){var e=o();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},u=function(){var e=i();return function(t){return e(t.styles,t.dynamic),null}}},25092:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(4470);function a(e,t){var n,a,o;return n=t||null,a=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})},(o=(0,r.useState)(function(){return{value:n,callback:a,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=a,o.facade}},41608:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(52303),a=n(4470),o=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 o=t.read();if(!o)throw Error("Sidecar medium not found");return a.createElement(o,(0,r.pi)({},n))};function i(e,t){return e.useMedium(t),o}o.isSideCarExport=!0},33615:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(52303);function a(e){return e}function o(e){void 0===e&&(e={});var t,n,o,i=(void 0===t&&(t=a),n=[],o=!1,{read:function(){if(o)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,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return i.options=(0,r.pi)({async:!0,ssr:!1},e),i}},63400:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},53097:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},26890:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},60808:function(e,t,n){"use strict";let r,a;n.d(t,{CN:function(){return ta},IO:function(){return Z},IQ:function(){return f},KC:function(){return p},Lg:function(){return b},Mb:function(){return B},Mw:function(){return K},N9:function(){return h},Nm:function(){return C},PA:function(){return R},Rn:function(){return F},Vf:function(){return k},WG:function(){return z},YR:function(){return tn},ZB:function(){return U},aw:function(){return eb},em:function(){return S},fW:function(){return H},iT:function(){return x},ji:function(){return g},jx:function(){return M},l7:function(){return _},qp:function(){return eD},u4:function(){return ef},vV:function(){return T},zJ:function(){return P},zO:function(){return y},zk:function(){return v}});var o=n(46794);function i(e,t){return e-t*Math.floor(e/t)}function u(e,t,n,r){let a=(t=s(e,t))-1,o=-2;return n<=2?o=0:l(t)&&(o=-1),1721425+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*n-362)/12+o+r)}function l(e){return e%4==0&&(e%100!=0||e%400==0)}function s(e,t){return"BC"===e?1-t:t}function d(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}let c={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class f{fromJulianDay(e){let t=e-1721426,n=Math.floor(t/146097),r=i(t,146097),a=Math.floor(r/36524),o=i(r,36524),s=Math.floor(o/1461),c=Math.floor(i(o,1461)/365),[f,m]=d(400*n+100*a+4*s+c+(4!==a&&4!==c?1:0)),p=e-u(f,m,1,1),h=2;e<u(f,m,3,1)?h=0:l(m)&&(h=1);let v=Math.floor(((p+h)*12+373)/367),g=e-u(f,m,v,1)+1;return new eb(f,m,v,g)}toJulianDay(e){return u(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return c[l(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return l(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}let m={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function p(e,t){return t=K(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function h(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function v(e,t){return p(e,b(t))}function g(e,t){let n=Math.ceil(e.calendar.toJulianDay(e)+1-(m[function(e){if(Intl.Locale){let t=A.get(e);return t||(t=new Intl.Locale(e).maximize().region,A.set(e,t)),t}let t=e.split("-")[1];return"u"===t?null:t}(t)]||0))%7;return n<0&&(n+=7),n}function y(e){return W(Date.now(),e)}function b(e){return z(y(e))}function w(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function D(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let E=null;function x(){return null==E&&(E=new Intl.DateTimeFormat().resolvedOptions().timeZone),E}function C(e){return e.subtract({days:e.day-1})}function k(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function S(e){return C(e.subtract({months:e.month-1}))}function M(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function R(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function P(e,t){let n=g(e,t);return e.subtract({days:n})}function T(e,t){return P(e,t).add({days:6})}let A=new Map;function F(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((g(C(e),t)+n)/7)}function B(e,t){return e&&t?0>=e.compare(t)?e:t:e||t}function _(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function O(e){return N(s((e=K(e,new f)).era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function N(e,t,n,r,a,o,i){let u=new Date;return u.setUTCHours(r,a,o,i),u.setUTCFullYear(e,t-1,n),u.getTime()}function I(e,t){if("UTC"===t)return 0;if(e>0&&t===x())return -6e4*new Date(e).getTimezoneOffset();let{year:n,month:r,day:a,hour:o,minute:i,second:u}=V(e,t);return N(n,r,a,o,i,u,0)-1e3*Math.floor(e/1e3)}let L=new Map;function V(e,t){let n=L.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),L.set(t,n));let r=n.formatToParts(new Date(e)),a={};for(let e of r)"literal"!==e.type&&(a[e.type]=e.value);return{year:"BC"===a.era||"B"===a.era?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:"24"===a.hour?0:+a.hour,minute:+a.minute,second:+a.second}}function $(e,t,n="compatible"){var r,a,o;let i=Z(e);if("UTC"===t)return O(i);if(t===x()&&"compatible"===n){i=K(i,new f);let e=new Date,t=s(i.era,i.year);return e.setFullYear(t,i.month-1,i.day),e.setHours(i.hour,i.minute,i.second,i.millisecond),e.getTime()}let u=O(i),l=I(u-864e5,t),d=I(u+864e5,t),c=(r=i,((a=u-l)==(o=u-d)?[a]:[a,o]).filter(e=>{let n;return n=V(e,t),r.year===n.year&&r.month===n.month&&r.day===n.day&&r.hour===n.hour&&r.minute===n.minute&&r.second===n.second}));if(1===c.length)return c[0];if(c.length>1)switch(n){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(u-l,u-d);case"compatible":case"later":return Math.max(u-l,u-d);case"reject":throw RangeError("No such absolute time found")}}function j(e,t,n="compatible"){return new Date($(e,t,n))}function W(e,t){let n=I(e,t),r=new Date(e+n);return new ek(r.getUTCFullYear(),r.getUTCMonth()+1,r.getUTCDate(),t,n,r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds())}function z(e){return new eb(e.calendar,e.era,e.year,e.month,e.day)}function Z(e,t){let n=0,r=0,a=0,o=0;if("timeZone"in e)({hour:n,minute:r,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:a,millisecond:o}=t),new ex(e.calendar,e.era,e.year,e.month,e.day,n,r,a,o)}function U(e){return new eD(e.hour,e.minute,e.second,e.millisecond)}function K(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,X(r),r}function H(e,t,n){return e instanceof ek?e.timeZone===t?e:Y(e,t):W($(e,t,n),t)}function Y(e,t){return K(W(O(e)-e.offset,t),e.calendar)}function q(e,t){let n=e.copy(),r="hour"in n?eo(n,t):0;G(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Q(n),J(n),n.day+=7*(t.weeks||0),n.day+=t.days||0,n.day+=r,function(e){for(;e.day<1;)e.month--,Q(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Q(e)}(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let a=n.calendar.getYearsInEra(n);if(n.year>a){var o,i;let e=null===(i=(o=n.calendar).isInverseEra)||void 0===i?void 0:i.call(o,n);n.year=a,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let u=n.calendar.getMonthsInYear(n);return n.month>u&&(n.month=u,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function G(e,t){var n,r;(null===(r=(n=e.calendar).isInverseEra)||void 0===r?void 0:r.call(n,e))&&(t=-t),e.year+=t}function Q(e){for(;e.month<1;)G(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,G(e,1)}function J(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function X(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),J(e)}function ee(e){let t={};for(let n in e)"number"==typeof e[n]&&(t[n]=-e[n]);return t}function et(e,t){let n=e.copy();return null!=t.era&&(n.era=t.era),null!=t.year&&(n.year=t.year),null!=t.month&&(n.month=t.month),null!=t.day&&(n.day=t.day),X(n),n}function en(e,t){let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),er(n),n}function er(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function ea(e,t){let n=e%t;return n<0&&(n+=t),n}function eo(e,t){let n;return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,e.second+=Math.floor(e.millisecond/1e3),e.millisecond=ea(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=ea(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=ea(e.minute,60),n=Math.floor(e.hour/24),e.hour=ea(e.hour,24),n}function ei(e,t){let n=e.copy();return eo(n,t),n}function eu(e,t,n,r){let a=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),o=t.indexOf(e.era);if(o<0)throw Error("Invalid era: "+e.era);o=es(o,n,0,t.length-1,null==r?void 0:r.round),a.era=t[o],X(a);break}case"year":var o,i;(null===(i=(o=a.calendar).isInverseEra)||void 0===i?void 0:i.call(o,a))&&(n=-n),a.year=es(e.year,n,-1/0,9999,null==r?void 0:r.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=es(e.month,n,1,e.calendar.getMonthsInYear(e),null==r?void 0:r.round);break;case"day":a.day=es(e.day,n,1,e.calendar.getDaysInMonth(e),null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),X(a),a}function el(e,t,n,r){let a=e.copy();switch(t){case"hour":{let t=e.hour,o=0,i=23;if((null==r?void 0:r.hourCycle)===12){let e=t>=12;o=e?12:0,i=e?23:11}a.hour=es(t,n,o,i,null==r?void 0:r.round);break}case"minute":a.minute=es(e.minute,n,0,59,null==r?void 0:r.round);break;case"second":a.second=es(e.second,n,0,59,null==r?void 0:r.round);break;case"millisecond":a.millisecond=es(e.millisecond,n,0,999,null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return a}function es(e,t,n,r,a=!1){if(a){(e+=Math.sign(t))<n&&(e=r);let a=Math.abs(t);(e=t>0?Math.ceil(e/a)*a:Math.floor(e/a)*a)>r&&(e=n)}else(e+=t)<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function ed(e,t){let n;return K(W((null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days?$(q(Z(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):O(e)-e.offset)+((t.milliseconds||0)+1e3*(t.seconds||0)+6e4*(t.minutes||0)+36e5*(t.hours||0)),e.timeZone),e.calendar)}let ec=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function ef(e,t){var n;let r=e.match(ec);if(!r)throw Error("Invalid ISO 8601 date time string: "+e);let a=new ek(em(r[1],1,9999),em(r[2],1,12),1,t,0,r[4]?em(r[4],0,23):0,r[5]?em(r[5],0,59):0,r[6]?em(r[6],0,59):0,r[7]?1e3*em(r[7],0,1/0):0);return a.day=em(r[3],0,a.calendar.getDaysInMonth(a)),r[8]&&(a.offset=36e5*em(r[8],-23,23)+6e4*em(null!==(n=r[9])&&void 0!==n?n:"0",0,59)),Y(a,t)}function em(e,t,n){let r=Number(e);if(r<t||r>n)throw RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function ep(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function eh(e){let t=K(e,new f);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ev(e){return`${eh(e)}T${ep(e)}`}function eg(e){let t,n="object"==typeof e[0]?e.shift():new f;if("string"==typeof e[0])t=e.shift();else{let e=n.getEras();t=e[e.length-1]}return[n,t,e.shift(),e.shift(),e.shift()]}var ey=new WeakMap;class eb{copy(){return this.era?new eb(this.calendar,this.era,this.year,this.month,this.day):new eb(this.calendar,this.year,this.month,this.day)}add(e){return q(this,e)}subtract(e){return q(this,ee(e))}set(e){return et(this,e)}cycle(e,t,n){return eu(this,e,t,n)}toDate(e){return j(this,e)}toString(){return eh(this)}compare(e){return w(this,e)}constructor(...e){(0,o._)(this,ey,{writable:!0,value:void 0});let[t,n,r,a,i]=eg(e);this.calendar=t,this.era=n,this.year=r,this.month=a,this.day=i,X(this)}}var ew=new WeakMap;class eD{copy(){return new eD(this.hour,this.minute,this.second,this.millisecond)}add(e){return ei(this,e)}subtract(e){return ei(this,ee(e))}set(e){return en(this,e)}cycle(e,t,n){return el(this,e,t,n)}toString(){return ep(this)}compare(e){return D(this)-D(e)}constructor(e=0,t=0,n=0,r=0){(0,o._)(this,ew,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=r,er(this)}}var eE=new WeakMap;class ex{copy(){return this.era?new ex(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ex(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return q(this,e)}subtract(e){return q(this,ee(e))}set(e){return et(en(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return eu(this,e,t,n);default:return el(this,e,t,n)}}toDate(e,t){return j(this,e,t)}toString(){return ev(this)}compare(e){let t=w(this,e);if(0===t){var n;return n=Z(e),D(this)-D(n)}return t}constructor(...e){(0,o._)(this,eE,{writable:!0,value:void 0});let[t,n,r,a,i]=eg(e);this.calendar=t,this.era=n,this.year=r,this.month=a,this.day=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,X(this)}}var eC=new WeakMap;class ek{copy(){return this.era?new ek(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new ek(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return ed(this,e)}subtract(e){return ed(this,ee(e))}set(e,t){let n,r;return 0===(r=en(et(n=Z(this),e),e)).compare(n)?this:K(W($(r,this.timeZone,t),this.timeZone),this.calendar)}cycle(e,t,n){return function(e,t,n,r){switch(t){case"hour":{let t=0,a=23;if((null==r?void 0:r.hourCycle)===12){let n=e.hour>=12;t=n?12:0,a=n?23:11}let o=Z(e),i=K(en(o,{hour:t}),new f),u=[$(i,e.timeZone,"earlier"),$(i,e.timeZone,"later")].filter(t=>W(t,e.timeZone).day===i.day)[0],l=K(en(o,{hour:a}),new f),s=[$(l,e.timeZone,"earlier"),$(l,e.timeZone,"later")].filter(t=>W(t,e.timeZone).day===l.day).pop(),d=O(e)-e.offset,c=Math.floor(d/36e5),m=d%36e5;return K(W(d=36e5*es(c,n,Math.floor(u/36e5),Math.floor(s/36e5),null==r?void 0:r.round)+m,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return el(e,t,n,r);case"era":case"year":case"month":case"day":return K(W($(eu(Z(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error("Unsupported field "+t)}}(this,e,t,n)}toDate(){return new Date(O(this)-this.offset)}toString(){var e;let t,n,r;return`${ev(this)}${t=0>Math.sign(e=this.offset)?"-":"+",n=Math.floor((e=Math.abs(e))/36e5),r=e%36e5/6e4,`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}[${this.timeZone}]`}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-H(e,this.timeZone).toDate().getTime()}constructor(...e){(0,o._)(this,eC,{writable:!0,value:void 0});let[t,n,r,a,i]=eg(e),u=e.shift(),l=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=a,this.day=i,this.timeZone=u,this.offset=l,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,X(this)}}let eS=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],eM=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],eR=[1867,1911,1925,1988,2018],eP=["meiji","taisho","showa","heisei","reiwa"];function eT(e){let t=eS.findIndex(([t,n,r])=>e.year<t||e.year===t&&e.month<n||e.year===t&&e.month===n&&e.day<r);return -1===t?eS.length-1:0===t?0:t-1}function eA(e){let t=eR[eP.indexOf(e.era)];if(!t)throw Error("Unknown era: "+e.era);return new eb(e.year+t,e.month,e.day)}class eF extends f{fromJulianDay(e){let t=super.fromJulianDay(e),n=eT(t);return new eb(this,eP[n],t.year-eR[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(eA(e))}balanceDate(e){let t=eA(e),n=eT(t);eP[n]!==e.era&&(e.era=eP[n],e.year=t.year-eR[n]),this.constrainDate(e)}constrainDate(e){let t=eP.indexOf(e.era),n=eM[t];if(null!=n){let[r,a,o]=n,i=r-eR[t];e.year=Math.max(1,Math.min(i,e.year)),e.year===i&&(e.month=Math.min(a,e.month),e.month===a&&(e.day=Math.min(o,e.day)))}if(1===e.year&&t>=0){let[,n,r]=eS[t];e.month=Math.max(n,e.month),e.month===n&&(e.day=Math.max(r,e.day))}}getEras(){return eP}getYearsInEra(e){let t=eP.indexOf(e.era),n=eS[t],r=eS[t+1];if(null==r)return 9999-n[0]+1;let a=r[0]-n[0];return(e.month<r[1]||e.month===r[1]&&e.day<r[2])&&a++,a}getDaysInMonth(e){return super.getDaysInMonth(eA(e))}getMinimumMonthInYear(e){let t=eB(e);return t?t[1]:1}getMinimumDayInMonth(e){let t=eB(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function eB(e){if(1===e.year)return eS[eP.indexOf(e.era)]}class e_ extends f{fromJulianDay(e){let t=super.fromJulianDay(e);return new eb(this,s(t.era,t.year)- -543,t.month,t.day)}toJulianDay(e){return super.toJulianDay(eO(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(eO(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function eO(e){let[t,n]=d(e.year+-543);return new eb(t,n,e.month,e.day)}function eN(e){return"minguo"===e.era?e.year+1911:1-e.year+1911}function eI(e){let t=e-1911;return t>0?["minguo",t]:["before_minguo",1-t]}class eL extends f{fromJulianDay(e){let t=super.fromJulianDay(e),[n,r]=eI(s(t.era,t.year));return new eb(this,n,r,t.month,t.day)}toJulianDay(e){return super.toJulianDay(eV(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=eI(eN(e));e.era=t,e.year=n}isInverseEra(e){return"before_minguo"===e.era}getDaysInMonth(e){return super.getDaysInMonth(eV(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:8088}constructor(...e){super(...e),this.identifier="roc"}}function eV(e){let[t,n]=d(eN(e));return new eb(t,n,e.month,e.day)}function e$(e,t,n){let r=e>0?e-474:e-473,a=i(r,2820)+474;return 1948320+1029983*Math.floor(r/2820)+365*(a-1)+Math.floor((31*a-5)/128)+(t<=7?31*(t-1):30*(t-1)+6)+n}class ej{fromJulianDay(e){let t=e-e$(475,1,1),n=Math.floor(t/1029983),r=i(t,1029983),a=474+2820*n+(1029982===r?2820:Math.floor((128*r+46878)/46751));a<=0&&a--;let o=e-e$(a,1,1)+1,u=o<=186?Math.ceil(o/31):Math.ceil((o-6)/31),l=e-e$(a,u,1)+1;return new eb(this,a,u,l)}toJulianDay(e){return e$(e.year,e.month,e.day)}getMonthsInYear(){return 12}getDaysInMonth(e){var t;let n;return e.month<=6?31:e.month<=11?30:(n=i((t=e.year)>0?t-474:t-473,2820)+474,31>i((n+38)*31,128))?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}class eW extends f{fromJulianDay(e){let t,n,r,a=super.fromJulianDay(e),o=a.year-78,i=e-u(a.era,a.year,1,1);if(i<80?(o--,i+=(t=l(a.year-1)?31:30)+155+90+10):(t=l(a.year)?31:30,i-=80),i<t)n=1,r=i+1;else{let e=i-t;e<155?(n=Math.floor(e/31)+2,r=e%31+1):(e-=155,n=Math.floor(e/30)+7,r=e%30+1)}return new eb(this,o,n,r)}toJulianDay(e){let t,n;let[r,a]=d(e.year+78);return(l(a)?(t=31,n=u(r,a,3,21)):(t=30,n=u(r,a,3,22)),1===e.month)?n+e.day-1:(n+=t+31*Math.min(e.month-2,5),e.month>=8&&(n+=(e.month-7)*30),n+=e.day-1)}getDaysInMonth(e){return 1===e.month&&l(e.year+78)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}function ez(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function eZ(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),a=Math.min(12,Math.ceil((n-(29+ez(t,r,1,1)))/29.5)+1),o=n-ez(t,r,a,1)+1;return new eb(e,r,a,o)}function eU(e){return(14+11*e)%30<11}class eK{fromJulianDay(e){return eZ(this,1948440,e)}toJulianDay(e){return ez(1948440,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return 12===e.month&&eU(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return eU(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class eH extends eK{fromJulianDay(e){return eZ(this,1948439,e)}toJulianDay(e){return ez(1948439,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}function eY(e){return 460322+a[e-1300]}function eq(e,t){return(r[e-1300]&1<<11-(t-1))==0?29:30}function eG(e,t){let n=eY(e);for(let r=1;r<t;r++)n+=eq(e,r);return n}function eQ(e){return a[e+1-1300]-a[e-1300]}class eJ extends eK{fromJulianDay(e){let t=e-1948440,n=eY(1300),r=eY(1600);if(t<n||t>r)return super.fromJulianDay(e);{let e=1299,n=1,r=1;for(;r>0;){r=t-eY(++e)+1;let a=eQ(e);if(r===a){n=12;break}if(r<a){let t=eq(e,n);for(n=1;r>t;)r-=t,t=eq(e,++n);break}}return new eb(this,e,n,t-eG(e,n)+1)}}toJulianDay(e){return e.year<1300||e.year>1600?super.toJulianDay(e):1948440+eG(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<1300||e.year>1600?super.getDaysInMonth(e):eq(e.year,e.month)}getDaysInYear(e){return e.year<1300||e.year>1600?super.getDaysInYear(e):eQ(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",r||(r=new Uint16Array(Uint8Array.from(atob("qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI="),e=>e.charCodeAt(0)).buffer)),!a){a=new Uint32Array(301);let e=0;for(let t=1300;t<=1600;t++){a[t-1300]=e;for(let n=1;n<=12;n++)e+=eq(t,n)}}}}function eX(e){return 7>i(7*e+1,19)}function e0(e){let t=Math.floor((235*e-234)/19),n=29*t+Math.floor((12084+13753*t)/25920);return 3>i(3*(n+1),7)&&(n+=1),n}function e4(e){let t,n;return e0(e)+(t=e0(e-1),n=e0(e),e0(e+1)-n==356?2:n-t==382?1:0)}function e1(e){return e4(e+1)-e4(e)}function e3(e,t){if(t>=6&&!eX(e)&&t++,4===t||7===t||9===t||11===t||13===t)return 29;let n=function(e){let t=e1(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}(e);return 2===t?2===n?30:29:3===t?0===n?29:30:6===t?eX(e)?30:0:30}class e5{fromJulianDay(e){let t=e-347997,n=Math.floor((25920*t/765433*19+234)/235)+1,r=e4(n),a=Math.floor(t-r);for(;a<1;)a=Math.floor(t-(r=e4(--n)));let o=1,i=0;for(;i<a;)i+=e3(n,o),o++;let u=a-(i-=e3(n,--o));return new eb(this,n,o,u)}toJulianDay(e){let t=e4(e.year);for(let n=1;n<e.month;n++)t+=e3(e.year,n);return t+e.day+347997}getDaysInMonth(e){return e3(e.year,e.month)}getMonthsInYear(e){return eX(e.year)?13:12}getDaysInYear(e){return e1(e.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(eX(t.year)&&!eX(e.year)&&t.month>6?e.month--:!eX(t.year)&&eX(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}function e2(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function e6(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-e2(e,n,1,1))/30),a=t+1-e2(e,n,r,1);return[n,r,a]}function e7(e){return Math.floor(e%4/3)}function e9(e,t){return t%13!=0?30:e7(e)+5}class e8{fromJulianDay(e){let[t,n,r]=e6(1723856,e),a="AM";return t<=0&&(a="AA",t+=5500),new eb(this,a,t,n,r)}toJulianDay(e){let t=e.year;return"AA"===e.era&&(t-=5500),e2(1723856,t,e.month,e.day)}getDaysInMonth(e){return e9(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+e7(e.year)}getYearsInEra(e){return"AA"===e.era?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class te extends e8{fromJulianDay(e){let[t,n,r]=e6(1723856,e);return new eb(this,"AA",t+=5500,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class tt extends e8{fromJulianDay(e){let[t,n,r]=e6(1824665,e),a="CE";return t<=0&&(a="BCE",t=1-t),new eb(this,a,t,n,r)}toJulianDay(e){let t=e.year;return"BCE"===e.era&&(t=1-t),e2(1824665,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return"BCE"===e.era&&(t=1-t),e9(t,e.month)}isInverseEra(e){return"BCE"===e.era}balanceDate(e){e.year<=0&&(e.era="BCE"===e.era?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return"BCE"===e.era?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}function tn(e){switch(e){case"buddhist":return new e_;case"ethiopic":return new e8;case"ethioaa":return new te;case"coptic":return new tt;case"hebrew":return new e5;case"indian":return new eW;case"islamic-civil":return new eK;case"islamic-tbla":return new eH;case"islamic-umalqura":return new eJ;case"japanese":return new eF;case"persian":return new ej;case"roc":return new eL;default:return new f}}let tr=new Map;class ta{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==tl&&(tl="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),tl&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let n=ti(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),a=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===r&&23===a)return"h23";if(24===r&&23===a)return"h24";if(0===r&&11===a)return"h11";if(12===r&&11===a)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=ti(e,t),this.options=t}}let to={true:{ja:"h11"},false:{}};function ti(e,t={}){if("boolean"==typeof t.hour12&&(null==tu&&(tu="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),tu)){let n=to[String((t={...t}).hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=null!=n?n:r,delete t.hour12}let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(tr.has(n))return tr.get(n);let r=new Intl.DateTimeFormat(e,t);return tr.set(n,r),r}let tu=null,tl=null},16570:function(e,t,n){"use strict";n.d(t,{E:function(){return i},J:function(){return r}});class r{getStringForLocale(e,t){let n=this.strings[t];n||(n=function(e,t,n="en-US"){if(t[e])return t[e];let r=Intl.Locale?new Intl.Locale(e).language:e.split("-")[0];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(t,this.strings,this.defaultLocale),this.strings[t]=n);let r=n[e];if(!r)throw Error(`Could not find intl message ${e} in ${t} locale`);return r}constructor(e,t="en-US"){this.strings={...e},this.defaultLocale=t}}let a=new Map,o=new Map;class i{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let o=this.locale+":"+n,i=a.get(o);return i||(i=new Intl.PluralRules(this.locale,{type:n}),a.set(o,i)),"function"==typeof(r=t[i.select(e)]||t.other)?r():r}number(e){let t=o.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),o.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}},43385:function(e,t,n){"use strict";function r(e,[t,n]){return Math.min(n,Math.max(t,e))}n.d(t,{u:function(){return r}})},72656:function(e,t,n){"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}n.d(t,{M:function(){return r}})},29464:function(e,t,n){"use strict";n.d(t,{VY:function(){return U},ck:function(){return W},fC:function(){return j},h4:function(){return z},xz:function(){return Z}});var r=n(63400),a=n(4470),o=n(55541),i=n(48737),u=n(55473),l=n(72656),s=n(4703),d=n(19359),c=n(4505),f=n(79976),m=n(33975);let p="Accordion",h=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[v,g,y]=(0,i.B)(p),[b,w]=(0,o.b)(p,[y,c.p_]),D=(0,c.p_)(),E=a.forwardRef((e,t)=>{let{type:n,...o}=e;return a.createElement(v.Provider,{scope:e.__scopeAccordion},"multiple"===n?a.createElement(R,(0,r.Z)({},o,{ref:t})):a.createElement(M,(0,r.Z)({},o,{ref:t})))});E.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[x,C]=b(p),[k,S]=b(p,{collapsible:!1}),M=a.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},collapsible:u=!1,...l}=e,[d,c]=(0,s.T)({prop:n,defaultProp:o,onChange:i});return a.createElement(x,{scope:e.__scopeAccordion,value:d?[d]:[],onItemOpen:c,onItemClose:a.useCallback(()=>u&&c(""),[u,c])},a.createElement(k,{scope:e.__scopeAccordion,collapsible:u},a.createElement(A,(0,r.Z)({},l,{ref:t}))))}),R=a.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},...u}=e,[l=[],d]=(0,s.T)({prop:n,defaultProp:o,onChange:i}),c=a.useCallback(e=>d((t=[])=>[...t,e]),[d]),f=a.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return a.createElement(x,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:f},a.createElement(k,{scope:e.__scopeAccordion,collapsible:!0},a.createElement(A,(0,r.Z)({},u,{ref:t}))))}),[P,T]=b(p),A=a.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:o,dir:i,orientation:s="vertical",...c}=e,f=a.useRef(null),p=(0,u.e)(f,t),y=g(n),b="ltr"===(0,m.gm)(i),w=(0,l.M)(e.onKeyDown,e=>{var t;if(!h.includes(e.key))return;let n=e.target,r=y().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),a=r.findIndex(e=>e.ref.current===n),o=r.length;if(-1===a)return;e.preventDefault();let i=a,u=o-1,l=()=>{(i=a+1)>u&&(i=0)},d=()=>{(i=a-1)<0&&(i=u)};switch(e.key){case"Home":i=0;break;case"End":i=u;break;case"ArrowRight":"horizontal"===s&&(b?l():d());break;case"ArrowDown":"vertical"===s&&l();break;case"ArrowLeft":"horizontal"===s&&(b?d():l());break;case"ArrowUp":"vertical"===s&&d()}null===(t=r[i%o].ref.current)||void 0===t||t.focus()});return a.createElement(P,{scope:n,disabled:o,direction:i,orientation:s},a.createElement(v.Slot,{scope:n},a.createElement(d.WV.div,(0,r.Z)({},c,{"data-orientation":s,ref:p,onKeyDown:o?void 0:w}))))}),F="AccordionItem",[B,_]=b(F),O=a.forwardRef((e,t)=>{let{__scopeAccordion:n,value:o,...i}=e,u=T(F,n),l=C(F,n),s=D(n),d=(0,f.M)(),m=o&&l.value.includes(o)||!1,p=u.disabled||e.disabled;return a.createElement(B,{scope:n,open:m,disabled:p,triggerId:d},a.createElement(c.fC,(0,r.Z)({"data-orientation":u.orientation,"data-state":$(m)},s,i,{ref:t,disabled:p,open:m,onOpenChange:e=>{e?l.onItemOpen(o):l.onItemClose(o)}})))}),N=a.forwardRef((e,t)=>{let{__scopeAccordion:n,...o}=e,i=T(p,n),u=_("AccordionHeader",n);return a.createElement(d.WV.h3,(0,r.Z)({"data-orientation":i.orientation,"data-state":$(u.open),"data-disabled":u.disabled?"":void 0},o,{ref:t}))}),I="AccordionTrigger",L=a.forwardRef((e,t)=>{let{__scopeAccordion:n,...o}=e,i=T(p,n),u=_(I,n),l=S(I,n),s=D(n);return a.createElement(v.ItemSlot,{scope:n},a.createElement(c.xz,(0,r.Z)({"aria-disabled":u.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:u.triggerId},s,o,{ref:t})))}),V=a.forwardRef((e,t)=>{let{__scopeAccordion:n,...o}=e,i=T(p,n),u=_("AccordionContent",n),l=D(n);return a.createElement(c.VY,(0,r.Z)({role:"region","aria-labelledby":u.triggerId,"data-orientation":i.orientation},l,o,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function $(e){return e?"open":"closed"}let j=E,W=O,z=N,Z=L,U=V},9788:function(e,t,n){"use strict";n.d(t,{$j:function(){return T},Dx:function(){return A},VY:function(){return R},aU:function(){return P},aV:function(){return M},dk:function(){return F},fC:function(){return C},h_:function(){return S},xz:function(){return k}});var r=n(63400),a=n(4470),o=n(55541),i=n(55473),u=n(42340),l=n(72656),s=n(62909);let[d,c]=(0,o.b)("AlertDialog",[u.p8]),f=(0,u.p8)(),m=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,...o}=e,i=f(n);return(0,a.createElement)(u.xz,(0,r.Z)({},i,o,{ref:t}))}),p=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,...o}=e,i=f(n);return(0,a.createElement)(u.aV,(0,r.Z)({},i,o,{ref:t}))}),h="AlertDialogContent",[v,g]=d(h),y=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,children:o,...d}=e,c=f(n),m=(0,a.useRef)(null),p=(0,i.e)(t,m),g=(0,a.useRef)(null);return(0,a.createElement)(u.jm,{contentName:h,titleName:b,docsSlug:"alert-dialog"},(0,a.createElement)(v,{scope:n,cancelRef:g},(0,a.createElement)(u.VY,(0,r.Z)({role:"alertdialog"},c,d,{ref:p,onOpenAutoFocus:(0,l.M)(d.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=g.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault()}),(0,a.createElement)(s.A4,null,o),!1)))}),b="AlertDialogTitle",w=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,...o}=e,i=f(n);return(0,a.createElement)(u.Dx,(0,r.Z)({},i,o,{ref:t}))}),D=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,...o}=e,i=f(n);return(0,a.createElement)(u.dk,(0,r.Z)({},i,o,{ref:t}))}),E=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,...o}=e,i=f(n);return(0,a.createElement)(u.x8,(0,r.Z)({},i,o,{ref:t}))}),x=(0,a.forwardRef)((e,t)=>{let{__scopeAlertDialog:n,...o}=e,{cancelRef:l}=g("AlertDialogCancel",n),s=f(n),d=(0,i.e)(t,l);return(0,a.createElement)(u.x8,(0,r.Z)({},s,o,{ref:d}))}),C=e=>{let{__scopeAlertDialog:t,...n}=e,o=f(t);return(0,a.createElement)(u.fC,(0,r.Z)({},o,n,{modal:!0}))},k=m,S=e=>{let{__scopeAlertDialog:t,...n}=e,o=f(t);return(0,a.createElement)(u.h_,(0,r.Z)({},o,n))},M=p,R=y,P=E,T=x,A=w,F=D},6651:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(53097),a=n(4470),o=n(19359);let i=(0,a.forwardRef)((e,t)=>{let{ratio:n=1,style:i,...u}=e;return(0,a.createElement)("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/n}%`},"data-radix-aspect-ratio-wrapper":""},(0,a.createElement)(o.WV.div,(0,r.Z)({},u,{ref:t,style:{...i,position:"absolute",top:0,right:0,bottom:0,left:0}})))})},7338:function(e,t,n){"use strict";n.d(t,{Ee:function(){return y},NY:function(){return b},fC:function(){return g}});var r=n(63400),a=n(4470),o=n(55541),i=n(19401),u=n(69328),l=n(19359);let s="Avatar",[d,c]=(0,o.b)(s),[f,m]=d(s),p=(0,a.forwardRef)((e,t)=>{let{__scopeAvatar:n,...o}=e,[i,u]=(0,a.useState)("idle");return(0,a.createElement)(f,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:u},(0,a.createElement)(l.WV.span,(0,r.Z)({},o,{ref:t})))}),h=(0,a.forwardRef)((e,t)=>{let{__scopeAvatar:n,src:o,onLoadingStatusChange:s=()=>{},...d}=e,c=m("AvatarImage",n),f=function(e){let[t,n]=(0,a.useState)("idle");return(0,u.b)(()=>{if(!e){n("error");return}let t=!0,r=new window.Image,a=e=>()=>{t&&n(e)};return n("loading"),r.onload=a("loaded"),r.onerror=a("error"),r.src=e,()=>{t=!1}},[e]),t}(o),p=(0,i.W)(e=>{s(e),c.onImageLoadingStatusChange(e)});return(0,u.b)(()=>{"idle"!==f&&p(f)},[f,p]),"loaded"===f?(0,a.createElement)(l.WV.img,(0,r.Z)({},d,{ref:t,src:o})):null}),v=(0,a.forwardRef)((e,t)=>{let{__scopeAvatar:n,delayMs:o,...i}=e,u=m("AvatarFallback",n),[s,d]=(0,a.useState)(void 0===o);return(0,a.useEffect)(()=>{if(void 0!==o){let e=window.setTimeout(()=>d(!0),o);return()=>window.clearTimeout(e)}},[o]),s&&"loaded"!==u.imageLoadingStatus?(0,a.createElement)(l.WV.span,(0,r.Z)({},i,{ref:t})):null}),g=p,y=h,b=v},80562:function(e,t,n){"use strict";n.d(t,{fC:function(){return x},z$:function(){return C}});var r=n(63400),a=n(4470),o=n(55473),i=n(55541),u=n(72656),l=n(4703),s=n(68351),d=n(43381),c=n(46299),f=n(19359);let m="Checkbox",[p,h]=(0,i.b)(m),[v,g]=p(m),y=(0,a.forwardRef)((e,t)=>{let{__scopeCheckbox:n,name:i,checked:s,defaultChecked:d,required:c,disabled:m,value:p="on",onCheckedChange:h,...g}=e,[y,b]=(0,a.useState)(null),x=(0,o.e)(t,e=>b(e)),C=(0,a.useRef)(!1),k=!y||!!y.closest("form"),[S=!1,M]=(0,l.T)({prop:s,defaultProp:d,onChange:h}),R=(0,a.useRef)(S);return(0,a.useEffect)(()=>{let e=null==y?void 0:y.form;if(e){let t=()=>M(R.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[y,M]),(0,a.createElement)(v,{scope:n,state:S,disabled:m},(0,a.createElement)(f.WV.button,(0,r.Z)({type:"button",role:"checkbox","aria-checked":D(S)?"mixed":S,"aria-required":c,"data-state":E(S),"data-disabled":m?"":void 0,disabled:m,value:p},g,{ref:x,onKeyDown:(0,u.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,u.M)(e.onClick,e=>{M(e=>!!D(e)||!e),k&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})})),k&&(0,a.createElement)(w,{control:y,bubbles:!C.current,name:i,value:p,checked:S,required:c,disabled:m,style:{transform:"translateX(-100%)"}}))}),b=(0,a.forwardRef)((e,t)=>{let{__scopeCheckbox:n,forceMount:o,...i}=e,u=g("CheckboxIndicator",n);return(0,a.createElement)(c.z,{present:o||D(u.state)||!0===u.state},(0,a.createElement)(f.WV.span,(0,r.Z)({"data-state":E(u.state),"data-disabled":u.disabled?"":void 0},i,{ref:t,style:{pointerEvents:"none",...e.style}})))}),w=e=>{let{control:t,checked:n,bubbles:o=!0,...i}=e,u=(0,a.useRef)(null),l=(0,s.D)(n),c=(0,d.t)(t);return(0,a.useEffect)(()=>{let e=u.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==n&&t){let r=new Event("click",{bubbles:o});e.indeterminate=D(n),t.call(e,!D(n)&&n),e.dispatchEvent(r)}},[l,n,o]),(0,a.createElement)("input",(0,r.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:!D(n)&&n},i,{tabIndex:-1,ref:u,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function D(e){return"indeterminate"===e}function E(e){return D(e)?"indeterminate":e?"checked":"unchecked"}let x=y,C=b},4505:function(e,t,n){"use strict";n.d(t,{Fw:function(){return D},VY:function(){return S},fC:function(){return C},p_:function(){return h},wy:function(){return b},xz:function(){return k}});var r=n(63400),a=n(4470),o=n(72656),i=n(55541),u=n(4703),l=n(69328),s=n(55473),d=n(19359),c=n(46299),f=n(79976);let m="Collapsible",[p,h]=(0,i.b)(m),[v,g]=p(m),y=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:l,onOpenChange:s,...c}=e,[m=!1,p]=(0,u.T)({prop:o,defaultProp:i,onChange:s});return(0,a.createElement)(v,{scope:n,disabled:l,contentId:(0,f.M)(),open:m,onOpenToggle:(0,a.useCallback)(()=>p(e=>!e),[p])},(0,a.createElement)(d.WV.div,(0,r.Z)({"data-state":x(m),"data-disabled":l?"":void 0},c,{ref:t})))}),b=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:n,...i}=e,u=g("CollapsibleTrigger",n);return(0,a.createElement)(d.WV.button,(0,r.Z)({type:"button","aria-controls":u.contentId,"aria-expanded":u.open||!1,"data-state":x(u.open),"data-disabled":u.disabled?"":void 0,disabled:u.disabled},i,{ref:t,onClick:(0,o.M)(e.onClick,u.onOpenToggle)}))}),w="CollapsibleContent",D=(0,a.forwardRef)((e,t)=>{let{forceMount:n,...o}=e,i=g(w,e.__scopeCollapsible);return(0,a.createElement)(c.z,{present:n||i.open},({present:e})=>(0,a.createElement)(E,(0,r.Z)({},o,{ref:t,present:e})))}),E=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:o,children:i,...u}=e,c=g(w,n),[f,m]=(0,a.useState)(o),p=(0,a.useRef)(null),h=(0,s.e)(t,p),v=(0,a.useRef)(0),y=v.current,b=(0,a.useRef)(0),D=b.current,E=c.open||f,C=(0,a.useRef)(E),k=(0,a.useRef)();return(0,a.useEffect)(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.b)(()=>{let e=p.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,b.current=t.width,C.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),m(o)}},[c.open,o]),(0,a.createElement)(d.WV.div,(0,r.Z)({"data-state":x(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!E},u,{ref:h,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":D?`${D}px`:void 0,...e.style}}),E&&i)});function x(e){return e?"open":"closed"}let C=y,k=b,S=D},48737:function(e,t,n){"use strict";n.d(t,{B:function(){return u}});var r=n(4470),a=n(55541),o=n(55473),i=n(62909);function u(e){let t=e+"CollectionProvider",[n,u]=(0,a.b)(t),[l,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e+"CollectionSlot",c=r.forwardRef((e,t)=>{let{scope:n,children:a}=e,u=s(d,n),l=(0,o.e)(t,u.collectionRef);return r.createElement(i.g7,{ref:l},a)}),f=e+"CollectionItemSlot",m="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:n}=e,a=r.useRef(null),o=r.useRef(new Map).current;return r.createElement(l,{scope:t,itemMap:o,collectionRef:a},n)},Slot:c,ItemSlot:r.forwardRef((e,t)=>{let{scope:n,children:a,...u}=e,l=r.useRef(null),d=(0,o.e)(t,l),c=s(f,n);return r.useEffect(()=>(c.itemMap.set(l,{ref:l,...u}),()=>void c.itemMap.delete(l))),r.createElement(i.g7,{[m]:"",ref:d},a)})},function(t){let n=s(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},u]}},55473:function(e,t,n){"use strict";n.d(t,{F:function(){return a},e:function(){return o}});var r=n(4470);function a(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return(0,r.useCallback)(a(...e),e)}},83717:function(e,t,n){"use strict";n.d(t,{Ee:function(){return L},Rk:function(){return V},Tr:function(){return W},Uv:function(){return F},VY:function(){return B},Z0:function(){return j},ZA:function(){return _},__:function(){return O},ck:function(){return N},fC:function(){return T},fF:function(){return z},oC:function(){return I},tu:function(){return Z},wU:function(){return $},xz:function(){return A}});var r=n(53097),a=n(4470),o=n(72656),i=n(55541),u=n(19359),l=n(16954),s=n(19401),d=n(4703);let c="ContextMenu",[f,m]=(0,i.b)(c,[l.Wf]),p=(0,l.Wf)(),[h,v]=f(c),g=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,disabled:i=!1,...s}=e,d=v("ContextMenuTrigger",n),c=p(n),f=(0,a.useRef)({x:0,y:0}),m=(0,a.useRef)({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...f.current})}),h=(0,a.useRef)(0),g=(0,a.useCallback)(()=>window.clearTimeout(h.current),[]),y=e=>{f.current={x:e.clientX,y:e.clientY},d.onOpenChange(!0)};return(0,a.useEffect)(()=>g,[g]),(0,a.useEffect)(()=>void(i&&g()),[i,g]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(l.ee,(0,r.Z)({},c,{virtualRef:m})),(0,a.createElement)(u.WV.span,(0,r.Z)({"data-state":d.open?"open":"closed","data-disabled":i?"":void 0},s,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:i?e.onContextMenu:(0,o.M)(e.onContextMenu,e=>{g(),y(e),e.preventDefault()}),onPointerDown:i?e.onPointerDown:(0,o.M)(e.onPointerDown,P(e=>{g(),h.current=window.setTimeout(()=>y(e),700)})),onPointerMove:i?e.onPointerMove:(0,o.M)(e.onPointerMove,P(g)),onPointerCancel:i?e.onPointerCancel:(0,o.M)(e.onPointerCancel,P(g)),onPointerUp:i?e.onPointerUp:(0,o.M)(e.onPointerUp,P(g))})))}),y=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=v("ContextMenuContent",n),u=p(n),s=(0,a.useRef)(!1);return(0,a.createElement)(l.VY,(0,r.Z)({},u,o,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:t=>{var n;null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),!t.defaultPrevented&&s.current&&t.preventDefault(),s.current=!1},onInteractOutside:t=>{var n;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||i.modal||(s.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),b=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.ZA,(0,r.Z)({},i,o,{ref:t}))}),w=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.__,(0,r.Z)({},i,o,{ref:t}))}),D=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.ck,(0,r.Z)({},i,o,{ref:t}))}),E=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.oC,(0,r.Z)({},i,o,{ref:t}))}),x=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.Ee,(0,r.Z)({},i,o,{ref:t}))}),C=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.Rk,(0,r.Z)({},i,o,{ref:t}))}),k=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.wU,(0,r.Z)({},i,o,{ref:t}))}),S=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.Z0,(0,r.Z)({},i,o,{ref:t}))}),M=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.fF,(0,r.Z)({},i,o,{ref:t}))}),R=(0,a.forwardRef)((e,t)=>{let{__scopeContextMenu:n,...o}=e,i=p(n);return(0,a.createElement)(l.tu,(0,r.Z)({},i,o,{ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))});function P(e){return t=>"mouse"!==t.pointerType?e(t):void 0}let T=e=>{let{__scopeContextMenu:t,children:n,onOpenChange:o,dir:i,modal:u=!0}=e,[d,c]=(0,a.useState)(!1),f=p(t),m=(0,s.W)(o),v=(0,a.useCallback)(e=>{c(e),m(e)},[m]);return(0,a.createElement)(h,{scope:t,open:d,onOpenChange:v,modal:u},(0,a.createElement)(l.fC,(0,r.Z)({},f,{dir:i,open:d,onOpenChange:v,modal:u}),n))},A=g,F=e=>{let{__scopeContextMenu:t,...n}=e,o=p(t);return(0,a.createElement)(l.h_,(0,r.Z)({},o,n))},B=y,_=b,O=w,N=D,I=E,L=x,V=C,$=k,j=S,W=e=>{let{__scopeContextMenu:t,children:n,onOpenChange:o,open:i,defaultOpen:u}=e,s=p(t),[c,f]=(0,d.T)({prop:i,defaultProp:u,onChange:o});return(0,a.createElement)(l.Tr,(0,r.Z)({},s,{open:c,onOpenChange:f}),n)},z=M,Z=R},55541:function(e,t,n){"use strict";n.d(t,{b:function(){return o},k:function(){return a}});var r=n(4470);function a(e,t){let n=(0,r.createContext)(t);function a(e){let{children:t,...a}=e,o=(0,r.useMemo)(()=>a,Object.values(a));return(0,r.createElement)(n.Provider,{value:o},t)}return a.displayName=e+"Provider",[a,function(a){let o=(0,r.useContext)(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],a=()=>{let t=n.map(e=>(0,r.createContext)(e));return function(n){let a=(null==n?void 0:n[e])||t;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:a}}),[n,a])}};return a.scopeName=e,[function(t,a){let o=(0,r.createContext)(a),i=n.length;function u(t){let{scope:n,children:a,...u}=t,l=(null==n?void 0:n[e][i])||o,s=(0,r.useMemo)(()=>u,Object.values(u));return(0,r.createElement)(l.Provider,{value:s},a)}return n=[...n,a],u.displayName=t+"Provider",[u,function(n,u){let l=(null==u?void 0:u[e][i])||o,s=(0,r.useContext)(l);if(s)return s;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=n.reduce((t,{useScope:n,scopeName:r})=>{let a=n(e)[`__scope${r}`];return{...t,...a}},{});return(0,r.useMemo)(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}(a,...t)]}},42340:function(e,t,n){"use strict";n.d(t,{Dx:function(){return Y},VY:function(){return H},aV:function(){return K},dk:function(){return q},fC:function(){return z},h_:function(){return U},jm:function(){return j},p8:function(){return D},x8:function(){return G},xz:function(){return Z}});var r=n(53097),a=n(4470),o=n(72656),i=n(55473),u=n(55541),l=n(79976),s=n(4703),d=n(75446),c=n(92980),f=n(89300),m=n(46299),p=n(19359),h=n(52822),v=n(85859),g=n(54131),y=n(62909);let b="Dialog",[w,D]=(0,u.b)(b),[E,x]=w(b),C=(0,a.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=x("DialogTrigger",n),s=(0,i.e)(t,l.triggerRef);return(0,a.createElement)(p.WV.button,(0,r.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":$(l.open)},u,{ref:s,onClick:(0,o.M)(e.onClick,l.onOpenToggle)}))}),k="DialogPortal",[S,M]=w(k,{forceMount:void 0}),R="DialogOverlay",P=(0,a.forwardRef)((e,t)=>{let n=M(R,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,u=x(R,e.__scopeDialog);return u.modal?(0,a.createElement)(m.z,{present:o||u.open},(0,a.createElement)(T,(0,r.Z)({},i,{ref:t}))):null}),T=(0,a.forwardRef)((e,t)=>{let{__scopeDialog:n,...o}=e,i=x(R,n);return(0,a.createElement)(v.Z,{as:y.g7,allowPinchZoom:!0,shards:[i.contentRef]},(0,a.createElement)(p.WV.div,(0,r.Z)({"data-state":$(i.open)},o,{ref:t,style:{pointerEvents:"auto",...o.style}})))}),A="DialogContent",F=(0,a.forwardRef)((e,t)=>{let n=M(A,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,u=x(A,e.__scopeDialog);return(0,a.createElement)(m.z,{present:o||u.open},u.modal?(0,a.createElement)(B,(0,r.Z)({},i,{ref:t})):(0,a.createElement)(_,(0,r.Z)({},i,{ref:t})))}),B=(0,a.forwardRef)((e,t)=>{let n=x(A,e.__scopeDialog),u=(0,a.useRef)(null),l=(0,i.e)(t,n.contentRef,u);return(0,a.useEffect)(()=>{let e=u.current;if(e)return(0,g.Ry)(e)},[]),(0,a.createElement)(O,(0,r.Z)({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())}))}),_=(0,a.forwardRef)((e,t)=>{let n=x(A,e.__scopeDialog),o=(0,a.useRef)(!1),i=(0,a.useRef)(!1);return(0,a.createElement)(O,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let u=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),O=(0,a.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:u,onCloseAutoFocus:l,...s}=e,f=x(A,n),m=(0,a.useRef)(null),p=(0,i.e)(t,m);return(0,h.EW)(),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:u,onUnmountAutoFocus:l},(0,a.createElement)(d.XB,(0,r.Z)({role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":$(f.open)},s,{ref:p,onDismiss:()=>f.onOpenChange(!1)}))),!1)}),N="DialogTitle",I=(0,a.forwardRef)((e,t)=>{let{__scopeDialog:n,...o}=e,i=x(N,n);return(0,a.createElement)(p.WV.h2,(0,r.Z)({id:i.titleId},o,{ref:t}))}),L=(0,a.forwardRef)((e,t)=>{let{__scopeDialog:n,...o}=e,i=x("DialogDescription",n);return(0,a.createElement)(p.WV.p,(0,r.Z)({id:i.descriptionId},o,{ref:t}))}),V=(0,a.forwardRef)((e,t)=>{let{__scopeDialog:n,...i}=e,u=x("DialogClose",n);return(0,a.createElement)(p.WV.button,(0,r.Z)({type:"button"},i,{ref:t,onClick:(0,o.M)(e.onClick,()=>u.onOpenChange(!1))}))});function $(e){return e?"open":"closed"}let[j,W]=(0,u.k)("DialogTitleWarning",{contentName:A,titleName:N,docsSlug:"dialog"}),z=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:u=!0}=e,d=(0,a.useRef)(null),c=(0,a.useRef)(null),[f=!1,m]=(0,s.T)({prop:r,defaultProp:o,onChange:i});return(0,a.createElement)(E,{scope:t,triggerRef:d,contentRef:c,contentId:(0,l.M)(),titleId:(0,l.M)(),descriptionId:(0,l.M)(),open:f,onOpenChange:m,onOpenToggle:(0,a.useCallback)(()=>m(e=>!e),[m]),modal:u},n)},Z=C,U=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=x(k,t);return(0,a.createElement)(S,{scope:t,forceMount:n},a.Children.map(r,e=>(0,a.createElement)(m.z,{present:n||i.open},(0,a.createElement)(f.h,{asChild:!0,container:o},e))))},K=P,H=F,Y=I,q=L,G=V},33975:function(e,t,n){"use strict";n.d(t,{gm:function(){return o}});var r=n(4470);let a=(0,r.createContext)(void 0);function o(e){let t=(0,r.useContext)(a);return e||t||"ltr"}},75446:function(e,t,n){"use strict";let r;n.d(t,{XB:function(){return f}});var a=n(26890),o=n(4470),i=n(72656),u=n(19359),l=n(55473),s=n(19401);let d="dismissableLayer.update",c=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=(0,o.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:h,onPointerDownOutside:v,onFocusOutside:g,onInteractOutside:y,onDismiss:b,...w}=e,D=(0,o.useContext)(c),[E,x]=(0,o.useState)(null),C=null!==(n=null==E?void 0:E.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,k]=(0,o.useState)({}),S=(0,l.e)(t,e=>x(e)),M=Array.from(D.layers),[R]=[...D.layersWithOutsidePointerEventsDisabled].slice(-1),P=M.indexOf(R),T=E?M.indexOf(E):-1,A=D.layersWithOutsidePointerEventsDisabled.size>0,F=T>=P,B=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,s.W)(e),r=(0,o.useRef)(!1),a=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function o(){p("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=o,t.addEventListener("click",a.current,{once:!0})):o()}else t.removeEventListener("click",a.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...D.branches].some(e=>e.contains(t));!F||n||(null==v||v(e),null==y||y(e),e.defaultPrevented||null==b||b())},C),_=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,s.W)(e),r=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!r.current&&p("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;[...D.branches].some(e=>e.contains(t))||(null==g||g(e),null==y||y(e),e.defaultPrevented||null==b||b())},C);return!function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,s.W)(e);(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{T!==D.layers.size-1||(null==h||h(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},C),(0,o.useEffect)(()=>{if(E)return f&&(0===D.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),D.layersWithOutsidePointerEventsDisabled.add(E)),D.layers.add(E),m(),()=>{f&&1===D.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[E,C,f,D]),(0,o.useEffect)(()=>()=>{E&&(D.layers.delete(E),D.layersWithOutsidePointerEventsDisabled.delete(E),m())},[E,D]),(0,o.useEffect)(()=>{let e=()=>k({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,o.createElement)(u.WV.div,(0,a.Z)({},w,{ref:S,style:{pointerEvents:A?F?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,B.onPointerDownCapture)}))});function m(){let e=new CustomEvent(d);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){let a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?(0,u.jH)(a,o):a.dispatchEvent(o)}},98250:function(e,t,n){"use strict";n.d(t,{Ee:function(){return L},Rk:function(){return V},Tr:function(){return W},Uv:function(){return F},VY:function(){return B},Z0:function(){return j},ZA:function(){return _},__:function(){return O},ck:function(){return N},fC:function(){return T},fF:function(){return z},oC:function(){return I},tu:function(){return Z},wU:function(){return $},xz:function(){return A}});var r=n(53097),a=n(4470),o=n(72656),i=n(55473),u=n(55541),l=n(4703),s=n(19359),d=n(16954),c=n(79976);let f="DropdownMenu",[m,p]=(0,u.b)(f,[d.Wf]),h=(0,d.Wf)(),[v,g]=m(f),y=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:u=!1,...l}=e,c=g("DropdownMenuTrigger",n),f=h(n);return(0,a.createElement)(d.ee,(0,r.Z)({asChild:!0},f),(0,a.createElement)(s.WV.button,(0,r.Z)({type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":u?"":void 0,disabled:u},l,{ref:(0,i.F)(t,c.triggerRef),onPointerDown:(0,o.M)(e.onPointerDown,e=>{u||0!==e.button||!1!==e.ctrlKey||(c.onOpenToggle(),c.open||e.preventDefault())}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{!u&&(["Enter"," "].includes(e.key)&&c.onOpenToggle(),"ArrowDown"===e.key&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),b=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...i}=e,u=g("DropdownMenuContent",n),l=h(n),s=(0,a.useRef)(!1);return(0,a.createElement)(d.VY,(0,r.Z)({id:u.contentId,"aria-labelledby":u.triggerId},l,i,{ref:t,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;s.current||null===(t=u.triggerRef.current)||void 0===t||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,o.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!u.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)"}}))}),w=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.ZA,(0,r.Z)({},i,o,{ref:t}))}),D=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.__,(0,r.Z)({},i,o,{ref:t}))}),E=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.ck,(0,r.Z)({},i,o,{ref:t}))}),x=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.oC,(0,r.Z)({},i,o,{ref:t}))}),C=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.Ee,(0,r.Z)({},i,o,{ref:t}))}),k=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.Rk,(0,r.Z)({},i,o,{ref:t}))}),S=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.wU,(0,r.Z)({},i,o,{ref:t}))}),M=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.Z0,(0,r.Z)({},i,o,{ref:t}))}),R=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.fF,(0,r.Z)({},i,o,{ref:t}))}),P=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=h(n);return(0,a.createElement)(d.tu,(0,r.Z)({},i,o,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),T=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:u,onOpenChange:s,modal:f=!0}=e,m=h(t),p=(0,a.useRef)(null),[g=!1,y]=(0,l.T)({prop:i,defaultProp:u,onChange:s});return(0,a.createElement)(v,{scope:t,triggerId:(0,c.M)(),triggerRef:p,contentId:(0,c.M)(),open:g,onOpenChange:y,onOpenToggle:(0,a.useCallback)(()=>y(e=>!e),[y]),modal:f},(0,a.createElement)(d.fC,(0,r.Z)({},m,{open:g,onOpenChange:y,dir:o,modal:f}),n))},A=y,F=e=>{let{__scopeDropdownMenu:t,...n}=e,o=h(t);return(0,a.createElement)(d.h_,(0,r.Z)({},o,n))},B=b,_=w,O=D,N=E,I=x,L=C,V=k,$=S,j=M,W=e=>{let{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:i,defaultOpen:u}=e,s=h(t),[c=!1,f]=(0,l.T)({prop:o,defaultProp:u,onChange:i});return(0,a.createElement)(d.Tr,(0,r.Z)({},s,{open:c,onOpenChange:f}),n)},z=R,Z=P},52822:function(e,t,n){"use strict";n.d(t,{EW:function(){return o}});var r=n(4470);let a=0;function o(){(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:i()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:i()),a++,()=>{1===a&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),a--}},[])}function i(){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}},92980:function(e,t,n){"use strict";let r;n.d(t,{M:function(){return f}});var a=n(26890),o=n(4470),i=n(55473),u=n(19359),l=n(19401);let s="focusScope.autoFocusOnMount",d="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},f=(0,o.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:f,onUnmountAutoFocus:g,...y}=e,[b,w]=(0,o.useState)(null),D=(0,l.W)(f),E=(0,l.W)(g),x=(0,o.useRef)(null),C=(0,i.e)(t,e=>w(e)),k=(0,o.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,o.useEffect)(()=>{if(r){function e(e){if(k.paused||!b)return;let t=e.target;b.contains(t)?x.current=t:h(x.current,{select:!0})}function t(e){if(k.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||h(x.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&&h(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,b,k.paused]),(0,o.useEffect)(()=>{if(b){v.add(k);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(s,c);b.addEventListener(s,D),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(m(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(b))}return()=>{b.removeEventListener(s,D),setTimeout(()=>{let t=new CustomEvent(d,c);b.addEventListener(d,E),b.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),b.removeEventListener(d,E),v.remove(k)},0)}}},[b,D,E,k]);let S=(0,o.useCallback)(e=>{if(!n&&!r||k.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){let t=e.currentTarget,[r,o]=function(e){let t=m(e);return[p(t,e),p(t.reverse(),e)]}(t);r&&o?e.shiftKey||a!==o?e.shiftKey&&a===r&&(e.preventDefault(),n&&h(o,{select:!0})):(e.preventDefault(),n&&h(r,{select:!0})):a===t&&e.preventDefault()}},[n,r,k.paused]);return(0,o.createElement)(u.WV.div,(0,a.Z)({tabIndex:-1},y,{ref:C,onKeyDown:S}))});function m(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 p(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 h(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 v=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=g(r,e)).unshift(e)},remove(e){var t;null===(t=(r=g(r,e))[0])||void 0===t||t.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},80360:function(e,t,n){"use strict";let r;n.d(t,{VY:function(){return P},fC:function(){return M},xz:function(){return R}});var a=n(63400),o=n(4470),i=n(72656),u=n(55541),l=n(4703),s=n(55473),d=n(90069),c=(n(89300),n(46299)),f=n(19359),m=n(75446);let p="HoverCard",[h,v]=(0,u.b)(p,[d.D7]),g=(0,d.D7)(),[y,b]=h(p),w=(0,o.forwardRef)((e,t)=>{let{__scopeHoverCard:n,...r}=e,u=b("HoverCardTrigger",n),l=g(n);return(0,o.createElement)(d.ee,(0,a.Z)({asChild:!0},l),(0,o.createElement)(f.WV.a,(0,a.Z)({"data-state":u.open?"open":"closed"},r,{ref:t,onPointerEnter:(0,i.M)(e.onPointerEnter,S(u.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,S(u.onClose)),onFocus:(0,i.M)(e.onFocus,u.onOpen),onBlur:(0,i.M)(e.onBlur,u.onClose),onTouchStart:(0,i.M)(e.onTouchStart,e=>e.preventDefault())})))}),[D,E]=h("HoverCardPortal",{forceMount:void 0}),x="HoverCardContent",C=(0,o.forwardRef)((e,t)=>{let n=E(x,e.__scopeHoverCard),{forceMount:r=n.forceMount,...u}=e,l=b(x,e.__scopeHoverCard);return(0,o.createElement)(c.z,{present:r||l.open},(0,o.createElement)(k,(0,a.Z)({"data-state":l.open?"open":"closed"},u,{onPointerEnter:(0,i.M)(e.onPointerEnter,S(l.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,S(l.onClose)),ref:t})))}),k=(0,o.forwardRef)((e,t)=>{let{__scopeHoverCard:n,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:f,...p}=e,h=b(x,n),v=g(n),y=(0,o.useRef)(null),w=(0,s.e)(t,y),[D,E]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(D){let e=document.body;return r=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=r,e.style.webkitUserSelect=r}}},[D]),(0,o.useEffect)(()=>{if(y.current){let e=()=>{E(!1),h.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!==""&&(h.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!1}}},[h.isPointerDownOnContentRef,h.hasSelectionRef]),(0,o.useEffect)(()=>{y.current&&(function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t})(y.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,o.createElement)(m.XB,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:(0,i.M)(c,e=>{e.preventDefault()}),onDismiss:h.onDismiss},(0,o.createElement)(d.VY,(0,a.Z)({},v,p,{onPointerDown:(0,i.M)(p.onPointerDown,e=>{e.currentTarget.contains(e.target)&&E(!0),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!0}),ref:w,style:{...p.style,userSelect:D?"text":void 0,WebkitUserSelect:D?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))});function S(e){return t=>"touch"===t.pointerType?void 0:e()}let M=e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:a,onOpenChange:i,openDelay:u=700,closeDelay:s=300}=e,c=g(t),f=(0,o.useRef)(0),m=(0,o.useRef)(0),p=(0,o.useRef)(!1),h=(0,o.useRef)(!1),[v=!1,b]=(0,l.T)({prop:r,defaultProp:a,onChange:i}),w=(0,o.useCallback)(()=>{clearTimeout(m.current),f.current=window.setTimeout(()=>b(!0),u)},[u,b]),D=(0,o.useCallback)(()=>{clearTimeout(f.current),p.current||h.current||(m.current=window.setTimeout(()=>b(!1),s))},[s,b]),E=(0,o.useCallback)(()=>b(!1),[b]);return(0,o.useEffect)(()=>()=>{clearTimeout(f.current),clearTimeout(m.current)},[]),(0,o.createElement)(y,{scope:t,open:v,onOpenChange:b,onOpen:w,onClose:D,onDismiss:E,hasSelectionRef:p,isPointerDownOnContentRef:h},(0,o.createElement)(d.fC,c,n))},R=w,P=C},79976:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,a=n(4470),o=n(69328);let i=(r||(r=n.t(a,2)))["useId".toString()]||(()=>void 0),u=0;function l(e){let[t,n]=a.useState(i());return(0,o.b)(()=>{e||n(e=>null!=e?e:String(u++))},[e]),e||(t?`radix-${t}`:"")}},3527:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(53097),a=n(4470),o=n(19359);let i=(0,a.forwardRef)((e,t)=>(0,a.createElement)(o.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}})))},16954:function(e,t,n){"use strict";n.d(t,{Ee:function(){return eF},Eh:function(){return eN},Rk:function(){return eB},Tr:function(){return eI},VY:function(){return eM},Wf:function(){return B},Z0:function(){return eO},ZA:function(){return eR},__:function(){return eP},ck:function(){return eT},ee:function(){return ek},fC:function(){return eC},fF:function(){return eL},h_:function(){return eS},oC:function(){return eA},tu:function(){return eV},wU:function(){return e_}});var r=n(53097),a=n(4470),o=n(72656),i=n(48737),u=n(55473),l=n(55541),s=n(33975),d=n(75446),c=n(52822),f=n(92980),m=n(79976),p=n(90069),h=n(89300),v=n(46299),g=n(19359),y=n(49658),b=n(62909),w=n(19401),D=n(54131),E=n(85859);let x=["Enter"," "],C=["ArrowUp","PageDown","End"],k=["ArrowDown","PageUp","Home",...C],S={ltr:[...x,"ArrowRight"],rtl:[...x,"ArrowLeft"]},M={ltr:["ArrowLeft"],rtl:["ArrowRight"]},R="Menu",[P,T,A]=(0,i.B)(R),[F,B]=(0,l.b)(R,[A,p.D7,y.Pc]),_=(0,p.D7)(),O=(0,y.Pc)(),[N,I]=F(R),[L,V]=F(R),$=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...o}=e,i=_(n);return(0,a.createElement)(p.ee,(0,r.Z)({},i,o,{ref:t}))}),j="MenuPortal",[W,z]=F(j,{forceMount:void 0}),Z="MenuContent",[U,K]=F(Z),H=(0,a.forwardRef)((e,t)=>{let n=z(Z,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,u=I(Z,e.__scopeMenu),l=V(Z,e.__scopeMenu);return(0,a.createElement)(P.Provider,{scope:e.__scopeMenu},(0,a.createElement)(v.z,{present:o||u.open},(0,a.createElement)(P.Slot,{scope:e.__scopeMenu},l.modal?(0,a.createElement)(Y,(0,r.Z)({},i,{ref:t})):(0,a.createElement)(q,(0,r.Z)({},i,{ref:t})))))}),Y=(0,a.forwardRef)((e,t)=>{let n=I(Z,e.__scopeMenu),i=(0,a.useRef)(null),l=(0,u.e)(t,i);return(0,a.useEffect)(()=>{let e=i.current;if(e)return(0,D.Ry)(e)},[]),(0,a.createElement)(G,(0,r.Z)({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),q=(0,a.forwardRef)((e,t)=>{let n=I(Z,e.__scopeMenu);return(0,a.createElement)(G,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),G=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:i=!1,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:m,disableOutsidePointerEvents:h,onEntryFocus:v,onEscapeKeyDown:g,onPointerDownOutside:w,onFocusOutside:D,onInteractOutside:x,onDismiss:S,disableOutsideScroll:M,...R}=e,P=I(Z,n),A=V(Z,n),F=_(n),B=O(n),N=T(n),[L,$]=(0,a.useState)(null),j=(0,a.useRef)(null),W=(0,u.e)(t,j,P.onContentChange),z=(0,a.useRef)(0),K=(0,a.useRef)(""),H=(0,a.useRef)(0),Y=(0,a.useRef)(null),q=(0,a.useRef)("right"),G=(0,a.useRef)(0),Q=M?E.Z:a.Fragment,J=M?{as:b.g7,allowPinchZoom:!0}:void 0,X=e=>{var t,n;let r=K.current+e,a=N().filter(e=>!e.disabled),o=document.activeElement,i=null===(t=a.find(e=>e.ref.current===o))||void 0===t?void 0:t.textValue,u=function(e,t,n){var r;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===a.length&&(o=o.filter(e=>e!==n));let i=o.find(e=>e.toLowerCase().startsWith(a.toLowerCase()));return i!==n?i:void 0}(a.map(e=>e.textValue),r,i),l=null===(n=a.find(e=>e.textValue===u))||void 0===n?void 0:n.ref.current;!function e(t){K.current=t,window.clearTimeout(z.current),""!==t&&(z.current=window.setTimeout(()=>e(""),1e3))}(r),l&&setTimeout(()=>l.focus())};(0,a.useEffect)(()=>()=>window.clearTimeout(z.current),[]),(0,c.EW)();let ee=(0,a.useCallback)(e=>{var t,n,r;return q.current===(null===(t=Y.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=Y.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,a=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let i=t[e].x,u=t[e].y,l=t[o].x,s=t[o].y;u>r!=s>r&&n<(l-i)*(r-u)/(s-u)+i&&(a=!a)}return a}({x:e.clientX,y:e.clientY},r)},[]);return(0,a.createElement)(U,{scope:n,searchRef:K,onItemEnter:(0,a.useCallback)(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:(0,a.useCallback)(e=>{var t;ee(e)||(null===(t=j.current)||void 0===t||t.focus(),$(null))},[ee]),onTriggerLeave:(0,a.useCallback)(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:H,onPointerGraceIntentChange:(0,a.useCallback)(e=>{Y.current=e},[])},(0,a.createElement)(Q,J,(0,a.createElement)(f.M,{asChild:!0,trapped:l,onMountAutoFocus:(0,o.M)(s,e=>{var t;e.preventDefault(),null===(t=j.current)||void 0===t||t.focus()}),onUnmountAutoFocus:m},(0,a.createElement)(d.XB,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:g,onPointerDownOutside:w,onFocusOutside:D,onInteractOutside:x,onDismiss:S},(0,a.createElement)(y.fC,(0,r.Z)({asChild:!0},B,{dir:A.dir,orientation:"vertical",loop:i,currentTabStopId:L,onCurrentTabStopIdChange:$,onEntryFocus:(0,o.M)(v,e=>{A.isUsingKeyboardRef.current||e.preventDefault()})}),(0,a.createElement)(p.VY,(0,r.Z)({role:"menu","aria-orientation":"vertical","data-state":ew(P.open),"data-radix-menu-content":"",dir:A.dir},F,R,{ref:W,style:{outline:"none",...R.style},onKeyDown:(0,o.M)(R.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&&X(e.key));let a=j.current;if(e.target!==a||!k.includes(e.key))return;e.preventDefault();let o=N().filter(e=>!e.disabled).map(e=>e.ref.current);C.includes(e.key)&&o.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(o)}),onBlur:(0,o.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(z.current),K.current="")}),onPointerMove:(0,o.M)(e.onPointerMove,ex(e=>{let t=e.target,n=G.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>G.current?"right":"left";q.current=t,G.current=e.clientX}}))})))))))}),Q=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...o}=e;return(0,a.createElement)(g.WV.div,(0,r.Z)({role:"group"},o,{ref:t}))}),J=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...o}=e;return(0,a.createElement)(g.WV.div,(0,r.Z)({},o,{ref:t}))}),X="MenuItem",ee="menu.itemSelect",et=(0,a.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:i,...l}=e,s=(0,a.useRef)(null),d=V(X,e.__scopeMenu),c=K(X,e.__scopeMenu),f=(0,u.e)(t,s),m=(0,a.useRef)(!1);return(0,a.createElement)(en,(0,r.Z)({},l,{ref:f,disabled:n,onClick:(0,o.M)(e.onClick,()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(ee,{bubbles:!0,cancelable:!0});e.addEventListener(ee,e=>null==i?void 0:i(e),{once:!0}),(0,g.jH)(e,t),t.defaultPrevented?m.current=!1:d.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),m.current=!0},onPointerUp:(0,o.M)(e.onPointerUp,e=>{var t;m.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=""!==c.searchRef.current;!n&&(!t||" "!==e.key)&&x.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),en=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:i=!1,textValue:l,...s}=e,d=K(X,n),c=O(n),f=(0,a.useRef)(null),m=(0,u.e)(t,f),[p,h]=(0,a.useState)(!1),[v,b]=(0,a.useState)("");return(0,a.useEffect)(()=>{let e=f.current;if(e){var t;b((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[s.children]),(0,a.createElement)(P.ItemSlot,{scope:n,disabled:i,textValue:null!=l?l:v},(0,a.createElement)(y.ck,(0,r.Z)({asChild:!0},c,{focusable:!i}),(0,a.createElement)(g.WV.div,(0,r.Z)({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0},s,{ref:m,onPointerMove:(0,o.M)(e.onPointerMove,ex(e=>{i?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:(0,o.M)(e.onPointerLeave,ex(e=>d.onItemLeave(e))),onFocus:(0,o.M)(e.onFocus,()=>h(!0)),onBlur:(0,o.M)(e.onBlur,()=>h(!1))}))))}),er=(0,a.forwardRef)((e,t)=>{let{checked:n=!1,onCheckedChange:i,...u}=e;return(0,a.createElement)(es,{scope:e.__scopeMenu,checked:n},(0,a.createElement)(et,(0,r.Z)({role:"menuitemcheckbox","aria-checked":eD(n)?"mixed":n},u,{ref:t,"data-state":eE(n),onSelect:(0,o.M)(u.onSelect,()=>null==i?void 0:i(!!eD(n)||!n),{checkForDefaultPrevented:!1})})))}),[ea,eo]=F("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),ei=(0,a.forwardRef)((e,t)=>{let{value:n,onValueChange:o,...i}=e,u=(0,w.W)(o);return(0,a.createElement)(ea,{scope:e.__scopeMenu,value:n,onValueChange:u},(0,a.createElement)(Q,(0,r.Z)({},i,{ref:t})))}),eu=(0,a.forwardRef)((e,t)=>{let{value:n,...i}=e,u=eo("MenuRadioItem",e.__scopeMenu),l=n===u.value;return(0,a.createElement)(es,{scope:e.__scopeMenu,checked:l},(0,a.createElement)(et,(0,r.Z)({role:"menuitemradio","aria-checked":l},i,{ref:t,"data-state":eE(l),onSelect:(0,o.M)(i.onSelect,()=>{var e;return null===(e=u.onValueChange)||void 0===e?void 0:e.call(u,n)},{checkForDefaultPrevented:!1})})))}),el="MenuItemIndicator",[es,ed]=F(el,{checked:!1}),ec=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,forceMount:o,...i}=e,u=ed(el,n);return(0,a.createElement)(v.z,{present:o||eD(u.checked)||!0===u.checked},(0,a.createElement)(g.WV.span,(0,r.Z)({},i,{ref:t,"data-state":eE(u.checked)})))}),ef=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...o}=e;return(0,a.createElement)(g.WV.div,(0,r.Z)({role:"separator","aria-orientation":"horizontal"},o,{ref:t}))}),em=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...o}=e,i=_(n);return(0,a.createElement)(p.Eh,(0,r.Z)({},i,o,{ref:t}))}),ep="MenuSub",[eh,ev]=F(ep),eg="MenuSubTrigger",ey=(0,a.forwardRef)((e,t)=>{let n=I(eg,e.__scopeMenu),i=V(eg,e.__scopeMenu),l=ev(eg,e.__scopeMenu),s=K(eg,e.__scopeMenu),d=(0,a.useRef)(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:f}=s,m={__scopeMenu:e.__scopeMenu},p=(0,a.useCallback)(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return(0,a.useEffect)(()=>p,[p]),(0,a.useEffect)(()=>{let e=c.current;return()=>{window.clearTimeout(e),f(null)}},[c,f]),(0,a.createElement)($,(0,r.Z)({asChild:!0},m),(0,a.createElement)(en,(0,r.Z)({id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":ew(n.open)},e,{ref:(0,u.F)(t,l.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,o.M)(e.onPointerMove,ex(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||d.current||(s.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.M)(e.onPointerLeave,ex(e=>{var t,r;p();let a=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(a){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,o="right"===t,i=a[o?"left":"right"],u=a[o?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:i,y:a.top},{x:u,y:a.top},{x:u,y:a.bottom},{x:i,y:a.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.M)(e.onKeyDown,t=>{let r=""!==s.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&S[i.dir].includes(t.key)){var a;n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault()}})})))}),eb=(0,a.forwardRef)((e,t)=>{let n=z(Z,e.__scopeMenu),{forceMount:i=n.forceMount,...l}=e,s=I(Z,e.__scopeMenu),d=V(Z,e.__scopeMenu),c=ev("MenuSubContent",e.__scopeMenu),f=(0,a.useRef)(null),m=(0,u.e)(t,f);return(0,a.createElement)(P.Provider,{scope:e.__scopeMenu},(0,a.createElement)(v.z,{present:i||s.open},(0,a.createElement)(P.Slot,{scope:e.__scopeMenu},(0,a.createElement)(G,(0,r.Z)({id:c.contentId,"aria-labelledby":c.triggerId},l,{ref:m,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;d.isUsingKeyboardRef.current&&(null===(t=f.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,o.M)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=M[d.dir].includes(e.key);if(t&&n){var r;s.onOpenChange(!1),null===(r=c.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))});function ew(e){return e?"open":"closed"}function eD(e){return"indeterminate"===e}function eE(e){return eD(e)?"indeterminate":e?"checked":"unchecked"}function ex(e){return t=>"mouse"===t.pointerType?e(t):void 0}let eC=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:u=!0}=e,l=_(t),[d,c]=(0,a.useState)(null),f=(0,a.useRef)(!1),m=(0,w.W)(i),h=(0,s.gm)(o);return(0,a.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,a.createElement)(p.fC,l,(0,a.createElement)(N,{scope:t,open:n,onOpenChange:m,content:d,onContentChange:c},(0,a.createElement)(L,{scope:t,onClose:(0,a.useCallback)(()=>m(!1),[m]),isUsingKeyboardRef:f,dir:h,modal:u},r)))},ek=$,eS=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=I(j,t);return(0,a.createElement)(W,{scope:t,forceMount:n},(0,a.createElement)(v.z,{present:n||i.open},(0,a.createElement)(h.h,{asChild:!0,container:o},r)))},eM=H,eR=Q,eP=J,eT=et,eA=er,eF=ei,eB=eu,e_=ec,eO=ef,eN=em,eI=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=I(ep,t),u=_(t),[l,s]=(0,a.useState)(null),[d,c]=(0,a.useState)(null),f=(0,w.W)(o);return(0,a.useEffect)(()=>(!1===i.open&&f(!1),()=>f(!1)),[i.open,f]),(0,a.createElement)(p.fC,u,(0,a.createElement)(N,{scope:t,open:r,onOpenChange:f,content:d,onContentChange:c},(0,a.createElement)(eh,{scope:t,contentId:(0,m.M)(),triggerId:(0,m.M)(),trigger:l,onTriggerChange:s},n)))},eL=ey,eV=eb},53521:function(e,t,n){"use strict";n.d(t,{Ee:function(){return J},Rk:function(){return X},Tr:function(){return en},VY:function(){return H},Z0:function(){return et},ZA:function(){return Y},__:function(){return q},ck:function(){return G},fC:function(){return z},fF:function(){return er},h_:function(){return K},oC:function(){return Q},tu:function(){return ea},v2:function(){return Z},wU:function(){return ee},xz:function(){return U}});var r=n(63400),a=n(4470),o=n(48737),i=n(33975),u=n(72656),l=n(55473),s=n(55541),d=n(79976),c=n(16954),f=n(49658),m=n(19359),p=n(4703);let h="Menubar",[v,g,y]=(0,o.B)(h),[b,w]=(0,s.b)(h,[y,f.Pc]),D=(0,c.Wf)(),E=(0,f.Pc)(),[x,C]=b(h),k=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,value:o,onValueChange:u,defaultValue:l,loop:s=!0,dir:d,...c}=e,h=(0,i.gm)(d),g=E(n),[y="",b]=(0,p.T)({prop:o,onChange:u,defaultProp:l}),[w,D]=(0,a.useState)(null);return(0,a.createElement)(x,{scope:n,value:y,onMenuOpen:(0,a.useCallback)(e=>{b(e),D(e)},[b]),onMenuClose:(0,a.useCallback)(()=>b(""),[b]),onMenuToggle:(0,a.useCallback)(e=>{b(t=>t?"":e),D(e)},[b]),dir:h,loop:s},(0,a.createElement)(v.Provider,{scope:n},(0,a.createElement)(v.Slot,{scope:n},(0,a.createElement)(f.fC,(0,r.Z)({asChild:!0},g,{orientation:"horizontal",loop:s,dir:h,currentTabStopId:w,onCurrentTabStopIdChange:D}),(0,a.createElement)(m.WV.div,(0,r.Z)({role:"menubar"},c,{ref:t}))))))}),S="MenubarMenu",[M,R]=b(S),P="MenubarTrigger",T=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,disabled:o=!1,...i}=e,s=E(n),d=D(n),p=C(P,n),h=R(P,n),g=(0,a.useRef)(null),y=(0,l.e)(t,g,h.triggerRef),[b,w]=(0,a.useState)(!1),x=p.value===h.value;return(0,a.createElement)(v.ItemSlot,{scope:n,value:h.value,disabled:o},(0,a.createElement)(f.ck,(0,r.Z)({asChild:!0},s,{focusable:!o,tabStopId:h.value}),(0,a.createElement)(c.ee,(0,r.Z)({asChild:!0},d),(0,a.createElement)(m.WV.button,(0,r.Z)({type:"button",role:"menuitem",id:h.triggerId,"aria-haspopup":"menu","aria-expanded":x,"aria-controls":x?h.contentId:void 0,"data-highlighted":b?"":void 0,"data-state":x?"open":"closed","data-disabled":o?"":void 0,disabled:o},i,{ref:y,onPointerDown:(0,u.M)(e.onPointerDown,e=>{o||0!==e.button||!1!==e.ctrlKey||(p.onMenuOpen(h.value),x||e.preventDefault())}),onPointerEnter:(0,u.M)(e.onPointerEnter,()=>{if(p.value&&!x){var e;p.onMenuOpen(h.value),null===(e=g.current)||void 0===e||e.focus()}}),onKeyDown:(0,u.M)(e.onKeyDown,e=>{!o&&(["Enter"," "].includes(e.key)&&p.onMenuToggle(h.value),"ArrowDown"===e.key&&p.onMenuOpen(h.value),["Enter"," ","ArrowDown"].includes(e.key)&&(h.wasKeyboardTriggerOpenRef.current=!0,e.preventDefault()))}),onFocus:(0,u.M)(e.onFocus,()=>w(!0)),onBlur:(0,u.M)(e.onBlur,()=>w(!1))})))))}),A="MenubarContent",F=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,align:o="start",...i}=e,l=D(n),s=C(A,n),d=R(A,n),f=g(n),m=(0,a.useRef)(!1);return(0,a.createElement)(c.VY,(0,r.Z)({id:d.contentId,"aria-labelledby":d.triggerId,"data-radix-menubar-content":""},l,i,{ref:t,align:o,onCloseAutoFocus:(0,u.M)(e.onCloseAutoFocus,e=>{if(!s.value&&!m.current){var t;null===(t=d.triggerRef.current)||void 0===t||t.focus()}m.current=!1,e.preventDefault()}),onFocusOutside:(0,u.M)(e.onFocusOutside,e=>{let t=e.target;f().some(e=>{var n;return null===(n=e.ref.current)||void 0===n?void 0:n.contains(t)})&&e.preventDefault()}),onInteractOutside:(0,u.M)(e.onInteractOutside,()=>{m.current=!0}),onEntryFocus:e=>{d.wasKeyboardTriggerOpenRef.current||e.preventDefault()},onKeyDown:(0,u.M)(e.onKeyDown,e=>{if(["ArrowRight","ArrowLeft"].includes(e.key)){var t,n;let r=e.target,a=r.hasAttribute("data-radix-menubar-subtrigger"),o=r.closest("[data-radix-menubar-content]")!==e.currentTarget,i=("rtl"===s.dir?"ArrowRight":"ArrowLeft")===e.key;if(!i&&a||o&&i)return;let u=f().filter(e=>!e.disabled).map(e=>e.value);i&&u.reverse();let l=u.indexOf(d.value),[c]=u=s.loop?(t=u,n=l+1,t.map((e,r)=>t[(n+r)%t.length])):u.slice(l+1);c&&s.onMenuOpen(c)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),B=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.ZA,(0,r.Z)({},i,o,{ref:t}))}),_=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.__,(0,r.Z)({},i,o,{ref:t}))}),O=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.ck,(0,r.Z)({},i,o,{ref:t}))}),N=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.oC,(0,r.Z)({},i,o,{ref:t}))}),I=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.Ee,(0,r.Z)({},i,o,{ref:t}))}),L=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.Rk,(0,r.Z)({},i,o,{ref:t}))}),V=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.wU,(0,r.Z)({},i,o,{ref:t}))}),$=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.Z0,(0,r.Z)({},i,o,{ref:t}))}),j=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.fF,(0,r.Z)({"data-radix-menubar-subtrigger":""},i,o,{ref:t}))}),W=(0,a.forwardRef)((e,t)=>{let{__scopeMenubar:n,...o}=e,i=D(n);return(0,a.createElement)(c.tu,(0,r.Z)({},i,{"data-radix-menubar-content":""},o,{ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),z=k,Z=e=>{let{__scopeMenubar:t,value:n,...o}=e,i=(0,d.M)(),u=n||i||"LEGACY_REACT_AUTO_VALUE",l=C(S,t),s=D(t),f=(0,a.useRef)(null),m=(0,a.useRef)(!1),p=l.value===u;return(0,a.useEffect)(()=>{p||(m.current=!1)},[p]),(0,a.createElement)(M,{scope:t,value:u,triggerId:(0,d.M)(),triggerRef:f,contentId:(0,d.M)(),wasKeyboardTriggerOpenRef:m},(0,a.createElement)(c.fC,(0,r.Z)({},s,{open:p,onOpenChange:e=>{e||l.onMenuClose()},modal:!1,dir:l.dir},o)))},U=T,K=e=>{let{__scopeMenubar:t,...n}=e,o=D(t);return(0,a.createElement)(c.h_,(0,r.Z)({},o,n))},H=F,Y=B,q=_,G=O,Q=N,J=I,X=L,ee=V,et=$,en=e=>{let{__scopeMenubar:t,children:n,open:o,onOpenChange:i,defaultOpen:u}=e,l=D(t),[s=!1,d]=(0,p.T)({prop:o,defaultProp:u,onChange:i});return(0,a.createElement)(c.Tr,(0,r.Z)({},l,{open:s,onOpenChange:d}),n)},er=j,ea=W},75270:function(e,t,n){"use strict";n.d(t,{VY:function(){return eB},z$:function(){return eF},ck:function(){return eP},rU:function(){return eA},aV:function(){return eR},fC:function(){return eM},xz:function(){return eT},l_:function(){return e_}});var r,a=n(4470),o=n.t(a,2),i=n(41394),u=n(59356);function l(e,t=[]){let n=[],r=()=>{let t=n.map(e=>a.createContext(e));return function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=a.createContext(r),i=n.length;function l(t){let{scope:n,children:r,...l}=t,s=n?.[e][i]||o,d=a.useMemo(()=>l,Object.values(l));return(0,u.jsx)(s.Provider,{value:d,children:r})}return n=[...n,r],l.displayName=t+"Provider",[l,function(n,u){let l=u?.[e][i]||o,s=a.useContext(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let a=n(e)[`__scope${r}`];return{...t,...a}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}function s(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function d(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function c(...e){return a.useCallback(d(...e),e)}var f=a.forwardRef((e,t)=>{let{children:n,...r}=e,o=a.Children.toArray(n),i=o.find(h);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,u.jsx)(m,{...r,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,u.jsx)(m,{...r,ref:t,children:n})});f.displayName="Slot";var m=a.forwardRef((e,t)=>{let{children:n,...r}=e;if(a.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return a.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=(...e)=>{o(...e),a(...e)}:a&&(n[r]=a):"style"===r?n[r]={...a,...o}:"className"===r&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?d(t,i):i})}return a.Children.count(n)>1?a.Children.only(null):null});m.displayName="SlotClone";var p=({children:e})=>(0,u.jsx)(u.Fragment,{children:e});function h(e){return a.isValidElement(e)&&e.type===p}var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=a.forwardRef((e,n)=>{let{asChild:r,...a}=e,o=r?f:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(o,{...a,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function g(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}function y(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}function b({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=function({defaultProp:e,onChange:t}){let n=a.useState(e),[r]=n,o=a.useRef(r),i=y(t);return a.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,u=i?e:r,l=y(n);return[u,a.useCallback(t=>{if(i){let n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[i,e,o,l])]}var w=a.createContext(void 0),D=globalThis?.document?a.useLayoutEffect:()=>{},E=e=>{var t,n;let r,o;let{present:u,children:l}=e,s=function(e){var t,n;let[r,o]=a.useState(),u=a.useRef({}),l=a.useRef(e),s=a.useRef("none"),[d,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return a.useEffect(()=>{let e=x(u.current);s.current="mounted"===d?e:"none"},[d]),D(()=>{let t=u.current,n=l.current;if(n!==e){let r=s.current,a=x(t);e?c("MOUNT"):"none"===a||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==a?c("ANIMATION_OUT"):c("UNMOUNT"),l.current=e}},[e,c]),D(()=>{if(r){let e=e=>{let t=x(u.current).includes(e.animationName);e.target===r&&t&&i.flushSync(()=>c("ANIMATION_END"))},t=e=>{e.target===r&&(s.current=x(u.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:a.useCallback(e=>{e&&(u.current=getComputedStyle(e)),o(e)},[])}}(u),d="function"==typeof l?l({present:s.isPresent}):a.Children.only(l),f=c(s.ref,(r=null===(t=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning?d.ref:(r=null===(n=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof l||s.isPresent?a.cloneElement(d,{ref:f}):null};function x(e){return(null==e?void 0:e.animationName)||"none"}E.displayName="Presence";var C=o["useId".toString()]||(()=>void 0),k=0;function S(e){let[t,n]=a.useState(C());return D(()=>{e||n(e=>e??String(k++))},[e]),e||(t?`radix-${t}`:"")}function M(e){let t=e+"CollectionProvider",[n,r]=l(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=a.useRef(null),i=a.useRef(new Map).current;return(0,u.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};s.displayName=t;let d=e+"CollectionSlot",m=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,a=c(t,i(d,n).collectionRef);return(0,u.jsx)(f,{ref:a,children:r})});m.displayName=d;let p=e+"CollectionItemSlot",h="data-radix-collection-item",v=a.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,l=a.useRef(null),s=c(t,l),d=i(p,n);return a.useEffect(()=>(d.itemMap.set(l,{ref:l,...o}),()=>void d.itemMap.delete(l))),(0,u.jsx)(f,{[h]:"",ref:s,children:r})});return v.displayName=p,[{Provider:s,Slot:m,ItemSlot:v},function(t){let n=i(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var R="dismissableLayer.update",P=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T=a.forwardRef((e,t)=>{var n,o;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:p,...h}=e,g=a.useContext(P),[b,w]=a.useState(null),D=null!==(o=null==b?void 0:b.ownerDocument)&&void 0!==o?o:null===(n=globalThis)||void 0===n?void 0:n.document,[,E]=a.useState({}),x=c(t,e=>w(e)),C=Array.from(g.layers),[k]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),S=C.indexOf(k),M=b?C.indexOf(b):-1,T=g.layersWithOutsidePointerEventsDisabled.size>0,B=M>=S,_=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=y(e),o=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){F("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...g.branches].some(e=>e.contains(t));!B||n||(null==d||d(e),null==m||m(e),e.defaultPrevented||null==p||p())},D),O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=y(e),o=a.useRef(!1);return a.useEffect(()=>{let e=e=>{e.target&&!o.current&&F("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...g.branches].some(e=>e.contains(t))||(null==f||f(e),null==m||m(e),e.defaultPrevented||null==p||p())},D);return!function(e,t=globalThis?.document){let n=y(e);a.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{M!==g.layers.size-1||(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},D),a.useEffect(()=>{if(b)return i&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(r=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(b)),g.layers.add(b),A(),()=>{i&&1===g.layersWithOutsidePointerEventsDisabled.size&&(D.body.style.pointerEvents=r)}},[b,D,i,g]),a.useEffect(()=>()=>{b&&(g.layers.delete(b),g.layersWithOutsidePointerEventsDisabled.delete(b),A())},[b,g]),a.useEffect(()=>{let e=()=>E({});return document.addEventListener(R,e),()=>document.removeEventListener(R,e)},[]),(0,u.jsx)(v.div,{...h,ref:x,style:{pointerEvents:T?B?"auto":"none":void 0,...e.style},onFocusCapture:s(e.onFocusCapture,O.onFocusCapture),onBlurCapture:s(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:s(e.onPointerDownCapture,_.onPointerDownCapture)})});function A(){let e=new CustomEvent(R);document.dispatchEvent(e)}function F(e,t,n,r){let{discrete:a}=r,o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),a?g(o,i):o.dispatchEvent(i)}T.displayName="DismissableLayer",a.forwardRef((e,t)=>{let n=a.useContext(P),r=a.useRef(null),o=c(t,r);return a.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(v.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var B=a.forwardRef((e,t)=>(0,u.jsx)(v.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));B.displayName="VisuallyHidden";var _="NavigationMenu",[O,N,I]=M(_),[L,V,$]=M(_),[j,W]=l(_,[I,$]),[z,Z]=j(_),[U,K]=j(_),H=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:l=200,skipDelayDuration:s=300,orientation:d="horizontal",dir:f,...m}=e,[p,h]=a.useState(null),g=c(t,e=>h(e)),y=function(e){let t=a.useContext(w);return e||t||"ltr"}(f),D=a.useRef(0),E=a.useRef(0),x=a.useRef(0),[C,k]=a.useState(!0),[S="",M]=b({prop:r,onChange:e=>{let t=s>0;""!==e?(window.clearTimeout(x.current),t&&k(!1)):(window.clearTimeout(x.current),x.current=window.setTimeout(()=>k(!0),s)),null==o||o(e)},defaultProp:i}),R=a.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>M(""),150)},[M]),P=a.useCallback(e=>{window.clearTimeout(E.current),M(e)},[M]),T=a.useCallback(e=>{S===e?window.clearTimeout(E.current):D.current=window.setTimeout(()=>{window.clearTimeout(E.current),M(e)},l)},[S,M,l]);return a.useEffect(()=>()=>{window.clearTimeout(D.current),window.clearTimeout(E.current),window.clearTimeout(x.current)},[]),(0,u.jsx)(q,{scope:n,isRootMenu:!0,value:S,dir:y,orientation:d,rootNavigationMenu:p,onTriggerEnter:e=>{window.clearTimeout(D.current),C?T(e):P(e)},onTriggerLeave:()=>{window.clearTimeout(D.current),R()},onContentEnter:()=>window.clearTimeout(E.current),onContentLeave:R,onItemSelect:e=>{M(t=>t===e?"":e)},onItemDismiss:()=>M(""),children:(0,u.jsx)(v.nav,{"aria-label":"Main","data-orientation":d,dir:y,...m,ref:g})})});H.displayName=_;var Y="NavigationMenuSub";a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",...l}=e,s=Z(Y,n),[d="",c]=b({prop:r,onChange:a,defaultProp:o});return(0,u.jsx)(q,{scope:n,isRootMenu:!1,value:d,dir:s.dir,orientation:i,rootNavigationMenu:s.rootNavigationMenu,onTriggerEnter:e=>c(e),onItemSelect:e=>c(e),onItemDismiss:()=>c(""),children:(0,u.jsx)(v.div,{"data-orientation":i,...l,ref:t})})}).displayName=Y;var q=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:l,value:s,onItemSelect:d,onItemDismiss:c,onTriggerEnter:f,onTriggerLeave:m,onContentEnter:p,onContentLeave:h}=e,[v,g]=a.useState(null),[b,w]=a.useState(new Map),[D,E]=a.useState(null);return(0,u.jsx)(z,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:function(e){let t=a.useRef({value:e,previous:e});return a.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(s),baseId:S(),dir:o,orientation:i,viewport:v,onViewportChange:g,indicatorTrack:D,onIndicatorTrackChange:E,onTriggerEnter:y(f),onTriggerLeave:y(m),onContentEnter:y(p),onContentLeave:y(h),onItemSelect:y(d),onItemDismiss:y(c),onViewportContentChange:a.useCallback((e,t)=>{w(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:a.useCallback(e=>{w(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,u.jsx)(O.Provider,{scope:t,children:(0,u.jsx)(U,{scope:t,items:b,children:l})})})},G="NavigationMenuList",Q=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,a=Z(G,n),o=(0,u.jsx)(v.ul,{"data-orientation":a.orientation,...r,ref:t});return(0,u.jsx)(v.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,u.jsx)(O.Slot,{scope:n,children:a.isRootMenu?(0,u.jsx)(eg,{asChild:!0,children:o}):o})})});Q.displayName=G;var J="NavigationMenuItem",[X,ee]=j(J),et=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,...o}=e,i=S(),l=a.useRef(null),s=a.useRef(null),d=a.useRef(null),c=a.useRef(()=>{}),f=a.useRef(!1),m=a.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(l.current){c.current();let t=ew(l.current);t.length&&eD("start"===e?t:t.reverse())}},[]),p=a.useCallback(()=>{if(l.current){let e=ew(l.current);e.length&&(c.current=(e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}))}},[]);return(0,u.jsx)(X,{scope:n,value:r||i||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:l,focusProxyRef:d,wasEscapeCloseRef:f,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:p,onContentFocusOutside:p,children:(0,u.jsx)(v.li,{...o,ref:t})})});et.displayName=J;var en="NavigationMenuTrigger",er=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Z(en,e.__scopeNavigationMenu),l=ee(en,e.__scopeNavigationMenu),d=a.useRef(null),f=c(d,l.triggerRef,t),m=eC(i.baseId,l.value),p=ek(i.baseId,l.value),h=a.useRef(!1),g=a.useRef(!1),y=l.value===i.value;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(O.ItemSlot,{scope:n,value:l.value,children:(0,u.jsx)(eb,{asChild:!0,children:(0,u.jsx)(v.button,{id:m,disabled:r,"data-disabled":r?"":void 0,"data-state":ex(y),"aria-expanded":y,"aria-controls":p,...o,ref:f,onPointerEnter:s(e.onPointerEnter,()=>{g.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:s(e.onPointerMove,eS(()=>{r||g.current||l.wasEscapeCloseRef.current||h.current||(i.onTriggerEnter(l.value),h.current=!0)})),onPointerLeave:s(e.onPointerLeave,eS(()=>{r||(i.onTriggerLeave(),h.current=!1)})),onClick:s(e.onClick,()=>{i.onItemSelect(l.value),g.current=y}),onKeyDown:s(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===i.dir?"ArrowLeft":"ArrowRight"}[i.orientation];y&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),y&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(B,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===d.current,a=null==t?void 0:t.contains(n);(r||!a)&&l.onFocusProxyEnter(r?"start":"end")}}),i.viewport&&(0,u.jsx)("span",{"aria-owns":p})]})]})});er.displayName=en;var ea="navigationMenu.linkSelect",eo=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:a,...o}=e;return(0,u.jsx)(eb,{asChild:!0,children:(0,u.jsx)(v.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...o,ref:t,onClick:s(e.onClick,e=>{let t=e.target,n=new CustomEvent(ea,{bubbles:!0,cancelable:!0});t.addEventListener(ea,e=>null==a?void 0:a(e),{once:!0}),g(t,n),n.defaultPrevented||e.metaKey||g(t,new CustomEvent(ef,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})});eo.displayName="NavigationMenuLink";var ei="NavigationMenuIndicator",eu=a.forwardRef((e,t)=>{let{forceMount:n,...r}=e,a=Z(ei,e.__scopeNavigationMenu),o=!!a.value;return a.indicatorTrack?i.createPortal((0,u.jsx)(E,{present:n||o,children:(0,u.jsx)(el,{...r,ref:t})}),a.indicatorTrack):null});eu.displayName=ei;var el=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=Z(ei,n),i=N(n),[l,s]=a.useState(null),[d,c]=a.useState(null),f="horizontal"===o.orientation,m=!!o.value;a.useEffect(()=>{var e;let t=null===(e=i().find(e=>e.value===o.value))||void 0===e?void 0:e.ref.current;t&&s(t)},[i,o.value]);let p=()=>{l&&c({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return eE(l,p),eE(o.indicatorTrack,p),d?(0,u.jsx)(v.div,{"aria-hidden":!0,"data-state":m?"visible":"hidden","data-orientation":o.orientation,...r,ref:t,style:{position:"absolute",...f?{left:0,width:d.size+"px",transform:"translateX(".concat(d.offset,"px)")}:{top:0,height:d.size+"px",transform:"translateY(".concat(d.offset,"px)")},...r.style}}):null}),es="NavigationMenuContent",ed=a.forwardRef((e,t)=>{let{forceMount:n,...r}=e,a=Z(es,e.__scopeNavigationMenu),o=ee(es,e.__scopeNavigationMenu),i=c(o.contentRef,t),l=o.value===a.value,d={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...r};return a.viewport?(0,u.jsx)(ec,{forceMount:n,...d,ref:i}):(0,u.jsx)(E,{present:n||l,children:(0,u.jsx)(em,{"data-state":ex(l),...d,ref:i,onPointerEnter:s(e.onPointerEnter,a.onContentEnter),onPointerLeave:s(e.onPointerLeave,eS(a.onContentLeave)),style:{pointerEvents:!l&&a.isRootMenu?"none":void 0,...d.style}})})});ed.displayName=es;var ec=a.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=Z(es,e.__scopeNavigationMenu);return D(()=>{n(e.value,{ref:t,...e})},[e,t,n]),D(()=>()=>r(e.value),[e.value,r]),null}),ef="navigationMenu.rootContentDismiss",em=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:l,onRootContentClose:d,onContentFocusOutside:f,...m}=e,p=Z(es,n),h=a.useRef(null),v=c(h,t),g=eC(p.baseId,r),y=ek(p.baseId,r),b=N(n),w=a.useRef(null),{onItemDismiss:D}=p;a.useEffect(()=>{let e=h.current;if(p.isRootMenu&&e){let t=()=>{var t;D(),d(),e.contains(document.activeElement)&&(null===(t=o.current)||void 0===t||t.focus())};return e.addEventListener(ef,t),()=>e.removeEventListener(ef,t)}},[p.isRootMenu,e.value,o,D,d]);let E=a.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),a=r===p.value,o=n===e.indexOf(r);if(!a&&!o)return w.current;let i=(()=>{if(t!==n){if(a&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return w.current=i,i},[p.previousValue,p.value,p.dir,b,r]);return(0,u.jsx)(eg,{asChild:!0,children:(0,u.jsx)(T,{id:y,"aria-labelledby":g,"data-motion":E,"data-orientation":p.orientation,...m,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(ef,{bubbles:!0,cancelable:!0});null===(e=h.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:s(e.onFocusOutside,e=>{var t;f();let n=e.target;(null===(t=p.rootNavigationMenu)||void 0===t?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:s(e.onPointerDownOutside,e=>{var t;let n=e.target,r=b().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(n)}),a=p.isRootMenu&&(null===(t=p.viewport)||void 0===t?void 0:t.contains(n));(r||a||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:s(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ew(e.currentTarget),r=document.activeElement,a=t.findIndex(e=>e===r);if(eD(e.shiftKey?t.slice(0,a).reverse():t.slice(a+1,t.length)))e.preventDefault();else{var n;null===(n=i.current)||void 0===n||n.focus()}}}),onEscapeKeyDown:s(e.onEscapeKeyDown,e=>{l.current=!0})})})}),ep="NavigationMenuViewport",eh=a.forwardRef((e,t)=>{let{forceMount:n,...r}=e,a=!!Z(ep,e.__scopeNavigationMenu).value;return(0,u.jsx)(E,{present:n||a,children:(0,u.jsx)(ev,{...r,ref:t})})});eh.displayName=ep;var ev=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:r,...o}=e,i=Z(ep,n),l=c(t,i.onViewportChange),f=K(es,e.__scopeNavigationMenu),[m,p]=a.useState(null),[h,g]=a.useState(null),y=m?(null==m?void 0:m.width)+"px":void 0,b=m?(null==m?void 0:m.height)+"px":void 0,w=!!i.value,D=w?i.value:i.previousValue;return eE(h,()=>{h&&p({width:h.offsetWidth,height:h.offsetHeight})}),(0,u.jsx)(v.div,{"data-state":ex(w),"data-orientation":i.orientation,...o,ref:l,style:{pointerEvents:!w&&i.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":y,"--radix-navigation-menu-viewport-height":b,...o.style},onPointerEnter:s(e.onPointerEnter,i.onContentEnter),onPointerLeave:s(e.onPointerLeave,eS(i.onContentLeave)),children:Array.from(f.items).map(e=>{let[t,{ref:n,forceMount:r,...a}]=e,o=D===t;return(0,u.jsx)(E,{present:r||o,children:(0,u.jsx)(em,{...a,ref:d(n,e=>{o&&e&&g(e)})})},t)})})}),eg=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,a=Z("FocusGroup",n);return(0,u.jsx)(L.Provider,{scope:n,children:(0,u.jsx)(L.Slot,{scope:n,children:(0,u.jsx)(v.div,{dir:a.dir,...r,ref:t})})})}),ey=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eb=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,a=V(n),o=Z("FocusGroupItem",n);return(0,u.jsx)(L.ItemSlot,{scope:n,children:(0,u.jsx)(v.button,{...r,ref:t,onKeyDown:s(e.onKeyDown,e=>{if(["Home","End",...ey].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ey.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eD(t)),e.preventDefault()}})})})});function ew(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 eD(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function eE(e,t){let n=y(t);D(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function ex(e){return e?"open":"closed"}function eC(e,t){return"".concat(e,"-trigger-").concat(t)}function ek(e,t){return"".concat(e,"-content-").concat(t)}function eS(e){return t=>"mouse"===t.pointerType?e(t):void 0}var eM=H,eR=Q,eP=et,eT=er,eA=eo,eF=eu,eB=ed,e_=eh},55084:function(e,t,n){"use strict";n.d(t,{VY:function(){return V},fC:function(){return N},h_:function(){return L},xz:function(){return I}});var r=n(53097),a=n(4470),o=n(72656),i=n(55473),u=n(55541),l=n(75446),s=n(52822),d=n(92980),c=n(79976),f=n(90069),m=n(89300),p=n(46299),h=n(19359),v=n(62909),g=n(4703),y=n(54131),b=n(85859);let w="Popover",[D,E]=(0,u.b)(w,[f.D7]),x=(0,f.D7)(),[C,k]=D(w),S=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...u}=e,l=k("PopoverTrigger",n),s=x(n),d=(0,i.e)(t,l.triggerRef),c=(0,a.createElement)(h.WV.button,(0,r.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":O(l.open)},u,{ref:d,onClick:(0,o.M)(e.onClick,l.onOpenToggle)}));return l.hasCustomAnchor?c:(0,a.createElement)(f.ee,(0,r.Z)({asChild:!0},s),c)}),M="PopoverPortal",[R,P]=D(M,{forceMount:void 0}),T="PopoverContent",A=(0,a.forwardRef)((e,t)=>{let n=P(T,e.__scopePopover),{forceMount:o=n.forceMount,...i}=e,u=k(T,e.__scopePopover);return(0,a.createElement)(p.z,{present:o||u.open},u.modal?(0,a.createElement)(F,(0,r.Z)({},i,{ref:t})):(0,a.createElement)(B,(0,r.Z)({},i,{ref:t})))}),F=(0,a.forwardRef)((e,t)=>{let n=k(T,e.__scopePopover),u=(0,a.useRef)(null),l=(0,i.e)(t,u),s=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=u.current;if(e)return(0,y.Ry)(e)},[]),(0,a.createElement)(b.Z,{as:v.g7,allowPinchZoom:!0},(0,a.createElement)(_,(0,r.Z)({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),s.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;s.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),B=(0,a.forwardRef)((e,t)=>{let n=k(T,e.__scopePopover),o=(0,a.useRef)(!1),i=(0,a.useRef)(!1);return(0,a.createElement)(_,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let u=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),_=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:u,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:v,...g}=e,y=k(T,n),b=x(n);return(0,s.EW)(),(0,a.createElement)(d.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:u},(0,a.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:v,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1)},(0,a.createElement)(f.VY,(0,r.Z)({"data-state":O(y.open),role:"dialog",id:y.contentId},b,g,{ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function O(e){return e?"open":"closed"}let N=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:u=!1}=e,l=x(t),s=(0,a.useRef)(null),[d,m]=(0,a.useState)(!1),[p=!1,h]=(0,g.T)({prop:r,defaultProp:o,onChange:i});return(0,a.createElement)(f.fC,l,(0,a.createElement)(C,{scope:t,contentId:(0,c.M)(),triggerRef:s,open:p,onOpenChange:h,onOpenToggle:(0,a.useCallback)(()=>h(e=>!e),[h]),hasCustomAnchor:d,onCustomAnchorAdd:(0,a.useCallback)(()=>m(!0),[]),onCustomAnchorRemove:(0,a.useCallback)(()=>m(!1),[]),modal:u},n))},I=S,L=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=k(M,t);return(0,a.createElement)(R,{scope:t,forceMount:n},(0,a.createElement)(p.z,{present:n||i.open},(0,a.createElement)(m.h,{asChild:!0,container:o},r)))},V=A},90069:function(e,t,n){"use strict";n.d(t,{ee:function(){return e_},Eh:function(){return eN},VY:function(){return eO},fC:function(){return eB},D7:function(){return ew}});var r=n(53097),a=n(4470);let o=["top","right","bottom","left"],i=Math.min,u=Math.max,l=Math.round,s=Math.floor,d=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function m(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(p(e))?"y":"x"}function b(e){return e.replace(/start|end/g,e=>f[e])}function w(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function D(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function x(e,t,n){let r,{reference:a,floating:o}=e,i=y(t),u=v(y(t)),l=g(u),s=p(t),d="y"===i,c=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,m=a[l]/2-o[l]/2;switch(s){case"top":r={x:c,y:a.y-o.height};break;case"bottom":r={x:c,y:a.y+a.height};break;case"right":r={x:a.x+a.width,y:f};break;case"left":r={x:a.x-o.width,y:f};break;default:r={x:a.x,y:a.y}}switch(h(t)){case"start":r[u]-=m*(n&&d?-1:1);break;case"end":r[u]+=m*(n&&d?-1:1)}return r}let C=async(e,t,n)=>{let{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,u=o.filter(Boolean),l=await (null==i.isRTL?void 0:i.isRTL(t)),s=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:c}=x(s,r,l),f=r,m={},p=0;for(let n=0;n<u.length;n++){let{name:o,fn:h}=u[n],{x:v,y:g,data:y,reset:b}=await h({x:d,y:c,initialPlacement:r,placement:f,strategy:a,middlewareData:m,rects:s,platform:i,elements:{reference:e,floating:t}});if(d=null!=v?v:d,c=null!=g?g:c,m={...m,[o]:{...m[o],...y}},b&&p<=50){p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(s=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):b.rects),{x:d,y:c}=x(s,f,l)),n=-1;continue}}return{x:d,y:c,placement:f,strategy:a,middlewareData:m}};async function k(e,t){var n;void 0===t&&(t={});let{x:r,y:a,platform:o,rects:i,elements:u,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:f=!1,padding:p=0}=m(t,e),h=D(p),v=u[f?"floating"===c?"reference":"floating":c],g=E(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(u.floating)),boundary:s,rootBoundary:d,strategy:l})),y="floating"===c?{...i.floating,x:r,y:a}:i.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u.floating)),w=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=E(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:b,strategy:l}):y);return{top:(g.top-x.top+h.top)/w.y,bottom:(x.bottom-g.bottom+h.bottom)/w.y,left:(g.left-x.left+h.left)/w.x,right:(x.right-g.right+h.right)/w.x}}let S=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:a,rects:o,platform:l,elements:s,middlewareData:d}=t,{element:c,padding:f=0}=m(e,t)||{};if(null==c)return{};let p=D(f),b={x:n,y:r},w=v(y(a)),E=g(w),x=await l.getDimensions(c),C="y"===w,k=C?"clientHeight":"clientWidth",S=o.reference[E]+o.reference[w]-b[w]-o.floating[E],M=b[w]-o.reference[w],R=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),P=R?R[k]:0;P&&await (null==l.isElement?void 0:l.isElement(R))||(P=s.floating[k]||o.floating[E]);let T=P/2-x[E]/2-1,A=i(p[C?"top":"left"],T),F=i(p[C?"bottom":"right"],T),B=P-x[E]-F,_=P/2-x[E]/2+(S/2-M/2),O=u(A,i(_,B)),N=!d.arrow&&null!=h(a)&&_!=O&&o.reference[E]/2-(_<A?A:F)-x[E]/2<0,I=N?_<A?_-A:_-B:0;return{[w]:b[w]+I,data:{[w]:O,centerOffset:_-O-I,...N&&{alignmentOffset:I}},reset:N}}});function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return o.some(t=>e[t]>=0)}async function P(e,t){let{placement:n,platform:r,elements:a}=e,o=await (null==r.isRTL?void 0:r.isRTL(a.floating)),i=p(n),u=h(n),l="y"===y(n),s=["left","top"].includes(i)?-1:1,d=o&&l?-1:1,c=m(t,e),{mainAxis:f,crossAxis:v,alignmentAxis:g}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return u&&"number"==typeof g&&(v="end"===u?-1*g:g),l?{x:v*d,y:f*s}:{x:f*s,y:v*d}}function T(e){return B(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(B(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function B(e){return e instanceof Node||e instanceof A(e).Node}function _(e){return e instanceof Element||e instanceof A(e).Element}function O(e){return e instanceof HTMLElement||e instanceof A(e).HTMLElement}function N(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}function I(e){let{overflow:t,overflowX:n,overflowY:r,display:a}=j(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function L(e){let t=V(),n=j(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 V(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function $(e){return["html","body","#document"].includes(T(e))}function j(e){return A(e).getComputedStyle(e)}function W(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function z(e){if("html"===T(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||F(e);return N(t)?t.host:t}function Z(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let a=function e(t){let n=z(t);return $(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&I(n)?n:e(n)}(e),o=a===(null==(r=e.ownerDocument)?void 0:r.body),i=A(a);return o?t.concat(i,i.visualViewport||[],I(a)?a:[],i.frameElement&&n?Z(i.frameElement):[]):t.concat(a,Z(a,[],n))}function U(e){let t=j(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,a=O(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,u=l(n)!==o||l(r)!==i;return u&&(n=o,r=i),{width:n,height:r,$:u}}function K(e){return _(e)?e:e.contextElement}function H(e){let t=K(e);if(!O(t))return d(1);let n=t.getBoundingClientRect(),{width:r,height:a,$:o}=U(t),i=(o?l(n.width):n.width)/r,u=(o?l(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),u&&Number.isFinite(u)||(u=1),{x:i,y:u}}let Y=d(0);function q(e){let t=A(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Y}function G(e,t,n,r){var a;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),i=K(e),u=d(1);t&&(r?_(r)&&(u=H(r)):u=H(e));let l=(void 0===(a=n)&&(a=!1),r&&(!a||r===A(i))&&a)?q(i):d(0),s=(o.left+l.x)/u.x,c=(o.top+l.y)/u.y,f=o.width/u.x,m=o.height/u.y;if(i){let e=A(i),t=r&&_(r)?A(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=H(n),t=n.getBoundingClientRect(),r=j(n),a=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,f*=e.x,m*=e.y,s+=a,c+=o,n=A(n).frameElement}}return E({width:f,height:m,x:s,y:c})}function Q(e){return G(F(e)).left+W(e).scrollLeft}function J(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=A(e),r=F(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,u=0,l=0;if(a){o=a.width,i=a.height;let e=V();(!e||e&&"fixed"===t)&&(u=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:u,y:l}}(e,n);else if("document"===t)r=function(e){let t=F(e),n=W(e),r=e.ownerDocument.body,a=u(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=u(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-n.scrollLeft+Q(e),l=-n.scrollTop;return"rtl"===j(r).direction&&(i+=u(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:i,y:l}}(F(e));else if(_(t))r=function(e,t){let n=G(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=O(e)?H(e):d(1),i=e.clientWidth*o.x;return{width:i,height:e.clientHeight*o.y,x:a*o.x,y:r*o.y}}(t,n);else{let n=q(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return E(r)}function X(e,t){return O(e)&&"fixed"!==j(e).position?t?t(e):e.offsetParent:null}function ee(e,t){let n=A(e);if(!O(e))return n;let r=X(e,t);for(;r&&["table","td","th"].includes(T(r))&&"static"===j(r).position;)r=X(r,t);return r&&("html"===T(r)||"body"===T(r)&&"static"===j(r).position&&!L(r))?n:r||function(e){let t=z(e);for(;O(t)&&!$(t);){if(L(t))return t;t=z(t)}return null}(e)||n}let et=async function(e){let{reference:t,floating:n,strategy:r}=e,a=this.getOffsetParent||ee,o=this.getDimensions;return{reference:function(e,t,n){let r=O(t),a=F(t),o="fixed"===n,i=G(e,!0,o,t),u={scrollLeft:0,scrollTop:0},l=d(0);if(r||!r&&!o){if(("body"!==T(t)||I(a))&&(u=W(t)),r){let e=G(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&(l.x=Q(a))}return{x:i.left+u.scrollLeft-l.x,y:i.top+u.scrollTop-l.y,width:i.width,height:i.height}}(t,await a(n),r),floating:{x:0,y:0,...await o(n)}}},en={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,a=O(n),o=F(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},u=d(1),l=d(0);if((a||!a&&"fixed"!==r)&&(("body"!==T(n)||I(o))&&(i=W(n)),O(n))){let e=G(n);u=H(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-i.scrollLeft*u.x+l.x,y:t.y*u.y-i.scrollTop*u.y+l.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,o=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=Z(e,[],!1).filter(e=>_(e)&&"body"!==T(e)),a=null,o="fixed"===j(e).position,i=o?z(e):e;for(;_(i)&&!$(i);){let t=j(i),n=L(i);n||"fixed"!==t.position||(a=null),(o?!n&&!a:!n&&"static"===t.position&&!!a&&["absolute","fixed"].includes(a.position)||I(i)&&!n&&function e(t,n){let r=z(t);return!(r===n||!_(r)||$(r))&&("fixed"===j(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):a=t,i=z(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=o[0],s=o.reduce((e,n)=>{let r=J(t,n,a);return e.top=u(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=u(r.left,e.left),e},J(t,l,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ee,getElementRects:et,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return U(e)},getScale:H,isElement:_,isRTL:function(e){return"rtl"===j(e).direction}},er=(e,t,n)=>{let r=new Map,a={platform:en,...n},o={...a.platform,_c:r};return C(e,t,{...a,platform:o})};var ea=n(41394);let eo=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;if(n&&({}).hasOwnProperty.call(n,"current")){if(null!=n.current)return S({element:n.current,padding:r}).fn(t)}else if(n)return S({element:n,padding:r}).fn(t);return{}}});var ei="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function eu(e,t){let n,r,a;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(!eu(e[r],t[r]))return!1;return!0}if((n=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!=r--;){let n=a[r];if(("_owner"!==n||!e.$$typeof)&&!eu(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function el(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function es(e,t){let n=el(e);return Math.round(t*n)/n}function ed(e){let t=a.useRef(e);return ei(()=>{t.current=e}),t}var ec=n(19359);let ef=(0,a.forwardRef)((e,t)=>{let{children:n,width:o=10,height:i=5,...u}=e;return(0,a.createElement)(ec.WV.svg,(0,r.Z)({},u,{ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,a.createElement)("polygon",{points:"0,0 30,0 15,10"}))});var em=n(55473),ep=n(55541),eh=n(19401),ev=n(69328),eg=n(43381);let ey="Popper",[eb,ew]=(0,ep.b)(ey),[eD,eE]=eb(ey),ex=(0,a.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,u=eE("PopperAnchor",n),l=(0,a.useRef)(null),s=(0,em.e)(t,l);return(0,a.useEffect)(()=>{u.onAnchorChange((null==o?void 0:o.current)||l.current)}),o?null:(0,a.createElement)(ec.WV.div,(0,r.Z)({},i,{ref:s}))}),eC="PopperContent",[ek,eS]=eb(eC),eM=(0,a.forwardRef)((e,t)=>{var n,o,l,d,c,f,D,E,x,C,S,T,A,B;let{__scopePopper:_,side:O="bottom",sideOffset:N=0,align:I="center",alignOffset:L=0,arrowPadding:V=0,avoidCollisions:$=!0,collisionBoundary:j=[],collisionPadding:W=0,sticky:z="partial",hideWhenDetached:U=!1,updatePositionStrategy:H="optimized",onPlaced:Y,...q}=e,Q=eE(eC,_),[J,X]=(0,a.useState)(null),ee=(0,em.e)(t,e=>X(e)),[et,en]=(0,a.useState)(null),ef=(0,eg.t)(et),ep=null!==(n=null==ef?void 0:ef.width)&&void 0!==n?n:0,ey=null!==(o=null==ef?void 0:ef.height)&&void 0!==o?o:0,eb="number"==typeof W?W:{top:0,right:0,bottom:0,left:0,...W},ew=Array.isArray(j)?j:[j],eD=ew.length>0,ex={padding:eb,boundary:ew.filter(eT),altBoundary:eD},{refs:eS,floatingStyles:eM,placement:eR,isPositioned:eP,middlewareData:eB}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:u}={},transform:l=!0,whileElementsMounted:s,open:d}=e,[c,f]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=a.useState(r);eu(m,r)||p(r);let[h,v]=a.useState(null),[g,y]=a.useState(null),b=a.useCallback(e=>{e!=x.current&&(x.current=e,v(e))},[v]),w=a.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[y]),D=i||h,E=u||g,x=a.useRef(null),C=a.useRef(null),k=a.useRef(c),S=ed(s),M=ed(o),R=a.useCallback(()=>{if(!x.current||!C.current)return;let e={placement:t,strategy:n,middleware:m};M.current&&(e.platform=M.current),er(x.current,C.current,e).then(e=>{let t={...e,isPositioned:!0};P.current&&!eu(k.current,t)&&(k.current=t,ea.flushSync(()=>{f(t)}))})},[m,t,n,M]);ei(()=>{!1===d&&k.current.isPositioned&&(k.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[d]);let P=a.useRef(!1);ei(()=>(P.current=!0,()=>{P.current=!1}),[]),ei(()=>{if(D&&(x.current=D),E&&(C.current=E),D&&E){if(S.current)return S.current(D,E,R);R()}},[D,E,R,S]);let T=a.useMemo(()=>({reference:x,floating:C,setReference:b,setFloating:w}),[b,w]),A=a.useMemo(()=>({reference:D,floating:E}),[D,E]),F=a.useMemo(()=>{let e={position:n,left:0,top:0};if(!A.floating)return e;let t=es(A.floating,c.x),r=es(A.floating,c.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...el(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,A.floating,c.x,c.y]);return a.useMemo(()=>({...c,update:R,refs:T,elements:A,floatingStyles:F}),[c,R,T,A,F])}({strategy:"fixed",placement:O+("center"!==I?"-"+I:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let a;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,m=K(e),p=o||l?[...m?Z(m):[],...Z(t)]:[];p.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let h=m&&c?function(e,t){let n,r=null,a=F(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}return!function l(d,c){void 0===d&&(d=!1),void 0===c&&(c=1),o();let{left:f,top:m,width:p,height:h}=e.getBoundingClientRect();if(d||t(),!p||!h)return;let v=s(m),g=s(a.clientWidth-(f+p)),y={rootMargin:-v+"px "+-g+"px "+-s(a.clientHeight-(m+h))+"px "+-s(f)+"px",threshold:u(0,i(1,c))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==c){if(!b)return l();t?l(!1,t):n=setTimeout(()=>{l(!1,1e-7)},100)}b=!1}try{r=new IntersectionObserver(w,{...y,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),o}(m,n):null,v=-1,g=null;d&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{g&&g.observe(t)})),n()}),m&&!f&&g.observe(m),g.observe(t));let y=f?G(e):null;return f&&function t(){let r=G(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,a=requestAnimationFrame(t)}(),n(),()=>{p.forEach(e=>{o&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),h&&h(),g&&g.disconnect(),g=null,f&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===H}),elements:{reference:Q.anchor},middleware:[{name:"offset",options:x={mainAxis:N+ey,alignmentAxis:L},async fn(e){let{x:t,y:n}=e,r=await P(e,x);return{x:t+r.x,y:n+r.y,data:r}}},$&&{name:"shift",options:S={mainAxis:!0,crossAxis:!1,limiter:"partial"===z?(void 0===C&&(C={}),{options:C,fn(e){let{x:t,y:n,placement:r,rects:a,middlewareData:o}=e,{offset:i=0,mainAxis:u=!0,crossAxis:l=!0}=m(C,e),s={x:t,y:n},d=y(r),c=v(d),f=s[c],h=s[d],g=m(i,e),b="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){let e="y"===c?"height":"width",t=a.reference[c]-a.floating[e]+b.mainAxis,n=a.reference[c]+a.reference[e]-b.mainAxis;f<t?f=t:f>n&&(f=n)}if(l){var w,D;let e="y"===c?"width":"height",t=["top","left"].includes(p(r)),n=a.reference[d]-a.floating[e]+(t&&(null==(w=o.offset)?void 0:w[d])||0)+(t?0:b.crossAxis),i=a.reference[d]+a.reference[e]+(t?0:(null==(D=o.offset)?void 0:D[d])||0)-(t?b.crossAxis:0);h<n?h=n:h>i&&(h=i)}return{[c]:f,[d]:h}}}):void 0,...ex},async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:a=!0,crossAxis:o=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=m(S,e),d={x:t,y:n},c=await k(e,s),f=y(p(r)),h=v(f),g=d[h],b=d[f];if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=g+c[e],r=g-c[t];g=u(n,i(g,r))}if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=b+c[e],r=b-c[t];b=u(n,i(b,r))}let w=l.fn({...e,[h]:g,[f]:b});return{...w,data:{x:w.x-t,y:w.y-n}}}},$&&{name:"flip",options:T={...ex},async fn(e){var t,n,r,a,o;let{placement:i,middlewareData:u,rects:l,initialPlacement:s,platform:d,elements:c}=e,{mainAxis:f=!0,crossAxis:D=!0,fallbackPlacements:E,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:S=!0,...M}=m(T,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let R=p(i),P=p(s)===s,A=await (null==d.isRTL?void 0:d.isRTL(c.floating)),F=E||(P||!S?[w(s)]:function(e){let t=w(e);return[b(e),t,b(t)]}(s));E||"none"===C||F.push(...function(e,t,n,r){let a=h(e),o=function(e,t,n){let r=["left","right"],a=["right","left"];switch(e){case"top":case"bottom":if(n)return t?a:r;return t?r:a;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(p(e),"start"===n,r);return a&&(o=o.map(e=>e+"-"+a),t&&(o=o.concat(o.map(b)))),o}(s,S,C,A));let B=[s,...F],_=await k(e,M),O=[],N=(null==(n=u.flip)?void 0:n.overflows)||[];if(f&&O.push(_[R]),D){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),a=v(y(e)),o=g(a),i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=w(i)),[i,w(i)]}(i,l,A);O.push(_[e[0]],_[e[1]])}if(N=[...N,{placement:i,overflows:O}],!O.every(e=>e<=0)){let e=((null==(r=u.flip)?void 0:r.index)||0)+1,t=B[e];if(t)return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(a=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(x){case"bestFit":{let e=null==(o=N.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:o[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}},{name:"size",options:A={...ex,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:a,height:o}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${n}px`),i.setProperty("--radix-popper-available-height",`${r}px`),i.setProperty("--radix-popper-anchor-width",`${a}px`),i.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){let t,n;let{placement:r,rects:a,platform:o,elements:l}=e,{apply:s=()=>{},...d}=m(A,e),c=await k(e,d),f=p(r),v=h(r),g="y"===y(r),{width:b,height:w}=a.floating;"top"===f||"bottom"===f?(t=f,n=v===(await (null==o.isRTL?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(n=f,t="end"===v?"top":"bottom");let D=w-c[t],E=b-c[n],x=!e.middlewareData.shift,C=D,S=E;if(g){let e=b-c.left-c.right;S=v||x?i(E,e):e}else{let e=w-c.top-c.bottom;C=v||x?i(D,e):e}if(x&&!v){let e=u(c.left,0),t=u(c.right,0),n=u(c.top,0),r=u(c.bottom,0);g?S=b-2*(0!==e||0!==t?e+t:u(c.left,c.right)):C=w-2*(0!==n||0!==r?n+r:u(c.top,c.bottom))}await s({...e,availableWidth:S,availableHeight:C});let M=await o.getDimensions(l.floating);return b!==M.width||w!==M.height?{reset:{rects:!0}}:{}}},et&&eo({element:et,padding:V}),eA({arrowWidth:ep,arrowHeight:ey}),U&&{name:"hide",options:B={strategy:"referenceHidden",...ex},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=m(B,e);switch(n){case"referenceHidden":{let n=M(await k(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:R(n)}}}case"escaped":{let n=M(await k(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:R(n)}}}default:return{}}}}]}),[e_,eO]=eF(eR),eN=(0,eh.W)(Y);(0,ev.b)(()=>{eP&&(null==eN||eN())},[eP,eN]);let eI=null===(l=eB.arrow)||void 0===l?void 0:l.x,eL=null===(d=eB.arrow)||void 0===d?void 0:d.y,eV=(null===(c=eB.arrow)||void 0===c?void 0:c.centerOffset)!==0,[e$,ej]=(0,a.useState)();return(0,ev.b)(()=>{J&&ej(window.getComputedStyle(J).zIndex)},[J]),(0,a.createElement)("div",{ref:eS.setFloating,"data-radix-popper-content-wrapper":"",style:{...eM,transform:eP?eM.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e$,"--radix-popper-transform-origin":[null===(f=eB.transformOrigin)||void 0===f?void 0:f.x,null===(D=eB.transformOrigin)||void 0===D?void 0:D.y].join(" ")},dir:e.dir},(0,a.createElement)(ek,{scope:_,placedSide:e_,onArrowChange:en,arrowX:eI,arrowY:eL,shouldHideArrow:eV},(0,a.createElement)(ec.WV.div,(0,r.Z)({"data-side":e_,"data-align":eO},q,{ref:ee,style:{...q.style,animation:eP?void 0:"none",opacity:null!==(E=eB.hide)&&void 0!==E&&E.referenceHidden?0:void 0}}))))}),eR={top:"bottom",right:"left",bottom:"top",left:"right"},eP=(0,a.forwardRef)(function(e,t){let{__scopePopper:n,...o}=e,i=eS("PopperArrow",n),u=eR[i.placedSide];return(0,a.createElement)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},(0,a.createElement)(ef,(0,r.Z)({},o,{ref:t,style:{...o.style,display:"block"}})))});function eT(e){return null!==e}let eA=e=>({name:"transformOrigin",options:e,fn(t){var n,r,a,o,i;let{placement:u,rects:l,middlewareData:s}=t,d=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,c=d?0:e.arrowWidth,f=d?0:e.arrowHeight,[m,p]=eF(u),h={start:"0%",center:"50%",end:"100%"}[p],v=(null!==(r=null===(a=s.arrow)||void 0===a?void 0:a.x)&&void 0!==r?r:0)+c/2,g=(null!==(o=null===(i=s.arrow)||void 0===i?void 0:i.y)&&void 0!==o?o:0)+f/2,y="",b="";return"bottom"===m?(y=d?h:`${v}px`,b=`${-f}px`):"top"===m?(y=d?h:`${v}px`,b=`${l.floating.height+f}px`):"right"===m?(y=`${-f}px`,b=d?h:`${g}px`):"left"===m&&(y=`${l.floating.width+f}px`,b=d?h:`${g}px`),{data:{x:y,y:b}}}});function eF(e){let[t,n="center"]=e.split("-");return[t,n]}let eB=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,a.useState)(null);return(0,a.createElement)(eD,{scope:t,anchor:r,onAnchorChange:o},n)},e_=ex,eO=eM,eN=eP},89300:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(26890),a=n(4470),o=n(41394),i=n(19359);let u=(0,a.forwardRef)((e,t)=>{var n;let{container:u=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...l}=e;return u?o.createPortal((0,a.createElement)(i.WV.div,(0,r.Z)({},l,{ref:t})),u):null})},46299:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(4470),a=n(41394),o=n(55473),i=n(69328);let u=e=>{let{present:t,children:n}=e,u=function(e){var t,n;let[o,u]=(0,r.useState)(),s=(0,r.useRef)({}),d=(0,r.useRef)(e),c=(0,r.useRef)("none"),[f,m]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,r.useEffect)(()=>{let e=l(s.current);c.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let t=s.current,n=d.current;if(n!==e){let r=c.current,a=l(t);e?m("MOUNT"):"none"===a||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):n&&r!==a?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,i.b)(()=>{if(o){let e=e=>{let t=l(s.current).includes(e.animationName);e.target===o&&t&&(0,a.flushSync)(()=>m("ANIMATION_END"))},t=e=>{e.target===o&&(c.current=l(s.current))};return o.addEventListener("animationstart",t),o.addEventListener("animationcancel",e),o.addEventListener("animationend",e),()=>{o.removeEventListener("animationstart",t),o.removeEventListener("animationcancel",e),o.removeEventListener("animationend",e)}}m("ANIMATION_END")},[o,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:(0,r.useCallback)(e=>{e&&(s.current=getComputedStyle(e)),u(e)},[])}}(t),s="function"==typeof n?n({present:u.isPresent}):r.Children.only(n),d=(0,o.e)(u.ref,s.ref);return"function"==typeof n||u.isPresent?(0,r.cloneElement)(s,{ref:d}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"},19359:function(e,t,n){"use strict";n.d(t,{WV:function(){return u},jH:function(){return l}});var r=n(26890),a=n(4470),o=n(41394),i=n(62909);let u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,a.forwardRef)((e,n)=>{let{asChild:o,...u}=e,l=o?i.g7:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(l,(0,r.Z)({},u,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&(0,o.flushSync)(()=>e.dispatchEvent(t))}},77464:function(e,t,n){"use strict";n.d(t,{fC:function(){return b},z$:function(){return w}});var r=n(53097),a=n(4470),o=n(55541),i=n(19359);let u="Progress",[l,s]=(0,o.b)(u),[d,c]=l(u),f=(0,a.forwardRef)((e,t)=>{let{__scopeProgress:n,value:o,max:u,getValueLabel:l=p,...s}=e,c=g(u)?u:100,f=y(o,c)?o:null,m=v(f)?l(f,c):void 0;return(0,a.createElement)(d,{scope:n,value:f,max:c},(0,a.createElement)(i.WV.div,(0,r.Z)({"aria-valuemax":c,"aria-valuemin":0,"aria-valuenow":v(f)?f:void 0,"aria-valuetext":m,role:"progressbar","data-state":h(f,c),"data-value":null!=f?f:void 0,"data-max":c},s,{ref:t})))});f.propTypes={max(e,t,n){let r=e[t],a=String(r);return r&&!g(r)?Error(`Invalid prop \`max\` of value \`${a}\` supplied to \`${n}\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`):null},value(e,t,n){let r=e[t],a=String(r),o=g(e.max)?e.max:100;return null==r||y(r,o)?null:Error(`Invalid prop \`value\` of value \`${a}\` supplied to \`${n}\`. The \`value\` prop must be:
  - a positive number
  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
  - \`null\` if the progress is indeterminate.

Defaulting to \`null\`.`)}};let m=(0,a.forwardRef)((e,t)=>{var n;let{__scopeProgress:o,...u}=e,l=c("ProgressIndicator",o);return(0,a.createElement)(i.WV.div,(0,r.Z)({"data-state":h(l.value,l.max),"data-value":null!==(n=l.value)&&void 0!==n?n:void 0,"data-max":l.max},u,{ref:t}))});function p(e,t){return`${Math.round(e/t*100)}%`}function h(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function v(e){return"number"==typeof e}function g(e){return v(e)&&!isNaN(e)&&e>0}function y(e,t){return v(e)&&!isNaN(e)&&e<=t&&e>=0}let b=f,w=m},64868:function(e,t,n){"use strict";n.d(t,{ck:function(){return N},fC:function(){return O},z$:function(){return I}});var r=n(53097),a=n(4470),o=n(72656),i=n(55473),u=n(55541),l=n(19359),s=n(49658),d=n(4703),c=n(33975),f=n(43381),m=n(68351),p=n(46299);let h="Radio",[v,g]=(0,u.b)(h),[y,b]=v(h),w=(0,a.forwardRef)((e,t)=>{let{__scopeRadio:n,name:u,checked:s=!1,required:d,disabled:c,value:f="on",onCheck:m,...p}=e,[h,v]=(0,a.useState)(null),g=(0,i.e)(t,e=>v(e)),b=(0,a.useRef)(!1),w=!h||!!h.closest("form");return(0,a.createElement)(y,{scope:n,checked:s,disabled:c},(0,a.createElement)(l.WV.button,(0,r.Z)({type:"button",role:"radio","aria-checked":s,"data-state":x(s),"data-disabled":c?"":void 0,disabled:c,value:f},p,{ref:g,onClick:(0,o.M)(e.onClick,e=>{s||null==m||m(),w&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})),w&&(0,a.createElement)(E,{control:h,bubbles:!b.current,name:u,value:f,checked:s,required:d,disabled:c,style:{transform:"translateX(-100%)"}}))}),D=(0,a.forwardRef)((e,t)=>{let{__scopeRadio:n,forceMount:o,...i}=e,u=b("RadioIndicator",n);return(0,a.createElement)(p.z,{present:o||u.checked},(0,a.createElement)(l.WV.span,(0,r.Z)({"data-state":x(u.checked),"data-disabled":u.disabled?"":void 0},i,{ref:t})))}),E=e=>{let{control:t,checked:n,bubbles:o=!0,...i}=e,u=(0,a.useRef)(null),l=(0,m.D)(n),s=(0,f.t)(t);return(0,a.useEffect)(()=>{let e=u.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==n&&t){let r=new Event("click",{bubbles:o});t.call(e,n),e.dispatchEvent(r)}},[l,n,o]),(0,a.createElement)("input",(0,r.Z)({type:"radio","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:u,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function x(e){return e?"checked":"unchecked"}let C=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],k="RadioGroup",[S,M]=(0,u.b)(k,[s.Pc,g]),R=(0,s.Pc)(),P=g(),[T,A]=S(k),F=(0,a.forwardRef)((e,t)=>{let{__scopeRadioGroup:n,name:o,defaultValue:i,value:u,required:f=!1,disabled:m=!1,orientation:p,dir:h,loop:v=!0,onValueChange:g,...y}=e,b=R(n),w=(0,c.gm)(h),[D,E]=(0,d.T)({prop:u,defaultProp:i,onChange:g});return(0,a.createElement)(T,{scope:n,name:o,required:f,disabled:m,value:D,onValueChange:E},(0,a.createElement)(s.fC,(0,r.Z)({asChild:!0},b,{orientation:p,dir:w,loop:v}),(0,a.createElement)(l.WV.div,(0,r.Z)({role:"radiogroup","aria-required":f,"aria-orientation":p,"data-disabled":m?"":void 0,dir:w},y,{ref:t}))))}),B=(0,a.forwardRef)((e,t)=>{let{__scopeRadioGroup:n,disabled:u,...l}=e,d=A("RadioGroupItem",n),c=d.disabled||u,f=R(n),m=P(n),p=(0,a.useRef)(null),h=(0,i.e)(t,p),v=d.value===l.value,g=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=e=>{C.includes(e.key)&&(g.current=!0)},t=()=>g.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,a.createElement)(s.ck,(0,r.Z)({asChild:!0},f,{focusable:!c,active:v}),(0,a.createElement)(w,(0,r.Z)({disabled:c,required:d.required,checked:v},m,l,{name:d.name,ref:h,onCheck:()=>d.onValueChange(l.value),onKeyDown:(0,o.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.M)(l.onFocus,()=>{var e;g.current&&(null===(e=p.current)||void 0===e||e.click())})})))}),_=(0,a.forwardRef)((e,t)=>{let{__scopeRadioGroup:n,...o}=e,i=P(n);return(0,a.createElement)(D,(0,r.Z)({},i,o,{ref:t}))}),O=F,N=B,I=_},49658:function(e,t,n){"use strict";n.d(t,{Pc:function(){return D},ck:function(){return T},fC:function(){return P}});var r=n(53097),a=n(4470),o=n(72656),i=n(48737),u=n(55473),l=n(55541),s=n(79976),d=n(19359),c=n(19401),f=n(4703),m=n(33975);let p="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[g,y,b]=(0,i.B)(v),[w,D]=(0,l.b)(v,[b]),[E,x]=w(v),C=(0,a.forwardRef)((e,t)=>(0,a.createElement)(g.Provider,{scope:e.__scopeRovingFocusGroup},(0,a.createElement)(g.Slot,{scope:e.__scopeRovingFocusGroup},(0,a.createElement)(k,(0,r.Z)({},e,{ref:t}))))),k=(0,a.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:i,loop:l=!1,dir:s,currentTabStopId:v,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:w,...D}=e,x=(0,a.useRef)(null),C=(0,u.e)(t,x),k=(0,m.gm)(s),[S=null,M]=(0,f.T)({prop:v,defaultProp:g,onChange:b}),[P,T]=(0,a.useState)(!1),A=(0,c.W)(w),F=y(n),B=(0,a.useRef)(!1),[_,O]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=x.current;if(e)return e.addEventListener(p,A),()=>e.removeEventListener(p,A)},[A]),(0,a.createElement)(E,{scope:n,orientation:i,dir:k,loop:l,currentTabStopId:S,onItemFocus:(0,a.useCallback)(e=>M(e),[M]),onItemShiftTab:(0,a.useCallback)(()=>T(!0),[]),onFocusableItemAdd:(0,a.useCallback)(()=>O(e=>e+1),[]),onFocusableItemRemove:(0,a.useCallback)(()=>O(e=>e-1),[])},(0,a.createElement)(d.WV.div,(0,r.Z)({tabIndex:P||0===_?-1:0,"data-orientation":i},D,{ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.M)(e.onMouseDown,()=>{B.current=!0}),onFocus:(0,o.M)(e.onFocus,e=>{let t=!B.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(p,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>e.focusable);R([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current))}}B.current=!1}),onBlur:(0,o.M)(e.onBlur,()=>T(!1))})))}),S=(0,a.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:i=!0,active:u=!1,tabStopId:l,...c}=e,f=(0,s.M)(),m=l||f,p=x("RovingFocusGroupItem",n),h=p.currentTabStopId===m,v=y(n),{onFocusableItemAdd:b,onFocusableItemRemove:w}=p;return(0,a.useEffect)(()=>{if(i)return b(),()=>w()},[i,b,w]),(0,a.createElement)(g.ItemSlot,{scope:n,id:m,focusable:i,active:u},(0,a.createElement)(d.WV.span,(0,r.Z)({tabIndex:h?0:-1,"data-orientation":p.orientation},c,{ref:t,onMouseDown:(0,o.M)(e.onMouseDown,e=>{i?p.onItemFocus(m):e.preventDefault()}),onFocus:(0,o.M)(e.onFocus,()=>p.onItemFocus(m)),onKeyDown:(0,o.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let a=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(a)))return M[a]}(e,p.orientation,p.dir);if(void 0!==t){e.preventDefault();let a=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&a.reverse();let o=a.indexOf(e.currentTarget);a=p.loop?(n=a,r=o+1,n.map((e,t)=>n[(r+t)%n.length])):a.slice(o+1)}setTimeout(()=>R(a))}})})))}),M={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function R(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let P=C,T=S},64044:function(e,t,n){"use strict";n.d(t,{Ns:function(){return Y},fC:function(){return K},gb:function(){return E},l_:function(){return H},q4:function(){return B}});var r=n(53097),a=n(4470),o=n(19359),i=n(46299),u=n(55541),l=n(55473),s=n(19401),d=n(33975),c=n(69328),f=n(43385),m=n(72656);let p="ScrollArea",[h,v]=(0,u.b)(p),[g,y]=h(p),b=(0,a.forwardRef)((e,t)=>{let{__scopeScrollArea:n,type:i="hover",dir:u,scrollHideDelay:s=600,...c}=e,[f,m]=(0,a.useState)(null),[p,h]=(0,a.useState)(null),[v,y]=(0,a.useState)(null),[b,w]=(0,a.useState)(null),[D,E]=(0,a.useState)(null),[x,C]=(0,a.useState)(0),[k,S]=(0,a.useState)(0),[M,R]=(0,a.useState)(!1),[P,T]=(0,a.useState)(!1),A=(0,l.e)(t,e=>m(e)),F=(0,d.gm)(u);return(0,a.createElement)(g,{scope:n,type:i,dir:F,scrollHideDelay:s,scrollArea:f,viewport:p,onViewportChange:h,content:v,onContentChange:y,scrollbarX:b,onScrollbarXChange:w,scrollbarXEnabled:M,onScrollbarXEnabledChange:R,scrollbarY:D,onScrollbarYChange:E,scrollbarYEnabled:P,onScrollbarYEnabledChange:T,onCornerWidthChange:C,onCornerHeightChange:S},(0,a.createElement)(o.WV.div,(0,r.Z)({dir:F},c,{ref:A,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":k+"px",...e.style}})))}),w=(0,a.forwardRef)((e,t)=>{let{__scopeScrollArea:n,children:i,...u}=e,s=y("ScrollAreaViewport",n),d=(0,a.useRef)(null),c=(0,l.e)(t,d,s.onViewportChange);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,a.createElement)(o.WV.div,(0,r.Z)({"data-radix-scroll-area-viewport":""},u,{ref:c,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,a.createElement)("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"}},i)))}),D="ScrollAreaScrollbar",E=(0,a.forwardRef)((e,t)=>{let{forceMount:n,...o}=e,i=y(D,e.__scopeScrollArea),{onScrollbarXEnabledChange:u,onScrollbarYEnabledChange:l}=i,s="horizontal"===e.orientation;return(0,a.useEffect)(()=>(s?u(!0):l(!0),()=>{s?u(!1):l(!1)}),[s,u,l]),"hover"===i.type?(0,a.createElement)(x,(0,r.Z)({},o,{ref:t,forceMount:n})):"scroll"===i.type?(0,a.createElement)(C,(0,r.Z)({},o,{ref:t,forceMount:n})):"auto"===i.type?(0,a.createElement)(k,(0,r.Z)({},o,{ref:t,forceMount:n})):"always"===i.type?(0,a.createElement)(S,(0,r.Z)({},o,{ref:t})):null}),x=(0,a.forwardRef)((e,t)=>{let{forceMount:n,...o}=e,u=y(D,e.__scopeScrollArea),[l,s]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=u.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),s(!0)},r=()=>{t=window.setTimeout(()=>s(!1),u.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[u.scrollArea,u.scrollHideDelay]),(0,a.createElement)(i.z,{present:n||l},(0,a.createElement)(k,(0,r.Z)({"data-state":l?"visible":"hidden"},o,{ref:t})))}),C=(0,a.forwardRef)((e,t)=>{var n,o;let{forceMount:u,...l}=e,s=y(D,e.__scopeScrollArea),d="horizontal"===e.orientation,c=Z(()=>p("SCROLL_END"),100),[f,p]=(n="hidden",o={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,a.useReducer)((e,t)=>{let n=o[e][t];return null!=n?n:e},n));return(0,a.useEffect)(()=>{if("idle"===f){let e=window.setTimeout(()=>p("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[f,s.scrollHideDelay,p]),(0,a.useEffect)(()=>{let e=s.viewport,t=d?"scrollLeft":"scrollTop";if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(p("SCROLL"),c()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,d,p,c]),(0,a.createElement)(i.z,{present:u||"hidden"!==f},(0,a.createElement)(S,(0,r.Z)({"data-state":"hidden"===f?"hidden":"visible"},l,{ref:t,onPointerEnter:(0,m.M)(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:(0,m.M)(e.onPointerLeave,()=>p("POINTER_LEAVE"))})))}),k=(0,a.forwardRef)((e,t)=>{let n=y(D,e.__scopeScrollArea),{forceMount:o,...u}=e,[l,s]=(0,a.useState)(!1),d="horizontal"===e.orientation,c=Z(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;s(d?e:t)}},10);return U(n.viewport,c),U(n.content,c),(0,a.createElement)(i.z,{present:o||l},(0,a.createElement)(S,(0,r.Z)({"data-state":l?"visible":"hidden"},u,{ref:t})))}),S=(0,a.forwardRef)((e,t)=>{let{orientation:n="vertical",...o}=e,i=y(D,e.__scopeScrollArea),u=(0,a.useRef)(null),l=(0,a.useRef)(0),[s,d]=(0,a.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=V(s.viewport,s.content),f={...o,sizes:s,onSizesChange:d,hasThumb:!!(c>0&&c<1),onThumbChange:e=>u.current=e,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:e=>l.current=e};function m(e,t){return function(e,t,n,r="ltr"){let a=$(n),o=t||a/2,i=n.scrollbar.paddingStart+o,u=n.scrollbar.size-n.scrollbar.paddingEnd-(a-o),l=n.content-n.viewport;return W([i,u],"ltr"===r?[0,l]:[-1*l,0])(e)}(e,l.current,s,t)}return"horizontal"===n?(0,a.createElement)(M,(0,r.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&u.current){let e=j(i.viewport.scrollLeft,s,i.dir);u.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=m(e,i.dir))}})):"vertical"===n?(0,a.createElement)(R,(0,r.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&u.current){let e=j(i.viewport.scrollTop,s);u.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=m(e))}})):null}),M=(0,a.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:o,...i}=e,u=y(D,e.__scopeScrollArea),[s,d]=(0,a.useState)(),c=(0,a.useRef)(null),f=(0,l.e)(t,c,u.onScrollbarXChange);return(0,a.useEffect)(()=>{c.current&&d(getComputedStyle(c.current))},[c]),(0,a.createElement)(A,(0,r.Z)({"data-orientation":"horizontal"},i,{ref:f,sizes:n,style:{bottom:0,left:"rtl"===u.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===u.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":$(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(u.viewport){let r=u.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),r>0&&r<n&&t.preventDefault()}},onResize:()=>{c.current&&u.viewport&&s&&o({content:u.viewport.scrollWidth,viewport:u.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:L(s.paddingLeft),paddingEnd:L(s.paddingRight)}})}}))}),R=(0,a.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:o,...i}=e,u=y(D,e.__scopeScrollArea),[s,d]=(0,a.useState)(),c=(0,a.useRef)(null),f=(0,l.e)(t,c,u.onScrollbarYChange);return(0,a.useEffect)(()=>{c.current&&d(getComputedStyle(c.current))},[c]),(0,a.createElement)(A,(0,r.Z)({"data-orientation":"vertical"},i,{ref:f,sizes:n,style:{top:0,right:"ltr"===u.dir?0:void 0,left:"rtl"===u.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":$(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(u.viewport){let r=u.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),r>0&&r<n&&t.preventDefault()}},onResize:()=>{c.current&&u.viewport&&s&&o({content:u.viewport.scrollHeight,viewport:u.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:L(s.paddingTop),paddingEnd:L(s.paddingBottom)}})}}))}),[P,T]=h(D),A=(0,a.forwardRef)((e,t)=>{let{__scopeScrollArea:n,sizes:i,hasThumb:u,onThumbChange:d,onThumbPointerUp:c,onThumbPointerDown:f,onThumbPositionChange:p,onDragScroll:h,onWheelScroll:v,onResize:g,...b}=e,w=y(D,n),[E,x]=(0,a.useState)(null),C=(0,l.e)(t,e=>x(e)),k=(0,a.useRef)(null),S=(0,a.useRef)(""),M=w.viewport,R=i.content-i.viewport,T=(0,s.W)(v),A=(0,s.W)(p),F=Z(g,10);function B(e){k.current&&h({x:e.clientX-k.current.left,y:e.clientY-k.current.top})}return(0,a.useEffect)(()=>{let e=e=>{let t=e.target;(null==E?void 0:E.contains(t))&&T(e,R)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[M,E,R,T]),(0,a.useEffect)(A,[i,A]),U(E,F),U(w.content,F),(0,a.createElement)(P,{scope:n,scrollbar:E,hasThumb:u,onThumbChange:(0,s.W)(d),onThumbPointerUp:(0,s.W)(c),onThumbPositionChange:A,onThumbPointerDown:(0,s.W)(f)},(0,a.createElement)(o.WV.div,(0,r.Z)({},b,{ref:C,style:{position:"absolute",...b.style},onPointerDown:(0,m.M)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),k.current=E.getBoundingClientRect(),S.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),B(e))}),onPointerMove:(0,m.M)(e.onPointerMove,B),onPointerUp:(0,m.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=S.current,w.viewport&&(w.viewport.style.scrollBehavior=""),k.current=null})})))}),F="ScrollAreaThumb",B=(0,a.forwardRef)((e,t)=>{let{forceMount:n,...o}=e,u=T(F,e.__scopeScrollArea);return(0,a.createElement)(i.z,{present:n||u.hasThumb},(0,a.createElement)(_,(0,r.Z)({ref:t},o)))}),_=(0,a.forwardRef)((e,t)=>{let{__scopeScrollArea:n,style:i,...u}=e,s=y(F,n),d=T(F,n),{onThumbPositionChange:c}=d,f=(0,l.e)(t,e=>d.onThumbChange(e)),p=(0,a.useRef)(),h=Z(()=>{p.current&&(p.current(),p.current=void 0)},100);return(0,a.useEffect)(()=>{let e=s.viewport;if(e){let t=()=>{if(h(),!p.current){let t=z(e,c);p.current=t,c()}};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[s.viewport,h,c]),(0,a.createElement)(o.WV.div,(0,r.Z)({"data-state":d.hasThumb?"visible":"hidden"},u,{ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...i},onPointerDownCapture:(0,m.M)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;d.onThumbPointerDown({x:n,y:r})}),onPointerUp:(0,m.M)(e.onPointerUp,d.onThumbPointerUp)}))}),O="ScrollAreaCorner",N=(0,a.forwardRef)((e,t)=>{let n=y(O,e.__scopeScrollArea),o=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&o?(0,a.createElement)(I,(0,r.Z)({},e,{ref:t})):null}),I=(0,a.forwardRef)((e,t)=>{let{__scopeScrollArea:n,...i}=e,u=y(O,n),[l,s]=(0,a.useState)(0),[d,c]=(0,a.useState)(0),f=!!(l&&d);return U(u.scrollbarX,()=>{var e;let t=(null===(e=u.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;u.onCornerHeightChange(t),c(t)}),U(u.scrollbarY,()=>{var e;let t=(null===(e=u.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;u.onCornerWidthChange(t),s(t)}),f?(0,a.createElement)(o.WV.div,(0,r.Z)({},i,{ref:t,style:{width:l,height:d,position:"absolute",right:"ltr"===u.dir?0:void 0,left:"rtl"===u.dir?0:void 0,bottom:0,...e.style}})):null});function L(e){return e?parseInt(e,10):0}function V(e,t){let n=e/t;return isNaN(n)?0:n}function $(e){let t=V(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-n)*t,18)}function j(e,t,n="ltr"){let r=$(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,u=(0,f.u)(e,"ltr"===n?[0,i]:[-1*i,0]);return W([0,i],[0,o-r])(u)}function W(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}let z=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return!function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=n.left!==o.left,u=n.top!==o.top;(i||u)&&t(),n=o,r=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(r)};function Z(e,t){let n=(0,s.W)(e),r=(0,a.useRef)(0);return(0,a.useEffect)(()=>()=>window.clearTimeout(r.current),[]),(0,a.useCallback)(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function U(e,t){let n=(0,s.W)(t);(0,c.b)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}let K=b,H=w,Y=N},78140:function(e,t,n){"use strict";n.d(t,{B4:function(){return ey},JO:function(){return eb},VY:function(){return eD},Z0:function(){return eR},ZA:function(){return ex},__:function(){return eC},ck:function(){return ek},eT:function(){return eS},fC:function(){return ev},h_:function(){return ew},l_:function(){return eE},wU:function(){return eM},xz:function(){return eg}});var r=n(53097),a=n(4470),o=n(41394),i=n(43385),u=n(72656),l=n(48737),s=n(55473),d=n(55541),c=n(33975),f=n(75446),m=n(52822),p=n(92980),h=n(79976),v=n(90069),g=n(89300),y=n(19359),b=n(62909),w=n(19401),D=n(4703),E=n(69328),x=n(68351),C=n(65431),k=n(54131),S=n(85859);let M=[" ","Enter","ArrowUp","ArrowDown"],R=[" ","Enter"],P="Select",[T,A,F]=(0,l.B)(P),[B,_]=(0,d.b)(P,[F,v.D7]),O=(0,v.D7)(),[N,I]=B(P),[L,V]=B(P),$=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,disabled:o=!1,...i}=e,l=O(n),d=I("SelectTrigger",n),c=d.disabled||o,f=(0,s.e)(t,d.onTriggerChange),m=A(n),[p,h,g]=ep(e=>{let t=m().filter(e=>!e.disabled),n=t.find(e=>e.value===d.value),r=eh(t,e,n);void 0!==r&&d.onValueChange(r.value)}),b=()=>{c||(d.onOpenChange(!0),g())};return(0,a.createElement)(v.ee,(0,r.Z)({asChild:!0},l),(0,a.createElement)(y.WV.button,(0,r.Z)({type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":ef(d.value)?"":void 0},i,{ref:f,onClick:(0,u.M)(i.onClick,e=>{e.currentTarget.focus()}),onPointerDown:(0,u.M)(i.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(b(),d.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:(0,u.M)(i.onKeyDown,e=>{let t=""!==p.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),(!t||" "!==e.key)&&M.includes(e.key)&&(b(),e.preventDefault())})})))}),j=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,className:o,style:i,children:u,placeholder:l="",...d}=e,c=I("SelectValue",n),{onValueNodeHasChildrenChange:f}=c,m=void 0!==u,p=(0,s.e)(t,c.onValueNodeChange);return(0,E.b)(()=>{f(m)},[f,m]),(0,a.createElement)(y.WV.span,(0,r.Z)({},d,{ref:p,style:{pointerEvents:"none"}}),ef(c.value)?(0,a.createElement)(a.Fragment,null,l):u)}),W=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,children:o,...i}=e;return(0,a.createElement)(y.WV.span,(0,r.Z)({"aria-hidden":!0},i,{ref:t}),o||"▼")}),z="SelectContent",Z=(0,a.forwardRef)((e,t)=>{let n=I(z,e.__scopeSelect),[i,u]=(0,a.useState)();return((0,E.b)(()=>{u(new DocumentFragment)},[]),n.open)?(0,a.createElement)(H,(0,r.Z)({},e,{ref:t})):i?(0,o.createPortal)((0,a.createElement)(U,{scope:e.__scopeSelect},(0,a.createElement)(T.Slot,{scope:e.__scopeSelect},(0,a.createElement)("div",null,e.children))),i):null}),[U,K]=B(z),H=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:l,onPointerDownOutside:d,side:c,sideOffset:h,align:v,alignOffset:g,arrowPadding:y,collisionBoundary:w,collisionPadding:D,sticky:E,hideWhenDetached:x,avoidCollisions:C,...M}=e,R=I(z,n),[P,T]=(0,a.useState)(null),[F,B]=(0,a.useState)(null),_=(0,s.e)(t,e=>T(e)),[O,N]=(0,a.useState)(null),[L,V]=(0,a.useState)(null),$=A(n),[j,W]=(0,a.useState)(!1),Z=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(P)return(0,k.Ry)(P)},[P]),(0,m.EW)();let K=(0,a.useCallback)(e=>{let[t,...n]=$().map(e=>e.ref.current),[r]=n.slice(-1),a=document.activeElement;for(let n of e)if(n===a||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&F&&(F.scrollTop=0),n===r&&F&&(F.scrollTop=F.scrollHeight),null==n||n.focus(),document.activeElement!==a))return},[$,F]),H=(0,a.useCallback)(()=>K([O,P]),[K,O,P]);(0,a.useEffect)(()=>{j&&H()},[j,H]);let{onOpenChange:G,triggerPointerDownPosRef:Q}=R;(0,a.useEffect)(()=>{if(P){let e={x:0,y:0},t=t=>{var n,r,a,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=Q.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(a=null===(o=Q.current)||void 0===o?void 0:o.y)&&void 0!==a?a:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():P.contains(n.target)||G(!1),document.removeEventListener("pointermove",t),Q.current=null};return null!==Q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[P,G,Q]),(0,a.useEffect)(()=>{let e=()=>G(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[G]);let[J,X]=ep(e=>{let t=$().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eh(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),ee=(0,a.useCallback)((e,t,n)=>{let r=!Z.current&&!n;(void 0!==R.value&&R.value===t||r)&&(N(e),r&&(Z.current=!0))},[R.value]),et=(0,a.useCallback)(()=>null==P?void 0:P.focus(),[P]),en=(0,a.useCallback)((e,t,n)=>{let r=!Z.current&&!n;(void 0!==R.value&&R.value===t||r)&&V(e)},[R.value]),er="popper"===o?q:Y;return(0,a.createElement)(U,{scope:n,content:P,viewport:F,onViewportChange:B,itemRefCallback:ee,selectedItem:O,onItemLeave:et,itemTextRefCallback:en,focusSelectedItem:H,selectedItemText:L,position:o,isPositioned:j,searchRef:J},(0,a.createElement)(S.Z,{as:b.g7,allowPinchZoom:!0},(0,a.createElement)(p.M,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,u.M)(i,e=>{var t;null===(t=R.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()})},(0,a.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1)},(0,a.createElement)(er,(0,r.Z)({role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault()},M,er===q?{side:c,sideOffset:h,align:v,alignOffset:g,arrowPadding:y,collisionBoundary:w,collisionPadding:D,sticky:E,hideWhenDetached:x,avoidCollisions:C}:{},{onPlaced:()=>W(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...M.style},onKeyDown:(0,u.M)(M.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=$().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>K(t)),e.preventDefault()}})}))))))}),Y=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,onPlaced:o,...u}=e,l=I(z,n),d=K(z,n),[c,f]=(0,a.useState)(null),[m,p]=(0,a.useState)(null),h=(0,s.e)(t,e=>p(e)),v=A(n),g=(0,a.useRef)(!1),b=(0,a.useRef)(!0),{viewport:w,selectedItem:D,selectedItemText:x,focusSelectedItem:C}=d,k=(0,a.useCallback)(()=>{if(l.trigger&&l.valueNode&&c&&m&&w&&D&&x){let e=l.trigger.getBoundingClientRect(),t=m.getBoundingClientRect(),n=l.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==l.dir){let a=r.left-t.left,o=n.left-a,u=e.left-o,l=e.width+u,s=Math.max(l,t.width),d=window.innerWidth-10,f=(0,i.u)(o,[10,d-s]);c.style.minWidth=l+"px",c.style.left=f+"px"}else{let a=t.right-r.right,o=window.innerWidth-n.right-a,u=window.innerWidth-e.right-o,l=e.width+u,s=Math.max(l,t.width),d=window.innerWidth-10,f=(0,i.u)(o,[10,d-s]);c.style.minWidth=l+"px",c.style.right=f+"px"}let a=v(),u=window.innerHeight-20,s=w.scrollHeight,d=window.getComputedStyle(m),f=parseInt(d.borderTopWidth,10),p=parseInt(d.paddingTop,10),h=parseInt(d.borderBottomWidth,10),y=f+p+s+parseInt(d.paddingBottom,10)+h,b=Math.min(5*D.offsetHeight,y),E=window.getComputedStyle(w),C=parseInt(E.paddingTop,10),k=parseInt(E.paddingBottom,10),S=e.top+e.height/2-10,M=D.offsetHeight/2,R=f+p+(D.offsetTop+M);if(R<=S){let e=D===a[a.length-1].ref.current;c.style.bottom="0px";let t=m.clientHeight-w.offsetTop-w.offsetHeight;c.style.height=R+Math.max(u-S,M+(e?k:0)+t+h)+"px"}else{let e=D===a[0].ref.current;c.style.top="0px";let t=Math.max(S,f+w.offsetTop+(e?C:0)+M);c.style.height=t+(y-R)+"px",w.scrollTop=R-S+w.offsetTop}c.style.margin="10px 0",c.style.minHeight=b+"px",c.style.maxHeight=u+"px",null==o||o(),requestAnimationFrame(()=>g.current=!0)}},[v,l.trigger,l.valueNode,c,m,w,D,x,l.dir,o]);(0,E.b)(()=>k(),[k]);let[S,M]=(0,a.useState)();(0,E.b)(()=>{m&&M(window.getComputedStyle(m).zIndex)},[m]);let R=(0,a.useCallback)(e=>{e&&!0===b.current&&(k(),null==C||C(),b.current=!1)},[k,C]);return(0,a.createElement)(G,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:R},(0,a.createElement)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},(0,a.createElement)(y.WV.div,(0,r.Z)({},u,{ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...u.style}}))))}),q=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,align:o="start",collisionPadding:i=10,...u}=e,l=O(n);return(0,a.createElement)(v.VY,(0,r.Z)({},l,u,{ref:t,align:o,collisionPadding:i,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[G,Q]=B(z,{}),J="SelectViewport",X=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,i=K(J,n),l=Q(J,n),d=(0,s.e)(t,i.onViewportChange),c=(0,a.useRef)(0);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,a.createElement)(T.Slot,{scope:n},(0,a.createElement)(y.WV.div,(0,r.Z)({"data-radix-select-viewport":"",role:"presentation"},o,{ref:d,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:(0,u.M)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=l;if(null!=r&&r.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,a=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(a<r){let o=a+e,i=Math.min(r,o),u=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=u>0?u:0,n.style.justifyContent="flex-end")}}}c.current=t.scrollTop})}))))}),[ee,et]=B("SelectGroup"),en=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,i=(0,h.M)();return(0,a.createElement)(ee,{scope:n,id:i},(0,a.createElement)(y.WV.div,(0,r.Z)({role:"group","aria-labelledby":i},o,{ref:t})))}),er=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,i=et("SelectLabel",n);return(0,a.createElement)(y.WV.div,(0,r.Z)({id:i.id},o,{ref:t}))}),ea="SelectItem",[eo,ei]=B(ea),eu=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,value:o,disabled:i=!1,textValue:l,...d}=e,c=I(ea,n),f=K(ea,n),m=c.value===o,[p,v]=(0,a.useState)(null!=l?l:""),[g,b]=(0,a.useState)(!1),w=(0,s.e)(t,e=>{var t;return null===(t=f.itemRefCallback)||void 0===t?void 0:t.call(f,e,o,i)}),D=(0,h.M)(),E=()=>{i||(c.onValueChange(o),c.onOpenChange(!1))};if(""===o)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,a.createElement)(eo,{scope:n,value:o,disabled:i,textId:D,isSelected:m,onItemTextChange:(0,a.useCallback)(e=>{v(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[])},(0,a.createElement)(T.ItemSlot,{scope:n,value:o,disabled:i,textValue:p},(0,a.createElement)(y.WV.div,(0,r.Z)({role:"option","aria-labelledby":D,"data-highlighted":g?"":void 0,"aria-selected":m&&g,"data-state":m?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},d,{ref:w,onFocus:(0,u.M)(d.onFocus,()=>b(!0)),onBlur:(0,u.M)(d.onBlur,()=>b(!1)),onPointerUp:(0,u.M)(d.onPointerUp,E),onPointerMove:(0,u.M)(d.onPointerMove,e=>{if(i){var t;null===(t=f.onItemLeave)||void 0===t||t.call(f)}else e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,u.M)(d.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=f.onItemLeave)||void 0===t||t.call(f)}}),onKeyDown:(0,u.M)(d.onKeyDown,e=>{var t;(null===(t=f.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(R.includes(e.key)&&E()," "===e.key&&e.preventDefault())})}))))}),el="SelectItemText",es=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,className:i,style:u,...l}=e,d=I(el,n),c=K(el,n),f=ei(el,n),m=V(el,n),[p,h]=(0,a.useState)(null),v=(0,s.e)(t,e=>h(e),f.onItemTextChange,e=>{var t;return null===(t=c.itemTextRefCallback)||void 0===t?void 0:t.call(c,e,f.value,f.disabled)}),g=null==p?void 0:p.textContent,b=(0,a.useMemo)(()=>(0,a.createElement)("option",{key:f.value,value:f.value,disabled:f.disabled},g),[f.disabled,f.value,g]),{onNativeOptionAdd:w,onNativeOptionRemove:D}=m;return(0,E.b)(()=>(w(b),()=>D(b)),[w,D,b]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(y.WV.span,(0,r.Z)({id:f.textId},l,{ref:v})),f.isSelected&&d.valueNode&&!d.valueNodeHasChildren?(0,o.createPortal)(l.children,d.valueNode):null)}),ed=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e;return ei("SelectItemIndicator",n).isSelected?(0,a.createElement)(y.WV.span,(0,r.Z)({"aria-hidden":!0},o,{ref:t})):null}),ec=((e,t)=>{let{__scopeSelect:n,onAutoScroll:o,...i}=e,l=K("SelectScrollButton",n),s=(0,a.useRef)(null),d=A(n),c=(0,a.useCallback)(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return(0,a.useEffect)(()=>()=>c(),[c]),(0,E.b)(()=>{var e;let t=d().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[d]),(0,a.createElement)(y.WV.div,(0,r.Z)({"aria-hidden":!0},i,{ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,u.M)(i.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(o,50))}),onPointerMove:(0,u.M)(i.onPointerMove,()=>{var e;null===(e=l.onItemLeave)||void 0===e||e.call(l),null===s.current&&(s.current=window.setInterval(o,50))}),onPointerLeave:(0,u.M)(i.onPointerLeave,()=>{c()})}))},(0,a.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e;return(0,a.createElement)(y.WV.div,(0,r.Z)({"aria-hidden":!0},o,{ref:t}))}));function ef(e){return""===e||void 0===e}let em=(0,a.forwardRef)((e,t)=>{let{value:n,...o}=e,i=(0,a.useRef)(null),u=(0,s.e)(t,i),l=(0,x.D)(n);return(0,a.useEffect)(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(l!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[l,n]),(0,a.createElement)(C.T,{asChild:!0},(0,a.createElement)("select",(0,r.Z)({},o,{ref:u,defaultValue:n})))});function ep(e){let t=(0,w.W)(e),n=(0,a.useRef)(""),r=(0,a.useRef)(0),o=(0,a.useCallback)(e=>{let a=n.current+e;t(a),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(a)},[t]),i=(0,a.useCallback)(()=>{n.current="",window.clearTimeout(r.current)},[]);return(0,a.useEffect)(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function eh(e,t,n){var r;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===a.length&&(o=o.filter(e=>e!==n));let i=o.find(e=>e.textValue.toLowerCase().startsWith(a.toLowerCase()));return i!==n?i:void 0}em.displayName="BubbleSelect";let ev=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:u,defaultValue:l,onValueChange:s,dir:d,name:f,autoComplete:m,disabled:p,required:g}=e,y=O(t),[b,w]=(0,a.useState)(null),[E,x]=(0,a.useState)(null),[C,k]=(0,a.useState)(!1),S=(0,c.gm)(d),[M=!1,R]=(0,D.T)({prop:r,defaultProp:o,onChange:i}),[P,A]=(0,D.T)({prop:u,defaultProp:l,onChange:s}),F=(0,a.useRef)(null),B=!b||!!b.closest("form"),[_,I]=(0,a.useState)(new Set),V=Array.from(_).map(e=>e.props.value).join(";");return(0,a.createElement)(v.fC,y,(0,a.createElement)(N,{required:g,scope:t,trigger:b,onTriggerChange:w,valueNode:E,onValueNodeChange:x,valueNodeHasChildren:C,onValueNodeHasChildrenChange:k,contentId:(0,h.M)(),value:P,onValueChange:A,open:M,onOpenChange:R,dir:S,triggerPointerDownPosRef:F,disabled:p},(0,a.createElement)(T.Provider,{scope:t},(0,a.createElement)(L,{scope:e.__scopeSelect,onNativeOptionAdd:(0,a.useCallback)(e=>{I(t=>new Set(t).add(e))},[]),onNativeOptionRemove:(0,a.useCallback)(e=>{I(t=>{let n=new Set(t);return n.delete(e),n})},[])},n)),B?(0,a.createElement)(em,{key:V,"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:m,value:P,onChange:e=>A(e.target.value),disabled:p},void 0===P?(0,a.createElement)("option",{value:""}):null,Array.from(_)):null))},eg=$,ey=j,eb=W,ew=e=>(0,a.createElement)(g.h,(0,r.Z)({asChild:!0},e)),eD=Z,eE=X,ex=en,eC=er,ek=eu,eS=es,eM=ed,eR=ec},97742:function(e,t,n){"use strict";n.d(t,{f:function(){return d}});var r=n(53097),a=n(4470),o=n(19359);let i="horizontal",u=["horizontal","vertical"],l=(0,a.forwardRef)((e,t)=>{let{decorative:n,orientation:u=i,...l}=e,d=s(u)?u:i;return(0,a.createElement)(o.WV.div,(0,r.Z)({"data-orientation":d},n?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},l,{ref:t}))});function s(e){return u.includes(e)}l.propTypes={orientation(e,t,n){let r=e[t],a=String(r);return r&&!s(r)?Error(`Invalid prop \`orientation\` of value \`${a}\` supplied to \`${n}\`, expected one of:
  - horizontal
  - vertical

Defaulting to \`${i}\`.`):null}};let d=l},53007:function(e,t,n){"use strict";n.d(t,{bU:function(){return Z},e6:function(){return z},fC:function(){return j},fQ:function(){return W}});var r=n(53097),a=n(4470),o=n(43385),i=n(72656),u=n(55473),l=n(55541),s=n(4703),d=n(33975),c=n(68351),f=n(43381),m=n(19359),p=n(48737);let h=["PageUp","PageDown"],v=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],g={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},y="Slider",[b,w,D]=(0,p.B)(y),[E,x]=(0,l.b)(y,[D]),[C,k]=E(y),S=(0,a.forwardRef)((e,t)=>{let{name:n,min:l=0,max:d=100,step:c=1,orientation:f="horizontal",disabled:m=!1,minStepsBetweenThumbs:p=0,defaultValue:g=[l],value:y,onValueChange:w=()=>{},onValueCommit:D=()=>{},inverted:E=!1,...x}=e,[k,S]=(0,a.useState)(null),M=(0,u.e)(t,e=>S(e)),R=(0,a.useRef)(new Set),A=(0,a.useRef)(0),F="horizontal"===f,B=!k||!!k.closest("form"),[_=[],O]=(0,s.T)({prop:y,defaultProp:g,onChange:e=>{var t;null===(t=[...R.current][A.current])||void 0===t||t.focus(),w(e)}}),N=(0,a.useRef)(_);function I(e,t,{commit:n}={commit:!1}){let r=(String(c).split(".")[1]||"").length,a=function(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-l)/c)*c+l,r),i=(0,o.u)(a,[l,d]);O((e=[])=>{var r,a;let o=function(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(e,i,t);if(r=o,!(!((a=p*c)>0)||Math.min(...r.slice(0,-1).map((e,t)=>r[t+1]-e))>=a))return e;{A.current=o.indexOf(i);let t=String(o)!==String(e);return t&&n&&D(o),t?o:e}})}return(0,a.createElement)(C,{scope:e.__scopeSlider,disabled:m,min:l,max:d,valueIndexToChangeRef:A,thumbs:R.current,values:_,orientation:f},(0,a.createElement)(b.Provider,{scope:e.__scopeSlider},(0,a.createElement)(b.Slot,{scope:e.__scopeSlider},(0,a.createElement)(F?P:T,(0,r.Z)({"aria-disabled":m,"data-disabled":m?"":void 0},x,{ref:M,onPointerDown:(0,i.M)(x.onPointerDown,()=>{m||(N.current=_)}),min:l,max:d,inverted:E,onSlideStart:m?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let n=e.map(e=>Math.abs(e-t));return n.indexOf(Math.min(...n))}(_,e);I(e,t)},onSlideMove:m?void 0:function(e){I(e,A.current)},onSlideEnd:m?void 0:function(){let e=N.current[A.current];_[A.current]!==e&&D(_)},onHomeKeyDown:()=>!m&&I(l,0,{commit:!0}),onEndKeyDown:()=>!m&&I(d,_.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!m){let n=h.includes(e.key)||e.shiftKey&&v.includes(e.key),r=A.current;I(_[r]+c*(n?10:1)*t,r,{commit:!0})}}})))),B&&_.map((e,t)=>(0,a.createElement)(L,{key:t,name:n?n+(_.length>1?"[]":""):void 0,value:e})))}),[M,R]=E(y,{startEdge:"left",endEdge:"right",size:"width",direction:1}),P=(0,a.forwardRef)((e,t)=>{let{min:n,max:o,dir:i,inverted:l,onSlideStart:s,onSlideMove:c,onSlideEnd:f,onStepKeyDown:m,...p}=e,[h,v]=(0,a.useState)(null),y=(0,u.e)(t,e=>v(e)),b=(0,a.useRef)(),w=(0,d.gm)(i),D="ltr"===w,E=D&&!l||!D&&l;function x(e){let t=b.current||h.getBoundingClientRect(),r=$([0,t.width],E?[n,o]:[o,n]);return b.current=t,r(e-t.left)}return(0,a.createElement)(M,{scope:e.__scopeSlider,startEdge:E?"left":"right",endEdge:E?"right":"left",direction:E?1:-1,size:"width"},(0,a.createElement)(A,(0,r.Z)({dir:w,"data-orientation":"horizontal"},p,{ref:y,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=x(e.clientX);null==s||s(t)},onSlideMove:e=>{let t=x(e.clientX);null==c||c(t)},onSlideEnd:()=>{b.current=void 0,null==f||f()},onStepKeyDown:e=>{let t=g[E?"from-left":"from-right"].includes(e.key);null==m||m({event:e,direction:t?-1:1})}})))}),T=(0,a.forwardRef)((e,t)=>{let{min:n,max:o,inverted:i,onSlideStart:l,onSlideMove:s,onSlideEnd:d,onStepKeyDown:c,...f}=e,m=(0,a.useRef)(null),p=(0,u.e)(t,m),h=(0,a.useRef)(),v=!i;function y(e){let t=h.current||m.current.getBoundingClientRect(),r=$([0,t.height],v?[o,n]:[n,o]);return h.current=t,r(e-t.top)}return(0,a.createElement)(M,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1},(0,a.createElement)(A,(0,r.Z)({"data-orientation":"vertical"},f,{ref:p,style:{...f.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=y(e.clientY);null==l||l(t)},onSlideMove:e=>{let t=y(e.clientY);null==s||s(t)},onSlideEnd:()=>{h.current=void 0,null==d||d()},onStepKeyDown:e=>{let t=g[v?"from-bottom":"from-top"].includes(e.key);null==c||c({event:e,direction:t?-1:1})}})))}),A=(0,a.forwardRef)((e,t)=>{let{__scopeSlider:n,onSlideStart:o,onSlideMove:u,onSlideEnd:l,onHomeKeyDown:s,onEndKeyDown:d,onStepKeyDown:c,...f}=e,p=k(y,n);return(0,a.createElement)(m.WV.span,(0,r.Z)({},f,{ref:t,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Home"===e.key?(s(e),e.preventDefault()):"End"===e.key?(d(e),e.preventDefault()):h.concat(v).includes(e.key)&&(c(e),e.preventDefault())}),onPointerDown:(0,i.M)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),p.thumbs.has(t)?t.focus():o(e)}),onPointerMove:(0,i.M)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&u(e)}),onPointerUp:(0,i.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),l(e))})}))}),F=(0,a.forwardRef)((e,t)=>{let{__scopeSlider:n,...o}=e,i=k("SliderTrack",n);return(0,a.createElement)(m.WV.span,(0,r.Z)({"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation},o,{ref:t}))}),B="SliderRange",_=(0,a.forwardRef)((e,t)=>{let{__scopeSlider:n,...o}=e,i=k(B,n),l=R(B,n),s=(0,a.useRef)(null),d=(0,u.e)(t,s),c=i.values.length,f=i.values.map(e=>V(e,i.min,i.max));return(0,a.createElement)(m.WV.span,(0,r.Z)({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:d,style:{...e.style,[l.startEdge]:(c>1?Math.min(...f):0)+"%",[l.endEdge]:100-Math.max(...f)+"%"}}))}),O="SliderThumb",N=(0,a.forwardRef)((e,t)=>{let n=w(e.__scopeSlider),[o,i]=(0,a.useState)(null),l=(0,u.e)(t,e=>i(e)),s=(0,a.useMemo)(()=>o?n().findIndex(e=>e.ref.current===o):-1,[n,o]);return(0,a.createElement)(I,(0,r.Z)({},e,{ref:l,index:s}))}),I=(0,a.forwardRef)((e,t)=>{var n;let{__scopeSlider:o,index:l,...s}=e,d=k(O,o),c=R(O,o),[p,h]=(0,a.useState)(null),v=(0,u.e)(t,e=>h(e)),g=(0,f.t)(p),y=d.values[l],w=void 0===y?0:V(y,d.min,d.max),D=(n=d.values.length)>2?`Value ${l+1} of ${n}`:2===n?["Minimum","Maximum"][l]:void 0,E=null==g?void 0:g[c.size],x=E?function(e,t,n){let r=e/2,a=$([0,50],[0,r]);return(r-a(t)*n)*n}(E,w,c.direction):0;return(0,a.useEffect)(()=>{if(p)return d.thumbs.add(p),()=>{d.thumbs.delete(p)}},[p,d.thumbs]),(0,a.createElement)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${w}% + ${x}px)`}},(0,a.createElement)(b.ItemSlot,{scope:e.__scopeSlider},(0,a.createElement)(m.WV.span,(0,r.Z)({role:"slider","aria-label":e["aria-label"]||D,"aria-valuemin":d.min,"aria-valuenow":y,"aria-valuemax":d.max,"aria-orientation":d.orientation,"data-orientation":d.orientation,"data-disabled":d.disabled?"":void 0,tabIndex:d.disabled?void 0:0},s,{ref:v,style:void 0===y?{display:"none"}:e.style,onFocus:(0,i.M)(e.onFocus,()=>{d.valueIndexToChangeRef.current=l})}))))}),L=e=>{let{value:t,...n}=e,o=(0,a.useRef)(null),i=(0,c.D)(t);return(0,a.useEffect)(()=>{let e=o.current,n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(i!==t&&n){let r=new Event("input",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[i,t]),(0,a.createElement)("input",(0,r.Z)({style:{display:"none"}},n,{ref:o,defaultValue:t}))};function V(e,t,n){return(0,o.u)(100/(n-t)*(e-t),[0,100])}function $(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}let j=S,W=F,z=_,Z=N},62909:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{g7:function(){return i},A4:function(){return l}});var a=n(4470),o=n(55473);let i=(0,a.forwardRef)((e,t)=>{let{children:n,...o}=e,i=a.Children.toArray(n),l=i.find(s);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(u,r({},o,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(u,r({},o,{ref:t}),n)});i.displayName="Slot";let u=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=(...e)=>{o(...e),a(...e)}:a&&(n[r]=a):"style"===r?n[r]={...a,...o}:"className"===r&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,o.F)(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null});u.displayName="SlotClone";let l=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function s(e){return(0,a.isValidElement)(e)&&e.type===l}},87230:function(e,t,n){"use strict";n.d(t,{bU:function(){return E},fC:function(){return D}});var r=n(53097),a=n(4470),o=n(72656),i=n(55473),u=n(55541),l=n(4703),s=n(68351),d=n(43381),c=n(19359);let f="Switch",[m,p]=(0,u.b)(f),[h,v]=m(f),g=(0,a.forwardRef)((e,t)=>{let{__scopeSwitch:n,name:u,checked:s,defaultChecked:d,required:f,disabled:m,value:p="on",onCheckedChange:v,...g}=e,[y,D]=(0,a.useState)(null),E=(0,i.e)(t,e=>D(e)),x=(0,a.useRef)(!1),C=!y||!!y.closest("form"),[k=!1,S]=(0,l.T)({prop:s,defaultProp:d,onChange:v});return(0,a.createElement)(h,{scope:n,checked:k,disabled:m},(0,a.createElement)(c.WV.button,(0,r.Z)({type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":w(k),"data-disabled":m?"":void 0,disabled:m,value:p},g,{ref:E,onClick:(0,o.M)(e.onClick,e=>{S(e=>!e),C&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})),C&&(0,a.createElement)(b,{control:y,bubbles:!x.current,name:u,value:p,checked:k,required:f,disabled:m,style:{transform:"translateX(-100%)"}}))}),y=(0,a.forwardRef)((e,t)=>{let{__scopeSwitch:n,...o}=e,i=v("SwitchThumb",n);return(0,a.createElement)(c.WV.span,(0,r.Z)({"data-state":w(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t}))}),b=e=>{let{control:t,checked:n,bubbles:o=!0,...i}=e,u=(0,a.useRef)(null),l=(0,s.D)(n),c=(0,d.t)(t);return(0,a.useEffect)(()=>{let e=u.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==n&&t){let r=new Event("click",{bubbles:o});t.call(e,n),e.dispatchEvent(r)}},[l,n,o]),(0,a.createElement)("input",(0,r.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:u,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function w(e){return e?"checked":"unchecked"}let D=g,E=y},81324:function(e,t,n){"use strict";n.d(t,{VY:function(){return R},aV:function(){return S},fC:function(){return k},xz:function(){return M}});var r=n(53097),a=n(4470),o=n(72656),i=n(55541),u=n(49658),l=n(46299),s=n(19359),d=n(33975),c=n(4703),f=n(79976);let m="Tabs",[p,h]=(0,i.b)(m,[u.Pc]),v=(0,u.Pc)(),[g,y]=p(m),b=(0,a.forwardRef)((e,t)=>{let{__scopeTabs:n,value:o,onValueChange:i,defaultValue:u,orientation:l="horizontal",dir:m,activationMode:p="automatic",...h}=e,v=(0,d.gm)(m),[y,b]=(0,c.T)({prop:o,onChange:i,defaultProp:u});return(0,a.createElement)(g,{scope:n,baseId:(0,f.M)(),value:y,onValueChange:b,orientation:l,dir:v,activationMode:p},(0,a.createElement)(s.WV.div,(0,r.Z)({dir:v,"data-orientation":l},h,{ref:t})))}),w=(0,a.forwardRef)((e,t)=>{let{__scopeTabs:n,loop:o=!0,...i}=e,l=y("TabsList",n),d=v(n);return(0,a.createElement)(u.fC,(0,r.Z)({asChild:!0},d,{orientation:l.orientation,dir:l.dir,loop:o}),(0,a.createElement)(s.WV.div,(0,r.Z)({role:"tablist","aria-orientation":l.orientation},i,{ref:t})))}),D=(0,a.forwardRef)((e,t)=>{let{__scopeTabs:n,value:i,disabled:l=!1,...d}=e,c=y("TabsTrigger",n),f=v(n),m=x(c.baseId,i),p=C(c.baseId,i),h=i===c.value;return(0,a.createElement)(u.ck,(0,r.Z)({asChild:!0},f,{focusable:!l,active:h}),(0,a.createElement)(s.WV.button,(0,r.Z)({type:"button",role:"tab","aria-selected":h,"aria-controls":p,"data-state":h?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:m},d,{ref:t,onMouseDown:(0,o.M)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(i)}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(i)}),onFocus:(0,o.M)(e.onFocus,()=>{let e="manual"!==c.activationMode;h||l||!e||c.onValueChange(i)})})))}),E=(0,a.forwardRef)((e,t)=>{let{__scopeTabs:n,value:o,forceMount:i,children:u,...d}=e,c=y("TabsContent",n),f=x(c.baseId,o),m=C(c.baseId,o),p=o===c.value,h=(0,a.useRef)(p);return(0,a.useEffect)(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,a.createElement)(l.z,{present:i||p},({present:n})=>(0,a.createElement)(s.WV.div,(0,r.Z)({"data-state":p?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":f,hidden:!n,id:m,tabIndex:0},d,{ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0}}),n&&u))});function x(e,t){return`${e}-trigger-${t}`}function C(e,t){return`${e}-content-${t}`}let k=b,S=w,M=D,R=E},77837:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var r=n(53097),a=n(4470),o=n(72656),i=n(4703),u=n(19359);let l=(0,a.forwardRef)((e,t)=>{let{pressed:n,defaultPressed:l=!1,onPressedChange:s,...d}=e,[c=!1,f]=(0,i.T)({prop:n,onChange:s,defaultProp:l});return(0,a.createElement)(u.WV.button,(0,r.Z)({type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0},d,{ref:t,onClick:(0,o.M)(e.onClick,()=>{e.disabled||f(!c)})}))})},47121:function(e,t,n){"use strict";n.d(t,{VY:function(){return L},fC:function(){return N},xz:function(){return I},zt:function(){return O}});var r=n(53097),a=n(4470),o=n(72656),i=n(55473),u=n(55541),l=n(75446),s=n(79976),d=n(90069),c=(n(89300),n(46299)),f=n(19359),m=n(62909),p=n(4703),h=n(65431);let[v,g]=(0,u.b)("Tooltip",[d.D7]),y=(0,d.D7)(),b="tooltip.open",[w,D]=v("TooltipProvider"),E="Tooltip",[x,C]=v(E),k="TooltipTrigger",S=(0,a.forwardRef)((e,t)=>{let{__scopeTooltip:n,...u}=e,l=C(k,n),s=D(k,n),c=y(n),m=(0,a.useRef)(null),p=(0,i.e)(t,m,l.onTriggerChange),h=(0,a.useRef)(!1),v=(0,a.useRef)(!1),g=(0,a.useCallback)(()=>h.current=!1,[]);return(0,a.useEffect)(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,a.createElement)(d.ee,(0,r.Z)({asChild:!0},c),(0,a.createElement)(f.WV.button,(0,r.Z)({"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute},u,{ref:p,onPointerMove:(0,o.M)(e.onPointerMove,e=>{"touch"===e.pointerType||v.current||s.isPointerInTransitRef.current||(l.onTriggerEnter(),v.current=!0)}),onPointerLeave:(0,o.M)(e.onPointerLeave,()=>{l.onTriggerLeave(),v.current=!1}),onPointerDown:(0,o.M)(e.onPointerDown,()=>{h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,o.M)(e.onFocus,()=>{h.current||l.onOpen()}),onBlur:(0,o.M)(e.onBlur,l.onClose),onClick:(0,o.M)(e.onClick,l.onClose)})))}),[M,R]=v("TooltipPortal",{forceMount:void 0}),P="TooltipContent",T=(0,a.forwardRef)((e,t)=>{let n=R(P,e.__scopeTooltip),{forceMount:o=n.forceMount,side:i="top",...u}=e,l=C(P,e.__scopeTooltip);return(0,a.createElement)(c.z,{present:o||l.open},l.disableHoverableContent?(0,a.createElement)(_,(0,r.Z)({side:i},u,{ref:t})):(0,a.createElement)(A,(0,r.Z)({side:i},u,{ref:t})))}),A=(0,a.forwardRef)((e,t)=>{let n=C(P,e.__scopeTooltip),o=D(P,e.__scopeTooltip),u=(0,a.useRef)(null),l=(0,i.e)(t,u),[s,d]=(0,a.useState)(null),{trigger:c,onClose:f}=n,m=u.current,{onPointerInTransitChange:p}=o,h=(0,a.useCallback)(()=>{d(null),p(!1)},[p]),v=(0,a.useCallback)((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},a=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,a,o)){case o:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());d(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,a),...function(e){let{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}(t.getBoundingClientRect())])),p(!0)},[p]);return(0,a.useEffect)(()=>()=>h(),[h]),(0,a.useEffect)(()=>{if(c&&m){let e=e=>v(e,m),t=e=>v(e,c);return c.addEventListener("pointerleave",e),m.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),m.removeEventListener("pointerleave",t)}}},[c,m,v,h]),(0,a.useEffect)(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==m?void 0:m.contains(t)),a=!function(e,t){let{x:n,y:r}=e,a=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let i=t[e].x,u=t[e].y,l=t[o].x,s=t[o].y;u>r!=s>r&&n<(l-i)*(r-u)/(s-u)+i&&(a=!a)}return a}(n,s);r?h():a&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,m,s,f,h]),(0,a.createElement)(_,(0,r.Z)({},e,{ref:l}))}),[F,B]=v(E,{isInside:!1}),_=(0,a.forwardRef)((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:u,onPointerDownOutside:s,...c}=e,f=C(P,n),p=y(n),{onClose:v}=f;return(0,a.useEffect)(()=>(document.addEventListener(b,v),()=>document.removeEventListener(b,v)),[v]),(0,a.useEffect)(()=>{if(f.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(f.trigger)&&v()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,v]),(0,a.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:v},(0,a.createElement)(d.VY,(0,r.Z)({"data-state":f.stateAttribute},p,c,{ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,a.createElement)(m.A4,null,o),(0,a.createElement)(F,{scope:n,isInside:!0},(0,a.createElement)(h.f,{id:f.contentId,role:"tooltip"},i||o))))}),O=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[u,l]=(0,a.useState)(!0),s=(0,a.useRef)(!1),d=(0,a.useRef)(0);return(0,a.useEffect)(()=>{let e=d.current;return()=>window.clearTimeout(e)},[]),(0,a.createElement)(w,{scope:t,isOpenDelayed:u,delayDuration:n,onOpen:(0,a.useCallback)(()=>{window.clearTimeout(d.current),l(!1)},[]),onClose:(0,a.useCallback)(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:(0,a.useCallback)(e=>{s.current=e},[]),disableHoverableContent:o},i)},N=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:u,delayDuration:l}=e,c=D(E,e.__scopeTooltip),f=y(t),[m,h]=(0,a.useState)(null),v=(0,s.M)(),g=(0,a.useRef)(0),w=null!=u?u:c.disableHoverableContent,C=null!=l?l:c.delayDuration,k=(0,a.useRef)(!1),[S=!1,M]=(0,p.T)({prop:r,defaultProp:o,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(b))):c.onClose(),null==i||i(e)}}),R=(0,a.useMemo)(()=>S?k.current?"delayed-open":"instant-open":"closed",[S]),P=(0,a.useCallback)(()=>{window.clearTimeout(g.current),k.current=!1,M(!0)},[M]),T=(0,a.useCallback)(()=>{window.clearTimeout(g.current),M(!1)},[M]),A=(0,a.useCallback)(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{k.current=!0,M(!0)},C)},[C,M]);return(0,a.useEffect)(()=>()=>window.clearTimeout(g.current),[]),(0,a.createElement)(d.fC,f,(0,a.createElement)(x,{scope:t,contentId:v,open:S,stateAttribute:R,trigger:m,onTriggerChange:h,onTriggerEnter:(0,a.useCallback)(()=>{c.isOpenDelayed?A():P()},[c.isOpenDelayed,A,P]),onTriggerLeave:(0,a.useCallback)(()=>{w?T():window.clearTimeout(g.current)},[T,w]),onOpen:P,onClose:T,disableHoverableContent:w},n))},I=S,L=T},19401:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(4470);function a(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}},4703:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(4470),a=n(19401);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=(0,r.useState)(e),[o]=n,i=(0,r.useRef)(o),u=(0,a.W)(t);return(0,r.useEffect)(()=>{i.current!==o&&(u(o),i.current=o)},[o,i,u]),n}({defaultProp:t,onChange:n}),u=void 0!==e,l=u?e:o,s=(0,a.W)(n);return[l,(0,r.useCallback)(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[u,e,i,s])]}},69328:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(4470);let a=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},68351:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(4470);function a(e){let t=(0,r.useRef)({value:e,previous:e});return(0,r.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},43381:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(4470),a=n(69328);function o(e){let[t,n]=(0,r.useState)(void 0);return(0,a.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,a;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,a=t.blockSize}else r=e.offsetWidth,a=e.offsetHeight;n({width:r,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},65431:function(e,t,n){"use strict";n.d(t,{T:function(){return i},f:function(){return u}});var r=n(53097),a=n(4470),o=n(19359);let i=(0,a.forwardRef)((e,t)=>(0,a.createElement)(o.WV.span,(0,r.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),u=i},30679:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(33547),a=n(28604),o=n(52998);function i(e,t){let n,{elementType:i="button",isDisabled:u,onPress:l,onPressStart:s,onPressEnd:d,onPressUp:c,onPressChange:f,preventFocusOnPress:m,allowFocusWhenDisabled:p,onClick:h,href:v,target:g,rel:y,type:b="button"}=e;n="button"===i?{type:b,disabled:u}:{role:"button",tabIndex:u?void 0:0,href:"a"===i&&u?void 0:v,target:"a"===i?g:void 0,type:"input"===i?b:void 0,disabled:"input"===i?u:void 0,"aria-disabled":u&&"input"!==i?u:void 0,rel:"a"===i?y:void 0};let{pressProps:w,isPressed:D}=(0,o.r7)({onPressStart:s,onPressEnd:d,onPressChange:f,onPress:l,onPressUp:c,isDisabled:u,preventFocusOnPress:m,ref:t}),{focusableProps:E}=(0,a.kc)(e,t);p&&(E.tabIndex=u?-1:E.tabIndex);let x=(0,r.dG)(E,w,(0,r.zL)(e,{labelable:!0}));return{isPressed:D,buttonProps:(0,r.dG)(n,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{h&&(h(e),console.warn("onClick is deprecated, please use onPress"))}})}}},61095:function(e,t,n){"use strict";n.d(t,{GX:function(){return h},JK:function(){return g},QA:function(){return v}});var r=n(63370),a=n(33547),o=n(51234),i=n(4470),u=n(60808),l=n(52998);function s(e){return e&&e.__esModule?e.default:e}var d={};d={"ar-AE":{dateRange:e=>`${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,dateSelected:e=>`${e.date} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,finishRangeSelectionPrompt:`\u{627}\u{646}\u{642}\u{631} \u{644}\u{625}\u{646}\u{647}\u{627}\u{621} \u{639}\u{645}\u{644}\u{64A}\u{629} \u{62A}\u{62D}\u{62F}\u{64A}\u{62F} \u{646}\u{637}\u{627}\u{642} \u{627}\u{644}\u{62A}\u{627}\u{631}\u{64A}\u{62E}`,maximumDate:`\u{622}\u{62E}\u{631} \u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62A}\u{627}\u{62D}`,minimumDate:`\u{623}\u{648}\u{644} \u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62A}\u{627}\u{62D}`,next:`\u{627}\u{644}\u{62A}\u{627}\u{644}\u{64A}`,previous:`\u{627}\u{644}\u{633}\u{627}\u{628}\u{642}`,selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{627}\u{646}\u{642}\u{631} \u{644}\u{628}\u{62F}\u{621} \u{639}\u{645}\u{644}\u{64A}\u{629} \u{62A}\u{62D}\u{62F}\u{64A}\u{62F} \u{646}\u{637}\u{627}\u{642} \u{627}\u{644}\u{62A}\u{627}\u{631}\u{64A}\u{62E}`,todayDate:e=>`\u{627}\u{644}\u{64A}\u{648}\u{645}\u{60C} ${e.date}`,todayDateSelected:e=>`\u{627}\u{644}\u{64A}\u{648}\u{645}\u{60C} ${e.date} \u{645}\u{62D}\u{62F}\u{62F}`},"bg-BG":{dateRange:e=>`${e.startDate} \u{434}\u{43E} ${e.endDate}`,dateSelected:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435} ${e.date}`,finishRangeSelectionPrompt:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435}, \u{437}\u{430} \u{434}\u{430} \u{434}\u{43E}\u{432}\u{44A}\u{440}\u{448}\u{438}\u{442}\u{435} \u{438}\u{437}\u{431}\u{43E}\u{440}\u{430} \u{43D}\u{430} \u{432}\u{440}\u{435}\u{43C}\u{435}\u{432}\u{438} \u{438}\u{43D}\u{442}\u{435}\u{440}\u{432}\u{430}\u{43B}`,maximumDate:`\u{41F}\u{43E}\u{441}\u{43B}\u{435}\u{434}\u{43D}\u{430} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,minimumDate:`\u{41F}\u{44A}\u{440}\u{432}\u{430} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,next:`\u{41D}\u{430}\u{43F}\u{440}\u{435}\u{434}`,previous:`\u{41D}\u{430}\u{437}\u{430}\u{434}`,selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435}, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{440}\u{438}\u{441}\u{442}\u{44A}\u{43F}\u{438}\u{442}\u{435} \u{43A}\u{44A}\u{43C} \u{438}\u{437}\u{431}\u{43E}\u{440}\u{430} \u{43D}\u{430} \u{432}\u{440}\u{435}\u{43C}\u{435}\u{432}\u{438} \u{438}\u{43D}\u{442}\u{435}\u{440}\u{432}\u{430}\u{43B}`,todayDate:e=>`\u{414}\u{43D}\u{435}\u{441}, ${e.date}`,todayDateSelected:e=>`\u{414}\u{43D}\u{435}\u{441}, ${e.date} \u{441}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`},"cs-CZ":{dateRange:e=>`${e.startDate} a\u{17E} ${e.endDate}`,dateSelected:e=>`Vybr\xe1no ${e.date}`,finishRangeSelectionPrompt:`Kliknut\xedm dokon\u{10D}\xedte v\xfdb\u{11B}r rozsahu dat`,maximumDate:`Posledn\xed dostupn\xe9 datum`,minimumDate:`Prvn\xed dostupn\xe9 datum`,next:`Dal\u{161}\xed`,previous:`P\u{159}edchoz\xed`,selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknut\xedm zah\xe1j\xedte v\xfdb\u{11B}r rozsahu dat`,todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybr\xe1no ${e.date}`},"da-DK":{dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:`Klik for at fuldf\xf8re valg af datoomr\xe5de`,maximumDate:"Sidste ledige dato",minimumDate:`F\xf8rste ledige dato`,next:`N\xe6ste`,previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:`Klik for at starte valg af datoomr\xe5de`,todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},"de-DE":{dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgew\xe4hlt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:`Letztes verf\xfcgbares Datum`,minimumDate:`Erstes verf\xfcgbares Datum`,next:"Weiter",previous:`Zur\xfcck`,selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgew\xe4hlt`},"el-GR":{dateRange:e=>`${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,dateSelected:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${e.date}`,finishRangeSelectionPrompt:`\u{39A}\u{3AC}\u{3BD}\u{3C4}\u{3B5} \u{3BA}\u{3BB}\u{3B9}\u{3BA} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3BF}\u{3BB}\u{3BF}\u{3BA}\u{3BB}\u{3B7}\u{3C1}\u{3CE}\u{3C3}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3B7}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C5}\u{3C2} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3B9}\u{3CE}\u{3BD}`,maximumDate:`\u{3A4}\u{3B5}\u{3BB}\u{3B5}\u{3C5}\u{3C4}\u{3B1}\u{3AF}\u{3B1} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}`,minimumDate:`\u{3A0}\u{3C1}\u{3CE}\u{3C4}\u{3B7} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}`,next:`\u{395}\u{3C0}\u{3CC}\u{3BC}\u{3B5}\u{3BD}\u{3BF}`,previous:`\u{3A0}\u{3C1}\u{3BF}\u{3B7}\u{3B3}\u{3BF}\u{3CD}\u{3BC}\u{3B5}\u{3BD}\u{3BF}`,selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{39A}\u{3AC}\u{3BD}\u{3C4}\u{3B5} \u{3BA}\u{3BB}\u{3B9}\u{3BA} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3BE}\u{3B5}\u{3BA}\u{3B9}\u{3BD}\u{3AE}\u{3C3}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3B7}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C5}\u{3C2} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3B9}\u{3CE}\u{3BD}`,todayDate:e=>`\u{3A3}\u{3AE}\u{3BC}\u{3B5}\u{3C1}\u{3B1}, ${e.date}`,todayDateSelected:e=>`\u{3A3}\u{3AE}\u{3BC}\u{3B5}\u{3C1}\u{3B1}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3C4}\u{3B7}\u{3BA}\u{3B5} ${e.date}`},"en-US":{previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`},"es-ES":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:`\xdaltima fecha disponible`,minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`},"et-EE":{dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:`Kl\xf5psake kuup\xe4evavahemiku valimise l\xf5petamiseks`,maximumDate:`Viimane saadaolev kuup\xe4ev`,minimumDate:`Esimene saadaolev kuup\xe4ev`,next:`J\xe4rgmine`,previous:"Eelmine",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:`Kl\xf5psake kuup\xe4evavahemiku valimiseks`,todayDate:e=>`T\xe4na, ${e.date}`,todayDateSelected:e=>`T\xe4na, ${e.date} valitud`},"fi-FI":{dateRange:e=>`${e.startDate} \u{2013} ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:`Lopeta p\xe4iv\xe4m\xe4\xe4r\xe4alueen valinta napsauttamalla t\xe4t\xe4.`,maximumDate:`Viimeinen varattavissa oleva p\xe4iv\xe4m\xe4\xe4r\xe4`,minimumDate:`Ensimm\xe4inen varattavissa oleva p\xe4iv\xe4m\xe4\xe4r\xe4`,next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.dateRange}`,startRangeSelectionPrompt:`Aloita p\xe4iv\xe4m\xe4\xe4r\xe4alueen valinta napsauttamalla t\xe4t\xe4.`,todayDate:e=>`T\xe4n\xe4\xe4n, ${e.date}`,todayDateSelected:e=>`T\xe4n\xe4\xe4n, ${e.date} valittu`},"fr-FR":{dateRange:e=>`${e.startDate} \xe0 ${e.endDate}`,dateSelected:e=>`${e.date} s\xe9lectionn\xe9`,finishRangeSelectionPrompt:`Cliquer pour finir de s\xe9lectionner la plage de dates`,maximumDate:`Derni\xe8re date disponible`,minimumDate:`Premi\xe8re date disponible`,next:"Suivant",previous:`Pr\xe9c\xe9dent`,selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.dateRange}`,startRangeSelectionPrompt:`Cliquer pour commencer \xe0 s\xe9lectionner la plage de dates`,todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd\u{2019}hui, ${e.date} s\xe9lectionn\xe9`},"he-IL":{dateRange:e=>`${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,dateSelected:e=>`${e.date} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,finishRangeSelectionPrompt:`\u{5D7}\u{5E5} \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E1}\u{5D9}\u{5D9}\u{5DD} \u{5D0}\u{5EA} \u{5D1}\u{5D7}\u{5D9}\u{5E8}\u{5EA} \u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5D4}\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DB}\u{5D9}\u{5DD}`,maximumDate:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E4}\u{5E0}\u{5D5}\u{5D9} \u{5D0}\u{5D7}\u{5E8}\u{5D5}\u{5DF}`,minimumDate:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E4}\u{5E0}\u{5D5}\u{5D9} \u{5E8}\u{5D0}\u{5E9}\u{5D5}\u{5DF}`,next:`\u{5D4}\u{5D1}\u{5D0}`,previous:`\u{5D4}\u{5E7}\u{5D5}\u{5D3}\u{5DD}`,selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{5DC}\u{5D7}\u{5E5} \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D4}\u{5EA}\u{5D7}\u{5D9}\u{5DC} \u{5D1}\u{5D1}\u{5D7}\u{5D9}\u{5E8}\u{5EA} \u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5D4}\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DB}\u{5D9}\u{5DD}`,todayDate:e=>`\u{5D4}\u{5D9}\u{5D5}\u{5DD}, ${e.date}`,todayDateSelected:e=>`\u{5D4}\u{5D9}\u{5D5}\u{5DD}, ${e.date} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`},"hr-HR":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:`Kliknite da dovr\u{161}ite raspon odabranih datuma`,maximumDate:`Posljednji raspolo\u{17E}ivi datum`,minimumDate:`Prvi raspolo\u{17E}ivi datum`,next:`Sljede\u{107}i`,previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknite da zapo\u{10D}nete raspon odabranih datuma`,todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`},"hu-HU":{dateRange:e=>`${e.startDate}\u{2013}${e.endDate}`,dateSelected:e=>`${e.date} kiv\xe1lasztva`,finishRangeSelectionPrompt:`Kattintson a d\xe1tumtartom\xe1ny kijel\xf6l\xe9s\xe9nek befejez\xe9s\xe9hez`,maximumDate:`Utols\xf3 el\xe9rhet\u{151} d\xe1tum`,minimumDate:`Az els\u{151} el\xe9rhet\u{151} d\xe1tum`,next:`K\xf6vetkez\u{151}`,previous:`El\u{151}z\u{151}`,selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.dateRange}`,startRangeSelectionPrompt:`Kattintson a d\xe1tumtartom\xe1ny kijel\xf6l\xe9s\xe9nek ind\xedt\xe1s\xe1hoz`,todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijel\xf6lve`},"it-IT":{dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:`Fai clic per completare la selezione dell\u{2019}intervallo di date`,maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:`Fai clic per selezionare l\u{2019}intervallo di date`,todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`},"ja-JP":{dateRange:e=>`${e.startDate} \u{304B}\u{3089} ${e.endDate}`,dateSelected:e=>`${e.date} \u{3092}\u{9078}\u{629E}`,finishRangeSelectionPrompt:`\u{30AF}\u{30EA}\u{30C3}\u{30AF}\u{3057}\u{3066}\u{65E5}\u{4ED8}\u{7BC4}\u{56F2}\u{306E}\u{9078}\u{629E}\u{3092}\u{7D42}\u{4E86}`,maximumDate:`\u{6700}\u{7D42}\u{5229}\u{7528}\u{53EF}\u{80FD}\u{65E5}`,minimumDate:`\u{6700}\u{521D}\u{306E}\u{5229}\u{7528}\u{53EF}\u{80FD}\u{65E5}`,next:`\u{6B21}\u{3078}`,previous:`\u{524D}\u{3078}`,selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.dateRange}`,startRangeSelectionPrompt:`\u{30AF}\u{30EA}\u{30C3}\u{30AF}\u{3057}\u{3066}\u{65E5}\u{4ED8}\u{7BC4}\u{56F2}\u{306E}\u{9078}\u{629E}\u{3092}\u{958B}\u{59CB}`,todayDate:e=>`\u{672C}\u{65E5}\u{3001}${e.date}`,todayDateSelected:e=>`\u{672C}\u{65E5}\u{3001}${e.date} \u{3092}\u{9078}\u{629E}`},"ko-KR":{dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} \u{C120}\u{D0DD}\u{B428}`,finishRangeSelectionPrompt:`\u{B0A0}\u{C9DC} \u{BC94}\u{C704} \u{C120}\u{D0DD}\u{C744} \u{C644}\u{B8CC}\u{D558}\u{B824}\u{BA74} \u{D074}\u{B9AD}\u{D558}\u{C2ED}\u{C2DC}\u{C624}.`,maximumDate:`\u{B9C8}\u{C9C0}\u{B9C9}\u{C73C}\u{B85C} \u{C0AC}\u{C6A9} \u{AC00}\u{B2A5}\u{D55C} \u{C77C}\u{C790}`,minimumDate:`\u{CC98}\u{C74C}\u{C73C}\u{B85C} \u{C0AC}\u{C6A9} \u{AC00}\u{B2A5}\u{D55C} \u{C77C}\u{C790}`,next:`\u{B2E4}\u{C74C}`,previous:`\u{C774}\u{C804}`,selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{B0A0}\u{C9DC} \u{BC94}\u{C704} \u{C120}\u{D0DD}\u{C744} \u{C2DC}\u{C791}\u{D558}\u{B824}\u{BA74} \u{D074}\u{B9AD}\u{D558}\u{C2ED}\u{C2DC}\u{C624}.`,todayDate:e=>`\u{C624}\u{B298}, ${e.date}`,todayDateSelected:e=>`\u{C624}\u{B298}, ${e.date} \u{C120}\u{D0DD}\u{B428}`},"lt-LT":{dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:`Spustel\u{117}kite, kad baigtum\u{117}te pasirinkti dat\u{173} interval\u{105}`,maximumDate:`Paskutin\u{117} galima data`,minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:`Spustel\u{117}kite, kad prad\u{117}tum\u{117}te pasirinkti dat\u{173} interval\u{105}`,todayDate:e=>`\u{160}iandien, ${e.date}`,todayDateSelected:e=>`\u{160}iandien, pasirinkta ${e.date}`},"lv-LV":{dateRange:e=>`No ${e.startDate} l\u{12B}dz ${e.endDate}`,dateSelected:e=>`Atlas\u{12B}ts: ${e.date}`,finishRangeSelectionPrompt:`Noklik\u{161}\u{137}iniet, lai pabeigtu datumu diapazona atlasi`,maximumDate:`P\u{113}d\u{113}jais pieejamais datums`,minimumDate:"Pirmais pieejamais datums",next:`T\u{101}l\u{101}k`,previous:`Atpaka\u{13C}`,selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:`Noklik\u{161}\u{137}iniet, lai s\u{101}ktu datumu diapazona atlasi`,todayDate:e=>`\u{160}odien, ${e.date}`,todayDateSelected:e=>`Atlas\u{12B}ta \u{161}odiena, ${e.date}`},"nb-NO":{dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:`Klikk for \xe5 fullf\xf8re valg av datoomr\xe5de`,maximumDate:"Siste tilgjengelige dato",minimumDate:`F\xf8rste tilgjengelige dato`,next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.dateRange}`,startRangeSelectionPrompt:`Klikk for \xe5 starte valg av datoomr\xe5de`,todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},"nl-NL":{dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`},"pl-PL":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:`Kliknij, aby zako\u{144}czy\u{107} wyb\xf3r zakresu dat`,maximumDate:`Ostatnia dost\u{119}pna data`,minimumDate:`Pierwsza dost\u{119}pna data`,next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknij, aby rozpocz\u{105}\u{107} wyb\xf3r zakresu dat`,todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`},"pt-BR":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:`Clique para concluir a sele\xe7\xe3o do intervalo de datas`,maximumDate:`\xdaltima data dispon\xedvel`,minimumDate:`Primeira data dispon\xedvel`,next:`Pr\xf3ximo`,previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:`Clique para iniciar a sele\xe7\xe3o do intervalo de datas`,todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},"pt-PT":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:`\xdaltima data dispon\xedvel`,minimumDate:`Primeira data dispon\xedvel`,next:`Pr\xf3ximo`,previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:`Clique para come\xe7ar a selecionar o intervalo de datas`,todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},"ro-RO":{dateRange:e=>`De la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,dateSelected:e=>`${e.date} selectat\u{103}`,finishRangeSelectionPrompt:`Ap\u{103}sa\u{163}i pentru a finaliza selec\u{163}ia razei pentru dat\u{103}`,maximumDate:`Ultima dat\u{103} disponibil\u{103}`,minimumDate:`Prima dat\u{103} disponibil\u{103}`,next:`Urm\u{103}torul`,previous:`\xcenainte`,selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:`Ap\u{103}sa\u{163}i pentru a \xeencepe selec\u{163}ia razei pentru dat\u{103}`,todayDate:e=>`Ast\u{103}zi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectat\u{103}`},"ru-RU":{dateRange:e=>`\u{421} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,dateSelected:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`,finishRangeSelectionPrompt:`\u{429}\u{435}\u{43B}\u{43A}\u{43D}\u{438}\u{442}\u{435}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{438}\u{442}\u{44C} \u{432}\u{44B}\u{431}\u{43E}\u{440} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}\u{430} \u{434}\u{430}\u{442}`,maximumDate:`\u{41F}\u{43E}\u{441}\u{43B}\u{435}\u{434}\u{43D}\u{44F}\u{44F} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}`,minimumDate:`\u{41F}\u{435}\u{440}\u{432}\u{430}\u{44F} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}`,next:`\u{414}\u{430}\u{43B}\u{435}\u{435}`,previous:`\u{41D}\u{430}\u{437}\u{430}\u{434}`,selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{429}\u{435}\u{43B}\u{43A}\u{43D}\u{438}\u{442}\u{435}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43D}\u{430}\u{447}\u{430}\u{442}\u{44C} \u{432}\u{44B}\u{431}\u{43E}\u{440} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}\u{430} \u{434}\u{430}\u{442}`,todayDate:e=>`\u{421}\u{435}\u{433}\u{43E}\u{434}\u{43D}\u{44F}, ${e.date}`,todayDateSelected:e=>`\u{421}\u{435}\u{433}\u{43E}\u{434}\u{43D}\u{44F}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`},"sk-SK":{dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybrat\xfd d\xe1tum ${e.date}`,finishRangeSelectionPrompt:`Kliknut\xedm dokon\u{10D}\xedte v\xfdber rozsahu d\xe1tumov`,maximumDate:`Posledn\xfd dostupn\xfd d\xe1tum`,minimumDate:`Prv\xfd dostupn\xfd d\xe1tum`,next:`Nasleduj\xface`,previous:`Predch\xe1dzaj\xface`,selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknut\xedm spust\xedte v\xfdber rozsahu d\xe1tumov`,todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybrat\xfd dne\u{161}n\xfd d\xe1tum ${e.date}`},"sl-SI":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:`Kliknite za dokon\u{10D}anje izbire datumskega obsega`,maximumDate:`Zadnji razpolo\u{17E}ljivi datum`,minimumDate:`Prvi razpolo\u{17E}ljivi datum`,next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknite za za\u{10D}etek izbire datumskega obsega`,todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`},"sr-SP":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:`Kliknite da dovr\u{161}ite opseg izabranih datuma`,maximumDate:`Zadnji raspolo\u{17E}ivi datum`,minimumDate:`Prvi raspolo\u{17E}ivi datum`,next:`Slede\u{107}i`,previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknite da zapo\u{10D}nete opseg izabranih datuma`,todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`},"sv-SE":{dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:`Klicka f\xf6r att avsluta val av datumintervall`,maximumDate:`Sista tillg\xe4ngliga datum`,minimumDate:`F\xf6rsta tillg\xe4ngliga datum`,next:`N\xe4sta`,previous:`F\xf6reg\xe5ende`,selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:`Klicka f\xf6r att v\xe4lja datumintervall`,todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`},"tr-TR":{dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} se\xe7ildi`,finishRangeSelectionPrompt:`Tarih aral\u{131}\u{11F}\u{131} se\xe7imini tamamlamak i\xe7in t\u{131}klay\u{131}n`,maximumDate:`Son m\xfcsait tarih`,minimumDate:`\u{130}lk m\xfcsait tarih`,next:"Sonraki",previous:`\xd6nceki`,selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.dateRange}`,startRangeSelectionPrompt:`Tarih aral\u{131}\u{11F}\u{131} se\xe7imini ba\u{15F}latmak i\xe7in t\u{131}klay\u{131}n`,todayDate:e=>`Bug\xfcn, ${e.date}`,todayDateSelected:e=>`Bug\xfcn, ${e.date} se\xe7ildi`},"uk-UA":{dateRange:e=>`${e.startDate} \u{2014} ${e.endDate}`,dateSelected:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`,finishRangeSelectionPrompt:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C}, \u{449}\u{43E}\u{431} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{438}\u{442}\u{438} \u{432}\u{438}\u{431}\u{456}\u{440} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}\u{443} \u{434}\u{430}\u{442}`,maximumDate:`\u{41E}\u{441}\u{442}\u{430}\u{43D}\u{43D}\u{44F} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,minimumDate:`\u{41F}\u{435}\u{440}\u{448}\u{430} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,next:`\u{41D}\u{430}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{438}\u{439}`,previous:`\u{41F}\u{43E}\u{43F}\u{435}\u{440}\u{435}\u{434}\u{43D}\u{456}\u{439}`,selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C}, \u{449}\u{43E}\u{431} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{438} \u{432}\u{438}\u{431}\u{456}\u{440} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}\u{443} \u{434}\u{430}\u{442}`,todayDate:e=>`\u{421}\u{44C}\u{43E}\u{433}\u{43E}\u{434}\u{43D}\u{456}, ${e.date}`,todayDateSelected:e=>`\u{421}\u{44C}\u{43E}\u{433}\u{43E}\u{434}\u{43D}\u{456}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`},"zh-CN":{dateRange:e=>`${e.startDate} \u{81F3} ${e.endDate}`,dateSelected:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.date}`,finishRangeSelectionPrompt:`\u{5355}\u{51FB}\u{4EE5}\u{5B8C}\u{6210}\u{9009}\u{62E9}\u{65E5}\u{671F}\u{8303}\u{56F4}`,maximumDate:`\u{6700}\u{540E}\u{4E00}\u{4E2A}\u{53EF}\u{7528}\u{65E5}\u{671F}`,minimumDate:`\u{7B2C}\u{4E00}\u{4E2A}\u{53EF}\u{7528}\u{65E5}\u{671F}`,next:`\u{4E0B}\u{4E00}\u{9875}`,previous:`\u{4E0A}\u{4E00}\u{9875}`,selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.dateRange}`,startRangeSelectionPrompt:`\u{5355}\u{51FB}\u{4EE5}\u{5F00}\u{59CB}\u{9009}\u{62E9}\u{65E5}\u{671F}\u{8303}\u{56F4}`,todayDate:e=>`\u{4ECA}\u{5929}\u{FF0C}\u{5373} ${e.date}`,todayDateSelected:e=>`\u{5DF2}\u{9009}\u{62E9}\u{4ECA}\u{5929}\u{FF0C}\u{5373} ${e.date}`},"zh-TW":{dateRange:e=>`${e.startDate} \u{81F3} ${e.endDate}`,dateSelected:e=>`\u{5DF2}\u{9078}\u{53D6} ${e.date}`,finishRangeSelectionPrompt:`\u{6309}\u{4E00}\u{4E0B}\u{4EE5}\u{5B8C}\u{6210}\u{9078}\u{53D6}\u{65E5}\u{671F}\u{7BC4}\u{570D}`,maximumDate:`\u{6700}\u{5F8C}\u{4E00}\u{500B}\u{53EF}\u{7528}\u{65E5}\u{671F}`,minimumDate:`\u{7B2C}\u{4E00}\u{500B}\u{53EF}\u{7528}\u{65E5}\u{671F}`,next:`\u{4E0B}\u{4E00}\u{9801}`,previous:`\u{4E0A}\u{4E00}\u{9801}`,selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.dateRange}`,startRangeSelectionPrompt:`\u{6309}\u{4E00}\u{4E0B}\u{4EE5}\u{958B}\u{59CB}\u{9078}\u{53D6}\u{65E5}\u{671F}\u{7BC4}\u{570D}`,todayDate:e=>`\u{4ECA}\u{5929}\u{FF0C}${e.date}`,todayDateSelected:e=>`\u{5DF2}\u{9078}\u{53D6}\u{4ECA}\u{5929}\u{FF0C}${e.date}`}};let c=new WeakMap;function f(e){return(null==e?void 0:e.calendar.identifier)==="gregory"&&"BC"===e.era?"short":void 0}function m(e,t,n,r){let a=(0,o.qb)(s(d)),l=f(e)||f(t),c=(0,o.aQ)({month:"long",year:"numeric",era:l,calendar:e.calendar.identifier,timeZone:n}),m=(0,o.aQ)({month:"long",year:"numeric",day:"numeric",era:l,calendar:e.calendar.identifier,timeZone:n});return(0,i.useMemo)(()=>{if((0,u.KC)(e,(0,u.Nm)(e))){if((0,u.KC)(t,(0,u.Vf)(e)))return c.format(e.toDate(n));if((0,u.KC)(t,(0,u.Vf)(t)))return r?p(c,a,e,t,n):c.formatRange(e.toDate(n),t.toDate(n))}return r?p(m,a,e,t,n):m.formatRange(e.toDate(n),t.toDate(n))},[e,t,c,m,a,n,r])}function p(e,t,n,r,a){let o=e.formatRangeToParts(n.toDate(a),r.toDate(a)),i=-1;for(let e=0;e<o.length;e++){let t=o[e];if("shared"===t.source&&"literal"===t.type)i=e;else if("endRange"===t.source)break}let u="",l="";for(let e=0;e<o.length;e++)e<i?u+=o[e].value:e>i&&(l+=o[e].value);return t.format("dateRange",{startDate:u,endDate:l})}function h(e,t){return function(e,t){let n,l,h,v,g,y=(0,o.qb)(s(d)),b=(0,a.zL)(e),w=m(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),D=m(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);(0,a.rf)(()=>{t.isFocused||(0,r.xQ)(D)},[D]);let E=(h=(0,o.qb)(s(d)),"highlightedRange"in t?{start:n,end:l}=t.highlightedRange||{}:n=l=t.value,v=(0,o.aQ)({weekday:"long",month:"long",year:"numeric",day:"numeric",era:f(n)||f(l),timeZone:t.timeZone}),g="anchorDate"in t?t.anchorDate:null,(0,i.useMemo)(()=>{if(!g&&n&&l){if((0,u.KC)(n,l)){let e=v.format(n.toDate(t.timeZone));return h.format("selectedDateDescription",{date:e})}{let e=p(v,h,n,l,t.timeZone);return h.format("selectedRangeDescription",{dateRange:e})}}return""},[n,l,g,t.timeZone,h,v]));(0,a.rf)(()=>{E&&(0,r.xQ)(E,"polite",4e3)},[E]);let x=(0,a.mp)([!!e.errorMessage,e.isInvalid,e.validationState]);c.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:x,selectedDateDescription:E});let[C,k]=(0,i.useState)(!1),S=e.isDisabled||t.isNextVisibleRangeInvalid();S&&C&&(k(!1),t.setFocused(!0));let[M,R]=(0,i.useState)(!1),P=e.isDisabled||t.isPreviousVisibleRangeInvalid();P&&M&&(R(!1),t.setFocused(!0));let T=(0,a.bE)({id:e.id,"aria-label":[e["aria-label"],D].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:(0,a.dG)(b,T,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":y.format("next"),isDisabled:S,onFocusChange:k},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":y.format("previous"),isDisabled:P,onFocusChange:R},errorMessageProps:{id:x},title:w}}(e,t)}function v(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:l}=(0,o.bU)(),s=m(n,r,t.timeZone,!0),{ariaLabel:d,ariaLabelledBy:f}=c.get(t),p=(0,a.bE)({"aria-label":[d,s].filter(Boolean).join(", "),"aria-labelledby":f}),h=(0,o.aQ)({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:v}=(0,o.bU)(),g=(0,i.useMemo)(()=>{let e=(0,u.zJ)((0,u.Lg)(t.timeZone),v);return[...Array(7).keys()].map(n=>{let r=e.add({days:n}).toDate(t.timeZone);return h.format(r)})},[v,t.timeZone,h]);return{gridProps:(0,a.dG)(p,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:e=>{switch(e.key){case"Enter":case" ":e.preventDefault(),t.selectFocusedDate();break;case"PageUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousSection(e.shiftKey);break;case"PageDown":e.preventDefault(),e.stopPropagation(),t.focusNextSection(e.shiftKey);break;case"End":e.preventDefault(),e.stopPropagation(),t.focusSectionEnd();break;case"Home":e.preventDefault(),e.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===l?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===l?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(e.preventDefault(),t.setAnchorDate(null))}},onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:g}}function g(e,t,n){let{date:r,isDisabled:m}=e,{errorMessageId:p,selectedDateDescription:h}=c.get(t),v=(0,o.qb)(s(d)),g=(0,o.aQ)({weekday:"long",day:"numeric",month:"long",year:"numeric",era:f(r),timeZone:t.timeZone}),y=t.isSelected(r),b=t.isCellFocused(r);m=m||t.isCellDisabled(r);let w=t.isCellUnavailable(r),D=!m&&!w,E=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&0>=r.compare(t.highlightedRange.end):t.value&&(0,u.KC)(t.value,r));E&&(y=!0),r=(0,a.vE)(r,u.N9);let x=(0,i.useMemo)(()=>r.toDate(t.timeZone),[r,t.timeZone]),C=(0,u.zk)(r,t.timeZone),k=(0,i.useMemo)(()=>{let e="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&((0,u.KC)(r,t.value.start)||(0,u.KC)(r,t.value.end))&&(e=h+", "),e+=g.format(x),C?e=v.format(y?"todayDateSelected":"todayDate",{date:e}):y&&(e=v.format("dateSelected",{date:e})),t.minValue&&(0,u.KC)(r,t.minValue)?e+=", "+v.format("minimumDate"):t.maxValue&&(0,u.KC)(r,t.maxValue)&&(e+=", "+v.format("maximumDate")),e},[g,x,v,y,C,r,t,h]),S="";"anchorDate"in t&&b&&!t.isReadOnly&&D&&(S=t.anchorDate?v.format("finishRangeSelectionPrompt"):v.format("startRangeSelectionPrompt"));let M=(0,a.PK)(S),R=(0,i.useRef)(!1),P=(0,i.useRef)(!1),T=(0,i.useRef)(null),{pressProps:A,isPressed:F}=(0,l.r7)({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!D||t.isReadOnly,onPressStart(e){if(t.isReadOnly){t.setFocusedDate(r);return}if("highlightedRange"in t&&!t.anchorDate&&("mouse"===e.pointerType||"touch"===e.pointerType)){if(t.highlightedRange&&!E){if((0,u.KC)(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),P.current=!0;return}if((0,u.KC)(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),P.current=!0;return}}let n=()=>{t.setDragging(!0),T.current=null,t.selectDate(r),t.setFocusedDate(r),R.current=!0};"touch"===e.pointerType?T.current=setTimeout(n,200):n()}},onPressEnd(){P.current=!1,R.current=!1,clearTimeout(T.current),T.current=null},onPress(){"anchorDate"in t||t.isReadOnly||(t.selectDate(r),t.setFocusedDate(r))},onPressUp(e){if(!t.isReadOnly&&("anchorDate"in t&&T.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t)){if(P.current)t.setAnchorDate(r);else if(t.anchorDate&&!R.current)t.selectDate(r),t.setFocusedDate(r);else if("keyboard"!==e.pointerType||t.anchorDate)"virtual"===e.pointerType&&(t.selectDate(r),t.setFocusedDate(r));else{t.selectDate(r);let e=r.add({days:1});t.isInvalid(e)&&(e=r.subtract({days:1})),t.isInvalid(e)||t.setFocusedDate(e)}}}}),B=null;m||(B=(0,u.KC)(r,t.focusedDate)?0:-1),(0,i.useEffect)(()=>{b&&n.current&&((0,a.Ao)(n.current),"pointer"!==(0,l.Jz)()&&document.activeElement===n.current&&(0,a.Gt)(n.current,{containingElement:(0,a.rP)(n.current)}))},[b,n]);let _=(0,o.aQ)({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),O=(0,i.useMemo)(()=>_.formatToParts(x).find(e=>"day"===e.type).value,[_,x]);return{cellProps:{role:"gridcell","aria-disabled":!D||null,"aria-selected":y||null,"aria-invalid":E||null},buttonProps:(0,a.dG)(A,{onFocus(){m||t.setFocusedDate(r)},tabIndex:B,role:"button","aria-disabled":!D||null,"aria-label":k,"aria-invalid":E||null,"aria-describedby":[E?p:null,M["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(e){"highlightDate"in t&&("touch"!==e.pointerType||t.isDragging)&&D&&t.highlightDate(r)},onPointerDown(e){"releasePointerCapture"in e.target&&e.target.releasePointerCapture(e.pointerId)},onContextMenu(e){e.preventDefault()}}),isPressed:F,isFocused:b,isSelected:y,isDisabled:m,isUnavailable:w,isOutsideVisibleRange:0>r.compare(t.visibleRange.start)||r.compare(t.visibleRange.end)>0,isInvalid:E,formattedDate:O}}},76682:function(e,t,n){"use strict";n.d(t,{IZ:function(){return N},kt:function(){return L},O7:function(){return $},C3:function(){return I}});var r=n(28604),a=n(33547),o=n(76890),i=n(4470);function u(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:i,fieldProps:u}=function(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:i="label"}=e;t=(0,a.Me)(t);let u=(0,a.Me)(),l={};return n?(r=r?`${u} ${r}`:u,l={id:u,htmlFor:"label"===i?t:void 0}):r||o||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:l,fieldProps:(0,a.bE)({id:t,"aria-label":o,"aria-labelledby":r})}}(e),l=(0,a.mp)([!!t,!!n,r,o]),s=(0,a.mp)([!!t,!!n,r,o]);return{labelProps:i,fieldProps:u=(0,a.dG)(u,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:l},errorMessageProps:{id:s}}}var l=n(52998),s=n(51234),d=n(60808);let c=new Map,f=!1;try{f="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(e){}let m=!1;try{m="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(e){}let p={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class h{format(e){let t="";if(t=f||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,n){if("auto"===t)return e.format(n);{if("never"===t)return e.format(Math.abs(n));let r=!1;if("always"===t?r=n>0||Object.is(n,0):"exceptZero"===t&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),!r)return e.format(n);{let t=e.format(-n),r=e.format(n),a=t.replace(r,"").replace(/\u200e|\u061C/,"");return 1!=[...a].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(r,"!!!").replace(a,"+").replace("!!!",r)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!m){var n;let{unit:e,unitDisplay:r="short",locale:a}=this.resolvedOptions(),o=null===(n=p[e])||void 0===n?void 0:n[r];t+=o[a]||o.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return f||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),m||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:n}=t;if(n&&-1===e.indexOf("-u-nu-")&&(e=`${e}-u-nu-${n}`),"unit"===t.style&&!m){var r;let{unit:e,unitDisplay:n="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!(null===(r=p[e])||void 0===r?void 0:r[n]))throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(c.has(a))return c.get(a);let o=new Intl.NumberFormat(e,t);return c.set(a,o),o}(e,t),this.options=t}}let v=RegExp("^.*\\(.*\\).*$"),g=["latn","arab","hanidec"];class y{parse(e){return w(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return w(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return w(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}}let b=new Map;function w(e,t,n){let r=D(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let a of g)if(a!==r.options.numberingSystem){let r=D(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(r.isValidPartialNumber(n))return r}}return r}function D(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),r=b.get(n);return r||(r=new E(e,t),b.set(n,r)),r}class E{parse(e){let t=this.sanitize(e);if(t=k(t,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=t.indexOf("-"),n=(t=t.replace("-","")).indexOf(".");-1===n&&(n=t.length),t=t.replace(".",""),t=n-2==0?`0.${t}`:n-2==-1?`0.0${t}`:n-2==-2?"0.00":`${t.slice(0,n-2)}.${t.slice(n-2)}`,e>-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new y(this.locale,e).parse(new h(this.locale,e).format(n))}return"accounting"===this.options.currencySign&&v.test(e)&&(n*=-1),n}sanitize(e){return e=(e=e.replace(this.symbols.literals,"")).replace("-",this.symbols.minusSign),"arab"===this.options.numberingSystem&&(e=k(e=(e=e.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal),".",this.symbols.group)),"fr-FR"===this.options.locale&&(e=k(e,".",String.fromCharCode(8239))),e}isValidPartialNumber(e,t=-1/0,n=1/0){return(e=this.sanitize(e)).startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),!(e.startsWith(this.symbols.group)||e.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits)&&0===(e=k(e,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,"")).length}constructor(e,t={}){var n,r,a,o,i,u,l,s,d;let c,f,m,p,h,v,g,y,b,w,D,E;this.locale=e,this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=(this.formatter,o=this.options,f=(c=new Intl.NumberFormat(e,{...o,minimumSignificantDigits:1,maximumSignificantDigits:21})).formatToParts(-10000.111),m=c.formatToParts(10000.111),p=C.map(e=>c.formatToParts(e)),h=null!==(d=null===(i=f.find(e=>"minusSign"===e.type))||void 0===i?void 0:i.value)&&void 0!==d?d:"-",(v=null===(u=m.find(e=>"plusSign"===e.type))||void 0===u?void 0:u.value)||(null==t?void 0:t.signDisplay)!=="exceptZero"&&(null==t?void 0:t.signDisplay)!=="always"||(v="+"),g=null===(l=new Intl.NumberFormat(e,{...o,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>"decimal"===e.type))||void 0===l?void 0:l.value,y=null===(s=f.find(e=>"group"===e.type))||void 0===s?void 0:s.value,w=0===(b=[...new Set([...f.filter(e=>!x.has(e.type)).map(e=>S(e.value)),...p.flatMap(e=>e.filter(e=>!x.has(e.type)).map(e=>S(e.value)))])].sort((e,t)=>t.length-e.length)).length?RegExp("[\\p{White_Space}]","gu"):RegExp(`${b.join("|")}|[\\p{White_Space}]`,"gu"),E=new Map((D=[...new Intl.NumberFormat(o.locale,{useGrouping:!1}).format(9876543210)].reverse()).map((e,t)=>[e,t])),{minusSign:h,plusSign:v,decimal:g,group:y,literals:w,numeral:RegExp(`[${D.join("")}]`,"g"),index:e=>String(E.get(e))}),"percent"===this.options.style&&((null!==(n=this.options.minimumFractionDigits)&&void 0!==n?n:0)>18||(null!==(r=this.options.maximumFractionDigits)&&void 0!==r?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}let x=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),C=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function k(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function S(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var M=n(63370),R={};R={"ar-AE":{Empty:`\u{641}\u{627}\u{631}\u{63A}`},"bg-BG":{Empty:`\u{418}\u{437}\u{43F}\u{440}\u{430}\u{437}\u{43D}\u{438}`},"cs-CZ":{Empty:`Pr\xe1zdn\xe9`},"da-DK":{Empty:"Tom"},"de-DE":{Empty:"Leer"},"el-GR":{Empty:`\u{386}\u{3B4}\u{3B5}\u{3B9}\u{3BF}`},"en-US":{Empty:"Empty"},"es-ES":{Empty:`Vac\xedo`},"et-EE":{Empty:`T\xfchjenda`},"fi-FI":{Empty:`Tyhj\xe4`},"fr-FR":{Empty:"Vide"},"he-IL":{Empty:`\u{5E8}\u{5D9}\u{5E7}`},"hr-HR":{Empty:"Prazno"},"hu-HU":{Empty:`\xdcres`},"it-IT":{Empty:"Vuoto"},"ja-JP":{Empty:`\u{7A7A}`},"ko-KR":{Empty:`\u{BE44}\u{C5B4} \u{C788}\u{C74C}`},"lt-LT":{Empty:`Tu\u{161}\u{10D}ias`},"lv-LV":{Empty:`Tuk\u{161}s`},"nb-NO":{Empty:"Tom"},"nl-NL":{Empty:"Leeg"},"pl-PL":{Empty:"Pusty"},"pt-BR":{Empty:"Vazio"},"pt-PT":{Empty:"Vazio"},"ro-RO":{Empty:"Gol"},"ru-RU":{Empty:`\u{41D}\u{435} \u{437}\u{430}\u{43F}\u{43E}\u{43B}\u{43D}\u{435}\u{43D}\u{43E}`},"sk-SK":{Empty:`Pr\xe1zdne`},"sl-SI":{Empty:"Prazen"},"sr-SP":{Empty:"Prazno"},"sv-SE":{Empty:"Tomt"},"tr-TR":{Empty:`Bo\u{15F}`},"uk-UA":{Empty:`\u{41F}\u{443}\u{441}\u{442}\u{43E}`},"zh-CN":{Empty:`\u{7A7A}`},"zh-TW":{Empty:`\u{7A7A}\u{767D}`}};var P=n(16570);function T(e){return e&&e.__esModule?e.default:e}var A={};function F(e,t,n){let{direction:o}=(0,s.bU)(),u=(0,i.useMemo)(()=>(0,r.E7)(t),[t]),d=()=>{var e;let n=null===(e=window.event)||void 0===e?void 0:e.target,a=(0,r.QL)(t.current,{tabbable:!0});if(n&&(a.currentNode=n,n=a.previousNode()),!n){let e;do(e=a.lastChild())&&(n=e);while(e)}for(;null==n?void 0:n.hasAttribute("data-placeholder");){let e=a.previousNode();if(e&&e.hasAttribute("data-placeholder"))n=e;else break}n&&n.focus()},{pressProps:c}=(0,l.r7)({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){"mouse"===e.pointerType&&d()},onPress(e){"mouse"!==e.pointerType&&d()}});return(0,a.dG)(c,{onKeyDown:t=>{if(t.currentTarget.contains(t.target)&&(t.altKey&&("ArrowDown"===t.key||"ArrowUp"===t.key)&&"setOpen"in e&&(t.preventDefault(),t.stopPropagation(),e.setOpen(!0)),!n))switch(t.key){case"ArrowLeft":t.preventDefault(),t.stopPropagation(),"rtl"===o?u.focusNext():u.focusPrevious();break;case"ArrowRight":t.preventDefault(),t.stopPropagation(),"rtl"===o?u.focusPrevious():u.focusNext()}}})}A={"ar-AE":{calendar:`\u{627}\u{644}\u{62A}\u{642}\u{648}\u{64A}\u{645}`,day:`\u{64A}\u{648}\u{645}`,dayPeriod:`\u{635}/\u{645}`,endDate:`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{627}\u{646}\u{62A}\u{647}\u{627}\u{621}`,era:`\u{627}\u{644}\u{639}\u{635}\u{631}`,hour:`\u{627}\u{644}\u{633}\u{627}\u{639}\u{627}\u{62A}`,minute:`\u{627}\u{644}\u{62F}\u{642}\u{627}\u{626}\u{642}`,month:`\u{627}\u{644}\u{634}\u{647}\u{631}`,second:`\u{627}\u{644}\u{62B}\u{648}\u{627}\u{646}\u{64A}`,selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,selectedTimeDescription:e=>`\u{627}\u{644}\u{648}\u{642}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.time}`,startDate:`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{628}\u{62F}\u{621}`,timeZoneName:`\u{627}\u{644}\u{62A}\u{648}\u{642}\u{64A}\u{62A}`,weekday:`\u{627}\u{644}\u{64A}\u{648}\u{645}`,year:`\u{627}\u{644}\u{633}\u{646}\u{629}`},"bg-BG":{calendar:`\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}`,day:`\u{434}\u{435}\u{43D}`,dayPeriod:`\u{43F}\u{440}.\u{43E}\u{431}./\u{441}\u{43B}.\u{43E}\u{431}.`,endDate:`\u{41A}\u{440}\u{430}\u{439}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,era:`\u{435}\u{440}\u{430}`,hour:`\u{447}\u{430}\u{441}`,minute:`\u{43C}\u{438}\u{43D}\u{443}\u{442}\u{430}`,month:`\u{43C}\u{435}\u{441}\u{435}\u{446}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{434}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{432}\u{440}\u{435}\u{43C}\u{435}: ${e.time}`,startDate:`\u{41D}\u{430}\u{447}\u{430}\u{43B}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,timeZoneName:`\u{447}\u{430}\u{441}\u{43E}\u{432}\u{430} \u{437}\u{43E}\u{43D}\u{430}`,weekday:`\u{434}\u{435}\u{43D} \u{43E}\u{442} \u{441}\u{435}\u{434}\u{43C}\u{438}\u{446}\u{430}\u{442}\u{430}`,year:`\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`},"cs-CZ":{calendar:`Kalend\xe1\u{159}`,day:"den",dayPeriod:`\u{10D}\xe1st dne`,endDate:`Kone\u{10D}n\xe9 datum`,era:`letopo\u{10D}et`,hour:"hodina",minute:"minuta",month:`m\u{11B}s\xedc`,second:"sekunda",selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.startDate} a\u{17E} ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xfd \u{10D}as: ${e.time}`,startDate:`Po\u{10D}\xe1te\u{10D}n\xed datum`,timeZoneName:`\u{10D}asov\xe9 p\xe1smo`,weekday:`den v t\xfddnu`,year:"rok"},"da-DK":{calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:`\xe6ra`,hour:"time",minute:"minut",month:`m\xe5ned`,second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:`\xe5r`},"de-DE":{calendar:"Kalender",day:"Tag",dayPeriod:`Tagesh\xe4lfte`,endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xe4hlte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"},"el-GR":{calendar:`\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BB}\u{3CC}\u{3B3}\u{3B9}\u{3BF}`,day:`\u{3B7}\u{3BC}\u{3AD}\u{3C1}\u{3B1}`,dayPeriod:`\u{3C0}.\u{3BC}./\u{3BC}.\u{3BC}.`,endDate:`\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3BB}\u{3AE}\u{3BE}\u{3B7}\u{3C2}`,era:`\u{3C0}\u{3B5}\u{3C1}\u{3AF}\u{3BF}\u{3B4}\u{3BF}\u{3C2}`,hour:`\u{3CE}\u{3C1}\u{3B1}`,minute:`\u{3BB}\u{3B5}\u{3C0}\u{3C4}\u{3CC}`,month:`\u{3BC}\u{3AE}\u{3BD}\u{3B1}\u{3C2}`,second:`\u{3B4}\u{3B5}\u{3C5}\u{3C4}\u{3B5}\u{3C1}\u{3CC}\u{3BB}\u{3B5}\u{3C0}\u{3C4}\u{3BF}`,selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,selectedTimeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}: ${e.time}`,startDate:`\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3AD}\u{3BD}\u{3B1}\u{3C1}\u{3BE}\u{3B7}\u{3C2}`,timeZoneName:`\u{3B6}\u{3CE}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}\u{3C2}`,weekday:`\u{3BA}\u{3B1}\u{3B8}\u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3B9}\u{3BD}\u{3AE}`,year:`\u{3AD}\u{3C4}\u{3BF}\u{3C2}`},"en-US":{era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`},"es-ES":{calendar:"Calendario",day:`d\xeda`,dayPeriod:`a.\xa0m./p.\xa0m.`,endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:`d\xeda de la semana`,year:`a\xf1o`},"et-EE":{calendar:"Kalender",day:`p\xe4ev`,dayPeriod:`enne/p\xe4rast l\xf5unat`,endDate:`L\xf5ppkuup\xe4ev`,era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:`Alguskuup\xe4ev`,timeZoneName:`ajav\xf6\xf6nd`,weekday:`n\xe4dalap\xe4ev`,year:"aasta"},"fi-FI":{calendar:"Kalenteri",day:`p\xe4iv\xe4`,dayPeriod:"vuorokaudenaika",endDate:`P\xe4\xe4ttymisp\xe4iv\xe4`,era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.startDate} \u{2013} ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:`Alkamisp\xe4iv\xe4`,timeZoneName:`aikavy\xf6hyke`,weekday:`viikonp\xe4iv\xe4`,year:"vuosi"},"fr-FR":{calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:`\xe8re`,hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xa0: ${e.time}`,startDate:`Date de d\xe9but`,timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:`ann\xe9e`},"he-IL":{calendar:`\u{5DC}\u{5D5}\u{5D7} \u{5E9}\u{5E0}\u{5D4}`,day:`\u{5D9}\u{5D5}\u{5DD}`,dayPeriod:`\u{5DC}\u{5E4}\u{5E0}\u{5D4}\u{5F4}\u{5E6}/\u{5D0}\u{5D7}\u{5D4}\u{5F4}\u{5E6}`,endDate:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E1}\u{5D9}\u{5D5}\u{5DD}`,era:`\u{5EA}\u{5E7}\u{5D5}\u{5E4}\u{5D4}`,hour:`\u{5E9}\u{5E2}\u{5D4}`,minute:`\u{5D3}\u{5E7}\u{5D4}`,month:`\u{5D7}\u{5D5}\u{5D3}\u{5E9}`,second:`\u{5E9}\u{5E0}\u{5D9}\u{5D9}\u{5D4}`,selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,selectedTimeDescription:e=>`\u{5D6}\u{5DE}\u{5DF} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.time}`,startDate:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5EA}\u{5D7}\u{5DC}\u{5D4}`,timeZoneName:`\u{5D0}\u{5D6}\u{5D5}\u{5E8} \u{5D6}\u{5DE}\u{5DF}`,weekday:`\u{5D9}\u{5D5}\u{5DD} \u{5D1}\u{5E9}\u{5D1}\u{5D5}\u{5E2}`,year:`\u{5E9}\u{5E0}\u{5D4}`},"hr-HR":{calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:`Datum zavr\u{161}etka`,era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:`Datum po\u{10D}etka`,timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"},"hu-HU":{calendar:`Napt\xe1r`,day:"nap",dayPeriod:"napszak",endDate:`Befejez\u{151} d\xe1tum`,era:`\xe9ra`,hour:`\xf3ra`,minute:"perc",month:`h\xf3nap`,second:`m\xe1sodperc`,selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.startDate}\u{2013}${e.endDate}`,selectedTimeDescription:e=>`Kijel\xf6lt id\u{151}: ${e.time}`,startDate:`Kezd\u{151} d\xe1tum`,timeZoneName:`id\u{151}z\xf3na`,weekday:`h\xe9t napja`,year:`\xe9v`},"it-IT":{calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"},"ja-JP":{calendar:`\u{30AB}\u{30EC}\u{30F3}\u{30C0}\u{30FC}`,day:`\u{65E5}`,dayPeriod:`\u{5348}\u{524D}/\u{5348}\u{5F8C}`,endDate:`\u{7D42}\u{4E86}\u{65E5}`,era:`\u{6642}\u{4EE3}`,hour:`\u{6642}`,minute:`\u{5206}`,month:`\u{6708}`,second:`\u{79D2}`,selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.startDate} \u{304B}\u{3089} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{6642}\u{9593} : ${e.time}`,startDate:`\u{958B}\u{59CB}\u{65E5}`,timeZoneName:`\u{30BF}\u{30A4}\u{30E0}\u{30BE}\u{30FC}\u{30F3}`,weekday:`\u{66DC}\u{65E5}`,year:`\u{5E74}`},"ko-KR":{calendar:`\u{B2EC}\u{B825}`,day:`\u{C77C}`,dayPeriod:`\u{C624}\u{C804}/\u{C624}\u{D6C4}`,endDate:`\u{C885}\u{B8CC}\u{C77C}`,era:`\u{C5F0}\u{D638}`,hour:`\u{C2DC}`,minute:`\u{BD84}`,month:`\u{C6D4}`,second:`\u{CD08}`,selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`\u{C120}\u{D0DD} \u{C2DC}\u{AC04}: ${e.time}`,startDate:`\u{C2DC}\u{C791}\u{C77C}`,timeZoneName:`\u{C2DC}\u{AC04}\u{B300}`,weekday:`\u{C694}\u{C77C}`,year:`\u{B144}`},"lt-LT":{calendar:"Kalendorius",day:"diena",dayPeriod:`iki piet\u{173} / po piet\u{173}`,endDate:"Pabaigos data",era:"era",hour:"valanda",minute:`minut\u{117}`,month:`m\u{117}nuo`,second:`sekund\u{117}`,selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:`Prad\u{17E}ios data`,timeZoneName:"laiko juosta",weekday:`savait\u{117}s diena`,year:"metai"},"lv-LV":{calendar:`Kalend\u{101}rs`,day:"diena",dayPeriod:`priek\u{161}pusdien\u{101}/p\u{113}cpusdien\u{101}`,endDate:"Beigu datums",era:`\u{113}ra`,hour:"stundas",minute:`min\u{16B}tes`,month:`m\u{113}nesis`,second:"sekundes",selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: no ${e.startDate} l\u{12B}dz ${e.endDate}`,selectedTimeDescription:e=>`Atlas\u{12B}tais laiks: ${e.time}`,startDate:`S\u{101}kuma datums`,timeZoneName:"laika josla",weekday:`ned\u{113}\u{13C}as diena`,year:"gads"},"nb-NO":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:`m\xe5ned`,second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:`\xe5r`},"nl-NL":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"},"pl-PL":{calendar:"Kalendarz",day:`dzie\u{144}`,dayPeriod:`rano / po po\u{142}udniu / wieczorem`,endDate:`Data ko\u{144}cowa`,era:"era",hour:"godzina",minute:"minuta",month:`miesi\u{105}c`,second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:`Data pocz\u{105}tkowa`,timeZoneName:"strefa czasowa",weekday:`dzie\u{144} tygodnia`,year:"rok"},"pt-BR":{calendar:`Calend\xe1rio`,day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:`m\xeas`,second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:`fuso hor\xe1rio`,weekday:"dia da semana",year:"ano"},"pt-PT":{calendar:`Calend\xe1rio`,day:"dia",dayPeriod:"am/pm",endDate:`Data de T\xe9rmino`,era:"era",hour:"hora",minute:"minuto",month:`m\xeas`,second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:`Data de In\xedcio`,timeZoneName:`fuso hor\xe1rio`,weekday:"dia da semana",year:"ano"},"ro-RO":{calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:`Dat\u{103} final`,era:`er\u{103}`,hour:`or\u{103}`,minute:"minut",month:`lun\u{103}`,second:`secund\u{103}`,selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectat\u{103}: ${e.time}`,startDate:`Dat\u{103} \xeenceput`,timeZoneName:"fus orar",weekday:`ziua din s\u{103}pt\u{103}m\xe2n\u{103}`,year:"an"},"ru-RU":{calendar:`\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}\u{44C}`,day:`\u{434}\u{435}\u{43D}\u{44C}`,dayPeriod:"AM/PM",endDate:`\u{414}\u{430}\u{442}\u{430} \u{43E}\u{43A}\u{43E}\u{43D}\u{447}\u{430}\u{43D}\u{438}\u{44F}`,era:`\u{44D}\u{440}\u{430}`,hour:`\u{447}\u{430}\u{441}`,minute:`\u{43C}\u{438}\u{43D}\u{443}\u{442}\u{430}`,month:`\u{43C}\u{435}\u{441}\u{44F}\u{446}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: \u{441} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{435} \u{432}\u{440}\u{435}\u{43C}\u{44F}: ${e.time}`,startDate:`\u{414}\u{430}\u{442}\u{430} \u{43D}\u{430}\u{447}\u{430}\u{43B}\u{430}`,timeZoneName:`\u{447}\u{430}\u{441}\u{43E}\u{432}\u{43E}\u{439} \u{43F}\u{43E}\u{44F}\u{441}`,weekday:`\u{434}\u{435}\u{43D}\u{44C} \u{43D}\u{435}\u{434}\u{435}\u{43B}\u{438}`,year:`\u{433}\u{43E}\u{434}`},"sk-SK":{calendar:`Kalend\xe1r`,day:`de\u{148}`,dayPeriod:"AM/PM",endDate:`D\xe1tum ukon\u{10D}enia`,era:`letopo\u{10D}et`,hour:"hodina",minute:`min\xfata`,month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xfd \u{10D}as: ${e.time}`,startDate:`D\xe1tum za\u{10D}atia`,timeZoneName:`\u{10D}asov\xe9 p\xe1smo`,weekday:`de\u{148} t\xfd\u{17E}d\u{148}a`,year:"rok"},"sl-SI":{calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani \u{10D}as: ${e.time}`,startDate:`Datum za\u{10D}etka`,timeZoneName:`\u{10D}asovni pas`,weekday:"dan v tednu",year:"leto"},"sr-SP":{calendar:"Kalendar",day:`\u{434}\u{430}\u{43D}`,dayPeriod:`\u{43F}\u{440}\u{435} \u{43F}\u{43E}\u{434}\u{43D}\u{435}/\u{43F}\u{43E} \u{43F}\u{43E}\u{434}\u{43D}\u{435}`,endDate:`Datum zavr\u{161}etka`,era:`\u{435}\u{440}\u{430}`,hour:`\u{441}\u{430}\u{442}`,minute:`\u{43C}\u{438}\u{43D}\u{443}\u{442}`,month:`\u{43C}\u{435}\u{441}\u{435}\u{446}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}`,selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:`Datum po\u{10D}etka`,timeZoneName:`\u{432}\u{440}\u{435}\u{43C}\u{435}\u{43D}\u{441}\u{43A}\u{430} \u{437}\u{43E}\u{43D}\u{430}`,weekday:`\u{434}\u{430}\u{43D} \u{443} \u{43D}\u{435}\u{434}\u{435}\u{459}\u{438}`,year:`\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`},"sv-SE":{calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:`m\xe5nad`,second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:`\xe5r`},"tr-TR":{calendar:"Takvim",day:`g\xfcn`,dayPeriod:`\xd6\xd6/\xd6S`,endDate:`Biti\u{15F} Tarihi`,era:`\xe7a\u{11F}`,hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xe7ilen Zaman: ${e.time}`,startDate:`Ba\u{15F}lang\u{131}\xe7 Tarihi`,timeZoneName:"saat dilimi",weekday:`haftan\u{131}n g\xfcn\xfc`,year:`y\u{131}l`},"uk-UA":{calendar:`\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}`,day:`\u{434}\u{435}\u{43D}\u{44C}`,dayPeriod:`\u{434}\u{43F}/\u{43F}\u{43F}`,endDate:`\u{414}\u{430}\u{442}\u{430} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{435}\u{43D}\u{43D}\u{44F}`,era:`\u{435}\u{440}\u{430}`,hour:`\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`,minute:`\u{445}\u{432}\u{438}\u{43B}\u{438}\u{43D}\u{430}`,month:`\u{43C}\u{456}\u{441}\u{44F}\u{446}\u{44C}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{2014} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{447}\u{430}\u{441}: ${e.time}`,startDate:`\u{414}\u{430}\u{442}\u{430} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{43A}\u{443}`,timeZoneName:`\u{447}\u{430}\u{441}\u{43E}\u{432}\u{438}\u{439} \u{43F}\u{43E}\u{44F}\u{441}`,weekday:`\u{434}\u{435}\u{43D}\u{44C} \u{442}\u{438}\u{436}\u{43D}\u{44F}`,year:`\u{440}\u{456}\u{43A}`},"zh-CN":{calendar:`\u{65E5}\u{5386}`,day:`\u{65E5}`,dayPeriod:`\u{4E0A}\u{5348}/\u{4E0B}\u{5348}`,endDate:`\u{7ED3}\u{675F}\u{65E5}\u{671F}`,era:`\u{7EAA}\u{5143}`,hour:`\u{5C0F}\u{65F6}`,minute:`\u{5206}\u{949F}`,month:`\u{6708}`,second:`\u{79D2}`,selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65F6}\u{95F4}\u{FF1A}${e.time}`,startDate:`\u{5F00}\u{59CB}\u{65E5}\u{671F}`,timeZoneName:`\u{65F6}\u{533A}`,weekday:`\u{5DE5}\u{4F5C}\u{65E5}`,year:`\u{5E74}`},"zh-TW":{calendar:`\u{65E5}\u{66C6}`,day:`\u{65E5}`,dayPeriod:`\u{4E0A}\u{5348}/\u{4E0B}\u{5348}`,endDate:`\u{7D50}\u{675F}\u{65E5}\u{671F}`,era:`\u{7EAA}\u{5143}`,hour:`\u{5C0F}\u{65F6}`,minute:`\u{5206}\u{949F}`,month:`\u{6708}`,second:`\u{79D2}`,selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{6642}\u{9593}\u{FF1A}${e.time}`,startDate:`\u{958B}\u{59CB}\u{65E5}\u{671F}`,timeZoneName:`\u{65F6}\u{533A}`,weekday:`\u{5DE5}\u{4F5C}\u{65E5}`,year:`\u{5E74}`}};let B=new WeakMap,_="__role_"+Date.now(),O="__focusManager_"+Date.now();function N(e,t,n){var o;let d;let{isInvalid:c,validationErrors:f,validationDetails:m}=t.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:v,errorMessageProps:g}=u({...e,labelElementType:"span",isInvalid:c,errorMessage:e.errorMessage||f}),y=(0,i.useRef)(null),{focusWithinProps:b}=(0,l.L_)({...e,onFocusWithin(n){var r;y.current=t.value,null===(r=e.onFocus)||void 0===r||r.call(e,n)},onBlurWithin:n=>{var r;t.confirmPlaceholder(),t.value!==y.current&&t.commitValidation(),null===(r=e.onBlur)||void 0===r||r.call(e,n)},onFocusWithinChange:e.onFocusChange}),w=(0,s.qb)(T(A)),D="hour"===t.maxGranularity?"selectedTimeDescription":"selectedDateDescription",E="hour"===t.maxGranularity?"time":"date",x=t.value?w.format(D,{[E]:t.formatValue({month:"long"})}):"",C=(0,a.PK)(x),k="presentation"===e[_]?h["aria-describedby"]:[C["aria-describedby"],h["aria-describedby"]].filter(Boolean).join(" ")||void 0,S=e[O],M=(0,i.useMemo)(()=>S||(0,r.E7)(n),[S,n]),R=F(t,n,"presentation"===e[_]);B.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[p.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:k,focusManager:M});let P=(0,i.useRef)(e.autoFocus);d="presentation"===e[_]?{role:"presentation"}:(0,a.dG)(h,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":k}),(0,i.useEffect)(()=>{P.current&&M.focusFirst(),P.current=!1},[M]),(0,a.y$)(e.inputRef,t.value,t.setValue),function(e,t,n){let{validationBehavior:r,focus:o}=e;(0,a.bt)(()=>{if("native"===r&&(null==n?void 0:n.current)){var e;let r,a=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(a),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:{badInput:(r=e.validity).badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let u=(0,a.iW)(()=>{t.resetValidation()}),s=(0,a.iW)(e=>{var r,a;t.displayValidation.isInvalid||t.commitValidation();let i=null==n?void 0:null===(r=n.current)||void 0===r?void 0:r.form;!e.defaultPrevented&&n&&i&&function(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}(i)===n.current&&(o?o():null===(a=n.current)||void 0===a||a.focus(),(0,l._w)("keyboard")),e.preventDefault()}),d=(0,a.iW)(()=>{t.commitValidation()});(0,i.useEffect)(()=>{let e=null==n?void 0:n.current;if(!e)return;let t=e.form;return e.addEventListener("invalid",s),e.addEventListener("change",d),null==t||t.addEventListener("reset",u),()=>{e.removeEventListener("invalid",s),e.removeEventListener("change",d),null==t||t.removeEventListener("reset",u)}},[n,s,d,u,r])}({...e,focus(){M.focusFirst()}},t,e.inputRef);let N={type:"hidden",name:e.name,value:(null===(o=t.value)||void 0===o?void 0:o.toString())||""};"native"===e.validationBehavior&&(N.type="text",N.hidden=!0,N.required=e.isRequired,N.onChange=()=>{});let I=(0,a.zL)(e);return{labelProps:{...p,onClick:()=>{M.focusFirst()}},fieldProps:(0,a.dG)(I,d,R,b,{onKeyDown(t){e.onKeyDown&&e.onKeyDown(t)},onKeyUp(t){e.onKeyUp&&e.onKeyUp(t)}}),inputProps:N,descriptionProps:v,errorMessageProps:g,isInvalid:c,validationErrors:f,validationDetails:m}}function I(e,t,n){var r;let a=N(e,t,n);return a.inputProps.value=(null===(r=t.timeValue)||void 0===r?void 0:r.toString())||"",a}function L(e,t,n){let d=(0,a.Me)(),c=(0,a.Me)(),f=(0,a.Me)(),m=(0,s.qb)(T(A)),{isInvalid:p,validationErrors:h,validationDetails:v}=t.displayValidation,{labelProps:g,fieldProps:y,descriptionProps:b,errorMessageProps:w}=u({...e,labelElementType:"span",isInvalid:p,errorMessage:e.errorMessage||h}),D=F(t,n),E=y["aria-labelledby"]||y.id,{locale:x}=(0,s.bU)(),C=t.formatValue(x,{month:"long"}),k=C?m.format("selectedDateDescription",{date:C}):"",S=(0,a.PK)(k),M=[S["aria-describedby"],y["aria-describedby"]].filter(Boolean).join(" ")||void 0,R=(0,a.zL)(e),P=(0,i.useMemo)(()=>(0,r.E7)(n),[n]),{focusWithinProps:B}=(0,l.L_)({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:(0,a.dG)(R,D,y,S,B,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":E,"aria-describedby":M,onKeyDown(n){!t.isOpen&&e.onKeyDown&&e.onKeyDown(n)},onKeyUp(n){!t.isOpen&&e.onKeyUp&&e.onKeyUp(n)}}),labelProps:{...g,onClick:()=>{P.focusFirst()}},fieldProps:{...y,id:f,[_]:"presentation","aria-describedby":M,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[o.tL]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:b,errorMessageProps:w,buttonProps:{...S,id:d,"aria-haspopup":"dialog","aria-label":m.format("calendar"),"aria-labelledby":`${d} ${E}`,"aria-describedby":M,"aria-expanded":t.isOpen,onPress:()=>t.setOpen(!0)},dialogProps:{id:c,"aria-labelledby":`${d} ${E}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:"function"==typeof e.errorMessage?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:p,validationErrors:h,validationDetails:v}}class V{of(e){return this.dictionary.getStringForLocale(e,this.locale)}constructor(e){this.locale=e,this.dictionary=new P.J(T(A))}}function $(e,t,n){let r=(0,i.useRef)(""),{locale:o}=(0,s.bU)(),u=function(){let{locale:e}=(0,s.bU)();return(0,i.useMemo)(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch(t){return new V(e)}},[e])}(),{ariaLabel:l,ariaLabelledBy:c,ariaDescribedBy:f,focusManager:m}=B.get(t),p=e.isPlaceholder?"":e.text,h=(0,i.useMemo)(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),v=(0,s.aQ)({month:"long",timeZone:h.timeZone}),g=(0,s.aQ)({hour:"numeric",hour12:h.hour12,timeZone:h.timeZone});if("month"!==e.type||e.isPlaceholder)"hour"!==e.type||e.isPlaceholder||(p=g.format(t.dateValue));else{let e=v.format(t.dateValue);p=e!==p?`${p} \u{2013} ${e}`:e}let{spinButtonProps:b}=function(e){var t;let n=(0,i.useRef)(),{value:r,textValue:o,minValue:u,maxValue:l,isDisabled:d,isReadOnly:c,isRequired:f,onIncrement:m,onIncrementPage:p,onDecrement:h,onDecrementPage:v,onDecrementToMin:g,onIncrementToMax:y}=e,b=(0,s.qb)((t=R)&&t.__esModule?t.default:t),w=()=>clearTimeout(n.current);(0,i.useEffect)(()=>()=>w(),[]);let D=(0,i.useRef)(!1),E=()=>{D.current=!0},x=()=>{D.current=!1};o=""===o?b.format("Empty"):(o||`${r}`).replace("-","−"),(0,i.useEffect)(()=>{D.current&&((0,M.gb)("assertive"),(0,M.xQ)(o,"assertive"))},[o]);let C=(0,a.iW)(e=>{w(),m(),n.current=window.setTimeout(()=>{(isNaN(l)||isNaN(r)||r<l)&&C(60)},e)}),k=(0,a.iW)(e=>{w(),h(),n.current=window.setTimeout(()=>{(isNaN(u)||isNaN(r)||r>u)&&k(60)},e)}),S=e=>{e.preventDefault()},{addGlobalListener:P,removeAllGlobalListeners:T}=(0,a.xi)();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":o,"aria-valuemin":u,"aria-valuemax":l,"aria-disabled":d||null,"aria-readonly":c||null,"aria-required":f||null,onKeyDown:e=>{if(!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey&&!c)switch(e.key){case"PageUp":if(p){e.preventDefault(),p();break}case"ArrowUp":case"Up":m&&(e.preventDefault(),m());break;case"PageDown":if(v){e.preventDefault(),v();break}case"ArrowDown":case"Down":h&&(e.preventDefault(),h());break;case"Home":g&&(e.preventDefault(),g());break;case"End":y&&(e.preventDefault(),y())}},onFocus:E,onBlur:x},incrementButtonProps:{onPressStart:()=>{C(400),P(window,"contextmenu",S)},onPressEnd:()=>{w(),T()},onFocus:E,onBlur:x},decrementButtonProps:{onPressStart:()=>{k(400),P(window,"contextmenu",S)},onPressEnd:()=>{w(),T()},onFocus:E,onBlur:x}}}({value:e.value,textValue:p,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current="",t.increment(e.type)},onDecrement:()=>{r.current="",t.decrement(e.type)},onIncrementPage:()=>{r.current="",t.incrementPage(e.type)},onDecrementPage:()=>{r.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{r.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{r.current="",t.setSegment(e.type,e.minValue)}}),w=(0,i.useMemo)(()=>new y(o,{maximumFractionDigits:0}),[o]),D=()=>{if(!w.isValidPartialNumber(e.text)||t.isReadOnly||e.isPlaceholder)"dayPeriod"===e.type&&t.clearSegment(e.type);else{let n=e.text.slice(0,-1),a=w.parse(n);0===n.length||0===a?t.clearSegment(e.type):t.setSegment(e.type,a),r.current=n}},{startsWith:E}=(0,s.L0)({sensitivity:"base"}),x=(0,s.aQ)({hour:"numeric",hour12:!0}),C=(0,i.useMemo)(()=>{let e=new Date;return e.setHours(0),x.formatToParts(e).find(e=>"dayPeriod"===e.type).value},[x]),k=(0,i.useMemo)(()=>{let e=new Date;return e.setHours(12),x.formatToParts(e).find(e=>"dayPeriod"===e.type).value},[x]),S=(0,s.aQ)({year:"numeric",era:"narrow",timeZone:"UTC"}),P=(0,i.useMemo)(()=>{if("era"!==e.type)return[];let n=(0,d.Mw)(new d.aw(1,1,1),t.calendar),r=t.calendar.getEras().map(e=>{let t=n.set({year:1,month:1,day:1,era:e}).toDate("UTC");return{era:e,formatted:S.formatToParts(t).find(e=>"era"===e.type).value}}),a=function(e){e.sort();let t=e[0],n=e[e.length-1];for(let e=0;e<t.length;e++)if(t[e]!==n[e])return e;return 0}(r.map(e=>e.formatted));if(a)for(let e of r)e.formatted=e.formatted.slice(a);return r},[S,t.calendar,e.type]),T=n=>{if(t.isDisabled||t.isReadOnly)return;let a=r.current+n;switch(e.type){case"dayPeriod":if(E(C,n))t.setSegment("dayPeriod",0);else if(E(k,n))t.setSegment("dayPeriod",12);else break;m.focusNext();break;case"era":{let e=P.find(e=>E(e.formatted,n));e&&(t.setSegment("era",e.era),m.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!w.isValidPartialNumber(a))return;let o=w.parse(a),i=o,u=0===e.minValue;if("hour"===e.type&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":o>11&&(i=w.parse(n));break;case"h12":u=!1,o>12&&(i=w.parse(n))}e.value>=12&&o>1&&(o+=12)}else o>e.maxValue&&(i=w.parse(n));if(isNaN(o))return;let l=0!==i||u;l&&t.setSegment(e.type,i),Number(o+"0")>e.maxValue||a.length>=String(e.maxValue).length?(r.current="",l&&m.focusNext()):r.current=a}}},A=(0,i.useRef)("");(0,a.zX)(n,"beforeinput",r=>{switch(r.preventDefault(),r.inputType){case"deleteContentBackward":case"deleteContentForward":w.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":A.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:null!=r.data&&T(r.data)}}),(0,a.zX)(n,"input",e=>{let{inputType:t,data:r}=e;"insertCompositionText"===t&&(n.current.textContent=A.current,(E(C,r)||E(k,r))&&T(r))}),(0,a.bt)(()=>{let e=n.current;return()=>{document.activeElement!==e||m.focusPrevious()||m.focusNext()}},[n,m]);let F=(0,a.gn)()||"timeZoneName"===e.type?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{};e===(0,i.useMemo)(()=>t.segments.find(e=>e.isEditable),[t.segments])||t.isInvalid||(f=void 0);let _=(0,a.Me)(),O=!t.isDisabled&&!t.isReadOnly&&e.isEditable,N="literal"===e.type?"":u.of(e.type),I=(0,a.bE)({"aria-label":`${N}${l?`, ${l}`:""}${c?", ":""}`,"aria-labelledby":c});return"literal"===e.type?{segmentProps:{"aria-hidden":!0}}:{segmentProps:(0,a.dG)(b,I,{id:_,...F,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":f,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:O,suppressContentEditableWarning:O,spellCheck:O?"false":void 0,autoCapitalize:O?"off":void 0,autoCorrect:O?"off":void 0,[parseInt(i.version,10)>=17?"enterKeyHint":"enterkeyhint"]:O?"next":void 0,inputMode:t.isDisabled||"dayPeriod"===e.type||"era"===e.type||!O?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:e=>{if("a"===e.key&&((0,a.V5)()?e.metaKey:e.ctrlKey)&&e.preventDefault(),!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey)switch(e.key){case"Backspace":case"Delete":e.preventDefault(),e.stopPropagation(),D()}},onFocus:()=>{r.current="",(0,a.Gt)(n.current,{containingElement:(0,a.rP)(n.current)}),window.getSelection().collapse(n.current)},style:{caretColor:"transparent"},onPointerDown(e){e.stopPropagation()},onMouseDown(e){e.stopPropagation()}})}}},28604:function(e,t,n){"use strict";n.d(t,{E7:function(){return m},QL:function(){return f},kc:function(){return y}});var r=n(4470),a=n(33547),o=n(52998);function i(e){if("virtual"===(0,o.Jz)()){let t=document.activeElement;(0,a.QB)(()=>{document.activeElement===t&&document.contains(e)&&(0,a.Ao)(e)})}else(0,a.Ao)(e)}let u=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],l=u.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";u.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let s=u.join(':not([hidden]):not([tabindex="-1"]),');function d(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function c(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{i(e)}catch(e){}}function f(e,t,n){let r=(null==t?void 0:t.tabbable)?s:l,a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var a;return(null==t?void 0:null===(a=t.from)||void 0===a?void 0:a.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:n}=e.style,r="none"!==t&&"hidden"!==n&&"collapse"!==n;if(r){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:a}=t(e);r="none"!==n&&"hidden"!==a&&"collapse"!==a}return r}(t)&&!t.hasAttribute("hidden")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||d(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(a.currentNode=t.from),a}function m(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:u=t.accept}=n,l=a||document.activeElement,s=f(r,{tabbable:o,accept:u});r.contains(l)&&(s.currentNode=l);let d=s.nextNode();return!d&&i&&(s.currentNode=r,d=s.nextNode()),d&&c(d,!0),d},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:u=t.accept}=n,l=a||document.activeElement,s=f(r,{tabbable:o,accept:u});if(r.contains(l))s.currentNode=l;else{let e=p(s);return e&&c(e,!0),null!=e?e:null}let d=s.previousNode();if(!d&&i){s.currentNode=r;let e=p(s);if(!e)return null;d=e}return d&&c(d,!0),null!=d?d:null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=n,i=f(r,{tabbable:a,accept:o}).nextNode();return i&&c(i,!0),i},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=n,i=p(f(r,{tabbable:a,accept:o}));return i&&c(i,!0),null!=i?i:null}}}function p(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class h{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let a=new v({scopeRef:e});r.addChild(a),a.parent=r,this.fastMap.set(e,a),n&&(a.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&d(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new h;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new v({scopeRef:null}),this.fastMap.set(null,this.root)}}class v{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new h;let g=r.createContext(null);function y(e,t){let{focusProps:n}=(0,o.KK)(e),{keyboardProps:u}=(0,o.v5)(e),l=(0,a.dG)(n,u),s=function(e){let t=(0,r.useContext)(g)||{};(0,a.lE)(t,e);let{ref:n,...o}=t;return o}(t),d=e.isDisabled?{}:s,c=(0,r.useRef)(e.autoFocus);return(0,r.useEffect)(()=>{c.current&&t.current&&i(t.current),c.current=!1},[t]),{focusableProps:(0,a.dG)({...l,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},d)}}},51234:function(e,t,n){"use strict";n.d(t,{L0:function(){return D},aQ:function(){return y},bU:function(){return h},qb:function(){return g}});var r=n(4470),a=n(83152),o=n(16570),i=n(60808),u=n(33547);let l=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),s=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function d(){let e="undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize().script;return!!t&&l.has(t)}let t=e.split("-")[0];return s.has(t)}(e)?"ltr":"rtl"}}let c=d(),f=new Set;function m(){for(let e of(c=d(),f))e(c)}let p=r.createContext(null);function h(){let e=function(){let e=(0,a.Av)(),[t,n]=(0,r.useState)(c);return((0,r.useEffect)(()=>(0===f.size&&window.addEventListener("languagechange",m),f.add(n),()=>{f.delete(n),0===f.size&&window.removeEventListener("languagechange",m)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,r.useContext)(p)||e}let v=new WeakMap;function g(e){let{locale:t}=h(),n=(0,r.useMemo)(()=>{let t;return(t=v.get(e))||(t=new o.J(e),v.set(e,t)),t},[e]);return(0,r.useMemo)(()=>new o.E(t,n),[t,n])}function y(e){e=(0,u.vE)(null!=e?e:{},b);let{locale:t}=h();return(0,r.useMemo)(()=>new i.CN(t,e),[t,e])}function b(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}let w=new Map;function D(e){let t=function(e){let{locale:t}=h(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(w.has(n))return w.get(n);let r=new Intl.Collator(t,e);return w.set(n,r),r}({usage:"search",...e}),n=(0,r.useCallback)((e,n)=>0===n.length||(e=e.normalize("NFC"),n=n.normalize("NFC"),0===t.compare(e.slice(0,n.length),n)),[t]),a=(0,r.useCallback)((e,n)=>0===n.length||(e=e.normalize("NFC"),n=n.normalize("NFC"),0===t.compare(e.slice(-n.length),n)),[t]),o=(0,r.useCallback)((e,n)=>{if(0===n.length)return!0;e=e.normalize("NFC");let r=0,a=(n=n.normalize("NFC")).length;for(;r+a<=e.length;r++){let o=e.slice(r,r+a);if(0===t.compare(n,o))return!0}return!1},[t]);return(0,r.useMemo)(()=>({startsWith:n,endsWith:a,contains:o}),[n,a,o])}},52998:function(e,t,n){"use strict";n.d(t,{Jz:function(){return W},_w:function(){return z},KK:function(){return P},L_:function(){return Z},Fc:function(){return U},v5:function(){return Y},r7:function(){return g}});var r=n(33547),a=n(4470);function o(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var i=n(46794);function u(e,t,n){var r=o(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}let l="default",s="",d=new WeakMap;function c(e){if((0,r.gn)()){if("default"===l){let t=(0,r.r3)(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}l="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(d.set(e,e.style.userSelect),e.style.userSelect="none")}function f(e){if((0,r.gn)())"disabled"===l&&(l="restoring",setTimeout(()=>{(0,r.QB)(()=>{if("restoring"===l){let t=(0,r.r3)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=s||""),s="",l="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&d.has(e)){let t=d.get(e);"none"===e.style.userSelect&&t&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),d.delete(e)}}let m=a.createContext({register:()=>{}});m.displayName="PressResponderContext";var p=new WeakMap;class h{continuePropagation(){u(this,p,!1)}get shouldStopPropagation(){var e;return(e=o(this,p,"get")).get?e.get.call(this):e.value}constructor(e,t,n){(0,i._)(this,p,{writable:!0,value:void 0}),u(this,p,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}let v=Symbol("linkClicked");function g(e){let{onPress:t,onPressChange:n,onPressStart:o,onPressEnd:i,onPressUp:u,isDisabled:l,isPressed:s,preventFocusOnPress:d,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:g,ref:k,...S}=function(e){let t=(0,a.useContext)(m);if(t){let{register:n,...a}=t;e=(0,r.dG)(a,e),n()}return(0,r.lE)(t,e.ref),e}(e),[M,R]=(0,a.useState)(!1),P=(0,a.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:T,removeAllGlobalListeners:A}=(0,r.xi)(),F=(0,r.iW)((e,t)=>{let r=P.current;if(l||r.didFirePressStart)return!1;let a=!0;if(r.isTriggeringEvent=!0,o){let n=new h("pressstart",t,e);o(n),a=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,R(!0),a}),B=(0,r.iW)((e,r,a=!0)=>{let o=P.current;if(!o.didFirePressStart)return!1;o.ignoreClickAfterPress=!0,o.didFirePressStart=!1,o.isTriggeringEvent=!0;let u=!0;if(i){let t=new h("pressend",r,e);i(t),u=t.shouldStopPropagation}if(n&&n(!1),R(!1),t&&a&&!l){let n=new h("press",r,e);t(n),u&&(u=n.shouldStopPropagation)}return o.isTriggeringEvent=!1,u}),_=(0,r.iW)((e,t)=>{let n=P.current;if(l)return!1;if(u){n.isTriggeringEvent=!0;let r=new h("pressup",t,e);return u(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),O=(0,r.iW)(e=>{let t=P.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&B(D(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,A(),g||f(t.target))}),N=(0,r.iW)(e=>{p&&O(e)}),I=(0,a.useMemo)(()=>{let e=P.current,t={onKeyDown(t){if(b(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var a;C(t.target,t.key)&&t.preventDefault();let o=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,o=F(t,"keyboard"),T((0,r.r3)(t.currentTarget),"keyup",n,!1)),o&&t.stopPropagation(),t.metaKey&&(0,r.V5)()&&(null===(a=e.metaKeyEvents)||void 0===a||a.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onKeyUp(t){b(t.nativeEvent,t.currentTarget)&&!t.repeat&&t.currentTarget.contains(t.target)&&e.target&&_(D(e.target,t),"keyboard")},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!r.nG.isOpening){let n=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,r.Zj)(t.nativeEvent))){l||d||(0,r.Ao)(t.currentTarget);let e=F(t,"virtual"),a=_(t,"virtual"),o=B(t,"virtual");n=e&&a&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,a,o;if(e.isPressed&&e.target&&b(t,e.target)){C(t.target,t.key)&&t.preventDefault();let n=t.target,o=B(D(e.target,t),"keyboard",e.target.contains(n));A(),o&&t.stopPropagation(),"Enter"!==t.key&&y(e.target)&&e.target.contains(n)&&!t[v]&&(t[v]=!0,(0,r.nG)(e.target,t,!1)),e.isPressed=!1,null===(a=e.metaKeyEvents)||void 0===a||a.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,r.cr)(t.nativeEvent)){e.pointerType="virtual";return}x(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let i=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||d||(0,r.Ao)(t.currentTarget),g||c(e.target),i=F(t,e.pointerType),T((0,r.r3)(t.currentTarget),"pointermove",n,!1),T((0,r.r3)(t.currentTarget),"pointerup",a,!1),T((0,r.r3)(t.currentTarget),"pointercancel",o,!1)),i&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(x(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&E(t,t.currentTarget)&&_(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&E(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,F(D(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,B(D(e.target,t),e.pointerType,!1),N(t)))},a=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(E(t,e.target)&&null!=e.pointerType?B(D(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&B(D(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,A(),g||f(e.target))},o=e=>{O(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&O(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(x(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,r.Zj)(t.nativeEvent)?"virtual":"mouse",l||d||(0,r.Ao)(t.currentTarget),F(t,e.pointerType)&&t.stopPropagation(),T((0,r.r3)(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=F(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=B(t,e.pointerType,!1),N(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&_(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,A(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&E(t,e.target)&&null!=e.pointerType?B(D(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&B(D(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||d||(0,r.Ao)(t.currentTarget),g||c(e.target),F(t,e.pointerType)&&t.stopPropagation(),T((0,r.kR)(t.currentTarget),"scroll",a,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=w(t.nativeEvent,e.activePointerId),r=!0;n&&E(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=F(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=B(t,e.pointerType,!1),N(t)),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=w(t.nativeEvent,e.activePointerId),r=!0;n&&E(n,t.currentTarget)&&null!=e.pointerType?(_(t,e.pointerType),r=B(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=B(t,e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!g&&f(e.target),A()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&O(t))};let a=t=>{e.isPressed&&t.target.contains(e.target)&&O({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&O(e)}}return t},[T,l,d,A,g,O,N,B,F,_]);return(0,a.useEffect)(()=>()=>{var e;g||f(null!==(e=P.current.target)&&void 0!==e?e:void 0)},[g]),{isPressed:s||M,pressProps:(0,r.dG)(S,I)}}function y(e){return"A"===e.tagName&&e.hasAttribute("href")}function b(e,t){let{key:n,code:a}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===a)&&!(t instanceof(0,r.kR)(t).HTMLInputElement&&!S(t,n)||t instanceof(0,r.kR)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&y(t))&&"Enter"!==n)}function w(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function D(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function E(e,t){let n,r,a=t.getBoundingClientRect(),o=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(a.left>o.right)&&!(o.left>a.right)&&!(a.top>o.bottom)&&!(o.top>a.bottom)}function x(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function C(e,t){return e instanceof HTMLInputElement?!S(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!y(e)}let k=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function S(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:k.has(e.type)}class M{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function R(e){let t=(0,a.useRef)({isFocused:!1,observer:null});(0,r.bt)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,r.iW)(t=>{null==e||e(t)});return(0,a.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new M("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function P(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,i=(0,a.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),u=R(i),l=(0,a.useCallback)(e=>{e.target===e.currentTarget&&document.activeElement===e.target&&(n&&n(e),o&&o(!0),u(e))},[o,n,u]);return{focusProps:{onFocus:!t&&(n||o||r)?l:void 0,onBlur:!t&&(r||o)?i:void 0}}}let T=null,A=new Set,F=!1,B=!1,_=!1;function O(e,t){for(let n of A)n(e,t)}function N(e){B=!0,e.metaKey||!(0,r.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(T="keyboard",O("keyboard",e))}function I(e){T="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(B=!0,O("pointer",e))}function L(e){(0,r.Zj)(e)&&(B=!0,T="virtual")}function V(e){e.target!==window&&e.target!==document&&(B||_||(T="virtual",O("virtual",e)),B=!1,_=!1)}function $(){B=!1,_=!0}function j(){if("undefined"==typeof window||F)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){B=!0,e.apply(this,arguments)},document.addEventListener("keydown",N,!0),document.addEventListener("keyup",N,!0),document.addEventListener("click",L,!0),window.addEventListener("focus",V,!0),window.addEventListener("blur",$,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",I,!0),document.addEventListener("pointermove",I,!0),document.addEventListener("pointerup",I,!0)):(document.addEventListener("mousedown",I,!0),document.addEventListener("mousemove",I,!0),document.addEventListener("mouseup",I,!0)),F=!0}function W(){return T}function z(e){T=e,O(e,null)}function Z(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=(0,a.useRef)({isFocusWithin:!1}),u=(0,a.useCallback)(e=>{i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,i]),l=R(u),s=(0,a.useCallback)(e=>{i.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),i.current.isFocusWithin=!0,l(e))},[r,o,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:u}}}function U(e){let{ref:t,onInteractOutside:n,isDisabled:o,onInteractOutsideStart:i}=e,u=(0,a.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=(0,r.iW)(e=>{n&&K(e,t)&&(i&&i(e),u.current.isPointerDown=!0)}),s=(0,r.iW)(e=>{n&&n(e)});(0,a.useEffect)(()=>{let e=u.current;if(o)return;let n=t.current,a=(0,r.r3)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&K(n,t)&&s(n),e.isPointerDown=!1};return a.addEventListener("pointerdown",l,!0),a.addEventListener("pointerup",n,!0),()=>{a.removeEventListener("pointerdown",l,!0),a.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&K(n,t)&&s(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&K(n,t)&&s(n),e.isPointerDown=!1};return a.addEventListener("mousedown",l,!0),a.addEventListener("mouseup",n,!0),a.addEventListener("touchstart",l,!0),a.addEventListener("touchend",r,!0),()=>{a.removeEventListener("mousedown",l,!0),a.removeEventListener("mouseup",n,!0),a.removeEventListener("touchstart",l,!0),a.removeEventListener("touchend",r,!0)}}},[t,o,l,s])}function K(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function H(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}function Y(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:H(e.onKeyDown),onKeyUp:H(e.onKeyUp)}}}"undefined"!=typeof document&&("loading"!==document.readyState?j():document.addEventListener("DOMContentLoaded",j))},63370:function(e,t,n){"use strict";n.d(t,{gb:function(){return o},xQ:function(){return a}});let r=null;function a(e,t="assertive",n=7e3){r||(r=new i),r.announce(e,t,n)}function o(e){r&&r.clear(e)}class i{createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){if(!this.node)return;let r=document.createElement("div");r.textContent=e,"assertive"===t?this.assertiveLog.appendChild(r):this.politeLog.appendChild(r),""!==e&&setTimeout(()=>{r.remove()},n)}clear(e){this.node&&(e&&"assertive"!==e||(this.assertiveLog.innerHTML=""),e&&"polite"!==e||(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}},83152:function(e,t,n){"use strict";n.d(t,{Av:function(){return m},gP:function(){return s}});var r=n(4470);let a={prefix:String(Math.round(1e10*Math.random())),current:0},o=r.createContext(a),i=r.createContext(!1),u=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,s="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(m()),o=n?"react-aria":`react-aria${a.prefix}`;return e||`${o}-${t}`}:function(e){let t=(0,r.useContext)(o);t!==a||u||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=function(e=!1){let t=(0,r.useContext)(o),n=(0,r.useRef)(null);if(null===n.current&&!e){var a,i;let e=null===(i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i?void 0:null===(a=i.ReactCurrentOwner)||void 0===a?void 0:a.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`};function d(){return!1}function c(){return!0}function f(e){return()=>{}}function m(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,d,c):(0,r.useContext)(i)}},33547:function(e,t,n){"use strict";n.d(t,{zL:function(){return b},Ao:function(){return w},r3:function(){return f},kR:function(){return m},rP:function(){return I},gn:function(){return S},V5:function(){return C},Zj:function(){return U},cr:function(){return K},dG:function(){return p},nG:function(){return R},QB:function(){return F},Gt:function(){return Z},vE:function(){return H},PK:function(){return j},iW:function(){return u},zX:function(){return W},y$:function(){return Y},xi:function(){return B},Me:function(){return d},bE:function(){return _},bt:function(){return i},mp:function(){return c},lE:function(){return N},rf:function(){return O}});var r=n(4470),a=n(83152),o=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(r&&(r+=" "),r+=t);return r};let i="undefined"!=typeof document?r.useLayoutEffect:()=>{};function u(e){let t=(0,r.useRef)(null);return i(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>(0,t.current)(...e),[])}let l=!!("undefined"!=typeof window&&window.document&&window.document.createElement),s=new Map;function d(e){let[t,n]=(0,r.useState)(e),o=(0,r.useRef)(null),u=(0,a.gP)(t),d=(0,r.useCallback)(e=>{o.current=e},[]);return l&&s.set(u,d),i(()=>()=>{s.delete(u)},[u]),(0,r.useEffect)(()=>{let e=o.current;e&&(o.current=null,n(e))}),u}function c(e=[]){let t=d(),[n,a]=function(e){let[t,n]=(0,r.useState)(e),a=(0,r.useRef)(null),o=u(()=>{let e=a.current.next();if(e.done){a.current=null;return}t===e.value?o():n(e.value)});i(()=>{a.current&&o()});let l=u(e=>{a.current=e(t),o()});return[t,l]}(t),o=(0,r.useCallback)(()=>{a(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,a]);return i(o,[t,o,...e]),n}let f=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},m=e=>e&&"window"in e&&e.window===e?e:f(e).defaultView||window;function p(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],a=r[e];"function"==typeof n&&"function"==typeof a&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,a):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof a?t[e]=o(n,a):"id"===e&&n&&a?t.id=function(e,t){if(e===t)return e;let n=s.get(e);if(n)return n(t),t;let r=s.get(t);return r?(r(e),e):t}(n,a):t[e]=void 0!==a?a:n}}return t}let h=new Set(["id"]),v=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),g=new Set(["href","target","rel","download","ping","referrerPolicy"]),y=/^(data-.*)$/;function b(e,t={}){let{labelable:n,isLink:r,propNames:a}=t,o={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(h.has(t)||n&&v.has(t)||r&&g.has(t)||(null==a?void 0:a.has(t))||y.test(t))&&(o[t]=e[t]);return o}function w(e){if(function(){if(null==D){D=!1;try{document.createElement("div").focus({get preventScroll(){return D=!0,!0}})}catch(e){}}return D}())e.focus({preventScroll:!0});else{let t=function(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}let D=null;function E(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function x(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function C(){return x(/^Mac/i)}function k(){return x(/^iPad/i)||C()&&navigator.maxTouchPoints>1}function S(){return x(/^iPhone/i)||k()}function M(){return E(/Android/i)}function R(e,t,n=!0){var r,a;let{metaKey:o,ctrlKey:i,altKey:u,shiftKey:l}=t;E(/Firefox/i)&&(null===(a=window.event)||void 0===a?void 0:null===(r=a.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(C()?o=!0:i=!0);let s=E(/AppleWebKit/i)&&!E(/Chrome/i)&&C()&&!k()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:i,altKey:u,shiftKey:l}):new MouseEvent("click",{metaKey:o,ctrlKey:i,altKey:u,shiftKey:l,bubbles:!0,cancelable:!0});R.isOpening=n,w(e),e.dispatchEvent(s),R.isOpening=!1}R.isOpening=!1;let P=new Map,T=new Set;function A(){if("undefined"==typeof window)return;let e=t=>{let n=P.get(t.target);if(n&&(n.delete(t.propertyName),0===n.size&&(t.target.removeEventListener("transitioncancel",e),P.delete(t.target)),0===P.size)){for(let e of T)e();T.clear()}};document.body.addEventListener("transitionrun",t=>{let n=P.get(t.target);n||(n=new Set,P.set(t.target,n),t.target.addEventListener("transitioncancel",e)),n.add(t.propertyName)}),document.body.addEventListener("transitionend",e)}function F(e){requestAnimationFrame(()=>{0===P.size?e():T.add(e)})}function B(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,a)=>{let o=(null==a?void 0:a.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:a}),t.addEventListener(n,r,a)},[]),n=(0,r.useCallback)((t,n,r,a)=>{var o;let i=(null===(o=e.current.get(r))||void 0===o?void 0:o.fn)||r;t.removeEventListener(n,i,a),e.current.delete(r)},[]),a=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>a,[a]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:a}}function _(e,t){let{id:n,"aria-label":r,"aria-labelledby":a}=e;return n=d(n),a&&r?a=[...new Set([n,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),r||a||!t||(r=t),{id:n,"aria-label":r,"aria-labelledby":a}}function O(e,t){let n=(0,r.useRef)(!0),a=(0,r.useRef)(null);(0,r.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,r.useEffect)(()=>{n.current?n.current=!1:(!a.current||t.some((e,t)=>!Object.is(e,a[t])))&&e(),a.current=t},t)}function N(e,t){i(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function I(e){for(L(e)&&(e=e.parentElement);e&&!L(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function L(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}"undefined"!=typeof document&&("loading"!==document.readyState?A():document.addEventListener("DOMContentLoaded",A)),"undefined"!=typeof document&&window.visualViewport;let V=0,$=new Map;function j(e){let[t,n]=(0,r.useState)(void 0);return i(()=>{if(!e)return;let t=$.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${V++}`;n(r);let a=document.createElement("div");a.id=r,a.style.display="none",a.textContent=e,document.body.appendChild(a),t={refCount:0,element:a},$.set(e,t)}return t.refCount++,()=>{0==--t.refCount&&(t.element.remove(),$.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function W(e,t,n,a){let o=u(n),i=null==n;(0,r.useEffect)(()=>{if(i)return;let n=e.current;return n.addEventListener(t,o,a),()=>{n.removeEventListener(t,o,a)}},[e,t,a,i,o])}function z(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",a=0;for(;t.offsetParent&&(a+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){a-=e[r];break}t=t.offsetParent}return a}function Z(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(i).overflow){let t=I(e);for(;e&&t&&e!==i&&t!==i;)!function(e,t){let n=z(e,t,"left"),r=z(e,t,"top"),a=t.offsetWidth,o=t.offsetHeight,i=e.scrollLeft,u=e.scrollTop,{borderTopWidth:l,borderLeftWidth:s}=getComputedStyle(e),d=e.scrollLeft+parseInt(s,10),c=e.scrollTop+parseInt(l,10),f=d+e.clientWidth,m=c+e.clientHeight;n<=i?i=n-parseInt(s,10):n+a>f&&(i+=n+a-f),r<=c?u=r-parseInt(l,10):r+o>m&&(u+=r+o-m),e.scrollLeft=i,e.scrollTop=u}(t,e),t=I(e=t)}else{var n,r,a,o;let{left:i,top:u}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:s}=e.getBoundingClientRect();(Math.abs(i-l)>1||Math.abs(u-s)>1)&&(null==t||null===(a=t.containingElement)||void 0===a||null===(r=a.scrollIntoView)||void 0===r||r.call(a,{block:"center",inline:"center"}),null===(o=e.scrollIntoView)||void 0===o||o.call(e,{block:"nearest"}))}}}function U(e){return 0===e.mozInputSource&&!!e.isTrusted||(M()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function K(e){return!M()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}function H(e,t){let n=(0,r.useRef)(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function Y(e,t,n){let a=(0,r.useRef)(t),o=u(()=>{n&&n(a.current)});(0,r.useEffect)(()=>{var t;let n=null==e?void 0:null===(t=e.current)||void 0===t?void 0:t.form;return null==n||n.addEventListener("reset",o),()=>{null==n||n.removeEventListener("reset",o)}},[e,o])}},56138:function(e,t,n){"use strict";n.d(t,{F:function(){return f}});var r=n(60808),a=n(67523),o=n(4470);function i(e,t,n){return null!=t&&0>e.compare(t)||null!=n&&e.compare(n)>0}function u(e,t,n,r,a){let o={};for(let e in t)o[e]=Math.floor(t[e]/2),o[e]>0&&t[e]%2==0&&o[e]--;let i=l(e,t,n).subtract(o);return d(e,i,t,n,r,a)}function l(e,t,n,a,o){let i=e;return t.years?i=(0,r.em)(e):t.months?i=(0,r.Nm)(e):t.weeks&&(i=(0,r.zJ)(e,n)),d(e,i,t,n,a,o)}function s(e,t,n,r,a){let o={...t};t.days?o.days--:t.weeks?o.weeks--:t.months?o.months--:t.years&&o.years--;let i=l(e,t,n).subtract(o);return d(e,i,t,n,r,a)}function d(e,t,n,a,o,i){return o&&e.compare(o)>=0&&(t=(0,r.l7)(t,l((0,r.WG)(o),n,a))),i&&0>=e.compare(i)&&(t=(0,r.Mb)(t,s((0,r.WG)(i),n,a))),t}function c(e,t,n){return t&&(e=(0,r.l7)(e,(0,r.WG)(t))),n&&(e=(0,r.Mb)(e,(0,r.WG)(n))),e}function f(e){let t=(0,o.useMemo)(()=>new r.CN(e.locale),[e.locale]),n=(0,o.useMemo)(()=>t.resolvedOptions(),[t]),{locale:f,createCalendar:p,visibleDuration:h={months:1},minValue:v,maxValue:g,selectionAlignment:y,isDateUnavailable:b,pageBehavior:w="visible"}=e,D=(0,o.useMemo)(()=>p(n.calendar),[p,n.calendar]),[E,x]=(0,a.zk)(e.value,e.defaultValue,e.onChange),C=(0,o.useMemo)(()=>E?(0,r.Mw)((0,r.WG)(E),D):null,[E,D]),k=(0,o.useMemo)(()=>E&&"timeZone"in E?E.timeZone:n.timeZone,[E,n.timeZone]),S=(0,o.useMemo)(()=>e.focusedValue?c((0,r.Mw)((0,r.WG)(e.focusedValue),D),v,g):void 0,[e.focusedValue,D,v,g]),M=(0,o.useMemo)(()=>c(e.defaultFocusedValue?(0,r.Mw)((0,r.WG)(e.defaultFocusedValue),D):C||(0,r.Mw)((0,r.Lg)(k),D),v,g),[e.defaultFocusedValue,C,k,D,v,g]),[R,P]=(0,a.zk)(S,M,e.onFocusChange),[T,A]=(0,o.useState)(()=>{switch(y){case"start":return l(R,h,f,v,g);case"end":return s(R,h,f,v,g);default:return u(R,h,f,v,g)}}),[F,B]=(0,o.useState)(e.autoFocus||!1),_=(0,o.useMemo)(()=>{let e={...h};return e.days?e.days--:e.days=-1,T.add(e)},[T,h]),[O,N]=(0,o.useState)(D.identifier);if(D.identifier!==O){let e=(0,r.Mw)(R,D);A(u(e,h,f,v,g)),P(e),N(D.identifier)}function I(e){P(e=c(e,v,g))}function L(t){!e.isDisabled&&!e.isReadOnly&&(t=function(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}(t=c(t,v,g),T,b))&&(t=(0,r.Mw)(t,(null==E?void 0:E.calendar)||new r.IQ),E&&"hour"in E?x(E.set(t)):x(t))}i(R,v,g)?P(c(R,v,g)):0>R.compare(T)?A(s(R,h,f,v,g)):R.compare(_)>0&&A(l(R,h,f,v,g));let V=(0,o.useMemo)(()=>!!C&&(!!(b&&b(C))||i(C,v,g)),[C,b,v,g]),$=e.isInvalid||"invalid"===e.validationState||V,j=(0,o.useMemo)(()=>"visible"===w?h:m(h),[w,h]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:C,setValue:L,visibleRange:{start:T,end:_},minValue:v,maxValue:g,focusedDate:R,timeZone:k,validationState:$?"invalid":null,isValueInvalid:$,setFocusedDate(e){I(e),B(!0)},focusNextDay(){I(R.add({days:1}))},focusPreviousDay(){I(R.subtract({days:1}))},focusNextRow(){h.days?this.focusNextPage():(h.weeks||h.months||h.years)&&I(R.add({weeks:1}))},focusPreviousRow(){h.days?this.focusPreviousPage():(h.weeks||h.months||h.years)&&I(R.subtract({weeks:1}))},focusNextPage(){let e=T.add(j);P(c(R.add(j),v,g)),A(l(d(R,e,j,f,v,g),j,f))},focusPreviousPage(){let e=T.subtract(j);P(c(R.subtract(j),v,g)),A(l(d(R,e,j,f,v,g),j,f))},focusSectionStart(){h.days?I(T):h.weeks?I((0,r.zJ)(R,f)):(h.months||h.years)&&I((0,r.Nm)(R))},focusSectionEnd(){h.days?I(_):h.weeks?I((0,r.vV)(R,f)):(h.months||h.years)&&I((0,r.Vf)(R))},focusNextSection(e){if(!e&&!h.days){I(R.add(m(h)));return}h.days?this.focusNextPage():h.weeks?I(R.add({months:1})):(h.months||h.years)&&I(R.add({years:1}))},focusPreviousSection(e){if(!e&&!h.days){I(R.subtract(m(h)));return}h.days?this.focusPreviousPage():h.weeks?I(R.subtract({months:1})):(h.months||h.years)&&I(R.subtract({years:1}))},selectFocusedDate(){L(R)},selectDate(e){L(e)},isFocused:F,setFocused:B,isInvalid:e=>i(e,v,g),isSelected(e){return null!=C&&(0,r.KC)(e,C)&&!this.isCellDisabled(e)&&!this.isCellUnavailable(e)},isCellFocused:e=>F&&R&&(0,r.KC)(e,R),isCellDisabled(t){return e.isDisabled||0>t.compare(T)||t.compare(_)>0||this.isInvalid(t,v,g)},isCellUnavailable:t=>e.isDateUnavailable&&e.isDateUnavailable(t),isPreviousVisibleRangeInvalid(){let e=T.subtract({days:1});return(0,r.KC)(e,T)||this.isInvalid(e,v,g)},isNextVisibleRangeInvalid(){let e=_.add({days:1});return(0,r.KC)(e,_)||this.isInvalid(e,v,g)},getDatesInWeek(e,t=T){let n=t.add({weeks:e}),a=[];n=(0,r.zJ)(n,f);let o=(0,r.ji)(n,f);for(let e=0;e<o;e++)a.push(null);for(;a.length<7;){a.push(n);let e=n.add({days:1});if((0,r.KC)(n,e))break;n=e}for(;a.length<7;)a.push(null);return a}}}function m(e){let t={...e};for(let n in e)t[n]=1;return t}},58313:function(e,t,n){"use strict";n.d(t,{RM:function(){return C},N3:function(){return b},P$:function(){return k}});var r,a=n(60808),o=n(76890),i=n(4470),u=n(67523),l=n(16570),s={};s={"ar-AE":{rangeOverflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.maxValue} \u{623}\u{648} \u{642}\u{628}\u{644} \u{630}\u{644}\u{643}.`,rangeReversed:`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{628}\u{62F}\u{621} \u{64A}\u{62C}\u{628} \u{623}\u{646} \u{64A}\u{643}\u{648}\u{646} \u{642}\u{628}\u{644} \u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{627}\u{646}\u{62A}\u{647}\u{627}\u{621}.`,rangeUnderflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.minValue} \u{623}\u{648} \u{628}\u{639}\u{62F} \u{630}\u{644}\u{643}.`,unavailableDate:`\u{627}\u{644}\u{628}\u{64A}\u{627}\u{646}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}\u{629} \u{63A}\u{64A}\u{631} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`},"bg-BG":{rangeOverflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.maxValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{440}\u{430}\u{43D}\u{43D}\u{430}.`,rangeReversed:`\u{41D}\u{430}\u{447}\u{430}\u{43B}\u{43D}\u{430}\u{442}\u{430} \u{434}\u{430}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} \u{43F}\u{440}\u{435}\u{434}\u{438} \u{43A}\u{440}\u{430}\u{439}\u{43D}\u{430}\u{442}\u{430}.`,rangeUnderflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.minValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{43A}\u{44A}\u{441}\u{43D}\u{43E}.`,unavailableDate:`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430}\u{442}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435} \u{435} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{430}.`},"cs-CZ":{rangeOverflow:e=>`Hodnota mus\xed b\xfdt ${e.maxValue} nebo d\u{159}\xedv\u{11B}j\u{161}\xed.`,rangeReversed:`Datum zah\xe1jen\xed mus\xed p\u{159}edch\xe1zet datu ukon\u{10D}en\xed.`,rangeUnderflow:e=>`Hodnota mus\xed b\xfdt ${e.minValue} nebo pozd\u{11B}j\u{161}\xed.`,unavailableDate:`Vybran\xe9 datum nen\xed k dispozici.`},"da-DK":{rangeOverflow:e=>`V\xe6rdien skal v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen skal v\xe6re f\xf8r slutdatoen.`,rangeUnderflow:e=>`V\xe6rdien skal v\xe6re ${e.minValue} eller nyere.`,unavailableDate:`Den valgte dato er ikke tilg\xe6ngelig.`},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xfcher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xe4ter sein.`,unavailableDate:`Das ausgew\xe4hlte Datum ist nicht verf\xfcgbar.`},"el-GR":{rangeOverflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.maxValue} \u{3AE} \u{3C0}\u{3B1}\u{3BB}\u{3B1}\u{3B9}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,rangeReversed:`\u{397} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3AD}\u{3BD}\u{3B1}\u{3C1}\u{3BE}\u{3B7}\u{3C2} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3C0}\u{3C1}\u{3B9}\u{3BD} \u{3B1}\u{3C0}\u{3CC} \u{3C4}\u{3B7}\u{3BD} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3BB}\u{3AE}\u{3BE}\u{3B7}\u{3C2}.`,rangeUnderflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.minValue} \u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3B3}\u{3B5}\u{3BD}\u{3AD}\u{3C3}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,unavailableDate:`\u{397} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3B4}\u{3B5}\u{3BD} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B7}.`},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:`La fecha de inicio debe ser anterior a la fecha de finalizaci\xf3n.`,rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`V\xe4\xe4rtus peab olema ${e.maxValue} v\xf5i varasem.`,rangeReversed:`Alguskuup\xe4ev peab olema enne l\xf5ppkuup\xe4eva.`,rangeUnderflow:e=>`V\xe4\xe4rtus peab olema ${e.minValue} v\xf5i hilisem.`,unavailableDate:`Valitud kuup\xe4ev pole saadaval.`},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xe4 aikaisempi.`,rangeReversed:`Aloitusp\xe4iv\xe4n on oltava ennen lopetusp\xe4iv\xe4\xe4.`,rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xe4 my\xf6h\xe4isempi.`,unavailableDate:`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4 ei ole k\xe4ytett\xe4viss\xe4.`},"fr-FR":{rangeOverflow:e=>`La valeur doit \xeatre ${e.maxValue} ou ant\xe9rieure.`,rangeReversed:`La date de d\xe9but doit \xeatre ant\xe9rieure \xe0 la date de fin.`,rangeUnderflow:e=>`La valeur doit \xeatre ${e.minValue} ou ult\xe9rieure.`,unavailableDate:`La date s\xe9lectionn\xe9e n\u{2019}est pas disponible.`},"he-IL":{rangeOverflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.maxValue} \u{5D0}\u{5D5} \u{5DE}\u{5D5}\u{5E7}\u{5D3}\u{5DD} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,rangeReversed:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5D4}\u{5EA}\u{5D7}\u{5DC}\u{5D4} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} \u{5DC}\u{5E4}\u{5E0}\u{5D9} \u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5E1}\u{5D9}\u{5D5}\u{5DD}.`,rangeUnderflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.minValue} \u{5D0}\u{5D5} \u{5DE}\u{5D0}\u{5D5}\u{5D7}\u{5E8} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,unavailableDate:`\u{5D4}\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5E0}\u{5D1}\u{5D7}\u{5E8} \u{5D0}\u{5D9}\u{5E0}\u{5D5} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:`Datum po\u{10D}etka mora biti prije datuma zavr\u{161}etka.`,rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az \xe9rt\xe9knek ${e.maxValue} vagy kor\xe1bbinak kell lennie.`,rangeReversed:`A kezd\u{151} d\xe1tumnak a befejez\u{151} d\xe1tumn\xe1l kor\xe1bbinak kell lennie.`,rangeUnderflow:e=>`Az \xe9rt\xe9knek ${e.minValue} vagy k\xe9s\u{151}bbinek kell lennie.`,unavailableDate:`A kiv\xe1lasztott d\xe1tum nem \xe9rhet\u{151} el.`},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`\u{5024}\u{306F} ${e.maxValue} \u{4EE5}\u{4E0B}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeReversed:`\u{958B}\u{59CB}\u{65E5}\u{306F}\u{7D42}\u{4E86}\u{65E5}\u{3088}\u{308A}\u{524D}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeUnderflow:e=>`\u{5024}\u{306F} ${e.minValue} \u{4EE5}\u{4E0A}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,unavailableDate:`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8}\u{306F}\u{4F7F}\u{7528}\u{3067}\u{304D}\u{307E}\u{305B}\u{3093}\u{3002}`},"ko-KR":{rangeOverflow:e=>`\u{AC12}\u{C740} ${e.maxValue} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeReversed:`\u{C2DC}\u{C791}\u{C77C}\u{C740} \u{C885}\u{B8CC}\u{C77C} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeUnderflow:e=>`\u{AC12}\u{C740} ${e.minValue} \u{C774}\u{C0C1}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,unavailableDate:`\u{C120}\u{D0DD}\u{D55C} \u{B0A0}\u{C9DC}\u{B97C} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C5C6}\u{C2B5}\u{B2C8}\u{B2E4}.`},"lt-LT":{rangeOverflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.maxValue} arba ankstesn\u{117}.`,rangeReversed:`Prad\u{17E}ios data turi b\u{16B}ti ankstesn\u{117} nei pabaigos data.`,rangeUnderflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.minValue} arba naujesn\u{117}.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.maxValue} vai agr\u{101}kai.`,rangeReversed:`S\u{101}kuma datumam ir j\u{101}b\u{16B}t pirms beigu datuma.`,rangeUnderflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.minValue} vai v\u{113}l\u{101}kai.`,unavailableDate:`Atlas\u{12B}tais datums nav pieejams.`},"nb-NO":{rangeOverflow:e=>`Verdien m\xe5 v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen m\xe5 v\xe6re f\xf8r sluttdatoen.`,rangeUnderflow:e=>`Verdien m\xe5 v\xe6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.maxValue} lub wcze\u{15B}niejsz\u{105}.`,rangeReversed:`Data rozpocz\u{119}cia musi by\u{107} wcze\u{15B}niejsza ni\u{17C} data zako\u{144}czenia.`,rangeUnderflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.minValue} lub p\xf3\u{17A}niejsz\u{105}.`,unavailableDate:`Wybrana data jest niedost\u{119}pna.`},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:`A data inicial deve ser anterior \xe0 data final.`,rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:`Data selecionada indispon\xedvel.`},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:`A data de in\xedcio deve ser anterior \xe0 data de fim.`,rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:`Data selecionada indispon\xedvel.`},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie s\u{103} fie ${e.maxValue} sau anterioar\u{103}.`,rangeReversed:`Data de \xeenceput trebuie s\u{103} fie anterioar\u{103} datei de sf\xe2r\u{219}it.`,rangeUnderflow:e=>`Valoarea trebuie s\u{103} fie ${e.minValue} sau ulterioar\u{103}.`,unavailableDate:`Data selectat\u{103} nu este disponibil\u{103}.`},"ru-RU":{rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{43F}\u{43E}\u{437}\u{436}\u{435} ${e.maxValue}.`,rangeReversed:`\u{414}\u{430}\u{442}\u{430} \u{43D}\u{430}\u{447}\u{430}\u{43B}\u{430} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{430} \u{43F}\u{440}\u{435}\u{434}\u{448}\u{435}\u{441}\u{442}\u{432}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{434}\u{430}\u{442}\u{435} \u{43E}\u{43A}\u{43E}\u{43D}\u{447}\u{430}\u{43D}\u{438}\u{44F}.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{44C}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}.`},"sk-SK":{rangeOverflow:e=>`Hodnota mus\xed by\u{165} ${e.maxValue} alebo skor\u{161}ia.`,rangeReversed:`D\xe1tum za\u{10D}iatku mus\xed by\u{165} skor\u{161}\xed ako d\xe1tum konca.`,rangeUnderflow:e=>`Hodnota mus\xed by\u{165} ${e.minValue} alebo neskor\u{161}ia.`,unavailableDate:`Vybrat\xfd d\xe1tum je nedostupn\xfd.`},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u{161}a.`,rangeReversed:`Za\u{10D}etni datum mora biti pred kon\u{10D}nim datumom.`,rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u{161}a.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:`Datum po\u{10D}etka mora biti pre datuma zavr\u{161}etka.`,rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`V\xe4rdet m\xe5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:`Startdatumet m\xe5ste vara f\xf6re slutdatumet.`,rangeUnderflow:e=>`V\xe4rdet m\xe5ste vara ${e.minValue} eller senare.`,unavailableDate:`Det valda datumet \xe4r inte tillg\xe4ngligt.`},"tr-TR":{rangeOverflow:e=>`De\u{11F}er, ${e.maxValue} veya \xf6ncesi olmal\u{131}d\u{131}r.`,rangeReversed:`Ba\u{15F}lang\u{131}\xe7 tarihi biti\u{15F} tarihinden \xf6nce olmal\u{131}d\u{131}r.`,rangeUnderflow:e=>`De\u{11F}er, ${e.minValue} veya sonras\u{131} olmal\u{131}d\u{131}r.`,unavailableDate:`Se\xe7ilen tarih kullan\u{131}lam\u{131}yor.`},"uk-UA":{rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{43F}\u{456}\u{437}\u{43D}\u{456}\u{448}\u{435} ${e.maxValue}.`,rangeReversed:`\u{414}\u{430}\u{442}\u{430} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{43A}\u{443} \u{43C}\u{430}\u{454} \u{43F}\u{435}\u{440}\u{435}\u{434}\u{443}\u{432}\u{430}\u{442}\u{438} \u{434}\u{430}\u{442}\u{456} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{435}\u{43D}\u{43D}\u{44F}.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{456}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}.`},"zh-CN":{rangeOverflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{65E5}\u{671F}\u{3002}`,rangeReversed:`\u{5F00}\u{59CB}\u{65E5}\u{671F}\u{5FC5}\u{987B}\u{65E9}\u{4E8E}\u{7ED3}\u{675F}\u{65E5}\u{671F}\u{3002}`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{65E5}\u{671F}\u{3002}`,unavailableDate:`\u{6240}\u{9009}\u{65E5}\u{671F}\u{4E0D}\u{53EF}\u{7528}\u{3002}`},"zh-TW":{rangeOverflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{3002}`,rangeReversed:`\u{958B}\u{59CB}\u{65E5}\u{671F}\u{5FC5}\u{9808}\u{5728}\u{7D50}\u{675F}\u{65E5}\u{671F}\u{4E4B}\u{524D}\u{3002}`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{3002}`,unavailableDate:`\u{6240}\u{9078}\u{65E5}\u{671F}\u{7121}\u{6CD5}\u{4F7F}\u{7528}\u{3002}`}};let d=new l.J((r=s)&&r.__esModule?r.default:r);function c(e,t,n,r,o){let i=null!=e&&null!=n&&e.compare(n)>0,u=null!=e&&null!=t&&0>e.compare(t),s=null!=e&&(null==r?void 0:r(e))||!1,c=i||u||s,f=[];if(c){let e="undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US",r=new l.E(e,d),c=new a.CN(e,p({},o)),m=c.resolvedOptions().timeZone;u&&f.push(r.format("rangeUnderflow",{minValue:c.format(t.toDate(m))})),i&&f.push(r.format("rangeOverflow",{maxValue:c.format(n.toDate(m))})),s&&f.push(r.format("unavailableDate"))}return{isInvalid:c,validationErrors:f,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:i,rangeUnderflow:u,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!c}}}let f={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},m={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function p(e,t){var n;e={...t.shouldForceLeadingZeros?m:f,...e};let r=t.granularity||"minute",a=Object.keys(e),o=a.indexOf(null!==(n=t.maxGranularity)&&void 0!==n?n:"year");o<0&&(o=0);let i=a.indexOf(r);if(i<0&&(i=2),o>i)throw Error("maxGranularity must be greater than granularity");let u=a.slice(o,i+1).reduce((t,n)=>(t[n]=e[n],t),{});return null!=t.hourCycle&&(u.hour12=12===t.hourCycle),u.timeZone=t.timeZone||"UTC",("hour"===r||"minute"===r||"second"===r)&&t.timeZone&&!t.hideTimeZone&&(u.timeZoneName="short"),t.showEra&&0===o&&(u.era="short"),u}function h(e){return e&&"hour"in e?e:new a.qp}function v(e,t){return null===e?null:e?(0,a.Mw)(e,t):void 0}function g(e,t,n,r){if(e)return v(e,n);let o=(0,a.Mw)((0,a.zO)(r).set({hour:0,minute:0,second:0,millisecond:0}),n);return"year"===t||"month"===t||"day"===t?(0,a.WG)(o):r?o:(0,a.IO)(o)}function y(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw Error("Invalid granularity "+t+" for value "+e.toString());let[a,o]=(0,i.useState)([r,n]);return e&&(a[0]!==r||a[1]!==n)&&o([r,n]),t||(t=e?r:a[0]),[t,e?n:a[1]]}function b(e){var t;let n=function(e){let[t,n]=(0,u.zk)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),r=(0,i.useCallback)(()=>{n(!0)},[n]),a=(0,i.useCallback)(()=>{n(!1)},[n]),o=(0,i.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:a,toggle:o}}(e),[r,l]=(0,u.zk)(e.value,e.defaultValue||null,e.onChange),s=r||e.placeholderValue,[d,f]=y(s,e.granularity),m=null!=r?r.toDate(null!=f?f:"UTC"):null,v="hour"===d||"minute"===d||"second"===d,g=null===(t=e.shouldCloseOnSelect)||void 0===t||t,[b,w]=(0,i.useState)(null),[D,E]=(0,i.useState)(null);if(r&&(b=r,"hour"in r&&(D=r)),s&&!(d in s))throw Error("Invalid granularity "+d+" for value "+s.toString());let x=(null==r?void 0:r.calendar.identifier)==="gregory"&&"BC"===r.era,C=(0,i.useMemo)(()=>({granularity:d,timeZone:f,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:x}),[d,e.hourCycle,e.shouldForceLeadingZeros,f,e.hideTimeZone,x]),{minValue:k,maxValue:S,isDateUnavailable:M}=e,R=(0,i.useMemo)(()=>c(r,k,S,M,C),[r,k,S,M,C]),P=(0,o.Q3)({...e,value:r,builtinValidation:R}),T=P.displayValidation.isInvalid,A=e.validationState||(T?"invalid":null),F=(e,t)=>{l("timeZone"in t?t.set((0,a.WG)(e)):(0,a.IO)(e,t)),w(null),E(null),P.commitValidation()};return{...P,value:r,setValue:l,dateValue:b,timeValue:D,setDateValue:t=>{let r="function"==typeof g?g():g;v?D||r?F(t,D||h(e.placeholderValue)):w(t):(l(t),P.commitValidation()),r&&n.setOpen(!1)},setTimeValue:e=>{b&&e?F(b,e):E(e)},granularity:d,hasTime:v,...n,setOpen(t){!t&&!r&&b&&v&&F(b,D||h(e.placeholderValue)),n.setOpen(t)},validationState:A,isInvalid:T,formatValue(e,t){if(!m)return"";let n=p(t,C);return new a.CN(e,n).format(m)}}}let w=new l.J({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"\xf1\xf1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xe9\xe9\xe9\xe9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},no:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en"),D={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},E={year:5,month:2,day:7,hour:2,minute:15,second:15},x={dayperiod:"dayPeriod"};function C(e){var t;let{locale:n,createCalendar:r,hideTimeZone:l,isDisabled:s,isReadOnly:d,isRequired:f,minValue:m,maxValue:h,isDateUnavailable:b}=e,C=e.value||e.defaultValue||e.placeholderValue,[k,S]=y(C,e.granularity),M=S||"UTC";if(C&&!(k in C))throw Error("Invalid granularity "+k+" for value "+C.toString());let R=(0,i.useMemo)(()=>new a.CN(n),[n]),P=(0,i.useMemo)(()=>r(R.resolvedOptions().calendar),[r,R]),[T,A]=(0,u.zk)(e.value,e.defaultValue,e.onChange),F=(0,i.useMemo)(()=>v(T,P),[T,P]),[B,_]=(0,i.useState)(()=>g(e.placeholderValue,k,P,S)),O="gregory"===P.identifier&&"BC"===(F||B).era,N=(0,i.useMemo)(()=>{var t;return{granularity:k,maxGranularity:null!==(t=e.maxGranularity)&&void 0!==t?t:"year",timeZone:S,hideTimeZone:l,hourCycle:e.hourCycle,showEra:O,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,k,e.hourCycle,e.shouldForceLeadingZeros,S,l,O]),I=(0,i.useMemo)(()=>p({},N),[N]),L=(0,i.useMemo)(()=>new a.CN(n,I),[n,I]),V=(0,i.useMemo)(()=>L.resolvedOptions(),[L]),$=(0,i.useMemo)(()=>L.formatToParts(new Date).filter(e=>D[e.type]).reduce((e,t)=>(e[t.type]=!0,e),{}),[L]),[j,W]=(0,i.useState)(()=>e.value||e.defaultValue?{...$}:{}),z=(0,i.useRef)(),Z=(0,i.useRef)(P.identifier);(0,i.useEffect)(()=>{P.identifier!==Z.current&&(Z.current=P.identifier,_(t=>Object.keys(j).length>0?(0,a.Mw)(t,P):g(e.placeholderValue,k,P,S)))},[P,k,j,S,e.placeholderValue]),T&&Object.keys(j).length<Object.keys($).length&&W(j={...$}),null==T&&Object.keys(j).length===Object.keys($).length&&(W(j={}),_(g(e.placeholderValue,k,P,S)));let U=F&&Object.keys(j).length>=Object.keys($).length?F:B,K=t=>{if(e.isDisabled||e.isReadOnly)return;let n=Object.keys(j),r=Object.keys($);null==t?(A(null),_(g(e.placeholderValue,k,P,S)),W({})):n.length>=r.length||n.length===r.length-1&&$.dayPeriod&&!j.dayPeriod&&"dayPeriod"!==z.current?A(t=(0,a.Mw)(t,(null==C?void 0:C.calendar)||new a.IQ)):_(t),z.current=null},H=(0,i.useMemo)(()=>U.toDate(M),[U,M]),Y=(0,i.useMemo)(()=>L.formatToParts(H).map(e=>{var t,r;let o=D[e.type];"era"===e.type&&1===P.getEras().length&&(o=!1);let i=D[e.type]&&!j[e.type],u=D[e.type]?(t=e.type,r=e.value,"era"===t||"dayPeriod"===t?r:"year"===t||"month"===t||"day"===t?w.getStringForLocale(t,n):"––"):null;return{type:x[e.type]||e.type,text:i?u:e.value,...function(e,t,n){switch(t){case"era":{let t=e.calendar.getEras();return{value:t.indexOf(e.era),minValue:0,maxValue:t.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:(0,a.jx)(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:(0,a.PA)(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let t=e.hour>=12;return{value:e.hour,minValue:t?12:0,maxValue:t?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}(U,e.type,V),isPlaceholder:i,placeholder:u,isEditable:o}}),[H,j,L,V,U,P,n]);$.era&&j.year&&!j.era?(j.era=!0,W({...j})):!$.era&&j.era&&(delete j.era,W({...j}));let q=e=>{j[e]=!0,"year"===e&&$.era&&(j.era=!0),W({...j})},G=(e,t)=>{if(j[e])K(function(e,t,n,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,n,{round:"year"===t})}if("hour"in e)switch(t){case"dayPeriod":{let t=e.hour;return e.set({hour:t>=12?t-12:t+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:"hour"!==t,hourCycle:r.hour12?12:24})}}(U,e,t,V));else{q(e);let t=Object.keys(j),n=Object.keys($);(t.length>=n.length||t.length===n.length-1&&$.dayPeriod&&!j.dayPeriod)&&K(U)}},Q=(0,i.useMemo)(()=>c(T,m,h,b,N),[T,m,h,b,N]),J=(0,o.Q3)({...e,value:T,builtinValidation:Q}),X=J.displayValidation.isInvalid,ee=e.validationState||(X?"invalid":null);return{...J,value:F,dateValue:H,calendar:P,setValue:K,segments:Y,dateFormatter:L,validationState:ee,isInvalid:X,granularity:k,maxGranularity:null!==(t=e.maxGranularity)&&void 0!==t?t:"year",isDisabled:s,isReadOnly:d,isRequired:f,increment(e){G(e,1)},decrement(e){G(e,-1)},incrementPage(e){G(e,E[e]||1)},decrementPage(e){G(e,-(E[e]||1))},setSegment(e,t){q(e),K(function(e,t,n,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e)switch(t){case"dayPeriod":{let t=e.hour,r=t>=12;if(n>=12===r)return e;return e.set({hour:r?t-12:t+12})}case"hour":if(r.hour12){let t=e.hour>=12;t||12!==n||(n=0),t&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}}(U,e,t,V))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let t=Object.keys(j),n=Object.keys($);t.length===n.length-1&&$.dayPeriod&&!j.dayPeriod&&(W(j={...$}),K(U.copy()))},clearSegment(t){delete j[t],z.current=t,W({...j});let n=g(e.placeholderValue,k,P,S),r=U;if("dayPeriod"===t&&"hour"in U&&"hour"in n){let e=U.hour>=12,t=n.hour>=12;e&&!t?r=U.set({hour:U.hour-12}):!e&&t&&(r=U.set({hour:U.hour+12}))}else t in U&&(r=U.set({[t]:n[t]}));A(null),K(r)},formatValue(e){if(!F)return"";let t=p(e,N);return new a.CN(n,t).format(H)}}}function k(e){let{placeholderValue:t=new a.qp,minValue:n,maxValue:r,granularity:o,validate:l}=e,[s,d]=(0,u.zk)(e.value,e.defaultValue,e.onChange),c=s||t,f=c&&"day"in c?c:void 0,m=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,p=(0,i.useMemo)(()=>{let e=c&&"timeZone"in c?c.timeZone:void 0;return(e||m)&&t?(0,a.fW)(S(t),e||m):S(t)},[t,c,m]),h=(0,i.useMemo)(()=>S(n,f),[n,f]),v=(0,i.useMemo)(()=>S(r,f),[r,f]),g=(0,i.useMemo)(()=>s&&"day"in s?(0,a.ZB)(s):s,[s]),y=(0,i.useMemo)(()=>null==s?null:S(s),[s]);return{...C({...e,value:y,defaultValue:void 0,minValue:h,maxValue:v,onChange:e=>{d(f||m?e:e&&(0,a.ZB)(e))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:p,createCalendar:()=>new a.IQ,validate:(0,i.useCallback)(()=>null==l?void 0:l(s),[l,s])}),timeValue:g}}function S(e,t=(0,a.Lg)((0,a.iT)())){return e?"day"in e?e:(0,a.IO)(t,e):null}},76890:function(e,t,n){"use strict";n.d(t,{Q3:function(){return s},tL:function(){return l}});var r=n(4470);let a={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},o={...a,customError:!0,valid:!1},i={isInvalid:!1,validationDetails:a,validationErrors:[]},u=(0,r.createContext)({}),l="__formValidationState"+Date.now();function s(e){if(e[l]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:a,commitValidation:o}=e[l];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:a,commitValidation:o}}return function(e){let{isInvalid:t,validationState:n,name:a,value:l,builtinValidation:s,validate:m,validationBehavior:p="aria"}=e;n&&(t||(t="invalid"===n));let h=t?{isInvalid:!0,validationErrors:[],validationDetails:o}:null,v=(0,r.useMemo)(()=>c(function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return d(n)}return[]}(m,l)),[m,l]);(null==s?void 0:s.validationDetails.valid)&&(s=null);let g=(0,r.useContext)(u),y=(0,r.useMemo)(()=>a?Array.isArray(a)?a.flatMap(e=>d(g[e])):d(g[a]):[],[g,a]),[b,w]=(0,r.useState)(g),[D,E]=(0,r.useState)(!1);g!==b&&(w(g),E(!1));let x=(0,r.useMemo)(()=>c(D?[]:y),[D,y]),C=(0,r.useRef)(i),[k,S]=(0,r.useState)(i),M=(0,r.useRef)(i),[R,P]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!R)return;P(!1);let e=v||s||C.current;f(e,M.current)||(M.current=e,S(e))}),{realtimeValidation:h||x||v||s||i,displayValidation:"native"===p?h||x||k:h||x||v||s||k,updateValidation(e){"aria"!==p||f(k,e)?C.current=e:S(e)},resetValidation(){f(i,M.current)||(M.current=i,S(i)),"native"===p&&P(!1),E(!0)},commitValidation(){"native"===p&&P(!0),E(!0)}}}(e)}function d(e){return e?Array.isArray(e)?e:[e]:[]}function c(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:o}:null}function f(e,t){return e===t||e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}},67523:function(e,t,n){"use strict";n.d(t,{zk:function(){return a}});var r=n(4470);function a(e,t,n){let[a,o]=(0,r.useState)(e||t),i=(0,r.useRef)(void 0!==e),u=void 0!==e;(0,r.useEffect)(()=>{let e=i.current;e!==u&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}.`),i.current=u},[u]);let l=u?e:a,s=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(l,e)&&n(e,...t),u||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...a)=>{let o=e(u?l:n,...a);return(r(o,...t),u)?n:o})):(u||o(e),r(e,...t))},[u,l,n]);return[l,s]}},46794:function(e,t,n){"use strict";function r(e,t,n){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}n.d(t,{_:function(){return r}})},22384:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(20967);let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=r.W,i=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:u}=t,l=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==u?void 0:u[e];if(null===t)return null;let o=a(t)||a(r);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,l,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...u,...s}[t]):({...u,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},20967:function(e,t,n){"use strict";function r(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{W:function(){return r}})},45125:function(e,t,n){"use strict";let r,a;n.d(t,{mY:function(){return e4}});var o=n(53097),i=n(4470),u=n.t(i,2);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function s(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function d(...e){return(0,i.useCallback)(s(...e),e)}let c=(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:()=>{},f=u["useId".toString()]||(()=>void 0),m=0;function p(e){let[t,n]=i.useState(f());return c(()=>{e||n(e=>null!=e?e:String(m++))},[e]),e||(t?`radix-${t}`:"")}function h(e){let t=(0,i.useRef)(e);return(0,i.useEffect)(()=>{t.current=e}),(0,i.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}var v=n(26890),g=n(41394);let y=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e,a=i.Children.toArray(n),o=a.find(D);if(o){let e=o.props.children,n=a.map(t=>t!==o?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(b,(0,v.Z)({},r,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(b,(0,v.Z)({},r,{ref:t}),n)});y.displayName="Slot";let b=(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 a=e[r],o=t[r];/^on[A-Z]/.test(r)?n[r]=(...e)=>{null==o||o(...e),null==a||a(...e)}:"style"===r?n[r]={...a,...o}:"className"===r&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:s(t,n.ref)}):i.Children.count(n)>1?i.Children.only(null):null});b.displayName="SlotClone";let w=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function D(e){return(0,i.isValidElement)(e)&&e.type===w}let E=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,i.forwardRef)((e,n)=>{let{asChild:r,...a}=e,o=r?y:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(o,(0,v.Z)({},a,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),x="dismissableLayer.update",C=(0,i.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=(0,i.forwardRef)((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:u,onInteractOutside:s,onDismiss:c,...f}=e,m=(0,i.useContext)(C),[p,g]=(0,i.useState)(null),[,y]=(0,i.useState)({}),b=d(t,e=>g(e)),w=Array.from(m.layers),[D]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),k=w.indexOf(D),R=p?w.indexOf(p):-1,P=m.layersWithOutsidePointerEventsDisabled.size>0,T=R>=k,A=function(e){let t=h(e),n=(0,i.useRef)(!1),r=(0,i.useRef)(()=>{});return(0,i.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let n={originalEvent:e};function a(){M("dismissableLayer.pointerDownOutside",t,n,{discrete:!0})}"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=a,document.addEventListener("click",r.current,{once:!0})):a()}n.current=!1},a=window.setTimeout(()=>{document.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));!T||n||(null==o||o(e),null==s||s(e),e.defaultPrevented||null==c||c())}),F=function(e){let t=h(e),n=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=e=>{e.target&&!n.current&&M("dismissableLayer.focusOutside",t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),()=>document.removeEventListener("focusin",e)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...m.branches].some(e=>e.contains(t))||(null==u||u(e),null==s||s(e),e.defaultPrevented||null==c||c())});return!function(e){let t=h(e);(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t])}(e=>{R!==m.layers.size-1||(null==a||a(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))}),(0,i.useEffect)(()=>{if(p)return n&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(r=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(p)),m.layers.add(p),S(),()=>{n&&1===m.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=r)}},[p,n,m]),(0,i.useEffect)(()=>()=>{p&&(m.layers.delete(p),m.layersWithOutsidePointerEventsDisabled.delete(p),S())},[p,m]),(0,i.useEffect)(()=>{let e=()=>y({});return document.addEventListener(x,e),()=>document.removeEventListener(x,e)},[]),(0,i.createElement)(E.div,(0,v.Z)({},f,{ref:b,style:{pointerEvents:P?T?"auto":"none":void 0,...e.style},onFocusCapture:l(e.onFocusCapture,F.onFocusCapture),onBlurCapture:l(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,A.onPointerDownCapture)}))});function S(){let e=new CustomEvent(x);document.dispatchEvent(e)}function M(e,t,n,{discrete:r}){let a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&a.addEventListener(e,t,{once:!0}),r)?a&&(0,g.flushSync)(()=>a.dispatchEvent(o)):a.dispatchEvent(o)}let R="focusScope.autoFocusOnMount",P="focusScope.autoFocusOnUnmount",T={bubbles:!1,cancelable:!0},A=(0,i.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...u}=e,[l,s]=(0,i.useState)(null),c=h(a),f=h(o),m=(0,i.useRef)(null),p=d(t,e=>s(e)),g=(0,i.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,i.useEffect)(()=>{if(r){function e(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?m.current=t:_(m.current,{select:!0})}function t(e){g.paused||!l||l.contains(e.relatedTarget)||_(m.current,{select:!0})}return document.addEventListener("focusin",e),document.addEventListener("focusout",t),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}},[r,l,g.paused]),(0,i.useEffect)(()=>{if(l){O.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(R,T);l.addEventListener(R,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(_(r,{select:t}),document.activeElement!==n)return}(F(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&_(l))}return()=>{l.removeEventListener(R,c),setTimeout(()=>{let t=new CustomEvent(P,T);l.addEventListener(P,f),l.dispatchEvent(t),t.defaultPrevented||_(null!=e?e:document.body,{select:!0}),l.removeEventListener(P,f),O.remove(g)},0)}}},[l,c,f,g]);let y=(0,i.useCallback)(e=>{if(!n&&!r||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){let t=e.currentTarget,[r,o]=function(e){let t=F(e);return[B(t,e),B(t.reverse(),e)]}(t);r&&o?e.shiftKey||a!==o?e.shiftKey&&a===r&&(e.preventDefault(),n&&_(o,{select:!0})):(e.preventDefault(),n&&_(r,{select:!0})):a===t&&e.preventDefault()}},[n,r,g.paused]);return(0,i.createElement)(E.div,(0,v.Z)({tabIndex:-1},u,{ref:p,onKeyDown:y}))});function F(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 B(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 _(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 O=(a=[],{add(e){let t=a[0];e!==t&&(null==t||t.pause()),(a=N(a,e)).unshift(e)},remove(e){var t;null===(t=(a=N(a,e))[0])||void 0===t||t.resume()}});function N(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}let I=(0,i.forwardRef)((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?g.createPortal((0,i.createElement)(E.div,(0,v.Z)({},a,{ref:t})),r):null}),L=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,a]=(0,i.useState)(),o=(0,i.useRef)({}),u=(0,i.useRef)(e),l=(0,i.useRef)("none"),[s,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,i.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,i.useEffect)(()=>{let e=V(o.current);l.current="mounted"===s?e:"none"},[s]),c(()=>{let t=o.current,n=u.current;if(n!==e){let r=l.current,a=V(t);e?d("MOUNT"):"none"===a||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==a?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),c(()=>{if(r){let e=e=>{let t=V(o.current).includes(e.animationName);e.target===r&&t&&(0,g.flushSync)(()=>d("ANIMATION_END"))},t=e=>{e.target===r&&(l.current=V(o.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}d("ANIMATION_END")},[r,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,i.useCallback)(e=>{e&&(o.current=getComputedStyle(e)),a(e)},[])}}(t),a="function"==typeof n?n({present:r.isPresent}):i.Children.only(n),o=d(r.ref,a.ref);return"function"==typeof n||r.isPresent?(0,i.cloneElement)(a,{ref:o}):null};function V(e){return(null==e?void 0:e.animationName)||"none"}L.displayName="Presence";let $=0;function j(){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}var W=n(52303),z=n(79857),Z=n(25092),U=(0,n(33615)._)(),K=function(){},H=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:K,onWheelCapture:K,onTouchMoveCapture:K}),a=r[0],o=r[1],u=e.forwardProps,l=e.children,s=e.className,d=e.removeScrollBar,c=e.enabled,f=e.shards,m=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,g=e.as,y=(0,W._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=(0,Z.q)([n,t]),w=(0,W.pi)((0,W.pi)({},y),a);return i.createElement(i.Fragment,null,c&&i.createElement(m,{sideCar:U,removeScrollBar:d,shards:f,noIsolation:p,inert:h,setCallbacks:o,allowPinchZoom:!!v,lockRef:n}),u?i.cloneElement(i.Children.only(l),(0,W.pi)((0,W.pi)({},w),{ref:b})):i.createElement(void 0===g?"div":g,(0,W.pi)({},w,{className:s,ref:b}),l))});H.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},H.classNames={fullWidth:z.zi,zeroRight:z.pF};var Y=n(41608),q=n(97802),G=n(13362),Q=!1;if("undefined"!=typeof window)try{var J=Object.defineProperty({},"passive",{get:function(){return Q=!0,!0}});window.addEventListener("test",J,J),window.removeEventListener("test",J,J)}catch(e){Q=!1}var X=!!Q&&{passive:!1},ee=function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)},et=function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)},en=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),er(e,n)){var r=ea(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},er=function(e,t){return"v"===e?ee(t):et(t)},ea=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eo=function(e,t,n,r,a){var o,i=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),u=i*r,l=n.target,s=t.contains(l),d=!1,c=u>0,f=0,m=0;do{var p=ea(e,l),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&er(e,l)&&(f+=v,m+=h),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return c&&(a&&0===f||!a&&u>f)?d=!0:!c&&(a&&0===m||!a&&-u>m)&&(d=!0),d},ei=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eu=function(e){return[e.deltaX,e.deltaY]},el=function(e){return e&&"current"in e?e.current:e},es=0,ed=[],ec=(0,Y.L)(U,function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),a=i.useState(es++)[0],o=i.useState(function(){return(0,G.Ws)()})[0],u=i.useRef(e);i.useEffect(function(){u.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,W.ev)([e.lockRef.current],(e.shards||[]).map(el),!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 l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!u.current.allowPinchZoom;var a,o=ei(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-o[0],s="deltaY"in e?e.deltaY:i[1]-o[1],d=e.target,c=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===c&&"range"===d.type)return!1;var f=en(c,d);if(!f)return!0;if(f?a=c:(a="v"===c?"h":"v",f=en(c,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=a),!a)return!0;var m=r.current||a;return eo(m,t,e,"h"===m?l:s,!0)},[]),s=i.useCallback(function(e){if(ed.length&&ed[ed.length-1]===o){var n="deltaY"in e?eu(e):ei(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.preventDefault();return}if(!r){var a=(u.current.shards||[]).map(el).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?l(e,a[0]):!u.current.noIsolation)&&e.preventDefault()}}},[]),d=i.useCallback(function(e,n,r,a){var o={name:e,delta:n,target:r,should:a};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=i.useCallback(function(e){n.current=ei(e),r.current=void 0},[]),f=i.useCallback(function(t){d(t.type,eu(t),t.target,l(t,e.lockRef.current))},[]),m=i.useCallback(function(t){d(t.type,ei(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return ed.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",s,X),document.addEventListener("touchmove",s,X),document.addEventListener("touchstart",c,X),function(){ed=ed.filter(function(e){return e!==o}),document.removeEventListener("wheel",s,X),document.removeEventListener("touchmove",s,X),document.removeEventListener("touchstart",c,X)}},[]);var p=e.removeScrollBar,h=e.inert;return i.createElement(i.Fragment,null,h?i.createElement(o,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,p?i.createElement(q.jp,{gapMode:"margin"}):null)}),ef=i.forwardRef(function(e,t){return i.createElement(H,(0,W.pi)({},e,{ref:t,sideCar:ec}))});ef.classNames=H.classNames;var em=n(54131);let ep="Dialog",[eh,ev]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>(0,i.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,i.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let a=(0,i.createContext)(r),o=n.length;function u(t){let{scope:n,children:r,...u}=t,l=(null==n?void 0:n[e][o])||a,s=(0,i.useMemo)(()=>u,Object.values(u));return(0,i.createElement)(l.Provider,{value:s},r)}return n=[...n,r],u.displayName=t+"Provider",[u,function(n,u){let l=(null==u?void 0:u[e][o])||a,s=(0,i.useContext)(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let a=n(e)[`__scope${r}`];return{...t,...a}},{});return(0,i.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(ep),[eg,ey]=eh(ep),eb="DialogPortal",[ew,eD]=eh(eb,{forceMount:void 0}),eE="DialogOverlay",ex=(0,i.forwardRef)((e,t)=>{let n=eD(eE,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,u=ey(eE,e.__scopeDialog);return u.modal?(0,i.createElement)(L,{present:r||u.open},(0,i.createElement)(eC,(0,o.Z)({},a,{ref:t}))):null}),eC=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,a=ey(eE,n);return(0,i.createElement)(ef,{as:y,allowPinchZoom:!0,shards:[a.contentRef]},(0,i.createElement)(E.div,(0,o.Z)({"data-state":eT(a.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),ek="DialogContent",eS=(0,i.forwardRef)((e,t)=>{let n=eD(ek,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,u=ey(ek,e.__scopeDialog);return(0,i.createElement)(L,{present:r||u.open},u.modal?(0,i.createElement)(eM,(0,o.Z)({},a,{ref:t})):(0,i.createElement)(eR,(0,o.Z)({},a,{ref:t})))}),eM=(0,i.forwardRef)((e,t)=>{let n=ey(ek,e.__scopeDialog),r=(0,i.useRef)(null),a=d(t,n.contentRef,r);return(0,i.useEffect)(()=>{let e=r.current;if(e)return(0,em.Ry)(e)},[]),(0,i.createElement)(eP,(0,o.Z)({},e,{ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:l(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:l(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:l(e.onFocusOutside,e=>e.preventDefault())}))}),eR=(0,i.forwardRef)((e,t)=>{let n=ey(ek,e.__scopeDialog),r=(0,i.useRef)(!1);return(0,i.createElement)(eP,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,o;null===(a=e.onCloseAutoFocus)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),t.preventDefault()),r.current=!1},onInteractOutside:t=>{var a,o;null===(a=e.onInteractOutside)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current=!0);let i=t.target;(null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(i))&&t.preventDefault()}}))}),eP=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:u,...l}=e,s=ey(ek,n),c=d(t,(0,i.useRef)(null));return(0,i.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:j()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:j()),$++,()=>{1===$&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),$--}},[]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(A,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:u},(0,i.createElement)(k,(0,o.Z)({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":eT(s.open)},l,{ref:c,onDismiss:()=>s.onOpenChange(!1)}))),!1)});function eT(e){return e?"open":"closed"}let[eA,eF]=function(e,t){let n=(0,i.createContext)(t);function r(e){let{children:t,...r}=e,a=(0,i.useMemo)(()=>r,Object.values(r));return(0,i.createElement)(n.Provider,{value:a},t)}return r.displayName=e+"Provider",[r,function(r){let a=(0,i.useContext)(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}]}("DialogTitleWarning",{contentName:ek,titleName:"DialogTitle",docsSlug:"dialog"}),eB=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:u=!0}=e,l=(0,i.useRef)(null),s=(0,i.useRef)(null),[d=!1,c]=function({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,a]=function({defaultProp:e,onChange:t}){let n=(0,i.useState)(e),[r]=n,a=(0,i.useRef)(r),o=h(t);return(0,i.useEffect)(()=>{a.current!==r&&(o(r),a.current=r)},[r,a,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,u=o?e:r,l=h(n);return[u,(0,i.useCallback)(t=>{if(o){let n="function"==typeof t?t(e):t;n!==e&&l(n)}else a(t)},[o,e,a,l])]}({prop:r,defaultProp:a,onChange:o});return(0,i.createElement)(eg,{scope:t,triggerRef:l,contentRef:s,contentId:p(),titleId:p(),descriptionId:p(),open:d,onOpenChange:c,onOpenToggle:(0,i.useCallback)(()=>c(e=>!e),[c]),modal:u},n)},e_=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:a}=e,o=ey(eb,t);return(0,i.createElement)(ew,{scope:t,forceMount:n},i.Children.map(r,e=>(0,i.createElement)(L,{present:n||o.open},(0,i.createElement)(I,{asChild:!0,container:a},e))))};var eO=n(45434),eN='[cmdk-group=""]',eI='[cmdk-group-items=""]',eL='[cmdk-item=""]',eV=`${eL}:not([aria-disabled="true"])`,e$="cmdk-item-select",ej="data-value",eW=(e,t)=>eO(e,t),ez=i.createContext(void 0),eZ=()=>i.useContext(ez),eU=i.createContext(void 0),eK=()=>i.useContext(eU),eH=i.createContext(void 0),eY=i.forwardRef((e,t)=>{let n=i.useRef(null),r=e5(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),a=e5(()=>new Set),o=e5(()=>new Map),u=e5(()=>new Map),l=e5(()=>new Set),s=e1(e),{label:d,children:c,value:f,onValueChange:m,filter:p,shouldFilter:h,...v}=e,g=i.useId(),y=i.useId(),b=i.useId(),w=e9();e3(()=>{if(void 0!==f){let e=f.trim().toLowerCase();r.current.value=e,w(6,M),D.emit()}},[f]);let D=i.useMemo(()=>({subscribe:e=>(l.current.add(e),()=>l.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var a,o,i;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)S(),C(),w(1,k);else if("value"===e){if((null==(a=s.current)?void 0:a.value)!==void 0){null==(i=(o=s.current).onValueChange)||i.call(o,t);return}n||w(5,M)}D.emit()}},emit:()=>{l.current.forEach(e=>e())}}),[]),E=i.useMemo(()=>({value:(e,t)=>{t!==u.current.get(e)&&(u.current.set(e,t),r.current.filtered.items.set(e,x(t)),w(2,()=>{C(),D.emit()}))},item:(e,t)=>(a.current.add(e),t&&(o.current.has(t)?o.current.get(t).add(e):o.current.set(t,new Set([e]))),w(3,()=>{S(),C(),r.current.value||k(),D.emit()}),()=>{u.current.delete(e),a.current.delete(e),r.current.filtered.items.delete(e),w(4,()=>{S(),k(),D.emit()})}),group:e=>(o.current.has(e)||o.current.set(e,new Set),()=>{u.current.delete(e),o.current.delete(e)}),filter:()=>s.current.shouldFilter,label:d||e["aria-label"],listId:g,inputId:b,labelId:y}),[]);function x(e){var t;let n=(null==(t=s.current)?void 0:t.filter)??eW;return e?n(e,r.current.search):0}function C(){if(!n.current||!r.current.search||!1===s.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(n=>{let r=o.current.get(n),a=0;r.forEach(t=>{a=Math.max(e.get(t),a)}),t.push([n,a])});let a=n.current.querySelector('[cmdk-list-sizer=""]');P().sort((t,n)=>{let r=t.getAttribute(ej),a=n.getAttribute(ej);return(e.get(a)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(eI);t?t.appendChild(e.parentElement===t?e:e.closest(`${eI} > *`)):a.appendChild(e.parentElement===a?e:e.closest(`${eI} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=n.current.querySelector(`${eN}[${ej}="${e[0]}"]`);null==t||t.parentElement.appendChild(t)})}function k(){let e=P().find(e=>!e.ariaDisabled),t=null==e?void 0:e.getAttribute(ej);D.setState("value",t||void 0)}function S(){if(!r.current.search||!1===s.current.shouldFilter){r.current.filtered.count=a.current.size;return}r.current.filtered.groups=new Set;let e=0;for(let t of a.current){let n=x(u.current.get(t));r.current.filtered.items.set(t,n),n>0&&e++}for(let[e,t]of o.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=e}function M(){var e,t,n;let r=R();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(eN))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function R(){return n.current.querySelector(`${eL}[aria-selected="true"]`)}function P(){return Array.from(n.current.querySelectorAll(eV))}function T(e){let t=P()[e];t&&D.setState("value",t.getAttribute(ej))}function A(e){var t;let n=R(),r=P(),a=r.findIndex(e=>e===n),o=r[a+e];null!=(t=s.current)&&t.loop&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&D.setState("value",o.getAttribute(ej))}function F(e){let t=R(),n=null==t?void 0:t.closest(eN),r;for(;n&&!r;)r=null==(n=e>0?function(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}(n,eN):function(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}(n,eN))?void 0:n.querySelector(eV);r?D.setState("value",r.getAttribute(ej)):A(e)}let B=()=>T(P().length-1),_=e=>{e.preventDefault(),e.metaKey?B():e.altKey?F(1):A(1)},O=e=>{e.preventDefault(),e.metaKey?T(0):e.altKey?F(-1):A(-1)};return i.createElement("div",{ref:e2([n,t]),...v,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=v.onKeyDown)||t.call(v,e),!e.defaultPrevented)switch(e.key){case"n":case"j":e.ctrlKey&&_(e);break;case"ArrowDown":_(e);break;case"p":case"k":e.ctrlKey&&O(e);break;case"ArrowUp":O(e);break;case"Home":e.preventDefault(),T(0);break;case"End":e.preventDefault(),B();break;case"Enter":{e.preventDefault();let t=R();if(t){let e=new Event(e$);t.dispatchEvent(e)}}}}},i.createElement("label",{"cmdk-label":"",htmlFor:E.inputId,id:E.labelId,style:e8},d),i.createElement(eU.Provider,{value:D},i.createElement(ez.Provider,{value:E},c)))}),eq=i.forwardRef((e,t)=>{let n=i.useId(),r=i.useRef(null),a=i.useContext(eH),o=eZ(),u=e1(e);e3(()=>o.item(n,a),[]);let l=e7(n,r,[e.value,e.children,r]),s=eK(),d=e6(e=>e.value&&e.value===l.current),c=e6(e=>!1===o.filter()||!e.search||e.filtered.items.get(n)>0);function f(){var e,t;null==(t=(e=u.current).onSelect)||t.call(e,l.current)}if(i.useEffect(()=>{let t=r.current;if(!(!t||e.disabled))return t.addEventListener(e$,f),()=>t.removeEventListener(e$,f)},[c,e.onSelect,e.disabled]),!c)return null;let{disabled:m,value:p,onSelect:h,...v}=e;return i.createElement("div",{ref:e2([r,t]),...v,"cmdk-item":"",role:"option","aria-disabled":m||void 0,"aria-selected":d||void 0,"data-selected":d||void 0,onPointerMove:m?void 0:function(){s.setState("value",l.current,!0)},onClick:m?void 0:f},e.children)}),eG=i.forwardRef((e,t)=>{let{heading:n,children:r,...a}=e,o=i.useId(),u=i.useRef(null),l=i.useRef(null),s=i.useId(),d=eZ(),c=e6(e=>!1===d.filter()||!e.search||e.filtered.groups.has(o));e3(()=>d.group(o),[]),e7(o,u,[e.value,e.heading,l]);let f=i.createElement(eH.Provider,{value:o},r);return i.createElement("div",{ref:e2([u,t]),...a,"cmdk-group":"",role:"presentation",hidden:!c||void 0},n&&i.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:s},n),i.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?s:void 0},f))}),eQ=i.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,a=i.useRef(null),o=e6(e=>!e.search);return n||o?i.createElement("div",{ref:e2([a,t]),...r,"cmdk-separator":"",role:"separator"}):null}),eJ=i.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,a=null!=e.value,o=eK(),u=e6(e=>e.search),l=eZ();return i.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),i.createElement("input",{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,id:l.inputId,type:"text",value:a?e.value:u,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})}),eX=i.forwardRef((e,t)=>{let{children:n,...r}=e,a=i.useRef(null),o=i.useRef(null),u=eZ();return i.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.getBoundingClientRect().height;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),i.createElement("div",{ref:e2([a,t]),...r,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:u.listId,"aria-labelledby":u.inputId},i.createElement("div",{ref:o,"cmdk-list-sizer":""},n))}),e0=i.forwardRef((e,t)=>{let{open:n,onOpenChange:r,container:a,...o}=e;return i.createElement(eB,{open:n,onOpenChange:r},i.createElement(e_,{container:a},i.createElement(ex,{"cmdk-overlay":""}),i.createElement(eS,{"aria-label":e.label,"cmdk-dialog":""},i.createElement(eY,{ref:t,...o}))))}),e4=Object.assign(eY,{List:eX,Item:eq,Input:eJ,Group:eG,Separator:eQ,Dialog:e0,Empty:i.forwardRef((e,t)=>{let n=i.useRef(!0),r=e6(e=>0===e.filtered.count);return i.useEffect(()=>{n.current=!1},[]),n.current||!r?null:i.createElement("div",{ref:t,...e,"cmdk-empty":"",role:"presentation"})}),Loading:i.forwardRef((e,t)=>{let{progress:n,children:r,...a}=e;return i.createElement("div",{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},i.createElement("div",{"aria-hidden":!0},r))})});function e1(e){let t=i.useRef(e);return e3(()=>{t.current=e}),t}var e3=typeof window>"u"?i.useEffect:i.useLayoutEffect;function e5(e){let t=i.useRef();return void 0===t.current&&(t.current=e()),t}function e2(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}function e6(e){let t=eK(),n=()=>e(t.snapshot());return i.useSyncExternalStore(t.subscribe,n,n)}function e7(e,t,n){let r=i.useRef(),a=eZ();return e3(()=>{var o;let i=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim().toLowerCase();if("object"==typeof t&&"current"in t&&t.current)return null==(e=t.current.textContent)?void 0:e.trim().toLowerCase()}})();a.value(e,i),null==(o=t.current)||o.setAttribute(ej,i),r.current=i}),r}var e9=()=>{let[e,t]=i.useState(),n=e5(()=>new Map);return e3(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}},e8={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},31773:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});let r={};function a(){return r}},63369:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(68192);function a(e){let t=(0,r.Q)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},15355:function(e,t,n){"use strict";n.d(t,{dP:function(){return a},jE:function(){return r}});let r=6048e5,a=864e5},87600:function(e,t,n){"use strict";function r(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}n.d(t,{L:function(){return r}})},15:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(15355),a=n(59478),o=n(63369);function i(e,t){let n=(0,a.b)(e),i=(0,a.b)(t);return Math.round((+n-(0,o.D)(n)-(+i-(0,o.D)(i)))/r.dP)}},32959:function(e,t,n){"use strict";n.d(t,{WU:function(){return A}});var r=n(23247),a=n(31773),o=n(15),i=n(37725),u=n(68192),l=n(95287),s=n(97221),d=n(88910),c=n(93226);function f(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let m={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return f("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):f(n+1,2)},d:(e,t)=>f(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>f(e.getHours()%12||12,t.length),H:(e,t)=>f(e.getHours(),t.length),m:(e,t)=>f(e.getMinutes(),t.length),s:(e,t)=>f(e.getSeconds(),t.length),S(e,t){let n=t.length;return f(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},p={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},h={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return m.y(e,t)},Y:function(e,t,n,r){let a=(0,c.c)(e,r),o=a>0?a:1-a;return"YY"===t?f(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):f(o,t.length)},R:function(e,t){return f((0,s.L)(e),t.length)},u:function(e,t){return f(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return m.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a=(0,d.Q)(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):f(a,t.length)},I:function(e,t,n){let r=(0,l.l)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):f(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):m.d(e,t)},D:function(e,t,n){let r=function(e){let t=(0,u.Q)(e);return(0,o.w)(t,(0,i.e)(t))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):f(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return f(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return f(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return f(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let a=e.getHours();switch(r=12===a?p.noon:0===a?p.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let a=e.getHours();switch(r=a>=17?p.evening:a>=12?p.afternoon:a>=4?p.morning:p.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return m.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):m.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):m.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):m.s(e,t)},S:function(e,t){return m.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return g(r);case"XXXX":case"XX":return y(r);default:return y(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return g(r);case"xxxx":case"xx":return y(r);default:return y(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+v(r,":");default:return"GMT"+y(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+v(r,":");default:return"GMT"+y(r,":")}},t:function(e,t,n){return f(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return f(e.getTime(),t.length)}};function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+f(o,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+f(Math.abs(e)/60,2):y(e,t)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+f(Math.trunc(n/60),2)+t+f(n%60,2)}let b=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},w=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},D={p:w,P:(e,t)=>{let n;let r=e.match(/(P+)(p+)?/)||[],a=r[1],o=r[2];if(!o)return b(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",b(a,t)).replace("{{time}}",w(o,t))}},E=/^D+$/,x=/^Y+$/,C=["D","DD","YY","YYYY"];var k=n(1437);let S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,R=/^'([^]*?)'?$/,P=/''/g,T=/[a-zA-Z]/;function A(e,t,n){var o,i,l,s,d,c,f,m,p,v,g,y,b,w,A,F,B,_;let O=(0,a.j)(),N=null!==(v=null!==(p=null==n?void 0:n.locale)&&void 0!==p?p:O.locale)&&void 0!==v?v:r._,I=null!==(w=null!==(b=null!==(y=null!==(g=null==n?void 0:n.firstWeekContainsDate)&&void 0!==g?g:null==n?void 0:null===(i=n.locale)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.firstWeekContainsDate)&&void 0!==y?y:O.firstWeekContainsDate)&&void 0!==b?b:null===(s=O.locale)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==w?w:1,L=null!==(_=null!==(B=null!==(F=null!==(A=null==n?void 0:n.weekStartsOn)&&void 0!==A?A:null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==F?F:O.weekStartsOn)&&void 0!==B?B:null===(m=O.locale)||void 0===m?void 0:null===(f=m.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==_?_:0,V=(0,u.Q)(e);if(!(0,k.J)(V)&&"number"!=typeof V||isNaN(Number((0,u.Q)(V))))throw RangeError("Invalid time value");let $=t.match(M).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,D[t])(e,N.formatLong):e}).join("").match(S).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(R);return t?t[1].replace(P,"'"):e}(e)};if(h[t])return{isToken:!0,value:e};if(t.match(T))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});N.localize.preprocessor&&($=N.localize.preprocessor(V,$));let j={firstWeekContainsDate:I,weekStartsOn:L,locale:N};return $.map(r=>{if(!r.isToken)return r.value;let a=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&x.test(a)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&E.test(a))&&function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),C.includes(e))throw RangeError(r)}(a,t,String(e)),(0,h[a[0]])(V,a,N.localize,j)}).join("")}},95287:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var r=n(15355),a=n(74096),o=n(97221),i=n(87600),u=n(68192);function l(e){let t=(0,u.Q)(e);return Math.round((+(0,a.T)(t)-+function(e){let t=(0,o.L)(e),n=(0,i.L)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,a.T)(n)}(t))/r.jE)+1}},97221:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(87600),a=n(74096),o=n(68192);function i(e){let t=(0,o.Q)(e),n=t.getFullYear(),i=(0,r.L)(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let u=(0,a.T)(i),l=(0,r.L)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);let s=(0,a.T)(l);return t.getTime()>=u.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}},88910:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var r=n(15355),a=n(27507),o=n(87600),i=n(93226),u=n(31773),l=n(68192);function s(e,t){let n=(0,l.Q)(e);return Math.round((+(0,a.z)(n,t)-+function(e,t){var n,r,l,s,d,c,f,m;let p=(0,u.j)(),h=null!==(m=null!==(f=null!==(c=null!==(d=null==t?void 0:t.firstWeekContainsDate)&&void 0!==d?d:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==c?c:p.firstWeekContainsDate)&&void 0!==f?f:null===(s=p.locale)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==m?m:1,v=(0,i.c)(e,t),g=(0,o.L)(e,0);return g.setFullYear(v,0,h),g.setHours(0,0,0,0),(0,a.z)(g,t)}(n,t))/r.jE)+1}},93226:function(e,t,n){"use strict";n.d(t,{c:function(){return u}});var r=n(87600),a=n(27507),o=n(68192),i=n(31773);function u(e,t){var n,u,l,s,d,c,f,m;let p=(0,o.Q)(e),h=p.getFullYear(),v=(0,i.j)(),g=null!==(m=null!==(f=null!==(c=null!==(d=null==t?void 0:t.firstWeekContainsDate)&&void 0!==d?d:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(n=u.options)||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==f?f:null===(s=v.locale)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==m?m:1,y=(0,r.L)(e,0);y.setFullYear(h+1,0,g),y.setHours(0,0,0,0);let b=(0,a.z)(y,t),w=(0,r.L)(e,0);w.setFullYear(h,0,g),w.setHours(0,0,0,0);let D=(0,a.z)(w,t);return p.getTime()>=b.getTime()?h+1:p.getTime()>=D.getTime()?h:h-1}},1437:function(e,t,n){"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{J:function(){return r}})},23247:function(e,t,n){"use strict";var r;n.d(t,{_:function(){return d}});let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let i={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;let u=i[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(u));return n=e.valueCallback?e.valueCallback(s):s,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(u.length)}}}let d={code:"en-US",formatDistance:(e,t,n)=>{let r;let o=a[e];return(r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:i,formatRelative:(e,t,n,r)=>u[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(r.matchPattern);if(!n)return null;let a=n[0],o=e.match(r.parsePattern);if(!o)return null;let i=r.valueCallback?r.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(a.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},59478:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(68192);function a(e){let t=(0,r.Q)(e);return t.setHours(0,0,0,0),t}},74096:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(27507);function a(e){return(0,r.z)(e,{weekStartsOn:1})}},27507:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(68192),a=n(31773);function o(e,t){var n,o,i,u,l,s,d,c;let f=(0,a.j)(),m=null!==(c=null!==(d=null!==(s=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==s?s:f.weekStartsOn)&&void 0!==d?d:null===(u=f.locale)||void 0===u?void 0:null===(i=u.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==c?c:0,p=(0,r.Q)(e),h=p.getDay();return p.setDate(p.getDate()-((h<m?7:0)+h-m)),p.setHours(0,0,0,0),p}},37725:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var r=n(68192),a=n(87600);function o(e){let t=(0,r.Q)(e),n=(0,a.L)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},68192:function(e,t,n){"use strict";function r(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}n.d(t,{Q:function(){return r}})},1860:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(4470);function a(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],i=t[n];return"function"==typeof r?`${r}`==`${i}`:a(r)&&a(i)?o(r,i):r===i})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function u(e){return"number"==typeof e}function l(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function d(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return Math.abs(e)}function f(e){return Math.sign(e)}function m(e){return g(e).map(Number)}function p(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function v(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function y(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,a,o={passive:!0}){let i;return"addEventListener"in n?(n.addEventListener(r,a,o),i=()=>n.removeEventListener(r,a,o)):(n.addListener(a),i=()=>n.removeListener(a)),e.push(i),t},clear:function(){e=e.filter(e=>e())}};return t}function w(e=0,t=0){let n=c(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function D(e){let t=e;function n(e){return u(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function E(e,t,n){let r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},a=n.style,o=!1;return{clear:function(){o||(a.transform="",n.getAttribute("style")||n.removeAttribute("style"))},to:function(e){o||(a.transform=r(t.apply(e)))},toggleActive:function(e){o=!e}}}let x={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function C(e,t,n){let r,a,o,i,k;let S=e.ownerDocument,M=S.defaultView,R=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let a=t[r],o=n[r],i=d(a)&&d(o);t[r]=i?e(a,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},a=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,a)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(M),P=(k=[],{init:function(e,t){return(k=t.filter(({options:e})=>!1!==R.optionsAtMedia(e).active)).forEach(t=>t.init(e,R)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){k=k.filter(e=>e.destroy())}}),T=b(),A=function(){let e;let t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n}};return n}(),{mergeOptions:F,optionsAtMedia:B,optionsMediaQueries:_}=R,{on:O,off:N,emit:I}=A,L=!1,V=F(x,C.globalOptions),$=F(V),j=[];function W(t,n){!L&&($=B(V=F(V,t)),j=n||j,function(){let{container:t,slides:n}=$;o=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?o.querySelectorAll(n):n;i=[].slice.call(r||o.children)}(),r=function t(n){let r=function(e,t,n,r,a,o,i){let d,x;let{align:C,axis:k,direction:S,startIndex:M,loop:R,duration:P,dragFree:T,dragThreshold:A,inViewThreshold:F,slidesToScroll:B,skipSnaps:_,containScroll:O,watchResize:N,watchSlides:I,watchDrag:L}=o,V={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:a}=e;return{top:t,right:n+r,bottom:t+a,left:n,width:r,height:a}}},$=V.measure(t),j=n.map(V.measure),W=function(e){let t="rtl"===e?-1:1;return{apply:function(e){return e*t}}}(S),z=function(e,t){let n="y"===e?"y":"x";return{scroll:n,cross:"y"===e?"x":"y",startEdge:"y"===n?"top":"rtl"===t?"right":"left",endEdge:"y"===n?"bottom":"rtl"===t?"left":"right",measureSize:function(e){let{width:t,height:r}=e;return"x"===n?t:r}}}(k,S),Z=z.measureSize($),U={measure:function(e){return e/100*Z}},K=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,a){return l(e)?n[e](r):e(t,r,a)}}}(C,Z),H=!R&&!!O,{slideSizes:Y,slideSizesWithGaps:q,startGap:G,endGap:Q}=function(e,t,n,r,a,o){let{measureSize:i,startEdge:u,endEdge:l}=e,s=n[0]&&a,d=function(){if(!s)return 0;let e=n[0];return c(t[u]-e[u])}(),f=s?parseFloat(o.getComputedStyle(p(r)).getPropertyValue(`margin-${l}`)):0,m=n.map(i),v=n.map((e,t,n)=>{let r=t===h(n);return t?r?m[t]+f:n[t+1][u]-e[u]:m[t]+d}).map(c);return{slideSizes:m,slideSizesWithGaps:v,startGap:d,endGap:f}}(z,$,j,n,R||!!O,a),J=function(e,t,n,r,a,o,i,l,s,d){let{startEdge:f,endEdge:v}=e,g=u(r);return{groupSlides:function(e){return g?m(e).filter(e=>e%r==0).map(t=>e.slice(t,t+r)):e.length?m(e).reduce((r,u)=>{let d=p(r)||0,m=u===h(e),g=o[f]-i[d][f],y=o[f]-i[u][v],b=a||0!==d?0:t.apply(l);return c(y-(!a&&m?t.apply(s):0)-(g+b))>n+2&&r.push(u),m&&r.push(e.length),r},[]).map((t,n,r)=>{let a=Math.max(r[n-1]||0);return e.slice(a,t)}):[]}}}(z,W,Z,B,R,$,j,G,Q,0),{snaps:X,snapsAligned:ee}=function(e,t,n,r,a){let{startEdge:o,endEdge:i}=e,{groupSlides:u}=a,l=u(r).map(e=>p(e)[i]-e[0][o]).map(c).map(t.measure),s=r.map(e=>n[o]-e[o]).map(e=>-c(e)),d=u(s).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:s,snapsAligned:d}}(z,K,$,j,J),et=-p(X)+p(q),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,a){let o=w(-t+e,0),i=n.map((e,t)=>{let{min:r,max:a}=o,i=o.constrain(e),u=t===h(n);return t?u||1>c(r-i)?r:1>c(a-i)?a:i:a}).map(e=>parseFloat(e.toFixed(3))),u=function(){let e=i[0],t=p(i);return w(i.lastIndexOf(e),i.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return i;let{min:n,max:a}=u;return i.slice(n,a)}(),scrollContainLimit:u}}(Z,et,ee,O,0),ea=H?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:w(n?r-e:p(t),r)}}(et,ea,R),ei=function e(t,n,r){let{constrain:a}=w(0,t),o=t+1,i=u(n);function u(e){return r?c((o+e)%o):a(e)}function l(){return e(t,i,r)}let s={get:function(){return i},set:function(e){return i=u(e),s},add:function(e){return l().set(i+e)},clone:l};return s}(h(ea),M,R),eu=ei.clone(),el=m(n),es=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},ed=({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:a,slideLooper:o,dragHandler:i,animation:u,eventHandler:l,options:{loop:s}},d)=>{let c=e.velocity(),f=e.settled();f&&!i.pointerDown()&&(u.stop(),l.emit("settle")),f||l.emit("scroll"),r.set(n.get()-c+c*d),s&&(a.loop(e.direction()),o.loop()),t.to(r.get())},ec=function(e,t,n,r){let a=b(),o=1e3/60,i=null,u=0,l=0;function s(e){i||(i=e);let a=e-i;for(i=e,u+=a;u>=o;)n(),u-=o;r(c(u/o)),l&&t.requestAnimationFrame(s)}function d(){t.cancelAnimationFrame(l),i=null,u=0,l=0}return{init:function(){a.add(e,"visibilitychange",()=>{e.hidden&&(i=null,u=0)})},destroy:function(){d(),a.clear()},start:function(){l||(l=t.requestAnimationFrame(s))},stop:d,update:n,render:r}}(r,a,()=>es(eC),e=>ed(eC,e)),ef=ea[ei.get()],em=D(ef),ep=D(ef),eh=D(ef),ev=function(e,t,n,r,a){let o=0,i=0,u=r,l=.68,s=e.get(),d=0;function m(e){return u=e,h}function p(e){return l=e,h}let h={direction:function(){return i},duration:function(){return u},velocity:function(){return o},seek:function(){let t=n.get()-e.get(),r=0;return u?(o+=t/u,o*=l,s+=o,e.add(o),r=s-d):(o=0,e.set(n),r=t),i=f(r),d=s,h},settled:function(){return .001>c(n.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return m(r)},useFriction:p,useDuration:m};return h}(em,ep,eh,P,0),eg=function(e,t,n,r,a){let{reachedAny:o,removeOffset:i,constrain:u}=r;function l(e){return e.concat().sort((e,t)=>c(e)-c(t))[0]}function s(t,r){let a=[t,t+n,t-n];if(!e)return a[0];if(!r)return l(a);let o=a.filter(e=>f(e)===r);return o.length?l(o):p(a)-n}return{byDistance:function(n,r){let l=a.get()+n,{index:d,distance:f}=function(n){let r=e?i(n):u(n),{index:a}=t.map(e=>e-r).map(e=>s(e,0)).map((e,t)=>({diff:e,index:t})).sort((e,t)=>c(e.diff)-c(t.diff))[0];return{index:a,distance:r}}(l),m=!e&&o(l);if(!r||m)return{index:d,distance:n};let p=n+s(t[d]-f,0);return{index:d,distance:p}},byIndex:function(e,n){let r=s(t[e]-a.get(),n);return{index:e,distance:r}},shortcut:s}}(R,ea,et,eo,eh),ey=function(e,t,n,r,a,o,i){function u(a){let u=a.distance,l=a.index!==t.get();o.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(a.index),i.emit("select"))}return{distance:function(e,t){u(a.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);u(a.byIndex(r.get(),n))}}}(ec,ei,eu,ev,eg,eh,i),eb=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),ew=b(),eD=function(e,t,n,r){let a;let o={},i=null,u=null,l=!1;return{init:function(){a=new IntersectionObserver(e=>{l||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),i=null,u=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>a.observe(e))},destroy:function(){a&&a.disconnect(),l=!0},get:function(e=!0){if(e&&i)return i;if(!e&&u)return u;let t=g(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=o[r];return(e&&a||!e&&!a)&&t.push(r),t},[]);return e&&(i=t),e||(u=t),t}}}(t,n,i,F),{slideRegistry:eE}=function(e,t,n,r,a,o){let{groupSlides:i}=a,{min:u,max:l}=r;return{slideRegistry:function(){let r=i(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(u,l).map((e,t,n)=>{let r=t===h(n);return t?r?v(h(o)-p(n)[0]+1,p(n)[0]):e:v(p(n[0])+1)}):r}()}}(H,O,ea,er,J,el),ex=function(e,t,n,r,a,o){let i=0;function l(e){"Tab"===e.code&&(i=new Date().getTime())}function s(l){o.add(l,"focus",()=>{if(new Date().getTime()-i>10)return;e.scrollLeft=0;let o=t.indexOf(l),s=n.findIndex(e=>e.includes(o));u(s)&&(a.useDuration(0),r.index(s,0))},{passive:!0,capture:!0})}return{init:function(){o.add(document,"keydown",l,!1),t.forEach(s)}}}(e,n,eE,ey,ev,ew),eC={ownerDocument:r,ownerWindow:a,eventHandler:i,containerRect:$,slideRects:j,animation:ec,axis:z,direction:W,dragHandler:function(e,t,n,r,a,o,i,u,l,d,m,p,h,v,g,D,E,x,C,k){let{cross:S}=e,M=["INPUT","SELECT","TEXTAREA"],R={passive:!1},P=b(),T=b(),A=w(50,225).constrain(g.measure(20)),F={mouse:300,touch:400},B={mouse:500,touch:600},_=D?43:25,O=!1,N=0,I=0,L=!1,V=!1,$=!1,j=!1;function W(e){let n=i.readPoint(e),r=i.readPoint(e,S),a=c(n-N),u=c(r-I);if(!V&&!j&&(!e.cancelable||!(V=a>u)))return z(e);let s=i.pointerMove(e);a>E&&($=!0),m.useFriction(.3).useDuration(1),l.start(),o.add(t.apply(s)),e.preventDefault()}function z(e){let n=p.byDistance(0,!1).index!==h.get(),r=i.pointerUp(e)*(D?B:F)[j?"mouse":"touch"],a=function(e,t){let n=h.add(-1*f(e)),r=p.byDistance(e,!D).distance;return D||c(e)<A?r:x&&t?.5*r:p.byIndex(n.get(),0).distance}(t.apply(r),n),o=function(e,t){var n,r;if(0===e||0===t||c(e)<=c(t))return 0;let a=(n=c(e),r=c(t),c(n-r));return c(a/e)}(r,a);V=!1,L=!1,T.clear(),m.useDuration(_-10*o).useFriction(.68+o/50),d.distance(a,!D),j=!1,v.emit("pointerUp")}function Z(e){$&&(e.stopPropagation(),e.preventDefault())}return{init:function(e){k&&P.add(n,"dragstart",e=>e.preventDefault(),R).add(n,"touchmove",()=>void 0,R).add(n,"touchend",()=>void 0).add(n,"touchstart",t).add(n,"mousedown",t).add(n,"touchcancel",z).add(n,"contextmenu",z).add(n,"click",Z,!0);function t(t){(s(k)||k(e,t))&&function(e){let t=y(e,a);j=t,(!t||0===e.button)&&!function(e){let t=e.nodeName||"";return M.includes(t)}(e.target)&&($=D&&t&&!e.buttons&&O,O=c(o.get()-u.get())>=2,L=!0,i.pointerDown(e),m.useFriction(0).useDuration(0),o.set(u),function(){let e=j?r:n;T.add(e,"touchmove",W,R).add(e,"touchend",z).add(e,"mousemove",W,R).add(e,"mouseup",z)}(),N=i.readPoint(e),I=i.readPoint(e,S),v.emit("pointerDown"))}(t)}},pointerDown:function(){return L},destroy:function(){P.clear(),T.clear()}}}(z,W,e,r,a,eh,function(e,t){let n,r;function a(e){return e.timeStamp}function o(n,r){let a=r||e.scroll,o=`client${"x"===a?"X":"Y"}`;return(y(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),i=a(e)-a(n)>170;return r=e,i&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),i=a(e)-a(n),u=a(e)-a(r)>170,l=t/i;return i&&!u&&c(l)>.1?l:0},readPoint:o}}(z,a),em,ec,ey,ev,eg,ei,i,U,T,A,_,0,L),eventStore:ew,percentOfView:U,index:ei,indexPrevious:eu,limit:eo,location:em,offsetLocation:ep,options:o,resizeHandler:function(e,t,n,r,a,o,i){let u,l;let d=[],f=!1;function m(e){return a.measureSize(i.measure(e))}return{init:function(a){o&&(l=m(e),d=r.map(m),u=new ResizeObserver(i=>{!f&&(s(o)||o(a,i))&&function(o){for(let i of o){let o=i.target===e,u=r.indexOf(i.target),s=o?l:d[u];if(c(m(o?e:r[u])-s)>=.5){n.requestAnimationFrame(()=>{a.reInit(),t.emit("resize")});break}}}(i)}),[e].concat(r).forEach(e=>u.observe(e)))},destroy:function(){u&&u.disconnect(),f=!0}}}(t,i,a,n,z,N,V),scrollBody:ev,scrollBounds:function(e,t,n,r,a){let o=a.measure(10),i=a.measure(50),u=w(.1,.99),l=!1;return{constrain:function(a){if(!(!l&&e.reachedAny(n.get())&&e.reachedAny(t.get())))return;let s=e.reachedMin(t.get())?"min":"max",d=c(e[s]-t.get()),f=n.get()-t.get(),m=u.constrain(d/i);n.subtract(f*m),!a&&c(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eo,em,eh,ev,U),scrollLooper:function(e,t,n,r){let{reachedMin:a,reachedMax:o}=w(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&a(n.get())))return;let i=-1*t*e;r.forEach(e=>e.add(i))}}}(et,eo,ep,[em,ep,eh]),scrollProgress:eb,scrollSnapList:ea.map(eb.get),scrollSnaps:ea,scrollTarget:eg,scrollTo:ey,slideLooper:function(e,t,n,r,a,o,i,u,l,s){let d=m(o),c=h(p(m(o).reverse(),u[0]),r,!1).concat(h(p(d,n-u[0]-1),-r,!0));function f(e,t){return e.reduce((e,t)=>e-o[t],t)}function p(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function h(o,u,d){let c=i.map((e,t)=>({start:e-a[t]+.5+u,end:e+n-.5+u}));return o.map(n=>{let a=d?0:-r,o=d?r:0,i=c[n][d?"end":"start"];return{index:n,loopPoint:i,slideLocation:D(-1),translate:E(e,t,s[n]),target:()=>l.get()>i?a:o}})}return{canLoop:function(){return c.every(({index:e})=>.1>=f(d.filter(t=>t!==e),n))},clear:function(){c.forEach(e=>e.translate.clear())},loop:function(){c.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,a=t();a!==r.get()&&(n.to(a),r.set(a))})},loopPoints:c}}(z,W,Z,et,Y,q,X,ea,ep,n),slideFocus:ex,slidesHandler:(x=!1,{init:function(e){I&&(d=new MutationObserver(t=>{!x&&(s(I)||I(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),i.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){d&&d.disconnect(),x=!0}}),slidesInView:eD,slideIndexes:el,slideRegistry:eE,slidesToScroll:J,target:eh,translate:E(z,W,t)};return eC}(e,o,i,S,M,n,A);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}($),_([V,...j.map(({options:e})=>e)]).forEach(e=>T.add(e,"change",z)),$.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(),r.eventHandler.init(H),r.resizeHandler.init(H),r.slidesHandler.init(H),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&i.length&&r.dragHandler.init(H),a=P.init(H,j)))}function z(e,t){let n=K();Z(),W(F({startIndex:n},e),t),A.emit("reInit")}function Z(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),P.destroy(),T.clear()}function U(e,t,n){$.active&&!L&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:$.duration),r.scrollTo.index(e,n||0))}function K(){return r.index.get()}let H={canScrollNext:function(){return r.index.add(1).get()!==K()},canScrollPrev:function(){return r.index.add(-1).get()!==K()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){L||(L=!0,T.clear(),Z(),A.emit("destroy"))},off:N,on:O,emit:I,plugins:function(){return a},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:z,rootNode:function(){return e},scrollNext:function(e){U(r.index.add(1).get(),e,-1)},scrollPrev:function(e){U(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:U,selectedScrollSnap:K,slideNodes:function(){return i},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return W(t,n),setTimeout(()=>A.emit("init"),0),H}function k(e={},t=[]){let n=(0,r.useRef)(e),a=(0,r.useRef)(t),[u,l]=(0,r.useState)(),[s,d]=(0,r.useState)(),c=(0,r.useCallback)(()=>{u&&u.reInit(n.current,a.current)},[u]);return(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&s){C.globalOptions=k.globalOptions;let e=C(s,n.current,a.current);return l(e),()=>e.destroy()}l(void 0)},[s,l]),(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,c())},[e,c]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=i(e),r=i(t);return n.every((e,t)=>o(e,r[t]))}(a.current,t)&&(a.current=t,c())},[t,c]),[d,u]}C.globalOptions=void 0,k.globalOptions=void 0},77976:function(e,t,n){"use strict";n.d(t,{Gc:function(){return x},KN:function(){return I},Qr:function(){return N},RV:function(){return C},U2:function(){return g},cI:function(){return eD},t8:function(){return O}});var r=n(4470),a=e=>"checkbox"===e.type,o=e=>e instanceof Date,i=e=>null==e;let u=e=>"object"==typeof e;var l=e=>!i(e)&&!Array.isArray(e)&&u(e)&&!o(e),s=e=>l(e)&&e.target?a(e.target)?e.target.checked:e.target.value:e,d=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>e.has(d(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},m="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(m&&(e instanceof Blob||e instanceof FileList))&&(n||l(e))))return e;else if(t=n?[]:{},n||f(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=p(e[n]));else t=e;return t}var h=e=>Array.isArray(e)?e.filter(Boolean):[],v=e=>void 0===e,g=(e,t,n)=>{if(!t||!l(e))return n;let r=h(t.split(/[,[\].]+?/)).reduce((e,t)=>i(e)?e:e[t],e);return v(r)||r===e?v(e[t])?n:e[t]:r},y=e=>"boolean"==typeof e;let b={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},w={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},D={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},E=r.createContext(null),x=()=>r.useContext(E),C=e=>{let{children:t,...n}=e;return r.createElement(E.Provider,{value:n},t)};var k=(e,t,n,r=!0)=>{let a={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(a,o,{get:()=>(t._proxyFormState[o]!==w.all&&(t._proxyFormState[o]=!r||w.all),n&&(n[o]=!0),e[o])});return a},S=e=>l(e)&&!Object.keys(e).length,M=(e,t,n,r)=>{n(e);let{name:a,...o}=e;return S(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||w.all))},R=e=>Array.isArray(e)?e:[e],P=(e,t,n)=>!e||!t||e===t||R(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e)));function T(e){let t=r.useRef(e);t.current=e,r.useEffect(()=>{let n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}var A=e=>"string"==typeof e,F=(e,t,n,r,a)=>A(e)?(r&&t.watch.add(e),g(n,e,a)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),g(n,e))):(r&&(t.watchAll=!0),n),B=e=>/^\w*$/.test(e),_=e=>h(e.replace(/["|']|\]/g,"").split(/\.|\[/));function O(e,t,n){let r=-1,a=B(t)?[t]:_(t),o=a.length,i=o-1;for(;++r<o;){let t=a[r],o=n;if(r!==i){let n=e[t];o=l(n)||Array.isArray(n)?n:isNaN(+a[r+1])?{}:[]}e[t]=o,e=e[t]}return e}let N=e=>e.render(function(e){let t=x(),{name:n,disabled:a,control:o=t.control,shouldUnregister:i}=e,u=c(o._names.array,n),l=function(e){let t=x(),{control:n=t.control,name:a,defaultValue:o,disabled:i,exact:u}=e||{},l=r.useRef(a);l.current=a,T({disabled:i,subject:n._subjects.values,next:e=>{P(l.current,e.name,u)&&d(p(F(l.current,n._names,e.values||n._formValues,!1,o)))}});let[s,d]=r.useState(n._getWatch(a,o));return r.useEffect(()=>n._removeUnmounted()),s}({control:o,name:n,defaultValue:g(o._formValues,n,g(o._defaultValues,n,e.defaultValue)),exact:!0}),d=function(e){let t=x(),{control:n=t.control,disabled:a,name:o,exact:i}=e||{},[u,l]=r.useState(n._formState),s=r.useRef(!0),d=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=r.useRef(o);return c.current=o,T({disabled:a,next:e=>s.current&&P(c.current,e.name,i)&&M(e,d.current,n._updateFormState)&&l({...n._formState,...e}),subject:n._subjects.state}),r.useEffect(()=>(s.current=!0,d.current.isValid&&n._updateValid(!0),()=>{s.current=!1}),[n]),k(u,n,d.current,!1)}({control:o,name:n}),f=r.useRef(o.register(n,{...e.rules,value:l}));return f.current=o.register(n,e.rules),r.useEffect(()=>{let e=o._options.shouldUnregister||i,t=(e,t)=>{let n=g(o._fields,e);n&&(n._f.mount=t)};if(t(n,!0),e){let e=p(g(o._options.defaultValues,n));O(o._defaultValues,n,e),v(g(o._formValues,n))&&O(o._formValues,n,e)}return()=>{(u?e&&!o._state.action:e)?o.unregister(n):t(n,!1)}},[n,o,u,i]),r.useEffect(()=>{g(o._fields,n)&&o._updateDisabledField({disabled:a,fields:o._fields,name:n,value:g(o._fields,n)._f.value})},[a,n,o]),{field:{name:n,value:l,...y(a)||y(d.disabled)?{disabled:d.disabled||a}:{},onChange:r.useCallback(e=>f.current.onChange({target:{value:s(e),name:n},type:b.CHANGE}),[n]),onBlur:r.useCallback(()=>f.current.onBlur({target:{value:g(o._formValues,n),name:n},type:b.BLUR}),[n,o]),ref:e=>{let t=g(o._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:d,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!g(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!g(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!g(d.touchedFields,n)},error:{enumerable:!0,get:()=>g(d.errors,n)}})}}(e));var I=(e,t,n,r,a)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:a||!0}}:{},L=e=>({isOnSubmit:!e||e===w.onSubmit,isOnBlur:e===w.onBlur,isOnChange:e===w.onChange,isOnAll:e===w.all,isOnTouch:e===w.onTouched}),V=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let $=(e,t,n,r)=>{for(let a of n||Object.keys(e)){let n=g(e,a);if(n){let{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],a)&&!r||e.ref&&t(e.ref,e.name)&&!r)break}else l(o)&&$(o,t)}}};var j=(e,t,n)=>{let r=h(g(e,n));return O(r,"root",t[n]),O(e,n,r),e},W=e=>"file"===e.type,z=e=>"function"==typeof e,Z=e=>{if(!m)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},U=e=>A(e),K=e=>"radio"===e.type,H=e=>e instanceof RegExp;let Y={value:!1,isValid:!1},q={value:!0,isValid:!0};var G=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||""===e[0].value?q:{value:e[0].value,isValid:!0}:q:Y}return Y};let Q={isValid:!1,value:null};var J=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Q):Q;function X(e,t,n="validate"){if(U(e)||Array.isArray(e)&&e.every(U)||y(e)&&!e)return{type:n,message:U(e)?e:"",ref:t}}var ee=e=>l(e)&&!H(e)?e:{value:e,message:""},et=async(e,t,n,r,o)=>{let{ref:u,refs:s,required:d,maxLength:c,minLength:f,min:m,max:p,pattern:h,validate:b,name:w,valueAsNumber:E,mount:x,disabled:C}=e._f,k=g(t,w);if(!x||C)return{};let M=s?s[0]:u,R=e=>{r&&M.reportValidity&&(M.setCustomValidity(y(e)?"":e||""),M.reportValidity())},P={},T=K(u),F=a(u),B=(E||W(u))&&v(u.value)&&v(k)||Z(u)&&""===u.value||""===k||Array.isArray(k)&&!k.length,_=I.bind(null,w,n,P),O=(e,t,n,r=D.maxLength,a=D.minLength)=>{let o=e?t:n;P[w]={type:e?r:a,message:o,ref:u,..._(e?r:a,o)}};if(o?!Array.isArray(k)||!k.length:d&&(!(T||F)&&(B||i(k))||y(k)&&!k||F&&!G(s).isValid||T&&!J(s).isValid)){let{value:e,message:t}=U(d)?{value:!!d,message:d}:ee(d);if(e&&(P[w]={type:D.required,message:t,ref:M,..._(D.required,t)},!n))return R(t),P}if(!B&&(!i(m)||!i(p))){let e,t;let r=ee(p),a=ee(m);if(i(k)||isNaN(k)){let n=u.valueAsDate||new Date(k),o=e=>new Date(new Date().toDateString()+" "+e),i="time"==u.type,l="week"==u.type;A(r.value)&&k&&(e=i?o(k)>o(r.value):l?k>r.value:n>new Date(r.value)),A(a.value)&&k&&(t=i?o(k)<o(a.value):l?k<a.value:n<new Date(a.value))}else{let n=u.valueAsNumber||(k?+k:k);i(r.value)||(e=n>r.value),i(a.value)||(t=n<a.value)}if((e||t)&&(O(!!e,r.message,a.message,D.max,D.min),!n))return R(P[w].message),P}if((c||f)&&!B&&(A(k)||o&&Array.isArray(k))){let e=ee(c),t=ee(f),r=!i(e.value)&&k.length>+e.value,a=!i(t.value)&&k.length<+t.value;if((r||a)&&(O(r,e.message,t.message),!n))return R(P[w].message),P}if(h&&!B&&A(k)){let{value:e,message:t}=ee(h);if(H(e)&&!k.match(e)&&(P[w]={type:D.pattern,message:t,ref:u,..._(D.pattern,t)},!n))return R(t),P}if(b){if(z(b)){let e=X(await b(k,t),M);if(e&&(P[w]={...e,..._(D.validate,e.message)},!n))return R(e.message),P}else if(l(b)){let e={};for(let r in b){if(!S(e)&&!n)break;let a=X(await b[r](k,t),M,r);a&&(e={...a,..._(r,a.message)},R(a.message),n&&(P[w]=e))}if(!S(e)&&(P[w]={ref:M,...e},!n))return P}}return R(!0),P};function en(e,t){let n=Array.isArray(t)?t:B(t)?[t]:_(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=v(e)?r++:e[t[r++]];return e}(e,n),a=n.length-1,o=n[a];return r&&delete r[o],0!==a&&(l(r)&&S(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!v(e[t]))return!1;return!0}(r))&&en(e,n.slice(0,-1)),e}function er(){let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var ea=e=>i(e)||!u(e);function eo(e,t){if(ea(e)||ea(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a of n){let n=e[a];if(!r.includes(a))return!1;if("ref"!==a){let e=t[a];if(o(n)&&o(e)||l(n)&&l(e)||Array.isArray(n)&&Array.isArray(e)?!eo(n,e):n!==e)return!1}}return!0}var ei=e=>"select-multiple"===e.type,eu=e=>K(e)||a(e),el=e=>Z(e)&&e.isConnected,es=e=>{for(let t in e)if(z(e[t]))return!0;return!1};function ed(e,t={}){let n=Array.isArray(e);if(l(e)||n)for(let n in e)Array.isArray(e[n])||l(e[n])&&!es(e[n])?(t[n]=Array.isArray(e[n])?[]:{},ed(e[n],t[n])):i(e[n])||(t[n]=!0);return t}var ec=(e,t)=>(function e(t,n,r){let a=Array.isArray(t);if(l(t)||a)for(let a in t)Array.isArray(t[a])||l(t[a])&&!es(t[a])?v(n)||ea(r[a])?r[a]=Array.isArray(t[a])?ed(t[a],[]):{...ed(t[a])}:e(t[a],i(n)?{}:n[a],r[a]):r[a]=!eo(t[a],n[a]);return r})(e,t,ed(t)),ef=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>v(e)?e:t?""===e?NaN:e?+e:e:n&&A(e)?new Date(e):r?r(e):e;function em(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:W(t)?t.files:K(t)?J(e.refs).value:ei(t)?[...t.selectedOptions].map(({value:e})=>e):a(t)?G(e.refs).value:ef(v(t.value)?e.ref.value:t.value,e)}var ep=(e,t,n,r)=>{let a={};for(let n of e){let e=g(t,n);e&&O(a,n,e._f)}return{criteriaMode:n,names:[...e],fields:a,shouldUseNativeValidation:r}},eh=e=>v(e)?e:H(e)?e.source:l(e)?H(e.value)?e.value.source:e.value:e,ev=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eg(e,t,n){let r=g(e,n);if(r||B(n))return{error:r,name:n};let a=n.split(".");for(;a.length;){let r=a.join("."),o=g(t,r),i=g(e,r);if(o&&!Array.isArray(o)&&n!==r)break;if(i&&i.type)return{name:r,error:i};a.pop()}return{name:n}}var ey=(e,t,n,r,a)=>!a.isOnAll&&(!n&&a.isOnTouch?!(t||e):(n?r.isOnBlur:a.isOnBlur)?!e:(n?!r.isOnChange:!a.isOnChange)||e),eb=(e,t)=>!h(g(e,t)).length&&en(e,t);let ew={mode:w.onSubmit,reValidateMode:w.onChange,shouldFocusError:!0};function eD(e={}){let t=r.useRef(),n=r.useRef(),[u,d]=r.useState({isDirty:!1,isValidating:!1,isLoading:z(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},disabled:!1,defaultValues:z(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let n,r={...ew,...e},u={submitCount:0,isDirty:!1,isLoading:z(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{},disabled:!1},d={},f=(l(r.defaultValues)||l(r.values))&&p(r.defaultValues||r.values)||{},D=r.shouldUnregister?{}:p(f),E={action:!1,mount:!1,watch:!1},x={mount:new Set,unMount:new Set,array:new Set,watch:new Set},C=0,k={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},M={values:er(),array:er(),state:er()},P=e.resetOptions&&e.resetOptions.keepDirtyValues,T=L(r.mode),B=L(r.reValidateMode),_=r.criteriaMode===w.all,N=e=>t=>{clearTimeout(C),C=setTimeout(e,t)},I=async e=>{if(k.isValid||e){let e=r.resolver?S((await G()).errors):await J(d,!0);e!==u.isValid&&M.state.next({isValid:e})}},U=e=>k.isValidating&&M.state.next({isValidating:e}),K=(e,t)=>{O(u.errors,e,t),M.state.next({errors:u.errors})},H=(e,t,n,r)=>{let a=g(d,e);if(a){let o=g(D,e,v(n)?g(f,e):n);v(o)||r&&r.defaultChecked||t?O(D,e,t?o:em(a._f)):es(e,o),E.mount&&I()}},Y=(e,t,n,r,a)=>{let o=!1,i=!1,l={name:e};if(!n||r){k.isDirty&&(i=u.isDirty,u.isDirty=l.isDirty=X(),o=i!==l.isDirty);let n=eo(g(f,e),t);i=g(u.dirtyFields,e),n?en(u.dirtyFields,e):O(u.dirtyFields,e,!0),l.dirtyFields=u.dirtyFields,o=o||k.dirtyFields&&!n!==i}if(n){let t=g(u.touchedFields,e);t||(O(u.touchedFields,e,n),l.touchedFields=u.touchedFields,o=o||k.touchedFields&&t!==n)}return o&&a&&M.state.next(l),o?l:{}},q=(t,r,a,o)=>{let i=g(u.errors,t),l=k.isValid&&y(r)&&u.isValid!==r;if(e.delayError&&a?(n=N(()=>K(t,a)))(e.delayError):(clearTimeout(C),n=null,a?O(u.errors,t,a):en(u.errors,t)),(a?!eo(i,a):i)||!S(o)||l){let e={...o,...l&&y(r)?{isValid:r}:{},errors:u.errors,name:t};u={...u,...e},M.state.next(e)}U(!1)},G=async e=>r.resolver(D,r.context,ep(e||x.mount,d,r.criteriaMode,r.shouldUseNativeValidation)),Q=async e=>{let{errors:t}=await G(e);if(e)for(let n of e){let e=g(t,n);e?O(u.errors,n,e):en(u.errors,n)}else u.errors=t;return t},J=async(e,t,n={valid:!0})=>{for(let a in e){let o=e[a];if(o){let{_f:e,...a}=o;if(e){let a=x.array.has(e.name),i=await et(o,D,_,r.shouldUseNativeValidation&&!t,a);if(i[e.name]&&(n.valid=!1,t))break;t||(g(i,e.name)?a?j(u.errors,i,e.name):O(u.errors,e.name,i[e.name]):en(u.errors,e.name))}a&&await J(a,t,n)}}return n.valid},X=(e,t)=>(e&&t&&O(D,e,t),!eo(ek(),f)),ee=(e,t,n)=>F(e,x,{...E.mount?D:v(t)?f:A(e)?{[e]:t}:t},n,t),es=(e,t,n={})=>{let r=g(d,e),o=t;if(r){let n=r._f;n&&(n.disabled||O(D,e,ef(t,n)),o=Z(n.ref)&&i(t)?"":t,ei(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?a(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):n.refs[0]&&(n.refs[0].checked=!!o):n.refs.forEach(e=>e.checked=e.value===o):W(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||M.values.next({name:e,values:{...D}})))}(n.shouldDirty||n.shouldTouch)&&Y(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&eC(e)},ed=(e,t,n)=>{for(let r in t){let a=t[r],i=`${e}.${r}`,u=g(d,i);!x.array.has(e)&&ea(a)&&(!u||u._f)||o(a)?es(i,a,n):ed(i,a,n)}},eD=(e,n,r={})=>{let a=g(d,e),o=x.array.has(e),l=p(n);O(D,e,l),o?(M.array.next({name:e,values:{...D}}),(k.isDirty||k.dirtyFields)&&r.shouldDirty&&M.state.next({name:e,dirtyFields:ec(f,D),isDirty:X(e,l)})):!a||a._f||i(l)?es(e,l,r):ed(e,l,r),V(e,x)&&M.state.next({...u}),M.values.next({name:e,values:{...D}}),E.mount||t()},eE=async e=>{let t=e.target,a=t.name,o=!0,i=g(d,a),l=e=>{o=Number.isNaN(e)||e===g(D,a,e)};if(i){let c,f;let m=t.type?em(i._f):s(e),p=e.type===b.BLUR||e.type===b.FOCUS_OUT,h=!ev(i._f)&&!r.resolver&&!g(u.errors,a)&&!i._f.deps||ey(p,g(u.touchedFields,a),u.isSubmitted,B,T),v=V(a,x,p);O(D,a,m),p?(i._f.onBlur&&i._f.onBlur(e),n&&n(0)):i._f.onChange&&i._f.onChange(e);let y=Y(a,m,p,!1),w=!S(y)||v;if(p||M.values.next({name:a,type:e.type,values:{...D}}),h)return k.isValid&&I(),w&&M.state.next({name:a,...v?{}:y});if(!p&&v&&M.state.next({...u}),U(!0),r.resolver){let{errors:e}=await G([a]);if(l(m),o){let t=eg(u.errors,d,a),n=eg(e,d,t.name||a);c=n.error,a=n.name,f=S(e)}}else c=(await et(i,D,_,r.shouldUseNativeValidation))[a],l(m),o&&(c?f=!1:k.isValid&&(f=await J(d,!0)));o&&(i._f.deps&&eC(i._f.deps),q(a,f,c,y))}},ex=(e,t)=>{if(g(u.errors,t)&&e.focus)return e.focus(),1},eC=async(e,t={})=>{let n,a;let o=R(e);if(U(!0),r.resolver){let t=await Q(v(e)?e:o);n=S(t),a=e?!o.some(e=>g(t,e)):n}else e?((a=(await Promise.all(o.map(async e=>{let t=g(d,e);return await J(t&&t._f?{[e]:t}:t)}))).every(Boolean))||u.isValid)&&I():a=n=await J(d);return M.state.next({...!A(e)||k.isValid&&n!==u.isValid?{}:{name:e},...r.resolver||!e?{isValid:n}:{},errors:u.errors,isValidating:!1}),t.shouldFocus&&!a&&$(d,ex,e?o:x.mount),a},ek=e=>{let t={...f,...E.mount?D:{}};return v(e)?t:A(e)?g(t,e):e.map(e=>g(t,e))},eS=(e,t)=>({invalid:!!g((t||u).errors,e),isDirty:!!g((t||u).dirtyFields,e),isTouched:!!g((t||u).touchedFields,e),error:g((t||u).errors,e)}),eM=(e,t,n)=>{let r=(g(d,e,{_f:{}})._f||{}).ref;O(u.errors,e,{...t,ref:r}),M.state.next({name:e,errors:u.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},eR=(e,t={})=>{for(let n of e?R(e):x.mount)x.mount.delete(n),x.array.delete(n),t.keepValue||(en(d,n),en(D,n)),t.keepError||en(u.errors,n),t.keepDirty||en(u.dirtyFields,n),t.keepTouched||en(u.touchedFields,n),r.shouldUnregister||t.keepDefaultValue||en(f,n);M.values.next({values:{...D}}),M.state.next({...u,...t.keepDirty?{isDirty:X()}:{}}),t.keepIsValid||I()},eP=({disabled:e,name:t,field:n,fields:r,value:a})=>{if(y(e)){let o=e?void 0:v(a)?em(n?n._f:g(r,t)._f):a;O(D,t,o),Y(t,o,!1,!1,!0)}},eT=(e,t={})=>{let n=g(d,e),a=y(t.disabled);return O(d,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),x.mount.add(e),n?eP({field:n,disabled:t.disabled,name:e}):H(e,!0,t.value),{...a?{disabled:t.disabled}:{},...r.progressive?{required:!!t.required,min:eh(t.min),max:eh(t.max),minLength:eh(t.minLength),maxLength:eh(t.maxLength),pattern:eh(t.pattern)}:{},name:e,onChange:eE,onBlur:eE,ref:a=>{if(a){eT(e,t),n=g(d,e);let r=v(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,o=eu(r),i=n._f.refs||[];(o?i.find(e=>e===r):r===n._f.ref)||(O(d,e,{_f:{...n._f,...o?{refs:[...i.filter(el),r,...Array.isArray(g(f,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),H(e,!1,void 0,r))}else(n=g(d,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(c(x.array,e)&&E.action)&&x.unMount.add(e)}}},eA=()=>r.shouldFocusError&&$(d,ex,x.mount),eF=(e,t)=>async n=>{n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let a=p(D);if(M.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await G();u.errors=e,a=t}else await J(d);en(u.errors,"root"),S(u.errors)?(M.state.next({errors:{}}),await e(a,n)):(t&&await t({...u.errors},n),eA(),setTimeout(eA)),M.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:S(u.errors),submitCount:u.submitCount+1,errors:u.errors})},eB=(n,r={})=>{let a=n?p(n):f,o=p(a),i=n&&!S(n)?o:f;if(r.keepDefaultValues||(f=a),!r.keepValues){if(r.keepDirtyValues||P)for(let e of x.mount)g(u.dirtyFields,e)?O(i,e,g(D,e)):eD(e,g(i,e));else{if(m&&v(n))for(let e of x.mount){let t=g(d,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Z(e)){let t=e.closest("form");if(t){t.reset();break}}}}d={}}D=e.shouldUnregister?r.keepDefaultValues?p(f):{}:p(i),M.array.next({values:{...i}}),M.values.next({values:{...i}})}x={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},E.mount||t(),E.mount=!k.isValid||!!r.keepIsValid,E.watch=!!e.shouldUnregister,M.state.next({submitCount:r.keepSubmitCount?u.submitCount:0,isDirty:r.keepDirty?u.isDirty:!!(r.keepDefaultValues&&!eo(n,f)),isSubmitted:!!r.keepIsSubmitted&&u.isSubmitted,dirtyFields:r.keepDirtyValues?u.dirtyFields:r.keepDefaultValues&&n?ec(f,n):{},touchedFields:r.keepTouched?u.touchedFields:{},errors:r.keepErrors?u.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&u.isSubmitSuccessful,isSubmitting:!1})},e_=(e,t)=>eB(z(e)?e(D):e,t);return{control:{register:eT,unregister:eR,getFieldState:eS,handleSubmit:eF,setError:eM,_executeSchema:G,_getWatch:ee,_getDirty:X,_updateValid:I,_removeUnmounted:()=>{for(let e of x.unMount){let t=g(d,e);t&&(t._f.refs?t._f.refs.every(e=>!el(e)):!el(t._f.ref))&&eR(e)}x.unMount=new Set},_updateFieldArray:(e,t=[],n,r,a=!0,o=!0)=>{if(r&&n){if(E.action=!0,o&&Array.isArray(g(d,e))){let t=n(g(d,e),r.argA,r.argB);a&&O(d,e,t)}if(o&&Array.isArray(g(u.errors,e))){let t=n(g(u.errors,e),r.argA,r.argB);a&&O(u.errors,e,t),eb(u.errors,e)}if(k.touchedFields&&o&&Array.isArray(g(u.touchedFields,e))){let t=n(g(u.touchedFields,e),r.argA,r.argB);a&&O(u.touchedFields,e,t)}k.dirtyFields&&(u.dirtyFields=ec(f,D)),M.state.next({name:e,isDirty:X(e,t),dirtyFields:u.dirtyFields,errors:u.errors,isValid:u.isValid})}else O(D,e,t)},_updateDisabledField:eP,_getFieldArray:t=>h(g(E.mount?D:f,t,e.shouldUnregister?g(f,t,[]):[])),_reset:eB,_resetDefaultValues:()=>z(r.defaultValues)&&r.defaultValues().then(e=>{e_(e,r.resetOptions),M.state.next({isLoading:!1})}),_updateFormState:e=>{u={...u,...e}},_disableForm:e=>{y(e)&&(M.state.next({disabled:e}),$(d,t=>{t.disabled=e},0,!1))},_subjects:M,_proxyFormState:k,get _fields(){return d},get _formValues(){return D},get _state(){return E},set _state(value){E=value},get _defaultValues(){return f},get _names(){return x},set _names(value){x=value},get _formState(){return u},set _formState(value){u=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:eC,register:eT,handleSubmit:eF,watch:(e,t)=>z(e)?M.values.subscribe({next:n=>e(ee(void 0,t),n)}):ee(e,t,!0),setValue:eD,getValues:ek,reset:e_,resetField:(e,t={})=>{g(d,e)&&(v(t.defaultValue)?eD(e,g(f,e)):(eD(e,t.defaultValue),O(f,e,t.defaultValue)),t.keepTouched||en(u.touchedFields,e),t.keepDirty||(en(u.dirtyFields,e),u.isDirty=t.defaultValue?X(e,g(f,e)):X()),!t.keepError&&(en(u.errors,e),k.isValid&&I()),M.state.next({...u}))},clearErrors:e=>{e&&R(e).forEach(e=>en(u.errors,e)),M.state.next({errors:e?u.errors:{}})},unregister:eR,setError:eM,setFocus:(e,t={})=>{let n=g(d,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eS}}(e,()=>d(e=>({...e}))),formState:u});let f=t.current.control;return f._options=e,T({subject:f._subjects.state,next:e=>{M(e,f._proxyFormState,f._updateFormState,!0)&&d({...f._formState})}}),r.useEffect(()=>f._disableForm(e.disabled),[f,e.disabled]),r.useEffect(()=>{if(f._proxyFormState.isDirty){let e=f._getDirty();e!==u.isDirty&&f._subjects.state.next({isDirty:e})}},[f,u.isDirty]),r.useEffect(()=>{e.values&&!eo(e.values,n.current)?(f._reset(e.values,f._options.resetOptions),n.current=e.values):f._resetDefaultValues()},[e.values,f]),r.useEffect(()=>{f._state.mount||(f._updateValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=k(u,f),t.current}},43918:function(e,t,n){"use strict";n.d(t,{A:function(){return p},x:function(){return y}});var r=n(4470),a=n(41394);!function(e){let{insertAt:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"undefined"==typeof document)return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}('html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}html[dir=rtl],[data-sonner-toaster][dir=rtl]{--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translate(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-y-position=top]{top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px #0006}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:"";position:absolute;left:0;right:0;height:100%}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:"";position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y: translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y: translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var o=e=>{switch(e){case"success":return l;case"info":return d;case"warning":return s;case"error":return c;default:return null}},i=Array(12).fill(0),u=e=>{let{visible:t}=e;return r.createElement("div",{className:"sonner-loading-wrapper","data-visible":t},r.createElement("div",{className:"sonner-spinner"},i.map((e,t)=>r.createElement("div",{className:"sonner-loading-bar",key:"spinner-bar-".concat(t)}))))},l=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),s=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),d=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),c=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),f=1,m=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,a="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:f++,o=this.toasts.find(e=>e.id===a),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map(t=>t.id===a?(this.publish({...t,...e,id:a,title:n}),{...t,...e,id:a,dismissible:i,title:n}):t):this.addToast({title:n,...r,dismissible:i,id:a}),a},this.dismiss=e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n;if(!t)return;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading}));let r=e instanceof Promise?e:e(),a=void 0!==n;return r.then(e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;let r="function"==typeof t.error?t.error("HTTP error! status: ".concat(e.status)):t.error;this.create({id:n,type:"error",message:r})}else if(void 0!==t.success){a=!1;let r="function"==typeof t.success?t.success(e):t.success;this.create({id:n,type:"success",message:r})}}).catch(e=>{if(void 0!==t.error){a=!1;let r="function"==typeof t.error?t.error(e):t.error;this.create({id:n,type:"error",message:r})}}).finally(()=>{var e;a&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),n},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||f++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},p=Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||f++;return m.addToast({title:e,...t,id:n}),n},{success:m.success,info:m.info,warning:m.warning,error:m.error,custom:m.custom,message:m.message,promise:m.promise,dismiss:m.dismiss,loading:m.loading});function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var v=e=>{var t,n,a,i,l,s,d;let{invert:c,toast:f,unstyled:m,interacting:p,setHeights:v,visibleToasts:g,heights:y,index:b,toasts:w,expanded:D,removeToast:E,closeButton:x,style:C,cancelButtonStyle:k,actionButtonStyle:S,className:M="",descriptionClassName:R="",duration:P,position:T,gap:A=14,loadingIcon:F,expandByDefault:B,classNames:_,closeButtonAriaLabel:O="Close toast"}=e,[N,I]=r.useState(!1),[L,V]=r.useState(!1),[$,j]=r.useState(!1),[W,z]=r.useState(!1),[Z,U]=r.useState(0),[K,H]=r.useState(0),Y=r.useRef(null),q=r.useRef(null),G=0===b,Q=b+1<=g,J=f.type,X=!1!==f.dismissible,ee=f.className||"",et=f.descriptionClassName||"",en=r.useMemo(()=>y.findIndex(e=>e.toastId===f.id)||0,[y,f.id]),er=r.useMemo(()=>f.duration||P||4e3,[f.duration,P]),ea=r.useRef(0),eo=r.useRef(0),ei=(r.useRef(er),r.useRef(0)),eu=r.useRef(null),[el,es]=T.split("-"),ed=r.useMemo(()=>y.reduce((e,t,n)=>n>=en?e:e+t.height,0),[y,en]),ec=f.invert||c,ef="loading"===J;eo.current=r.useMemo(()=>en*A+ed,[en,ed]),r.useEffect(()=>{I(!0)},[]),r.useLayoutEffect(()=>{if(!N)return;let e=q.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,H(n),v(e=>e.find(e=>e.toastId===f.id)?e.map(e=>e.toastId===f.id?{...e,height:n}:e):[{toastId:f.id,height:n},...e])},[N,f.title,f.description,v,f.id]);let em=r.useCallback(()=>{V(!0),U(eo.current),v(e=>e.filter(e=>e.toastId!==f.id)),setTimeout(()=>{E(f)},200)},[f,E,v,eo]);return r.useEffect(()=>{if(f.promise&&"loading"===J||f.duration===1/0)return;let e,t=er;return D||p?(()=>{if(ei.current<ea.current){let e=new Date().getTime()-ea.current;t-=e}ei.current=new Date().getTime()})():(ea.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=f.onAutoClose)||e.call(f,f),em()},t)),()=>clearTimeout(e)},[D,p,B,f,er,em,f.promise,J]),r.useEffect(()=>{let e=q.current;if(e){let t=e.getBoundingClientRect().height;return H(t),v(e=>[{toastId:f.id,height:t},...e]),()=>v(e=>e.filter(e=>e.toastId!==f.id))}},[v,f.id]),r.useEffect(()=>{f.delete&&em()},[em,f.delete]),r.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:q,className:h(M,ee,null==_?void 0:_.toast,null==(t=null==f?void 0:f.classNames)?void 0:t.toast,null==_?void 0:_[J],null==(n=null==f?void 0:f.classNames)?void 0:n[J]),"data-sonner-toast":"","data-styled":!(f.jsx||f.unstyled||m),"data-mounted":N,"data-promise":!!f.promise,"data-removed":L,"data-visible":Q,"data-y-position":el,"data-x-position":es,"data-index":b,"data-front":G,"data-swiping":$,"data-dismissible":X,"data-type":J,"data-invert":ec,"data-swipe-out":W,"data-expanded":!!(D||B&&N),style:{"--index":b,"--toasts-before":b,"--z-index":w.length-b,"--offset":"".concat(L?Z:eo.current,"px"),"--initial-height":B?"auto":"".concat(K,"px"),...C,...f.style},onPointerDown:e=>{ef||!X||(Y.current=new Date,U(eo.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(j(!0),eu.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r;if(W||!X)return;eu.current=null;let a=Number((null==(e=q.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),o=new Date().getTime()-(null==(t=Y.current)?void 0:t.getTime());if(Math.abs(a)>=20||Math.abs(a)/o>.11){U(eo.current),null==(n=f.onDismiss)||n.call(f,f),em(),z(!0);return}null==(r=q.current)||r.style.setProperty("--swipe-amount","0px"),j(!1)},onPointerMove:e=>{var t;if(!eu.current||!X)return;let n=e.clientY-eu.current.y,r=e.clientX-eu.current.x,a=("top"===el?Math.min:Math.max)(0,n),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=q.current)||t.style.setProperty("--swipe-amount","".concat(n,"px")):Math.abs(r)>o&&(eu.current=null)}},x&&!f.jsx?r.createElement("button",{"aria-label":O,"data-disabled":ef,"data-close-button":!0,onClick:ef||!X?()=>{}:()=>{var e;em(),null==(e=f.onDismiss)||e.call(f,f)},className:h(null==_?void 0:_.closeButton,null==(a=null==f?void 0:f.classNames)?void 0:a.closeButton)},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||r.isValidElement(f.title)?f.jsx||f.title:r.createElement(r.Fragment,null,J||f.icon||f.promise?r.createElement("div",{"data-icon":""},(f.promise||"loading"===f.type)&&!f.icon?F?r.createElement("div",{className:"loader","data-visible":"loading"===J},F):r.createElement(u,{visible:"loading"===J}):null,f.icon||o(J)):null,r.createElement("div",{"data-content":""},r.createElement("div",{"data-title":"",className:h(null==_?void 0:_.title,null==(i=null==f?void 0:f.classNames)?void 0:i.title)},f.title),f.description?r.createElement("div",{"data-description":"",className:h(R,et,null==_?void 0:_.description,null==(l=null==f?void 0:f.classNames)?void 0:l.description)},f.description):null),f.cancel?r.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||k,onClick:()=>{var e;X&&(em(),null!=(e=f.cancel)&&e.onClick&&f.cancel.onClick())},className:h(null==_?void 0:_.cancelButton,null==(s=null==f?void 0:f.classNames)?void 0:s.cancelButton)},f.cancel.label):null,f.action?r.createElement("button",{"data-button":"",style:f.actionButtonStyle||S,onClick:e=>{var t;null==(t=f.action)||t.onClick(e),e.defaultPrevented||em()},className:h(null==_?void 0:_.actionButton,null==(d=null==f?void 0:f.classNames)?void 0:d.actionButton)},f.action.label):null))};function g(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var y=e=>{let{invert:t,position:n="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:u,className:l,offset:s,theme:d="light",richColors:c,duration:f,style:p,visibleToasts:h=3,toastOptions:y,dir:b=g(),gap:w,loadingIcon:D,containerAriaLabel:E="Notifications"}=e,[x,C]=r.useState([]),k=r.useMemo(()=>Array.from(new Set([n].concat(x.filter(e=>e.position).map(e=>e.position)))),[x,n]),[S,M]=r.useState([]),[R,P]=r.useState(!1),[T,A]=r.useState(!1),[F,B]=r.useState("system"!==d?d:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=r.useRef(null),O=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=r.useRef(null),I=r.useRef(!1),L=r.useCallback(e=>C(t=>t.filter(t=>{let{id:n}=t;return n!==e.id})),[]);return r.useEffect(()=>m.subscribe(e=>{if(e.dismiss){C(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{a.flushSync(()=>{C(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),r.useEffect(()=>{if("system"!==d){B(d);return}"system"===d&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{let{matches:t}=e;B(t?"dark":"light")})},[d]),r.useEffect(()=>{x.length<=1&&P(!1)},[x]),r.useEffect(()=>{let e=e=>{var t,n;o.every(t=>e[t]||e.code===t)&&(P(!0),null==(t=_.current)||t.focus()),"Escape"===e.code&&(document.activeElement===_.current||null!=(n=_.current)&&n.contains(document.activeElement))&&P(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),r.useEffect(()=>{if(_.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,I.current=!1)}},[_.current]),x.length?r.createElement("section",{"aria-label":"".concat(E," ").concat(O),tabIndex:-1},k.map((e,n)=>{var a;let[o,d]=e.split("-");return r.createElement("ol",{key:e,dir:"auto"===b?g():b,tabIndex:-1,ref:_,className:l,"data-sonner-toaster":!0,"data-theme":F,"data-rich-colors":c,"data-y-position":o,"data-x-position":d,style:{"--front-toast-height":"".concat(null==(a=S[0])?void 0:a.height,"px"),"--offset":"number"==typeof s?"".concat(s,"px"):s||"32px","--width":"".concat(356,"px"),"--gap":"".concat(14,"px"),...p},onBlur:e=>{I.current&&!e.currentTarget.contains(e.relatedTarget)&&(I.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||I.current||(I.current=!0,N.current=e.relatedTarget)},onMouseEnter:()=>P(!0),onMouseMove:()=>P(!0),onMouseLeave:()=>{T||P(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||A(!0)},onPointerUp:()=>A(!1)},x.filter(t=>!t.position&&0===n||t.position===e).map((n,a)=>{var o;return r.createElement(v,{key:n.id,index:a,toast:n,duration:null!=(o=null==y?void 0:y.duration)?o:f,className:null==y?void 0:y.className,descriptionClassName:null==y?void 0:y.descriptionClassName,invert:t,visibleToasts:h,closeButton:u,interacting:T,position:e,style:null==y?void 0:y.style,unstyled:null==y?void 0:y.unstyled,classNames:null==y?void 0:y.classNames,cancelButtonStyle:null==y?void 0:y.cancelButtonStyle,actionButtonStyle:null==y?void 0:y.actionButtonStyle,removeToast:L,toasts:x,heights:S,setHeights:M,expandByDefault:i,gap:w,loadingIcon:D,expanded:R})}))})):null}},70077:function(e,t,n){"use strict";n.d(t,{m6:function(){return O}});let r=/^\[(.+)\]$/;function a(e,t){let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}let o=/\s+/;function i(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=function e(t){let n;if("string"==typeof t)return t;let r="";for(let a=0;a<t.length;a++)t[a]&&(n=e(t[a]))&&(r&&(r+=" "),r+=n);return r}(e))&&(r&&(r+=" "),r+=t);return r}function u(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let l=/^\[(?:([a-z-]+):)?(.+)\]$/i,s=/^\d+\/\d+$/,d=new Set(["px","full","screen"]),c=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,f=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,p=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function h(e){return g(e)||d.has(e)||s.test(e)}function v(e){return T(e,"length",A)}function g(e){return!!e&&!Number.isNaN(Number(e))}function y(e){return T(e,"number",g)}function b(e){return!!e&&Number.isInteger(Number(e))}function w(e){return e.endsWith("%")&&g(e.slice(0,-1))}function D(e){return l.test(e)}function E(e){return c.test(e)}let x=new Set(["length","size","percentage"]);function C(e){return T(e,x,F)}function k(e){return T(e,"position",F)}let S=new Set(["image","url"]);function M(e){return T(e,S,_)}function R(e){return T(e,"",B)}function P(){return!0}function T(e,t,n){let r=l.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function A(e){return f.test(e)}function F(){return!1}function B(e){return m.test(e)}function _(e){return p.test(e)}let O=function(e,...t){let n,u,l;let s=function(o){var i;return u=(n={cache:function(e){if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map;function a(a,o){n.set(a,o),++t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):a(e,t)}}}((i=t.reduce((e,t)=>t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,n=1===t.length,r=t[0],a=t.length;return function(e){let o;let i=[],u=0,l=0;for(let s=0;s<e.length;s++){let d=e[s];if(0===u){if(d===r&&(n||e.slice(s,s+a)===t)){i.push(e.slice(l,s)),l=s+a;continue}if("/"===d){o=s;continue}}"["===d?u++:"]"===d&&u--}let s=0===i.length?e:e.substring(l),d=s.startsWith("!"),c=d?s.substring(1):s;return{modifiers:i,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}}(i),...function(e){let t=function(e){var t;let{theme:n,prefix:r}=e,o={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),r?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[r+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,n,r,o){t.forEach(t=>{if("string"==typeof t){(""===t?n:a(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(o),n,r,o);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([t,i])=>{e(i,a(n,t),r,o)})})})(t,o,e,n)}),o}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),function e(t,n){if(0===t.length)return n.classGroupId;let r=t[0],a=n.nextPart.get(r),o=a?e(t.slice(1),a):void 0;if(o)return o;if(0===n.validators.length)return;let i=t.join("-");return n.validators.find(({validator:e})=>e(i))?.classGroupId}(n,t)||function(e){if(r.test(e)){let t=r.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){let r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}}(i)}).cache.get,l=n.cache.set,s=d,d(o)};function d(e){let t=u(e);if(t)return t;let r=function(e,t){let{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=new Set;return e.trim().split(o).map(e=>{let{modifiers:t,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:i}=n(e),u=r(i?o.substring(0,i):o),l=!!i;if(!u){if(!i||!(u=r(o)))return{isTailwindClass:!1,originalClassName:e};l=!1}let s=(function(e){if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:a?s+"!":s,classGroupId:u,originalClassName:e,hasPostfixModifier:l}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,o=t+n;return!i.has(o)&&(i.add(o),a(n,r).forEach(e=>i.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,n);return l(e,r),r}return function(){return s(i.apply(null,arguments))}}(function(){let e=u("colors"),t=u("spacing"),n=u("blur"),r=u("brightness"),a=u("borderColor"),o=u("borderRadius"),i=u("borderSpacing"),l=u("borderWidth"),s=u("contrast"),d=u("grayscale"),c=u("hueRotate"),f=u("invert"),m=u("gap"),p=u("gradientColorStops"),x=u("gradientColorStopPositions"),S=u("inset"),T=u("margin"),A=u("opacity"),F=u("padding"),B=u("saturate"),_=u("scale"),O=u("sepia"),N=u("skew"),I=u("space"),L=u("translate"),V=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",D,t],W=()=>[D,t],z=()=>["",h,v],Z=()=>["auto",g,D],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",D],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[g,y],J=()=>[g,D];return{cacheSize:500,separator:":",theme:{colors:[P],spacing:[h,v],blur:["none","",E,D],brightness:Q(),borderColor:[e],borderRadius:["none","","full",E,D],borderSpacing:W(),borderWidth:z(),contrast:Q(),grayscale:q(),hueRotate:J(),invert:q(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[w,v],inset:j(),margin:j(),opacity:Q(),padding:W(),saturate:Q(),scale:Q(),sepia:q(),skew:J(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",D]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...U(),D]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",b,D]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",D]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",b,D]}],"grid-cols":[{"grid-cols":[P]}],"col-start-end":[{col:["auto",{span:["full",b,D]},D]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[P]}],"row-start-end":[{row:["auto",{span:[b,D]},D]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",D]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",D]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[F]}],px:[{px:[F]}],py:[{py:[F]}],ps:[{ps:[F]}],pe:[{pe:[F]}],pt:[{pt:[F]}],pr:[{pr:[F]}],pb:[{pb:[F]}],pl:[{pl:[F]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],me:[{me:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",D,t]}],"min-w":[{"min-w":["min","max","fit",D,h]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[E]},E,D]}],h:[{h:[D,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",h,D]}],"max-h":[{"max-h":[D,t,"min","max","fit"]}],"font-size":[{text:["base",E,v]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",y]}],"font-family":[{font:[P]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",D]}],"line-clamp":[{"line-clamp":["none",g,y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",h,D]}],"list-image":[{"list-image":["none",D]}],"list-style-type":[{list:["none","disc","decimal",D]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",h,v]}],"underline-offset":[{"underline-offset":["auto",h,D]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",D]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",D]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),k]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",C]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},M]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:K()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[h,D]}],"outline-w":[{outline:[h,v]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[h,v]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,R]}],"shadow-color":[{shadow:[P]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":H()}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",E,D]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[B]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",D]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",D]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",D]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[b,D]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",D]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",D]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",D]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[h,v,y]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},52303:function(e,t,n){"use strict";n.d(t,{CR:function(){return u},Jh:function(){return i},_T:function(){return a},ev:function(){return l},mG:function(){return o},pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function a(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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function o(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function u(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,u)}l((r=r.apply(e,t||[])).next())})}function i(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(l){return function(u){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,l])}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function l(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}}]);