
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e1f8d506-877a-5231-a12f-4f09f4022aa8")}catch(e){}}();
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[68840],{727200:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(251109),o=n(505832),i=n(513405);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}},796426:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=n(702804),s=n(960958),c=n(648640).createFocusTrap,l=n(75070).isFocusable,f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(c,e);var t,n,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=a(c);return e=t?Reflect.construct(n,arguments,a(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return i(e)}(this,e)});function c(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,c),t=i(o=s.call(this,e)),n="getNodeForOption",r=function(e){var t,n,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var o=arguments.length,i=Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];r=r.apply(void 0,i)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=r;if("string"==typeof r&&!(u=null===(n=this.getDocument())||void 0===n?void 0:n.querySelector(r)))throw Error("`".concat(e,"` as selector refers to no known node"));return u},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,o.handleDeactivate=o.handleDeactivate.bind(i(o)),o.handlePostDeactivate=o.handlePostDeactivate.bind(i(o)),o.handleClickOutsideDeactivates=o.handleClickOutsideDeactivates.bind(i(o)),o.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:o.handleDeactivate,onPostDeactivate:o.handlePostDeactivate,clickOutsideDeactivates:o.handleClickOutsideDeactivates},o.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var t,n,r,o,a=e.focusTrapOptions;for(var u in a)if(Object.prototype.hasOwnProperty.call(a,u)){if("returnFocusOnDeactivate"===u||"onDeactivate"===u||"onPostDeactivate"===u||"checkCanReturnFocus"===u||"clickOutsideDeactivates"===u){o.originalOptions[u]=a[u];continue}o.internalOptions[u]=a[u]}return o.outsideClick=null,o.focusTrapElements=e.containerElements||[],o.updatePreviousElement(),o}return n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!!(e.originalOptions.returnFocusOnDeactivate&&null!=t&&t.focus&&(!e.outsideClick||e.outsideClick.allowDeactivation&&!l(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll;n&&t.focus({preventScroll:void 0!==r&&r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n){this.deactivateTrap();return}r&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(c.prototype,n),Object.defineProperty(c,"prototype",{writable:!1}),c}(u.Component),d="undefined"==typeof Element?Function:Element;f.propTypes={active:s.bool,paused:s.bool,focusTrapOptions:s.shape({document:s.object,onActivate:s.func,onPostActivate:s.func,checkCanFocusTrap:s.func,onDeactivate:s.func,onPostDeactivate:s.func,checkCanReturnFocus:s.func,initialFocus:s.oneOfType([s.instanceOf(d),s.string,s.bool,s.func]),fallbackFocus:s.oneOfType([s.instanceOf(d),s.string,s.func]),escapeDeactivates:s.oneOfType([s.bool,s.func]),clickOutsideDeactivates:s.oneOfType([s.bool,s.func]),returnFocusOnDeactivate:s.bool,setReturnFocus:s.oneOfType([s.instanceOf(d),s.string,s.bool,s.func]),allowOutsideClick:s.oneOfType([s.bool,s.func]),preventScroll:s.bool,tabbableOptions:s.shape({displayCheck:s.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:s.oneOfType([s.bool,s.func])})}),containerElements:s.arrayOf(s.instanceOf(d)),children:s.oneOfType([s.element,s.instanceOf(d)])},f.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:c},e.exports=f},557819:e=>{"use strict";e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}},589926:(e,t,n)=>{"use strict";var r=n(398024);e.exports=function(e,t,n,o){return r(e,function(e,r,i){t(o,e,n(e),i)}),o}},398024:(e,t,n)=>{"use strict";var r=n(471559),o=n(795248)(r);e.exports=o},510479:(e,t,n)=>{"use strict";var r=n(786455)();e.exports=r},471559:(e,t,n)=>{"use strict";var r=n(510479),o=n(848750);e.exports=function(e,t){return e&&r(e,t,o)}},637567:e=>{"use strict";e.exports=function(e,t){return null!=e&&t in Object(e)}},527715:(e,t,n)=>{"use strict";var r=n(565792),o=n(664500);e.exports=function(e,t,n,i){var a=n.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=n[a])[0],f=e[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(i)var v=i(f,d,l,e,t,p);if(!(void 0===v?o(d,f,3,i,p):v))return!1}}return!0}},678527:(e,t,n)=>{"use strict";var r=n(668897),o=n(46575),i=n(5321),a=n(711422),u=n(313882);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},668897:(e,t,n)=>{"use strict";var r=n(527715),o=n(931077),i=n(477613);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},46575:(e,t,n)=>{"use strict";var r=n(664500),o=n(608213),i=n(904599),a=n(101385),u=n(845530),s=n(477613),c=n(260682);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},403065:e=>{"use strict";e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},108441:(e,t,n)=>{"use strict";var r=n(218462);e.exports=function(e){return function(t){return r(t,e)}}},110843:(e,t,n)=>{"use strict";var r=n(557819),o=n(589926),i=n(678527),a=n(711422);e.exports=function(e,t){return function(n,u){var s=a(n)?r:o,c=t?t():{};return s(n,e,i(u,2),c)}}},795248:(e,t,n)=>{"use strict";var r=n(585654);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,u=Object(n);(t?a--:++a<i)&&!1!==o(u[a],a,u););return n}}},786455:e=>{"use strict";e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(!1===n(i[s],s,i))break}return t}}},931077:(e,t,n)=>{"use strict";var r=n(845530),o=n(848750);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},359366:(e,t,n)=>{"use strict";var r=n(627498),o=n(572918),i=n(711422),a=n(918558),u=n(285538),s=n(260682);e.exports=function(e,t,n){t=r(t,e);for(var c=-1,l=t.length,f=!1;++c<l;){var d=s(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&u(l)&&a(d,l)&&(i(e)||o(e))}},845530:(e,t,n)=>{"use strict";var r=n(258862);e.exports=function(e){return e==e&&!r(e)}},477613:e=>{"use strict";e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},608213:(e,t,n)=>{"use strict";var r=n(218462);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},688758:(e,t,n)=>{"use strict";var r=n(409278),o=n(110843),i=Object.prototype.hasOwnProperty,a=o(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=a},904599:(e,t,n)=>{"use strict";var r=n(637567),o=n(359366);e.exports=function(e,t){return null!=e&&o(e,t,r)}},313882:(e,t,n)=>{"use strict";var r=n(403065),o=n(108441),i=n(101385),a=n(260682);e.exports=function(e){return i(e)?r(a(e)):o(e)}},367635:(e,t,n)=>{"use strict";var r=n(501872);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},960958:(e,t,n)=>{e.exports=n(367635)()},501872:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},930:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});let r=function(e){return function(t){e.forEach(function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)})}}},621711:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(702804),o=n(331982);function i({debounce:e,scroll:t,polyfill:n}={debounce:0,scroll:!1}){var a;let s=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!s)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[c,l]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),f=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c}),d=e?"number"==typeof e?e:e.scroll:null,p=e?"number"==typeof e?e:e.resize:null,[v,h]=(0,r.useMemo)(()=>{let e=()=>{if(!f.current.element)return;let{left:e,top:t,width:n,height:r,bottom:o,right:i,x:a,y:s}=f.current.element.getBoundingClientRect(),c={left:e,top:t,width:n,height:r,bottom:o,right:i,x:a,y:s};Object.freeze(c),u(f.current.lastBounds,c)||l(f.current.lastBounds=c)};return[p?(0,o.debounce)(e,p):e,d?(0,o.debounce)(e,d):e]},[l,d,p]);function m(){f.current.scrollContainers&&(f.current.scrollContainers.forEach(e=>{e.removeEventListener("scroll",h,!0)}),f.current.scrollContainers=null),f.current.resizeObserver&&(f.current.resizeObserver.disconnect(),f.current.resizeObserver=null)}function y(){f.current.element&&(f.current.resizeObserver=new s(h),f.current.resizeObserver.observe(f.current.element),t&&f.current.scrollContainers&&f.current.scrollContainers.forEach(e=>{e.addEventListener("scroll",h,{capture:!0,passive:!0})}))}return a=!!t,(0,r.useEffect)(()=>{if(a)return window.addEventListener("scroll",h,{capture:!0,passive:!0}),()=>window.removeEventListener("scroll",h,!0)},[h,a]),(0,r.useEffect)(()=>(window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}),[v]),(0,r.useEffect)(()=>{m(),y()},[t,h,v]),(0,r.useEffect)(()=>m,[]),[e=>{e&&e!==f.current.element&&(m(),f.current.element=e,f.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:o,overflowY:i}=window.getComputedStyle(t);return[r,o,i].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),y())},c]}e=n.hmd(e);let a=["x","y","top","bottom","left","right","width","height"],u=(e,t)=>a.every(n=>e[n]===t[n]);Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(e,"exports").writable&&(e.exports=i);let s=i},75070:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>R,isFocusable:()=>D,isTabbable:()=>C,tabbable:()=>x});var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},s=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&a.call(e,o)&&r.unshift(e),r=r.filter(n)},c=function e(t,n,r){for(var i=[],u=Array.from(t);u.length;){var s=u.shift();if("SLOT"===s.tagName){var c=s.assignedElements(),l=e(c.length?c:s.children,!0,r);r.flatten?i.push.apply(i,l):i.push({scope:s,candidates:l})}else{a.call(s,o)&&r.filter(s)&&(n||!t.includes(s))&&i.push(s);var f=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),d=!r.shadowRootFilter||r.shadowRootFilter(s);if(f&&d){var p=e(!0===f?s.children:f.children,!0,r);r.flatten?i.push.apply(i,p):i.push({scope:s,candidates:p})}else u.unshift.apply(u,s.children)}}return i},l=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},d=function(e){return"INPUT"===e.tagName},p=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},v=function(e){if(!e.name)return!0;var t,n=e.form||u(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=p(t,e.form);return!o||o===e},h=function(e){for(var t,n,r=u(e).host,o=!!(null!==(t=r)&&void 0!==t&&t.ownerDocument.contains(r)||e.ownerDocument.contains(e));!o&&r;)o=!!(null!==(n=r=u(r).host)&&void 0!==n&&n.ownerDocument.contains(r));return o},m=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},y=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof r){for(var i=e;e;){var s=e.parentElement,c=u(e);if(s&&!s.shadowRoot&&!0===r(s))return m(e);e=e.assignedSlot?e.assignedSlot:s||c===e.ownerDocument?s:c.host}e=i}if(h(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},g=function(e,t){return!(t.disabled||d(t)&&"hidden"===t.type||y(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||b(t))},w=function(e,t){var n;return!(d(n=t)&&"radio"===n.type&&!v(n)||0>l(t))&&!!g(e,t)},E=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},O=function e(t){var n=[],r=[];return t.forEach(function(t,o){var i=!!t.scope,a=i?t.scope:t,u=l(a,i),s=i?e(t.candidates):a;0===u?i?n.push.apply(n,s):n.push(a):r.push({documentOrder:o,tabIndex:u,item:t,isScope:i,content:s})}),r.sort(f).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},x=function(e,t){return O((t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:w.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:E}):s(e,t.includeContainer,w.bind(null,t)))},R=function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:g.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s(e,t.includeContainer,g.bind(null,t))},C=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,o)&&w(t,e)},T=r.concat("iframe").join(","),D=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,T)&&g(t,e)}},917878:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(702804),o=n(615665),i=n(946125),a=n(568509),u=n(430751);function s(e){let t=e+"CollectionProvider",[n,s]=(0,o.b)(t),[c,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return(0,u.jsx)(c,{scope:t,itemMap:i,collectionRef:o,children:n})};f.displayName=t;let d=e+"CollectionSlot",p=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=l(d,n),s=(0,i.e)(t,o.collectionRef);return(0,u.jsx)(a.g7,{ref:s,children:r})});p.displayName=d;let v=e+"CollectionItemSlot",h="data-radix-collection-item",m=r.forwardRef((e,t)=>{let{scope:n,children:o,...s}=e,c=r.useRef(null),f=(0,i.e)(t,c),d=l(v,n);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),(0,u.jsx)(a.g7,{[h]:"",ref:f,children:o})});return m.displayName=v,[{Provider:f,Slot:p,ItemSlot:m},function(t){let n=l(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},s]}},211600:(e,t,n)=>{"use strict";n.d(t,{gm:()=>i});var r=n(702804);n(430751);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},851234:(e,t,n)=>{"use strict";n.d(t,{VY:()=>eg,z$:()=>eb,ck:()=>eh,rU:()=>ey,aV:()=>ev,fC:()=>ep,xz:()=>em,l_:()=>ew});var r=n(702804),o=n(969109),i=n(615665),a=n(791794),u=n(828949),s=n(193232),c=n(946125),l=n(211600),f=n(324746),d=n(631399),p=n(917878),v=n(571715),h=n(677487),m=n(792870),y=n(477995),b=n(430751),g=r.forwardRef((e,t)=>(0,b.jsx)(u.WV.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}}));g.displayName="VisuallyHidden";var w="NavigationMenu",[E,O,x]=(0,p.B)(w),[R,C,T]=(0,p.B)(w),[D,k]=(0,i.b)(w,[x,T]),[S,N]=D(w),[j,P]=D(w),M=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,onValueChange:i,defaultValue:a,delayDuration:f=200,skipDelayDuration:d=300,orientation:p="horizontal",dir:v,...h}=e,[m,y]=r.useState(null),g=(0,c.e)(t,e=>y(e)),w=(0,l.gm)(v),E=r.useRef(0),O=r.useRef(0),x=r.useRef(0),[R,C]=r.useState(!0),[T="",D]=(0,s.T)({prop:o,onChange:e=>{let t=d>0;""!==e?(window.clearTimeout(x.current),t&&C(!1)):(window.clearTimeout(x.current),x.current=window.setTimeout(()=>C(!0),d)),i?.(e)},defaultProp:a}),k=r.useCallback(()=>{window.clearTimeout(O.current),O.current=window.setTimeout(()=>D(""),150)},[D]),S=r.useCallback(e=>{window.clearTimeout(O.current),D(e)},[D]),N=r.useCallback(e=>{T===e?window.clearTimeout(O.current):E.current=window.setTimeout(()=>{window.clearTimeout(O.current),D(e)},f)},[T,D,f]);return r.useEffect(()=>()=>{window.clearTimeout(E.current),window.clearTimeout(O.current),window.clearTimeout(x.current)},[]),(0,b.jsx)(I,{scope:n,isRootMenu:!0,value:T,dir:w,orientation:p,rootNavigationMenu:m,onTriggerEnter:e=>{window.clearTimeout(E.current),R?N(e):S(e)},onTriggerLeave:()=>{window.clearTimeout(E.current),k()},onContentEnter:()=>window.clearTimeout(O.current),onContentLeave:k,onItemSelect:e=>{D(t=>t===e?"":e)},onItemDismiss:()=>D(""),children:(0,b.jsx)(u.WV.nav,{"aria-label":"Main","data-orientation":p,dir:w,...h,ref:g})})});M.displayName=w;var F="NavigationMenuSub";r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",...c}=e,l=N(F,n),[f="",d]=(0,s.T)({prop:r,onChange:o,defaultProp:i});return(0,b.jsx)(I,{scope:n,isRootMenu:!1,value:f,dir:l.dir,orientation:a,rootNavigationMenu:l.rootNavigationMenu,onTriggerEnter:e=>d(e),onItemSelect:e=>d(e),onItemDismiss:()=>d(""),children:(0,b.jsx)(u.WV.div,{"data-orientation":a,...c,ref:t})})}).displayName=F;var I=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:o,dir:i,orientation:a,children:u,value:s,onItemSelect:c,onItemDismiss:l,onTriggerEnter:f,onTriggerLeave:p,onContentEnter:v,onContentLeave:m}=e,[g,w]=r.useState(null),[O,x]=r.useState(new Map),[R,C]=r.useState(null);return(0,b.jsx)(S,{scope:t,isRootMenu:n,rootNavigationMenu:o,value:s,previousValue:(0,h.D)(s),baseId:(0,d.M)(),dir:i,orientation:a,viewport:g,onViewportChange:w,indicatorTrack:R,onIndicatorTrackChange:C,onTriggerEnter:(0,y.W)(f),onTriggerLeave:(0,y.W)(p),onContentEnter:(0,y.W)(v),onContentLeave:(0,y.W)(m),onItemSelect:(0,y.W)(c),onItemDismiss:(0,y.W)(l),onViewportContentChange:r.useCallback((e,t)=>{x(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{x(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,b.jsx)(E.Provider,{scope:t,children:(0,b.jsx)(j,{scope:t,items:O,children:u})})})},_="NavigationMenuList",L=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=N(_,n),i=(0,b.jsx)(u.WV.ul,{"data-orientation":o.orientation,...r,ref:t});return(0,b.jsx)(u.WV.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,b.jsx)(E.Slot,{scope:n,children:o.isRootMenu?(0,b.jsx)(er,{asChild:!0,children:i}):i})})});L.displayName=_;var A="NavigationMenuItem",[z,W]=D(A),V=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,...i}=e,a=(0,d.M)(),s=r.useRef(null),c=r.useRef(null),l=r.useRef(null),f=r.useRef(()=>{}),p=r.useRef(!1),v=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(s.current){f.current();let t=ea(s.current);t.length&&eu("start"===e?t:t.reverse())}},[]),h=r.useCallback(()=>{if(s.current){let e=ea(s.current);e.length&&(f.current=function(e){return 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)})}}(e))}},[]);return(0,b.jsx)(z,{scope:n,value:o||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:s,focusProxyRef:l,wasEscapeCloseRef:p,onEntryKeyDown:v,onFocusProxyEnter:v,onRootContentClose:h,onContentFocusOutside:h,children:(0,b.jsx)(u.WV.li,{...i,ref:t})})});V.displayName=A;var K="NavigationMenuTrigger",U=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:o,...i}=e,s=N(K,e.__scopeNavigationMenu),l=W(K,e.__scopeNavigationMenu),f=r.useRef(null),d=(0,c.e)(f,l.triggerRef,t),p=el(s.baseId,l.value),v=ef(s.baseId,l.value),h=r.useRef(!1),m=r.useRef(!1),y=l.value===s.value;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(E.ItemSlot,{scope:n,value:l.value,children:(0,b.jsx)(ei,{asChild:!0,children:(0,b.jsx)(u.WV.button,{id:p,disabled:o,"data-disabled":o?"":void 0,"data-state":ec(y),"aria-expanded":y,"aria-controls":v,...i,ref:d,onPointerEnter:(0,a.M)(e.onPointerEnter,()=>{m.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.M)(e.onPointerMove,ed(()=>{o||m.current||l.wasEscapeCloseRef.current||h.current||(s.onTriggerEnter(l.value),h.current=!0)})),onPointerLeave:(0,a.M)(e.onPointerLeave,ed(()=>{o||(s.onTriggerLeave(),h.current=!1)})),onClick:(0,a.M)(e.onClick,()=>{s.onItemSelect(l.value),m.current=y}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===s.dir?"ArrowLeft":"ArrowRight"}[s.orientation];y&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),y&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===f.current,o=t?.contains(n);(r||!o)&&l.onFocusProxyEnter(r?"start":"end")}}),s.viewport&&(0,b.jsx)("span",{"aria-owns":v})]})]})});U.displayName=K;var B="navigationMenu.linkSelect",$=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return(0,b.jsx)(ei,{asChild:!0,children:(0,b.jsx)(u.WV.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...i,ref:t,onClick:(0,a.M)(e.onClick,e=>{let t=e.target,n=new CustomEvent(B,{bubbles:!0,cancelable:!0});if(t.addEventListener(B,e=>o?.(e),{once:!0}),(0,u.jH)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(J,{bubbles:!0,cancelable:!0});(0,u.jH)(t,e)}},{checkForDefaultPrevented:!1})})})});$.displayName="NavigationMenuLink";var H="NavigationMenuIndicator",q=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=N(H,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?o.createPortal((0,b.jsx)(f.z,{present:n||a,children:(0,b.jsx)(Z,{...r,ref:t})}),i.indicatorTrack):null});q.displayName=H;var Z=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,i=N(H,n),a=O(n),[s,c]=r.useState(null),[l,f]=r.useState(null),d="horizontal"===i.orientation,p=!!i.value;r.useEffect(()=>{let e=a(),t=e.find(e=>e.value===i.value)?.ref.current;t&&c(t)},[a,i.value]);let v=()=>{s&&f({size:d?s.offsetWidth:s.offsetHeight,offset:d?s.offsetLeft:s.offsetTop})};return es(s,v),es(i.indicatorTrack,v),l?(0,b.jsx)(u.WV.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":i.orientation,...o,ref:t,style:{position:"absolute",...d?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...o.style}}):null}),Y="NavigationMenuContent",G=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=N(Y,e.__scopeNavigationMenu),i=W(Y,e.__scopeNavigationMenu),u=(0,c.e)(i.contentRef,t),s=i.value===o.value,l={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?(0,b.jsx)(X,{forceMount:n,...l,ref:u}):(0,b.jsx)(f.z,{present:n||s,children:(0,b.jsx)(Q,{"data-state":ec(s),...l,ref:u,onPointerEnter:(0,a.M)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,ed(o.onContentLeave)),style:{pointerEvents:!s&&o.isRootMenu?"none":void 0,...l.style}})})});G.displayName=Y;var X=r.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=N(Y,e.__scopeNavigationMenu);return(0,m.b)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,m.b)(()=>()=>r(e.value),[e.value,r]),null}),J="navigationMenu.rootContentDismiss",Q=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,triggerRef:i,focusProxyRef:u,wasEscapeCloseRef:s,onRootContentClose:l,onContentFocusOutside:f,...d}=e,p=N(Y,n),h=r.useRef(null),m=(0,c.e)(h,t),y=el(p.baseId,o),g=ef(p.baseId,o),w=O(n),E=r.useRef(null),{onItemDismiss:x}=p;r.useEffect(()=>{let e=h.current;if(p.isRootMenu&&e){let t=()=>{x(),l(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(J,t),()=>e.removeEventListener(J,t)}},[p.isRootMenu,e.value,i,x,l]);let R=r.useMemo(()=>{let e=w().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),r=o===p.value,i=n===e.indexOf(o);if(!r&&!i)return E.current;let a=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(i&&-1!==t)return t>n?"to-start":"to-end"}return null})();return E.current=a,a},[p.previousValue,p.value,p.dir,w,o]);return(0,b.jsx)(er,{asChild:!0,children:(0,b.jsx)(v.XB,{id:g,"aria-labelledby":y,"data-motion":R,"data-orientation":p.orientation,...d,ref:m,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(J,{bubbles:!0,cancelable:!0});h.current?.dispatchEvent(e)},onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{f();let t=e.target;p.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,e=>{let t=e.target,n=w().some(e=>e.ref.current?.contains(t)),r=p.isRootMenu&&p.viewport?.contains(t);(n||r||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ea(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eu(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():u.current?.focus()}}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{s.current=!0})})})}),ee="NavigationMenuViewport",et=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=!!N(ee,e.__scopeNavigationMenu).value;return(0,b.jsx)(f.z,{present:n||o,children:(0,b.jsx)(en,{...r,ref:t})})});et.displayName=ee;var en=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:o,...i}=e,s=N(ee,n),l=(0,c.e)(t,s.onViewportChange),d=P(Y,e.__scopeNavigationMenu),[p,v]=r.useState(null),[h,m]=r.useState(null),y=p?p?.width+"px":void 0,g=p?p?.height+"px":void 0,w=!!s.value,E=w?s.value:s.previousValue;return es(h,()=>{h&&v({width:h.offsetWidth,height:h.offsetHeight})}),(0,b.jsx)(u.WV.div,{"data-state":ec(w),"data-orientation":s.orientation,...i,ref:l,style:{pointerEvents:!w&&s.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":y,"--radix-navigation-menu-viewport-height":g,...i.style},onPointerEnter:(0,a.M)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,ed(s.onContentLeave)),children:Array.from(d.items).map(e=>{let[t,{ref:n,forceMount:r,...o}]=e,i=E===t;return(0,b.jsx)(f.z,{present:r||i,children:(0,b.jsx)(Q,{...o,ref:(0,c.F)(n,e=>{i&&e&&m(e)})})},t)})})}),er=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=N("FocusGroup",n);return(0,b.jsx)(R.Provider,{scope:n,children:(0,b.jsx)(R.Slot,{scope:n,children:(0,b.jsx)(u.WV.div,{dir:o.dir,...r,ref:t})})})}),eo=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ei=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=C(n),i=N("FocusGroupItem",n);return(0,b.jsx)(R.ItemSlot,{scope:n,children:(0,b.jsx)(u.WV.button,{...r,ref:t,onKeyDown:(0,a.M)(e.onKeyDown,e=>{if(["Home","End",...eo].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eo.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eu(t)),e.preventDefault()}})})})});function ea(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 eu(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function es(e,t){let n=(0,y.W)(t);(0,m.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])}function ec(e){return e?"open":"closed"}function el(e,t){return`${e}-trigger-${t}`}function ef(e,t){return`${e}-content-${t}`}function ed(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ep=M,ev=L,eh=V,em=U,ey=$,eb=q,eg=G,ew=et},677487:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(702804);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},608539:(e,t,n)=>{"use strict";n.d(t,{_:()=>l,E:()=>c});var r=n(366231),o=n(574403),i=n(258016);function a(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,o){(0,r.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let a=[];return t.forEach(e=>{a.push((0,i.d)(e,n,{transitionOverride:o}))}),Promise.all(a)},set:n=>((0,r.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{(0,o.gg)(e,n)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}var u=n(9091),s=n(679278);function c(){let e=(0,u.h)(a);return(0,s.L)(e.mount,[]),e}let l=c}}]);
//# debugId=e1f8d506-877a-5231-a12f-4f09f4022aa8
