Plugin Directory

Changeset 3801994


Ignore:
Timestamp:
11/14/2026 01:43:55 PM (3 days ago)
Author:
reinventwp
Message:

Deploying version 1.0.6 - up

Location:
reinvent-rename-replace-media/trunk
Files:
3 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • reinvent-rename-replace-media/trunk/includes/class-rwprm-hub.php

    r3783163 r3801994  
    3131         * Bump when the menu or dashboard changes; the highest version wins.
    3232         */
    33         const HUB_VERSION = '2.1.2';
     33        const HUB_VERSION = '2.2.0';
    3434
    3535        /**
    … …  
    4646         * Cached app list (shared by every copy of this version).
    4747         */
    48         const CATALOG_TRANSIENT = 'reinventwp_hub_catalog_v2';
     48        const CATALOG_TRANSIENT = 'reinventwp_hub_catalog_v3';
    4949
    5050        /**
    … …  
    146146         */
    147147        private static function bundled_catalog() {
    148                 $app = function ( $slug, $name, $description, $category, $page = '', $released = false, $href = '' ) {
     148                $app = function ( $slug, $name, $description, $category, $page = '', $released = false, $href = '', $categories = array() ) {
    149149                        return array(
    150150                                'name'        => $name,
    … …  
    156156                                'coming_soon' => ! $released,
    157157                                'category'    => $category,
     158                                'categories'  => $categories,
    158159                                'href'        => $href,
    159160                        );
    … …  
    161162                return array(
    162163                        $app( 'natural-text-to-speech', 'Text to Speech', __( 'Read posts aloud with natural voices and highlight words as they are spoken.', 'reinvent-rename-replace-media' ), __( 'Content', 'reinvent-rename-replace-media' ), 'admin.php?page=natuteto-settings', true, self::SITE_URL . '/text-to-speech' ),
    163                         $app( 'reinvent-media-cleanup', 'Media Cleanup', __( 'Find unused images and files and remove them safely, with a safety net.', 'reinvent-rename-replace-media' ), __( 'Media', 'reinvent-rename-replace-media' ), 'upload.php?page=rwpmc-media-cleanup', true, self::SITE_URL . '/media-cleanup' ),
     164                        $app( 'reinvent-media-cleanup', 'Media Cleanup', __( 'Find unused images and files and remove them safely, with a safety net.', 'reinvent-rename-replace-media' ), __( 'Media', 'reinvent-rename-replace-media' ), 'upload.php?page=rwpmc-media-cleanup', true, self::SITE_URL . '/media-cleanup', array( 'Popular', 'Must have', 'Performance' ) ),
    164165                        $app( 'reinvent-retina-images', 'Retina Images', __( 'Sharp retina images, fix blurry or missing image sizes and free up space.', 'reinvent-rename-replace-media' ), __( 'Media', 'reinvent-rename-replace-media' ), 'upload.php?page=rwprt-thumbnails', true, self::SITE_URL . '/retina-images' ),
    165166                        $app( 'reinvent-rename-replace-media', 'Rename & Replace Media', __( 'Give images SEO-friendly names and swap files without breaking links, with undo.', 'reinvent-rename-replace-media' ), __( 'Media', 'reinvent-rename-replace-media' ), 'upload.php?page=rwprm-rename', true, self::SITE_URL . '/rename-replace-media' ),
    166                         $app( 'reinvent-database-cleaner', 'Database Cleaner', __( 'Clean up and speed up your database, see which plugin left what behind, and undo anything.', 'reinvent-rename-replace-media' ), __( 'Performance', 'reinvent-rename-replace-media' ), 'tools.php?page=rwpdc-cleaner', false, self::SITE_URL . '/database-cleaner' ),
     167                        $app( 'reinvent-database-cleaner', 'Database Cleaner', __( 'Clean up and speed up your database, see which plugin left what behind, and undo anything.', 'reinvent-rename-replace-media' ), __( 'Performance', 'reinvent-rename-replace-media' ), 'tools.php?page=rwpdc-cleaner', false, self::SITE_URL . '/database-cleaner', array( 'Must have' ) ),
    167168                        $app( 'reinvent-lightbox', 'Lightbox', __( 'Open images and galleries in a fast lightbox with photo details, slideshow, zoom and shareable links.', 'reinvent-rename-replace-media' ), __( 'Media', 'reinvent-rename-replace-media' ), 'admin.php?page=rwplb-settings', false, self::SITE_URL . '/lightbox' ),
    168169                        $app( 'reinvent-watermark', 'Watermark', __( 'Add a text or logo watermark to your images on upload or in bulk, and remove it any time.', 'reinvent-rename-replace-media' ), __( 'Media', 'reinvent-rename-replace-media' ), 'upload.php?page=rwpwm-watermark', true, self::SITE_URL . '/watermark' ),
    … …  
    280281                                'coming_soon' => 'coming-soon' === $status,
    281282                                'category'    => isset( $item['category'] ) ? sanitize_text_field( (string) $item['category'] ) : '',
     283                                'categories'  => self::clean_categories( isset( $item['extra_categories'] ) ? $item['extra_categories'] : array() ),
    282284                                'href'        => self::product_url( isset( $item['href'] ) ? (string) $item['href'] : '' ),
    283285                        );
    284286                }
    285287                return $apps;
     288        }
     289
     290        /**
     291         * The catalog's extra categories of an app (like "Must have"), as plain names.
     292         *
     293         * @param mixed $names Raw "extra_categories" value from the API.
     294         * @return string[]
     295         */
     296        private static function clean_categories( $names ) {
     297                if ( ! is_array( $names ) ) {
     298                        return array();
     299                }
     300                $clean = array();
     301                foreach ( array_slice( $names, 0, 10 ) as $name ) {
     302                        $name = is_string( $name ) ? sanitize_text_field( $name ) : '';
     303                        if ( '' !== $name ) {
     304                                $clean[] = $name;
     305                        }
     306                }
     307                return $clean;
    286308        }
    287309
    … …  
    346368                                'description'  => $app['description'],
    347369                                'category'     => $app['category'],
     370                                'categories'   => isset( $app['categories'] ) && is_array( $app['categories'] ) ? array_values( $app['categories'] ) : array(),
    348371                                'state'        => $is_active ? 'active' : ( $is_installed ? 'inactive' : 'missing' ),
    349372                                'version'      => $is_installed ? (string) $installed[ $app['file'] ]['Version'] : '',
    … …  
    480503                        ),
    481504                        'page_url'    => admin_url( 'admin.php?page=' . self::SLUG ),
     505                        /*
     506                         * The Suite Pass offer is for sites without a paid licence only: a plugin with PRO
     507                         * returns true here (Text to Speech: its Freemius licence), and the offer stays hidden.
     508                         */
     509                        'show_suite'  => ! apply_filters( 'reinventwp_hub_has_paid_license', false ),
    482510                );
    483511                wp_add_inline_script( 'reinventwp-apps', 'window.reinventwpApps = ' . wp_json_encode( $data ) . ';', 'before' );
  • reinvent-rename-replace-media/trunk/public/hub/bot.js

    r3777608 r3801994  
    1 (()=>{"use strict";var e={72(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case s:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},404(e,t,n){e.exports=n(72)},77(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=s.source}function g(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(){y(r)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=y(o);if(n){if(x(),!y(i))return g("property missing ':'");var r=y(a),s=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(l),s}}return m.prototype.content=e,v(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},917(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,s):e.replace(i,s)).replace(r,l))}},133(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;const r=(0,o.default)(e),i="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;const{property:r,value:o}=e;i?t(r,o,e):o&&(n=n||{},n[r]=o)}),n};const o=r(n(77))}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},(()=>{const e=Object.getPrototypeOf;let t;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}const i=Object.create(null);n.r(i);const a={};t=t||[null,e({}),e([]),e(e)];for(var l=2&o&&r;("object"==typeof l||"function"==typeof l)&&!~t.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach(e=>a[e]=()=>r[e]);return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})};var r=n.cw(e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(o=s(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(h,c,o)})):void 0!==o&&l(d,{name:n,newValue:o}));return d}}),o=n.cw(e=>{var t=i(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return t.isMemo(e)?o:a[e.$$typeof]||n}a[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[t.Memo]=o;var s=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(p){var i=f(n);i&&i!==p&&e(t,i,o)}var a=u(n);c&&(a=a.concat(c(n)));for(var h=l(t),m=l(n),g=0;g<a.length;++g){var y=a[g];if(!(r[y]||o&&o[y]||m&&m[y]||h&&h[y])){var v=d(n,y);try{s(t,y,v)}catch(e){}}}}return t}}),i=()=>n(404),a=n.cw((e,t)=>{var n=g(),r=p(),o=u();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function l(e){for(var t=e,n=t;n&&!n.alternate;)!!(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function s(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function c(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(i(188))}function f(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=f(e)))return t;e=e.sibling}return null}function h(e,t,n,r,o,i){for(;null!==e;){if((5===e.tag||27===e.tag||6===e.tag)&&n(e,r,o,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag&&27!==e.tag)&&h(e.child,t,n,r,o,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag||27===e.tag)return e;e=e.return}return null}function y(e){var t=!1;for(e=e.return;null!==e&&(4===e.tag&&(t=!0),3!==e.tag&&5!==e.tag&&27!==e.tag);)e=e.return;return t}function v(e){var t=[null,null],n=m(e);return null===n||b(t,e,n.child,{foundSelf:!1}),t}function b(e,t,n,r){for(;null!==n;){if(n===t)r.foundSelf=!0;else if(5===n.tag||27===n.tag||6===n.tag){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((22!==n.tag||null===n.memoizedState)&&b(e,t,n.child,r))return!0;n=n.sibling}return!1}function x(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var w=null,k=null;function S(e,t,n){return e===n||e===t&&(w=e,!0)}function C(e,t,n){return e===n?(k=e,!1):e===t&&(null!==k&&(w=e),!0)}function E(e){if(null===e)return null;do{e=null===e?null:e.return}while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function P(e,t,n){for(var r=0,o=e;o;o=n(o))r++;o=0;for(var i=t;i;i=n(i))o++;for(;0<r-o;)e=n(e),r--;for(;0<o-r;)t=n(t),o--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,_=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),A=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope");var B=Symbol.for("react.activity"),W=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var H=Symbol.for("react.memo_cache_sentinel"),V=Symbol.for("react.view_transition"),U=Symbol.for("react.recoverable"),q=Symbol.iterator;function K(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=q&&e[q]||e["@@iterator"])?e:null}var Y=Symbol.for("react.client.reference");function Q(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Y?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case R:return"Fragment";case N:return"Profiler";case M:return"StrictMode";case L:return"Suspense";case j:return"SuspenseList";case B:return"Activity";case V:return"ViewTransition"}if("object"==typeof e)switch(e.$$typeof){case z:return"Portal";case A:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case F:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:Q(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return Q(e(t))}catch(e){}}return null}var G=Array.isArray,X=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ee=[],te=-1;function ne(e){return{current:e}}function re(e){0>te||(e.current=ee[te],ee[te]=null,te--)}function oe(e,t){te++,ee[te]=e.current,e.current=t}var ie,ae,le=ne(null),se=ne(null),ue=ne(null),ce=ne(null);function de(e,t){switch(oe(ue,t),oe(se,e),oe(le,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?$f(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=Df(t=$f(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}re(le),oe(le,e)}function fe(){re(le),re(se),re(ue)}function pe(e){var t=e.memoizedState;null!==t&&(hh._currentValue=t.memoizedState,oe(ce,e));var n=Df(t=le.current,e.type);t!==n&&(oe(se,e),oe(le,n))}function he(e){se.current===e&&(re(le),re(se)),ce.current===e&&(re(ce),hh._currentValue=J)}function me(e){if(void 0===ie)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ie=t&&t[1]||"",ae=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ie+e+ae}var ge=!1;function ye(e,t){if(!e||ge)return"";ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var o=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(void 0!==o?Object.defineProperty(e.prototype,"props",o):delete e.prototype.props)}}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],l=i[1];if(a&&l){var s=a.split("\n"),u=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===u.length)for(r=s.length-1,o=u.length-1;1<=r&&0<=o&&s[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==u[o]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{ge=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?me(n):""}function ve(e,t){switch(e.tag){case 26:case 27:case 5:return me(e.type);case 16:return me("Lazy");case 13:return e.child!==t&&null!==t?me("Suspense Fallback"):me("Suspense");case 19:return me("SuspenseList");case 0:case 15:return ye(e.type,!1);case 11:return ye(e.type.render,!1);case 1:return ye(e.type,!0);case 31:return me("Activity");case 30:return me("ViewTransition");default:return""}}function be(e){try{var t="",n=null;do{t+=ve(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var xe=Object.prototype.hasOwnProperty,we=n.unstable_scheduleCallback,ke=n.unstable_cancelCallback,Se=n.unstable_shouldYield,Ce=n.unstable_requestPaint,Ee=n.unstable_now,Pe=n.unstable_getCurrentPriorityLevel,Te=n.unstable_ImmediatePriority,_e=n.unstable_UserBlockingPriority,Oe=n.unstable_NormalPriority,ze=n.unstable_LowPriority,Re=n.unstable_IdlePriority,Me=n.log,Ne=n.unstable_setDisableYieldValue,Ie=null,Ae=null;function Fe(e){if("function"==typeof Me&&Ne(e),Ae&&"function"==typeof Ae.setStrictMode)try{Ae.setStrictMode(Ie,e)}catch(e){}}var Le=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(je(e)/$e|0)|0},je=Math.log,$e=Math.LN2;var De=256,Be=262144,We=4194304;function He(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ve(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,i=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~i)?o=He(r):0!==(a&=l)?o=He(a):n||0!==(n=l&~e)&&(o=He(n)):0!==(l=r&~i)?o=He(l):0!==a?o=He(a):n||0!==(n=r&~e)&&(o=He(n)),0===o?0:0!==t&&t!==o&&0===(t&i)&&((i=o&-o)>=(n=t&-t)||32===i&&4194048&n)?t:o}function Ue(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function qe(e,t){8&t&&(t|=32&t);var n=e.entangledLanes;if(0!==n)for(e=e.entanglements,n&=t;0<n;){var r=31-Le(n),o=1<<r;t|=e[r],n&=~o}return t}function Ke(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ye(){var e=We;return!(62914560&(We<<=1))&&(We=4194304),e}function Qe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ge(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Xe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Le(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Ze(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Le(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Je(e,t){var n=t&-t;return 0!==((n=42&n?1:et(n))&(e.suspendedLanes|t))?0:n}function et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tt(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function nt(){var e=Z.p;return 0!==e?e:void 0===(e=window.event)?32:zh(e.type)}function rt(e,t){var n=Z.p;try{return Z.p=e,t()}finally{Z.p=n}}var ot=Math.random().toString(36).slice(2),it="__reactFiber$"+ot,at="__reactProps$"+ot,lt="__reactContainer$"+ot,st="__reactEvents$"+ot,ut="__reactListeners$"+ot,ct="__reactHandles$"+ot,dt="__reactResources$"+ot,ft="__reactMarker$"+ot,pt="__reactLoad$"+ot;function ht(e){delete e[it],delete e[at],delete e[ut],delete e[ct]}function mt(e){var t;if(t=e[it])return t;for(var n=e.parentNode;n;){if(t=n[lt]||n[it]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ip(e);null!==e;){if(n=e[it])return n;e=Ip(e)}return t}n=(e=n).parentNode}return null}function gt(e){if(e=e[it]||e[lt]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function yt(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function vt(e){var t=e[dt];return t||(t=e[dt]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[ft]=!0}function xt(e){e[pt]=void 0}var wt=new Set,kt={};function St(e,t){Ct(e,t),Ct(e+"Capture",t)}function Ct(e,t){for(kt[e]=t,e=0;e<t.length;e++)wt.add(t[e])}var Et=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pt={},Tt={};var _t=!1;function Ot(){var e=_t;return _t=!1,e}function zt(e,t,n){if(o=t,xe.call(Tt,o)||!xe.call(Pt,o)&&(Et.test(o)?Tt[o]=!0:(Pt[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}var o}function Rt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,n)}}function Mt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,r)}}function Nt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function It(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function At(e){if(!e._valueTracker){var t=It(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function Ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=It(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Lt=/[\n"\\]/g;function jt(e){return e.replace(Lt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function $t(e,t,n,r,o,i,a,l){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Nt(t)):e.value!==""+Nt(t)&&(e.value=""+Nt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?"number"===a&&e.value==t?Bt(e,Nt(e.value)):Bt(e,Nt(t)):null!=n?Bt(e,Nt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+Nt(l):e.removeAttribute("name")}function Dt(e,t,n,r,o,i,a,l){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void At(e);n=null!=n?""+Nt(n):"",t=null!=t?""+Nt(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),At(e)}function Bt(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Wt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Nt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ht(e,t,n){null==t||((t=""+Nt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Nt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Vt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(i(92));if(G(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=Nt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),At(e)}function Ut(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var qt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Kt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||qt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Yt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",_t=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&(Kt(e,o,r),_t=!0)}else for(var a in t)t.hasOwnProperty(a)&&Kt(e,a,t[a])}function Qt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Xt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zt(e){return Xt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Jt(){}var en=null;function tn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var nn=null,rn=null;function on(e){var t=gt(e);if(t&&(e=t.stateNode)){var n=e[at]||null;e:switch(e=t.stateNode,t.type){case"input":if($t(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+jt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[at]||null;if(!o)throw Error(i(90));$t(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&Ft(r)}break e;case"textarea":Ht(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&Wt(e,!!n.multiple,t,!1)}}}var an=!1;function ln(e,t,n){if(an)return e(t,n);an=!0;try{return e(t)}finally{if(an=!1,(null!==nn||null!==rn)&&(vd(),nn&&(t=nn,e=rn,rn=nn=null,on(t),e)))for(t=0;t<e.length;t++)on(e[t])}}function sn(e,t){var n=e.stateNode;if(null===n)return null;var r=n[at]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var un=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),cn=!1;if(un)try{var dn={};Object.defineProperty(dn,"passive",{get:function(){cn=!0}}),window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch(e){cn=!1}var fn=null,pn=null,hn=null;function mn(){if(hn)return hn;var e,t,n=pn,r=n.length,o="value"in fn?fn.value:fn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return hn=o.slice(e,1<t?1-t:void 0)}function gn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function yn(){return!0}function vn(){return!1}function bn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yn:vn,this.isPropagationStopped=vn,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yn)},persist:function(){},isPersistent:yn}),t}var xn,wn,kn,Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cn=bn(Sn),En=T({},Sn,{view:0,detail:0}),Pn=bn(En),Tn=T({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==kn&&(kn&&"mousemove"===e.type?(xn=e.screenX-kn.screenX,wn=e.screenY-kn.screenY):wn=xn=0,kn=e),xn)},movementY:function(e){return"movementY"in e?e.movementY:wn}}),_n=bn(Tn),On=bn(T({},Tn,{dataTransfer:0})),zn=bn(T({},En,{relatedTarget:0})),Rn=bn(T({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0})),Mn=bn(T({},Sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Nn=bn(T({},Sn,{data:0})),In={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},An={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ln(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Fn[e])&&!!t[e]}function jn(){return Ln}var $n=bn(T({},En,{key:function(e){if(e.key){var t=In[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=gn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?An[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jn,charCode:function(e){return"keypress"===e.type?gn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?gn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Dn=bn(T({},Tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Bn=bn(T({},Sn,{submitter:0})),Wn=bn(T({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jn})),Hn=bn(T({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Vn=bn(T({},Tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Un=bn(T({},Sn,{newState:0,oldState:0,source:0})),qn=[9,13,27,32],Kn=un&&"CompositionEvent"in window,Yn=null;un&&"documentMode"in document&&(Yn=document.documentMode);var Qn=un&&"TextEvent"in window&&!Yn,Gn=un&&(!Kn||Yn&&8<Yn&&11>=Yn),Xn=String.fromCharCode(32),Zn=!1;function Jn(e,t){switch(e){case"keyup":return-1!==qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function er(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var tr=!1;var nr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nr[e.type]:"textarea"===t}function or(e,t,n,r){nn?rn?rn.push(r):rn=[r]:nn=r,0<(t=Cf(t,"onChange")).length&&(n=new Cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function lr(e){gf(e,0)}function sr(e){if(Ft(yt(e)))return e}function ur(e,t){if("change"===e)return t}var cr=!1;if(un){var dr;if(un){var fr="oninput"in document;if(!fr){var pr=document.createElement("div");pr.setAttribute("oninput","return;"),fr="function"==typeof pr.oninput}dr=fr}else dr=!1;cr=dr&&(!document.documentMode||9<document.documentMode)}function hr(){ir&&(ir.detachEvent("onpropertychange",mr),ar=ir=null)}function mr(e){if("value"===e.propertyName&&sr(ar)){var t=[];or(t,ar,e,tn(e)),ln(lr,t)}}function gr(e,t,n){"focusin"===e?(hr(),ar=n,(ir=t).attachEvent("onpropertychange",mr)):"focusout"===e&&hr()}function yr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return sr(ar)}function vr(e,t){if("click"===e)return sr(t)}function br(e,t){if("input"===e||"change"===e)return sr(t)}var xr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function wr(e,t){if(xr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!xe.call(t,o)||!xr(e[o],t[o]))return!1}return!0}function kr(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n,r=Sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Sr(r)}}function Er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Pr(e){for(var t=kr((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=kr((e=t.contentWindow).document)}return t}function Tr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var _r=un&&"documentMode"in document&&11>=document.documentMode,Or=null,zr=null,Rr=null,Mr=!1;function Nr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Mr||null==Or||Or!==kr(r)||("selectionStart"in(r=Or)&&Tr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Rr&&wr(Rr,r)||(Rr=r,0<(r=Cf(zr,"onSelect")).length&&(t=new Cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Or)))}function Ir(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ar={animationend:Ir("Animation","AnimationEnd"),animationiteration:Ir("Animation","AnimationIteration"),animationstart:Ir("Animation","AnimationStart"),transitionrun:Ir("Transition","TransitionRun"),transitionstart:Ir("Transition","TransitionStart"),transitioncancel:Ir("Transition","TransitionCancel"),transitionend:Ir("Transition","TransitionEnd")},Fr={},Lr={};function jr(e){if(Fr[e])return Fr[e];if(!Ar[e])return e;var t,n=Ar[e];for(t in n)if(n.hasOwnProperty(t)&&t in Lr)return Fr[e]=n[t];return e}un&&(Lr=document.createElement("div").style,"AnimationEvent"in window||(delete Ar.animationend.animation,delete Ar.animationiteration.animation,delete Ar.animationstart.animation),"TransitionEvent"in window||delete Ar.transitionend.transition);var $r=jr("animationend"),Dr=jr("animationiteration"),Br=jr("animationstart"),Wr=jr("transitionrun"),Hr=jr("transitionstart"),Vr=jr("transitioncancel"),Ur=jr("transitionend"),qr=new Map,Kr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Yr(e,t){qr.set(e,t),St(t,[e])}Kr.push("scrollEnd");var Qr=0;function Gr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:(e="_"+(e=Jc.identifierPrefix)+"t_"+(Qr++).toString(32)+"_",t.autoName=e)}function Xr(e){if(null==e||"string"==typeof e)return e;var t=null,n=ld;if(null!==n)for(var r=0;r<n.length;r++){var o=e[n[r]];if(null!=o){if("none"===o)return"none";t=null==t?o:t+" "+o}}return t??e.default}function Zr(e,t){return e=Xr(e),null==(t=Xr(t))?"auto"===e?null:e:"auto"===t?null:t}var Jr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},eo=[],to=0,no=0;function ro(){for(var e=to,t=no=to=0;t<e;){var n=eo[t];eo[t++]=null;var r=eo[t];eo[t++]=null;var o=eo[t];eo[t++]=null;var i=eo[t];if(eo[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&lo(n,o,i)}}function oo(e,t,n,r){eo[to++]=e,eo[to++]=t,eo[to++]=n,eo[to++]=r,no|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function io(e,t,n,r){return oo(e,t,n,r),so(e)}function ao(e,t){return oo(e,null,null,t),so(e)}function lo(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(o=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,o&&null!==t&&(o=31-Le(n),null===(r=(e=i.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),i):null}function so(e){if(50<sd)throw sd=0,ud=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var uo={};function co(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fo(e,t,n,r){return new co(e,t,n,r)}function po(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ho(e,t){var n=e.alternate;return null===n?((n=fo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=1206910976&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function mo(e,t){e.flags&=1206910978;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function go(e,t,n,r,o,a){var l=0;if("function"==typeof(r=e))po(r)&&(l=1);else if("string"==typeof r)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,le.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(r){case B:return(e=fo(31,n,t,o)).elementType=B,e.lanes=a,e;case R:return yo(n.children,o,a,t);case M:l=8,o|=24;break;case N:return(e=fo(12,n,t,2|o)).elementType=N,e.lanes=a,e;case L:return(e=fo(13,n,t,o)).elementType=L,e.lanes=a,e;case j:return(e=fo(19,n,t,o)).elementType=j,e.lanes=a,e;case W:case V:return(e=fo(30,n,t,e=32|o)).elementType=V,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case A:l=10;break e;case I:l=9;break e;case F:l=11;break e;case $:l=14;break e;case D:l=16,r=null;break e}l=29,n=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=fo(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function yo(e,t,n,r){return(e=fo(7,e,r,t)).lanes=n,e}function vo(e,t,n){return(e=fo(6,e,null,t)).lanes=n,e}function bo(e){var t=fo(18,null,null,0);return t.stateNode=e,t}function xo(e,t,n){return(t=fo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wo=new WeakMap;function ko(e,t){if("object"==typeof e&&null!==e){var n=wo.get(e);return void 0!==n?n:(t={value:e,source:t,stack:be(t)},wo.set(e,t),t)}return{value:e,source:t,stack:be(t)}}var So=[],Co=0,Eo=null,Po=0,To=[],_o=0,Oo=null,zo=1,Ro="";function Mo(e,t){So[Co++]=Po,So[Co++]=Eo,Eo=e,Po=t}function No(e,t,n){To[_o++]=zo,To[_o++]=Ro,To[_o++]=Oo,Oo=e;var r=zo;e=Ro;var o=32-Le(r)-1;r&=~(1<<o),n+=1;var i=32-Le(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,zo=1<<32-Le(t)+o|n<<o|r,Ro=i+e}else zo=1<<i|n<<o|r,Ro=e}function Io(e){null!==e.return&&(Mo(e,1),No(e,1,0))}function Ao(e){for(;e===Eo;)Eo=So[--Co],So[Co]=null,Po=So[--Co],So[Co]=null;for(;e===Oo;)Oo=To[--_o],To[_o]=null,Ro=To[--_o],To[_o]=null,zo=To[--_o],To[_o]=null}function Fo(e,t){To[_o++]=zo,To[_o++]=Ro,To[_o++]=Oo,zo=t.id,Ro=t.overflow,Oo=e}var Lo=null,jo=null,$o=!1,Do=null,Bo=!1,Wo=Error(i(519));function Ho(e){throw Qo(ko(Error(i(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),Wo}function Vo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[it]=e,t[at]=r,n){case"dialog":yf("cancel",t),yf("close",t);break;case"iframe":case"object":case"embed":yf("load",t);break;case"video":case"audio":for(n=0;n<hf.length;n++)yf(hf[n],t);break;case"source":yf("error",t);break;case"img":case"image":case"link":yf("error",t),yf("load",t);break;case"details":yf("toggle",t);break;case"input":yf("invalid",t),Dt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":yf("invalid",t);break;case"textarea":yf("invalid",t),Vt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||zf(t.textContent,n)?(null!=r.popover&&(yf("beforetoggle",t),yf("toggle",t)),null!=r.onScroll&&yf("scroll",t),null!=r.onScrollEnd&&yf("scrollend",t),null!=r.onClick&&(t.onclick=Jt),t=!0):t=!1,t||Ho(e,!0)}function Uo(e){for(Lo=e.return;Lo;)switch(Lo.tag){case 5:case 31:case 13:return void(Bo=!1);case 27:case 3:return void(Bo=!0);default:Lo=Lo.return}}function qo(e){if(e!==Lo)return!1;if(!$o)return Uo(e),$o=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Wf(e.type,e.memoizedProps)),t=!t),t&&jo&&Ho(e),Uo(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));jo=Np(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));jo=Np(e)}else 27===n?(n=jo,Gf(e.type)?(e=Mp,Mp=null,jo=e):jo=n):jo=Lo?Rp(e.stateNode.nextSibling):null;return!0}function Ko(){jo=Lo=null,$o=!1}function Yo(){var e=Do;return null!==e&&(null===Uc?Uc=e:Uc.push.apply(Uc,e),Do=null),e}function Qo(e){null===Do?Do=[e]:Do.push(e)}var Go=ne(null),Xo=null,Zo=null;function Jo(e,t,n){oe(Go,t._currentValue),t._currentValue=n}function ei(e){e._currentValue=Go.current,re(Go)}function ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ni(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var l=o.child;a=a.firstContext;e:for(;null!==a;){var s=a;a=o;for(var u=0;u<t.length;u++)if(s.context===t[u]){a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),ti(a.return,n,e),r||(l=null);break e}a=s.next}}else if(18===o.tag){if(null===(l=o.return))throw Error(i(341));l.lanes|=n,null!==(a=l.alternate)&&(a.lanes|=n),ti(l,n,e),l=null}else 13===o.tag&&null!==o.memoizedState&&null===o.memoizedState.dehydrated?(o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),ti(o.return,n,e),l=null!==(l=o.child)?l.sibling:null):l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===e){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}}function ri(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var l=o.alternate;if(null===l)throw Error(i(387));if(null!==(l=l.memoizedProps)){var s=o.type;xr(o.pendingProps.value,l.value)||(null!==e?e.push(s):e=[s])}}else if(o===ce.current){if(null===(l=o.alternate))throw Error(i(387));l.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(hh):e=[hh])}o=o.return}return null!==e&&ni(t,e,n,r),t.flags|=262144,null!==e}function oi(e){for(e=e.firstContext;null!==e;){if(!xr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ii(e){Xo=e,Zo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ai(e){return si(Xo,e)}function li(e,t){return null===Xo&&ii(e),si(e,t)}function si(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Zo){if(null===e)throw Error(i(308));Zo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zo=Zo.next=t;return n}var ui="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ci=n.unstable_scheduleCallback,di=n.unstable_NormalPriority,fi={$$typeof:A,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pi(){return{controller:new ui,data:new Map,refCount:0}}function hi(e){e.refCount--,0===e.refCount&&ci(di,function(){e.controller.abort()})}function mi(e,t){if(4194048&e.pendingLanes){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var gi=null;var yi=null,vi=0,bi=0,xi=null;function wi(){if(0===--vi&&(gi=null,null!==yi)){null!==xi&&(xi.status="fulfilled");var e=yi;yi=null,bi=0,xi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var ki=X.S;X.S=function(e,t){if(Yc=Ee(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===yi){var n=yi=[];vi=0,bi=cf(),xi={status:"pending",value:void 0,then:function(e){n.push(e)}}}vi++,t.then(wi,wi)}(0,t),null!==gi)for(var n=Gd;null!==n;)mi(n,gi),n=n.next;if(null!==(n=e.types)){for(var r=Gd;null!==r;)mi(r,n),r=r.next;if(0!==bi){null===(r=gi)&&(r=gi=[]);for(var o=0;o<n.length;o++){var i=n[o];-1===r.indexOf(i)&&r.push(i)}}}null!==ki&&ki(e,t)};var Si=ne(null);function Ci(){var e=Si.current;return null!==e?e:Oc.pooledCache}function Ei(e,t){oe(Si,null===t?Si.current:t.pool)}function Pi(){var e=Ci();return null===e?null:{parent:fi._currentValue,pool:e}}var Ti=Error(i(460)),_i=Error(i(474)),Oi=Error(i(542)),zi={then:function(){}};function Ri(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Mi(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Jt,Jt),t=n),t.status){case"fulfilled":return t.value;case"rejected":if(Fi(e=t.reason),void 0===e&&!("reason"in t))throw Error(i(600));throw e;default:if("string"==typeof t.status)t.then(Jt,Jt);else{if(null!==(e=Oc)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Fi(e=t.reason),e}throw Ii=t,Ti}}function Ni(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw Ii=e,Ti;throw e}}var Ii=null;function Ai(){if(null===Ii)throw Error(i(459));var e=Ii;return Ii=null,e}function Fi(e){if(e===Ti||e===Oi)throw Error(i(483))}var Li=null,ji=0;function $i(e){var t=ji;return ji+=1,null===Li&&(Li=[]),Mi(Li,e,t)}function Di(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Bi(e,t){if(t.$$typeof===_)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function o(e,t){return(e=ho(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=134217730,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=134217730),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=vo(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===R?(Di(e=d(e,t,n.props.children,r,n.key),n),e):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===D&&Ni(i)===t.type)?(Di(t=o(t,n.props),n),t.return=e,t):(Di(t=go(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=xo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=yo(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=vo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case O:return Di(n=go(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case z:return(t=xo(t,e.mode,n)).return=e,t;case D:return f(e,t=Ni(t),n)}if(G(t)||K(t))return(t=yo(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,$i(t),n);if(t.$$typeof===A)return f(e,li(e,t),n);Bi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case O:return n.key===o?u(e,t,n,r):null;case z:return n.key===o?c(e,t,n,r):null;case D:return p(e,t,n=Ni(n),r)}if(G(n)||K(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,$i(n),r);if(n.$$typeof===A)return p(e,t,li(e,n),r);Bi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case O:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case z:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case D:return h(e,t,n,r=Ni(r),o)}if(G(r)||K(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return h(e,t,n,$i(r),o);if(r.$$typeof===A)return h(e,t,n,li(t,r),o);Bi(t,r)}return null}function m(s,u,c,d){if("object"==typeof c&&null!==c&&c.type===R&&null===c.key&&void 0===c.props.ref&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case O:e:{for(var g=c.key;null!==u;){if(u.key===g){if((g=c.type)===R){if(7===u.tag){n(s,u.sibling),Di(d=o(u,c.props.children),c),d.return=s,s=d;break e}}else if(u.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===D&&Ni(g)===u.type){n(s,u.sibling),Di(d=o(u,c.props),c),d.return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}c.type===R?(Di(d=yo(c.props.children,s.mode,d,c.key),c),d.return=s,s=d):(Di(d=go(c.type,c.key,c.props,null,s.mode,d),c),d.return=s,s=d)}return l(s);case z:e:{for(g=c.key;null!==u;){if(u.key===g){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(d=o(u,c.children||[])).return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}(d=xo(c,s.mode,d)).return=s,s=d}return l(s);case D:return m(s,u,c=Ni(c),d)}if(G(c))return function(o,i,l,s){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,l[m],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===l.length)return n(o,d),$o&&Mo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return $o&&Mo(o,m),u}for(d=r(d);m<l.length;m++)null!==(g=h(d,o,m,l[m],s))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(o,e)}),$o&&Mo(o,m),u}(s,u,c,d);if(K(c)){if("function"!=typeof(g=K(c)))throw Error(i(150));return function(o,l,s,u){if(null==s)throw Error(i(151));for(var c=null,d=null,m=l,g=l=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),$o&&Mo(o,g),c;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=f(o,v.value,u))&&(l=a(v,l,g),null===d?c=v:d.sibling=v,d=v);return $o&&Mo(o,g),c}for(m=r(m);!v.done;g++,v=s.next())null!==(v=h(m,o,g,v.value,u))&&(e&&null!==(y=v.alternate)&&m.delete(null===y.key?g:y.key),l=a(v,l,g),null===d?c=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),$o&&Mo(o,g),c}(s,u,c=g.call(c),d)}if("function"==typeof c.then)return m(s,u,$i(c),d);if(c.$$typeof===A)return m(s,u,li(s,c),d);Bi(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(d=o(u,c)).return=s,s=d):(n(s,u),(d=vo(c,s.mode,d)).return=s,s=d),l(s)):n(s,u)}return function(e,t,n,r){try{ji=0;var o=m(e,t,n,r);return Li=null,o}catch(t){if(t===Ti||t===Oi)throw t;var i=fo(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var Hi=Wi(!0),Vi=Wi(!1),Ui=!1;function qi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ki(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Yi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Qi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&_c){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=so(e),lo(e,null,n),t}return oo(e,r,t,n),so(e)}function Gi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}function Xi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Zi=!1;function Ji(){if(Zi){if(null!==xi)throw xi}}function ea(e,t,n,r){Zi=!1;var o=e.updateQueue;Ui=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=-536870913&l.lane,p=f!==l.lane;if(p?(Rc&f)===f:(r&f)===f){0!==f&&f===bi&&(Zi=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,m=l;f=t;var g=n;switch(m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(g,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(g,d,f):h))break e;d=T({},d,f);break e;case 2:Ui=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===i&&(o.shared.lanes=0),$c|=a,e.lanes=a,e.memoizedState=d}}function ta(e,t){if("function"!=typeof e)throw Error(i(191,e));e.call(t)}function na(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ta(n[e],t)}var ra=ne(null),oa=ne(0);function ia(e,t){oe(oa,e=Lc),oe(ra,t),Lc=e|t.baseLanes}function aa(){oe(oa,Lc),oe(ra,ra.current)}function la(){Lc=oa.current,re(ra),re(oa)}var sa=ne(null),ua=null;function ca(e){var t=e.alternate;oe(ma,1&ma.current),oe(sa,e),null===ua&&(null===t||null!==ra.current||null!==t.memoizedState)&&(ua=e)}function da(e){oe(ma,ma.current),oe(sa,e),null===ua&&(ua=e)}function fa(e){22===e.tag?(oe(ma,ma.current),oe(sa,e),null===ua&&(ua=e)):pa()}function pa(){oe(ma,ma.current),oe(sa,sa.current)}function ha(e){re(sa),ua===e&&(ua=null),re(ma)}var ma=ne(0);function ga(e,t){oe(sa,sa.current),oe(ma,t)}function ya(e){re(ma),re(sa),ua===e&&(ua=null)}function va(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Op(n)||zp(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ba=0,xa=null,wa=null,ka=null,Sa=!1,Ca=!1,Ea=!1,Pa=0,Ta=0,_a=null,Oa=0;function za(){throw Error(i(321))}function Ra(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xr(e[n],t[n]))return!1;return!0}function Ma(e,t,n,r,o,i){return ba=i,xa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,X.H=null===e||null===e.memoizedState?Kl:Yl,Ea=!1,i=n(r,o),Ea=!1,Ca&&(i=Ia(t,n,r,o)),Na(e),i}function Na(e){X.H=ql;var t=null!==wa&&null!==wa.next;if(ba=0,ka=wa=xa=null,Sa=!1,Ta=0,_a=null,t)throw Error(i(300));null===e||cs||null!==(e=e.dependencies)&&oi(e)&&(cs=!0)}function Ia(e,t,n,r){xa=e;var o=0;do{if(Ca&&(_a=null),Ta=0,Ca=!1,25<=o)throw Error(i(301));if(o+=1,ka=wa=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}X.H=Ql,a=t(n,r)}while(Ca);return a}function Aa(){var e=X.H,t=e.useState()[0];return t="function"==typeof t.then?Ba(t):t,e=e.useState()[0],(null!==wa?wa.memoizedState:null)!==e&&(xa.flags|=1024),t}function Fa(){var e=0!==Pa;return Pa=0,e}function La(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ja(e){if(Sa){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Sa=!1}ba=0,ka=wa=xa=null,Ca=!1,Ta=Pa=0,_a=null}function $a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ka?xa.memoizedState=ka=e:ka=ka.next=e,ka}function Da(){if(null===wa){var e=xa.alternate;e=null!==e?e.memoizedState:null}else e=wa.next;var t=null===ka?xa.memoizedState:ka.next;if(null!==t)ka=t,wa=e;else{if(null===e){if(null===xa.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(wa=e).memoizedState,baseState:wa.baseState,baseQueue:wa.baseQueue,queue:wa.queue,next:null},null===ka?xa.memoizedState=ka=e:ka=ka.next=e}return ka}function Ba(e){var t=Ta;return Ta+=1,null===_a&&(_a=[]),e=Mi(_a,e,t),t=xa,null===(null===ka?t.memoizedState:ka.next)&&(t=t.alternate,X.H=null===t||null===t.memoizedState?Kl:Yl),e}function Wa(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ba(e);if(e.$$typeof===U)return;if(e.$$typeof===A)return ai(e)}throw Error(i(438,String(e)))}function Ha(e){var t=null,n=xa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=xa.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=H;return t.index++,n}function Va(e,t){return"function"==typeof t?t(e):t}function Ua(e){return qa(Da(),wa,e)}function qa(e,t,n){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var s=l=null,u=null,c=t=o.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(Rc&f)===f:(ba&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===bi&&(d=!0);else{if((ba&p)===p){c=c.next,p===bi&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,l=a):u=u.next=f,xa.lanes|=p,$c|=p}f=c.action,Ea&&n(a,f),a=c.hasEagerState?c.eagerState:n(a,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,l=a):u=u.next=p,xa.lanes|=f,$c|=f;c=c.next}while(null!==c&&c!==t);if(null===u?l=a:u.next=s,!xr(a,e.memoizedState)&&(cs=!0,d&&null!==(n=xi)))throw n;e.memoizedState=a,e.baseState=l,e.baseQueue=u,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ka(e){var t=Da(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);xr(a,t.memoizedState)||(cs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ya(e,t,n){var r=xa,o=Da(),a=$o;if(a){if(void 0===n)throw Error(i(407));n=n()}else n=t();var l=!xr((wa||o).memoizedState,n);if(l&&(o.memoizedState=n,cs=!0),o=o.queue,bl(Xa.bind(null,r,o,e),[e]),hl((e=o.getSnapshot!==t||l||null!==ka&&!!(1&ka.memoizedState.tag))?9:8,{destroy:void 0},Ga.bind(null,r,o,n,t),null),e){if(r.flags|=2048,null===Oc)throw Error(i(349));a||127&ba||Qa(r,t,n)}return n}function Qa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=xa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ga(e,t,n,r){t.value=n,t.getSnapshot=r,Za(t)&&Ja(e)}function Xa(e,t,n){return n(function(){Za(t)&&Ja(e)})}function Za(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xr(e,n)}catch(e){return!0}}function Ja(e){var t=ao(e,2);null!==t&&pd(t,e,2)}function el(e){var t=$a();if("function"==typeof e){var n=e;if(e=n(),Ea){Fe(!0);try{n()}finally{Fe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:e},t}function tl(e,t,n,r){return e.baseState=n,qa(e,wa,"function"==typeof r?r:Va)}function nl(e,t,n,r,o){if(Hl(e))throw Error(i(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==X.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,rl(t,a)):(a.next=n.next,t.pending=n.next=a)}}function rl(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=X.T,a={};a.types=null!==i?i.types:null,X.T=a;try{var l=n(o,r),s=X.S;null!==s&&s(a,l),ol(e,t,l)}catch(n){al(e,t,n)}finally{null!==i&&null!==a.types&&(i.types=a.types),X.T=i}}else try{ol(e,t,i=n(o,r))}catch(n){al(e,t,n)}}function ol(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){il(e,t,n)},function(n){return al(e,t,n)}):il(e,t,n)}function il(e,t,n){t.status="fulfilled",t.value=n,ll(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,rl(e,n)))}function al(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ll(t),t=t.next}while(t!==r)}e.action=null}function ll(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function sl(e,t){return t}function ul(e,t){if($o){var n=Oc.formState;if(null!==n){e:{var r=xa;if($o){if(jo){t:{for(var o=jo,i=Bo;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=Rp(o.nextSibling))){o=null;break t}}o="F!"===(i=o.data)||"F"===i?o:null}if(o){jo=Rp(o.nextSibling),r="F!"===o.data;break e}}Ho(r)}r=!1}r&&(t=n[0])}}return(n=$a()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:t},n.queue=r,n=Dl.bind(null,xa,r),r.dispatch=n,r=el(!1),i=Wl.bind(null,xa,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=$a()).queue=o,n=nl.bind(null,xa,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function cl(e){return dl(Da(),wa,e)}function dl(e,t,n){if(t=qa(e,t,sl)[0],e=Ua(Va)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ba(t)}catch(e){if(e===Ti)throw Oi;throw e}else r=t;var o=(t=Da()).queue,i=o.dispatch;return n!==t.memoizedState&&(xa.flags|=2048,hl(9,{destroy:void 0},fl.bind(null,o,n),null)),[r,i,e]}function fl(e,t){e.action=t}function pl(e){var t=Da(),n=wa;if(null!==n)return dl(t,n,e);Da(),t=t.memoizedState;var r=(n=Da()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function hl(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=xa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ml(){return Da().memoizedState}function gl(e,t,n,r){var o=$a();xa.flags|=e,o.memoizedState=hl(1|t,{destroy:void 0},n,void 0===r?null:r)}function yl(e,t,n,r){var o=Da();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==wa&&null!==r&&Ra(r,wa.memoizedState.deps)?o.memoizedState=hl(t,i,n,r):(xa.flags|=e,o.memoizedState=hl(1|t,i,n,r))}function vl(e,t){gl(8390656,8,e,t)}function bl(e,t){yl(2048,8,e,t)}function xl(e){var t=Da().memoizedState;return function(e){xa.flags|=4;var t=xa.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&_c)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function wl(e,t){return yl(4,2,e,t)}function kl(e,t){return yl(4,4,e,t)}function Sl(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Cl(e,t,n){n=null!=n?n.concat([e]):null,yl(4,4,Sl.bind(null,t,e),n)}function El(){}function Pl(e,t){var n=Da();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ra(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Tl(e,t){var n=Da();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ra(t,r[1]))return r[0];if(r=e(),Ea){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r}function _l(e,t,n){return void 0===n||1073741824&ba&&!(261930&Rc)?e.memoizedState=t:(e.memoizedState=n,e=dd(),xa.lanes|=e,$c|=e,n)}function Ol(e,t,n,r){return xr(n,t)?n:null!==ra.current?(e=_l(e,n,r),xr(e,t)||(cs=!0),e):106&ba&&(!(1073741824&ba)||261930&Rc)?(e=dd(),xa.lanes|=e,$c|=e,t):(cs=!0,e.memoizedState=n)}function zl(e,t,n,r,o){var i=Z.p;Z.p=0!==i&&8>i?i:8;var a,l,s,u=X.T,c={};c.types=null!==u?u.types:null,X.T=c,Wl(e,!1,t,n);try{var d=o(),f=X.S;if(null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then)Bl(e,t,(a=r,l=[],s={status:"pending",value:null,reason:null,then:function(e){l.push(e)}},d.then(function(){s.status="fulfilled",s.value=a;for(var e=0;e<l.length;e++)(0,l[e])(a)},function(e){for(s.status="rejected",s.reason=e,e=0;e<l.length;e++)(0,l[e])(void 0)}),s),cd());else Bl(e,t,r,cd())}catch(n){Bl(e,t,{then:function(){},status:"rejected",reason:n},cd())}finally{Z.p=i,null!==u&&null!==c.types&&(u.types=c.types),X.T=u}}function Rl(){}function Ml(e,t,n,r){if(5!==e.tag)throw Error(i(476));var o=Nl(e).queue;zl(e,o,t,J,null===n?Rl:function(){return Il(e),n(r)})}function Nl(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:J},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Il(e){var t=Nl(e);null===t.next&&(t=e.alternate.memoizedState),Bl(e,t.next.queue,{},cd())}function Al(){return ai(hh)}function Fl(){return Da().memoizedState}function Ll(){return Da().memoizedState}function jl(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=cd(),r=Qi(t,e=Yi(n),n);return null!==r&&(pd(r,t,n),Gi(r,t,n)),t={cache:pi()},void(e.payload=t)}t=t.return}}function $l(e,t,n){var r=cd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Hl(e)?Vl(t,n):null!==(n=io(e,t,n,r))&&(pd(n,e,r),Ul(n,t,r))}function Dl(e,t,n){Bl(e,t,n,cd())}function Bl(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hl(e))Vl(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,xr(l,a))return oo(e,t,o,0),null===Oc&&ro(),!1}catch(e){}if(null!==(n=io(e,t,o,r)))return pd(n,e,r),Ul(n,t,r),!0}return!1}function Wl(e,t,n,r){if(r={lane:2,revertLane:cf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Hl(e)){if(t)throw Error(i(479))}else null!==(t=io(e,n,r,2))&&pd(t,e,2)}function Hl(e){var t=e.alternate;return e===xa||null!==t&&t===xa}function Vl(e,t){Ca=Sa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ul(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}var ql={readContext:ai,use:Wa,useCallback:za,useContext:za,useEffect:za,useImperativeHandle:za,useLayoutEffect:za,useInsertionEffect:za,useMemo:za,useReducer:za,useRef:za,useState:za,useDebugValue:za,useDeferredValue:za,useTransition:za,useSyncExternalStore:za,useId:za,useHostTransitionStatus:za,useFormState:za,useActionState:za,useOptimistic:za,useMemoCache:za,useCacheRefresh:za,useEffectEvent:za},Kl={readContext:ai,use:Wa,useCallback:function(e,t){return $a().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:vl,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,gl(4194308,4,Sl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gl(4194308,4,e,t)},useInsertionEffect:function(e,t){gl(4,2,e,t)},useMemo:function(e,t){var n=$a();t=void 0===t?null:t;var r=e();if(Ea){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$a();if(void 0!==n){var o=n(t);if(Ea){Fe(!0);try{n(t)}finally{Fe(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=$l.bind(null,xa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$a().memoizedState=e},useState:function(e){var t=(e=el(e)).queue,n=Dl.bind(null,xa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:El,useDeferredValue:function(e,t){return _l($a(),e,t)},useTransition:function(){var e=el(!1);return e=zl.bind(null,xa,e.queue,!0,!1),$a().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=xa,o=$a();if($o){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Oc)throw Error(i(349));127&Rc||Qa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,vl(Xa.bind(null,r,a,e),[e]),r.flags|=2048,hl(9,{destroy:void 0},Ga.bind(null,r,a,n,t),null),n},useId:function(){var e=$a(),t=Oc.identifierPrefix;if($o){var n=Ro;t="_"+t+"R_"+(n=(zo&~(1<<32-Le(zo)-1)).toString(32)+n),0<(n=Pa++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Oa++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Al,useFormState:ul,useActionState:ul,useOptimistic:function(e){var t=$a();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Wl.bind(null,xa,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ha,useCacheRefresh:function(){return $a().memoizedState=jl.bind(null,xa)},useEffectEvent:function(e){var t=$a(),n={impl:e};return t.memoizedState=n,function(){if(2&_c)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Yl={readContext:ai,use:Wa,useCallback:Pl,useContext:ai,useEffect:bl,useImperativeHandle:Cl,useInsertionEffect:wl,useLayoutEffect:kl,useMemo:Tl,useReducer:Ua,useRef:ml,useState:function(){return Ua(Va)},useDebugValue:El,useDeferredValue:function(e,t){return Ol(Da(),wa.memoizedState,e,t)},useTransition:function(){var e=Ua(Va)[0],t=Da().memoizedState;return["boolean"==typeof e?e:Ba(e),t]},useSyncExternalStore:Ya,useId:Fl,useHostTransitionStatus:Al,useFormState:cl,useActionState:cl,useOptimistic:function(e,t){return tl(Da(),0,e,t)},useMemoCache:Ha,useCacheRefresh:Ll,useEffectEvent:xl},Ql={readContext:ai,use:Wa,useCallback:Pl,useContext:ai,useEffect:bl,useImperativeHandle:Cl,useInsertionEffect:wl,useLayoutEffect:kl,useMemo:Tl,useReducer:Ka,useRef:ml,useState:function(){return Ka(Va)},useDebugValue:El,useDeferredValue:function(e,t){var n=Da();return null===wa?_l(n,e,t):Ol(n,wa.memoizedState,e,t)},useTransition:function(){var e=Ka(Va)[0],t=Da().memoizedState;return["boolean"==typeof e?e:Ba(e),t]},useSyncExternalStore:Ya,useId:Fl,useHostTransitionStatus:Al,useFormState:pl,useActionState:pl,useOptimistic:function(e,t){var n=Da();return null!==wa?tl(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Ha,useCacheRefresh:Ll,useEffectEvent:xl};function Gl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Xl={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cd(),o=Yi(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Qi(e,o,r))&&(pd(t,e,r),Gi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cd(),o=Yi(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Qi(e,o,r))&&(pd(t,e,r),Gi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cd(),r=Yi(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=Qi(e,r,n))&&(pd(t,e,n),Gi(t,e,n))}};function Zl(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!wr(n,r)||!wr(o,i))}function Jl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Xl.enqueueReplaceState(t,t.state,null)}function es(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=T({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function ts(e){Jr(e)}function ns(e){console.error(e)}function rs(e){Jr(e)}function os(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function is(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function as(e,t,n){return(n=Yi(n)).tag=3,n.payload={element:null},n.callback=function(){os(e,t)},n}function ls(e){return(e=Yi(e)).tag=3,e}function ss(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=function(){return o(i)},e.callback=function(){is(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){is(t,n,r),"function"!=typeof o&&(null===Xc?Xc=new Set([this]):Xc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var us=Error(i(461)),cs=!1;function ds(e,t,n,r){t.child=null===e?Vi(t,null,n,r):Hi(t,e.child,n,r)}function fs(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var l in r)"ref"!==l&&(a[l]=r[l])}else a=r;return ii(t),r=Ma(e,t,n,a,i,o),l=Fa(),null===e||cs?($o&&l&&Io(t),t.flags|=1,ds(e,t,r,o),t.child):(La(e,t,o),js(e,t,o))}function ps(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||po(i)||void 0!==i.defaultProps||null!==n.compare?((e=go(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,hs(e,t,i,r,o))}if(i=e.child,!$s(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:wr)(a,r)&&e.ref===t.ref)return js(e,t,o)}return t.flags|=1,(e=ho(i,r)).ref=t.ref,e.return=t,t.child=e}function hs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(wr(i,r)&&e.ref===t.ref){if(cs=!1,t.pendingProps=r=i,!$s(e,o))return t.lanes=e.lanes,js(e,t,o);131072&e.flags&&(cs=!0)}}return ws(e,t,n,r,o)}function ms(e,t,n,r){var o=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(i=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~i}else r=0,t.child=null;return ys(e,t,i,n,r)}if(!(536870912&n))return r=t.lanes=536870912,ys(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ei(0,null!==i?i.cachePool:null),null!==i?ia(t,i):aa(),fa(t)}else null!==i?(Ei(0,i.cachePool),ia(t,i),pa(),t.memoizedState=null):(null!==e&&Ei(0,null),aa(),pa());return ds(e,t,o,n),t.child}function gs(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ys(e,t,n,r,o){var i=Ci();return i=null===i?null:{parent:fi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Ei(0,null),aa(),fa(t),null!==e&&ri(e,t,r,!0),t.childLanes=o,null}function vs(e,t){return(t=zs({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function bs(e,t,n){return Hi(t,e.child,null,n),(e=vs(t,t.pendingProps)).flags|=2,ha(t),t.memoizedState=null,e}function xs(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function ws(e,t,n,r,o){return ii(t),n=Ma(e,t,n,r,void 0,o),r=Fa(),null===e||cs?($o&&r&&Io(t),t.flags|=1,ds(e,t,n,o),t.child):(La(e,t,o),js(e,t,o))}function ks(e,t,n,r,o,i){return ii(t),t.updateQueue=null,n=Ia(t,r,n,o),Na(e),r=Fa(),null===e||cs?($o&&r&&Io(t),t.flags|=1,ds(e,t,n,i),t.child):(La(e,t,i),js(e,t,i))}function Ss(e,t,n,r,o){if(ii(t),null===t.stateNode){var i=uo,a=n.contextType;"object"==typeof a&&null!==a&&(i=ai(a)),i=new n(r,i),t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=Xl,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},qi(t),a=n.contextType,i.context="object"==typeof a&&null!==a?ai(a):uo,i.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Gl(t,n,a,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(a=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),a!==i.state&&Xl.enqueueReplaceState(i,i.state,null),ea(t,r,i,o),Ji(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var l=t.memoizedProps,s=es(n,l);i.props=s;var u=i.context,c=n.contextType;a=uo,"object"==typeof c&&null!==c&&(a=ai(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l||u!==a)&&Jl(t,i,r,a),Ui=!1;var f=t.memoizedState;i.state=f,ea(t,r,i,o),Ji(),u=t.memoizedState,l||f!==u||Ui?("function"==typeof d&&(Gl(t,n,d,r),u=t.memoizedState),(s=Ui||Zl(t,n,s,r,f,u,a))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=a,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ki(e,t),c=es(n,a=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,s=uo,"object"==typeof u&&null!==u&&(s=ai(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==d||f!==s)&&Jl(t,i,r,s),Ui=!1,f=t.memoizedState,i.state=f,ea(t,r,i,o),Ji();var p=t.memoizedState;a!==d||f!==p||Ui||null!==e&&null!==e.dependencies&&oi(e.dependencies)?("function"==typeof l&&(Gl(t,n,l,r),p=t.memoizedState),(c=Ui||Zl(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&oi(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,xs(e,t),r=!!(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=Hi(t,e.child,null,o),t.child=Hi(t,null,n,o)):ds(e,t,n,o),t.memoizedState=i.state,e=t.child):e=js(e,t,o),e}function Cs(e,t,n,r){return Ko(),t.flags|=256,ds(e,t,n,r),t.child}var Es={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ps(e){return{baseLanes:e,cachePool:Pi()}}function Ts(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Wc),e}function _s(e,t,n){var r,o=t.pendingProps,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&ma.current)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if($o){if(a?ca(t):pa(),(e=jo)?null!==(e=null!==(e=_p(e,Bo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Oo?{id:zo,overflow:Ro}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,Lo=t,jo=null):e=null,null===e)throw Ho(t);return zp(e)?t.lanes=32:t.lanes=536870912,null}return l=o.children,o=o.fallback,a?(pa(),l=zs({mode:"hidden",children:l},a=t.mode),o=yo(o,a,n,null),l.return=t,o.return=t,l.sibling=o,t.child=l,(o=t.child).memoizedState=Ps(n),o.childLanes=Ts(e,r,n),t.memoizedState=Es,gs(null,o)):(ca(t),Os(t,l))}var s=e.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t,n,r,o,a,l,s){if(n)return 256&t.flags?(ca(t),t.flags&=-257,Rs(e,t,s)):null!==t.memoizedState?(pa(),t.child=e.child,t.flags|=128,null):(pa(),a=o.fallback,l=t.mode,o=zs({mode:"visible",children:o.children},l),(a=yo(a,l,s,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,Hi(t,e.child,null,s),(o=t.child).memoizedState=Ps(s),o.childLanes=Ts(e,r,s),t.memoizedState=Es,gs(null,o));if(ca(t),zp(a)){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return""!==(r=u)&&((o=Error(i(419))).stack="",o.digest=r,Qo({value:o,source:null,stack:null})),Rs(e,t,s)}if(cs||ri(e,t,s,!1),r=0!==(s&e.childLanes),cs||r){if(null!==ra.current)return Rs(e,t,s);if(null!==(r=Oc)&&(0!==(o=Je(r,s))&&o!==l.retryLane))throw l.retryLane=o,ao(e,o),pd(r,e,o),us;return Op(a)||Ed(),Rs(e,t,s)}return Op(a)?(t.flags|=192,t.child=e.child,null):(e=l.treeContext,jo=Rp(a.nextSibling),Lo=t,$o=!0,Do=null,Bo=!1,null!==e&&Fo(t,e),t=Os(t,o.children),t.flags|=134221824,t)}(e,t,l,r,o,u,s,n)}return a?(pa(),a=o.fallback,l=t.mode,u=(s=e.child).sibling,(o=ho(s,{mode:"hidden",children:o.children})).subtreeFlags=1206910976&s.subtreeFlags,null!==u?a=ho(u,a):(a=yo(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,gs(null,o),o=t.child,null===(a=e.child.memoizedState)?a=Ps(n):(null!==(l=a.cachePool)?(s=fi._currentValue,l=l.parent!==s?{parent:s,pool:s}:l):l=Pi(),a={baseLanes:a.baseLanes|n,cachePool:l}),o.memoizedState=a,o.childLanes=Ts(e,r,n),t.memoizedState=Es,gs(e.child,o)):(ca(t),e=(n=e.child).sibling,(n=ho(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Os(e,t){return(t=zs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function zs(e,t){return(e=fo(22,e,null,t)).lanes=0,e}function Rs(e,t,n){return Hi(t,e.child,null,n),(e=Os(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ms(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ti(e.return,t,n)}function Ns(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===va(n)&&(t=e),e=e.sibling}return t}function Is(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.treeForkCount=i)}function As(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function Fs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;r=r.children;var a=ma.current;if(128&t.flags)return ga(0,a),null;var l=!!(2&a);if(l?(a=1&a|2,t.flags|=128):a&=1,ga(0,a),"backwards"===o&&null!==e?(As(e),ds(e,t,r,n),As(e)):ds(e,t,r,n),r=$o?Po:0,!l&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ms(e,n,t);else if(19===e.tag)Ms(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":null===(n=Ns(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,As(t)),Is(t,!0,o,null,i,r);break;case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===va(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Is(t,!0,n,null,i,r);break;case"together":Is(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=Ns(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Is(t,!1,o,n,i,r)}return t.child}function Ls(e,t,n){var r=t.pendingProps;return Jo(0,t.type,r.value),ds(e,t,r.children,n),t.child}function js(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),$c|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ri(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ho(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ho(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $s(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!oi(e))}function Ds(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)cs=!0;else{if(!($s(e,n)||128&t.flags))return cs=!1,function(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Jo(0,fi,e.memoizedState.cache),Ko();break;case 27:case 5:pe(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Jo(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,da(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return ca(t),t.flags|=128,null;r=ri(e,t,n,!1);var o=t.child.childLanes;return r||0!==(n&o)?_s(e,t,n):(ca(t),null!==(e=js(e,t,n))?e.sibling:null)}ca(t);break;case 19:if(128&t.flags)return Fs(e,t,n);if(o=!!(128&e.flags),(r=0!==(n&t.childLanes))||(ri(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return Fs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ga(0,ma.current),r)break;return null;case 22:return t.lanes=0,ms(e,t,n,t.pendingProps);case 24:Jo(0,fi,e.memoizedState.cache)}return js(e,t,n)}(e,t,n);cs=!!(131072&e.flags)}else cs=!1,$o&&1048576&t.flags&&No(t,Po,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Ni(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===F){t.tag=11,t=fs(null,t,e,r,n);break e}if(o===$){t.tag=14,t=ps(null,t,e,r,n);break e}if(o===A){t.tag=10,t.type=e,t=Ls(null,t,n);break e}}throw t=Q(e)||e,Error(i(306,t,""))}po(e)?(r=es(e,r),t.tag=1,t=Ss(null,t,e,r,n)):(t.tag=0,t=ws(null,t,e,r,n))}return t;case 0:return ws(e,t,t.type,t.pendingProps,n);case 1:return Ss(e,t,r=t.type,o=es(r,t.pendingProps),n);case 3:e:{if(de(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,Ki(e,t),ea(t,r,null,n);var l=t.memoizedState;if(r=l.cache,Jo(0,fi,r),r!==a.cache&&ni(t,[fi],n,!0),Ji(),r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cs(e,t,r,n);break e}if(r!==o){Qo(o=ko(Error(i(424)),t)),t=Cs(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(jo=Rp(e.firstChild),Lo=t,$o=!0,Do=null,Bo=!0,n=Vi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|134221824,n=n.sibling}else{if(Ko(),r===o){t=js(e,t,n);break e}ds(e,t,r,n)}t=t.child}return t;case 26:return xs(e,t),null===e?(n=Vp(t.type,null,t.pendingProps,null))?t.memoizedState=n:$o||(t.stateNode=Bf(t.type,t.pendingProps,ue.current,t)):t.memoizedState=Vp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),null===e&&$o&&(r=t.stateNode=Ap(t.type,t.pendingProps,ue.current),Lo=t,Bo=!0,o=jo,Gf(t.type)?(Mp=o,jo=Rp(r.firstChild)):jo=o),ds(e,t,t.pendingProps.children,n),xs(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&$o&&((o=r=jo)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[ft])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=Rp(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,Bo))?(t.stateNode=r,Lo=t,jo=Rp(r.firstChild),Bo=!1,o=!0):o=!1),o||Ho(t)),pe(t),o=t.type,a=t.pendingProps,l=null!==e?e.memoizedProps:null,r=a.children,Wf(o,a)?r=null:null!==l&&Wf(o,l)&&(t.flags|=32),null!==t.memoizedState&&(o=Ma(e,t,Aa,null,null,n),hh._currentValue=o),xs(e,t),ds(e,t,r,n),t.child;case 6:return null===e&&$o&&((e=n=jo)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Rp(e.nextSibling)))return null}return e}(n,t.pendingProps,Bo))?(t.stateNode=n,Lo=t,jo=null,e=!0):e=!1),e||Ho(t)),null;case 13:return _s(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Hi(t,null,r,n):ds(e,t,r,n),t.child;case 11:return fs(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,xs(e,t),ds(e,t,r,n),t.child;case 8:case 12:return ds(e,t,t.pendingProps.children,n),t.child;case 10:return Ls(e,t,n);case 9:return o=t.type._context,r=t.pendingProps.children,ii(t),r=r(o=ai(o)),t.flags|=1,ds(e,t,r,n),t.child;case 14:return ps(e,t,t.type,t.pendingProps,n);case 15:return hs(e,t,t.type,t.pendingProps,n);case 19:return Fs(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if($o){if("hidden"===r.mode)return e=vs(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},gs(null,e);if(da(t),(e=jo)?null!==(e=null!==(e=_p(e,Bo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Oo?{id:zo,overflow:Ro}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,Lo=t,jo=null):e=null,null===e)throw Ho(t);return t.lanes=536870912,null}return vs(t,r)}var a=e.memoizedState;if(null!==a){var l=a.dehydrated;if(da(t),o)if(256&t.flags)t.flags&=-257,t=bs(e,t,n);else{if(null===t.memoizedState)throw Error(i(558));t.child=e.child,t.flags|=128,t=null}else if(cs||ri(e,t,n,!1),o=0!==(n&e.childLanes),cs||o){if(null===ra.current){if(null!==(r=Oc)&&0!==(l=Je(r,n))&&l!==a.retryLane)throw a.retryLane=l,ao(e,l),pd(r,e,l),us;Ed()}t=bs(e,t,n)}else e=a.treeContext,jo=Rp(l.nextSibling),Lo=t,$o=!0,Do=null,Bo=!1,null!==e&&Fo(t,e),(t=vs(t,r)).flags|=134221824;return t}return(e=ho(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return ms(e,t,n,t.pendingProps);case 24:return ii(t),r=ai(fi),null===e?(null===(o=Ci())&&(o=Oc,a=pi(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},qi(t),Jo(0,fi,o)):(0!==(e.lanes&n)&&(Ki(e,t),ea(t,null,null,n),Ji()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Jo(0,fi,r)):(r=a.cache,Jo(0,fi,r),r!==o.cache&&ni(t,[fi],n,!0))),ds(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?18882560:18874368:$o&&Io(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:xs(e,t),ds(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Bs(e){e.flags|=4}function Ws(e,t,n,r,o){var i;if((i=!!(32&e.mode))&&(i=null===n?rh(t,r):rh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!kd())throw Ii=zi,_i;e.flags|=8192}}else e.flags&=-16777217}function Hs(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!oh(t)){if(!kd())throw Ii=zi,_i;e.flags|=8192}}function Vs(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ye():536870912,e.lanes|=t,Hc|=t)}function Us(e,t){if(!$o)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=1206910976&o.subtreeFlags,r|=1206910976&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(Ao(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return qs(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ei(fi),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(qo(t)?Bs(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,Yo())),qs(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(Bs(t),null!==a?(qs(t),Hs(t,a)):(qs(t),Ws(t,o,null,r,n))):a?a!==e.memoizedState?(Bs(t),qs(t),Hs(t,a)):(qs(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&Bs(t),qs(t),Ws(t,o,e,r,n)),null;case 27:if(he(t),n=ue.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Bs(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),t.subtreeFlags&=-33554433,null}e=le.current,qo(t)?Vo(t):(e=Ap(o,r,n),t.stateNode=e,Bs(t))}return qs(t),t.subtreeFlags&=-33554433,null;case 5:if(he(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Bs(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),t.subtreeFlags&=-33554433,null}if(a=le.current,qo(t))Vo(t);else{var l=jf(ue.current);switch(a){case 1:a=l.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=l.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=l.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=l.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=l.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?l.createElement(o,{is:r.is}):l.createElement(o)}}a[it]=t,a[at]=r;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)a.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=a;e:switch(Nf(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Bs(t)}}return qs(t),t.subtreeFlags&=-33554433,Ws(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Bs(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=ue.current,qo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=Lo))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[it]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||zf(e.nodeValue,n)))||Ho(t,!0)}else(e=jf(e).createTextNode(r))[it]=t,t.stateNode=e}return qs(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=qo(t),null!==n){if(null===e){if(!r)throw Error(i(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(i(557));e[it]=t}else Ko(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),e=!1}else n=Yo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(ha(t),t):(ha(t),null);if(128&t.flags)throw Error(i(558))}return qs(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=qo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[it]=t}else Ko(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),o=!1}else o=Yo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ha(t),t):(ha(t),null)}return ha(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Vs(t,t.updateQueue),qs(t),null);case 4:return fe(),null===e&&xf(t.stateNode.containerInfo),t.flags|=67108864,qs(t),null;case 10:return ei(t.type),qs(t),null;case 19:if(ya(t),null===(r=t.memoizedState))return qs(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)Us(r,!1);else{if(0!==jc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=va(e))){for(t.flags|=128,Us(r,!1),e=a.updateQueue,t.updateQueue=e,Vs(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)mo(n,e),n=n.sibling;return ga(0,1&ma.current|2),$o&&Mo(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&Ee()>Qc&&(t.flags|=128,o=!0,Us(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=va(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Vs(t,e),Us(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!$o)return qs(t),null}else 2*Ee()-r.renderingStartTime>Qc&&536870912!==n&&(t.flags|=128,o=!0,Us(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e:{for(n=e=r.tail;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ee(),e.sibling=null,a=ma.current,a=o?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||$o?ga(0,a):(n=a,oe(sa,t),oe(ma,n),null===ua&&(ua=t)),$o&&Mo(t,r.treeForkCount),e}return qs(t),null;case 22:case 23:return ha(t),la(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null!==(n=t.updateQueue)&&Vs(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&re(Si),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ei(fi),qs(t),null;case 25:return null;case 30:return t.flags|=33554432,qs(t),null}throw Error(i(156,t.tag))}function Ys(e,t){switch(Ao(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ei(fi),fe(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return he(t),null;case 31:if(null!==t.memoizedState){if(ha(t),null===t.alternate)throw Error(i(340));Ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ha(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));Ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ya(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return fe(),null;case 10:return ei(t.type),null;case 22:case 23:return ha(t),la(),null!==e&&re(Si),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ei(fi),null;default:return null}}function Qs(e,t){switch(Ao(t),t.tag){case 3:ei(fi),fe();break;case 26:case 27:case 5:he(t);break;case 4:fe();break;case 31:null!==t.memoizedState&&ha(t);break;case 13:ha(t);break;case 19:ya(t);break;case 10:ei(t.type);break;case 22:case 23:ha(t),la(),null!==e&&re(Si);break;case 24:ei(fi)}}function Gs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var i=n.create,a=n.inst;r=i(),a.destroy=r}n=n.next}while(n!==o)}}catch(e){Vd(t,t.return,e)}}function Xs(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,l=a.destroy;if(void 0!==l){a.destroy=void 0,o=t;var s=n,u=l;try{u()}catch(e){Vd(o,s,e)}}}r=r.next}while(r!==i)}}catch(e){Vd(t,t.return,e)}}function Zs(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{na(t,n)}catch(t){Vd(e,e.return,t)}}}function Js(e,t,n){n.props=es(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Vd(e,t,n)}}function eu(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,i=Gr(e.memoizedProps,o);null!==o.ref&&o.ref.name===i||(o.ref=ap(i)),r=o.ref;break;case 7:if(null===e.stateNode){var a=new lp(e);h(e.child,!1,Sp,a,void 0,void 0),e.stateNode=a}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){Vd(e,t,n)}}function tu(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){Vd(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){Vd(e,t,n)}else n.current=null}function nu(e,t){if((5===e.tag||27===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)Ep(e.stateNode,t[n])}function ru(e){for(var t=e.return;null!==t&&(au(t)&&Ep(e.stateNode,t.stateNode),!iu(t));)t=t.return}function ou(e){for(var t=e.return;null!==t&&(au(t)&&Pp(e.stateNode,t.stateNode),!iu(t));)t=t.return}function iu(e){return 5===e.tag||3===e.tag||27===e.tag}function au(e){return e&&7===e.tag&&null!==e.stateNode}function lu(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Vd(e,e.return,t)}}function su(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,l=null,s=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||Rf(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(_t=!0),a=h;break;case"name":h!==f&&(_t=!0),o=h;break;case"checked":h!==f&&(_t=!0),c=h;break;case"defaultChecked":h!==f&&(_t=!0),d=h;break;case"value":h!==f&&(_t=!0),l=h;break;case"defaultValue":h!==f&&(_t=!0),s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(i(137,t));break;default:h!==f&&Rf(e,t,p,h,r,f)}}return void $t(e,l,s,u,c,d,a,o);case"select":for(a in h=l=s=p=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(a)||Rf(e,t,a,null,r,u)}for(o in r)if(a=r[o],u=n[o],r.hasOwnProperty(o)&&(null!=a||null!=u))switch(o){case"value":a!==u&&(_t=!0),p=a;break;case"defaultValue":a!==u&&(_t=!0),s=a;break;case"multiple":a!==u&&(_t=!0),l=a;default:a!==u&&Rf(e,t,o,a,r,u)}return t=s,n=l,r=h,void(null!=p?Wt(e,!!n,p,!1):!!r!=!!n&&(null!=t?Wt(e,!!n,t,!0):Wt(e,!!n,n?[]:"",!1)));case"textarea":for(s in h=p=null,n)if(o=n[s],n.hasOwnProperty(s)&&null!=o&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:Rf(e,t,s,null,r,o)}for(l in r)if(o=r[l],a=n[l],r.hasOwnProperty(l)&&(null!=o||null!=a))switch(l){case"value":o!==a&&(_t=!0),p=o;break;case"defaultValue":o!==a&&(_t=!0),h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o!==a&&Rf(e,t,l,o,r,a)}return void Ht(e,p,h);case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else Rf(e,t,m,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if("selected"===u)p!==h&&(_t=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else Rf(e,t,u,p,r,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&Rf(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(i(137,t));break;default:Rf(e,t,c,p,r,h)}return;default:if(Qt(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&Mf(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||Mf(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&Rf(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||Rf(e,t,f,p,r,h)}(r,e.type,n,t),r[at]=t}catch(t){Vd(e,e.return,t)}}function uu(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Gf(e.type)||4===e.tag}function cu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Gf(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function du(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(o,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(o),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jt)),nu(e,r),_t=!0;else if(4!==o&&(27===o&&(nu(e,r),r=null,Gf(e.type)&&(n=e.stateNode,t=null)),null!==(e=e.child)))for(du(e,t,n,r),e=e.sibling;null!==e;)du(e,t,n,r),e=e.sibling}function fu(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),nu(e,r),_t=!0;else if(4!==o&&(27===o&&(nu(e,r),r=null,Gf(e.type)&&(n=e.stateNode)),null!==(e=e.child)))for(fu(e,t,n,r),e=e.sibling;null!==e;)fu(e,t,n,r),e=e.sibling}function pu(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Nf(t,r,n),t[it]=e,t[at]=n}catch(t){Vd(e,e.return,t)}}var hu=!1,mu=null;function gu(e){(30===e.tag||33554432&e.subtreeFlags)&&(hu=!0)}var yu=null;function vu(){var e=yu;return yu=null,e}var bu=0;function xu(e,t,n,r,o){return bu=0,wu(e.child,t,n,r,o)}function wu(e,t,n,r,o){for(var i=!1;null!==e;){if(5===e.tag){var a=e.stateNode;if(null!==r){var l=np(a);r.push(l),l.view&&(i=!0)}else i||np(a).view&&(i=!0);hu=!0,Jf(a,0===bu?t:t+"_"+bu,n),bu++}else 22===e.tag&&null!==e.memoizedState||30===e.tag&&o||wu(e.child,t,n,r,o)&&(i=!0);e=e.sibling}return i}function ku(e,t){for(;null!==e;)5===e.tag?ep(e.stateNode,e.memoizedProps):22===e.tag&&null!==e.memoizedState||30===e.tag&&t||ku(e.child,t),e=e.sibling}function Su(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(Su(e),30===e.tag&&18874368&e.flags&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(i(544));var n=t.name;"none"!==(t=Zr(t.default,t.share))&&(xu(e,n,t,null,!1)||ku(e.child,!1))}e=e.sibling}}function Cu(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,o=Gr(r,n),i=Zr(r.default,n.paired?r.share:r.enter);"none"!==i?xu(e,o,i,null,!1)?(Su(e),n.paired||t||fd(e,r.onEnter)):ku(e.child,!1):Su(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Cu(e,t),e=e.sibling;else Su(e)}function Eu(e){if(null!==mu&&0!==mu.size){var t=mu;if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var o=t.get(r);if(void 0!==o){var i=Zr(n.default,n.share);if("none"!==i&&(xu(e,r,i,null,!1)?(i=e.stateNode,o.paired=i,i.paired=o,fd(e,n.onShare)):ku(e.child,!1)),t.delete(r),0===t.size)break}}}Eu(e)}e=e.sibling}}}function Pu(e){if(30===e.tag){var t=e.memoizedProps,n=Gr(t,e.stateNode),r=null!==mu?mu.get(n):void 0,o=Zr(t.default,void 0!==r?t.share:t.exit);"none"!==o&&(xu(e,n,o,null,!1)?void 0!==r?(o=e.stateNode,r.paired=o,o.paired=r,mu.delete(n),fd(e,t.onShare)):fd(e,t.onExit):ku(e.child,!1)),null!==mu&&Eu(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Pu(e),e=e.sibling;else null!==mu&&Eu(e)}function Tu(e){for(e=e.child;null!==e;){if(30===e.tag){var t=e.memoizedProps,n=Gr(t,e.stateNode);t=Zr(t.default,t.update),e.flags&=-5,"none"!==t&&xu(e,n,t,e.memoizedState=[],!1)}else 33554432&e.subtreeFlags&&Tu(e);e=e.sibling}}function _u(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var t=e.stateNode;null!==t.paired&&(t.paired=null,ku(e.child,!1))}_u(e)}e=e.sibling}}function Ou(e){if(30===e.tag)e.stateNode.paired=null,ku(e.child,!1),_u(e);else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Ou(e),e=e.sibling;else _u(e)}function zu(e){for(e=e.child;null!==e;)30===e.tag?ku(e.child,!1):!!(33554432&e.subtreeFlags)&&zu(e),e=e.sibling}function Ru(e,t,n,r,o,i,a){for(var l=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==i&&bu<i.length){var u,c=i[bu],d=np(s);if((c.view||d.view)&&(l=!0),u=!(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;4&e.flags&&Jf(s,0===bu?n:n+"_"+bu,o),l&&4&e.flags||(null===yu&&(yu=[]),yu.push(s,0===bu?r:r+"_"+bu,t.memoizedProps)),bu++}else 22===t.tag&&null!==t.memoizedState||(30===t.tag&&a?e.flags|=32&t.flags:Ru(e,t.child,n,r,o,i,a)&&(l=!0));t=t.sibling}return l}function Mu(e,t){for(e=e.child;null!==e;){if(30===e.tag){var n=e.memoizedProps,r=e.stateNode,o=Gr(n,r),i=Zr(n.default,n.update);if(t)var a=null===(r=r.clones)?null:r.map(rp);else a=e.memoizedState,e.memoizedState=null;r=e;var l=e.child;bu=0,o=Ru(r,l,o,o,i,a,!1),4&e.flags&&o&&(t||fd(e,n.onUpdate))}else 33554432&e.subtreeFlags&&Mu(e,t);e=e.sibling}}var Nu=!1,Iu=!1,Au=!1,Fu=!1,Lu="function"==typeof WeakSet?WeakSet:Set,ju=null,$u=!1,Du=!1,Bu=!1,Wu=!1;function Hu(e){for(;null!==ju;){var t=ju,n=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&o&&null!==r){n=void 0,o=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var l=es(t.type,o);n=a.getSnapshotBeforeUpdate(l,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){Vd(t,t.return,e)}}break;case 3:if(1024&o)if(9===(n=(r=t.stateNode.containerInfo).nodeType))Tp(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Tp(r);break;default:r.textContent=""}break;case 30:n&&null!==r&&(n=Gr(r.memoizedProps,r.stateNode),"none"!==(o=Zr((o=t.memoizedProps).default,o.update))&&xu(r,n,o,r.memoizedState=[],!0));break;default:if(1024&o)throw Error(i(163))}if(null!==(r=t.sibling)){r.return=t.return,ju=r;break}ju=t.return}}function Vu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:uc(e,n),4&r&&Gs(5,n);break;case 1:if(uc(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){Vd(n,n.return,e)}else{var o=es(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Vd(n,n.return,e)}}64&r&&Zs(n),512&r&&eu(n,n.return);break;case 3:if(uc(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{na(e,t)}catch(e){Vd(n,n.return,e)}}break;case 27:null===t&&4&r&&pu(n);case 26:case 5:uc(e,n),null===t&&4&r&&lu(n),512&r&&eu(n,n.return);break;case 12:uc(e,n);break;case 31:uc(e,n),4&r&&Ju(e,n);break;case 13:uc(e,n),4&r&&ec(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Yd.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Nu)){var i=null!==t&&null!==t.memoizedState||Iu;t=Nu,o=Iu,Nu=r,(Iu=i)&&!o?(r=2,!!(8772&n.subtreeFlags)&&(r|=1),dc(e,n,r)):uc(e,n),Nu=t,Iu=o}break;case 30:uc(e,n),512&r&&eu(n,n.return);break;case 7:512&r&&eu(n,n.return);default:uc(e,n)}}function Uu(e,t){for(e=e.child;null!==e;)qu(e,t),e=e.sibling}function qu(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;"function"==typeof r.setProperty?r.setProperty("display","none","important"):r.display="none"}else{var o=e.stateNode,i=e.memoizedProps.style,a=null!=i&&i.hasOwnProperty("display")?i.display:null;o.style.display=null==a||"boolean"==typeof a?"":(""+a).trim()}}catch(t){Vd(e,e.return,t)}Ku(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,_t=!0}catch(t){Vd(e,e.return,t)}break;case 18:try{var l=e.stateNode;t?Zf(l,!0):Zf(e.stateNode,!1)}catch(t){Vd(e,e.return,t)}break;case 22:case 23:null===e.memoizedState&&Uu(e,t);break;default:Uu(e,t)}}function Ku(e,t){if(67108864&e.subtreeFlags)for(e=e.child;null!==e;){e:{var n=e,r=t;switch(n.tag){case 4:qu(n,r);break e;case 22:null===n.memoizedState&&Ku(n,r);break e;default:Ku(n,r)}}e=e.sibling}}function Yu(e){var t=e.alternate;null!==t&&(e.alternate=null,Yu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ht(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Qu=null,Gu=!1;function Xu(e,t,n){for(n=n.child;null!==n;)Zu(e,t,n),n=n.sibling}function Zu(e,t,n){if(Ae&&"function"==typeof Ae.onCommitFiberUnmount)try{Ae.onCommitFiberUnmount(Ie,n)}catch(e){}switch(n.tag){case 26:Iu||tu(n,t),Xu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Iu&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Iu||tu(n,t),ou(n);var r=Qu,o=Gu;Gf(n.type)&&(Qu=n.stateNode,Gu=!1),Xu(e,t,n),Fp(n.stateNode,n.type,n.memoizedProps),Qu=r,Gu=o;break;case 5:Iu||tu(n,t),ou(n);case 6:if(6===n.tag&&ou(n),r=Qu,o=Gu,Qu=null,Xu(e,t,n),Gu=o,null!==(Qu=r))if(Gu)try{(9===Qu.nodeType?Qu.body:"HTML"===Qu.nodeName?Qu.ownerDocument.body:Qu).removeChild(n.stateNode),_t=!0}catch(e){Vd(n,t,e)}else try{Qu.removeChild(n.stateNode),_t=!0}catch(e){Vd(n,t,e)}break;case 18:null!==Qu&&(Gu?(Xf(9===(e=Qu).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Yh(e)):Xf(Qu,n.stateNode));break;case 4:r=Qu,o=Gu,Qu=n.stateNode.containerInfo,Gu=!0,Xu(e,t,n),Qu=r,Gu=o;break;case 0:case 11:case 14:case 15:Xs(2,n,t),Iu||Xs(4,n,t),Xu(e,t,n);break;case 1:Iu||(tu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&Js(n,t,r)),Xu(e,t,n);break;case 21:Xu(e,t,n);break;case 22:Iu=(r=Iu)||null!==n.memoizedState,Xu(e,t,n),Iu=r;break;case 30:tu(n,t),Xu(e,t,n);break;case 7:Iu||tu(n,t),Xu(e,t,n);break;default:Xu(e,t,n)}}function Ju(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Yh(e)}catch(e){Vd(t,t.return,e)}}}function ec(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Yh(e)}catch(e){Vd(t,t.return,e)}}function tc(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Lu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Lu),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Qd.bind(null,e,t);t.then(r,r)}})}function nc(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],l=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 27:if(Gf(u.type)){Qu=u.stateNode,Gu=!1;break e}break;case 5:Qu=u.stateNode,Gu=!1;break e;case 3:case 4:Qu=u.stateNode.containerInfo,Gu=!0;break e}u=u.return}if(null===Qu)throw Error(i(160));Zu(l,s,a),Qu=null,Gu=!1,null!==(l=a.alternate)&&(l.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)oc(t,e,n),t=t.sibling}var rc=null;function oc(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(4&o&&null!==(r=null!==(r=e.updateQueue)?r.events:null))for(var a=0;a<r.length;a++){var l=r[a];l.ref.impl=l.nextImpl}nc(t,e,n),ic(e),4&o&&(Xs(3,e,e.return),Gs(3,e),Xs(5,e,e.return));break;case 1:nc(t,e,n),ic(e),512&o&&(Iu||null===r||tu(r,r.return)),64&o&&Nu&&(null!==(e=e.updateQueue)&&(null!==(t=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?t:n.concat(t))));break;case 26:if(a=rc,nc(t,e,n),ic(e),512&o&&(Iu||null===r||tu(r,r.return)),4&o)if(o=null!==r?r.memoizedState:null,n=e.memoizedState,null===r)if(null===n)if(null===e.stateNode)if(Nu)e.stateNode=Bf(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,o=a.ownerDocument||a;t:switch(t){case"title":(!(r=o.getElementsByTagName("title")[0])||r[ft]||r[it]||"http://www.w3.org/2000/svg"===r.namespaceURI||r.hasAttribute("itemprop"))&&(r=o.createElement(t),o.head.insertBefore(r,o.querySelector("head > title"))),Nf(r,t,n),r[it]=e,bt(r),t=r;break e;case"link":if(a=th("link","href",o).get(t+(n.href||"")))for(l=0;l<a.length;l++)if((r=a[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&r.getAttribute("rel")===(null==n.rel?null:n.rel)&&r.getAttribute("title")===(null==n.title?null:n.title)&&r.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){a.splice(l,1);break t}Nf(r=o.createElement(t),t,n),o.head.appendChild(r);break;case"meta":if(a=th("meta","content",o).get(t+(n.content||"")))for(l=0;l<a.length;l++)if((r=a[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&r.getAttribute("name")===(null==n.name?null:n.name)&&r.getAttribute("property")===(null==n.property?null:n.property)&&r.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&r.getAttribute("charset")===(null==n.charSet?null:n.charSet)){a.splice(l,1);break t}Nf(r=o.createElement(t),t,n),o.head.appendChild(r);break;default:throw Error(i(468,t))}r[it]=e,bt(r),t=r}e.stateNode=t}else Nu||nh(a,e.type,e.stateNode);else e.stateNode=Gp(a,n,e.memoizedProps);else o!==n?(null===o?null===(t=r.stateNode)||Iu||t.parentNode.removeChild(t):o.count--,null===n?Nu||nh(a,e.type,e.stateNode):Gp(a,n,e.memoizedProps)):null===n&&null!==e.stateNode&&su(e,e.memoizedProps,r.memoizedProps);break;case 27:nc(t,e,n),ic(e),512&o&&(Iu||null===r||tu(r,r.return)),null!==r&&4&o&&su(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=Au,Au=!1,nc(t,e,n),Au=a,ic(e),512&o&&(Iu||null===r||tu(r,r.return)),32&e.flags){t=e.stateNode;try{Ut(t,""),_t=!0}catch(t){Vd(e,e.return,t)}}4&o&&null!=e.stateNode&&su(e,t=e.memoizedProps,null!==r?r.memoizedProps:t),1024&o&&(Fu=!0);break;case 6:if(nc(t,e,n),ic(e),4&o){if(null===e.stateNode)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,_t=!0}catch(t){Vd(e,e.return,t)}}break;case 3:if(_t=!1,eh=null,a=rc,rc=Dp(t.containerInfo),nc(t,e,n),rc=a,ic(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Yh(t.containerInfo)}catch(t){Vd(e,e.return,t)}Fu&&(Fu=!1,ac(e)),_t=!1;break;case 4:o=Au,Au=Nu,r=Ot(),a=rc,rc=Dp(e.stateNode.containerInfo),nc(t,e,n),ic(e),rc=a,_t&&Du&&(Bu=!0),_t=r,Au=o;break;case 12:nc(t,e,n),ic(e);break;case 31:nc(t,e,n),ic(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 13:nc(t,e,n),ic(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(Kc=Ee()),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 22:a=null!==e.memoizedState,l=null!==r&&null!==r.memoizedState;var s=Nu,u=Iu,c=Au;Nu=s||a,Au=c||a,Iu=u||l,nc(t,e,n),Iu=u,Au=c,Nu=s,ic(e),8192&o&&((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,!a||null===r||l||Nu||Iu||(n=Nu,r=Iu,Nu=a||Nu,Iu=t=l||Iu,cc(e,2),Nu=n,Iu=r),!a&&Au||Uu(e,a)),4&o&&(null!==(t=e.updateQueue)&&(null!==(n=t.retryQueue)&&(t.retryQueue=null,tc(e,n))));break;case 19:nc(t,e,n),ic(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 30:512&o&&(Iu||null===r||tu(r,r.return)),o=Ot(),a=Du,l=(335544064&n)===n,s=e.memoizedProps,Du=l&&"none"!==Zr(s.default,s.update),nc(t,e,n),ic(e),l&&null!==r&&_t&&(e.flags|=4),Du=a,_t=o;break;case 21:break;case 7:512&o&&(Iu||null===r||tu(r,r.return)),r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:nc(t,e,n),ic(e)}}function ic(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(uu(r)){n=r;break}r=r.return}r=null;for(var o=e.return;null!==o;){if(au(o)){var a=o.stateNode;null===r?r=[a]:r.push(a)}if(iu(o))break;o=o.return}var l=r;if(null==n)throw Error(i(160));switch(n.tag){case 27:var s=n.stateNode;fu(e,cu(e),s,l);break;case 5:var u=n.stateNode;32&n.flags&&(Ut(u,""),n.flags&=-33),fu(e,cu(e),u,l);break;case 3:case 4:var c=n.stateNode.containerInfo;du(e,cu(e),c,l);break;default:throw Error(i(161))}}catch(t){Vd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ac(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;ac(t),5===t.tag&&1024&t.flags&&(t=t.stateNode,Sh=!0,t.reset(),Sh=!1),e=e.sibling}}function lc(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)sc(t,e),t=t.sibling;else Mu(t,!1)}function sc(e,t){var n=e.alternate;if(null===n)Cu(e,!1);else switch(e.tag){case 3:if(Wu=$u=!1,vu(),lc(t,e),!$u&&!Bu){if(null!==(e=yu))for(var r=0;r<e.length;r+=3){n=e[r];var o=e[r+1];ep(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Wu=!0}yu=null;break;case 5:default:lc(t,e);break;case 4:r=$u,$u=!1,lc(t,e),$u&&(Bu=!0),$u=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?Cu(e,!1):lc(t,e));break;case 30:r=$u,o=vu(),$u=!1,lc(t,e),$u&&(e.flags|=4);var i=e.memoizedProps,a=e.stateNode;t=Gr(i,a),a=Gr(n.memoizedProps,a);var l=Zr(i.default,i.update);"none"===l?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,bu=0,t=Ru(e,n,t,a,l,i,!0),bu!==(null===i?0:i.length)&&(e.flags|=32)),4&e.flags&&t?(fd(e,e.memoizedProps.onUpdate),yu=o):null!==o&&(o.push.apply(o,yu),yu=o),$u=!!(32&e.flags)||r}}function uc(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Vu(e,t.alternate,t),t=t.sibling}function cc(e,t){for(e=e.child;null!==e;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Xs(4,n,n.return),cc(n,r);break;case 1:tu(n,n.return);var o=n.stateNode;"function"==typeof o.componentWillUnmount&&Js(n,n.return,o),cc(n,r);break;case 27:2&r&&Fp(n.stateNode,n.type,n.memoizedProps);case 5:tu(n,n.return),5!==n.tag&&27!==n.tag||ou(n),cc(n,r);break;case 6:ou(n);break;case 26:tu(n,n.return),o=n.stateNode,null!==n.memoizedState||null===o||Iu||o.parentNode.removeChild(o),cc(n,r);break;case 22:null===n.memoizedState&&cc(n,r);break;case 30:tu(n,n.return),cc(n,r);break;case 7:tu(n,n.return);default:cc(n,r)}e=e.sibling}}function dc(e,t,n){for(n=8772&t.subtreeFlags?n:-2&n,t=t.child;null!==t;){var r=t.alternate,o=e,i=t,a=i.flags,l=!!(1&n);switch(i.tag){case 0:case 11:case 15:dc(o,i,n),Gs(4,i);break;case 1:if(dc(o,i,n),"function"==typeof(o=(r=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){Vd(r,r.return,e)}if(null!==(o=(r=i).updateQueue)){var s=r.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)ta(u[o],s)}catch(e){Vd(r,r.return,e)}}l&&64&a&&Zs(i),eu(i,i.return);break;case 27:2&n&&pu(i);case 5:5!==i.tag&&27!==i.tag||ru(i),dc(o,i,n),l&&null===r&&4&a&&lu(i),eu(i,i.return);break;case 6:ru(i);break;case 26:s=i.stateNode,null!==i.memoizedState||null===s||Nu||nh(Dp(s.ownerDocument),i.type,s),dc(o,i,n),l&&null===r&&4&a&&lu(i),eu(i,i.return);break;case 12:dc(o,i,n);break;case 31:dc(o,i,n),l&&4&a&&Ju(o,i);break;case 13:dc(o,i,n),l&&4&a&&ec(o,i);break;case 22:null===i.memoizedState&&dc(o,i,n),eu(i,i.return);break;case 30:dc(o,i,n),eu(i,i.return);break;case 7:eu(i,i.return);default:dc(o,i,n)}t=t.sibling}}function fc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&hi(n))}function pc(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&hi(e))}function hc(e,t,n,r){var o=(335544064&n)===n;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;null!==t;)mc(e,t,n,r),t=t.sibling;else o&&zu(t)}function mc(e,t,n,r){var o=(335544064&n)===n;o&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&Ou(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:hc(e,t,n,r),2048&i&&Gs(9,t);break;case 1:case 31:case 13:default:hc(e,t,n,r);break;case 3:hc(e,t,n,r),o&&Wu&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&hi(i)));break;case 12:if(2048&i){hc(e,t,n,r),i=t.stateNode;try{var a=t.memoizedProps,l=a.id,s=a.onPostCommit;"function"==typeof s&&s(l,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){Vd(t,t.return,e)}}else hc(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,l=t.alternate,null!==t.memoizedState?(o&&null!==l&&null===l.memoizedState&&Ou(l),2&a._visibility?hc(e,t,n,r):yc(e,t)):(o&&null!==l&&null!==l.memoizedState&&Ou(t),2&a._visibility?hc(e,t,n,r):(a._visibility|=2,gc(e,t,n,r,!!(10256&t.subtreeFlags)||!1))),2048&i&&fc(l,t);break;case 24:hc(e,t,n,r),2048&i&&pc(t.alternate,t);break;case 30:o&&(null!==(i=t.alternate)&&(ku(i.child,!0),ku(t.child,!0))),hc(e,t,n,r)}}function gc(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var i=e,a=t,l=n,s=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:gc(i,a,l,s,o),Gs(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?gc(i,a,l,s,o):yc(i,a):(c._visibility|=2,gc(i,a,l,s,o)),o&&2048&u&&fc(a.alternate,a);break;case 24:gc(i,a,l,s,o),o&&2048&u&&pc(a.alternate,a);break;default:gc(i,a,l,s,o)}t=t.sibling}}function yc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:yc(n,r),2048&o&&fc(r.alternate,r);break;case 24:yc(n,r),2048&o&&pc(r.alternate,r);break;default:yc(n,r)}t=t.sibling}}var vc=8192;function bc(e,t,n){if(e.subtreeFlags&vc)for(e=e.child;null!==e;)xc(e,t,n),e=e.sibling}function xc(e,t,n){switch(e.tag){case 26:bc(e,t,n),e.flags&vc&&(null!==e.memoizedState?function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Up(r.href),i=t.querySelector(qp(o));if(i)return null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=uh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,void bt(i);i=t.ownerDocument||t,r=Kp(r),(o=jp.get(o))&&Zp(r,o),bt(i=i.createElement("link"));var a=i;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),Nf(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=uh.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,rc,e.memoizedState,e.memoizedProps):(e=e.stateNode,(335544128&t)===t&&ah(n,e)));break;case 5:bc(e,t,n),e.flags&vc&&(e=e.stateNode,(335544128&t)===t&&ah(n,e));break;case 3:case 4:var r=rc;rc=Dp(e.stateNode.containerInfo),bc(e,t,n),rc=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=vc,vc=16777216,bc(e,t,n),vc=r):bc(e,t,n));break;case 30:if(0!==(e.flags&vc)&&(null!=(r=e.memoizedProps.name)&&"auto"!==r)){var o=e.stateNode;o.paired=null,null===mu&&(mu=new Map),mu.set(r,o)}bc(e,t,n);break;default:bc(e,t,n)}}function wc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function kc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ju=r,Ec(r,e)}wc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Sc(e),e=e.sibling}function Sc(e){switch(e.tag){case 0:case 11:case 15:kc(e),2048&e.flags&&Xs(9,e,e.return);break;case 3:case 12:default:kc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,Cc(e)):kc(e)}}function Cc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ju=r,Ec(r,e)}wc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:Xs(8,t,t.return),Cc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,Cc(t));break;default:Cc(t)}e=e.sibling}}function Ec(e,t){for(;null!==ju;){var n=ju;switch(n.tag){case 0:case 11:case 15:Xs(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:hi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,ju=r;else e:for(n=e;null!==ju;){var o=(r=ju).sibling,i=r.return;if(Yu(r),r===n){ju=null;break e}if(null!==o){o.return=i,ju=o;break e}ju=i}}}var Pc={getCacheForType:function(e){var t=ai(fi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ai(fi).controller.signal}},Tc="function"==typeof WeakMap?WeakMap:Map,_c=0,Oc=null,zc=null,Rc=0,Mc=0,Nc=null,Ic=!1,Ac=!1,Fc=!1,Lc=0,jc=0,$c=0,Dc=0,Bc=0,Wc=0,Hc=0,Vc=null,Uc=null,qc=!1,Kc=0,Yc=0,Qc=1/0,Gc=null,Xc=null,Zc=0,Jc=null,ed=null,td=0,nd=0,rd=null,od=null,id=null,ad=null,ld=null,sd=0,ud=null;function cd(){return 2&_c&&0!==Rc?Rc&-Rc:null!==X.T?cf():nt()}function dd(){if(0===Wc)if(536870912&Rc&&!$o)Wc=536870912;else{var e=Be;!(3932160&(Be<<=1))&&(Be=262144),Wc=e}return null!==(e=sa.current)&&(e.flags|=32),Wc}function fd(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=ap(Gr(e.memoizedProps,n))),null===ad&&(ad=[]),ad.push(t.bind(null,r))}}function pd(e,t,n){(e!==Oc||2!==Mc&&9!==Mc)&&null===e.cancelPendingCommit||(xd(e,0),yd(e,Rc,Wc,!1)),Ge(e,n),2&_c&&e===Oc||(e===Oc&&(!(2&_c)&&(Dc|=n),4===jc&&yd(e,Rc,Wc,!1)),nf(e))}function hd(e,t,n){if(6&_c)throw Error(i(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||Ue(e,t),o=r?function(e,t){var n=_c;_c|=2;var r=Sd(),o=Cd();Oc!==e||Rc!==t?(Gc=null,Qc=Ee()+500,xd(e,t)):Ac=Ue(e,t);e:for(;;)try{if(0!==Mc&&null!==zc){t=zc;var a=Nc;t:switch(Mc){case 1:Mc=0,Nc=null,Rd(e,t,a,1);break;case 2:case 9:if(Ri(a)){Mc=0,Nc=null,zd(t);break}t=function(){2!==Mc&&9!==Mc||Oc!==e||(Mc=7),nf(e)},a.then(t,t);break e;case 3:Mc=7;break e;case 4:Mc=5;break e;case 7:Ri(a)?(Mc=0,Nc=null,zd(t)):(Mc=0,Nc=null,Rd(e,t,a,7));break;case 5:var l=null;switch(zc.tag){case 26:l=zc.memoizedState;case 5:case 27:var s=zc;if(l?oh(l):s.stateNode.complete){Mc=0,Nc=null;var u=s.sibling;if(null!==u)zc=u;else{var c=s.return;null!==c?(zc=c,Md(c)):zc=null}break t}}Mc=0,Nc=null,Rd(e,t,a,5);break;case 6:Mc=0,Nc=null,Rd(e,t,a,6);break;case 8:bd(),jc=6;break e;default:throw Error(i(462))}}_d();break}catch(t){wd(e,t)}return Zo=Xo=null,X.H=r,X.A=o,_c=n,null!==zc?0:(Oc=null,Rc=0,ro(),jc)}(e,t):Pd(e,t,!0),a=r;;){if(0===o){Ac&&!r&&yd(e,t,0,!1);break}if(n=e.current.alternate,!a||gd(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var l=0;else l=0!==(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var s=e;o=Vc;var u=s.current.memoizedState.isDehydrated;if(u&&(xd(s,l).flags|=256),2!==(l=Pd(s,l,!1))&&6!==l){if(Fc&&!u){s.errorRecoveryDisabledLanes|=a,Dc|=a,o=4;break e}a=Uc,Uc=o,null!==a&&(null===Uc?Uc=a:Uc.push.apply(Uc,a))}o=l}if(a=!1,2!==o)continue}}if(1===o){xd(e,0),yd(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t&&(62914560&t)!==t)break;case 6:yd(r,t,Wc,!Ic);break e;case 2:Uc=null;break;case 3:case 5:break;default:throw Error(i(329))}if((62914560&t)===t&&10<(o=Kc+300-Ee())){if(yd(r,t,Wc,!Ic),0!==Ve(r,0,!0))break e;td=t,r.timeoutHandle=Vf(md.bind(null,r,n,Uc,Gc,qc,t,Wc,Dc,Hc,Ic,a,"Throttled",-0,0),o)}else md(r,n,Uc,Gc,qc,t,Wc,Dc,Hc,Ic,a,null,-0,0)}break}o=Pd(e,t,!1),a=!1}nf(e)}function md(e,t,n,r,o,i,a,l,s,u,c,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(335544064&i)===i;if(d=null,(y||8192&g||!(16785408&~g))&&(mu=null,xc(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jt}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=uh.bind(g),y.finished.then(g,g))),g=(62914560&i)===i?Kc-Ee():(4194048&i)===i?Yc-Ee():0,m=g,(h=d).stylesheets&&0===h.count&&fh(h,h.stylesheets),null!==(g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===lh&&(lh=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],i=o.transferSize,a=o.initiatorType,l=o.duration;if(i&&l&&Af(a)){for(a=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&Af(d)&&(a+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(i+a)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>lh?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)))return td=i,e.cancelPendingCommit=g(Id.bind(null,e,t,i,n,r,o,a,l,s,u,c,d,null,f,p)),void yd(e,i,a,!u);Id(e,t,i,n,r,o,a,l,s,u,c,d)}function gd(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!xr(i(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yd(e,t,n,r){t=qe(e,t),t&=~Bc,t&=~Dc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-Le(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&Xe(e,n,t)}function vd(){return!!(6&_c)||(rf(0,!1),!1)}function bd(){if(null!==zc){if(0===Mc)var e=zc.return;else Zo=Xo=null,ja(e=zc),Li=null,ji=0,e=zc;for(;null!==e;)Qs(e.alternate,e),e=e.return;zc=null}}function xd(e,t){var n=e.timeoutHandle;return-1!==n&&(e.timeoutHandle=-1,Uf(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),td=0,bd(),Oc=e,zc=n=ho(e.current,null),Rc=t,Mc=0,Nc=null,Ic=!1,Ac=Ue(e,t),Fc=!1,Hc=Wc=Bc=Dc=$c=jc=0,Uc=Vc=null,qc=!1,Lc=qe(e,t),ro(),n}function wd(e,t){xa=null,X.H=ql,t===Ti||t===Oi?(t=Ai(),Mc=3):t===_i?(t=Ai(),Mc=4):Mc=t===us?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,Nc=t,null===zc&&(jc=1,os(e,ko(t,e.current)))}function kd(){var e=sa.current;return null===e||((4194048&Rc)===Rc?null===ua:!!((62914560&Rc)===Rc||536870912&Rc)&&e===ua)}function Sd(){var e=X.H;return X.H=ql,null===e?ql:e}function Cd(){var e=X.A;return X.A=Pc,e}function Ed(){jc=4,Ic||(4194048&Rc)!==Rc&&null!==sa.current||(Ac=!0),!(134217727&$c)&&!(134217727&Dc)||null===Oc||yd(Oc,Rc,Wc,!1)}function Pd(e,t,n){var r=_c;_c|=2;var o=Sd(),i=Cd();Oc===e&&Rc===t||(Gc=null,xd(e,t)),t=!1;var a=jc;e:for(;;)try{if(0!==Mc&&null!==zc){var l=zc,s=Nc;switch(Mc){case 8:bd(),a=6;break e;case 3:case 2:case 9:case 6:null===sa.current&&(t=!0);var u=Mc;if(Mc=0,Nc=null,Rd(e,l,s,u),n&&Ac){a=0;break e}break;default:u=Mc,Mc=0,Nc=null,Rd(e,l,s,u)}}Td(),a=jc;break}catch(t){wd(e,t)}return t&&e.shellSuspendCounter++,Zo=Xo=null,_c=r,X.H=o,X.A=i,null===zc&&(Oc=null,Rc=0,ro()),a}function Td(){for(;null!==zc;)Od(zc)}function _d(){for(;null!==zc&&!Se();)Od(zc)}function Od(e){var t=Ds(e.alternate,e,Lc);e.memoizedProps=e.pendingProps,null===t?Md(e):zc=t}function zd(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ks(n,t,t.pendingProps,t.type,void 0,Rc);break;case 11:t=ks(n,t,t.pendingProps,t.type.render,t.ref,Rc);break;case 5:ja(t);var r=t;r===Lo&&($o?(Uo(r),5===r.tag&&null!=r.stateNode&&(jo=r.stateNode)):(Uo(r),$o=!0));default:Qs(n,t),t=Ds(n,t=zc=mo(t,Lc),Lc)}e.memoizedProps=e.pendingProps,null===t?Md(e):zc=t}function Rd(e,t,n,r){Zo=Xo=null,ja(t),Li=null,ji=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ri(t,n,o,!0),null!==(n=sa.current)){switch(n.tag){case 31:case 13:case 19:return null===ua?Ed():null===n.alternate&&0===jc&&(jc=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===zi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Ud(e,r,o)),!1;case 22:return n.flags|=65536,r===zi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Ud(e,r,o)),!1}throw Error(i(435,n.tag))}return Ud(e,r,o),Ed(),!1}if($o)return null!==(t=sa.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==Wo&&Qo(ko(e=Error(i(422),{cause:r}),n))):(r!==Wo&&Qo(ko(t=Error(i(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=ko(r,n),Xi(e,o=as(e.stateNode,r,o)),4!==jc&&(jc=2)),!1;var a=Error(i(520),{cause:r});if(a=ko(a,n),null===Vc?Vc=[a]:Vc.push(a),4!==jc&&(jc=2),null===t)return!0;r=ko(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Xi(n,e=as(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Xc&&Xc.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,ss(o=ls(o),e,n,r),Xi(n,o),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n);return!1}(e,o,t,n,Rc))return jc=1,os(e,ko(n,e.current)),void(zc=null)}catch(t){if(null!==o)throw zc=o,t;return jc=1,os(e,ko(n,e.current)),void(zc=null)}32768&t.flags?($o||1===r?e=!0:Ac||536870912&Rc?e=!1:(Ic=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=sa.current)&&13===r.tag&&(r.flags|=16384))),Nd(t,e)):Md(t)}function Md(e){var t=e;do{if(32768&t.flags)return void Nd(t,Ic);e=t.return;var n=Ks(t.alternate,t,Lc);if(null!==n)return void(zc=n);if(null!==(t=t.sibling))return void(zc=t);zc=t=e}while(null!==t);0===jc&&(jc=5)}function Nd(e,t){do{var n=Ys(e.alternate,e);if(null!==n)return n.flags&=32767,void(zc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(zc=e);zc=e=n}while(null!==e);jc=6,zc=null}function Id(e,t,n,r,o,a,l,s,u,c,d,f){e.cancelPendingCommit=null;do{Bd()}while(0!==Zc);if(6&_c)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));e===Oc&&(zc=Oc=null,Rc=0),ed=t,Jc=e,td=n,rd=o,od=r,function(e,t,n,r,o,i,a){var l=t.lanes|t.childLanes;if(nd=l,function(e,t,n,r,o,i){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-Le(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Xe(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,n,l|=no,r,o,i),ad=null,(335544064&n)===n?(ld=function(e){var t=e.transitionTypes;return e.transitionTypes=null,t}(e),r=10262):(ld=null,r=10256),0!==(t.subtreeFlags&r)||0!==(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,function(e,t){we(e,t)}(Oe,function(){return Wd(),null})):(e.callbackNode=null,e.callbackPriority=0),hu=!1,r=!!(13878&t.flags),!!(13878&t.subtreeFlags)||r){r=X.T,X.T=null,o=Z.p,Z.p=2,i=_c,_c|=4;try{!function(e,t,n){if(e=e.containerInfo,Ff=Sh,Tr(e=Pr(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==i&&3!==f.nodeType||(s=l+i),f!==a||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===i&&(s=l),p===a&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Lf={focusedElem:e,selectionRange:r},Sh=!1,ju=t,t=(n=(335544064&n)===n)?9270:1024;null!==ju;){if(e=ju,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&Pu(r[i]);if(null===e.alternate&&2&e.flags)n&&gu(e),Hu(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&Pu(r),Hu(n);continue}if(null!==r&&null!==r.memoizedState){n&&gu(e),Hu(n);continue}}r=e.child,0!==(e.subtreeFlags&t)&&null!==r?(r.return=e,ju=r):(n&&Tu(e),Hu(n))}}mu=null}(e,t,n)}finally{_c=i,Z.p=o,X.T=r}}Zc=1,hu?id=function(e,t,n,r,o,i,a,l,s){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,a=u.fonts.status;r();var l=[];if("loaded"===a&&(function(e){e.documentElement.clientHeight}(u),"loading"===u.fonts.status&&l.push(u.fonts.ready)),a=l.length,null!==e)for(var s=e.suspenseyImages,c=0,d=0;d<s.length;d++){var f=s[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((c+=ih(f))>lh){l.length=a;break}f=new Promise(op.bind(f)),l.push(f)}}}return 0<l.length?(t=Promise.race([Promise.all(l),new Promise(function(e){return setTimeout(e,500)})]).then(o,o),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(o(),n?n.finished.then(i,i):void i())},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,o=r.pseudoElement;if(null!=o&&o.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var i=o=void 0,l=!0,s=0;s<n.length;s++){var c=n[s],f=c.width;if(void 0===o)o=f;else if(o!==f){l=!1;break}if(f=c.height,void 0===i)i=f;else if(i!==f){l=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}l&&void 0!==o&&void 0!==i&&(r.setKeyframes(n),(l=getComputedStyle(r.target,r.pseudoElement)).width!==o||l.height!==i)&&((l=n[0]).width=o,l.height=i,(l=n[n.length-1]).width=o,l.height=i,r.setKeyframes(n))}}a()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{if("object"==typeof e&&null!==e&&"InvalidStateError"===e.name)"View transition was skipped because document visibility state is hidden."!==e.message&&"Skipping view transition because document visibility state has become hidden."!==e.message&&"Skipping view transition because viewport size changed."!==e.message&&"Transition was aborted because of invalid state"!==e.message||(e=null);null!==e&&s(e)}finally{r(),o(),a()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),l()}),c}catch(e){return r(),o(),a(),null}}(a,e.containerInfo,ld,Ld,jd,Fd,$d,Wd,Ad):(Ld(),jd(),$d())}(e,t,n,l,s,u,f)}}function Ad(e){0!==Zc&&(0,Jc.onRecoverableError)(e,{componentStack:null})}function Fd(){3===Zc&&(Zc=0,sc(ed,Jc),Zc=4)}function Ld(){if(1===Zc){Zc=0;var e=Jc,t=ed,n=td,r=!!(13878&t.flags);if(13878&t.subtreeFlags||r){r=X.T,X.T=null;var o=Z.p;Z.p=2;var i=_c;_c|=4;try{Du=Bu=!1,oc(t,e,n),n=Lf;var a=Pr(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(a!==l&&l&&l.ownerDocument&&Er(l.ownerDocument.documentElement,l)){if(null!==s&&Tr(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(a=g,g=m,m=a);var y=Cr(l,m),v=Cr(l,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var x=d[l];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}Sh=!!Ff,Lf=Ff=null}finally{_c=i,Z.p=o,X.T=r}}e.current=t,Zc=2}}function jd(){if(2===Zc){Zc=0;var e=Jc,t=ed,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=X.T,X.T=null;var r=Z.p;Z.p=2;var o=_c;_c|=4;try{Vu(e,t.alternate,t)}finally{_c=o,Z.p=r,X.T=n}}Zc=3}}function $d(){if(4===Zc||3===Zc){Zc=0;var e=id;id=null,Ce();var t=Jc,n=ed,r=td,o=od,i=(335544064&r)===r?10262:10256;if(0!==(n.subtreeFlags&i)||0!==(n.flags&i)?Zc=5:(Zc=0,ed=Jc=null,Dd(t,t.pendingLanes)),0===(i=t.pendingLanes)&&(Xc=null),tt(r),n=n.stateNode,Ae&&"function"==typeof Ae.onCommitFiberRoot)try{Ae.onCommitFiberRoot(Ie,n,void 0,!(128&~n.current.flags))}catch(e){}if(null!==o){n=X.T,i=Z.p,Z.p=2,X.T=null;try{for(var a=t.onRecoverableError,l=0;l<o.length;l++){var s=o[l];a(s.value,{componentStack:s.stack})}}finally{X.T=n,Z.p=i}}if(a=ld,ld=null,null!==(o=ad)&&(ad=null,null===a&&(a=[]),null!==e))for(s=0;s<o.length;s++)void 0!==(n=(0,o[s])(a))&&e.finished.finally(n);3&td&&Bd(),nf(t),i=t.pendingLanes,261930&r&&42&i?t===ud?sd++:(sd=0,ud=t):(sd=0,ud=null),rf(0,!1)}}function Dd(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,hi(t)))}function Bd(){return null!==id&&(id.skipTransition(),id=null),Ld(),jd(),$d(),Wd()}function Wd(){if(5!==Zc)return!1;var e=Jc,t=nd;nd=0;var n=tt(td),r=X.T,o=Z.p;try{Z.p=32>n?32:n,X.T=null,n=rd,rd=null;var a=Jc,l=td;if(Zc=0,ed=Jc=null,td=0,6&_c)throw Error(i(331));var s=_c;if(_c|=4,Sc(a.current),mc(a,a.current,l,n),_c=s,rf(0,!1),Ae&&"function"==typeof Ae.onPostCommitFiberRoot)try{Ae.onPostCommitFiberRoot(Ie,a)}catch(e){}return!0}finally{Z.p=o,X.T=r,Dd(e,t)}}function Hd(e,t,n){t=ko(n,t),null!==(e=Qi(e,t=as(e.stateNode,t,2),2))&&(Ge(e,2),nf(e))}function Vd(e,t,n){if(3===e.tag)Hd(e,e,n);else for(;null!==t;){if(3===t.tag){Hd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Xc||!Xc.has(r))){e=ko(n,e),null!==(r=Qi(t,n=ls(2),2))&&(ss(n,r,t,e),Ge(r,2),nf(r));break}}t=t.return}}function Ud(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Tc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(Fc=!0,o.add(n),e=qd.bind(null,e,t,n),t.then(e,e))}function qd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Oc===e&&(Rc&n)===n&&(4===jc||3===jc&&(62914560&Rc)===Rc&&300>Ee()-Kc?2&_c?Bc|=n:xd(e,0):Bc|=n,Hc===Rc&&(Hc=0)),nf(e)}function Kd(e,t){0===t&&(t=Ye()),null!==(e=ao(e,t))&&(Ge(e,t),nf(e))}function Yd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Kd(e,n)}function Qd(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),Kd(e,n)}var Gd=null,Xd=null,Zd=!1,Jd=!1,ef=!1,tf=0;function nf(e){e!==Xd&&null===e.next&&(null===Xd?Gd=Xd=e:Xd=Xd.next=e),Jd=!0,Zd||(Zd=!0,Yf(function(){6&_c?we(Te,of):af()}))}function rf(e,t){if(!ef&&Jd){ef=!0;do{for(var n=!1,r=Gd;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,l=r.pingedLanes;i=(1<<31-Le(42|e)+1)-1,i=201326741&(i&=o&~(a&~l))?201326741&i|1:i?2|i:0}0!==i&&(n=!0,uf(r,i))}else i=Rc,!(3&(i=Ve(r,r===Oc?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Ue(r,i)||(n=!0,uf(r,i));r=r.next}}while(n);ef=!1}}function of(){af()}function af(){Jd=Zd=!1;var e=0;0!==tf&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==Hf&&(Hf=e,!0);return Hf=null,!1}()&&(e=tf);for(var t=Ee(),n=null,r=Gd;null!==r;){var o=r.next,i=lf(r,t);0===i?(r.next=null,null===n?Gd=o:n.next=o,null===o&&(Xd=n)):(n=r,(0!==e||3&i)&&(Jd=!0)),r=o}0!==Zc&&5!==Zc||rf(e,!1),0!==tf&&(tf=0)}function lf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-Le(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=Ke(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}if(n=Rc,n=Ve(e,e===(t=Oc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===Mc||9===Mc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ke(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Ue(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ke(r),tt(n)){case 2:case 8:n=_e;break;case 32:default:n=Oe;break;case 268435456:n=Re}return r=sf.bind(null,e),n=we(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ke(r),e.callbackPriority=2,e.callbackNode=null,2}function sf(e,t){if(0!==Zc&&5!==Zc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Bd()&&e.callbackNode!==n)return null;var r=Rc;return 0===(r=Ve(e,e===Oc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(hd(e,r,t),lf(e,Ee()),null!=e.callbackNode&&e.callbackNode===n?sf.bind(null,e):null)}function uf(e,t){if(Bd())return null;hd(e,t,!0)}function cf(){if(0===tf){var e=bi;0===e&&(e=De,!(261888&(De<<=1))&&(De=256)),tf=e}return tf}function df(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Zt(e)}for(var ff=0;ff<Kr.length;ff++){var pf=Kr[ff];Yr(pf.toLowerCase(),"on"+(pf[0].toUpperCase()+pf.slice(1)))}Yr($r,"onAnimationEnd"),Yr(Dr,"onAnimationIteration"),Yr(Br,"onAnimationStart"),Yr("dblclick","onDoubleClick"),Yr("focusin","onFocus"),Yr("focusout","onBlur"),Yr(Wr,"onTransitionRun"),Yr(Hr,"onTransitionStart"),Yr(Vr,"onTransitionCancel"),Yr(Ur,"onTransitionEnd"),Ct("onMouseEnter",["mouseout","mouseover"]),Ct("onMouseLeave",["mouseout","mouseover"]),Ct("onPointerEnter",["pointerout","pointerover"]),Ct("onPointerLeave",["pointerout","pointerover"]),St("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),St("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),St("onBeforeInput",["compositionend","keypress","textInput","paste"]),St("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),St("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),St("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hf));function gf(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;i=l,o.currentTarget=u;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;i=l,o.currentTarget=u;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=s}}}}function yf(e,t){var n=t[st];void 0===n&&(n=t[st]=new Set);var r=e+"__bubble";n.has(r)||(wf(t,e,2,!1),n.add(r))}function vf(e,t,n){var r=0;t&&(r|=4),wf(n,e,r,t)}var bf="_reactListening"+Math.random().toString(36).slice(2);function xf(e){if(!e[bf]){e[bf]=!0,wt.forEach(function(t){"selectionchange"!==t&&(mf.has(t)||vf(t,!1,e),vf(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[bf]||(t[bf]=!0,vf("selectionchange",!1,t))}}function wf(e,t,n,r){switch(zh(t)){case 2:var o=Ch;break;case 8:o=Eh;break;default:o=Ph}n=o.bind(null,t,n,e),o=void 0,!cn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function kf(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&a.stateNode.containerInfo===o)return;a=a.return}for(;null!==s;){if(null===(a=mt(s)))return;if(5===(u=a.tag)||6===u||26===u||27===u){r=i=a;continue e}s=s.parentNode}}r=r.return}ln(function(){var r=i,o=tn(n),a=[];e:{var s=qr.get(e);if(void 0!==s){var u=Cn,c=e;switch(e){case"keypress":if(0===gn(n))break e;case"keydown":case"keyup":u=$n;break;case"focusin":c="focus",u=zn;break;case"focusout":c="blur",u=zn;break;case"beforeblur":case"afterblur":u=zn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=_n;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=On;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Wn;break;case $r:case Dr:case Br:u=Rn;break;case Ur:u=Hn;break;case"scroll":case"scrollend":u=Pn;break;case"wheel":u=Vn;break;case"copy":case"cut":case"paste":u=Mn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Dn;break;case"submit":u=Bn;break;case"toggle":case"beforetoggle":u=Un}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=sn(m,p))&&d.push(Sf(m,g,h)),f)break;m=m.return}0<d.length&&(s=new u(s,c,null,n,o),a.push({event:s,listeners:d}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(u="mouseover"===e||"pointerover"===e)&&n!==en&&(c=n.relatedTarget||n.fromElement)&&(mt(c)||c[lt])||(s||u)&&(c=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?mt(u):null)&&(f=l(u),d=u.tag,u!==f||5!==d&&27!==d&&6!==d)&&(u=null)):(s=null,u=r),s!==u&&(d=_n,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=Dn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==s?c:yt(s),h=null==u?c:yt(u),(c=new d(g,m+"leave",s,n,o)).target=f,c.relatedTarget=h,g=null,mt(o)===r&&((d=new d(p,m+"enter",u,n,o)).target=h,d.relatedTarget=f,g=d),f=g,d=s&&u?P(s,u,Ef):null,null!==s&&Pf(a,c,s,d,!1),null!==u&&null!==f&&Pf(a,f,u,d,!0))),"select"===(u=(s=r?yt(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var y=ur;else if(rr(s))if(cr)y=br;else{y=yr;var v=gr}else!(u=s.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Qt(r.elementType)&&(y=ur):y=vr;switch(y&&(y=y(e,r))?or(a,y,n,o):v&&v(e,s,r),v=r?yt(r):window,e){case"focusin":(rr(v)||"true"===v.contentEditable)&&(Or=v,zr=r,Rr=null);break;case"focusout":Rr=zr=Or=null;break;case"mousedown":Mr=!0;break;case"contextmenu":case"mouseup":case"dragend":Mr=!1,Nr(a,n,o);break;case"selectionchange":if(_r)break;case"keydown":case"keyup":Nr(a,n,o)}var b;if(Kn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else tr?Jn(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(Gn&&"ko"!==n.locale&&(tr||"onCompositionStart"!==x?"onCompositionEnd"===x&&tr&&(b=mn()):(pn="value"in(fn=o)?fn.value:fn.textContent,tr=!0)),0<(v=Cf(r,x)).length&&(x=new Nn(x,e,null,n,o),a.push({event:x,listeners:v}),b?x.data=b:null!==(b=er(n))&&(x.data=b))),(b=Qn?function(e,t){switch(e){case"compositionend":return er(t);case"keypress":return 32!==t.which?null:(Zn=!0,Xn);case"textInput":return(e=t.data)===Xn&&Zn?null:e;default:return null}}(e,n):function(e,t){if(tr)return"compositionend"===e||!Kn&&Jn(e,t)?(e=mn(),hn=pn=fn=null,tr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(x=Cf(r,"onBeforeInput")).length&&(v=new Nn("onBeforeInput","beforeinput",null,n,o),a.push({event:v,listeners:x}),v.data=b)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=df((o[at]||null).action),a=r.submitter;a&&null!==(t=(t=a[at]||null)?df(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var l=new Cn("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==tf){var e=new FormData(o,a);Ml(n,{pending:!0,data:e,method:o.method,action:i},null,e)}}else"function"==typeof i&&(l.preventDefault(),e=new FormData(o,a),Ml(n,{pending:!0,data:e,method:o.method,action:i},i,e))},currentTarget:o}]})}}(a,e,r,n,o)}gf(a,t)})}function Sf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cf(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=sn(e,n))&&r.unshift(Sf(e,o,i)),null!=(o=sn(e,t))&&r.push(Sf(e,o,i))),3===e.tag)return r;e=e.return}return[]}function Ef(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Pf(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,o?null!=(u=sn(n,i))&&a.unshift(Sf(n,u,s)):o||null!=(u=sn(n,i))&&a.push(Sf(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Tf=/\r\n?/g,_f=/\u0000|\uFFFD/g;function Of(e){return("string"==typeof e?e:""+e).replace(Tf,"\n").replace(_f,"")}function zf(e,t){return t=Of(t),Of(e)===t}function Rf(e,t,n,r,o,a){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||Ut(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&Ut(e,""+r)}break;case"className":Rt(e,"class",r);break;case"tabIndex":Rt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Rt(e,n,r);break;case"style":return void Yt(e,r,a);case"data":if("object"!==t){Rt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&Rf(e,t,"name",o.name,o,null),Rf(e,t,"formEncType",o.formEncType,o,null),Rf(e,t,"formMethod",o.formMethod,o,null),Rf(e,t,"formTarget",o.formTarget,o,null)):(Rf(e,t,"encType",o.encType,o,null),Rf(e,t,"method",o.method,o,null),Rf(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"onClick":return void(null!=r&&(e.onclick=Jt));case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Zt(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":yf("beforetoggle",e),yf("toggle",e),zt(e,"popover",r);break;case"xlinkActuate":Mt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Mt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Mt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Mt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Mt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Mt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Mt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Mt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Mt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":zt(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;zt(e,n=Gt.get(n)||n,r)}_t=!0}function Mf(e,t,n,r,o,a){switch(n){case"style":return void Yt(e,r,a);case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if("string"==typeof r)Ut(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;Ut(e,""+r)}break;case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"onClick":return void(null!=r&&(e.onclick=Jt));case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:return void(kt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),a=n.slice(2,o?n.length-7:void 0),"function"==typeof(t=null!=(t=e[at]||null)?t[n]:null)&&e.removeEventListener(a,t,o),"function"!=typeof r)?(_t=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):zt(e,n,r)):("function"!=typeof t&&null!==t&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,o))))}_t=!0}function Nf(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yf("error",e),yf("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var l=n[r];if(null!=l)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Rf(e,t,r,l,n,null)}}return a&&Rf(e,t,"srcSet",n.srcSet,n,null),void(o&&Rf(e,t,"src",n.src,n,null));case"input":yf("invalid",e);var s=r=l=a=null,u=null,c=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":l=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:Rf(e,t,o,d,n,null)}}return void Dt(e,r,s,u,c,l,a,!1);case"select":for(a in yf("invalid",e),o=l=r=null,n)if(n.hasOwnProperty(a)&&null!=(s=n[a]))switch(a){case"value":r=s;break;case"defaultValue":l=s;break;case"multiple":o=s;default:Rf(e,t,a,s,n,null)}return t=r,n=l,e.multiple=!!o,void(null!=t?Wt(e,!!o,t,!1):null!=n&&Wt(e,!!o,n,!0));case"textarea":for(l in yf("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(l)&&null!=(s=n[l]))switch(l){case"value":o=s;break;case"defaultValue":a=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(i(91));break;default:Rf(e,t,l,s,n,null)}return void Vt(e,o,a,r);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))if("selected"===u)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else Rf(e,t,u,o,n,null);return;case"dialog":yf("beforetoggle",e),yf("toggle",e),yf("cancel",e),yf("close",e);break;case"iframe":case"object":yf("load",e);break;case"video":case"audio":for(o=0;o<hf.length;o++)yf(hf[o],e);break;case"image":yf("error",e),yf("load",e);break;case"details":yf("toggle",e);break;case"embed":case"source":case"link":yf("error",e),yf("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Rf(e,t,c,o,n,null)}return;default:if(Qt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&Mf(e,t,d,o,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(null!=(o=n[s])&&Rf(e,t,s,o,n,null))}var If={};function Af(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var Ff=null,Lf=null;function jf(e){return 9===e.nodeType?e:e.ownerDocument}function $f(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Df(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Bf(e,t,n,r){return(n=jf(n).createElement(e))[it]=r,n[at]=t,Nf(n,e,t),bt(n),n}function Wf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Hf=null;var Vf="function"==typeof setTimeout?setTimeout:void 0,Uf="function"==typeof clearTimeout?clearTimeout:void 0,qf="function"==typeof Promise?Promise:void 0,Kf="function"==typeof requestAnimationFrame?requestAnimationFrame:Vf,Yf="function"==typeof queueMicrotask?queueMicrotask:void 0!==qf?function(e){return qf.resolve(null).then(e).catch(Qf)}:Vf;function Qf(e){setTimeout(function(){throw e})}function Gf(e){return"head"===e}function Xf(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Yh(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Lp(e.ownerDocument.documentElement);else if("head"===n){Lp(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var a=i.nextSibling,l=i.nodeName;i[ft]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=a}}else"body"===n&&Lp(e.ownerDocument.body);n=o}while(n);Yh(t)}function Zf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Jf(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var o=r=0;o<t.length;o++){var i=t[o];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function ep(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function tp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function np(e){return tp(e.getBoundingClientRect(),getComputedStyle(e),e)}function rp(e){var t=e.getBoundingClientRect();return tp(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function op(e){this.addEventListener("load",e),this.addEventListener("error",e)}function ip(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function ap(e){return{name:e,group:new ip("group",e),imagePair:new ip("image-pair",e),old:new ip("old",e),new:new ip("new",e)}}function lp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function sp(e,t,n,r){return x(e).addEventListener(t,n,r),!1}function up(e,t,n,r){return x(e).removeEventListener(t,n,r),!1}function cp(e){return null!=e&&"boolean"!=typeof e&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function dp(e){return null==e?"c=0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function fp(e,t,n,r){if(0===e.length)return-1;r=dp(r);for(var o=0;o<e.length;o++){var i=e[o];if(i.type===t&&i.listener===n&&dp(i.optionsOrUseCapture)===r)return o}return-1}function pp(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=x(e),t)}function hp(e,t){return t.push(e),!1}function mp(e,t){return 6!==e.tag&&(!((e=x(e))!==t&&!e.contains(t))&&(t.blur(),!0))}function gp(e,t){return 6===e.tag||(e=x(e),t.observe(e)),!1}function yp(e,t){return 6===e.tag||(e=x(e),t.unobserve(e)),!1}ip.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},ip.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],o=0;o<n.length;o++){var i=n[o].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[o])}return r},ip.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},lp.prototype.addEventListener=function(e,t,n){var r=null,o=null;if(null==n||"boolean"==typeof n||(null===(r=n.signal||null)||!r.aborted)){null===this._eventListeners&&(this._eventListeners=[]);var i=this._eventListeners;if(-1===fp(i,e,t,n)){var a=this,l=t;null!=n&&"boolean"!=typeof n&&!0===n.once&&(l=function(r){a.removeEventListener(e,t,n),"function"==typeof t?t.call(this,r):t.handleEvent(r)}),null!==r&&(o=a.removeEventListener.bind(a,e,t,n),r.addEventListener("abort",o,{once:!0}),o=r.removeEventListener.bind(r,"abort",o)),r=cp(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:l,cleanup:o}),h(this._fragmentFiber.child,!1,sp,e,l,r)}this._eventListeners=i}},lp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(null!==r&&-1!==(t=fp(r,e,t,n))){var o=r[t];n=o.attachedListener;var i=o.cleanup;o=cp(o.optionsOrUseCapture),h(this._fragmentFiber.child,!1,up,e,n,o),r.splice(t,1),null!==i&&i()}},lp.prototype.dispatchEvent=function(e){var t=m(this._fragmentFiber);if(null===t)return!0;t=x(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=9===t.nodeType?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];r.addEventListener(i.type,i.attachedListener,cp(i.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],r.removeEventListener(i.type,i.attachedListener,cp(i.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},lp.prototype.focus=function(e){h(this._fragmentFiber.child,!0,pp,e,void 0,void 0)},lp.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!pp(t[n],e);n--);},lp.prototype.blur=function(){var e=m(this._fragmentFiber);null!==e&&(null!==(e=jf(e=x(e)).activeElement)&&h(this._fragmentFiber.child,!1,mp,e,void 0,void 0))},lp.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,gp,e,void 0,void 0)},lp.prototype.unobserveUsing=function(e){var t=this._observers;if(null!==t&&t.has(e)){t.delete(e),h(this._fragmentFiber.child,!1,yp,e,void 0,void 0);for(var n=t=0;n<vp.length;n++){var r=vp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):vp[t++]=r}vp.length=t}};var vp=[],bp=!1;function xp(e,t,n){var r;vp.push({fragmentInstance:e,observer:t,instance:n}),bp||(bp=!0,r=function(){bp=!1;var e=vp;vp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}},Kf(function(){Kf(function(e){return r(e)})}))}function wp(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=x(e),t.push.apply(t,e.getClientRects());return!1}function kp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function Sp(e,t){return Cp(e=x(e),t),!1}function Cp(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Ep(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.addEventListener(o.type,o.attachedListener,cp(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){for(var r=0,o=0;o<vp.length;o++){var i=vp[o];i.fragmentInstance===t&&i.observer===n&&i.instance===e||(vp[r++]=i)}vp.length=r,n.observe(e)}),Cp(e,t))}function Pp(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.removeEventListener(o.type,o.attachedListener,cp(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){"string"==typeof n.rootMargin?xp(t,n,e):n.unobserve(e)}),null!=e.reactFragments&&e.reactFragments.delete(t))}function Tp(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Tp(n),ht(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function _p(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Rp(e.nextSibling)))return null}return e}function Op(e){return"$?"===e.data||"$~"===e.data}function zp(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Rp(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}lp.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,wp,e,void 0,void 0),e},lp.prototype.getRootNode=function(e){var t=m(this._fragmentFiber);return null===t?this:x(t).getRootNode(e)},lp.prototype.compareDocumentPosition=function(e){var t=m(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,hp,n,void 0,void 0);var r=x(t);if(0===n.length){if(n=r,y(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;null!==t;){if(4===t.tag){t=t.stateNode.containerInfo;break e}if(3===t.tag||5===t.tag||27===t.tag)break;t=t.return}t=null}null!=t&&(n=t)}t=this._fragmentFiber;var o=r=n.compareDocumentPosition(e);return n===e?o=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(null===(n=v(t)[1])?o=Node.DOCUMENT_POSITION_PRECEDING:o=0===(e=x(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),o|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=x(n[0]),o=x(n[n.length-1]);var i=y(this._fragmentFiber)?t.parentElement:r;if(null==i)return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var a=t.compareDocumentPosition(e),l=o.compareDocumentPosition(e),s=a&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=r&&i&&a&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&o===e||s||l?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:a)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,o){var i=mt(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return o===(i=o.ownerDocument)||o===i.documentElement||o===i.body;e:{for(i=t,t=m(t);null!==i;){if(!(5!==i.tag&&3!==i.tag&&27!==i.tag||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=P(n,i,E))?t=!1:(h(t,!0,S,i,n),i=w,w=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=P(r,i,E))?t=!1:(h(t,!0,C,i,r),i=w,k=w=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},lp.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(i(566));var t=[];h(this._fragmentFiber.child,!1,hp,t,void 0,void 0);var n=!1!==e;if(0===t.length){var r=v(this._fragmentFiber);if(null===(r=n?r[1]||r[0]||m(this._fragmentFiber):r[0]||r[1]))return;if(6===r.tag)return void kp(e=x(r),n);if(9!==(r=x(r)).nodeType){if(11===r.nodeType)return void(null!==(n="host"in r?r.host:null)&&n.scrollIntoView(e));r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var o=t[r];6===o.tag?kp(o=x(o),n):x(o).scrollIntoView(e),r+=n?-1:1}};var Mp=null;function Np(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Rp(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Ip(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Ap(e,t,n){switch(t=jf(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function Fp(e,t,n){for(var r in n){var o=n[r];n.hasOwnProperty(r)&&null!=o&&Rf(e,t,r,null,If,o)}null!=n.dangerouslySetInnerHTML&&(e.textContent=""),e.onclick===Jt&&(e.onclick=null),ht(e)}function Lp(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ht(e)}var jp=new Map,$p=new Set;function Dp(e){if("function"==typeof e.getRootNode){var t=e.getRootNode();if(9===t.nodeType||11===t.nodeType)return t}return 9===e.nodeType?e:e.ownerDocument}var Bp=Z.d;Z.d={f:function(){var e=Bp.f(),t=vd();return e||t},r:function(e){var t=gt(e);null!==t&&5===t.tag&&"form"===t.type?Il(t):Bp.r(e)},D:function(e){Bp.D(e),Hp("dns-prefetch",e,null)},C:function(e,t){Bp.C(e,t),Hp("preconnect",e,t)},L:function(e,t,n){Bp.L(e,t,n);var r=Wp;if(r&&e&&t){var o='link[rel="preload"][as="'+jt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+jt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+jt(n.imageSizes)+'"]')):o+='[href="'+jt(e)+'"]';var i=o;switch(t){case"style":i=Up(e);break;case"script":i=Yp(e)}if(!(jp.has(i)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),jp.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(qp(i))||"script"===t&&r.querySelector(Qp(i))))){var a=r.createElement("link");Nf(a,"link",e),"style"===t&&(a[pt]=!0,a.onload=a.onerror=function(){xt(a)}),bt(a),r.head.appendChild(a)}}},m:function(e,t){Bp.m(e,t);var n=Wp;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+jt(r)+'"][href="'+jt(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Yp(e)}if(!jp.has(i)&&(e=T({rel:"modulepreload",href:e},t),jp.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Qp(i)))return}Nf(r=n.createElement("link"),"link",e),bt(r),n.head.appendChild(r)}}},X:function(e,t){Bp.X(e,t);var n=Wp;if(n&&e){var r=vt(n).hoistableScripts,o=Yp(e),i=r.get(o);i||((i=n.querySelector(Qp(o)))||(e=T({src:e,async:!0},t),(t=jp.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Nf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:function(e,t,n){Bp.S(e,t,n);var r=Wp;if(r&&e){var o=vt(r).hoistableStyles,i=Up(e);t=t||"default";var a=o.get(i);if(!a){var l={loading:0,preload:null};if(a=r.querySelector(qp(i)))l.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=jp.get(i))&&Zp(e,n);var s=a=r.createElement("link");bt(s),Nf(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Xp(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:l},o.set(i,a)}}},M:function(e,t){Bp.M(e,t);var n=Wp;if(n&&e){var r=vt(n).hoistableScripts,o=Yp(e),i=r.get(o);i||((i=n.querySelector(Qp(o)))||(e=T({src:e,async:!0,type:"module"},t),(t=jp.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Nf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var Wp="undefined"==typeof document?null:document;function Hp(e,t,n){var r=Wp;if(r&&"string"==typeof t&&t){var o=jt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),$p.has(o)||($p.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Nf(t=r.createElement("link"),"link",e),bt(t),r.head.appendChild(t)))}}function Vp(e,t,n,r){var o=(o=ue.current)?Dp(o):null;if(!o)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=Up(n.href),(r=(t=vt(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Up(n.href);var a=vt(o).hoistableStyles,l=a.get(e);if(l||(o=o.ownerDocument||o,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,l),(a=o.querySelector(qp(e)))?a._p||(l.instance=a,l.state.loading=5):((a=jp.get(e))||(a={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},jp.set(e,a)),function(e,t,n,r){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(!0!==t[pt])return void(r.loading=1)}else(t=e.createElement("link"))[pt]=!0,t.onload=t.onerror=xt.bind(null,t),Nf(t,"link",n),bt(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}(o,e,a,l.state))),t&&null===r)throw Error(i(528,""));return l}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=Yp(n),(r=(t=vt(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Up(e){return'href="'+jt(e)+'"'}function qp(e){return'link[rel="stylesheet"]['+e+"]"}function Kp(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function Yp(e){return'[src="'+jt(e)+'"]'}function Qp(e){return"script[async]"+e}function Gp(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+jt(n.href)+'"]');if(r)return t.instance=r,bt(r),r;var o=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return bt(r=(e.ownerDocument||e).createElement("style")),Nf(r,"style",o),Xp(r,n.precedence,e),t.instance=r;case"stylesheet":o=Up(n.href);var a=e.querySelector(qp(o));if(a)return t.state.loading|=4,t.instance=a,bt(a),a;r=Kp(n),(o=jp.get(o))&&Zp(r,o),bt(a=(e.ownerDocument||e).createElement("link"));var l=a;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),Nf(a,"link",r),t.state.loading|=4,Xp(a,n.precedence,e),t.instance=a;case"script":return a=Yp(n.src),(o=e.querySelector(Qp(a)))?(t.instance=o,bt(o),o):(r=n,(o=jp.get(a))&&Jp(r=T({},n),o),bt(o=(e=e.ownerDocument||e).createElement("script")),Nf(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Xp(r,n.precedence,e));return t.instance}function Xp(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var l=r[a];if(l.dataset.precedence===t)i=l;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Zp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Jp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var eh=null;function th(e,t,n){if(null===eh){var r=new Map,o=eh=new Map;o.set(n,r)}else(r=(o=eh).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[ft]||i[it]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var a=i.getAttribute(t)||"";a=e+a;var l=r.get(a);l?l.push(i):r.set(a,[i])}}return r}function nh(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function rh(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function oh(e){return!!("stylesheet"!==e.type||3&e.state.loading)}function ih(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function ah(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=ih(t),e.suspenseyImages.push(t)),e=ch.bind(e),t.decode().then(e,e))}var lh=0;function sh(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages))if(e.stylesheets)fh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}function uh(){this.count--,sh(this)}function ch(){this.imgCount--,sh(this)}var dh=null;function fh(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dh=new Map,t.forEach(ph,e),dh=null,uh.call(e))}function ph(e,t){if(!(4&t.state.loading)){var n=dh.get(e);if(n)var r=n.get(null);else{n=new Map,dh.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(null,o),n.set(a,o),this.count++,r=uh.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var hh={$$typeof:A,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function mh(e,t,n,r,o,i,a,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qe(0),this.hiddenUpdates=Qe(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function gh(e,t,n,r,o,i,a,l,s,u,c,d){return e=new mh(e,t,n,a,s,u,c,d,l),t=1,!0===i&&(t|=24),i=fo(3,null,null,t),e.current=i,i.stateNode=e,(t=pi()).refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},qi(i),e}function yh(e){return e?e=uo:uo}function vh(e,t,n,r,o,i){o=yh(o),null===r.context?r.context=o:r.pendingContext=o,(r=Yi(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=Qi(e,r,t))&&(pd(n,0,t),Gi(n,e,t))}function bh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function xh(e,t){bh(e,t),(e=e.alternate)&&bh(e,t)}function wh(e){if(13===e.tag||31===e.tag){var t=ao(e,67108864);null!==t&&pd(t,0,67108864),xh(e,67108864)}}function kh(e){if(13===e.tag||31===e.tag){var t=cd(),n=ao(e,t=et(t));null!==n&&pd(n,0,t),xh(e,t)}}var Sh=!0;function Ch(e,t,n,r){var o=X.T;X.T=null;var i=Z.p;try{Z.p=2,Ph(e,t,n,r)}finally{Z.p=i,X.T=o}}function Eh(e,t,n,r){var o=X.T;X.T=null;var i=Z.p;try{Z.p=8,Ph(e,t,n,r)}finally{Z.p=i,X.T=o}}function Ph(e,t,n,r){if(Sh){var o=Th(r);if(null===o)kf(e,t,r,_h,n),$h(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Mh=Dh(Mh,e,t,n,r,o),!0;case"dragenter":return Nh=Dh(Nh,e,t,n,r,o),!0;case"mouseover":return Ih=Dh(Ih,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ah.set(i,Dh(Ah.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Fh.set(i,Dh(Fh.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if($h(e,r),4&t&&-1<jh.indexOf(e)){for(;null!==o;){var i=gt(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=He(i.pendingLanes);if(0!==a){var l=i;for(l.pendingLanes|=2,l.entangledLanes|=2;a;){var s=1<<31-Le(a);l.entanglements[1]|=s,a&=~s}nf(i),!(6&_c)&&(Qc=Ee()+500,rf(0,!1))}}break;case 31:case 13:null!==(l=ao(i,2))&&pd(l,0,2),vd(),xh(i,2)}if(null===(i=Th(r))&&kf(e,t,r,_h,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else kf(e,t,r,null,n)}}function Th(e){return Oh(e=tn(e))}var _h=null;function Oh(e){if(_h=null,null!==(e=mt(e))){var t=l(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=s(t)))return e;e=null}else if(31===n){if(null!==(e=c(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return _h=e,null}function zh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pe()){case Te:return 2;case _e:return 8;case Oe:case ze:return 32;case Re:return 268435456;default:return 32}default:return 32}}var Rh=!1,Mh=null,Nh=null,Ih=null,Ah=new Map,Fh=new Map,Lh=[],jh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function $h(e,t){switch(e){case"focusin":case"focusout":Mh=null;break;case"dragenter":case"dragleave":Nh=null;break;case"mouseover":case"mouseout":Ih=null;break;case"pointerover":case"pointerout":Ah.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fh.delete(t.pointerId)}}function Dh(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=gt(t))&&wh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Bh(e){var t=mt(e.target);if(null!==t){var n=l(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=s(n)))return e.blockedOn=t,void rt(e.priority,function(){kh(n)})}else if(31===t){if(null!==(t=c(n)))return e.blockedOn=t,void rt(e.priority,function(){kh(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Wh(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Th(e.nativeEvent);if(null!==n)return null!==(t=gt(n))&&wh(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);en=r,n.target.dispatchEvent(r),en=null,t.shift()}return!0}function Hh(e,t,n){Wh(e)&&n.delete(t)}function Vh(){Rh=!1,null!==Mh&&Wh(Mh)&&(Mh=null),null!==Nh&&Wh(Nh)&&(Nh=null),null!==Ih&&Wh(Ih)&&(Ih=null),Ah.forEach(Hh),Fh.forEach(Hh)}function Uh(e,t){e.blockedOn===t&&(e.blockedOn=null,Rh||(Rh=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Vh)))}var qh=null;function Kh(e){qh!==e&&(qh=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){qh===e&&(qh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Oh(r||n))continue;break}var i=gt(n);null!==i&&(e.splice(t,3),t-=3,Ml(i,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Yh(e){function t(t){return Uh(t,e)}null!==Mh&&Uh(Mh,e),null!==Nh&&Uh(Nh,e),null!==Ih&&Uh(Ih,e),Ah.forEach(t),Fh.forEach(t);for(var n=0;n<Lh.length;n++){var r=Lh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Lh.length&&null===(n=Lh[0]).blockedOn;)Bh(n),null===n.blockedOn&&Lh.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[at]||null;if("function"==typeof i)a||Kh(n);else if(a){var l=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[at]||null)l=a.formAction;else if(null!==Oh(o))continue}else l=a.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),Kh(n)}}}function Qh(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function Gh(e){this._internalRoot=e}function Xh(e){this._internalRoot=e}Xh.prototype.render=Gh.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));vh(t.current,cd(),e,t,null,null)},Xh.prototype.unmount=Gh.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;vh(e.current,2,null,e,null,null),vd(),t[lt]=null}},Xh.prototype.unstable_scheduleHydration=function(e){if(e){var t=nt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lh.length&&0!==t&&t<Lh[n].priority;n++);Lh.splice(n,0,e),0===n&&Bh(e)}};var Zh=r.version;if("19.3.1"!==Zh)throw Error(i(527,Zh,"19.3.1"));Z.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=l(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?f(e):null)?null:e.stateNode};var Jh={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.3.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var em=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!em.isDisabled&&em.supportsFiber)try{Ie=em.inject(Jh),Ae=em}catch(e){}}t.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r="",o=ts,l=ns,s=rs;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),t=gh(e,1,!1,null,0,n,r,null,o,l,s,Qh),e[lt]=t.current,xf(e),new Gh(t)}}),l=n.cw((e,t)=>{var n=p();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},a=Symbol.for("react.portal"),l=Symbol.for("react.recoverable"),s=Symbol.for("react.optimistic_key");var u=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.browser=function(e){return{$$typeof:l,_reason:e}},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(r(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==r?null:r===s?s:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=u.T,n=i.p;try{if(u.T=null,i.p=2,e)return e()}finally{u.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},t.useFormStatus=function(){return u.H.useHostTransitionStatus()},t.version="19.3.1"}),s=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=a()}),u=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=l()}),c=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:case h:return e;default:switch(e=e&&e.$$typeof){case s:case u:case p:case f:case l:return e;default:return t}}case r:return t}}}t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||void 0!==e.getModuleId)}}),d=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o}),f=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),m=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var k=w.prototype=new x;k.constructor=w,y(k,b.prototype),k.isPureReactComponent=!0;var S=Array.isArray;function C(){}var E={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function T(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function R(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,u,c=!1;if(null===e)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case f:return R((c=e._init)(e._payload),t,o,i,a)}}if(c)return a=a(e),c=""===i?"."+z(e,0):i,S(a)?(o="",null!=c&&(o=c.replace(O,"$&/")+"/"),R(a,t,o,"",function(e){return e})):null!=a&&(_(a)&&(s=a,u=o+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+c,a=T(s.type,u,s.props)),t.push(a)),1;c=0;var d,p=""===i?".":i+":";if(S(e))for(var h=0;h<e.length;h++)c+=R(i=e[h],t,o,l=p+z(i,h),a);else if("function"==typeof(h=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(e=h.call(e),h=0;!(i=e.next()).done;)c+=R(i=i.value,t,o,l=p+z(i,h++),a);else if("object"===l){if("function"==typeof e.then)return R(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,i,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function M(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",function(e){return t.call(n,e,o++)}),r}function N(e){if(-1===e._status){var t=(0,e._result)();t.then(function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n,void 0===t.status&&(t.status="fulfilled",t.value=n))},function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n,void 0===t.status&&(t.status="rejected",t.reason=n))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function A(e){var t=E.T,n={};n.types=null!==t?t.types:null,E.T=n;try{var r=e(),o=E.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(C,I)}catch(e){I(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}}var F={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=p,t.Children=F,t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=w,t.StrictMode=i,t.Suspense=c,t.ViewTransition=h,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.addTransitionType=function e(t){var n=E.T;if(null!==n){var r=n.types;null===r?n.types=[t]:-1===r.indexOf(t)&&r.push(t)}else A(e.bind(null,t))},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key;if(null!=t)for(i in void 0!==t.key&&(o=""+t.key),t)!P.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+2];r.children=a}return T(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,o={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)P.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var l=Array(a),s=0;s<a;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return T(e,i,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=A,t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.3.1"}),p=n.cw(e=>{e.exports=f()}),h=n.cw(e=>{e.exports=d()}),m=n.cw((e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,C||(C=!0,S());else{var t=r(c);null!==t&&M(k,t.startTime-e)}}var S,C=!1,E=-1,P=5,T=-1;function _(){return!!y||!(t.unstable_now()-T<P)}function O(){if(y=!1,C){var e=t.unstable_now();T=e;var n=!0;try{e:{m=!1,g&&(g=!1,b(E),E=-1),h=!0;var i=p;try{t:{for(w(e),f=r(u);null!==f&&!(f.expirationTime>e&&_());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof l){f.callback=l,w(e),n=!0;break t}f===r(u)&&o(u),w(e)}else o(u);f=r(u)}if(null!==f)n=!0;else{var s=r(c);null!==s&&M(k,s.startTime-e),n=!1}}break e}finally{f=null,p=i,h=!1}n=void 0}}finally{n?S():C=!1}}}if("function"==typeof x)S=function(){x(O)};else if("undefined"!=typeof MessageChannel){var z=new MessageChannel,R=z.port2;z.port1.onmessage=O,S=function(){R.postMessage(null)}}else S=function(){v(O,0)};function M(e,n){E=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(b(E),E=-1):g=!0,M(k,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,C||(C=!0,S()))),e},t.unstable_shouldYield=_,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}),g=n.cw(e=>{e.exports=m()}),y=n.cw(function(e){var t=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(b()),n=v();function r(e,r){var o={};return e&&"string"==typeof e?((0,t.default)(e,function(e,t){e&&t&&(o[(0,n.camelCase)(e,r)]=t)}),o):o}r.default=r,e.exports=r}),v=()=>n(917),b=()=>n(133),x={};n.r(x),n.d(x,{boolean:()=>ud,booleanish:()=>cd,commaOrSpaceSeparated:()=>md,commaSeparated:()=>hd,number:()=>fd,overloadedBoolean:()=>dd,spaceSeparated:()=>pd});var w={};n.r(w),n.d(w,{attentionMarkers:()=>Kp,contentInitial:()=>Bp,disable:()=>Yp,document:()=>Dp,flow:()=>Hp,flowInitial:()=>Wp,insideSpan:()=>qp,string:()=>Vp,text:()=>Up}),h();const k=e=>e,S=(()=>{let e=k;return{configure(t){e=t},generate:t=>e(t),reset(){e=k}}})();S.configure(e=>`rwpbot-${e}`);var C=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),E=Math.abs,P=String.fromCharCode,T=Object.assign;function _(e){return e.trim()}function O(e,t,n){return e.replace(t,n)}function z(e,t){return e.indexOf(t)}function R(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function N(e){return e.length}function I(e){return e.length}function A(e,t){return t.push(e),e}var F=1,L=1,j=0,$=0,D=0,B="";function W(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:F,column:L,length:a,return:""}}function H(e,t){return T(W("",null,null,"",null,null,0),e,{length:-e.length},t)}function V(){return D=$>0?R(B,--$):0,L--,10===D&&(L=1,F--),D}function U(){return D=$<j?R(B,$++):0,L++,10===D&&(L=1,F++),D}function q(){return R(B,$)}function K(){return $}function Y(e,t){return M(B,e,t)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(e){return F=L=1,j=N(B=e),$=0,[]}function X(e){return B="",e}function Z(e){return _(Y($-1,te(91===e?e+2:40===e?e+1:e)))}function J(e){for(;(D=q())&&D<33;)U();return Q(e)>2||Q(D)>3?"":" "}function ee(e,t){for(;--t&&U()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return Y(e,K()+(t<6&&32==q()&&32==U()))}function te(e){for(;U();)switch(D){case e:return $;case 34:case 39:34!==e&&39!==e&&te(D);break;case 40:41===e&&te(e);break;case 92:U()}return $}function ne(e,t){for(;U()&&e+D!==57&&(e+D!==84||47!==q()););return"/*"+Y(t,$-1)+"*"+P(47===e?e:U())}function re(e){for(;!Q(q());)U();return Y(e,$)}var oe="-ms-",ie="-moz-",ae="-webkit-",le="comm",se="rule",ue="decl",ce="@keyframes";function de(e,t){for(var n="",r=I(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function fe(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ue:return e.return=e.return||e.value;case le:return"";case ce:return e.return=e.value+"{"+de(e.children,r)+"}";case se:e.value=e.props.join(",")}return N(n=de(e.children,r))?e.return=e.value+"{"+n+"}":""}function pe(e){return X(he("",null,null,null,[""],e=G(e),0,[0],e))}function he(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,g=1,y=1,v=0,b="",x=o,w=i,k=r,S=b;g;)switch(h=v,v=U()){case 40:if(108!=h&&58==R(S,d-1)){-1!=z(S+=O(Z(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=Z(v);break;case 9:case 10:case 13:case 32:S+=J(h);break;case 92:S+=ee(K()-1,7);continue;case 47:switch(q()){case 42:case 47:A(ge(ne(U(),K()),t,n),s);break;default:S+="/"}break;case 123*m:l[u++]=N(S)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==y&&(S=O(S,/\f/g,"")),p>0&&N(S)-d&&A(p>32?ye(S+";",r,n,d-1):ye(O(S," ","")+";",r,n,d-2),s);break;case 59:S+=";";default:if(A(k=me(S,t,n,u,c,o,l,b,x=[],w=[],d),i),123===v)if(0===c)he(S,t,k,k,x,i,d,l,w);else switch(99===f&&110===R(S,3)?100:f){case 100:case 108:case 109:case 115:he(e,k,k,r&&A(me(e,k,k,0,0,o,l,b,o,x=[],d),w),o,w,d,l,r?x:w);break;default:he(S,k,k,k,[""],w,0,l,w)}}u=c=p=0,m=y=1,b=S="",d=a;break;case 58:d=1+N(S),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==V())continue;switch(S+=P(v),v*m){case 38:y=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(N(S)-1)*y,y=1;break;case 64:45===q()&&(S+=Z(U())),f=q(),c=d=N(b=S+=re(K())),v++;break;case 45:45===h&&2==N(S)&&(m=0)}}return i}function me(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,f=0===o?i:[""],p=I(f),h=0,m=0,g=0;h<r;++h)for(var y=0,v=M(e,d+1,d=E(m=a[h])),b=e;y<p;++y)(b=_(m>0?f[y]+" "+v:O(v,/&\f/g,f[y])))&&(s[g++]=b);return W(e,t,n,0===o?se:l,s,u,c)}function ge(e,t,n){return W(e,t,n,le,P(D),M(e,2,-2),0)}function ye(e,t,n,r){return W(e,t,n,ue,M(e,0,r),M(e,r+1,-1),r)}var ve=function(e,t,n){for(var r=0,o=0;r=o,o=q(),38===r&&12===o&&(t[n]=1),!Q(o);)U();return Y(e,$)},be=function(e,t){return X(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===q()&&(t[n]=1),e[n]+=ve($-1,t,n);break;case 2:e[n]+=Z(r);break;case 4:if(44===r){e[++n]=58===q()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=U());return e}(G(e),t))},xe=new WeakMap,we=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xe.get(n))&&!r){xe.set(e,!0);for(var o=[],i=be(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},ke=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Se(e,t){switch(function(e,t){return 45^R(e,0)?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ie+e+oe+e+e;case 6828:case 4268:return ae+e+oe+e+e;case 6165:return ae+e+oe+"flex-"+e+e;case 5187:return ae+e+O(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+oe+"flex-$1$2")+e;case 5443:return ae+e+oe+"flex-item-"+O(e,/flex-|-self/,"")+e;case 4675:return ae+e+oe+"flex-line-pack"+O(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+oe+O(e,"shrink","negative")+e;case 5292:return ae+e+oe+O(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+O(e,"-grow","")+ae+e+oe+O(e,"grow","positive")+e;case 4554:return ae+O(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return O(O(O(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return O(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return O(O(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return O(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(N(e)-1-t>6)switch(R(e,t+1)){case 109:if(45!==R(e,t+4))break;case 102:return O(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ie+(108==R(e,t+3)?"$3":"$2-$3"))+e;case 115:return~z(e,"stretch")?Se(O(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==R(e,t+1))break;case 6444:switch(R(e,N(e)-3-(~z(e,"!important")&&10))){case 107:return O(e,":",":"+ae)+e;case 101:return O(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(45===R(e,14)?"inline-":"")+"box$3$1"+ae+"$2$3$1"+oe+"$2box$3")+e}break;case 5936:switch(R(e,t+11)){case 114:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+oe+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ue:e.return=Se(e.value,e.length);break;case ce:return de([H(e,{value:O(e.value,"@","@"+ae)})],r);case se:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return de([H(e,{props:[O(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return de([H(e,{props:[O(t,/:(plac\w+)/,":"+ae+"input-$1")]}),H(e,{props:[O(t,/:(plac\w+)/,":-moz-$1")]}),H(e,{props:[O(t,/:(plac\w+)/,oe+"input-$1")]})],r)}return""})}}],Ee=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Ce,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)});var s,u,c,d,f=[fe,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[we,ke].concat(i,f),c=I(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});o=function(e,t,n,r){s=n,de(pe(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new C({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(l),h};function Pe(){return Pe.c||(Pe.c=n.t(p(),2))}p();function Te(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var _e=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Oe=function(e,t,n){_e(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var ze={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Me=/[A-Z]|^ms/g,Ne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ie=function(e){return 45===e.charCodeAt(1)},Ae=function(e){return null!=e&&"boolean"!=typeof e},Fe=Re(function(e){return Ie(e)?e:e.replace(Me,"-$&").toLowerCase()}),Le=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ne,function(e,t,n){return $e={name:t,styles:n,next:$e},t})}return 1===ze[e]||Ie(e)||"number"!=typeof t||0===t?t:t+"px"};function je(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return $e={name:o.name,styles:o.styles,next:$e},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)$e={name:a.name,styles:a.styles,next:$e},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=je(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":Ae(l)&&(r+=Fe(i)+":"+Le(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=je(e,t,a);switch(i){case"animation":case"animationName":r+=Fe(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Ae(a[u])&&(r+=Fe(i)+":"+Le(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=$e,s=n(e);return $e=l,je(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var $e,De=/label:\s*([^\s;{]+)\s*(;|$)/g;function Be(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";$e=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=je(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=je(n,t,e[a]),r)o+=i[a]}De.lastIndex=0;for(var l,s="";null!==(l=De.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:$e}}var We=!!Pe().useInsertionEffect&&Pe().useInsertionEffect,He=We||function(e){return e()},Ve=We||f().useLayoutEffect,Ue=f().createContext("undefined"!=typeof HTMLElement?Ee({key:"css"}):null),qe=Ue.Provider,Ke=function(e){return(0,f().forwardRef)(function(t,n){var r=(0,f().useContext)(Ue);return e(t,r,n)})},Ye=f().createContext({});var Qe={}.hasOwnProperty,Ge="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _e(t,n,r),He(function(){return Oe(t,n,r)}),null},Ze=Ke(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Ge],i=[r],a="";"string"==typeof e.className?a=Te(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Be(i,void 0,f().useContext(Ye));a+=t.key+"-"+l.name;var s={};for(var u in e)Qe.call(e,u)&&"css"!==u&&u!==Ge&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),f().createElement(f().Fragment,null,f().createElement(Xe,{cache:t,serialized:l,isStringTag:"string"==typeof o}),f().createElement(o,s))});u(),s();const Je=f().createContext(null);function et(){return f().useContext(Je)}const tt="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const nt=function(e){const{children:t,theme:n}=e,r=et(),o=f().useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(r,n);return null!=e&&(e[tt]=null!==r),e},[n,r]);return(0,d().jsx)(Je.Provider,{value:o,children:t})};const rt=function(e=null){const t=f().useContext(Ye);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},ot=f().createContext();const it=()=>f().useContext(ot)??!1,at=function({value:e,...t}){return(0,d().jsx)(ot.Provider,{value:e??!0,...t})};function lt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=lt(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const st=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=lt(e))&&(r&&(r+=" "),r+=t);return r};function ut(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){r[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[i][t]=ut(o[t],a[t],n)}}else r[i]=a;else r[i]=o||{}}else"className"===i&&n&&t.className?r.className=st(e?.className,t?.className):"style"===i&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[i]&&(r[i]=e[i])}return r}const ct=f().createContext(void 0);function dt({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?ut(o.defaultProps,r,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?r:ut(o,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:f().useContext(ct)}})}const ft=function({value:e,children:t}){return(0,d().jsx)(ct.Provider,{value:e,children:t})},pt="undefined"!=typeof window?f().useLayoutEffect:f().useEffect;let ht=0;const mt={...Pe()}.useId;function gt(e){if(void 0!==mt){const t=mt();return e??t}return function(e){const[t,n]=f().useState(e),r=e||t;return f().useEffect(()=>{null==t&&(ht+=1,n(`mui-${ht}`))},[t]),r}(e)}function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yt.apply(null,arguments)}var vt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,bt=Re(function(e){return vt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),xt=function(e){return"theme"!==e},wt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?bt:xt},kt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},St=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _e(t,n,r),He(function(){return Oe(t,n,r)}),null},Ct=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=kt(t,n,i),s=l||wt(a),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{var p=c[0];d.push(p[0]);for(var h=c.length,m=1;m<h;m++)d.push(c[m],p[m])}var g=Ke(function(e,t,n){var r=u&&e.as||a,i="",c=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=f().useContext(Ye)}"string"==typeof e.className?i=Te(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var m=Be(d.concat(c),t.registered,p);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var g=u&&void 0===l?wt(r):s,y={};for(var v in e)u&&"as"===v||g(v)&&(y[v]=e[v]);return y.className=i,n&&(y.ref=n),f().createElement(f().Fragment,null,f().createElement(St,{cache:t,serialized:m,isStringTag:"string"==typeof r}),f().createElement(r,y))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,yt({},n,r,{shouldForwardProp:kt(g,r,!0)})).apply(void 0,d)},g}}.bind(null);function Et(e,t){return Ct(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Ct[e]=Ct(e)});const Pt=[];function Tt(e){return Pt[0]=e,Be(Pt)}o();var _t=function(e,t){var n=arguments;if(null==t||!Qe.call(t,"css"))return f().createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ze,o[1]=function(e,t){var n={};for(var r in t)Qe.call(t,r)&&(n[r]=t[r]);return n[Ge]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return f().createElement.apply(null,o)};!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(_t||(_t={}));var Ot=Ke(function(e,t){var n=Be([e.styles],void 0,f().useContext(Ye)),r=f().useRef();return Ve(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Ve(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Oe(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function zt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Be(t)}function Rt(){var e=zt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Mt(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,d().jsx)(Ot,{styles:r})}function Nt(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function It(e){if(f().isValidElement(e)||(0,c().Hy)(e)||!Nt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=It(e[n])}),t}function At(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Nt(e)&&Nt(t)&&Object.keys(t).forEach(o=>{f().isValidElement(t[o])||(0,c().Hy)(t[o])?r[o]=t[o]:Nt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Nt(e[o])?r[o]=At(e[o],t[o],n):n.clone?r[o]=Nt(t[o])?It(t[o]):t[o]:r[o]=t[o]}),r}function Ft(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}function Lt(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const jt={borderRadius:4};const $t={xs:0,sm:600,md:900,lg:1200,xl:1536},Dt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${$t[e]}px)`},Bt={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:$t[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Wt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Dt;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||Dt;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:Bt,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||$t).includes(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o},{})}return n(t)}function Ht(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function Vt(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Ut({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{null!=e[t]&&(n[t]=!0)}),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t),{})}function qt(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Kt(e){if("string"!=typeof e)throw new Error(qt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Yt(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Qt(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Yt(e,n)||r,t&&(o=t(o,r,e)),o}const Gt=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Yt(e.theme,r)||{};return Wt(e,i,e=>{let r=Qt(a,o,e);return e===r&&"string"==typeof e&&(r=Qt(a,o,`${t}${"default"===e?"":Kt(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i};const Xt=function(e,t){return t?At(e,t,{clone:!1}):e};const Zt={m:"margin",p:"padding"},Jt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},en={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tn=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!en[e])return[e];e=en[e]}const[t,n]=e.split(""),r=Zt[t],o=Jt[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),nn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],on=[...nn,...rn];function an(e,t,n,r){const o=Yt(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function ln(e){return an(e,"spacing",8)}function sn(e,t){return"string"==typeof t||null==t?t:e(t)}function un(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=sn(t,n),e),{})}(tn(n),r);return Wt(e,e[n],o)}function cn(e,t){const n=ln(e.theme);return Object.keys(e).map(r=>un(e,t,r,n)).reduce(Xt,{})}function dn(e){return cn(e,nn)}function fn(e){return cn(e,rn)}function pn(e){return cn(e,on)}dn.propTypes={},dn.filterProps=nn,fn.propTypes={},fn.filterProps=rn,pn.propTypes={},pn.filterProps=on;function hn(e=8,t=ln({spacing:e})){if(e.mui)return e;const n=(...e)=>{return(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}const mn=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Xt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function gn(e){return"number"!=typeof e?e:`${e}px solid`}function yn(e,t){return Gt({prop:e,themeKey:"borders",transform:t})}const vn=yn("border",gn),bn=yn("borderTop",gn),xn=yn("borderRight",gn),wn=yn("borderBottom",gn),kn=yn("borderLeft",gn),Sn=yn("borderColor"),Cn=yn("borderTopColor"),En=yn("borderRightColor"),Pn=yn("borderBottomColor"),Tn=yn("borderLeftColor"),_n=yn("outline",gn),On=yn("outlineColor"),zn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=an(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:sn(t,e)});return Wt(e,e.borderRadius,n)}return null};zn.propTypes={},zn.filterProps=["borderRadius"];mn(vn,bn,xn,wn,kn,Sn,Cn,En,Pn,Tn,zn,_n,On);const Rn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=an(e.theme,"spacing",8),n=e=>({gap:sn(t,e)});return Wt(e,e.gap,n)}return null};Rn.propTypes={},Rn.filterProps=["gap"];const Mn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=an(e.theme,"spacing",8),n=e=>({columnGap:sn(t,e)});return Wt(e,e.columnGap,n)}return null};Mn.propTypes={},Mn.filterProps=["columnGap"];const Nn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=an(e.theme,"spacing",8),n=e=>({rowGap:sn(t,e)});return Wt(e,e.rowGap,n)}return null};Nn.propTypes={},Nn.filterProps=["rowGap"];mn(Rn,Mn,Nn,Gt({prop:"gridColumn"}),Gt({prop:"gridRow"}),Gt({prop:"gridAutoFlow"}),Gt({prop:"gridAutoColumns"}),Gt({prop:"gridAutoRows"}),Gt({prop:"gridTemplateColumns"}),Gt({prop:"gridTemplateRows"}),Gt({prop:"gridTemplateAreas"}),Gt({prop:"gridArea"}));function In(e,t){return"grey"===t?t:e}mn(Gt({prop:"color",themeKey:"palette",transform:In}),Gt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:In}),Gt({prop:"backgroundColor",themeKey:"palette",transform:In}));function An(e){return e<=1&&0!==e?100*e+"%":e}const Fn=Gt({prop:"width",transform:An}),Ln=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||$t[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:An(t)}};return Wt(e,e.maxWidth,t)}return null};Ln.filterProps=["maxWidth"];const jn=Gt({prop:"minWidth",transform:An}),$n=Gt({prop:"height",transform:An}),Dn=Gt({prop:"maxHeight",transform:An}),Bn=Gt({prop:"minHeight",transform:An}),Wn=(Gt({prop:"size",cssProperty:"width",transform:An}),Gt({prop:"size",cssProperty:"height",transform:An}),mn(Fn,Ln,jn,$n,Dn,Bn,Gt({prop:"boxSizing"})),{border:{themeKey:"borders",transform:gn},borderTop:{themeKey:"borders",transform:gn},borderRight:{themeKey:"borders",transform:gn},borderBottom:{themeKey:"borders",transform:gn},borderLeft:{themeKey:"borders",transform:gn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:gn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zn},color:{themeKey:"palette",transform:In},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:In},backgroundColor:{themeKey:"palette",transform:In},p:{style:fn},pt:{style:fn},pr:{style:fn},pb:{style:fn},pl:{style:fn},px:{style:fn},py:{style:fn},padding:{style:fn},paddingTop:{style:fn},paddingRight:{style:fn},paddingBottom:{style:fn},paddingLeft:{style:fn},paddingX:{style:fn},paddingY:{style:fn},paddingInline:{style:fn},paddingInlineStart:{style:fn},paddingInlineEnd:{style:fn},paddingBlock:{style:fn},paddingBlockStart:{style:fn},paddingBlockEnd:{style:fn},m:{style:dn},mt:{style:dn},mr:{style:dn},mb:{style:dn},ml:{style:dn},mx:{style:dn},my:{style:dn},margin:{style:dn},marginTop:{style:dn},marginRight:{style:dn},marginBottom:{style:dn},marginLeft:{style:dn},marginX:{style:dn},marginY:{style:dn},marginInline:{style:dn},marginInlineStart:{style:dn},marginInlineEnd:{style:dn},marginBlock:{style:dn},marginBlockStart:{style:dn},marginBlockEnd:{style:dn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Rn},rowGap:{style:Nn},columnGap:{style:Mn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:An},maxWidth:{style:Ln},minWidth:{transform:An},height:{transform:An},maxHeight:{transform:An},minHeight:{transform:An},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const Hn=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Yt(n,l)||{};if(u)return u(o);return Wt(o,t,t=>{let n=Qt(c,s,t);return t===n&&"string"==typeof t&&(n=Qt(c,s,`${e}${"default"===t?"":Kt(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){const{sx:r,theme:o={},nested:i}=n||{};if(!r)return null;const a=o.unstable_sxConfig??Wn;function l(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const l=Ht(o.breakpoints),s=Object.keys(l);let u=l;return Object.keys(r).forEach(n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=i)if("object"==typeof i)if(a[n])u=Xt(u,e(n,i,o,a));else{const e=Wt({theme:o},i,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,i)?u=Xt(u,e):u[n]=t({sx:i,theme:o,nested:!0})}else u=Xt(u,e(n,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Lt(o,Vt(s,u))}:Lt(o,Vt(s,u))}return Array.isArray(r)?r.map(l):l(r)}}();Hn.filterProps=["sx"];const Vn=Hn;function Un(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const qn=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let l=At({breakpoints:Ft(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:hn(o),shape:{...jt,...i}},a);return l=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(l),l.applyStyles=Un,l=t.reduce((e,t)=>At(e,t),l),l.unstable_sxConfig={...Wn,...a?.unstable_sxConfig},l.unstable_sx=function(e){return Vn({sx:e,theme:this})},l},Kn=qn();const Yn=function(e=Kn){return rt(e)};function Qn(e){const t=Tt(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const Gn=function({styles:e,themeId:t,defaultTheme:n={}}){const r=Yn(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>Qn("function"==typeof e?e(o):e)):Qn(i)),(0,d().jsx)(Mt,{styles:i})};const Xn={};function Zn(e,t,n,r=!1){return f().useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}const Jn=function(e){const{children:t,theme:n,themeId:r}=e,o=rt(Xn),i=et()||Xn,a=Zn(r,o,n),l=Zn(r,i,n,!0),s="rtl"===(r?a[r]:a).direction,u=function(e){const t=rt(),n=gt()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",pt(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const r=document.createElement("style");r.setAttribute("data-mui-layer-order",n),r.textContent=o,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[o,n]),o?(0,d().jsx)(Gn,{styles:o}):null}(a);return(0,d().jsx)(nt,{theme:l,children:(0,d().jsx)(Ye.Provider,{value:a,children:(0,d().jsx)(at,{value:s,children:(0,d().jsxs)(ft,{value:r?a[r].components:a.components,children:[u,t]})})})})},er="$$material";function tr({theme:e,...t}){const n=er in e?e[er]:void 0;return(0,d().jsx)(Jn,{...t,themeId:n?er:void 0,theme:n||e})}const nr="mode",rr="color-scheme",or="data-color-scheme";function ir(){}const ar=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return ir;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function lr(){}function sr(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function ur(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function cr(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i="mode",colorSchemeStorageKey:a=rr,storageWindow:l=("undefined"==typeof window?void 0:window),storageManager:s=ar,noSsr:u=!1}=e,c=o.join(","),d=o.length>1,p=f().useMemo(()=>s?.({key:i,storageWindow:l}),[s,i,l]),h=f().useMemo(()=>s?.({key:`${a}-light`,storageWindow:l}),[s,a,l]),m=f().useMemo(()=>s?.({key:`${a}-dark`,storageWindow:l}),[s,a,l]),[g,y]=f().useState(()=>{const e=p?.get(t)||t,o=h?.get(n)||n,i=m?.get(r)||r;return{mode:e,systemMode:sr(e),lightColorScheme:o,darkColorScheme:i}}),[v,b]=f().useState(u||!d);f().useEffect(()=>{b(!0)},[]);const x=function(e){return ur(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),w=f().useCallback(e=>{y(n=>{if(e===n.mode)return n;const r=e??t;return p?.set(r),{...n,mode:r,systemMode:sr(r)}})},[p,t]),k=f().useCallback(e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const n={...t};return ur(t,t=>{"light"===t&&(h?.set(e),n.lightColorScheme=e),"dark"===t&&(m?.set(e),n.darkColorScheme=e)}),n}):y(t=>{const o={...t},i=null===e.light?n:e.light,a=null===e.dark?r:e.dark;return i&&(c.includes(i)?(o.lightColorScheme=i,h?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a&&(c.includes(a)?(o.darkColorScheme=a,m?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o}):y(e=>(h?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[c,h,m,n,r]),S=f().useCallback(e=>{"system"===g.mode&&y(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),C=f().useRef(S);return C.current=S,f().useEffect(()=>{if("function"!=typeof window.matchMedia||!d)return;const e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),f().useEffect(()=>{if(d){const e=p?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||w(e||t)})||lr,n=h?.subscribe(e=>{e&&!c.match(e)||k({light:e})})||lr,r=m?.subscribe(e=>{e&&!c.match(e)||k({dark:e})})||lr;return()=>{e(),n(),r()}}},[k,w,c,t,l,d,p,h,m]),{...g,mode:v?g.mode:void 0,systemMode:v?g.systemMode:void 0,colorScheme:v?x:void 0,setMode:w,setColorScheme:k}}const dr=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function fr(e,t=0,n=1){return dr(e,t,n)}function pr(e){if(e.type)return e;if("#"===e.charAt(0))return pr(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(qt(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(qt(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}const hr=(e,t)=>{try{return(e=>{const t=pr(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function mr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function gr(e){e=pr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),mr({type:l,values:s})}function yr(e){let t="hsl"===(e=pr(e)).type||"hsla"===e.type?pr(gr(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vr(e,t){return e=pr(e),t=fr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,mr(e)}function br(e,t,n){try{return vr(e,t)}catch(t){return e}}function xr(e,t){if(e=pr(e),t=fr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mr(e)}function wr(e,t,n){try{return xr(e,t)}catch(t){return e}}function kr(e,t){if(e=pr(e),t=fr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mr(e)}function Sr(e,t,n){try{return kr(e,t)}catch(t){return e}}function Cr(e,t,n){try{return function(e,t=.15){return yr(e)>.5?xr(e,t):kr(e,t)}(e,t)}catch(t){return e}}const Er={black:"#000",white:"#fff"},Pr={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Tr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},_r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Or={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},zr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Mr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Nr(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Er.white,default:Er.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Ir=Nr();function Ar(){return{text:{primary:Er.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Er.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Fr=Ar();function Lr(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=kr(e.main,o):"dark"===t&&(e.dark=xr(e.main,i)))}function jr(e,t,n,r,o){const i=o.light||o,a=o.dark||1.5*o;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function $r(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:zr[200],light:zr[50],dark:zr[400]}:{main:zr[700],light:zr[400],dark:zr[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:Tr[200],light:Tr[50],dark:Tr[400]}:{main:Tr[500],light:Tr[300],dark:Tr[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:_r[500],light:_r[300],dark:_r[700]}:{main:_r[700],light:_r[400],dark:_r[800]}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Rr[400],light:Rr[300],dark:Rr[700]}:{main:Rr[700],light:Rr[500],dark:Rr[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Mr[400],light:Mr[300],dark:Mr[700]}:{main:Mr[800],light:Mr[500],dark:Mr[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Or[400],light:Or[300],dark:Or[700]}:{main:"#ed6c02",light:Or[500],dark:Or[900]}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=yr(e),r=yr(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Fr.text.primary)>=n?Fr.text.primary:Ir.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(qt(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(qt(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(jr(o,e,"light",i,r),jr(o,e,"dark",a,r)):(Lr(e,"light",i,r),Lr(e,"dark",a,r)),e.contrastText||(e.contrastText=f(e.main)),e};let h;"light"===t?h=Nr():"dark"===t&&(h=Ar());return At({common:{...Er},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:Pr,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...h},i)}function Dr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function Br(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Wr=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})};function Hr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var l,s;return l=(e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,s=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:s}),Wr(i,e,`var(${r})`,l),Wr(a,e,`var(${r}, ${s})`,l)}},s=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,o])=>{(!s||s&&!s([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):l([...n,t],o,r))})}(e),{css:o,vars:i,varsWithDefaults:a}}const Vr=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:s="light",...u}=e,{vars:c,css:d,varsWithDefaults:f}=Hr(u,t);let p=f;const h={},{[s]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=Hr(n,t);p=At(p,i),h[e]={css:o,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=Hr(m,t);p=At(p,r),h[s]={css:e,vars:n}}function y(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach(([,{vars:t}])=>{e=At(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function l(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}l(n(void 0,{...d}),d);const{[o]:s,...u}=h;if(s){const{css:e}=s,t=a[o]?.palette?.mode,i=!r&&t?{colorScheme:t,...e}:{...e};l(n(o,{...i}),i)}return Object.entries(u).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!r&&o?{colorScheme:o,...t}:{...t};l(n(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}};function Ur(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}const qr={textTransform:"uppercase"},Kr='"Roboto", "Helvetica", "Arial", sans-serif';function Yr(e,t){const{fontFamily:n=Kr,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:c,...d}="function"==typeof t?t(e):t;const f=r/14,p=c||(e=>e/s*f+"rem"),h=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===Kr?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},...i,...u};var a},m={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,qr),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,qr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return At({htmlFontSize:s,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l,...m},d,{clone:!1})}function Qr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Gr=["none",Qr(0,2,1,-1,0,1,1,0,0,1,3,0),Qr(0,3,1,-2,0,2,2,0,0,1,5,0),Qr(0,3,3,-2,0,3,4,0,0,1,8,0),Qr(0,2,4,-1,0,4,5,0,0,1,10,0),Qr(0,3,5,-1,0,5,8,0,0,1,14,0),Qr(0,3,5,-1,0,6,10,0,0,1,18,0),Qr(0,4,5,-2,0,7,10,1,0,2,16,1),Qr(0,5,5,-3,0,8,10,1,0,3,14,2),Qr(0,5,6,-3,0,9,12,1,0,3,16,2),Qr(0,6,6,-3,0,10,14,1,0,4,18,3),Qr(0,6,7,-4,0,11,15,1,0,4,20,3),Qr(0,7,8,-4,0,12,17,2,0,5,22,4),Qr(0,7,8,-4,0,13,19,2,0,5,24,4),Qr(0,7,9,-4,0,14,21,2,0,5,26,4),Qr(0,8,9,-5,0,15,22,2,0,6,28,5),Qr(0,8,10,-5,0,16,24,2,0,6,30,5),Qr(0,8,11,-5,0,17,26,2,0,6,32,5),Qr(0,9,11,-5,0,18,28,2,0,7,34,6),Qr(0,9,12,-6,0,19,29,2,0,7,36,6),Qr(0,10,13,-6,0,20,31,3,0,8,38,7),Qr(0,10,13,-6,0,21,33,3,0,8,40,7),Qr(0,10,14,-6,0,22,35,3,0,8,42,7),Qr(0,11,14,-7,0,23,36,3,0,9,44,8),Qr(0,11,15,-7,0,24,38,3,0,9,46,8)],Xr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Zr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Jr(e){return`${Math.round(e)}ms`}function eo(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function to(e){const t={...Xr,...e.easing},n={...Zr,...e.duration};return{getAutoHeightDuration:eo,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...l}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:Jr(o)} ${i} ${"string"==typeof a?a:Jr(a)}`).join(",")},...e,easing:t,duration:n}}const no={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ro(e){return Nt(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function oo(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[o,i]=n[r];!ro(i)||o.startsWith("unstable_")?delete t[o]:Nt(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function io(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function ao(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof n?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof n?`calc(${n})`:n})`:vr(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${io(n)})`:kr(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${io(n)})`:xr(t,n)}})}const lo=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:l={},shape:s,colorSpace:u,...c}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(qt(20));const d=$r({...i,colorSpace:u}),f=qn(e);let p=At(f,{mixins:Ur(f.breakpoints,r),palette:d,shadows:Gr.slice(),typography:Yr(d,l),transitions:to(a),zIndex:{...no}});return p=At(p,c),p=t.reduce((e,t)=>At(e,t),p),p.unstable_sxConfig={...Wn,...c?.unstable_sxConfig},p.unstable_sx=function(e){return Vn({sx:e,theme:this})},p.toRuntimeSource=oo,ao(p),p};function so(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const uo=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=so(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function co(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function fo(e){return"dark"===e?uo:[]}function po(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const ho=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mo=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return ho(e.cssVarPrefix).forEach(e=>{o[e]=n[e],delete n[e]}),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function go(e,t,n){!e[t]&&n&&(e[t]=n)}function yo(e){return"string"==typeof e&&e.startsWith("hsl")?gr(e):e}function vo(e,t){`${t}Channel`in e||(e[`${t}Channel`]=hr(yo(e[t])))}n.dn(mo);const bo=e=>{try{return e()}catch(e){}};function xo(e,t,n,r,o){if(!n)return;n=!0===n?{}:n;const i="dark"===o?"dark":"light";if(!r)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...i}=e,a=$r({...t,colorSpace:o});return{palette:a,opacity:{...co(a.mode),...n},overlays:r||fo(a.mode),...i}}({...n,palette:{mode:i,...n?.palette},colorSpace:e}));const{palette:a,...l}=lo({...r,palette:{mode:i,...n?.palette},colorSpace:e});return t[o]={...n,palette:a,opacity:{...co(i),...n?.opacity},overlays:n?.overlays||fo(i)},l}function wo(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:l=po,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:u=":root",...c}=e,d=Object.keys(n)[0],f=r||(n.light&&"light"!==d?"light":d),p=((e="mui")=>Dr(e))(i),{[f]:h,light:m,dark:g,...y}=n,v={...y};let b,x=h;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(x=!0),!x)throw new Error(qt(21,f));a&&(b="oklch");const w=xo(b,v,x,c,f);m&&!v.light&&xo(b,v,m,void 0,"light"),g&&!v.dark&&xo(b,v,g,void 0,"dark");let k={defaultColorScheme:f,...w,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:p,colorSchemes:v,font:{...Br(w.typography),...w.font},spacing:(S=c.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(k.colorSchemes).forEach(e=>{const t=k.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};function r(e,t,n){if(b){let r;return e===br&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===wr&&(r=`#000 ${(100*n).toFixed(0)}%`),e===Sr&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}var o;if("light"===t.mode&&(go(t.common,"background","#fff"),go(t.common,"onBackground","#000")),"dark"===t.mode&&(go(t.common,"background","#000"),go(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){go(t.Alert,"errorColor",r(wr,a?p("palette-error-light"):t.error.light,.6)),go(t.Alert,"infoColor",r(wr,a?p("palette-info-light"):t.info.light,.6)),go(t.Alert,"successColor",r(wr,a?p("palette-success-light"):t.success.light,.6)),go(t.Alert,"warningColor",r(wr,a?p("palette-warning-light"):t.warning.light,.6)),go(t.Alert,"errorFilledBg",n("palette-error-main")),go(t.Alert,"infoFilledBg",n("palette-info-main")),go(t.Alert,"successFilledBg",n("palette-success-main")),go(t.Alert,"warningFilledBg",n("palette-warning-main")),go(t.Alert,"errorFilledColor",bo(()=>t.getContrastText(t.error.main))),go(t.Alert,"infoFilledColor",bo(()=>t.getContrastText(t.info.main))),go(t.Alert,"successFilledColor",bo(()=>t.getContrastText(t.success.main))),go(t.Alert,"warningFilledColor",bo(()=>t.getContrastText(t.warning.main))),go(t.Alert,"errorStandardBg",r(Sr,a?p("palette-error-light"):t.error.light,.9)),go(t.Alert,"infoStandardBg",r(Sr,a?p("palette-info-light"):t.info.light,.9)),go(t.Alert,"successStandardBg",r(Sr,a?p("palette-success-light"):t.success.light,.9)),go(t.Alert,"warningStandardBg",r(Sr,a?p("palette-warning-light"):t.warning.light,.9)),go(t.Alert,"errorIconColor",n("palette-error-main")),go(t.Alert,"infoIconColor",n("palette-info-main")),go(t.Alert,"successIconColor",n("palette-success-main")),go(t.Alert,"warningIconColor",n("palette-warning-main")),go(t.AppBar,"defaultBg",n("palette-grey-100")),go(t.Avatar,"defaultBg",n("palette-grey-400")),go(t.Button,"inheritContainedBg",n("palette-grey-300")),go(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),go(t.Chip,"defaultBorder",n("palette-grey-400")),go(t.Chip,"defaultAvatarColor",n("palette-grey-700")),go(t.Chip,"defaultIconColor",n("palette-grey-700")),go(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),go(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),go(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),go(t.LinearProgress,"primaryBg",r(Sr,a?p("palette-primary-main"):t.primary.main,.62)),go(t.LinearProgress,"secondaryBg",r(Sr,a?p("palette-secondary-main"):t.secondary.main,.62)),go(t.LinearProgress,"errorBg",r(Sr,a?p("palette-error-main"):t.error.main,.62)),go(t.LinearProgress,"infoBg",r(Sr,a?p("palette-info-main"):t.info.main,.62)),go(t.LinearProgress,"successBg",r(Sr,a?p("palette-success-main"):t.success.main,.62)),go(t.LinearProgress,"warningBg",r(Sr,a?p("palette-warning-light"):t.warning.main,.62)),go(t.Skeleton,"bg",b?r(br,a?p("palette-text-primary"):t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),go(t.Slider,"primaryTrack",r(Sr,a?p("palette-primary-main"):t.primary.main,.62)),go(t.Slider,"secondaryTrack",r(Sr,a?p("palette-secondary-main"):t.secondary.main,.62)),go(t.Slider,"errorTrack",r(Sr,a?p("palette-error-main"):t.error.main,.62)),go(t.Slider,"infoTrack",r(Sr,a?p("palette-info-main"):t.info.main,.62)),go(t.Slider,"successTrack",r(Sr,a?p("palette-success-main"):t.success.main,.62)),go(t.Slider,"warningTrack",r(Sr,a?p("palette-warning-main"):t.warning.main,.62));const e=b?r(wr,a?p("palette-background-default"):t.background.default,.6825):Cr(t.background.default,.8);go(t.SnackbarContent,"bg",e),go(t.SnackbarContent,"color",bo(()=>b?Fr.text.primary:t.getContrastText(e))),go(t.SpeedDialAction,"fabHoverBg",Cr(t.background.paper,.15)),go(t.StepConnector,"border",n("palette-grey-400")),go(t.StepContent,"border",n("palette-grey-400")),go(t.Switch,"defaultColor",n("palette-common-white")),go(t.Switch,"defaultDisabledColor",n("palette-grey-100")),go(t.Switch,"primaryDisabledColor",r(Sr,a?p("palette-primary-main"):t.primary.main,.62)),go(t.Switch,"secondaryDisabledColor",r(Sr,a?p("palette-secondary-main"):t.secondary.main,.62)),go(t.Switch,"errorDisabledColor",r(Sr,a?p("palette-error-main"):t.error.main,.62)),go(t.Switch,"infoDisabledColor",r(Sr,a?p("palette-info-main"):t.info.main,.62)),go(t.Switch,"successDisabledColor",r(Sr,a?p("palette-success-main"):t.success.main,.62)),go(t.Switch,"warningDisabledColor",r(Sr,a?p("palette-warning-main"):t.warning.main,.62)),go(t.TableCell,"border",r(Sr,br(a?p("palette-divider"):t.divider,1),.88)),go(t.Tooltip,"bg",r(br,a?p("palette-grey-700"):t.grey[700],.92))}if("dark"===t.mode){go(t.Alert,"errorColor",r(Sr,a?p("palette-error-light"):t.error.light,.6)),go(t.Alert,"infoColor",r(Sr,a?p("palette-info-light"):t.info.light,.6)),go(t.Alert,"successColor",r(Sr,a?p("palette-success-light"):t.success.light,.6)),go(t.Alert,"warningColor",r(Sr,a?p("palette-warning-light"):t.warning.light,.6)),go(t.Alert,"errorFilledBg",n("palette-error-dark")),go(t.Alert,"infoFilledBg",n("palette-info-dark")),go(t.Alert,"successFilledBg",n("palette-success-dark")),go(t.Alert,"warningFilledBg",n("palette-warning-dark")),go(t.Alert,"errorFilledColor",bo(()=>t.getContrastText(t.error.dark))),go(t.Alert,"infoFilledColor",bo(()=>t.getContrastText(t.info.dark))),go(t.Alert,"successFilledColor",bo(()=>t.getContrastText(t.success.dark))),go(t.Alert,"warningFilledColor",bo(()=>t.getContrastText(t.warning.dark))),go(t.Alert,"errorStandardBg",r(wr,a?p("palette-error-light"):t.error.light,.9)),go(t.Alert,"infoStandardBg",r(wr,a?p("palette-info-light"):t.info.light,.9)),go(t.Alert,"successStandardBg",r(wr,a?p("palette-success-light"):t.success.light,.9)),go(t.Alert,"warningStandardBg",r(wr,a?p("palette-warning-light"):t.warning.light,.9)),go(t.Alert,"errorIconColor",n("palette-error-main")),go(t.Alert,"infoIconColor",n("palette-info-main")),go(t.Alert,"successIconColor",n("palette-success-main")),go(t.Alert,"warningIconColor",n("palette-warning-main")),go(t.AppBar,"defaultBg",n("palette-grey-900")),go(t.AppBar,"darkBg",n("palette-background-paper")),go(t.AppBar,"darkColor",n("palette-text-primary")),go(t.Avatar,"defaultBg",n("palette-grey-600")),go(t.Button,"inheritContainedBg",n("palette-grey-800")),go(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),go(t.Chip,"defaultBorder",n("palette-grey-700")),go(t.Chip,"defaultAvatarColor",n("palette-grey-300")),go(t.Chip,"defaultIconColor",n("palette-grey-300")),go(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),go(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),go(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),go(t.LinearProgress,"primaryBg",r(wr,a?p("palette-primary-main"):t.primary.main,.5)),go(t.LinearProgress,"secondaryBg",r(wr,a?p("palette-secondary-main"):t.secondary.main,.5)),go(t.LinearProgress,"errorBg",r(wr,a?p("palette-error-main"):t.error.main,.5)),go(t.LinearProgress,"infoBg",r(wr,a?p("palette-info-main"):t.info.main,.5)),go(t.LinearProgress,"successBg",r(wr,a?p("palette-success-main"):t.success.main,.5)),go(t.LinearProgress,"warningBg",r(wr,a?p("palette-warning-main"):t.warning.main,.5)),go(t.Skeleton,"bg",b?r(br,a?p("palette-text-primary"):t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),go(t.Slider,"primaryTrack",r(wr,a?p("palette-primary-main"):t.primary.main,.5)),go(t.Slider,"secondaryTrack",r(wr,a?p("palette-secondary-main"):t.secondary.main,.5)),go(t.Slider,"errorTrack",r(wr,a?p("palette-error-main"):t.error.main,.5)),go(t.Slider,"infoTrack",r(wr,a?p("palette-info-main"):t.info.main,.5)),go(t.Slider,"successTrack",r(wr,a?p("palette-success-main"):t.success.main,.5)),go(t.Slider,"warningTrack",r(wr,a?p("palette-warning-light"):t.warning.main,.5));const e=b?r(Sr,a?p("palette-background-default"):t.background.default,.985):Cr(t.background.default,.98);go(t.SnackbarContent,"bg",e),go(t.SnackbarContent,"color",bo(()=>b?Ir.text.primary:t.getContrastText(e))),go(t.SpeedDialAction,"fabHoverBg",Cr(t.background.paper,.15)),go(t.StepConnector,"border",n("palette-grey-600")),go(t.StepContent,"border",n("palette-grey-600")),go(t.Switch,"defaultColor",n("palette-grey-300")),go(t.Switch,"defaultDisabledColor",n("palette-grey-600")),go(t.Switch,"primaryDisabledColor",r(wr,a?p("palette-primary-main"):t.primary.main,.55)),go(t.Switch,"secondaryDisabledColor",r(wr,a?p("palette-secondary-main"):t.secondary.main,.55)),go(t.Switch,"errorDisabledColor",r(wr,a?p("palette-error-main"):t.error.main,.55)),go(t.Switch,"infoDisabledColor",r(wr,a?p("palette-info-main"):t.info.main,.55)),go(t.Switch,"successDisabledColor",r(wr,a?p("palette-success-main"):t.success.main,.55)),go(t.Switch,"warningDisabledColor",r(wr,a?p("palette-warning-light"):t.warning.main,.55)),go(t.TableCell,"border",r(wr,br(a?p("palette-divider"):t.divider,1),.68)),go(t.Tooltip,"bg",r(br,a?p("palette-grey-700"):t.grey[700],.92))}a||(vo(t.background,"default"),vo(t.background,"paper"),vo(t.common,"background"),vo(t.common,"onBackground"),vo(t,"divider")),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&!a&&n&&"object"==typeof n&&(n.main&&go(t[e],"mainChannel",hr(yo(n.main))),n.light&&go(t[e],"lightChannel",hr(yo(n.light))),n.dark&&go(t[e],"darkChannel",hr(yo(n.dark))),n.contrastText&&go(t[e],"contrastTextChannel",hr(yo(n.contrastText))),"text"===e&&(vo(t[e],"primary"),vo(t[e],"secondary")),"action"===e&&(n.active&&vo(t[e],"active"),n.selected&&vo(t[e],"selected")))})}),k=t.reduce((e,t)=>At(e,t),k);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:l,getSelector:mo(k),enableContrastVars:a},{vars:E,generateThemeVars:P,generateStyleSheets:T}=Vr(k,C);return k.vars=E,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([e,t])=>{k[e]=t}),k.generateThemeVars=P,k.generateStyleSheets=T,k.generateSpacing=function(){return hn(c.spacing,ln(this))},k.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=l,k.unstable_sxConfig={...Wn,...c?.unstable_sxConfig},k.unstable_sx=function(e){return Vn({sx:e,theme:this})},k.toRuntimeSource=oo,k}function ko(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:$r({...!0===n?{}:n.palette,mode:t})})}function So(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,l=i||"light",s=o?.[l],u={...o,...n?{[l]:{..."boolean"!=typeof s&&s,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return lo(e,...t);let r=n;"palette"in e||u[l]&&(!0!==u[l]?r=u[l].palette:"dark"===l&&(r={mode:"dark"}));const o=lo({...e,palette:r},...t);return o.defaultColorScheme=l,o.colorSchemes=u,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==u.light&&u.light,palette:o.palette},ko(o,"dark",u.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==u.dark&&u.dark,palette:o.palette},ko(o,"light",u.light)),o}return n||"light"in u||"light"!==l||(u.light=!0),wo({...a,colorSchemes:u,defaultColorScheme:l,..."boolean"!=typeof r&&r},...t)}const Co={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const{CssVarsProvider:Eo,useColorScheme:Po,getInitColorSchemeScript:To}=function(e){const{themeId:t,theme:n={},modeStorageKey:r="mode",colorSchemeStorageKey:o=rr,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:l}=e,s={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=f().createContext(void 0),c={},p={},h="string"==typeof a?a:a.light,m="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){const{children:s,theme:h,modeStorageKey:m=r,colorSchemeStorageKey:g=o,disableTransitionOnChange:y=i,storageManager:v,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:x=("undefined"==typeof document?void 0:document),colorSchemeNode:w=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:k=!1,disableStyleSheetGeneration:S=!1,defaultMode:C="system",forceThemeRerender:E=!1,noSsr:P}=e,T=f().useRef(!1),_=et(),O=f().useContext(u),z=!!O&&!k,R=f().useMemo(()=>h||("function"==typeof n?n():n),[h]),M=R[t],N=M||R,{colorSchemes:I=c,components:A=p,cssVarPrefix:F}=N,L=Object.keys(I).filter(e=>!!I[e]).join(","),j=f().useMemo(()=>L.split(","),[L]),$="string"==typeof a?a:a.light,D="string"==typeof a?a:a.dark,B=I[$]&&I[D]?C:I[N.defaultColorScheme]?.palette?.mode||N.palette?.mode,{mode:W,setMode:H,systemMode:V,lightColorScheme:U,darkColorScheme:q,colorScheme:K,setColorScheme:Y}=cr({supportedColorSchemes:j,defaultLightColorScheme:$,defaultDarkColorScheme:D,modeStorageKey:m,colorSchemeStorageKey:g,defaultMode:B,storageManager:v,storageWindow:b,noSsr:P});let Q=W,G=K;z&&(Q=O.mode,G=O.colorScheme);let X=G||N.defaultColorScheme;N.vars&&!E&&(X=N.defaultColorScheme);const Z=f().useMemo(()=>{const e=N.generateThemeVars?.()||N.vars,t={...N,components:A,colorSchemes:I,cssVarPrefix:F,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),X){const e=I[X];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return l?l(t):t},[N,X,A,I,F]),J=N.colorSchemeSelector;pt(()=>{if(G&&w&&J&&"media"!==J){const e=J;let t=J;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))w.classList.remove(...j.map(e=>t.substring(1).replace("%s",e))),w.classList.add(t.substring(1).replace("%s",G));else{const e=t.replace("%s",G).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||j.forEach(e=>{w.removeAttribute(t.replace(G,e))}),w.setAttribute(t,n?n.replace(/"|'/g,""):"")}else w.setAttribute(t,G)}}},[G,J,w,j]),f().useEffect(()=>{let e;if(y&&T.current&&x){const t=x.createElement("style");t.appendChild(x.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),x.head.appendChild(t),window.getComputedStyle(x.body),e=setTimeout(()=>{x.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[G,y,x]),f().useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);const ee=f().useMemo(()=>({allColorSchemes:j,colorScheme:G,darkColorScheme:q,lightColorScheme:U,mode:Q,setColorScheme:Y,setMode:H,systemMode:V}),[j,G,q,U,Q,Y,H,V,Z.colorSchemeSelector]);let te=!0;(S||!1===N.cssVariables||z&&_?.cssVarPrefix===F)&&(te=!1);const ne=(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)(Jn,{themeId:M?t:void 0,theme:Z,children:s}),te&&(0,d().jsx)(Mt,{styles:Z.generateStyleSheets?.()||[]})]});return z?ne:(0,d().jsx)(u.Provider,{value:ee,children:ne})},useColorScheme:()=>f().useContext(u)||s,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=nr,colorSchemeStorageKey:i=rr,attribute:a=or,colorSchemeNode:l="document.documentElement",nonce:s}=e||{};let u="",c=a;if("class"===a&&(c=".%s"),"data"===a&&(c="[data-%s]"),c.startsWith(".")){const e=c.substring(1);u+=`${l}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n      ${l}.classList.add('${e}'.replace('%s', colorScheme));`}const f=c.match(/\[([^[\]]+)\]/);if(f){const[e,t]=f[1].split("=");t||(u+=`${l}.removeAttribute('${e}'.replace('%s', light));\n      ${l}.removeAttribute('${e}'.replace('%s', dark));`),u+=`\n      ${l}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==c&&(u+=`${l}.setAttribute('${c}', colorScheme);`);return(0,d().jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?s:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n  let colorScheme = '';\n  const mode = localStorage.getItem('${o}') || '${t}';\n  const dark = localStorage.getItem('${i}-dark') || '${r}';\n  const light = localStorage.getItem('${i}-light') || '${n}';\n  if (mode === 'system') {\n    // handle system mode\n    const mql = window.matchMedia('(prefers-color-scheme: dark)');\n    if (mql.matches) {\n      colorScheme = dark\n    } else {\n      colorScheme = light\n    }\n  }\n  if (mode === 'light') {\n    colorScheme = light;\n  }\n  if (mode === 'dark') {\n    colorScheme = dark;\n  }\n  if (colorScheme) {\n    ${u}\n  }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:o,defaultLightColorScheme:h,defaultDarkColorScheme:m,modeStorageKey:r,...e})}}({themeId:er,theme:()=>So({cssVariables:!0}),colorSchemeStorageKey:Co.colorSchemeStorageKey,modeStorageKey:Co.modeStorageKey,defaultColorScheme:{light:Co.defaultLightColorScheme,dark:Co.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Yr(e.palette,e.typography)};return t.unstable_sx=function(e){return Vn({sx:e,theme:this})},t}});const _o=Eo;function Oo({theme:e,...t}){const n=f().useMemo(()=>{if("function"==typeof e)return e;const t=er in e?e[er]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,d().jsx)(tr,{theme:n,...t}):(0,d().jsx)(_o,{theme:e,...t})}const zo=["Describe a problem with your site…","Help me increase dwell time…","My media library is full of unused images…","My site feels slow…","Let visitors listen to my posts…","My images look blurry on phones…","Add a watermark to my photos…","Rename my images for better SEO…"],Ro=["My media library is full of images I don't use","My site feels slow","I want visitors to listen to my posts"],Mo={title:"Reinvent WP Apps",summary:"%1$d of %2$d apps active on this site.",your_apps:"Your apps",more_apps:"More from Reinvent WP",open:"Open",activate:"Activate",install:"Install",refresh_hint:"Get the latest list of apps now",catalog_hint:"See every Reinvent WP plugin on reinventwp.com",coming_soon:"Coming soon",ask:"Describe a problem with your site…",ask_title:"Reinvent WP Assistant",ask_intro:"Tell me what's wrong with your site, and I'll suggest the Reinvent WP app that fixes it.",ask_notice:"Your message, any screenshot or file you attach and the list of Reinvent WP apps on this site are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_notice_website:"Your message and any screenshot or file you attach are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_send:"Send",ask_new:"New chat",ask_new_title:"Start a new chat?",ask_new_text:"This clears the current conversation. It can't be brought back.",ask_cancel:"Cancel",ask_close:"Close",ask_minimize:"Minimize the assistant to an icon",ask_launcher:"Ask the Reinvent WP Assistant",ask_restore:"Show the ask field again",ask_thinking:"Thinking…",ask_step_image:"Reading your screenshot…",ask_step_file:"Reading your log file…",ask_step_search:"Searching reinventwp.com…",ask_step_docs:"Reading the plugin docs…",ask_step_site:"Checking the plugins on your site…",ask_step_write:"Writing the answer…",ask_step_almost:"Almost there…",ask_error:"The assistant couldn't answer. Please try again.",ask_sources:"Read more on reinventwp.com",ask_search_one:"%d search",ask_search_many:"%d searches",ask_section_one:"%d section read",ask_section_many:"%d sections read",ask_your_question:"Your question",ask_attach:"Attach a screenshot or a log file",ask_remove_image:"Remove image",ask_view_image:"View full size",ask_copy:"Copy code",ask_copy_message:"Copy message",feedback_title:"Send feedback to the Reinvent WP team",feedback_email:"Your email",feedback_website:"Your website",feedback_message:"Your feedback",feedback_send:"Send feedback",feedback_sending:"Sending…",feedback_sent:"Thanks! Your feedback was sent to the Reinvent WP team.",feedback_error:"We couldn't send your feedback. Please try again.",feedback_check:"Enter your email, your website and a message.",feedback_notice:"Your email, website and message are sent to Reinvent WP.",ask_copied:"Copied",ask_copy_failed:"Couldn't copy: press Ctrl+C or ⌘+C",ask_image_error:"Couldn't attach that file. Use a screenshot (PNG, JPEG, WebP, GIF) or a text file (.log, .txt, .json, .csv, .md).",ask_file_limit:"You can attach one text file per question.",ask_file_lines:"%d lines",ask_file_newest:"newest %d lines",ask_file_masked:"%d private values hidden",ask_view_file:"See what will be sent",ask_file_note:"Only this text is sent: the newest part of the file, with emails, IP addresses, passwords and keys replaced by [hidden].",ask_image_limit:"You can attach up to 2 images.",ask_settings:"%s settings",go_to:"Go to %s",ask_nothing_new:"Only sections already read",ask_nothing_found:"Nothing found"},No=So({palette:{mode:"light",primary:{main:"#004984",contrastText:"#ffffff"},success:{main:"#2e7d32",contrastText:"#ffffff"},background:{default:"#ffffff",paper:"#ffffff"},text:{primary:"#333333",secondary:"#4a5568"}},typography:{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',body1:{fontSize:"1.05rem"},body2:{fontSize:"1rem"}},components:{MuiButton:{styleOverrides:{root:{textTransform:"none"},containedPrimary:{"&:hover, &:focus, &:active":{color:"#ffffff"}},outlinedPrimary:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiIconButton:{styleOverrides:{root:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiTooltip:{styleOverrides:{tooltip:{fontSize:"0.85rem"},popper:{zIndex:10002}}},MuiDialog:{styleOverrides:{root:{zIndex:10001}}}}}),Io="1px solid rgba(7, 21, 34, 0.1)",Ao=No;function Fo(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",l=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===l?"":" ")+t(r),l=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}const Lo=Kt;function jo(e){const{variants:t,...n}=e,r={variants:t,style:Tt(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Tt(e.style))}),r}const $o=qn();function Do(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Bo(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Wo(e){return e?(t,n)=>n[e]:null}function Ho(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Ho(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Bo(r.style,n):r.style;else{const{variants:e,...o}=r;t=n?Bo(Tt(o),n):o}return Vo(e,r.variants,[t],n)}return r?.isProcessed?n?Bo(Tt(r.style),n):r.style:n?Bo(Tt(r),n):r}function Vo(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Bo(Tt(a.style(o)),r):a.style(o))):n.push(r?Bo(Tt(a.style),r):a.style)}return n}function Uo(e={}){const{themeId:t,defaultTheme:n=$o,rootShouldForwardProp:r=Do,slotShouldForwardProp:o=Do}=e;function i(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,e=>e.filter(e=>e!==Vn));const{name:n,slot:a,skipVariantsResolver:l,skipSx:s,overridesResolver:u=Wo(Ko(a)),...c}=t,d=n&&n.startsWith("Mui")||a?"components":"custom",f=void 0!==l?l:a&&"Root"!==a&&"root"!==a||!1,p=s||!1;let h=Do;"Root"===a||"root"===a?h=r:a?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=Et(e,{shouldForwardProp:h,label:qo(n,a),...c}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return Ho(t,e,t.theme.modularCssLayers?d:void 0)};if(Nt(e)){const t=jo(e);return function(e){return t.variants?Ho(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Bo(t.style,d):t.style}}return e},y=(...t)=>{const r=[],o=t.map(g),a=[];if(r.push(i),n&&u&&a.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=Ho(e,r[t],e.theme.modularCssLayers?"theme":void 0);return u(e,o)}),n&&!f&&a.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?Vo(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(Vn),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(a.length).fill("");let i;i=[...t,...e,...n],i.raw=[...t,...e.raw,...n],r.unshift(i)}const l=[...r,...o,...a],s=m(...l);return e.muiName&&(s.muiName=e.muiName),s};return m.withConfig&&(y.withConfig=m.withConfig),y}}function qo(e,t){}function Ko(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const Yo=So();const Qo=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},Go=e=>Qo(e)&&"classes"!==e,Xo=Uo({themeId:er,defaultTheme:Yo,rootShouldForwardProp:Go}),Zo={theme:void 0};const Jo=function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(Zo.theme=r.theme,o=jo(e(Zo)),t=o,n=r.theme),o}};function ei(e){return dt(e)}const ti={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ni(e,t,n="Mui"){const r=ti[t];return r?`${n}-${r}`:`${S.generate(e)}-${t}`}function ri(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=ni(e,t,n)}),r}function oi(e){return ni("MuiSvgIcon",e)}ri("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ii=Xo("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Lo(n.color)}`],t[`fontSize${Lo(n.fontSize)}`]]}})(Jo(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),ai=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:p="0 0 24 24",...h}=n,m=f().isValidElement(r)&&"svg"===r.type,g={...n,color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:m},y={};u||(y.viewBox=p);const v=(e=>{const{color:t,fontSize:n,classes:r}=e;return Fo({root:["root","inherit"!==t&&`color${Lo(t)}`,`fontSize${Lo(n)}`]},oi,r)})(g);return(0,d().jsxs)(ii,{as:a,className:st(v.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t,...y,...h,...m&&r.props,ownerState:g,children:[m?r.props.children:r,c?(0,d().jsx)("title",{children:c}):null]})});ai.muiName="SvgIcon";const li=ai;function si(e,t){function n(t,n){return(0,d().jsx)(li,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=li.muiName,f().memo(f().forwardRef(n))}const ui=si((0,d().jsx)("path",{d:"M13 19V7.83l4.88 4.88c.39.39 1.03.39 1.42 0s.39-1.02 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L11 7.83V19c0 .55.45 1 1 1s1-.45 1-1"})),ci=si((0,d().jsx)("path",{d:"M21.29 4.12 16.7 8.71l1.59 1.59c.63.63.18 1.71-.71 1.71H13c-.55 0-1-.45-1-1v-4.6c0-.89 1.08-1.34 1.71-.71l1.59 1.59 4.59-4.59c.39-.39 1.02-.39 1.41 0 .38.4.38 1.03-.01 1.42M4.12 21.29l4.59-4.59 1.59 1.59c.63.63 1.71.18 1.71-.71V13c0-.55-.45-1-1-1h-4.6c-.89 0-1.34 1.08-.71 1.71l1.59 1.59-4.59 4.59c-.39.39-.39 1.02 0 1.41.4.38 1.03.38 1.42-.01"}));function di(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Wn;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Nt(n)?{...r,...n}:r}:{...r,...t},{...o,sx:i}}const fi=ri("MuiBox",["root"]),pi=So(),hi=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Et("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Vn),a=f().forwardRef(function(e,a){const l=Yn(n),{className:s,component:u="div",...c}=di(e);return(0,d().jsx)(i,{as:u,ref:a,className:st(s,o?o(r):r),theme:t&&l[t]||l,...c})});return a}({themeId:er,defaultTheme:pi,defaultClassName:fi.root,generateClassName:S.generate}),mi=hi;function gi(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}function yi(...e){const t=f().useRef(void 0),n=f().useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return f().useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}const vi=yi;const bi=function(e){const t=f().useRef(e);return pt(()=>{t.current=e}),f().useRef((...e)=>(0,t.current)(...e)).current},xi=bi,wi={};function ki(e,t){const n=f().useRef(wi);return n.current===wi&&(n.current=e(t)),n}class Si{static create(){return new Si}static use(){const e=ki(Si.create).current,[t,n]=f().useState(!1);return e.shouldMount=t,e.setShouldMount=n,f().useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function Ci(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function Ei(e,t){return Ei=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ei(e,t)}function Pi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ei(e,t)}const Ti=f().createContext(null);function _i(e,t){var n=Object.create(null);return e&&f().Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,f().isValidElement)(e)?t(e):e}(e)}),n}function Oi(e,t,n){return null!=n[t]?n[t]:e.props[t]}function zi(e,t,n){var r=_i(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if((0,f().isValidElement)(a)){var l=i in t,s=i in r,u=t[i],c=(0,f().isValidElement)(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&(0,f().isValidElement)(u)&&(o[i]=(0,f().cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:Oi(a,"exit",e),enter:Oi(a,"enter",e)})):o[i]=(0,f().cloneElement)(a,{in:!1}):o[i]=(0,f().cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:Oi(a,"exit",e),enter:Oi(a,"enter",e)})}}),o}var Ri=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Mi=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Pi(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,_i(n.children,function(e){return(0,f().cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Oi(e,"appear",n),enter:Oi(e,"enter",n),exit:Oi(e,"exit",n)})})):zi(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=_i(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=yt({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ci(e,["component","childFactory"]),o=this.state.contextValue,i=Ri(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?f().createElement(Ti.Provider,{value:o},i):f().createElement(Ti.Provider,{value:o},f().createElement(t,r,i))},t}(f().Component);Mi.propTypes={},Mi.defaultProps={component:"div",childFactory:function(e){return e}};const Ni=Mi,Ii=[];class Ai{static create(){return new Ai}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Fi(){const e=ki(Ai.create).current;var t;return t=e.disposeEffect,f().useEffect(t,Ii),e}const Li=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,p]=f().useState(!1),h=st(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},g=st(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||p(!0),f().useEffect(()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}},[s,l,u]),(0,d().jsx)("span",{className:h,style:m,children:(0,d().jsx)("span",{className:g})})};const ji=ri("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),$i=Rt`
     1(()=>{"use strict";var e={72(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case s:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},404(e,t,n){e.exports=n(72)},77(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=s.source}function g(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(){y(r)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=y(o);if(n){if(x(),!y(i))return g("property missing ':'");var r=y(a),s=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(l),s}}return m.prototype.content=e,v(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},917(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,s):e.replace(i,s)).replace(r,l))}},133(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;const r=(0,o.default)(e),i="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;const{property:r,value:o}=e;i?t(r,o,e):o&&(n=n||{},n[r]=o)}),n};const o=r(n(77))}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},(()=>{const e=Object.getPrototypeOf;let t;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}const i=Object.create(null);n.r(i);const a={};t=t||[null,e({}),e([]),e(e)];for(var l=2&o&&r;("object"==typeof l||"function"==typeof l)&&!~t.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach(e=>a[e]=()=>r[e]);return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})};var r=n.cw(e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(o=s(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(h,c,o)})):void 0!==o&&l(d,{name:n,newValue:o}));return d}}),o=n.cw(e=>{var t=i(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return t.isMemo(e)?o:a[e.$$typeof]||n}a[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[t.Memo]=o;var s=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(p){var i=f(n);i&&i!==p&&e(t,i,o)}var a=u(n);c&&(a=a.concat(c(n)));for(var h=l(t),m=l(n),g=0;g<a.length;++g){var y=a[g];if(!(r[y]||o&&o[y]||m&&m[y]||h&&h[y])){var v=d(n,y);try{s(t,y,v)}catch(e){}}}}return t}}),i=()=>n(404),a=n.cw((e,t)=>{var n=g(),r=p(),o=u();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function l(e){for(var t=e,n=t;n&&!n.alternate;)!!(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function s(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function c(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(i(188))}function f(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=f(e)))return t;e=e.sibling}return null}function h(e,t,n,r,o,i){for(;null!==e;){if((5===e.tag||27===e.tag||6===e.tag)&&n(e,r,o,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag&&27!==e.tag)&&h(e.child,t,n,r,o,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag||27===e.tag)return e;e=e.return}return null}function y(e){var t=!1;for(e=e.return;null!==e&&(4===e.tag&&(t=!0),3!==e.tag&&5!==e.tag&&27!==e.tag);)e=e.return;return t}function v(e){var t=[null,null],n=m(e);return null===n||b(t,e,n.child,{foundSelf:!1}),t}function b(e,t,n,r){for(;null!==n;){if(n===t)r.foundSelf=!0;else if(5===n.tag||27===n.tag||6===n.tag){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((22!==n.tag||null===n.memoizedState)&&b(e,t,n.child,r))return!0;n=n.sibling}return!1}function x(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var w=null,k=null;function S(e,t,n){return e===n||e===t&&(w=e,!0)}function C(e,t,n){return e===n?(k=e,!1):e===t&&(null!==k&&(w=e),!0)}function E(e){if(null===e)return null;do{e=null===e?null:e.return}while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function P(e,t,n){for(var r=0,o=e;o;o=n(o))r++;o=0;for(var i=t;i;i=n(i))o++;for(;0<r-o;)e=n(e),r--;for(;0<o-r;)t=n(t),o--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,_=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),A=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope");var B=Symbol.for("react.activity"),W=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var H=Symbol.for("react.memo_cache_sentinel"),V=Symbol.for("react.view_transition"),U=Symbol.for("react.recoverable"),q=Symbol.iterator;function K(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=q&&e[q]||e["@@iterator"])?e:null}var Y=Symbol.for("react.client.reference");function Q(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Y?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case R:return"Fragment";case N:return"Profiler";case M:return"StrictMode";case L:return"Suspense";case j:return"SuspenseList";case B:return"Activity";case V:return"ViewTransition"}if("object"==typeof e)switch(e.$$typeof){case z:return"Portal";case A:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case F:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:Q(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return Q(e(t))}catch(e){}}return null}var G=Array.isArray,X=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ee=[],te=-1;function ne(e){return{current:e}}function re(e){0>te||(e.current=ee[te],ee[te]=null,te--)}function oe(e,t){te++,ee[te]=e.current,e.current=t}var ie,ae,le=ne(null),se=ne(null),ue=ne(null),ce=ne(null);function de(e,t){switch(oe(ue,t),oe(se,e),oe(le,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?$f(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=Df(t=$f(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}re(le),oe(le,e)}function fe(){re(le),re(se),re(ue)}function pe(e){var t=e.memoizedState;null!==t&&(hh._currentValue=t.memoizedState,oe(ce,e));var n=Df(t=le.current,e.type);t!==n&&(oe(se,e),oe(le,n))}function he(e){se.current===e&&(re(le),re(se)),ce.current===e&&(re(ce),hh._currentValue=J)}function me(e){if(void 0===ie)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ie=t&&t[1]||"",ae=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ie+e+ae}var ge=!1;function ye(e,t){if(!e||ge)return"";ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var o=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(void 0!==o?Object.defineProperty(e.prototype,"props",o):delete e.prototype.props)}}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],l=i[1];if(a&&l){var s=a.split("\n"),u=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===u.length)for(r=s.length-1,o=u.length-1;1<=r&&0<=o&&s[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==u[o]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{ge=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?me(n):""}function ve(e,t){switch(e.tag){case 26:case 27:case 5:return me(e.type);case 16:return me("Lazy");case 13:return e.child!==t&&null!==t?me("Suspense Fallback"):me("Suspense");case 19:return me("SuspenseList");case 0:case 15:return ye(e.type,!1);case 11:return ye(e.type.render,!1);case 1:return ye(e.type,!0);case 31:return me("Activity");case 30:return me("ViewTransition");default:return""}}function be(e){try{var t="",n=null;do{t+=ve(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var xe=Object.prototype.hasOwnProperty,we=n.unstable_scheduleCallback,ke=n.unstable_cancelCallback,Se=n.unstable_shouldYield,Ce=n.unstable_requestPaint,Ee=n.unstable_now,Pe=n.unstable_getCurrentPriorityLevel,Te=n.unstable_ImmediatePriority,_e=n.unstable_UserBlockingPriority,Oe=n.unstable_NormalPriority,ze=n.unstable_LowPriority,Re=n.unstable_IdlePriority,Me=n.log,Ne=n.unstable_setDisableYieldValue,Ie=null,Ae=null;function Fe(e){if("function"==typeof Me&&Ne(e),Ae&&"function"==typeof Ae.setStrictMode)try{Ae.setStrictMode(Ie,e)}catch(e){}}var Le=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(je(e)/$e|0)|0},je=Math.log,$e=Math.LN2;var De=256,Be=262144,We=4194304;function He(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ve(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,i=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~i)?o=He(r):0!==(a&=l)?o=He(a):n||0!==(n=l&~e)&&(o=He(n)):0!==(l=r&~i)?o=He(l):0!==a?o=He(a):n||0!==(n=r&~e)&&(o=He(n)),0===o?0:0!==t&&t!==o&&0===(t&i)&&((i=o&-o)>=(n=t&-t)||32===i&&4194048&n)?t:o}function Ue(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function qe(e,t){8&t&&(t|=32&t);var n=e.entangledLanes;if(0!==n)for(e=e.entanglements,n&=t;0<n;){var r=31-Le(n),o=1<<r;t|=e[r],n&=~o}return t}function Ke(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ye(){var e=We;return!(62914560&(We<<=1))&&(We=4194304),e}function Qe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ge(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Xe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Le(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Ze(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Le(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Je(e,t){var n=t&-t;return 0!==((n=42&n?1:et(n))&(e.suspendedLanes|t))?0:n}function et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tt(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function nt(){var e=Z.p;return 0!==e?e:void 0===(e=window.event)?32:zh(e.type)}function rt(e,t){var n=Z.p;try{return Z.p=e,t()}finally{Z.p=n}}var ot=Math.random().toString(36).slice(2),it="__reactFiber$"+ot,at="__reactProps$"+ot,lt="__reactContainer$"+ot,st="__reactEvents$"+ot,ut="__reactListeners$"+ot,ct="__reactHandles$"+ot,dt="__reactResources$"+ot,ft="__reactMarker$"+ot,pt="__reactLoad$"+ot;function ht(e){delete e[it],delete e[at],delete e[ut],delete e[ct]}function mt(e){var t;if(t=e[it])return t;for(var n=e.parentNode;n;){if(t=n[lt]||n[it]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ip(e);null!==e;){if(n=e[it])return n;e=Ip(e)}return t}n=(e=n).parentNode}return null}function gt(e){if(e=e[it]||e[lt]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function yt(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function vt(e){var t=e[dt];return t||(t=e[dt]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[ft]=!0}function xt(e){e[pt]=void 0}var wt=new Set,kt={};function St(e,t){Ct(e,t),Ct(e+"Capture",t)}function Ct(e,t){for(kt[e]=t,e=0;e<t.length;e++)wt.add(t[e])}var Et=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pt={},Tt={};var _t=!1;function Ot(){var e=_t;return _t=!1,e}function zt(e,t,n){if(o=t,xe.call(Tt,o)||!xe.call(Pt,o)&&(Et.test(o)?Tt[o]=!0:(Pt[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}var o}function Rt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,n)}}function Mt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,r)}}function Nt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function It(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function At(e){if(!e._valueTracker){var t=It(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function Ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=It(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Lt=/[\n"\\]/g;function jt(e){return e.replace(Lt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function $t(e,t,n,r,o,i,a,l){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Nt(t)):e.value!==""+Nt(t)&&(e.value=""+Nt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?"number"===a&&e.value==t?Bt(e,Nt(e.value)):Bt(e,Nt(t)):null!=n?Bt(e,Nt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+Nt(l):e.removeAttribute("name")}function Dt(e,t,n,r,o,i,a,l){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void At(e);n=null!=n?""+Nt(n):"",t=null!=t?""+Nt(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),At(e)}function Bt(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Wt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Nt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ht(e,t,n){null==t||((t=""+Nt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Nt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Vt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(i(92));if(G(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=Nt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),At(e)}function Ut(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var qt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Kt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||qt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Yt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",_t=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&(Kt(e,o,r),_t=!0)}else for(var a in t)t.hasOwnProperty(a)&&Kt(e,a,t[a])}function Qt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Xt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zt(e){return Xt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Jt(){}var en=null;function tn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var nn=null,rn=null;function on(e){var t=gt(e);if(t&&(e=t.stateNode)){var n=e[at]||null;e:switch(e=t.stateNode,t.type){case"input":if($t(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+jt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[at]||null;if(!o)throw Error(i(90));$t(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&Ft(r)}break e;case"textarea":Ht(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&Wt(e,!!n.multiple,t,!1)}}}var an=!1;function ln(e,t,n){if(an)return e(t,n);an=!0;try{return e(t)}finally{if(an=!1,(null!==nn||null!==rn)&&(vd(),nn&&(t=nn,e=rn,rn=nn=null,on(t),e)))for(t=0;t<e.length;t++)on(e[t])}}function sn(e,t){var n=e.stateNode;if(null===n)return null;var r=n[at]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var un=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),cn=!1;if(un)try{var dn={};Object.defineProperty(dn,"passive",{get:function(){cn=!0}}),window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch(e){cn=!1}var fn=null,pn=null,hn=null;function mn(){if(hn)return hn;var e,t,n=pn,r=n.length,o="value"in fn?fn.value:fn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return hn=o.slice(e,1<t?1-t:void 0)}function gn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function yn(){return!0}function vn(){return!1}function bn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yn:vn,this.isPropagationStopped=vn,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yn)},persist:function(){},isPersistent:yn}),t}var xn,wn,kn,Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cn=bn(Sn),En=T({},Sn,{view:0,detail:0}),Pn=bn(En),Tn=T({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==kn&&(kn&&"mousemove"===e.type?(xn=e.screenX-kn.screenX,wn=e.screenY-kn.screenY):wn=xn=0,kn=e),xn)},movementY:function(e){return"movementY"in e?e.movementY:wn}}),_n=bn(Tn),On=bn(T({},Tn,{dataTransfer:0})),zn=bn(T({},En,{relatedTarget:0})),Rn=bn(T({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0})),Mn=bn(T({},Sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Nn=bn(T({},Sn,{data:0})),In={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},An={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ln(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Fn[e])&&!!t[e]}function jn(){return Ln}var $n=bn(T({},En,{key:function(e){if(e.key){var t=In[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=gn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?An[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jn,charCode:function(e){return"keypress"===e.type?gn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?gn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Dn=bn(T({},Tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Bn=bn(T({},Sn,{submitter:0})),Wn=bn(T({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jn})),Hn=bn(T({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Vn=bn(T({},Tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Un=bn(T({},Sn,{newState:0,oldState:0,source:0})),qn=[9,13,27,32],Kn=un&&"CompositionEvent"in window,Yn=null;un&&"documentMode"in document&&(Yn=document.documentMode);var Qn=un&&"TextEvent"in window&&!Yn,Gn=un&&(!Kn||Yn&&8<Yn&&11>=Yn),Xn=String.fromCharCode(32),Zn=!1;function Jn(e,t){switch(e){case"keyup":return-1!==qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function er(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var tr=!1;var nr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nr[e.type]:"textarea"===t}function or(e,t,n,r){nn?rn?rn.push(r):rn=[r]:nn=r,0<(t=Cf(t,"onChange")).length&&(n=new Cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function lr(e){gf(e,0)}function sr(e){if(Ft(yt(e)))return e}function ur(e,t){if("change"===e)return t}var cr=!1;if(un){var dr;if(un){var fr="oninput"in document;if(!fr){var pr=document.createElement("div");pr.setAttribute("oninput","return;"),fr="function"==typeof pr.oninput}dr=fr}else dr=!1;cr=dr&&(!document.documentMode||9<document.documentMode)}function hr(){ir&&(ir.detachEvent("onpropertychange",mr),ar=ir=null)}function mr(e){if("value"===e.propertyName&&sr(ar)){var t=[];or(t,ar,e,tn(e)),ln(lr,t)}}function gr(e,t,n){"focusin"===e?(hr(),ar=n,(ir=t).attachEvent("onpropertychange",mr)):"focusout"===e&&hr()}function yr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return sr(ar)}function vr(e,t){if("click"===e)return sr(t)}function br(e,t){if("input"===e||"change"===e)return sr(t)}var xr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function wr(e,t){if(xr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!xe.call(t,o)||!xr(e[o],t[o]))return!1}return!0}function kr(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n,r=Sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Sr(r)}}function Er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Pr(e){for(var t=kr((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=kr((e=t.contentWindow).document)}return t}function Tr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var _r=un&&"documentMode"in document&&11>=document.documentMode,Or=null,zr=null,Rr=null,Mr=!1;function Nr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Mr||null==Or||Or!==kr(r)||("selectionStart"in(r=Or)&&Tr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Rr&&wr(Rr,r)||(Rr=r,0<(r=Cf(zr,"onSelect")).length&&(t=new Cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Or)))}function Ir(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ar={animationend:Ir("Animation","AnimationEnd"),animationiteration:Ir("Animation","AnimationIteration"),animationstart:Ir("Animation","AnimationStart"),transitionrun:Ir("Transition","TransitionRun"),transitionstart:Ir("Transition","TransitionStart"),transitioncancel:Ir("Transition","TransitionCancel"),transitionend:Ir("Transition","TransitionEnd")},Fr={},Lr={};function jr(e){if(Fr[e])return Fr[e];if(!Ar[e])return e;var t,n=Ar[e];for(t in n)if(n.hasOwnProperty(t)&&t in Lr)return Fr[e]=n[t];return e}un&&(Lr=document.createElement("div").style,"AnimationEvent"in window||(delete Ar.animationend.animation,delete Ar.animationiteration.animation,delete Ar.animationstart.animation),"TransitionEvent"in window||delete Ar.transitionend.transition);var $r=jr("animationend"),Dr=jr("animationiteration"),Br=jr("animationstart"),Wr=jr("transitionrun"),Hr=jr("transitionstart"),Vr=jr("transitioncancel"),Ur=jr("transitionend"),qr=new Map,Kr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Yr(e,t){qr.set(e,t),St(t,[e])}Kr.push("scrollEnd");var Qr=0;function Gr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:(e="_"+(e=Jc.identifierPrefix)+"t_"+(Qr++).toString(32)+"_",t.autoName=e)}function Xr(e){if(null==e||"string"==typeof e)return e;var t=null,n=ld;if(null!==n)for(var r=0;r<n.length;r++){var o=e[n[r]];if(null!=o){if("none"===o)return"none";t=null==t?o:t+" "+o}}return t??e.default}function Zr(e,t){return e=Xr(e),null==(t=Xr(t))?"auto"===e?null:e:"auto"===t?null:t}var Jr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},eo=[],to=0,no=0;function ro(){for(var e=to,t=no=to=0;t<e;){var n=eo[t];eo[t++]=null;var r=eo[t];eo[t++]=null;var o=eo[t];eo[t++]=null;var i=eo[t];if(eo[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&lo(n,o,i)}}function oo(e,t,n,r){eo[to++]=e,eo[to++]=t,eo[to++]=n,eo[to++]=r,no|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function io(e,t,n,r){return oo(e,t,n,r),so(e)}function ao(e,t){return oo(e,null,null,t),so(e)}function lo(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(o=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,o&&null!==t&&(o=31-Le(n),null===(r=(e=i.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),i):null}function so(e){if(50<sd)throw sd=0,ud=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var uo={};function co(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fo(e,t,n,r){return new co(e,t,n,r)}function po(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ho(e,t){var n=e.alternate;return null===n?((n=fo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=1206910976&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function mo(e,t){e.flags&=1206910978;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function go(e,t,n,r,o,a){var l=0;if("function"==typeof(r=e))po(r)&&(l=1);else if("string"==typeof r)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,le.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(r){case B:return(e=fo(31,n,t,o)).elementType=B,e.lanes=a,e;case R:return yo(n.children,o,a,t);case M:l=8,o|=24;break;case N:return(e=fo(12,n,t,2|o)).elementType=N,e.lanes=a,e;case L:return(e=fo(13,n,t,o)).elementType=L,e.lanes=a,e;case j:return(e=fo(19,n,t,o)).elementType=j,e.lanes=a,e;case W:case V:return(e=fo(30,n,t,e=32|o)).elementType=V,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case A:l=10;break e;case I:l=9;break e;case F:l=11;break e;case $:l=14;break e;case D:l=16,r=null;break e}l=29,n=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=fo(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function yo(e,t,n,r){return(e=fo(7,e,r,t)).lanes=n,e}function vo(e,t,n){return(e=fo(6,e,null,t)).lanes=n,e}function bo(e){var t=fo(18,null,null,0);return t.stateNode=e,t}function xo(e,t,n){return(t=fo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wo=new WeakMap;function ko(e,t){if("object"==typeof e&&null!==e){var n=wo.get(e);return void 0!==n?n:(t={value:e,source:t,stack:be(t)},wo.set(e,t),t)}return{value:e,source:t,stack:be(t)}}var So=[],Co=0,Eo=null,Po=0,To=[],_o=0,Oo=null,zo=1,Ro="";function Mo(e,t){So[Co++]=Po,So[Co++]=Eo,Eo=e,Po=t}function No(e,t,n){To[_o++]=zo,To[_o++]=Ro,To[_o++]=Oo,Oo=e;var r=zo;e=Ro;var o=32-Le(r)-1;r&=~(1<<o),n+=1;var i=32-Le(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,zo=1<<32-Le(t)+o|n<<o|r,Ro=i+e}else zo=1<<i|n<<o|r,Ro=e}function Io(e){null!==e.return&&(Mo(e,1),No(e,1,0))}function Ao(e){for(;e===Eo;)Eo=So[--Co],So[Co]=null,Po=So[--Co],So[Co]=null;for(;e===Oo;)Oo=To[--_o],To[_o]=null,Ro=To[--_o],To[_o]=null,zo=To[--_o],To[_o]=null}function Fo(e,t){To[_o++]=zo,To[_o++]=Ro,To[_o++]=Oo,zo=t.id,Ro=t.overflow,Oo=e}var Lo=null,jo=null,$o=!1,Do=null,Bo=!1,Wo=Error(i(519));function Ho(e){throw Qo(ko(Error(i(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),Wo}function Vo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[it]=e,t[at]=r,n){case"dialog":yf("cancel",t),yf("close",t);break;case"iframe":case"object":case"embed":yf("load",t);break;case"video":case"audio":for(n=0;n<hf.length;n++)yf(hf[n],t);break;case"source":yf("error",t);break;case"img":case"image":case"link":yf("error",t),yf("load",t);break;case"details":yf("toggle",t);break;case"input":yf("invalid",t),Dt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":yf("invalid",t);break;case"textarea":yf("invalid",t),Vt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||zf(t.textContent,n)?(null!=r.popover&&(yf("beforetoggle",t),yf("toggle",t)),null!=r.onScroll&&yf("scroll",t),null!=r.onScrollEnd&&yf("scrollend",t),null!=r.onClick&&(t.onclick=Jt),t=!0):t=!1,t||Ho(e,!0)}function Uo(e){for(Lo=e.return;Lo;)switch(Lo.tag){case 5:case 31:case 13:return void(Bo=!1);case 27:case 3:return void(Bo=!0);default:Lo=Lo.return}}function qo(e){if(e!==Lo)return!1;if(!$o)return Uo(e),$o=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Wf(e.type,e.memoizedProps)),t=!t),t&&jo&&Ho(e),Uo(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));jo=Np(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));jo=Np(e)}else 27===n?(n=jo,Gf(e.type)?(e=Mp,Mp=null,jo=e):jo=n):jo=Lo?Rp(e.stateNode.nextSibling):null;return!0}function Ko(){jo=Lo=null,$o=!1}function Yo(){var e=Do;return null!==e&&(null===Uc?Uc=e:Uc.push.apply(Uc,e),Do=null),e}function Qo(e){null===Do?Do=[e]:Do.push(e)}var Go=ne(null),Xo=null,Zo=null;function Jo(e,t,n){oe(Go,t._currentValue),t._currentValue=n}function ei(e){e._currentValue=Go.current,re(Go)}function ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ni(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var l=o.child;a=a.firstContext;e:for(;null!==a;){var s=a;a=o;for(var u=0;u<t.length;u++)if(s.context===t[u]){a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),ti(a.return,n,e),r||(l=null);break e}a=s.next}}else if(18===o.tag){if(null===(l=o.return))throw Error(i(341));l.lanes|=n,null!==(a=l.alternate)&&(a.lanes|=n),ti(l,n,e),l=null}else 13===o.tag&&null!==o.memoizedState&&null===o.memoizedState.dehydrated?(o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),ti(o.return,n,e),l=null!==(l=o.child)?l.sibling:null):l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===e){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}}function ri(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var l=o.alternate;if(null===l)throw Error(i(387));if(null!==(l=l.memoizedProps)){var s=o.type;xr(o.pendingProps.value,l.value)||(null!==e?e.push(s):e=[s])}}else if(o===ce.current){if(null===(l=o.alternate))throw Error(i(387));l.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(hh):e=[hh])}o=o.return}return null!==e&&ni(t,e,n,r),t.flags|=262144,null!==e}function oi(e){for(e=e.firstContext;null!==e;){if(!xr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ii(e){Xo=e,Zo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ai(e){return si(Xo,e)}function li(e,t){return null===Xo&&ii(e),si(e,t)}function si(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Zo){if(null===e)throw Error(i(308));Zo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zo=Zo.next=t;return n}var ui="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ci=n.unstable_scheduleCallback,di=n.unstable_NormalPriority,fi={$$typeof:A,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pi(){return{controller:new ui,data:new Map,refCount:0}}function hi(e){e.refCount--,0===e.refCount&&ci(di,function(){e.controller.abort()})}function mi(e,t){if(4194048&e.pendingLanes){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var gi=null;var yi=null,vi=0,bi=0,xi=null;function wi(){if(0===--vi&&(gi=null,null!==yi)){null!==xi&&(xi.status="fulfilled");var e=yi;yi=null,bi=0,xi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var ki=X.S;X.S=function(e,t){if(Yc=Ee(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===yi){var n=yi=[];vi=0,bi=cf(),xi={status:"pending",value:void 0,then:function(e){n.push(e)}}}vi++,t.then(wi,wi)}(0,t),null!==gi)for(var n=Gd;null!==n;)mi(n,gi),n=n.next;if(null!==(n=e.types)){for(var r=Gd;null!==r;)mi(r,n),r=r.next;if(0!==bi){null===(r=gi)&&(r=gi=[]);for(var o=0;o<n.length;o++){var i=n[o];-1===r.indexOf(i)&&r.push(i)}}}null!==ki&&ki(e,t)};var Si=ne(null);function Ci(){var e=Si.current;return null!==e?e:Oc.pooledCache}function Ei(e,t){oe(Si,null===t?Si.current:t.pool)}function Pi(){var e=Ci();return null===e?null:{parent:fi._currentValue,pool:e}}var Ti=Error(i(460)),_i=Error(i(474)),Oi=Error(i(542)),zi={then:function(){}};function Ri(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Mi(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Jt,Jt),t=n),t.status){case"fulfilled":return t.value;case"rejected":if(Fi(e=t.reason),void 0===e&&!("reason"in t))throw Error(i(600));throw e;default:if("string"==typeof t.status)t.then(Jt,Jt);else{if(null!==(e=Oc)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Fi(e=t.reason),e}throw Ii=t,Ti}}function Ni(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw Ii=e,Ti;throw e}}var Ii=null;function Ai(){if(null===Ii)throw Error(i(459));var e=Ii;return Ii=null,e}function Fi(e){if(e===Ti||e===Oi)throw Error(i(483))}var Li=null,ji=0;function $i(e){var t=ji;return ji+=1,null===Li&&(Li=[]),Mi(Li,e,t)}function Di(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Bi(e,t){if(t.$$typeof===_)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function o(e,t){return(e=ho(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=134217730,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=134217730),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=vo(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===R?(Di(e=d(e,t,n.props.children,r,n.key),n),e):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===D&&Ni(i)===t.type)?(Di(t=o(t,n.props),n),t.return=e,t):(Di(t=go(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=xo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=yo(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=vo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case O:return Di(n=go(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case z:return(t=xo(t,e.mode,n)).return=e,t;case D:return f(e,t=Ni(t),n)}if(G(t)||K(t))return(t=yo(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,$i(t),n);if(t.$$typeof===A)return f(e,li(e,t),n);Bi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case O:return n.key===o?u(e,t,n,r):null;case z:return n.key===o?c(e,t,n,r):null;case D:return p(e,t,n=Ni(n),r)}if(G(n)||K(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,$i(n),r);if(n.$$typeof===A)return p(e,t,li(e,n),r);Bi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case O:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case z:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case D:return h(e,t,n,r=Ni(r),o)}if(G(r)||K(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return h(e,t,n,$i(r),o);if(r.$$typeof===A)return h(e,t,n,li(t,r),o);Bi(t,r)}return null}function m(s,u,c,d){if("object"==typeof c&&null!==c&&c.type===R&&null===c.key&&void 0===c.props.ref&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case O:e:{for(var g=c.key;null!==u;){if(u.key===g){if((g=c.type)===R){if(7===u.tag){n(s,u.sibling),Di(d=o(u,c.props.children),c),d.return=s,s=d;break e}}else if(u.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===D&&Ni(g)===u.type){n(s,u.sibling),Di(d=o(u,c.props),c),d.return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}c.type===R?(Di(d=yo(c.props.children,s.mode,d,c.key),c),d.return=s,s=d):(Di(d=go(c.type,c.key,c.props,null,s.mode,d),c),d.return=s,s=d)}return l(s);case z:e:{for(g=c.key;null!==u;){if(u.key===g){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(d=o(u,c.children||[])).return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}(d=xo(c,s.mode,d)).return=s,s=d}return l(s);case D:return m(s,u,c=Ni(c),d)}if(G(c))return function(o,i,l,s){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,l[m],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===l.length)return n(o,d),$o&&Mo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return $o&&Mo(o,m),u}for(d=r(d);m<l.length;m++)null!==(g=h(d,o,m,l[m],s))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(o,e)}),$o&&Mo(o,m),u}(s,u,c,d);if(K(c)){if("function"!=typeof(g=K(c)))throw Error(i(150));return function(o,l,s,u){if(null==s)throw Error(i(151));for(var c=null,d=null,m=l,g=l=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),$o&&Mo(o,g),c;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=f(o,v.value,u))&&(l=a(v,l,g),null===d?c=v:d.sibling=v,d=v);return $o&&Mo(o,g),c}for(m=r(m);!v.done;g++,v=s.next())null!==(v=h(m,o,g,v.value,u))&&(e&&null!==(y=v.alternate)&&m.delete(null===y.key?g:y.key),l=a(v,l,g),null===d?c=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),$o&&Mo(o,g),c}(s,u,c=g.call(c),d)}if("function"==typeof c.then)return m(s,u,$i(c),d);if(c.$$typeof===A)return m(s,u,li(s,c),d);Bi(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(d=o(u,c)).return=s,s=d):(n(s,u),(d=vo(c,s.mode,d)).return=s,s=d),l(s)):n(s,u)}return function(e,t,n,r){try{ji=0;var o=m(e,t,n,r);return Li=null,o}catch(t){if(t===Ti||t===Oi)throw t;var i=fo(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var Hi=Wi(!0),Vi=Wi(!1),Ui=!1;function qi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ki(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Yi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Qi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&_c){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=so(e),lo(e,null,n),t}return oo(e,r,t,n),so(e)}function Gi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}function Xi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Zi=!1;function Ji(){if(Zi){if(null!==xi)throw xi}}function ea(e,t,n,r){Zi=!1;var o=e.updateQueue;Ui=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=-536870913&l.lane,p=f!==l.lane;if(p?(Rc&f)===f:(r&f)===f){0!==f&&f===bi&&(Zi=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,m=l;f=t;var g=n;switch(m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(g,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(g,d,f):h))break e;d=T({},d,f);break e;case 2:Ui=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===i&&(o.shared.lanes=0),$c|=a,e.lanes=a,e.memoizedState=d}}function ta(e,t){if("function"!=typeof e)throw Error(i(191,e));e.call(t)}function na(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ta(n[e],t)}var ra=ne(null),oa=ne(0);function ia(e,t){oe(oa,e=Lc),oe(ra,t),Lc=e|t.baseLanes}function aa(){oe(oa,Lc),oe(ra,ra.current)}function la(){Lc=oa.current,re(ra),re(oa)}var sa=ne(null),ua=null;function ca(e){var t=e.alternate;oe(ma,1&ma.current),oe(sa,e),null===ua&&(null===t||null!==ra.current||null!==t.memoizedState)&&(ua=e)}function da(e){oe(ma,ma.current),oe(sa,e),null===ua&&(ua=e)}function fa(e){22===e.tag?(oe(ma,ma.current),oe(sa,e),null===ua&&(ua=e)):pa()}function pa(){oe(ma,ma.current),oe(sa,sa.current)}function ha(e){re(sa),ua===e&&(ua=null),re(ma)}var ma=ne(0);function ga(e,t){oe(sa,sa.current),oe(ma,t)}function ya(e){re(ma),re(sa),ua===e&&(ua=null)}function va(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Op(n)||zp(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ba=0,xa=null,wa=null,ka=null,Sa=!1,Ca=!1,Ea=!1,Pa=0,Ta=0,_a=null,Oa=0;function za(){throw Error(i(321))}function Ra(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xr(e[n],t[n]))return!1;return!0}function Ma(e,t,n,r,o,i){return ba=i,xa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,X.H=null===e||null===e.memoizedState?Kl:Yl,Ea=!1,i=n(r,o),Ea=!1,Ca&&(i=Ia(t,n,r,o)),Na(e),i}function Na(e){X.H=ql;var t=null!==wa&&null!==wa.next;if(ba=0,ka=wa=xa=null,Sa=!1,Ta=0,_a=null,t)throw Error(i(300));null===e||cs||null!==(e=e.dependencies)&&oi(e)&&(cs=!0)}function Ia(e,t,n,r){xa=e;var o=0;do{if(Ca&&(_a=null),Ta=0,Ca=!1,25<=o)throw Error(i(301));if(o+=1,ka=wa=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}X.H=Ql,a=t(n,r)}while(Ca);return a}function Aa(){var e=X.H,t=e.useState()[0];return t="function"==typeof t.then?Ba(t):t,e=e.useState()[0],(null!==wa?wa.memoizedState:null)!==e&&(xa.flags|=1024),t}function Fa(){var e=0!==Pa;return Pa=0,e}function La(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ja(e){if(Sa){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Sa=!1}ba=0,ka=wa=xa=null,Ca=!1,Ta=Pa=0,_a=null}function $a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ka?xa.memoizedState=ka=e:ka=ka.next=e,ka}function Da(){if(null===wa){var e=xa.alternate;e=null!==e?e.memoizedState:null}else e=wa.next;var t=null===ka?xa.memoizedState:ka.next;if(null!==t)ka=t,wa=e;else{if(null===e){if(null===xa.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(wa=e).memoizedState,baseState:wa.baseState,baseQueue:wa.baseQueue,queue:wa.queue,next:null},null===ka?xa.memoizedState=ka=e:ka=ka.next=e}return ka}function Ba(e){var t=Ta;return Ta+=1,null===_a&&(_a=[]),e=Mi(_a,e,t),t=xa,null===(null===ka?t.memoizedState:ka.next)&&(t=t.alternate,X.H=null===t||null===t.memoizedState?Kl:Yl),e}function Wa(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ba(e);if(e.$$typeof===U)return;if(e.$$typeof===A)return ai(e)}throw Error(i(438,String(e)))}function Ha(e){var t=null,n=xa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=xa.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=H;return t.index++,n}function Va(e,t){return"function"==typeof t?t(e):t}function Ua(e){return qa(Da(),wa,e)}function qa(e,t,n){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var s=l=null,u=null,c=t=o.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(Rc&f)===f:(ba&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===bi&&(d=!0);else{if((ba&p)===p){c=c.next,p===bi&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,l=a):u=u.next=f,xa.lanes|=p,$c|=p}f=c.action,Ea&&n(a,f),a=c.hasEagerState?c.eagerState:n(a,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,l=a):u=u.next=p,xa.lanes|=f,$c|=f;c=c.next}while(null!==c&&c!==t);if(null===u?l=a:u.next=s,!xr(a,e.memoizedState)&&(cs=!0,d&&null!==(n=xi)))throw n;e.memoizedState=a,e.baseState=l,e.baseQueue=u,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ka(e){var t=Da(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);xr(a,t.memoizedState)||(cs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ya(e,t,n){var r=xa,o=Da(),a=$o;if(a){if(void 0===n)throw Error(i(407));n=n()}else n=t();var l=!xr((wa||o).memoizedState,n);if(l&&(o.memoizedState=n,cs=!0),o=o.queue,bl(Xa.bind(null,r,o,e),[e]),hl((e=o.getSnapshot!==t||l||null!==ka&&!!(1&ka.memoizedState.tag))?9:8,{destroy:void 0},Ga.bind(null,r,o,n,t),null),e){if(r.flags|=2048,null===Oc)throw Error(i(349));a||127&ba||Qa(r,t,n)}return n}function Qa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=xa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ga(e,t,n,r){t.value=n,t.getSnapshot=r,Za(t)&&Ja(e)}function Xa(e,t,n){return n(function(){Za(t)&&Ja(e)})}function Za(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xr(e,n)}catch(e){return!0}}function Ja(e){var t=ao(e,2);null!==t&&pd(t,e,2)}function el(e){var t=$a();if("function"==typeof e){var n=e;if(e=n(),Ea){Fe(!0);try{n()}finally{Fe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:e},t}function tl(e,t,n,r){return e.baseState=n,qa(e,wa,"function"==typeof r?r:Va)}function nl(e,t,n,r,o){if(Hl(e))throw Error(i(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==X.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,rl(t,a)):(a.next=n.next,t.pending=n.next=a)}}function rl(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=X.T,a={};a.types=null!==i?i.types:null,X.T=a;try{var l=n(o,r),s=X.S;null!==s&&s(a,l),ol(e,t,l)}catch(n){al(e,t,n)}finally{null!==i&&null!==a.types&&(i.types=a.types),X.T=i}}else try{ol(e,t,i=n(o,r))}catch(n){al(e,t,n)}}function ol(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){il(e,t,n)},function(n){return al(e,t,n)}):il(e,t,n)}function il(e,t,n){t.status="fulfilled",t.value=n,ll(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,rl(e,n)))}function al(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ll(t),t=t.next}while(t!==r)}e.action=null}function ll(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function sl(e,t){return t}function ul(e,t){if($o){var n=Oc.formState;if(null!==n){e:{var r=xa;if($o){if(jo){t:{for(var o=jo,i=Bo;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=Rp(o.nextSibling))){o=null;break t}}o="F!"===(i=o.data)||"F"===i?o:null}if(o){jo=Rp(o.nextSibling),r="F!"===o.data;break e}}Ho(r)}r=!1}r&&(t=n[0])}}return(n=$a()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sl,lastRenderedState:t},n.queue=r,n=Dl.bind(null,xa,r),r.dispatch=n,r=el(!1),i=Wl.bind(null,xa,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=$a()).queue=o,n=nl.bind(null,xa,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function cl(e){return dl(Da(),wa,e)}function dl(e,t,n){if(t=qa(e,t,sl)[0],e=Ua(Va)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ba(t)}catch(e){if(e===Ti)throw Oi;throw e}else r=t;var o=(t=Da()).queue,i=o.dispatch;return n!==t.memoizedState&&(xa.flags|=2048,hl(9,{destroy:void 0},fl.bind(null,o,n),null)),[r,i,e]}function fl(e,t){e.action=t}function pl(e){var t=Da(),n=wa;if(null!==n)return dl(t,n,e);Da(),t=t.memoizedState;var r=(n=Da()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function hl(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=xa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ml(){return Da().memoizedState}function gl(e,t,n,r){var o=$a();xa.flags|=e,o.memoizedState=hl(1|t,{destroy:void 0},n,void 0===r?null:r)}function yl(e,t,n,r){var o=Da();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==wa&&null!==r&&Ra(r,wa.memoizedState.deps)?o.memoizedState=hl(t,i,n,r):(xa.flags|=e,o.memoizedState=hl(1|t,i,n,r))}function vl(e,t){gl(8390656,8,e,t)}function bl(e,t){yl(2048,8,e,t)}function xl(e){var t=Da().memoizedState;return function(e){xa.flags|=4;var t=xa.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&_c)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function wl(e,t){return yl(4,2,e,t)}function kl(e,t){return yl(4,4,e,t)}function Sl(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Cl(e,t,n){n=null!=n?n.concat([e]):null,yl(4,4,Sl.bind(null,t,e),n)}function El(){}function Pl(e,t){var n=Da();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ra(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Tl(e,t){var n=Da();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ra(t,r[1]))return r[0];if(r=e(),Ea){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r}function _l(e,t,n){return void 0===n||1073741824&ba&&!(261930&Rc)?e.memoizedState=t:(e.memoizedState=n,e=dd(),xa.lanes|=e,$c|=e,n)}function Ol(e,t,n,r){return xr(n,t)?n:null!==ra.current?(e=_l(e,n,r),xr(e,t)||(cs=!0),e):106&ba&&(!(1073741824&ba)||261930&Rc)?(e=dd(),xa.lanes|=e,$c|=e,t):(cs=!0,e.memoizedState=n)}function zl(e,t,n,r,o){var i=Z.p;Z.p=0!==i&&8>i?i:8;var a,l,s,u=X.T,c={};c.types=null!==u?u.types:null,X.T=c,Wl(e,!1,t,n);try{var d=o(),f=X.S;if(null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then)Bl(e,t,(a=r,l=[],s={status:"pending",value:null,reason:null,then:function(e){l.push(e)}},d.then(function(){s.status="fulfilled",s.value=a;for(var e=0;e<l.length;e++)(0,l[e])(a)},function(e){for(s.status="rejected",s.reason=e,e=0;e<l.length;e++)(0,l[e])(void 0)}),s),cd());else Bl(e,t,r,cd())}catch(n){Bl(e,t,{then:function(){},status:"rejected",reason:n},cd())}finally{Z.p=i,null!==u&&null!==c.types&&(u.types=c.types),X.T=u}}function Rl(){}function Ml(e,t,n,r){if(5!==e.tag)throw Error(i(476));var o=Nl(e).queue;zl(e,o,t,J,null===n?Rl:function(){return Il(e),n(r)})}function Nl(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:J},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Il(e){var t=Nl(e);null===t.next&&(t=e.alternate.memoizedState),Bl(e,t.next.queue,{},cd())}function Al(){return ai(hh)}function Fl(){return Da().memoizedState}function Ll(){return Da().memoizedState}function jl(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=cd(),r=Qi(t,e=Yi(n),n);return null!==r&&(pd(r,t,n),Gi(r,t,n)),t={cache:pi()},void(e.payload=t)}t=t.return}}function $l(e,t,n){var r=cd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Hl(e)?Vl(t,n):null!==(n=io(e,t,n,r))&&(pd(n,e,r),Ul(n,t,r))}function Dl(e,t,n){Bl(e,t,n,cd())}function Bl(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hl(e))Vl(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,xr(l,a))return oo(e,t,o,0),null===Oc&&ro(),!1}catch(e){}if(null!==(n=io(e,t,o,r)))return pd(n,e,r),Ul(n,t,r),!0}return!1}function Wl(e,t,n,r){if(r={lane:2,revertLane:cf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Hl(e)){if(t)throw Error(i(479))}else null!==(t=io(e,n,r,2))&&pd(t,e,2)}function Hl(e){var t=e.alternate;return e===xa||null!==t&&t===xa}function Vl(e,t){Ca=Sa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ul(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}var ql={readContext:ai,use:Wa,useCallback:za,useContext:za,useEffect:za,useImperativeHandle:za,useLayoutEffect:za,useInsertionEffect:za,useMemo:za,useReducer:za,useRef:za,useState:za,useDebugValue:za,useDeferredValue:za,useTransition:za,useSyncExternalStore:za,useId:za,useHostTransitionStatus:za,useFormState:za,useActionState:za,useOptimistic:za,useMemoCache:za,useCacheRefresh:za,useEffectEvent:za},Kl={readContext:ai,use:Wa,useCallback:function(e,t){return $a().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:vl,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,gl(4194308,4,Sl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gl(4194308,4,e,t)},useInsertionEffect:function(e,t){gl(4,2,e,t)},useMemo:function(e,t){var n=$a();t=void 0===t?null:t;var r=e();if(Ea){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$a();if(void 0!==n){var o=n(t);if(Ea){Fe(!0);try{n(t)}finally{Fe(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=$l.bind(null,xa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$a().memoizedState=e},useState:function(e){var t=(e=el(e)).queue,n=Dl.bind(null,xa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:El,useDeferredValue:function(e,t){return _l($a(),e,t)},useTransition:function(){var e=el(!1);return e=zl.bind(null,xa,e.queue,!0,!1),$a().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=xa,o=$a();if($o){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Oc)throw Error(i(349));127&Rc||Qa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,vl(Xa.bind(null,r,a,e),[e]),r.flags|=2048,hl(9,{destroy:void 0},Ga.bind(null,r,a,n,t),null),n},useId:function(){var e=$a(),t=Oc.identifierPrefix;if($o){var n=Ro;t="_"+t+"R_"+(n=(zo&~(1<<32-Le(zo)-1)).toString(32)+n),0<(n=Pa++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Oa++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Al,useFormState:ul,useActionState:ul,useOptimistic:function(e){var t=$a();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Wl.bind(null,xa,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ha,useCacheRefresh:function(){return $a().memoizedState=jl.bind(null,xa)},useEffectEvent:function(e){var t=$a(),n={impl:e};return t.memoizedState=n,function(){if(2&_c)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Yl={readContext:ai,use:Wa,useCallback:Pl,useContext:ai,useEffect:bl,useImperativeHandle:Cl,useInsertionEffect:wl,useLayoutEffect:kl,useMemo:Tl,useReducer:Ua,useRef:ml,useState:function(){return Ua(Va)},useDebugValue:El,useDeferredValue:function(e,t){return Ol(Da(),wa.memoizedState,e,t)},useTransition:function(){var e=Ua(Va)[0],t=Da().memoizedState;return["boolean"==typeof e?e:Ba(e),t]},useSyncExternalStore:Ya,useId:Fl,useHostTransitionStatus:Al,useFormState:cl,useActionState:cl,useOptimistic:function(e,t){return tl(Da(),0,e,t)},useMemoCache:Ha,useCacheRefresh:Ll,useEffectEvent:xl},Ql={readContext:ai,use:Wa,useCallback:Pl,useContext:ai,useEffect:bl,useImperativeHandle:Cl,useInsertionEffect:wl,useLayoutEffect:kl,useMemo:Tl,useReducer:Ka,useRef:ml,useState:function(){return Ka(Va)},useDebugValue:El,useDeferredValue:function(e,t){var n=Da();return null===wa?_l(n,e,t):Ol(n,wa.memoizedState,e,t)},useTransition:function(){var e=Ka(Va)[0],t=Da().memoizedState;return["boolean"==typeof e?e:Ba(e),t]},useSyncExternalStore:Ya,useId:Fl,useHostTransitionStatus:Al,useFormState:pl,useActionState:pl,useOptimistic:function(e,t){var n=Da();return null!==wa?tl(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Ha,useCacheRefresh:Ll,useEffectEvent:xl};function Gl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Xl={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cd(),o=Yi(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Qi(e,o,r))&&(pd(t,e,r),Gi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cd(),o=Yi(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Qi(e,o,r))&&(pd(t,e,r),Gi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cd(),r=Yi(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=Qi(e,r,n))&&(pd(t,e,n),Gi(t,e,n))}};function Zl(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!wr(n,r)||!wr(o,i))}function Jl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Xl.enqueueReplaceState(t,t.state,null)}function es(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=T({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function ts(e){Jr(e)}function ns(e){console.error(e)}function rs(e){Jr(e)}function os(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function is(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function as(e,t,n){return(n=Yi(n)).tag=3,n.payload={element:null},n.callback=function(){os(e,t)},n}function ls(e){return(e=Yi(e)).tag=3,e}function ss(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=function(){return o(i)},e.callback=function(){is(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){is(t,n,r),"function"!=typeof o&&(null===Xc?Xc=new Set([this]):Xc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var us=Error(i(461)),cs=!1;function ds(e,t,n,r){t.child=null===e?Vi(t,null,n,r):Hi(t,e.child,n,r)}function fs(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var l in r)"ref"!==l&&(a[l]=r[l])}else a=r;return ii(t),r=Ma(e,t,n,a,i,o),l=Fa(),null===e||cs?($o&&l&&Io(t),t.flags|=1,ds(e,t,r,o),t.child):(La(e,t,o),js(e,t,o))}function ps(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||po(i)||void 0!==i.defaultProps||null!==n.compare?((e=go(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,hs(e,t,i,r,o))}if(i=e.child,!$s(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:wr)(a,r)&&e.ref===t.ref)return js(e,t,o)}return t.flags|=1,(e=ho(i,r)).ref=t.ref,e.return=t,t.child=e}function hs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(wr(i,r)&&e.ref===t.ref){if(cs=!1,t.pendingProps=r=i,!$s(e,o))return t.lanes=e.lanes,js(e,t,o);131072&e.flags&&(cs=!0)}}return ws(e,t,n,r,o)}function ms(e,t,n,r){var o=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(i=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~i}else r=0,t.child=null;return ys(e,t,i,n,r)}if(!(536870912&n))return r=t.lanes=536870912,ys(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ei(0,null!==i?i.cachePool:null),null!==i?ia(t,i):aa(),fa(t)}else null!==i?(Ei(0,i.cachePool),ia(t,i),pa(),t.memoizedState=null):(null!==e&&Ei(0,null),aa(),pa());return ds(e,t,o,n),t.child}function gs(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ys(e,t,n,r,o){var i=Ci();return i=null===i?null:{parent:fi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Ei(0,null),aa(),fa(t),null!==e&&ri(e,t,r,!0),t.childLanes=o,null}function vs(e,t){return(t=zs({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function bs(e,t,n){return Hi(t,e.child,null,n),(e=vs(t,t.pendingProps)).flags|=2,ha(t),t.memoizedState=null,e}function xs(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function ws(e,t,n,r,o){return ii(t),n=Ma(e,t,n,r,void 0,o),r=Fa(),null===e||cs?($o&&r&&Io(t),t.flags|=1,ds(e,t,n,o),t.child):(La(e,t,o),js(e,t,o))}function ks(e,t,n,r,o,i){return ii(t),t.updateQueue=null,n=Ia(t,r,n,o),Na(e),r=Fa(),null===e||cs?($o&&r&&Io(t),t.flags|=1,ds(e,t,n,i),t.child):(La(e,t,i),js(e,t,i))}function Ss(e,t,n,r,o){if(ii(t),null===t.stateNode){var i=uo,a=n.contextType;"object"==typeof a&&null!==a&&(i=ai(a)),i=new n(r,i),t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=Xl,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},qi(t),a=n.contextType,i.context="object"==typeof a&&null!==a?ai(a):uo,i.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Gl(t,n,a,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(a=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),a!==i.state&&Xl.enqueueReplaceState(i,i.state,null),ea(t,r,i,o),Ji(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var l=t.memoizedProps,s=es(n,l);i.props=s;var u=i.context,c=n.contextType;a=uo,"object"==typeof c&&null!==c&&(a=ai(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l||u!==a)&&Jl(t,i,r,a),Ui=!1;var f=t.memoizedState;i.state=f,ea(t,r,i,o),Ji(),u=t.memoizedState,l||f!==u||Ui?("function"==typeof d&&(Gl(t,n,d,r),u=t.memoizedState),(s=Ui||Zl(t,n,s,r,f,u,a))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=a,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ki(e,t),c=es(n,a=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,s=uo,"object"==typeof u&&null!==u&&(s=ai(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==d||f!==s)&&Jl(t,i,r,s),Ui=!1,f=t.memoizedState,i.state=f,ea(t,r,i,o),Ji();var p=t.memoizedState;a!==d||f!==p||Ui||null!==e&&null!==e.dependencies&&oi(e.dependencies)?("function"==typeof l&&(Gl(t,n,l,r),p=t.memoizedState),(c=Ui||Zl(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&oi(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,xs(e,t),r=!!(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=Hi(t,e.child,null,o),t.child=Hi(t,null,n,o)):ds(e,t,n,o),t.memoizedState=i.state,e=t.child):e=js(e,t,o),e}function Cs(e,t,n,r){return Ko(),t.flags|=256,ds(e,t,n,r),t.child}var Es={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ps(e){return{baseLanes:e,cachePool:Pi()}}function Ts(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Wc),e}function _s(e,t,n){var r,o=t.pendingProps,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&ma.current)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if($o){if(a?ca(t):pa(),(e=jo)?null!==(e=null!==(e=_p(e,Bo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Oo?{id:zo,overflow:Ro}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,Lo=t,jo=null):e=null,null===e)throw Ho(t);return zp(e)?t.lanes=32:t.lanes=536870912,null}return l=o.children,o=o.fallback,a?(pa(),l=zs({mode:"hidden",children:l},a=t.mode),o=yo(o,a,n,null),l.return=t,o.return=t,l.sibling=o,t.child=l,(o=t.child).memoizedState=Ps(n),o.childLanes=Ts(e,r,n),t.memoizedState=Es,gs(null,o)):(ca(t),Os(t,l))}var s=e.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t,n,r,o,a,l,s){if(n)return 256&t.flags?(ca(t),t.flags&=-257,Rs(e,t,s)):null!==t.memoizedState?(pa(),t.child=e.child,t.flags|=128,null):(pa(),a=o.fallback,l=t.mode,o=zs({mode:"visible",children:o.children},l),(a=yo(a,l,s,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,Hi(t,e.child,null,s),(o=t.child).memoizedState=Ps(s),o.childLanes=Ts(e,r,s),t.memoizedState=Es,gs(null,o));if(ca(t),zp(a)){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return""!==(r=u)&&((o=Error(i(419))).stack="",o.digest=r,Qo({value:o,source:null,stack:null})),Rs(e,t,s)}if(cs||ri(e,t,s,!1),r=0!==(s&e.childLanes),cs||r){if(null!==ra.current)return Rs(e,t,s);if(null!==(r=Oc)&&(0!==(o=Je(r,s))&&o!==l.retryLane))throw l.retryLane=o,ao(e,o),pd(r,e,o),us;return Op(a)||Ed(),Rs(e,t,s)}return Op(a)?(t.flags|=192,t.child=e.child,null):(e=l.treeContext,jo=Rp(a.nextSibling),Lo=t,$o=!0,Do=null,Bo=!1,null!==e&&Fo(t,e),t=Os(t,o.children),t.flags|=134221824,t)}(e,t,l,r,o,u,s,n)}return a?(pa(),a=o.fallback,l=t.mode,u=(s=e.child).sibling,(o=ho(s,{mode:"hidden",children:o.children})).subtreeFlags=1206910976&s.subtreeFlags,null!==u?a=ho(u,a):(a=yo(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,gs(null,o),o=t.child,null===(a=e.child.memoizedState)?a=Ps(n):(null!==(l=a.cachePool)?(s=fi._currentValue,l=l.parent!==s?{parent:s,pool:s}:l):l=Pi(),a={baseLanes:a.baseLanes|n,cachePool:l}),o.memoizedState=a,o.childLanes=Ts(e,r,n),t.memoizedState=Es,gs(e.child,o)):(ca(t),e=(n=e.child).sibling,(n=ho(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Os(e,t){return(t=zs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function zs(e,t){return(e=fo(22,e,null,t)).lanes=0,e}function Rs(e,t,n){return Hi(t,e.child,null,n),(e=Os(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ms(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ti(e.return,t,n)}function Ns(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===va(n)&&(t=e),e=e.sibling}return t}function Is(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.treeForkCount=i)}function As(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function Fs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;r=r.children;var a=ma.current;if(128&t.flags)return ga(0,a),null;var l=!!(2&a);if(l?(a=1&a|2,t.flags|=128):a&=1,ga(0,a),"backwards"===o&&null!==e?(As(e),ds(e,t,r,n),As(e)):ds(e,t,r,n),r=$o?Po:0,!l&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ms(e,n,t);else if(19===e.tag)Ms(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":null===(n=Ns(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,As(t)),Is(t,!0,o,null,i,r);break;case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===va(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Is(t,!0,n,null,i,r);break;case"together":Is(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=Ns(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Is(t,!1,o,n,i,r)}return t.child}function Ls(e,t,n){var r=t.pendingProps;return Jo(0,t.type,r.value),ds(e,t,r.children,n),t.child}function js(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),$c|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ri(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ho(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ho(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $s(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!oi(e))}function Ds(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)cs=!0;else{if(!($s(e,n)||128&t.flags))return cs=!1,function(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Jo(0,fi,e.memoizedState.cache),Ko();break;case 27:case 5:pe(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Jo(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,da(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return ca(t),t.flags|=128,null;r=ri(e,t,n,!1);var o=t.child.childLanes;return r||0!==(n&o)?_s(e,t,n):(ca(t),null!==(e=js(e,t,n))?e.sibling:null)}ca(t);break;case 19:if(128&t.flags)return Fs(e,t,n);if(o=!!(128&e.flags),(r=0!==(n&t.childLanes))||(ri(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return Fs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ga(0,ma.current),r)break;return null;case 22:return t.lanes=0,ms(e,t,n,t.pendingProps);case 24:Jo(0,fi,e.memoizedState.cache)}return js(e,t,n)}(e,t,n);cs=!!(131072&e.flags)}else cs=!1,$o&&1048576&t.flags&&No(t,Po,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Ni(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===F){t.tag=11,t=fs(null,t,e,r,n);break e}if(o===$){t.tag=14,t=ps(null,t,e,r,n);break e}if(o===A){t.tag=10,t.type=e,t=Ls(null,t,n);break e}}throw t=Q(e)||e,Error(i(306,t,""))}po(e)?(r=es(e,r),t.tag=1,t=Ss(null,t,e,r,n)):(t.tag=0,t=ws(null,t,e,r,n))}return t;case 0:return ws(e,t,t.type,t.pendingProps,n);case 1:return Ss(e,t,r=t.type,o=es(r,t.pendingProps),n);case 3:e:{if(de(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,Ki(e,t),ea(t,r,null,n);var l=t.memoizedState;if(r=l.cache,Jo(0,fi,r),r!==a.cache&&ni(t,[fi],n,!0),Ji(),r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cs(e,t,r,n);break e}if(r!==o){Qo(o=ko(Error(i(424)),t)),t=Cs(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(jo=Rp(e.firstChild),Lo=t,$o=!0,Do=null,Bo=!0,n=Vi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|134221824,n=n.sibling}else{if(Ko(),r===o){t=js(e,t,n);break e}ds(e,t,r,n)}t=t.child}return t;case 26:return xs(e,t),null===e?(n=Vp(t.type,null,t.pendingProps,null))?t.memoizedState=n:$o||(t.stateNode=Bf(t.type,t.pendingProps,ue.current,t)):t.memoizedState=Vp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),null===e&&$o&&(r=t.stateNode=Ap(t.type,t.pendingProps,ue.current),Lo=t,Bo=!0,o=jo,Gf(t.type)?(Mp=o,jo=Rp(r.firstChild)):jo=o),ds(e,t,t.pendingProps.children,n),xs(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&$o&&((o=r=jo)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[ft])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=Rp(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,Bo))?(t.stateNode=r,Lo=t,jo=Rp(r.firstChild),Bo=!1,o=!0):o=!1),o||Ho(t)),pe(t),o=t.type,a=t.pendingProps,l=null!==e?e.memoizedProps:null,r=a.children,Wf(o,a)?r=null:null!==l&&Wf(o,l)&&(t.flags|=32),null!==t.memoizedState&&(o=Ma(e,t,Aa,null,null,n),hh._currentValue=o),xs(e,t),ds(e,t,r,n),t.child;case 6:return null===e&&$o&&((e=n=jo)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Rp(e.nextSibling)))return null}return e}(n,t.pendingProps,Bo))?(t.stateNode=n,Lo=t,jo=null,e=!0):e=!1),e||Ho(t)),null;case 13:return _s(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Hi(t,null,r,n):ds(e,t,r,n),t.child;case 11:return fs(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,xs(e,t),ds(e,t,r,n),t.child;case 8:case 12:return ds(e,t,t.pendingProps.children,n),t.child;case 10:return Ls(e,t,n);case 9:return o=t.type._context,r=t.pendingProps.children,ii(t),r=r(o=ai(o)),t.flags|=1,ds(e,t,r,n),t.child;case 14:return ps(e,t,t.type,t.pendingProps,n);case 15:return hs(e,t,t.type,t.pendingProps,n);case 19:return Fs(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if($o){if("hidden"===r.mode)return e=vs(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},gs(null,e);if(da(t),(e=jo)?null!==(e=null!==(e=_p(e,Bo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Oo?{id:zo,overflow:Ro}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,Lo=t,jo=null):e=null,null===e)throw Ho(t);return t.lanes=536870912,null}return vs(t,r)}var a=e.memoizedState;if(null!==a){var l=a.dehydrated;if(da(t),o)if(256&t.flags)t.flags&=-257,t=bs(e,t,n);else{if(null===t.memoizedState)throw Error(i(558));t.child=e.child,t.flags|=128,t=null}else if(cs||ri(e,t,n,!1),o=0!==(n&e.childLanes),cs||o){if(null===ra.current){if(null!==(r=Oc)&&0!==(l=Je(r,n))&&l!==a.retryLane)throw a.retryLane=l,ao(e,l),pd(r,e,l),us;Ed()}t=bs(e,t,n)}else e=a.treeContext,jo=Rp(l.nextSibling),Lo=t,$o=!0,Do=null,Bo=!1,null!==e&&Fo(t,e),(t=vs(t,r)).flags|=134221824;return t}return(e=ho(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return ms(e,t,n,t.pendingProps);case 24:return ii(t),r=ai(fi),null===e?(null===(o=Ci())&&(o=Oc,a=pi(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},qi(t),Jo(0,fi,o)):(0!==(e.lanes&n)&&(Ki(e,t),ea(t,null,null,n),Ji()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Jo(0,fi,r)):(r=a.cache,Jo(0,fi,r),r!==o.cache&&ni(t,[fi],n,!0))),ds(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?18882560:18874368:$o&&Io(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:xs(e,t),ds(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Bs(e){e.flags|=4}function Ws(e,t,n,r,o){var i;if((i=!!(32&e.mode))&&(i=null===n?rh(t,r):rh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!kd())throw Ii=zi,_i;e.flags|=8192}}else e.flags&=-16777217}function Hs(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!oh(t)){if(!kd())throw Ii=zi,_i;e.flags|=8192}}function Vs(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ye():536870912,e.lanes|=t,Hc|=t)}function Us(e,t){if(!$o)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=1206910976&o.subtreeFlags,r|=1206910976&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(Ao(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return qs(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ei(fi),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(qo(t)?Bs(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,Yo())),qs(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(Bs(t),null!==a?(qs(t),Hs(t,a)):(qs(t),Ws(t,o,null,r,n))):a?a!==e.memoizedState?(Bs(t),qs(t),Hs(t,a)):(qs(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&Bs(t),qs(t),Ws(t,o,e,r,n)),null;case 27:if(he(t),n=ue.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Bs(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),t.subtreeFlags&=-33554433,null}e=le.current,qo(t)?Vo(t):(e=Ap(o,r,n),t.stateNode=e,Bs(t))}return qs(t),t.subtreeFlags&=-33554433,null;case 5:if(he(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Bs(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),t.subtreeFlags&=-33554433,null}if(a=le.current,qo(t))Vo(t);else{var l=jf(ue.current);switch(a){case 1:a=l.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=l.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=l.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=l.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=l.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?l.createElement(o,{is:r.is}):l.createElement(o)}}a[it]=t,a[at]=r;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)a.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=a;e:switch(Nf(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Bs(t)}}return qs(t),t.subtreeFlags&=-33554433,Ws(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Bs(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=ue.current,qo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=Lo))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[it]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||zf(e.nodeValue,n)))||Ho(t,!0)}else(e=jf(e).createTextNode(r))[it]=t,t.stateNode=e}return qs(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=qo(t),null!==n){if(null===e){if(!r)throw Error(i(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(i(557));e[it]=t}else Ko(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),e=!1}else n=Yo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(ha(t),t):(ha(t),null);if(128&t.flags)throw Error(i(558))}return qs(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=qo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[it]=t}else Ko(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),o=!1}else o=Yo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ha(t),t):(ha(t),null)}return ha(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Vs(t,t.updateQueue),qs(t),null);case 4:return fe(),null===e&&xf(t.stateNode.containerInfo),t.flags|=67108864,qs(t),null;case 10:return ei(t.type),qs(t),null;case 19:if(ya(t),null===(r=t.memoizedState))return qs(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)Us(r,!1);else{if(0!==jc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=va(e))){for(t.flags|=128,Us(r,!1),e=a.updateQueue,t.updateQueue=e,Vs(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)mo(n,e),n=n.sibling;return ga(0,1&ma.current|2),$o&&Mo(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&Ee()>Qc&&(t.flags|=128,o=!0,Us(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=va(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Vs(t,e),Us(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!$o)return qs(t),null}else 2*Ee()-r.renderingStartTime>Qc&&536870912!==n&&(t.flags|=128,o=!0,Us(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e:{for(n=e=r.tail;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ee(),e.sibling=null,a=ma.current,a=o?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||$o?ga(0,a):(n=a,oe(sa,t),oe(ma,n),null===ua&&(ua=t)),$o&&Mo(t,r.treeForkCount),e}return qs(t),null;case 22:case 23:return ha(t),la(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null!==(n=t.updateQueue)&&Vs(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&re(Si),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ei(fi),qs(t),null;case 25:return null;case 30:return t.flags|=33554432,qs(t),null}throw Error(i(156,t.tag))}function Ys(e,t){switch(Ao(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ei(fi),fe(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return he(t),null;case 31:if(null!==t.memoizedState){if(ha(t),null===t.alternate)throw Error(i(340));Ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ha(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));Ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ya(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return fe(),null;case 10:return ei(t.type),null;case 22:case 23:return ha(t),la(),null!==e&&re(Si),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ei(fi),null;default:return null}}function Qs(e,t){switch(Ao(t),t.tag){case 3:ei(fi),fe();break;case 26:case 27:case 5:he(t);break;case 4:fe();break;case 31:null!==t.memoizedState&&ha(t);break;case 13:ha(t);break;case 19:ya(t);break;case 10:ei(t.type);break;case 22:case 23:ha(t),la(),null!==e&&re(Si);break;case 24:ei(fi)}}function Gs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var i=n.create,a=n.inst;r=i(),a.destroy=r}n=n.next}while(n!==o)}}catch(e){Vd(t,t.return,e)}}function Xs(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,l=a.destroy;if(void 0!==l){a.destroy=void 0,o=t;var s=n,u=l;try{u()}catch(e){Vd(o,s,e)}}}r=r.next}while(r!==i)}}catch(e){Vd(t,t.return,e)}}function Zs(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{na(t,n)}catch(t){Vd(e,e.return,t)}}}function Js(e,t,n){n.props=es(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Vd(e,t,n)}}function eu(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,i=Gr(e.memoizedProps,o);null!==o.ref&&o.ref.name===i||(o.ref=ap(i)),r=o.ref;break;case 7:if(null===e.stateNode){var a=new lp(e);h(e.child,!1,Sp,a,void 0,void 0),e.stateNode=a}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){Vd(e,t,n)}}function tu(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){Vd(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){Vd(e,t,n)}else n.current=null}function nu(e,t){if((5===e.tag||27===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)Ep(e.stateNode,t[n])}function ru(e){for(var t=e.return;null!==t&&(au(t)&&Ep(e.stateNode,t.stateNode),!iu(t));)t=t.return}function ou(e){for(var t=e.return;null!==t&&(au(t)&&Pp(e.stateNode,t.stateNode),!iu(t));)t=t.return}function iu(e){return 5===e.tag||3===e.tag||27===e.tag}function au(e){return e&&7===e.tag&&null!==e.stateNode}function lu(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Vd(e,e.return,t)}}function su(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,l=null,s=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||Rf(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(_t=!0),a=h;break;case"name":h!==f&&(_t=!0),o=h;break;case"checked":h!==f&&(_t=!0),c=h;break;case"defaultChecked":h!==f&&(_t=!0),d=h;break;case"value":h!==f&&(_t=!0),l=h;break;case"defaultValue":h!==f&&(_t=!0),s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(i(137,t));break;default:h!==f&&Rf(e,t,p,h,r,f)}}return void $t(e,l,s,u,c,d,a,o);case"select":for(a in h=l=s=p=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(a)||Rf(e,t,a,null,r,u)}for(o in r)if(a=r[o],u=n[o],r.hasOwnProperty(o)&&(null!=a||null!=u))switch(o){case"value":a!==u&&(_t=!0),p=a;break;case"defaultValue":a!==u&&(_t=!0),s=a;break;case"multiple":a!==u&&(_t=!0),l=a;default:a!==u&&Rf(e,t,o,a,r,u)}return t=s,n=l,r=h,void(null!=p?Wt(e,!!n,p,!1):!!r!=!!n&&(null!=t?Wt(e,!!n,t,!0):Wt(e,!!n,n?[]:"",!1)));case"textarea":for(s in h=p=null,n)if(o=n[s],n.hasOwnProperty(s)&&null!=o&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:Rf(e,t,s,null,r,o)}for(l in r)if(o=r[l],a=n[l],r.hasOwnProperty(l)&&(null!=o||null!=a))switch(l){case"value":o!==a&&(_t=!0),p=o;break;case"defaultValue":o!==a&&(_t=!0),h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o!==a&&Rf(e,t,l,o,r,a)}return void Ht(e,p,h);case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else Rf(e,t,m,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if("selected"===u)p!==h&&(_t=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else Rf(e,t,u,p,r,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&Rf(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(i(137,t));break;default:Rf(e,t,c,p,r,h)}return;default:if(Qt(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&Mf(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||Mf(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&Rf(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||Rf(e,t,f,p,r,h)}(r,e.type,n,t),r[at]=t}catch(t){Vd(e,e.return,t)}}function uu(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Gf(e.type)||4===e.tag}function cu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Gf(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function du(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(o,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(o),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jt)),nu(e,r),_t=!0;else if(4!==o&&(27===o&&(nu(e,r),r=null,Gf(e.type)&&(n=e.stateNode,t=null)),null!==(e=e.child)))for(du(e,t,n,r),e=e.sibling;null!==e;)du(e,t,n,r),e=e.sibling}function fu(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),nu(e,r),_t=!0;else if(4!==o&&(27===o&&(nu(e,r),r=null,Gf(e.type)&&(n=e.stateNode)),null!==(e=e.child)))for(fu(e,t,n,r),e=e.sibling;null!==e;)fu(e,t,n,r),e=e.sibling}function pu(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Nf(t,r,n),t[it]=e,t[at]=n}catch(t){Vd(e,e.return,t)}}var hu=!1,mu=null;function gu(e){(30===e.tag||33554432&e.subtreeFlags)&&(hu=!0)}var yu=null;function vu(){var e=yu;return yu=null,e}var bu=0;function xu(e,t,n,r,o){return bu=0,wu(e.child,t,n,r,o)}function wu(e,t,n,r,o){for(var i=!1;null!==e;){if(5===e.tag){var a=e.stateNode;if(null!==r){var l=np(a);r.push(l),l.view&&(i=!0)}else i||np(a).view&&(i=!0);hu=!0,Jf(a,0===bu?t:t+"_"+bu,n),bu++}else 22===e.tag&&null!==e.memoizedState||30===e.tag&&o||wu(e.child,t,n,r,o)&&(i=!0);e=e.sibling}return i}function ku(e,t){for(;null!==e;)5===e.tag?ep(e.stateNode,e.memoizedProps):22===e.tag&&null!==e.memoizedState||30===e.tag&&t||ku(e.child,t),e=e.sibling}function Su(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(Su(e),30===e.tag&&18874368&e.flags&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(i(544));var n=t.name;"none"!==(t=Zr(t.default,t.share))&&(xu(e,n,t,null,!1)||ku(e.child,!1))}e=e.sibling}}function Cu(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,o=Gr(r,n),i=Zr(r.default,n.paired?r.share:r.enter);"none"!==i?xu(e,o,i,null,!1)?(Su(e),n.paired||t||fd(e,r.onEnter)):ku(e.child,!1):Su(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Cu(e,t),e=e.sibling;else Su(e)}function Eu(e){if(null!==mu&&0!==mu.size){var t=mu;if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var o=t.get(r);if(void 0!==o){var i=Zr(n.default,n.share);if("none"!==i&&(xu(e,r,i,null,!1)?(i=e.stateNode,o.paired=i,i.paired=o,fd(e,n.onShare)):ku(e.child,!1)),t.delete(r),0===t.size)break}}}Eu(e)}e=e.sibling}}}function Pu(e){if(30===e.tag){var t=e.memoizedProps,n=Gr(t,e.stateNode),r=null!==mu?mu.get(n):void 0,o=Zr(t.default,void 0!==r?t.share:t.exit);"none"!==o&&(xu(e,n,o,null,!1)?void 0!==r?(o=e.stateNode,r.paired=o,o.paired=r,mu.delete(n),fd(e,t.onShare)):fd(e,t.onExit):ku(e.child,!1)),null!==mu&&Eu(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Pu(e),e=e.sibling;else null!==mu&&Eu(e)}function Tu(e){for(e=e.child;null!==e;){if(30===e.tag){var t=e.memoizedProps,n=Gr(t,e.stateNode);t=Zr(t.default,t.update),e.flags&=-5,"none"!==t&&xu(e,n,t,e.memoizedState=[],!1)}else 33554432&e.subtreeFlags&&Tu(e);e=e.sibling}}function _u(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var t=e.stateNode;null!==t.paired&&(t.paired=null,ku(e.child,!1))}_u(e)}e=e.sibling}}function Ou(e){if(30===e.tag)e.stateNode.paired=null,ku(e.child,!1),_u(e);else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Ou(e),e=e.sibling;else _u(e)}function zu(e){for(e=e.child;null!==e;)30===e.tag?ku(e.child,!1):!!(33554432&e.subtreeFlags)&&zu(e),e=e.sibling}function Ru(e,t,n,r,o,i,a){for(var l=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==i&&bu<i.length){var u,c=i[bu],d=np(s);if((c.view||d.view)&&(l=!0),u=!(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;4&e.flags&&Jf(s,0===bu?n:n+"_"+bu,o),l&&4&e.flags||(null===yu&&(yu=[]),yu.push(s,0===bu?r:r+"_"+bu,t.memoizedProps)),bu++}else 22===t.tag&&null!==t.memoizedState||(30===t.tag&&a?e.flags|=32&t.flags:Ru(e,t.child,n,r,o,i,a)&&(l=!0));t=t.sibling}return l}function Mu(e,t){for(e=e.child;null!==e;){if(30===e.tag){var n=e.memoizedProps,r=e.stateNode,o=Gr(n,r),i=Zr(n.default,n.update);if(t)var a=null===(r=r.clones)?null:r.map(rp);else a=e.memoizedState,e.memoizedState=null;r=e;var l=e.child;bu=0,o=Ru(r,l,o,o,i,a,!1),4&e.flags&&o&&(t||fd(e,n.onUpdate))}else 33554432&e.subtreeFlags&&Mu(e,t);e=e.sibling}}var Nu=!1,Iu=!1,Au=!1,Fu=!1,Lu="function"==typeof WeakSet?WeakSet:Set,ju=null,$u=!1,Du=!1,Bu=!1,Wu=!1;function Hu(e){for(;null!==ju;){var t=ju,n=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&o&&null!==r){n=void 0,o=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var l=es(t.type,o);n=a.getSnapshotBeforeUpdate(l,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){Vd(t,t.return,e)}}break;case 3:if(1024&o)if(9===(n=(r=t.stateNode.containerInfo).nodeType))Tp(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Tp(r);break;default:r.textContent=""}break;case 30:n&&null!==r&&(n=Gr(r.memoizedProps,r.stateNode),"none"!==(o=Zr((o=t.memoizedProps).default,o.update))&&xu(r,n,o,r.memoizedState=[],!0));break;default:if(1024&o)throw Error(i(163))}if(null!==(r=t.sibling)){r.return=t.return,ju=r;break}ju=t.return}}function Vu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:uc(e,n),4&r&&Gs(5,n);break;case 1:if(uc(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){Vd(n,n.return,e)}else{var o=es(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Vd(n,n.return,e)}}64&r&&Zs(n),512&r&&eu(n,n.return);break;case 3:if(uc(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{na(e,t)}catch(e){Vd(n,n.return,e)}}break;case 27:null===t&&4&r&&pu(n);case 26:case 5:uc(e,n),null===t&&4&r&&lu(n),512&r&&eu(n,n.return);break;case 12:uc(e,n);break;case 31:uc(e,n),4&r&&Ju(e,n);break;case 13:uc(e,n),4&r&&ec(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Yd.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Nu)){var i=null!==t&&null!==t.memoizedState||Iu;t=Nu,o=Iu,Nu=r,(Iu=i)&&!o?(r=2,!!(8772&n.subtreeFlags)&&(r|=1),dc(e,n,r)):uc(e,n),Nu=t,Iu=o}break;case 30:uc(e,n),512&r&&eu(n,n.return);break;case 7:512&r&&eu(n,n.return);default:uc(e,n)}}function Uu(e,t){for(e=e.child;null!==e;)qu(e,t),e=e.sibling}function qu(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;"function"==typeof r.setProperty?r.setProperty("display","none","important"):r.display="none"}else{var o=e.stateNode,i=e.memoizedProps.style,a=null!=i&&i.hasOwnProperty("display")?i.display:null;o.style.display=null==a||"boolean"==typeof a?"":(""+a).trim()}}catch(t){Vd(e,e.return,t)}Ku(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,_t=!0}catch(t){Vd(e,e.return,t)}break;case 18:try{var l=e.stateNode;t?Zf(l,!0):Zf(e.stateNode,!1)}catch(t){Vd(e,e.return,t)}break;case 22:case 23:null===e.memoizedState&&Uu(e,t);break;default:Uu(e,t)}}function Ku(e,t){if(67108864&e.subtreeFlags)for(e=e.child;null!==e;){e:{var n=e,r=t;switch(n.tag){case 4:qu(n,r);break e;case 22:null===n.memoizedState&&Ku(n,r);break e;default:Ku(n,r)}}e=e.sibling}}function Yu(e){var t=e.alternate;null!==t&&(e.alternate=null,Yu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ht(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Qu=null,Gu=!1;function Xu(e,t,n){for(n=n.child;null!==n;)Zu(e,t,n),n=n.sibling}function Zu(e,t,n){if(Ae&&"function"==typeof Ae.onCommitFiberUnmount)try{Ae.onCommitFiberUnmount(Ie,n)}catch(e){}switch(n.tag){case 26:Iu||tu(n,t),Xu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Iu&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Iu||tu(n,t),ou(n);var r=Qu,o=Gu;Gf(n.type)&&(Qu=n.stateNode,Gu=!1),Xu(e,t,n),Fp(n.stateNode,n.type,n.memoizedProps),Qu=r,Gu=o;break;case 5:Iu||tu(n,t),ou(n);case 6:if(6===n.tag&&ou(n),r=Qu,o=Gu,Qu=null,Xu(e,t,n),Gu=o,null!==(Qu=r))if(Gu)try{(9===Qu.nodeType?Qu.body:"HTML"===Qu.nodeName?Qu.ownerDocument.body:Qu).removeChild(n.stateNode),_t=!0}catch(e){Vd(n,t,e)}else try{Qu.removeChild(n.stateNode),_t=!0}catch(e){Vd(n,t,e)}break;case 18:null!==Qu&&(Gu?(Xf(9===(e=Qu).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Yh(e)):Xf(Qu,n.stateNode));break;case 4:r=Qu,o=Gu,Qu=n.stateNode.containerInfo,Gu=!0,Xu(e,t,n),Qu=r,Gu=o;break;case 0:case 11:case 14:case 15:Xs(2,n,t),Iu||Xs(4,n,t),Xu(e,t,n);break;case 1:Iu||(tu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&Js(n,t,r)),Xu(e,t,n);break;case 21:Xu(e,t,n);break;case 22:Iu=(r=Iu)||null!==n.memoizedState,Xu(e,t,n),Iu=r;break;case 30:tu(n,t),Xu(e,t,n);break;case 7:Iu||tu(n,t),Xu(e,t,n);break;default:Xu(e,t,n)}}function Ju(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Yh(e)}catch(e){Vd(t,t.return,e)}}}function ec(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Yh(e)}catch(e){Vd(t,t.return,e)}}function tc(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Lu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Lu),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Qd.bind(null,e,t);t.then(r,r)}})}function nc(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],l=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 27:if(Gf(u.type)){Qu=u.stateNode,Gu=!1;break e}break;case 5:Qu=u.stateNode,Gu=!1;break e;case 3:case 4:Qu=u.stateNode.containerInfo,Gu=!0;break e}u=u.return}if(null===Qu)throw Error(i(160));Zu(l,s,a),Qu=null,Gu=!1,null!==(l=a.alternate)&&(l.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)oc(t,e,n),t=t.sibling}var rc=null;function oc(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(4&o&&null!==(r=null!==(r=e.updateQueue)?r.events:null))for(var a=0;a<r.length;a++){var l=r[a];l.ref.impl=l.nextImpl}nc(t,e,n),ic(e),4&o&&(Xs(3,e,e.return),Gs(3,e),Xs(5,e,e.return));break;case 1:nc(t,e,n),ic(e),512&o&&(Iu||null===r||tu(r,r.return)),64&o&&Nu&&(null!==(e=e.updateQueue)&&(null!==(t=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?t:n.concat(t))));break;case 26:if(a=rc,nc(t,e,n),ic(e),512&o&&(Iu||null===r||tu(r,r.return)),4&o)if(o=null!==r?r.memoizedState:null,n=e.memoizedState,null===r)if(null===n)if(null===e.stateNode)if(Nu)e.stateNode=Bf(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,o=a.ownerDocument||a;t:switch(t){case"title":(!(r=o.getElementsByTagName("title")[0])||r[ft]||r[it]||"http://www.w3.org/2000/svg"===r.namespaceURI||r.hasAttribute("itemprop"))&&(r=o.createElement(t),o.head.insertBefore(r,o.querySelector("head > title"))),Nf(r,t,n),r[it]=e,bt(r),t=r;break e;case"link":if(a=th("link","href",o).get(t+(n.href||"")))for(l=0;l<a.length;l++)if((r=a[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&r.getAttribute("rel")===(null==n.rel?null:n.rel)&&r.getAttribute("title")===(null==n.title?null:n.title)&&r.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){a.splice(l,1);break t}Nf(r=o.createElement(t),t,n),o.head.appendChild(r);break;case"meta":if(a=th("meta","content",o).get(t+(n.content||"")))for(l=0;l<a.length;l++)if((r=a[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&r.getAttribute("name")===(null==n.name?null:n.name)&&r.getAttribute("property")===(null==n.property?null:n.property)&&r.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&r.getAttribute("charset")===(null==n.charSet?null:n.charSet)){a.splice(l,1);break t}Nf(r=o.createElement(t),t,n),o.head.appendChild(r);break;default:throw Error(i(468,t))}r[it]=e,bt(r),t=r}e.stateNode=t}else Nu||nh(a,e.type,e.stateNode);else e.stateNode=Gp(a,n,e.memoizedProps);else o!==n?(null===o?null===(t=r.stateNode)||Iu||t.parentNode.removeChild(t):o.count--,null===n?Nu||nh(a,e.type,e.stateNode):Gp(a,n,e.memoizedProps)):null===n&&null!==e.stateNode&&su(e,e.memoizedProps,r.memoizedProps);break;case 27:nc(t,e,n),ic(e),512&o&&(Iu||null===r||tu(r,r.return)),null!==r&&4&o&&su(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=Au,Au=!1,nc(t,e,n),Au=a,ic(e),512&o&&(Iu||null===r||tu(r,r.return)),32&e.flags){t=e.stateNode;try{Ut(t,""),_t=!0}catch(t){Vd(e,e.return,t)}}4&o&&null!=e.stateNode&&su(e,t=e.memoizedProps,null!==r?r.memoizedProps:t),1024&o&&(Fu=!0);break;case 6:if(nc(t,e,n),ic(e),4&o){if(null===e.stateNode)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,_t=!0}catch(t){Vd(e,e.return,t)}}break;case 3:if(_t=!1,eh=null,a=rc,rc=Dp(t.containerInfo),nc(t,e,n),rc=a,ic(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Yh(t.containerInfo)}catch(t){Vd(e,e.return,t)}Fu&&(Fu=!1,ac(e)),_t=!1;break;case 4:o=Au,Au=Nu,r=Ot(),a=rc,rc=Dp(e.stateNode.containerInfo),nc(t,e,n),ic(e),rc=a,_t&&Du&&(Bu=!0),_t=r,Au=o;break;case 12:nc(t,e,n),ic(e);break;case 31:nc(t,e,n),ic(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 13:nc(t,e,n),ic(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(Kc=Ee()),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 22:a=null!==e.memoizedState,l=null!==r&&null!==r.memoizedState;var s=Nu,u=Iu,c=Au;Nu=s||a,Au=c||a,Iu=u||l,nc(t,e,n),Iu=u,Au=c,Nu=s,ic(e),8192&o&&((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,!a||null===r||l||Nu||Iu||(n=Nu,r=Iu,Nu=a||Nu,Iu=t=l||Iu,cc(e,2),Nu=n,Iu=r),!a&&Au||Uu(e,a)),4&o&&(null!==(t=e.updateQueue)&&(null!==(n=t.retryQueue)&&(t.retryQueue=null,tc(e,n))));break;case 19:nc(t,e,n),ic(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 30:512&o&&(Iu||null===r||tu(r,r.return)),o=Ot(),a=Du,l=(335544064&n)===n,s=e.memoizedProps,Du=l&&"none"!==Zr(s.default,s.update),nc(t,e,n),ic(e),l&&null!==r&&_t&&(e.flags|=4),Du=a,_t=o;break;case 21:break;case 7:512&o&&(Iu||null===r||tu(r,r.return)),r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:nc(t,e,n),ic(e)}}function ic(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(uu(r)){n=r;break}r=r.return}r=null;for(var o=e.return;null!==o;){if(au(o)){var a=o.stateNode;null===r?r=[a]:r.push(a)}if(iu(o))break;o=o.return}var l=r;if(null==n)throw Error(i(160));switch(n.tag){case 27:var s=n.stateNode;fu(e,cu(e),s,l);break;case 5:var u=n.stateNode;32&n.flags&&(Ut(u,""),n.flags&=-33),fu(e,cu(e),u,l);break;case 3:case 4:var c=n.stateNode.containerInfo;du(e,cu(e),c,l);break;default:throw Error(i(161))}}catch(t){Vd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ac(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;ac(t),5===t.tag&&1024&t.flags&&(t=t.stateNode,Sh=!0,t.reset(),Sh=!1),e=e.sibling}}function lc(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)sc(t,e),t=t.sibling;else Mu(t,!1)}function sc(e,t){var n=e.alternate;if(null===n)Cu(e,!1);else switch(e.tag){case 3:if(Wu=$u=!1,vu(),lc(t,e),!$u&&!Bu){if(null!==(e=yu))for(var r=0;r<e.length;r+=3){n=e[r];var o=e[r+1];ep(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Wu=!0}yu=null;break;case 5:default:lc(t,e);break;case 4:r=$u,$u=!1,lc(t,e),$u&&(Bu=!0),$u=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?Cu(e,!1):lc(t,e));break;case 30:r=$u,o=vu(),$u=!1,lc(t,e),$u&&(e.flags|=4);var i=e.memoizedProps,a=e.stateNode;t=Gr(i,a),a=Gr(n.memoizedProps,a);var l=Zr(i.default,i.update);"none"===l?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,bu=0,t=Ru(e,n,t,a,l,i,!0),bu!==(null===i?0:i.length)&&(e.flags|=32)),4&e.flags&&t?(fd(e,e.memoizedProps.onUpdate),yu=o):null!==o&&(o.push.apply(o,yu),yu=o),$u=!!(32&e.flags)||r}}function uc(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Vu(e,t.alternate,t),t=t.sibling}function cc(e,t){for(e=e.child;null!==e;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Xs(4,n,n.return),cc(n,r);break;case 1:tu(n,n.return);var o=n.stateNode;"function"==typeof o.componentWillUnmount&&Js(n,n.return,o),cc(n,r);break;case 27:2&r&&Fp(n.stateNode,n.type,n.memoizedProps);case 5:tu(n,n.return),5!==n.tag&&27!==n.tag||ou(n),cc(n,r);break;case 6:ou(n);break;case 26:tu(n,n.return),o=n.stateNode,null!==n.memoizedState||null===o||Iu||o.parentNode.removeChild(o),cc(n,r);break;case 22:null===n.memoizedState&&cc(n,r);break;case 30:tu(n,n.return),cc(n,r);break;case 7:tu(n,n.return);default:cc(n,r)}e=e.sibling}}function dc(e,t,n){for(n=8772&t.subtreeFlags?n:-2&n,t=t.child;null!==t;){var r=t.alternate,o=e,i=t,a=i.flags,l=!!(1&n);switch(i.tag){case 0:case 11:case 15:dc(o,i,n),Gs(4,i);break;case 1:if(dc(o,i,n),"function"==typeof(o=(r=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){Vd(r,r.return,e)}if(null!==(o=(r=i).updateQueue)){var s=r.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)ta(u[o],s)}catch(e){Vd(r,r.return,e)}}l&&64&a&&Zs(i),eu(i,i.return);break;case 27:2&n&&pu(i);case 5:5!==i.tag&&27!==i.tag||ru(i),dc(o,i,n),l&&null===r&&4&a&&lu(i),eu(i,i.return);break;case 6:ru(i);break;case 26:s=i.stateNode,null!==i.memoizedState||null===s||Nu||nh(Dp(s.ownerDocument),i.type,s),dc(o,i,n),l&&null===r&&4&a&&lu(i),eu(i,i.return);break;case 12:dc(o,i,n);break;case 31:dc(o,i,n),l&&4&a&&Ju(o,i);break;case 13:dc(o,i,n),l&&4&a&&ec(o,i);break;case 22:null===i.memoizedState&&dc(o,i,n),eu(i,i.return);break;case 30:dc(o,i,n),eu(i,i.return);break;case 7:eu(i,i.return);default:dc(o,i,n)}t=t.sibling}}function fc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&hi(n))}function pc(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&hi(e))}function hc(e,t,n,r){var o=(335544064&n)===n;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;null!==t;)mc(e,t,n,r),t=t.sibling;else o&&zu(t)}function mc(e,t,n,r){var o=(335544064&n)===n;o&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&Ou(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:hc(e,t,n,r),2048&i&&Gs(9,t);break;case 1:case 31:case 13:default:hc(e,t,n,r);break;case 3:hc(e,t,n,r),o&&Wu&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&hi(i)));break;case 12:if(2048&i){hc(e,t,n,r),i=t.stateNode;try{var a=t.memoizedProps,l=a.id,s=a.onPostCommit;"function"==typeof s&&s(l,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){Vd(t,t.return,e)}}else hc(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,l=t.alternate,null!==t.memoizedState?(o&&null!==l&&null===l.memoizedState&&Ou(l),2&a._visibility?hc(e,t,n,r):yc(e,t)):(o&&null!==l&&null!==l.memoizedState&&Ou(t),2&a._visibility?hc(e,t,n,r):(a._visibility|=2,gc(e,t,n,r,!!(10256&t.subtreeFlags)||!1))),2048&i&&fc(l,t);break;case 24:hc(e,t,n,r),2048&i&&pc(t.alternate,t);break;case 30:o&&(null!==(i=t.alternate)&&(ku(i.child,!0),ku(t.child,!0))),hc(e,t,n,r)}}function gc(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var i=e,a=t,l=n,s=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:gc(i,a,l,s,o),Gs(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?gc(i,a,l,s,o):yc(i,a):(c._visibility|=2,gc(i,a,l,s,o)),o&&2048&u&&fc(a.alternate,a);break;case 24:gc(i,a,l,s,o),o&&2048&u&&pc(a.alternate,a);break;default:gc(i,a,l,s,o)}t=t.sibling}}function yc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:yc(n,r),2048&o&&fc(r.alternate,r);break;case 24:yc(n,r),2048&o&&pc(r.alternate,r);break;default:yc(n,r)}t=t.sibling}}var vc=8192;function bc(e,t,n){if(e.subtreeFlags&vc)for(e=e.child;null!==e;)xc(e,t,n),e=e.sibling}function xc(e,t,n){switch(e.tag){case 26:bc(e,t,n),e.flags&vc&&(null!==e.memoizedState?function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Up(r.href),i=t.querySelector(qp(o));if(i)return null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=uh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,void bt(i);i=t.ownerDocument||t,r=Kp(r),(o=jp.get(o))&&Zp(r,o),bt(i=i.createElement("link"));var a=i;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),Nf(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=uh.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,rc,e.memoizedState,e.memoizedProps):(e=e.stateNode,(335544128&t)===t&&ah(n,e)));break;case 5:bc(e,t,n),e.flags&vc&&(e=e.stateNode,(335544128&t)===t&&ah(n,e));break;case 3:case 4:var r=rc;rc=Dp(e.stateNode.containerInfo),bc(e,t,n),rc=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=vc,vc=16777216,bc(e,t,n),vc=r):bc(e,t,n));break;case 30:if(0!==(e.flags&vc)&&(null!=(r=e.memoizedProps.name)&&"auto"!==r)){var o=e.stateNode;o.paired=null,null===mu&&(mu=new Map),mu.set(r,o)}bc(e,t,n);break;default:bc(e,t,n)}}function wc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function kc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ju=r,Ec(r,e)}wc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Sc(e),e=e.sibling}function Sc(e){switch(e.tag){case 0:case 11:case 15:kc(e),2048&e.flags&&Xs(9,e,e.return);break;case 3:case 12:default:kc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,Cc(e)):kc(e)}}function Cc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ju=r,Ec(r,e)}wc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:Xs(8,t,t.return),Cc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,Cc(t));break;default:Cc(t)}e=e.sibling}}function Ec(e,t){for(;null!==ju;){var n=ju;switch(n.tag){case 0:case 11:case 15:Xs(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:hi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,ju=r;else e:for(n=e;null!==ju;){var o=(r=ju).sibling,i=r.return;if(Yu(r),r===n){ju=null;break e}if(null!==o){o.return=i,ju=o;break e}ju=i}}}var Pc={getCacheForType:function(e){var t=ai(fi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ai(fi).controller.signal}},Tc="function"==typeof WeakMap?WeakMap:Map,_c=0,Oc=null,zc=null,Rc=0,Mc=0,Nc=null,Ic=!1,Ac=!1,Fc=!1,Lc=0,jc=0,$c=0,Dc=0,Bc=0,Wc=0,Hc=0,Vc=null,Uc=null,qc=!1,Kc=0,Yc=0,Qc=1/0,Gc=null,Xc=null,Zc=0,Jc=null,ed=null,td=0,nd=0,rd=null,od=null,id=null,ad=null,ld=null,sd=0,ud=null;function cd(){return 2&_c&&0!==Rc?Rc&-Rc:null!==X.T?cf():nt()}function dd(){if(0===Wc)if(536870912&Rc&&!$o)Wc=536870912;else{var e=Be;!(3932160&(Be<<=1))&&(Be=262144),Wc=e}return null!==(e=sa.current)&&(e.flags|=32),Wc}function fd(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=ap(Gr(e.memoizedProps,n))),null===ad&&(ad=[]),ad.push(t.bind(null,r))}}function pd(e,t,n){(e!==Oc||2!==Mc&&9!==Mc)&&null===e.cancelPendingCommit||(xd(e,0),yd(e,Rc,Wc,!1)),Ge(e,n),2&_c&&e===Oc||(e===Oc&&(!(2&_c)&&(Dc|=n),4===jc&&yd(e,Rc,Wc,!1)),nf(e))}function hd(e,t,n){if(6&_c)throw Error(i(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||Ue(e,t),o=r?function(e,t){var n=_c;_c|=2;var r=Sd(),o=Cd();Oc!==e||Rc!==t?(Gc=null,Qc=Ee()+500,xd(e,t)):Ac=Ue(e,t);e:for(;;)try{if(0!==Mc&&null!==zc){t=zc;var a=Nc;t:switch(Mc){case 1:Mc=0,Nc=null,Rd(e,t,a,1);break;case 2:case 9:if(Ri(a)){Mc=0,Nc=null,zd(t);break}t=function(){2!==Mc&&9!==Mc||Oc!==e||(Mc=7),nf(e)},a.then(t,t);break e;case 3:Mc=7;break e;case 4:Mc=5;break e;case 7:Ri(a)?(Mc=0,Nc=null,zd(t)):(Mc=0,Nc=null,Rd(e,t,a,7));break;case 5:var l=null;switch(zc.tag){case 26:l=zc.memoizedState;case 5:case 27:var s=zc;if(l?oh(l):s.stateNode.complete){Mc=0,Nc=null;var u=s.sibling;if(null!==u)zc=u;else{var c=s.return;null!==c?(zc=c,Md(c)):zc=null}break t}}Mc=0,Nc=null,Rd(e,t,a,5);break;case 6:Mc=0,Nc=null,Rd(e,t,a,6);break;case 8:bd(),jc=6;break e;default:throw Error(i(462))}}_d();break}catch(t){wd(e,t)}return Zo=Xo=null,X.H=r,X.A=o,_c=n,null!==zc?0:(Oc=null,Rc=0,ro(),jc)}(e,t):Pd(e,t,!0),a=r;;){if(0===o){Ac&&!r&&yd(e,t,0,!1);break}if(n=e.current.alternate,!a||gd(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var l=0;else l=0!==(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var s=e;o=Vc;var u=s.current.memoizedState.isDehydrated;if(u&&(xd(s,l).flags|=256),2!==(l=Pd(s,l,!1))&&6!==l){if(Fc&&!u){s.errorRecoveryDisabledLanes|=a,Dc|=a,o=4;break e}a=Uc,Uc=o,null!==a&&(null===Uc?Uc=a:Uc.push.apply(Uc,a))}o=l}if(a=!1,2!==o)continue}}if(1===o){xd(e,0),yd(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t&&(62914560&t)!==t)break;case 6:yd(r,t,Wc,!Ic);break e;case 2:Uc=null;break;case 3:case 5:break;default:throw Error(i(329))}if((62914560&t)===t&&10<(o=Kc+300-Ee())){if(yd(r,t,Wc,!Ic),0!==Ve(r,0,!0))break e;td=t,r.timeoutHandle=Vf(md.bind(null,r,n,Uc,Gc,qc,t,Wc,Dc,Hc,Ic,a,"Throttled",-0,0),o)}else md(r,n,Uc,Gc,qc,t,Wc,Dc,Hc,Ic,a,null,-0,0)}break}o=Pd(e,t,!1),a=!1}nf(e)}function md(e,t,n,r,o,i,a,l,s,u,c,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(335544064&i)===i;if(d=null,(y||8192&g||!(16785408&~g))&&(mu=null,xc(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jt}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=uh.bind(g),y.finished.then(g,g))),g=(62914560&i)===i?Kc-Ee():(4194048&i)===i?Yc-Ee():0,m=g,(h=d).stylesheets&&0===h.count&&fh(h,h.stylesheets),null!==(g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===lh&&(lh=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],i=o.transferSize,a=o.initiatorType,l=o.duration;if(i&&l&&Af(a)){for(a=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&Af(d)&&(a+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(i+a)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>lh?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)))return td=i,e.cancelPendingCommit=g(Id.bind(null,e,t,i,n,r,o,a,l,s,u,c,d,null,f,p)),void yd(e,i,a,!u);Id(e,t,i,n,r,o,a,l,s,u,c,d)}function gd(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!xr(i(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yd(e,t,n,r){t=qe(e,t),t&=~Bc,t&=~Dc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-Le(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&Xe(e,n,t)}function vd(){return!!(6&_c)||(rf(0,!1),!1)}function bd(){if(null!==zc){if(0===Mc)var e=zc.return;else Zo=Xo=null,ja(e=zc),Li=null,ji=0,e=zc;for(;null!==e;)Qs(e.alternate,e),e=e.return;zc=null}}function xd(e,t){var n=e.timeoutHandle;return-1!==n&&(e.timeoutHandle=-1,Uf(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),td=0,bd(),Oc=e,zc=n=ho(e.current,null),Rc=t,Mc=0,Nc=null,Ic=!1,Ac=Ue(e,t),Fc=!1,Hc=Wc=Bc=Dc=$c=jc=0,Uc=Vc=null,qc=!1,Lc=qe(e,t),ro(),n}function wd(e,t){xa=null,X.H=ql,t===Ti||t===Oi?(t=Ai(),Mc=3):t===_i?(t=Ai(),Mc=4):Mc=t===us?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,Nc=t,null===zc&&(jc=1,os(e,ko(t,e.current)))}function kd(){var e=sa.current;return null===e||((4194048&Rc)===Rc?null===ua:!!((62914560&Rc)===Rc||536870912&Rc)&&e===ua)}function Sd(){var e=X.H;return X.H=ql,null===e?ql:e}function Cd(){var e=X.A;return X.A=Pc,e}function Ed(){jc=4,Ic||(4194048&Rc)!==Rc&&null!==sa.current||(Ac=!0),!(134217727&$c)&&!(134217727&Dc)||null===Oc||yd(Oc,Rc,Wc,!1)}function Pd(e,t,n){var r=_c;_c|=2;var o=Sd(),i=Cd();Oc===e&&Rc===t||(Gc=null,xd(e,t)),t=!1;var a=jc;e:for(;;)try{if(0!==Mc&&null!==zc){var l=zc,s=Nc;switch(Mc){case 8:bd(),a=6;break e;case 3:case 2:case 9:case 6:null===sa.current&&(t=!0);var u=Mc;if(Mc=0,Nc=null,Rd(e,l,s,u),n&&Ac){a=0;break e}break;default:u=Mc,Mc=0,Nc=null,Rd(e,l,s,u)}}Td(),a=jc;break}catch(t){wd(e,t)}return t&&e.shellSuspendCounter++,Zo=Xo=null,_c=r,X.H=o,X.A=i,null===zc&&(Oc=null,Rc=0,ro()),a}function Td(){for(;null!==zc;)Od(zc)}function _d(){for(;null!==zc&&!Se();)Od(zc)}function Od(e){var t=Ds(e.alternate,e,Lc);e.memoizedProps=e.pendingProps,null===t?Md(e):zc=t}function zd(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ks(n,t,t.pendingProps,t.type,void 0,Rc);break;case 11:t=ks(n,t,t.pendingProps,t.type.render,t.ref,Rc);break;case 5:ja(t);var r=t;r===Lo&&($o?(Uo(r),5===r.tag&&null!=r.stateNode&&(jo=r.stateNode)):(Uo(r),$o=!0));default:Qs(n,t),t=Ds(n,t=zc=mo(t,Lc),Lc)}e.memoizedProps=e.pendingProps,null===t?Md(e):zc=t}function Rd(e,t,n,r){Zo=Xo=null,ja(t),Li=null,ji=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ri(t,n,o,!0),null!==(n=sa.current)){switch(n.tag){case 31:case 13:case 19:return null===ua?Ed():null===n.alternate&&0===jc&&(jc=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===zi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Ud(e,r,o)),!1;case 22:return n.flags|=65536,r===zi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Ud(e,r,o)),!1}throw Error(i(435,n.tag))}return Ud(e,r,o),Ed(),!1}if($o)return null!==(t=sa.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==Wo&&Qo(ko(e=Error(i(422),{cause:r}),n))):(r!==Wo&&Qo(ko(t=Error(i(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=ko(r,n),Xi(e,o=as(e.stateNode,r,o)),4!==jc&&(jc=2)),!1;var a=Error(i(520),{cause:r});if(a=ko(a,n),null===Vc?Vc=[a]:Vc.push(a),4!==jc&&(jc=2),null===t)return!0;r=ko(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Xi(n,e=as(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Xc&&Xc.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,ss(o=ls(o),e,n,r),Xi(n,o),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n);return!1}(e,o,t,n,Rc))return jc=1,os(e,ko(n,e.current)),void(zc=null)}catch(t){if(null!==o)throw zc=o,t;return jc=1,os(e,ko(n,e.current)),void(zc=null)}32768&t.flags?($o||1===r?e=!0:Ac||536870912&Rc?e=!1:(Ic=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=sa.current)&&13===r.tag&&(r.flags|=16384))),Nd(t,e)):Md(t)}function Md(e){var t=e;do{if(32768&t.flags)return void Nd(t,Ic);e=t.return;var n=Ks(t.alternate,t,Lc);if(null!==n)return void(zc=n);if(null!==(t=t.sibling))return void(zc=t);zc=t=e}while(null!==t);0===jc&&(jc=5)}function Nd(e,t){do{var n=Ys(e.alternate,e);if(null!==n)return n.flags&=32767,void(zc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(zc=e);zc=e=n}while(null!==e);jc=6,zc=null}function Id(e,t,n,r,o,a,l,s,u,c,d,f){e.cancelPendingCommit=null;do{Bd()}while(0!==Zc);if(6&_c)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));e===Oc&&(zc=Oc=null,Rc=0),ed=t,Jc=e,td=n,rd=o,od=r,function(e,t,n,r,o,i,a){var l=t.lanes|t.childLanes;if(nd=l,function(e,t,n,r,o,i){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-Le(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Xe(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,n,l|=no,r,o,i),ad=null,(335544064&n)===n?(ld=function(e){var t=e.transitionTypes;return e.transitionTypes=null,t}(e),r=10262):(ld=null,r=10256),0!==(t.subtreeFlags&r)||0!==(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,function(e,t){we(e,t)}(Oe,function(){return Wd(),null})):(e.callbackNode=null,e.callbackPriority=0),hu=!1,r=!!(13878&t.flags),!!(13878&t.subtreeFlags)||r){r=X.T,X.T=null,o=Z.p,Z.p=2,i=_c,_c|=4;try{!function(e,t,n){if(e=e.containerInfo,Ff=Sh,Tr(e=Pr(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==i&&3!==f.nodeType||(s=l+i),f!==a||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===i&&(s=l),p===a&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Lf={focusedElem:e,selectionRange:r},Sh=!1,ju=t,t=(n=(335544064&n)===n)?9270:1024;null!==ju;){if(e=ju,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&Pu(r[i]);if(null===e.alternate&&2&e.flags)n&&gu(e),Hu(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&Pu(r),Hu(n);continue}if(null!==r&&null!==r.memoizedState){n&&gu(e),Hu(n);continue}}r=e.child,0!==(e.subtreeFlags&t)&&null!==r?(r.return=e,ju=r):(n&&Tu(e),Hu(n))}}mu=null}(e,t,n)}finally{_c=i,Z.p=o,X.T=r}}Zc=1,hu?id=function(e,t,n,r,o,i,a,l,s){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,a=u.fonts.status;r();var l=[];if("loaded"===a&&(function(e){e.documentElement.clientHeight}(u),"loading"===u.fonts.status&&l.push(u.fonts.ready)),a=l.length,null!==e)for(var s=e.suspenseyImages,c=0,d=0;d<s.length;d++){var f=s[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((c+=ih(f))>lh){l.length=a;break}f=new Promise(op.bind(f)),l.push(f)}}}return 0<l.length?(t=Promise.race([Promise.all(l),new Promise(function(e){return setTimeout(e,500)})]).then(o,o),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(o(),n?n.finished.then(i,i):void i())},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,o=r.pseudoElement;if(null!=o&&o.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var i=o=void 0,l=!0,s=0;s<n.length;s++){var c=n[s],f=c.width;if(void 0===o)o=f;else if(o!==f){l=!1;break}if(f=c.height,void 0===i)i=f;else if(i!==f){l=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}l&&void 0!==o&&void 0!==i&&(r.setKeyframes(n),(l=getComputedStyle(r.target,r.pseudoElement)).width!==o||l.height!==i)&&((l=n[0]).width=o,l.height=i,(l=n[n.length-1]).width=o,l.height=i,r.setKeyframes(n))}}a()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{if("object"==typeof e&&null!==e&&"InvalidStateError"===e.name)"View transition was skipped because document visibility state is hidden."!==e.message&&"Skipping view transition because document visibility state has become hidden."!==e.message&&"Skipping view transition because viewport size changed."!==e.message&&"Transition was aborted because of invalid state"!==e.message||(e=null);null!==e&&s(e)}finally{r(),o(),a()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),l()}),c}catch(e){return r(),o(),a(),null}}(a,e.containerInfo,ld,Ld,jd,Fd,$d,Wd,Ad):(Ld(),jd(),$d())}(e,t,n,l,s,u,f)}}function Ad(e){0!==Zc&&(0,Jc.onRecoverableError)(e,{componentStack:null})}function Fd(){3===Zc&&(Zc=0,sc(ed,Jc),Zc=4)}function Ld(){if(1===Zc){Zc=0;var e=Jc,t=ed,n=td,r=!!(13878&t.flags);if(13878&t.subtreeFlags||r){r=X.T,X.T=null;var o=Z.p;Z.p=2;var i=_c;_c|=4;try{Du=Bu=!1,oc(t,e,n),n=Lf;var a=Pr(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(a!==l&&l&&l.ownerDocument&&Er(l.ownerDocument.documentElement,l)){if(null!==s&&Tr(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(a=g,g=m,m=a);var y=Cr(l,m),v=Cr(l,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var x=d[l];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}Sh=!!Ff,Lf=Ff=null}finally{_c=i,Z.p=o,X.T=r}}e.current=t,Zc=2}}function jd(){if(2===Zc){Zc=0;var e=Jc,t=ed,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=X.T,X.T=null;var r=Z.p;Z.p=2;var o=_c;_c|=4;try{Vu(e,t.alternate,t)}finally{_c=o,Z.p=r,X.T=n}}Zc=3}}function $d(){if(4===Zc||3===Zc){Zc=0;var e=id;id=null,Ce();var t=Jc,n=ed,r=td,o=od,i=(335544064&r)===r?10262:10256;if(0!==(n.subtreeFlags&i)||0!==(n.flags&i)?Zc=5:(Zc=0,ed=Jc=null,Dd(t,t.pendingLanes)),0===(i=t.pendingLanes)&&(Xc=null),tt(r),n=n.stateNode,Ae&&"function"==typeof Ae.onCommitFiberRoot)try{Ae.onCommitFiberRoot(Ie,n,void 0,!(128&~n.current.flags))}catch(e){}if(null!==o){n=X.T,i=Z.p,Z.p=2,X.T=null;try{for(var a=t.onRecoverableError,l=0;l<o.length;l++){var s=o[l];a(s.value,{componentStack:s.stack})}}finally{X.T=n,Z.p=i}}if(a=ld,ld=null,null!==(o=ad)&&(ad=null,null===a&&(a=[]),null!==e))for(s=0;s<o.length;s++)void 0!==(n=(0,o[s])(a))&&e.finished.finally(n);3&td&&Bd(),nf(t),i=t.pendingLanes,261930&r&&42&i?t===ud?sd++:(sd=0,ud=t):(sd=0,ud=null),rf(0,!1)}}function Dd(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,hi(t)))}function Bd(){return null!==id&&(id.skipTransition(),id=null),Ld(),jd(),$d(),Wd()}function Wd(){if(5!==Zc)return!1;var e=Jc,t=nd;nd=0;var n=tt(td),r=X.T,o=Z.p;try{Z.p=32>n?32:n,X.T=null,n=rd,rd=null;var a=Jc,l=td;if(Zc=0,ed=Jc=null,td=0,6&_c)throw Error(i(331));var s=_c;if(_c|=4,Sc(a.current),mc(a,a.current,l,n),_c=s,rf(0,!1),Ae&&"function"==typeof Ae.onPostCommitFiberRoot)try{Ae.onPostCommitFiberRoot(Ie,a)}catch(e){}return!0}finally{Z.p=o,X.T=r,Dd(e,t)}}function Hd(e,t,n){t=ko(n,t),null!==(e=Qi(e,t=as(e.stateNode,t,2),2))&&(Ge(e,2),nf(e))}function Vd(e,t,n){if(3===e.tag)Hd(e,e,n);else for(;null!==t;){if(3===t.tag){Hd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Xc||!Xc.has(r))){e=ko(n,e),null!==(r=Qi(t,n=ls(2),2))&&(ss(n,r,t,e),Ge(r,2),nf(r));break}}t=t.return}}function Ud(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Tc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(Fc=!0,o.add(n),e=qd.bind(null,e,t,n),t.then(e,e))}function qd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Oc===e&&(Rc&n)===n&&(4===jc||3===jc&&(62914560&Rc)===Rc&&300>Ee()-Kc?2&_c?Bc|=n:xd(e,0):Bc|=n,Hc===Rc&&(Hc=0)),nf(e)}function Kd(e,t){0===t&&(t=Ye()),null!==(e=ao(e,t))&&(Ge(e,t),nf(e))}function Yd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Kd(e,n)}function Qd(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),Kd(e,n)}var Gd=null,Xd=null,Zd=!1,Jd=!1,ef=!1,tf=0;function nf(e){e!==Xd&&null===e.next&&(null===Xd?Gd=Xd=e:Xd=Xd.next=e),Jd=!0,Zd||(Zd=!0,Yf(function(){6&_c?we(Te,of):af()}))}function rf(e,t){if(!ef&&Jd){ef=!0;do{for(var n=!1,r=Gd;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,l=r.pingedLanes;i=(1<<31-Le(42|e)+1)-1,i=201326741&(i&=o&~(a&~l))?201326741&i|1:i?2|i:0}0!==i&&(n=!0,uf(r,i))}else i=Rc,!(3&(i=Ve(r,r===Oc?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Ue(r,i)||(n=!0,uf(r,i));r=r.next}}while(n);ef=!1}}function of(){af()}function af(){Jd=Zd=!1;var e=0;0!==tf&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==Hf&&(Hf=e,!0);return Hf=null,!1}()&&(e=tf);for(var t=Ee(),n=null,r=Gd;null!==r;){var o=r.next,i=lf(r,t);0===i?(r.next=null,null===n?Gd=o:n.next=o,null===o&&(Xd=n)):(n=r,(0!==e||3&i)&&(Jd=!0)),r=o}0!==Zc&&5!==Zc||rf(e,!1),0!==tf&&(tf=0)}function lf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-Le(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=Ke(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}if(n=Rc,n=Ve(e,e===(t=Oc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===Mc||9===Mc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ke(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Ue(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ke(r),tt(n)){case 2:case 8:n=_e;break;case 32:default:n=Oe;break;case 268435456:n=Re}return r=sf.bind(null,e),n=we(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ke(r),e.callbackPriority=2,e.callbackNode=null,2}function sf(e,t){if(0!==Zc&&5!==Zc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Bd()&&e.callbackNode!==n)return null;var r=Rc;return 0===(r=Ve(e,e===Oc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(hd(e,r,t),lf(e,Ee()),null!=e.callbackNode&&e.callbackNode===n?sf.bind(null,e):null)}function uf(e,t){if(Bd())return null;hd(e,t,!0)}function cf(){if(0===tf){var e=bi;0===e&&(e=De,!(261888&(De<<=1))&&(De=256)),tf=e}return tf}function df(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Zt(e)}for(var ff=0;ff<Kr.length;ff++){var pf=Kr[ff];Yr(pf.toLowerCase(),"on"+(pf[0].toUpperCase()+pf.slice(1)))}Yr($r,"onAnimationEnd"),Yr(Dr,"onAnimationIteration"),Yr(Br,"onAnimationStart"),Yr("dblclick","onDoubleClick"),Yr("focusin","onFocus"),Yr("focusout","onBlur"),Yr(Wr,"onTransitionRun"),Yr(Hr,"onTransitionStart"),Yr(Vr,"onTransitionCancel"),Yr(Ur,"onTransitionEnd"),Ct("onMouseEnter",["mouseout","mouseover"]),Ct("onMouseLeave",["mouseout","mouseover"]),Ct("onPointerEnter",["pointerout","pointerover"]),Ct("onPointerLeave",["pointerout","pointerover"]),St("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),St("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),St("onBeforeInput",["compositionend","keypress","textInput","paste"]),St("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),St("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),St("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hf));function gf(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;i=l,o.currentTarget=u;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;i=l,o.currentTarget=u;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=s}}}}function yf(e,t){var n=t[st];void 0===n&&(n=t[st]=new Set);var r=e+"__bubble";n.has(r)||(wf(t,e,2,!1),n.add(r))}function vf(e,t,n){var r=0;t&&(r|=4),wf(n,e,r,t)}var bf="_reactListening"+Math.random().toString(36).slice(2);function xf(e){if(!e[bf]){e[bf]=!0,wt.forEach(function(t){"selectionchange"!==t&&(mf.has(t)||vf(t,!1,e),vf(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[bf]||(t[bf]=!0,vf("selectionchange",!1,t))}}function wf(e,t,n,r){switch(zh(t)){case 2:var o=Ch;break;case 8:o=Eh;break;default:o=Ph}n=o.bind(null,t,n,e),o=void 0,!cn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function kf(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&a.stateNode.containerInfo===o)return;a=a.return}for(;null!==s;){if(null===(a=mt(s)))return;if(5===(u=a.tag)||6===u||26===u||27===u){r=i=a;continue e}s=s.parentNode}}r=r.return}ln(function(){var r=i,o=tn(n),a=[];e:{var s=qr.get(e);if(void 0!==s){var u=Cn,c=e;switch(e){case"keypress":if(0===gn(n))break e;case"keydown":case"keyup":u=$n;break;case"focusin":c="focus",u=zn;break;case"focusout":c="blur",u=zn;break;case"beforeblur":case"afterblur":u=zn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=_n;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=On;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Wn;break;case $r:case Dr:case Br:u=Rn;break;case Ur:u=Hn;break;case"scroll":case"scrollend":u=Pn;break;case"wheel":u=Vn;break;case"copy":case"cut":case"paste":u=Mn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Dn;break;case"submit":u=Bn;break;case"toggle":case"beforetoggle":u=Un}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=sn(m,p))&&d.push(Sf(m,g,h)),f)break;m=m.return}0<d.length&&(s=new u(s,c,null,n,o),a.push({event:s,listeners:d}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(u="mouseover"===e||"pointerover"===e)&&n!==en&&(c=n.relatedTarget||n.fromElement)&&(mt(c)||c[lt])||(s||u)&&(c=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?mt(u):null)&&(f=l(u),d=u.tag,u!==f||5!==d&&27!==d&&6!==d)&&(u=null)):(s=null,u=r),s!==u&&(d=_n,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=Dn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==s?c:yt(s),h=null==u?c:yt(u),(c=new d(g,m+"leave",s,n,o)).target=f,c.relatedTarget=h,g=null,mt(o)===r&&((d=new d(p,m+"enter",u,n,o)).target=h,d.relatedTarget=f,g=d),f=g,d=s&&u?P(s,u,Ef):null,null!==s&&Pf(a,c,s,d,!1),null!==u&&null!==f&&Pf(a,f,u,d,!0))),"select"===(u=(s=r?yt(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var y=ur;else if(rr(s))if(cr)y=br;else{y=yr;var v=gr}else!(u=s.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Qt(r.elementType)&&(y=ur):y=vr;switch(y&&(y=y(e,r))?or(a,y,n,o):v&&v(e,s,r),v=r?yt(r):window,e){case"focusin":(rr(v)||"true"===v.contentEditable)&&(Or=v,zr=r,Rr=null);break;case"focusout":Rr=zr=Or=null;break;case"mousedown":Mr=!0;break;case"contextmenu":case"mouseup":case"dragend":Mr=!1,Nr(a,n,o);break;case"selectionchange":if(_r)break;case"keydown":case"keyup":Nr(a,n,o)}var b;if(Kn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else tr?Jn(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(Gn&&"ko"!==n.locale&&(tr||"onCompositionStart"!==x?"onCompositionEnd"===x&&tr&&(b=mn()):(pn="value"in(fn=o)?fn.value:fn.textContent,tr=!0)),0<(v=Cf(r,x)).length&&(x=new Nn(x,e,null,n,o),a.push({event:x,listeners:v}),b?x.data=b:null!==(b=er(n))&&(x.data=b))),(b=Qn?function(e,t){switch(e){case"compositionend":return er(t);case"keypress":return 32!==t.which?null:(Zn=!0,Xn);case"textInput":return(e=t.data)===Xn&&Zn?null:e;default:return null}}(e,n):function(e,t){if(tr)return"compositionend"===e||!Kn&&Jn(e,t)?(e=mn(),hn=pn=fn=null,tr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(x=Cf(r,"onBeforeInput")).length&&(v=new Nn("onBeforeInput","beforeinput",null,n,o),a.push({event:v,listeners:x}),v.data=b)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=df((o[at]||null).action),a=r.submitter;a&&null!==(t=(t=a[at]||null)?df(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var l=new Cn("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==tf){var e=new FormData(o,a);Ml(n,{pending:!0,data:e,method:o.method,action:i},null,e)}}else"function"==typeof i&&(l.preventDefault(),e=new FormData(o,a),Ml(n,{pending:!0,data:e,method:o.method,action:i},i,e))},currentTarget:o}]})}}(a,e,r,n,o)}gf(a,t)})}function Sf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cf(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=sn(e,n))&&r.unshift(Sf(e,o,i)),null!=(o=sn(e,t))&&r.push(Sf(e,o,i))),3===e.tag)return r;e=e.return}return[]}function Ef(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Pf(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,o?null!=(u=sn(n,i))&&a.unshift(Sf(n,u,s)):o||null!=(u=sn(n,i))&&a.push(Sf(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Tf=/\r\n?/g,_f=/\u0000|\uFFFD/g;function Of(e){return("string"==typeof e?e:""+e).replace(Tf,"\n").replace(_f,"")}function zf(e,t){return t=Of(t),Of(e)===t}function Rf(e,t,n,r,o,a){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||Ut(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&Ut(e,""+r)}break;case"className":Rt(e,"class",r);break;case"tabIndex":Rt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Rt(e,n,r);break;case"style":return void Yt(e,r,a);case"data":if("object"!==t){Rt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&Rf(e,t,"name",o.name,o,null),Rf(e,t,"formEncType",o.formEncType,o,null),Rf(e,t,"formMethod",o.formMethod,o,null),Rf(e,t,"formTarget",o.formTarget,o,null)):(Rf(e,t,"encType",o.encType,o,null),Rf(e,t,"method",o.method,o,null),Rf(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"onClick":return void(null!=r&&(e.onclick=Jt));case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Zt(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":yf("beforetoggle",e),yf("toggle",e),zt(e,"popover",r);break;case"xlinkActuate":Mt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Mt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Mt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Mt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Mt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Mt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Mt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Mt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Mt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":zt(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;zt(e,n=Gt.get(n)||n,r)}_t=!0}function Mf(e,t,n,r,o,a){switch(n){case"style":return void Yt(e,r,a);case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if("string"==typeof r)Ut(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;Ut(e,""+r)}break;case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"onClick":return void(null!=r&&(e.onclick=Jt));case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:return void(kt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),a=n.slice(2,o?n.length-7:void 0),"function"==typeof(t=null!=(t=e[at]||null)?t[n]:null)&&e.removeEventListener(a,t,o),"function"!=typeof r)?(_t=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):zt(e,n,r)):("function"!=typeof t&&null!==t&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,o))))}_t=!0}function Nf(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yf("error",e),yf("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var l=n[r];if(null!=l)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Rf(e,t,r,l,n,null)}}return a&&Rf(e,t,"srcSet",n.srcSet,n,null),void(o&&Rf(e,t,"src",n.src,n,null));case"input":yf("invalid",e);var s=r=l=a=null,u=null,c=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":l=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:Rf(e,t,o,d,n,null)}}return void Dt(e,r,s,u,c,l,a,!1);case"select":for(a in yf("invalid",e),o=l=r=null,n)if(n.hasOwnProperty(a)&&null!=(s=n[a]))switch(a){case"value":r=s;break;case"defaultValue":l=s;break;case"multiple":o=s;default:Rf(e,t,a,s,n,null)}return t=r,n=l,e.multiple=!!o,void(null!=t?Wt(e,!!o,t,!1):null!=n&&Wt(e,!!o,n,!0));case"textarea":for(l in yf("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(l)&&null!=(s=n[l]))switch(l){case"value":o=s;break;case"defaultValue":a=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(i(91));break;default:Rf(e,t,l,s,n,null)}return void Vt(e,o,a,r);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))if("selected"===u)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else Rf(e,t,u,o,n,null);return;case"dialog":yf("beforetoggle",e),yf("toggle",e),yf("cancel",e),yf("close",e);break;case"iframe":case"object":yf("load",e);break;case"video":case"audio":for(o=0;o<hf.length;o++)yf(hf[o],e);break;case"image":yf("error",e),yf("load",e);break;case"details":yf("toggle",e);break;case"embed":case"source":case"link":yf("error",e),yf("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Rf(e,t,c,o,n,null)}return;default:if(Qt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&Mf(e,t,d,o,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(null!=(o=n[s])&&Rf(e,t,s,o,n,null))}var If={};function Af(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var Ff=null,Lf=null;function jf(e){return 9===e.nodeType?e:e.ownerDocument}function $f(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Df(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Bf(e,t,n,r){return(n=jf(n).createElement(e))[it]=r,n[at]=t,Nf(n,e,t),bt(n),n}function Wf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Hf=null;var Vf="function"==typeof setTimeout?setTimeout:void 0,Uf="function"==typeof clearTimeout?clearTimeout:void 0,qf="function"==typeof Promise?Promise:void 0,Kf="function"==typeof requestAnimationFrame?requestAnimationFrame:Vf,Yf="function"==typeof queueMicrotask?queueMicrotask:void 0!==qf?function(e){return qf.resolve(null).then(e).catch(Qf)}:Vf;function Qf(e){setTimeout(function(){throw e})}function Gf(e){return"head"===e}function Xf(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Yh(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Lp(e.ownerDocument.documentElement);else if("head"===n){Lp(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var a=i.nextSibling,l=i.nodeName;i[ft]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=a}}else"body"===n&&Lp(e.ownerDocument.body);n=o}while(n);Yh(t)}function Zf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Jf(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var o=r=0;o<t.length;o++){var i=t[o];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function ep(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function tp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function np(e){return tp(e.getBoundingClientRect(),getComputedStyle(e),e)}function rp(e){var t=e.getBoundingClientRect();return tp(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function op(e){this.addEventListener("load",e),this.addEventListener("error",e)}function ip(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function ap(e){return{name:e,group:new ip("group",e),imagePair:new ip("image-pair",e),old:new ip("old",e),new:new ip("new",e)}}function lp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function sp(e,t,n,r){return x(e).addEventListener(t,n,r),!1}function up(e,t,n,r){return x(e).removeEventListener(t,n,r),!1}function cp(e){return null!=e&&"boolean"!=typeof e&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function dp(e){return null==e?"c=0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function fp(e,t,n,r){if(0===e.length)return-1;r=dp(r);for(var o=0;o<e.length;o++){var i=e[o];if(i.type===t&&i.listener===n&&dp(i.optionsOrUseCapture)===r)return o}return-1}function pp(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=x(e),t)}function hp(e,t){return t.push(e),!1}function mp(e,t){return 6!==e.tag&&(!((e=x(e))!==t&&!e.contains(t))&&(t.blur(),!0))}function gp(e,t){return 6===e.tag||(e=x(e),t.observe(e)),!1}function yp(e,t){return 6===e.tag||(e=x(e),t.unobserve(e)),!1}ip.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},ip.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],o=0;o<n.length;o++){var i=n[o].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[o])}return r},ip.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},lp.prototype.addEventListener=function(e,t,n){var r=null,o=null;if(null==n||"boolean"==typeof n||(null===(r=n.signal||null)||!r.aborted)){null===this._eventListeners&&(this._eventListeners=[]);var i=this._eventListeners;if(-1===fp(i,e,t,n)){var a=this,l=t;null!=n&&"boolean"!=typeof n&&!0===n.once&&(l=function(r){a.removeEventListener(e,t,n),"function"==typeof t?t.call(this,r):t.handleEvent(r)}),null!==r&&(o=a.removeEventListener.bind(a,e,t,n),r.addEventListener("abort",o,{once:!0}),o=r.removeEventListener.bind(r,"abort",o)),r=cp(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:l,cleanup:o}),h(this._fragmentFiber.child,!1,sp,e,l,r)}this._eventListeners=i}},lp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(null!==r&&-1!==(t=fp(r,e,t,n))){var o=r[t];n=o.attachedListener;var i=o.cleanup;o=cp(o.optionsOrUseCapture),h(this._fragmentFiber.child,!1,up,e,n,o),r.splice(t,1),null!==i&&i()}},lp.prototype.dispatchEvent=function(e){var t=m(this._fragmentFiber);if(null===t)return!0;t=x(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=9===t.nodeType?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];r.addEventListener(i.type,i.attachedListener,cp(i.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],r.removeEventListener(i.type,i.attachedListener,cp(i.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},lp.prototype.focus=function(e){h(this._fragmentFiber.child,!0,pp,e,void 0,void 0)},lp.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!pp(t[n],e);n--);},lp.prototype.blur=function(){var e=m(this._fragmentFiber);null!==e&&(null!==(e=jf(e=x(e)).activeElement)&&h(this._fragmentFiber.child,!1,mp,e,void 0,void 0))},lp.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,gp,e,void 0,void 0)},lp.prototype.unobserveUsing=function(e){var t=this._observers;if(null!==t&&t.has(e)){t.delete(e),h(this._fragmentFiber.child,!1,yp,e,void 0,void 0);for(var n=t=0;n<vp.length;n++){var r=vp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):vp[t++]=r}vp.length=t}};var vp=[],bp=!1;function xp(e,t,n){var r;vp.push({fragmentInstance:e,observer:t,instance:n}),bp||(bp=!0,r=function(){bp=!1;var e=vp;vp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}},Kf(function(){Kf(function(e){return r(e)})}))}function wp(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=x(e),t.push.apply(t,e.getClientRects());return!1}function kp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function Sp(e,t){return Cp(e=x(e),t),!1}function Cp(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Ep(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.addEventListener(o.type,o.attachedListener,cp(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){for(var r=0,o=0;o<vp.length;o++){var i=vp[o];i.fragmentInstance===t&&i.observer===n&&i.instance===e||(vp[r++]=i)}vp.length=r,n.observe(e)}),Cp(e,t))}function Pp(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.removeEventListener(o.type,o.attachedListener,cp(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){"string"==typeof n.rootMargin?xp(t,n,e):n.unobserve(e)}),null!=e.reactFragments&&e.reactFragments.delete(t))}function Tp(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Tp(n),ht(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function _p(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Rp(e.nextSibling)))return null}return e}function Op(e){return"$?"===e.data||"$~"===e.data}function zp(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Rp(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}lp.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,wp,e,void 0,void 0),e},lp.prototype.getRootNode=function(e){var t=m(this._fragmentFiber);return null===t?this:x(t).getRootNode(e)},lp.prototype.compareDocumentPosition=function(e){var t=m(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,hp,n,void 0,void 0);var r=x(t);if(0===n.length){if(n=r,y(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;null!==t;){if(4===t.tag){t=t.stateNode.containerInfo;break e}if(3===t.tag||5===t.tag||27===t.tag)break;t=t.return}t=null}null!=t&&(n=t)}t=this._fragmentFiber;var o=r=n.compareDocumentPosition(e);return n===e?o=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(null===(n=v(t)[1])?o=Node.DOCUMENT_POSITION_PRECEDING:o=0===(e=x(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),o|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=x(n[0]),o=x(n[n.length-1]);var i=y(this._fragmentFiber)?t.parentElement:r;if(null==i)return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var a=t.compareDocumentPosition(e),l=o.compareDocumentPosition(e),s=a&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=r&&i&&a&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&o===e||s||l?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:a)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,o){var i=mt(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return o===(i=o.ownerDocument)||o===i.documentElement||o===i.body;e:{for(i=t,t=m(t);null!==i;){if(!(5!==i.tag&&3!==i.tag&&27!==i.tag||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=P(n,i,E))?t=!1:(h(t,!0,S,i,n),i=w,w=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=P(r,i,E))?t=!1:(h(t,!0,C,i,r),i=w,k=w=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},lp.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(i(566));var t=[];h(this._fragmentFiber.child,!1,hp,t,void 0,void 0);var n=!1!==e;if(0===t.length){var r=v(this._fragmentFiber);if(null===(r=n?r[1]||r[0]||m(this._fragmentFiber):r[0]||r[1]))return;if(6===r.tag)return void kp(e=x(r),n);if(9!==(r=x(r)).nodeType){if(11===r.nodeType)return void(null!==(n="host"in r?r.host:null)&&n.scrollIntoView(e));r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var o=t[r];6===o.tag?kp(o=x(o),n):x(o).scrollIntoView(e),r+=n?-1:1}};var Mp=null;function Np(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Rp(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Ip(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Ap(e,t,n){switch(t=jf(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function Fp(e,t,n){for(var r in n){var o=n[r];n.hasOwnProperty(r)&&null!=o&&Rf(e,t,r,null,If,o)}null!=n.dangerouslySetInnerHTML&&(e.textContent=""),e.onclick===Jt&&(e.onclick=null),ht(e)}function Lp(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ht(e)}var jp=new Map,$p=new Set;function Dp(e){if("function"==typeof e.getRootNode){var t=e.getRootNode();if(9===t.nodeType||11===t.nodeType)return t}return 9===e.nodeType?e:e.ownerDocument}var Bp=Z.d;Z.d={f:function(){var e=Bp.f(),t=vd();return e||t},r:function(e){var t=gt(e);null!==t&&5===t.tag&&"form"===t.type?Il(t):Bp.r(e)},D:function(e){Bp.D(e),Hp("dns-prefetch",e,null)},C:function(e,t){Bp.C(e,t),Hp("preconnect",e,t)},L:function(e,t,n){Bp.L(e,t,n);var r=Wp;if(r&&e&&t){var o='link[rel="preload"][as="'+jt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+jt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+jt(n.imageSizes)+'"]')):o+='[href="'+jt(e)+'"]';var i=o;switch(t){case"style":i=Up(e);break;case"script":i=Yp(e)}if(!(jp.has(i)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),jp.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(qp(i))||"script"===t&&r.querySelector(Qp(i))))){var a=r.createElement("link");Nf(a,"link",e),"style"===t&&(a[pt]=!0,a.onload=a.onerror=function(){xt(a)}),bt(a),r.head.appendChild(a)}}},m:function(e,t){Bp.m(e,t);var n=Wp;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+jt(r)+'"][href="'+jt(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Yp(e)}if(!jp.has(i)&&(e=T({rel:"modulepreload",href:e},t),jp.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Qp(i)))return}Nf(r=n.createElement("link"),"link",e),bt(r),n.head.appendChild(r)}}},X:function(e,t){Bp.X(e,t);var n=Wp;if(n&&e){var r=vt(n).hoistableScripts,o=Yp(e),i=r.get(o);i||((i=n.querySelector(Qp(o)))||(e=T({src:e,async:!0},t),(t=jp.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Nf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:function(e,t,n){Bp.S(e,t,n);var r=Wp;if(r&&e){var o=vt(r).hoistableStyles,i=Up(e);t=t||"default";var a=o.get(i);if(!a){var l={loading:0,preload:null};if(a=r.querySelector(qp(i)))l.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=jp.get(i))&&Zp(e,n);var s=a=r.createElement("link");bt(s),Nf(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Xp(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:l},o.set(i,a)}}},M:function(e,t){Bp.M(e,t);var n=Wp;if(n&&e){var r=vt(n).hoistableScripts,o=Yp(e),i=r.get(o);i||((i=n.querySelector(Qp(o)))||(e=T({src:e,async:!0,type:"module"},t),(t=jp.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Nf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var Wp="undefined"==typeof document?null:document;function Hp(e,t,n){var r=Wp;if(r&&"string"==typeof t&&t){var o=jt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),$p.has(o)||($p.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Nf(t=r.createElement("link"),"link",e),bt(t),r.head.appendChild(t)))}}function Vp(e,t,n,r){var o=(o=ue.current)?Dp(o):null;if(!o)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=Up(n.href),(r=(t=vt(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Up(n.href);var a=vt(o).hoistableStyles,l=a.get(e);if(l||(o=o.ownerDocument||o,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,l),(a=o.querySelector(qp(e)))?a._p||(l.instance=a,l.state.loading=5):((a=jp.get(e))||(a={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},jp.set(e,a)),function(e,t,n,r){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(!0!==t[pt])return void(r.loading=1)}else(t=e.createElement("link"))[pt]=!0,t.onload=t.onerror=xt.bind(null,t),Nf(t,"link",n),bt(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}(o,e,a,l.state))),t&&null===r)throw Error(i(528,""));return l}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=Yp(n),(r=(t=vt(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Up(e){return'href="'+jt(e)+'"'}function qp(e){return'link[rel="stylesheet"]['+e+"]"}function Kp(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function Yp(e){return'[src="'+jt(e)+'"]'}function Qp(e){return"script[async]"+e}function Gp(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+jt(n.href)+'"]');if(r)return t.instance=r,bt(r),r;var o=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return bt(r=(e.ownerDocument||e).createElement("style")),Nf(r,"style",o),Xp(r,n.precedence,e),t.instance=r;case"stylesheet":o=Up(n.href);var a=e.querySelector(qp(o));if(a)return t.state.loading|=4,t.instance=a,bt(a),a;r=Kp(n),(o=jp.get(o))&&Zp(r,o),bt(a=(e.ownerDocument||e).createElement("link"));var l=a;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),Nf(a,"link",r),t.state.loading|=4,Xp(a,n.precedence,e),t.instance=a;case"script":return a=Yp(n.src),(o=e.querySelector(Qp(a)))?(t.instance=o,bt(o),o):(r=n,(o=jp.get(a))&&Jp(r=T({},n),o),bt(o=(e=e.ownerDocument||e).createElement("script")),Nf(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Xp(r,n.precedence,e));return t.instance}function Xp(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var l=r[a];if(l.dataset.precedence===t)i=l;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Zp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Jp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var eh=null;function th(e,t,n){if(null===eh){var r=new Map,o=eh=new Map;o.set(n,r)}else(r=(o=eh).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[ft]||i[it]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var a=i.getAttribute(t)||"";a=e+a;var l=r.get(a);l?l.push(i):r.set(a,[i])}}return r}function nh(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function rh(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function oh(e){return!!("stylesheet"!==e.type||3&e.state.loading)}function ih(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function ah(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=ih(t),e.suspenseyImages.push(t)),e=ch.bind(e),t.decode().then(e,e))}var lh=0;function sh(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages))if(e.stylesheets)fh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}function uh(){this.count--,sh(this)}function ch(){this.imgCount--,sh(this)}var dh=null;function fh(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dh=new Map,t.forEach(ph,e),dh=null,uh.call(e))}function ph(e,t){if(!(4&t.state.loading)){var n=dh.get(e);if(n)var r=n.get(null);else{n=new Map,dh.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(null,o),n.set(a,o),this.count++,r=uh.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var hh={$$typeof:A,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function mh(e,t,n,r,o,i,a,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qe(0),this.hiddenUpdates=Qe(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function gh(e,t,n,r,o,i,a,l,s,u,c,d){return e=new mh(e,t,n,a,s,u,c,d,l),t=1,!0===i&&(t|=24),i=fo(3,null,null,t),e.current=i,i.stateNode=e,(t=pi()).refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},qi(i),e}function yh(e){return e?e=uo:uo}function vh(e,t,n,r,o,i){o=yh(o),null===r.context?r.context=o:r.pendingContext=o,(r=Yi(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=Qi(e,r,t))&&(pd(n,0,t),Gi(n,e,t))}function bh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function xh(e,t){bh(e,t),(e=e.alternate)&&bh(e,t)}function wh(e){if(13===e.tag||31===e.tag){var t=ao(e,67108864);null!==t&&pd(t,0,67108864),xh(e,67108864)}}function kh(e){if(13===e.tag||31===e.tag){var t=cd(),n=ao(e,t=et(t));null!==n&&pd(n,0,t),xh(e,t)}}var Sh=!0;function Ch(e,t,n,r){var o=X.T;X.T=null;var i=Z.p;try{Z.p=2,Ph(e,t,n,r)}finally{Z.p=i,X.T=o}}function Eh(e,t,n,r){var o=X.T;X.T=null;var i=Z.p;try{Z.p=8,Ph(e,t,n,r)}finally{Z.p=i,X.T=o}}function Ph(e,t,n,r){if(Sh){var o=Th(r);if(null===o)kf(e,t,r,_h,n),$h(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Mh=Dh(Mh,e,t,n,r,o),!0;case"dragenter":return Nh=Dh(Nh,e,t,n,r,o),!0;case"mouseover":return Ih=Dh(Ih,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ah.set(i,Dh(Ah.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Fh.set(i,Dh(Fh.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if($h(e,r),4&t&&-1<jh.indexOf(e)){for(;null!==o;){var i=gt(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=He(i.pendingLanes);if(0!==a){var l=i;for(l.pendingLanes|=2,l.entangledLanes|=2;a;){var s=1<<31-Le(a);l.entanglements[1]|=s,a&=~s}nf(i),!(6&_c)&&(Qc=Ee()+500,rf(0,!1))}}break;case 31:case 13:null!==(l=ao(i,2))&&pd(l,0,2),vd(),xh(i,2)}if(null===(i=Th(r))&&kf(e,t,r,_h,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else kf(e,t,r,null,n)}}function Th(e){return Oh(e=tn(e))}var _h=null;function Oh(e){if(_h=null,null!==(e=mt(e))){var t=l(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=s(t)))return e;e=null}else if(31===n){if(null!==(e=c(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return _h=e,null}function zh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pe()){case Te:return 2;case _e:return 8;case Oe:case ze:return 32;case Re:return 268435456;default:return 32}default:return 32}}var Rh=!1,Mh=null,Nh=null,Ih=null,Ah=new Map,Fh=new Map,Lh=[],jh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function $h(e,t){switch(e){case"focusin":case"focusout":Mh=null;break;case"dragenter":case"dragleave":Nh=null;break;case"mouseover":case"mouseout":Ih=null;break;case"pointerover":case"pointerout":Ah.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fh.delete(t.pointerId)}}function Dh(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=gt(t))&&wh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Bh(e){var t=mt(e.target);if(null!==t){var n=l(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=s(n)))return e.blockedOn=t,void rt(e.priority,function(){kh(n)})}else if(31===t){if(null!==(t=c(n)))return e.blockedOn=t,void rt(e.priority,function(){kh(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Wh(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Th(e.nativeEvent);if(null!==n)return null!==(t=gt(n))&&wh(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);en=r,n.target.dispatchEvent(r),en=null,t.shift()}return!0}function Hh(e,t,n){Wh(e)&&n.delete(t)}function Vh(){Rh=!1,null!==Mh&&Wh(Mh)&&(Mh=null),null!==Nh&&Wh(Nh)&&(Nh=null),null!==Ih&&Wh(Ih)&&(Ih=null),Ah.forEach(Hh),Fh.forEach(Hh)}function Uh(e,t){e.blockedOn===t&&(e.blockedOn=null,Rh||(Rh=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Vh)))}var qh=null;function Kh(e){qh!==e&&(qh=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){qh===e&&(qh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Oh(r||n))continue;break}var i=gt(n);null!==i&&(e.splice(t,3),t-=3,Ml(i,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Yh(e){function t(t){return Uh(t,e)}null!==Mh&&Uh(Mh,e),null!==Nh&&Uh(Nh,e),null!==Ih&&Uh(Ih,e),Ah.forEach(t),Fh.forEach(t);for(var n=0;n<Lh.length;n++){var r=Lh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Lh.length&&null===(n=Lh[0]).blockedOn;)Bh(n),null===n.blockedOn&&Lh.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[at]||null;if("function"==typeof i)a||Kh(n);else if(a){var l=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[at]||null)l=a.formAction;else if(null!==Oh(o))continue}else l=a.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),Kh(n)}}}function Qh(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function Gh(e){this._internalRoot=e}function Xh(e){this._internalRoot=e}Xh.prototype.render=Gh.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));vh(t.current,cd(),e,t,null,null)},Xh.prototype.unmount=Gh.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;vh(e.current,2,null,e,null,null),vd(),t[lt]=null}},Xh.prototype.unstable_scheduleHydration=function(e){if(e){var t=nt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lh.length&&0!==t&&t<Lh[n].priority;n++);Lh.splice(n,0,e),0===n&&Bh(e)}};var Zh=r.version;if("19.3.1"!==Zh)throw Error(i(527,Zh,"19.3.1"));Z.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=l(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?f(e):null)?null:e.stateNode};var Jh={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.3.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var em=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!em.isDisabled&&em.supportsFiber)try{Ie=em.inject(Jh),Ae=em}catch(e){}}t.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r="",o=ts,l=ns,s=rs;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),t=gh(e,1,!1,null,0,n,r,null,o,l,s,Qh),e[lt]=t.current,xf(e),new Gh(t)}}),l=n.cw((e,t)=>{var n=p();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},a=Symbol.for("react.portal"),l=Symbol.for("react.recoverable"),s=Symbol.for("react.optimistic_key");var u=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.browser=function(e){return{$$typeof:l,_reason:e}},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(r(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==r?null:r===s?s:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=u.T,n=i.p;try{if(u.T=null,i.p=2,e)return e()}finally{u.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},t.useFormStatus=function(){return u.H.useHostTransitionStatus()},t.version="19.3.1"}),s=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=a()}),u=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=l()}),c=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:case h:return e;default:switch(e=e&&e.$$typeof){case s:case u:case p:case f:case l:return e;default:return t}}case r:return t}}}t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||void 0!==e.getModuleId)}}),d=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o}),f=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),m=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var k=w.prototype=new x;k.constructor=w,y(k,b.prototype),k.isPureReactComponent=!0;var S=Array.isArray;function C(){}var E={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function T(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function R(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,u,c=!1;if(null===e)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case f:return R((c=e._init)(e._payload),t,o,i,a)}}if(c)return a=a(e),c=""===i?"."+z(e,0):i,S(a)?(o="",null!=c&&(o=c.replace(O,"$&/")+"/"),R(a,t,o,"",function(e){return e})):null!=a&&(_(a)&&(s=a,u=o+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+c,a=T(s.type,u,s.props)),t.push(a)),1;c=0;var d,p=""===i?".":i+":";if(S(e))for(var h=0;h<e.length;h++)c+=R(i=e[h],t,o,l=p+z(i,h),a);else if("function"==typeof(h=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(e=h.call(e),h=0;!(i=e.next()).done;)c+=R(i=i.value,t,o,l=p+z(i,h++),a);else if("object"===l){if("function"==typeof e.then)return R(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,i,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function M(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",function(e){return t.call(n,e,o++)}),r}function N(e){if(-1===e._status){var t=(0,e._result)();t.then(function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n,void 0===t.status&&(t.status="fulfilled",t.value=n))},function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n,void 0===t.status&&(t.status="rejected",t.reason=n))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function A(e){var t=E.T,n={};n.types=null!==t?t.types:null,E.T=n;try{var r=e(),o=E.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(C,I)}catch(e){I(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}}var F={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=p,t.Children=F,t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=w,t.StrictMode=i,t.Suspense=c,t.ViewTransition=h,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.addTransitionType=function e(t){var n=E.T;if(null!==n){var r=n.types;null===r?n.types=[t]:-1===r.indexOf(t)&&r.push(t)}else A(e.bind(null,t))},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key;if(null!=t)for(i in void 0!==t.key&&(o=""+t.key),t)!P.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+2];r.children=a}return T(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,o={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)P.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var l=Array(a),s=0;s<a;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return T(e,i,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=A,t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.3.1"}),p=n.cw(e=>{e.exports=f()}),h=n.cw(e=>{e.exports=d()}),m=n.cw((e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,C||(C=!0,S());else{var t=r(c);null!==t&&M(k,t.startTime-e)}}var S,C=!1,E=-1,P=5,T=-1;function _(){return!!y||!(t.unstable_now()-T<P)}function O(){if(y=!1,C){var e=t.unstable_now();T=e;var n=!0;try{e:{m=!1,g&&(g=!1,b(E),E=-1),h=!0;var i=p;try{t:{for(w(e),f=r(u);null!==f&&!(f.expirationTime>e&&_());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof l){f.callback=l,w(e),n=!0;break t}f===r(u)&&o(u),w(e)}else o(u);f=r(u)}if(null!==f)n=!0;else{var s=r(c);null!==s&&M(k,s.startTime-e),n=!1}}break e}finally{f=null,p=i,h=!1}n=void 0}}finally{n?S():C=!1}}}if("function"==typeof x)S=function(){x(O)};else if("undefined"!=typeof MessageChannel){var z=new MessageChannel,R=z.port2;z.port1.onmessage=O,S=function(){R.postMessage(null)}}else S=function(){v(O,0)};function M(e,n){E=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(b(E),E=-1):g=!0,M(k,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,C||(C=!0,S()))),e},t.unstable_shouldYield=_,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}),g=n.cw(e=>{e.exports=m()}),y=n.cw(function(e){var t=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(b()),n=v();function r(e,r){var o={};return e&&"string"==typeof e?((0,t.default)(e,function(e,t){e&&t&&(o[(0,n.camelCase)(e,r)]=t)}),o):o}r.default=r,e.exports=r}),v=()=>n(917),b=()=>n(133),x={};n.r(x),n.d(x,{boolean:()=>dd,booleanish:()=>fd,commaOrSpaceSeparated:()=>yd,commaSeparated:()=>gd,number:()=>hd,overloadedBoolean:()=>pd,spaceSeparated:()=>md});var w={};n.r(w),n.d(w,{attentionMarkers:()=>Qp,contentInitial:()=>Hp,disable:()=>Gp,document:()=>Wp,flow:()=>Up,flowInitial:()=>Vp,insideSpan:()=>Yp,string:()=>qp,text:()=>Kp}),h();const k=e=>e,S=(()=>{let e=k;return{configure(t){e=t},generate:t=>e(t),reset(){e=k}}})();S.configure(e=>`rwpbot-${e}`);var C=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),E=Math.abs,P=String.fromCharCode,T=Object.assign;function _(e){return e.trim()}function O(e,t,n){return e.replace(t,n)}function z(e,t){return e.indexOf(t)}function R(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function N(e){return e.length}function I(e){return e.length}function A(e,t){return t.push(e),e}var F=1,L=1,j=0,$=0,D=0,B="";function W(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:F,column:L,length:a,return:""}}function H(e,t){return T(W("",null,null,"",null,null,0),e,{length:-e.length},t)}function V(){return D=$>0?R(B,--$):0,L--,10===D&&(L=1,F--),D}function U(){return D=$<j?R(B,$++):0,L++,10===D&&(L=1,F++),D}function q(){return R(B,$)}function K(){return $}function Y(e,t){return M(B,e,t)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(e){return F=L=1,j=N(B=e),$=0,[]}function X(e){return B="",e}function Z(e){return _(Y($-1,te(91===e?e+2:40===e?e+1:e)))}function J(e){for(;(D=q())&&D<33;)U();return Q(e)>2||Q(D)>3?"":" "}function ee(e,t){for(;--t&&U()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return Y(e,K()+(t<6&&32==q()&&32==U()))}function te(e){for(;U();)switch(D){case e:return $;case 34:case 39:34!==e&&39!==e&&te(D);break;case 40:41===e&&te(e);break;case 92:U()}return $}function ne(e,t){for(;U()&&e+D!==57&&(e+D!==84||47!==q()););return"/*"+Y(t,$-1)+"*"+P(47===e?e:U())}function re(e){for(;!Q(q());)U();return Y(e,$)}var oe="-ms-",ie="-moz-",ae="-webkit-",le="comm",se="rule",ue="decl",ce="@keyframes";function de(e,t){for(var n="",r=I(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function fe(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ue:return e.return=e.return||e.value;case le:return"";case ce:return e.return=e.value+"{"+de(e.children,r)+"}";case se:e.value=e.props.join(",")}return N(n=de(e.children,r))?e.return=e.value+"{"+n+"}":""}function pe(e){return X(he("",null,null,null,[""],e=G(e),0,[0],e))}function he(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,g=1,y=1,v=0,b="",x=o,w=i,k=r,S=b;g;)switch(h=v,v=U()){case 40:if(108!=h&&58==R(S,d-1)){-1!=z(S+=O(Z(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=Z(v);break;case 9:case 10:case 13:case 32:S+=J(h);break;case 92:S+=ee(K()-1,7);continue;case 47:switch(q()){case 42:case 47:A(ge(ne(U(),K()),t,n),s);break;default:S+="/"}break;case 123*m:l[u++]=N(S)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==y&&(S=O(S,/\f/g,"")),p>0&&N(S)-d&&A(p>32?ye(S+";",r,n,d-1):ye(O(S," ","")+";",r,n,d-2),s);break;case 59:S+=";";default:if(A(k=me(S,t,n,u,c,o,l,b,x=[],w=[],d),i),123===v)if(0===c)he(S,t,k,k,x,i,d,l,w);else switch(99===f&&110===R(S,3)?100:f){case 100:case 108:case 109:case 115:he(e,k,k,r&&A(me(e,k,k,0,0,o,l,b,o,x=[],d),w),o,w,d,l,r?x:w);break;default:he(S,k,k,k,[""],w,0,l,w)}}u=c=p=0,m=y=1,b=S="",d=a;break;case 58:d=1+N(S),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==V())continue;switch(S+=P(v),v*m){case 38:y=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(N(S)-1)*y,y=1;break;case 64:45===q()&&(S+=Z(U())),f=q(),c=d=N(b=S+=re(K())),v++;break;case 45:45===h&&2==N(S)&&(m=0)}}return i}function me(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,f=0===o?i:[""],p=I(f),h=0,m=0,g=0;h<r;++h)for(var y=0,v=M(e,d+1,d=E(m=a[h])),b=e;y<p;++y)(b=_(m>0?f[y]+" "+v:O(v,/&\f/g,f[y])))&&(s[g++]=b);return W(e,t,n,0===o?se:l,s,u,c)}function ge(e,t,n){return W(e,t,n,le,P(D),M(e,2,-2),0)}function ye(e,t,n,r){return W(e,t,n,ue,M(e,0,r),M(e,r+1,-1),r)}var ve=function(e,t,n){for(var r=0,o=0;r=o,o=q(),38===r&&12===o&&(t[n]=1),!Q(o);)U();return Y(e,$)},be=function(e,t){return X(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===q()&&(t[n]=1),e[n]+=ve($-1,t,n);break;case 2:e[n]+=Z(r);break;case 4:if(44===r){e[++n]=58===q()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=U());return e}(G(e),t))},xe=new WeakMap,we=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xe.get(n))&&!r){xe.set(e,!0);for(var o=[],i=be(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},ke=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Se(e,t){switch(function(e,t){return 45^R(e,0)?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ie+e+oe+e+e;case 6828:case 4268:return ae+e+oe+e+e;case 6165:return ae+e+oe+"flex-"+e+e;case 5187:return ae+e+O(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+oe+"flex-$1$2")+e;case 5443:return ae+e+oe+"flex-item-"+O(e,/flex-|-self/,"")+e;case 4675:return ae+e+oe+"flex-line-pack"+O(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+oe+O(e,"shrink","negative")+e;case 5292:return ae+e+oe+O(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+O(e,"-grow","")+ae+e+oe+O(e,"grow","positive")+e;case 4554:return ae+O(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return O(O(O(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return O(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return O(O(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return O(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(N(e)-1-t>6)switch(R(e,t+1)){case 109:if(45!==R(e,t+4))break;case 102:return O(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ie+(108==R(e,t+3)?"$3":"$2-$3"))+e;case 115:return~z(e,"stretch")?Se(O(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==R(e,t+1))break;case 6444:switch(R(e,N(e)-3-(~z(e,"!important")&&10))){case 107:return O(e,":",":"+ae)+e;case 101:return O(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(45===R(e,14)?"inline-":"")+"box$3$1"+ae+"$2$3$1"+oe+"$2box$3")+e}break;case 5936:switch(R(e,t+11)){case 114:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+oe+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ue:e.return=Se(e.value,e.length);break;case ce:return de([H(e,{value:O(e.value,"@","@"+ae)})],r);case se:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return de([H(e,{props:[O(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return de([H(e,{props:[O(t,/:(plac\w+)/,":"+ae+"input-$1")]}),H(e,{props:[O(t,/:(plac\w+)/,":-moz-$1")]}),H(e,{props:[O(t,/:(plac\w+)/,oe+"input-$1")]})],r)}return""})}}],Ee=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Ce,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)});var s,u,c,d,f=[fe,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[we,ke].concat(i,f),c=I(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});o=function(e,t,n,r){s=n,de(pe(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new C({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(l),h};function Pe(){return Pe.c||(Pe.c=n.t(p(),2))}p();function Te(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var _e=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Oe=function(e,t,n){_e(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var ze={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Me=/[A-Z]|^ms/g,Ne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ie=function(e){return 45===e.charCodeAt(1)},Ae=function(e){return null!=e&&"boolean"!=typeof e},Fe=Re(function(e){return Ie(e)?e:e.replace(Me,"-$&").toLowerCase()}),Le=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ne,function(e,t,n){return $e={name:t,styles:n,next:$e},t})}return 1===ze[e]||Ie(e)||"number"!=typeof t||0===t?t:t+"px"};function je(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return $e={name:o.name,styles:o.styles,next:$e},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)$e={name:a.name,styles:a.styles,next:$e},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=je(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":Ae(l)&&(r+=Fe(i)+":"+Le(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=je(e,t,a);switch(i){case"animation":case"animationName":r+=Fe(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Ae(a[u])&&(r+=Fe(i)+":"+Le(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=$e,s=n(e);return $e=l,je(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var $e,De=/label:\s*([^\s;{]+)\s*(;|$)/g;function Be(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";$e=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=je(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=je(n,t,e[a]),r)o+=i[a]}De.lastIndex=0;for(var l,s="";null!==(l=De.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:$e}}var We=!!Pe().useInsertionEffect&&Pe().useInsertionEffect,He=We||function(e){return e()},Ve=We||f().useLayoutEffect,Ue=f().createContext("undefined"!=typeof HTMLElement?Ee({key:"css"}):null),qe=Ue.Provider,Ke=function(e){return(0,f().forwardRef)(function(t,n){var r=(0,f().useContext)(Ue);return e(t,r,n)})},Ye=f().createContext({});var Qe={}.hasOwnProperty,Ge="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _e(t,n,r),He(function(){return Oe(t,n,r)}),null},Ze=Ke(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Ge],i=[r],a="";"string"==typeof e.className?a=Te(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Be(i,void 0,f().useContext(Ye));a+=t.key+"-"+l.name;var s={};for(var u in e)Qe.call(e,u)&&"css"!==u&&u!==Ge&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),f().createElement(f().Fragment,null,f().createElement(Xe,{cache:t,serialized:l,isStringTag:"string"==typeof o}),f().createElement(o,s))});u(),s();const Je=f().createContext(null);function et(){return f().useContext(Je)}const tt="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const nt=function(e){const{children:t,theme:n}=e,r=et(),o=f().useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(r,n);return null!=e&&(e[tt]=null!==r),e},[n,r]);return(0,d().jsx)(Je.Provider,{value:o,children:t})};const rt=function(e=null){const t=f().useContext(Ye);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},ot=f().createContext();const it=()=>f().useContext(ot)??!1,at=function({value:e,...t}){return(0,d().jsx)(ot.Provider,{value:e??!0,...t})};function lt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=lt(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const st=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=lt(e))&&(r&&(r+=" "),r+=t);return r};function ut(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){r[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[i][t]=ut(o[t],a[t],n)}}else r[i]=a;else r[i]=o||{}}else"className"===i&&n&&t.className?r.className=st(e?.className,t?.className):"style"===i&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[i]&&(r[i]=e[i])}return r}const ct=f().createContext(void 0);function dt({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?ut(o.defaultProps,r,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?r:ut(o,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:f().useContext(ct)}})}const ft=function({value:e,children:t}){return(0,d().jsx)(ct.Provider,{value:e,children:t})},pt="undefined"!=typeof window?f().useLayoutEffect:f().useEffect;let ht=0;const mt={...Pe()}.useId;function gt(e){if(void 0!==mt){const t=mt();return e??t}return function(e){const[t,n]=f().useState(e),r=e||t;return f().useEffect(()=>{null==t&&(ht+=1,n(`mui-${ht}`))},[t]),r}(e)}function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yt.apply(null,arguments)}var vt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,bt=Re(function(e){return vt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),xt=function(e){return"theme"!==e},wt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?bt:xt},kt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},St=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _e(t,n,r),He(function(){return Oe(t,n,r)}),null},Ct=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=kt(t,n,i),s=l||wt(a),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{var p=c[0];d.push(p[0]);for(var h=c.length,m=1;m<h;m++)d.push(c[m],p[m])}var g=Ke(function(e,t,n){var r=u&&e.as||a,i="",c=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=f().useContext(Ye)}"string"==typeof e.className?i=Te(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var m=Be(d.concat(c),t.registered,p);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var g=u&&void 0===l?wt(r):s,y={};for(var v in e)u&&"as"===v||g(v)&&(y[v]=e[v]);return y.className=i,n&&(y.ref=n),f().createElement(f().Fragment,null,f().createElement(St,{cache:t,serialized:m,isStringTag:"string"==typeof r}),f().createElement(r,y))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,yt({},n,r,{shouldForwardProp:kt(g,r,!0)})).apply(void 0,d)},g}}.bind(null);function Et(e,t){return Ct(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Ct[e]=Ct(e)});const Pt=[];function Tt(e){return Pt[0]=e,Be(Pt)}o();var _t=function(e,t){var n=arguments;if(null==t||!Qe.call(t,"css"))return f().createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ze,o[1]=function(e,t){var n={};for(var r in t)Qe.call(t,r)&&(n[r]=t[r]);return n[Ge]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return f().createElement.apply(null,o)};!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(_t||(_t={}));var Ot=Ke(function(e,t){var n=Be([e.styles],void 0,f().useContext(Ye)),r=f().useRef();return Ve(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Ve(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Oe(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function zt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Be(t)}function Rt(){var e=zt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Mt(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,d().jsx)(Ot,{styles:r})}function Nt(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function It(e){if(f().isValidElement(e)||(0,c().Hy)(e)||!Nt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=It(e[n])}),t}function At(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Nt(e)&&Nt(t)&&Object.keys(t).forEach(o=>{f().isValidElement(t[o])||(0,c().Hy)(t[o])?r[o]=t[o]:Nt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Nt(e[o])?r[o]=At(e[o],t[o],n):n.clone?r[o]=Nt(t[o])?It(t[o]):t[o]:r[o]=t[o]}),r}function Ft(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}function Lt(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const jt={borderRadius:4};const $t={xs:0,sm:600,md:900,lg:1200,xl:1536},Dt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${$t[e]}px)`},Bt={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:$t[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Wt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Dt;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||Dt;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:Bt,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||$t).includes(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o},{})}return n(t)}function Ht(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function Vt(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Ut({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{null!=e[t]&&(n[t]=!0)}),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t),{})}function qt(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Kt(e){if("string"!=typeof e)throw new Error(qt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Yt(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Qt(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Yt(e,n)||r,t&&(o=t(o,r,e)),o}const Gt=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Yt(e.theme,r)||{};return Wt(e,i,e=>{let r=Qt(a,o,e);return e===r&&"string"==typeof e&&(r=Qt(a,o,`${t}${"default"===e?"":Kt(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i};const Xt=function(e,t){return t?At(e,t,{clone:!1}):e};const Zt={m:"margin",p:"padding"},Jt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},en={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tn=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!en[e])return[e];e=en[e]}const[t,n]=e.split(""),r=Zt[t],o=Jt[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),nn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],on=[...nn,...rn];function an(e,t,n,r){const o=Yt(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function ln(e){return an(e,"spacing",8)}function sn(e,t){return"string"==typeof t||null==t?t:e(t)}function un(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=sn(t,n),e),{})}(tn(n),r);return Wt(e,e[n],o)}function cn(e,t){const n=ln(e.theme);return Object.keys(e).map(r=>un(e,t,r,n)).reduce(Xt,{})}function dn(e){return cn(e,nn)}function fn(e){return cn(e,rn)}function pn(e){return cn(e,on)}dn.propTypes={},dn.filterProps=nn,fn.propTypes={},fn.filterProps=rn,pn.propTypes={},pn.filterProps=on;function hn(e=8,t=ln({spacing:e})){if(e.mui)return e;const n=(...e)=>{return(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}const mn=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Xt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function gn(e){return"number"!=typeof e?e:`${e}px solid`}function yn(e,t){return Gt({prop:e,themeKey:"borders",transform:t})}const vn=yn("border",gn),bn=yn("borderTop",gn),xn=yn("borderRight",gn),wn=yn("borderBottom",gn),kn=yn("borderLeft",gn),Sn=yn("borderColor"),Cn=yn("borderTopColor"),En=yn("borderRightColor"),Pn=yn("borderBottomColor"),Tn=yn("borderLeftColor"),_n=yn("outline",gn),On=yn("outlineColor"),zn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=an(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:sn(t,e)});return Wt(e,e.borderRadius,n)}return null};zn.propTypes={},zn.filterProps=["borderRadius"];mn(vn,bn,xn,wn,kn,Sn,Cn,En,Pn,Tn,zn,_n,On);const Rn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=an(e.theme,"spacing",8),n=e=>({gap:sn(t,e)});return Wt(e,e.gap,n)}return null};Rn.propTypes={},Rn.filterProps=["gap"];const Mn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=an(e.theme,"spacing",8),n=e=>({columnGap:sn(t,e)});return Wt(e,e.columnGap,n)}return null};Mn.propTypes={},Mn.filterProps=["columnGap"];const Nn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=an(e.theme,"spacing",8),n=e=>({rowGap:sn(t,e)});return Wt(e,e.rowGap,n)}return null};Nn.propTypes={},Nn.filterProps=["rowGap"];mn(Rn,Mn,Nn,Gt({prop:"gridColumn"}),Gt({prop:"gridRow"}),Gt({prop:"gridAutoFlow"}),Gt({prop:"gridAutoColumns"}),Gt({prop:"gridAutoRows"}),Gt({prop:"gridTemplateColumns"}),Gt({prop:"gridTemplateRows"}),Gt({prop:"gridTemplateAreas"}),Gt({prop:"gridArea"}));function In(e,t){return"grey"===t?t:e}mn(Gt({prop:"color",themeKey:"palette",transform:In}),Gt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:In}),Gt({prop:"backgroundColor",themeKey:"palette",transform:In}));function An(e){return e<=1&&0!==e?100*e+"%":e}const Fn=Gt({prop:"width",transform:An}),Ln=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||$t[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:An(t)}};return Wt(e,e.maxWidth,t)}return null};Ln.filterProps=["maxWidth"];const jn=Gt({prop:"minWidth",transform:An}),$n=Gt({prop:"height",transform:An}),Dn=Gt({prop:"maxHeight",transform:An}),Bn=Gt({prop:"minHeight",transform:An}),Wn=(Gt({prop:"size",cssProperty:"width",transform:An}),Gt({prop:"size",cssProperty:"height",transform:An}),mn(Fn,Ln,jn,$n,Dn,Bn,Gt({prop:"boxSizing"})),{border:{themeKey:"borders",transform:gn},borderTop:{themeKey:"borders",transform:gn},borderRight:{themeKey:"borders",transform:gn},borderBottom:{themeKey:"borders",transform:gn},borderLeft:{themeKey:"borders",transform:gn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:gn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zn},color:{themeKey:"palette",transform:In},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:In},backgroundColor:{themeKey:"palette",transform:In},p:{style:fn},pt:{style:fn},pr:{style:fn},pb:{style:fn},pl:{style:fn},px:{style:fn},py:{style:fn},padding:{style:fn},paddingTop:{style:fn},paddingRight:{style:fn},paddingBottom:{style:fn},paddingLeft:{style:fn},paddingX:{style:fn},paddingY:{style:fn},paddingInline:{style:fn},paddingInlineStart:{style:fn},paddingInlineEnd:{style:fn},paddingBlock:{style:fn},paddingBlockStart:{style:fn},paddingBlockEnd:{style:fn},m:{style:dn},mt:{style:dn},mr:{style:dn},mb:{style:dn},ml:{style:dn},mx:{style:dn},my:{style:dn},margin:{style:dn},marginTop:{style:dn},marginRight:{style:dn},marginBottom:{style:dn},marginLeft:{style:dn},marginX:{style:dn},marginY:{style:dn},marginInline:{style:dn},marginInlineStart:{style:dn},marginInlineEnd:{style:dn},marginBlock:{style:dn},marginBlockStart:{style:dn},marginBlockEnd:{style:dn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Rn},rowGap:{style:Nn},columnGap:{style:Mn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:An},maxWidth:{style:Ln},minWidth:{transform:An},height:{transform:An},maxHeight:{transform:An},minHeight:{transform:An},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const Hn=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Yt(n,l)||{};if(u)return u(o);return Wt(o,t,t=>{let n=Qt(c,s,t);return t===n&&"string"==typeof t&&(n=Qt(c,s,`${e}${"default"===t?"":Kt(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){const{sx:r,theme:o={},nested:i}=n||{};if(!r)return null;const a=o.unstable_sxConfig??Wn;function l(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const l=Ht(o.breakpoints),s=Object.keys(l);let u=l;return Object.keys(r).forEach(n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=i)if("object"==typeof i)if(a[n])u=Xt(u,e(n,i,o,a));else{const e=Wt({theme:o},i,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,i)?u=Xt(u,e):u[n]=t({sx:i,theme:o,nested:!0})}else u=Xt(u,e(n,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Lt(o,Vt(s,u))}:Lt(o,Vt(s,u))}return Array.isArray(r)?r.map(l):l(r)}}();Hn.filterProps=["sx"];const Vn=Hn;function Un(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const qn=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let l=At({breakpoints:Ft(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:hn(o),shape:{...jt,...i}},a);return l=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(l),l.applyStyles=Un,l=t.reduce((e,t)=>At(e,t),l),l.unstable_sxConfig={...Wn,...a?.unstable_sxConfig},l.unstable_sx=function(e){return Vn({sx:e,theme:this})},l},Kn=qn();const Yn=function(e=Kn){return rt(e)};function Qn(e){const t=Tt(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const Gn=function({styles:e,themeId:t,defaultTheme:n={}}){const r=Yn(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>Qn("function"==typeof e?e(o):e)):Qn(i)),(0,d().jsx)(Mt,{styles:i})};const Xn={};function Zn(e,t,n,r=!1){return f().useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}const Jn=function(e){const{children:t,theme:n,themeId:r}=e,o=rt(Xn),i=et()||Xn,a=Zn(r,o,n),l=Zn(r,i,n,!0),s="rtl"===(r?a[r]:a).direction,u=function(e){const t=rt(),n=gt()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",pt(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const r=document.createElement("style");r.setAttribute("data-mui-layer-order",n),r.textContent=o,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[o,n]),o?(0,d().jsx)(Gn,{styles:o}):null}(a);return(0,d().jsx)(nt,{theme:l,children:(0,d().jsx)(Ye.Provider,{value:a,children:(0,d().jsx)(at,{value:s,children:(0,d().jsxs)(ft,{value:r?a[r].components:a.components,children:[u,t]})})})})},er="$$material";function tr({theme:e,...t}){const n=er in e?e[er]:void 0;return(0,d().jsx)(Jn,{...t,themeId:n?er:void 0,theme:n||e})}const nr="mode",rr="color-scheme",or="data-color-scheme";function ir(){}const ar=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return ir;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function lr(){}function sr(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function ur(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function cr(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i="mode",colorSchemeStorageKey:a=rr,storageWindow:l=("undefined"==typeof window?void 0:window),storageManager:s=ar,noSsr:u=!1}=e,c=o.join(","),d=o.length>1,p=f().useMemo(()=>s?.({key:i,storageWindow:l}),[s,i,l]),h=f().useMemo(()=>s?.({key:`${a}-light`,storageWindow:l}),[s,a,l]),m=f().useMemo(()=>s?.({key:`${a}-dark`,storageWindow:l}),[s,a,l]),[g,y]=f().useState(()=>{const e=p?.get(t)||t,o=h?.get(n)||n,i=m?.get(r)||r;return{mode:e,systemMode:sr(e),lightColorScheme:o,darkColorScheme:i}}),[v,b]=f().useState(u||!d);f().useEffect(()=>{b(!0)},[]);const x=function(e){return ur(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),w=f().useCallback(e=>{y(n=>{if(e===n.mode)return n;const r=e??t;return p?.set(r),{...n,mode:r,systemMode:sr(r)}})},[p,t]),k=f().useCallback(e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const n={...t};return ur(t,t=>{"light"===t&&(h?.set(e),n.lightColorScheme=e),"dark"===t&&(m?.set(e),n.darkColorScheme=e)}),n}):y(t=>{const o={...t},i=null===e.light?n:e.light,a=null===e.dark?r:e.dark;return i&&(c.includes(i)?(o.lightColorScheme=i,h?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a&&(c.includes(a)?(o.darkColorScheme=a,m?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o}):y(e=>(h?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[c,h,m,n,r]),S=f().useCallback(e=>{"system"===g.mode&&y(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),C=f().useRef(S);return C.current=S,f().useEffect(()=>{if("function"!=typeof window.matchMedia||!d)return;const e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),f().useEffect(()=>{if(d){const e=p?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||w(e||t)})||lr,n=h?.subscribe(e=>{e&&!c.match(e)||k({light:e})})||lr,r=m?.subscribe(e=>{e&&!c.match(e)||k({dark:e})})||lr;return()=>{e(),n(),r()}}},[k,w,c,t,l,d,p,h,m]),{...g,mode:v?g.mode:void 0,systemMode:v?g.systemMode:void 0,colorScheme:v?x:void 0,setMode:w,setColorScheme:k}}const dr=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function fr(e,t=0,n=1){return dr(e,t,n)}function pr(e){if(e.type)return e;if("#"===e.charAt(0))return pr(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(qt(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(qt(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}const hr=(e,t)=>{try{return(e=>{const t=pr(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function mr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function gr(e){e=pr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),mr({type:l,values:s})}function yr(e){let t="hsl"===(e=pr(e)).type||"hsla"===e.type?pr(gr(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vr(e,t){return e=pr(e),t=fr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,mr(e)}function br(e,t,n){try{return vr(e,t)}catch(t){return e}}function xr(e,t){if(e=pr(e),t=fr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mr(e)}function wr(e,t,n){try{return xr(e,t)}catch(t){return e}}function kr(e,t){if(e=pr(e),t=fr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mr(e)}function Sr(e,t,n){try{return kr(e,t)}catch(t){return e}}function Cr(e,t,n){try{return function(e,t=.15){return yr(e)>.5?xr(e,t):kr(e,t)}(e,t)}catch(t){return e}}const Er={black:"#000",white:"#fff"},Pr={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Tr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},_r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Or={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},zr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Mr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Nr(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Er.white,default:Er.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Ir=Nr();function Ar(){return{text:{primary:Er.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Er.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Fr=Ar();function Lr(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=kr(e.main,o):"dark"===t&&(e.dark=xr(e.main,i)))}function jr(e,t,n,r,o){const i=o.light||o,a=o.dark||1.5*o;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function $r(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:zr[200],light:zr[50],dark:zr[400]}:{main:zr[700],light:zr[400],dark:zr[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:Tr[200],light:Tr[50],dark:Tr[400]}:{main:Tr[500],light:Tr[300],dark:Tr[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:_r[500],light:_r[300],dark:_r[700]}:{main:_r[700],light:_r[400],dark:_r[800]}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Rr[400],light:Rr[300],dark:Rr[700]}:{main:Rr[700],light:Rr[500],dark:Rr[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Mr[400],light:Mr[300],dark:Mr[700]}:{main:Mr[800],light:Mr[500],dark:Mr[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Or[400],light:Or[300],dark:Or[700]}:{main:"#ed6c02",light:Or[500],dark:Or[900]}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=yr(e),r=yr(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Fr.text.primary)>=n?Fr.text.primary:Ir.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(qt(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(qt(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(jr(o,e,"light",i,r),jr(o,e,"dark",a,r)):(Lr(e,"light",i,r),Lr(e,"dark",a,r)),e.contrastText||(e.contrastText=f(e.main)),e};let h;"light"===t?h=Nr():"dark"===t&&(h=Ar());return At({common:{...Er},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:Pr,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...h},i)}function Dr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function Br(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Wr=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})};function Hr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var l,s;return l=(e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,s=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:s}),Wr(i,e,`var(${r})`,l),Wr(a,e,`var(${r}, ${s})`,l)}},s=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,o])=>{(!s||s&&!s([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):l([...n,t],o,r))})}(e),{css:o,vars:i,varsWithDefaults:a}}const Vr=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:s="light",...u}=e,{vars:c,css:d,varsWithDefaults:f}=Hr(u,t);let p=f;const h={},{[s]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=Hr(n,t);p=At(p,i),h[e]={css:o,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=Hr(m,t);p=At(p,r),h[s]={css:e,vars:n}}function y(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach(([,{vars:t}])=>{e=At(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function l(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}l(n(void 0,{...d}),d);const{[o]:s,...u}=h;if(s){const{css:e}=s,t=a[o]?.palette?.mode,i=!r&&t?{colorScheme:t,...e}:{...e};l(n(o,{...i}),i)}return Object.entries(u).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!r&&o?{colorScheme:o,...t}:{...t};l(n(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}};function Ur(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}const qr={textTransform:"uppercase"},Kr='"Roboto", "Helvetica", "Arial", sans-serif';function Yr(e,t){const{fontFamily:n=Kr,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:c,...d}="function"==typeof t?t(e):t;const f=r/14,p=c||(e=>e/s*f+"rem"),h=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===Kr?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},...i,...u};var a},m={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,qr),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,qr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return At({htmlFontSize:s,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l,...m},d,{clone:!1})}function Qr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Gr=["none",Qr(0,2,1,-1,0,1,1,0,0,1,3,0),Qr(0,3,1,-2,0,2,2,0,0,1,5,0),Qr(0,3,3,-2,0,3,4,0,0,1,8,0),Qr(0,2,4,-1,0,4,5,0,0,1,10,0),Qr(0,3,5,-1,0,5,8,0,0,1,14,0),Qr(0,3,5,-1,0,6,10,0,0,1,18,0),Qr(0,4,5,-2,0,7,10,1,0,2,16,1),Qr(0,5,5,-3,0,8,10,1,0,3,14,2),Qr(0,5,6,-3,0,9,12,1,0,3,16,2),Qr(0,6,6,-3,0,10,14,1,0,4,18,3),Qr(0,6,7,-4,0,11,15,1,0,4,20,3),Qr(0,7,8,-4,0,12,17,2,0,5,22,4),Qr(0,7,8,-4,0,13,19,2,0,5,24,4),Qr(0,7,9,-4,0,14,21,2,0,5,26,4),Qr(0,8,9,-5,0,15,22,2,0,6,28,5),Qr(0,8,10,-5,0,16,24,2,0,6,30,5),Qr(0,8,11,-5,0,17,26,2,0,6,32,5),Qr(0,9,11,-5,0,18,28,2,0,7,34,6),Qr(0,9,12,-6,0,19,29,2,0,7,36,6),Qr(0,10,13,-6,0,20,31,3,0,8,38,7),Qr(0,10,13,-6,0,21,33,3,0,8,40,7),Qr(0,10,14,-6,0,22,35,3,0,8,42,7),Qr(0,11,14,-7,0,23,36,3,0,9,44,8),Qr(0,11,15,-7,0,24,38,3,0,9,46,8)],Xr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Zr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Jr(e){return`${Math.round(e)}ms`}function eo(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function to(e){const t={...Xr,...e.easing},n={...Zr,...e.duration};return{getAutoHeightDuration:eo,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...l}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:Jr(o)} ${i} ${"string"==typeof a?a:Jr(a)}`).join(",")},...e,easing:t,duration:n}}const no={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ro(e){return Nt(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function oo(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[o,i]=n[r];!ro(i)||o.startsWith("unstable_")?delete t[o]:Nt(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function io(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function ao(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof n?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof n?`calc(${n})`:n})`:vr(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${io(n)})`:kr(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${io(n)})`:xr(t,n)}})}const lo=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:l={},shape:s,colorSpace:u,...c}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(qt(20));const d=$r({...i,colorSpace:u}),f=qn(e);let p=At(f,{mixins:Ur(f.breakpoints,r),palette:d,shadows:Gr.slice(),typography:Yr(d,l),transitions:to(a),zIndex:{...no}});return p=At(p,c),p=t.reduce((e,t)=>At(e,t),p),p.unstable_sxConfig={...Wn,...c?.unstable_sxConfig},p.unstable_sx=function(e){return Vn({sx:e,theme:this})},p.toRuntimeSource=oo,ao(p),p};function so(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const uo=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=so(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function co(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function fo(e){return"dark"===e?uo:[]}function po(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const ho=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mo=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return ho(e.cssVarPrefix).forEach(e=>{o[e]=n[e],delete n[e]}),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function go(e,t,n){!e[t]&&n&&(e[t]=n)}function yo(e){return"string"==typeof e&&e.startsWith("hsl")?gr(e):e}function vo(e,t){`${t}Channel`in e||(e[`${t}Channel`]=hr(yo(e[t])))}n.dn(mo);const bo=e=>{try{return e()}catch(e){}};function xo(e,t,n,r,o){if(!n)return;n=!0===n?{}:n;const i="dark"===o?"dark":"light";if(!r)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...i}=e,a=$r({...t,colorSpace:o});return{palette:a,opacity:{...co(a.mode),...n},overlays:r||fo(a.mode),...i}}({...n,palette:{mode:i,...n?.palette},colorSpace:e}));const{palette:a,...l}=lo({...r,palette:{mode:i,...n?.palette},colorSpace:e});return t[o]={...n,palette:a,opacity:{...co(i),...n?.opacity},overlays:n?.overlays||fo(i)},l}function wo(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:l=po,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:u=":root",...c}=e,d=Object.keys(n)[0],f=r||(n.light&&"light"!==d?"light":d),p=((e="mui")=>Dr(e))(i),{[f]:h,light:m,dark:g,...y}=n,v={...y};let b,x=h;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(x=!0),!x)throw new Error(qt(21,f));a&&(b="oklch");const w=xo(b,v,x,c,f);m&&!v.light&&xo(b,v,m,void 0,"light"),g&&!v.dark&&xo(b,v,g,void 0,"dark");let k={defaultColorScheme:f,...w,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:p,colorSchemes:v,font:{...Br(w.typography),...w.font},spacing:(S=c.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(k.colorSchemes).forEach(e=>{const t=k.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};function r(e,t,n){if(b){let r;return e===br&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===wr&&(r=`#000 ${(100*n).toFixed(0)}%`),e===Sr&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}var o;if("light"===t.mode&&(go(t.common,"background","#fff"),go(t.common,"onBackground","#000")),"dark"===t.mode&&(go(t.common,"background","#000"),go(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){go(t.Alert,"errorColor",r(wr,a?p("palette-error-light"):t.error.light,.6)),go(t.Alert,"infoColor",r(wr,a?p("palette-info-light"):t.info.light,.6)),go(t.Alert,"successColor",r(wr,a?p("palette-success-light"):t.success.light,.6)),go(t.Alert,"warningColor",r(wr,a?p("palette-warning-light"):t.warning.light,.6)),go(t.Alert,"errorFilledBg",n("palette-error-main")),go(t.Alert,"infoFilledBg",n("palette-info-main")),go(t.Alert,"successFilledBg",n("palette-success-main")),go(t.Alert,"warningFilledBg",n("palette-warning-main")),go(t.Alert,"errorFilledColor",bo(()=>t.getContrastText(t.error.main))),go(t.Alert,"infoFilledColor",bo(()=>t.getContrastText(t.info.main))),go(t.Alert,"successFilledColor",bo(()=>t.getContrastText(t.success.main))),go(t.Alert,"warningFilledColor",bo(()=>t.getContrastText(t.warning.main))),go(t.Alert,"errorStandardBg",r(Sr,a?p("palette-error-light"):t.error.light,.9)),go(t.Alert,"infoStandardBg",r(Sr,a?p("palette-info-light"):t.info.light,.9)),go(t.Alert,"successStandardBg",r(Sr,a?p("palette-success-light"):t.success.light,.9)),go(t.Alert,"warningStandardBg",r(Sr,a?p("palette-warning-light"):t.warning.light,.9)),go(t.Alert,"errorIconColor",n("palette-error-main")),go(t.Alert,"infoIconColor",n("palette-info-main")),go(t.Alert,"successIconColor",n("palette-success-main")),go(t.Alert,"warningIconColor",n("palette-warning-main")),go(t.AppBar,"defaultBg",n("palette-grey-100")),go(t.Avatar,"defaultBg",n("palette-grey-400")),go(t.Button,"inheritContainedBg",n("palette-grey-300")),go(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),go(t.Chip,"defaultBorder",n("palette-grey-400")),go(t.Chip,"defaultAvatarColor",n("palette-grey-700")),go(t.Chip,"defaultIconColor",n("palette-grey-700")),go(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),go(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),go(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),go(t.LinearProgress,"primaryBg",r(Sr,a?p("palette-primary-main"):t.primary.main,.62)),go(t.LinearProgress,"secondaryBg",r(Sr,a?p("palette-secondary-main"):t.secondary.main,.62)),go(t.LinearProgress,"errorBg",r(Sr,a?p("palette-error-main"):t.error.main,.62)),go(t.LinearProgress,"infoBg",r(Sr,a?p("palette-info-main"):t.info.main,.62)),go(t.LinearProgress,"successBg",r(Sr,a?p("palette-success-main"):t.success.main,.62)),go(t.LinearProgress,"warningBg",r(Sr,a?p("palette-warning-light"):t.warning.main,.62)),go(t.Skeleton,"bg",b?r(br,a?p("palette-text-primary"):t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),go(t.Slider,"primaryTrack",r(Sr,a?p("palette-primary-main"):t.primary.main,.62)),go(t.Slider,"secondaryTrack",r(Sr,a?p("palette-secondary-main"):t.secondary.main,.62)),go(t.Slider,"errorTrack",r(Sr,a?p("palette-error-main"):t.error.main,.62)),go(t.Slider,"infoTrack",r(Sr,a?p("palette-info-main"):t.info.main,.62)),go(t.Slider,"successTrack",r(Sr,a?p("palette-success-main"):t.success.main,.62)),go(t.Slider,"warningTrack",r(Sr,a?p("palette-warning-main"):t.warning.main,.62));const e=b?r(wr,a?p("palette-background-default"):t.background.default,.6825):Cr(t.background.default,.8);go(t.SnackbarContent,"bg",e),go(t.SnackbarContent,"color",bo(()=>b?Fr.text.primary:t.getContrastText(e))),go(t.SpeedDialAction,"fabHoverBg",Cr(t.background.paper,.15)),go(t.StepConnector,"border",n("palette-grey-400")),go(t.StepContent,"border",n("palette-grey-400")),go(t.Switch,"defaultColor",n("palette-common-white")),go(t.Switch,"defaultDisabledColor",n("palette-grey-100")),go(t.Switch,"primaryDisabledColor",r(Sr,a?p("palette-primary-main"):t.primary.main,.62)),go(t.Switch,"secondaryDisabledColor",r(Sr,a?p("palette-secondary-main"):t.secondary.main,.62)),go(t.Switch,"errorDisabledColor",r(Sr,a?p("palette-error-main"):t.error.main,.62)),go(t.Switch,"infoDisabledColor",r(Sr,a?p("palette-info-main"):t.info.main,.62)),go(t.Switch,"successDisabledColor",r(Sr,a?p("palette-success-main"):t.success.main,.62)),go(t.Switch,"warningDisabledColor",r(Sr,a?p("palette-warning-main"):t.warning.main,.62)),go(t.TableCell,"border",r(Sr,br(a?p("palette-divider"):t.divider,1),.88)),go(t.Tooltip,"bg",r(br,a?p("palette-grey-700"):t.grey[700],.92))}if("dark"===t.mode){go(t.Alert,"errorColor",r(Sr,a?p("palette-error-light"):t.error.light,.6)),go(t.Alert,"infoColor",r(Sr,a?p("palette-info-light"):t.info.light,.6)),go(t.Alert,"successColor",r(Sr,a?p("palette-success-light"):t.success.light,.6)),go(t.Alert,"warningColor",r(Sr,a?p("palette-warning-light"):t.warning.light,.6)),go(t.Alert,"errorFilledBg",n("palette-error-dark")),go(t.Alert,"infoFilledBg",n("palette-info-dark")),go(t.Alert,"successFilledBg",n("palette-success-dark")),go(t.Alert,"warningFilledBg",n("palette-warning-dark")),go(t.Alert,"errorFilledColor",bo(()=>t.getContrastText(t.error.dark))),go(t.Alert,"infoFilledColor",bo(()=>t.getContrastText(t.info.dark))),go(t.Alert,"successFilledColor",bo(()=>t.getContrastText(t.success.dark))),go(t.Alert,"warningFilledColor",bo(()=>t.getContrastText(t.warning.dark))),go(t.Alert,"errorStandardBg",r(wr,a?p("palette-error-light"):t.error.light,.9)),go(t.Alert,"infoStandardBg",r(wr,a?p("palette-info-light"):t.info.light,.9)),go(t.Alert,"successStandardBg",r(wr,a?p("palette-success-light"):t.success.light,.9)),go(t.Alert,"warningStandardBg",r(wr,a?p("palette-warning-light"):t.warning.light,.9)),go(t.Alert,"errorIconColor",n("palette-error-main")),go(t.Alert,"infoIconColor",n("palette-info-main")),go(t.Alert,"successIconColor",n("palette-success-main")),go(t.Alert,"warningIconColor",n("palette-warning-main")),go(t.AppBar,"defaultBg",n("palette-grey-900")),go(t.AppBar,"darkBg",n("palette-background-paper")),go(t.AppBar,"darkColor",n("palette-text-primary")),go(t.Avatar,"defaultBg",n("palette-grey-600")),go(t.Button,"inheritContainedBg",n("palette-grey-800")),go(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),go(t.Chip,"defaultBorder",n("palette-grey-700")),go(t.Chip,"defaultAvatarColor",n("palette-grey-300")),go(t.Chip,"defaultIconColor",n("palette-grey-300")),go(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),go(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),go(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),go(t.LinearProgress,"primaryBg",r(wr,a?p("palette-primary-main"):t.primary.main,.5)),go(t.LinearProgress,"secondaryBg",r(wr,a?p("palette-secondary-main"):t.secondary.main,.5)),go(t.LinearProgress,"errorBg",r(wr,a?p("palette-error-main"):t.error.main,.5)),go(t.LinearProgress,"infoBg",r(wr,a?p("palette-info-main"):t.info.main,.5)),go(t.LinearProgress,"successBg",r(wr,a?p("palette-success-main"):t.success.main,.5)),go(t.LinearProgress,"warningBg",r(wr,a?p("palette-warning-main"):t.warning.main,.5)),go(t.Skeleton,"bg",b?r(br,a?p("palette-text-primary"):t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),go(t.Slider,"primaryTrack",r(wr,a?p("palette-primary-main"):t.primary.main,.5)),go(t.Slider,"secondaryTrack",r(wr,a?p("palette-secondary-main"):t.secondary.main,.5)),go(t.Slider,"errorTrack",r(wr,a?p("palette-error-main"):t.error.main,.5)),go(t.Slider,"infoTrack",r(wr,a?p("palette-info-main"):t.info.main,.5)),go(t.Slider,"successTrack",r(wr,a?p("palette-success-main"):t.success.main,.5)),go(t.Slider,"warningTrack",r(wr,a?p("palette-warning-light"):t.warning.main,.5));const e=b?r(Sr,a?p("palette-background-default"):t.background.default,.985):Cr(t.background.default,.98);go(t.SnackbarContent,"bg",e),go(t.SnackbarContent,"color",bo(()=>b?Ir.text.primary:t.getContrastText(e))),go(t.SpeedDialAction,"fabHoverBg",Cr(t.background.paper,.15)),go(t.StepConnector,"border",n("palette-grey-600")),go(t.StepContent,"border",n("palette-grey-600")),go(t.Switch,"defaultColor",n("palette-grey-300")),go(t.Switch,"defaultDisabledColor",n("palette-grey-600")),go(t.Switch,"primaryDisabledColor",r(wr,a?p("palette-primary-main"):t.primary.main,.55)),go(t.Switch,"secondaryDisabledColor",r(wr,a?p("palette-secondary-main"):t.secondary.main,.55)),go(t.Switch,"errorDisabledColor",r(wr,a?p("palette-error-main"):t.error.main,.55)),go(t.Switch,"infoDisabledColor",r(wr,a?p("palette-info-main"):t.info.main,.55)),go(t.Switch,"successDisabledColor",r(wr,a?p("palette-success-main"):t.success.main,.55)),go(t.Switch,"warningDisabledColor",r(wr,a?p("palette-warning-light"):t.warning.main,.55)),go(t.TableCell,"border",r(wr,br(a?p("palette-divider"):t.divider,1),.68)),go(t.Tooltip,"bg",r(br,a?p("palette-grey-700"):t.grey[700],.92))}a||(vo(t.background,"default"),vo(t.background,"paper"),vo(t.common,"background"),vo(t.common,"onBackground"),vo(t,"divider")),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&!a&&n&&"object"==typeof n&&(n.main&&go(t[e],"mainChannel",hr(yo(n.main))),n.light&&go(t[e],"lightChannel",hr(yo(n.light))),n.dark&&go(t[e],"darkChannel",hr(yo(n.dark))),n.contrastText&&go(t[e],"contrastTextChannel",hr(yo(n.contrastText))),"text"===e&&(vo(t[e],"primary"),vo(t[e],"secondary")),"action"===e&&(n.active&&vo(t[e],"active"),n.selected&&vo(t[e],"selected")))})}),k=t.reduce((e,t)=>At(e,t),k);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:l,getSelector:mo(k),enableContrastVars:a},{vars:E,generateThemeVars:P,generateStyleSheets:T}=Vr(k,C);return k.vars=E,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([e,t])=>{k[e]=t}),k.generateThemeVars=P,k.generateStyleSheets=T,k.generateSpacing=function(){return hn(c.spacing,ln(this))},k.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=l,k.unstable_sxConfig={...Wn,...c?.unstable_sxConfig},k.unstable_sx=function(e){return Vn({sx:e,theme:this})},k.toRuntimeSource=oo,k}function ko(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:$r({...!0===n?{}:n.palette,mode:t})})}function So(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,l=i||"light",s=o?.[l],u={...o,...n?{[l]:{..."boolean"!=typeof s&&s,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return lo(e,...t);let r=n;"palette"in e||u[l]&&(!0!==u[l]?r=u[l].palette:"dark"===l&&(r={mode:"dark"}));const o=lo({...e,palette:r},...t);return o.defaultColorScheme=l,o.colorSchemes=u,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==u.light&&u.light,palette:o.palette},ko(o,"dark",u.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==u.dark&&u.dark,palette:o.palette},ko(o,"light",u.light)),o}return n||"light"in u||"light"!==l||(u.light=!0),wo({...a,colorSchemes:u,defaultColorScheme:l,..."boolean"!=typeof r&&r},...t)}const Co={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const{CssVarsProvider:Eo,useColorScheme:Po,getInitColorSchemeScript:To}=function(e){const{themeId:t,theme:n={},modeStorageKey:r="mode",colorSchemeStorageKey:o=rr,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:l}=e,s={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=f().createContext(void 0),c={},p={},h="string"==typeof a?a:a.light,m="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){const{children:s,theme:h,modeStorageKey:m=r,colorSchemeStorageKey:g=o,disableTransitionOnChange:y=i,storageManager:v,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:x=("undefined"==typeof document?void 0:document),colorSchemeNode:w=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:k=!1,disableStyleSheetGeneration:S=!1,defaultMode:C="system",forceThemeRerender:E=!1,noSsr:P}=e,T=f().useRef(!1),_=et(),O=f().useContext(u),z=!!O&&!k,R=f().useMemo(()=>h||("function"==typeof n?n():n),[h]),M=R[t],N=M||R,{colorSchemes:I=c,components:A=p,cssVarPrefix:F}=N,L=Object.keys(I).filter(e=>!!I[e]).join(","),j=f().useMemo(()=>L.split(","),[L]),$="string"==typeof a?a:a.light,D="string"==typeof a?a:a.dark,B=I[$]&&I[D]?C:I[N.defaultColorScheme]?.palette?.mode||N.palette?.mode,{mode:W,setMode:H,systemMode:V,lightColorScheme:U,darkColorScheme:q,colorScheme:K,setColorScheme:Y}=cr({supportedColorSchemes:j,defaultLightColorScheme:$,defaultDarkColorScheme:D,modeStorageKey:m,colorSchemeStorageKey:g,defaultMode:B,storageManager:v,storageWindow:b,noSsr:P});let Q=W,G=K;z&&(Q=O.mode,G=O.colorScheme);let X=G||N.defaultColorScheme;N.vars&&!E&&(X=N.defaultColorScheme);const Z=f().useMemo(()=>{const e=N.generateThemeVars?.()||N.vars,t={...N,components:A,colorSchemes:I,cssVarPrefix:F,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),X){const e=I[X];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return l?l(t):t},[N,X,A,I,F]),J=N.colorSchemeSelector;pt(()=>{if(G&&w&&J&&"media"!==J){const e=J;let t=J;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))w.classList.remove(...j.map(e=>t.substring(1).replace("%s",e))),w.classList.add(t.substring(1).replace("%s",G));else{const e=t.replace("%s",G).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||j.forEach(e=>{w.removeAttribute(t.replace(G,e))}),w.setAttribute(t,n?n.replace(/"|'/g,""):"")}else w.setAttribute(t,G)}}},[G,J,w,j]),f().useEffect(()=>{let e;if(y&&T.current&&x){const t=x.createElement("style");t.appendChild(x.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),x.head.appendChild(t),window.getComputedStyle(x.body),e=setTimeout(()=>{x.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[G,y,x]),f().useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);const ee=f().useMemo(()=>({allColorSchemes:j,colorScheme:G,darkColorScheme:q,lightColorScheme:U,mode:Q,setColorScheme:Y,setMode:H,systemMode:V}),[j,G,q,U,Q,Y,H,V,Z.colorSchemeSelector]);let te=!0;(S||!1===N.cssVariables||z&&_?.cssVarPrefix===F)&&(te=!1);const ne=(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)(Jn,{themeId:M?t:void 0,theme:Z,children:s}),te&&(0,d().jsx)(Mt,{styles:Z.generateStyleSheets?.()||[]})]});return z?ne:(0,d().jsx)(u.Provider,{value:ee,children:ne})},useColorScheme:()=>f().useContext(u)||s,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=nr,colorSchemeStorageKey:i=rr,attribute:a=or,colorSchemeNode:l="document.documentElement",nonce:s}=e||{};let u="",c=a;if("class"===a&&(c=".%s"),"data"===a&&(c="[data-%s]"),c.startsWith(".")){const e=c.substring(1);u+=`${l}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n      ${l}.classList.add('${e}'.replace('%s', colorScheme));`}const f=c.match(/\[([^[\]]+)\]/);if(f){const[e,t]=f[1].split("=");t||(u+=`${l}.removeAttribute('${e}'.replace('%s', light));\n      ${l}.removeAttribute('${e}'.replace('%s', dark));`),u+=`\n      ${l}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==c&&(u+=`${l}.setAttribute('${c}', colorScheme);`);return(0,d().jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?s:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n  let colorScheme = '';\n  const mode = localStorage.getItem('${o}') || '${t}';\n  const dark = localStorage.getItem('${i}-dark') || '${r}';\n  const light = localStorage.getItem('${i}-light') || '${n}';\n  if (mode === 'system') {\n    // handle system mode\n    const mql = window.matchMedia('(prefers-color-scheme: dark)');\n    if (mql.matches) {\n      colorScheme = dark\n    } else {\n      colorScheme = light\n    }\n  }\n  if (mode === 'light') {\n    colorScheme = light;\n  }\n  if (mode === 'dark') {\n    colorScheme = dark;\n  }\n  if (colorScheme) {\n    ${u}\n  }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:o,defaultLightColorScheme:h,defaultDarkColorScheme:m,modeStorageKey:r,...e})}}({themeId:er,theme:()=>So({cssVariables:!0}),colorSchemeStorageKey:Co.colorSchemeStorageKey,modeStorageKey:Co.modeStorageKey,defaultColorScheme:{light:Co.defaultLightColorScheme,dark:Co.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Yr(e.palette,e.typography)};return t.unstable_sx=function(e){return Vn({sx:e,theme:this})},t}});const _o=Eo;function Oo({theme:e,...t}){const n=f().useMemo(()=>{if("function"==typeof e)return e;const t=er in e?e[er]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,d().jsx)(tr,{theme:n,...t}):(0,d().jsx)(_o,{theme:e,...t})}const zo=["Describe a problem with your site…","Help me increase dwell time…","My media library is full of unused images…","My site feels slow…","Let visitors listen to my posts…","My images look blurry on phones…","Add a watermark to my photos…","Rename my images for better SEO…"],Ro=["My media library is full of images I don't use","My site feels slow","I want visitors to listen to my posts"],Mo={title:"Reinvent WP Apps",summary:"%1$d of %2$d apps active on this site.",scroll_down:"Scroll down",your_apps:"Your apps",your_apps_active:"%d active",must_have:"Must have",must_have_intro:"The basic needs of every WordPress site.",more_apps:"More from Reinvent WP",more_apps_intro:"Everything else we make, free on WordPress.org.",all:"All",suite_eyebrow:"Suite Pass",suite_title:"One Suite Pass,\nAccess all Reinvent WP PRO Plugins",suite_cta:"See plans",open:"Open",activate:"Activate",install:"Install",refresh_hint:"Get the latest list of apps now",catalog_hint:"See every Reinvent WP plugin on reinventwp.com",coming_soon:"Coming soon",ask:"Describe a problem with your site…",ask_title:"Reinvent WP Assistant",ask_intro:"Tell me what's wrong with your site, and I'll suggest the Reinvent WP app that fixes it.",ask_notice:"Your message, any screenshot or file you attach and the list of Reinvent WP apps on this site are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_notice_website:"Your message and any screenshot or file you attach are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_send:"Send",ask_new:"New chat",ask_new_title:"Start a new chat?",ask_new_text:"This clears the current conversation. It can't be brought back.",ask_cancel:"Cancel",ask_close:"Close",ask_minimize:"Minimize the assistant to an icon",ask_launcher:"Ask the Reinvent WP Assistant",ask_restore:"Show the ask field again",ask_thinking:"Thinking…",ask_step_image:"Reading your screenshot…",ask_step_file:"Reading your log file…",ask_step_search:"Searching reinventwp.com…",ask_step_docs:"Reading the plugin docs…",ask_step_site:"Checking the plugins on your site…",ask_step_write:"Writing the answer…",ask_step_almost:"Almost there…",ask_error:"The assistant couldn't answer. Please try again.",ask_sources:"Read more on reinventwp.com",ask_search_one:"%d search",ask_search_many:"%d searches",ask_section_one:"%d section read",ask_section_many:"%d sections read",ask_your_question:"Your question",ask_attach:"Attach a screenshot or a log file",ask_remove_image:"Remove image",ask_view_image:"View full size",ask_copy:"Copy code",ask_copy_message:"Copy message",feedback_title:"Send feedback to the Reinvent WP team",feedback_email:"Your email",feedback_website:"Your website",feedback_message:"Your feedback",feedback_send:"Send feedback",feedback_sending:"Sending…",feedback_sent:"Thanks! Your feedback was sent to the Reinvent WP team.",feedback_error:"We couldn't send your feedback. Please try again.",feedback_check:"Enter your email, your website and a message.",feedback_notice:"Your email, website and message are sent to Reinvent WP.",ask_copied:"Copied",ask_copy_failed:"Couldn't copy: press Ctrl+C or ⌘+C",ask_image_error:"Couldn't attach that file. Use a screenshot (PNG, JPEG, WebP, GIF) or a text file (.log, .txt, .json, .csv, .md).",ask_file_limit:"You can attach one text file per question.",ask_file_lines:"%d lines",ask_file_newest:"newest %d lines",ask_file_masked:"%d private values hidden",ask_view_file:"See what will be sent",ask_file_note:"Only this text is sent: the newest part of the file, with emails, IP addresses, passwords and keys replaced by [hidden].",ask_image_limit:"You can attach up to 2 images.",ask_settings:"%s settings",go_to:"Go to %s",ask_nothing_new:"Only sections already read",ask_nothing_found:"Nothing found"},No=So({palette:{mode:"light",primary:{main:"#004984",contrastText:"#ffffff"},success:{main:"#2e7d32",contrastText:"#ffffff"},background:{default:"#ffffff",paper:"#ffffff"},text:{primary:"#333333",secondary:"#4a5568"}},typography:{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',body1:{fontSize:"1.05rem"},body2:{fontSize:"1rem"}},components:{MuiButton:{styleOverrides:{root:{textTransform:"none"},containedPrimary:{"&:hover, &:focus, &:active":{color:"#ffffff"}},outlinedPrimary:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiIconButton:{styleOverrides:{root:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiTooltip:{styleOverrides:{tooltip:{fontSize:"0.85rem"},popper:{zIndex:10002}}},MuiDialog:{styleOverrides:{root:{zIndex:10001}}}}}),Io="1px solid rgba(7, 21, 34, 0.1)",Ao=No;function Fo(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",l=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===l?"":" ")+t(r),l=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}const Lo=Kt;function jo(e){const{variants:t,...n}=e,r={variants:t,style:Tt(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Tt(e.style))}),r}const $o=qn();function Do(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Bo(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Wo(e){return e?(t,n)=>n[e]:null}function Ho(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Ho(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Bo(r.style,n):r.style;else{const{variants:e,...o}=r;t=n?Bo(Tt(o),n):o}return Vo(e,r.variants,[t],n)}return r?.isProcessed?n?Bo(Tt(r.style),n):r.style:n?Bo(Tt(r),n):r}function Vo(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Bo(Tt(a.style(o)),r):a.style(o))):n.push(r?Bo(Tt(a.style),r):a.style)}return n}function Uo(e={}){const{themeId:t,defaultTheme:n=$o,rootShouldForwardProp:r=Do,slotShouldForwardProp:o=Do}=e;function i(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,e=>e.filter(e=>e!==Vn));const{name:n,slot:a,skipVariantsResolver:l,skipSx:s,overridesResolver:u=Wo(Ko(a)),...c}=t,d=n&&n.startsWith("Mui")||a?"components":"custom",f=void 0!==l?l:a&&"Root"!==a&&"root"!==a||!1,p=s||!1;let h=Do;"Root"===a||"root"===a?h=r:a?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=Et(e,{shouldForwardProp:h,label:qo(n,a),...c}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return Ho(t,e,t.theme.modularCssLayers?d:void 0)};if(Nt(e)){const t=jo(e);return function(e){return t.variants?Ho(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Bo(t.style,d):t.style}}return e},y=(...t)=>{const r=[],o=t.map(g),a=[];if(r.push(i),n&&u&&a.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=Ho(e,r[t],e.theme.modularCssLayers?"theme":void 0);return u(e,o)}),n&&!f&&a.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?Vo(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(Vn),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(a.length).fill("");let i;i=[...t,...e,...n],i.raw=[...t,...e.raw,...n],r.unshift(i)}const l=[...r,...o,...a],s=m(...l);return e.muiName&&(s.muiName=e.muiName),s};return m.withConfig&&(y.withConfig=m.withConfig),y}}function qo(e,t){}function Ko(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const Yo=So();const Qo=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},Go=e=>Qo(e)&&"classes"!==e,Xo=Uo({themeId:er,defaultTheme:Yo,rootShouldForwardProp:Go}),Zo={theme:void 0};const Jo=function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(Zo.theme=r.theme,o=jo(e(Zo)),t=o,n=r.theme),o}};function ei(e){return dt(e)}const ti={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ni(e,t,n="Mui"){const r=ti[t];return r?`${n}-${r}`:`${S.generate(e)}-${t}`}function ri(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=ni(e,t,n)}),r}function oi(e){return ni("MuiSvgIcon",e)}ri("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ii=Xo("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Lo(n.color)}`],t[`fontSize${Lo(n.fontSize)}`]]}})(Jo(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),ai=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:p="0 0 24 24",...h}=n,m=f().isValidElement(r)&&"svg"===r.type,g={...n,color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:m},y={};u||(y.viewBox=p);const v=(e=>{const{color:t,fontSize:n,classes:r}=e;return Fo({root:["root","inherit"!==t&&`color${Lo(t)}`,`fontSize${Lo(n)}`]},oi,r)})(g);return(0,d().jsxs)(ii,{as:a,className:st(v.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t,...y,...h,...m&&r.props,ownerState:g,children:[m?r.props.children:r,c?(0,d().jsx)("title",{children:c}):null]})});ai.muiName="SvgIcon";const li=ai;function si(e,t){function n(t,n){return(0,d().jsx)(li,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=li.muiName,f().memo(f().forwardRef(n))}const ui=si((0,d().jsx)("path",{d:"M13 19V7.83l4.88 4.88c.39.39 1.03.39 1.42 0s.39-1.02 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L11 7.83V19c0 .55.45 1 1 1s1-.45 1-1"})),ci=si((0,d().jsx)("path",{d:"M21.29 4.12 16.7 8.71l1.59 1.59c.63.63.18 1.71-.71 1.71H13c-.55 0-1-.45-1-1v-4.6c0-.89 1.08-1.34 1.71-.71l1.59 1.59 4.59-4.59c.39-.39 1.02-.39 1.41 0 .38.4.38 1.03-.01 1.42M4.12 21.29l4.59-4.59 1.59 1.59c.63.63 1.71.18 1.71-.71V13c0-.55-.45-1-1-1h-4.6c-.89 0-1.34 1.08-.71 1.71l1.59 1.59-4.59 4.59c-.39.39-.39 1.02 0 1.41.4.38 1.03.38 1.42-.01"}));function di(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Wn;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Nt(n)?{...r,...n}:r}:{...r,...t},{...o,sx:i}}const fi=ri("MuiBox",["root"]),pi=So(),hi=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Et("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Vn),a=f().forwardRef(function(e,a){const l=Yn(n),{className:s,component:u="div",...c}=di(e);return(0,d().jsx)(i,{as:u,ref:a,className:st(s,o?o(r):r),theme:t&&l[t]||l,...c})});return a}({themeId:er,defaultTheme:pi,defaultClassName:fi.root,generateClassName:S.generate}),mi=hi;function gi(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}function yi(...e){const t=f().useRef(void 0),n=f().useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return f().useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}const vi=yi;const bi=function(e){const t=f().useRef(e);return pt(()=>{t.current=e}),f().useRef((...e)=>(0,t.current)(...e)).current},xi=bi,wi={};function ki(e,t){const n=f().useRef(wi);return n.current===wi&&(n.current=e(t)),n}class Si{static create(){return new Si}static use(){const e=ki(Si.create).current,[t,n]=f().useState(!1);return e.shouldMount=t,e.setShouldMount=n,f().useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function Ci(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function Ei(e,t){return Ei=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ei(e,t)}function Pi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ei(e,t)}const Ti=f().createContext(null);function _i(e,t){var n=Object.create(null);return e&&f().Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,f().isValidElement)(e)?t(e):e}(e)}),n}function Oi(e,t,n){return null!=n[t]?n[t]:e.props[t]}function zi(e,t,n){var r=_i(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if((0,f().isValidElement)(a)){var l=i in t,s=i in r,u=t[i],c=(0,f().isValidElement)(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&(0,f().isValidElement)(u)&&(o[i]=(0,f().cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:Oi(a,"exit",e),enter:Oi(a,"enter",e)})):o[i]=(0,f().cloneElement)(a,{in:!1}):o[i]=(0,f().cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:Oi(a,"exit",e),enter:Oi(a,"enter",e)})}}),o}var Ri=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Mi=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Pi(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,_i(n.children,function(e){return(0,f().cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Oi(e,"appear",n),enter:Oi(e,"enter",n),exit:Oi(e,"exit",n)})})):zi(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=_i(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=yt({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ci(e,["component","childFactory"]),o=this.state.contextValue,i=Ri(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?f().createElement(Ti.Provider,{value:o},i):f().createElement(Ti.Provider,{value:o},f().createElement(t,r,i))},t}(f().Component);Mi.propTypes={},Mi.defaultProps={component:"div",childFactory:function(e){return e}};const Ni=Mi,Ii=[];class Ai{static create(){return new Ai}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Fi(){const e=ki(Ai.create).current;var t;return t=e.disposeEffect,f().useEffect(t,Ii),e}const Li=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,p]=f().useState(!1),h=st(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},g=st(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||p(!0),f().useEffect(()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}},[s,l,u]),(0,d().jsx)("span",{className:h,style:m,children:(0,d().jsx)("span",{className:g})})};const ji=ri("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),$i=Rt`
    22  0% {
    33    transform: scale(0);
    … …  
    9999      `:null,bs="string"!=typeof ys?zt`
    100100        animation: ${ys} 1.4s ease-in-out infinite;
    101       `:null,xs=Xo("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Lo(n.color)}`]]}})(Jo(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:vs||{animation:`${gs} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),ws=Xo("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),ks=Xo("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Lo(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Jo(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:bs||{animation:`${ys} 1.4s ease-in-out infinite`}}]}))),Ss=Xo("circle",{name:"MuiCircularProgress",slot:"Track"})(Jo(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Cs=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,enableTrackSlot:a=!1,size:l=40,style:s,thickness:u=3.6,value:c=0,variant:f="indeterminate",...p}=n,h={...n,color:o,disableShrink:i,size:l,thickness:u,value:c,variant:f,enableTrackSlot:a},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return Fo({root:["root",n,`color${Lo(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Lo(n)}`,o&&"circleDisableShrink"]},hs,t)})(h),g={},y={},v={};if("determinate"===f){const e=2*Math.PI*((ms-u)/2);g.strokeDasharray=e.toFixed(3),v["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,d().jsx)(xs,{className:st(m.root,r),style:{width:l,height:l,...y,...s},ownerState:h,ref:t,role:"progressbar",...v,...p,children:(0,d().jsxs)(ws,{className:m.svg,ownerState:h,viewBox:"22 22 44 44",children:[a?(0,d().jsx)(Ss,{className:m.track,ownerState:h,cx:ms,cy:ms,r:(ms-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,(0,d().jsx)(ks,{className:m.circle,style:g,ownerState:h,cx:ms,cy:ms,r:(ms-u)/2,fill:"none",strokeWidth:u})]})})});function Es(e){return ni("MuiIconButton",e)}const Ps=ri("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Ts=Xo(Qi,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${Lo(n.color)}`],n.edge&&t[`edge${Lo(n.edge)}`],t[`size${Lo(n.size)}`]]}})(Jo(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Jo(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Ps.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Ps.loading}`]:{color:"transparent"}}))),_s=Xo("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Os=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:l=!1,disableFocusRipple:s=!1,size:u="medium",id:c,loading:f=null,loadingIndicator:p,...h}=n,m=es(c),g=p??(0,d().jsx)(Cs,{"aria-labelledby":m,color:"inherit",size:16}),y={...n,edge:r,color:a,disabled:l,disableFocusRipple:s,loading:f,loadingIndicator:g,size:u},v=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i,loading:a}=e;return Fo({root:["root",a&&"loading",n&&"disabled","default"!==r&&`color${Lo(r)}`,o&&`edge${Lo(o)}`,`size${Lo(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Es,t)})(y);return(0,d().jsxs)(Ts,{id:f?m:c,className:st(v.root,i),centerRipple:!0,focusRipple:!s,disabled:l||f,ref:t,...h,ownerState:y,children:["boolean"==typeof f&&(0,d().jsx)("span",{className:v.loadingWrapper,style:{display:"contents"},children:(0,d().jsx)(_s,{className:v.loadingIndicator,ownerState:y,children:f&&g})}),o]})});function zs(e,t){var n,r,o;const i=t&&e.length>1&&!(()=>{var e;return"undefined"!=typeof window&&(null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)").matches)})(),[a,l]=(0,f().useState)({index:0,length:i?0:null!==(r=null===(n=e[0])||void 0===n?void 0:n.length)&&void 0!==r?r:0,erasing:!1});(0,f().useEffect)(()=>{if(!i)return;const{state:t,wait:n}=function(e,t){var n;const r=null!==(n=t[e.index])&&void 0!==n?n:"";return!e.erasing&&e.length<r.length?{state:{...e,length:e.length+1},wait:55}:e.erasing?e.length>0?{state:{...e,length:e.length-1},wait:25}:{state:{index:(e.index+1)%t.length,length:0,erasing:!1},wait:350}:{state:{...e,erasing:!0},wait:2200}}(a,e),r=setTimeout(()=>{"hidden"!==document.visibilityState?l(t):l({...a})},n);return()=>clearTimeout(r)},[i,e,a]);const s=null!==(o=e[i?a.index:0])&&void 0!==o?o:"";return{text:i?s.slice(0,a.length):s,animated:i}}const Rs=Rt`50% { opacity: 0; }`;function Ms({placeholder:e,phrases:t,anchor:n,onOpen:r,onMinimize:o,minimizeLabel:i}){const{text:a,animated:l}=zs(t,!0);return(0,d().jsx)(mi,{sx:{position:"fixed",bottom:20,left:n.left,width:n.width,px:2,boxSizing:"border-box",display:"flex",justifyContent:"center",pointerEvents:"none",zIndex:9988},children:(0,d().jsxs)(mi,{sx:{position:"relative",pointerEvents:"auto",width:"100%",maxWidth:480,"& .rwp-minimize":{opacity:0,transition:"opacity 0.15s ease"},"&:hover .rwp-minimize, &:focus-within .rwp-minimize":{opacity:1},"@media (hover: none)":{"& .rwp-minimize":{opacity:1}}},children:[(0,d().jsxs)(Qi,{onClick:r,"aria-haspopup":"dialog","aria-label":e,sx:{width:"100%",justifyContent:"space-between",gap:2,pl:2.5,pr:1,py:1,borderRadius:3,border:Io,backgroundColor:"#FFFFFF",boxShadow:"0 8px 24px rgba(7, 21, 34, 0.08)",transition:"border-color 0.2s ease","&:hover, &:focus-visible":{borderColor:"primary.main"}},children:[(0,d().jsxs)(oa,{variant:"body1",color:"text.secondary",noWrap:!0,"aria-hidden":"true",sx:{minWidth:0},children:[a,l&&(0,d().jsx)(mi,{component:"span",sx:{display:"inline-block",width:"1.5px",height:"1.1em",ml:"1px",verticalAlign:"text-bottom",bgcolor:"primary.main",animation:`${Rs} 1s step-end infinite`}})]}),(0,d().jsx)(mi,{sx:{display:"grid",placeItems:"center",width:34,height:34,borderRadius:2,bgcolor:"primary.main",color:"#FFFFFF",flexShrink:0},children:(0,d().jsx)(ui,{fontSize:"small"})})]}),(0,d().jsx)(ps,{title:i,placement:"top",children:(0,d().jsx)(Os,{className:"rwp-minimize",size:"small","aria-label":i,onClick:o,sx:{position:"absolute",top:-10,right:-10,width:24,height:24,bgcolor:"#FFFFFF",border:Io,color:"text.secondary","&:hover":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(ci,{sx:{fontSize:14}})})})]})})}const Ns=si((0,d().jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M7 9h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1m6 5H7c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1m4-6H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1"})),Is=si((0,d().jsx)("path",{d:"M21 8.59V4c0-.55-.45-1-1-1h-4.59c-.89 0-1.34 1.08-.71 1.71l1.59 1.59-10 10-1.59-1.59c-.62-.63-1.7-.19-1.7.7V20c0 .55.45 1 1 1h4.59c.89 0 1.34-1.08.71-1.71L7.71 17.7l10-10 1.59 1.59c.62.63 1.7.19 1.7-.7"}));function As({label:e,restoreLabel:t,onOpen:n,onRestore:r}){return(0,d().jsxs)(mi,{sx:{position:"fixed",right:20,bottom:20,zIndex:9988,"& .rwp-restore":{opacity:0,transition:"opacity 0.15s ease"},"&:hover .rwp-restore, &:focus-within .rwp-restore":{opacity:1},"@media (hover: none)":{"& .rwp-restore":{opacity:1}}},children:[(0,d().jsx)(ps,{title:e,placement:"left",children:(0,d().jsx)(Qi,{onClick:n,"aria-haspopup":"dialog","aria-label":e,sx:{width:52,height:52,borderRadius:"50%",bgcolor:"primary.main",color:"#FFFFFF",boxShadow:"0 8px 24px rgba(7, 21, 34, 0.18)","&:hover, &:focus-visible":{bgcolor:"primary.dark"}},children:(0,d().jsx)(Ns,{})})}),(0,d().jsx)(ps,{title:t,placement:"left",children:(0,d().jsx)(Os,{className:"rwp-restore",size:"small","aria-label":t,onClick:r,sx:{position:"absolute",top:-10,left:-10,width:24,height:24,bgcolor:"#FFFFFF",border:Io,color:"text.secondary","&:hover":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(Is,{sx:{fontSize:14}})})})]})}const Fs=si((0,d().jsx)("path",{d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1M14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1"})),Ls=si((0,d().jsx)("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"})),js=si((0,d().jsx)("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"})),$s=si((0,d().jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"})),Ds=si((0,d().jsx)("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"})),Bs=Uo();function Ws({props:e,name:t,defaultTheme:n,themeId:r}){let o=Yn(n);return r&&(o=o[r]||o),function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?ut(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e})}const Hs=qn(),Vs=Bs("div",{name:"MuiStack",slot:"Root"});function Us(e){return Ws({props:e,name:"MuiStack",defaultTheme:Hs})}function qs(e,t){const n=f().Children.toArray(e).filter(Boolean);return n.reduce((e,r,o)=>(e.push(r),o<n.length-1&&e.push(f().cloneElement(t,{key:`separator-${o}`})),e),[])}const Ks=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Wt({theme:t},Ut({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const r=ln(t),o=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),i=Ut({values:e.direction,base:o}),a=Ut({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}});n=At(n,Wt({theme:t},a,(t,n)=>{return e.useFlexGap?{gap:sn(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:sn(r,t)}};var o}))}return n=function(e,...t){const n=Ht(e),r=[n,...t].reduce((e,t)=>At(e,t),{});return Vt(Object.keys(n),r)}(t.breakpoints,n),n};const Ys=function(e={}){const{createStyledComponent:t=Vs,useThemeProps:n=Us,componentName:r="MuiStack"}=e,o=t(Ks);return f().forwardRef(function(e,t){const i=di(n(e)),{component:a="div",direction:l="column",spacing:s=0,divider:u,children:c,className:f,useFlexGap:p=!1,...h}=i,m={direction:l,spacing:s,useFlexGap:p},g=Fo({root:["root"]},e=>ni(r,e),{});return(0,d().jsx)(o,{as:a,ownerState:m,ref:t,className:st(g.root,f),...h,children:u?qs(c,u):c})})}({createStyledComponent:Xo("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>ei({props:e,name:"MuiStack"})}),Qs=Ys;function Gs(e){return ni("MuiButton",e)}const Xs=ri("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);const Zs=f().createContext({});const Js=f().createContext(void 0),eu=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],tu=Xo(Qi,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lo(n.color)}`],t[`size${Lo(n.size)}`],t[`${n.variant}Size${Lo(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Xs.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&"start"===e.loadingPosition,style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Xs.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Xs.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Xs.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Xs.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xs.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Xs.loading}`]:{color:"transparent"}}}]}})),nu=Xo("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Lo(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...eu]})),ru=Xo("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Lo(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...eu]})),ou=Xo("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),iu=Xo("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),au=f().forwardRef(function(e,t){const n=f().useContext(Zs),r=f().useContext(Js),o=ei({props:ut(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,id:y,loading:v=null,loadingIndicator:b,loadingPosition:x="center",size:w="medium",startIcon:k,type:S,variant:C="text",...E}=o,P=es(y),T=b??(0,d().jsx)(Cs,{"aria-labelledby":P,color:"inherit",size:16}),_={...o,color:a,component:l,disabled:u,disableElevation:c,disableFocusRipple:p,fullWidth:g,loading:v,loadingIndicator:T,loadingPosition:x,size:w,type:S,variant:C},O=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:l,classes:s}=e,u=Fo({root:["root",a&&"loading",i,`${i}${Lo(t)}`,`size${Lo(o)}`,`${i}Size${Lo(o)}`,`color${Lo(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${Lo(l)}`],startIcon:["icon","startIcon",`iconSize${Lo(o)}`],endIcon:["icon","endIcon",`iconSize${Lo(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Gs,s);return{...s,...u}})(_),z=(k||v&&"start"===x)&&(0,d().jsx)(nu,{className:O.startIcon,ownerState:_,children:k||(0,d().jsx)(iu,{className:O.loadingIconPlaceholder,ownerState:_})}),R=(h||v&&"end"===x)&&(0,d().jsx)(ru,{className:O.endIcon,ownerState:_,children:h||(0,d().jsx)(iu,{className:O.loadingIconPlaceholder,ownerState:_})}),M=r||"",N="boolean"==typeof v?(0,d().jsx)("span",{className:O.loadingWrapper,style:{display:"contents"},children:v&&(0,d().jsx)(ou,{className:O.loadingIndicator,ownerState:_,children:T})}):null,{root:I,...A}=O;return(0,d().jsxs)(tu,{ownerState:_,className:st(n.className,O.root,s,M),component:l,disabled:u||v,focusRipple:!p,focusVisibleClassName:st(O.focusVisible,m),ref:t,type:S,id:v?P:y,...E,classes:A,children:[z,"end"!==x&&N,i,"end"===x&&N,R]})});function lu(e){return ni("MuiLink",e)}const su=ri("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),uu=({theme:e,ownerState:t})=>{const n=t.color;if("colorSpace"in e&&e.colorSpace){const r=Yt(e,`palette.${n}.main`)||Yt(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}const r=Yt(e,`palette.${n}.main`,!1)||Yt(e,`palette.${n}`,!1)||t.color,o=Yt(e,`palette.${n}.mainChannel`)||Yt(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:vr(r,.4)},cu={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},du=Xo(oa,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Lo(n.underline)}`],"button"===n.component&&t.button]}})(Jo(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${su.focusVisible}`]:{outline:"auto"}}}]}))),fu=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiLink"}),r=aa(),{className:o,color:i="primary",component:a="a",onBlur:l,onFocus:s,TypographyClasses:u,underline:c="always",variant:p="inherit",sx:h,...m}=n,[g,y]=f().useState(!1),v={...n,color:i,component:a,focusVisible:g,underline:c,variant:p},b=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return Fo({root:["root",`underline${Lo(o)}`,"button"===n&&"button",r&&"focusVisible"]},lu,t)})(v);return(0,d().jsx)(du,{color:i,className:st(b.root,o),classes:u,component:a,onBlur:e=>{gi(e.target)||y(!1),l&&l(e)},onFocus:e=>{gi(e.target)&&y(!0),s&&s(e)},ref:t,ownerState:v,variant:p,...m,sx:[...void 0===cu[i]?[{color:i}]:[],...Array.isArray(h)?h:[h]],style:{...m.style,..."always"===c&&"inherit"!==i&&!cu[i]&&{"--Link-underlineColor":uu({theme:r,ownerState:v})}}})}),pu=fu,hu=si((0,d().jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function mu(e){return ni("MuiChip",e)}const gu=ri("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),yu=Xo("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:l,variant:s}=n;return[{[`& .${gu.avatar}`]:t.avatar},{[`& .${gu.avatar}`]:t[`avatar${Lo(l)}`]},{[`& .${gu.avatar}`]:t[`avatarColor${Lo(r)}`]},{[`& .${gu.icon}`]:t.icon},{[`& .${gu.icon}`]:t[`icon${Lo(l)}`]},{[`& .${gu.icon}`]:t[`iconColor${Lo(o)}`]},{[`& .${gu.deleteIcon}`]:t.deleteIcon},{[`& .${gu.deleteIcon}`]:t[`deleteIcon${Lo(l)}`]},{[`& .${gu.deleteIcon}`]:t[`deleteIconColor${Lo(r)}`]},{[`& .${gu.deleteIcon}`]:t[`deleteIcon${Lo(s)}Color${Lo(r)}`]},t.root,t[`size${Lo(l)}`],t[`color${Lo(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${Lo(r)}`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${Lo(r)}`],t[s],t[`${s}${Lo(r)}`]]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${gu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${gu.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${gu.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${gu.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${gu.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${gu.icon}`]:{marginLeft:5,marginRight:-6},[`& .${gu.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${gu.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${gu.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Xi(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${gu.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${gu.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${gu.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${gu.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Xi(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${gu.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${gu.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Xi(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${gu.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${gu.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${gu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${gu.avatar}`]:{marginLeft:4},[`& .${gu.avatarSmall}`]:{marginLeft:2},[`& .${gu.icon}`]:{marginLeft:4},[`& .${gu.iconSmall}`]:{marginLeft:2},[`& .${gu.deleteIcon}`]:{marginRight:5},[`& .${gu.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${gu.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${gu.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${gu.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),vu=Xo("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Lo(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function bu(e){return"Backspace"===e.key||"Delete"===e.key}const xu=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiChip"}),{avatar:r,className:o,clickable:i,color:a="default",component:l,deleteIcon:s,disabled:u=!1,icon:c,label:p,onClick:h,onDelete:m,onKeyDown:g,onKeyUp:y,size:v="medium",variant:b="filled",tabIndex:x,skipFocusWhenDisabled:w=!1,slots:k={},slotProps:S={},...C}=n,E=f().useRef(null),P=vi(E,t),T=e=>{e.stopPropagation(),m(e)},_=!(!1===i||!h)||i,O=_||m?Qi:l||"div",z={...n,component:O,disabled:u,size:v,color:a,iconColor:f().isValidElement(c)&&c.props.color||a,onDelete:!!m,clickable:_,variant:b},R=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:l,variant:s}=e;return Fo({root:["root",s,n&&"disabled",`size${Lo(r)}`,`color${Lo(o)}`,l&&"clickable",l&&`clickableColor${Lo(o)}`,a&&"deletable",a&&`deletableColor${Lo(o)}`,`${s}${Lo(o)}`],label:["label",`label${Lo(r)}`],avatar:["avatar",`avatar${Lo(r)}`,`avatarColor${Lo(o)}`],icon:["icon",`icon${Lo(r)}`,`iconColor${Lo(i)}`],deleteIcon:["deleteIcon",`deleteIcon${Lo(r)}`,`deleteIconColor${Lo(o)}`,`deleteIcon${Lo(s)}Color${Lo(o)}`]},mu,t)})(z),M=O===Qi?{component:l||"div",focusVisibleClassName:R.focusVisible,...m&&{disableRipple:!0}}:{};let N=null;m&&(N=s&&f().isValidElement(s)?f().cloneElement(s,{className:st(s.props.className,R.deleteIcon),onClick:T}):(0,d().jsx)(hu,{className:R.deleteIcon,onClick:T}));let I=null;r&&f().isValidElement(r)&&(I=f().cloneElement(r,{className:st(R.avatar,r.props.className)}));let A=null;c&&f().isValidElement(c)&&(A=f().cloneElement(c,{className:st(R.icon,c.props.className)}));const F={slots:k,slotProps:S},[L,j]=ns("root",{elementType:yu,externalForwardedProps:{...F,...C},ownerState:z,shouldForwardComponentProp:!0,ref:P,className:st(R.root,o),additionalProps:{disabled:!(!_||!u)||void 0,tabIndex:w&&u?-1:x,...M},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),h?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&bu(e)&&e.preventDefault(),g&&g(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&m&&bu(e)&&m(e),y&&y(e)})(t)}})}),[$,D]=ns("label",{elementType:vu,externalForwardedProps:F,ownerState:z,className:R.label});return(0,d().jsxs)(L,{as:O,...j,children:[I||A,(0,d().jsx)($,{...D,children:p}),N]})});function wu(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function ku(e){return Ea(e).defaultView||window}function Su(e){return parseInt(e,10)||0}const Cu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Eu(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Pu=f().forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a,...l}=e,{current:s}=f().useRef(null!=a),u=f().useRef(null),c=yi(t,u),p=f().useRef(null),h=f().useRef(null),m=f().useCallback(()=>{const t=u.current,n=h.current;if(!t||!n)return;const i=ku(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,l=Su(i.paddingBottom)+Su(i.paddingTop),s=Su(i.borderBottomWidth)+Su(i.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflowing:Math.abs(f-c)<=1}},[r,o,e.placeholder]),g=bi(()=>{const e=u.current,t=m();if(!e||!t||Eu(t))return!1;const n=t.outerHeightStyle;return null!=p.current&&p.current!==n}),y=f().useCallback(()=>{const e=u.current,t=m();if(!e||!t||Eu(t))return;const n=t.outerHeightStyle;p.current!==n&&(p.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[m]),v=f().useRef(-1);pt(()=>{const e=wu(y),t=u?.current;if(!t)return;const n=ku(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{g()&&(r.unobserve(t),cancelAnimationFrame(v.current),y(),v.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(v.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[m,y,g]),pt(()=>{y()});return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)("textarea",{value:a,onChange:e=>{s||y();const t=e.target,r=t.value.length,o=t.value.endsWith("\n"),i=t.selectionStart===r;o&&i&&t.setSelectionRange(r,r),n&&n(e)},ref:c,rows:o,style:i,...l}),(0,d().jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:{...Cu,...i,paddingTop:0,paddingBottom:0}})]})}),Tu=Pu;function _u({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}const Ou=f().createContext(void 0);function zu(){return f().useContext(Ou)}const Ru=pt,Mu=Ea;const Nu=function(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Iu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Au(e,t=!1){return e&&(Iu(e.value)&&""!==e.value||t&&Iu(e.defaultValue)&&""!==e.defaultValue)}function Fu(e){return ni("MuiInputBase",e)}const Lu=ri("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ju;const $u="mui-auto-fill",Du="mui-auto-fill-cancel",Bu=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Lo(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Wu=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Hu=Xo("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Bu})(Jo(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Lu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Vu=Xo("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Wu})(Jo(({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Lu.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Lu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:Du,animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:$u}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Uu=(qu={[`@keyframes ${$u}`]:{from:{animationName:$u}},[`@keyframes ${Du}`]:{from:{animationName:Du}}},function(e){return(0,d().jsx)(Gi,{styles:"function"==typeof qu?t=>qu({theme:t,...e}):qu})});var qu;const Ku=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:o,autoFocus:i,className:a,color:l,components:s={},componentsProps:u={},defaultValue:c,disabled:p,disableInjectingGlobalStyles:h,endAdornment:m,error:g,fullWidth:y=!1,id:v,inputComponent:b="input",inputProps:x={},inputRef:w,margin:k,maxRows:S,minRows:C,multiline:E=!1,name:P,onBlur:T,onChange:_,onClick:O,onFocus:z,onKeyDown:R,onKeyUp:M,placeholder:N,readOnly:I,renderSuffix:A,rows:F,size:L,slotProps:j={},slots:$={},startAdornment:D,type:B="text",value:W,...H}=n,V=null!=x.value?x.value:W,{current:U}=f().useRef(null!=V),q=f().useRef(),K=f().useCallback(e=>{0},[]),Y=vi(q,w,x.ref,K),[Q,G]=f().useState(!1),X=zu();const Z=_u({props:n,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Z.focused=X?X.focused:Q,f().useEffect(()=>{!X&&p&&Q&&(G(!1),T&&T())},[X,p,Q,T]);const J=X&&X.onFilled,ee=X&&X.onEmpty,te=f().useCallback(e=>{Au(e)?J&&J():ee&&ee()},[J,ee]);Ru(()=>{U&&te({value:V})},[V,te,U]),Ru(()=>{if(!i)return;const e=q.current;if(!e)return;const t=Mu(e),n=Nu(t),r=null==n||n===t.body||n===t.documentElement;e===n?X&&X.onFocus?X.onFocus():G(!0):r&&e.focus()},[i]);f().useEffect(()=>{te(q.current)},[]);let ne=b,re=x;E&&"input"===ne&&(re=F?{type:void 0,minRows:F,maxRows:F,...re}:{type:void 0,maxRows:S,minRows:C,...re},ne=Tu);f().useEffect(()=>{X&&X.setAdornedStart(Boolean(D))},[X,D]);const oe={...n,color:Z.color||"primary",disabled:Z.disabled,endAdornment:m,error:Z.error,focused:Z.focused,formControl:X,fullWidth:y,hiddenLabel:Z.hiddenLabel,multiline:E,size:Z.size,startAdornment:D,type:B},ie=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e;return Fo({root:["root",`color${Lo(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",f&&"medium"!==f&&`size${Lo(f)}`,c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Fu,t)})(oe),ae=$.root||s.Root||Hu,le=j.root||u.root||{},se=$.input||s.Input||Vu;return re={...re,...j.input??u.input},(0,d().jsxs)(f().Fragment,{children:[!h&&"function"==typeof Uu&&(ju||(ju=(0,d().jsx)(Uu,{}))),(0,d().jsxs)(ae,{...le,ref:t,onClick:e=>{q.current&&e.currentTarget===e.target&&q.current.focus(),O&&O(e)},...H,...!jl(ae)&&{ownerState:{...oe,...le.ownerState}},className:st(ie.root,le.className,a,I&&"MuiInputBase-readOnly"),children:[D,(0,d().jsx)(Ou.Provider,{value:null,children:(0,d().jsx)(se,{"aria-invalid":Z.error,"aria-describedby":r,autoComplete:o,autoFocus:i,defaultValue:c,disabled:Z.disabled,id:v,onAnimationStart:e=>{te(e.animationName===Du?q.current:{value:"x"})},name:P,placeholder:N,readOnly:I,required:Z.required,rows:F,value:V,onKeyDown:R,onKeyUp:M,type:B,...re,...!jl(se)&&{as:ne,ownerState:{...oe,...re.ownerState}},ref:Y,className:st(ie.input,re.className,I&&"MuiInputBase-readOnly"),onBlur:e=>{T&&T(e),x.onBlur&&x.onBlur(e),X&&X.onBlur?X.onBlur(e):G(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||q.current;if(null==t)throw new Error(qt(1));te({value:t.value})}x.onChange&&x.onChange(e,...t),_&&_(e,...t)},onFocus:e=>{z&&z(e),x.onFocus&&x.onFocus(e),X&&X.onFocus?X.onFocus(e):G(!0)}})}),m,A?A({...Z,startAdornment:D}):null]})]})}),Yu=Ku;const Qu=function(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;const n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1},Gu="data-mui-focusable";const Xu=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Zu(e){const t=[],n=[];return Array.from(e.querySelectorAll(Xu)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Ju(){return!0}const ec=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Zu,isEnabled:a=Ju,open:l}=e,s=f().useRef(!1),u=f().useRef(null),c=f().useRef(null),p=f().useRef(null),h=f().useRef(null),m=f().useRef(!1),g=f().useRef(null),y=yi(ia(t),g),v=f().useRef(null);f().useEffect(()=>{l&&g.current&&(m.current=!n)},[n,l]),f().useEffect(()=>{if(s.current=!1,!l||!g.current)return;const e=Ea(g.current),t=Nu(e),n=((r=g.current)?r.hasAttribute(Gu)?r:r.querySelector(`[${Gu}]`):null)??g.current;var r;return Qu(g.current,t)||(n.hasAttribute("tabIndex")||n.setAttribute("tabIndex","-1"),m.current&&n.focus()),()=>{o||(p.current&&p.current.focus&&(s.current=!0,p.current.focus()),p.current=null)}},[l]),f().useEffect(()=>{if(!l||!g.current)return;const e=Ea(g.current),t=t=>{if(v.current=t,r||!a()||"Tab"!==t.key)return;Nu(e)===g.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=g.current;if(null===t)return;const n=Nu(e);if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(Qu(t,n))return;if(r&&n!==u.current&&n!==c.current)return;if(n!==h.current)h.current=null;else if(null!==h.current)return;if(!m.current)return;let o=[];if(n!==u.current&&n!==c.current||(o=i(g.current)),o.length>0){const e=Boolean(v.current?.shiftKey&&"Tab"===v.current?.key),t=o[0],n=o[o.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{const t=Nu(e);t&&"BODY"===t.tagName&&n()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,o,a,l,i]);const b=e=>{null===p.current&&(p.current=e.relatedTarget),m.current=!0};return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),f().cloneElement(t,{ref:y,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),m.current=!0,h.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,d().jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})},tc={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},nc={opacity:0,visibility:"hidden"},rc=f().forwardRef(function(e,t){const n=aa(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:p,onExit:h,onExited:m,onExiting:g,style:y,timeout:v=r,...b}=e,x=f().useRef(null),w=vi(x,ia(a),t),k=ya(x,p),S=ya(x,(e,t)=>{ga(e);const r=ba({style:y,timeout:v,easing:l},{mode:"enter"});e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)}),C=ya(x,c),E=ya(x,g),P=ya(x,e=>{const t=ba({style:y,timeout:v,easing:l},{mode:"exit"});e.style.transition=n.transitions.create("opacity",t),h&&h(e)}),T=ya(x,e=>{e.style.transition="",m&&m(e)});return(0,d().jsx)(ma,{appear:i,in:s,nodeRef:x,onEnter:S,onEntered:C,onEntering:k,onExit:P,onExited:T,onExiting:E,addEndListener:e=>{o&&o(x.current,e)},timeout:v,...b,children:(e,{ownerState:t,...n})=>{const r=va(e,s,tc,nc,y,a.props.style);return f().cloneElement(a,{style:r,ref:w,...n})}})}),oc=rc;function ic(e){return ni("MuiBackdrop",e)}ri("MuiBackdrop",["root","invisible"]);const ac=Xo("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),lc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiBackdrop"}),{children:r,className:o,component:i="div",invisible:a=!1,open:l,components:s={},componentsProps:u={},slotProps:c={},slots:f={},TransitionComponent:p,transitionDuration:h,...m}=n,g={...n,component:i,invisible:a},y=(e=>{const{classes:t,invisible:n}=e;return Fo({root:["root",n&&"invisible"]},ic,t)})(g),v={component:i,slots:{transition:p,root:s.Root,...f},slotProps:{...u,...c}},[b,x]=ns("root",{elementType:ac,externalForwardedProps:v,className:st(y.root,o),ownerState:g}),[w,k]=ns("transition",{elementType:oc,externalForwardedProps:v,ownerState:g});return(0,d().jsx)(w,{in:l,timeout:h,...m,...k,children:(0,d().jsx)(b,{"aria-hidden":!0,...x,ref:t,children:r})})});function sc(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function uc(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function cc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function dc(e){return parseFloat(ku(e).getComputedStyle(e).paddingRight)||0}function fc(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,e=>{const t=!i.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&cc(e,o)})}function pc(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function hc(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Ea(e);return t.body===e?ku(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=uc(ku(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${dc(r)+e}px`;const t=Ea(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${dc(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=Ea(r).body;else{const t=r.parentElement,n=ku(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}const mc=()=>{},gc=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&cc(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);fc(t,e.mount,e.modalRef,r,!0);const o=pc(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=pc(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||(r.restore=hc(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=pc(this.containers,t=>t.modals.includes(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&cc(e.modalRef,t),fc(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&cc(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const yc=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:l,onClose:s,open:u,rootRef:c}=e,d=f().useRef({}),p=f().useRef(null),h=f().useRef(null),m=yi(h,c),[g,y]=f().useState(!u),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const x=()=>(d.current.modalRef=h.current,d.current.mount=p.current,d.current),w=()=>{gc.mount(x(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},k=bi(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Ea(p.current).body;gc.add(x(),e),h.current&&w()}),S=()=>gc.isTopModal(x()),C=bi(e=>{p.current=e,e&&(u&&S()?w():h.current&&cc(h.current,b))}),E=f().useCallback(()=>{gc.remove(x(),b)},[b]);f().useEffect(()=>()=>{E()},[E]),f().useEffect(()=>{u?k():v&&o||E()},[u,E,v,o,k]);const P=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&S()&&(n||(t.stopPropagation(),s&&s(t,"escapeKeyDown")))},T=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&s&&s(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Dl(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:P(r),ref:m}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:T(t),open:u}},getTransitionProps:()=>({onEnter:sc(()=>{y(!1),i&&i()},l?.props.onEnter??mc),onExited:sc(()=>{y(!0),a&&a(),o&&E()},l?.props.onExited??mc)}),rootRef:m,portalRef:C,isTopModal:S,exited:g,hasTransition:v}};function vc(e){return ni("MuiModal",e)}ri("MuiModal",["root","hidden","backdrop"]);const bc=Xo("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Jo(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),xc=Xo(lc,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),wc=f().forwardRef(function(e,t){const n=ei({name:"MuiModal",props:e}),{BackdropComponent:r=xc,BackdropProps:o,classes:i,className:a,closeAfterTransition:l=!1,children:s,container:u,component:c,components:p={},componentsProps:h={},disableAutoFocus:m=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:y=!1,disablePortal:v=!1,disableRestoreFocus:b=!1,disableScrollLock:x=!1,hideBackdrop:w=!1,keepMounted:k=!1,onClose:S,onTransitionEnter:C,onTransitionExited:E,open:P,slotProps:T={},slots:_={},theme:O,...z}=n,R={...n,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:g,disableEscapeKeyDown:y,disablePortal:v,disableRestoreFocus:b,disableScrollLock:x,hideBackdrop:w,keepMounted:k},{getRootProps:M,getBackdropProps:N,getTransitionProps:I,portalRef:A,isTopModal:F,exited:L,hasTransition:j}=yc({...R,rootRef:t}),$={...R,exited:L},D=(e=>{const{open:t,exited:n,classes:r}=e;return Fo({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},vc,r)})($),B={};if(void 0===s.props.tabIndex&&(B.tabIndex="-1"),j){const{onEnter:e,onExited:t}=I();B.onEnter=e,B.onExited=t}const W={slots:{root:p.Root,backdrop:p.Backdrop,..._},slotProps:{...h,...T}},[H,V]=ns("root",{ref:t,elementType:bc,externalForwardedProps:{...W,...z,component:c},getSlotProps:M,ownerState:$,className:st(a,D?.root,!$.open&&$.exited&&D?.hidden)}),[U,q]=ns("backdrop",{ref:o?.ref,elementType:r,externalForwardedProps:W,shouldForwardComponentProp:!0,additionalProps:o,getSlotProps:e=>N({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:st(o?.className,D?.backdrop),ownerState:$});return k||P||j&&!L?(0,d().jsx)(ql,{ref:A,container:u,disablePortal:v,children:(0,d().jsxs)(H,{...V,children:[!w&&r?(0,d().jsx)(U,{...q}):null,(0,d().jsx)(ec,{disableEnforceFocus:g,disableAutoFocus:m,disableRestoreFocus:b,isEnabled:F,open:P,children:f().cloneElement(s,B)})]})}):null}),kc=wc;function Sc(e){return ni("MuiPaper",e)}ri("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Cc=Xo("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(Jo(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ec=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiPaper"}),r=aa(),{className:o,component:i="div",elevation:a=1,square:l=!1,variant:s="elevation",...u}=n,c={...n,component:i,elevation:a,square:l,variant:s},f=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Fo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Sc,o)})(c);return(0,d().jsx)(Cc,{as:i,ownerState:c,className:st(f.root,o),ref:t,...u,style:{..."elevation"===s&&{"--Paper-shadow":(r.vars||r).shadows[a],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[a]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${vr("#fff",so(a))}, ${vr("#fff",so(a))})`}},...u.style}})}),Pc=Ec;function Tc(e){return ni("MuiDialog",e)}const _c=ri("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);const Oc=f().createContext({}),zc=Xo(lc,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),Rc=Xo(kc,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),Mc=Xo("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Lo(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Nc=Xo(Pc,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Lo(n.scroll)}`],t[`paperWidth${Lo(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Jo(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${_c.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${_c.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${_c.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Ic=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialog"}),r=aa(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:s,BackdropProps:u,children:c,className:p,disableEscapeKeyDown:h=!1,fullScreen:m=!1,fullWidth:g=!1,maxWidth:y="sm",onClick:v,onClose:b,open:x,PaperComponent:w=Pc,PaperProps:k={},role:S="dialog",scroll:C="paper",slots:E={},slotProps:P={},TransitionComponent:T=oc,transitionDuration:_=o,TransitionProps:O,...z}=n,R={...n,disableEscapeKeyDown:h,fullScreen:m,fullWidth:g,maxWidth:y,scroll:C},M=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e;return Fo({root:["root"],backdrop:["backdrop"],container:["container",`scroll${Lo(n)}`],paper:["paper",`paperScroll${Lo(n)}`,`paperWidth${Lo(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]},Tc,t)})(R),N=f().useRef(),I=gt(a),A=f().useMemo(()=>({titleId:I}),[I]),F={slots:{transition:T,...E},slotProps:{transition:O,paper:k,backdrop:u,...P}},[L,j]=ns("root",{elementType:Rc,shouldForwardComponentProp:!0,externalForwardedProps:F,ownerState:R,className:st(M.root,p),ref:t}),[$,D]=ns("backdrop",{elementType:zc,shouldForwardComponentProp:!0,externalForwardedProps:F,ownerState:R,className:M.backdrop}),[B,W]=ns("paper",{elementType:Nc,shouldForwardComponentProp:!0,externalForwardedProps:F,ownerState:R,className:M.paper,additionalProps:{elevation:24,role:S,"aria-describedby":i,"aria-labelledby":I,"aria-modal":l,tabIndex:-1,[Gu]:""}}),[H,V]=ns("container",{elementType:Mc,externalForwardedProps:F,ownerState:R,className:M.container}),[U,q]=ns("transition",{elementType:oc,externalForwardedProps:F,ownerState:R,additionalProps:{appear:!0,in:x,timeout:_,role:"presentation"}});return(0,d().jsx)(L,{closeAfterTransition:!0,slots:{backdrop:$},slotProps:{backdrop:{transitionDuration:_,as:s,...D}},disableEscapeKeyDown:h,onClose:b,open:x,onClick:e=>{v&&v(e),N.current&&(N.current=null,b&&b(e,"backdropClick"))},...j,...z,children:(0,d().jsx)(U,{...q,children:(0,d().jsx)(H,{onMouseDown:e=>{N.current=e.target===e.currentTarget},...V,children:(0,d().jsx)(B,{as:w,...W,children:(0,d().jsx)(Oc.Provider,{value:A,children:c})})})})})}),Ac=Ic;function Fc(e){return ni("MuiDialogTitle",e)}const Lc=ri("MuiDialogTitle",["root"]),jc=Xo(oa,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),$c=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogTitle"}),{className:r,id:o,...i}=n,a=n,l=(e=>{const{classes:t}=e;return Fo({root:["root"]},Fc,t)})(a),{titleId:s=o}=f().useContext(Oc);return(0,d().jsx)(jc,{component:"h2",className:st(l.root,r),ownerState:a,ref:t,variant:"h6",id:o??s,...i})});function Dc(e){return ni("MuiDialogContent",e)}ri("MuiDialogContent",["root","dividers"]);const Bc=Xo("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Jo(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${Lc.root} + &`]:{paddingTop:0}}}]}))),Wc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogContent"}),{className:r,dividers:o=!1,...i}=n,a={...n,dividers:o},l=(e=>{const{classes:t,dividers:n}=e;return Fo({root:["root",n&&"dividers"]},Dc,t)})(a);return(0,d().jsx)(Bc,{className:st(l.root,r),ownerState:a,ref:t,...i})});function Hc(e){return ni("MuiDialogContentText",e)}ri("MuiDialogContentText",["root"]);const Vc=Xo(oa,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),Uc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogContentText"}),{children:r,className:o,...i}=n,a=(e=>{const{classes:t}=e,n=Fo({root:["root"]},Hc,t);return{...t,...n}})(i);return(0,d().jsx)(Vc,{component:"p",variant:"body1",color:"textSecondary",ref:t,ownerState:i,className:st(a.root,o),...n,classes:a})});function qc(e){return ni("MuiDialogActions",e)}ri("MuiDialogActions",["root","spacing"]);const Kc=Xo("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Yc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:o=!1,...i}=n,a={...n,disableSpacing:o},l=(e=>{const{classes:t,disableSpacing:n}=e;return Fo({root:["root",!n&&"spacing"]},qc,t)})(a);return(0,d().jsx)(Kc,{className:st(l.root,r),ownerState:a,ref:t,...i})});const Qc={action:function(e){return"active"===e.state&&e.open_url?{href:e.open_url,label:Mo.open,variant:"contained",install:!1}:"inactive"===e.state&&e.activate_url?{href:e.activate_url,label:Mo.activate,variant:"outlined",install:!1}:"missing"===e.state&&e.install_url&&!e.coming_soon?{href:e.install_url,label:Mo.install,variant:"outlined",install:!0}:null},group:function(e){return{installed:e.filter(e=>"missing"!==e.state),more:e.filter(e=>"missing"===e.state)}},summary:function(e,t){const n=t.filter(e=>"active"===e.state).length,r=t.filter(e=>"missing"!==e.state).length;return e.replace("%1$d",String(n)).replace("%2$d",String(r))},settingUrl:function(e,t){if("active"!==e.state||!e.open_url)return"";const n=e.open_url.includes("?")?"&":"?";return`${e.open_url}${n}path=${encodeURIComponent(t)}&spotlight=1`}};function Gc(){}function Xc(){}const Zc=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Jc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ed={};function td(e,t){return((t||ed).jsx?Jc:Zc).test(e)}const nd=/[ \t\n\f\r]/g;function rd(e){return""===e.replace(nd,"")}class od{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function id(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new od(n,r,t)}function ad(e){return e.toLowerCase()}od.prototype.normal={},od.prototype.property={},od.prototype.space=void 0;class ld{constructor(e,t){this.attribute=t,this.property=e}}ld.prototype.attribute="",ld.prototype.booleanish=!1,ld.prototype.boolean=!1,ld.prototype.commaOrSpaceSeparated=!1,ld.prototype.commaSeparated=!1,ld.prototype.defined=!1,ld.prototype.mustUseProperty=!1,ld.prototype.number=!1,ld.prototype.overloadedBoolean=!1,ld.prototype.property="",ld.prototype.spaceSeparated=!1,ld.prototype.space=void 0;let sd=0;const ud=gd(),cd=gd(),dd=gd(),fd=gd(),pd=gd(),hd=gd(),md=gd();function gd(){return 2**++sd}const yd=Object.keys(x);class vd extends ld{constructor(e,t,n,r){let o=-1;if(super(e,t),bd(this,"space",r),"number"==typeof n)for(;++o<yd.length;){const e=yd[o];bd(this,yd[o],(n&x[e])===x[e])}}}function bd(e,t,n){n&&(e[t]=n)}function xd(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new vd(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ad(r)]=r,n[ad(i.attribute)]=r}return new od(t,n,e.space)}vd.prototype.defined=!0;const wd=xd({properties:{ariaActiveDescendant:null,ariaAtomic:cd,ariaAutoComplete:null,ariaBusy:cd,ariaChecked:cd,ariaColCount:fd,ariaColIndex:fd,ariaColSpan:fd,ariaControls:pd,ariaCurrent:null,ariaDescribedBy:pd,ariaDetails:null,ariaDisabled:cd,ariaDropEffect:pd,ariaErrorMessage:null,ariaExpanded:cd,ariaFlowTo:pd,ariaGrabbed:cd,ariaHasPopup:null,ariaHidden:cd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pd,ariaLevel:fd,ariaLive:null,ariaModal:cd,ariaMultiLine:cd,ariaMultiSelectable:cd,ariaOrientation:null,ariaOwns:pd,ariaPlaceholder:null,ariaPosInSet:fd,ariaPressed:cd,ariaReadOnly:cd,ariaRelevant:null,ariaRequired:cd,ariaRoleDescription:pd,ariaRowCount:fd,ariaRowIndex:fd,ariaRowSpan:fd,ariaSelected:cd,ariaSetSize:fd,ariaSort:null,ariaValueMax:fd,ariaValueMin:fd,ariaValueNow:fd,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function kd(e,t){return t in e?e[t]:t}function Sd(e,t){return kd(e,t.toLowerCase())}const Cd=xd({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hd,acceptCharset:pd,accessKey:pd,action:null,allow:null,allowFullScreen:ud,allowPaymentRequest:ud,allowUserMedia:ud,alpha:ud,alt:null,as:null,async:ud,autoCapitalize:null,autoComplete:pd,autoFocus:ud,autoPlay:ud,blocking:pd,capture:null,charSet:null,checked:ud,cite:null,className:pd,closedBy:null,colorSpace:null,cols:fd,colSpan:fd,command:null,commandFor:null,content:null,contentEditable:cd,controls:ud,controlsList:pd,coords:fd|hd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ud,defer:ud,dir:null,dirName:null,disabled:ud,download:dd,draggable:cd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ud,formTarget:null,headers:pd,height:fd,hidden:dd,high:fd,href:null,hrefLang:null,htmlFor:pd,httpEquiv:pd,id:null,imageSizes:null,imageSrcSet:null,inert:ud,inputMode:null,integrity:null,is:null,isMap:ud,itemId:null,itemProp:pd,itemRef:pd,itemScope:ud,itemType:pd,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ud,low:fd,manifest:null,max:null,maxLength:fd,media:null,method:null,min:null,minLength:fd,multiple:ud,muted:ud,name:null,nonce:null,noModule:ud,noValidate:ud,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ud,optimum:fd,pattern:null,ping:pd,placeholder:null,playsInline:ud,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ud,referrerPolicy:null,rel:pd,required:ud,reversed:ud,rows:fd,rowSpan:fd,sandbox:pd,scope:null,scoped:ud,seamless:ud,selected:ud,shadowRootClonable:ud,shadowRootCustomElementRegistry:ud,shadowRootDelegatesFocus:ud,shadowRootMode:null,shadowRootSerializable:ud,shape:null,size:fd,sizes:null,slot:null,span:fd,spellCheck:cd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fd,step:null,style:null,tabIndex:fd,target:null,title:null,translate:null,type:null,typeMustMatch:ud,useMap:null,value:cd,width:fd,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pd,axis:null,background:null,bgColor:null,border:fd,borderColor:null,bottomMargin:fd,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ud,declare:ud,event:null,face:null,frame:null,frameBorder:null,hSpace:fd,leftMargin:fd,link:null,longDesc:null,lowSrc:null,marginHeight:fd,marginWidth:fd,noResize:ud,noHref:ud,noShade:ud,noWrap:ud,object:null,profile:null,prompt:null,rev:null,rightMargin:fd,rules:null,scheme:null,scrolling:cd,standby:null,summary:null,text:null,topMargin:fd,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fd,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:ud,disablePictureInPicture:ud,disableRemotePlayback:ud,exportParts:hd,part:pd,prefix:null,property:null,results:fd,security:null,unselectable:null},space:"html",transform:Sd}),Ed=xd({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:md,accentHeight:fd,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fd,amplitude:fd,arabicForm:null,ascent:fd,attributeName:null,attributeType:null,azimuth:fd,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fd,by:null,calcMode:null,capHeight:fd,className:pd,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fd,diffuseConstant:fd,direction:null,display:null,dur:null,divisor:fd,dominantBaseline:null,download:ud,dx:null,dy:null,edgeMode:null,editable:null,elevation:fd,enableBackground:null,end:null,event:null,exponent:fd,externalResourcesRequired:null,fill:null,fillOpacity:fd,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hd,g2:hd,glyphName:hd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fd,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fd,horizOriginX:fd,horizOriginY:fd,id:null,ideographic:fd,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fd,k:fd,k1:fd,k2:fd,k3:fd,k4:fd,kernelMatrix:md,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fd,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fd,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fd,overlineThickness:fd,paintOrder:null,panose1:null,path:null,pathLength:fd,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pd,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fd,pointsAtY:fd,pointsAtZ:fd,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:md,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:md,rev:md,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:md,requiredFeatures:md,requiredFonts:md,requiredFormats:md,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fd,specularExponent:fd,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fd,strikethroughThickness:fd,string:null,stroke:null,strokeDashArray:md,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fd,strokeOpacity:fd,strokeWidth:null,style:null,surfaceScale:fd,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:md,tabIndex:fd,tableValues:null,target:null,targetX:fd,targetY:fd,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:md,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:fd,underlineThickness:fd,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fd,values:null,vAlphabetic:fd,vMathematical:fd,vectorEffect:null,vHanging:fd,vIdeographic:fd,version:null,vertAdvY:fd,vertOriginX:fd,vertOriginY:fd,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fd,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:kd}),Pd=xd({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Td=xd({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Sd}),_d=xd({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Od=id([wd,Cd,Pd,Td,_d],"html"),zd=id([wd,Ed,Pd,Td,_d],"svg"),Rd=/[A-Z]/g,Md=/-[a-z]/g,Nd=/^data[-\w.:]+$/i;function Id(e){return"-"+e.toLowerCase()}function Ad(e){return e.charAt(1).toUpperCase()}const Fd={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};y();const Ld=$d("end"),jd=$d("start");function $d(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Dd(e){return e&&"object"==typeof e?"position"in e||"type"in e?Wd(e.position):"start"in e||"end"in e?Wd(e):"line"in e||"column"in e?Bd(e):"":""}function Bd(e){return Hd(e&&e.line)+":"+Hd(e&&e.column)}function Wd(e){return Bd(e&&e.start)+"-"+Bd(e&&e.end)}function Hd(e){return e&&"number"==typeof e?e:1}class Vd extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=Dd(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Vd.prototype.file="",Vd.prototype.name="",Vd.prototype.reason="",Vd.prototype.message="",Vd.prototype.stack="",Vd.prototype.column=void 0,Vd.prototype.line=void 0,Vd.prototype.ancestors=void 0,Vd.prototype.cause=void 0,Vd.prototype.fatal=void 0,Vd.prototype.place=void 0,Vd.prototype.ruleId=void 0,Vd.prototype.source=void 0;const Ud={}.hasOwnProperty,qd=new Map,Kd=/[A-Z]/g,Yd=new Set(["table","tbody","thead","tfoot","tr"]),Qd=new Set(["td","th"]),Gd="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Xd(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const a=Array.isArray(o.children),l=jd(n);return t(r,o,i,a,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?zd:Od,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=Zd(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function Zd(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=zd,e.schema=o);e.ancestors.push(t);const i=rf(e,t.tagName,!1),a=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&Ud.call(t.properties,o)){const i=nf(e,o,t.properties[o]);if(i){const[o,a]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof a&&Qd.has(t.tagName)?r=a:n[o]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let l=tf(e,t);Yd.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&rd(t.value):rd(t));var t}));return Jd(e,a,i,t),ef(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}of(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=zd,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:rf(e,t.name,!0),a=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];Gc(t.type);const o=t.expression;Gc(o.type);const i=o.properties[0];Gc(i.type),Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else of(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];Gc(t.type),i=e.evaluater.evaluateExpression(t.expression)}else of(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),l=tf(e,t);return Jd(e,a,i,t),ef(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);of(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return ef(r,tf(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function Jd(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ef(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function tf(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:qd;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;a=e+"-"+t,o.set(e,t+1)}}const l=Zd(e,i,a);void 0!==l&&n.push(l)}return n}function nf(e,t,n){const r=function(e,t){const n=ad(t);let r=t,o=ld;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Nd.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Md,Ad);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Md.test(e)){let n=e.replace(Rd,Id);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=vd}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return y()(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new Vd("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Gd+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Ud.call(e,n)&&(t[af(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Fd[r.property]||r.property:r.attribute,n]}}function rf(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=td(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=td(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return Ud.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);of(e)}function of(e,t){const n=new Vd("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Gd+"#cannot-handle-mdx-estrees-without-createevaluater",n}function af(e){let t=e.replace(Kd,lf);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function lf(e){return"-"+e.toLowerCase()}const sf={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},uf={};function cf(e,t){const n=t||uf;return df(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function df(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ff(e.children,t,n)}return Array.isArray(e)?ff(e,t,n):""}function ff(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=df(e[o],t,n);return r.join("")}function pf(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function hf(e,t){return e.length>0?(pf(e,e.length,0,t),e):t}class mf{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&gf(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),gf(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),gf(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);gf(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);gf(this.left,t.reverse())}}}function gf(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function yf(e){const t={};let n,r,o,i,a,l,s,u=-1;const c=new mf(e);for(;++u<c.length;){for(;u in t;)u=t[u];if(n=c.get(u),u&&"chunkFlow"===n[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&(l=n[1]._tokenizer.events,o=0,o<l.length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;)"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,vf(c,u)),u=t[u],s=!0);else if(n[1]._container){for(o=u,r=void 0;o--;)if(i=c.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(c.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if("linePrefix"!==i[1].type&&"listItemIndent"!==i[1].type)break;r&&(n[1].end={...c.get(r)[1].start},a=c.slice(r,u),a.unshift(n),c.splice(r,u-r+1,a))}}return pf(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function vf(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const l=a.events,s=[],u={};let c,d,f=-1,p=n,h=0,m=0;const g=[m];for(;p;){for(;e.get(++o)[1]!==p;);i.push(o),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){const t=l.slice(g[f],g[f+1]),n=i.pop();s.push([n,n+t.length-1]),e.splice(n,2,t)}for(s.reverse(),f=-1;++f<s.length;)u[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return u}const bf={}.hasOwnProperty;function xf(e){const t={};let n=-1;for(;++n<e.length;)wf(t,e[n]);return t}function wf(e,t){let n;for(n in t){const r=(bf.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){bf.call(r,i)||(r[i]=[]);const e=o[i];kf(r[i],Array.isArray(e)?e:e?[e]:[])}}}function kf(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);pf(e,0,0,r)}const Sf=Af(/[A-Za-z]/),Cf=Af(/[\dA-Za-z]/),Ef=Af(/[#-'*+\--9=?A-Z^-~]/);function Pf(e){return null!==e&&(e<32||127===e)}const Tf=Af(/\d/),_f=Af(/[\dA-Fa-f]/),Of=Af(/[!-/:-@[-`{-~]/);function zf(e){return null!==e&&e<-2}function Rf(e){return null!==e&&(e<0||32===e)}function Mf(e){return-2===e||-1===e||32===e}const Nf=Af(/\p{P}|\p{S}/u),If=Af(/\s/);function Af(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Ff(e,t,n,r){const o=r?r-1:1/0;let i=0;return function(r){if(Mf(r))return e.enter(n),a(r);return t(r)};function a(r){return Mf(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}function Lf(e,t,n,r,o,i){let a=0;return function(t){if(i>0&&Mf(t))return e.enter(r),l(t);return s(t)};function l(t){return Mf(t)&&a<i?(e.consume(t),a++,l):(e.exit(r),s(t))}function s(e){return a>=o?t(e):n(e)}}const jf={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ff(e,t,"linePrefix")},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):zf(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};class $f{constructor(){this.index=new Map,this.map=[]}add(e,t,n){Df(this,e,t,n,!1)}addBefore(e,t,n){Df(this,e,t,n,!0)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}}function Df(e,t,n,r,o){if(0===n&&0===r.length)return;const i=e.index.get(t);if(i)return i[1]+=n,void(o?(r.push(...i[2]),i[2]=r):i[2].push(...r));const a=[t,n,r];e.map.push(a),e.index.set(t,a)}const Bf={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return l;function l(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,s,u)(r)}return u(r)}function s(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(a);let l=n;for(;l<t.events.length;)t.events[l][1].end={...o},l++;const s=new $f;return s.add(i+1,0,t.events.slice(n)),s.add(n,l-n,[]),s.consume(t.events),u(e)}return l(e)}function u(o){if(a===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Wf,c,d)(o)}function c(e){return r&&v(),y(a),f(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(Wf,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):zf(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,l):(e.consume(n),m)}function g(e,n){const l=t.sliceStream(e);if(n&&l.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(y(a),e=n;e<t.events.length;)t.events[e][1].end={...l},e++;const u=new $f;u.add(s+1,0,t.events.slice(n)),u.add(n,e-n,[]),u.consume(t.events)}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Wf={tokenize:function(e,t,n){return Ff(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Hf={partial:!0,tokenize:function(e,t,n){return function(t){return Mf(t)?Ff(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||zf(e)?t(e):n(e)}}};const Vf={resolve:function(e){return yf(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):zf(t)?e.check(Uf,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Uf={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ff(e,o,"linePrefix")};function o(o){if(null===o||zf(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};const qf={tokenize:function(e){const t=this,n=e.attempt(Hf,function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,Ff(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Vf,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Kf={resolveAll:Xf()},Yf=Gf("string"),Qf=Gf("text");function Gf(e){return{resolveAll:Xf("text"===e?Zf:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Xf(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function Zf(e,t){const n=new $f;let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const o=e[r-1][1],i=t.sliceStream(o);let a,l=i.length,s=-1,u=0;for(;l--;){const e=i[l];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)a=!0,u++;else if(-1!==e){l++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){const i={type:r===e.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?s:o.start._bufferIndex+s,_index:o.start._index+l,line:o.end.line,column:o.end.column-u,offset:o.end.offset-u},end:{...o.end}};o.end={...i.start},o.start.offset===o.end.offset?Object.assign(o,i):n.add(r,0,[["enter",i,t],["exit",i,t]])}r++}return n.consume(e),e}const Jf={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),a(i)):o>=3&&(null===i||zf(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),Mf(t)?Ff(e,i,"whitespace")(t):i(t))}}};const ep={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hf,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ff(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Mf(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(np,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ff(e,e.attempt(ep,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Tf(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(Jf,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return Tf(t)&&++a<10?(e.consume(t),l):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Hf,r.interrupt?n:u,e.attempt(tp,d,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function c(t){return Mf(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},tp={partial:!0,tokenize:function(e,t,n){const r=this;return Ff(e,function(e){const o=r.events[r.events.length-1];return!Mf(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},np={partial:!0,tokenize:function(e,t,n){const r=this;return Ff(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}};const rp={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Mf(t))return Ff(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(rp,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Mf(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function op(e,t,n,r,o,i,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d;if(null===t||32===t||41===t||Pf(t))return n(t);return e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t)};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||zf(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return c||null!==o&&41!==o&&!Rf(o)?c<u&&40===o?(e.consume(o),c++,h):41===o?(e.consume(o),c--,h):null===o||32===o||40===o||Pf(o)?n(o):(e.consume(o),92===o?m:h):(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function ip(e,t,n,r,o,i){const a=this;let l,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),u};function u(d){return s>999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):zf(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||zf(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!Mf(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function ap(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,l;return n(t)};function l(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===a?(e.exit(i),l(a)):null===t?n(t):zf(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ff(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||zf(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function lp(e,t){let n;return function r(o){if(zf(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Mf(o))return Ff(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function sp(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const up={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return ip.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=sp(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Rf(t)?lp(e,l)(t):l(t)}function l(t){return op(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(cp,u,u)(t)}function u(t){return Mf(t)?Ff(e,c,"whitespace")(t):c(t)}function c(i){return null===i||zf(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},cp={partial:!0,tokenize:function(e,t,n){return function(t){return Rf(t)?lp(e,r)(t):n(t)};function r(t){return ap(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Mf(t)?Ff(e,i,"whitespace")(t):i(t)}function i(e){return null===e||zf(e)?t(e):n(e)}}};const dp={name:"codeIndented",tokenize:function(e,t,n){return function(t){return e.enter("codeIndented"),Lf(e,r,n,"linePrefix",4,4)(t)};function r(t){return null===t?i(t):zf(t)?e.attempt(fp,r,i)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||zf(t)?(e.exit("codeFlowValue"),r(t)):(e.consume(t),o)}function i(n){return e.exit("codeIndented"),t(n)}}},fp={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):zf(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):Lf(e,t,i,"linePrefix",4,4)(a)}function i(e){return zf(e)?o(e):n(e)}}};const pp={name:"headingAtx",resolve:function(e,t){let n=e.length-2,r=3;"whitespace"===e[r][1].type&&(r+=2);n-2>r&&"whitespace"===e[n][1].type&&(n-=2);"atxHeadingSequence"===e[n][1].type&&(r===n-1||n-4>r&&"whitespace"===e[n-2][1].type)&&(n-=r+1===n?2:4);if(n>r){const o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};pf(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])}return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Rf(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||zf(n)?(e.exit("atxHeading"),t(n)):Mf(n)?Ff(e,i,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function l(t){return null===t||35===t||Rf(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),l)}}};const hp={name:"setextUnderline",resolveTo:function(e,t){const n=new $f;let r,o,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){r=a;break}"paragraph"===e[a][1].type&&(o=a)}else"content"===e[a][1].type&&n.add(a,1,[]),i||"definition"!==e[a][1].type||(i=a);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};e[o][1].type="setextHeadingText",i?(n.add(o,0,[["enter",l,t]]),n.add(i+1,0,[["exit",e[r][1],t]]),e[r][1].end={...e[i][1].end}):e[r][1]=l;return n.add(e.length,0,[["exit",l,t]]),n.consume(e),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let a,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){a="paragraph"===r.events[l][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Mf(t)?Ff(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||zf(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const mp=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],gp=["pre","script","style","textarea"],yp={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const vp={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},tokenize:function(e,t,n){const r=this;let o,i,a,l,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,p):63===l?(e.consume(l),o=3,r.interrupt?t:I):Sf(l)?(e.consume(l),a=String.fromCharCode(l),h):n(l)}function c(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,l=0,f):Sf(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(l++)?(e.consume(o),6===l?r.interrupt?t:P:f):n(o)}function p(t){return Sf(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||Rf(l)){const s=47===l,u=a.toLowerCase();return s||i||!gp.includes(u)?mp.includes(a.toLowerCase())?(o=6,s?(e.consume(l),m):r.interrupt?t(l):P(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):i?g(l):y(l)):(o=1,r.interrupt?t(l):P(l))}return 45===l||Cf(l)?(e.consume(l),a+=String.fromCharCode(l),h):n(l)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:P):n(o)}function g(t){return Mf(t)?(e.consume(t),g):C(t)}function y(t){return 47===t?(e.consume(t),C):58===t||95===t||Sf(t)?(e.consume(t),v):Mf(t)?(e.consume(t),y):C(t)}function v(t){return 45===t||46===t||58===t||95===t||Cf(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),x):Mf(t)?(e.consume(t),b):y(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):Mf(t)?(e.consume(t),x):k(t)}function w(t){return t===s?(e.consume(t),s=null,S):null===t||zf(t)?n(t):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Rf(t)?b(t):(e.consume(t),k)}function S(e){return 47===e||62===e||Mf(e)?y(e):n(e)}function C(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||zf(t)?P(t):Mf(t)?(e.consume(t),E):n(t)}function P(t){return 45===t&&2===o?(e.consume(t),z):60===t&&1===o?(e.consume(t),R):62===t&&4===o?(e.consume(t),A):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),N):!zf(t)||6!==o&&7!==o?null===t||zf(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),P):(e.exit("htmlFlowData"),e.check(bp,F,T)(t))}function T(t){return e.check(yp,_,F)(t)}function _(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||zf(t)?T(t):(e.enter("htmlFlowData"),P(t))}function z(t){return 45===t?(e.consume(t),I):P(t)}function R(t){return 47===t?(e.consume(t),a="",M):P(t)}function M(t){if(62===t){const n=a.toLowerCase();return gp.includes(n)?(e.consume(t),A):P(t)}return Sf(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),M):P(t)}function N(t){return 93===t?(e.consume(t),I):P(t)}function I(t){return 62===t?(e.consume(t),A):45===t&&2===o?(e.consume(t),I):P(t)}function A(t){return null===t||zf(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),A)}function F(n){return e.exit("htmlFlow"),t(n)}}},bp={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Hf,t,n)}}};const xp={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s}function s(t){return e.enter("codeFencedFence"),Mf(t)?Ff(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===i?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===i?(o++,e.consume(t),c):o>=l?(e.exit("codeFencedFenceSequence"),Mf(t)?Ff(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||zf(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let i,a=0,l=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===i?(l++,e.consume(t),s):l<3?n(t):(e.exit("codeFencedFenceSequence"),Mf(t)?Ff(e,u,"whitespace")(t):u(t))}function u(n){return null===n||zf(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(yp,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||zf(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):Mf(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ff(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function d(t){return null===t||zf(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||zf(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&Mf(t)?Ff(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||zf(t)?e.check(yp,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||zf(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}}};const wp=document.createElement("i");function kp(e){const t="&"+e+";";wp.innerHTML=t;const n=wp.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Sp={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,i=Cf,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=_f,u):(e.enter("characterReferenceValue"),o=7,i=Tf,u(t))}function u(l){if(59===l&&a){const o=e.exit("characterReferenceValue");return i!==Cf||kp(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++<o?(e.consume(l),u):n(l)}}};const Cp={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Of(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const Ep={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ff(e,t,"linePrefix")}}};function Pp(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Tp={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}e.length!==n.length&&pf(e,0,e.length,n);return e},resolveTo:function(e,t){let n,r,o,i=e.length,a=0;for(;i--;){const t=e[i][1];if(n){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[i][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(r){if("enter"===e[i][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(n=i,"labelLink"!==t.type)){a=2;break}}else"labelEnd"===t.type&&(r=i)}const l={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[n][1].start},end:{...e[r][1].end}},u={type:"labelText",start:{...e[n+a+2][1].end},end:{...e[r-2][1].start}};return o=[["enter",l,t],["enter",s,t]],o=hf(o,e.slice(n+1,n+a+3)),o=hf(o,[["enter",u,t]]),o=hf(o,Pp(t.parser.constructs.insideSpan.null,e.slice(n+a+4,r-3),t)),o=hf(o,[["exit",u,t],e[r-2],e[r-1],["exit",s,t]]),o=hf(o,e.slice(r+1)),o=hf(o,[["exit",l,t]]),pf(e,n,e.length,o),e},tokenize:function(e,t,n){const r=this,o=r._labelStarts;let i,a;if(o){for(;o.length>0&&o[o.length-1]._balanced;)o.pop();i=o[o.length-1]}return function(t){if(!i)return n(t);if(i._inactive)return c(t);return a=r.parser.defined.includes(sp(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l};function l(t){return 40===t?e.attempt(_p,u,a?u:c)(t):91===t?e.attempt(Op,u,a?s:c)(t):a?u(t):c(t)}function s(t){return e.attempt(zp,u,c)(t)}function u(e){return o.pop(),t(e)}function c(e){return i._balanced=!0,n(e)}}},_p={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Rf(t)?lp(e,o)(t):o(t)}function o(t){return 41===t?u(t):op(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return Rf(t)?lp(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?ap(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return Rf(t)?lp(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Op={tokenize:function(e,t,n){const r=this;return function(t){return ip.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(sp(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},zp={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Rp={name:"labelStartImage",resolveAll:Tp.resolveAll,tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),o=e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(o),t(e))}}};function Mp(e){return null===e||Rf(e)||If(e)?1:Nf(e)?2:void 0}const Np={name:"attention",resolveAll:function(e,t){let n,r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._close){let o=r;for(;o--;)if("exit"===e[o][0]&&"attentionSequence"===e[o][1].type&&e[o][1]._open&&t.sliceSerialize(e[o][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[o][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;const i=e[o][1].end.offset-e[o][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,a={...e[o][1].end},l={...e[r][1].start};Ip(a,-i),Ip(l,i);const s={type:i>1?"strongSequence":"emphasisSequence",start:a,end:{...e[o][1].end}},u={type:i>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:l},c={type:i>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[r][1].start}},d={type:i>1?"strong":"emphasis",start:{...s.start},end:{...u.end}};e[o][1].end={...s.start},e[r][1].start={...u.end},n=[],e[o][1].end.offset-e[o][1].start.offset&&(n=hf(n,[["enter",e[o][1],t],["exit",e[o][1],t]])),n=hf(n,[["enter",d,t],["enter",s,t],["exit",s,t],["enter",c,t]]),n=hf(n,Pp(t.parser.constructs.insideSpan.null,e.slice(o+1,r),t)),n=hf(n,[["exit",c,t],["enter",u,t],["exit",u,t],["exit",d,t]]);let f=0;e[r][1].end.offset-e[r][1].start.offset&&(f=2,n=hf(n,[["enter",e[r][1],t],["exit",e[r][1],t]])),pf(e,o-1,r-o+3,n),r=o+n.length-f-2;break}}r=-1;for(;++r<e.length;)"attentionSequence"===e[r][1].type&&(e[r][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Mp(r);let i;return function(t){return i=t,e.enter("attentionSequence"),a(t)};function a(l){if(l===i)return e.consume(l),a;const s=e.exit("attentionSequence"),u=Mp(l),c=!u||2===u&&o||n.includes(l)&&42!==l&&95!==l,d=!o||2===o&&u||n.includes(r)&&42!==r&&95!==r;return s._open=Boolean(42===i?c:c&&(o||!d)),s._close=Boolean(42===i?d:d&&(u||!c)),t(l)}}};function Ip(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ap={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Sf(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(e){return 43===e||45===e||46===e||Cf(e)?(r=1,a(e)):s(e)}function a(t){return 58===t?(e.consume(t),r=0,l):(43===t||45===t||46===t||Cf(t))&&r++<32?(e.consume(t),a):(r=0,s(t))}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Pf(r)?n(r):(e.consume(r),l)}function s(t){return 64===t?(e.consume(t),u):Ef(t)?(e.consume(t),s):n(t)}function u(e){return Cf(e)?c(e):n(e)}function c(n){return 46===n?(e.consume(n),r=0,u):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Cf(t))&&r++<63){const n=45===t?d:c;return e.consume(t),n}return n(t)}}};const Fp={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),x):63===t?(e.consume(t),v):Sf(t)?(e.consume(t),S):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):Sf(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):zf(t)?(a=c,M(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?R(e):45===e?d(e):c(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):zf(t)?(a=h,M(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?R(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?R(t):zf(t)?(a=y,M(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):zf(t)?(a=v,M(t)):(e.consume(t),v)}function b(e){return 62===e?R(e):v(e)}function x(t){return Sf(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||Cf(t)?(e.consume(t),w):k(t)}function k(t){return zf(t)?(a=k,M(t)):Mf(t)?(e.consume(t),k):R(t)}function S(t){return 45===t||Cf(t)?(e.consume(t),S):47===t||62===t||Rf(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),R):58===t||95===t||Sf(t)?(e.consume(t),E):zf(t)?(a=C,M(t)):Mf(t)?(e.consume(t),C):R(t)}function E(t){return 45===t||46===t||58===t||95===t||Cf(t)?(e.consume(t),E):P(t)}function P(t){return 61===t?(e.consume(t),T):zf(t)?(a=P,M(t)):Mf(t)?(e.consume(t),P):C(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,_):zf(t)?(a=T,M(t)):Mf(t)?(e.consume(t),T):(e.consume(t),O)}function _(t){return t===o?(e.consume(t),o=void 0,z):null===t?n(t):zf(t)?(a=_,M(t)):(e.consume(t),_)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Rf(t)?C(t):(e.consume(t),O)}function z(e){return 47===e||62===e||Rf(e)?C(e):n(e)}function R(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function M(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return Mf(t)?Ff(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),a(t)}}};const Lp={name:"labelStartLink",resolveAll:Tp.resolveAll,tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),o=e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(o),t(e))}}};const jp={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return zf(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const $p={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):96===t?(o=e.enter("codeTextSequence"),r=0,u(t)):zf(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||zf(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}}};const Dp={42:ep,43:ep,45:ep,48:ep,49:ep,50:ep,51:ep,52:ep,53:ep,54:ep,55:ep,56:ep,57:ep,62:rp},Bp={91:up},Wp={[-2]:dp,[-1]:dp,32:dp},Hp={35:pp,42:Jf,45:[hp,Jf],60:vp,61:hp,95:Jf,96:xp,126:xp},Vp={38:Sp,92:Cp},Up={[-5]:Ep,[-4]:Ep,[-3]:Ep,33:Rp,38:Sp,42:Np,60:[Ap,Fp],91:Lp,92:[jp,Cp],93:Tp,95:Np,96:$p},qp={null:[Np,Kf]},Kp={null:[42,95]},Yp={null:[]};function Qp(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let a=[],l=[],s=!0;const u={attempt:v(function(e,t){b(e,t.from)}),check:v(y),consume:function(e){zf(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,s=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),l.push(n),n},exit:function(e){const t=l.pop();return t.end=h(),c.events.push(["exit",t,c]),t},interrupt:v(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,x()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(p(e),t)},sliceStream:p,write:function(e){if(a=hf(a,e),m(),null!==a[a.length-1])return[];return b(t,0),c.events=Pp(i,c.events,c),c.events}};let d,f=t.tokenize.call(c,u);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:i}}function m(){for(;r._index<a.length;){const e=a[r._index];if("string"==typeof e){const t=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)g(e.charCodeAt(r._bufferIndex))}else g(e)}}function g(e){s=void 0,d=e,f=f(e)}function y(e,t){t.restore()}function v(e,t){return function(n,o,i){let a,d,f,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,d=0,0===e.length?i:g(e[d])}function g(e){return function(n){p=function(){const e=h(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(l);return{from:o,restore:a};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=i,x()}}(),f=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,y,v)(n)}}function y(t){return s=!0,e(f,p),o}function v(e){return s=!0,p.restore(),++d<a.length?g(a[d]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&pf(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function x(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const Gp=/[\0\t\n\r]/g;function Xp(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const Zp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Jp(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Xp(n.slice(t?2:1),t?16:10)}return kp(n)||e}const eh={}.hasOwnProperty;function th(e,t,n){return t&&"object"==typeof t&&(n=t,t=void 0),function(e){const t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(ne),autolinkProtocol:P,autolinkEmail:P,atxHeading:a(Z),blockQuote:a(K),characterEscape:P,characterReference:P,codeFenced:a(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(Y,l),codeText:a(Q,l),codeTextData:P,data:P,codeFlowValue:P,definition:a(G),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(X),hardBreakEscape:a(J),hardBreakTrailing:a(J),htmlFlow:a(ee,l),htmlFlowData:P,htmlText:a(ee,l),htmlTextData:P,image:a(te),label:l,link:a(ne),listItem:a(oe),listItemValue:p,listOrdered:a(re,f),listUnordered:a(re),paragraph:a(ie),reference:D,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Z),strong:a(ae),thematicBreak:a(se)},exit:{atxHeading:u(),atxHeadingSequence:k,autolink:u(),autolinkEmail:q,autolinkProtocol:U,blockQuote:u(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:H,characterReference:V,codeFenced:u(y),codeFencedFence:g,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:T,codeIndented:u(v),codeText:u(M),codeTextData:T,data:T,definition:u(),definitionDestinationString:w,definitionLabelString:b,definitionTitleString:x,emphasis:u(),hardBreakEscape:u(O),hardBreakTrailing:u(O),htmlFlow:u(z),htmlFlowData:T,htmlText:u(R),htmlTextData:T,image:u(I),label:F,labelText:A,lineEnding:_,link:u(N),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:B,resourceDestinationString:L,resourceTitleString:j,resource:$,setextHeading:u(E),setextHeadingLineSequence:C,setextHeadingText:S,strong:u(),thematicBreak:u()}};rh(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[],position:void 0};const a={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:l,resume:d,data:n},u=[],f=[];let p=-1;for(;++p<e.length;)if(f.push(e[p]),"listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])u.push(f.length-1);else{i(f,u.pop())}for(e=f,p=-1;++p<e.length;){const n=t[e[p][0]];"enter"===e[p][0]&&t.beforeEnter.length>0&&o(t.beforeEnter,{...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1]),eh.call(n,e[p][1].type)&&n[e[p][1].type].call({...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1]),"exit"===e[p][0]&&t.afterExit.length>0&&o(t.afterExit,{...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||ih).call(a,void 0,e[0])}for(r.position={start:nh(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:nh(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r}function o(e,t,n){let r=-1;for(;++r<e.length;)e[r].call(t,n)}function i(e,t){const n=e.length-1;let r,o,i,a,l=t-1,s=-1,u=!1;const c=[];for(;++l<=n;){const t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||s||i||(i=l),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let n=l;for(o=void 0;n--;){const t=e[n];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=n}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),c.push({at:o||l,event:["exit",r,t[2]]})}if("listItemPrefix"===t[1].type){const e={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=e,c.push({at:l,event:["enter",e,t[2]]}),i=void 0,a=!0}}}const d=e.splice(t);let f=0;for(l=-1;++l<d.length;){for(;f<c.length&&c[f].at===t+l;)e.push(c[f++].event);e.push(d[l])}e[t][1]._spread=u}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:nh(t.start),end:void 0}}function u(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Dd({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||ih).call(this,e,r[0])}n.position.end=nh(e.end)}function d(){return cf(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function m(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=sp(this.sliceSerialize(e)).toLowerCase()}function x(){const e=this.resume();this.stack[this.stack.length-1].title=e}function w(){const e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function P(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=le(),n.position={start:nh(e.start),end:void 0},t.push(n)),this.stack.push(n)}function T(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=nh(e.end)}function _(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=nh(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(P.call(this,e),T.call(this,e))}function O(){this.data.atHardBreak=!0}function z(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function M(){const e=this.resume();this.stack[this.stack.length-1].value=e}function N(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function A(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Zp,Jp)}(t),n.identifier=sp(t).toLowerCase()}function F(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function L(){const e=this.resume();this.stack[this.stack.length-1].url=e}function j(){const e=this.resume();this.stack[this.stack.length-1].title=e}function $(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function B(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=sp(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function W(e){this.data.characterReferenceType=e.type}function H(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=Xp(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=kp(t)}this.stack[this.stack.length-1].value+=r}function V(e){this.stack.pop().position.end=nh(e.end)}function U(e){T.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){T.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function K(){return{type:"blockquote",children:[],position:void 0}}function Y(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function Q(){return{type:"inlineCode",value:"",position:void 0}}function G(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function X(){return{type:"emphasis",children:[],position:void 0}}function Z(){return{type:"heading",depth:0,children:[],position:void 0}}function J(){return{type:"break",position:void 0}}function ee(){return{type:"html",value:"",position:void 0}}function te(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function ne(){return{type:"link",title:null,url:"",children:[],position:void 0}}function re(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[],position:void 0}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[],position:void 0}}function ie(){return{type:"paragraph",children:[],position:void 0}}function ae(){return{type:"strong",children:[],position:void 0}}function le(){return{type:"text",value:"",position:void 0}}function se(){return{type:"thematicBreak",position:void 0}}}(n)(function(e){for(;!yf(e););return e}(function(e){const t={constructs:xf([w,...(e||{}).extensions||[]]),content:n(jf),defined:[],document:n(Bf),flow:n(qf),lazy:{},string:n(Yf),text:n(Qf)};return t;function n(e){return function(n){return Qp(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o));const l=[];let s=0;for(n="",r&&(65279===o.charCodeAt(0)&&s++,r=void 0);s<o.length;){Gp.lastIndex=s;const r=Gp.exec(o),i=r&&void 0!==r.index?r.index:o.length,a=o.charCodeAt(i);if(!r){n=o.slice(s);break}if(10===a&&s===i&&e)l.push(-3),e=void 0;else switch(e&&(l.push(-5),e=void 0),s<i&&(l.push(o.slice(s,i)),t+=i-s),a){case 0:l.push(65533),t++;break;case 9:{const e=4*Math.ceil(t/4);for(l.push(-2);t++<e;)l.push(-1);break}case 10:l.push(-4),t=1;break;default:e=!0,t=1}s=i+1}return a&&(e&&l.push(-5),n&&l.push(n),l.push(null)),l}}()(e,t,!0))))}function nh(e){return{line:e.line,column:e.column,offset:e.offset}}function rh(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?rh(e,r):oh(e,r)}}function oh(e,t){let n;for(n in t)if(eh.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"afterExit":case"beforeEnter":{const r=t[n];r&&e[n].push(r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ih(e,t){if(e)throw new Error("Cannot close `"+e.type+"` ("+Dd({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Dd({start:t.start,end:t.end})+") is open");throw new Error("Cannot close document, a token (`"+t.type+"`, "+Dd({start:t.start,end:t.end})+") is still open")}function ah(e){const t=this;t.parser=function(n){return th(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const{defineProperty:lh}=Object,sh="object"==typeof self?self:globalThis,uh=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new sh[e](t)},ch=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a){const o=r(t),i=r(n);"__proto__"===o?lh(e,o,{value:i,configurable:!0,enumerable:!0,writable:!0}):e[o]=i}return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n("function"==typeof sh[e]?uh(e,t):new Error(t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}case"-0":return-0}return n(uh(i,a),o)};return r})(new Map,e)(0),dh="",{toString:fh}={},{keys:ph,is:hh}=Object,mh=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=fh.call(e).slice(8,-1);switch(n){case"Array":return[1,dh];case"Object":return[2,dh];case"Date":return[3,dh];case"RegExp":return[4,dh];case"Map":return[5,dh];case"Set":return[6,dh];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},gh=([e,t])=>0===e&&("function"===t||"symbol"===t),yh=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=a=>{if(n.has(a))return n.get(a);let[l,s]=mh(a);switch(l){case 0:{let t=a;switch(s){case"bigint":l=8,t=a.toString();break;case"number":if(!a&&hh(a,-0))return r.push(["-0"])-1;break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],a)}return o([l,t],a)}case 1:{if(s){let e=a;return"DataView"===s?e=new Uint8Array(a.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(a)),o([s,[...e]],a)}const e=[],t=o([l,e],a);for(const t of a)e.push(i(t));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,a.toString()],a);case"Boolean":case"Number":case"String":return o([s,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const n=[],r=o([l,n],a);for(const t of ph(a))!e&&gh(mh(a[t]))||n.push([i(t),i(a[t])]);return r}case 3:return o([l,isNaN(a.getTime())?dh:a.toISOString()],a);case 4:{const{source:e,flags:t}=a;return o([l,{source:e,flags:t}],a)}case 5:{const t=[],n=o([l,t],a);for(const[n,r]of a)(e||!gh(mh(n))&&!gh(mh(r)))&&t.push([i(n),i(r)]);return n}case 6:{const t=[],n=o([l,t],a);for(const n of a)!e&&gh(mh(n))||t.push(i(n));return n}}const{message:u}=a;return o([l,{name:s,message:u}],a)};return i})(!(t||n),!!t,new Map,r)(e),r},vh="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?ch(yh(e,t)):structuredClone(e):(e,t)=>ch(yh(e,t));function bh(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&Cf(e.charCodeAt(n+1))&&Cf(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function xh(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function wh(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const kh=function(e){if(null==e)return Ch;if("function"==typeof e)return Sh(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=kh(e[n]);return Sh(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Sh(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Sh(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Sh(e){return function(t,n,r){return Boolean(Eh(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Ch(){return!0}function Eh(e){return null!==e&&"object"==typeof e&&"type"in e}const Ph=[],Th=!0,_h=!1;function Oh(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=kh(o),a=r?-1:1;!function e(o,l,s){const u=o&&"object"==typeof o?o:{};if("string"==typeof u.type){const e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return c;function c(){let u,c,d,f=Ph;if((!t||i(o,l,s[s.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Th,e];return null==e?Ph:[e]}(n(o,s)),f[0]===_h))return f;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==f[0])for(c=(r?t.children.length:-1)+a,d=s.concat(t);c>-1&&c<t.children.length;){const n=t.children[c];if(u=e(n,c,d)(),u[0]===_h)return u;c="number"==typeof u[1]?u[1]:c+a}}return f}}(e,void 0,[])()}function zh(e,t,n,r){let o,i,a;"function"==typeof t&&"function"!=typeof n?(i=void 0,a=t,o=n):(i=t,a=n,o=r),Oh(e,i,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}function Rh(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function Mh(e){const t=e.spread;return t??e.children.length>1}function Nh(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Ih(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Ih(t.slice(o),o>0,!1)),i.join("")}function Ih(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Ah={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=bh(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);void 0===l?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,l+=1,e.footnoteCounts.set(r,l);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Rh(e,t);const o={src:bh(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:bh(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Rh(e,t);const o={href:bh(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:bh(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Mh(n[r])}return t}(n):Mh(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const e=r[l];(o||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=jd(t.children[1]),a=Ld(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let l=-1;const s=[];for(;++l<a;){const n=t.children[l],r={},a=i?i[l]:void 0;a&&(r.align=a);let u={type:"element",tagName:o,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){const n={type:"text",value:Nh(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Fh,yaml:Fh,definition:Fh,footnoteDefinition:Fh};function Fh(){}const Lh={}.hasOwnProperty,jh={};function $h(e,t){e.position&&(t.position=function(e){const t=jd(e),n=Ld(e);if(t&&n)return{start:t,end:n}}(e))}function Dh(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,vh(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Bh(e,t){const n=t.data||{},r=!("value"in t)||Lh.call(n,"hProperties")||Lh.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Wh(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Hh(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Vh(e,t){const n=function(e,t){const n=t||jh,r=new Map,o=new Map,i=new Map,a={...Ah,...n.handlers},l={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=l.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Hh(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Hh(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:Dh,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=l.handlers[n];if(Lh.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=vh(n);return r.children=l.all(e),r}return vh(e)}return(l.options.unknownHandler||Bh)(l,e,t)},options:n,patch:$h,wrap:Wh};return zh(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||xh,r=e.options.footnoteBackLabel||wh,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let s=-1;for(;++s<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[s]);if(!o)continue;const i=e.all(o),a=String(o.identifier).toUpperCase(),u=bh(a.toLowerCase());let c=0;const d=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,h),l.push(h)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...vh(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function Uh(e,t){return e&&"run"in e?async function(n,r){const o=Vh(n,{file:r,...t});await e.run(o,r)}:function(n,r){return Vh(n,{file:r,...e||t})}}function qh(e){if(e)throw e}function Kh(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Yh(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const l=e[++n];let s=-1;if(i)r(i);else{for(;++s<t.length;)null!==a[s]&&void 0!==a[s]||(a[s]=t[s]);t=a,l?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(e){if(r&&n)throw e;return o(e)}r||(a&&a.then&&"function"==typeof a.then?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...r){n||(n=!0,t(e,...r))}function i(e){o(null,e)}}(l,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}r();const Qh={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Gh(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(o=i):(l=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(Gh(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Gh(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const l=e.codePointAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)Gh(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Gh(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=s,l=0;continue}}else if(o.length>0){o="",i=0,a=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Gh(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Xh={cwd:function(){return"/"}};function Zh(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Jh(e){if("string"==typeof e)e=new URL(e);else if(!Zh(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const em=["history","path","basename","stem","extname","dirname"];class tm{constructor(e){let t;t=e?Zh(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":Xh.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<em.length;){const e=em[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)em.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Qh.basename(this.path):void 0}set basename(e){rm(e,"basename"),nm(e,"basename"),this.path=Qh.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Qh.dirname(this.path):void 0}set dirname(e){om(this.basename,"dirname"),this.path=Qh.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?Qh.extname(this.path):void 0}set extname(e){if(nm(e,"extname"),om(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Qh.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Zh(e)&&(e=Jh(e)),rm(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Qh.basename(this.path,this.extname):void 0}set stem(e){rm(e,"stem"),nm(e,"stem"),this.path=Qh.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new Vd(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function nm(e,t){if(e&&e.includes(Qh.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Qh.sep+"`")}function rm(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function om(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const im=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},am={}.hasOwnProperty;class lm extends im{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Yh()}copy(){const e=new lm;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(r()(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(dm("data",this.frozen),this.namespace[e]=t,this):am.call(this.namespace,e)&&this.namespace[e]||void 0:e?(dm("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=hm(e),n=this.parser||this.Parser;return um("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),um("process",this.parser||this.Parser),cm("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=hm(e),a=n.parse(i);function l(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(a,i,function(e,t,r){if(e||!t||!r)return l(e);const o=t,i=n.stringify(o,r);var a;"string"==typeof(a=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(a)?r.value=i:r.result=i,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),um("processSync",this.parser||this.Parser),cm("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,qh(e),t=r}),pm("processSync","process",n),t}run(e,t,n){fm(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const a=hm(t);r.run(e,a,function(t,r,a){const l=r||e;t?i(t):o?o(l):n(void 0,l,a)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){qh(e),n=t,r=!0}),pm("runSync","run",r),n}stringify(e,t){this.freeze();const n=hm(t),r=this.compiler||this.Compiler;return cm("stringify",r),fm(e),r(e,n)}use(e,...t){const n=this.attachers,o=this.namespace;if(dm("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):a(e)}return this;function i(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else a(e)}}function a(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(o.settings=r()(!0,o.settings,e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){i(e[t])}}}function s(e,t){let o=-1,i=-1;for(;++o<n.length;)if(n[o][0]===e){i=o;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[o,...a]=t;const l=n[i][1];Kh(l)&&Kh(o)&&(o=r()(!0,l,o)),n[i]=[e,o,...a]}}}}const sm=(new lm).freeze();function um(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function cm(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function dm(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function fm(e){if(!Kh(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function pm(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function hm(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new tm(e)}const mm=[],gm={allowDangerousHtml:!0},ym=/^(https?|ircs?|mailto|xmpp)$/i,vm=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function bm(e){const t=xm(e),n=wm(e);return km(t.runSync(t.parse(n),n),e)}function xm(e){const t=e.rehypePlugins||mm,n=e.remarkPlugins||mm,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...gm}:gm;return sm().use(ah).use(n).use(Uh,r).use(t)}function wm(e){const t=e.children||"",n=new tm;return"string"==typeof t&&(n.value=t),n}function km(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,a=t.skipHtml,l=t.unwrapDisallowed,s=t.urlTransform||Sm;for(const e of vm)Object.hasOwn(t,e.from)&&Xc((e.from,e.to&&e.to,e.id));return zh(e,function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return a?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in sf)if(Object.hasOwn(sf,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=sf[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=s(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,o)),a&&o&&"number"==typeof t)return l&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}}),Xd(e,{Fragment:d().Fragment,components:o,ignoreInvalidStyle:!0,jsx:d().jsx,jsxs:d().jsxs,passKeys:!0,passNode:!0})}function Sm(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||ym.test(e.slice(0,t))?e:""}function Cm(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function Em(e,t,n){const r=kh((n||{}).ignore||[]),o=function(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const t=[],n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([Pm(e[0]),Tm(e[1])])}return t}(t);let i=-1;for(;++i<o.length;)Oh(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[i][0],a=o[i][1];let l=0;const s=n.children.indexOf(e);let u=!1,c=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let i=a(...d,o);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i)r.lastIndex=n+1;else{if(l!==n&&f({type:"text",value:e.value.slice(l,n)}),Array.isArray(i))for(const e of i)f(e);else i&&f(i);l=n+d[0].length,u=!0}if(!r.global)break;d=r.exec(e.value)}u?(l<e.value.length&&f({type:"text",value:e.value.slice(l)}),n.children.splice(s,1,...c)):c=[e];return s+c.length;function f(e){const t=c[c.length-1];t&&"text"===t.type&&"text"===e.type?t.value+=e.value:c.push(e)}}(e,t)}}function Pm(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Tm(e){return"function"==typeof e?e:function(){return e}}const _m="phrasing",Om=["autolink","link","image","label"];function zm(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Rm(e){this.config.enter.autolinkProtocol.call(this,e)}function Mm(e){this.config.exit.autolinkProtocol.call(this,e)}function Nm(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Im(e){this.config.exit.autolinkEmail.call(this,e)}function Am(e){this.exit(e)}function Fm(e){Em(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Lm],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,jm]],{ignore:["link","linkReference"]})}function Lm(e,t,n,r,o){let i="";if(!$m(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Cm(e,"(");let i=Cm(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function jm(e,t,n,r){return!(!$m(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function $m(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||If(n)||Nf(n))&&(!t||47!==n)}function Dm(){this.buffer()}function Bm(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Wm(){this.buffer()}function Hm(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Vm(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=sp(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Um(e){this.exit(e)}function qm(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=sp(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Km(e){this.exit(e)}function Ym(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=o.move(n.safe(n.associationId(e),{after:"]",before:i})),l(),a(),i+=o.move("]"),i}function Qm(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,o){const i=r.createTracker(o);let a=i.move("[^");const l=r.enter("footnoteDefinition"),s=r.enter("label");a+=i.move(r.safe(r.associationId(e),{before:a,after:"]"})),s(),a+=i.move("]:"),e.children&&e.children.length>0&&(i.shift(4),a+=i.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,i.current()),t?Xm:Gm)));return l(),a},footnoteReference:Ym},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Gm(e,t,n){return 0===t?e:Xm(e,t,n)}function Xm(e,t,n){return(n?"":"    ")+e}Ym.peek=function(){return"["};const Zm=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Jm(e){this.enter({type:"delete",children:[],position:void 0},e)}function eg(e){this.exit(e)}function tg(e,t,n,r){const o=n.createTracker(r),i=n.stack.includes("strikethrough")?"~":"~~",a=n.enter("strikethrough");let l=o.move(i);return l+=n.containerPhrasing(e,{...o.current(),before:l,after:"~"}),l+=o.move(i),a(),l}function ng(e){return e.length}function rg(e){return null==e?"":String(e)}function og(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function ig(e,t,n){return">"+(n?"":" ")+e}function ag(e,t){return lg(e,t.inConstruct,!0)&&!lg(e,t.notInConstruct,!1)}function lg(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function sg(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;){const e=n.unsafe[o];if("\n"===e.character&&!e.before&&!e.after&&ag(n.stack,e))return/[\t ]/.test(r.before)?"":" "}return"\\\n"}function ug(e,t,n){return(n?"":"    ")+e}function cg(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function dg(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function fg(e,t,n,r){const o=n.enter("phrasing"),i=n.containerPhrasing({type:"root",children:[e]},r);return o(),i}function pg(e){return e.value||""}function hg(e,t,n,r){const o=cg(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("image");let l=n.enter("label");const s=n.createTracker(r);let u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=s.move(" "+o),u+=s.move(n.safe(e.title,{before:u,after:o,...s.current()})),u+=s.move(o),l()),u+=s.move(")"),a(),u}function mg(e,t,n,r){const o=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const l=n.createTracker(r);let s=l.move("![");const u=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();const c=n.stack;n.stack=c.filter(function(e){return"phrasing"!==e}),a=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,i(),"full"!==o&&u&&u===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function gg(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=n.compilePattern(e);if(!e.atBreak)continue;let o;for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function yg(e,t){const n=cf(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function vg(e,t,n,r){const o=cg(n),i='"'===o?"Quote":"Apostrophe",a=n.createTracker(r);if(yg(e,n)){const t=n.stack;n.stack=t.filter(function(e){return"phrasing"!==e});const r=n.enter("autolink");let o=a.move("<");return o+=a.move(n.containerPhrasing(e,{before:o,after:">",...a.current()})),o+=a.move(">"),r(),n.stack=t,o}const l=n.enter("link");let s=n.enter("label"),u=a.move("[");return u+=a.move(n.containerPhrasing(e,{before:u,after:"](",...a.current()})),u+=a.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=a.move("<"),u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()})),u+=a.move(">")):(s=n.enter("destinationRaw"),u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=a.move(" "+o),u+=a.move(n.safe(e.title,{before:u,after:o,...a.current()})),u+=a.move(o),s()),u+=a.move(")"),l(),u}function bg(e,t,n,r){const o=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const l=n.createTracker(r);let s=l.move("[");const u=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();const c=n.stack;n.stack=c.filter(function(e){return"phrasing"!==e}),a=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,i(),"full"!==o&&u&&u===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function xg(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function wg(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}tg.attention=function(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}},tg.peek=function(){return"~"},fg.attention=function(e,t){return{construct:"emphasis",markers:"*"===dg(t)?["*","_"]:["_","*"],sizes:[1]}},fg.peek=function(e,t,n){return n.options.emphasis||"*"},pg.peek=function(){return"<"},hg.peek=function(){return"!"},mg.peek=function(){return"!"},gg.peek=function(){return"`"},vg.peek=function(e,t,n){return yg(e,n)?"<":"["},bg.peek=function(){return"["};const kg=kh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Sg(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}function Cg(e,t,n,r){const o=n.enter("phrasing"),i=n.containerPhrasing({type:"root",children:[e]},r);return o(),i}Cg.attention=function(e,t){return{construct:"strong",markers:"*"===Sg(t)?["*","_"]:["_","*"],sizes:[2]}},Cg.peek=function(e,t,n){return n.options.strong||"*"};const Eg={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),ig);return o(),a},break:sg,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,ug);return e(),t}const a=n.createTracker(r),l=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,i=0,a=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++i>a&&(a=i):i=1,o=r+t.length,r=n.indexOf(t,o);return a}(i,o)+1,3)),s=n.enter("codeFenced"),u="`"===o?"GraveAccent":"Tilde";let c=a.move(l);if(e.lang){const t=n.enter(`codeFencedLang${u}`);c+=a.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${u}`);c+=a.move(" "),c+=a.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...a.current()})),t()}return c+=a.move("\n"),i&&(c+=a.move(i+"\n")),c+=a.move(l),s(),c},definition:function(e,t,n,r){const o=cg(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("definition");let l=n.enter("label");const s=n.createTracker(r);let u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=s.move(" "+o),u+=s.move(n.safe(e.title,{before:u,after:o,...s.current()})),u+=s.move(o),l()),a(),u},emphasis:fg,hardBreak:sg,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(function(e,t){let n=!1;return zh(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,!1}),Boolean((!e.depth||e.depth<3)&&cf(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===o?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(o),l=n.enter("headingAtx"),s=n.enter("phrasing");i.move(a+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});const c=u.charCodeAt(0);return 9!==c&&32!==c||(u="&#x"+c.toString(16).toUpperCase()+";"+u.slice(1)),u=u?a+" "+u:a,n.options.closeAtx&&(u+=" "+a),s(),l(),u},html:pg,image:hg,imageReference:mg,inlineCode:gg,link:vg,linkReference:bg,list:function(e,t,n,r){const o=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):xg(n);const l=e.ordered?"."===a?")":".":function(e){const t=xg(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let s=!(!t||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),wg(n)===a&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(a=l),n.bulletCurrent=a;const u=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,o(),u},listItem:function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||xg(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?i:i+" ".repeat(a-i.length))+e});return s(),u},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),o(),a},root:function(e,t,n,r){if(!e.children.some(function(e){return kg(e)}))return n.containerFlow(e,r);const o=n.enter("phrasing"),i=n.containerPhrasing(e,r);return o(),i},strong:Cg,text:function(e,t,n,r){const o=t?t.children:[],i=o.indexOf(e);return n.safe(e.value,{...r,afterNode:o[i+1],beforeNode:o[i-1]})},thematicBreak:function(e,t,n){const r=(wg(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function Pg(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Tg(e){this.exit(e),this.data.inTable=void 0}function _g(e){this.enter({type:"tableRow",children:[]},e)}function Og(e){this.exit(e)}function zg(e){this.enter({type:"tableCell",children:[]},e)}function Rg(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Mg));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Mg(e,t){return"|"===t?t:e}function Ng(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Eg.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=s(r[o],t,n);return a(),i}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const o=l([s(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),l=n.containerPhrasing(e,{...r,before:i,after:i});return a(),o(),l}function l(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||ng,i=[],a=[],l=[],s=[];let u=0,c=-1;for(;++c<e.length;){const t=[],r=[];let i=-1;for(e[c].length>u&&(u=e[c].length);++i<e[c].length;){const a=rg(e[c][i]);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===s[i]||e>s[i])&&(s[i]=e)}t.push(a)}a[c]=t,l[c]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<u;)i[d]=og(r[d]);else{const e=og(r);for(;++d<u;)i[d]=e}d=-1;const f=[],p=[];for(;++d<u;){const e=i[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>s[d]&&(s[d]=o),p[d]=o),f[d]=a}a.splice(1,0,f),l.splice(1,0,p),c=-1;const h=[];for(;++c<a.length;){const e=a[c],t=l[c];d=-1;const r=[];for(;++d<u;){const o=e[d]||"";let a="",l="";if(!1!==n.alignDelimiters){const e=s[d]-(t[d]||0),n=i[d];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),l=a):l=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===u-1||r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const i=[],l=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return l(),i}}function Ig(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Ag(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Fg(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);i&&l.move(a);let s=Eg.listItem(e,t,n,{...r,...l.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),s}const Lg={tokenize:function(e,t,n){let r=0;return function t(i){if((87===i||119===i)&&r<3)return r++,e.consume(i),t;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},jg={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(Dg,s,l)(t):null===t||Rf(t)||If(t)||45!==t&&Nf(t)?s(t):(i=!0,e.consume(t),a)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function s(e){return o||r||!i?n(e):t(e)}},partial:!0},$g={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Dg,t,i)(a):null===a||Rf(a)||If(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Dg={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Rf(a)||If(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Rf(e)||If(e)?t(e):r(e)}function i(e){return Sf(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Sf(t)?(e.consume(t),a):n(t)}},partial:!0},Bg={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Cf(e)?n(e):t(e)}},partial:!0},Wg={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!Kg.call(r,r.previous)||Xg(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Lg,e.attempt(jg,e.attempt($g,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Kg},Hg={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){if((72===t||104===t)&&Yg.call(r,r.previous)&&!Xg(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(Sf(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),i?s:(i=!0,l)):n(t)}function s(t){return null===t||Pf(t)||Rf(t)||If(t)||Nf(t)?n(t):e.attempt(jg,e.attempt($g,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Yg},Vg={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let o,i;return function(t){if(!Gg(t)||!Qg.call(r,r.previous)||Xg(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return Gg(t)?(e.consume(t),a):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(Bg,u,s)(t):45===t||95===t||Cf(t)?(i=!0,e.consume(t),l):u(t)}function s(t){return e.consume(t),o=!0,l}function u(a){return i&&o&&Sf(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:Qg},Ug={};let qg=48;for(;qg<123;)Ug[qg]=Vg,qg++,58===qg?qg=65:91===qg&&(qg=97);function Kg(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Rf(e)}function Yg(e){return!Sf(e)}function Qg(e){return!(47===e||Gg(e))}function Gg(e){return 43===e||45===e||46===e||95===e||Cf(e)}function Xg(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Ug[43]=Vg,Ug[45]=Vg,Ug[46]=Vg,Ug[95]=Vg,Ug[72]=[Vg,Hg],Ug[104]=[Vg,Hg],Ug[87]=[Vg,Wg],Ug[119]=[Vg,Wg];const Zg={tokenize:function(e,t,n){const r=this;return Ff(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Jg(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const l=sp(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==l.codePointAt(0)||!i.includes(l.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ey(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...s),e}function ty(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(a>999||93===l&&!i||null===l||91===l||Rf(l))return n(l);if(93===l){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(sp(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return Rf(l)||(i=!0),a++,e.consume(l),92===l?u:s}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function ny(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||Rf(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=sp(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Rf(t)||(a=!0),l++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),Ff(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function ry(e,t,n){return e.check(Hf,t,e.attempt(Zg,t,n))}function oy(e){e.exit("gfmFootnoteDefinition")}function iy(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),l(t)};function l(i){const s=Mp(o);if(126===i)return a>1?r(i):(e.consume(i),a++,l);if(a<2&&!t)return r(i);const u=e.exit("strikethroughSequenceTemporary"),c=Mp(i);return u._open=!c||2===c&&Boolean(s),u._close=!s||2===s&&Boolean(c),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],l=t.parser.constructs.insideSpan.null;l&&pf(a,a.length,0,Pp(l,e.slice(r+1,n),t)),pf(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),pf(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class ay{constructor(){this.map=[],this.index=new Map}add(e,t,n){!function(e,t,n,r){if(0===n&&0===r.length)return;const o=e.index.get(t);if(o)return o[1]+=n,void o[2].push(...r);const i=[t,n,r];e.map.push(i),e.index.set(t,i)}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}}function ly(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function sy(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const{type:e}=r.events[t][1];if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?x:l;if(i===x&&r.parser.lazy[r.now().line])return n(e);return i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return s(e);return o=!0,a+=1,s(e)}(t)}function s(t){return null===t?n(t):zf(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):Mf(t)?Ff(e,s,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||Rf(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,Mf(t)?Ff(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):b(t)}function p(t){return Mf(t)?Ff(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||zf(t)?v(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return Mf(t)?Ff(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?f(n):(null===n||zf(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function x(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||zf(n)?(e.exit("tableRow"),t(n)):Mf(n)?Ff(e,w,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||Rf(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?S:k)}function S(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function uy(e,t){let n,r,o,i=-1,a=!0,l=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,d=0;const f=new ay;for(;++i<e.length;){const p=e[i],h=p[1];"enter"===p[0]?"tableHead"===h.type?(c=!1,0!==d&&(dy(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(i,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(a=!0,o=void 0,s=[0,0,0,0],u=[0,i+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(i,0,[["enter",r,t]])),l="tableDelimiterRow"===h.type?2:r?3:1):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(a?a=!1:(0!==s[1]&&(u[0]=u[1],o=cy(f,t,s,l,void 0,o)),s=u,u=[s[1],i,0,0])):(a=!1,0===u[2]&&(0!==s[1]&&(u[0]=u[1],o=cy(f,t,s,l,void 0,o),s=[0,0,0,0]),u[2]=i)):"tableHead"===h.type?(c=!0,d=i):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=i,0!==s[1]?(u[0]=u[1],o=cy(f,t,s,l,i,o)):0!==u[1]&&(o=cy(f,t,u,l,i,o)),l=0):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(u[3]=i)}for(0!==d&&dy(f,t,d,n,r),f.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=ly(t.events,i))}return e}function cy(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},fy(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=fy(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=fy(t.events,n[2]),i=fy(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},fy(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function dy(e,t,n,r,o){const i=[],a=fy(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function fy(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const py={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return Rf(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return zf(r)?t(r):Mf(r)?e.check({tokenize:hy},t,n)(r):n(r)}}};function hy(e,t,n){return Ff(e,function(e){return null===e?n(e):t(e)},"whitespace")}const my={};function gy(e){const t=e||my,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return xf([{text:Ug},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ny,continuation:{tokenize:ry},exit:oy}},text:{91:{name:"gfmFootnoteCall",tokenize:ty},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Jg,resolveTo:ey}}},iy(e),{flow:{null:{name:"table",tokenize:sy,resolveAll:uy}}},{text:{91:py}}])}(t)),o.push([{transforms:[Fm],enter:{literalAutolink:zm,literalAutolinkEmail:Rm,literalAutolinkHttp:Rm,literalAutolinkWww:Rm},exit:{literalAutolink:Am,literalAutolinkEmail:Im,literalAutolinkHttp:Mm,literalAutolinkWww:Nm}},{enter:{gfmFootnoteCallString:Dm,gfmFootnoteCall:Bm,gfmFootnoteDefinitionLabelString:Wm,gfmFootnoteDefinition:Hm},exit:{gfmFootnoteCallString:Vm,gfmFootnoteCall:Um,gfmFootnoteDefinitionLabelString:qm,gfmFootnoteDefinition:Km}},{canContainEols:["delete"],enter:{strikethrough:Jm},exit:{strikethrough:eg}},{enter:{table:Pg,tableData:zg,tableHeader:zg,tableRow:_g},exit:{codeText:Rg,table:Tg,tableData:Og,tableHeader:Og,tableRow:Og}},{exit:{taskListCheckValueChecked:Ig,taskListCheckValueUnchecked:Ig,paragraph:Ag}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:_m,notInConstruct:Om},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:_m,notInConstruct:Om},{character:":",before:"[ps]",after:"\\/",inConstruct:_m,notInConstruct:Om}]},Qm(e),{handlers:{delete:tg},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Zm}]},Ng(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Fg}}]}}(t))}const yy=si((0,d().jsx)("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"})),vy=si((0,d().jsx)("path",{d:"M15 20H5V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1m5-4V4c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2m-2 0H9V4h9z"}));async function by(e){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0}catch{}const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();let n=!1;try{n=document.execCommand("copy")}finally{t.remove()}return n}function xy({children:e}){const t=(0,f().useRef)(null),[n,r]=(0,f().useState)(null);(0,f().useEffect)(()=>{if(!n)return;const e=setTimeout(()=>r(null),"copied"===n?1500:4e3);return()=>clearTimeout(e)},[n]);const o="copied"===n,i=o?Mo.ask_copied:"failed"===n?Mo.ask_copy_failed:Mo.ask_copy;return(0,d().jsxs)(mi,{sx:{position:"relative",my:1,"&:hover .rwpbot-copy, &:focus-within .rwpbot-copy":{opacity:1}},children:[(0,d().jsx)(mi,{component:"pre",ref:t,sx:{m:"0 !important",pr:"44px !important"},children:e}),(0,d().jsx)(ps,{title:i,open:!!n||void 0,children:(0,d().jsx)(Os,{className:"rwpbot-copy","aria-label":i,onClick:()=>{(async()=>{var e,n,o;const i=t.current,a=null!==(e=null==i?void 0:i.innerText.replace(/\n$/,""))&&void 0!==e?e:"";if(!i||!a)return;const l=await by(a).catch(()=>!1);if(!l){const e=document.createRange();e.selectNodeContents(i),null===(n=window.getSelection())||void 0===n||n.removeAllRanges(),null===(o=window.getSelection())||void 0===o||o.addRange(e)}r(l?"copied":"failed")})()},size:"small",sx:{position:"absolute",top:6,right:6,opacity:{xs:1,md:o?1:.6},bgcolor:"#FFFFFF",border:"1px solid rgba(7, 21, 34, 0.12)",color:o?"success.main":"text.secondary",transition:"opacity 0.15s ease","&:hover, &:focus":{bgcolor:"#FFFFFF",color:o?"success.main":"primary.main"}},children:o?(0,d().jsx)(yy,{sx:{fontSize:16}}):(0,d().jsx)(vy,{sx:{fontSize:16}})})})]})}const wy={a:({children:e})=>(0,d().jsx)(d().Fragment,{children:e}),img:({alt:e})=>(0,d().jsx)(d().Fragment,{children:e}),pre:({children:e})=>(0,d().jsx)(xy,{children:e}),table:({children:e})=>(0,d().jsx)(mi,{sx:{overflowX:"auto",my:1,border:"1px solid rgba(7, 21, 34, 0.12)",borderRadius:2},children:(0,d().jsx)("table",{children:e})})};function ky({text:e}){return(0,d().jsx)(mi,{sx:{typography:"body2",fontSize:"0.95rem",lineHeight:1.6,color:"text.primary",overflowWrap:"anywhere","& > :first-of-type":{mt:0},"& > :last-child":{mb:0},"& p, & li":{fontSize:"inherit",lineHeight:"inherit"},"& p":{my:1},"& ul, & ol":{my:1,pl:2.5},"& ul":{listStyle:"disc"},"& ol":{listStyle:"decimal"},"& li":{my:.25,display:"list-item"},"& h1, & h2, & h3, & h4, & h5, & h6":{fontSize:"1rem",fontWeight:600,my:1},"& code":{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:"0.85em",px:.5,py:.125,borderRadius:1,bgcolor:"rgba(7, 21, 34, 0.06)"},"& pre":{my:1,p:1.5,borderRadius:2,bgcolor:"rgba(7, 21, 34, 0.05)",overflowX:"auto",overflowWrap:"normal"},"& table":{width:"100%",borderCollapse:"collapse",fontSize:"0.85rem",lineHeight:1.45},"& th, & td":{px:1.25,py:.75,textAlign:"left",borderBottom:"1px solid rgba(7, 21, 34, 0.08)",verticalAlign:"top"},"& th":{fontWeight:600,bgcolor:"rgba(7, 21, 34, 0.04)",whiteSpace:"nowrap"},"& tbody tr:last-of-type td":{borderBottom:0},"& td:not(:first-of-type), & th:not(:first-of-type)":{textAlign:"right",whiteSpace:"nowrap"},"& pre code":{p:0,bgcolor:"transparent",fontSize:"0.8rem",lineHeight:1.5,whiteSpace:"pre"}},children:(0,d().jsx)(bm,{remarkPlugins:[gy],components:wy,children:e})})}const Sy=si((0,d().jsx)("path",{d:"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"})),Cy=262144,Ey=[".log",".txt",".json",".csv",".md"];function Py(e){const t=e.name.toLowerCase();return Ey.some(e=>t.endsWith(e))||"text/plain"===e.type||"application/json"===e.type}const Ty=[[/((?:PASSWORD|_KEY|_SALT|SECRET|TOKEN)['"]\s*,\s*['"])[^'"]*/gi,"$1[hidden]"],[/((?:pass(?:word|wd)?|pwd|secret|token|api[_-]?key|access[_-]?key|private[_-]?key|auth(?:orization)?|cookie|nonce|salt)["']?\s*[:=]\s*["']?)(?:Bearer\s+)?[^\s"',;&()]+/gi,"$1[hidden]"],[/\bBearer\s+[A-Za-z0-9._~+/=-]{8,}/g,"Bearer [hidden]"],[/\b(?:sk|pk|rk|key|tok)[-_][A-Za-z0-9_-]{16,}\b/g,"[hidden]"],[/\b[A-Fa-f0-9]{32,}\b/g,"[hidden]"],[/\b[A-Za-z0-9+/]{40,}={0,2}(?![A-Za-z0-9+/=])/g,"[hidden]"],[/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,"[hidden]"],[/\b(?:\d{1,3}\.){3}\d{1,3}\b/g,"[hidden]"],[/\b(?:[A-Fa-f0-9]{1,4}:){4,7}[A-Fa-f0-9]{1,4}\b/g,"[hidden]"]];function _y(e){const t=(e.trimmed?Mo.ask_file_newest:Mo.ask_file_lines).replace("%d",String(e.lines));return e.masked?`${t} · ${Mo.ask_file_masked.replace("%d",String(e.masked))}`:t}async function Oy(e){if(!Py(e))throw new Error("not a text file");const t=e.size>Cy,n=function(e){if(e.length<=3e4)return{text:e,trimmed:!1};const t=e.slice(-3e4),n=t.indexOf("\n");return{text:n>-1&&n<t.length-1?t.slice(n+1):t,trimmed:!0}}((await e.slice(t?e.size-Cy:0).text()).replace(/\r\n?/g,"\n").replace(/\u0000/g,"")),{text:r,masked:o}=function(e){let t=0;return{text:Ty.reduce((e,[n,r])=>e.replace(n,(...e)=>(t+=1,r.replace("$1","string"==typeof e[1]?e[1]:""))),e),masked:t}}(n.text);return{name:e.name.slice(0,100),text:r,trimmed:n.trimmed||t,lines:r.split("\n").length,masked:o,size:e.size}}function zy({onClick:e}){return(0,d().jsx)(ps,{title:Mo.ask_remove_image,children:(0,d().jsx)(Os,{"aria-label":Mo.ask_remove_image,onClick:e,size:"small",sx:{position:"absolute",top:-8,right:-8,p:.25,bgcolor:"#FFFFFF",border:Io,"&:hover, &:focus":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(Ls,{sx:{fontSize:14}})})})}function Ry({name:e,summary:t,onClick:n}){return(0,d().jsxs)(Qi,{onClick:n,disabled:!n,title:n?Mo.ask_view_file:e,sx:{alignItems:"center",gap:1,px:1.25,py:.75,maxWidth:260,border:Io,borderRadius:1.5,bgcolor:"#FFFFFF",textAlign:"left","&:hover, &:focus-visible":{borderColor:"primary.main"}},children:[(0,d().jsx)(Sy,{sx:{fontSize:20,color:"primary.main",flexShrink:0}}),(0,d().jsxs)(mi,{sx:{minWidth:0},children:[(0,d().jsx)(oa,{variant:"caption",component:"p",noWrap:!0,sx:{fontWeight:600,color:"text.primary"},children:e}),(0,d().jsx)(oa,{variant:"caption",component:"p",noWrap:!0,sx:{color:"text.secondary",fontSize:"0.72rem"},children:t})]})]})}function My({images:e,file:t,error:n,onRemove:r,onView:o,onRemoveFile:i,onViewFile:a}){return e.length||t||n?(0,d().jsxs)(Qs,{spacing:.5,sx:{mb:1},children:[Boolean(e.length||t)&&(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",useFlexGap:!0,flexWrap:"wrap",children:[e.map((e,t)=>(0,d().jsxs)(mi,{sx:{position:"relative"},children:[(0,d().jsx)(ps,{title:Mo.ask_view_image,children:(0,d().jsx)(Qi,{onClick:()=>o(e),"aria-label":Mo.ask_view_image,sx:{borderRadius:1.5},children:(0,d().jsx)(mi,{component:"img",src:e.preview,alt:"",sx:{width:64,height:48,objectFit:"cover",borderRadius:1.5,border:Io,display:"block"}})})}),(0,d().jsx)(zy,{onClick:()=>r(t)})]},t)),t&&(0,d().jsxs)(mi,{sx:{position:"relative"},children:[(0,d().jsx)(Ry,{name:t.name,summary:_y(t),onClick:a}),(0,d().jsx)(zy,{onClick:i})]})]}),n&&(0,d().jsx)(oa,{variant:"caption",color:"error.main",children:n})]}):null}const Ny=si((0,d().jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M9.29 16.29 5.7 12.7a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0"})),Iy=si((0,d().jsx)("path",{d:"m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91"}));function Ay(e){return ni("MuiInput",e)}const Fy={...Lu,...ri("MuiInput",["root","underline","input"])},Ly=Xo(Hu,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bu(e,t),!n.disableUnderline&&t.underline]}})(Jo(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fy.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fy.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fy.disabled}, .${Fy.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${Fy.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),jy=Xo(Vu,{name:"MuiInput",slot:"Input",overridesResolver:Wu})({}),$y=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiInput"}),{disableUnderline:r=!1,components:o={},componentsProps:i,fullWidth:a=!1,inputComponent:l="input",multiline:s=!1,slotProps:u,slots:c={},type:f="text",...p}=n,h=(e=>{const{classes:t,disableUnderline:n}=e,r=Fo({root:["root",!n&&"underline"],input:["input"]},Ay,t);return{...t,...r}})(n),m={root:{ownerState:{disableUnderline:r}}},g=u??i?At(u??i,m):m,y=c.root??o.Root??Ly,v=c.input??o.Input??jy;return(0,d().jsx)(Yu,{slots:{root:y,input:v},slotProps:g,fullWidth:a,inputComponent:l,multiline:s,ref:t,type:f,...p,classes:h})});$y.muiName="Input";const Dy=$y;function By(e){return ni("MuiFilledInput",e)}const Wy={...Lu,...ri("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Hy=Xo(Hu,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bu(e,t),!n.disableUnderline&&t.underline]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Wy.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Wy.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Wy.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wy.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Wy.disabled}, .${Wy.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Wy.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),Vy=Xo(Vu,{name:"MuiFilledInput",slot:"Input",overridesResolver:Wu})(Jo(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Uy=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:o={},componentsProps:i,fullWidth:a=!1,hiddenLabel:l,inputComponent:s="input",multiline:u=!1,slotProps:c,slots:f={},type:p="text",...h}=n,m={...n,disableUnderline:r,fullWidth:a,inputComponent:s,multiline:u,type:p},g=(e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:l}=e,s=Fo({root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd","small"===i&&`size${Lo(i)}`,a&&"hiddenLabel",l&&"multiline"],input:["input"]},By,t);return{...t,...s}})(n),y={root:{ownerState:m},input:{ownerState:m}},v=c??i?At(y,c??i):y,b=f.root??o.Root??Hy,x=f.input??o.Input??Vy;return(0,d().jsx)(Yu,{slots:{root:b,input:x},slotProps:v,fullWidth:a,inputComponent:s,multiline:u,ref:t,type:p,...h,classes:g})});Uy.muiName="Input";const qy=Uy;var Ky;const Yy=Xo("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Go})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Qy=Xo("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Go})(Jo(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Gy(e){return ni("MuiOutlinedInput",e)}const Xy={...Lu,...ri("MuiOutlinedInput",["root","notchedOutline","input"])},Zy=Xo(Hu,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Bu})(Jo(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Xy.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Xy.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Xy.focused} .${Xy.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{[`&.${Xy.focused} .${Xy.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Xy.error} .${Xy.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Xy.disabled} .${Xy.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),Jy=Xo(function(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,l=null!=o&&""!==o,s={...e,notched:i,withLabel:l};return(0,d().jsx)(Yy,{"aria-hidden":!0,className:r,ownerState:s,...a,children:(0,d().jsx)(Qy,{ownerState:s,children:l?(0,d().jsx)("span",{children:o}):Ky||(Ky=(0,d().jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Jo(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),ev=Xo(Vu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Wu})(Jo(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),tv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiOutlinedInput"}),{components:r={},fullWidth:o=!1,inputComponent:i="input",label:a,multiline:l=!1,notched:s,slots:u={},slotProps:c={},type:p="text",...h}=n,m=(e=>{const{classes:t}=e,n=Fo({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Gy,t);return{...t,...n}})(n),g=zu(),y=_u({props:n,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),v={...n,color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:g,fullWidth:o,hiddenLabel:y.hiddenLabel,multiline:l,size:y.size,type:p},b=u.root??r.Root??Zy,x=u.input??r.Input??ev,[w,k]=ns("notchedOutline",{elementType:Jy,className:m.notchedOutline,shouldForwardComponentProp:!0,ownerState:v,externalForwardedProps:{slots:u,slotProps:c},additionalProps:{label:null!=a&&""!==a&&y.required?(0,d().jsxs)(f().Fragment,{children:[a," ","*"]}):a}});return(0,d().jsx)(Yu,{slots:{root:b,input:x},slotProps:c,renderSuffix:e=>(0,d().jsx)(w,{...k,notched:void 0!==s?s:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:o,inputComponent:i,multiline:l,ref:t,type:p,...h,classes:{...m,notchedOutline:null}})});tv.muiName="Input";const nv=tv;function rv(e){return ni("MuiFormLabel",e)}const ov=ri("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),iv=Xo("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled]}})(Jo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{[`&.${ov.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${ov.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ov.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),av=Xo("span",{name:"MuiFormLabel",slot:"Asterisk"})(Jo(({theme:e})=>({[`&.${ov.error}`]:{color:(e.vars||e).palette.error.main}}))),lv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFormLabel"}),{children:r,className:o,color:i,component:a="label",disabled:l,error:s,filled:u,focused:c,required:f,...p}=n,h=_u({props:n,muiFormControl:zu(),states:["color","required","focused","disabled","error","filled"]}),m={...n,color:h.color||"primary",component:a,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required},g=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e;return Fo({root:["root",`color${Lo(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]},rv,t)})(m);return(0,d().jsxs)(iv,{as:a,ownerState:m,className:st(g.root,o),ref:t,...p,children:[r,h.required&&(0,d().jsxs)(av,{ownerState:m,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})});function sv(e){return ni("MuiInputLabel",e)}ri("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const uv=Xo(lv,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ov.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Jo(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:n})=>"filled"===e&&t.shrink&&"small"===n,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),cv=f().forwardRef(function(e,t){const n=ei({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,margin:o,shrink:i,variant:a,className:l,...s}=n,u=zu();let c=i;void 0===c&&u&&(c=u.filled||u.focused||u.adornedStart);const f=_u({props:n,muiFormControl:u,states:["size","variant","required","focused"]}),p={...n,disableAnimation:r,formControl:u,shrink:c,size:f.size,variant:f.variant,required:f.required,focused:f.focused},h=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:l}=e,s=Fo({root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&"medium"!==r&&`size${Lo(r)}`,a],asterisk:[l&&"asterisk"]},sv,t);return{...t,...s}})(p);return(0,d().jsx)(uv,{"data-shrink":c,ref:t,className:st(h.root,l),...s,ownerState:p,classes:h})});const dv=function(e,t){return f().isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)};function fv(e){return ni("MuiFormControl",e)}ri("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const pv=Xo("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${Lo(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),hv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFormControl"}),{children:r,className:o,color:i="primary",component:a="div",disabled:l=!1,error:s=!1,focused:u,fullWidth:c=!1,hiddenLabel:p=!1,margin:h="none",required:m=!1,size:g="medium",variant:y="outlined",...v}=n,b={...n,color:i,component:a,disabled:l,error:s,fullWidth:c,hiddenLabel:p,margin:h,required:m,size:g,variant:y},x=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return Fo({root:["root","none"!==n&&`margin${Lo(n)}`,r&&"fullWidth"]},fv,t)})(b),[w,k]=f().useState(()=>{let e=!1;return r&&f().Children.forEach(r,t=>{if(!dv(t,["Input","Select"]))return;const n=dv(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}),e}),[S,C]=f().useState(()=>{let e=!1;return r&&f().Children.forEach(r,t=>{dv(t,["Input","Select"])&&(Au(t.props,!0)||Au(t.props.inputProps,!0))&&(e=!0)}),e}),[E,P]=f().useState(!1);l&&E&&P(!1);const T=void 0===u||l?E:u;let _;f().useRef(!1);const O=f().useCallback(()=>{C(!0)},[]),z=f().useCallback(()=>{C(!1)},[]),R=f().useMemo(()=>({adornedStart:w,setAdornedStart:k,color:i,disabled:l,error:s,filled:S,focused:T,fullWidth:c,hiddenLabel:p,size:g,onBlur:()=>{P(!1)},onFocus:()=>{P(!0)},onEmpty:z,onFilled:O,registerEffect:_,required:m,variant:y}),[w,i,l,s,S,T,c,p,_,z,O,m,g,y]);return(0,d().jsx)(Ou.Provider,{value:R,children:(0,d().jsx)(pv,{as:a,ownerState:b,className:st(x.root,o),ref:t,...v,children:r})})});function mv(e){return ni("MuiFormHelperText",e)}const gv=ri("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var yv;const vv=Xo("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Lo(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Jo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${gv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${gv.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),bv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFormHelperText"}),{children:r,className:o,component:i="p",disabled:a,error:l,filled:s,focused:u,margin:c,required:f,variant:p,...h}=n,m=_u({props:n,muiFormControl:zu(),states:["variant","size","disabled","error","filled","focused","required"]}),g={...n,component:i,contained:"filled"===m.variant||"outlined"===m.variant,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};delete g.ownerState;const y=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:s}=e;return Fo({root:["root",o&&"disabled",i&&"error",r&&`size${Lo(r)}`,n&&"contained",l&&"focused",a&&"filled",s&&"required"]},mv,t)})(g);return(0,d().jsx)(vv,{as:i,className:st(y.root,o),ref:t,...h,ownerState:g,children:" "===r?yv||(yv=(0,d().jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):r})});const xv=f().createContext({});function wv(e){return ni("MuiList",e)}ri("MuiList",["root","padding","dense","subheader"]);const kv=Xo("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Sv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s,...u}=n,c=f().useMemo(()=>({dense:a}),[a]),p={...n,component:i,dense:a,disablePadding:l},h=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Fo({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},wv,t)})(p);return(0,d().jsx)(xv.Provider,{value:c,children:(0,d().jsxs)(kv,{as:i,className:st(h.root,o),ref:t,ownerState:p,...u,children:[s,r]})})}),Cv=uc,Ev=ku;function Pv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Tv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function _v(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function Ov(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&_v(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const zv=f().forwardRef(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu",...p}=e,h=f().useRef(null),m=f().useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ru(()=>{r&&h.current.focus()},[r]),f().useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&n){const n=`${Cv(Ev(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,h.current.style.width=`calc(100% + ${n})`}return h.current}}),[]);const g=vi(h,t);let y=-1;f().Children.forEach(i,(e,t)=>{f().isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===y)&&(y=t),y===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(y+=1,y>=i.length&&(y=-1))):y===t&&(y+=1,y>=i.length&&(y=-1))});const v=f().Children.map(i,(e,t)=>{if(t===y){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),f().cloneElement(e,t)}return e});return(0,d().jsx)(Sv,{role:"menu",ref:g,className:a,onKeyDown:e=>{const t=h.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(u&&u(e));const r=Nu(Mu(t));if("ArrowDown"===n)e.preventDefault(),Ov(t,r,s,l,Pv);else if("ArrowUp"===n)e.preventDefault(),Ov(t,r,s,l,Tv);else if("Home"===n)e.preventDefault(),Ov(t,null,s,l,Pv);else if("End"===n)e.preventDefault(),Ov(t,null,s,l,Tv);else if(1===n.length){const o=m.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&_v(r,o);o.previousKeyMatched&&(s||Ov(t,r,!1,l,Pv,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1,...p,children:v})}),Rv=wu;function Mv(e){return ni("MuiPopover",e)}ri("MuiPopover",["root","paper"]);function Nv(e,t){if(!e)return t;function n(e,t){const n={};return Object.keys(t).forEach(r=>{(function(e,t){const n=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&n>=65&&n<=90&&"function"==typeof t})(r,t[r])&&"function"==typeof e[r]&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if("function"==typeof e||"function"==typeof t)return r=>{const o="function"==typeof t?t(r):t,i="function"==typeof e?e({...r,...o}):e,a=st(r?.className,o?.className,i?.className),l=n(i,o);return{...o,...i,...l,...!!a&&{className:a},...o?.style&&i?.style&&{style:{...o.style,...i.style}},...o?.sx&&i?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const r=t,o=n(e,r),i=st(r?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Iv(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Av(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Fv(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function Lv(e){return"function"==typeof e?e():e}const jv=Xo(kc,{name:"MuiPopover",slot:"Root"})({}),$v=Xo(Pc,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Dv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:s,className:u,container:c,elevation:p=8,marginThreshold:h=16,open:m,PaperProps:g={},slots:y={},slotProps:v={},transformOrigin:b={vertical:"top",horizontal:"left"},TransitionComponent:x,transitionDuration:w="auto",TransitionProps:k={},disableScrollLock:S=!1,...C}=n,E=f().useRef(),P={...n,anchorOrigin:i,anchorReference:l,elevation:p,marginThreshold:h,transformOrigin:b,TransitionComponent:x,transitionDuration:w,TransitionProps:k},T=(e=>{const{classes:t}=e;return Fo({root:["root"],paper:["paper"]},Mv,t)})(P),_=f().useCallback(()=>{if("anchorPosition"===l)return a;const e=Lv(o),t=(e&&1===e.nodeType?e:Mu(E.current).body).getBoundingClientRect();return{top:t.top+Iv(t,i.vertical),left:t.left+Av(t,i.horizontal)}},[o,i.horizontal,i.vertical,a,l]),O=f().useCallback(e=>({vertical:Iv(e,b.vertical),horizontal:Av(e,b.horizontal)}),[b.horizontal,b.vertical]),z=f().useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=O(t);if("none"===l)return{top:null,left:null,transformOrigin:Fv(n)};const r=_();let i=r.top-n.vertical,a=r.left-n.horizontal;const s=i+t.height,u=a+t.width,c=Ev(Lv(o)),d=c.innerHeight-h,f=c.innerWidth-h;if(null!==h&&i<h){const e=i-h;i-=e,n.vertical+=e}else if(null!==h&&s>d){const e=s-d;i-=e,n.vertical+=e}if(null!==h&&a<h){const e=a-h;a-=e,n.horizontal+=e}else if(u>f){const e=u-f;a-=e,n.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(a)}px`,transformOrigin:Fv(n)}},[o,l,_,O,h]),[R,M]=f().useState(m),N=f().useCallback(()=>{const e=E.current;if(!e)return;const t=z(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)},[z]);f().useEffect(()=>(S&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[o,S,N]);f().useEffect(()=>{m&&N()}),f().useImperativeHandle(r,()=>m?{updatePosition:()=>{N()}}:null,[m,N]),f().useEffect(()=>{if(!m)return;const e=Rv(()=>{N()}),t=Ev(Lv(o));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[o,m,N]);let I=w;const A={slots:{transition:x,...y},slotProps:{transition:k,paper:g,...v}},[F,L]=ns("transition",{elementType:Ca,externalForwardedProps:A,ownerState:P,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),N()},onExited:t=>{e.onExited?.(t),M(!1)}}),additionalProps:{appear:!0,in:m}});"auto"!==w||F.muiSupportAuto||(I=void 0);const j=c||(o?Mu(Lv(o)).body:void 0),[$,{slots:D,slotProps:B,...W}]=ns("root",{ref:t,elementType:jv,externalForwardedProps:{...A,...C},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:Nv("function"==typeof v.backdrop?v.backdrop(P):v.backdrop,{invisible:!0})},container:j,open:m},ownerState:P,className:st(T.root,u)}),[H,V]=ns("paper",{ref:E,className:T.paper,elementType:$v,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:R?void 0:{opacity:0}},ownerState:P});return(0,d().jsx)($,{...W,...!jl($)&&{slots:D,slotProps:B,disableScrollLock:S},children:(0,d().jsx)(F,{...L,timeout:I,children:(0,d().jsx)(H,{...V,children:s})})})});function Bv(e){return ni("MuiMenu",e)}ri("MuiMenu",["root","paper","list"]);const Wv={vertical:"top",horizontal:"right"},Hv={vertical:"top",horizontal:"left"},Vv=Xo(Dv,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),Uv=Xo($v,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),qv=Xo(zv,{name:"MuiMenu",slot:"List"})({outline:0}),Kv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:o,className:i,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:s,open:u,PaperProps:c={},PopoverClasses:p,transitionDuration:h="auto",TransitionProps:{onEntering:m,...g}={},variant:y="selectedMenu",slots:v={},slotProps:b={},...x}=n,w=it(),k={...n,autoFocus:r,disableAutoFocusItem:a,MenuListProps:l,onEntering:m,PaperProps:c,transitionDuration:h,TransitionProps:g,variant:y},S=(e=>{const{classes:t}=e;return Fo({root:["root"],paper:["paper"],list:["list"]},Bv,t)})(k),C=r&&!a&&u,E=f().useRef(null);let P=-1;f().Children.map(o,(e,t)=>{f().isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===P)&&(P=t))});const T={slots:v,slotProps:{list:l,transition:g,paper:c,...b}},_=Vl({elementType:v.root,externalSlotProps:b.root,ownerState:k,className:[S.root,i]}),[O,z]=ns("paper",{className:S.paper,elementType:Uv,externalForwardedProps:T,shouldForwardComponentProp:!0,ownerState:k}),[R,M]=ns("list",{className:st(S.list,l.className),elementType:qv,shouldForwardComponentProp:!0,externalForwardedProps:T,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),s&&s(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:k}),N="function"==typeof T.slotProps.transition?T.slotProps.transition(k):T.slotProps.transition;return(0,d().jsx)(Vv,{onClose:s,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?Wv:Hv,slots:{root:v.root,paper:O,backdrop:v.backdrop,...v.transition&&{transition:v.transition}},slotProps:{root:_,paper:z,backdrop:"function"==typeof b.backdrop?b.backdrop(k):b.backdrop,transition:{...N,onEntering:(...e)=>{((e,t)=>{E.current&&E.current.adjustStyleForScrollbar(e,{direction:w?"rtl":"ltr"}),m&&m(e,t)})(...e),N?.onEntering?.(...e)}}},open:u,ref:t,transitionDuration:h,ownerState:k,...x,classes:p,children:(0,d().jsx)(R,{actions:E,autoFocus:r&&(-1===P||a),autoFocusItem:C,variant:y,...M,children:o})})});function Yv(e){return ni("MuiNativeSelect",e)}const Qv=ri("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Gv=Xo("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Qv.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Xv=Xo(Gv,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Go,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Qv.multiple}`]:t.multiple}]}})({}),Zv=Xo("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Qv.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Jv=Xo(Zv,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Lo(n.variant)}`],n.open&&t.iconOpen]}})({}),eb=f().forwardRef(function(e,t){const{className:n,disabled:r,error:o,IconComponent:i,inputRef:a,variant:l="standard",...s}=e,u={...e,disabled:r,variant:l,error:o},c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return Fo({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Lo(n)}`,i&&"iconOpen",r&&"disabled"]},Yv,t)})(u);return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)(Xv,{ownerState:u,className:st(c.select,n),disabled:r,ref:a||t,...s}),e.multiple?null:(0,d().jsx)(Jv,{as:i,ownerState:u,className:c.icon})]})});function tb(e){return ni("MuiSelect",e)}const nb=ri("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);function rb(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function ob(e){return null==e||"string"==typeof e&&!e.trim()}const ib=f().createContext(null);const ab=ib.Provider;var lb;const sb=Xo(Gv,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${nb.select}`]:t.select},{[`&.${nb.select}`]:t[n.variant]},{[`&.${nb.error}`]:t.error},{[`&.${nb.multiple}`]:t.multiple}]}})({[`&.${nb.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ub=Xo(Zv,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Lo(n.variant)}`],n.open&&t.iconOpen]}})({}),cb=Xo("input",{shouldForwardProp:e=>Qo(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),db=f().forwardRef(function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:o,autoWidth:i,children:a,className:l,defaultOpen:s,defaultValue:u,disabled:c,displayEmpty:p,error:h=!1,IconComponent:m,inputRef:g,labelId:y,MenuProps:v={},multiple:b,name:x,onBlur:w,onChange:k,onClose:S,onFocus:C,onKeyDown:E,onMouseDown:P,onOpen:T,open:_,readOnly:O,renderValue:z,required:R,SelectDisplayProps:M={},tabIndex:N,type:I,value:A,variant:F="standard",...L}=e,[j,$]=ts({controlled:A,default:u,name:"Select"}),[D,B]=ts({controlled:_,default:s,name:"Select"}),W=f().useRef(null),H=f().useRef(null),[V,U]=f().useState(null),{current:q}=f().useRef(null!=_),[K,Y]=f().useState(),[Q,G]=f().useState(null),X=vi(t,g),Z=f().useCallback(e=>{H.current=e,e&&U(e)},[]),J=V?.parentNode;f().useImperativeHandle(X,()=>({focus:()=>{H.current.focus()},node:W.current,value:j}),[j]);const ee=null!==V&&D;f().useEffect(()=>{if(!ee||!J||i)return;if("undefined"==typeof ResizeObserver)return;const e=new ResizeObserver(()=>{Y(J.clientWidth)});return e.observe(J),()=>{e.disconnect()}},[ee,J,i]),f().useEffect(()=>{s&&D&&V&&!q&&(Y(i?null:J.clientWidth),H.current.focus())},[V,i]),f().useEffect(()=>{o&&H.current.focus()},[o]),f().useEffect(()=>{if(!y)return;const e=Mu(H.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&H.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[y]);const te=(e,t)=>{e?(G(function(e){return e?"mousedown"===e.type||"pointerdown"===e.type||"touchstart"===e.type?"pointer":"keydown"===e.type||"click"===e.type&&0===e.detail?"keyboard":null:null}(t)),T&&T(t)):(G(null),S&&S(t)),q||(Y(i?null:J.clientWidth),B(e))},ne=f().Children.toArray(a),re=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(b){n=Array.isArray(j)?j.slice():[];const t=j.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),j!==n&&($(n),k)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:x}}),k(o,e)}b||te(!1,t)}};let oe,ie;delete L["aria-invalid"];const ae=[];let le=!1,se=!1;(Au({value:j})||p)&&(z?oe=z(j):le=!0);const ue=ne.map(e=>{if(!f().isValidElement(e))return null;let t;if(b){if(!Array.isArray(j))throw new Error(qt(2));t=j.some(t=>rb(t,e.props.value)),t&&le&&ae.push(e.props.children)}else t=rb(j,e.props.value),t&&le&&(ie=e.props.children);return t&&(se=!0),f().cloneElement(e,{"aria-selected":t?"true":"false",onClick:re(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});le&&(oe=b?0===ae.length?null:ae.reduce((e,t,n)=>(e.push(t),n<ae.length-1&&e.push(", "),e),[]):ie);let ce,de=K;!i&&q&&V&&(de=J.clientWidth),ce=void 0!==N?N:c?null:0;const fe=M.id||(x?`mui-component-select-${x}`:void 0),pe={...e,variant:F,value:j,open:ee,error:h},he=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return Fo({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Lo(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},tb,t)})(pe),me={...v.PaperProps,..."function"==typeof v.slotProps?.paper?v.slotProps.paper(pe):v.slotProps?.paper},ge={...v.MenuListProps,..."function"==typeof v.slotProps?.list?v.slotProps.list(pe):v.slotProps?.list},ye=gt();return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)(sb,{as:"div",ref:Z,tabIndex:ce,role:"combobox","aria-controls":ee?ye:void 0,"aria-disabled":c?"true":void 0,"aria-expanded":ee?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[y,fe].filter(Boolean).join(" ")||void 0,"aria-describedby":n,"aria-required":R?"true":void 0,"aria-invalid":h?"true":void 0,onKeyDown:e=>{if(!O){[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),te(!0,e)),E?.(e)}},onMouseDown:c||O?null:e=>{P?.(e),0===e.button&&(e.preventDefault(),H.current.focus(),te(!0,e))},onBlur:e=>{!ee&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:j,name:x}}),w(e))},onFocus:C,...M,ownerState:pe,className:st(M.className,he.select,l),id:fe,children:ob(oe)?lb||(lb=(0,d().jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):oe}),(0,d().jsx)(cb,{"aria-invalid":h,value:Array.isArray(j)?j.join(","):j,name:x,ref:W,"aria-hidden":!0,onChange:e=>{const t=ne.find(t=>t.props.value===e.target.value);void 0!==t&&($(t.props.value),k&&k(e,t))},tabIndex:-1,disabled:c,className:he.nativeInput,autoFocus:o,required:R,...L,ownerState:pe}),(0,d().jsx)(ub,{as:m,className:he.icon,ownerState:pe}),(0,d().jsx)(ab,{value:Q,children:(0,d().jsx)(Kv,{id:`menu-${x||""}`,anchorEl:J,open:ee,onClose:e=>{te(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...v,slotProps:{...v.slotProps,list:{"aria-labelledby":y,role:"listbox","aria-multiselectable":b?"true":void 0,disableListWrap:!0,id:ye,...ge},paper:{...me,style:{minWidth:de,...null!=me?me.style:null}}},children:ue})})]})}),fb=si((0,d().jsx)("path",{d:"M7 10l5 5 5-5z"})),pb={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Go(e)&&"variant"!==e},hb=Xo(Dy,pb)(""),mb=Xo(nv,pb)(""),gb=Xo(qy,pb)(""),yb=f().forwardRef(function(e,t){const n=ei({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=fb,id:c,input:p,inputProps:h,label:m,labelId:g,MenuProps:y,multiple:v=!1,native:b=!1,onClose:x,onOpen:w,open:k,renderValue:S,SelectDisplayProps:C,variant:E="outlined",...P}=n,T=b?eb:db,_=_u({props:n,muiFormControl:zu(),states:["variant","error"]}),O=_.variant||E,z={...n,variant:O,classes:i},R=(e=>{const{classes:t}=e,n=Fo({root:["root"]},tb,t);return{...t,...n}})(z),{root:M,...N}=R,I=p||{standard:(0,d().jsx)(hb,{ownerState:z}),outlined:(0,d().jsx)(mb,{label:m,ownerState:z}),filled:(0,d().jsx)(gb,{ownerState:z})}[O],A=vi(t,ia(I));return(0,d().jsx)(f().Fragment,{children:f().cloneElement(I,{inputComponent:T,inputProps:{children:o,error:_.error,IconComponent:u,variant:O,type:void 0,multiple:v,...b?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:g,MenuProps:y,onClose:x,onOpen:w,open:k,renderValue:S,SelectDisplayProps:{id:c,...C}},...h,classes:h?At(N,h.classes):N,...p?p.props.inputProps:{}},...(v&&b||s)&&"outlined"===O?{notched:!0}:{},ref:A,className:st(I.props.className,a,R.root),...!p&&{variant:O},...P})})});yb.muiName="Select";const vb=yb;function bb(e){return ni("MuiTextField",e)}ri("MuiTextField",["root"]);const xb={standard:Dy,filled:qy,outlined:nv},wb=Xo(hv,{name:"MuiTextField",slot:"Root"})({}),kb=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:o=!1,children:i,className:a,color:l="primary",defaultValue:s,disabled:u=!1,error:c=!1,FormHelperTextProps:f,fullWidth:p=!1,helperText:h,id:m,InputLabelProps:g,inputProps:y,InputProps:v,inputRef:b,label:x,maxRows:w,minRows:k,multiline:S=!1,name:C,onBlur:E,onChange:P,onFocus:T,placeholder:_,required:O=!1,rows:z,select:R=!1,SelectProps:M,slots:N={},slotProps:I={},type:A,value:F,variant:L="outlined",...j}=n,$={...n,autoFocus:o,color:l,disabled:u,error:c,fullWidth:p,multiline:S,required:O,select:R,variant:L},D=(e=>{const{classes:t}=e;return Fo({root:["root"]},bb,t)})($);const B=gt(m),W=h&&B?`${B}-helper-text`:void 0,H=x&&B?`${B}-label`:void 0,V=xb[L],U={slots:N,slotProps:{input:v,inputLabel:g,htmlInput:y,formHelperText:f,select:M,...I}},q={},K=U.slotProps.inputLabel;"outlined"===L&&(K&&void 0!==K.shrink&&(q.notched=K.shrink),q.label=x),R&&(M&&M.native||(q.id=void 0),q["aria-describedby"]=void 0);const[Y,Q]=ns("root",{elementType:wb,shouldForwardComponentProp:!0,externalForwardedProps:{...U,...j},ownerState:$,className:st(D.root,a),ref:t,additionalProps:{disabled:u,error:c,fullWidth:p,required:O,color:l,variant:L}}),[G,X]=ns("input",{elementType:V,externalForwardedProps:U,additionalProps:q,ownerState:$}),[Z,J]=ns("inputLabel",{elementType:cv,externalForwardedProps:U,ownerState:$}),[ee,te]=ns("htmlInput",{elementType:"input",externalForwardedProps:U,ownerState:$}),[ne,re]=ns("formHelperText",{elementType:bv,externalForwardedProps:U,ownerState:$}),[oe,ie]=ns("select",{elementType:vb,externalForwardedProps:U,ownerState:$}),ae=(0,d().jsx)(G,{"aria-describedby":W,autoComplete:r,autoFocus:o,defaultValue:s,fullWidth:p,multiline:S,name:C,rows:z,maxRows:w,minRows:k,type:A,value:F,id:B,inputRef:b,onBlur:E,onChange:P,onFocus:T,placeholder:_,inputProps:te,slots:{input:N.htmlInput?ee:void 0},...X});return(0,d().jsxs)(Y,{...Q,children:[null!=x&&""!==x&&(0,d().jsx)(Z,{htmlFor:B,id:H,...J,children:x}),R?(0,d().jsx)(oe,{"aria-describedby":W,id:B,labelId:H,value:F,input:ae,...ie,children:i}):ae,h&&(0,d().jsx)(ne,{id:W,...re,children:h})]})});function Sb(e){return ni("MuiAlert",e)}const Cb=ri("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Eb=si((0,d().jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),Pb=si((0,d().jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),Tb=si((0,d().jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),_b=si((0,d().jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),Ob=si((0,d().jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),zb=Xo(Pc,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lo(n.color||n.severity)}`]]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode?e.darken:e.lighten,n="light"===e.palette.mode?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Xi(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Cb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Xi(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Cb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Xi(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),Rb=Xo("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Mb=Xo("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),Nb=Xo("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Ib={success:(0,d().jsx)(Eb,{fontSize:"inherit"}),warning:(0,d().jsx)(Pb,{fontSize:"inherit"}),error:(0,d().jsx)(Tb,{fontSize:"inherit"}),info:(0,d().jsx)(_b,{fontSize:"inherit"})},Ab=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiAlert"}),{action:r,children:o,className:i,closeText:a="Close",color:l,components:s={},componentsProps:u={},icon:c,iconMapping:f=Ib,onClose:p,role:h="alert",severity:m="success",slotProps:g={},slots:y={},variant:v="standard",...b}=n,x={...n,color:l,severity:m,variant:v,colorSeverity:l||m},w=(e=>{const{variant:t,color:n,severity:r,classes:o}=e;return Fo({root:["root",`color${Lo(n||r)}`,`${t}${Lo(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},Sb,o)})(x),k={slots:{closeButton:s.CloseButton,closeIcon:s.CloseIcon,...y},slotProps:{...u,...g}},[S,C]=ns("root",{ref:t,shouldForwardComponentProp:!0,className:st(w.root,i),elementType:zb,externalForwardedProps:{...k,...b},ownerState:x,additionalProps:{role:h,elevation:0}}),[E,P]=ns("icon",{className:w.icon,elementType:Rb,externalForwardedProps:k,ownerState:x}),[T,_]=ns("message",{className:w.message,elementType:Mb,externalForwardedProps:k,ownerState:x}),[O,z]=ns("action",{className:w.action,elementType:Nb,externalForwardedProps:k,ownerState:x}),[R,M]=ns("closeButton",{elementType:Os,externalForwardedProps:k,ownerState:x}),[N,I]=ns("closeIcon",{elementType:Ob,externalForwardedProps:k,ownerState:x});return(0,d().jsxs)(S,{...C,children:[!1!==c?(0,d().jsx)(E,{...P,children:c||f[m]||Ib[m]}):null,(0,d().jsx)(T,{..._,children:o}),null!=r?(0,d().jsx)(O,{...z,children:r}):null,null==r&&p?(0,d().jsx)(O,{...z,children:(0,d().jsx)(R,{size:"small","aria-label":a,title:a,color:"inherit",onClick:p,...M,children:(0,d().jsx)(N,{fontSize:"small",...I})})}):null]})}),Fb=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Lb(e,t){var n,r;const o="website"===e.surface,i=o?"website":e.page||"apps",a=o?window.location.pathname:new URLSearchParams(window.location.search).get("path")||"";return{channel:"assistant",product:i,page:a,version:null!==(r=null===(n=t.find(e=>e.slug===i))||void 0===n?void 0:n.version)&&void 0!==r?r:""}}function jb({config:e,apps:t,draft:n,sent:r,onSent:o}){var i,a;const l=e.feedback,[s,u]=(0,f().useState)(null!==(i=null==l?void 0:l.email)&&void 0!==i?i:""),[c,p]=(0,f().useState)(null!==(a=null==l?void 0:l.origin)&&void 0!==a?a:""),[h,m]=(0,f().useState)(n),[g,y]=(0,f().useState)(!1),[v,b]=(0,f().useState)("");if(!(null==l?void 0:l.url))return null;if(r)return(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",sx:{color:"success.main"},children:[(0,d().jsx)(Ny,{sx:{fontSize:18}}),(0,d().jsx)(oa,{variant:"body2",children:Mo.feedback_sent})]});const x=async n=>{n.preventDefault();const r=function(e){const t=e.trim().toLowerCase();if(!t)return"";try{return new URL(t.includes("://")?t:`https://${t}`).hostname}catch{return""}}(c);if(Fb.test(s.trim())&&r&&h.trim()){y(!0),b("");try{const n=await fetch(l.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s.trim(),origin:r,message:h.trim(),source:Lb(e,t)})}),i=await n.json().catch(()=>null);if(!n.ok)throw new Error((null==i?void 0:i.message)||Mo.feedback_error);o()}catch(e){b(e instanceof Error&&e.message?e.message:Mo.feedback_error)}finally{y(!1)}}else b(Mo.feedback_check)};return(0,d().jsx)(mi,{component:"form",onSubmit:e=>{x(e)},sx:{border:Io,borderRadius:2,p:1.5,bgcolor:"#FFFFFF"},children:(0,d().jsxs)(Qs,{spacing:1.25,children:[(0,d().jsx)(oa,{variant:"subtitle2",component:"p",children:Mo.feedback_title}),(0,d().jsx)(kb,{size:"small",type:"email",label:Mo.feedback_email,value:s,onChange:e=>u(e.target.value),required:!0}),!l.origin&&(0,d().jsx)(kb,{size:"small",label:Mo.feedback_website,placeholder:"example.com",value:c,onChange:e=>p(e.target.value),required:!0}),(0,d().jsx)(kb,{size:"small",multiline:!0,minRows:3,maxRows:8,label:Mo.feedback_message,value:h,onChange:e=>m(e.target.value),inputProps:{maxLength:2e3},required:!0}),v&&(0,d().jsx)(Ab,{severity:"error",sx:{py:0},children:v}),(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",justifyContent:"space-between",children:[(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",children:Mo.feedback_notice}),(0,d().jsx)(au,{type:"submit",size:"small",variant:"contained",disableElevation:!0,disabled:g,endIcon:(0,d().jsx)(Iy,{}),sx:{flexShrink:0},children:g?Mo.feedback_sending:Mo.feedback_send})]})]})})}function $b({src:e,onClose:t}){return(0,d().jsxs)(Ac,{open:Boolean(e),onClose:t,maxWidth:!1,PaperProps:{sx:{m:2,bgcolor:"transparent",boxShadow:"none",overflow:"visible"}},children:[(0,d().jsx)(ps,{title:Mo.ask_close,children:(0,d().jsx)(Os,{"aria-label":Mo.ask_close,onClick:t,size:"small",sx:{position:"absolute",top:-14,right:-14,bgcolor:"#FFFFFF",boxShadow:2,"&:hover, &:focus":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(Ls,{fontSize:"small"})})}),e&&(0,d().jsx)(mi,{component:"img",src:e,alt:"",sx:{display:"block",maxWidth:"calc(100vw - 64px)",maxHeight:"calc(100vh - 96px)",borderRadius:2,bgcolor:"#FFFFFF"}})]})}const Db=6e4,Bb=36e5,Wb=24*Bb,Hb=new Intl.RelativeTimeFormat("en",{numeric:"auto"});function Vb(e,t){const n=Math.max(0,t-e);return n<45e3?"just now":n<Bb?Hb.format(-Math.max(1,Math.round(n/Db)),"minute"):n<Wb?Hb.format(-Math.round(n/Bb),"hour"):n<2*Wb?Hb.format(-1,"day"):new Date(e).toLocaleDateString("en-GB",{day:"numeric",month:"short"})}const Ub=e=>new Date(e).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"});function qb({text:e,at:t,now:n,align:r}){const[o,i]=(0,f().useState)(!1);return(0,f().useEffect)(()=>{if(!o)return;const e=setTimeout(()=>i(!1),1500);return()=>clearTimeout(e)},[o]),(0,d().jsxs)(Qs,{className:"rwpbot-message-actions",direction:"row",spacing:.25,alignItems:"center",justifyContent:"right"===r?"flex-end":"flex-start",sx:{minHeight:26,color:"text.secondary",transition:"opacity 0.15s ease"},children:[t&&(0,d().jsx)(ps,{title:Ub(t),children:(0,d().jsx)(oa,{variant:"caption",sx:{fontSize:"0.75rem",px:.5,cursor:"default"},children:Vb(t,n)})}),e&&(0,d().jsx)(ps,{title:o?Mo.ask_copied:Mo.ask_copy_message,children:(0,d().jsx)(Os,{"aria-label":o?Mo.ask_copied:Mo.ask_copy_message,onClick:async()=>i(await by(e).catch(()=>!1)),size:"small",sx:{p:.5,color:o?"success.main":"text.secondary","&:hover, &:focus":{color:o?"success.main":"primary.main"}},children:o?(0,d().jsx)(yy,{sx:{fontSize:15}}):(0,d().jsx)(vy,{sx:{fontSize:15}})})})]})}const Kb=14e5,Yb=e=>`data:${e.media_type};base64,${e.data}`;function Qb(e,t){const n=function(e,t,n){const r=Math.min(1,n/Math.max(e,t));return{width:Math.max(1,Math.round(e*r)),height:Math.max(1,Math.round(t*r))}}(e.width,e.height,t),r=document.createElement("canvas");r.width=n.width,r.height=n.height;const o=r.getContext("2d");if(!o)throw new Error("Canvas isn't available.");return o.fillStyle="#FFFFFF",o.fillRect(0,0,n.width,n.height),o.drawImage(e,0,0,n.width,n.height),r}const Gb=(e,t,n)=>new Promise(r=>e.toBlob(r,t,n)),Xb=e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{var e;return t(null!==(e=String(r.result).split(",")[1])&&void 0!==e?e:"")},r.onerror=()=>n(r.error),r.readAsDataURL(e)});const Zb=si((0,d().jsx)("path",{d:"M15.88 9.29 12 13.17 8.12 9.29a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0"})),Jb=si((0,d().jsx)("path",{d:"M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0s.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"})),ex=si((0,d().jsx)("path",{d:"M19.3 16.9c.58-1.01.95-2.23.51-3.65-.53-1.72-2.04-3.05-3.84-3.22-2.87-.28-5.23 2.07-4.95 4.95.18 1.79 1.5 3.31 3.22 3.84 1.43.44 2.64.07 3.65-.51l2.5 2.5c.39.39 1.01.39 1.4 0s.39-1.01 0-1.4zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5M12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07c-.64-2.46-2.4-4.47-4.73-5.41V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8"}));function tx(e){return ni("MuiCollapse",e)}ri("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const nx=Xo("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})(Jo(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),rx=Xo("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),ox=Xo("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),ix=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:i,collapsedSize:a="0px",component:l,easing:s,in:u,onEnter:c,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:y,orientation:v="vertical",slots:b={},slotProps:x={},style:w,timeout:k=Zr.standard,TransitionComponent:S=ma,...C}=n,E={...n,orientation:v,collapsedSize:a},P=(e=>{const{orientation:t,classes:n}=e;return Fo({root:["root",t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",t],wrapperInner:["wrapperInner",t]},tx,n)})(E),T=aa(),_=Fi(),O=f().useRef(null),z=f().useRef(),R="number"==typeof a?`${a}px`:a,M="horizontal"===v,N=M?"width":"height",I=f().useRef(null),A=vi(t,I),F=()=>O.current?O.current[M?"clientWidth":"clientHeight"]:0,L=ya(I,(e,t)=>{O.current&&M&&(O.current.style.position="absolute"),e.style[N]=R,c&&c(e,t)}),j=ya(I,(e,t)=>{const n=F();O.current&&M&&(O.current.style.position="");const{duration:r,easing:o}=ba({style:w,timeout:k,easing:s},{mode:"enter"});if("auto"===k){const t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,z.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[N]=`${n}px`,e.style.transitionTimingFunction=o,h&&h(e,t)}),$=ya(I,(e,t)=>{e.style[N]="auto",p&&p(e,t)}),D=ya(I,e=>{e.style[N]=`${F()}px`,m&&m(e)}),B=ya(I,g),W=ya(I,e=>{const t=F(),{duration:n,easing:r}=ba({style:w,timeout:k,easing:s},{mode:"exit"});if("auto"===k){const n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,z.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[N]=R,e.style.transitionTimingFunction=r,y&&y(e)}),H={slots:b,slotProps:x,component:l},[V,U]=ns("root",{ref:A,className:st(P.root,i),elementType:nx,externalForwardedProps:H,ownerState:E,additionalProps:{style:{[M?"minWidth":"minHeight"]:R,...w}}}),[q,K]=ns("wrapper",{ref:O,className:P.wrapper,elementType:rx,externalForwardedProps:H,ownerState:E}),[Y,Q]=ns("wrapperInner",{className:P.wrapperInner,elementType:ox,externalForwardedProps:H,ownerState:E});return(0,d().jsx)(S,{in:u,onEnter:L,onEntered:$,onEntering:j,onExit:D,onExited:B,onExiting:W,addEndListener:e=>{"auto"===k&&_.start(z.current||0,e),r&&r(I.current,e)},nodeRef:I,timeout:"auto"===k?null:k,...C,children:(e,{ownerState:t,...n})=>{const r={...E,state:e};return(0,d().jsx)(V,{...U,className:st(U.className,{entered:P.entered,exited:!u&&"0px"===R&&P.hidden}[e]),ownerState:r,...n,children:(0,d().jsx)(q,{...K,ownerState:r,children:(0,d().jsx)(Y,{...Q,ownerState:r,children:o})})})}})});ix&&(ix.muiSupportAuto=!0);const ax=ix,lx=(e,t,n)=>(1===e?t:n).replace("%d",String(e));function sx(e,t){var n,r;if("settings"===e.where){const o=t.find(t=>t.slug===e.plugin);return`${Mo.ask_settings.replace("%s",null!==(r=null!==(n=null==o?void 0:o.name)&&void 0!==n?n:e.plugin)&&void 0!==r?r:"")}: “${e.query}”`}return"question"!==e.by&&e.query?`“${e.query}”`:Mo.ask_your_question}function ux({research:e,apps:t}){const[n,r]=(0,f().useState)(!1),o=(0,f().useId)(),i=new Map(e.sections.map(e=>[e.id,e])),a=`${lx(e.searches.length,Mo.ask_search_one,Mo.ask_search_many)} · ${lx(e.sections.length,Mo.ask_section_one,Mo.ask_section_many)}`;return(0,d().jsxs)(mi,{children:[(0,d().jsxs)(Qi,{onClick:()=>r(e=>!e),"aria-expanded":n,"aria-controls":o,title:a,sx:{gap:.75,borderRadius:1,px:.5,py:.25,ml:-.5,color:"text.secondary","&:hover, &:focus-visible":{color:"text.primary",bgcolor:"rgba(7, 21, 34, 0.04)"}},children:[(0,d().jsx)(ex,{sx:{fontSize:16}}),(0,d().jsx)(oa,{variant:"caption",sx:{fontSize:"0.8rem"},children:a}),(0,d().jsx)(Zb,{sx:{fontSize:18,transition:"transform 150ms ease",transform:n?"rotate(180deg)":"none"}})]}),(0,d().jsx)(ax,{in:n,id:o,children:(0,d().jsx)(Qs,{component:"ol",spacing:1,sx:{listStyle:"none",m:0,mt:.75,ml:.75,pl:1.5,py:.25,borderLeft:"2px solid rgba(7, 21, 34, 0.1)"},children:e.searches.map((e,n)=>(0,d().jsxs)(mi,{component:"li",children:[(0,d().jsxs)(Qs,{direction:"row",spacing:.75,alignItems:"center",children:["settings"===e.where?(0,d().jsx)(Ds,{sx:{fontSize:14,color:"text.secondary",flexShrink:0}}):(0,d().jsx)(Jb,{sx:{fontSize:14,color:"text.secondary",flexShrink:0}}),(0,d().jsx)(oa,{variant:"caption",sx:{fontWeight:600,fontSize:"0.8rem"},children:sx(e,t)})]}),e.sections.length?(0,d().jsx)(mi,{component:"ul",sx:{listStyle:"none",m:0,mt:.25,pl:2.5},children:e.sections.map(e=>{const n=i.get(e);if(!n)return null;const r=n.heading&&n.heading!==n.page?`${n.page} › ${n.heading}`:n.page,o=n.plugin?t.find(e=>e.slug===n.plugin):void 0,a=o&&n.path?Qc.settingUrl(o,n.path):n.url;return a?(0,d().jsx)(mi,{component:"li",sx:{lineHeight:1.4},children:(0,d().jsx)(pu,{href:a,target:n.url?"_blank":void 0,rel:n.url?"noopener noreferrer":void 0,underline:"hover",variant:"caption",title:r,sx:{fontSize:"0.8rem",color:"text.secondary",display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&:hover, &:focus":{color:"primary.main"}},children:r})},e):(0,d().jsx)(mi,{component:"li",title:r,sx:{lineHeight:1.4,fontSize:"0.8rem",color:"text.secondary",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r},e)})}):(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",component:"p",sx:{pl:2.5,fontSize:"0.8rem"},children:e.found?Mo.ask_nothing_new:Mo.ask_nothing_found})]},n))})})]})}function cx({file:e,onClose:t}){return(0,d().jsxs)(Ac,{open:Boolean(e),onClose:t,maxWidth:"md",fullWidth:!0,children:[(0,d().jsx)($c,{sx:{pb:.5},children:null==e?void 0:e.name}),(0,d().jsxs)(Wc,{children:[(0,d().jsxs)(oa,{variant:"body2",color:"text.secondary",sx:{mb:1.5},children:[null==e?void 0:e.summary,". ",Mo.ask_file_note]}),(0,d().jsx)(mi,{component:"pre",sx:{m:0,p:1.5,maxHeight:"60vh",overflow:"auto",bgcolor:"rgba(7, 21, 34, 0.04)",borderRadius:2,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:"0.78rem",lineHeight:1.5,whiteSpace:"pre-wrap",overflowWrap:"anywhere"},children:null==e?void 0:e.text})]}),(0,d().jsx)(Yc,{sx:{px:3,pb:2},children:(0,d().jsx)(au,{onClick:t,children:Mo.ask_close})})]})}const dx=Rt`from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; }`;function fx({image:e,file:t,wpAdmin:n}){return[...e?[Mo.ask_step_image]:[],...t?[Mo.ask_step_file]:[],Mo.ask_step_search,Mo.ask_step_docs,...n?[Mo.ask_step_site]:[],Mo.ask_step_write,Mo.ask_step_almost]}function px({steps:e}){var t;const[n,r]=(0,f().useState)(0);return(0,f().useEffect)(()=>{if(n>=e.length-1)return;const t=setTimeout(()=>r(e=>e+1),2500);return()=>clearTimeout(t)},[n,e.length]),(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",sx:{color:"text.secondary"},role:"status","aria-live":"polite",children:[(0,d().jsx)(Cs,{size:14}),(0,d().jsx)(oa,{variant:"body2",sx:{animation:`${dx} 0.3s ease-out`,"@media (prefers-reduced-motion: reduce)":{animation:"none"}},children:null!==(t=e[n])&&void 0!==t?t:Mo.ask_thinking},n)]})}function hx({suggestion:e,apps:t}){var n,r,o;const i=t.find(t=>t.slug===e.slug),a=i&&e.setting?Qc.settingUrl(i,e.setting.path):"",l=a&&e.setting?{href:a,label:Mo.go_to.replace("%s",e.setting.name),variant:"contained",install:!1}:i?Qc.action(i):null;return(0,d().jsxs)(mi,{sx:{border:Io,borderRadius:2,p:1.5,bgcolor:"#FFFFFF"},children:[(0,d().jsx)(oa,{variant:"subtitle2",component:"p",children:null!==(n=null==i?void 0:i.name)&&void 0!==n?n:e.title}),e.reason&&(0,d().jsx)(oa,{variant:"body2",color:"text.secondary",sx:{mt:.25,fontSize:"0.9rem"},children:e.reason}),(null===(r=e.setting)||void 0===r?void 0:r.location)&&(0,d().jsxs)(Qs,{direction:"row",spacing:.5,alignItems:"center",sx:{mt:.75,color:"text.secondary"},children:[(0,d().jsx)(Ds,{sx:{fontSize:15}}),(0,d().jsx)(oa,{variant:"caption",sx:{fontSize:"0.8rem"},children:e.setting.location})]}),l&&(0,d().jsx)(au,{size:"small",variant:l.variant,disableElevation:!0,href:l.href,title:a?null===(o=e.setting)||void 0===o?void 0:o.location:l.label,startIcon:l.install?(0,d().jsx)(js,{}):void 0,sx:{mt:1},children:l.label}),!i&&(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",component:"p",sx:{mt:.5},children:Mo.coming_soon})]})}function mx({sources:e,label:t}){return(0,d().jsxs)(Qs,{spacing:.5,children:[(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",sx:{fontWeight:600},children:t}),e.map(e=>(0,d().jsxs)(pu,{href:e.url,target:"_blank",rel:"noopener noreferrer",variant:"body2",underline:"hover",sx:{display:"inline-flex",alignItems:"center",gap:.5,"&:hover, &:focus":{color:"primary.main"}},children:[(0,d().jsx)(mi,{component:"span",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:300},children:e.title}),(0,d().jsx)(Fs,{sx:{fontSize:14,flexShrink:0}})]},e.id))]})}function gx(e){const t="user"===(null==e?void 0:e.role)?e.content.trim():"";return t.split(/\s+/).length>3?t:""}const yx={"& .rwpbot-message-actions":{opacity:0},"&:hover .rwpbot-message-actions, &:focus-within .rwpbot-message-actions":{opacity:1},"@media (hover: none)":{"& .rwpbot-message-actions":{opacity:1}}};function vx({message:e,apps:t,config:n,draft:r,onFeedbackSent:o,now:i,onView:a,onViewFile:l}){var s,u,c,f,p,h;return"user"===e.role?(0,d().jsxs)(Qs,{alignItems:"flex-end",spacing:.25,sx:yx,children:[(0,d().jsxs)(mi,{sx:{alignSelf:"flex-end",maxWidth:"85%",px:1.5,py:1,borderRadius:2,bgcolor:"rgba(7, 21, 34, 0.05)"},children:[Boolean(null===(s=e.images)||void 0===s?void 0:s.length)&&(0,d().jsx)(Qs,{direction:"row",spacing:.75,sx:{mb:e.content?.75:0,justifyContent:"flex-end"},children:null===(u=e.images)||void 0===u?void 0:u.map((t,n)=>(0,d().jsx)(ps,{title:Mo.ask_view_image,children:(0,d().jsx)(Qi,{onClick:()=>{var r,o;return a(null!==(o=null===(r=e.full)||void 0===r?void 0:r[n])&&void 0!==o?o:t)},"aria-label":Mo.ask_view_image,sx:{borderRadius:1},children:(0,d().jsx)(mi,{component:"img",src:t,alt:"",sx:{maxWidth:120,maxHeight:90,borderRadius:1,border:Io,display:"block"}})})},n))}),e.file&&(0,d().jsx)(mi,{sx:{mb:e.content?.75:0,display:"flex",justifyContent:"flex-end"},children:(0,d().jsx)(Ry,{name:e.file.name,summary:e.file.summary,onClick:e.fileText&&e.file?()=>{var t;return l({...e.file,text:null!==(t=e.fileText)&&void 0!==t?t:""})}:void 0})}),(0,d().jsx)(oa,{variant:"body2",sx:{whiteSpace:"pre-wrap",fontSize:"0.95rem"},children:e.content})]}),(0,d().jsx)(qb,{text:e.content,at:e.at,now:i,align:"right"})]}):(0,d().jsxs)(Qs,{spacing:1,sx:yx,children:[Boolean(null===(c=e.research)||void 0===c?void 0:c.searches.length)&&e.research&&(0,d().jsx)(ux,{research:e.research,apps:t}),e.failed?(0,d().jsx)(oa,{variant:"body2",color:"error.main",sx:{whiteSpace:"pre-wrap",fontSize:"0.95rem"},children:e.content}):(0,d().jsx)(ky,{text:e.content}),(0,d().jsx)(mi,{sx:{mt:"2px !important",ml:-.5},children:(0,d().jsx)(qb,{text:e.content,at:e.at,now:i,align:"left"})}),Boolean(null===(f=e.sources)||void 0===f?void 0:f.length)&&(0,d().jsx)(mx,{sources:null!==(p=e.sources)&&void 0!==p?p:[],label:Mo.ask_sources}),"feedback"===e.form&&(0,d().jsx)(jb,{config:n,apps:t,draft:r,sent:Boolean(e.feedbackSent),onSent:o}),null===(h=e.suggestions)||void 0===h?void 0:h.map(e=>(0,d().jsx)(hx,{suggestion:e,apps:t},e.slug))]})}function bx({apps:e,surface:t,messages:n,loading:r,onSend:o,onReset:i,onClose:a,config:l,onFeedbackSent:s}){var u,c,p;const[h,m]=(0,f().useState)(""),[g,y]=(0,f().useState)(!1),v=function(){const[e,t]=(0,f().useState)(()=>Date.now());return(0,f().useEffect)(()=>{const e=setInterval(()=>t(Date.now()),Db);return()=>clearInterval(e)},[]),e}(),b=(0,f().useRef)(null),x=(0,f().useRef)(null);(0,f().useEffect)(()=>{var e;null===(e=b.current)||void 0===e||e.focus()},[]),(0,f().useEffect)(()=>{var e;null===(e=x.current)||void 0===e||e.scrollIntoView({block:"end"})},[n,r]);const[w,k]=(0,f().useState)([]),[S,C]=(0,f().useState)(null),[E,P]=(0,f().useState)(null),[T,_]=(0,f().useState)(null),[O,z]=(0,f().useState)(null),R=(0,f().useRef)(null),M=async e=>{const t=e.filter(e=>e.type.startsWith("image/")),n=e.filter(e=>!e.type.startsWith("image/")&&Py(e));if(n.length&&(z(n.length>1||E?Mo.ask_file_limit:null),!E)){const e=await Oy(n[0]).catch(()=>null);e?P(e):z(Mo.ask_image_error)}if(e.length>t.length+n.length&&z(Mo.ask_image_error),!t.length)return;const r=2-w.length;z(t.length>r?Mo.ask_image_limit:null);const o=await Promise.all(t.slice(0,Math.max(r,0)).map(e=>async function(e){if(!e.type.startsWith("image/"))throw new Error("not an image");const t=await createImageBitmap(e,{imageOrientation:"from-image"});try{const e=Qb(t,1280);let n=null;for(const t of[.85,.7,.55])if(n=await Gb(e,"image/webp",t),n&&"image/webp"===n.type||(n=await Gb(e,"image/jpeg",t)),n&&n.size<=Kb)break;if(!n||n.size>Kb)throw new Error("too large");const r=Qb(t,160).toDataURL("image/jpeg",.7);return{media_type:"image/webp"===n.type?"image/webp":"image/jpeg",data:await Xb(n),preview:r}}finally{t.close()}}(e).catch(()=>null)));o.includes(null)&&z(Mo.ask_image_error),k(e=>[...e,...o.filter(e=>null!==e)].slice(0,2))},N=e=>{(e.trim()||w.length||E)&&!r&&(o(e,w,E),m(""),k([]),P(null),z(null))};return(0,d().jsxs)(mi,{component:"aside",role:"dialog","aria-label":Mo.ask_title,onDragOver:e=>e.preventDefault(),onDrop:e=>{e.dataTransfer.files.length&&(e.preventDefault(),M(Array.from(e.dataTransfer.files)))},sx:{position:"fixed",top:"wp-admin"===t?46:0,"@media (min-width: 783px)":{top:"wp-admin"===t?32:0},right:0,bottom:0,width:{xs:"100%",sm:400},display:"flex",flexDirection:"column",bgcolor:"#FFFFFF",borderLeft:Io,zIndex:9989,color:"text.primary"},children:[(0,d().jsxs)(Qs,{direction:"row",alignItems:"center",spacing:1,sx:{px:2,py:1.25,borderBottom:Io},children:[(0,d().jsx)(oa,{variant:"subtitle1",component:"h2",sx:{fontWeight:600,flexGrow:1},children:Mo.ask_title}),(0,d().jsx)(ps,{title:Mo.ask_new,children:(0,d().jsx)("span",{children:(0,d().jsx)(au,{size:"small",startIcon:(0,d().jsx)($s,{}),onClick:()=>y(!0),disabled:!n.length||r,children:Mo.ask_new})})}),(0,d().jsx)(ps,{title:Mo.ask_close,children:(0,d().jsx)(Os,{"aria-label":Mo.ask_close,onClick:a,size:"small",children:(0,d().jsx)(Ls,{})})})]}),(0,d().jsxs)(Qs,{spacing:2,sx:{flexGrow:1,overflowY:"auto",px:2,py:2},"aria-live":"polite",children:[!n.length&&(0,d().jsxs)(Qs,{spacing:1.5,children:[(0,d().jsx)(oa,{variant:"body2",sx:{fontSize:"0.95rem"},children:Mo.ask_intro}),(0,d().jsx)(Qs,{direction:"row",useFlexGap:!0,flexWrap:"wrap",gap:1,children:Ro.map(e=>(0,d().jsx)(xu,{label:e,variant:"outlined",onClick:()=>N(e),sx:{height:"auto",py:.5,"& .MuiChip-label":{whiteSpace:"normal"}}},e))})]}),n.map((t,r)=>(0,d().jsx)(vx,{message:t,apps:e,config:l,draft:gx(n[r-1]),onFeedbackSent:()=>s(r),now:v,onView:C,onViewFile:_},r)),r&&(0,d().jsx)(px,{steps:fx({image:Boolean(null===(c=null===(u=n[n.length-1])||void 0===u?void 0:u.images)||void 0===c?void 0:c.length),file:Boolean(null===(p=n[n.length-1])||void 0===p?void 0:p.file),wpAdmin:"wp-admin"===t})}),(0,d().jsx)("div",{ref:x})]}),(0,d().jsxs)(mi,{sx:{px:2,pb:2,pt:1},children:[(0,d().jsx)(My,{images:w,file:E,error:O,onRemoveFile:()=>P(null),onViewFile:()=>E&&_({name:E.name,summary:_y(E),text:E.text}),onRemove:e=>k(t=>t.filter((t,n)=>n!==e)),onView:e=>C(Yb(e))}),(0,d().jsxs)(Qs,{direction:"row",alignItems:"flex-end",spacing:1,sx:{border:Io,borderRadius:3,pl:1.75,pr:.75,py:.75,"&:focus-within":{borderColor:"primary.main"}},children:[(0,d().jsx)(ps,{title:w.length>=2&&E?Mo.ask_image_limit:Mo.ask_attach,children:(0,d().jsx)("span",{children:(0,d().jsx)(Os,{"aria-label":Mo.ask_attach,onClick:()=>{var e;return null===(e=R.current)||void 0===e?void 0:e.click()},disabled:w.length>=2&&Boolean(E)||r,sx:{width:34,height:34,ml:-1,color:"text.secondary","&:hover, &:focus":{color:"primary.main"}},children:(0,d().jsx)($s,{fontSize:"small"})})})}),(0,d().jsx)("input",{ref:R,type:"file",accept:["image/png,image/jpeg,image/webp,image/gif",...Ey,"text/plain,application/json"].join(","),multiple:!0,hidden:!0,onChange:e=>{var t;M(Array.from(null!==(t=e.target.files)&&void 0!==t?t:[])),e.target.value=""}}),(0,d().jsx)(Yu,{inputRef:b,value:h,onChange:e=>m(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),N(h)),"Escape"!==e.key||g||a()},onPaste:e=>{const t=Array.from(e.clipboardData.files).filter(e=>e.type.startsWith("image/")||Py(e));t.length&&(e.preventDefault(),M(t))},placeholder:Mo.ask,multiline:!0,maxRows:5,inputProps:{maxLength:500,"aria-label":Mo.ask},sx:{flexGrow:1,py:.5,fontSize:"0.95rem","& textarea, & textarea:focus":{border:0,boxShadow:"none",outline:0,background:"transparent",padding:0,borderRadius:0,minHeight:0}}}),(0,d().jsx)(ps,{title:Mo.ask_send,children:(0,d().jsx)("span",{children:(0,d().jsx)(Os,{"aria-label":Mo.ask_send,onClick:()=>N(h),disabled:!h.trim()&&!w.length&&!E||r,sx:{width:34,height:34,borderRadius:2,bgcolor:"primary.main",color:"#FFFFFF","&:hover, &:focus, &:active":{bgcolor:"primary.dark",color:"#FFFFFF"},"&.Mui-disabled":{bgcolor:"rgba(7, 21, 34, 0.12)",color:"#FFFFFF"}},children:(0,d().jsx)(ui,{fontSize:"small"})})})})]}),(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",component:"p",sx:{mt:.75,textAlign:"center"},children:"wp-admin"===t?Mo.ask_notice:Mo.ask_notice_website})]}),(0,d().jsx)($b,{src:S,onClose:()=>C(null)}),(0,d().jsx)(cx,{file:T,onClose:()=>_(null)}),(0,d().jsxs)(Ac,{open:g,onClose:()=>y(!1),maxWidth:"xs",fullWidth:!0,children:[(0,d().jsx)($c,{children:Mo.ask_new_title}),(0,d().jsx)(Wc,{children:(0,d().jsx)(Uc,{children:Mo.ask_new_text})}),(0,d().jsxs)(Yc,{sx:{px:3,pb:2},children:[(0,d().jsx)(au,{onClick:()=>y(!1),children:Mo.ask_cancel}),(0,d().jsx)(au,{variant:"contained",disableElevation:!0,onClick:()=>{var e;y(!1),i(),null===(e=b.current)||void 0===e||e.focus()},children:Mo.ask_new})]})]})]})}const xx="reinventwp_apps_assistant";function wx(){try{const e=JSON.parse(sessionStorage.getItem(xx)||"[]");return Array.isArray(e)?e:[]}catch{return[]}}const kx=()=>{try{return window.localStorage}catch{return}};function Sx(e){const[t,n]=(0,f().useState)(()=>function(e,t){try{return"1"===(null==e?void 0:e.getItem(t))}catch{return!1}}(kx(),e));return[t,t=>{n(t),function(e,t,n){try{n?null==e||e.setItem(t,"1"):null==e||e.removeItem(t)}catch{}}(kx(),e,t)}]}const Cx=()=>"off"!==document.body.dataset.reinventwpBot;const Ex=window.reinventwpBot;if(Ex&&!document.getElementById("reinventwp-bot")){const e=document.createElement("div");e.id="reinventwp-bot",document.body.appendChild(e);const t=Ee({key:"rwpbot"});(0,a().createRoot)(e).render((0,d().jsx)(qe,{value:t,children:(0,d().jsx)(function({config:e}){const t=function(e){var t;const[n,r]=(0,f().useState)(null!==(t=e.apps)&&void 0!==t?t:[]);return(0,f().useEffect)(()=>{if(e.apps||!e.catalogUrl)return;const t=new AbortController;return fetch(e.catalogUrl,{signal:t.signal}).then(e=>e.ok?e.json():null).then(e=>{var t;return Array.isArray(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.plugins)&&r(e.data.plugins.filter(e=>e.released).map(e=>{var t;return{slug:e.slug,name:e.short_title||e.title,description:e.description,category:e.category,state:"missing",version:"",open_url:"",activate_url:"",coming_soon:!1,install_url:`https://wordpress.org/plugins/${e.slug}/`,learn_url:null!==(t=e.href)&&void 0!==t?t:""}}))}).catch(()=>{}),()=>t.abort()},[e.apps,e.catalogUrl]),n}(e),n=function(e){const[t,n]=(0,f().useState)(!1);return(0,f().useEffect)(()=>{if(!e)return;const t=new AbortController,r=setTimeout(()=>t.abort(),4e3);return fetch(e,{signal:t.signal}).then(e=>e.ok?e.json():null).then(e=>{var t;return n(!0===(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.available))}).catch(()=>n(!1)).finally(()=>clearTimeout(r)),()=>{clearTimeout(r),t.abort()}},[e]),t}(`${e.url}/status`),r=function(){const[e,t]=(0,f().useState)(Cx);return(0,f().useEffect)(()=>{const e=new MutationObserver(()=>t(Cx()));return e.observe(document.body,{attributes:!0,attributeFilter:["data-reinventwp-bot"]}),()=>e.disconnect()},[]),e}(),o=n&&r,[i,a]=Sx("reinventwp-assistant-open"),[l,s]=Sx("reinventwp-assistant-minimized"),u=o&&i,c=function(e,t,n){const{url:r,surface:o,page:i}=e,[a,l]=(0,f().useState)(wx),[s,u]=(0,f().useState)(!1);(0,f().useEffect)(()=>{try{sessionStorage.setItem(xx,JSON.stringify(a.map(({full:e,fileText:t,...n})=>n)))}catch{}},[a]);const c=(0,f().useCallback)(async(e,c=[],d=null)=>{const f=e.trim();if(!f&&!c.length&&!d||s)return;const p=a.filter(e=>!e.failed).slice(-6).map(({role:e,content:t,images:n,file:r})=>({role:e,content:[t,(null==n?void 0:n.length)?"(image)":"",r?`(file: ${r.name})`:""].filter(Boolean).join(" ")}));l(e=>[...e,{role:"user",content:f,at:Date.now(),...c.length&&{images:c.map(e=>e.preview),full:c.map(Yb)},...d&&{file:{name:d.name,summary:_y(d)},fileText:d.text}}]),u(!0);try{const e=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({question:f,history:p,...c.length&&{images:c.map(({media_type:e,data:t})=>({media_type:e,data:t}))},...d&&{files:[{name:d.name,text:d.text}]},surface:o,page:"website"===o?window.location.pathname:i,..."wp-admin"===o&&{site:{apps:n.map(({slug:e,state:t,version:n})=>({slug:e,state:t,version:n}))}}})}),a=await e.json().catch(()=>null);if(!e.ok||!(null==a?void 0:a.data))throw new Error((null==a?void 0:a.message)||t);l(e=>[...e,{role:"assistant",content:a.data.answer,at:Date.now(),form:"feedback"===a.data.form?"feedback":void 0,suggestions:a.data.suggestions,sources:a.data.sources,research:a.data.research}])}catch(e){const n=e instanceof Error&&e.message?e.message:t;l(e=>[...e,{role:"assistant",content:n,at:Date.now(),failed:!0}])}finally{u(!1)}},[n,t,s,a,i,o,r]),d=(0,f().useCallback)(()=>l([]),[]),p=(0,f().useCallback)(e=>{l(t=>t.map((t,n)=>n===e?{...t,feedbackSent:!0}:t))},[]);return{messages:a,loading:s,send:c,reset:d,markFeedbackSent:p}}(e,Mo.ask_error,t),p=function(e){const[t,n]=(0,f().useState)({left:0,width:"undefined"==typeof window?0:window.innerWidth});return(0,f().useEffect)(()=>{const t=e?document.querySelector(e):null,r=()=>{const e=null==t?void 0:t.getBoundingClientRect();n(e?{left:e.left,width:e.width}:{left:0,width:window.innerWidth})};r(),window.addEventListener("resize",r);const o=t&&"undefined"!=typeof ResizeObserver?new ResizeObserver(r):null;return t&&(null==o||o.observe(t)),()=>{window.removeEventListener("resize",r),null==o||o.disconnect()}},[e]),t}(e.shift);return function(e,t,n){(0,f().useEffect)(()=>{const r=e?document.querySelector(e):null;if(!r||!t)return;const o={margin:r.style.marginRight,transition:r.style.transition},i=()=>{r.style.transition="margin-right 0.2s ease",r.style.marginRight=window.innerWidth>=900?`${n}px`:o.margin};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),r.style.marginRight=o.margin,r.style.transition=o.transition}},[e,t,n])}(e.shift,u,420),(0,d().jsxs)(Oo,{theme:Ao,children:[o&&!i&&!l&&(0,d().jsx)(Ms,{placeholder:Mo.ask,phrases:zo,anchor:p,onOpen:()=>a(!0),onMinimize:()=>s(!0),minimizeLabel:Mo.ask_minimize}),o&&!i&&l&&(0,d().jsx)(As,{label:Mo.ask_launcher,restoreLabel:Mo.ask_restore,onOpen:()=>a(!0),onRestore:()=>s(!1)}),u&&(0,d().jsx)(bx,{apps:t,config:e,surface:e.surface,messages:c.messages,loading:c.loading,onSend:c.send,onReset:c.reset,onClose:()=>a(!1),onFeedbackSent:c.markFeedbackSent})]})},{config:Ex})}))}})();
     101      `:null,xs=Xo("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Lo(n.color)}`]]}})(Jo(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:vs||{animation:`${gs} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),ws=Xo("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),ks=Xo("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Lo(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Jo(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:bs||{animation:`${ys} 1.4s ease-in-out infinite`}}]}))),Ss=Xo("circle",{name:"MuiCircularProgress",slot:"Track"})(Jo(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Cs=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,enableTrackSlot:a=!1,size:l=40,style:s,thickness:u=3.6,value:c=0,variant:f="indeterminate",...p}=n,h={...n,color:o,disableShrink:i,size:l,thickness:u,value:c,variant:f,enableTrackSlot:a},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return Fo({root:["root",n,`color${Lo(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Lo(n)}`,o&&"circleDisableShrink"]},hs,t)})(h),g={},y={},v={};if("determinate"===f){const e=2*Math.PI*((ms-u)/2);g.strokeDasharray=e.toFixed(3),v["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,d().jsx)(xs,{className:st(m.root,r),style:{width:l,height:l,...y,...s},ownerState:h,ref:t,role:"progressbar",...v,...p,children:(0,d().jsxs)(ws,{className:m.svg,ownerState:h,viewBox:"22 22 44 44",children:[a?(0,d().jsx)(Ss,{className:m.track,ownerState:h,cx:ms,cy:ms,r:(ms-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,(0,d().jsx)(ks,{className:m.circle,style:g,ownerState:h,cx:ms,cy:ms,r:(ms-u)/2,fill:"none",strokeWidth:u})]})})});function Es(e){return ni("MuiIconButton",e)}const Ps=ri("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Ts=Xo(Qi,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${Lo(n.color)}`],n.edge&&t[`edge${Lo(n.edge)}`],t[`size${Lo(n.size)}`]]}})(Jo(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Jo(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Ps.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Ps.loading}`]:{color:"transparent"}}))),_s=Xo("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Os=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:l=!1,disableFocusRipple:s=!1,size:u="medium",id:c,loading:f=null,loadingIndicator:p,...h}=n,m=es(c),g=p??(0,d().jsx)(Cs,{"aria-labelledby":m,color:"inherit",size:16}),y={...n,edge:r,color:a,disabled:l,disableFocusRipple:s,loading:f,loadingIndicator:g,size:u},v=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i,loading:a}=e;return Fo({root:["root",a&&"loading",n&&"disabled","default"!==r&&`color${Lo(r)}`,o&&`edge${Lo(o)}`,`size${Lo(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Es,t)})(y);return(0,d().jsxs)(Ts,{id:f?m:c,className:st(v.root,i),centerRipple:!0,focusRipple:!s,disabled:l||f,ref:t,...h,ownerState:y,children:["boolean"==typeof f&&(0,d().jsx)("span",{className:v.loadingWrapper,style:{display:"contents"},children:(0,d().jsx)(_s,{className:v.loadingIndicator,ownerState:y,children:f&&g})}),o]})});function zs(e,t){var n,r,o;const i=t&&e.length>1&&!(()=>{var e;return"undefined"!=typeof window&&(null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)").matches)})(),[a,l]=(0,f().useState)({index:0,length:i?0:null!==(r=null===(n=e[0])||void 0===n?void 0:n.length)&&void 0!==r?r:0,erasing:!1});(0,f().useEffect)(()=>{if(!i)return;const{state:t,wait:n}=function(e,t){var n;const r=null!==(n=t[e.index])&&void 0!==n?n:"";return!e.erasing&&e.length<r.length?{state:{...e,length:e.length+1},wait:55}:e.erasing?e.length>0?{state:{...e,length:e.length-1},wait:25}:{state:{index:(e.index+1)%t.length,length:0,erasing:!1},wait:350}:{state:{...e,erasing:!0},wait:2200}}(a,e),r=setTimeout(()=>{"hidden"!==document.visibilityState?l(t):l({...a})},n);return()=>clearTimeout(r)},[i,e,a]);const s=null!==(o=e[i?a.index:0])&&void 0!==o?o:"";return{text:i?s.slice(0,a.length):s,animated:i}}const Rs=Rt`50% { opacity: 0; }`;function Ms({placeholder:e,phrases:t,anchor:n,onOpen:r,onMinimize:o,minimizeLabel:i}){const{text:a,animated:l}=zs(t,!0);return(0,d().jsx)(mi,{sx:{position:"fixed",bottom:20,left:n.left,width:n.width,px:2,boxSizing:"border-box",display:"flex",justifyContent:"center",pointerEvents:"none",zIndex:9988},children:(0,d().jsxs)(mi,{sx:{position:"relative",pointerEvents:"auto",width:"100%",maxWidth:480,"& .rwp-minimize":{opacity:0,transition:"opacity 0.15s ease"},"&:hover .rwp-minimize, &:focus-within .rwp-minimize":{opacity:1},"@media (hover: none)":{"& .rwp-minimize":{opacity:1}}},children:[(0,d().jsxs)(Qi,{onClick:r,"aria-haspopup":"dialog","aria-label":e,sx:{width:"100%",justifyContent:"space-between",gap:2,pl:2.5,pr:1,py:1,borderRadius:3,border:Io,backgroundColor:"#FFFFFF",boxShadow:"0 8px 24px rgba(7, 21, 34, 0.08)",transition:"border-color 0.2s ease","&:hover, &:focus-visible":{borderColor:"primary.main"}},children:[(0,d().jsxs)(oa,{variant:"body1",color:"text.secondary",noWrap:!0,"aria-hidden":"true",sx:{minWidth:0},children:[a,l&&(0,d().jsx)(mi,{component:"span",sx:{display:"inline-block",width:"1.5px",height:"1.1em",ml:"1px",verticalAlign:"text-bottom",bgcolor:"primary.main",animation:`${Rs} 1s step-end infinite`}})]}),(0,d().jsx)(mi,{sx:{display:"grid",placeItems:"center",width:34,height:34,borderRadius:2,bgcolor:"primary.main",color:"#FFFFFF",flexShrink:0},children:(0,d().jsx)(ui,{fontSize:"small"})})]}),(0,d().jsx)(ps,{title:i,placement:"top",children:(0,d().jsx)(Os,{className:"rwp-minimize",size:"small","aria-label":i,onClick:o,sx:{position:"absolute",top:-10,right:-10,width:24,height:24,bgcolor:"#FFFFFF",border:Io,color:"text.secondary","&:hover":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(ci,{sx:{fontSize:14}})})})]})})}const Ns=si((0,d().jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M7 9h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1m6 5H7c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1m4-6H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1"})),Is=si((0,d().jsx)("path",{d:"M21 8.59V4c0-.55-.45-1-1-1h-4.59c-.89 0-1.34 1.08-.71 1.71l1.59 1.59-10 10-1.59-1.59c-.62-.63-1.7-.19-1.7.7V20c0 .55.45 1 1 1h4.59c.89 0 1.34-1.08.71-1.71L7.71 17.7l10-10 1.59 1.59c.62.63 1.7.19 1.7-.7"}));function As({label:e,restoreLabel:t,onOpen:n,onRestore:r}){return(0,d().jsxs)(mi,{sx:{position:"fixed",right:20,bottom:20,zIndex:9988,"& .rwp-restore":{opacity:0,transition:"opacity 0.15s ease"},"&:hover .rwp-restore, &:focus-within .rwp-restore":{opacity:1},"@media (hover: none)":{"& .rwp-restore":{opacity:1}}},children:[(0,d().jsx)(ps,{title:e,placement:"left",children:(0,d().jsx)(Qi,{onClick:n,"aria-haspopup":"dialog","aria-label":e,sx:{width:52,height:52,borderRadius:"50%",bgcolor:"primary.main",color:"#FFFFFF",boxShadow:"0 8px 24px rgba(7, 21, 34, 0.18)","&:hover, &:focus-visible":{bgcolor:"primary.dark"}},children:(0,d().jsx)(Ns,{})})}),(0,d().jsx)(ps,{title:t,placement:"left",children:(0,d().jsx)(Os,{className:"rwp-restore",size:"small","aria-label":t,onClick:r,sx:{position:"absolute",top:-10,left:-10,width:24,height:24,bgcolor:"#FFFFFF",border:Io,color:"text.secondary","&:hover":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(Is,{sx:{fontSize:14}})})})]})}const Fs=si((0,d().jsx)("path",{d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1M14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1"})),Ls=si((0,d().jsx)("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"})),js=si((0,d().jsx)("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"})),$s=si((0,d().jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"})),Ds=si((0,d().jsx)("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"})),Bs=Uo();function Ws({props:e,name:t,defaultTheme:n,themeId:r}){let o=Yn(n);return r&&(o=o[r]||o),function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?ut(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e})}const Hs=qn(),Vs=Bs("div",{name:"MuiStack",slot:"Root"});function Us(e){return Ws({props:e,name:"MuiStack",defaultTheme:Hs})}function qs(e,t){const n=f().Children.toArray(e).filter(Boolean);return n.reduce((e,r,o)=>(e.push(r),o<n.length-1&&e.push(f().cloneElement(t,{key:`separator-${o}`})),e),[])}const Ks=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Wt({theme:t},Ut({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const r=ln(t),o=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),i=Ut({values:e.direction,base:o}),a=Ut({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}});n=At(n,Wt({theme:t},a,(t,n)=>{return e.useFlexGap?{gap:sn(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:sn(r,t)}};var o}))}return n=function(e,...t){const n=Ht(e),r=[n,...t].reduce((e,t)=>At(e,t),{});return Vt(Object.keys(n),r)}(t.breakpoints,n),n};const Ys=function(e={}){const{createStyledComponent:t=Vs,useThemeProps:n=Us,componentName:r="MuiStack"}=e,o=t(Ks);return f().forwardRef(function(e,t){const i=di(n(e)),{component:a="div",direction:l="column",spacing:s=0,divider:u,children:c,className:f,useFlexGap:p=!1,...h}=i,m={direction:l,spacing:s,useFlexGap:p},g=Fo({root:["root"]},e=>ni(r,e),{});return(0,d().jsx)(o,{as:a,ownerState:m,ref:t,className:st(g.root,f),...h,children:u?qs(c,u):c})})}({createStyledComponent:Xo("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>ei({props:e,name:"MuiStack"})}),Qs=Ys;function Gs(e){return ni("MuiButton",e)}const Xs=ri("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);const Zs=f().createContext({});const Js=f().createContext(void 0),eu=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],tu=Xo(Qi,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lo(n.color)}`],t[`size${Lo(n.size)}`],t[`${n.variant}Size${Lo(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Xs.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&"start"===e.loadingPosition,style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Xs.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Xs.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Xs.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Xs.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xs.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Xs.loading}`]:{color:"transparent"}}}]}})),nu=Xo("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Lo(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...eu]})),ru=Xo("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Lo(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...eu]})),ou=Xo("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),iu=Xo("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),au=f().forwardRef(function(e,t){const n=f().useContext(Zs),r=f().useContext(Js),o=ei({props:ut(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,id:y,loading:v=null,loadingIndicator:b,loadingPosition:x="center",size:w="medium",startIcon:k,type:S,variant:C="text",...E}=o,P=es(y),T=b??(0,d().jsx)(Cs,{"aria-labelledby":P,color:"inherit",size:16}),_={...o,color:a,component:l,disabled:u,disableElevation:c,disableFocusRipple:p,fullWidth:g,loading:v,loadingIndicator:T,loadingPosition:x,size:w,type:S,variant:C},O=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:l,classes:s}=e,u=Fo({root:["root",a&&"loading",i,`${i}${Lo(t)}`,`size${Lo(o)}`,`${i}Size${Lo(o)}`,`color${Lo(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${Lo(l)}`],startIcon:["icon","startIcon",`iconSize${Lo(o)}`],endIcon:["icon","endIcon",`iconSize${Lo(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Gs,s);return{...s,...u}})(_),z=(k||v&&"start"===x)&&(0,d().jsx)(nu,{className:O.startIcon,ownerState:_,children:k||(0,d().jsx)(iu,{className:O.loadingIconPlaceholder,ownerState:_})}),R=(h||v&&"end"===x)&&(0,d().jsx)(ru,{className:O.endIcon,ownerState:_,children:h||(0,d().jsx)(iu,{className:O.loadingIconPlaceholder,ownerState:_})}),M=r||"",N="boolean"==typeof v?(0,d().jsx)("span",{className:O.loadingWrapper,style:{display:"contents"},children:v&&(0,d().jsx)(ou,{className:O.loadingIndicator,ownerState:_,children:T})}):null,{root:I,...A}=O;return(0,d().jsxs)(tu,{ownerState:_,className:st(n.className,O.root,s,M),component:l,disabled:u||v,focusRipple:!p,focusVisibleClassName:st(O.focusVisible,m),ref:t,type:S,id:v?P:y,...E,classes:A,children:[z,"end"!==x&&N,i,"end"===x&&N,R]})});function lu(e){return ni("MuiLink",e)}const su=ri("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),uu=({theme:e,ownerState:t})=>{const n=t.color;if("colorSpace"in e&&e.colorSpace){const r=Yt(e,`palette.${n}.main`)||Yt(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}const r=Yt(e,`palette.${n}.main`,!1)||Yt(e,`palette.${n}`,!1)||t.color,o=Yt(e,`palette.${n}.mainChannel`)||Yt(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:vr(r,.4)},cu={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},du=Xo(oa,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Lo(n.underline)}`],"button"===n.component&&t.button]}})(Jo(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${su.focusVisible}`]:{outline:"auto"}}}]}))),fu=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiLink"}),r=aa(),{className:o,color:i="primary",component:a="a",onBlur:l,onFocus:s,TypographyClasses:u,underline:c="always",variant:p="inherit",sx:h,...m}=n,[g,y]=f().useState(!1),v={...n,color:i,component:a,focusVisible:g,underline:c,variant:p},b=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return Fo({root:["root",`underline${Lo(o)}`,"button"===n&&"button",r&&"focusVisible"]},lu,t)})(v);return(0,d().jsx)(du,{color:i,className:st(b.root,o),classes:u,component:a,onBlur:e=>{gi(e.target)||y(!1),l&&l(e)},onFocus:e=>{gi(e.target)&&y(!0),s&&s(e)},ref:t,ownerState:v,variant:p,...m,sx:[...void 0===cu[i]?[{color:i}]:[],...Array.isArray(h)?h:[h]],style:{...m.style,..."always"===c&&"inherit"!==i&&!cu[i]&&{"--Link-underlineColor":uu({theme:r,ownerState:v})}}})}),pu=fu,hu=si((0,d().jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function mu(e){return ni("MuiChip",e)}const gu=ri("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),yu=Xo("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:l,variant:s}=n;return[{[`& .${gu.avatar}`]:t.avatar},{[`& .${gu.avatar}`]:t[`avatar${Lo(l)}`]},{[`& .${gu.avatar}`]:t[`avatarColor${Lo(r)}`]},{[`& .${gu.icon}`]:t.icon},{[`& .${gu.icon}`]:t[`icon${Lo(l)}`]},{[`& .${gu.icon}`]:t[`iconColor${Lo(o)}`]},{[`& .${gu.deleteIcon}`]:t.deleteIcon},{[`& .${gu.deleteIcon}`]:t[`deleteIcon${Lo(l)}`]},{[`& .${gu.deleteIcon}`]:t[`deleteIconColor${Lo(r)}`]},{[`& .${gu.deleteIcon}`]:t[`deleteIcon${Lo(s)}Color${Lo(r)}`]},t.root,t[`size${Lo(l)}`],t[`color${Lo(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${Lo(r)}`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${Lo(r)}`],t[s],t[`${s}${Lo(r)}`]]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${gu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${gu.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${gu.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${gu.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${gu.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${gu.icon}`]:{marginLeft:5,marginRight:-6},[`& .${gu.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${gu.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${gu.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Xi(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${gu.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${gu.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${gu.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${gu.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Xi(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${gu.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${gu.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Xi(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${gu.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${gu.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${gu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${gu.avatar}`]:{marginLeft:4},[`& .${gu.avatarSmall}`]:{marginLeft:2},[`& .${gu.icon}`]:{marginLeft:4},[`& .${gu.iconSmall}`]:{marginLeft:2},[`& .${gu.deleteIcon}`]:{marginRight:5},[`& .${gu.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${gu.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${gu.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${gu.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),vu=Xo("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Lo(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function bu(e){return"Backspace"===e.key||"Delete"===e.key}const xu=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiChip"}),{avatar:r,className:o,clickable:i,color:a="default",component:l,deleteIcon:s,disabled:u=!1,icon:c,label:p,onClick:h,onDelete:m,onKeyDown:g,onKeyUp:y,size:v="medium",variant:b="filled",tabIndex:x,skipFocusWhenDisabled:w=!1,slots:k={},slotProps:S={},...C}=n,E=f().useRef(null),P=vi(E,t),T=e=>{e.stopPropagation(),m(e)},_=!(!1===i||!h)||i,O=_||m?Qi:l||"div",z={...n,component:O,disabled:u,size:v,color:a,iconColor:f().isValidElement(c)&&c.props.color||a,onDelete:!!m,clickable:_,variant:b},R=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:l,variant:s}=e;return Fo({root:["root",s,n&&"disabled",`size${Lo(r)}`,`color${Lo(o)}`,l&&"clickable",l&&`clickableColor${Lo(o)}`,a&&"deletable",a&&`deletableColor${Lo(o)}`,`${s}${Lo(o)}`],label:["label",`label${Lo(r)}`],avatar:["avatar",`avatar${Lo(r)}`,`avatarColor${Lo(o)}`],icon:["icon",`icon${Lo(r)}`,`iconColor${Lo(i)}`],deleteIcon:["deleteIcon",`deleteIcon${Lo(r)}`,`deleteIconColor${Lo(o)}`,`deleteIcon${Lo(s)}Color${Lo(o)}`]},mu,t)})(z),M=O===Qi?{component:l||"div",focusVisibleClassName:R.focusVisible,...m&&{disableRipple:!0}}:{};let N=null;m&&(N=s&&f().isValidElement(s)?f().cloneElement(s,{className:st(s.props.className,R.deleteIcon),onClick:T}):(0,d().jsx)(hu,{className:R.deleteIcon,onClick:T}));let I=null;r&&f().isValidElement(r)&&(I=f().cloneElement(r,{className:st(R.avatar,r.props.className)}));let A=null;c&&f().isValidElement(c)&&(A=f().cloneElement(c,{className:st(R.icon,c.props.className)}));const F={slots:k,slotProps:S},[L,j]=ns("root",{elementType:yu,externalForwardedProps:{...F,...C},ownerState:z,shouldForwardComponentProp:!0,ref:P,className:st(R.root,o),additionalProps:{disabled:!(!_||!u)||void 0,tabIndex:w&&u?-1:x,...M},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),h?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&bu(e)&&e.preventDefault(),g&&g(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&m&&bu(e)&&m(e),y&&y(e)})(t)}})}),[$,D]=ns("label",{elementType:vu,externalForwardedProps:F,ownerState:z,className:R.label});return(0,d().jsxs)(L,{as:O,...j,children:[I||A,(0,d().jsx)($,{...D,children:p}),N]})});function wu(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function ku(e){return Ea(e).defaultView||window}function Su(e){return parseInt(e,10)||0}const Cu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Eu(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Pu=f().forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a,...l}=e,{current:s}=f().useRef(null!=a),u=f().useRef(null),c=yi(t,u),p=f().useRef(null),h=f().useRef(null),m=f().useCallback(()=>{const t=u.current,n=h.current;if(!t||!n)return;const i=ku(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,l=Su(i.paddingBottom)+Su(i.paddingTop),s=Su(i.borderBottomWidth)+Su(i.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflowing:Math.abs(f-c)<=1}},[r,o,e.placeholder]),g=bi(()=>{const e=u.current,t=m();if(!e||!t||Eu(t))return!1;const n=t.outerHeightStyle;return null!=p.current&&p.current!==n}),y=f().useCallback(()=>{const e=u.current,t=m();if(!e||!t||Eu(t))return;const n=t.outerHeightStyle;p.current!==n&&(p.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[m]),v=f().useRef(-1);pt(()=>{const e=wu(y),t=u?.current;if(!t)return;const n=ku(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{g()&&(r.unobserve(t),cancelAnimationFrame(v.current),y(),v.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(v.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[m,y,g]),pt(()=>{y()});return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)("textarea",{value:a,onChange:e=>{s||y();const t=e.target,r=t.value.length,o=t.value.endsWith("\n"),i=t.selectionStart===r;o&&i&&t.setSelectionRange(r,r),n&&n(e)},ref:c,rows:o,style:i,...l}),(0,d().jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:{...Cu,...i,paddingTop:0,paddingBottom:0}})]})}),Tu=Pu;function _u({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}const Ou=f().createContext(void 0);function zu(){return f().useContext(Ou)}const Ru=pt,Mu=Ea;const Nu=function(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Iu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Au(e,t=!1){return e&&(Iu(e.value)&&""!==e.value||t&&Iu(e.defaultValue)&&""!==e.defaultValue)}function Fu(e){return ni("MuiInputBase",e)}const Lu=ri("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ju;const $u="mui-auto-fill",Du="mui-auto-fill-cancel",Bu=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Lo(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Wu=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Hu=Xo("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Bu})(Jo(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Lu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Vu=Xo("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Wu})(Jo(({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Lu.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Lu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:Du,animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:$u}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Uu=(qu={[`@keyframes ${$u}`]:{from:{animationName:$u}},[`@keyframes ${Du}`]:{from:{animationName:Du}}},function(e){return(0,d().jsx)(Gi,{styles:"function"==typeof qu?t=>qu({theme:t,...e}):qu})});var qu;const Ku=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:o,autoFocus:i,className:a,color:l,components:s={},componentsProps:u={},defaultValue:c,disabled:p,disableInjectingGlobalStyles:h,endAdornment:m,error:g,fullWidth:y=!1,id:v,inputComponent:b="input",inputProps:x={},inputRef:w,margin:k,maxRows:S,minRows:C,multiline:E=!1,name:P,onBlur:T,onChange:_,onClick:O,onFocus:z,onKeyDown:R,onKeyUp:M,placeholder:N,readOnly:I,renderSuffix:A,rows:F,size:L,slotProps:j={},slots:$={},startAdornment:D,type:B="text",value:W,...H}=n,V=null!=x.value?x.value:W,{current:U}=f().useRef(null!=V),q=f().useRef(),K=f().useCallback(e=>{0},[]),Y=vi(q,w,x.ref,K),[Q,G]=f().useState(!1),X=zu();const Z=_u({props:n,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Z.focused=X?X.focused:Q,f().useEffect(()=>{!X&&p&&Q&&(G(!1),T&&T())},[X,p,Q,T]);const J=X&&X.onFilled,ee=X&&X.onEmpty,te=f().useCallback(e=>{Au(e)?J&&J():ee&&ee()},[J,ee]);Ru(()=>{U&&te({value:V})},[V,te,U]),Ru(()=>{if(!i)return;const e=q.current;if(!e)return;const t=Mu(e),n=Nu(t),r=null==n||n===t.body||n===t.documentElement;e===n?X&&X.onFocus?X.onFocus():G(!0):r&&e.focus()},[i]);f().useEffect(()=>{te(q.current)},[]);let ne=b,re=x;E&&"input"===ne&&(re=F?{type:void 0,minRows:F,maxRows:F,...re}:{type:void 0,maxRows:S,minRows:C,...re},ne=Tu);f().useEffect(()=>{X&&X.setAdornedStart(Boolean(D))},[X,D]);const oe={...n,color:Z.color||"primary",disabled:Z.disabled,endAdornment:m,error:Z.error,focused:Z.focused,formControl:X,fullWidth:y,hiddenLabel:Z.hiddenLabel,multiline:E,size:Z.size,startAdornment:D,type:B},ie=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e;return Fo({root:["root",`color${Lo(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",f&&"medium"!==f&&`size${Lo(f)}`,c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Fu,t)})(oe),ae=$.root||s.Root||Hu,le=j.root||u.root||{},se=$.input||s.Input||Vu;return re={...re,...j.input??u.input},(0,d().jsxs)(f().Fragment,{children:[!h&&"function"==typeof Uu&&(ju||(ju=(0,d().jsx)(Uu,{}))),(0,d().jsxs)(ae,{...le,ref:t,onClick:e=>{q.current&&e.currentTarget===e.target&&q.current.focus(),O&&O(e)},...H,...!jl(ae)&&{ownerState:{...oe,...le.ownerState}},className:st(ie.root,le.className,a,I&&"MuiInputBase-readOnly"),children:[D,(0,d().jsx)(Ou.Provider,{value:null,children:(0,d().jsx)(se,{"aria-invalid":Z.error,"aria-describedby":r,autoComplete:o,autoFocus:i,defaultValue:c,disabled:Z.disabled,id:v,onAnimationStart:e=>{te(e.animationName===Du?q.current:{value:"x"})},name:P,placeholder:N,readOnly:I,required:Z.required,rows:F,value:V,onKeyDown:R,onKeyUp:M,type:B,...re,...!jl(se)&&{as:ne,ownerState:{...oe,...re.ownerState}},ref:Y,className:st(ie.input,re.className,I&&"MuiInputBase-readOnly"),onBlur:e=>{T&&T(e),x.onBlur&&x.onBlur(e),X&&X.onBlur?X.onBlur(e):G(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||q.current;if(null==t)throw new Error(qt(1));te({value:t.value})}x.onChange&&x.onChange(e,...t),_&&_(e,...t)},onFocus:e=>{z&&z(e),x.onFocus&&x.onFocus(e),X&&X.onFocus?X.onFocus(e):G(!0)}})}),m,A?A({...Z,startAdornment:D}):null]})]})}),Yu=Ku;const Qu=function(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;const n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1},Gu="data-mui-focusable";const Xu=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Zu(e){const t=[],n=[];return Array.from(e.querySelectorAll(Xu)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Ju(){return!0}const ec=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Zu,isEnabled:a=Ju,open:l}=e,s=f().useRef(!1),u=f().useRef(null),c=f().useRef(null),p=f().useRef(null),h=f().useRef(null),m=f().useRef(!1),g=f().useRef(null),y=yi(ia(t),g),v=f().useRef(null);f().useEffect(()=>{l&&g.current&&(m.current=!n)},[n,l]),f().useEffect(()=>{if(s.current=!1,!l||!g.current)return;const e=Ea(g.current),t=Nu(e),n=((r=g.current)?r.hasAttribute(Gu)?r:r.querySelector(`[${Gu}]`):null)??g.current;var r;return Qu(g.current,t)||(n.hasAttribute("tabIndex")||n.setAttribute("tabIndex","-1"),m.current&&n.focus()),()=>{o||(p.current&&p.current.focus&&(s.current=!0,p.current.focus()),p.current=null)}},[l]),f().useEffect(()=>{if(!l||!g.current)return;const e=Ea(g.current),t=t=>{if(v.current=t,r||!a()||"Tab"!==t.key)return;Nu(e)===g.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=g.current;if(null===t)return;const n=Nu(e);if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(Qu(t,n))return;if(r&&n!==u.current&&n!==c.current)return;if(n!==h.current)h.current=null;else if(null!==h.current)return;if(!m.current)return;let o=[];if(n!==u.current&&n!==c.current||(o=i(g.current)),o.length>0){const e=Boolean(v.current?.shiftKey&&"Tab"===v.current?.key),t=o[0],n=o[o.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{const t=Nu(e);t&&"BODY"===t.tagName&&n()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,o,a,l,i]);const b=e=>{null===p.current&&(p.current=e.relatedTarget),m.current=!0};return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),f().cloneElement(t,{ref:y,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),m.current=!0,h.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,d().jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})},tc={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},nc={opacity:0,visibility:"hidden"},rc=f().forwardRef(function(e,t){const n=aa(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:p,onExit:h,onExited:m,onExiting:g,style:y,timeout:v=r,...b}=e,x=f().useRef(null),w=vi(x,ia(a),t),k=ya(x,p),S=ya(x,(e,t)=>{ga(e);const r=ba({style:y,timeout:v,easing:l},{mode:"enter"});e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)}),C=ya(x,c),E=ya(x,g),P=ya(x,e=>{const t=ba({style:y,timeout:v,easing:l},{mode:"exit"});e.style.transition=n.transitions.create("opacity",t),h&&h(e)}),T=ya(x,e=>{e.style.transition="",m&&m(e)});return(0,d().jsx)(ma,{appear:i,in:s,nodeRef:x,onEnter:S,onEntered:C,onEntering:k,onExit:P,onExited:T,onExiting:E,addEndListener:e=>{o&&o(x.current,e)},timeout:v,...b,children:(e,{ownerState:t,...n})=>{const r=va(e,s,tc,nc,y,a.props.style);return f().cloneElement(a,{style:r,ref:w,...n})}})}),oc=rc;function ic(e){return ni("MuiBackdrop",e)}ri("MuiBackdrop",["root","invisible"]);const ac=Xo("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),lc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiBackdrop"}),{children:r,className:o,component:i="div",invisible:a=!1,open:l,components:s={},componentsProps:u={},slotProps:c={},slots:f={},TransitionComponent:p,transitionDuration:h,...m}=n,g={...n,component:i,invisible:a},y=(e=>{const{classes:t,invisible:n}=e;return Fo({root:["root",n&&"invisible"]},ic,t)})(g),v={component:i,slots:{transition:p,root:s.Root,...f},slotProps:{...u,...c}},[b,x]=ns("root",{elementType:ac,externalForwardedProps:v,className:st(y.root,o),ownerState:g}),[w,k]=ns("transition",{elementType:oc,externalForwardedProps:v,ownerState:g});return(0,d().jsx)(w,{in:l,timeout:h,...m,...k,children:(0,d().jsx)(b,{"aria-hidden":!0,...x,ref:t,children:r})})});function sc(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function uc(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function cc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function dc(e){return parseFloat(ku(e).getComputedStyle(e).paddingRight)||0}function fc(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,e=>{const t=!i.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&cc(e,o)})}function pc(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function hc(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Ea(e);return t.body===e?ku(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=uc(ku(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${dc(r)+e}px`;const t=Ea(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${dc(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=Ea(r).body;else{const t=r.parentElement,n=ku(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}const mc=()=>{},gc=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&cc(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);fc(t,e.mount,e.modalRef,r,!0);const o=pc(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=pc(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||(r.restore=hc(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=pc(this.containers,t=>t.modals.includes(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&cc(e.modalRef,t),fc(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&cc(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const yc=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:l,onClose:s,open:u,rootRef:c}=e,d=f().useRef({}),p=f().useRef(null),h=f().useRef(null),m=yi(h,c),[g,y]=f().useState(!u),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const x=()=>(d.current.modalRef=h.current,d.current.mount=p.current,d.current),w=()=>{gc.mount(x(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},k=bi(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Ea(p.current).body;gc.add(x(),e),h.current&&w()}),S=()=>gc.isTopModal(x()),C=bi(e=>{p.current=e,e&&(u&&S()?w():h.current&&cc(h.current,b))}),E=f().useCallback(()=>{gc.remove(x(),b)},[b]);f().useEffect(()=>()=>{E()},[E]),f().useEffect(()=>{u?k():v&&o||E()},[u,E,v,o,k]);const P=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&S()&&(n||(t.stopPropagation(),s&&s(t,"escapeKeyDown")))},T=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&s&&s(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Dl(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:P(r),ref:m}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:T(t),open:u}},getTransitionProps:()=>({onEnter:sc(()=>{y(!1),i&&i()},l?.props.onEnter??mc),onExited:sc(()=>{y(!0),a&&a(),o&&E()},l?.props.onExited??mc)}),rootRef:m,portalRef:C,isTopModal:S,exited:g,hasTransition:v}};function vc(e){return ni("MuiModal",e)}ri("MuiModal",["root","hidden","backdrop"]);const bc=Xo("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Jo(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),xc=Xo(lc,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),wc=f().forwardRef(function(e,t){const n=ei({name:"MuiModal",props:e}),{BackdropComponent:r=xc,BackdropProps:o,classes:i,className:a,closeAfterTransition:l=!1,children:s,container:u,component:c,components:p={},componentsProps:h={},disableAutoFocus:m=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:y=!1,disablePortal:v=!1,disableRestoreFocus:b=!1,disableScrollLock:x=!1,hideBackdrop:w=!1,keepMounted:k=!1,onClose:S,onTransitionEnter:C,onTransitionExited:E,open:P,slotProps:T={},slots:_={},theme:O,...z}=n,R={...n,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:g,disableEscapeKeyDown:y,disablePortal:v,disableRestoreFocus:b,disableScrollLock:x,hideBackdrop:w,keepMounted:k},{getRootProps:M,getBackdropProps:N,getTransitionProps:I,portalRef:A,isTopModal:F,exited:L,hasTransition:j}=yc({...R,rootRef:t}),$={...R,exited:L},D=(e=>{const{open:t,exited:n,classes:r}=e;return Fo({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},vc,r)})($),B={};if(void 0===s.props.tabIndex&&(B.tabIndex="-1"),j){const{onEnter:e,onExited:t}=I();B.onEnter=e,B.onExited=t}const W={slots:{root:p.Root,backdrop:p.Backdrop,..._},slotProps:{...h,...T}},[H,V]=ns("root",{ref:t,elementType:bc,externalForwardedProps:{...W,...z,component:c},getSlotProps:M,ownerState:$,className:st(a,D?.root,!$.open&&$.exited&&D?.hidden)}),[U,q]=ns("backdrop",{ref:o?.ref,elementType:r,externalForwardedProps:W,shouldForwardComponentProp:!0,additionalProps:o,getSlotProps:e=>N({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:st(o?.className,D?.backdrop),ownerState:$});return k||P||j&&!L?(0,d().jsx)(ql,{ref:A,container:u,disablePortal:v,children:(0,d().jsxs)(H,{...V,children:[!w&&r?(0,d().jsx)(U,{...q}):null,(0,d().jsx)(ec,{disableEnforceFocus:g,disableAutoFocus:m,disableRestoreFocus:b,isEnabled:F,open:P,children:f().cloneElement(s,B)})]})}):null}),kc=wc;function Sc(e){return ni("MuiPaper",e)}ri("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Cc=Xo("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(Jo(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ec=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiPaper"}),r=aa(),{className:o,component:i="div",elevation:a=1,square:l=!1,variant:s="elevation",...u}=n,c={...n,component:i,elevation:a,square:l,variant:s},f=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Fo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Sc,o)})(c);return(0,d().jsx)(Cc,{as:i,ownerState:c,className:st(f.root,o),ref:t,...u,style:{..."elevation"===s&&{"--Paper-shadow":(r.vars||r).shadows[a],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[a]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${vr("#fff",so(a))}, ${vr("#fff",so(a))})`}},...u.style}})}),Pc=Ec;function Tc(e){return ni("MuiDialog",e)}const _c=ri("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);const Oc=f().createContext({}),zc=Xo(lc,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),Rc=Xo(kc,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),Mc=Xo("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Lo(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Nc=Xo(Pc,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Lo(n.scroll)}`],t[`paperWidth${Lo(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Jo(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${_c.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${_c.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${_c.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Ic=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialog"}),r=aa(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:s,BackdropProps:u,children:c,className:p,disableEscapeKeyDown:h=!1,fullScreen:m=!1,fullWidth:g=!1,maxWidth:y="sm",onClick:v,onClose:b,open:x,PaperComponent:w=Pc,PaperProps:k={},role:S="dialog",scroll:C="paper",slots:E={},slotProps:P={},TransitionComponent:T=oc,transitionDuration:_=o,TransitionProps:O,...z}=n,R={...n,disableEscapeKeyDown:h,fullScreen:m,fullWidth:g,maxWidth:y,scroll:C},M=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e;return Fo({root:["root"],backdrop:["backdrop"],container:["container",`scroll${Lo(n)}`],paper:["paper",`paperScroll${Lo(n)}`,`paperWidth${Lo(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]},Tc,t)})(R),N=f().useRef(),I=gt(a),A=f().useMemo(()=>({titleId:I}),[I]),F={slots:{transition:T,...E},slotProps:{transition:O,paper:k,backdrop:u,...P}},[L,j]=ns("root",{elementType:Rc,shouldForwardComponentProp:!0,externalForwardedProps:F,ownerState:R,className:st(M.root,p),ref:t}),[$,D]=ns("backdrop",{elementType:zc,shouldForwardComponentProp:!0,externalForwardedProps:F,ownerState:R,className:M.backdrop}),[B,W]=ns("paper",{elementType:Nc,shouldForwardComponentProp:!0,externalForwardedProps:F,ownerState:R,className:M.paper,additionalProps:{elevation:24,role:S,"aria-describedby":i,"aria-labelledby":I,"aria-modal":l,tabIndex:-1,[Gu]:""}}),[H,V]=ns("container",{elementType:Mc,externalForwardedProps:F,ownerState:R,className:M.container}),[U,q]=ns("transition",{elementType:oc,externalForwardedProps:F,ownerState:R,additionalProps:{appear:!0,in:x,timeout:_,role:"presentation"}});return(0,d().jsx)(L,{closeAfterTransition:!0,slots:{backdrop:$},slotProps:{backdrop:{transitionDuration:_,as:s,...D}},disableEscapeKeyDown:h,onClose:b,open:x,onClick:e=>{v&&v(e),N.current&&(N.current=null,b&&b(e,"backdropClick"))},...j,...z,children:(0,d().jsx)(U,{...q,children:(0,d().jsx)(H,{onMouseDown:e=>{N.current=e.target===e.currentTarget},...V,children:(0,d().jsx)(B,{as:w,...W,children:(0,d().jsx)(Oc.Provider,{value:A,children:c})})})})})}),Ac=Ic;function Fc(e){return ni("MuiDialogTitle",e)}const Lc=ri("MuiDialogTitle",["root"]),jc=Xo(oa,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),$c=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogTitle"}),{className:r,id:o,...i}=n,a=n,l=(e=>{const{classes:t}=e;return Fo({root:["root"]},Fc,t)})(a),{titleId:s=o}=f().useContext(Oc);return(0,d().jsx)(jc,{component:"h2",className:st(l.root,r),ownerState:a,ref:t,variant:"h6",id:o??s,...i})});function Dc(e){return ni("MuiDialogContent",e)}ri("MuiDialogContent",["root","dividers"]);const Bc=Xo("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Jo(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${Lc.root} + &`]:{paddingTop:0}}}]}))),Wc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogContent"}),{className:r,dividers:o=!1,...i}=n,a={...n,dividers:o},l=(e=>{const{classes:t,dividers:n}=e;return Fo({root:["root",n&&"dividers"]},Dc,t)})(a);return(0,d().jsx)(Bc,{className:st(l.root,r),ownerState:a,ref:t,...i})});function Hc(e){return ni("MuiDialogContentText",e)}ri("MuiDialogContentText",["root"]);const Vc=Xo(oa,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),Uc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogContentText"}),{children:r,className:o,...i}=n,a=(e=>{const{classes:t}=e,n=Fo({root:["root"]},Hc,t);return{...t,...n}})(i);return(0,d().jsx)(Vc,{component:"p",variant:"body1",color:"textSecondary",ref:t,ownerState:i,className:st(a.root,o),...n,classes:a})});function qc(e){return ni("MuiDialogActions",e)}ri("MuiDialogActions",["root","spacing"]);const Kc=Xo("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Yc=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:o=!1,...i}=n,a={...n,disableSpacing:o},l=(e=>{const{classes:t,disableSpacing:n}=e;return Fo({root:["root",!n&&"spacing"]},qc,t)})(a);return(0,d().jsx)(Kc,{className:st(l.root,r),ownerState:a,ref:t,...i})});function Qc(e){return{installed:e.filter(e=>"missing"!==e.state),more:e.filter(e=>"missing"===e.state)}}const Gc=["reinventwp.com","www.reinventwp.com"];const Xc={action:function(e){return"active"===e.state&&e.open_url?{href:e.open_url,label:Mo.open,variant:"contained",install:!1}:"inactive"===e.state&&e.activate_url?{href:e.activate_url,label:Mo.activate,variant:"outlined",install:!1}:"missing"===e.state&&e.install_url&&!e.coming_soon?{href:e.install_url,label:Mo.install,variant:"outlined",install:!0}:null},chips:function(e,t){const n=new Map;return e.forEach(e=>{var t;e.category&&n.set(e.category,(null!==(t=n.get(e.category))&&void 0!==t?t:0)+1)}),[{label:t,value:"",count:e.length},...[...n].map(([e,t])=>({label:e,value:e,count:t}))]},group:Qc,inCategory:function(e,t){return t?e.filter(e=>e.category===t):e},sections:function(e){const{installed:t,more:n}=Qc(e),r=e=>{var t;return(null!==(t=e.categories)&&void 0!==t?t:[]).some(e=>"must have"===e.trim().toLowerCase())};return{installed:t,mustHave:[...n.filter(r),...t.filter(r)],more:n.filter(e=>!r(e))}},siteLink:function(e,t,n){try{const r=new URL(e);return!Gc.includes(r.hostname)||[...r.searchParams.keys()].some(e=>e.startsWith("utm_"))?e:(r.searchParams.set("utm_source","wp_admin"),r.searchParams.set("utm_medium",t),r.searchParams.set("utm_campaign","reinventwp_apps"),n&&r.searchParams.set("utm_content",n),r.toString())}catch{return e}},summary:function(e,t){const n=t.filter(e=>"active"===e.state).length,r=t.filter(e=>"missing"!==e.state).length;return e.replace("%1$d",String(n)).replace("%2$d",String(r))},settingUrl:function(e,t){if("active"!==e.state||!e.open_url)return"";const n=e.open_url.includes("?")?"&":"?";return`${e.open_url}${n}path=${encodeURIComponent(t)}&spotlight=1`}};function Zc(){}function Jc(){}const ed=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,td=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,nd={};function rd(e,t){return((t||nd).jsx?td:ed).test(e)}const od=/[ \t\n\f\r]/g;function id(e){return""===e.replace(od,"")}class ad{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function ld(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new ad(n,r,t)}function sd(e){return e.toLowerCase()}ad.prototype.normal={},ad.prototype.property={},ad.prototype.space=void 0;class ud{constructor(e,t){this.attribute=t,this.property=e}}ud.prototype.attribute="",ud.prototype.booleanish=!1,ud.prototype.boolean=!1,ud.prototype.commaOrSpaceSeparated=!1,ud.prototype.commaSeparated=!1,ud.prototype.defined=!1,ud.prototype.mustUseProperty=!1,ud.prototype.number=!1,ud.prototype.overloadedBoolean=!1,ud.prototype.property="",ud.prototype.spaceSeparated=!1,ud.prototype.space=void 0;let cd=0;const dd=vd(),fd=vd(),pd=vd(),hd=vd(),md=vd(),gd=vd(),yd=vd();function vd(){return 2**++cd}const bd=Object.keys(x);class xd extends ud{constructor(e,t,n,r){let o=-1;if(super(e,t),wd(this,"space",r),"number"==typeof n)for(;++o<bd.length;){const e=bd[o];wd(this,bd[o],(n&x[e])===x[e])}}}function wd(e,t,n){n&&(e[t]=n)}function kd(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new xd(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[sd(r)]=r,n[sd(i.attribute)]=r}return new ad(t,n,e.space)}xd.prototype.defined=!0;const Sd=kd({properties:{ariaActiveDescendant:null,ariaAtomic:fd,ariaAutoComplete:null,ariaBusy:fd,ariaChecked:fd,ariaColCount:hd,ariaColIndex:hd,ariaColSpan:hd,ariaControls:md,ariaCurrent:null,ariaDescribedBy:md,ariaDetails:null,ariaDisabled:fd,ariaDropEffect:md,ariaErrorMessage:null,ariaExpanded:fd,ariaFlowTo:md,ariaGrabbed:fd,ariaHasPopup:null,ariaHidden:fd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:md,ariaLevel:hd,ariaLive:null,ariaModal:fd,ariaMultiLine:fd,ariaMultiSelectable:fd,ariaOrientation:null,ariaOwns:md,ariaPlaceholder:null,ariaPosInSet:hd,ariaPressed:fd,ariaReadOnly:fd,ariaRelevant:null,ariaRequired:fd,ariaRoleDescription:md,ariaRowCount:hd,ariaRowIndex:hd,ariaRowSpan:hd,ariaSelected:fd,ariaSetSize:hd,ariaSort:null,ariaValueMax:hd,ariaValueMin:hd,ariaValueNow:hd,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function Cd(e,t){return t in e?e[t]:t}function Ed(e,t){return Cd(e,t.toLowerCase())}const Pd=kd({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:gd,acceptCharset:md,accessKey:md,action:null,allow:null,allowFullScreen:dd,allowPaymentRequest:dd,allowUserMedia:dd,alpha:dd,alt:null,as:null,async:dd,autoCapitalize:null,autoComplete:md,autoFocus:dd,autoPlay:dd,blocking:md,capture:null,charSet:null,checked:dd,cite:null,className:md,closedBy:null,colorSpace:null,cols:hd,colSpan:hd,command:null,commandFor:null,content:null,contentEditable:fd,controls:dd,controlsList:md,coords:hd|gd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:dd,defer:dd,dir:null,dirName:null,disabled:dd,download:pd,draggable:fd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:dd,formTarget:null,headers:md,height:hd,hidden:pd,high:hd,href:null,hrefLang:null,htmlFor:md,httpEquiv:md,id:null,imageSizes:null,imageSrcSet:null,inert:dd,inputMode:null,integrity:null,is:null,isMap:dd,itemId:null,itemProp:md,itemRef:md,itemScope:dd,itemType:md,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:dd,low:hd,manifest:null,max:null,maxLength:hd,media:null,method:null,min:null,minLength:hd,multiple:dd,muted:dd,name:null,nonce:null,noModule:dd,noValidate:dd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:dd,optimum:hd,pattern:null,ping:md,placeholder:null,playsInline:dd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:dd,referrerPolicy:null,rel:md,required:dd,reversed:dd,rows:hd,rowSpan:hd,sandbox:md,scope:null,scoped:dd,seamless:dd,selected:dd,shadowRootClonable:dd,shadowRootCustomElementRegistry:dd,shadowRootDelegatesFocus:dd,shadowRootMode:null,shadowRootSerializable:dd,shape:null,size:hd,sizes:null,slot:null,span:hd,spellCheck:fd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:hd,step:null,style:null,tabIndex:hd,target:null,title:null,translate:null,type:null,typeMustMatch:dd,useMap:null,value:fd,width:hd,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:md,axis:null,background:null,bgColor:null,border:hd,borderColor:null,bottomMargin:hd,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:dd,declare:dd,event:null,face:null,frame:null,frameBorder:null,hSpace:hd,leftMargin:hd,link:null,longDesc:null,lowSrc:null,marginHeight:hd,marginWidth:hd,noResize:dd,noHref:dd,noShade:dd,noWrap:dd,object:null,profile:null,prompt:null,rev:null,rightMargin:hd,rules:null,scheme:null,scrolling:fd,standby:null,summary:null,text:null,topMargin:hd,valueType:null,version:null,vAlign:null,vLink:null,vSpace:hd,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:dd,disablePictureInPicture:dd,disableRemotePlayback:dd,exportParts:gd,part:md,prefix:null,property:null,results:hd,security:null,unselectable:null},space:"html",transform:Ed}),Td=kd({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:yd,accentHeight:hd,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:hd,amplitude:hd,arabicForm:null,ascent:hd,attributeName:null,attributeType:null,azimuth:hd,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:hd,by:null,calcMode:null,capHeight:hd,className:md,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:hd,diffuseConstant:hd,direction:null,display:null,dur:null,divisor:hd,dominantBaseline:null,download:dd,dx:null,dy:null,edgeMode:null,editable:null,elevation:hd,enableBackground:null,end:null,event:null,exponent:hd,externalResourcesRequired:null,fill:null,fillOpacity:hd,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:gd,g2:gd,glyphName:gd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:hd,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:hd,horizOriginX:hd,horizOriginY:hd,id:null,ideographic:hd,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:hd,k:hd,k1:hd,k2:hd,k3:hd,k4:hd,kernelMatrix:yd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:hd,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:hd,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:hd,overlineThickness:hd,paintOrder:null,panose1:null,path:null,pathLength:hd,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:md,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:hd,pointsAtY:hd,pointsAtZ:hd,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yd,rev:yd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yd,requiredFeatures:yd,requiredFonts:yd,requiredFormats:yd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:hd,specularExponent:hd,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:hd,strikethroughThickness:hd,string:null,stroke:null,strokeDashArray:yd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:hd,strokeOpacity:hd,strokeWidth:null,style:null,surfaceScale:hd,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yd,tabIndex:hd,tableValues:null,target:null,targetX:hd,targetY:hd,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:hd,underlineThickness:hd,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:hd,values:null,vAlphabetic:hd,vMathematical:hd,vectorEffect:null,vHanging:hd,vIdeographic:hd,version:null,vertAdvY:hd,vertOriginX:hd,vertOriginY:hd,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:hd,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Cd}),_d=kd({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Od=kd({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ed}),zd=kd({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Rd=ld([Sd,Pd,_d,Od,zd],"html"),Md=ld([Sd,Td,_d,Od,zd],"svg"),Nd=/[A-Z]/g,Id=/-[a-z]/g,Ad=/^data[-\w.:]+$/i;function Fd(e){return"-"+e.toLowerCase()}function Ld(e){return e.charAt(1).toUpperCase()}const jd={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};y();const $d=Bd("end"),Dd=Bd("start");function Bd(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Wd(e){return e&&"object"==typeof e?"position"in e||"type"in e?Vd(e.position):"start"in e||"end"in e?Vd(e):"line"in e||"column"in e?Hd(e):"":""}function Hd(e){return Ud(e&&e.line)+":"+Ud(e&&e.column)}function Vd(e){return Hd(e&&e.start)+"-"+Hd(e&&e.end)}function Ud(e){return e&&"number"==typeof e?e:1}class qd extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=Wd(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}qd.prototype.file="",qd.prototype.name="",qd.prototype.reason="",qd.prototype.message="",qd.prototype.stack="",qd.prototype.column=void 0,qd.prototype.line=void 0,qd.prototype.ancestors=void 0,qd.prototype.cause=void 0,qd.prototype.fatal=void 0,qd.prototype.place=void 0,qd.prototype.ruleId=void 0,qd.prototype.source=void 0;const Kd={}.hasOwnProperty,Yd=new Map,Qd=/[A-Z]/g,Gd=new Set(["table","tbody","thead","tfoot","tr"]),Xd=new Set(["td","th"]),Zd="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Jd(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const a=Array.isArray(o.children),l=Dd(n);return t(r,o,i,a,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?Md:Rd,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=ef(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function ef(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=Md,e.schema=o);e.ancestors.push(t);const i=af(e,t.tagName,!1),a=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&Kd.call(t.properties,o)){const i=of(e,o,t.properties[o]);if(i){const[o,a]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof a&&Xd.has(t.tagName)?r=a:n[o]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let l=rf(e,t);Gd.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&id(t.value):id(t));var t}));return tf(e,a,i,t),nf(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}lf(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=Md,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:af(e,t.name,!0),a=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];Zc(t.type);const o=t.expression;Zc(o.type);const i=o.properties[0];Zc(i.type),Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else lf(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];Zc(t.type),i=e.evaluater.evaluateExpression(t.expression)}else lf(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),l=rf(e,t);return tf(e,a,i,t),nf(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);lf(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return nf(r,rf(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function tf(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function nf(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function rf(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:Yd;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;a=e+"-"+t,o.set(e,t+1)}}const l=ef(e,i,a);void 0!==l&&n.push(l)}return n}function of(e,t,n){const r=function(e,t){const n=sd(t);let r=t,o=ud;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Ad.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Id,Ld);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Id.test(e)){let n=e.replace(Nd,Fd);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=xd}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return y()(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new qd("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Zd+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Kd.call(e,n)&&(t[sf(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?jd[r.property]||r.property:r.attribute,n]}}function af(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=rd(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=rd(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return Kd.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);lf(e)}function lf(e,t){const n=new qd("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Zd+"#cannot-handle-mdx-estrees-without-createevaluater",n}function sf(e){let t=e.replace(Qd,uf);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function uf(e){return"-"+e.toLowerCase()}const cf={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},df={};function ff(e,t){const n=t||df;return pf(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function pf(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return hf(e.children,t,n)}return Array.isArray(e)?hf(e,t,n):""}function hf(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=pf(e[o],t,n);return r.join("")}function mf(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function gf(e,t){return e.length>0?(mf(e,e.length,0,t),e):t}class yf{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&vf(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),vf(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),vf(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);vf(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);vf(this.left,t.reverse())}}}function vf(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function bf(e){const t={};let n,r,o,i,a,l,s,u=-1;const c=new yf(e);for(;++u<c.length;){for(;u in t;)u=t[u];if(n=c.get(u),u&&"chunkFlow"===n[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&(l=n[1]._tokenizer.events,o=0,o<l.length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;)"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,xf(c,u)),u=t[u],s=!0);else if(n[1]._container){for(o=u,r=void 0;o--;)if(i=c.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(c.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if("linePrefix"!==i[1].type&&"listItemIndent"!==i[1].type)break;r&&(n[1].end={...c.get(r)[1].start},a=c.slice(r,u),a.unshift(n),c.splice(r,u-r+1,a))}}return mf(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function xf(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const l=a.events,s=[],u={};let c,d,f=-1,p=n,h=0,m=0;const g=[m];for(;p;){for(;e.get(++o)[1]!==p;);i.push(o),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){const t=l.slice(g[f],g[f+1]),n=i.pop();s.push([n,n+t.length-1]),e.splice(n,2,t)}for(s.reverse(),f=-1;++f<s.length;)u[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return u}const wf={}.hasOwnProperty;function kf(e){const t={};let n=-1;for(;++n<e.length;)Sf(t,e[n]);return t}function Sf(e,t){let n;for(n in t){const r=(wf.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){wf.call(r,i)||(r[i]=[]);const e=o[i];Cf(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Cf(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);mf(e,0,0,r)}const Ef=Lf(/[A-Za-z]/),Pf=Lf(/[\dA-Za-z]/),Tf=Lf(/[#-'*+\--9=?A-Z^-~]/);function _f(e){return null!==e&&(e<32||127===e)}const Of=Lf(/\d/),zf=Lf(/[\dA-Fa-f]/),Rf=Lf(/[!-/:-@[-`{-~]/);function Mf(e){return null!==e&&e<-2}function Nf(e){return null!==e&&(e<0||32===e)}function If(e){return-2===e||-1===e||32===e}const Af=Lf(/\p{P}|\p{S}/u),Ff=Lf(/\s/);function Lf(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function jf(e,t,n,r){const o=r?r-1:1/0;let i=0;return function(r){if(If(r))return e.enter(n),a(r);return t(r)};function a(r){return If(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}function $f(e,t,n,r,o,i){let a=0;return function(t){if(i>0&&If(t))return e.enter(r),l(t);return s(t)};function l(t){return If(t)&&a<i?(e.consume(t),a++,l):(e.exit(r),s(t))}function s(e){return a>=o?t(e):n(e)}}const Df={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),jf(e,t,"linePrefix")},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Mf(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};class Bf{constructor(){this.index=new Map,this.map=[]}add(e,t,n){Wf(this,e,t,n,!1)}addBefore(e,t,n){Wf(this,e,t,n,!0)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}}function Wf(e,t,n,r,o){if(0===n&&0===r.length)return;const i=e.index.get(t);if(i)return i[1]+=n,void(o?(r.push(...i[2]),i[2]=r):i[2].push(...r));const a=[t,n,r];e.map.push(a),e.index.set(t,a)}const Hf={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return l;function l(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,s,u)(r)}return u(r)}function s(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(a);let l=n;for(;l<t.events.length;)t.events[l][1].end={...o},l++;const s=new Bf;return s.add(i+1,0,t.events.slice(n)),s.add(n,l-n,[]),s.consume(t.events),u(e)}return l(e)}function u(o){if(a===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Vf,c,d)(o)}function c(e){return r&&v(),y(a),f(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(Vf,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):Mf(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,l):(e.consume(n),m)}function g(e,n){const l=t.sliceStream(e);if(n&&l.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(y(a),e=n;e<t.events.length;)t.events[e][1].end={...l},e++;const u=new Bf;u.add(s+1,0,t.events.slice(n)),u.add(n,e-n,[]),u.consume(t.events)}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Vf={tokenize:function(e,t,n){return jf(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Uf={partial:!0,tokenize:function(e,t,n){return function(t){return If(t)?jf(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Mf(e)?t(e):n(e)}}};const qf={resolve:function(e){return bf(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Mf(t)?e.check(Kf,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Kf={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),jf(e,o,"linePrefix")};function o(o){if(null===o||Mf(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};const Yf={tokenize:function(e){const t=this,n=e.attempt(Uf,function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,jf(e,e.attempt(this.parser.constructs.flow,r,e.attempt(qf,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Qf={resolveAll:Jf()},Gf=Zf("string"),Xf=Zf("text");function Zf(e){return{resolveAll:Jf("text"===e?ep:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Jf(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ep(e,t){const n=new Bf;let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const o=e[r-1][1],i=t.sliceStream(o);let a,l=i.length,s=-1,u=0;for(;l--;){const e=i[l];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)a=!0,u++;else if(-1!==e){l++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){const i={type:r===e.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?s:o.start._bufferIndex+s,_index:o.start._index+l,line:o.end.line,column:o.end.column-u,offset:o.end.offset-u},end:{...o.end}};o.end={...i.start},o.start.offset===o.end.offset?Object.assign(o,i):n.add(r,0,[["enter",i,t],["exit",i,t]])}r++}return n.consume(e),e}const tp={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),a(i)):o>=3&&(null===i||Mf(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),If(t)?jf(e,i,"whitespace")(t):i(t))}}};const np={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Uf,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,jf(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!If(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(op,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,jf(e,e.attempt(np,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Of(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(tp,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return Of(t)&&++a<10?(e.consume(t),l):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Uf,r.interrupt?n:u,e.attempt(rp,d,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function c(t){return If(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},rp={partial:!0,tokenize:function(e,t,n){const r=this;return jf(e,function(e){const o=r.events[r.events.length-1];return!If(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},op={partial:!0,tokenize:function(e,t,n){const r=this;return jf(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}};const ip={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(If(t))return jf(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(ip,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return If(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function ap(e,t,n,r,o,i,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d;if(null===t||32===t||41===t||_f(t))return n(t);return e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t)};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||Mf(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return c||null!==o&&41!==o&&!Nf(o)?c<u&&40===o?(e.consume(o),c++,h):41===o?(e.consume(o),c--,h):null===o||32===o||40===o||_f(o)?n(o):(e.consume(o),92===o?m:h):(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function lp(e,t,n,r,o,i){const a=this;let l,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),u};function u(d){return s>999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):Mf(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||Mf(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!If(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function sp(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,l;return n(t)};function l(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===a?(e.exit(i),l(a)):null===t?n(t):Mf(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),jf(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Mf(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function up(e,t){let n;return function r(o){if(Mf(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(If(o))return jf(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function cp(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const dp={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return lp.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=cp(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Nf(t)?up(e,l)(t):l(t)}function l(t){return ap(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(fp,u,u)(t)}function u(t){return If(t)?jf(e,c,"whitespace")(t):c(t)}function c(i){return null===i||Mf(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},fp={partial:!0,tokenize:function(e,t,n){return function(t){return Nf(t)?up(e,r)(t):n(t)};function r(t){return sp(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return If(t)?jf(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Mf(e)?t(e):n(e)}}};const pp={name:"codeIndented",tokenize:function(e,t,n){return function(t){return e.enter("codeIndented"),$f(e,r,n,"linePrefix",4,4)(t)};function r(t){return null===t?i(t):Mf(t)?e.attempt(hp,r,i)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||Mf(t)?(e.exit("codeFlowValue"),r(t)):(e.consume(t),o)}function i(n){return e.exit("codeIndented"),t(n)}}},hp={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):Mf(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):$f(e,t,i,"linePrefix",4,4)(a)}function i(e){return Mf(e)?o(e):n(e)}}};const mp={name:"headingAtx",resolve:function(e,t){let n=e.length-2,r=3;"whitespace"===e[r][1].type&&(r+=2);n-2>r&&"whitespace"===e[n][1].type&&(n-=2);"atxHeadingSequence"===e[n][1].type&&(r===n-1||n-4>r&&"whitespace"===e[n-2][1].type)&&(n-=r+1===n?2:4);if(n>r){const o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};mf(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])}return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Nf(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Mf(n)?(e.exit("atxHeading"),t(n)):If(n)?jf(e,i,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function l(t){return null===t||35===t||Nf(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),l)}}};const gp={name:"setextUnderline",resolveTo:function(e,t){const n=new Bf;let r,o,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){r=a;break}"paragraph"===e[a][1].type&&(o=a)}else"content"===e[a][1].type&&n.add(a,1,[]),i||"definition"!==e[a][1].type||(i=a);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};e[o][1].type="setextHeadingText",i?(n.add(o,0,[["enter",l,t]]),n.add(i+1,0,[["exit",e[r][1],t]]),e[r][1].end={...e[i][1].end}):e[r][1]=l;return n.add(e.length,0,[["exit",l,t]]),n.consume(e),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let a,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){a="paragraph"===r.events[l][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),If(t)?jf(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Mf(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const yp=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],vp=["pre","script","style","textarea"],bp={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const xp={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},tokenize:function(e,t,n){const r=this;let o,i,a,l,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,p):63===l?(e.consume(l),o=3,r.interrupt?t:I):Ef(l)?(e.consume(l),a=String.fromCharCode(l),h):n(l)}function c(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,l=0,f):Ef(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(l++)?(e.consume(o),6===l?r.interrupt?t:P:f):n(o)}function p(t){return Ef(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||Nf(l)){const s=47===l,u=a.toLowerCase();return s||i||!vp.includes(u)?yp.includes(a.toLowerCase())?(o=6,s?(e.consume(l),m):r.interrupt?t(l):P(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):i?g(l):y(l)):(o=1,r.interrupt?t(l):P(l))}return 45===l||Pf(l)?(e.consume(l),a+=String.fromCharCode(l),h):n(l)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:P):n(o)}function g(t){return If(t)?(e.consume(t),g):C(t)}function y(t){return 47===t?(e.consume(t),C):58===t||95===t||Ef(t)?(e.consume(t),v):If(t)?(e.consume(t),y):C(t)}function v(t){return 45===t||46===t||58===t||95===t||Pf(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),x):If(t)?(e.consume(t),b):y(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):If(t)?(e.consume(t),x):k(t)}function w(t){return t===s?(e.consume(t),s=null,S):null===t||Mf(t)?n(t):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Nf(t)?b(t):(e.consume(t),k)}function S(e){return 47===e||62===e||If(e)?y(e):n(e)}function C(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||Mf(t)?P(t):If(t)?(e.consume(t),E):n(t)}function P(t){return 45===t&&2===o?(e.consume(t),z):60===t&&1===o?(e.consume(t),R):62===t&&4===o?(e.consume(t),A):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),N):!Mf(t)||6!==o&&7!==o?null===t||Mf(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),P):(e.exit("htmlFlowData"),e.check(wp,F,T)(t))}function T(t){return e.check(bp,_,F)(t)}function _(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||Mf(t)?T(t):(e.enter("htmlFlowData"),P(t))}function z(t){return 45===t?(e.consume(t),I):P(t)}function R(t){return 47===t?(e.consume(t),a="",M):P(t)}function M(t){if(62===t){const n=a.toLowerCase();return vp.includes(n)?(e.consume(t),A):P(t)}return Ef(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),M):P(t)}function N(t){return 93===t?(e.consume(t),I):P(t)}function I(t){return 62===t?(e.consume(t),A):45===t&&2===o?(e.consume(t),I):P(t)}function A(t){return null===t||Mf(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),A)}function F(n){return e.exit("htmlFlow"),t(n)}}},wp={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Uf,t,n)}}};const kp={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s}function s(t){return e.enter("codeFencedFence"),If(t)?jf(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===i?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===i?(o++,e.consume(t),c):o>=l?(e.exit("codeFencedFenceSequence"),If(t)?jf(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||Mf(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let i,a=0,l=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===i?(l++,e.consume(t),s):l<3?n(t):(e.exit("codeFencedFenceSequence"),If(t)?jf(e,u,"whitespace")(t):u(t))}function u(n){return null===n||Mf(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(bp,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||Mf(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):If(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),jf(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function d(t){return null===t||Mf(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||Mf(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&If(t)?jf(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||Mf(t)?e.check(bp,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Mf(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}}};const Sp=document.createElement("i");function Cp(e){const t="&"+e+";";Sp.innerHTML=t;const n=Sp.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Ep={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,i=Pf,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=zf,u):(e.enter("characterReferenceValue"),o=7,i=Of,u(t))}function u(l){if(59===l&&a){const o=e.exit("characterReferenceValue");return i!==Pf||Cp(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++<o?(e.consume(l),u):n(l)}}};const Pp={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Rf(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const Tp={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),jf(e,t,"linePrefix")}}};function _p(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Op={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}e.length!==n.length&&mf(e,0,e.length,n);return e},resolveTo:function(e,t){let n,r,o,i=e.length,a=0;for(;i--;){const t=e[i][1];if(n){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[i][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(r){if("enter"===e[i][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(n=i,"labelLink"!==t.type)){a=2;break}}else"labelEnd"===t.type&&(r=i)}const l={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[n][1].start},end:{...e[r][1].end}},u={type:"labelText",start:{...e[n+a+2][1].end},end:{...e[r-2][1].start}};return o=[["enter",l,t],["enter",s,t]],o=gf(o,e.slice(n+1,n+a+3)),o=gf(o,[["enter",u,t]]),o=gf(o,_p(t.parser.constructs.insideSpan.null,e.slice(n+a+4,r-3),t)),o=gf(o,[["exit",u,t],e[r-2],e[r-1],["exit",s,t]]),o=gf(o,e.slice(r+1)),o=gf(o,[["exit",l,t]]),mf(e,n,e.length,o),e},tokenize:function(e,t,n){const r=this,o=r._labelStarts;let i,a;if(o){for(;o.length>0&&o[o.length-1]._balanced;)o.pop();i=o[o.length-1]}return function(t){if(!i)return n(t);if(i._inactive)return c(t);return a=r.parser.defined.includes(cp(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l};function l(t){return 40===t?e.attempt(zp,u,a?u:c)(t):91===t?e.attempt(Rp,u,a?s:c)(t):a?u(t):c(t)}function s(t){return e.attempt(Mp,u,c)(t)}function u(e){return o.pop(),t(e)}function c(e){return i._balanced=!0,n(e)}}},zp={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Nf(t)?up(e,o)(t):o(t)}function o(t){return 41===t?u(t):ap(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return Nf(t)?up(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?sp(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return Nf(t)?up(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Rp={tokenize:function(e,t,n){const r=this;return function(t){return lp.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(cp(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Mp={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Np={name:"labelStartImage",resolveAll:Op.resolveAll,tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),o=e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(o),t(e))}}};function Ip(e){return null===e||Nf(e)||Ff(e)?1:Af(e)?2:void 0}const Ap={name:"attention",resolveAll:function(e,t){let n,r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._close){let o=r;for(;o--;)if("exit"===e[o][0]&&"attentionSequence"===e[o][1].type&&e[o][1]._open&&t.sliceSerialize(e[o][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[o][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;const i=e[o][1].end.offset-e[o][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,a={...e[o][1].end},l={...e[r][1].start};Fp(a,-i),Fp(l,i);const s={type:i>1?"strongSequence":"emphasisSequence",start:a,end:{...e[o][1].end}},u={type:i>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:l},c={type:i>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[r][1].start}},d={type:i>1?"strong":"emphasis",start:{...s.start},end:{...u.end}};e[o][1].end={...s.start},e[r][1].start={...u.end},n=[],e[o][1].end.offset-e[o][1].start.offset&&(n=gf(n,[["enter",e[o][1],t],["exit",e[o][1],t]])),n=gf(n,[["enter",d,t],["enter",s,t],["exit",s,t],["enter",c,t]]),n=gf(n,_p(t.parser.constructs.insideSpan.null,e.slice(o+1,r),t)),n=gf(n,[["exit",c,t],["enter",u,t],["exit",u,t],["exit",d,t]]);let f=0;e[r][1].end.offset-e[r][1].start.offset&&(f=2,n=gf(n,[["enter",e[r][1],t],["exit",e[r][1],t]])),mf(e,o-1,r-o+3,n),r=o+n.length-f-2;break}}r=-1;for(;++r<e.length;)"attentionSequence"===e[r][1].type&&(e[r][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Ip(r);let i;return function(t){return i=t,e.enter("attentionSequence"),a(t)};function a(l){if(l===i)return e.consume(l),a;const s=e.exit("attentionSequence"),u=Ip(l),c=!u||2===u&&o||n.includes(l)&&42!==l&&95!==l,d=!o||2===o&&u||n.includes(r)&&42!==r&&95!==r;return s._open=Boolean(42===i?c:c&&(o||!d)),s._close=Boolean(42===i?d:d&&(u||!c)),t(l)}}};function Fp(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Lp={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ef(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(e){return 43===e||45===e||46===e||Pf(e)?(r=1,a(e)):s(e)}function a(t){return 58===t?(e.consume(t),r=0,l):(43===t||45===t||46===t||Pf(t))&&r++<32?(e.consume(t),a):(r=0,s(t))}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||_f(r)?n(r):(e.consume(r),l)}function s(t){return 64===t?(e.consume(t),u):Tf(t)?(e.consume(t),s):n(t)}function u(e){return Pf(e)?c(e):n(e)}function c(n){return 46===n?(e.consume(n),r=0,u):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Pf(t))&&r++<63){const n=45===t?d:c;return e.consume(t),n}return n(t)}}};const jp={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),x):63===t?(e.consume(t),v):Ef(t)?(e.consume(t),S):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):Ef(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):Mf(t)?(a=c,M(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?R(e):45===e?d(e):c(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):Mf(t)?(a=h,M(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?R(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?R(t):Mf(t)?(a=y,M(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Mf(t)?(a=v,M(t)):(e.consume(t),v)}function b(e){return 62===e?R(e):v(e)}function x(t){return Ef(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||Pf(t)?(e.consume(t),w):k(t)}function k(t){return Mf(t)?(a=k,M(t)):If(t)?(e.consume(t),k):R(t)}function S(t){return 45===t||Pf(t)?(e.consume(t),S):47===t||62===t||Nf(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),R):58===t||95===t||Ef(t)?(e.consume(t),E):Mf(t)?(a=C,M(t)):If(t)?(e.consume(t),C):R(t)}function E(t){return 45===t||46===t||58===t||95===t||Pf(t)?(e.consume(t),E):P(t)}function P(t){return 61===t?(e.consume(t),T):Mf(t)?(a=P,M(t)):If(t)?(e.consume(t),P):C(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,_):Mf(t)?(a=T,M(t)):If(t)?(e.consume(t),T):(e.consume(t),O)}function _(t){return t===o?(e.consume(t),o=void 0,z):null===t?n(t):Mf(t)?(a=_,M(t)):(e.consume(t),_)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Nf(t)?C(t):(e.consume(t),O)}function z(e){return 47===e||62===e||Nf(e)?C(e):n(e)}function R(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function M(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return If(t)?jf(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),a(t)}}};const $p={name:"labelStartLink",resolveAll:Op.resolveAll,tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),o=e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(o),t(e))}}};const Dp={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Mf(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const Bp={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):96===t?(o=e.enter("codeTextSequence"),r=0,u(t)):Mf(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||Mf(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}}};const Wp={42:np,43:np,45:np,48:np,49:np,50:np,51:np,52:np,53:np,54:np,55:np,56:np,57:np,62:ip},Hp={91:dp},Vp={[-2]:pp,[-1]:pp,32:pp},Up={35:mp,42:tp,45:[gp,tp],60:xp,61:gp,95:tp,96:kp,126:kp},qp={38:Ep,92:Pp},Kp={[-5]:Tp,[-4]:Tp,[-3]:Tp,33:Np,38:Ep,42:Ap,60:[Lp,jp],91:$p,92:[Dp,Pp],93:Op,95:Ap,96:Bp},Yp={null:[Ap,Qf]},Qp={null:[42,95]},Gp={null:[]};function Xp(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let a=[],l=[],s=!0;const u={attempt:v(function(e,t){b(e,t.from)}),check:v(y),consume:function(e){Mf(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,s=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),l.push(n),n},exit:function(e){const t=l.pop();return t.end=h(),c.events.push(["exit",t,c]),t},interrupt:v(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,x()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(p(e),t)},sliceStream:p,write:function(e){if(a=gf(a,e),m(),null!==a[a.length-1])return[];return b(t,0),c.events=_p(i,c.events,c),c.events}};let d,f=t.tokenize.call(c,u);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:i}}function m(){for(;r._index<a.length;){const e=a[r._index];if("string"==typeof e){const t=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)g(e.charCodeAt(r._bufferIndex))}else g(e)}}function g(e){s=void 0,d=e,f=f(e)}function y(e,t){t.restore()}function v(e,t){return function(n,o,i){let a,d,f,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,d=0,0===e.length?i:g(e[d])}function g(e){return function(n){p=function(){const e=h(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(l);return{from:o,restore:a};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=i,x()}}(),f=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,y,v)(n)}}function y(t){return s=!0,e(f,p),o}function v(e){return s=!0,p.restore(),++d<a.length?g(a[d]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&mf(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function x(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const Zp=/[\0\t\n\r]/g;function Jp(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const eh=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function th(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Jp(n.slice(t?2:1),t?16:10)}return Cp(n)||e}const nh={}.hasOwnProperty;function rh(e,t,n){return t&&"object"==typeof t&&(n=t,t=void 0),function(e){const t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(ne),autolinkProtocol:P,autolinkEmail:P,atxHeading:a(Z),blockQuote:a(K),characterEscape:P,characterReference:P,codeFenced:a(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(Y,l),codeText:a(Q,l),codeTextData:P,data:P,codeFlowValue:P,definition:a(G),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(X),hardBreakEscape:a(J),hardBreakTrailing:a(J),htmlFlow:a(ee,l),htmlFlowData:P,htmlText:a(ee,l),htmlTextData:P,image:a(te),label:l,link:a(ne),listItem:a(oe),listItemValue:p,listOrdered:a(re,f),listUnordered:a(re),paragraph:a(ie),reference:D,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Z),strong:a(ae),thematicBreak:a(se)},exit:{atxHeading:u(),atxHeadingSequence:k,autolink:u(),autolinkEmail:q,autolinkProtocol:U,blockQuote:u(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:H,characterReference:V,codeFenced:u(y),codeFencedFence:g,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:T,codeIndented:u(v),codeText:u(M),codeTextData:T,data:T,definition:u(),definitionDestinationString:w,definitionLabelString:b,definitionTitleString:x,emphasis:u(),hardBreakEscape:u(O),hardBreakTrailing:u(O),htmlFlow:u(z),htmlFlowData:T,htmlText:u(R),htmlTextData:T,image:u(I),label:F,labelText:A,lineEnding:_,link:u(N),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:B,resourceDestinationString:L,resourceTitleString:j,resource:$,setextHeading:u(E),setextHeadingLineSequence:C,setextHeadingText:S,strong:u(),thematicBreak:u()}};ih(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[],position:void 0};const a={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:l,resume:d,data:n},u=[],f=[];let p=-1;for(;++p<e.length;)if(f.push(e[p]),"listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])u.push(f.length-1);else{i(f,u.pop())}for(e=f,p=-1;++p<e.length;){const n=t[e[p][0]];"enter"===e[p][0]&&t.beforeEnter.length>0&&o(t.beforeEnter,{...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1]),nh.call(n,e[p][1].type)&&n[e[p][1].type].call({...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1]),"exit"===e[p][0]&&t.afterExit.length>0&&o(t.afterExit,{...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||lh).call(a,void 0,e[0])}for(r.position={start:oh(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:oh(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r}function o(e,t,n){let r=-1;for(;++r<e.length;)e[r].call(t,n)}function i(e,t){const n=e.length-1;let r,o,i,a,l=t-1,s=-1,u=!1;const c=[];for(;++l<=n;){const t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||s||i||(i=l),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let n=l;for(o=void 0;n--;){const t=e[n];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=n}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),c.push({at:o||l,event:["exit",r,t[2]]})}if("listItemPrefix"===t[1].type){const e={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=e,c.push({at:l,event:["enter",e,t[2]]}),i=void 0,a=!0}}}const d=e.splice(t);let f=0;for(l=-1;++l<d.length;){for(;f<c.length&&c[f].at===t+l;)e.push(c[f++].event);e.push(d[l])}e[t][1]._spread=u}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:oh(t.start),end:void 0}}function u(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Wd({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||lh).call(this,e,r[0])}n.position.end=oh(e.end)}function d(){return ff(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function m(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cp(this.sliceSerialize(e)).toLowerCase()}function x(){const e=this.resume();this.stack[this.stack.length-1].title=e}function w(){const e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function P(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=le(),n.position={start:oh(e.start),end:void 0},t.push(n)),this.stack.push(n)}function T(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=oh(e.end)}function _(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=oh(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(P.call(this,e),T.call(this,e))}function O(){this.data.atHardBreak=!0}function z(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function M(){const e=this.resume();this.stack[this.stack.length-1].value=e}function N(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function A(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(eh,th)}(t),n.identifier=cp(t).toLowerCase()}function F(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function L(){const e=this.resume();this.stack[this.stack.length-1].url=e}function j(){const e=this.resume();this.stack[this.stack.length-1].title=e}function $(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function B(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cp(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function W(e){this.data.characterReferenceType=e.type}function H(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=Jp(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Cp(t)}this.stack[this.stack.length-1].value+=r}function V(e){this.stack.pop().position.end=oh(e.end)}function U(e){T.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){T.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function K(){return{type:"blockquote",children:[],position:void 0}}function Y(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function Q(){return{type:"inlineCode",value:"",position:void 0}}function G(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function X(){return{type:"emphasis",children:[],position:void 0}}function Z(){return{type:"heading",depth:0,children:[],position:void 0}}function J(){return{type:"break",position:void 0}}function ee(){return{type:"html",value:"",position:void 0}}function te(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function ne(){return{type:"link",title:null,url:"",children:[],position:void 0}}function re(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[],position:void 0}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[],position:void 0}}function ie(){return{type:"paragraph",children:[],position:void 0}}function ae(){return{type:"strong",children:[],position:void 0}}function le(){return{type:"text",value:"",position:void 0}}function se(){return{type:"thematicBreak",position:void 0}}}(n)(function(e){for(;!bf(e););return e}(function(e){const t={constructs:kf([w,...(e||{}).extensions||[]]),content:n(Df),defined:[],document:n(Hf),flow:n(Yf),lazy:{},string:n(Gf),text:n(Xf)};return t;function n(e){return function(n){return Xp(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o));const l=[];let s=0;for(n="",r&&(65279===o.charCodeAt(0)&&s++,r=void 0);s<o.length;){Zp.lastIndex=s;const r=Zp.exec(o),i=r&&void 0!==r.index?r.index:o.length,a=o.charCodeAt(i);if(!r){n=o.slice(s);break}if(10===a&&s===i&&e)l.push(-3),e=void 0;else switch(e&&(l.push(-5),e=void 0),s<i&&(l.push(o.slice(s,i)),t+=i-s),a){case 0:l.push(65533),t++;break;case 9:{const e=4*Math.ceil(t/4);for(l.push(-2);t++<e;)l.push(-1);break}case 10:l.push(-4),t=1;break;default:e=!0,t=1}s=i+1}return a&&(e&&l.push(-5),n&&l.push(n),l.push(null)),l}}()(e,t,!0))))}function oh(e){return{line:e.line,column:e.column,offset:e.offset}}function ih(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?ih(e,r):ah(e,r)}}function ah(e,t){let n;for(n in t)if(nh.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"afterExit":case"beforeEnter":{const r=t[n];r&&e[n].push(r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function lh(e,t){if(e)throw new Error("Cannot close `"+e.type+"` ("+Wd({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wd({start:t.start,end:t.end})+") is open");throw new Error("Cannot close document, a token (`"+t.type+"`, "+Wd({start:t.start,end:t.end})+") is still open")}function sh(e){const t=this;t.parser=function(n){return rh(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const{defineProperty:uh}=Object,ch="object"==typeof self?self:globalThis,dh=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new ch[e](t)},fh=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a){const o=r(t),i=r(n);"__proto__"===o?uh(e,o,{value:i,configurable:!0,enumerable:!0,writable:!0}):e[o]=i}return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n("function"==typeof ch[e]?dh(e,t):new Error(t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}case"-0":return-0}return n(dh(i,a),o)};return r})(new Map,e)(0),ph="",{toString:hh}={},{keys:mh,is:gh}=Object,yh=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=hh.call(e).slice(8,-1);switch(n){case"Array":return[1,ph];case"Object":return[2,ph];case"Date":return[3,ph];case"RegExp":return[4,ph];case"Map":return[5,ph];case"Set":return[6,ph];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},vh=([e,t])=>0===e&&("function"===t||"symbol"===t),bh=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=a=>{if(n.has(a))return n.get(a);let[l,s]=yh(a);switch(l){case 0:{let t=a;switch(s){case"bigint":l=8,t=a.toString();break;case"number":if(!a&&gh(a,-0))return r.push(["-0"])-1;break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],a)}return o([l,t],a)}case 1:{if(s){let e=a;return"DataView"===s?e=new Uint8Array(a.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(a)),o([s,[...e]],a)}const e=[],t=o([l,e],a);for(const t of a)e.push(i(t));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,a.toString()],a);case"Boolean":case"Number":case"String":return o([s,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const n=[],r=o([l,n],a);for(const t of mh(a))!e&&vh(yh(a[t]))||n.push([i(t),i(a[t])]);return r}case 3:return o([l,isNaN(a.getTime())?ph:a.toISOString()],a);case 4:{const{source:e,flags:t}=a;return o([l,{source:e,flags:t}],a)}case 5:{const t=[],n=o([l,t],a);for(const[n,r]of a)(e||!vh(yh(n))&&!vh(yh(r)))&&t.push([i(n),i(r)]);return n}case 6:{const t=[],n=o([l,t],a);for(const n of a)!e&&vh(yh(n))||t.push(i(n));return n}}const{message:u}=a;return o([l,{name:s,message:u}],a)};return i})(!(t||n),!!t,new Map,r)(e),r},xh="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?fh(bh(e,t)):structuredClone(e):(e,t)=>fh(bh(e,t));function wh(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&Pf(e.charCodeAt(n+1))&&Pf(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function kh(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Sh(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Ch=function(e){if(null==e)return Ph;if("function"==typeof e)return Eh(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ch(e[n]);return Eh(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Eh(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Eh(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Eh(e){return function(t,n,r){return Boolean(Th(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Ph(){return!0}function Th(e){return null!==e&&"object"==typeof e&&"type"in e}const _h=[],Oh=!0,zh=!1;function Rh(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Ch(o),a=r?-1:1;!function e(o,l,s){const u=o&&"object"==typeof o?o:{};if("string"==typeof u.type){const e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return c;function c(){let u,c,d,f=_h;if((!t||i(o,l,s[s.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Oh,e];return null==e?_h:[e]}(n(o,s)),f[0]===zh))return f;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==f[0])for(c=(r?t.children.length:-1)+a,d=s.concat(t);c>-1&&c<t.children.length;){const n=t.children[c];if(u=e(n,c,d)(),u[0]===zh)return u;c="number"==typeof u[1]?u[1]:c+a}}return f}}(e,void 0,[])()}function Mh(e,t,n,r){let o,i,a;"function"==typeof t&&"function"!=typeof n?(i=void 0,a=t,o=n):(i=t,a=n,o=r),Rh(e,i,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}function Nh(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function Ih(e){const t=e.spread;return t??e.children.length>1}function Ah(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Fh(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Fh(t.slice(o),o>0,!1)),i.join("")}function Fh(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Lh={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=wh(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);void 0===l?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,l+=1,e.footnoteCounts.set(r,l);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Nh(e,t);const o={src:wh(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:wh(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Nh(e,t);const o={href:wh(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:wh(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Ih(n[r])}return t}(n):Ih(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const e=r[l];(o||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Dd(t.children[1]),a=$d(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let l=-1;const s=[];for(;++l<a;){const n=t.children[l],r={},a=i?i[l]:void 0;a&&(r.align=a);let u={type:"element",tagName:o,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){const n={type:"text",value:Ah(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:jh,yaml:jh,definition:jh,footnoteDefinition:jh};function jh(){}const $h={}.hasOwnProperty,Dh={};function Bh(e,t){e.position&&(t.position=function(e){const t=Dd(e),n=$d(e);if(t&&n)return{start:t,end:n}}(e))}function Wh(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,xh(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Hh(e,t){const n=t.data||{},r=!("value"in t)||$h.call(n,"hProperties")||$h.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Vh(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Uh(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function qh(e,t){const n=function(e,t){const n=t||Dh,r=new Map,o=new Map,i=new Map,a={...Lh,...n.handlers},l={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=l.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Uh(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Uh(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:Wh,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=l.handlers[n];if($h.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=xh(n);return r.children=l.all(e),r}return xh(e)}return(l.options.unknownHandler||Hh)(l,e,t)},options:n,patch:Bh,wrap:Vh};return Mh(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||kh,r=e.options.footnoteBackLabel||Sh,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let s=-1;for(;++s<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[s]);if(!o)continue;const i=e.all(o),a=String(o.identifier).toUpperCase(),u=wh(a.toLowerCase());let c=0;const d=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,h),l.push(h)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...xh(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function Kh(e,t){return e&&"run"in e?async function(n,r){const o=qh(n,{file:r,...t});await e.run(o,r)}:function(n,r){return qh(n,{file:r,...e||t})}}function Yh(e){if(e)throw e}function Qh(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Gh(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const l=e[++n];let s=-1;if(i)r(i);else{for(;++s<t.length;)null!==a[s]&&void 0!==a[s]||(a[s]=t[s]);t=a,l?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(e){if(r&&n)throw e;return o(e)}r||(a&&a.then&&"function"==typeof a.then?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...r){n||(n=!0,t(e,...r))}function i(e){o(null,e)}}(l,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}r();const Xh={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Zh(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(o=i):(l=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(Zh(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Zh(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const l=e.codePointAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)Zh(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Zh(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=s,l=0;continue}}else if(o.length>0){o="",i=0,a=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Zh(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Jh={cwd:function(){return"/"}};function em(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function tm(e){if("string"==typeof e)e=new URL(e);else if(!em(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const nm=["history","path","basename","stem","extname","dirname"];class rm{constructor(e){let t;t=e?em(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":Jh.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<nm.length;){const e=nm[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)nm.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Xh.basename(this.path):void 0}set basename(e){im(e,"basename"),om(e,"basename"),this.path=Xh.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Xh.dirname(this.path):void 0}set dirname(e){am(this.basename,"dirname"),this.path=Xh.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?Xh.extname(this.path):void 0}set extname(e){if(om(e,"extname"),am(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Xh.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){em(e)&&(e=tm(e)),im(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Xh.basename(this.path,this.extname):void 0}set stem(e){im(e,"stem"),om(e,"stem"),this.path=Xh.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new qd(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function om(e,t){if(e&&e.includes(Xh.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Xh.sep+"`")}function im(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function am(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const lm=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},sm={}.hasOwnProperty;class um extends lm{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Gh()}copy(){const e=new um;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(r()(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(pm("data",this.frozen),this.namespace[e]=t,this):sm.call(this.namespace,e)&&this.namespace[e]||void 0:e?(pm("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=gm(e),n=this.parser||this.Parser;return dm("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),dm("process",this.parser||this.Parser),fm("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=gm(e),a=n.parse(i);function l(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(a,i,function(e,t,r){if(e||!t||!r)return l(e);const o=t,i=n.stringify(o,r);var a;"string"==typeof(a=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(a)?r.value=i:r.result=i,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),dm("processSync",this.parser||this.Parser),fm("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,Yh(e),t=r}),mm("processSync","process",n),t}run(e,t,n){hm(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const a=gm(t);r.run(e,a,function(t,r,a){const l=r||e;t?i(t):o?o(l):n(void 0,l,a)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){Yh(e),n=t,r=!0}),mm("runSync","run",r),n}stringify(e,t){this.freeze();const n=gm(t),r=this.compiler||this.Compiler;return fm("stringify",r),hm(e),r(e,n)}use(e,...t){const n=this.attachers,o=this.namespace;if(pm("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):a(e)}return this;function i(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else a(e)}}function a(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(o.settings=r()(!0,o.settings,e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){i(e[t])}}}function s(e,t){let o=-1,i=-1;for(;++o<n.length;)if(n[o][0]===e){i=o;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[o,...a]=t;const l=n[i][1];Qh(l)&&Qh(o)&&(o=r()(!0,l,o)),n[i]=[e,o,...a]}}}}const cm=(new um).freeze();function dm(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function fm(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function pm(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function hm(e){if(!Qh(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function mm(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function gm(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new rm(e)}const ym=[],vm={allowDangerousHtml:!0},bm=/^(https?|ircs?|mailto|xmpp)$/i,xm=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function wm(e){const t=km(e),n=Sm(e);return Cm(t.runSync(t.parse(n),n),e)}function km(e){const t=e.rehypePlugins||ym,n=e.remarkPlugins||ym,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...vm}:vm;return cm().use(sh).use(n).use(Kh,r).use(t)}function Sm(e){const t=e.children||"",n=new rm;return"string"==typeof t&&(n.value=t),n}function Cm(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,a=t.skipHtml,l=t.unwrapDisallowed,s=t.urlTransform||Em;for(const e of xm)Object.hasOwn(t,e.from)&&Jc((e.from,e.to&&e.to,e.id));return Mh(e,function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return a?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in cf)if(Object.hasOwn(cf,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=cf[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=s(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,o)),a&&o&&"number"==typeof t)return l&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}}),Jd(e,{Fragment:d().Fragment,components:o,ignoreInvalidStyle:!0,jsx:d().jsx,jsxs:d().jsxs,passKeys:!0,passNode:!0})}function Em(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||bm.test(e.slice(0,t))?e:""}function Pm(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function Tm(e,t,n){const r=Ch((n||{}).ignore||[]),o=function(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const t=[],n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([_m(e[0]),Om(e[1])])}return t}(t);let i=-1;for(;++i<o.length;)Rh(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[i][0],a=o[i][1];let l=0;const s=n.children.indexOf(e);let u=!1,c=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let i=a(...d,o);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i)r.lastIndex=n+1;else{if(l!==n&&f({type:"text",value:e.value.slice(l,n)}),Array.isArray(i))for(const e of i)f(e);else i&&f(i);l=n+d[0].length,u=!0}if(!r.global)break;d=r.exec(e.value)}u?(l<e.value.length&&f({type:"text",value:e.value.slice(l)}),n.children.splice(s,1,...c)):c=[e];return s+c.length;function f(e){const t=c[c.length-1];t&&"text"===t.type&&"text"===e.type?t.value+=e.value:c.push(e)}}(e,t)}}function _m(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Om(e){return"function"==typeof e?e:function(){return e}}const zm="phrasing",Rm=["autolink","link","image","label"];function Mm(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Nm(e){this.config.enter.autolinkProtocol.call(this,e)}function Im(e){this.config.exit.autolinkProtocol.call(this,e)}function Am(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Fm(e){this.config.exit.autolinkEmail.call(this,e)}function Lm(e){this.exit(e)}function jm(e){Tm(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,$m],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Dm]],{ignore:["link","linkReference"]})}function $m(e,t,n,r,o){let i="";if(!Bm(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Pm(e,"(");let i=Pm(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function Dm(e,t,n,r){return!(!Bm(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Bm(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Ff(n)||Af(n))&&(!t||47!==n)}function Wm(){this.buffer()}function Hm(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Vm(){this.buffer()}function Um(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function qm(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=cp(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Km(e){this.exit(e)}function Ym(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=cp(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Qm(e){this.exit(e)}function Gm(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=o.move(n.safe(n.associationId(e),{after:"]",before:i})),l(),a(),i+=o.move("]"),i}function Xm(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,o){const i=r.createTracker(o);let a=i.move("[^");const l=r.enter("footnoteDefinition"),s=r.enter("label");a+=i.move(r.safe(r.associationId(e),{before:a,after:"]"})),s(),a+=i.move("]:"),e.children&&e.children.length>0&&(i.shift(4),a+=i.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,i.current()),t?Jm:Zm)));return l(),a},footnoteReference:Gm},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Zm(e,t,n){return 0===t?e:Jm(e,t,n)}function Jm(e,t,n){return(n?"":"    ")+e}Gm.peek=function(){return"["};const eg=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function tg(e){this.enter({type:"delete",children:[],position:void 0},e)}function ng(e){this.exit(e)}function rg(e,t,n,r){const o=n.createTracker(r),i=n.stack.includes("strikethrough")?"~":"~~",a=n.enter("strikethrough");let l=o.move(i);return l+=n.containerPhrasing(e,{...o.current(),before:l,after:"~"}),l+=o.move(i),a(),l}function og(e){return e.length}function ig(e){return null==e?"":String(e)}function ag(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function lg(e,t,n){return">"+(n?"":" ")+e}function sg(e,t){return ug(e,t.inConstruct,!0)&&!ug(e,t.notInConstruct,!1)}function ug(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function cg(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;){const e=n.unsafe[o];if("\n"===e.character&&!e.before&&!e.after&&sg(n.stack,e))return/[\t ]/.test(r.before)?"":" "}return"\\\n"}function dg(e,t,n){return(n?"":"    ")+e}function fg(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function pg(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function hg(e,t,n,r){const o=n.enter("phrasing"),i=n.containerPhrasing({type:"root",children:[e]},r);return o(),i}function mg(e){return e.value||""}function gg(e,t,n,r){const o=fg(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("image");let l=n.enter("label");const s=n.createTracker(r);let u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=s.move(" "+o),u+=s.move(n.safe(e.title,{before:u,after:o,...s.current()})),u+=s.move(o),l()),u+=s.move(")"),a(),u}function yg(e,t,n,r){const o=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const l=n.createTracker(r);let s=l.move("![");const u=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();const c=n.stack;n.stack=c.filter(function(e){return"phrasing"!==e}),a=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,i(),"full"!==o&&u&&u===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function vg(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=n.compilePattern(e);if(!e.atBreak)continue;let o;for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function bg(e,t){const n=ff(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function xg(e,t,n,r){const o=fg(n),i='"'===o?"Quote":"Apostrophe",a=n.createTracker(r);if(bg(e,n)){const t=n.stack;n.stack=t.filter(function(e){return"phrasing"!==e});const r=n.enter("autolink");let o=a.move("<");return o+=a.move(n.containerPhrasing(e,{before:o,after:">",...a.current()})),o+=a.move(">"),r(),n.stack=t,o}const l=n.enter("link");let s=n.enter("label"),u=a.move("[");return u+=a.move(n.containerPhrasing(e,{before:u,after:"](",...a.current()})),u+=a.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=a.move("<"),u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()})),u+=a.move(">")):(s=n.enter("destinationRaw"),u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=a.move(" "+o),u+=a.move(n.safe(e.title,{before:u,after:o,...a.current()})),u+=a.move(o),s()),u+=a.move(")"),l(),u}function wg(e,t,n,r){const o=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const l=n.createTracker(r);let s=l.move("[");const u=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();const c=n.stack;n.stack=c.filter(function(e){return"phrasing"!==e}),a=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,i(),"full"!==o&&u&&u===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function kg(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Sg(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}rg.attention=function(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}},rg.peek=function(){return"~"},hg.attention=function(e,t){return{construct:"emphasis",markers:"*"===pg(t)?["*","_"]:["_","*"],sizes:[1]}},hg.peek=function(e,t,n){return n.options.emphasis||"*"},mg.peek=function(){return"<"},gg.peek=function(){return"!"},yg.peek=function(){return"!"},vg.peek=function(){return"`"},xg.peek=function(e,t,n){return bg(e,n)?"<":"["},wg.peek=function(){return"["};const Cg=Ch(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Eg(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}function Pg(e,t,n,r){const o=n.enter("phrasing"),i=n.containerPhrasing({type:"root",children:[e]},r);return o(),i}Pg.attention=function(e,t){return{construct:"strong",markers:"*"===Eg(t)?["*","_"]:["_","*"],sizes:[2]}},Pg.peek=function(e,t,n){return n.options.strong||"*"};const Tg={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),lg);return o(),a},break:cg,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,dg);return e(),t}const a=n.createTracker(r),l=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,i=0,a=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++i>a&&(a=i):i=1,o=r+t.length,r=n.indexOf(t,o);return a}(i,o)+1,3)),s=n.enter("codeFenced"),u="`"===o?"GraveAccent":"Tilde";let c=a.move(l);if(e.lang){const t=n.enter(`codeFencedLang${u}`);c+=a.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${u}`);c+=a.move(" "),c+=a.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...a.current()})),t()}return c+=a.move("\n"),i&&(c+=a.move(i+"\n")),c+=a.move(l),s(),c},definition:function(e,t,n,r){const o=fg(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("definition");let l=n.enter("label");const s=n.createTracker(r);let u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=s.move(" "+o),u+=s.move(n.safe(e.title,{before:u,after:o,...s.current()})),u+=s.move(o),l()),a(),u},emphasis:hg,hardBreak:cg,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(function(e,t){let n=!1;return Mh(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,!1}),Boolean((!e.depth||e.depth<3)&&ff(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===o?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(o),l=n.enter("headingAtx"),s=n.enter("phrasing");i.move(a+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});const c=u.charCodeAt(0);return 9!==c&&32!==c||(u="&#x"+c.toString(16).toUpperCase()+";"+u.slice(1)),u=u?a+" "+u:a,n.options.closeAtx&&(u+=" "+a),s(),l(),u},html:mg,image:gg,imageReference:yg,inlineCode:vg,link:xg,linkReference:wg,list:function(e,t,n,r){const o=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):kg(n);const l=e.ordered?"."===a?")":".":function(e){const t=kg(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let s=!(!t||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),Sg(n)===a&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(a=l),n.bulletCurrent=a;const u=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,o(),u},listItem:function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||kg(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?i:i+" ".repeat(a-i.length))+e});return s(),u},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),o(),a},root:function(e,t,n,r){if(!e.children.some(function(e){return Cg(e)}))return n.containerFlow(e,r);const o=n.enter("phrasing"),i=n.containerPhrasing(e,r);return o(),i},strong:Pg,text:function(e,t,n,r){const o=t?t.children:[],i=o.indexOf(e);return n.safe(e.value,{...r,afterNode:o[i+1],beforeNode:o[i-1]})},thematicBreak:function(e,t,n){const r=(Sg(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function _g(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Og(e){this.exit(e),this.data.inTable=void 0}function zg(e){this.enter({type:"tableRow",children:[]},e)}function Rg(e){this.exit(e)}function Mg(e){this.enter({type:"tableCell",children:[]},e)}function Ng(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Ig));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Ig(e,t){return"|"===t?t:e}function Ag(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Tg.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=s(r[o],t,n);return a(),i}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const o=l([s(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),l=n.containerPhrasing(e,{...r,before:i,after:i});return a(),o(),l}function l(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||og,i=[],a=[],l=[],s=[];let u=0,c=-1;for(;++c<e.length;){const t=[],r=[];let i=-1;for(e[c].length>u&&(u=e[c].length);++i<e[c].length;){const a=ig(e[c][i]);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===s[i]||e>s[i])&&(s[i]=e)}t.push(a)}a[c]=t,l[c]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<u;)i[d]=ag(r[d]);else{const e=ag(r);for(;++d<u;)i[d]=e}d=-1;const f=[],p=[];for(;++d<u;){const e=i[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>s[d]&&(s[d]=o),p[d]=o),f[d]=a}a.splice(1,0,f),l.splice(1,0,p),c=-1;const h=[];for(;++c<a.length;){const e=a[c],t=l[c];d=-1;const r=[];for(;++d<u;){const o=e[d]||"";let a="",l="";if(!1!==n.alignDelimiters){const e=s[d]-(t[d]||0),n=i[d];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),l=a):l=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===u-1||r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const i=[],l=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return l(),i}}function Fg(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Lg(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function jg(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);i&&l.move(a);let s=Tg.listItem(e,t,n,{...r,...l.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),s}const $g={tokenize:function(e,t,n){let r=0;return function t(i){if((87===i||119===i)&&r<3)return r++,e.consume(i),t;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Dg={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(Wg,s,l)(t):null===t||Nf(t)||Ff(t)||45!==t&&Af(t)?s(t):(i=!0,e.consume(t),a)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function s(e){return o||r||!i?n(e):t(e)}},partial:!0},Bg={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Wg,t,i)(a):null===a||Nf(a)||Ff(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Wg={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Nf(a)||Ff(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Nf(e)||Ff(e)?t(e):r(e)}function i(e){return Ef(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Ef(t)?(e.consume(t),a):n(t)}},partial:!0},Hg={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Pf(e)?n(e):t(e)}},partial:!0},Vg={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!Qg.call(r,r.previous)||Jg(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check($g,e.attempt(Dg,e.attempt(Bg,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Qg},Ug={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){if((72===t||104===t)&&Gg.call(r,r.previous)&&!Jg(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(Ef(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),i?s:(i=!0,l)):n(t)}function s(t){return null===t||_f(t)||Nf(t)||Ff(t)||Af(t)?n(t):e.attempt(Dg,e.attempt(Bg,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Gg},qg={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let o,i;return function(t){if(!Zg(t)||!Xg.call(r,r.previous)||Jg(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return Zg(t)?(e.consume(t),a):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(Hg,u,s)(t):45===t||95===t||Pf(t)?(i=!0,e.consume(t),l):u(t)}function s(t){return e.consume(t),o=!0,l}function u(a){return i&&o&&Ef(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:Xg},Kg={};let Yg=48;for(;Yg<123;)Kg[Yg]=qg,Yg++,58===Yg?Yg=65:91===Yg&&(Yg=97);function Qg(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Nf(e)}function Gg(e){return!Ef(e)}function Xg(e){return!(47===e||Zg(e))}function Zg(e){return 43===e||45===e||46===e||95===e||Pf(e)}function Jg(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Kg[43]=qg,Kg[45]=qg,Kg[46]=qg,Kg[95]=qg,Kg[72]=[qg,Ug],Kg[104]=[qg,Ug],Kg[87]=[qg,Vg],Kg[119]=[qg,Vg];const ey={tokenize:function(e,t,n){const r=this;return jf(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ty(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const l=cp(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==l.codePointAt(0)||!i.includes(l.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ny(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...s),e}function ry(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(a>999||93===l&&!i||null===l||91===l||Nf(l))return n(l);if(93===l){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(cp(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return Nf(l)||(i=!0),a++,e.consume(l),92===l?u:s}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function oy(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||Nf(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=cp(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Nf(t)||(a=!0),l++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),jf(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function iy(e,t,n){return e.check(Uf,t,e.attempt(ey,t,n))}function ay(e){e.exit("gfmFootnoteDefinition")}function ly(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),l(t)};function l(i){const s=Ip(o);if(126===i)return a>1?r(i):(e.consume(i),a++,l);if(a<2&&!t)return r(i);const u=e.exit("strikethroughSequenceTemporary"),c=Ip(i);return u._open=!c||2===c&&Boolean(s),u._close=!s||2===s&&Boolean(c),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],l=t.parser.constructs.insideSpan.null;l&&mf(a,a.length,0,_p(l,e.slice(r+1,n),t)),mf(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),mf(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class sy{constructor(){this.map=[],this.index=new Map}add(e,t,n){!function(e,t,n,r){if(0===n&&0===r.length)return;const o=e.index.get(t);if(o)return o[1]+=n,void o[2].push(...r);const i=[t,n,r];e.map.push(i),e.index.set(t,i)}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}}function uy(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function cy(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const{type:e}=r.events[t][1];if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?x:l;if(i===x&&r.parser.lazy[r.now().line])return n(e);return i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return s(e);return o=!0,a+=1,s(e)}(t)}function s(t){return null===t?n(t):Mf(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):If(t)?jf(e,s,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||Nf(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,If(t)?jf(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):b(t)}function p(t){return If(t)?jf(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||Mf(t)?v(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return If(t)?jf(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?f(n):(null===n||Mf(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function x(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||Mf(n)?(e.exit("tableRow"),t(n)):If(n)?jf(e,w,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||Nf(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?S:k)}function S(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function dy(e,t){let n,r,o,i=-1,a=!0,l=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,d=0;const f=new sy;for(;++i<e.length;){const p=e[i],h=p[1];"enter"===p[0]?"tableHead"===h.type?(c=!1,0!==d&&(py(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(i,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(a=!0,o=void 0,s=[0,0,0,0],u=[0,i+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(i,0,[["enter",r,t]])),l="tableDelimiterRow"===h.type?2:r?3:1):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(a?a=!1:(0!==s[1]&&(u[0]=u[1],o=fy(f,t,s,l,void 0,o)),s=u,u=[s[1],i,0,0])):(a=!1,0===u[2]&&(0!==s[1]&&(u[0]=u[1],o=fy(f,t,s,l,void 0,o),s=[0,0,0,0]),u[2]=i)):"tableHead"===h.type?(c=!0,d=i):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=i,0!==s[1]?(u[0]=u[1],o=fy(f,t,s,l,i,o)):0!==u[1]&&(o=fy(f,t,u,l,i,o)),l=0):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(u[3]=i)}for(0!==d&&py(f,t,d,n,r),f.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=uy(t.events,i))}return e}function fy(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},hy(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=hy(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=hy(t.events,n[2]),i=hy(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},hy(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function py(e,t,n,r,o){const i=[],a=hy(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function hy(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const my={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return Nf(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return Mf(r)?t(r):If(r)?e.check({tokenize:gy},t,n)(r):n(r)}}};function gy(e,t,n){return jf(e,function(e){return null===e?n(e):t(e)},"whitespace")}const yy={};function vy(e){const t=e||yy,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return kf([{text:Kg},{document:{91:{name:"gfmFootnoteDefinition",tokenize:oy,continuation:{tokenize:iy},exit:ay}},text:{91:{name:"gfmFootnoteCall",tokenize:ry},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ty,resolveTo:ny}}},ly(e),{flow:{null:{name:"table",tokenize:cy,resolveAll:dy}}},{text:{91:my}}])}(t)),o.push([{transforms:[jm],enter:{literalAutolink:Mm,literalAutolinkEmail:Nm,literalAutolinkHttp:Nm,literalAutolinkWww:Nm},exit:{literalAutolink:Lm,literalAutolinkEmail:Fm,literalAutolinkHttp:Im,literalAutolinkWww:Am}},{enter:{gfmFootnoteCallString:Wm,gfmFootnoteCall:Hm,gfmFootnoteDefinitionLabelString:Vm,gfmFootnoteDefinition:Um},exit:{gfmFootnoteCallString:qm,gfmFootnoteCall:Km,gfmFootnoteDefinitionLabelString:Ym,gfmFootnoteDefinition:Qm}},{canContainEols:["delete"],enter:{strikethrough:tg},exit:{strikethrough:ng}},{enter:{table:_g,tableData:Mg,tableHeader:Mg,tableRow:zg},exit:{codeText:Ng,table:Og,tableData:Rg,tableHeader:Rg,tableRow:Rg}},{exit:{taskListCheckValueChecked:Fg,taskListCheckValueUnchecked:Fg,paragraph:Lg}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zm,notInConstruct:Rm},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zm,notInConstruct:Rm},{character:":",before:"[ps]",after:"\\/",inConstruct:zm,notInConstruct:Rm}]},Xm(e),{handlers:{delete:rg},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:eg}]},Ag(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:jg}}]}}(t))}const by=si((0,d().jsx)("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"})),xy=si((0,d().jsx)("path",{d:"M15 20H5V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1m5-4V4c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2m-2 0H9V4h9z"}));async function wy(e){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0}catch{}const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();let n=!1;try{n=document.execCommand("copy")}finally{t.remove()}return n}function ky({children:e}){const t=(0,f().useRef)(null),[n,r]=(0,f().useState)(null);(0,f().useEffect)(()=>{if(!n)return;const e=setTimeout(()=>r(null),"copied"===n?1500:4e3);return()=>clearTimeout(e)},[n]);const o="copied"===n,i=o?Mo.ask_copied:"failed"===n?Mo.ask_copy_failed:Mo.ask_copy;return(0,d().jsxs)(mi,{sx:{position:"relative",my:1,"&:hover .rwpbot-copy, &:focus-within .rwpbot-copy":{opacity:1}},children:[(0,d().jsx)(mi,{component:"pre",ref:t,sx:{m:"0 !important",pr:"44px !important"},children:e}),(0,d().jsx)(ps,{title:i,open:!!n||void 0,children:(0,d().jsx)(Os,{className:"rwpbot-copy","aria-label":i,onClick:()=>{(async()=>{var e,n,o;const i=t.current,a=null!==(e=null==i?void 0:i.innerText.replace(/\n$/,""))&&void 0!==e?e:"";if(!i||!a)return;const l=await wy(a).catch(()=>!1);if(!l){const e=document.createRange();e.selectNodeContents(i),null===(n=window.getSelection())||void 0===n||n.removeAllRanges(),null===(o=window.getSelection())||void 0===o||o.addRange(e)}r(l?"copied":"failed")})()},size:"small",sx:{position:"absolute",top:6,right:6,opacity:{xs:1,md:o?1:.6},bgcolor:"#FFFFFF",border:"1px solid rgba(7, 21, 34, 0.12)",color:o?"success.main":"text.secondary",transition:"opacity 0.15s ease","&:hover, &:focus":{bgcolor:"#FFFFFF",color:o?"success.main":"primary.main"}},children:o?(0,d().jsx)(by,{sx:{fontSize:16}}):(0,d().jsx)(xy,{sx:{fontSize:16}})})})]})}const Sy={a:({children:e})=>(0,d().jsx)(d().Fragment,{children:e}),img:({alt:e})=>(0,d().jsx)(d().Fragment,{children:e}),pre:({children:e})=>(0,d().jsx)(ky,{children:e}),table:({children:e})=>(0,d().jsx)(mi,{sx:{overflowX:"auto",my:1,border:"1px solid rgba(7, 21, 34, 0.12)",borderRadius:2},children:(0,d().jsx)("table",{children:e})})};function Cy({text:e}){return(0,d().jsx)(mi,{sx:{typography:"body2",fontSize:"0.95rem",lineHeight:1.6,color:"text.primary",overflowWrap:"anywhere","& > :first-of-type":{mt:0},"& > :last-child":{mb:0},"& p, & li":{fontSize:"inherit",lineHeight:"inherit"},"& p":{my:1},"& ul, & ol":{my:1,pl:2.5},"& ul":{listStyle:"disc"},"& ol":{listStyle:"decimal"},"& li":{my:.25,display:"list-item"},"& h1, & h2, & h3, & h4, & h5, & h6":{fontSize:"1rem",fontWeight:600,my:1},"& code":{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:"0.85em",px:.5,py:.125,borderRadius:1,bgcolor:"rgba(7, 21, 34, 0.06)"},"& pre":{my:1,p:1.5,borderRadius:2,bgcolor:"rgba(7, 21, 34, 0.05)",overflowX:"auto",overflowWrap:"normal"},"& table":{width:"100%",borderCollapse:"collapse",fontSize:"0.85rem",lineHeight:1.45},"& th, & td":{px:1.25,py:.75,textAlign:"left",borderBottom:"1px solid rgba(7, 21, 34, 0.08)",verticalAlign:"top"},"& th":{fontWeight:600,bgcolor:"rgba(7, 21, 34, 0.04)",whiteSpace:"nowrap"},"& tbody tr:last-of-type td":{borderBottom:0},"& td:not(:first-of-type), & th:not(:first-of-type)":{textAlign:"right",whiteSpace:"nowrap"},"& pre code":{p:0,bgcolor:"transparent",fontSize:"0.8rem",lineHeight:1.5,whiteSpace:"pre"}},children:(0,d().jsx)(wm,{remarkPlugins:[vy],components:Sy,children:e})})}const Ey=si((0,d().jsx)("path",{d:"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"})),Py=262144,Ty=[".log",".txt",".json",".csv",".md"];function _y(e){const t=e.name.toLowerCase();return Ty.some(e=>t.endsWith(e))||"text/plain"===e.type||"application/json"===e.type}const Oy=[[/((?:PASSWORD|_KEY|_SALT|SECRET|TOKEN)['"]\s*,\s*['"])[^'"]*/gi,"$1[hidden]"],[/((?:pass(?:word|wd)?|pwd|secret|token|api[_-]?key|access[_-]?key|private[_-]?key|auth(?:orization)?|cookie|nonce|salt)["']?\s*[:=]\s*["']?)(?:Bearer\s+)?[^\s"',;&()]+/gi,"$1[hidden]"],[/\bBearer\s+[A-Za-z0-9._~+/=-]{8,}/g,"Bearer [hidden]"],[/\b(?:sk|pk|rk|key|tok)[-_][A-Za-z0-9_-]{16,}\b/g,"[hidden]"],[/\b[A-Fa-f0-9]{32,}\b/g,"[hidden]"],[/\b[A-Za-z0-9+/]{40,}={0,2}(?![A-Za-z0-9+/=])/g,"[hidden]"],[/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,"[hidden]"],[/\b(?:\d{1,3}\.){3}\d{1,3}\b/g,"[hidden]"],[/\b(?:[A-Fa-f0-9]{1,4}:){4,7}[A-Fa-f0-9]{1,4}\b/g,"[hidden]"]];function zy(e){const t=(e.trimmed?Mo.ask_file_newest:Mo.ask_file_lines).replace("%d",String(e.lines));return e.masked?`${t} · ${Mo.ask_file_masked.replace("%d",String(e.masked))}`:t}async function Ry(e){if(!_y(e))throw new Error("not a text file");const t=e.size>Py,n=function(e){if(e.length<=3e4)return{text:e,trimmed:!1};const t=e.slice(-3e4),n=t.indexOf("\n");return{text:n>-1&&n<t.length-1?t.slice(n+1):t,trimmed:!0}}((await e.slice(t?e.size-Py:0).text()).replace(/\r\n?/g,"\n").replace(/\u0000/g,"")),{text:r,masked:o}=function(e){let t=0;return{text:Oy.reduce((e,[n,r])=>e.replace(n,(...e)=>(t+=1,r.replace("$1","string"==typeof e[1]?e[1]:""))),e),masked:t}}(n.text);return{name:e.name.slice(0,100),text:r,trimmed:n.trimmed||t,lines:r.split("\n").length,masked:o,size:e.size}}function My({onClick:e}){return(0,d().jsx)(ps,{title:Mo.ask_remove_image,children:(0,d().jsx)(Os,{"aria-label":Mo.ask_remove_image,onClick:e,size:"small",sx:{position:"absolute",top:-8,right:-8,p:.25,bgcolor:"#FFFFFF",border:Io,"&:hover, &:focus":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(Ls,{sx:{fontSize:14}})})})}function Ny({name:e,summary:t,onClick:n}){return(0,d().jsxs)(Qi,{onClick:n,disabled:!n,title:n?Mo.ask_view_file:e,sx:{alignItems:"center",gap:1,px:1.25,py:.75,maxWidth:260,border:Io,borderRadius:1.5,bgcolor:"#FFFFFF",textAlign:"left","&:hover, &:focus-visible":{borderColor:"primary.main"}},children:[(0,d().jsx)(Ey,{sx:{fontSize:20,color:"primary.main",flexShrink:0}}),(0,d().jsxs)(mi,{sx:{minWidth:0},children:[(0,d().jsx)(oa,{variant:"caption",component:"p",noWrap:!0,sx:{fontWeight:600,color:"text.primary"},children:e}),(0,d().jsx)(oa,{variant:"caption",component:"p",noWrap:!0,sx:{color:"text.secondary",fontSize:"0.72rem"},children:t})]})]})}function Iy({images:e,file:t,error:n,onRemove:r,onView:o,onRemoveFile:i,onViewFile:a}){return e.length||t||n?(0,d().jsxs)(Qs,{spacing:.5,sx:{mb:1},children:[Boolean(e.length||t)&&(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",useFlexGap:!0,flexWrap:"wrap",children:[e.map((e,t)=>(0,d().jsxs)(mi,{sx:{position:"relative"},children:[(0,d().jsx)(ps,{title:Mo.ask_view_image,children:(0,d().jsx)(Qi,{onClick:()=>o(e),"aria-label":Mo.ask_view_image,sx:{borderRadius:1.5},children:(0,d().jsx)(mi,{component:"img",src:e.preview,alt:"",sx:{width:64,height:48,objectFit:"cover",borderRadius:1.5,border:Io,display:"block"}})})}),(0,d().jsx)(My,{onClick:()=>r(t)})]},t)),t&&(0,d().jsxs)(mi,{sx:{position:"relative"},children:[(0,d().jsx)(Ny,{name:t.name,summary:zy(t),onClick:a}),(0,d().jsx)(My,{onClick:i})]})]}),n&&(0,d().jsx)(oa,{variant:"caption",color:"error.main",children:n})]}):null}const Ay=si((0,d().jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M9.29 16.29 5.7 12.7a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0"})),Fy=si((0,d().jsx)("path",{d:"m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91"}));function Ly(e){return ni("MuiInput",e)}const jy={...Lu,...ri("MuiInput",["root","underline","input"])},$y=Xo(Hu,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bu(e,t),!n.disableUnderline&&t.underline]}})(Jo(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${jy.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${jy.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${jy.disabled}, .${jy.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${jy.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Dy=Xo(Vu,{name:"MuiInput",slot:"Input",overridesResolver:Wu})({}),By=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiInput"}),{disableUnderline:r=!1,components:o={},componentsProps:i,fullWidth:a=!1,inputComponent:l="input",multiline:s=!1,slotProps:u,slots:c={},type:f="text",...p}=n,h=(e=>{const{classes:t,disableUnderline:n}=e,r=Fo({root:["root",!n&&"underline"],input:["input"]},Ly,t);return{...t,...r}})(n),m={root:{ownerState:{disableUnderline:r}}},g=u??i?At(u??i,m):m,y=c.root??o.Root??$y,v=c.input??o.Input??Dy;return(0,d().jsx)(Yu,{slots:{root:y,input:v},slotProps:g,fullWidth:a,inputComponent:l,multiline:s,ref:t,type:f,...p,classes:h})});By.muiName="Input";const Wy=By;function Hy(e){return ni("MuiFilledInput",e)}const Vy={...Lu,...ri("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Uy=Xo(Hu,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bu(e,t),!n.disableUnderline&&t.underline]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Vy.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Vy.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Vy.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vy.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Vy.disabled}, .${Vy.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Vy.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),qy=Xo(Vu,{name:"MuiFilledInput",slot:"Input",overridesResolver:Wu})(Jo(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Ky=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:o={},componentsProps:i,fullWidth:a=!1,hiddenLabel:l,inputComponent:s="input",multiline:u=!1,slotProps:c,slots:f={},type:p="text",...h}=n,m={...n,disableUnderline:r,fullWidth:a,inputComponent:s,multiline:u,type:p},g=(e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:l}=e,s=Fo({root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd","small"===i&&`size${Lo(i)}`,a&&"hiddenLabel",l&&"multiline"],input:["input"]},Hy,t);return{...t,...s}})(n),y={root:{ownerState:m},input:{ownerState:m}},v=c??i?At(y,c??i):y,b=f.root??o.Root??Uy,x=f.input??o.Input??qy;return(0,d().jsx)(Yu,{slots:{root:b,input:x},slotProps:v,fullWidth:a,inputComponent:s,multiline:u,ref:t,type:p,...h,classes:g})});Ky.muiName="Input";const Yy=Ky;var Qy;const Gy=Xo("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Go})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Xy=Xo("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Go})(Jo(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Zy(e){return ni("MuiOutlinedInput",e)}const Jy={...Lu,...ri("MuiOutlinedInput",["root","notchedOutline","input"])},ev=Xo(Hu,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Bu})(Jo(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Jy.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Jy.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Jy.focused} .${Jy.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{[`&.${Jy.focused} .${Jy.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Jy.error} .${Jy.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Jy.disabled} .${Jy.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),tv=Xo(function(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,l=null!=o&&""!==o,s={...e,notched:i,withLabel:l};return(0,d().jsx)(Gy,{"aria-hidden":!0,className:r,ownerState:s,...a,children:(0,d().jsx)(Xy,{ownerState:s,children:l?(0,d().jsx)("span",{children:o}):Qy||(Qy=(0,d().jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Jo(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),nv=Xo(Vu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Wu})(Jo(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),rv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiOutlinedInput"}),{components:r={},fullWidth:o=!1,inputComponent:i="input",label:a,multiline:l=!1,notched:s,slots:u={},slotProps:c={},type:p="text",...h}=n,m=(e=>{const{classes:t}=e,n=Fo({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Zy,t);return{...t,...n}})(n),g=zu(),y=_u({props:n,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),v={...n,color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:g,fullWidth:o,hiddenLabel:y.hiddenLabel,multiline:l,size:y.size,type:p},b=u.root??r.Root??ev,x=u.input??r.Input??nv,[w,k]=ns("notchedOutline",{elementType:tv,className:m.notchedOutline,shouldForwardComponentProp:!0,ownerState:v,externalForwardedProps:{slots:u,slotProps:c},additionalProps:{label:null!=a&&""!==a&&y.required?(0,d().jsxs)(f().Fragment,{children:[a," ","*"]}):a}});return(0,d().jsx)(Yu,{slots:{root:b,input:x},slotProps:c,renderSuffix:e=>(0,d().jsx)(w,{...k,notched:void 0!==s?s:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:o,inputComponent:i,multiline:l,ref:t,type:p,...h,classes:{...m,notchedOutline:null}})});rv.muiName="Input";const ov=rv;function iv(e){return ni("MuiFormLabel",e)}const av=ri("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),lv=Xo("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled]}})(Jo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Xi()).map(([t])=>({props:{color:t},style:{[`&.${av.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${av.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${av.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),sv=Xo("span",{name:"MuiFormLabel",slot:"Asterisk"})(Jo(({theme:e})=>({[`&.${av.error}`]:{color:(e.vars||e).palette.error.main}}))),uv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFormLabel"}),{children:r,className:o,color:i,component:a="label",disabled:l,error:s,filled:u,focused:c,required:f,...p}=n,h=_u({props:n,muiFormControl:zu(),states:["color","required","focused","disabled","error","filled"]}),m={...n,color:h.color||"primary",component:a,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required},g=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e;return Fo({root:["root",`color${Lo(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]},iv,t)})(m);return(0,d().jsxs)(lv,{as:a,ownerState:m,className:st(g.root,o),ref:t,...p,children:[r,h.required&&(0,d().jsxs)(sv,{ownerState:m,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})});function cv(e){return ni("MuiInputLabel",e)}ri("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const dv=Xo(uv,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${av.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Jo(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:n})=>"filled"===e&&t.shrink&&"small"===n,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),fv=f().forwardRef(function(e,t){const n=ei({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,margin:o,shrink:i,variant:a,className:l,...s}=n,u=zu();let c=i;void 0===c&&u&&(c=u.filled||u.focused||u.adornedStart);const f=_u({props:n,muiFormControl:u,states:["size","variant","required","focused"]}),p={...n,disableAnimation:r,formControl:u,shrink:c,size:f.size,variant:f.variant,required:f.required,focused:f.focused},h=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:l}=e,s=Fo({root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&"medium"!==r&&`size${Lo(r)}`,a],asterisk:[l&&"asterisk"]},cv,t);return{...t,...s}})(p);return(0,d().jsx)(dv,{"data-shrink":c,ref:t,className:st(h.root,l),...s,ownerState:p,classes:h})});const pv=function(e,t){return f().isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)};function hv(e){return ni("MuiFormControl",e)}ri("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const mv=Xo("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${Lo(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),gv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFormControl"}),{children:r,className:o,color:i="primary",component:a="div",disabled:l=!1,error:s=!1,focused:u,fullWidth:c=!1,hiddenLabel:p=!1,margin:h="none",required:m=!1,size:g="medium",variant:y="outlined",...v}=n,b={...n,color:i,component:a,disabled:l,error:s,fullWidth:c,hiddenLabel:p,margin:h,required:m,size:g,variant:y},x=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return Fo({root:["root","none"!==n&&`margin${Lo(n)}`,r&&"fullWidth"]},hv,t)})(b),[w,k]=f().useState(()=>{let e=!1;return r&&f().Children.forEach(r,t=>{if(!pv(t,["Input","Select"]))return;const n=pv(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}),e}),[S,C]=f().useState(()=>{let e=!1;return r&&f().Children.forEach(r,t=>{pv(t,["Input","Select"])&&(Au(t.props,!0)||Au(t.props.inputProps,!0))&&(e=!0)}),e}),[E,P]=f().useState(!1);l&&E&&P(!1);const T=void 0===u||l?E:u;let _;f().useRef(!1);const O=f().useCallback(()=>{C(!0)},[]),z=f().useCallback(()=>{C(!1)},[]),R=f().useMemo(()=>({adornedStart:w,setAdornedStart:k,color:i,disabled:l,error:s,filled:S,focused:T,fullWidth:c,hiddenLabel:p,size:g,onBlur:()=>{P(!1)},onFocus:()=>{P(!0)},onEmpty:z,onFilled:O,registerEffect:_,required:m,variant:y}),[w,i,l,s,S,T,c,p,_,z,O,m,g,y]);return(0,d().jsx)(Ou.Provider,{value:R,children:(0,d().jsx)(mv,{as:a,ownerState:b,className:st(x.root,o),ref:t,...v,children:r})})});function yv(e){return ni("MuiFormHelperText",e)}const vv=ri("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var bv;const xv=Xo("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Lo(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Jo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${vv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${vv.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),wv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiFormHelperText"}),{children:r,className:o,component:i="p",disabled:a,error:l,filled:s,focused:u,margin:c,required:f,variant:p,...h}=n,m=_u({props:n,muiFormControl:zu(),states:["variant","size","disabled","error","filled","focused","required"]}),g={...n,component:i,contained:"filled"===m.variant||"outlined"===m.variant,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};delete g.ownerState;const y=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:s}=e;return Fo({root:["root",o&&"disabled",i&&"error",r&&`size${Lo(r)}`,n&&"contained",l&&"focused",a&&"filled",s&&"required"]},yv,t)})(g);return(0,d().jsx)(xv,{as:i,className:st(y.root,o),ref:t,...h,ownerState:g,children:" "===r?bv||(bv=(0,d().jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):r})});const kv=f().createContext({});function Sv(e){return ni("MuiList",e)}ri("MuiList",["root","padding","dense","subheader"]);const Cv=Xo("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Ev=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s,...u}=n,c=f().useMemo(()=>({dense:a}),[a]),p={...n,component:i,dense:a,disablePadding:l},h=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Fo({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Sv,t)})(p);return(0,d().jsx)(kv.Provider,{value:c,children:(0,d().jsxs)(Cv,{as:i,className:st(h.root,o),ref:t,ownerState:p,...u,children:[s,r]})})}),Pv=uc,Tv=ku;function _v(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ov(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function zv(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function Rv(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&zv(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Mv=f().forwardRef(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu",...p}=e,h=f().useRef(null),m=f().useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ru(()=>{r&&h.current.focus()},[r]),f().useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&n){const n=`${Pv(Tv(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,h.current.style.width=`calc(100% + ${n})`}return h.current}}),[]);const g=vi(h,t);let y=-1;f().Children.forEach(i,(e,t)=>{f().isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===y)&&(y=t),y===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(y+=1,y>=i.length&&(y=-1))):y===t&&(y+=1,y>=i.length&&(y=-1))});const v=f().Children.map(i,(e,t)=>{if(t===y){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),f().cloneElement(e,t)}return e});return(0,d().jsx)(Ev,{role:"menu",ref:g,className:a,onKeyDown:e=>{const t=h.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(u&&u(e));const r=Nu(Mu(t));if("ArrowDown"===n)e.preventDefault(),Rv(t,r,s,l,_v);else if("ArrowUp"===n)e.preventDefault(),Rv(t,r,s,l,Ov);else if("Home"===n)e.preventDefault(),Rv(t,null,s,l,_v);else if("End"===n)e.preventDefault(),Rv(t,null,s,l,Ov);else if(1===n.length){const o=m.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&zv(r,o);o.previousKeyMatched&&(s||Rv(t,r,!1,l,_v,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1,...p,children:v})}),Nv=wu;function Iv(e){return ni("MuiPopover",e)}ri("MuiPopover",["root","paper"]);function Av(e,t){if(!e)return t;function n(e,t){const n={};return Object.keys(t).forEach(r=>{(function(e,t){const n=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&n>=65&&n<=90&&"function"==typeof t})(r,t[r])&&"function"==typeof e[r]&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if("function"==typeof e||"function"==typeof t)return r=>{const o="function"==typeof t?t(r):t,i="function"==typeof e?e({...r,...o}):e,a=st(r?.className,o?.className,i?.className),l=n(i,o);return{...o,...i,...l,...!!a&&{className:a},...o?.style&&i?.style&&{style:{...o.style,...i.style}},...o?.sx&&i?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const r=t,o=n(e,r),i=st(r?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Fv(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Lv(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function jv(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function $v(e){return"function"==typeof e?e():e}const Dv=Xo(kc,{name:"MuiPopover",slot:"Root"})({}),Bv=Xo(Pc,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Wv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:s,className:u,container:c,elevation:p=8,marginThreshold:h=16,open:m,PaperProps:g={},slots:y={},slotProps:v={},transformOrigin:b={vertical:"top",horizontal:"left"},TransitionComponent:x,transitionDuration:w="auto",TransitionProps:k={},disableScrollLock:S=!1,...C}=n,E=f().useRef(),P={...n,anchorOrigin:i,anchorReference:l,elevation:p,marginThreshold:h,transformOrigin:b,TransitionComponent:x,transitionDuration:w,TransitionProps:k},T=(e=>{const{classes:t}=e;return Fo({root:["root"],paper:["paper"]},Iv,t)})(P),_=f().useCallback(()=>{if("anchorPosition"===l)return a;const e=$v(o),t=(e&&1===e.nodeType?e:Mu(E.current).body).getBoundingClientRect();return{top:t.top+Fv(t,i.vertical),left:t.left+Lv(t,i.horizontal)}},[o,i.horizontal,i.vertical,a,l]),O=f().useCallback(e=>({vertical:Fv(e,b.vertical),horizontal:Lv(e,b.horizontal)}),[b.horizontal,b.vertical]),z=f().useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=O(t);if("none"===l)return{top:null,left:null,transformOrigin:jv(n)};const r=_();let i=r.top-n.vertical,a=r.left-n.horizontal;const s=i+t.height,u=a+t.width,c=Tv($v(o)),d=c.innerHeight-h,f=c.innerWidth-h;if(null!==h&&i<h){const e=i-h;i-=e,n.vertical+=e}else if(null!==h&&s>d){const e=s-d;i-=e,n.vertical+=e}if(null!==h&&a<h){const e=a-h;a-=e,n.horizontal+=e}else if(u>f){const e=u-f;a-=e,n.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(a)}px`,transformOrigin:jv(n)}},[o,l,_,O,h]),[R,M]=f().useState(m),N=f().useCallback(()=>{const e=E.current;if(!e)return;const t=z(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)},[z]);f().useEffect(()=>(S&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[o,S,N]);f().useEffect(()=>{m&&N()}),f().useImperativeHandle(r,()=>m?{updatePosition:()=>{N()}}:null,[m,N]),f().useEffect(()=>{if(!m)return;const e=Nv(()=>{N()}),t=Tv($v(o));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[o,m,N]);let I=w;const A={slots:{transition:x,...y},slotProps:{transition:k,paper:g,...v}},[F,L]=ns("transition",{elementType:Ca,externalForwardedProps:A,ownerState:P,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),N()},onExited:t=>{e.onExited?.(t),M(!1)}}),additionalProps:{appear:!0,in:m}});"auto"!==w||F.muiSupportAuto||(I=void 0);const j=c||(o?Mu($v(o)).body:void 0),[$,{slots:D,slotProps:B,...W}]=ns("root",{ref:t,elementType:Dv,externalForwardedProps:{...A,...C},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:Av("function"==typeof v.backdrop?v.backdrop(P):v.backdrop,{invisible:!0})},container:j,open:m},ownerState:P,className:st(T.root,u)}),[H,V]=ns("paper",{ref:E,className:T.paper,elementType:Bv,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:R?void 0:{opacity:0}},ownerState:P});return(0,d().jsx)($,{...W,...!jl($)&&{slots:D,slotProps:B,disableScrollLock:S},children:(0,d().jsx)(F,{...L,timeout:I,children:(0,d().jsx)(H,{...V,children:s})})})});function Hv(e){return ni("MuiMenu",e)}ri("MuiMenu",["root","paper","list"]);const Vv={vertical:"top",horizontal:"right"},Uv={vertical:"top",horizontal:"left"},qv=Xo(Wv,{shouldForwardProp:e=>Go(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),Kv=Xo(Bv,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Yv=Xo(Mv,{name:"MuiMenu",slot:"List"})({outline:0}),Qv=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:o,className:i,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:s,open:u,PaperProps:c={},PopoverClasses:p,transitionDuration:h="auto",TransitionProps:{onEntering:m,...g}={},variant:y="selectedMenu",slots:v={},slotProps:b={},...x}=n,w=it(),k={...n,autoFocus:r,disableAutoFocusItem:a,MenuListProps:l,onEntering:m,PaperProps:c,transitionDuration:h,TransitionProps:g,variant:y},S=(e=>{const{classes:t}=e;return Fo({root:["root"],paper:["paper"],list:["list"]},Hv,t)})(k),C=r&&!a&&u,E=f().useRef(null);let P=-1;f().Children.map(o,(e,t)=>{f().isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===P)&&(P=t))});const T={slots:v,slotProps:{list:l,transition:g,paper:c,...b}},_=Vl({elementType:v.root,externalSlotProps:b.root,ownerState:k,className:[S.root,i]}),[O,z]=ns("paper",{className:S.paper,elementType:Kv,externalForwardedProps:T,shouldForwardComponentProp:!0,ownerState:k}),[R,M]=ns("list",{className:st(S.list,l.className),elementType:Yv,shouldForwardComponentProp:!0,externalForwardedProps:T,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),s&&s(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:k}),N="function"==typeof T.slotProps.transition?T.slotProps.transition(k):T.slotProps.transition;return(0,d().jsx)(qv,{onClose:s,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?Vv:Uv,slots:{root:v.root,paper:O,backdrop:v.backdrop,...v.transition&&{transition:v.transition}},slotProps:{root:_,paper:z,backdrop:"function"==typeof b.backdrop?b.backdrop(k):b.backdrop,transition:{...N,onEntering:(...e)=>{((e,t)=>{E.current&&E.current.adjustStyleForScrollbar(e,{direction:w?"rtl":"ltr"}),m&&m(e,t)})(...e),N?.onEntering?.(...e)}}},open:u,ref:t,transitionDuration:h,ownerState:k,...x,classes:p,children:(0,d().jsx)(R,{actions:E,autoFocus:r&&(-1===P||a),autoFocusItem:C,variant:y,...M,children:o})})});function Gv(e){return ni("MuiNativeSelect",e)}const Xv=ri("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Zv=Xo("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Xv.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Jv=Xo(Zv,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Go,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Xv.multiple}`]:t.multiple}]}})({}),eb=Xo("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Xv.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),tb=Xo(eb,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Lo(n.variant)}`],n.open&&t.iconOpen]}})({}),nb=f().forwardRef(function(e,t){const{className:n,disabled:r,error:o,IconComponent:i,inputRef:a,variant:l="standard",...s}=e,u={...e,disabled:r,variant:l,error:o},c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return Fo({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Lo(n)}`,i&&"iconOpen",r&&"disabled"]},Gv,t)})(u);return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)(Jv,{ownerState:u,className:st(c.select,n),disabled:r,ref:a||t,...s}),e.multiple?null:(0,d().jsx)(tb,{as:i,ownerState:u,className:c.icon})]})});function rb(e){return ni("MuiSelect",e)}const ob=ri("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);function ib(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function ab(e){return null==e||"string"==typeof e&&!e.trim()}const lb=f().createContext(null);const sb=lb.Provider;var ub;const cb=Xo(Zv,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${ob.select}`]:t.select},{[`&.${ob.select}`]:t[n.variant]},{[`&.${ob.error}`]:t.error},{[`&.${ob.multiple}`]:t.multiple}]}})({[`&.${ob.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),db=Xo(eb,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Lo(n.variant)}`],n.open&&t.iconOpen]}})({}),fb=Xo("input",{shouldForwardProp:e=>Qo(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),pb=f().forwardRef(function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:o,autoWidth:i,children:a,className:l,defaultOpen:s,defaultValue:u,disabled:c,displayEmpty:p,error:h=!1,IconComponent:m,inputRef:g,labelId:y,MenuProps:v={},multiple:b,name:x,onBlur:w,onChange:k,onClose:S,onFocus:C,onKeyDown:E,onMouseDown:P,onOpen:T,open:_,readOnly:O,renderValue:z,required:R,SelectDisplayProps:M={},tabIndex:N,type:I,value:A,variant:F="standard",...L}=e,[j,$]=ts({controlled:A,default:u,name:"Select"}),[D,B]=ts({controlled:_,default:s,name:"Select"}),W=f().useRef(null),H=f().useRef(null),[V,U]=f().useState(null),{current:q}=f().useRef(null!=_),[K,Y]=f().useState(),[Q,G]=f().useState(null),X=vi(t,g),Z=f().useCallback(e=>{H.current=e,e&&U(e)},[]),J=V?.parentNode;f().useImperativeHandle(X,()=>({focus:()=>{H.current.focus()},node:W.current,value:j}),[j]);const ee=null!==V&&D;f().useEffect(()=>{if(!ee||!J||i)return;if("undefined"==typeof ResizeObserver)return;const e=new ResizeObserver(()=>{Y(J.clientWidth)});return e.observe(J),()=>{e.disconnect()}},[ee,J,i]),f().useEffect(()=>{s&&D&&V&&!q&&(Y(i?null:J.clientWidth),H.current.focus())},[V,i]),f().useEffect(()=>{o&&H.current.focus()},[o]),f().useEffect(()=>{if(!y)return;const e=Mu(H.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&H.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[y]);const te=(e,t)=>{e?(G(function(e){return e?"mousedown"===e.type||"pointerdown"===e.type||"touchstart"===e.type?"pointer":"keydown"===e.type||"click"===e.type&&0===e.detail?"keyboard":null:null}(t)),T&&T(t)):(G(null),S&&S(t)),q||(Y(i?null:J.clientWidth),B(e))},ne=f().Children.toArray(a),re=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(b){n=Array.isArray(j)?j.slice():[];const t=j.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),j!==n&&($(n),k)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:x}}),k(o,e)}b||te(!1,t)}};let oe,ie;delete L["aria-invalid"];const ae=[];let le=!1,se=!1;(Au({value:j})||p)&&(z?oe=z(j):le=!0);const ue=ne.map(e=>{if(!f().isValidElement(e))return null;let t;if(b){if(!Array.isArray(j))throw new Error(qt(2));t=j.some(t=>ib(t,e.props.value)),t&&le&&ae.push(e.props.children)}else t=ib(j,e.props.value),t&&le&&(ie=e.props.children);return t&&(se=!0),f().cloneElement(e,{"aria-selected":t?"true":"false",onClick:re(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});le&&(oe=b?0===ae.length?null:ae.reduce((e,t,n)=>(e.push(t),n<ae.length-1&&e.push(", "),e),[]):ie);let ce,de=K;!i&&q&&V&&(de=J.clientWidth),ce=void 0!==N?N:c?null:0;const fe=M.id||(x?`mui-component-select-${x}`:void 0),pe={...e,variant:F,value:j,open:ee,error:h},he=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return Fo({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Lo(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},rb,t)})(pe),me={...v.PaperProps,..."function"==typeof v.slotProps?.paper?v.slotProps.paper(pe):v.slotProps?.paper},ge={...v.MenuListProps,..."function"==typeof v.slotProps?.list?v.slotProps.list(pe):v.slotProps?.list},ye=gt();return(0,d().jsxs)(f().Fragment,{children:[(0,d().jsx)(cb,{as:"div",ref:Z,tabIndex:ce,role:"combobox","aria-controls":ee?ye:void 0,"aria-disabled":c?"true":void 0,"aria-expanded":ee?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[y,fe].filter(Boolean).join(" ")||void 0,"aria-describedby":n,"aria-required":R?"true":void 0,"aria-invalid":h?"true":void 0,onKeyDown:e=>{if(!O){[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),te(!0,e)),E?.(e)}},onMouseDown:c||O?null:e=>{P?.(e),0===e.button&&(e.preventDefault(),H.current.focus(),te(!0,e))},onBlur:e=>{!ee&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:j,name:x}}),w(e))},onFocus:C,...M,ownerState:pe,className:st(M.className,he.select,l),id:fe,children:ab(oe)?ub||(ub=(0,d().jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):oe}),(0,d().jsx)(fb,{"aria-invalid":h,value:Array.isArray(j)?j.join(","):j,name:x,ref:W,"aria-hidden":!0,onChange:e=>{const t=ne.find(t=>t.props.value===e.target.value);void 0!==t&&($(t.props.value),k&&k(e,t))},tabIndex:-1,disabled:c,className:he.nativeInput,autoFocus:o,required:R,...L,ownerState:pe}),(0,d().jsx)(db,{as:m,className:he.icon,ownerState:pe}),(0,d().jsx)(sb,{value:Q,children:(0,d().jsx)(Qv,{id:`menu-${x||""}`,anchorEl:J,open:ee,onClose:e=>{te(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...v,slotProps:{...v.slotProps,list:{"aria-labelledby":y,role:"listbox","aria-multiselectable":b?"true":void 0,disableListWrap:!0,id:ye,...ge},paper:{...me,style:{minWidth:de,...null!=me?me.style:null}}},children:ue})})]})}),hb=si((0,d().jsx)("path",{d:"M7 10l5 5 5-5z"})),mb={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Go(e)&&"variant"!==e},gb=Xo(Wy,mb)(""),yb=Xo(ov,mb)(""),vb=Xo(Yy,mb)(""),bb=f().forwardRef(function(e,t){const n=ei({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=hb,id:c,input:p,inputProps:h,label:m,labelId:g,MenuProps:y,multiple:v=!1,native:b=!1,onClose:x,onOpen:w,open:k,renderValue:S,SelectDisplayProps:C,variant:E="outlined",...P}=n,T=b?nb:pb,_=_u({props:n,muiFormControl:zu(),states:["variant","error"]}),O=_.variant||E,z={...n,variant:O,classes:i},R=(e=>{const{classes:t}=e,n=Fo({root:["root"]},rb,t);return{...t,...n}})(z),{root:M,...N}=R,I=p||{standard:(0,d().jsx)(gb,{ownerState:z}),outlined:(0,d().jsx)(yb,{label:m,ownerState:z}),filled:(0,d().jsx)(vb,{ownerState:z})}[O],A=vi(t,ia(I));return(0,d().jsx)(f().Fragment,{children:f().cloneElement(I,{inputComponent:T,inputProps:{children:o,error:_.error,IconComponent:u,variant:O,type:void 0,multiple:v,...b?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:g,MenuProps:y,onClose:x,onOpen:w,open:k,renderValue:S,SelectDisplayProps:{id:c,...C}},...h,classes:h?At(N,h.classes):N,...p?p.props.inputProps:{}},...(v&&b||s)&&"outlined"===O?{notched:!0}:{},ref:A,className:st(I.props.className,a,R.root),...!p&&{variant:O},...P})})});bb.muiName="Select";const xb=bb;function wb(e){return ni("MuiTextField",e)}ri("MuiTextField",["root"]);const kb={standard:Wy,filled:Yy,outlined:ov},Sb=Xo(gv,{name:"MuiTextField",slot:"Root"})({}),Cb=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:o=!1,children:i,className:a,color:l="primary",defaultValue:s,disabled:u=!1,error:c=!1,FormHelperTextProps:f,fullWidth:p=!1,helperText:h,id:m,InputLabelProps:g,inputProps:y,InputProps:v,inputRef:b,label:x,maxRows:w,minRows:k,multiline:S=!1,name:C,onBlur:E,onChange:P,onFocus:T,placeholder:_,required:O=!1,rows:z,select:R=!1,SelectProps:M,slots:N={},slotProps:I={},type:A,value:F,variant:L="outlined",...j}=n,$={...n,autoFocus:o,color:l,disabled:u,error:c,fullWidth:p,multiline:S,required:O,select:R,variant:L},D=(e=>{const{classes:t}=e;return Fo({root:["root"]},wb,t)})($);const B=gt(m),W=h&&B?`${B}-helper-text`:void 0,H=x&&B?`${B}-label`:void 0,V=kb[L],U={slots:N,slotProps:{input:v,inputLabel:g,htmlInput:y,formHelperText:f,select:M,...I}},q={},K=U.slotProps.inputLabel;"outlined"===L&&(K&&void 0!==K.shrink&&(q.notched=K.shrink),q.label=x),R&&(M&&M.native||(q.id=void 0),q["aria-describedby"]=void 0);const[Y,Q]=ns("root",{elementType:Sb,shouldForwardComponentProp:!0,externalForwardedProps:{...U,...j},ownerState:$,className:st(D.root,a),ref:t,additionalProps:{disabled:u,error:c,fullWidth:p,required:O,color:l,variant:L}}),[G,X]=ns("input",{elementType:V,externalForwardedProps:U,additionalProps:q,ownerState:$}),[Z,J]=ns("inputLabel",{elementType:fv,externalForwardedProps:U,ownerState:$}),[ee,te]=ns("htmlInput",{elementType:"input",externalForwardedProps:U,ownerState:$}),[ne,re]=ns("formHelperText",{elementType:wv,externalForwardedProps:U,ownerState:$}),[oe,ie]=ns("select",{elementType:xb,externalForwardedProps:U,ownerState:$}),ae=(0,d().jsx)(G,{"aria-describedby":W,autoComplete:r,autoFocus:o,defaultValue:s,fullWidth:p,multiline:S,name:C,rows:z,maxRows:w,minRows:k,type:A,value:F,id:B,inputRef:b,onBlur:E,onChange:P,onFocus:T,placeholder:_,inputProps:te,slots:{input:N.htmlInput?ee:void 0},...X});return(0,d().jsxs)(Y,{...Q,children:[null!=x&&""!==x&&(0,d().jsx)(Z,{htmlFor:B,id:H,...J,children:x}),R?(0,d().jsx)(oe,{"aria-describedby":W,id:B,labelId:H,value:F,input:ae,...ie,children:i}):ae,h&&(0,d().jsx)(ne,{id:W,...re,children:h})]})});function Eb(e){return ni("MuiAlert",e)}const Pb=ri("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Tb=si((0,d().jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),_b=si((0,d().jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),Ob=si((0,d().jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),zb=si((0,d().jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),Rb=si((0,d().jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),Mb=Xo(Pc,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Lo(n.color||n.severity)}`]]}})(Jo(({theme:e})=>{const t="light"===e.palette.mode?e.darken:e.lighten,n="light"===e.palette.mode?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Xi(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Pb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Xi(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Pb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Xi(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),Nb=Xo("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Ib=Xo("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),Ab=Xo("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Fb={success:(0,d().jsx)(Tb,{fontSize:"inherit"}),warning:(0,d().jsx)(_b,{fontSize:"inherit"}),error:(0,d().jsx)(Ob,{fontSize:"inherit"}),info:(0,d().jsx)(zb,{fontSize:"inherit"})},Lb=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiAlert"}),{action:r,children:o,className:i,closeText:a="Close",color:l,components:s={},componentsProps:u={},icon:c,iconMapping:f=Fb,onClose:p,role:h="alert",severity:m="success",slotProps:g={},slots:y={},variant:v="standard",...b}=n,x={...n,color:l,severity:m,variant:v,colorSeverity:l||m},w=(e=>{const{variant:t,color:n,severity:r,classes:o}=e;return Fo({root:["root",`color${Lo(n||r)}`,`${t}${Lo(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},Eb,o)})(x),k={slots:{closeButton:s.CloseButton,closeIcon:s.CloseIcon,...y},slotProps:{...u,...g}},[S,C]=ns("root",{ref:t,shouldForwardComponentProp:!0,className:st(w.root,i),elementType:Mb,externalForwardedProps:{...k,...b},ownerState:x,additionalProps:{role:h,elevation:0}}),[E,P]=ns("icon",{className:w.icon,elementType:Nb,externalForwardedProps:k,ownerState:x}),[T,_]=ns("message",{className:w.message,elementType:Ib,externalForwardedProps:k,ownerState:x}),[O,z]=ns("action",{className:w.action,elementType:Ab,externalForwardedProps:k,ownerState:x}),[R,M]=ns("closeButton",{elementType:Os,externalForwardedProps:k,ownerState:x}),[N,I]=ns("closeIcon",{elementType:Rb,externalForwardedProps:k,ownerState:x});return(0,d().jsxs)(S,{...C,children:[!1!==c?(0,d().jsx)(E,{...P,children:c||f[m]||Fb[m]}):null,(0,d().jsx)(T,{..._,children:o}),null!=r?(0,d().jsx)(O,{...z,children:r}):null,null==r&&p?(0,d().jsx)(O,{...z,children:(0,d().jsx)(R,{size:"small","aria-label":a,title:a,color:"inherit",onClick:p,...M,children:(0,d().jsx)(N,{fontSize:"small",...I})})}):null]})}),jb=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function $b(e,t){var n,r;const o="website"===e.surface,i=o?"website":e.page||"apps",a=o?window.location.pathname:new URLSearchParams(window.location.search).get("path")||"";return{channel:"assistant",product:i,page:a,version:null!==(r=null===(n=t.find(e=>e.slug===i))||void 0===n?void 0:n.version)&&void 0!==r?r:""}}function Db({config:e,apps:t,draft:n,sent:r,onSent:o}){var i,a;const l=e.feedback,[s,u]=(0,f().useState)(null!==(i=null==l?void 0:l.email)&&void 0!==i?i:""),[c,p]=(0,f().useState)(null!==(a=null==l?void 0:l.origin)&&void 0!==a?a:""),[h,m]=(0,f().useState)(n),[g,y]=(0,f().useState)(!1),[v,b]=(0,f().useState)("");if(!(null==l?void 0:l.url))return null;if(r)return(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",sx:{color:"success.main"},children:[(0,d().jsx)(Ay,{sx:{fontSize:18}}),(0,d().jsx)(oa,{variant:"body2",children:Mo.feedback_sent})]});const x=async n=>{n.preventDefault();const r=function(e){const t=e.trim().toLowerCase();if(!t)return"";try{return new URL(t.includes("://")?t:`https://${t}`).hostname}catch{return""}}(c);if(jb.test(s.trim())&&r&&h.trim()){y(!0),b("");try{const n=await fetch(l.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s.trim(),origin:r,message:h.trim(),source:$b(e,t)})}),i=await n.json().catch(()=>null);if(!n.ok)throw new Error((null==i?void 0:i.message)||Mo.feedback_error);o()}catch(e){b(e instanceof Error&&e.message?e.message:Mo.feedback_error)}finally{y(!1)}}else b(Mo.feedback_check)};return(0,d().jsx)(mi,{component:"form",onSubmit:e=>{x(e)},sx:{border:Io,borderRadius:2,p:1.5,bgcolor:"#FFFFFF"},children:(0,d().jsxs)(Qs,{spacing:1.25,children:[(0,d().jsx)(oa,{variant:"subtitle2",component:"p",children:Mo.feedback_title}),(0,d().jsx)(Cb,{size:"small",type:"email",label:Mo.feedback_email,value:s,onChange:e=>u(e.target.value),required:!0}),!l.origin&&(0,d().jsx)(Cb,{size:"small",label:Mo.feedback_website,placeholder:"example.com",value:c,onChange:e=>p(e.target.value),required:!0}),(0,d().jsx)(Cb,{size:"small",multiline:!0,minRows:3,maxRows:8,label:Mo.feedback_message,value:h,onChange:e=>m(e.target.value),inputProps:{maxLength:2e3},required:!0}),v&&(0,d().jsx)(Lb,{severity:"error",sx:{py:0},children:v}),(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",justifyContent:"space-between",children:[(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",children:Mo.feedback_notice}),(0,d().jsx)(au,{type:"submit",size:"small",variant:"contained",disableElevation:!0,disabled:g,endIcon:(0,d().jsx)(Fy,{}),sx:{flexShrink:0},children:g?Mo.feedback_sending:Mo.feedback_send})]})]})})}function Bb({src:e,onClose:t}){return(0,d().jsxs)(Ac,{open:Boolean(e),onClose:t,maxWidth:!1,PaperProps:{sx:{m:2,bgcolor:"transparent",boxShadow:"none",overflow:"visible"}},children:[(0,d().jsx)(ps,{title:Mo.ask_close,children:(0,d().jsx)(Os,{"aria-label":Mo.ask_close,onClick:t,size:"small",sx:{position:"absolute",top:-14,right:-14,bgcolor:"#FFFFFF",boxShadow:2,"&:hover, &:focus":{bgcolor:"#FFFFFF",color:"primary.main"}},children:(0,d().jsx)(Ls,{fontSize:"small"})})}),e&&(0,d().jsx)(mi,{component:"img",src:e,alt:"",sx:{display:"block",maxWidth:"calc(100vw - 64px)",maxHeight:"calc(100vh - 96px)",borderRadius:2,bgcolor:"#FFFFFF"}})]})}const Wb=6e4,Hb=36e5,Vb=24*Hb,Ub=new Intl.RelativeTimeFormat("en",{numeric:"auto"});function qb(e,t){const n=Math.max(0,t-e);return n<45e3?"just now":n<Hb?Ub.format(-Math.max(1,Math.round(n/Wb)),"minute"):n<Vb?Ub.format(-Math.round(n/Hb),"hour"):n<2*Vb?Ub.format(-1,"day"):new Date(e).toLocaleDateString("en-GB",{day:"numeric",month:"short"})}const Kb=e=>new Date(e).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"});function Yb({text:e,at:t,now:n,align:r}){const[o,i]=(0,f().useState)(!1);return(0,f().useEffect)(()=>{if(!o)return;const e=setTimeout(()=>i(!1),1500);return()=>clearTimeout(e)},[o]),(0,d().jsxs)(Qs,{className:"rwpbot-message-actions",direction:"row",spacing:.25,alignItems:"center",justifyContent:"right"===r?"flex-end":"flex-start",sx:{minHeight:26,color:"text.secondary",transition:"opacity 0.15s ease"},children:[t&&(0,d().jsx)(ps,{title:Kb(t),children:(0,d().jsx)(oa,{variant:"caption",sx:{fontSize:"0.75rem",px:.5,cursor:"default"},children:qb(t,n)})}),e&&(0,d().jsx)(ps,{title:o?Mo.ask_copied:Mo.ask_copy_message,children:(0,d().jsx)(Os,{"aria-label":o?Mo.ask_copied:Mo.ask_copy_message,onClick:async()=>i(await wy(e).catch(()=>!1)),size:"small",sx:{p:.5,color:o?"success.main":"text.secondary","&:hover, &:focus":{color:o?"success.main":"primary.main"}},children:o?(0,d().jsx)(by,{sx:{fontSize:15}}):(0,d().jsx)(xy,{sx:{fontSize:15}})})})]})}const Qb=14e5,Gb=e=>`data:${e.media_type};base64,${e.data}`;function Xb(e,t){const n=function(e,t,n){const r=Math.min(1,n/Math.max(e,t));return{width:Math.max(1,Math.round(e*r)),height:Math.max(1,Math.round(t*r))}}(e.width,e.height,t),r=document.createElement("canvas");r.width=n.width,r.height=n.height;const o=r.getContext("2d");if(!o)throw new Error("Canvas isn't available.");return o.fillStyle="#FFFFFF",o.fillRect(0,0,n.width,n.height),o.drawImage(e,0,0,n.width,n.height),r}const Zb=(e,t,n)=>new Promise(r=>e.toBlob(r,t,n)),Jb=e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{var e;return t(null!==(e=String(r.result).split(",")[1])&&void 0!==e?e:"")},r.onerror=()=>n(r.error),r.readAsDataURL(e)});const ex=si((0,d().jsx)("path",{d:"M15.88 9.29 12 13.17 8.12 9.29a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0"})),tx=si((0,d().jsx)("path",{d:"M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0s.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"})),nx=si((0,d().jsx)("path",{d:"M19.3 16.9c.58-1.01.95-2.23.51-3.65-.53-1.72-2.04-3.05-3.84-3.22-2.87-.28-5.23 2.07-4.95 4.95.18 1.79 1.5 3.31 3.22 3.84 1.43.44 2.64.07 3.65-.51l2.5 2.5c.39.39 1.01.39 1.4 0s.39-1.01 0-1.4zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5M12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07c-.64-2.46-2.4-4.47-4.73-5.41V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8"}));function rx(e){return ni("MuiCollapse",e)}ri("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ox=Xo("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})(Jo(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),ix=Xo("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),ax=Xo("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),lx=f().forwardRef(function(e,t){const n=ei({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:i,collapsedSize:a="0px",component:l,easing:s,in:u,onEnter:c,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:y,orientation:v="vertical",slots:b={},slotProps:x={},style:w,timeout:k=Zr.standard,TransitionComponent:S=ma,...C}=n,E={...n,orientation:v,collapsedSize:a},P=(e=>{const{orientation:t,classes:n}=e;return Fo({root:["root",t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",t],wrapperInner:["wrapperInner",t]},rx,n)})(E),T=aa(),_=Fi(),O=f().useRef(null),z=f().useRef(),R="number"==typeof a?`${a}px`:a,M="horizontal"===v,N=M?"width":"height",I=f().useRef(null),A=vi(t,I),F=()=>O.current?O.current[M?"clientWidth":"clientHeight"]:0,L=ya(I,(e,t)=>{O.current&&M&&(O.current.style.position="absolute"),e.style[N]=R,c&&c(e,t)}),j=ya(I,(e,t)=>{const n=F();O.current&&M&&(O.current.style.position="");const{duration:r,easing:o}=ba({style:w,timeout:k,easing:s},{mode:"enter"});if("auto"===k){const t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,z.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[N]=`${n}px`,e.style.transitionTimingFunction=o,h&&h(e,t)}),$=ya(I,(e,t)=>{e.style[N]="auto",p&&p(e,t)}),D=ya(I,e=>{e.style[N]=`${F()}px`,m&&m(e)}),B=ya(I,g),W=ya(I,e=>{const t=F(),{duration:n,easing:r}=ba({style:w,timeout:k,easing:s},{mode:"exit"});if("auto"===k){const n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,z.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[N]=R,e.style.transitionTimingFunction=r,y&&y(e)}),H={slots:b,slotProps:x,component:l},[V,U]=ns("root",{ref:A,className:st(P.root,i),elementType:ox,externalForwardedProps:H,ownerState:E,additionalProps:{style:{[M?"minWidth":"minHeight"]:R,...w}}}),[q,K]=ns("wrapper",{ref:O,className:P.wrapper,elementType:ix,externalForwardedProps:H,ownerState:E}),[Y,Q]=ns("wrapperInner",{className:P.wrapperInner,elementType:ax,externalForwardedProps:H,ownerState:E});return(0,d().jsx)(S,{in:u,onEnter:L,onEntered:$,onEntering:j,onExit:D,onExited:B,onExiting:W,addEndListener:e=>{"auto"===k&&_.start(z.current||0,e),r&&r(I.current,e)},nodeRef:I,timeout:"auto"===k?null:k,...C,children:(e,{ownerState:t,...n})=>{const r={...E,state:e};return(0,d().jsx)(V,{...U,className:st(U.className,{entered:P.entered,exited:!u&&"0px"===R&&P.hidden}[e]),ownerState:r,...n,children:(0,d().jsx)(q,{...K,ownerState:r,children:(0,d().jsx)(Y,{...Q,ownerState:r,children:o})})})}})});lx&&(lx.muiSupportAuto=!0);const sx=lx,ux=(e,t,n)=>(1===e?t:n).replace("%d",String(e));function cx(e,t){var n,r;if("settings"===e.where){const o=t.find(t=>t.slug===e.plugin);return`${Mo.ask_settings.replace("%s",null!==(r=null!==(n=null==o?void 0:o.name)&&void 0!==n?n:e.plugin)&&void 0!==r?r:"")}: “${e.query}”`}return"question"!==e.by&&e.query?`“${e.query}”`:Mo.ask_your_question}function dx({research:e,apps:t}){const[n,r]=(0,f().useState)(!1),o=(0,f().useId)(),i=new Map(e.sections.map(e=>[e.id,e])),a=`${ux(e.searches.length,Mo.ask_search_one,Mo.ask_search_many)} · ${ux(e.sections.length,Mo.ask_section_one,Mo.ask_section_many)}`;return(0,d().jsxs)(mi,{children:[(0,d().jsxs)(Qi,{onClick:()=>r(e=>!e),"aria-expanded":n,"aria-controls":o,title:a,sx:{gap:.75,borderRadius:1,px:.5,py:.25,ml:-.5,color:"text.secondary","&:hover, &:focus-visible":{color:"text.primary",bgcolor:"rgba(7, 21, 34, 0.04)"}},children:[(0,d().jsx)(nx,{sx:{fontSize:16}}),(0,d().jsx)(oa,{variant:"caption",sx:{fontSize:"0.8rem"},children:a}),(0,d().jsx)(ex,{sx:{fontSize:18,transition:"transform 150ms ease",transform:n?"rotate(180deg)":"none"}})]}),(0,d().jsx)(sx,{in:n,id:o,children:(0,d().jsx)(Qs,{component:"ol",spacing:1,sx:{listStyle:"none",m:0,mt:.75,ml:.75,pl:1.5,py:.25,borderLeft:"2px solid rgba(7, 21, 34, 0.1)"},children:e.searches.map((e,n)=>(0,d().jsxs)(mi,{component:"li",children:[(0,d().jsxs)(Qs,{direction:"row",spacing:.75,alignItems:"center",children:["settings"===e.where?(0,d().jsx)(Ds,{sx:{fontSize:14,color:"text.secondary",flexShrink:0}}):(0,d().jsx)(tx,{sx:{fontSize:14,color:"text.secondary",flexShrink:0}}),(0,d().jsx)(oa,{variant:"caption",sx:{fontWeight:600,fontSize:"0.8rem"},children:cx(e,t)})]}),e.sections.length?(0,d().jsx)(mi,{component:"ul",sx:{listStyle:"none",m:0,mt:.25,pl:2.5},children:e.sections.map(e=>{const n=i.get(e);if(!n)return null;const r=n.heading&&n.heading!==n.page?`${n.page} › ${n.heading}`:n.page,o=n.plugin?t.find(e=>e.slug===n.plugin):void 0,a=o&&n.path?Xc.settingUrl(o,n.path):n.url;return a?(0,d().jsx)(mi,{component:"li",sx:{lineHeight:1.4},children:(0,d().jsx)(pu,{href:a,target:n.url?"_blank":void 0,rel:n.url?"noopener noreferrer":void 0,underline:"hover",variant:"caption",title:r,sx:{fontSize:"0.8rem",color:"text.secondary",display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&:hover, &:focus":{color:"primary.main"}},children:r})},e):(0,d().jsx)(mi,{component:"li",title:r,sx:{lineHeight:1.4,fontSize:"0.8rem",color:"text.secondary",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r},e)})}):(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",component:"p",sx:{pl:2.5,fontSize:"0.8rem"},children:e.found?Mo.ask_nothing_new:Mo.ask_nothing_found})]},n))})})]})}function fx({file:e,onClose:t}){return(0,d().jsxs)(Ac,{open:Boolean(e),onClose:t,maxWidth:"md",fullWidth:!0,children:[(0,d().jsx)($c,{sx:{pb:.5},children:null==e?void 0:e.name}),(0,d().jsxs)(Wc,{children:[(0,d().jsxs)(oa,{variant:"body2",color:"text.secondary",sx:{mb:1.5},children:[null==e?void 0:e.summary,". ",Mo.ask_file_note]}),(0,d().jsx)(mi,{component:"pre",sx:{m:0,p:1.5,maxHeight:"60vh",overflow:"auto",bgcolor:"rgba(7, 21, 34, 0.04)",borderRadius:2,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:"0.78rem",lineHeight:1.5,whiteSpace:"pre-wrap",overflowWrap:"anywhere"},children:null==e?void 0:e.text})]}),(0,d().jsx)(Yc,{sx:{px:3,pb:2},children:(0,d().jsx)(au,{onClick:t,children:Mo.ask_close})})]})}const px=Rt`from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; }`;function hx({image:e,file:t,wpAdmin:n}){return[...e?[Mo.ask_step_image]:[],...t?[Mo.ask_step_file]:[],Mo.ask_step_search,Mo.ask_step_docs,...n?[Mo.ask_step_site]:[],Mo.ask_step_write,Mo.ask_step_almost]}function mx({steps:e}){var t;const[n,r]=(0,f().useState)(0);return(0,f().useEffect)(()=>{if(n>=e.length-1)return;const t=setTimeout(()=>r(e=>e+1),2500);return()=>clearTimeout(t)},[n,e.length]),(0,d().jsxs)(Qs,{direction:"row",spacing:1,alignItems:"center",sx:{color:"text.secondary"},role:"status","aria-live":"polite",children:[(0,d().jsx)(Cs,{size:14}),(0,d().jsx)(oa,{variant:"body2",sx:{animation:`${px} 0.3s ease-out`,"@media (prefers-reduced-motion: reduce)":{animation:"none"}},children:null!==(t=e[n])&&void 0!==t?t:Mo.ask_thinking},n)]})}function gx({suggestion:e,apps:t}){var n,r,o;const i=t.find(t=>t.slug===e.slug),a=i&&e.setting?Xc.settingUrl(i,e.setting.path):"",l=a&&e.setting?{href:a,label:Mo.go_to.replace("%s",e.setting.name),variant:"contained",install:!1}:i?Xc.action(i):null;return(0,d().jsxs)(mi,{sx:{border:Io,borderRadius:2,p:1.5,bgcolor:"#FFFFFF"},children:[(0,d().jsx)(oa,{variant:"subtitle2",component:"p",children:null!==(n=null==i?void 0:i.name)&&void 0!==n?n:e.title}),e.reason&&(0,d().jsx)(oa,{variant:"body2",color:"text.secondary",sx:{mt:.25,fontSize:"0.9rem"},children:e.reason}),(null===(r=e.setting)||void 0===r?void 0:r.location)&&(0,d().jsxs)(Qs,{direction:"row",spacing:.5,alignItems:"center",sx:{mt:.75,color:"text.secondary"},children:[(0,d().jsx)(Ds,{sx:{fontSize:15}}),(0,d().jsx)(oa,{variant:"caption",sx:{fontSize:"0.8rem"},children:e.setting.location})]}),l&&(0,d().jsx)(au,{size:"small",variant:l.variant,disableElevation:!0,href:l.href,title:a?null===(o=e.setting)||void 0===o?void 0:o.location:l.label,startIcon:l.install?(0,d().jsx)(js,{}):void 0,sx:{mt:1},children:l.label}),!i&&(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",component:"p",sx:{mt:.5},children:Mo.coming_soon})]})}function yx({sources:e,label:t,wpAdmin:n}){return(0,d().jsxs)(Qs,{spacing:.5,children:[(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",sx:{fontWeight:600},children:t}),e.map(e=>(0,d().jsxs)(pu,{href:n?Xc.siteLink(e.url,"assistant"):e.url,target:"_blank",rel:"noopener noreferrer",variant:"body2",underline:"hover",sx:{display:"inline-flex",alignItems:"center",gap:.5,"&:hover, &:focus":{color:"primary.main"}},children:[(0,d().jsx)(mi,{component:"span",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:300},children:e.title}),(0,d().jsx)(Fs,{sx:{fontSize:14,flexShrink:0}})]},e.id))]})}function vx(e){const t="user"===(null==e?void 0:e.role)?e.content.trim():"";return t.split(/\s+/).length>3?t:""}const bx={"& .rwpbot-message-actions":{opacity:0},"&:hover .rwpbot-message-actions, &:focus-within .rwpbot-message-actions":{opacity:1},"@media (hover: none)":{"& .rwpbot-message-actions":{opacity:1}}};function xx({message:e,apps:t,config:n,draft:r,onFeedbackSent:o,now:i,onView:a,onViewFile:l}){var s,u,c,f,p,h;return"user"===e.role?(0,d().jsxs)(Qs,{alignItems:"flex-end",spacing:.25,sx:bx,children:[(0,d().jsxs)(mi,{sx:{alignSelf:"flex-end",maxWidth:"85%",px:1.5,py:1,borderRadius:2,bgcolor:"rgba(7, 21, 34, 0.05)"},children:[Boolean(null===(s=e.images)||void 0===s?void 0:s.length)&&(0,d().jsx)(Qs,{direction:"row",spacing:.75,sx:{mb:e.content?.75:0,justifyContent:"flex-end"},children:null===(u=e.images)||void 0===u?void 0:u.map((t,n)=>(0,d().jsx)(ps,{title:Mo.ask_view_image,children:(0,d().jsx)(Qi,{onClick:()=>{var r,o;return a(null!==(o=null===(r=e.full)||void 0===r?void 0:r[n])&&void 0!==o?o:t)},"aria-label":Mo.ask_view_image,sx:{borderRadius:1},children:(0,d().jsx)(mi,{component:"img",src:t,alt:"",sx:{maxWidth:120,maxHeight:90,borderRadius:1,border:Io,display:"block"}})})},n))}),e.file&&(0,d().jsx)(mi,{sx:{mb:e.content?.75:0,display:"flex",justifyContent:"flex-end"},children:(0,d().jsx)(Ny,{name:e.file.name,summary:e.file.summary,onClick:e.fileText&&e.file?()=>{var t;return l({...e.file,text:null!==(t=e.fileText)&&void 0!==t?t:""})}:void 0})}),(0,d().jsx)(oa,{variant:"body2",sx:{whiteSpace:"pre-wrap",fontSize:"0.95rem"},children:e.content})]}),(0,d().jsx)(Yb,{text:e.content,at:e.at,now:i,align:"right"})]}):(0,d().jsxs)(Qs,{spacing:1,sx:bx,children:[Boolean(null===(c=e.research)||void 0===c?void 0:c.searches.length)&&e.research&&(0,d().jsx)(dx,{research:e.research,apps:t}),e.failed?(0,d().jsx)(oa,{variant:"body2",color:"error.main",sx:{whiteSpace:"pre-wrap",fontSize:"0.95rem"},children:e.content}):(0,d().jsx)(Cy,{text:e.content}),(0,d().jsx)(mi,{sx:{mt:"2px !important",ml:-.5},children:(0,d().jsx)(Yb,{text:e.content,at:e.at,now:i,align:"left"})}),Boolean(null===(f=e.sources)||void 0===f?void 0:f.length)&&(0,d().jsx)(yx,{sources:null!==(p=e.sources)&&void 0!==p?p:[],label:Mo.ask_sources,wpAdmin:"wp-admin"===n.surface}),"feedback"===e.form&&(0,d().jsx)(Db,{config:n,apps:t,draft:r,sent:Boolean(e.feedbackSent),onSent:o}),null===(h=e.suggestions)||void 0===h?void 0:h.map(e=>(0,d().jsx)(gx,{suggestion:e,apps:t},e.slug))]})}function wx({apps:e,surface:t,messages:n,loading:r,onSend:o,onReset:i,onClose:a,config:l,onFeedbackSent:s}){var u,c,p;const[h,m]=(0,f().useState)(""),[g,y]=(0,f().useState)(!1),v=function(){const[e,t]=(0,f().useState)(()=>Date.now());return(0,f().useEffect)(()=>{const e=setInterval(()=>t(Date.now()),Wb);return()=>clearInterval(e)},[]),e}(),b=(0,f().useRef)(null),x=(0,f().useRef)(null);(0,f().useEffect)(()=>{var e;null===(e=b.current)||void 0===e||e.focus()},[]),(0,f().useEffect)(()=>{var e;null===(e=x.current)||void 0===e||e.scrollIntoView({block:"end"})},[n,r]);const[w,k]=(0,f().useState)([]),[S,C]=(0,f().useState)(null),[E,P]=(0,f().useState)(null),[T,_]=(0,f().useState)(null),[O,z]=(0,f().useState)(null),R=(0,f().useRef)(null),M=async e=>{const t=e.filter(e=>e.type.startsWith("image/")),n=e.filter(e=>!e.type.startsWith("image/")&&_y(e));if(n.length&&(z(n.length>1||E?Mo.ask_file_limit:null),!E)){const e=await Ry(n[0]).catch(()=>null);e?P(e):z(Mo.ask_image_error)}if(e.length>t.length+n.length&&z(Mo.ask_image_error),!t.length)return;const r=2-w.length;z(t.length>r?Mo.ask_image_limit:null);const o=await Promise.all(t.slice(0,Math.max(r,0)).map(e=>async function(e){if(!e.type.startsWith("image/"))throw new Error("not an image");const t=await createImageBitmap(e,{imageOrientation:"from-image"});try{const e=Xb(t,1280);let n=null;for(const t of[.85,.7,.55])if(n=await Zb(e,"image/webp",t),n&&"image/webp"===n.type||(n=await Zb(e,"image/jpeg",t)),n&&n.size<=Qb)break;if(!n||n.size>Qb)throw new Error("too large");const r=Xb(t,160).toDataURL("image/jpeg",.7);return{media_type:"image/webp"===n.type?"image/webp":"image/jpeg",data:await Jb(n),preview:r}}finally{t.close()}}(e).catch(()=>null)));o.includes(null)&&z(Mo.ask_image_error),k(e=>[...e,...o.filter(e=>null!==e)].slice(0,2))},N=e=>{(e.trim()||w.length||E)&&!r&&(o(e,w,E),m(""),k([]),P(null),z(null))};return(0,d().jsxs)(mi,{component:"aside",role:"dialog","aria-label":Mo.ask_title,onDragOver:e=>e.preventDefault(),onDrop:e=>{e.dataTransfer.files.length&&(e.preventDefault(),M(Array.from(e.dataTransfer.files)))},sx:{position:"fixed",top:"wp-admin"===t?46:0,"@media (min-width: 783px)":{top:"wp-admin"===t?32:0},right:0,bottom:0,width:{xs:"100%",sm:400},display:"flex",flexDirection:"column",bgcolor:"#FFFFFF",borderLeft:Io,zIndex:9989,color:"text.primary"},children:[(0,d().jsxs)(Qs,{direction:"row",alignItems:"center",spacing:1,sx:{px:2,py:1.25,borderBottom:Io},children:[(0,d().jsx)(oa,{variant:"subtitle1",component:"h2",sx:{fontWeight:600,flexGrow:1},children:Mo.ask_title}),(0,d().jsx)(ps,{title:Mo.ask_new,children:(0,d().jsx)("span",{children:(0,d().jsx)(au,{size:"small",startIcon:(0,d().jsx)($s,{}),onClick:()=>y(!0),disabled:!n.length||r,children:Mo.ask_new})})}),(0,d().jsx)(ps,{title:Mo.ask_close,children:(0,d().jsx)(Os,{"aria-label":Mo.ask_close,onClick:a,size:"small",children:(0,d().jsx)(Ls,{})})})]}),(0,d().jsxs)(Qs,{spacing:2,sx:{flexGrow:1,overflowY:"auto",px:2,py:2},"aria-live":"polite",children:[!n.length&&(0,d().jsxs)(Qs,{spacing:1.5,children:[(0,d().jsx)(oa,{variant:"body2",sx:{fontSize:"0.95rem"},children:Mo.ask_intro}),(0,d().jsx)(Qs,{direction:"row",useFlexGap:!0,flexWrap:"wrap",gap:1,children:Ro.map(e=>(0,d().jsx)(xu,{label:e,variant:"outlined",onClick:()=>N(e),sx:{height:"auto",py:.5,"& .MuiChip-label":{whiteSpace:"normal"}}},e))})]}),n.map((t,r)=>(0,d().jsx)(xx,{message:t,apps:e,config:l,draft:vx(n[r-1]),onFeedbackSent:()=>s(r),now:v,onView:C,onViewFile:_},r)),r&&(0,d().jsx)(mx,{steps:hx({image:Boolean(null===(c=null===(u=n[n.length-1])||void 0===u?void 0:u.images)||void 0===c?void 0:c.length),file:Boolean(null===(p=n[n.length-1])||void 0===p?void 0:p.file),wpAdmin:"wp-admin"===t})}),(0,d().jsx)("div",{ref:x})]}),(0,d().jsxs)(mi,{sx:{px:2,pb:2,pt:1},children:[(0,d().jsx)(Iy,{images:w,file:E,error:O,onRemoveFile:()=>P(null),onViewFile:()=>E&&_({name:E.name,summary:zy(E),text:E.text}),onRemove:e=>k(t=>t.filter((t,n)=>n!==e)),onView:e=>C(Gb(e))}),(0,d().jsxs)(Qs,{direction:"row",alignItems:"flex-end",spacing:1,sx:{border:Io,borderRadius:3,pl:1.75,pr:.75,py:.75,"&:focus-within":{borderColor:"primary.main"}},children:[(0,d().jsx)(ps,{title:w.length>=2&&E?Mo.ask_image_limit:Mo.ask_attach,children:(0,d().jsx)("span",{children:(0,d().jsx)(Os,{"aria-label":Mo.ask_attach,onClick:()=>{var e;return null===(e=R.current)||void 0===e?void 0:e.click()},disabled:w.length>=2&&Boolean(E)||r,sx:{width:34,height:34,ml:-1,color:"text.secondary","&:hover, &:focus":{color:"primary.main"}},children:(0,d().jsx)($s,{fontSize:"small"})})})}),(0,d().jsx)("input",{ref:R,type:"file",accept:["image/png,image/jpeg,image/webp,image/gif",...Ty,"text/plain,application/json"].join(","),multiple:!0,hidden:!0,onChange:e=>{var t;M(Array.from(null!==(t=e.target.files)&&void 0!==t?t:[])),e.target.value=""}}),(0,d().jsx)(Yu,{inputRef:b,value:h,onChange:e=>m(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),N(h)),"Escape"!==e.key||g||a()},onPaste:e=>{const t=Array.from(e.clipboardData.files).filter(e=>e.type.startsWith("image/")||_y(e));t.length&&(e.preventDefault(),M(t))},placeholder:Mo.ask,multiline:!0,maxRows:5,inputProps:{maxLength:500,"aria-label":Mo.ask},sx:{flexGrow:1,py:.5,fontSize:"0.95rem","& textarea, & textarea:focus":{border:0,boxShadow:"none",outline:0,background:"transparent",padding:0,borderRadius:0,minHeight:0}}}),(0,d().jsx)(ps,{title:Mo.ask_send,children:(0,d().jsx)("span",{children:(0,d().jsx)(Os,{"aria-label":Mo.ask_send,onClick:()=>N(h),disabled:!h.trim()&&!w.length&&!E||r,sx:{width:34,height:34,borderRadius:2,bgcolor:"primary.main",color:"#FFFFFF","&:hover, &:focus, &:active":{bgcolor:"primary.dark",color:"#FFFFFF"},"&.Mui-disabled":{bgcolor:"rgba(7, 21, 34, 0.12)",color:"#FFFFFF"}},children:(0,d().jsx)(ui,{fontSize:"small"})})})})]}),(0,d().jsx)(oa,{variant:"caption",color:"text.secondary",component:"p",sx:{mt:.75,textAlign:"center"},children:"wp-admin"===t?Mo.ask_notice:Mo.ask_notice_website})]}),(0,d().jsx)(Bb,{src:S,onClose:()=>C(null)}),(0,d().jsx)(fx,{file:T,onClose:()=>_(null)}),(0,d().jsxs)(Ac,{open:g,onClose:()=>y(!1),maxWidth:"xs",fullWidth:!0,children:[(0,d().jsx)($c,{children:Mo.ask_new_title}),(0,d().jsx)(Wc,{children:(0,d().jsx)(Uc,{children:Mo.ask_new_text})}),(0,d().jsxs)(Yc,{sx:{px:3,pb:2},children:[(0,d().jsx)(au,{onClick:()=>y(!1),children:Mo.ask_cancel}),(0,d().jsx)(au,{variant:"contained",disableElevation:!0,onClick:()=>{var e;y(!1),i(),null===(e=b.current)||void 0===e||e.focus()},children:Mo.ask_new})]})]})]})}const kx="reinventwp_apps_assistant";function Sx(){try{const e=JSON.parse(sessionStorage.getItem(kx)||"[]");return Array.isArray(e)?e:[]}catch{return[]}}const Cx=()=>{try{return window.localStorage}catch{return}};function Ex(e){const[t,n]=(0,f().useState)(()=>function(e,t){try{return"1"===(null==e?void 0:e.getItem(t))}catch{return!1}}(Cx(),e));return[t,t=>{n(t),function(e,t,n){try{n?null==e||e.setItem(t,"1"):null==e||e.removeItem(t)}catch{}}(Cx(),e,t)}]}const Px=()=>"off"!==document.body.dataset.reinventwpBot;const Tx=window.reinventwpBot;if(Tx&&!document.getElementById("reinventwp-bot")){const e=document.createElement("div");e.id="reinventwp-bot",document.body.appendChild(e);const t=Ee({key:"rwpbot"});(0,a().createRoot)(e).render((0,d().jsx)(qe,{value:t,children:(0,d().jsx)(function({config:e}){const t=function(e){var t;const[n,r]=(0,f().useState)(null!==(t=e.apps)&&void 0!==t?t:[]);return(0,f().useEffect)(()=>{if(e.apps||!e.catalogUrl)return;const t=new AbortController;return fetch(e.catalogUrl,{signal:t.signal}).then(e=>e.ok?e.json():null).then(e=>{var t;return Array.isArray(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.plugins)&&r(e.data.plugins.filter(e=>e.released).map(e=>{var t;return{slug:e.slug,name:e.short_title||e.title,description:e.description,category:e.category,state:"missing",version:"",open_url:"",activate_url:"",coming_soon:!1,install_url:`https://wordpress.org/plugins/${e.slug}/`,learn_url:null!==(t=e.href)&&void 0!==t?t:""}}))}).catch(()=>{}),()=>t.abort()},[e.apps,e.catalogUrl]),n}(e),n=function(e){const[t,n]=(0,f().useState)(!1);return(0,f().useEffect)(()=>{if(!e)return;const t=new AbortController,r=setTimeout(()=>t.abort(),4e3);return fetch(e,{signal:t.signal}).then(e=>e.ok?e.json():null).then(e=>{var t;return n(!0===(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.available))}).catch(()=>n(!1)).finally(()=>clearTimeout(r)),()=>{clearTimeout(r),t.abort()}},[e]),t}(`${e.url}/status`),r=function(){const[e,t]=(0,f().useState)(Px);return(0,f().useEffect)(()=>{const e=new MutationObserver(()=>t(Px()));return e.observe(document.body,{attributes:!0,attributeFilter:["data-reinventwp-bot"]}),()=>e.disconnect()},[]),e}(),o=n&&r,[i,a]=Ex("reinventwp-assistant-open"),[l,s]=Ex("reinventwp-assistant-minimized"),u=o&&i,c=function(e,t,n){const{url:r,surface:o,page:i}=e,[a,l]=(0,f().useState)(Sx),[s,u]=(0,f().useState)(!1);(0,f().useEffect)(()=>{try{sessionStorage.setItem(kx,JSON.stringify(a.map(({full:e,fileText:t,...n})=>n)))}catch{}},[a]);const c=(0,f().useCallback)(async(e,c=[],d=null)=>{const f=e.trim();if(!f&&!c.length&&!d||s)return;const p=a.filter(e=>!e.failed).slice(-6).map(({role:e,content:t,images:n,file:r})=>({role:e,content:[t,(null==n?void 0:n.length)?"(image)":"",r?`(file: ${r.name})`:""].filter(Boolean).join(" ")}));l(e=>[...e,{role:"user",content:f,at:Date.now(),...c.length&&{images:c.map(e=>e.preview),full:c.map(Gb)},...d&&{file:{name:d.name,summary:zy(d)},fileText:d.text}}]),u(!0);try{const e=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({question:f,history:p,...c.length&&{images:c.map(({media_type:e,data:t})=>({media_type:e,data:t}))},...d&&{files:[{name:d.name,text:d.text}]},surface:o,page:"website"===o?window.location.pathname:i,..."wp-admin"===o&&{site:{apps:n.map(({slug:e,state:t,version:n})=>({slug:e,state:t,version:n}))}}})}),a=await e.json().catch(()=>null);if(!e.ok||!(null==a?void 0:a.data))throw new Error((null==a?void 0:a.message)||t);l(e=>[...e,{role:"assistant",content:a.data.answer,at:Date.now(),form:"feedback"===a.data.form?"feedback":void 0,suggestions:a.data.suggestions,sources:a.data.sources,research:a.data.research}])}catch(e){const n=e instanceof Error&&e.message?e.message:t;l(e=>[...e,{role:"assistant",content:n,at:Date.now(),failed:!0}])}finally{u(!1)}},[n,t,s,a,i,o,r]),d=(0,f().useCallback)(()=>l([]),[]),p=(0,f().useCallback)(e=>{l(t=>t.map((t,n)=>n===e?{...t,feedbackSent:!0}:t))},[]);return{messages:a,loading:s,send:c,reset:d,markFeedbackSent:p}}(e,Mo.ask_error,t),p=function(e){const[t,n]=(0,f().useState)({left:0,width:"undefined"==typeof window?0:window.innerWidth});return(0,f().useEffect)(()=>{const t=e?document.querySelector(e):null,r=()=>{const e=null==t?void 0:t.getBoundingClientRect();n(e?{left:e.left,width:e.width}:{left:0,width:window.innerWidth})};r(),window.addEventListener("resize",r);const o=t&&"undefined"!=typeof ResizeObserver?new ResizeObserver(r):null;return t&&(null==o||o.observe(t)),()=>{window.removeEventListener("resize",r),null==o||o.disconnect()}},[e]),t}(e.shift);return function(e,t,n){(0,f().useEffect)(()=>{const r=e?document.querySelector(e):null;if(!r||!t)return;const o={margin:r.style.marginRight,transition:r.style.transition},i=()=>{r.style.transition="margin-right 0.2s ease",r.style.marginRight=window.innerWidth>=900?`${n}px`:o.margin};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),r.style.marginRight=o.margin,r.style.transition=o.transition}},[e,t,n])}(e.shift,u,420),(0,d().jsxs)(Oo,{theme:Ao,children:[o&&!i&&!l&&(0,d().jsx)(Ms,{placeholder:Mo.ask,phrases:zo,anchor:p,onOpen:()=>a(!0),onMinimize:()=>s(!0),minimizeLabel:Mo.ask_minimize}),o&&!i&&l&&(0,d().jsx)(As,{label:Mo.ask_launcher,restoreLabel:Mo.ask_restore,onOpen:()=>a(!0),onRestore:()=>s(!1)}),u&&(0,d().jsx)(wx,{apps:t,config:e,surface:e.surface,messages:c.messages,loading:c.loading,onSend:c.send,onReset:c.reset,onClose:()=>a(!1),onFeedbackSent:c.markFeedbackSent})]})},{config:Tx})}))}})();
  • reinvent-rename-replace-media/trunk/public/hub/reinventwp-apps.js

    r3777608 r3801994  
    1 (()=>{"use strict";var e={72(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},404(e,t,n){e.exports=n(72)}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},(()=>{const e=Object.getPrototypeOf;let t;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}const i=Object.create(null);n.r(i);const a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&o&&r;("object"==typeof s||"function"==typeof s)&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>r[e]);return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})};var r=n.cw(e=>{var t=o(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return t.isMemo(e)?i:a[e.$$typeof]||n}a[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[t.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(p){var i=f(n);i&&i!==p&&e(t,i,o)}var a=u(n);c&&(a=a.concat(c(n)));for(var h=s(t),m=s(n),g=0;g<a.length;++g){var y=a[g];if(!(r[y]||o&&o[y]||m&&m[y]||h&&h[y])){var v=d(n,y);try{l(t,y,v)}catch(e){}}}}return t}}),o=()=>n(404),i=n.cw((e,t)=>{var n=m(),r=f(),o=l();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function s(e){for(var t=e,n=t;n&&!n.alternate;)!!(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function u(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function c(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(s(e)!==e)throw Error(i(188))}function p(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=p(e)))return t;e=e.sibling}return null}function h(e,t,n,r,o,i){for(;null!==e;){if((5===e.tag||27===e.tag||6===e.tag)&&n(e,r,o,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag&&27!==e.tag)&&h(e.child,t,n,r,o,i))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag||27===e.tag)return e;e=e.return}return null}function y(e){var t=!1;for(e=e.return;null!==e&&(4===e.tag&&(t=!0),3!==e.tag&&5!==e.tag&&27!==e.tag);)e=e.return;return t}function v(e){var t=[null,null],n=g(e);return null===n||b(t,e,n.child,{foundSelf:!1}),t}function b(e,t,n,r){for(;null!==n;){if(n===t)r.foundSelf=!0;else if(5===n.tag||27===n.tag||6===n.tag){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((22!==n.tag||null===n.memoizedState)&&b(e,t,n.child,r))return!0;n=n.sibling}return!1}function x(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var w=null,S=null;function k(e,t,n){return e===n||e===t&&(w=e,!0)}function C(e,t,n){return e===n?(S=e,!1):e===t&&(null!==S&&(w=e),!0)}function E(e){if(null===e)return null;do{e=null===e?null:e.return}while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function P(e,t,n){for(var r=0,o=e;o;o=n(o))r++;o=0;for(var i=t;i;i=n(i))o++;for(;0<r-o;)e=n(e),r--;for(;0<o-r;)t=n(t),o--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,A=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),L=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope");var B=Symbol.for("react.activity"),V=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var W=Symbol.for("react.memo_cache_sentinel"),U=Symbol.for("react.view_transition"),H=Symbol.for("react.recoverable"),K=Symbol.iterator;function Y(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=K&&e[K]||e["@@iterator"])?e:null}var q=Symbol.for("react.client.reference");function G(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===q?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case R:return"Profiler";case j:return"StrictMode";case F:return"Suspense";case z:return"SuspenseList";case B:return"Activity";case U:return"ViewTransition"}if("object"==typeof e)switch(e.$$typeof){case M:return"Portal";case L:return e.displayName||"Context";case N:return(e._context.displayName||"Context")+".Consumer";case $:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:G(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}var X=Array.isArray,Q=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ee=[],te=-1;function ne(e){return{current:e}}function re(e){0>te||(e.current=ee[te],ee[te]=null,te--)}function oe(e,t){te++,ee[te]=e.current,e.current=t}var ie,ae,se=ne(null),le=ne(null),ue=ne(null),ce=ne(null);function de(e,t){switch(oe(ue,t),oe(le,e),oe(se,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Df(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=If(t=Df(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}re(se),oe(se,e)}function fe(){re(se),re(le),re(ue)}function pe(e){var t=e.memoizedState;null!==t&&(hh._currentValue=t.memoizedState,oe(ce,e));var n=If(t=se.current,e.type);t!==n&&(oe(le,e),oe(se,n))}function he(e){le.current===e&&(re(se),re(le)),ce.current===e&&(re(ce),hh._currentValue=J)}function me(e){if(void 0===ie)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ie=t&&t[1]||"",ae=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ie+e+ae}var ge=!1;function ye(e,t){if(!e||ge)return"";ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var o=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(void 0!==o?Object.defineProperty(e.prototype,"props",o):delete e.prototype.props)}}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{ge=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?me(n):""}function ve(e,t){switch(e.tag){case 26:case 27:case 5:return me(e.type);case 16:return me("Lazy");case 13:return e.child!==t&&null!==t?me("Suspense Fallback"):me("Suspense");case 19:return me("SuspenseList");case 0:case 15:return ye(e.type,!1);case 11:return ye(e.type.render,!1);case 1:return ye(e.type,!0);case 31:return me("Activity");case 30:return me("ViewTransition");default:return""}}function be(e){try{var t="",n=null;do{t+=ve(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var xe=Object.prototype.hasOwnProperty,we=n.unstable_scheduleCallback,Se=n.unstable_cancelCallback,ke=n.unstable_shouldYield,Ce=n.unstable_requestPaint,Ee=n.unstable_now,Pe=n.unstable_getCurrentPriorityLevel,Te=n.unstable_ImmediatePriority,Ae=n.unstable_UserBlockingPriority,Oe=n.unstable_NormalPriority,Me=n.unstable_LowPriority,_e=n.unstable_IdlePriority,je=n.log,Re=n.unstable_setDisableYieldValue,Ne=null,Le=null;function $e(e){if("function"==typeof je&&Re(e),Le&&"function"==typeof Le.setStrictMode)try{Le.setStrictMode(Ne,e)}catch(e){}}var Fe=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ze(e)/De|0)|0},ze=Math.log,De=Math.LN2;var Ie=256,Be=262144,Ve=4194304;function We(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ue(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,i=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~i)?o=We(r):0!==(a&=s)?o=We(a):n||0!==(n=s&~e)&&(o=We(n)):0!==(s=r&~i)?o=We(s):0!==a?o=We(a):n||0!==(n=r&~e)&&(o=We(n)),0===o?0:0!==t&&t!==o&&0===(t&i)&&((i=o&-o)>=(n=t&-t)||32===i&&4194048&n)?t:o}function He(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ke(e,t){8&t&&(t|=32&t);var n=e.entangledLanes;if(0!==n)for(e=e.entanglements,n&=t;0<n;){var r=31-Fe(n),o=1<<r;t|=e[r],n&=~o}return t}function Ye(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function qe(){var e=Ve;return!(62914560&(Ve<<=1))&&(Ve=4194304),e}function Ge(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xe(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Fe(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Ze(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Fe(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Je(e,t){var n=t&-t;return 0!==((n=42&n?1:et(n))&(e.suspendedLanes|t))?0:n}function et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tt(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function nt(){var e=Z.p;return 0!==e?e:void 0===(e=window.event)?32:Mh(e.type)}function rt(e,t){var n=Z.p;try{return Z.p=e,t()}finally{Z.p=n}}var ot=Math.random().toString(36).slice(2),it="__reactFiber$"+ot,at="__reactProps$"+ot,st="__reactContainer$"+ot,lt="__reactEvents$"+ot,ut="__reactListeners$"+ot,ct="__reactHandles$"+ot,dt="__reactResources$"+ot,ft="__reactMarker$"+ot,pt="__reactLoad$"+ot;function ht(e){delete e[it],delete e[at],delete e[ut],delete e[ct]}function mt(e){var t;if(t=e[it])return t;for(var n=e.parentNode;n;){if(t=n[st]||n[it]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Np(e);null!==e;){if(n=e[it])return n;e=Np(e)}return t}n=(e=n).parentNode}return null}function gt(e){if(e=e[it]||e[st]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function yt(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function vt(e){var t=e[dt];return t||(t=e[dt]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[ft]=!0}function xt(e){e[pt]=void 0}var wt=new Set,St={};function kt(e,t){Ct(e,t),Ct(e+"Capture",t)}function Ct(e,t){for(St[e]=t,e=0;e<t.length;e++)wt.add(t[e])}var Et=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pt={},Tt={};var At=!1;function Ot(){var e=At;return At=!1,e}function Mt(e,t,n){if(o=t,xe.call(Tt,o)||!xe.call(Pt,o)&&(Et.test(o)?Tt[o]=!0:(Pt[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}var o}function _t(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,n)}}function jt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,r)}}function Rt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Nt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Lt(e){if(!e._valueTracker){var t=Nt(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function $t(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ft=/[\n"\\]/g;function zt(e){return e.replace(Ft,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Dt(e,t,n,r,o,i,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Rt(t)):e.value!==""+Rt(t)&&(e.value=""+Rt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?"number"===a&&e.value==t?Bt(e,Rt(e.value)):Bt(e,Rt(t)):null!=n?Bt(e,Rt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+Rt(s):e.removeAttribute("name")}function It(e,t,n,r,o,i,a,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void Lt(e);n=null!=n?""+Rt(n):"",t=null!=t?""+Rt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),Lt(e)}function Bt(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Vt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Rt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Wt(e,t,n){null==t||((t=""+Rt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Rt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ut(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(i(92));if(X(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=Rt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),Lt(e)}function Ht(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Kt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Yt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Kt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function qt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",At=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&(Yt(e,o,r),At=!0)}else for(var a in t)t.hasOwnProperty(a)&&Yt(e,a,t[a])}function Gt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Qt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zt(e){return Qt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Jt(){}var en=null;function tn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var nn=null,rn=null;function on(e){var t=gt(e);if(t&&(e=t.stateNode)){var n=e[at]||null;e:switch(e=t.stateNode,t.type){case"input":if(Dt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+zt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[at]||null;if(!o)throw Error(i(90));Dt(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&$t(r)}break e;case"textarea":Wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&Vt(e,!!n.multiple,t,!1)}}}var an=!1;function sn(e,t,n){if(an)return e(t,n);an=!0;try{return e(t)}finally{if(an=!1,(null!==nn||null!==rn)&&(vd(),nn&&(t=nn,e=rn,rn=nn=null,on(t),e)))for(t=0;t<e.length;t++)on(e[t])}}function ln(e,t){var n=e.stateNode;if(null===n)return null;var r=n[at]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var un=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),cn=!1;if(un)try{var dn={};Object.defineProperty(dn,"passive",{get:function(){cn=!0}}),window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch(e){cn=!1}var fn=null,pn=null,hn=null;function mn(){if(hn)return hn;var e,t,n=pn,r=n.length,o="value"in fn?fn.value:fn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return hn=o.slice(e,1<t?1-t:void 0)}function gn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function yn(){return!0}function vn(){return!1}function bn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yn:vn,this.isPropagationStopped=vn,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yn)},persist:function(){},isPersistent:yn}),t}var xn,wn,Sn,kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cn=bn(kn),En=T({},kn,{view:0,detail:0}),Pn=bn(En),Tn=T({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Sn&&(Sn&&"mousemove"===e.type?(xn=e.screenX-Sn.screenX,wn=e.screenY-Sn.screenY):wn=xn=0,Sn=e),xn)},movementY:function(e){return"movementY"in e?e.movementY:wn}}),An=bn(Tn),On=bn(T({},Tn,{dataTransfer:0})),Mn=bn(T({},En,{relatedTarget:0})),_n=bn(T({},kn,{animationName:0,elapsedTime:0,pseudoElement:0})),jn=bn(T({},kn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Rn=bn(T({},kn,{data:0})),Nn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ln={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=$n[e])&&!!t[e]}function zn(){return Fn}var Dn=bn(T({},En,{key:function(e){if(e.key){var t=Nn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=gn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ln[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zn,charCode:function(e){return"keypress"===e.type?gn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?gn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),In=bn(T({},Tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Bn=bn(T({},kn,{submitter:0})),Vn=bn(T({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zn})),Wn=bn(T({},kn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Un=bn(T({},Tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Hn=bn(T({},kn,{newState:0,oldState:0,source:0})),Kn=[9,13,27,32],Yn=un&&"CompositionEvent"in window,qn=null;un&&"documentMode"in document&&(qn=document.documentMode);var Gn=un&&"TextEvent"in window&&!qn,Xn=un&&(!Yn||qn&&8<qn&&11>=qn),Qn=String.fromCharCode(32),Zn=!1;function Jn(e,t){switch(e){case"keyup":return-1!==Kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function er(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var tr=!1;var nr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nr[e.type]:"textarea"===t}function or(e,t,n,r){nn?rn?rn.push(r):rn=[r]:nn=r,0<(t=Cf(t,"onChange")).length&&(n=new Cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function sr(e){gf(e,0)}function lr(e){if($t(yt(e)))return e}function ur(e,t){if("change"===e)return t}var cr=!1;if(un){var dr;if(un){var fr="oninput"in document;if(!fr){var pr=document.createElement("div");pr.setAttribute("oninput","return;"),fr="function"==typeof pr.oninput}dr=fr}else dr=!1;cr=dr&&(!document.documentMode||9<document.documentMode)}function hr(){ir&&(ir.detachEvent("onpropertychange",mr),ar=ir=null)}function mr(e){if("value"===e.propertyName&&lr(ar)){var t=[];or(t,ar,e,tn(e)),sn(sr,t)}}function gr(e,t,n){"focusin"===e?(hr(),ar=n,(ir=t).attachEvent("onpropertychange",mr)):"focusout"===e&&hr()}function yr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return lr(ar)}function vr(e,t){if("click"===e)return lr(t)}function br(e,t){if("input"===e||"change"===e)return lr(t)}var xr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function wr(e,t){if(xr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!xe.call(t,o)||!xr(e[o],t[o]))return!1}return!0}function Sr(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function kr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n,r=kr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=kr(r)}}function Er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Pr(e){for(var t=Sr((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Sr((e=t.contentWindow).document)}return t}function Tr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Ar=un&&"documentMode"in document&&11>=document.documentMode,Or=null,Mr=null,_r=null,jr=!1;function Rr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;jr||null==Or||Or!==Sr(r)||("selectionStart"in(r=Or)&&Tr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_r&&wr(_r,r)||(_r=r,0<(r=Cf(Mr,"onSelect")).length&&(t=new Cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Or)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Lr={animationend:Nr("Animation","AnimationEnd"),animationiteration:Nr("Animation","AnimationIteration"),animationstart:Nr("Animation","AnimationStart"),transitionrun:Nr("Transition","TransitionRun"),transitionstart:Nr("Transition","TransitionStart"),transitioncancel:Nr("Transition","TransitionCancel"),transitionend:Nr("Transition","TransitionEnd")},$r={},Fr={};function zr(e){if($r[e])return $r[e];if(!Lr[e])return e;var t,n=Lr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Fr)return $r[e]=n[t];return e}un&&(Fr=document.createElement("div").style,"AnimationEvent"in window||(delete Lr.animationend.animation,delete Lr.animationiteration.animation,delete Lr.animationstart.animation),"TransitionEvent"in window||delete Lr.transitionend.transition);var Dr=zr("animationend"),Ir=zr("animationiteration"),Br=zr("animationstart"),Vr=zr("transitionrun"),Wr=zr("transitionstart"),Ur=zr("transitioncancel"),Hr=zr("transitionend"),Kr=new Map,Yr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function qr(e,t){Kr.set(e,t),kt(t,[e])}Yr.push("scrollEnd");var Gr=0;function Xr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:(e="_"+(e=Jc.identifierPrefix)+"t_"+(Gr++).toString(32)+"_",t.autoName=e)}function Qr(e){if(null==e||"string"==typeof e)return e;var t=null,n=sd;if(null!==n)for(var r=0;r<n.length;r++){var o=e[n[r]];if(null!=o){if("none"===o)return"none";t=null==t?o:t+" "+o}}return t??e.default}function Zr(e,t){return e=Qr(e),null==(t=Qr(t))?"auto"===e?null:e:"auto"===t?null:t}var Jr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},eo=[],to=0,no=0;function ro(){for(var e=to,t=no=to=0;t<e;){var n=eo[t];eo[t++]=null;var r=eo[t];eo[t++]=null;var o=eo[t];eo[t++]=null;var i=eo[t];if(eo[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&so(n,o,i)}}function oo(e,t,n,r){eo[to++]=e,eo[to++]=t,eo[to++]=n,eo[to++]=r,no|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function io(e,t,n,r){return oo(e,t,n,r),lo(e)}function ao(e,t){return oo(e,null,null,t),lo(e)}function so(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(o=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,o&&null!==t&&(o=31-Fe(n),null===(r=(e=i.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),i):null}function lo(e){if(50<ld)throw ld=0,ud=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var uo={};function co(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fo(e,t,n,r){return new co(e,t,n,r)}function po(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ho(e,t){var n=e.alternate;return null===n?((n=fo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=1206910976&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function mo(e,t){e.flags&=1206910978;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function go(e,t,n,r,o,a){var s=0;if("function"==typeof(r=e))po(r)&&(s=1);else if("string"==typeof r)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,se.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(r){case B:return(e=fo(31,n,t,o)).elementType=B,e.lanes=a,e;case _:return yo(n.children,o,a,t);case j:s=8,o|=24;break;case R:return(e=fo(12,n,t,2|o)).elementType=R,e.lanes=a,e;case F:return(e=fo(13,n,t,o)).elementType=F,e.lanes=a,e;case z:return(e=fo(19,n,t,o)).elementType=z,e.lanes=a,e;case V:case U:return(e=fo(30,n,t,e=32|o)).elementType=U,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case L:s=10;break e;case N:s=9;break e;case $:s=11;break e;case D:s=14;break e;case I:s=16,r=null;break e}s=29,n=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=fo(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function yo(e,t,n,r){return(e=fo(7,e,r,t)).lanes=n,e}function vo(e,t,n){return(e=fo(6,e,null,t)).lanes=n,e}function bo(e){var t=fo(18,null,null,0);return t.stateNode=e,t}function xo(e,t,n){return(t=fo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wo=new WeakMap;function So(e,t){if("object"==typeof e&&null!==e){var n=wo.get(e);return void 0!==n?n:(t={value:e,source:t,stack:be(t)},wo.set(e,t),t)}return{value:e,source:t,stack:be(t)}}var ko=[],Co=0,Eo=null,Po=0,To=[],Ao=0,Oo=null,Mo=1,_o="";function jo(e,t){ko[Co++]=Po,ko[Co++]=Eo,Eo=e,Po=t}function Ro(e,t,n){To[Ao++]=Mo,To[Ao++]=_o,To[Ao++]=Oo,Oo=e;var r=Mo;e=_o;var o=32-Fe(r)-1;r&=~(1<<o),n+=1;var i=32-Fe(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Mo=1<<32-Fe(t)+o|n<<o|r,_o=i+e}else Mo=1<<i|n<<o|r,_o=e}function No(e){null!==e.return&&(jo(e,1),Ro(e,1,0))}function Lo(e){for(;e===Eo;)Eo=ko[--Co],ko[Co]=null,Po=ko[--Co],ko[Co]=null;for(;e===Oo;)Oo=To[--Ao],To[Ao]=null,_o=To[--Ao],To[Ao]=null,Mo=To[--Ao],To[Ao]=null}function $o(e,t){To[Ao++]=Mo,To[Ao++]=_o,To[Ao++]=Oo,Mo=t.id,_o=t.overflow,Oo=e}var Fo=null,zo=null,Do=!1,Io=null,Bo=!1,Vo=Error(i(519));function Wo(e){throw Go(So(Error(i(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),Vo}function Uo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[it]=e,t[at]=r,n){case"dialog":yf("cancel",t),yf("close",t);break;case"iframe":case"object":case"embed":yf("load",t);break;case"video":case"audio":for(n=0;n<hf.length;n++)yf(hf[n],t);break;case"source":yf("error",t);break;case"img":case"image":case"link":yf("error",t),yf("load",t);break;case"details":yf("toggle",t);break;case"input":yf("invalid",t),It(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":yf("invalid",t);break;case"textarea":yf("invalid",t),Ut(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Mf(t.textContent,n)?(null!=r.popover&&(yf("beforetoggle",t),yf("toggle",t)),null!=r.onScroll&&yf("scroll",t),null!=r.onScrollEnd&&yf("scrollend",t),null!=r.onClick&&(t.onclick=Jt),t=!0):t=!1,t||Wo(e,!0)}function Ho(e){for(Fo=e.return;Fo;)switch(Fo.tag){case 5:case 31:case 13:return void(Bo=!1);case 27:case 3:return void(Bo=!0);default:Fo=Fo.return}}function Ko(e){if(e!==Fo)return!1;if(!Do)return Ho(e),Do=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Vf(e.type,e.memoizedProps)),t=!t),t&&zo&&Wo(e),Ho(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));zo=Rp(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));zo=Rp(e)}else 27===n?(n=zo,Xf(e.type)?(e=jp,jp=null,zo=e):zo=n):zo=Fo?_p(e.stateNode.nextSibling):null;return!0}function Yo(){zo=Fo=null,Do=!1}function qo(){var e=Io;return null!==e&&(null===Hc?Hc=e:Hc.push.apply(Hc,e),Io=null),e}function Go(e){null===Io?Io=[e]:Io.push(e)}var Xo=ne(null),Qo=null,Zo=null;function Jo(e,t,n){oe(Xo,t._currentValue),t._currentValue=n}function ei(e){e._currentValue=Xo.current,re(Xo)}function ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ni(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var u=0;u<t.length;u++)if(l.context===t[u]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),ti(a.return,n,e),r||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(i(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),ti(s,n,e),s=null}else 13===o.tag&&null!==o.memoizedState&&null===o.memoizedState.dehydrated?(o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),ti(o.return,n,e),s=null!==(s=o.child)?s.sibling:null):s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function ri(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(i(387));if(null!==(s=s.memoizedProps)){var l=o.type;xr(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===ce.current){if(null===(s=o.alternate))throw Error(i(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(hh):e=[hh])}o=o.return}return null!==e&&ni(t,e,n,r),t.flags|=262144,null!==e}function oi(e){for(e=e.firstContext;null!==e;){if(!xr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ii(e){Qo=e,Zo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ai(e){return li(Qo,e)}function si(e,t){return null===Qo&&ii(e),li(e,t)}function li(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Zo){if(null===e)throw Error(i(308));Zo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zo=Zo.next=t;return n}var ui="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ci=n.unstable_scheduleCallback,di=n.unstable_NormalPriority,fi={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pi(){return{controller:new ui,data:new Map,refCount:0}}function hi(e){e.refCount--,0===e.refCount&&ci(di,function(){e.controller.abort()})}function mi(e,t){if(4194048&e.pendingLanes){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var gi=null;var yi=null,vi=0,bi=0,xi=null;function wi(){if(0===--vi&&(gi=null,null!==yi)){null!==xi&&(xi.status="fulfilled");var e=yi;yi=null,bi=0,xi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Si=Q.S;Q.S=function(e,t){if(qc=Ee(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===yi){var n=yi=[];vi=0,bi=cf(),xi={status:"pending",value:void 0,then:function(e){n.push(e)}}}vi++,t.then(wi,wi)}(0,t),null!==gi)for(var n=Xd;null!==n;)mi(n,gi),n=n.next;if(null!==(n=e.types)){for(var r=Xd;null!==r;)mi(r,n),r=r.next;if(0!==bi){null===(r=gi)&&(r=gi=[]);for(var o=0;o<n.length;o++){var i=n[o];-1===r.indexOf(i)&&r.push(i)}}}null!==Si&&Si(e,t)};var ki=ne(null);function Ci(){var e=ki.current;return null!==e?e:Oc.pooledCache}function Ei(e,t){oe(ki,null===t?ki.current:t.pool)}function Pi(){var e=Ci();return null===e?null:{parent:fi._currentValue,pool:e}}var Ti=Error(i(460)),Ai=Error(i(474)),Oi=Error(i(542)),Mi={then:function(){}};function _i(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ji(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Jt,Jt),t=n),t.status){case"fulfilled":return t.value;case"rejected":if($i(e=t.reason),void 0===e&&!("reason"in t))throw Error(i(600));throw e;default:if("string"==typeof t.status)t.then(Jt,Jt);else{if(null!==(e=Oc)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw $i(e=t.reason),e}throw Ni=t,Ti}}function Ri(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw Ni=e,Ti;throw e}}var Ni=null;function Li(){if(null===Ni)throw Error(i(459));var e=Ni;return Ni=null,e}function $i(e){if(e===Ti||e===Oi)throw Error(i(483))}var Fi=null,zi=0;function Di(e){var t=zi;return zi+=1,null===Fi&&(Fi=[]),ji(Fi,e,t)}function Ii(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Bi(e,t){if(t.$$typeof===A)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Vi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function o(e,t){return(e=ho(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=134217730,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=134217730),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=vo(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===_?(Ii(e=d(e,t,n.props.children,r,n.key),n),e):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===I&&Ri(i)===t.type)?(Ii(t=o(t,n.props),n),t.return=e,t):(Ii(t=go(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=xo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=yo(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=vo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case O:return Ii(n=go(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case M:return(t=xo(t,e.mode,n)).return=e,t;case I:return f(e,t=Ri(t),n)}if(X(t)||Y(t))return(t=yo(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,Di(t),n);if(t.$$typeof===L)return f(e,si(e,t),n);Bi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case O:return n.key===o?u(e,t,n,r):null;case M:return n.key===o?c(e,t,n,r):null;case I:return p(e,t,n=Ri(n),r)}if(X(n)||Y(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,Di(n),r);if(n.$$typeof===L)return p(e,t,si(e,n),r);Bi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case O:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case I:return h(e,t,n,r=Ri(r),o)}if(X(r)||Y(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return h(e,t,n,Di(r),o);if(r.$$typeof===L)return h(e,t,n,si(t,r),o);Bi(t,r)}return null}function m(l,u,c,d){if("object"==typeof c&&null!==c&&c.type===_&&null===c.key&&void 0===c.props.ref&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case O:e:{for(var g=c.key;null!==u;){if(u.key===g){if((g=c.type)===_){if(7===u.tag){n(l,u.sibling),Ii(d=o(u,c.props.children),c),d.return=l,l=d;break e}}else if(u.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===I&&Ri(g)===u.type){n(l,u.sibling),Ii(d=o(u,c.props),c),d.return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}c.type===_?(Ii(d=yo(c.props.children,l.mode,d,c.key),c),d.return=l,l=d):(Ii(d=go(c.type,c.key,c.props,null,l.mode,d),c),d.return=l,l=d)}return s(l);case M:e:{for(g=c.key;null!==u;){if(u.key===g){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(d=o(u,c.children||[])).return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}(d=xo(c,l.mode,d)).return=l,l=d}return s(l);case I:return m(l,u,c=Ri(c),d)}if(X(c))return function(o,i,s,l){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(o,d),Do&&jo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return Do&&jo(o,m),u}for(d=r(d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(o,e)}),Do&&jo(o,m),u}(l,u,c,d);if(Y(c)){if("function"!=typeof(g=Y(c)))throw Error(i(150));return function(o,s,l,u){if(null==l)throw Error(i(151));for(var c=null,d=null,m=s,g=s=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?c=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),Do&&jo(o,g),c;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(o,v.value,u))&&(s=a(v,s,g),null===d?c=v:d.sibling=v,d=v);return Do&&jo(o,g),c}for(m=r(m);!v.done;g++,v=l.next())null!==(v=h(m,o,g,v.value,u))&&(e&&null!==(y=v.alternate)&&m.delete(null===y.key?g:y.key),s=a(v,s,g),null===d?c=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),Do&&jo(o,g),c}(l,u,c=g.call(c),d)}if("function"==typeof c.then)return m(l,u,Di(c),d);if(c.$$typeof===L)return m(l,u,si(l,c),d);Bi(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(d=o(u,c)).return=l,l=d):(n(l,u),(d=vo(c,l.mode,d)).return=l,l=d),s(l)):n(l,u)}return function(e,t,n,r){try{zi=0;var o=m(e,t,n,r);return Fi=null,o}catch(t){if(t===Ti||t===Oi)throw t;var i=fo(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var Wi=Vi(!0),Ui=Vi(!1),Hi=!1;function Ki(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function qi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Gi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ac){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=lo(e),so(e,null,n),t}return oo(e,r,t,n),lo(e)}function Xi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}function Qi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Zi=!1;function Ji(){if(Zi){if(null!==xi)throw xi}}function ea(e,t,n,r){Zi=!1;var o=e.updateQueue;Hi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=-536870913&s.lane,p=f!==s.lane;if(p?(_c&f)===f:(r&f)===f){0!==f&&f===bi&&(Zi=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,m=s;f=t;var g=n;switch(m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(g,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(g,d,f):h))break e;d=T({},d,f);break e;case 2:Hi=!0}}null!==(f=s.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===i&&(o.shared.lanes=0),Dc|=a,e.lanes=a,e.memoizedState=d}}function ta(e,t){if("function"!=typeof e)throw Error(i(191,e));e.call(t)}function na(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ta(n[e],t)}var ra=ne(null),oa=ne(0);function ia(e,t){oe(oa,e=Fc),oe(ra,t),Fc=e|t.baseLanes}function aa(){oe(oa,Fc),oe(ra,ra.current)}function sa(){Fc=oa.current,re(ra),re(oa)}var la=ne(null),ua=null;function ca(e){var t=e.alternate;oe(ma,1&ma.current),oe(la,e),null===ua&&(null===t||null!==ra.current||null!==t.memoizedState)&&(ua=e)}function da(e){oe(ma,ma.current),oe(la,e),null===ua&&(ua=e)}function fa(e){22===e.tag?(oe(ma,ma.current),oe(la,e),null===ua&&(ua=e)):pa()}function pa(){oe(ma,ma.current),oe(la,la.current)}function ha(e){re(la),ua===e&&(ua=null),re(ma)}var ma=ne(0);function ga(e,t){oe(la,la.current),oe(ma,t)}function ya(e){re(ma),re(la),ua===e&&(ua=null)}function va(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Op(n)||Mp(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ba=0,xa=null,wa=null,Sa=null,ka=!1,Ca=!1,Ea=!1,Pa=0,Ta=0,Aa=null,Oa=0;function Ma(){throw Error(i(321))}function _a(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xr(e[n],t[n]))return!1;return!0}function ja(e,t,n,r,o,i){return ba=i,xa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=null===e||null===e.memoizedState?Ys:qs,Ea=!1,i=n(r,o),Ea=!1,Ca&&(i=Na(t,n,r,o)),Ra(e),i}function Ra(e){Q.H=Ks;var t=null!==wa&&null!==wa.next;if(ba=0,Sa=wa=xa=null,ka=!1,Ta=0,Aa=null,t)throw Error(i(300));null===e||cl||null!==(e=e.dependencies)&&oi(e)&&(cl=!0)}function Na(e,t,n,r){xa=e;var o=0;do{if(Ca&&(Aa=null),Ta=0,Ca=!1,25<=o)throw Error(i(301));if(o+=1,Sa=wa=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}Q.H=Gs,a=t(n,r)}while(Ca);return a}function La(){var e=Q.H,t=e.useState()[0];return t="function"==typeof t.then?Ba(t):t,e=e.useState()[0],(null!==wa?wa.memoizedState:null)!==e&&(xa.flags|=1024),t}function $a(){var e=0!==Pa;return Pa=0,e}function Fa(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function za(e){if(ka){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ka=!1}ba=0,Sa=wa=xa=null,Ca=!1,Ta=Pa=0,Aa=null}function Da(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Sa?xa.memoizedState=Sa=e:Sa=Sa.next=e,Sa}function Ia(){if(null===wa){var e=xa.alternate;e=null!==e?e.memoizedState:null}else e=wa.next;var t=null===Sa?xa.memoizedState:Sa.next;if(null!==t)Sa=t,wa=e;else{if(null===e){if(null===xa.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(wa=e).memoizedState,baseState:wa.baseState,baseQueue:wa.baseQueue,queue:wa.queue,next:null},null===Sa?xa.memoizedState=Sa=e:Sa=Sa.next=e}return Sa}function Ba(e){var t=Ta;return Ta+=1,null===Aa&&(Aa=[]),e=ji(Aa,e,t),t=xa,null===(null===Sa?t.memoizedState:Sa.next)&&(t=t.alternate,Q.H=null===t||null===t.memoizedState?Ys:qs),e}function Va(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ba(e);if(e.$$typeof===H)return;if(e.$$typeof===L)return ai(e)}throw Error(i(438,String(e)))}function Wa(e){var t=null,n=xa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=xa.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=W;return t.index++,n}function Ua(e,t){return"function"==typeof t?t(e):t}function Ha(e){return Ka(Ia(),wa,e)}function Ka(e,t,n){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,u=null,c=t=o.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(_c&f)===f:(ba&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===bi&&(d=!0);else{if((ba&p)===p){c=c.next,p===bi&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,s=a):u=u.next=f,xa.lanes|=p,Dc|=p}f=c.action,Ea&&n(a,f),a=c.hasEagerState?c.eagerState:n(a,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,s=a):u=u.next=p,xa.lanes|=f,Dc|=f;c=c.next}while(null!==c&&c!==t);if(null===u?s=a:u.next=l,!xr(a,e.memoizedState)&&(cl=!0,d&&null!==(n=xi)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=u,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ya(e){var t=Ia(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);xr(a,t.memoizedState)||(cl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function qa(e,t,n){var r=xa,o=Ia(),a=Do;if(a){if(void 0===n)throw Error(i(407));n=n()}else n=t();var s=!xr((wa||o).memoizedState,n);if(s&&(o.memoizedState=n,cl=!0),o=o.queue,bs(Qa.bind(null,r,o,e),[e]),hs((e=o.getSnapshot!==t||s||null!==Sa&&!!(1&Sa.memoizedState.tag))?9:8,{destroy:void 0},Xa.bind(null,r,o,n,t),null),e){if(r.flags|=2048,null===Oc)throw Error(i(349));a||127&ba||Ga(r,t,n)}return n}function Ga(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=xa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Xa(e,t,n,r){t.value=n,t.getSnapshot=r,Za(t)&&Ja(e)}function Qa(e,t,n){return n(function(){Za(t)&&Ja(e)})}function Za(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xr(e,n)}catch(e){return!0}}function Ja(e){var t=ao(e,2);null!==t&&pd(t,e,2)}function es(e){var t=Da();if("function"==typeof e){var n=e;if(e=n(),Ea){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:e},t}function ts(e,t,n,r){return e.baseState=n,Ka(e,wa,"function"==typeof r?r:Ua)}function ns(e,t,n,r,o){if(Ws(e))throw Error(i(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==Q.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,rs(t,a)):(a.next=n.next,t.pending=n.next=a)}}function rs(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=Q.T,a={};a.types=null!==i?i.types:null,Q.T=a;try{var s=n(o,r),l=Q.S;null!==l&&l(a,s),os(e,t,s)}catch(n){as(e,t,n)}finally{null!==i&&null!==a.types&&(i.types=a.types),Q.T=i}}else try{os(e,t,i=n(o,r))}catch(n){as(e,t,n)}}function os(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){is(e,t,n)},function(n){return as(e,t,n)}):is(e,t,n)}function is(e,t,n){t.status="fulfilled",t.value=n,ss(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,rs(e,n)))}function as(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ss(t),t=t.next}while(t!==r)}e.action=null}function ss(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ls(e,t){return t}function us(e,t){if(Do){var n=Oc.formState;if(null!==n){e:{var r=xa;if(Do){if(zo){t:{for(var o=zo,i=Bo;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=_p(o.nextSibling))){o=null;break t}}o="F!"===(i=o.data)||"F"===i?o:null}if(o){zo=_p(o.nextSibling),r="F!"===o.data;break e}}Wo(r)}r=!1}r&&(t=n[0])}}return(n=Da()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ls,lastRenderedState:t},n.queue=r,n=Is.bind(null,xa,r),r.dispatch=n,r=es(!1),i=Vs.bind(null,xa,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=Da()).queue=o,n=ns.bind(null,xa,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function cs(e){return ds(Ia(),wa,e)}function ds(e,t,n){if(t=Ka(e,t,ls)[0],e=Ha(Ua)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ba(t)}catch(e){if(e===Ti)throw Oi;throw e}else r=t;var o=(t=Ia()).queue,i=o.dispatch;return n!==t.memoizedState&&(xa.flags|=2048,hs(9,{destroy:void 0},fs.bind(null,o,n),null)),[r,i,e]}function fs(e,t){e.action=t}function ps(e){var t=Ia(),n=wa;if(null!==n)return ds(t,n,e);Ia(),t=t.memoizedState;var r=(n=Ia()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function hs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=xa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ms(){return Ia().memoizedState}function gs(e,t,n,r){var o=Da();xa.flags|=e,o.memoizedState=hs(1|t,{destroy:void 0},n,void 0===r?null:r)}function ys(e,t,n,r){var o=Ia();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==wa&&null!==r&&_a(r,wa.memoizedState.deps)?o.memoizedState=hs(t,i,n,r):(xa.flags|=e,o.memoizedState=hs(1|t,i,n,r))}function vs(e,t){gs(8390656,8,e,t)}function bs(e,t){ys(2048,8,e,t)}function xs(e){var t=Ia().memoizedState;return function(e){xa.flags|=4;var t=xa.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&Ac)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ws(e,t){return ys(4,2,e,t)}function Ss(e,t){return ys(4,4,e,t)}function ks(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Cs(e,t,n){n=null!=n?n.concat([e]):null,ys(4,4,ks.bind(null,t,e),n)}function Es(){}function Ps(e,t){var n=Ia();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&_a(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ts(e,t){var n=Ia();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&_a(t,r[1]))return r[0];if(r=e(),Ea){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[r,t],r}function As(e,t,n){return void 0===n||1073741824&ba&&!(261930&_c)?e.memoizedState=t:(e.memoizedState=n,e=dd(),xa.lanes|=e,Dc|=e,n)}function Os(e,t,n,r){return xr(n,t)?n:null!==ra.current?(e=As(e,n,r),xr(e,t)||(cl=!0),e):106&ba&&(!(1073741824&ba)||261930&_c)?(e=dd(),xa.lanes|=e,Dc|=e,t):(cl=!0,e.memoizedState=n)}function Ms(e,t,n,r,o){var i=Z.p;Z.p=0!==i&&8>i?i:8;var a,s,l,u=Q.T,c={};c.types=null!==u?u.types:null,Q.T=c,Vs(e,!1,t,n);try{var d=o(),f=Q.S;if(null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then)Bs(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),cd());else Bs(e,t,r,cd())}catch(n){Bs(e,t,{then:function(){},status:"rejected",reason:n},cd())}finally{Z.p=i,null!==u&&null!==c.types&&(u.types=c.types),Q.T=u}}function _s(){}function js(e,t,n,r){if(5!==e.tag)throw Error(i(476));var o=Rs(e).queue;Ms(e,o,t,J,null===n?_s:function(){return Ns(e),n(r)})}function Rs(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:J},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Ns(e){var t=Rs(e);null===t.next&&(t=e.alternate.memoizedState),Bs(e,t.next.queue,{},cd())}function Ls(){return ai(hh)}function $s(){return Ia().memoizedState}function Fs(){return Ia().memoizedState}function zs(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=cd(),r=Gi(t,e=qi(n),n);return null!==r&&(pd(r,t,n),Xi(r,t,n)),t={cache:pi()},void(e.payload=t)}t=t.return}}function Ds(e,t,n){var r=cd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ws(e)?Us(t,n):null!==(n=io(e,t,n,r))&&(pd(n,e,r),Hs(n,t,r))}function Is(e,t,n){Bs(e,t,n,cd())}function Bs(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ws(e))Us(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,xr(s,a))return oo(e,t,o,0),null===Oc&&ro(),!1}catch(e){}if(null!==(n=io(e,t,o,r)))return pd(n,e,r),Hs(n,t,r),!0}return!1}function Vs(e,t,n,r){if(r={lane:2,revertLane:cf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ws(e)){if(t)throw Error(i(479))}else null!==(t=io(e,n,r,2))&&pd(t,e,2)}function Ws(e){var t=e.alternate;return e===xa||null!==t&&t===xa}function Us(e,t){Ca=ka=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}var Ks={readContext:ai,use:Va,useCallback:Ma,useContext:Ma,useEffect:Ma,useImperativeHandle:Ma,useLayoutEffect:Ma,useInsertionEffect:Ma,useMemo:Ma,useReducer:Ma,useRef:Ma,useState:Ma,useDebugValue:Ma,useDeferredValue:Ma,useTransition:Ma,useSyncExternalStore:Ma,useId:Ma,useHostTransitionStatus:Ma,useFormState:Ma,useActionState:Ma,useOptimistic:Ma,useMemoCache:Ma,useCacheRefresh:Ma,useEffectEvent:Ma},Ys={readContext:ai,use:Va,useCallback:function(e,t){return Da().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:vs,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,gs(4194308,4,ks.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gs(4194308,4,e,t)},useInsertionEffect:function(e,t){gs(4,2,e,t)},useMemo:function(e,t){var n=Da();t=void 0===t?null:t;var r=e();if(Ea){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Da();if(void 0!==n){var o=n(t);if(Ea){$e(!0);try{n(t)}finally{$e(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Ds.bind(null,xa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Da().memoizedState=e},useState:function(e){var t=(e=es(e)).queue,n=Is.bind(null,xa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Es,useDeferredValue:function(e,t){return As(Da(),e,t)},useTransition:function(){var e=es(!1);return e=Ms.bind(null,xa,e.queue,!0,!1),Da().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=xa,o=Da();if(Do){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Oc)throw Error(i(349));127&_c||Ga(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,vs(Qa.bind(null,r,a,e),[e]),r.flags|=2048,hs(9,{destroy:void 0},Xa.bind(null,r,a,n,t),null),n},useId:function(){var e=Da(),t=Oc.identifierPrefix;if(Do){var n=_o;t="_"+t+"R_"+(n=(Mo&~(1<<32-Fe(Mo)-1)).toString(32)+n),0<(n=Pa++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Oa++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ls,useFormState:us,useActionState:us,useOptimistic:function(e){var t=Da();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Vs.bind(null,xa,!0,n),n.dispatch=t,[e,t]},useMemoCache:Wa,useCacheRefresh:function(){return Da().memoizedState=zs.bind(null,xa)},useEffectEvent:function(e){var t=Da(),n={impl:e};return t.memoizedState=n,function(){if(2&Ac)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},qs={readContext:ai,use:Va,useCallback:Ps,useContext:ai,useEffect:bs,useImperativeHandle:Cs,useInsertionEffect:ws,useLayoutEffect:Ss,useMemo:Ts,useReducer:Ha,useRef:ms,useState:function(){return Ha(Ua)},useDebugValue:Es,useDeferredValue:function(e,t){return Os(Ia(),wa.memoizedState,e,t)},useTransition:function(){var e=Ha(Ua)[0],t=Ia().memoizedState;return["boolean"==typeof e?e:Ba(e),t]},useSyncExternalStore:qa,useId:$s,useHostTransitionStatus:Ls,useFormState:cs,useActionState:cs,useOptimistic:function(e,t){return ts(Ia(),0,e,t)},useMemoCache:Wa,useCacheRefresh:Fs,useEffectEvent:xs},Gs={readContext:ai,use:Va,useCallback:Ps,useContext:ai,useEffect:bs,useImperativeHandle:Cs,useInsertionEffect:ws,useLayoutEffect:Ss,useMemo:Ts,useReducer:Ya,useRef:ms,useState:function(){return Ya(Ua)},useDebugValue:Es,useDeferredValue:function(e,t){var n=Ia();return null===wa?As(n,e,t):Os(n,wa.memoizedState,e,t)},useTransition:function(){var e=Ya(Ua)[0],t=Ia().memoizedState;return["boolean"==typeof e?e:Ba(e),t]},useSyncExternalStore:qa,useId:$s,useHostTransitionStatus:Ls,useFormState:ps,useActionState:ps,useOptimistic:function(e,t){var n=Ia();return null!==wa?ts(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Wa,useCacheRefresh:Fs,useEffectEvent:xs};function Xs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cd(),o=qi(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Gi(e,o,r))&&(pd(t,e,r),Xi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cd(),o=qi(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Gi(e,o,r))&&(pd(t,e,r),Xi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cd(),r=qi(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=Gi(e,r,n))&&(pd(t,e,n),Xi(t,e,n))}};function Zs(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!wr(n,r)||!wr(o,i))}function Js(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Qs.enqueueReplaceState(t,t.state,null)}function el(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=T({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function tl(e){Jr(e)}function nl(e){console.error(e)}function rl(e){Jr(e)}function ol(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function il(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function al(e,t,n){return(n=qi(n)).tag=3,n.payload={element:null},n.callback=function(){ol(e,t)},n}function sl(e){return(e=qi(e)).tag=3,e}function ll(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=function(){return o(i)},e.callback=function(){il(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){il(t,n,r),"function"!=typeof o&&(null===Qc?Qc=new Set([this]):Qc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var ul=Error(i(461)),cl=!1;function dl(e,t,n,r){t.child=null===e?Ui(t,null,n,r):Wi(t,e.child,n,r)}function fl(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return ii(t),r=ja(e,t,n,a,i,o),s=$a(),null===e||cl?(Do&&s&&No(t),t.flags|=1,dl(e,t,r,o),t.child):(Fa(e,t,o),zl(e,t,o))}function pl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||po(i)||void 0!==i.defaultProps||null!==n.compare?((e=go(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,hl(e,t,i,r,o))}if(i=e.child,!Dl(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:wr)(a,r)&&e.ref===t.ref)return zl(e,t,o)}return t.flags|=1,(e=ho(i,r)).ref=t.ref,e.return=t,t.child=e}function hl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(wr(i,r)&&e.ref===t.ref){if(cl=!1,t.pendingProps=r=i,!Dl(e,o))return t.lanes=e.lanes,zl(e,t,o);131072&e.flags&&(cl=!0)}}return wl(e,t,n,r,o)}function ml(e,t,n,r){var o=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(i=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~i}else r=0,t.child=null;return yl(e,t,i,n,r)}if(!(536870912&n))return r=t.lanes=536870912,yl(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ei(0,null!==i?i.cachePool:null),null!==i?ia(t,i):aa(),fa(t)}else null!==i?(Ei(0,i.cachePool),ia(t,i),pa(),t.memoizedState=null):(null!==e&&Ei(0,null),aa(),pa());return dl(e,t,o,n),t.child}function gl(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function yl(e,t,n,r,o){var i=Ci();return i=null===i?null:{parent:fi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Ei(0,null),aa(),fa(t),null!==e&&ri(e,t,r,!0),t.childLanes=o,null}function vl(e,t){return(t=Ml({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function bl(e,t,n){return Wi(t,e.child,null,n),(e=vl(t,t.pendingProps)).flags|=2,ha(t),t.memoizedState=null,e}function xl(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function wl(e,t,n,r,o){return ii(t),n=ja(e,t,n,r,void 0,o),r=$a(),null===e||cl?(Do&&r&&No(t),t.flags|=1,dl(e,t,n,o),t.child):(Fa(e,t,o),zl(e,t,o))}function Sl(e,t,n,r,o,i){return ii(t),t.updateQueue=null,n=Na(t,r,n,o),Ra(e),r=$a(),null===e||cl?(Do&&r&&No(t),t.flags|=1,dl(e,t,n,i),t.child):(Fa(e,t,i),zl(e,t,i))}function kl(e,t,n,r,o){if(ii(t),null===t.stateNode){var i=uo,a=n.contextType;"object"==typeof a&&null!==a&&(i=ai(a)),i=new n(r,i),t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=Qs,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},Ki(t),a=n.contextType,i.context="object"==typeof a&&null!==a?ai(a):uo,i.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Xs(t,n,a,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(a=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),a!==i.state&&Qs.enqueueReplaceState(i,i.state,null),ea(t,r,i,o),Ji(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var s=t.memoizedProps,l=el(n,s);i.props=l;var u=i.context,c=n.contextType;a=uo,"object"==typeof c&&null!==c&&(a=ai(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s||u!==a)&&Js(t,i,r,a),Hi=!1;var f=t.memoizedState;i.state=f,ea(t,r,i,o),Ji(),u=t.memoizedState,s||f!==u||Hi?("function"==typeof d&&(Xs(t,n,d,r),u=t.memoizedState),(l=Hi||Zs(t,n,l,r,f,u,a))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=a,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Yi(e,t),c=el(n,a=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,l=uo,"object"==typeof u&&null!==u&&(l=ai(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==d||f!==l)&&Js(t,i,r,l),Hi=!1,f=t.memoizedState,i.state=f,ea(t,r,i,o),Ji();var p=t.memoizedState;a!==d||f!==p||Hi||null!==e&&null!==e.dependencies&&oi(e.dependencies)?("function"==typeof s&&(Xs(t,n,s,r),p=t.memoizedState),(c=Hi||Zs(t,n,c,r,f,p,l)||null!==e&&null!==e.dependencies&&oi(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,xl(e,t),r=!!(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=Wi(t,e.child,null,o),t.child=Wi(t,null,n,o)):dl(e,t,n,o),t.memoizedState=i.state,e=t.child):e=zl(e,t,o),e}function Cl(e,t,n,r){return Yo(),t.flags|=256,dl(e,t,n,r),t.child}var El={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pl(e){return{baseLanes:e,cachePool:Pi()}}function Tl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Vc),e}function Al(e,t,n){var r,o=t.pendingProps,a=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&ma.current)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(Do){if(a?ca(t):pa(),(e=zo)?null!==(e=null!==(e=Ap(e,Bo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Oo?{id:Mo,overflow:_o}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,Fo=t,zo=null):e=null,null===e)throw Wo(t);return Mp(e)?t.lanes=32:t.lanes=536870912,null}return s=o.children,o=o.fallback,a?(pa(),s=Ml({mode:"hidden",children:s},a=t.mode),o=yo(o,a,n,null),s.return=t,o.return=t,s.sibling=o,t.child=s,(o=t.child).memoizedState=Pl(n),o.childLanes=Tl(e,r,n),t.memoizedState=El,gl(null,o)):(ca(t),Ol(t,s))}var l=e.memoizedState;if(null!==l){var u=l.dehydrated;if(null!==u)return function(e,t,n,r,o,a,s,l){if(n)return 256&t.flags?(ca(t),t.flags&=-257,_l(e,t,l)):null!==t.memoizedState?(pa(),t.child=e.child,t.flags|=128,null):(pa(),a=o.fallback,s=t.mode,o=Ml({mode:"visible",children:o.children},s),(a=yo(a,s,l,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,Wi(t,e.child,null,l),(o=t.child).memoizedState=Pl(l),o.childLanes=Tl(e,r,l),t.memoizedState=El,gl(null,o));if(ca(t),Mp(a)){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return""!==(r=u)&&((o=Error(i(419))).stack="",o.digest=r,Go({value:o,source:null,stack:null})),_l(e,t,l)}if(cl||ri(e,t,l,!1),r=0!==(l&e.childLanes),cl||r){if(null!==ra.current)return _l(e,t,l);if(null!==(r=Oc)&&(0!==(o=Je(r,l))&&o!==s.retryLane))throw s.retryLane=o,ao(e,o),pd(r,e,o),ul;return Op(a)||Ed(),_l(e,t,l)}return Op(a)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,zo=_p(a.nextSibling),Fo=t,Do=!0,Io=null,Bo=!1,null!==e&&$o(t,e),t=Ol(t,o.children),t.flags|=134221824,t)}(e,t,s,r,o,u,l,n)}return a?(pa(),a=o.fallback,s=t.mode,u=(l=e.child).sibling,(o=ho(l,{mode:"hidden",children:o.children})).subtreeFlags=1206910976&l.subtreeFlags,null!==u?a=ho(u,a):(a=yo(a,s,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,gl(null,o),o=t.child,null===(a=e.child.memoizedState)?a=Pl(n):(null!==(s=a.cachePool)?(l=fi._currentValue,s=s.parent!==l?{parent:l,pool:l}:s):s=Pi(),a={baseLanes:a.baseLanes|n,cachePool:s}),o.memoizedState=a,o.childLanes=Tl(e,r,n),t.memoizedState=El,gl(e.child,o)):(ca(t),e=(n=e.child).sibling,(n=ho(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Ol(e,t){return(t=Ml({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Ml(e,t){return(e=fo(22,e,null,t)).lanes=0,e}function _l(e,t,n){return Wi(t,e.child,null,n),(e=Ol(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function jl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ti(e.return,t,n)}function Rl(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===va(n)&&(t=e),e=e.sibling}return t}function Nl(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.treeForkCount=i)}function Ll(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function $l(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;r=r.children;var a=ma.current;if(128&t.flags)return ga(0,a),null;var s=!!(2&a);if(s?(a=1&a|2,t.flags|=128):a&=1,ga(0,a),"backwards"===o&&null!==e?(Ll(e),dl(e,t,r,n),Ll(e)):dl(e,t,r,n),r=Do?Po:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&jl(e,n,t);else if(19===e.tag)jl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":null===(n=Rl(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,Ll(t)),Nl(t,!0,o,null,i,r);break;case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===va(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Nl(t,!0,n,null,i,r);break;case"together":Nl(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=Rl(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Nl(t,!1,o,n,i,r)}return t.child}function Fl(e,t,n){var r=t.pendingProps;return Jo(0,t.type,r.value),dl(e,t,r.children,n),t.child}function zl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ri(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ho(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ho(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Dl(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!oi(e))}function Il(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)cl=!0;else{if(!(Dl(e,n)||128&t.flags))return cl=!1,function(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Jo(0,fi,e.memoizedState.cache),Yo();break;case 27:case 5:pe(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Jo(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,da(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return ca(t),t.flags|=128,null;r=ri(e,t,n,!1);var o=t.child.childLanes;return r||0!==(n&o)?Al(e,t,n):(ca(t),null!==(e=zl(e,t,n))?e.sibling:null)}ca(t);break;case 19:if(128&t.flags)return $l(e,t,n);if(o=!!(128&e.flags),(r=0!==(n&t.childLanes))||(ri(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return $l(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ga(0,ma.current),r)break;return null;case 22:return t.lanes=0,ml(e,t,n,t.pendingProps);case 24:Jo(0,fi,e.memoizedState.cache)}return zl(e,t,n)}(e,t,n);cl=!!(131072&e.flags)}else cl=!1,Do&&1048576&t.flags&&Ro(t,Po,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Ri(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===$){t.tag=11,t=fl(null,t,e,r,n);break e}if(o===D){t.tag=14,t=pl(null,t,e,r,n);break e}if(o===L){t.tag=10,t.type=e,t=Fl(null,t,n);break e}}throw t=G(e)||e,Error(i(306,t,""))}po(e)?(r=el(e,r),t.tag=1,t=kl(null,t,e,r,n)):(t.tag=0,t=wl(null,t,e,r,n))}return t;case 0:return wl(e,t,t.type,t.pendingProps,n);case 1:return kl(e,t,r=t.type,o=el(r,t.pendingProps),n);case 3:e:{if(de(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,Yi(e,t),ea(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Jo(0,fi,r),r!==a.cache&&ni(t,[fi],n,!0),Ji(),r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cl(e,t,r,n);break e}if(r!==o){Go(o=So(Error(i(424)),t)),t=Cl(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(zo=_p(e.firstChild),Fo=t,Do=!0,Io=null,Bo=!0,n=Ui(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|134221824,n=n.sibling}else{if(Yo(),r===o){t=zl(e,t,n);break e}dl(e,t,r,n)}t=t.child}return t;case 26:return xl(e,t),null===e?(n=Up(t.type,null,t.pendingProps,null))?t.memoizedState=n:Do||(t.stateNode=Bf(t.type,t.pendingProps,ue.current,t)):t.memoizedState=Up(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),null===e&&Do&&(r=t.stateNode=Lp(t.type,t.pendingProps,ue.current),Fo=t,Bo=!0,o=zo,Xf(t.type)?(jp=o,zo=_p(r.firstChild)):zo=o),dl(e,t,t.pendingProps.children,n),xl(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&Do&&((o=r=zo)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[ft])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=_p(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,Bo))?(t.stateNode=r,Fo=t,zo=_p(r.firstChild),Bo=!1,o=!0):o=!1),o||Wo(t)),pe(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,r=a.children,Vf(o,a)?r=null:null!==s&&Vf(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=ja(e,t,La,null,null,n),hh._currentValue=o),xl(e,t),dl(e,t,r,n),t.child;case 6:return null===e&&Do&&((e=n=zo)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=_p(e.nextSibling)))return null}return e}(n,t.pendingProps,Bo))?(t.stateNode=n,Fo=t,zo=null,e=!0):e=!1),e||Wo(t)),null;case 13:return Al(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Wi(t,null,r,n):dl(e,t,r,n),t.child;case 11:return fl(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,xl(e,t),dl(e,t,r,n),t.child;case 8:case 12:return dl(e,t,t.pendingProps.children,n),t.child;case 10:return Fl(e,t,n);case 9:return o=t.type._context,r=t.pendingProps.children,ii(t),r=r(o=ai(o)),t.flags|=1,dl(e,t,r,n),t.child;case 14:return pl(e,t,t.type,t.pendingProps,n);case 15:return hl(e,t,t.type,t.pendingProps,n);case 19:return $l(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(Do){if("hidden"===r.mode)return e=vl(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},gl(null,e);if(da(t),(e=zo)?null!==(e=null!==(e=Ap(e,Bo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Oo?{id:Mo,overflow:_o}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,Fo=t,zo=null):e=null,null===e)throw Wo(t);return t.lanes=536870912,null}return vl(t,r)}var a=e.memoizedState;if(null!==a){var s=a.dehydrated;if(da(t),o)if(256&t.flags)t.flags&=-257,t=bl(e,t,n);else{if(null===t.memoizedState)throw Error(i(558));t.child=e.child,t.flags|=128,t=null}else if(cl||ri(e,t,n,!1),o=0!==(n&e.childLanes),cl||o){if(null===ra.current){if(null!==(r=Oc)&&0!==(s=Je(r,n))&&s!==a.retryLane)throw a.retryLane=s,ao(e,s),pd(r,e,s),ul;Ed()}t=bl(e,t,n)}else e=a.treeContext,zo=_p(s.nextSibling),Fo=t,Do=!0,Io=null,Bo=!1,null!==e&&$o(t,e),(t=vl(t,r)).flags|=134221824;return t}return(e=ho(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return ml(e,t,n,t.pendingProps);case 24:return ii(t),r=ai(fi),null===e?(null===(o=Ci())&&(o=Oc,a=pi(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},Ki(t),Jo(0,fi,o)):(0!==(e.lanes&n)&&(Yi(e,t),ea(t,null,null,n),Ji()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Jo(0,fi,r)):(r=a.cache,Jo(0,fi,r),r!==o.cache&&ni(t,[fi],n,!0))),dl(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?18882560:18874368:Do&&No(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:xl(e,t),dl(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Bl(e){e.flags|=4}function Vl(e,t,n,r,o){var i;if((i=!!(32&e.mode))&&(i=null===n?rh(t,r):rh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!Sd())throw Ni=Mi,Ai;e.flags|=8192}}else e.flags&=-16777217}function Wl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!oh(t)){if(!Sd())throw Ni=Mi,Ai;e.flags|=8192}}function Ul(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?qe():536870912,e.lanes|=t,Wc|=t)}function Hl(e,t){if(!Do)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=1206910976&o.subtreeFlags,r|=1206910976&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yl(e,t,n){var r=t.pendingProps;switch(Lo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return Kl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ei(fi),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(Ko(t)?Bl(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,qo())),Kl(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(Bl(t),null!==a?(Kl(t),Wl(t,a)):(Kl(t),Vl(t,o,null,r,n))):a?a!==e.memoizedState?(Bl(t),Kl(t),Wl(t,a)):(Kl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&Bl(t),Kl(t),Vl(t,o,e,r,n)),null;case 27:if(he(t),n=ue.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Bl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Kl(t),t.subtreeFlags&=-33554433,null}e=se.current,Ko(t)?Uo(t):(e=Lp(o,r,n),t.stateNode=e,Bl(t))}return Kl(t),t.subtreeFlags&=-33554433,null;case 5:if(he(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Bl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Kl(t),t.subtreeFlags&=-33554433,null}if(a=se.current,Ko(t))Uo(t);else{var s=zf(ue.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=s.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?s.createElement(o,{is:r.is}):s.createElement(o)}}a[it]=t,a[at]=r;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)a.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(Rf(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Bl(t)}}return Kl(t),t.subtreeFlags&=-33554433,Vl(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Bl(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=ue.current,Ko(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=Fo))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[it]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Mf(e.nodeValue,n)))||Wo(t,!0)}else(e=zf(e).createTextNode(r))[it]=t,t.stateNode=e}return Kl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=Ko(t),null!==n){if(null===e){if(!r)throw Error(i(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(i(557));e[it]=t}else Yo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),e=!1}else n=qo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(ha(t),t):(ha(t),null);if(128&t.flags)throw Error(i(558))}return Kl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=Ko(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[it]=t}else Yo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),o=!1}else o=qo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ha(t),t):(ha(t),null)}return ha(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ul(t,t.updateQueue),Kl(t),null);case 4:return fe(),null===e&&xf(t.stateNode.containerInfo),t.flags|=67108864,Kl(t),null;case 10:return ei(t.type),Kl(t),null;case 19:if(ya(t),null===(r=t.memoizedState))return Kl(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)Hl(r,!1);else{if(0!==zc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=va(e))){for(t.flags|=128,Hl(r,!1),e=a.updateQueue,t.updateQueue=e,Ul(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)mo(n,e),n=n.sibling;return ga(0,1&ma.current|2),Do&&jo(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&Ee()>Gc&&(t.flags|=128,o=!0,Hl(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=va(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Ul(t,e),Hl(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!Do)return Kl(t),null}else 2*Ee()-r.renderingStartTime>Gc&&536870912!==n&&(t.flags|=128,o=!0,Hl(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e:{for(n=e=r.tail;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ee(),e.sibling=null,a=ma.current,a=o?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||Do?ga(0,a):(n=a,oe(la,t),oe(ma,n),null===ua&&(ua=t)),Do&&jo(t,r.treeForkCount),e}return Kl(t),null;case 22:case 23:return ha(t),sa(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null!==(n=t.updateQueue)&&Ul(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&re(ki),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ei(fi),Kl(t),null;case 25:return null;case 30:return t.flags|=33554432,Kl(t),null}throw Error(i(156,t.tag))}function ql(e,t){switch(Lo(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ei(fi),fe(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return he(t),null;case 31:if(null!==t.memoizedState){if(ha(t),null===t.alternate)throw Error(i(340));Yo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ha(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));Yo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ya(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return fe(),null;case 10:return ei(t.type),null;case 22:case 23:return ha(t),sa(),null!==e&&re(ki),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ei(fi),null;default:return null}}function Gl(e,t){switch(Lo(t),t.tag){case 3:ei(fi),fe();break;case 26:case 27:case 5:he(t);break;case 4:fe();break;case 31:null!==t.memoizedState&&ha(t);break;case 13:ha(t);break;case 19:ya(t);break;case 10:ei(t.type);break;case 22:case 23:ha(t),sa(),null!==e&&re(ki);break;case 24:ei(fi)}}function Xl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var i=n.create,a=n.inst;r=i(),a.destroy=r}n=n.next}while(n!==o)}}catch(e){Ud(t,t.return,e)}}function Ql(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,o=t;var l=n,u=s;try{u()}catch(e){Ud(o,l,e)}}}r=r.next}while(r!==i)}}catch(e){Ud(t,t.return,e)}}function Zl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{na(t,n)}catch(t){Ud(e,e.return,t)}}}function Jl(e,t,n){n.props=el(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ud(e,t,n)}}function eu(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,i=Xr(e.memoizedProps,o);null!==o.ref&&o.ref.name===i||(o.ref=ap(i)),r=o.ref;break;case 7:if(null===e.stateNode){var a=new sp(e);h(e.child,!1,kp,a,void 0,void 0),e.stateNode=a}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){Ud(e,t,n)}}function tu(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){Ud(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){Ud(e,t,n)}else n.current=null}function nu(e,t){if((5===e.tag||27===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)Ep(e.stateNode,t[n])}function ru(e){for(var t=e.return;null!==t&&(au(t)&&Ep(e.stateNode,t.stateNode),!iu(t));)t=t.return}function ou(e){for(var t=e.return;null!==t&&(au(t)&&Pp(e.stateNode,t.stateNode),!iu(t));)t=t.return}function iu(e){return 5===e.tag||3===e.tag||27===e.tag}function au(e){return e&&7===e.tag&&null!==e.stateNode}function su(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ud(e,e.return,t)}}function lu(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||_f(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(At=!0),a=h;break;case"name":h!==f&&(At=!0),o=h;break;case"checked":h!==f&&(At=!0),c=h;break;case"defaultChecked":h!==f&&(At=!0),d=h;break;case"value":h!==f&&(At=!0),s=h;break;case"defaultValue":h!==f&&(At=!0),l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(i(137,t));break;default:h!==f&&_f(e,t,p,h,r,f)}}return void Dt(e,s,l,u,c,d,a,o);case"select":for(a in h=s=l=p=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(a)||_f(e,t,a,null,r,u)}for(o in r)if(a=r[o],u=n[o],r.hasOwnProperty(o)&&(null!=a||null!=u))switch(o){case"value":a!==u&&(At=!0),p=a;break;case"defaultValue":a!==u&&(At=!0),l=a;break;case"multiple":a!==u&&(At=!0),s=a;default:a!==u&&_f(e,t,o,a,r,u)}return t=l,n=s,r=h,void(null!=p?Vt(e,!!n,p,!1):!!r!=!!n&&(null!=t?Vt(e,!!n,t,!0):Vt(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=p=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:_f(e,t,l,null,r,o)}for(s in r)if(o=r[s],a=n[s],r.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":o!==a&&(At=!0),p=o;break;case"defaultValue":o!==a&&(At=!0),h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o!==a&&_f(e,t,s,o,r,a)}return void Wt(e,p,h);case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else _f(e,t,m,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if("selected"===u)p!==h&&(At=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else _f(e,t,u,p,r,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&_f(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(i(137,t));break;default:_f(e,t,c,p,r,h)}return;default:if(Gt(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&jf(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||jf(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&_f(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||_f(e,t,f,p,r,h)}(r,e.type,n,t),r[at]=t}catch(t){Ud(e,e.return,t)}}function uu(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Xf(e.type)||4===e.tag}function cu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Xf(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function du(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(o,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(o),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jt)),nu(e,r),At=!0;else if(4!==o&&(27===o&&(nu(e,r),r=null,Xf(e.type)&&(n=e.stateNode,t=null)),null!==(e=e.child)))for(du(e,t,n,r),e=e.sibling;null!==e;)du(e,t,n,r),e=e.sibling}function fu(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),nu(e,r),At=!0;else if(4!==o&&(27===o&&(nu(e,r),r=null,Xf(e.type)&&(n=e.stateNode)),null!==(e=e.child)))for(fu(e,t,n,r),e=e.sibling;null!==e;)fu(e,t,n,r),e=e.sibling}function pu(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Rf(t,r,n),t[it]=e,t[at]=n}catch(t){Ud(e,e.return,t)}}var hu=!1,mu=null;function gu(e){(30===e.tag||33554432&e.subtreeFlags)&&(hu=!0)}var yu=null;function vu(){var e=yu;return yu=null,e}var bu=0;function xu(e,t,n,r,o){return bu=0,wu(e.child,t,n,r,o)}function wu(e,t,n,r,o){for(var i=!1;null!==e;){if(5===e.tag){var a=e.stateNode;if(null!==r){var s=np(a);r.push(s),s.view&&(i=!0)}else i||np(a).view&&(i=!0);hu=!0,Jf(a,0===bu?t:t+"_"+bu,n),bu++}else 22===e.tag&&null!==e.memoizedState||30===e.tag&&o||wu(e.child,t,n,r,o)&&(i=!0);e=e.sibling}return i}function Su(e,t){for(;null!==e;)5===e.tag?ep(e.stateNode,e.memoizedProps):22===e.tag&&null!==e.memoizedState||30===e.tag&&t||Su(e.child,t),e=e.sibling}function ku(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(ku(e),30===e.tag&&18874368&e.flags&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(i(544));var n=t.name;"none"!==(t=Zr(t.default,t.share))&&(xu(e,n,t,null,!1)||Su(e.child,!1))}e=e.sibling}}function Cu(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,o=Xr(r,n),i=Zr(r.default,n.paired?r.share:r.enter);"none"!==i?xu(e,o,i,null,!1)?(ku(e),n.paired||t||fd(e,r.onEnter)):Su(e.child,!1):ku(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Cu(e,t),e=e.sibling;else ku(e)}function Eu(e){if(null!==mu&&0!==mu.size){var t=mu;if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var o=t.get(r);if(void 0!==o){var i=Zr(n.default,n.share);if("none"!==i&&(xu(e,r,i,null,!1)?(i=e.stateNode,o.paired=i,i.paired=o,fd(e,n.onShare)):Su(e.child,!1)),t.delete(r),0===t.size)break}}}Eu(e)}e=e.sibling}}}function Pu(e){if(30===e.tag){var t=e.memoizedProps,n=Xr(t,e.stateNode),r=null!==mu?mu.get(n):void 0,o=Zr(t.default,void 0!==r?t.share:t.exit);"none"!==o&&(xu(e,n,o,null,!1)?void 0!==r?(o=e.stateNode,r.paired=o,o.paired=r,mu.delete(n),fd(e,t.onShare)):fd(e,t.onExit):Su(e.child,!1)),null!==mu&&Eu(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Pu(e),e=e.sibling;else null!==mu&&Eu(e)}function Tu(e){for(e=e.child;null!==e;){if(30===e.tag){var t=e.memoizedProps,n=Xr(t,e.stateNode);t=Zr(t.default,t.update),e.flags&=-5,"none"!==t&&xu(e,n,t,e.memoizedState=[],!1)}else 33554432&e.subtreeFlags&&Tu(e);e=e.sibling}}function Au(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var t=e.stateNode;null!==t.paired&&(t.paired=null,Su(e.child,!1))}Au(e)}e=e.sibling}}function Ou(e){if(30===e.tag)e.stateNode.paired=null,Su(e.child,!1),Au(e);else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Ou(e),e=e.sibling;else Au(e)}function Mu(e){for(e=e.child;null!==e;)30===e.tag?Su(e.child,!1):!!(33554432&e.subtreeFlags)&&Mu(e),e=e.sibling}function _u(e,t,n,r,o,i,a){for(var s=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==i&&bu<i.length){var u,c=i[bu],d=np(l);if((c.view||d.view)&&(s=!0),u=!(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;4&e.flags&&Jf(l,0===bu?n:n+"_"+bu,o),s&&4&e.flags||(null===yu&&(yu=[]),yu.push(l,0===bu?r:r+"_"+bu,t.memoizedProps)),bu++}else 22===t.tag&&null!==t.memoizedState||(30===t.tag&&a?e.flags|=32&t.flags:_u(e,t.child,n,r,o,i,a)&&(s=!0));t=t.sibling}return s}function ju(e,t){for(e=e.child;null!==e;){if(30===e.tag){var n=e.memoizedProps,r=e.stateNode,o=Xr(n,r),i=Zr(n.default,n.update);if(t)var a=null===(r=r.clones)?null:r.map(rp);else a=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;bu=0,o=_u(r,s,o,o,i,a,!1),4&e.flags&&o&&(t||fd(e,n.onUpdate))}else 33554432&e.subtreeFlags&&ju(e,t);e=e.sibling}}var Ru=!1,Nu=!1,Lu=!1,$u=!1,Fu="function"==typeof WeakSet?WeakSet:Set,zu=null,Du=!1,Iu=!1,Bu=!1,Vu=!1;function Wu(e){for(;null!==zu;){var t=zu,n=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&o&&null!==r){n=void 0,o=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var s=el(t.type,o);n=a.getSnapshotBeforeUpdate(s,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){Ud(t,t.return,e)}}break;case 3:if(1024&o)if(9===(n=(r=t.stateNode.containerInfo).nodeType))Tp(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Tp(r);break;default:r.textContent=""}break;case 30:n&&null!==r&&(n=Xr(r.memoizedProps,r.stateNode),"none"!==(o=Zr((o=t.memoizedProps).default,o.update))&&xu(r,n,o,r.memoizedState=[],!0));break;default:if(1024&o)throw Error(i(163))}if(null!==(r=t.sibling)){r.return=t.return,zu=r;break}zu=t.return}}function Uu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:uc(e,n),4&r&&Xl(5,n);break;case 1:if(uc(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){Ud(n,n.return,e)}else{var o=el(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ud(n,n.return,e)}}64&r&&Zl(n),512&r&&eu(n,n.return);break;case 3:if(uc(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{na(e,t)}catch(e){Ud(n,n.return,e)}}break;case 27:null===t&&4&r&&pu(n);case 26:case 5:uc(e,n),null===t&&4&r&&su(n),512&r&&eu(n,n.return);break;case 12:uc(e,n);break;case 31:uc(e,n),4&r&&Ju(e,n);break;case 13:uc(e,n),4&r&&ec(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=qd.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Ru)){var i=null!==t&&null!==t.memoizedState||Nu;t=Ru,o=Nu,Ru=r,(Nu=i)&&!o?(r=2,!!(8772&n.subtreeFlags)&&(r|=1),dc(e,n,r)):uc(e,n),Ru=t,Nu=o}break;case 30:uc(e,n),512&r&&eu(n,n.return);break;case 7:512&r&&eu(n,n.return);default:uc(e,n)}}function Hu(e,t){for(e=e.child;null!==e;)Ku(e,t),e=e.sibling}function Ku(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;"function"==typeof r.setProperty?r.setProperty("display","none","important"):r.display="none"}else{var o=e.stateNode,i=e.memoizedProps.style,a=null!=i&&i.hasOwnProperty("display")?i.display:null;o.style.display=null==a||"boolean"==typeof a?"":(""+a).trim()}}catch(t){Ud(e,e.return,t)}Yu(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,At=!0}catch(t){Ud(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?Zf(s,!0):Zf(e.stateNode,!1)}catch(t){Ud(e,e.return,t)}break;case 22:case 23:null===e.memoizedState&&Hu(e,t);break;default:Hu(e,t)}}function Yu(e,t){if(67108864&e.subtreeFlags)for(e=e.child;null!==e;){e:{var n=e,r=t;switch(n.tag){case 4:Ku(n,r);break e;case 22:null===n.memoizedState&&Yu(n,r);break e;default:Yu(n,r)}}e=e.sibling}}function qu(e){var t=e.alternate;null!==t&&(e.alternate=null,qu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ht(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Gu=null,Xu=!1;function Qu(e,t,n){for(n=n.child;null!==n;)Zu(e,t,n),n=n.sibling}function Zu(e,t,n){if(Le&&"function"==typeof Le.onCommitFiberUnmount)try{Le.onCommitFiberUnmount(Ne,n)}catch(e){}switch(n.tag){case 26:Nu||tu(n,t),Qu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Nu&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Nu||tu(n,t),ou(n);var r=Gu,o=Xu;Xf(n.type)&&(Gu=n.stateNode,Xu=!1),Qu(e,t,n),$p(n.stateNode,n.type,n.memoizedProps),Gu=r,Xu=o;break;case 5:Nu||tu(n,t),ou(n);case 6:if(6===n.tag&&ou(n),r=Gu,o=Xu,Gu=null,Qu(e,t,n),Xu=o,null!==(Gu=r))if(Xu)try{(9===Gu.nodeType?Gu.body:"HTML"===Gu.nodeName?Gu.ownerDocument.body:Gu).removeChild(n.stateNode),At=!0}catch(e){Ud(n,t,e)}else try{Gu.removeChild(n.stateNode),At=!0}catch(e){Ud(n,t,e)}break;case 18:null!==Gu&&(Xu?(Qf(9===(e=Gu).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),qh(e)):Qf(Gu,n.stateNode));break;case 4:r=Gu,o=Xu,Gu=n.stateNode.containerInfo,Xu=!0,Qu(e,t,n),Gu=r,Xu=o;break;case 0:case 11:case 14:case 15:Ql(2,n,t),Nu||Ql(4,n,t),Qu(e,t,n);break;case 1:Nu||(tu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&Jl(n,t,r)),Qu(e,t,n);break;case 21:Qu(e,t,n);break;case 22:Nu=(r=Nu)||null!==n.memoizedState,Qu(e,t,n),Nu=r;break;case 30:tu(n,t),Qu(e,t,n);break;case 7:Nu||tu(n,t),Qu(e,t,n);break;default:Qu(e,t,n)}}function Ju(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{qh(e)}catch(e){Ud(t,t.return,e)}}}function ec(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{qh(e)}catch(e){Ud(t,t.return,e)}}function tc(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Fu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Fu),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Gd.bind(null,e,t);t.then(r,r)}})}function nc(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],s=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 27:if(Xf(u.type)){Gu=u.stateNode,Xu=!1;break e}break;case 5:Gu=u.stateNode,Xu=!1;break e;case 3:case 4:Gu=u.stateNode.containerInfo,Xu=!0;break e}u=u.return}if(null===Gu)throw Error(i(160));Zu(s,l,a),Gu=null,Xu=!1,null!==(s=a.alternate)&&(s.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)oc(t,e,n),t=t.sibling}var rc=null;function oc(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(4&o&&null!==(r=null!==(r=e.updateQueue)?r.events:null))for(var a=0;a<r.length;a++){var s=r[a];s.ref.impl=s.nextImpl}nc(t,e,n),ic(e),4&o&&(Ql(3,e,e.return),Xl(3,e),Ql(5,e,e.return));break;case 1:nc(t,e,n),ic(e),512&o&&(Nu||null===r||tu(r,r.return)),64&o&&Ru&&(null!==(e=e.updateQueue)&&(null!==(t=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?t:n.concat(t))));break;case 26:if(a=rc,nc(t,e,n),ic(e),512&o&&(Nu||null===r||tu(r,r.return)),4&o)if(o=null!==r?r.memoizedState:null,n=e.memoizedState,null===r)if(null===n)if(null===e.stateNode)if(Ru)e.stateNode=Bf(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,o=a.ownerDocument||a;t:switch(t){case"title":(!(r=o.getElementsByTagName("title")[0])||r[ft]||r[it]||"http://www.w3.org/2000/svg"===r.namespaceURI||r.hasAttribute("itemprop"))&&(r=o.createElement(t),o.head.insertBefore(r,o.querySelector("head > title"))),Rf(r,t,n),r[it]=e,bt(r),t=r;break e;case"link":if(a=th("link","href",o).get(t+(n.href||"")))for(s=0;s<a.length;s++)if((r=a[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&r.getAttribute("rel")===(null==n.rel?null:n.rel)&&r.getAttribute("title")===(null==n.title?null:n.title)&&r.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){a.splice(s,1);break t}Rf(r=o.createElement(t),t,n),o.head.appendChild(r);break;case"meta":if(a=th("meta","content",o).get(t+(n.content||"")))for(s=0;s<a.length;s++)if((r=a[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&r.getAttribute("name")===(null==n.name?null:n.name)&&r.getAttribute("property")===(null==n.property?null:n.property)&&r.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&r.getAttribute("charset")===(null==n.charSet?null:n.charSet)){a.splice(s,1);break t}Rf(r=o.createElement(t),t,n),o.head.appendChild(r);break;default:throw Error(i(468,t))}r[it]=e,bt(r),t=r}e.stateNode=t}else Ru||nh(a,e.type,e.stateNode);else e.stateNode=Xp(a,n,e.memoizedProps);else o!==n?(null===o?null===(t=r.stateNode)||Nu||t.parentNode.removeChild(t):o.count--,null===n?Ru||nh(a,e.type,e.stateNode):Xp(a,n,e.memoizedProps)):null===n&&null!==e.stateNode&&lu(e,e.memoizedProps,r.memoizedProps);break;case 27:nc(t,e,n),ic(e),512&o&&(Nu||null===r||tu(r,r.return)),null!==r&&4&o&&lu(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=Lu,Lu=!1,nc(t,e,n),Lu=a,ic(e),512&o&&(Nu||null===r||tu(r,r.return)),32&e.flags){t=e.stateNode;try{Ht(t,""),At=!0}catch(t){Ud(e,e.return,t)}}4&o&&null!=e.stateNode&&lu(e,t=e.memoizedProps,null!==r?r.memoizedProps:t),1024&o&&($u=!0);break;case 6:if(nc(t,e,n),ic(e),4&o){if(null===e.stateNode)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,At=!0}catch(t){Ud(e,e.return,t)}}break;case 3:if(At=!1,eh=null,a=rc,rc=Ip(t.containerInfo),nc(t,e,n),rc=a,ic(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{qh(t.containerInfo)}catch(t){Ud(e,e.return,t)}$u&&($u=!1,ac(e)),At=!1;break;case 4:o=Lu,Lu=Ru,r=Ot(),a=rc,rc=Ip(e.stateNode.containerInfo),nc(t,e,n),ic(e),rc=a,At&&Iu&&(Bu=!0),At=r,Lu=o;break;case 12:nc(t,e,n),ic(e);break;case 31:nc(t,e,n),ic(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 13:nc(t,e,n),ic(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(Yc=Ee()),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 22:a=null!==e.memoizedState,s=null!==r&&null!==r.memoizedState;var l=Ru,u=Nu,c=Lu;Ru=l||a,Lu=c||a,Nu=u||s,nc(t,e,n),Nu=u,Lu=c,Ru=l,ic(e),8192&o&&((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,!a||null===r||s||Ru||Nu||(n=Ru,r=Nu,Ru=a||Ru,Nu=t=s||Nu,cc(e,2),Ru=n,Nu=r),!a&&Lu||Hu(e,a)),4&o&&(null!==(t=e.updateQueue)&&(null!==(n=t.retryQueue)&&(t.retryQueue=null,tc(e,n))));break;case 19:nc(t,e,n),ic(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tc(e,t)));break;case 30:512&o&&(Nu||null===r||tu(r,r.return)),o=Ot(),a=Iu,s=(335544064&n)===n,l=e.memoizedProps,Iu=s&&"none"!==Zr(l.default,l.update),nc(t,e,n),ic(e),s&&null!==r&&At&&(e.flags|=4),Iu=a,At=o;break;case 21:break;case 7:512&o&&(Nu||null===r||tu(r,r.return)),r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:nc(t,e,n),ic(e)}}function ic(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(uu(r)){n=r;break}r=r.return}r=null;for(var o=e.return;null!==o;){if(au(o)){var a=o.stateNode;null===r?r=[a]:r.push(a)}if(iu(o))break;o=o.return}var s=r;if(null==n)throw Error(i(160));switch(n.tag){case 27:var l=n.stateNode;fu(e,cu(e),l,s);break;case 5:var u=n.stateNode;32&n.flags&&(Ht(u,""),n.flags&=-33),fu(e,cu(e),u,s);break;case 3:case 4:var c=n.stateNode.containerInfo;du(e,cu(e),c,s);break;default:throw Error(i(161))}}catch(t){Ud(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ac(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;ac(t),5===t.tag&&1024&t.flags&&(t=t.stateNode,kh=!0,t.reset(),kh=!1),e=e.sibling}}function sc(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)lc(t,e),t=t.sibling;else ju(t,!1)}function lc(e,t){var n=e.alternate;if(null===n)Cu(e,!1);else switch(e.tag){case 3:if(Vu=Du=!1,vu(),sc(t,e),!Du&&!Bu){if(null!==(e=yu))for(var r=0;r<e.length;r+=3){n=e[r];var o=e[r+1];ep(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Vu=!0}yu=null;break;case 5:default:sc(t,e);break;case 4:r=Du,Du=!1,sc(t,e),Du&&(Bu=!0),Du=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?Cu(e,!1):sc(t,e));break;case 30:r=Du,o=vu(),Du=!1,sc(t,e),Du&&(e.flags|=4);var i=e.memoizedProps,a=e.stateNode;t=Xr(i,a),a=Xr(n.memoizedProps,a);var s=Zr(i.default,i.update);"none"===s?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,bu=0,t=_u(e,n,t,a,s,i,!0),bu!==(null===i?0:i.length)&&(e.flags|=32)),4&e.flags&&t?(fd(e,e.memoizedProps.onUpdate),yu=o):null!==o&&(o.push.apply(o,yu),yu=o),Du=!!(32&e.flags)||r}}function uc(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Uu(e,t.alternate,t),t=t.sibling}function cc(e,t){for(e=e.child;null!==e;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Ql(4,n,n.return),cc(n,r);break;case 1:tu(n,n.return);var o=n.stateNode;"function"==typeof o.componentWillUnmount&&Jl(n,n.return,o),cc(n,r);break;case 27:2&r&&$p(n.stateNode,n.type,n.memoizedProps);case 5:tu(n,n.return),5!==n.tag&&27!==n.tag||ou(n),cc(n,r);break;case 6:ou(n);break;case 26:tu(n,n.return),o=n.stateNode,null!==n.memoizedState||null===o||Nu||o.parentNode.removeChild(o),cc(n,r);break;case 22:null===n.memoizedState&&cc(n,r);break;case 30:tu(n,n.return),cc(n,r);break;case 7:tu(n,n.return);default:cc(n,r)}e=e.sibling}}function dc(e,t,n){for(n=8772&t.subtreeFlags?n:-2&n,t=t.child;null!==t;){var r=t.alternate,o=e,i=t,a=i.flags,s=!!(1&n);switch(i.tag){case 0:case 11:case 15:dc(o,i,n),Xl(4,i);break;case 1:if(dc(o,i,n),"function"==typeof(o=(r=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){Ud(r,r.return,e)}if(null!==(o=(r=i).updateQueue)){var l=r.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)ta(u[o],l)}catch(e){Ud(r,r.return,e)}}s&&64&a&&Zl(i),eu(i,i.return);break;case 27:2&n&&pu(i);case 5:5!==i.tag&&27!==i.tag||ru(i),dc(o,i,n),s&&null===r&&4&a&&su(i),eu(i,i.return);break;case 6:ru(i);break;case 26:l=i.stateNode,null!==i.memoizedState||null===l||Ru||nh(Ip(l.ownerDocument),i.type,l),dc(o,i,n),s&&null===r&&4&a&&su(i),eu(i,i.return);break;case 12:dc(o,i,n);break;case 31:dc(o,i,n),s&&4&a&&Ju(o,i);break;case 13:dc(o,i,n),s&&4&a&&ec(o,i);break;case 22:null===i.memoizedState&&dc(o,i,n),eu(i,i.return);break;case 30:dc(o,i,n),eu(i,i.return);break;case 7:eu(i,i.return);default:dc(o,i,n)}t=t.sibling}}function fc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&hi(n))}function pc(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&hi(e))}function hc(e,t,n,r){var o=(335544064&n)===n;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;null!==t;)mc(e,t,n,r),t=t.sibling;else o&&Mu(t)}function mc(e,t,n,r){var o=(335544064&n)===n;o&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&Ou(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:hc(e,t,n,r),2048&i&&Xl(9,t);break;case 1:case 31:case 13:default:hc(e,t,n,r);break;case 3:hc(e,t,n,r),o&&Vu&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&hi(i)));break;case 12:if(2048&i){hc(e,t,n,r),i=t.stateNode;try{var a=t.memoizedProps,s=a.id,l=a.onPostCommit;"function"==typeof l&&l(s,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){Ud(t,t.return,e)}}else hc(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,s=t.alternate,null!==t.memoizedState?(o&&null!==s&&null===s.memoizedState&&Ou(s),2&a._visibility?hc(e,t,n,r):yc(e,t)):(o&&null!==s&&null!==s.memoizedState&&Ou(t),2&a._visibility?hc(e,t,n,r):(a._visibility|=2,gc(e,t,n,r,!!(10256&t.subtreeFlags)||!1))),2048&i&&fc(s,t);break;case 24:hc(e,t,n,r),2048&i&&pc(t.alternate,t);break;case 30:o&&(null!==(i=t.alternate)&&(Su(i.child,!0),Su(t.child,!0))),hc(e,t,n,r)}}function gc(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var i=e,a=t,s=n,l=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:gc(i,a,s,l,o),Xl(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?gc(i,a,s,l,o):yc(i,a):(c._visibility|=2,gc(i,a,s,l,o)),o&&2048&u&&fc(a.alternate,a);break;case 24:gc(i,a,s,l,o),o&&2048&u&&pc(a.alternate,a);break;default:gc(i,a,s,l,o)}t=t.sibling}}function yc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:yc(n,r),2048&o&&fc(r.alternate,r);break;case 24:yc(n,r),2048&o&&pc(r.alternate,r);break;default:yc(n,r)}t=t.sibling}}var vc=8192;function bc(e,t,n){if(e.subtreeFlags&vc)for(e=e.child;null!==e;)xc(e,t,n),e=e.sibling}function xc(e,t,n){switch(e.tag){case 26:bc(e,t,n),e.flags&vc&&(null!==e.memoizedState?function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Hp(r.href),i=t.querySelector(Kp(o));if(i)return null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=uh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,void bt(i);i=t.ownerDocument||t,r=Yp(r),(o=zp.get(o))&&Zp(r,o),bt(i=i.createElement("link"));var a=i;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),Rf(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=uh.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,rc,e.memoizedState,e.memoizedProps):(e=e.stateNode,(335544128&t)===t&&ah(n,e)));break;case 5:bc(e,t,n),e.flags&vc&&(e=e.stateNode,(335544128&t)===t&&ah(n,e));break;case 3:case 4:var r=rc;rc=Ip(e.stateNode.containerInfo),bc(e,t,n),rc=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=vc,vc=16777216,bc(e,t,n),vc=r):bc(e,t,n));break;case 30:if(0!==(e.flags&vc)&&(null!=(r=e.memoizedProps.name)&&"auto"!==r)){var o=e.stateNode;o.paired=null,null===mu&&(mu=new Map),mu.set(r,o)}bc(e,t,n);break;default:bc(e,t,n)}}function wc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Sc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];zu=r,Ec(r,e)}wc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)kc(e),e=e.sibling}function kc(e){switch(e.tag){case 0:case 11:case 15:Sc(e),2048&e.flags&&Ql(9,e,e.return);break;case 3:case 12:default:Sc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,Cc(e)):Sc(e)}}function Cc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];zu=r,Ec(r,e)}wc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:Ql(8,t,t.return),Cc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,Cc(t));break;default:Cc(t)}e=e.sibling}}function Ec(e,t){for(;null!==zu;){var n=zu;switch(n.tag){case 0:case 11:case 15:Ql(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:hi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,zu=r;else e:for(n=e;null!==zu;){var o=(r=zu).sibling,i=r.return;if(qu(r),r===n){zu=null;break e}if(null!==o){o.return=i,zu=o;break e}zu=i}}}var Pc={getCacheForType:function(e){var t=ai(fi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ai(fi).controller.signal}},Tc="function"==typeof WeakMap?WeakMap:Map,Ac=0,Oc=null,Mc=null,_c=0,jc=0,Rc=null,Nc=!1,Lc=!1,$c=!1,Fc=0,zc=0,Dc=0,Ic=0,Bc=0,Vc=0,Wc=0,Uc=null,Hc=null,Kc=!1,Yc=0,qc=0,Gc=1/0,Xc=null,Qc=null,Zc=0,Jc=null,ed=null,td=0,nd=0,rd=null,od=null,id=null,ad=null,sd=null,ld=0,ud=null;function cd(){return 2&Ac&&0!==_c?_c&-_c:null!==Q.T?cf():nt()}function dd(){if(0===Vc)if(536870912&_c&&!Do)Vc=536870912;else{var e=Be;!(3932160&(Be<<=1))&&(Be=262144),Vc=e}return null!==(e=la.current)&&(e.flags|=32),Vc}function fd(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=ap(Xr(e.memoizedProps,n))),null===ad&&(ad=[]),ad.push(t.bind(null,r))}}function pd(e,t,n){(e!==Oc||2!==jc&&9!==jc)&&null===e.cancelPendingCommit||(xd(e,0),yd(e,_c,Vc,!1)),Xe(e,n),2&Ac&&e===Oc||(e===Oc&&(!(2&Ac)&&(Ic|=n),4===zc&&yd(e,_c,Vc,!1)),nf(e))}function hd(e,t,n){if(6&Ac)throw Error(i(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||He(e,t),o=r?function(e,t){var n=Ac;Ac|=2;var r=kd(),o=Cd();Oc!==e||_c!==t?(Xc=null,Gc=Ee()+500,xd(e,t)):Lc=He(e,t);e:for(;;)try{if(0!==jc&&null!==Mc){t=Mc;var a=Rc;t:switch(jc){case 1:jc=0,Rc=null,_d(e,t,a,1);break;case 2:case 9:if(_i(a)){jc=0,Rc=null,Md(t);break}t=function(){2!==jc&&9!==jc||Oc!==e||(jc=7),nf(e)},a.then(t,t);break e;case 3:jc=7;break e;case 4:jc=5;break e;case 7:_i(a)?(jc=0,Rc=null,Md(t)):(jc=0,Rc=null,_d(e,t,a,7));break;case 5:var s=null;switch(Mc.tag){case 26:s=Mc.memoizedState;case 5:case 27:var l=Mc;if(s?oh(s):l.stateNode.complete){jc=0,Rc=null;var u=l.sibling;if(null!==u)Mc=u;else{var c=l.return;null!==c?(Mc=c,jd(c)):Mc=null}break t}}jc=0,Rc=null,_d(e,t,a,5);break;case 6:jc=0,Rc=null,_d(e,t,a,6);break;case 8:bd(),zc=6;break e;default:throw Error(i(462))}}Ad();break}catch(t){wd(e,t)}return Zo=Qo=null,Q.H=r,Q.A=o,Ac=n,null!==Mc?0:(Oc=null,_c=0,ro(),zc)}(e,t):Pd(e,t,!0),a=r;;){if(0===o){Lc&&!r&&yd(e,t,0,!1);break}if(n=e.current.alternate,!a||gd(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=Uc;var u=l.current.memoizedState.isDehydrated;if(u&&(xd(l,s).flags|=256),2!==(s=Pd(l,s,!1))&&6!==s){if($c&&!u){l.errorRecoveryDisabledLanes|=a,Ic|=a,o=4;break e}a=Hc,Hc=o,null!==a&&(null===Hc?Hc=a:Hc.push.apply(Hc,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){xd(e,0),yd(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t&&(62914560&t)!==t)break;case 6:yd(r,t,Vc,!Nc);break e;case 2:Hc=null;break;case 3:case 5:break;default:throw Error(i(329))}if((62914560&t)===t&&10<(o=Yc+300-Ee())){if(yd(r,t,Vc,!Nc),0!==Ue(r,0,!0))break e;td=t,r.timeoutHandle=Uf(md.bind(null,r,n,Hc,Xc,Kc,t,Vc,Ic,Wc,Nc,a,"Throttled",-0,0),o)}else md(r,n,Hc,Xc,Kc,t,Vc,Ic,Wc,Nc,a,null,-0,0)}break}o=Pd(e,t,!1),a=!1}nf(e)}function md(e,t,n,r,o,i,a,s,l,u,c,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(335544064&i)===i;if(d=null,(y||8192&g||!(16785408&~g))&&(mu=null,xc(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jt}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=uh.bind(g),y.finished.then(g,g))),g=(62914560&i)===i?Yc-Ee():(4194048&i)===i?qc-Ee():0,m=g,(h=d).stylesheets&&0===h.count&&fh(h,h.stylesheets),null!==(g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===sh&&(sh=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],i=o.transferSize,a=o.initiatorType,s=o.duration;if(i&&s&&Lf(a)){for(a=0,s=o.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&Lf(d)&&(a+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--r,t+=8*(i+a)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>sh?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)))return td=i,e.cancelPendingCommit=g(Nd.bind(null,e,t,i,n,r,o,a,s,l,u,c,d,null,f,p)),void yd(e,i,a,!u);Nd(e,t,i,n,r,o,a,s,l,u,c,d)}function gd(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!xr(i(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yd(e,t,n,r){t=Ke(e,t),t&=~Bc,t&=~Ic,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-Fe(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&Qe(e,n,t)}function vd(){return!!(6&Ac)||(rf(0,!1),!1)}function bd(){if(null!==Mc){if(0===jc)var e=Mc.return;else Zo=Qo=null,za(e=Mc),Fi=null,zi=0,e=Mc;for(;null!==e;)Gl(e.alternate,e),e=e.return;Mc=null}}function xd(e,t){var n=e.timeoutHandle;return-1!==n&&(e.timeoutHandle=-1,Hf(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),td=0,bd(),Oc=e,Mc=n=ho(e.current,null),_c=t,jc=0,Rc=null,Nc=!1,Lc=He(e,t),$c=!1,Wc=Vc=Bc=Ic=Dc=zc=0,Hc=Uc=null,Kc=!1,Fc=Ke(e,t),ro(),n}function wd(e,t){xa=null,Q.H=Ks,t===Ti||t===Oi?(t=Li(),jc=3):t===Ai?(t=Li(),jc=4):jc=t===ul?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,Rc=t,null===Mc&&(zc=1,ol(e,So(t,e.current)))}function Sd(){var e=la.current;return null===e||((4194048&_c)===_c?null===ua:!!((62914560&_c)===_c||536870912&_c)&&e===ua)}function kd(){var e=Q.H;return Q.H=Ks,null===e?Ks:e}function Cd(){var e=Q.A;return Q.A=Pc,e}function Ed(){zc=4,Nc||(4194048&_c)!==_c&&null!==la.current||(Lc=!0),!(134217727&Dc)&&!(134217727&Ic)||null===Oc||yd(Oc,_c,Vc,!1)}function Pd(e,t,n){var r=Ac;Ac|=2;var o=kd(),i=Cd();Oc===e&&_c===t||(Xc=null,xd(e,t)),t=!1;var a=zc;e:for(;;)try{if(0!==jc&&null!==Mc){var s=Mc,l=Rc;switch(jc){case 8:bd(),a=6;break e;case 3:case 2:case 9:case 6:null===la.current&&(t=!0);var u=jc;if(jc=0,Rc=null,_d(e,s,l,u),n&&Lc){a=0;break e}break;default:u=jc,jc=0,Rc=null,_d(e,s,l,u)}}Td(),a=zc;break}catch(t){wd(e,t)}return t&&e.shellSuspendCounter++,Zo=Qo=null,Ac=r,Q.H=o,Q.A=i,null===Mc&&(Oc=null,_c=0,ro()),a}function Td(){for(;null!==Mc;)Od(Mc)}function Ad(){for(;null!==Mc&&!ke();)Od(Mc)}function Od(e){var t=Il(e.alternate,e,Fc);e.memoizedProps=e.pendingProps,null===t?jd(e):Mc=t}function Md(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Sl(n,t,t.pendingProps,t.type,void 0,_c);break;case 11:t=Sl(n,t,t.pendingProps,t.type.render,t.ref,_c);break;case 5:za(t);var r=t;r===Fo&&(Do?(Ho(r),5===r.tag&&null!=r.stateNode&&(zo=r.stateNode)):(Ho(r),Do=!0));default:Gl(n,t),t=Il(n,t=Mc=mo(t,Fc),Fc)}e.memoizedProps=e.pendingProps,null===t?jd(e):Mc=t}function _d(e,t,n,r){Zo=Qo=null,za(t),Fi=null,zi=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ri(t,n,o,!0),null!==(n=la.current)){switch(n.tag){case 31:case 13:case 19:return null===ua?Ed():null===n.alternate&&0===zc&&(zc=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===Mi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Hd(e,r,o)),!1;case 22:return n.flags|=65536,r===Mi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Hd(e,r,o)),!1}throw Error(i(435,n.tag))}return Hd(e,r,o),Ed(),!1}if(Do)return null!==(t=la.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==Vo&&Go(So(e=Error(i(422),{cause:r}),n))):(r!==Vo&&Go(So(t=Error(i(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=So(r,n),Qi(e,o=al(e.stateNode,r,o)),4!==zc&&(zc=2)),!1;var a=Error(i(520),{cause:r});if(a=So(a,n),null===Uc?Uc=[a]:Uc.push(a),4!==zc&&(zc=2),null===t)return!0;r=So(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Qi(n,e=al(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Qc&&Qc.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,ll(o=sl(o),e,n,r),Qi(n,o),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n);return!1}(e,o,t,n,_c))return zc=1,ol(e,So(n,e.current)),void(Mc=null)}catch(t){if(null!==o)throw Mc=o,t;return zc=1,ol(e,So(n,e.current)),void(Mc=null)}32768&t.flags?(Do||1===r?e=!0:Lc||536870912&_c?e=!1:(Nc=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=la.current)&&13===r.tag&&(r.flags|=16384))),Rd(t,e)):jd(t)}function jd(e){var t=e;do{if(32768&t.flags)return void Rd(t,Nc);e=t.return;var n=Yl(t.alternate,t,Fc);if(null!==n)return void(Mc=n);if(null!==(t=t.sibling))return void(Mc=t);Mc=t=e}while(null!==t);0===zc&&(zc=5)}function Rd(e,t){do{var n=ql(e.alternate,e);if(null!==n)return n.flags&=32767,void(Mc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(Mc=e);Mc=e=n}while(null!==e);zc=6,Mc=null}function Nd(e,t,n,r,o,a,s,l,u,c,d,f){e.cancelPendingCommit=null;do{Bd()}while(0!==Zc);if(6&Ac)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));e===Oc&&(Mc=Oc=null,_c=0),ed=t,Jc=e,td=n,rd=o,od=r,function(e,t,n,r,o,i,a){var s=t.lanes|t.childLanes;if(nd=s,function(e,t,n,r,o,i){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-Fe(n),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Qe(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,n,s|=no,r,o,i),ad=null,(335544064&n)===n?(sd=function(e){var t=e.transitionTypes;return e.transitionTypes=null,t}(e),r=10262):(sd=null,r=10256),0!==(t.subtreeFlags&r)||0!==(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,function(e,t){we(e,t)}(Oe,function(){return Vd(),null})):(e.callbackNode=null,e.callbackPriority=0),hu=!1,r=!!(13878&t.flags),!!(13878&t.subtreeFlags)||r){r=Q.T,Q.T=null,o=Z.p,Z.p=2,i=Ac,Ac|=4;try{!function(e,t,n){if(e=e.containerInfo,$f=kh,Tr(e=Pr(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==i&&3!==f.nodeType||(l=s+i),f!==a||0!==o&&3!==f.nodeType||(u=s+o),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===i&&(l=s),p===a&&++d===o&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===l||-1===u?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ff={focusedElem:e,selectionRange:r},kh=!1,zu=t,t=(n=(335544064&n)===n)?9270:1024;null!==zu;){if(e=zu,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&Pu(r[i]);if(null===e.alternate&&2&e.flags)n&&gu(e),Wu(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&Pu(r),Wu(n);continue}if(null!==r&&null!==r.memoizedState){n&&gu(e),Wu(n);continue}}r=e.child,0!==(e.subtreeFlags&t)&&null!==r?(r.return=e,zu=r):(n&&Tu(e),Wu(n))}}mu=null}(e,t,n)}finally{Ac=i,Z.p=o,Q.T=r}}Zc=1,hu?id=function(e,t,n,r,o,i,a,s,l){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,a=u.fonts.status;r();var s=[];if("loaded"===a&&(function(e){e.documentElement.clientHeight}(u),"loading"===u.fonts.status&&s.push(u.fonts.ready)),a=s.length,null!==e)for(var l=e.suspenseyImages,c=0,d=0;d<l.length;d++){var f=l[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((c+=ih(f))>sh){s.length=a;break}f=new Promise(op.bind(f)),s.push(f)}}}return 0<s.length?(t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(o,o),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(o(),n?n.finished.then(i,i):void i())},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,o=r.pseudoElement;if(null!=o&&o.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var i=o=void 0,s=!0,l=0;l<n.length;l++){var c=n[l],f=c.width;if(void 0===o)o=f;else if(o!==f){s=!1;break}if(f=c.height,void 0===i)i=f;else if(i!==f){s=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}s&&void 0!==o&&void 0!==i&&(r.setKeyframes(n),(s=getComputedStyle(r.target,r.pseudoElement)).width!==o||s.height!==i)&&((s=n[0]).width=o,s.height=i,(s=n[n.length-1]).width=o,s.height=i,r.setKeyframes(n))}}a()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{if("object"==typeof e&&null!==e&&"InvalidStateError"===e.name)"View transition was skipped because document visibility state is hidden."!==e.message&&"Skipping view transition because document visibility state has become hidden."!==e.message&&"Skipping view transition because viewport size changed."!==e.message&&"Transition was aborted because of invalid state"!==e.message||(e=null);null!==e&&l(e)}finally{r(),o(),a()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),s()}),c}catch(e){return r(),o(),a(),null}}(a,e.containerInfo,sd,Fd,zd,$d,Dd,Vd,Ld):(Fd(),zd(),Dd())}(e,t,n,s,l,u,f)}}function Ld(e){0!==Zc&&(0,Jc.onRecoverableError)(e,{componentStack:null})}function $d(){3===Zc&&(Zc=0,lc(ed,Jc),Zc=4)}function Fd(){if(1===Zc){Zc=0;var e=Jc,t=ed,n=td,r=!!(13878&t.flags);if(13878&t.subtreeFlags||r){r=Q.T,Q.T=null;var o=Z.p;Z.p=2;var i=Ac;Ac|=4;try{Iu=Bu=!1,oc(t,e,n),n=Ff;var a=Pr(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(a!==s&&s&&s.ownerDocument&&Er(s.ownerDocument.documentElement,s)){if(null!==l&&Tr(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=s.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!p.extend&&m>g&&(a=g,g=m,m=a);var y=Cr(s,m),v=Cr(s,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=s;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var x=d[s];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}kh=!!$f,Ff=$f=null}finally{Ac=i,Z.p=o,Q.T=r}}e.current=t,Zc=2}}function zd(){if(2===Zc){Zc=0;var e=Jc,t=ed,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=Q.T,Q.T=null;var r=Z.p;Z.p=2;var o=Ac;Ac|=4;try{Uu(e,t.alternate,t)}finally{Ac=o,Z.p=r,Q.T=n}}Zc=3}}function Dd(){if(4===Zc||3===Zc){Zc=0;var e=id;id=null,Ce();var t=Jc,n=ed,r=td,o=od,i=(335544064&r)===r?10262:10256;if(0!==(n.subtreeFlags&i)||0!==(n.flags&i)?Zc=5:(Zc=0,ed=Jc=null,Id(t,t.pendingLanes)),0===(i=t.pendingLanes)&&(Qc=null),tt(r),n=n.stateNode,Le&&"function"==typeof Le.onCommitFiberRoot)try{Le.onCommitFiberRoot(Ne,n,void 0,!(128&~n.current.flags))}catch(e){}if(null!==o){n=Q.T,i=Z.p,Z.p=2,Q.T=null;try{for(var a=t.onRecoverableError,s=0;s<o.length;s++){var l=o[s];a(l.value,{componentStack:l.stack})}}finally{Q.T=n,Z.p=i}}if(a=sd,sd=null,null!==(o=ad)&&(ad=null,null===a&&(a=[]),null!==e))for(l=0;l<o.length;l++)void 0!==(n=(0,o[l])(a))&&e.finished.finally(n);3&td&&Bd(),nf(t),i=t.pendingLanes,261930&r&&42&i?t===ud?ld++:(ld=0,ud=t):(ld=0,ud=null),rf(0,!1)}}function Id(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,hi(t)))}function Bd(){return null!==id&&(id.skipTransition(),id=null),Fd(),zd(),Dd(),Vd()}function Vd(){if(5!==Zc)return!1;var e=Jc,t=nd;nd=0;var n=tt(td),r=Q.T,o=Z.p;try{Z.p=32>n?32:n,Q.T=null,n=rd,rd=null;var a=Jc,s=td;if(Zc=0,ed=Jc=null,td=0,6&Ac)throw Error(i(331));var l=Ac;if(Ac|=4,kc(a.current),mc(a,a.current,s,n),Ac=l,rf(0,!1),Le&&"function"==typeof Le.onPostCommitFiberRoot)try{Le.onPostCommitFiberRoot(Ne,a)}catch(e){}return!0}finally{Z.p=o,Q.T=r,Id(e,t)}}function Wd(e,t,n){t=So(n,t),null!==(e=Gi(e,t=al(e.stateNode,t,2),2))&&(Xe(e,2),nf(e))}function Ud(e,t,n){if(3===e.tag)Wd(e,e,n);else for(;null!==t;){if(3===t.tag){Wd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Qc||!Qc.has(r))){e=So(n,e),null!==(r=Gi(t,n=sl(2),2))&&(ll(n,r,t,e),Xe(r,2),nf(r));break}}t=t.return}}function Hd(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Tc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||($c=!0,o.add(n),e=Kd.bind(null,e,t,n),t.then(e,e))}function Kd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Oc===e&&(_c&n)===n&&(4===zc||3===zc&&(62914560&_c)===_c&&300>Ee()-Yc?2&Ac?Bc|=n:xd(e,0):Bc|=n,Wc===_c&&(Wc=0)),nf(e)}function Yd(e,t){0===t&&(t=qe()),null!==(e=ao(e,t))&&(Xe(e,t),nf(e))}function qd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Yd(e,n)}function Gd(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),Yd(e,n)}var Xd=null,Qd=null,Zd=!1,Jd=!1,ef=!1,tf=0;function nf(e){e!==Qd&&null===e.next&&(null===Qd?Xd=Qd=e:Qd=Qd.next=e),Jd=!0,Zd||(Zd=!0,qf(function(){6&Ac?we(Te,of):af()}))}function rf(e,t){if(!ef&&Jd){ef=!0;do{for(var n=!1,r=Xd;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,s=r.pingedLanes;i=(1<<31-Fe(42|e)+1)-1,i=201326741&(i&=o&~(a&~s))?201326741&i|1:i?2|i:0}0!==i&&(n=!0,uf(r,i))}else i=_c,!(3&(i=Ue(r,r===Oc?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||He(r,i)||(n=!0,uf(r,i));r=r.next}}while(n);ef=!1}}function of(){af()}function af(){Jd=Zd=!1;var e=0;0!==tf&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==Wf&&(Wf=e,!0);return Wf=null,!1}()&&(e=tf);for(var t=Ee(),n=null,r=Xd;null!==r;){var o=r.next,i=sf(r,t);0===i?(r.next=null,null===n?Xd=o:n.next=o,null===o&&(Qd=n)):(n=r,(0!==e||3&i)&&(Jd=!0)),r=o}0!==Zc&&5!==Zc||rf(e,!1),0!==tf&&(tf=0)}function sf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-Fe(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=Ye(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}if(n=_c,n=Ue(e,e===(t=Oc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===jc||9===jc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&Se(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||He(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&Se(r),tt(n)){case 2:case 8:n=Ae;break;case 32:default:n=Oe;break;case 268435456:n=_e}return r=lf.bind(null,e),n=we(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&Se(r),e.callbackPriority=2,e.callbackNode=null,2}function lf(e,t){if(0!==Zc&&5!==Zc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Bd()&&e.callbackNode!==n)return null;var r=_c;return 0===(r=Ue(e,e===Oc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(hd(e,r,t),sf(e,Ee()),null!=e.callbackNode&&e.callbackNode===n?lf.bind(null,e):null)}function uf(e,t){if(Bd())return null;hd(e,t,!0)}function cf(){if(0===tf){var e=bi;0===e&&(e=Ie,!(261888&(Ie<<=1))&&(Ie=256)),tf=e}return tf}function df(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Zt(e)}for(var ff=0;ff<Yr.length;ff++){var pf=Yr[ff];qr(pf.toLowerCase(),"on"+(pf[0].toUpperCase()+pf.slice(1)))}qr(Dr,"onAnimationEnd"),qr(Ir,"onAnimationIteration"),qr(Br,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(Vr,"onTransitionRun"),qr(Wr,"onTransitionStart"),qr(Ur,"onTransitionCancel"),qr(Hr,"onTransitionEnd"),Ct("onMouseEnter",["mouseout","mouseover"]),Ct("onMouseLeave",["mouseout","mouseover"]),Ct("onPointerEnter",["pointerout","pointerover"]),Ct("onPointerLeave",["pointerout","pointerover"]),kt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),kt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),kt("onBeforeInput",["compositionend","keypress","textInput","paste"]),kt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),kt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),kt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hf));function gf(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=u;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=u;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=l}}}}function yf(e,t){var n=t[lt];void 0===n&&(n=t[lt]=new Set);var r=e+"__bubble";n.has(r)||(wf(t,e,2,!1),n.add(r))}function vf(e,t,n){var r=0;t&&(r|=4),wf(n,e,r,t)}var bf="_reactListening"+Math.random().toString(36).slice(2);function xf(e){if(!e[bf]){e[bf]=!0,wt.forEach(function(t){"selectionchange"!==t&&(mf.has(t)||vf(t,!1,e),vf(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[bf]||(t[bf]=!0,vf("selectionchange",!1,t))}}function wf(e,t,n,r){switch(Mh(t)){case 2:var o=Ch;break;case 8:o=Eh;break;default:o=Ph}n=o.bind(null,t,n,e),o=void 0,!cn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Sf(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&a.stateNode.containerInfo===o)return;a=a.return}for(;null!==l;){if(null===(a=mt(l)))return;if(5===(u=a.tag)||6===u||26===u||27===u){r=i=a;continue e}l=l.parentNode}}r=r.return}sn(function(){var r=i,o=tn(n),a=[];e:{var l=Kr.get(e);if(void 0!==l){var u=Cn,c=e;switch(e){case"keypress":if(0===gn(n))break e;case"keydown":case"keyup":u=Dn;break;case"focusin":c="focus",u=Mn;break;case"focusout":c="blur",u=Mn;break;case"beforeblur":case"afterblur":u=Mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=An;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=On;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Vn;break;case Dr:case Ir:case Br:u=_n;break;case Hr:u=Wn;break;case"scroll":case"scrollend":u=Pn;break;case"wheel":u=Un;break;case"copy":case"cut":case"paste":u=jn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=In;break;case"submit":u=Bn;break;case"toggle":case"beforetoggle":u=Hn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=ln(m,p))&&d.push(kf(m,g,h)),f)break;m=m.return}0<d.length&&(l=new u(l,c,null,n,o),a.push({event:l,listeners:d}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(u="mouseover"===e||"pointerover"===e)&&n!==en&&(c=n.relatedTarget||n.fromElement)&&(mt(c)||c[st])||(l||u)&&(c=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?mt(u):null)&&(f=s(u),d=u.tag,u!==f||5!==d&&27!==d&&6!==d)&&(u=null)):(l=null,u=r),l!==u&&(d=An,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=In,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?c:yt(l),h=null==u?c:yt(u),(c=new d(g,m+"leave",l,n,o)).target=f,c.relatedTarget=h,g=null,mt(o)===r&&((d=new d(p,m+"enter",u,n,o)).target=h,d.relatedTarget=f,g=d),f=g,d=l&&u?P(l,u,Ef):null,null!==l&&Pf(a,c,l,d,!1),null!==u&&null!==f&&Pf(a,f,u,d,!0))),"select"===(u=(l=r?yt(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=ur;else if(rr(l))if(cr)y=br;else{y=yr;var v=gr}else!(u=l.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Gt(r.elementType)&&(y=ur):y=vr;switch(y&&(y=y(e,r))?or(a,y,n,o):v&&v(e,l,r),v=r?yt(r):window,e){case"focusin":(rr(v)||"true"===v.contentEditable)&&(Or=v,Mr=r,_r=null);break;case"focusout":_r=Mr=Or=null;break;case"mousedown":jr=!0;break;case"contextmenu":case"mouseup":case"dragend":jr=!1,Rr(a,n,o);break;case"selectionchange":if(Ar)break;case"keydown":case"keyup":Rr(a,n,o)}var b;if(Yn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else tr?Jn(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(Xn&&"ko"!==n.locale&&(tr||"onCompositionStart"!==x?"onCompositionEnd"===x&&tr&&(b=mn()):(pn="value"in(fn=o)?fn.value:fn.textContent,tr=!0)),0<(v=Cf(r,x)).length&&(x=new Rn(x,e,null,n,o),a.push({event:x,listeners:v}),b?x.data=b:null!==(b=er(n))&&(x.data=b))),(b=Gn?function(e,t){switch(e){case"compositionend":return er(t);case"keypress":return 32!==t.which?null:(Zn=!0,Qn);case"textInput":return(e=t.data)===Qn&&Zn?null:e;default:return null}}(e,n):function(e,t){if(tr)return"compositionend"===e||!Yn&&Jn(e,t)?(e=mn(),hn=pn=fn=null,tr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(x=Cf(r,"onBeforeInput")).length&&(v=new Rn("onBeforeInput","beforeinput",null,n,o),a.push({event:v,listeners:x}),v.data=b)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=df((o[at]||null).action),a=r.submitter;a&&null!==(t=(t=a[at]||null)?df(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var s=new Cn("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==tf){var e=new FormData(o,a);js(n,{pending:!0,data:e,method:o.method,action:i},null,e)}}else"function"==typeof i&&(s.preventDefault(),e=new FormData(o,a),js(n,{pending:!0,data:e,method:o.method,action:i},i,e))},currentTarget:o}]})}}(a,e,r,n,o)}gf(a,t)})}function kf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cf(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=ln(e,n))&&r.unshift(kf(e,o,i)),null!=(o=ln(e,t))&&r.push(kf(e,o,i))),3===e.tag)return r;e=e.return}return[]}function Ef(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Pf(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,o?null!=(u=ln(n,i))&&a.unshift(kf(n,u,l)):o||null!=(u=ln(n,i))&&a.push(kf(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Tf=/\r\n?/g,Af=/\u0000|\uFFFD/g;function Of(e){return("string"==typeof e?e:""+e).replace(Tf,"\n").replace(Af,"")}function Mf(e,t){return t=Of(t),Of(e)===t}function _f(e,t,n,r,o,a){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||Ht(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&Ht(e,""+r)}break;case"className":_t(e,"class",r);break;case"tabIndex":_t(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":_t(e,n,r);break;case"style":return void qt(e,r,a);case"data":if("object"!==t){_t(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&_f(e,t,"name",o.name,o,null),_f(e,t,"formEncType",o.formEncType,o,null),_f(e,t,"formMethod",o.formMethod,o,null),_f(e,t,"formTarget",o.formTarget,o,null)):(_f(e,t,"encType",o.encType,o,null),_f(e,t,"method",o.method,o,null),_f(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"onClick":return void(null!=r&&(e.onclick=Jt));case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Zt(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":yf("beforetoggle",e),yf("toggle",e),Mt(e,"popover",r);break;case"xlinkActuate":jt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":jt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":jt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":jt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":jt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":jt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":jt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":jt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":jt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Mt(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;Mt(e,n=Xt.get(n)||n,r)}At=!0}function jf(e,t,n,r,o,a){switch(n){case"style":return void qt(e,r,a);case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if("string"==typeof r)Ht(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;Ht(e,""+r)}break;case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"onClick":return void(null!=r&&(e.onclick=Jt));case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:return void(St.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),a=n.slice(2,o?n.length-7:void 0),"function"==typeof(t=null!=(t=e[at]||null)?t[n]:null)&&e.removeEventListener(a,t,o),"function"!=typeof r)?(At=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):Mt(e,n,r)):("function"!=typeof t&&null!==t&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,o))))}At=!0}function Rf(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yf("error",e),yf("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:_f(e,t,r,s,n,null)}}return a&&_f(e,t,"srcSet",n.srcSet,n,null),void(o&&_f(e,t,"src",n.src,n,null));case"input":yf("invalid",e);var l=r=s=a=null,u=null,c=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":s=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:_f(e,t,o,d,n,null)}}return void It(e,r,l,u,c,s,a,!1);case"select":for(a in yf("invalid",e),o=s=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:_f(e,t,a,l,n,null)}return t=r,n=s,e.multiple=!!o,void(null!=t?Vt(e,!!o,t,!1):null!=n&&Vt(e,!!o,n,!0));case"textarea":for(s in yf("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(i(91));break;default:_f(e,t,s,l,n,null)}return void Ut(e,o,a,r);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))if("selected"===u)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else _f(e,t,u,o,n,null);return;case"dialog":yf("beforetoggle",e),yf("toggle",e),yf("cancel",e),yf("close",e);break;case"iframe":case"object":yf("load",e);break;case"video":case"audio":for(o=0;o<hf.length;o++)yf(hf[o],e);break;case"image":yf("error",e),yf("load",e);break;case"details":yf("toggle",e);break;case"embed":case"source":case"link":yf("error",e),yf("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:_f(e,t,c,o,n,null)}return;default:if(Gt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&jf(e,t,d,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&_f(e,t,l,o,n,null))}var Nf={};function Lf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var $f=null,Ff=null;function zf(e){return 9===e.nodeType?e:e.ownerDocument}function Df(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function If(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Bf(e,t,n,r){return(n=zf(n).createElement(e))[it]=r,n[at]=t,Rf(n,e,t),bt(n),n}function Vf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wf=null;var Uf="function"==typeof setTimeout?setTimeout:void 0,Hf="function"==typeof clearTimeout?clearTimeout:void 0,Kf="function"==typeof Promise?Promise:void 0,Yf="function"==typeof requestAnimationFrame?requestAnimationFrame:Uf,qf="function"==typeof queueMicrotask?queueMicrotask:void 0!==Kf?function(e){return Kf.resolve(null).then(e).catch(Gf)}:Uf;function Gf(e){setTimeout(function(){throw e})}function Xf(e){return"head"===e}function Qf(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void qh(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Fp(e.ownerDocument.documentElement);else if("head"===n){Fp(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var a=i.nextSibling,s=i.nodeName;i[ft]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=a}}else"body"===n&&Fp(e.ownerDocument.body);n=o}while(n);qh(t)}function Zf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Jf(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var o=r=0;o<t.length;o++){var i=t[o];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function ep(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function tp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function np(e){return tp(e.getBoundingClientRect(),getComputedStyle(e),e)}function rp(e){var t=e.getBoundingClientRect();return tp(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function op(e){this.addEventListener("load",e),this.addEventListener("error",e)}function ip(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function ap(e){return{name:e,group:new ip("group",e),imagePair:new ip("image-pair",e),old:new ip("old",e),new:new ip("new",e)}}function sp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function lp(e,t,n,r){return x(e).addEventListener(t,n,r),!1}function up(e,t,n,r){return x(e).removeEventListener(t,n,r),!1}function cp(e){return null!=e&&"boolean"!=typeof e&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function dp(e){return null==e?"c=0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function fp(e,t,n,r){if(0===e.length)return-1;r=dp(r);for(var o=0;o<e.length;o++){var i=e[o];if(i.type===t&&i.listener===n&&dp(i.optionsOrUseCapture)===r)return o}return-1}function pp(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=x(e),t)}function hp(e,t){return t.push(e),!1}function mp(e,t){return 6!==e.tag&&(!((e=x(e))!==t&&!e.contains(t))&&(t.blur(),!0))}function gp(e,t){return 6===e.tag||(e=x(e),t.observe(e)),!1}function yp(e,t){return 6===e.tag||(e=x(e),t.unobserve(e)),!1}ip.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},ip.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],o=0;o<n.length;o++){var i=n[o].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[o])}return r},ip.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},sp.prototype.addEventListener=function(e,t,n){var r=null,o=null;if(null==n||"boolean"==typeof n||(null===(r=n.signal||null)||!r.aborted)){null===this._eventListeners&&(this._eventListeners=[]);var i=this._eventListeners;if(-1===fp(i,e,t,n)){var a=this,s=t;null!=n&&"boolean"!=typeof n&&!0===n.once&&(s=function(r){a.removeEventListener(e,t,n),"function"==typeof t?t.call(this,r):t.handleEvent(r)}),null!==r&&(o=a.removeEventListener.bind(a,e,t,n),r.addEventListener("abort",o,{once:!0}),o=r.removeEventListener.bind(r,"abort",o)),r=cp(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:o}),h(this._fragmentFiber.child,!1,lp,e,s,r)}this._eventListeners=i}},sp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(null!==r&&-1!==(t=fp(r,e,t,n))){var o=r[t];n=o.attachedListener;var i=o.cleanup;o=cp(o.optionsOrUseCapture),h(this._fragmentFiber.child,!1,up,e,n,o),r.splice(t,1),null!==i&&i()}},sp.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(null===t)return!0;t=x(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=9===t.nodeType?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];r.addEventListener(i.type,i.attachedListener,cp(i.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],r.removeEventListener(i.type,i.attachedListener,cp(i.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},sp.prototype.focus=function(e){h(this._fragmentFiber.child,!0,pp,e,void 0,void 0)},sp.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!pp(t[n],e);n--);},sp.prototype.blur=function(){var e=g(this._fragmentFiber);null!==e&&(null!==(e=zf(e=x(e)).activeElement)&&h(this._fragmentFiber.child,!1,mp,e,void 0,void 0))},sp.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,gp,e,void 0,void 0)},sp.prototype.unobserveUsing=function(e){var t=this._observers;if(null!==t&&t.has(e)){t.delete(e),h(this._fragmentFiber.child,!1,yp,e,void 0,void 0);for(var n=t=0;n<vp.length;n++){var r=vp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):vp[t++]=r}vp.length=t}};var vp=[],bp=!1;function xp(e,t,n){var r;vp.push({fragmentInstance:e,observer:t,instance:n}),bp||(bp=!0,r=function(){bp=!1;var e=vp;vp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}},Yf(function(){Yf(function(e){return r(e)})}))}function wp(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=x(e),t.push.apply(t,e.getClientRects());return!1}function Sp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function kp(e,t){return Cp(e=x(e),t),!1}function Cp(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Ep(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.addEventListener(o.type,o.attachedListener,cp(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){for(var r=0,o=0;o<vp.length;o++){var i=vp[o];i.fragmentInstance===t&&i.observer===n&&i.instance===e||(vp[r++]=i)}vp.length=r,n.observe(e)}),Cp(e,t))}function Pp(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.removeEventListener(o.type,o.attachedListener,cp(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){"string"==typeof n.rootMargin?xp(t,n,e):n.unobserve(e)}),null!=e.reactFragments&&e.reactFragments.delete(t))}function Tp(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Tp(n),ht(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Ap(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=_p(e.nextSibling)))return null}return e}function Op(e){return"$?"===e.data||"$~"===e.data}function Mp(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function _p(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}sp.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,wp,e,void 0,void 0),e},sp.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return null===t?this:x(t).getRootNode(e)},sp.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,hp,n,void 0,void 0);var r=x(t);if(0===n.length){if(n=r,y(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;null!==t;){if(4===t.tag){t=t.stateNode.containerInfo;break e}if(3===t.tag||5===t.tag||27===t.tag)break;t=t.return}t=null}null!=t&&(n=t)}t=this._fragmentFiber;var o=r=n.compareDocumentPosition(e);return n===e?o=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(null===(n=v(t)[1])?o=Node.DOCUMENT_POSITION_PRECEDING:o=0===(e=x(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),o|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=x(n[0]),o=x(n[n.length-1]);var i=y(this._fragmentFiber)?t.parentElement:r;if(null==i)return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var a=t.compareDocumentPosition(e),s=o.compareDocumentPosition(e),l=a&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&i&&a&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&o===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:a)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,o){var i=mt(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return o===(i=o.ownerDocument)||o===i.documentElement||o===i.body;e:{for(i=t,t=g(t);null!==i;){if(!(5!==i.tag&&3!==i.tag&&27!==i.tag||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=P(n,i,E))?t=!1:(h(t,!0,k,i,n),i=w,w=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=P(r,i,E))?t=!1:(h(t,!0,C,i,r),i=w,S=w=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},sp.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(i(566));var t=[];h(this._fragmentFiber.child,!1,hp,t,void 0,void 0);var n=!1!==e;if(0===t.length){var r=v(this._fragmentFiber);if(null===(r=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1]))return;if(6===r.tag)return void Sp(e=x(r),n);if(9!==(r=x(r)).nodeType){if(11===r.nodeType)return void(null!==(n="host"in r?r.host:null)&&n.scrollIntoView(e));r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var o=t[r];6===o.tag?Sp(o=x(o),n):x(o).scrollIntoView(e),r+=n?-1:1}};var jp=null;function Rp(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return _p(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Np(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Lp(e,t,n){switch(t=zf(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function $p(e,t,n){for(var r in n){var o=n[r];n.hasOwnProperty(r)&&null!=o&&_f(e,t,r,null,Nf,o)}null!=n.dangerouslySetInnerHTML&&(e.textContent=""),e.onclick===Jt&&(e.onclick=null),ht(e)}function Fp(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ht(e)}var zp=new Map,Dp=new Set;function Ip(e){if("function"==typeof e.getRootNode){var t=e.getRootNode();if(9===t.nodeType||11===t.nodeType)return t}return 9===e.nodeType?e:e.ownerDocument}var Bp=Z.d;Z.d={f:function(){var e=Bp.f(),t=vd();return e||t},r:function(e){var t=gt(e);null!==t&&5===t.tag&&"form"===t.type?Ns(t):Bp.r(e)},D:function(e){Bp.D(e),Wp("dns-prefetch",e,null)},C:function(e,t){Bp.C(e,t),Wp("preconnect",e,t)},L:function(e,t,n){Bp.L(e,t,n);var r=Vp;if(r&&e&&t){var o='link[rel="preload"][as="'+zt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+zt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+zt(n.imageSizes)+'"]')):o+='[href="'+zt(e)+'"]';var i=o;switch(t){case"style":i=Hp(e);break;case"script":i=qp(e)}if(!(zp.has(i)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),zp.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Kp(i))||"script"===t&&r.querySelector(Gp(i))))){var a=r.createElement("link");Rf(a,"link",e),"style"===t&&(a[pt]=!0,a.onload=a.onerror=function(){xt(a)}),bt(a),r.head.appendChild(a)}}},m:function(e,t){Bp.m(e,t);var n=Vp;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+zt(r)+'"][href="'+zt(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=qp(e)}if(!zp.has(i)&&(e=T({rel:"modulepreload",href:e},t),zp.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Gp(i)))return}Rf(r=n.createElement("link"),"link",e),bt(r),n.head.appendChild(r)}}},X:function(e,t){Bp.X(e,t);var n=Vp;if(n&&e){var r=vt(n).hoistableScripts,o=qp(e),i=r.get(o);i||((i=n.querySelector(Gp(o)))||(e=T({src:e,async:!0},t),(t=zp.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Rf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:function(e,t,n){Bp.S(e,t,n);var r=Vp;if(r&&e){var o=vt(r).hoistableStyles,i=Hp(e);t=t||"default";var a=o.get(i);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Kp(i)))s.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=zp.get(i))&&Zp(e,n);var l=a=r.createElement("link");bt(l),Rf(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Qp(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},o.set(i,a)}}},M:function(e,t){Bp.M(e,t);var n=Vp;if(n&&e){var r=vt(n).hoistableScripts,o=qp(e),i=r.get(o);i||((i=n.querySelector(Gp(o)))||(e=T({src:e,async:!0,type:"module"},t),(t=zp.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Rf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var Vp="undefined"==typeof document?null:document;function Wp(e,t,n){var r=Vp;if(r&&"string"==typeof t&&t){var o=zt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Dp.has(o)||(Dp.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Rf(t=r.createElement("link"),"link",e),bt(t),r.head.appendChild(t)))}}function Up(e,t,n,r){var o=(o=ue.current)?Ip(o):null;if(!o)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=Hp(n.href),(r=(t=vt(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Hp(n.href);var a=vt(o).hoistableStyles,s=a.get(e);if(s||(o=o.ownerDocument||o,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=o.querySelector(Kp(e)))?a._p||(s.instance=a,s.state.loading=5):((a=zp.get(e))||(a={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},zp.set(e,a)),function(e,t,n,r){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(!0!==t[pt])return void(r.loading=1)}else(t=e.createElement("link"))[pt]=!0,t.onload=t.onerror=xt.bind(null,t),Rf(t,"link",n),bt(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}(o,e,a,s.state))),t&&null===r)throw Error(i(528,""));return s}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=qp(n),(r=(t=vt(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Hp(e){return'href="'+zt(e)+'"'}function Kp(e){return'link[rel="stylesheet"]['+e+"]"}function Yp(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function qp(e){return'[src="'+zt(e)+'"]'}function Gp(e){return"script[async]"+e}function Xp(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+zt(n.href)+'"]');if(r)return t.instance=r,bt(r),r;var o=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return bt(r=(e.ownerDocument||e).createElement("style")),Rf(r,"style",o),Qp(r,n.precedence,e),t.instance=r;case"stylesheet":o=Hp(n.href);var a=e.querySelector(Kp(o));if(a)return t.state.loading|=4,t.instance=a,bt(a),a;r=Yp(n),(o=zp.get(o))&&Zp(r,o),bt(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Rf(a,"link",r),t.state.loading|=4,Qp(a,n.precedence,e),t.instance=a;case"script":return a=qp(n.src),(o=e.querySelector(Gp(a)))?(t.instance=o,bt(o),o):(r=n,(o=zp.get(a))&&Jp(r=T({},n),o),bt(o=(e=e.ownerDocument||e).createElement("script")),Rf(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Qp(r,n.precedence,e));return t.instance}function Qp(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)i=s;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Zp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Jp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var eh=null;function th(e,t,n){if(null===eh){var r=new Map,o=eh=new Map;o.set(n,r)}else(r=(o=eh).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[ft]||i[it]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var a=i.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(i):r.set(a,[i])}}return r}function nh(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function rh(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function oh(e){return!!("stylesheet"!==e.type||3&e.state.loading)}function ih(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function ah(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=ih(t),e.suspenseyImages.push(t)),e=ch.bind(e),t.decode().then(e,e))}var sh=0;function lh(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages))if(e.stylesheets)fh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}function uh(){this.count--,lh(this)}function ch(){this.imgCount--,lh(this)}var dh=null;function fh(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dh=new Map,t.forEach(ph,e),dh=null,uh.call(e))}function ph(e,t){if(!(4&t.state.loading)){var n=dh.get(e);if(n)var r=n.get(null);else{n=new Map,dh.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(null,o),n.set(a,o),this.count++,r=uh.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var hh={$$typeof:L,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function mh(e,t,n,r,o,i,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ge(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ge(0),this.hiddenUpdates=Ge(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function gh(e,t,n,r,o,i,a,s,l,u,c,d){return e=new mh(e,t,n,a,l,u,c,d,s),t=1,!0===i&&(t|=24),i=fo(3,null,null,t),e.current=i,i.stateNode=e,(t=pi()).refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},Ki(i),e}function yh(e){return e?e=uo:uo}function vh(e,t,n,r,o,i){o=yh(o),null===r.context?r.context=o:r.pendingContext=o,(r=qi(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=Gi(e,r,t))&&(pd(n,0,t),Xi(n,e,t))}function bh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function xh(e,t){bh(e,t),(e=e.alternate)&&bh(e,t)}function wh(e){if(13===e.tag||31===e.tag){var t=ao(e,67108864);null!==t&&pd(t,0,67108864),xh(e,67108864)}}function Sh(e){if(13===e.tag||31===e.tag){var t=cd(),n=ao(e,t=et(t));null!==n&&pd(n,0,t),xh(e,t)}}var kh=!0;function Ch(e,t,n,r){var o=Q.T;Q.T=null;var i=Z.p;try{Z.p=2,Ph(e,t,n,r)}finally{Z.p=i,Q.T=o}}function Eh(e,t,n,r){var o=Q.T;Q.T=null;var i=Z.p;try{Z.p=8,Ph(e,t,n,r)}finally{Z.p=i,Q.T=o}}function Ph(e,t,n,r){if(kh){var o=Th(r);if(null===o)Sf(e,t,r,Ah,n),Dh(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return jh=Ih(jh,e,t,n,r,o),!0;case"dragenter":return Rh=Ih(Rh,e,t,n,r,o),!0;case"mouseover":return Nh=Ih(Nh,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Lh.set(i,Ih(Lh.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,$h.set(i,Ih($h.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dh(e,r),4&t&&-1<zh.indexOf(e)){for(;null!==o;){var i=gt(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=We(i.pendingLanes);if(0!==a){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-Fe(a);s.entanglements[1]|=l,a&=~l}nf(i),!(6&Ac)&&(Gc=Ee()+500,rf(0,!1))}}break;case 31:case 13:null!==(s=ao(i,2))&&pd(s,0,2),vd(),xh(i,2)}if(null===(i=Th(r))&&Sf(e,t,r,Ah,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Sf(e,t,r,null,n)}}function Th(e){return Oh(e=tn(e))}var Ah=null;function Oh(e){if(Ah=null,null!==(e=mt(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=u(t)))return e;e=null}else if(31===n){if(null!==(e=c(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ah=e,null}function Mh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pe()){case Te:return 2;case Ae:return 8;case Oe:case Me:return 32;case _e:return 268435456;default:return 32}default:return 32}}var _h=!1,jh=null,Rh=null,Nh=null,Lh=new Map,$h=new Map,Fh=[],zh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Dh(e,t){switch(e){case"focusin":case"focusout":jh=null;break;case"dragenter":case"dragleave":Rh=null;break;case"mouseover":case"mouseout":Nh=null;break;case"pointerover":case"pointerout":Lh.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$h.delete(t.pointerId)}}function Ih(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=gt(t))&&wh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Bh(e){var t=mt(e.target);if(null!==t){var n=s(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=u(n)))return e.blockedOn=t,void rt(e.priority,function(){Sh(n)})}else if(31===t){if(null!==(t=c(n)))return e.blockedOn=t,void rt(e.priority,function(){Sh(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Vh(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Th(e.nativeEvent);if(null!==n)return null!==(t=gt(n))&&wh(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);en=r,n.target.dispatchEvent(r),en=null,t.shift()}return!0}function Wh(e,t,n){Vh(e)&&n.delete(t)}function Uh(){_h=!1,null!==jh&&Vh(jh)&&(jh=null),null!==Rh&&Vh(Rh)&&(Rh=null),null!==Nh&&Vh(Nh)&&(Nh=null),Lh.forEach(Wh),$h.forEach(Wh)}function Hh(e,t){e.blockedOn===t&&(e.blockedOn=null,_h||(_h=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Uh)))}var Kh=null;function Yh(e){Kh!==e&&(Kh=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Kh===e&&(Kh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Oh(r||n))continue;break}var i=gt(n);null!==i&&(e.splice(t,3),t-=3,js(i,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function qh(e){function t(t){return Hh(t,e)}null!==jh&&Hh(jh,e),null!==Rh&&Hh(Rh,e),null!==Nh&&Hh(Nh,e),Lh.forEach(t),$h.forEach(t);for(var n=0;n<Fh.length;n++){var r=Fh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Fh.length&&null===(n=Fh[0]).blockedOn;)Bh(n),null===n.blockedOn&&Fh.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[at]||null;if("function"==typeof i)a||Yh(n);else if(a){var s=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[at]||null)s=a.formAction;else if(null!==Oh(o))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Yh(n)}}}function Gh(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function Xh(e){this._internalRoot=e}function Qh(e){this._internalRoot=e}Qh.prototype.render=Xh.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));vh(t.current,cd(),e,t,null,null)},Qh.prototype.unmount=Xh.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;vh(e.current,2,null,e,null,null),vd(),t[st]=null}},Qh.prototype.unstable_scheduleHydration=function(e){if(e){var t=nt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Fh.length&&0!==t&&t<Fh[n].priority;n++);Fh.splice(n,0,e),0===n&&Bh(e)}};var Zh=r.version;if("19.3.1"!==Zh)throw Error(i(527,Zh,"19.3.1"));Z.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?p(e):null)?null:e.stateNode};var Jh={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.3.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var em=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!em.isDisabled&&em.supportsFiber)try{Ne=em.inject(Jh),Le=em}catch(e){}}t.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r="",o=tl,s=nl,l=rl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=gh(e,1,!1,null,0,n,r,null,o,s,l,Gh),e[st]=t.current,xf(e),new Xh(t)}}),a=n.cw((e,t)=>{var n=f();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},a=Symbol.for("react.portal"),s=Symbol.for("react.recoverable"),l=Symbol.for("react.optimistic_key");var u=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.browser=function(e){return{$$typeof:s,_reason:e}},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(r(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==r?null:r===l?l:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=u.T,n=i.p;try{if(u.T=null,i.p=2,e)return e()}finally{u.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},t.useFormStatus=function(){return u.H.useHostTransitionStatus()},t.version="19.3.1"}),s=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=i()}),l=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=a()}),u=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case p:case f:case s:return e;default:return t}}case r:return t}}}t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||void 0!==e.getModuleId)}}),c=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o}),d=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),m=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var S=w.prototype=new x;S.constructor=w,y(S,b.prototype),S.isPureReactComponent=!0;var k=Array.isArray;function C(){}var E={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function T(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function _(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case f:return _((c=e._init)(e._payload),t,o,i,a)}}if(c)return a=a(e),c=""===i?"."+M(e,0):i,k(a)?(o="",null!=c&&(o=c.replace(O,"$&/")+"/"),_(a,t,o,"",function(e){return e})):null!=a&&(A(a)&&(l=a,u=o+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+c,a=T(l.type,u,l.props)),t.push(a)),1;c=0;var d,p=""===i?".":i+":";if(k(e))for(var h=0;h<e.length;h++)c+=_(i=e[h],t,o,s=p+M(i,h),a);else if("function"==typeof(h=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(e=h.call(e),h=0;!(i=e.next()).done;)c+=_(i=i.value,t,o,s=p+M(i,h++),a);else if("object"===s){if("function"==typeof e.then)return _(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,i,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function j(e,t,n){if(null==e)return e;var r=[],o=0;return _(e,r,"","",function(e){return t.call(n,e,o++)}),r}function R(e){if(-1===e._status){var t=(0,e._result)();t.then(function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n,void 0===t.status&&(t.status="fulfilled",t.value=n))},function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n,void 0===t.status&&(t.status="rejected",t.reason=n))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function L(e){var t=E.T,n={};n.types=null!==t?t.types:null,E.T=n;try{var r=e(),o=E.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(C,N)}catch(e){N(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}}var $={map:j,forEach:function(e,t,n){j(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=p,t.Children=$,t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=w,t.StrictMode=i,t.Suspense=c,t.ViewTransition=h,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.addTransitionType=function e(t){var n=E.T;if(null!==n){var r=n.types;null===r?n.types=[t]:-1===r.indexOf(t)&&r.push(t)}else L(e.bind(null,t))},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key;if(null!=t)for(i in void 0!==t.key&&(o=""+t.key),t)!P.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}return T(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,o={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)P.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return T(e,i,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=L,t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.3.1"}),f=n.cw(e=>{e.exports=d()}),p=n.cw(e=>{e.exports=c()}),h=n.cw((e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function S(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,C||(C=!0,k());else{var t=r(c);null!==t&&j(S,t.startTime-e)}}var k,C=!1,E=-1,P=5,T=-1;function A(){return!!y||!(t.unstable_now()-T<P)}function O(){if(y=!1,C){var e=t.unstable_now();T=e;var n=!0;try{e:{m=!1,g&&(g=!1,b(E),E=-1),h=!0;var i=p;try{t:{for(w(e),f=r(u);null!==f&&!(f.expirationTime>e&&A());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){f.callback=s,w(e),n=!0;break t}f===r(u)&&o(u),w(e)}else o(u);f=r(u)}if(null!==f)n=!0;else{var l=r(c);null!==l&&j(S,l.startTime-e),n=!1}}break e}finally{f=null,p=i,h=!1}n=void 0}}finally{n?k():C=!1}}}if("function"==typeof x)k=function(){x(O)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,_=M.port2;M.port1.onmessage=O,k=function(){_.postMessage(null)}}else k=function(){v(O,0)};function j(e,n){E=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(b(E),E=-1):g=!0,j(S,i-a))):(e.sortIndex=s,n(u,e),m||h||(m=!0,C||(C=!0,k()))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}),m=n.cw(e=>{e.exports=h()});function g(){return g.c||(g.c=n.t(f(),2))}function y(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=y(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}p(),f(),l(),s();const v=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=y(e))&&(r&&(r+=" "),r+=t);return r};function b(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}function x(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function w(e){if("string"!=typeof e)throw new Error(x(7));return e.charAt(0).toUpperCase()+e.slice(1)}const S=w;function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(null,arguments)}var C=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),E=Math.abs,P=String.fromCharCode,T=Object.assign;function A(e){return e.trim()}function O(e,t,n){return e.replace(t,n)}function M(e,t){return e.indexOf(t)}function _(e,t){return 0|e.charCodeAt(t)}function j(e,t,n){return e.slice(t,n)}function R(e){return e.length}function N(e){return e.length}function L(e,t){return t.push(e),e}var $=1,F=1,z=0,D=0,I=0,B="";function V(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:$,column:F,length:a,return:""}}function W(e,t){return T(V("",null,null,"",null,null,0),e,{length:-e.length},t)}function U(){return I=D>0?_(B,--D):0,F--,10===I&&(F=1,$--),I}function H(){return I=D<z?_(B,D++):0,F++,10===I&&(F=1,$++),I}function K(){return _(B,D)}function Y(){return D}function q(e,t){return j(B,e,t)}function G(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function X(e){return $=F=1,z=R(B=e),D=0,[]}function Q(e){return B="",e}function Z(e){return A(q(D-1,te(91===e?e+2:40===e?e+1:e)))}function J(e){for(;(I=K())&&I<33;)H();return G(e)>2||G(I)>3?"":" "}function ee(e,t){for(;--t&&H()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return q(e,Y()+(t<6&&32==K()&&32==H()))}function te(e){for(;H();)switch(I){case e:return D;case 34:case 39:34!==e&&39!==e&&te(I);break;case 40:41===e&&te(e);break;case 92:H()}return D}function ne(e,t){for(;H()&&e+I!==57&&(e+I!==84||47!==K()););return"/*"+q(t,D-1)+"*"+P(47===e?e:H())}function re(e){for(;!G(K());)H();return q(e,D)}var oe="-ms-",ie="-moz-",ae="-webkit-",se="comm",le="rule",ue="decl",ce="@keyframes";function de(e,t){for(var n="",r=N(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function fe(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ue:return e.return=e.return||e.value;case se:return"";case ce:return e.return=e.value+"{"+de(e.children,r)+"}";case le:e.value=e.props.join(",")}return R(n=de(e.children,r))?e.return=e.value+"{"+n+"}":""}function pe(e){return Q(he("",null,null,null,[""],e=X(e),0,[0],e))}function he(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,g=1,y=1,v=0,b="",x=o,w=i,S=r,k=b;g;)switch(h=v,v=H()){case 40:if(108!=h&&58==_(k,d-1)){-1!=M(k+=O(Z(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=Z(v);break;case 9:case 10:case 13:case 32:k+=J(h);break;case 92:k+=ee(Y()-1,7);continue;case 47:switch(K()){case 42:case 47:L(ge(ne(H(),Y()),t,n),l);break;default:k+="/"}break;case 123*m:s[u++]=R(k)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==y&&(k=O(k,/\f/g,"")),p>0&&R(k)-d&&L(p>32?ye(k+";",r,n,d-1):ye(O(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if(L(S=me(k,t,n,u,c,o,s,b,x=[],w=[],d),i),123===v)if(0===c)he(k,t,S,S,x,i,d,s,w);else switch(99===f&&110===_(k,3)?100:f){case 100:case 108:case 109:case 115:he(e,S,S,r&&L(me(e,S,S,0,0,o,s,b,o,x=[],d),w),o,w,d,s,r?x:w);break;default:he(k,S,S,S,[""],w,0,s,w)}}u=c=p=0,m=y=1,b=k="",d=a;break;case 58:d=1+R(k),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==U())continue;switch(k+=P(v),v*m){case 38:y=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(R(k)-1)*y,y=1;break;case 64:45===K()&&(k+=Z(H())),f=K(),c=d=R(b=k+=re(Y())),v++;break;case 45:45===h&&2==R(k)&&(m=0)}}return i}function me(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=N(f),h=0,m=0,g=0;h<r;++h)for(var y=0,v=j(e,d+1,d=E(m=a[h])),b=e;y<p;++y)(b=A(m>0?f[y]+" "+v:O(v,/&\f/g,f[y])))&&(l[g++]=b);return V(e,t,n,0===o?le:s,l,u,c)}function ge(e,t,n){return V(e,t,n,se,P(I),j(e,2,-2),0)}function ye(e,t,n,r){return V(e,t,n,ue,j(e,0,r),j(e,r+1,-1),r)}var ve=function(e,t,n){for(var r=0,o=0;r=o,o=K(),38===r&&12===o&&(t[n]=1),!G(o);)H();return q(e,D)},be=function(e,t){return Q(function(e,t){var n=-1,r=44;do{switch(G(r)){case 0:38===r&&12===K()&&(t[n]=1),e[n]+=ve(D-1,t,n);break;case 2:e[n]+=Z(r);break;case 4:if(44===r){e[++n]=58===K()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=H());return e}(X(e),t))},xe=new WeakMap,we=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xe.get(n))&&!r){xe.set(e,!0);for(var o=[],i=be(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Se=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ke(e,t){switch(function(e,t){return 45^_(e,0)?(((t<<2^_(e,0))<<2^_(e,1))<<2^_(e,2))<<2^_(e,3):0}(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ie+e+oe+e+e;case 6828:case 4268:return ae+e+oe+e+e;case 6165:return ae+e+oe+"flex-"+e+e;case 5187:return ae+e+O(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+oe+"flex-$1$2")+e;case 5443:return ae+e+oe+"flex-item-"+O(e,/flex-|-self/,"")+e;case 4675:return ae+e+oe+"flex-line-pack"+O(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+oe+O(e,"shrink","negative")+e;case 5292:return ae+e+oe+O(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+O(e,"-grow","")+ae+e+oe+O(e,"grow","positive")+e;case 4554:return ae+O(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return O(O(O(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return O(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return O(O(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return O(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(R(e)-1-t>6)switch(_(e,t+1)){case 109:if(45!==_(e,t+4))break;case 102:return O(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ie+(108==_(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch")?ke(O(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==_(e,t+1))break;case 6444:switch(_(e,R(e)-3-(~M(e,"!important")&&10))){case 107:return O(e,":",":"+ae)+e;case 101:return O(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(45===_(e,14)?"inline-":"")+"box$3$1"+ae+"$2$3$1"+oe+"$2box$3")+e}break;case 5936:switch(_(e,t+11)){case 114:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+oe+O(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+oe+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ue:e.return=ke(e.value,e.length);break;case ce:return de([W(e,{value:O(e.value,"@","@"+ae)})],r);case le:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return de([W(e,{props:[O(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return de([W(e,{props:[O(t,/:(plac\w+)/,":"+ae+"input-$1")]}),W(e,{props:[O(t,/:(plac\w+)/,":-moz-$1")]}),W(e,{props:[O(t,/:(plac\w+)/,oe+"input-$1")]})],r)}return""})}}],Ee=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Ce,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l,u,c,d,f=[fe,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[we,Se].concat(i,f),c=N(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,de(pe(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new C({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h};function Pe(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Te=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ae=function(e,t,n){Te(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var Oe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Me(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var _e=/[A-Z]|^ms/g,je=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Re=function(e){return 45===e.charCodeAt(1)},Ne=function(e){return null!=e&&"boolean"!=typeof e},Le=Me(function(e){return Re(e)?e:e.replace(_e,"-$&").toLowerCase()}),$e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(je,function(e,t,n){return ze={name:t,styles:n,next:ze},t})}return 1===Oe[e]||Re(e)||"number"!=typeof t||0===t?t:t+"px"};function Fe(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return ze={name:o.name,styles:o.styles,next:ze},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)ze={name:a.name,styles:a.styles,next:ze},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Fe(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":Ne(s)&&(r+=Le(i)+":"+$e(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Fe(e,t,a);switch(i){case"animation":case"animationName":r+=Le(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)Ne(a[u])&&(r+=Le(i)+":"+$e(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=ze,l=n(e);return ze=s,Fe(e,t,l)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var ze,De=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ie(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ze=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Fe(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Fe(n,t,e[a]),r)o+=i[a]}De.lastIndex=0;for(var s,l="";null!==(s=De.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:u,styles:o,next:ze}}var Be=!!g().useInsertionEffect&&g().useInsertionEffect,Ve=Be||function(e){return e()},We=Be||d().useLayoutEffect,Ue=d().createContext("undefined"!=typeof HTMLElement?Ee({key:"css"}):null),He=(Ue.Provider,function(e){return(0,d().forwardRef)(function(t,n){var r=(0,d().useContext)(Ue);return e(t,r,n)})}),Ke=d().createContext({});var Ye={}.hasOwnProperty,qe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ge=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Te(t,n,r),Ve(function(){return Ae(t,n,r)}),null},Xe=He(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[qe],i=[r],a="";"string"==typeof e.className?a=Pe(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Ie(i,void 0,d().useContext(Ke));a+=t.key+"-"+s.name;var l={};for(var u in e)Ye.call(e,u)&&"css"!==u&&u!==qe&&(l[u]=e[u]);return l.className=a,n&&(l.ref=n),d().createElement(d().Fragment,null,d().createElement(Ge,{cache:t,serialized:s,isStringTag:"string"==typeof o}),d().createElement(o,l))}),Qe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ze=Me(function(e){return Qe.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),Je=function(e){return"theme"!==e},et=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Ze:Je},tt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},nt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Te(t,n,r),Ve(function(){return Ae(t,n,r)}),null},rt=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=tt(t,n,i),l=s||et(a),u=!l("as");return function(){var c=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)f.push.apply(f,c);else{var p=c[0];f.push(p[0]);for(var h=c.length,m=1;m<h;m++)f.push(c[m],p[m])}var g=He(function(e,t,n){var r=u&&e.as||a,i="",c=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=d().useContext(Ke)}"string"==typeof e.className?i=Pe(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var m=Ie(f.concat(c),t.registered,p);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var g=u&&void 0===s?et(r):l,y={};for(var v in e)u&&"as"===v||g(v)&&(y[v]=e[v]);return y.className=i,n&&(y.ref=n),d().createElement(d().Fragment,null,d().createElement(nt,{cache:t,serialized:m,isStringTag:"string"==typeof r}),d().createElement(r,y))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,k({},n,r,{shouldForwardProp:tt(g,r,!0)})).apply(void 0,f)},g}}.bind(null);function ot(e,t){return rt(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){rt[e]=rt(e)});const it=[];function at(e){return it[0]=e,Ie(it)}function st(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function lt(e){if(d().isValidElement(e)||(0,u().Hy)(e)||!st(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=lt(e[n])}),t}function ut(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return st(e)&&st(t)&&Object.keys(t).forEach(o=>{d().isValidElement(t[o])||(0,u().Hy)(t[o])?r[o]=t[o]:st(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&st(e[o])?r[o]=ut(e[o],t[o],n):n.clone?r[o]=st(t[o])?lt(t[o]):t[o]:r[o]=t[o]}),r}function ct(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}function dt(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const ft={borderRadius:4};const pt={xs:0,sm:600,md:900,lg:1200,xl:1536},ht={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${pt[e]}px)`},mt={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:pt[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function gt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||ht;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||ht;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:mt,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||pt).includes(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o},{})}return n(t)}function yt(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function vt(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function bt({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{null!=e[t]&&(n[t]=!0)}),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t),{})}function xt(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function wt(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:xt(e,n)||r,t&&(o=t(o,r,e)),o}const St=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=xt(e.theme,r)||{};return gt(e,i,e=>{let r=wt(a,o,e);return e===r&&"string"==typeof e&&(r=wt(a,o,`${t}${"default"===e?"":w(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i};const kt=function(e,t){return t?ut(e,t,{clone:!1}):e};const Ct={m:"margin",p:"padding"},Et={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Pt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Tt=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Pt[e])return[e];e=Pt[e]}const[t,n]=e.split(""),r=Ct[t],o=Et[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),At=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ot=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Mt=[...At,...Ot];function _t(e,t,n,r){const o=xt(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function jt(e){return _t(e,"spacing",8)}function Rt(e,t){return"string"==typeof t||null==t?t:e(t)}function Nt(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Rt(t,n),e),{})}(Tt(n),r);return gt(e,e[n],o)}function Lt(e,t){const n=jt(e.theme);return Object.keys(e).map(r=>Nt(e,t,r,n)).reduce(kt,{})}function $t(e){return Lt(e,At)}function Ft(e){return Lt(e,Ot)}function zt(e){return Lt(e,Mt)}$t.propTypes={},$t.filterProps=At,Ft.propTypes={},Ft.filterProps=Ot,zt.propTypes={},zt.filterProps=Mt;function Dt(e=8,t=jt({spacing:e})){if(e.mui)return e;const n=(...e)=>{return(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}const It=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?kt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function Bt(e){return"number"!=typeof e?e:`${e}px solid`}function Vt(e,t){return St({prop:e,themeKey:"borders",transform:t})}const Wt=Vt("border",Bt),Ut=Vt("borderTop",Bt),Ht=Vt("borderRight",Bt),Kt=Vt("borderBottom",Bt),Yt=Vt("borderLeft",Bt),qt=Vt("borderColor"),Gt=Vt("borderTopColor"),Xt=Vt("borderRightColor"),Qt=Vt("borderBottomColor"),Zt=Vt("borderLeftColor"),Jt=Vt("outline",Bt),en=Vt("outlineColor"),tn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=_t(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Rt(t,e)});return gt(e,e.borderRadius,n)}return null};tn.propTypes={},tn.filterProps=["borderRadius"];It(Wt,Ut,Ht,Kt,Yt,qt,Gt,Xt,Qt,Zt,tn,Jt,en);const nn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=_t(e.theme,"spacing",8),n=e=>({gap:Rt(t,e)});return gt(e,e.gap,n)}return null};nn.propTypes={},nn.filterProps=["gap"];const rn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=_t(e.theme,"spacing",8),n=e=>({columnGap:Rt(t,e)});return gt(e,e.columnGap,n)}return null};rn.propTypes={},rn.filterProps=["columnGap"];const on=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=_t(e.theme,"spacing",8),n=e=>({rowGap:Rt(t,e)});return gt(e,e.rowGap,n)}return null};on.propTypes={},on.filterProps=["rowGap"];It(nn,rn,on,St({prop:"gridColumn"}),St({prop:"gridRow"}),St({prop:"gridAutoFlow"}),St({prop:"gridAutoColumns"}),St({prop:"gridAutoRows"}),St({prop:"gridTemplateColumns"}),St({prop:"gridTemplateRows"}),St({prop:"gridTemplateAreas"}),St({prop:"gridArea"}));function an(e,t){return"grey"===t?t:e}It(St({prop:"color",themeKey:"palette",transform:an}),St({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:an}),St({prop:"backgroundColor",themeKey:"palette",transform:an}));function sn(e){return e<=1&&0!==e?100*e+"%":e}const ln=St({prop:"width",transform:sn}),un=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||pt[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:sn(t)}};return gt(e,e.maxWidth,t)}return null};un.filterProps=["maxWidth"];const cn=St({prop:"minWidth",transform:sn}),dn=St({prop:"height",transform:sn}),fn=St({prop:"maxHeight",transform:sn}),pn=St({prop:"minHeight",transform:sn}),hn=(St({prop:"size",cssProperty:"width",transform:sn}),St({prop:"size",cssProperty:"height",transform:sn}),It(ln,un,cn,dn,fn,pn,St({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Bt},borderTop:{themeKey:"borders",transform:Bt},borderRight:{themeKey:"borders",transform:Bt},borderBottom:{themeKey:"borders",transform:Bt},borderLeft:{themeKey:"borders",transform:Bt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Bt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:tn},color:{themeKey:"palette",transform:an},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:an},backgroundColor:{themeKey:"palette",transform:an},p:{style:Ft},pt:{style:Ft},pr:{style:Ft},pb:{style:Ft},pl:{style:Ft},px:{style:Ft},py:{style:Ft},padding:{style:Ft},paddingTop:{style:Ft},paddingRight:{style:Ft},paddingBottom:{style:Ft},paddingLeft:{style:Ft},paddingX:{style:Ft},paddingY:{style:Ft},paddingInline:{style:Ft},paddingInlineStart:{style:Ft},paddingInlineEnd:{style:Ft},paddingBlock:{style:Ft},paddingBlockStart:{style:Ft},paddingBlockEnd:{style:Ft},m:{style:$t},mt:{style:$t},mr:{style:$t},mb:{style:$t},ml:{style:$t},mx:{style:$t},my:{style:$t},margin:{style:$t},marginTop:{style:$t},marginRight:{style:$t},marginBottom:{style:$t},marginLeft:{style:$t},marginX:{style:$t},marginY:{style:$t},marginInline:{style:$t},marginInlineStart:{style:$t},marginInlineEnd:{style:$t},marginBlock:{style:$t},marginBlockStart:{style:$t},marginBlockEnd:{style:$t},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:nn},rowGap:{style:on},columnGap:{style:rn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:sn},maxWidth:{style:un},minWidth:{transform:sn},height:{transform:sn},maxHeight:{transform:sn},minHeight:{transform:sn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const mn=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=xt(n,s)||{};if(u)return u(o);return gt(o,t,t=>{let n=wt(c,l,t);return t===n&&"string"==typeof t&&(n=wt(c,l,`${e}${"default"===t?"":w(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){const{sx:r,theme:o={},nested:i}=n||{};if(!r)return null;const a=o.unstable_sxConfig??hn;function s(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const s=yt(o.breakpoints),l=Object.keys(s);let u=s;return Object.keys(r).forEach(n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=i)if("object"==typeof i)if(a[n])u=kt(u,e(n,i,o,a));else{const e=gt({theme:o},i,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,i)?u=kt(u,e):u[n]=t({sx:i,theme:o,nested:!0})}else u=kt(u,e(n,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":dt(o,vt(l,u))}:dt(o,vt(l,u))}return Array.isArray(r)?r.map(s):s(r)}}();mn.filterProps=["sx"];const gn=mn;function yn(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const vn=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let s=ut({breakpoints:ct(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:Dt(o),shape:{...ft,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=yn,s=t.reduce((e,t)=>ut(e,t),s),s.unstable_sxConfig={...hn,...a?.unstable_sxConfig},s.unstable_sx=function(e){return gn({sx:e,theme:this})},s};function bn(e){const{variants:t,...n}=e,r={variants:t,style:at(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=at(e.style))}),r}const xn=vn();function wn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Sn(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function kn(e){return e?(t,n)=>n[e]:null}function Cn(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Cn(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Sn(r.style,n):r.style;else{const{variants:e,...o}=r;t=n?Sn(at(o),n):o}return En(e,r.variants,[t],n)}return r?.isProcessed?n?Sn(at(r.style),n):r.style:n?Sn(at(r),n):r}function En(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Sn(at(a.style(o)),r):a.style(o))):n.push(r?Sn(at(a.style),r):a.style)}return n}function Pn(e={}){const{themeId:t,defaultTheme:n=xn,rootShouldForwardProp:r=wn,slotShouldForwardProp:o=wn}=e;function i(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,e=>e.filter(e=>e!==gn));const{name:n,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:u=kn(An(a)),...c}=t,d=n&&n.startsWith("Mui")||a?"components":"custom",f=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,p=l||!1;let h=wn;"Root"===a||"root"===a?h=r:a?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=ot(e,{shouldForwardProp:h,label:Tn(n,a),...c}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return Cn(t,e,t.theme.modularCssLayers?d:void 0)};if(st(e)){const t=bn(e);return function(e){return t.variants?Cn(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Sn(t.style,d):t.style}}return e},y=(...t)=>{const r=[],o=t.map(g),a=[];if(r.push(i),n&&u&&a.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=Cn(e,r[t],e.theme.modularCssLayers?"theme":void 0);return u(e,o)}),n&&!f&&a.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?En(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(gn),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(a.length).fill("");let i;i=[...t,...e,...n],i.raw=[...t,...e.raw,...n],r.unshift(i)}const s=[...r,...o,...a],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(y.withConfig=m.withConfig),y}}function Tn(e,t){}function An(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const On=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function Mn(e,t=0,n=1){return On(e,t,n)}function _n(e){if(e.type)return e;if("#"===e.charAt(0))return _n(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(x(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(x(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}const jn=(e,t)=>{try{return(e=>{const t=_n(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function Rn(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Nn(e){e=_n(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Rn({type:s,values:l})}function Ln(e){let t="hsl"===(e=_n(e)).type||"hsla"===e.type?_n(Nn(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function $n(e,t){return e=_n(e),t=Mn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Rn(e)}function Fn(e,t,n){try{return $n(e,t)}catch(t){return e}}function zn(e,t){if(e=_n(e),t=Mn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Rn(e)}function Dn(e,t,n){try{return zn(e,t)}catch(t){return e}}function In(e,t){if(e=_n(e),t=Mn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Rn(e)}function Bn(e,t,n){try{return In(e,t)}catch(t){return e}}function Vn(e,t,n){try{return function(e,t=.15){return Ln(e)>.5?zn(e,t):In(e,t)}(e,t)}catch(t){return e}}const Wn={black:"#000",white:"#fff"},Un={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Hn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Kn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Yn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},qn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Gn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Xn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Qn(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Wn.white,default:Wn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Zn=Qn();function Jn(){return{text:{primary:Wn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Wn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const er=Jn();function tr(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=In(e.main,o):"dark"===t&&(e.dark=zn(e.main,i)))}function nr(e,t,n,r,o){const i=o.light||o,a=o.dark||1.5*o;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function rr(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:qn[200],light:qn[50],dark:qn[400]}:{main:qn[700],light:qn[400],dark:qn[800]}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:Hn[200],light:Hn[50],dark:Hn[400]}:{main:Hn[500],light:Hn[300],dark:Hn[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Kn[500],light:Kn[300],dark:Kn[700]}:{main:Kn[700],light:Kn[400],dark:Kn[800]}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Gn[400],light:Gn[300],dark:Gn[700]}:{main:Gn[700],light:Gn[500],dark:Gn[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Xn[400],light:Xn[300],dark:Xn[700]}:{main:Xn[800],light:Xn[500],dark:Xn[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Yn[400],light:Yn[300],dark:Yn[700]}:{main:"#ed6c02",light:Yn[500],dark:Yn[900]}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=Ln(e),r=Ln(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,er.text.primary)>=n?er.text.primary:Zn.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(x(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(x(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(nr(o,e,"light",i,r),nr(o,e,"dark",a,r)):(tr(e,"light",i,r),tr(e,"dark",a,r)),e.contrastText||(e.contrastText=f(e.main)),e};let h;"light"===t?h=Qn():"dark"===t&&(h=Jn());return ut({common:{...Wn},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:Un,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...h},i)}function or(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function ir(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const ar=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})};function sr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:l}),ar(i,e,`var(${r})`,s),ar(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))})}(e),{css:o,vars:i,varsWithDefaults:a}}const lr=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=e,{vars:c,css:d,varsWithDefaults:f}=sr(u,t);let p=f;const h={},{[l]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=sr(n,t);p=ut(p,i),h[e]={css:o,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=sr(m,t);p=ut(p,r),h[l]={css:e,vars:n}}function y(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach(([,{vars:t}])=>{e=ut(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function s(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);const{[o]:l,...u}=h;if(l){const{css:e}=l,t=a[o]?.palette?.mode,i=!r&&t?{colorScheme:t,...e}:{...e};s(n(o,{...i}),i)}return Object.entries(u).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!r&&o?{colorScheme:o,...t}:{...t};s(n(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}};function ur(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}const cr={textTransform:"uppercase"},dr='"Roboto", "Helvetica", "Arial", sans-serif';function fr(e,t){const{fontFamily:n=dr,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:u,pxToRem:c,...d}="function"==typeof t?t(e):t;const f=r/14,p=c||(e=>e/l*f+"rem"),h=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===dr?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},...i,...u};var a},m={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,cr),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,cr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ut({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...m},d,{clone:!1})}function pr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const hr=["none",pr(0,2,1,-1,0,1,1,0,0,1,3,0),pr(0,3,1,-2,0,2,2,0,0,1,5,0),pr(0,3,3,-2,0,3,4,0,0,1,8,0),pr(0,2,4,-1,0,4,5,0,0,1,10,0),pr(0,3,5,-1,0,5,8,0,0,1,14,0),pr(0,3,5,-1,0,6,10,0,0,1,18,0),pr(0,4,5,-2,0,7,10,1,0,2,16,1),pr(0,5,5,-3,0,8,10,1,0,3,14,2),pr(0,5,6,-3,0,9,12,1,0,3,16,2),pr(0,6,6,-3,0,10,14,1,0,4,18,3),pr(0,6,7,-4,0,11,15,1,0,4,20,3),pr(0,7,8,-4,0,12,17,2,0,5,22,4),pr(0,7,8,-4,0,13,19,2,0,5,24,4),pr(0,7,9,-4,0,14,21,2,0,5,26,4),pr(0,8,9,-5,0,15,22,2,0,6,28,5),pr(0,8,10,-5,0,16,24,2,0,6,30,5),pr(0,8,11,-5,0,17,26,2,0,6,32,5),pr(0,9,11,-5,0,18,28,2,0,7,34,6),pr(0,9,12,-6,0,19,29,2,0,7,36,6),pr(0,10,13,-6,0,20,31,3,0,8,38,7),pr(0,10,13,-6,0,21,33,3,0,8,40,7),pr(0,10,14,-6,0,22,35,3,0,8,42,7),pr(0,11,14,-7,0,23,36,3,0,9,44,8),pr(0,11,15,-7,0,24,38,3,0,9,46,8)],mr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},gr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yr(e){return`${Math.round(e)}ms`}function vr(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function br(e){const t={...mr,...e.easing},n={...gr,...e.duration};return{getAutoHeightDuration:vr,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:yr(o)} ${i} ${"string"==typeof a?a:yr(a)}`).join(",")},...e,easing:t,duration:n}}const xr={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function wr(e){return st(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function Sr(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[o,i]=n[r];!wr(i)||o.startsWith("unstable_")?delete t[o]:st(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function kr(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function Cr(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof n?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof n?`calc(${n})`:n})`:$n(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${kr(n)})`:In(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${kr(n)})`:zn(t,n)}})}const Er=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:u,...c}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(x(20));const d=rr({...i,colorSpace:u}),f=vn(e);let p=ut(f,{mixins:ur(f.breakpoints,r),palette:d,shadows:hr.slice(),typography:fr(d,s),transitions:br(a),zIndex:{...xr}});return p=ut(p,c),p=t.reduce((e,t)=>ut(e,t),p),p.unstable_sxConfig={...hn,...c?.unstable_sxConfig},p.unstable_sx=function(e){return gn({sx:e,theme:this})},p.toRuntimeSource=Sr,Cr(p),p};const Pr=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Tr(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Ar(e){return"dark"===e?Pr:[]}function Or(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Mr=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],_r=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return Mr(e.cssVarPrefix).forEach(e=>{o[e]=n[e],delete n[e]}),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function jr(e,t,n){!e[t]&&n&&(e[t]=n)}function Rr(e){return"string"==typeof e&&e.startsWith("hsl")?Nn(e):e}function Nr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=jn(Rr(e[t])))}n.dn(_r);const Lr=e=>{try{return e()}catch(e){}};function $r(e,t,n,r,o){if(!n)return;n=!0===n?{}:n;const i="dark"===o?"dark":"light";if(!r)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...i}=e,a=rr({...t,colorSpace:o});return{palette:a,opacity:{...Tr(a.mode),...n},overlays:r||Ar(a.mode),...i}}({...n,palette:{mode:i,...n?.palette},colorSpace:e}));const{palette:a,...s}=Er({...r,palette:{mode:i,...n?.palette},colorSpace:e});return t[o]={...n,palette:a,opacity:{...Tr(i),...n?.opacity},overlays:n?.overlays||Ar(i)},s}function Fr(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Or,colorSchemeSelector:l=(n.light&&n.dark?"media":void 0),rootSelector:u=":root",...c}=e,d=Object.keys(n)[0],f=r||(n.light&&"light"!==d?"light":d),p=((e="mui")=>or(e))(i),{[f]:h,light:m,dark:g,...y}=n,v={...y};let b,w=h;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(w=!0),!w)throw new Error(x(21,f));a&&(b="oklch");const S=$r(b,v,w,c,f);m&&!v.light&&$r(b,v,m,void 0,"light"),g&&!v.dark&&$r(b,v,g,void 0,"dark");let k={defaultColorScheme:f,...S,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:u,getCssVar:p,colorSchemes:v,font:{...ir(S.typography),...S.font},spacing:(C=c.spacing,"number"==typeof C?`${C}px`:"string"==typeof C||"function"==typeof C||Array.isArray(C)?C:"8px")};var C;Object.keys(k.colorSchemes).forEach(e=>{const t=k.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};function r(e,t,n){if(b){let r;return e===Fn&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===Dn&&(r=`#000 ${(100*n).toFixed(0)}%`),e===Bn&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}var o;if("light"===t.mode&&(jr(t.common,"background","#fff"),jr(t.common,"onBackground","#000")),"dark"===t.mode&&(jr(t.common,"background","#000"),jr(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){jr(t.Alert,"errorColor",r(Dn,a?p("palette-error-light"):t.error.light,.6)),jr(t.Alert,"infoColor",r(Dn,a?p("palette-info-light"):t.info.light,.6)),jr(t.Alert,"successColor",r(Dn,a?p("palette-success-light"):t.success.light,.6)),jr(t.Alert,"warningColor",r(Dn,a?p("palette-warning-light"):t.warning.light,.6)),jr(t.Alert,"errorFilledBg",n("palette-error-main")),jr(t.Alert,"infoFilledBg",n("palette-info-main")),jr(t.Alert,"successFilledBg",n("palette-success-main")),jr(t.Alert,"warningFilledBg",n("palette-warning-main")),jr(t.Alert,"errorFilledColor",Lr(()=>t.getContrastText(t.error.main))),jr(t.Alert,"infoFilledColor",Lr(()=>t.getContrastText(t.info.main))),jr(t.Alert,"successFilledColor",Lr(()=>t.getContrastText(t.success.main))),jr(t.Alert,"warningFilledColor",Lr(()=>t.getContrastText(t.warning.main))),jr(t.Alert,"errorStandardBg",r(Bn,a?p("palette-error-light"):t.error.light,.9)),jr(t.Alert,"infoStandardBg",r(Bn,a?p("palette-info-light"):t.info.light,.9)),jr(t.Alert,"successStandardBg",r(Bn,a?p("palette-success-light"):t.success.light,.9)),jr(t.Alert,"warningStandardBg",r(Bn,a?p("palette-warning-light"):t.warning.light,.9)),jr(t.Alert,"errorIconColor",n("palette-error-main")),jr(t.Alert,"infoIconColor",n("palette-info-main")),jr(t.Alert,"successIconColor",n("palette-success-main")),jr(t.Alert,"warningIconColor",n("palette-warning-main")),jr(t.AppBar,"defaultBg",n("palette-grey-100")),jr(t.Avatar,"defaultBg",n("palette-grey-400")),jr(t.Button,"inheritContainedBg",n("palette-grey-300")),jr(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),jr(t.Chip,"defaultBorder",n("palette-grey-400")),jr(t.Chip,"defaultAvatarColor",n("palette-grey-700")),jr(t.Chip,"defaultIconColor",n("palette-grey-700")),jr(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),jr(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),jr(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),jr(t.LinearProgress,"primaryBg",r(Bn,a?p("palette-primary-main"):t.primary.main,.62)),jr(t.LinearProgress,"secondaryBg",r(Bn,a?p("palette-secondary-main"):t.secondary.main,.62)),jr(t.LinearProgress,"errorBg",r(Bn,a?p("palette-error-main"):t.error.main,.62)),jr(t.LinearProgress,"infoBg",r(Bn,a?p("palette-info-main"):t.info.main,.62)),jr(t.LinearProgress,"successBg",r(Bn,a?p("palette-success-main"):t.success.main,.62)),jr(t.LinearProgress,"warningBg",r(Bn,a?p("palette-warning-light"):t.warning.main,.62)),jr(t.Skeleton,"bg",b?r(Fn,a?p("palette-text-primary"):t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),jr(t.Slider,"primaryTrack",r(Bn,a?p("palette-primary-main"):t.primary.main,.62)),jr(t.Slider,"secondaryTrack",r(Bn,a?p("palette-secondary-main"):t.secondary.main,.62)),jr(t.Slider,"errorTrack",r(Bn,a?p("palette-error-main"):t.error.main,.62)),jr(t.Slider,"infoTrack",r(Bn,a?p("palette-info-main"):t.info.main,.62)),jr(t.Slider,"successTrack",r(Bn,a?p("palette-success-main"):t.success.main,.62)),jr(t.Slider,"warningTrack",r(Bn,a?p("palette-warning-main"):t.warning.main,.62));const e=b?r(Dn,a?p("palette-background-default"):t.background.default,.6825):Vn(t.background.default,.8);jr(t.SnackbarContent,"bg",e),jr(t.SnackbarContent,"color",Lr(()=>b?er.text.primary:t.getContrastText(e))),jr(t.SpeedDialAction,"fabHoverBg",Vn(t.background.paper,.15)),jr(t.StepConnector,"border",n("palette-grey-400")),jr(t.StepContent,"border",n("palette-grey-400")),jr(t.Switch,"defaultColor",n("palette-common-white")),jr(t.Switch,"defaultDisabledColor",n("palette-grey-100")),jr(t.Switch,"primaryDisabledColor",r(Bn,a?p("palette-primary-main"):t.primary.main,.62)),jr(t.Switch,"secondaryDisabledColor",r(Bn,a?p("palette-secondary-main"):t.secondary.main,.62)),jr(t.Switch,"errorDisabledColor",r(Bn,a?p("palette-error-main"):t.error.main,.62)),jr(t.Switch,"infoDisabledColor",r(Bn,a?p("palette-info-main"):t.info.main,.62)),jr(t.Switch,"successDisabledColor",r(Bn,a?p("palette-success-main"):t.success.main,.62)),jr(t.Switch,"warningDisabledColor",r(Bn,a?p("palette-warning-main"):t.warning.main,.62)),jr(t.TableCell,"border",r(Bn,Fn(a?p("palette-divider"):t.divider,1),.88)),jr(t.Tooltip,"bg",r(Fn,a?p("palette-grey-700"):t.grey[700],.92))}if("dark"===t.mode){jr(t.Alert,"errorColor",r(Bn,a?p("palette-error-light"):t.error.light,.6)),jr(t.Alert,"infoColor",r(Bn,a?p("palette-info-light"):t.info.light,.6)),jr(t.Alert,"successColor",r(Bn,a?p("palette-success-light"):t.success.light,.6)),jr(t.Alert,"warningColor",r(Bn,a?p("palette-warning-light"):t.warning.light,.6)),jr(t.Alert,"errorFilledBg",n("palette-error-dark")),jr(t.Alert,"infoFilledBg",n("palette-info-dark")),jr(t.Alert,"successFilledBg",n("palette-success-dark")),jr(t.Alert,"warningFilledBg",n("palette-warning-dark")),jr(t.Alert,"errorFilledColor",Lr(()=>t.getContrastText(t.error.dark))),jr(t.Alert,"infoFilledColor",Lr(()=>t.getContrastText(t.info.dark))),jr(t.Alert,"successFilledColor",Lr(()=>t.getContrastText(t.success.dark))),jr(t.Alert,"warningFilledColor",Lr(()=>t.getContrastText(t.warning.dark))),jr(t.Alert,"errorStandardBg",r(Dn,a?p("palette-error-light"):t.error.light,.9)),jr(t.Alert,"infoStandardBg",r(Dn,a?p("palette-info-light"):t.info.light,.9)),jr(t.Alert,"successStandardBg",r(Dn,a?p("palette-success-light"):t.success.light,.9)),jr(t.Alert,"warningStandardBg",r(Dn,a?p("palette-warning-light"):t.warning.light,.9)),jr(t.Alert,"errorIconColor",n("palette-error-main")),jr(t.Alert,"infoIconColor",n("palette-info-main")),jr(t.Alert,"successIconColor",n("palette-success-main")),jr(t.Alert,"warningIconColor",n("palette-warning-main")),jr(t.AppBar,"defaultBg",n("palette-grey-900")),jr(t.AppBar,"darkBg",n("palette-background-paper")),jr(t.AppBar,"darkColor",n("palette-text-primary")),jr(t.Avatar,"defaultBg",n("palette-grey-600")),jr(t.Button,"inheritContainedBg",n("palette-grey-800")),jr(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),jr(t.Chip,"defaultBorder",n("palette-grey-700")),jr(t.Chip,"defaultAvatarColor",n("palette-grey-300")),jr(t.Chip,"defaultIconColor",n("palette-grey-300")),jr(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),jr(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),jr(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),jr(t.LinearProgress,"primaryBg",r(Dn,a?p("palette-primary-main"):t.primary.main,.5)),jr(t.LinearProgress,"secondaryBg",r(Dn,a?p("palette-secondary-main"):t.secondary.main,.5)),jr(t.LinearProgress,"errorBg",r(Dn,a?p("palette-error-main"):t.error.main,.5)),jr(t.LinearProgress,"infoBg",r(Dn,a?p("palette-info-main"):t.info.main,.5)),jr(t.LinearProgress,"successBg",r(Dn,a?p("palette-success-main"):t.success.main,.5)),jr(t.LinearProgress,"warningBg",r(Dn,a?p("palette-warning-main"):t.warning.main,.5)),jr(t.Skeleton,"bg",b?r(Fn,a?p("palette-text-primary"):t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),jr(t.Slider,"primaryTrack",r(Dn,a?p("palette-primary-main"):t.primary.main,.5)),jr(t.Slider,"secondaryTrack",r(Dn,a?p("palette-secondary-main"):t.secondary.main,.5)),jr(t.Slider,"errorTrack",r(Dn,a?p("palette-error-main"):t.error.main,.5)),jr(t.Slider,"infoTrack",r(Dn,a?p("palette-info-main"):t.info.main,.5)),jr(t.Slider,"successTrack",r(Dn,a?p("palette-success-main"):t.success.main,.5)),jr(t.Slider,"warningTrack",r(Dn,a?p("palette-warning-light"):t.warning.main,.5));const e=b?r(Bn,a?p("palette-background-default"):t.background.default,.985):Vn(t.background.default,.98);jr(t.SnackbarContent,"bg",e),jr(t.SnackbarContent,"color",Lr(()=>b?Zn.text.primary:t.getContrastText(e))),jr(t.SpeedDialAction,"fabHoverBg",Vn(t.background.paper,.15)),jr(t.StepConnector,"border",n("palette-grey-600")),jr(t.StepContent,"border",n("palette-grey-600")),jr(t.Switch,"defaultColor",n("palette-grey-300")),jr(t.Switch,"defaultDisabledColor",n("palette-grey-600")),jr(t.Switch,"primaryDisabledColor",r(Dn,a?p("palette-primary-main"):t.primary.main,.55)),jr(t.Switch,"secondaryDisabledColor",r(Dn,a?p("palette-secondary-main"):t.secondary.main,.55)),jr(t.Switch,"errorDisabledColor",r(Dn,a?p("palette-error-main"):t.error.main,.55)),jr(t.Switch,"infoDisabledColor",r(Dn,a?p("palette-info-main"):t.info.main,.55)),jr(t.Switch,"successDisabledColor",r(Dn,a?p("palette-success-main"):t.success.main,.55)),jr(t.Switch,"warningDisabledColor",r(Dn,a?p("palette-warning-light"):t.warning.main,.55)),jr(t.TableCell,"border",r(Dn,Fn(a?p("palette-divider"):t.divider,1),.68)),jr(t.Tooltip,"bg",r(Fn,a?p("palette-grey-700"):t.grey[700],.92))}a||(Nr(t.background,"default"),Nr(t.background,"paper"),Nr(t.common,"background"),Nr(t.common,"onBackground"),Nr(t,"divider")),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&!a&&n&&"object"==typeof n&&(n.main&&jr(t[e],"mainChannel",jn(Rr(n.main))),n.light&&jr(t[e],"lightChannel",jn(Rr(n.light))),n.dark&&jr(t[e],"darkChannel",jn(Rr(n.dark))),n.contrastText&&jr(t[e],"contrastTextChannel",jn(Rr(n.contrastText))),"text"===e&&(Nr(t[e],"primary"),Nr(t[e],"secondary")),"action"===e&&(n.active&&Nr(t[e],"active"),n.selected&&Nr(t[e],"selected")))})}),k=t.reduce((e,t)=>ut(e,t),k);const E={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:_r(k),enableContrastVars:a},{vars:P,generateThemeVars:T,generateStyleSheets:A}=lr(k,E);return k.vars=P,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([e,t])=>{k[e]=t}),k.generateThemeVars=T,k.generateStyleSheets=A,k.generateSpacing=function(){return Dt(c.spacing,jt(this))},k.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=s,k.unstable_sxConfig={...hn,...c?.unstable_sxConfig},k.unstable_sx=function(e){return gn({sx:e,theme:this})},k.toRuntimeSource=Sr,k}function zr(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:rr({...!0===n?{}:n.palette,mode:t})})}function Dr(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,s=i||"light",l=o?.[s],u={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return Er(e,...t);let r=n;"palette"in e||u[s]&&(!0!==u[s]?r=u[s].palette:"dark"===s&&(r={mode:"dark"}));const o=Er({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=u,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==u.light&&u.light,palette:o.palette},zr(o,"dark",u.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==u.dark&&u.dark,palette:o.palette},zr(o,"light",u.light)),o}return n||"light"in u||"light"!==s||(u.light=!0),Fr({...a,colorSchemes:u,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}const Ir=Dr(),Br="$$material";const Vr=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},Wr=e=>Vr(e)&&"classes"!==e,Ur=Pn({themeId:Br,defaultTheme:Ir,rootShouldForwardProp:Wr}),Hr={theme:void 0};const Kr=function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(Hr.theme=r.theme,o=bn(e(Hr)),t=o,n=r.theme),o}};function Yr(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){r[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[i][t]=Yr(o[t],a[t],n)}}else r[i]=a;else r[i]=o||{}}else"className"===i&&n&&t.className?r.className=v(e?.className,t?.className):"style"===i&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[i]&&(r[i]=e[i])}return r}const qr=d().createContext(void 0);function Gr({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Yr(o.defaultProps,r,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?r:Yr(o,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:d().useContext(qr)}})}const Xr=function({value:e,children:t}){return(0,c().jsx)(qr.Provider,{value:e,children:t})};function Qr(e){return Gr(e)}const Zr=e=>e,Jr=(()=>{let e=Zr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zr}}})(),eo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function to(e,t,n="Mui"){const r=eo[t];return r?`${n}-${r}`:`${Jr.generate(e)}-${t}`}function no(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=to(e,t,n)}),r}function ro(e){return to("MuiSvgIcon",e)}no("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const oo=Ur("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${S(n.color)}`],t[`fontSize${S(n.fontSize)}`]]}})(Kr(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),io=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:u=!1,titleAccess:f,viewBox:p="0 0 24 24",...h}=n,m=d().isValidElement(r)&&"svg"===r.type,g={...n,color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:m},y={};u||(y.viewBox=p);const x=(e=>{const{color:t,fontSize:n,classes:r}=e;return b({root:["root","inherit"!==t&&`color${S(t)}`,`fontSize${S(n)}`]},ro,r)})(g);return(0,c().jsxs)(oo,{as:a,className:v(x.root,o),focusable:"false",color:l,"aria-hidden":!f||void 0,role:f?"img":void 0,ref:t,...y,...h,...m&&r.props,ownerState:g,children:[m?r.props.children:r,f?(0,c().jsx)("title",{children:f}):null]})});io.muiName="SvgIcon";const ao=io;function so(e,t){function n(t,n){return(0,c().jsx)(ao,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=ao.muiName,d().memo(d().forwardRef(n))}const lo=so((0,c().jsx)("path",{d:"M17.65 6.35c-1.63-1.63-3.94-2.57-6.48-2.31-3.67.37-6.69 3.35-7.1 7.02C3.52 15.91 7.27 20 12 20c3.19 0 5.93-1.87 7.21-4.56.32-.67-.16-1.44-.9-1.44-.37 0-.72.2-.88.53-1.13 2.43-3.84 3.97-6.8 3.31-2.22-.49-4.01-2.3-4.48-4.52C5.31 9.44 8.26 6 12 6c1.66 0 3.14.69 4.22 1.78l-1.51 1.51c-.63.63-.19 1.71.7 1.71H19c.55 0 1-.45 1-1V6.41c0-.89-1.08-1.34-1.71-.71z"}));function uo(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??hn;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return st(n)?{...r,...n}:r}:{...r,...t},{...o,sx:i}}const co=function(e=null){const t=d().useContext(Ke);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},fo=vn();const po=function(e=fo){return co(e)};const ho=no("MuiBox",["root"]),mo=Dr(),go=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=ot("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(gn),a=d().forwardRef(function(e,a){const s=po(n),{className:l,component:u="div",...d}=uo(e);return(0,c().jsx)(i,{as:u,ref:a,className:v(l,o?o(r):r),theme:t&&s[t]||s,...d})});return a}({themeId:Br,defaultTheme:mo,defaultClassName:ho.root,generateClassName:Jr.generate}),yo=go;function vo(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function bo(e){return to("MuiTypography",e)}no("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const xo={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},wo=uo,So=Ur("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${S(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Kr(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${S(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),ko={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Co=d().forwardRef(function(e,t){const{color:n,...r}=Qr({props:e,name:"MuiTypography"}),o=wo({...r,...!xo[n]&&{color:n}}),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=ko,...h}=o,m={...o,align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p},g=s||(d?"p":p[f]||ko[f])||"span",y=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return b({root:["root",i,"inherit"!==e.align&&`align${S(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},bo,a)})(m);return(0,c().jsx)(So,{as:g,ref:t,className:v(y.root,a),...h,ownerState:m,style:{..."inherit"!==i&&{"--Typography-textAlign":i},...h.style}})}),Eo=Pn();function Po({props:e,name:t,defaultTheme:n,themeId:r}){let o=po(n);return r&&(o=o[r]||o),function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Yr(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e})}const To=vn(),Ao=Eo("div",{name:"MuiStack",slot:"Root"});function Oo(e){return Po({props:e,name:"MuiStack",defaultTheme:To})}function Mo(e,t){const n=d().Children.toArray(e).filter(Boolean);return n.reduce((e,r,o)=>(e.push(r),o<n.length-1&&e.push(d().cloneElement(t,{key:`separator-${o}`})),e),[])}const _o=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...gt({theme:t},bt({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const r=jt(t),o=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),i=bt({values:e.direction,base:o}),a=bt({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}});n=ut(n,gt({theme:t},a,(t,n)=>{return e.useFlexGap?{gap:Rt(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Rt(r,t)}};var o}))}return n=function(e,...t){const n=yt(e),r=[n,...t].reduce((e,t)=>ut(e,t),{});return vt(Object.keys(n),r)}(t.breakpoints,n),n};const jo=function(e={}){const{createStyledComponent:t=Ao,useThemeProps:n=Oo,componentName:r="MuiStack"}=e,o=t(_o);return d().forwardRef(function(e,t){const i=uo(n(e)),{component:a="div",direction:s="column",spacing:l=0,divider:u,children:d,className:f,useFlexGap:p=!1,...h}=i,m={direction:s,spacing:l,useFlexGap:p},g=b({root:["root"]},e=>to(r,e),{});return(0,c().jsx)(o,{as:a,ownerState:m,ref:t,className:v(g.root,f),...h,children:u?Mo(d,u):d})})}({createStyledComponent:Ur("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Qr({props:e,name:"MuiStack"})}),Ro=jo,No={};function Lo(e,t){const n=d().useRef(No);return n.current===No&&(n.current=e(t)),n}const $o=[];class Fo{static create(){return new Fo}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function zo(){const e=Lo(Fo.create).current;var t;return t=e.disposeEffect,d().useEffect(t,$o),e}const Do=d().createContext();const Io=()=>d().useContext(Do)??!1,Bo=function({value:e,...t}){return(0,c().jsx)(Do.Provider,{value:e??!0,...t})};function Vo(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}function Wo(e){return parseInt(d().version,10)>=19?e?.props?.ref||null:e?.ref||null}function Uo(){const e=po(Ir);return e[Br]||e}function Ho(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function Ko(e,t){return Ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ko(e,t)}function Yo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ko(e,t)}const qo=!1,Go=d().createContext(null);var Xo="unmounted",Qo="exited",Zo="entering",Jo="entered",ei="exiting",ti=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Qo,r.appearStatus=Zo):o=Jo:o=t.unmountOnExit||t.mountOnEnter?Xo:Qo,r.state={status:o},r.nextCallback=null,r}Yo(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Xo?{status:Qo}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Zo&&n!==Jo&&(t=Zo):n!==Zo&&n!==Jo||(t=ei)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Zo){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Qo&&this.setState({status:Xo})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l().findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||qo?this.safeSetState({status:Jo},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:Zo},function(){t.props.onEntering(i,a),t.onTransitionEnd(u,function(){t.safeSetState({status:Jo},function(){t.props.onEntered(i,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l().findDOMNode(this);t&&!qo?(this.props.onExit(r),this.safeSetState({status:ei},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Qo},function(){e.props.onExited(r)})})})):this.safeSetState({status:Qo},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Xo)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Ho(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return d().createElement(Go.Provider,{value:null},"function"==typeof n?n(e,r):d().cloneElement(d().Children.only(n),r))},t}(d().Component);function ni(){}ti.contextType=Go,ti.propTypes={},ti.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ni,onEntering:ni,onEntered:ni,onExit:ni,onExiting:ni,onExited:ni},ti.UNMOUNTED=Xo,ti.EXITED=Qo,ti.ENTERING=Zo,ti.ENTERED=Jo,ti.EXITING=ei;const ri=ti;function oi(e,t){return n=>{if(t){const r=e.current;void 0===n?t(r):t(r,n)}}}function ii(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:o.transitionDelay}}function ai(...e){const t=d().useRef(void 0),n=d().useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return d().useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}const si=ai;function li(e){return`scale(${e}, ${e**2})`}const ui={entering:{opacity:1,transform:li(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:li(.75)},exited:{opacity:0,transform:li(.75)}},ci={opacity:0,transform:li(.75),visibility:"hidden"},di=d().forwardRef(function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:u,onExit:f,onExited:p,onExiting:h,style:m,timeout:g="auto",...y}=e,v=zo(),b=d().useRef(),x=Uo(),w=d().useRef(null),S=si(w,Wo(o),t),k=oi(w,u),C=oi(w,(e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=ii({style:m,timeout:g,easing:i},{mode:"enter"});let a;"auto"===g?(a=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)}),E=oi(w,l),P=oi(w,h),T=oi(w,e=>{const{duration:t,delay:n,easing:r}=ii({style:m,timeout:g,easing:i},{mode:"exit"});let o;"auto"===g?(o=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:.666*o,delay:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=li(.75),f&&f(e)}),A=oi(w,e=>{e.style.transition="",p&&p(e)});return(0,c().jsx)(ri,{appear:r,in:a,nodeRef:w,onEnter:C,onEntered:E,onEntering:k,onExit:T,onExited:A,onExiting:P,addEndListener:e=>{"auto"===g&&v.start(b.current||0,e),n&&n(w.current,e)},timeout:"auto"===g?null:g,...y,children:(e,{ownerState:t,...n})=>{const r=function(e,t,n,r,o,i){const a="exited"!==e||t?n[e]||n.exited:r;return o||i?{...a,...o,...i}:a}(e,a,ui,ci,m,o.props.style);return d().cloneElement(o,{style:r,ref:S,...n})}})});di&&(di.muiSupportAuto=!0);const fi=di;function pi(e){return e&&e.ownerDocument||document}const hi="undefined"!=typeof window?d().useLayoutEffect:d().useEffect;function mi(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gi(e){return e instanceof mi(e).Element||e instanceof Element}function yi(e){return e instanceof mi(e).HTMLElement||e instanceof HTMLElement}function vi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof mi(e).ShadowRoot||e instanceof ShadowRoot)}var bi=Math.max,xi=Math.min,wi=Math.round;function Si(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ki(){return!/^((?!chrome|android).)*safari/i.test(Si())}function Ci(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&yi(e)&&(o=e.offsetWidth>0&&wi(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&wi(r.height)/e.offsetHeight||1);var a=(gi(e)?mi(e):window).visualViewport,s=!ki()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function Ei(e){var t=mi(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pi(e){return e?(e.nodeName||"").toLowerCase():null}function Ti(e){return((gi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ai(e){return Ci(Ti(e)).left+Ei(e).scrollLeft}function Oi(e){return mi(e).getComputedStyle(e)}function Mi(e){var t=Oi(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function _i(e,t,n){void 0===n&&(n=!1);var r,o,i=yi(t),a=yi(t)&&function(e){var t=e.getBoundingClientRect(),n=wi(t.width)/e.offsetWidth||1,r=wi(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Ti(t),l=Ci(e,a,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&(("body"!==Pi(t)||Mi(s))&&(u=(r=t)!==mi(r)&&yi(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Ei(r)),yi(t)?((c=Ci(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):s&&(c.x=Ai(s))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function ji(e){var t=Ci(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ri(e){return"html"===Pi(e)?e:e.assignedSlot||e.parentNode||(vi(e)?e.host:null)||Ti(e)}function Ni(e){return["html","body","#document"].indexOf(Pi(e))>=0?e.ownerDocument.body:yi(e)&&Mi(e)?e:Ni(Ri(e))}function Li(e,t){var n;void 0===t&&(t=[]);var r=Ni(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=mi(r),a=o?[i].concat(i.visualViewport||[],Mi(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Li(Ri(a)))}function $i(e){return["table","td","th"].indexOf(Pi(e))>=0}function Fi(e){return yi(e)&&"fixed"!==Oi(e).position?e.offsetParent:null}function zi(e){for(var t=mi(e),n=Fi(e);n&&$i(n)&&"static"===Oi(n).position;)n=Fi(n);return n&&("html"===Pi(n)||"body"===Pi(n)&&"static"===Oi(n).position)?t:n||function(e){var t=/firefox/i.test(Si());if(/Trident/i.test(Si())&&yi(e)&&"fixed"===Oi(e).position)return null;var n=Ri(e);for(vi(n)&&(n=n.host);yi(n)&&["html","body"].indexOf(Pi(n))<0;){var r=Oi(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Di="top",Ii="bottom",Bi="right",Vi="left",Wi="auto",Ui=[Di,Ii,Bi,Vi],Hi="start",Ki="end",Yi="viewport",qi="popper",Gi=Ui.reduce(function(e,t){return e.concat([t+"-"+Hi,t+"-"+Ki])},[]),Xi=[].concat(Ui,[Wi]).reduce(function(e,t){return e.concat([t,t+"-"+Hi,t+"-"+Ki])},[]),Qi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Zi(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Ji={placement:"bottom",modifiers:[],strategy:"absolute"};function ea(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ta(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ji:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ji,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:gi(e)?Li(e):e.contextElement?Li(e.contextElement):[],popper:Li(t)};var a,u,f=function(e){var t=Zi(e);return Qi.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:c,options:r}),a=function(){};l.push(i||a)}}),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(ea(t,n)){s.rects={reference:_i(t,zi(n),"fixed"===s.options.strategy),popper:ji(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:c})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){c.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){d(),u=!0}};if(!ea(e,t))return c;function d(){l.forEach(function(e){return e()}),l=[]}return c.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),c}}var na={passive:!0};function ra(e){return e.split("-")[0]}function oa(e){return e.split("-")[1]}function ia(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function aa(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ra(o):null,a=o?oa(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case Di:t={x:s,y:n.y-r.height};break;case Ii:t={x:s,y:n.y+n.height};break;case Bi:t={x:n.x+n.width,y:l};break;case Vi:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?ia(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case Hi:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Ki:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var sa={top:"auto",right:"auto",bottom:"auto",left:"auto"};function la(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,g="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var y=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),b=Vi,x=Di,w=window;if(u){var S=zi(n),k="clientHeight",C="clientWidth";if(S===mi(n)&&"static"!==Oi(S=Ti(n)).position&&"absolute"===s&&(k="scrollHeight",C="scrollWidth"),o===Di||(o===Vi||o===Bi)&&i===Ki)x=Ii,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-r.height,m*=l?1:-1;if(o===Vi||(o===Di||o===Ii)&&i===Ki)b=Bi,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[C])-r.width,p*=l?1:-1}var E,P=Object.assign({position:s},u&&sa),T=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:wi(n*o)/o||0,y:wi(r*o)/o||0}}({x:p,y:m},mi(n)):{x:p,y:m};return p=T.x,m=T.y,l?Object.assign({},P,((E={})[x]=v?"0":"",E[b]=y?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},P,((t={})[x]=v?m+"px":"",t[b]=y?p+"px":"",t.transform="",t))}const ua={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Xi.reduce(function(e,n){return e[n]=function(e,t,n){var r=ra(e),o=[Vi,Di].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Vi,Bi].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var ca={left:"right",right:"left",bottom:"top",top:"bottom"};function da(e){return e.replace(/left|right|bottom|top/g,function(e){return ca[e]})}var fa={start:"end",end:"start"};function pa(e){return e.replace(/start|end/g,function(e){return fa[e]})}function ha(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vi(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ma(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ga(e,t,n){return t===Yi?ma(function(e,t){var n=mi(e),r=Ti(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=ki();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Ai(e),y:l}}(e,n)):gi(t)?function(e,t){var n=Ci(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ma(function(e){var t,n=Ti(e),r=Ei(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=bi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=bi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Ai(e),l=-r.scrollTop;return"rtl"===Oi(o||n).direction&&(s+=bi(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Ti(e)))}function ya(e,t,n,r){var o="clippingParents"===t?function(e){var t=Li(Ri(e)),n=["absolute","fixed"].indexOf(Oi(e).position)>=0&&yi(e)?zi(e):e;return gi(n)?t.filter(function(e){return gi(e)&&ha(e,n)&&"body"!==Pi(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ga(e,n,r);return t.top=bi(o.top,t.top),t.right=xi(o.right,t.right),t.bottom=xi(o.bottom,t.bottom),t.left=bi(o.left,t.left),t},ga(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function va(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ba(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function xa(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,u=n.rootBoundary,c=void 0===u?Yi:u,d=n.elementContext,f=void 0===d?qi:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,y=va("number"!=typeof g?g:ba(g,Ui)),v=f===qi?"reference":qi,b=e.rects.popper,x=e.elements[h?v:f],w=ya(gi(x)?x:x.contextElement||Ti(e.elements.popper),l,c,a),S=Ci(e.elements.reference),k=aa({reference:S,element:b,strategy:"absolute",placement:o}),C=ma(Object.assign({},b,k)),E=f===qi?C:S,P={top:w.top-E.top+y.top,bottom:E.bottom-w.bottom+y.bottom,left:w.left-E.left+y.left,right:E.right-w.right+y.right},T=e.modifiersData.offset;if(f===qi&&T){var A=T[o];Object.keys(P).forEach(function(e){var t=[Bi,Ii].indexOf(e)>=0?1:-1,n=[Di,Ii].indexOf(e)>=0?"y":"x";P[e]+=A[n]*t})}return P}const wa={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,y=ra(g),v=l||(y===g||!h?[da(g)]:function(e){if(ra(e)===Wi)return[];var t=da(e);return[pa(e),t,pa(t)]}(g)),b=[g].concat(v).reduce(function(e,n){return e.concat(ra(n)===Wi?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Xi:l,c=oa(r),d=c?s?Gi:Gi.filter(function(e){return oa(e)===c}):Ui,f=d.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=d);var p=f.reduce(function(t,n){return t[n]=xa(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ra(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)},[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,C=b[0],E=0;E<b.length;E++){var P=b[E],T=ra(P),A=oa(P)===Hi,O=[Di,Ii].indexOf(T)>=0,M=O?"width":"height",_=xa(t,{placement:P,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),j=O?A?Bi:Vi:A?Ii:Di;x[M]>w[M]&&(j=da(j));var R=da(j),N=[];if(i&&N.push(_[T]<=0),s&&N.push(_[j]<=0,_[R]<=0),N.every(function(e){return e})){C=P,k=!1;break}S.set(P,N)}if(k)for(var L=function(e){var t=b.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},$=h?3:1;$>0;$--){if("break"===L($))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Sa(e,t,n){return bi(e,xi(t,n))}const ka={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,g=xa(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),y=ra(t.placement),v=oa(t.placement),b=!v,x=ia(y),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(S){if(i){var O,M="y"===x?Di:Vi,_="y"===x?Ii:Bi,j="y"===x?"height":"width",R=S[x],N=R+g[M],L=R-g[_],$=p?-C[j]/2:0,F=v===Hi?k[j]:C[j],z=v===Hi?-C[j]:-k[j],D=t.elements.arrow,I=p&&D?ji(D):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=B[M],W=B[_],U=Sa(0,k[j],I[j]),H=b?k[j]/2-$-U-V-P.mainAxis:F-U-V-P.mainAxis,K=b?-k[j]/2+$+U+W+P.mainAxis:z+U+W+P.mainAxis,Y=t.elements.arrow&&zi(t.elements.arrow),q=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,G=null!=(O=null==T?void 0:T[x])?O:0,X=R+K-G,Q=Sa(p?xi(N,R+H-G-q):N,R,p?bi(L,X):L);S[x]=Q,A[x]=Q-R}if(s){var Z,J="x"===x?Di:Vi,ee="x"===x?Ii:Bi,te=S[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[Di,Vi].indexOf(y),ae=null!=(Z=null==T?void 0:T[w])?Z:0,se=ie?re:te-k[ne]-C[ne]-ae+P.altAxis,le=ie?te+k[ne]+C[ne]-ae-P.altAxis:oe,ue=p&&ie?function(e,t,n){var r=Sa(e,t,n);return r>n?n:r}(se,te,le):Sa(p?se:re,te,p?le:oe);S[w]=ue,A[w]=ue-te}t.modifiersData[r]=A}},requiresIfExists:["offset"]};const Ca={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ra(n.placement),l=ia(s),u=[Vi,Bi].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return va("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ba(e,Ui))}(o.padding,n),d=ji(i),f="y"===l?Di:Vi,p="y"===l?Ii:Bi,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],g=zi(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=c[f],x=y-d[u]-c[p],w=y/2-d[u]/2+v,S=Sa(b,w,x),k=l;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ha(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ea(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Pa(e){return[Di,Bi,Ii,Vi].some(function(t){return e[t]>=0})}var Ta=ta({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=mi(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,na)}),s&&l.addEventListener("resize",n.update,na),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,na)}),s&&l.removeEventListener("resize",n.update,na)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=aa({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:ra(t.placement),variation:oa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,la(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,la(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];yi(o)&&Pi(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});yi(r)&&Pi(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},ua,wa,ka,Ca,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=xa(t,{elementContext:"reference"}),s=xa(t,{altBoundary:!0}),l=Ea(a,r),u=Ea(s,o,i),c=Pa(l),d=Pa(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const Aa=function(e){return"string"==typeof e};const Oa=function(e,t,n){return void 0===e||Aa(e)?t:{...t,ownerState:{...t.ownerState,...n}}};const Ma=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n};const _a=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t};const ja=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=v(n?.className,i,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},a={...n,...o,...r};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Ma({...o,...r}),s=_a(r),l=_a(o),u=t(a),c=v(u?.className,n?.className,i,o?.className,r?.className),d={...u?.style,...n?.style,...o?.style,...r?.style},f={...u,...n,...l,...s};return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}};const Ra=function(e,t,n){return"function"==typeof e?e(t,n):e};const Na=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:Ra(n,r),{props:s,internalRef:l}=ja({...i,externalSlotProps:a}),u=ai(l,a?.ref,e.additionalProps?.ref);return Oa(t,{...s,ref:u},r)};function La(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const $a=d().forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,s]=d().useState(null),l=ai(d().isValidElement(n)?Wo(n):null,t);if(hi(()=>{o||s(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),hi(()=>{if(i&&!o)return La(t,i),()=>{La(t,null)}},[t,i,o]),o){if(d().isValidElement(n)){const e={ref:l};return d().cloneElement(n,e)}return n}return i?a().createPortal(n,i):i});function Fa(e){return to("MuiPopper",e)}no("MuiPopper",["root"]);function za(e){return"function"==typeof e?e():e}function Da(e){return void 0!==e.nodeType}const Ia={},Ba=d().forwardRef(function(e,t){const{anchorEl:n,children:r,direction:o,disablePortal:i,modifiers:a,open:s,placement:l,popperOptions:u,popperRef:f,slotProps:p={},slots:h={},TransitionProps:m,ownerState:g,...y}=e,v=d().useRef(null),x=ai(v,t),w=d().useRef(null),S=ai(w,f),k=d().useRef(S);hi(()=>{k.current=S},[S]),d().useImperativeHandle(f,()=>w.current,[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(l,o),[E,P]=d().useState(C),[T,A]=d().useState(za(n));d().useEffect(()=>{w.current&&w.current.forceUpdate()}),d().useEffect(()=>{n&&A(za(n))},[n]),hi(()=>{if(!T||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{P(e.placement)}}];null!=a&&(e=e.concat(a)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=Ta(T,v.current,{placement:C,...u,modifiers:e});k.current(t);const n=v.current;return()=>{if(n){const{style:e}=n,r=e.position,o=e.top,i=e.left,a=e.transform;t.destroy(),e.position=r,e.top=o,e.left=i,e.transform=a}else t.destroy();k.current(null)}},[T,i,a,s,u,C]);const O={placement:E};null!==m&&(O.TransitionProps=m);const M=(e=>{const{classes:t}=e;return b({root:["root"]},Fa,t)})(e),_=h.root??"div",j=Na({elementType:_,externalSlotProps:p.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:M.root});return(0,c().jsx)(_,{...j,children:"function"==typeof r?r(O):r})}),Va=Ur(d().forwardRef(function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:s=!1,modifiers:l,open:u,placement:f="bottom",popperOptions:p=Ia,popperRef:h,style:m,transition:g=!1,slotProps:y={},slots:v={},...b}=e,[x,w]=d().useState(!0);if(!s&&!u&&(!g||x))return null;let S;if(o)S=o;else if(n){const e=za(n);S=e&&Da(e)?pi(e).body:pi(null).body}const k=u||!s||g&&!x?void 0:"none",C=g?{in:u,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return(0,c().jsx)($a,{disablePortal:a,container:S,children:(0,c().jsx)(Ba,{anchorEl:n,direction:i,disablePortal:a,modifiers:l,ref:t,open:g?!x:u,placement:f,popperOptions:p,popperRef:h,slotProps:y,slots:v,...b,style:{position:"fixed",top:0,left:0,display:k,...m},TransitionProps:C,children:r})})}),{name:"MuiPopper",slot:"Root"})({}),Wa=d().forwardRef(function(e,t){const n=Io(),r=Qr({props:e,name:"MuiPopper"}),{anchorEl:o,component:i,components:a,componentsProps:s,container:l,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:g,transition:y,slots:v,slotProps:b,...x}=r,w=v?.root??a?.Root,S={anchorEl:o,container:l,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:g,transition:y,...x};return(0,c().jsx)(Va,{as:i,direction:n?"rtl":"ltr",slots:{root:w},slotProps:b??s,...S,ref:t})});const Ua=function(e){const t=d().useRef(e);return hi(()=>{t.current=e}),d().useRef((...e)=>(0,t.current)(...e)).current};let Ha=0;const Ka={...g()}.useId;function Ya(e){if(void 0!==Ka){const t=Ka();return e??t}return function(e){const[t,n]=d().useState(e),r=e||t;return d().useEffect(()=>{null==t&&(Ha+=1,n(`mui-${Ha}`))},[t]),r}(e)}const qa=Ya;const Ga=function(e){const{controlled:t,default:n,name:r,state:o="value"}=e,{current:i}=d().useRef(void 0!==t),[a,s]=d().useState(n);return[i?t:a,d().useCallback(e=>{i||s(e)},[])]};function Xa(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,p=c[e]||r,h=Ra(d[e],o),{props:{component:m,...g},internalRef:y}=ja({className:n,...l,externalForwardedProps:"root"===e?f:void 0,externalSlotProps:h}),v=ai(y,h?.ref,t.ref),b="root"===e?m||u:m;return[p,Oa(p,{..."root"===e&&!u&&!c[e]&&a,..."root"!==e&&!c[e]&&a,...g,...b&&!s&&{as:b},...b&&s&&{component:b},ref:v},o)]}function Qa(e){return to("MuiTooltip",e)}const Za=no("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const Ja=Ur(Wa,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Kr(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Za.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Za.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Za.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Za.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Za.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Za.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Za.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Za.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),es=Ur("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${S(n.placement.split("-")[0])}`]]}})(Kr(({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Za.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Za.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Za.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Za.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5)+"em",fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Za.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Za.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Za.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Za.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Za.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Za.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Za.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Za.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Za.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Za.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t})),ts=Ur("span",{name:"MuiTooltip",slot:"Arrow"})(Kr(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let ns=!1;const rs=new Fo;let os={x:0,y:0};function is(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const as=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiTooltip"}),{arrow:r=!1,children:o,classes:i,components:a={},componentsProps:s={},describeChild:l=!1,disableFocusListener:u=!1,disableHoverListener:f=!1,disableInteractive:p=!1,disableTouchListener:h=!1,enterDelay:m=100,enterNextDelay:g=0,enterTouchDelay:y=700,followCursor:x=!1,id:w,leaveDelay:k=0,leaveTouchDelay:C=1500,onClose:E,onOpen:P,open:T,placement:A="bottom",PopperComponent:O,PopperProps:M={},slotProps:_={},slots:j={},title:R,TransitionComponent:N,TransitionProps:L,...$}=n,F=d().isValidElement(o)?o:(0,c().jsx)("span",{children:o}),z=Uo(),D=Io(),[I,B]=d().useState(),[V,W]=d().useState(null),U=d().useRef(!1),H=p||x,K=zo(),Y=zo(),q=zo(),G=zo(),[X,Q]=Ga({controlled:T,default:!1,name:"Tooltip",state:"open"});let Z=X;const J=qa(w),ee=d().useRef(),te=Ua(()=>{void 0!==ee.current&&(document.body.style.WebkitUserSelect=ee.current,ee.current=void 0),G.clear()});d().useEffect(()=>te,[te]);const ne=e=>{rs.clear(),ns=!0,Q(!0),P&&!Z&&P(e)},re=Ua(e=>{rs.start(800+k,()=>{ns=!1}),Q(!1),E&&Z&&E(e),K.start(z.transitions.duration.shortest,()=>{U.current=!1})}),oe=e=>{U.current&&"touchstart"!==e.type||(I&&I.removeAttribute("title"),Y.clear(),q.clear(),m||ns&&g?Y.start(ns?g:m,()=>{ne(e)}):ne(e))},ie=e=>{Y.clear(),q.start(k,()=>{re(e)})},[,ae]=d().useState(!1),se=e=>{const t=e?.target??I;if(!t||!Vo(t)){ae(!1);const n=e??new Event("blur");!e&&t&&(Object.defineProperty(n,"target",{value:t}),Object.defineProperty(n,"currentTarget",{value:t})),ie(n)}},le=e=>{I||B(e.currentTarget),Vo(e.target)&&(ae(!0),oe(e))},ue=e=>{U.current=!0;const t=F.props;t.onTouchStart&&t.onTouchStart(e)},ce=e=>{ue(e),q.clear(),K.clear(),te(),ee.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",G.start(y,()=>{document.body.style.WebkitUserSelect=ee.current,oe(e)})},de=e=>{F.props.onTouchEnd&&F.props.onTouchEnd(e),te(),q.start(C,()=>{re(e)})};d().useEffect(()=>{if(Z)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&re(e)}},[re,Z]);const fe=si(Wo(F),B,t);R||0===R||(Z=!1);const pe=d().useRef(),he={},me="string"==typeof R;l?(he.title=Z||!me||f?null:R,he["aria-describedby"]=Z?J:null):(he["aria-label"]=me?R:null,he["aria-labelledby"]=Z&&!me?J:null);const ge={...he,...$,...F.props,className:v($.className,F.props.className),onTouchStart:ue,ref:fe,...x?{onMouseMove:e=>{const t=F.props;t.onMouseMove&&t.onMouseMove(e),os={x:e.clientX,y:e.clientY},pe.current&&pe.current.update()}}:{}};const ye={};h||(ge.onTouchStart=ce,ge.onTouchEnd=de),f||(ge.onMouseOver=is(oe,ge.onMouseOver),ge.onMouseLeave=is(ie,ge.onMouseLeave),H||(ye.onMouseOver=oe,ye.onMouseLeave=ie)),u||(ge.onFocus=is(le,ge.onFocus),ge.onBlur=is(se,ge.onBlur),H||(ye.onFocus=le,ye.onBlur=se));const ve={...n,isRtl:D,arrow:r,disableInteractive:H,placement:A,PopperComponentProp:O,touch:U.current},be="function"==typeof _.popper?_.popper(ve):_.popper,xe=d().useMemo(()=>{let e=[{name:"arrow",enabled:Boolean(V),options:{element:V,padding:4}}];return M.popperOptions?.modifiers&&(e=e.concat(M.popperOptions.modifiers)),be?.popperOptions?.modifiers&&(e=e.concat(be.popperOptions.modifiers)),{...M.popperOptions,...be?.popperOptions,modifiers:e}},[V,M.popperOptions,be?.popperOptions]),we=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return b({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${S(i.split("-")[0])}`],arrow:["arrow"]},Qa,t)})(ve),Se="function"==typeof _.transition?_.transition(ve):_.transition,ke={slots:{popper:a.Popper,transition:a.Transition??N,tooltip:a.Tooltip,arrow:a.Arrow,...j},slotProps:{arrow:_.arrow??s.arrow,popper:{...M,...be??s.popper},tooltip:_.tooltip??s.tooltip,transition:{...L,...Se??s.transition}}},[Ce,Ee]=Xa("popper",{elementType:Ja,externalForwardedProps:ke,ownerState:ve,className:v(we.popper,M?.className)}),[Pe,Te]=Xa("transition",{elementType:fi,externalForwardedProps:ke,ownerState:ve}),[Ae,Oe]=Xa("tooltip",{elementType:es,className:we.tooltip,externalForwardedProps:ke,ownerState:ve}),[Me,_e]=Xa("arrow",{elementType:ts,className:we.arrow,externalForwardedProps:ke,ownerState:ve,ref:W});return(0,c().jsxs)(d().Fragment,{children:[d().cloneElement(F,ge),(0,c().jsx)(Ce,{as:O??Wa,placement:A,anchorEl:x?{getBoundingClientRect:()=>({top:os.y,left:os.x,right:os.x,bottom:os.y,width:0,height:0})}:I,popperRef:pe,open:!!I&&Z,id:J,transition:!0,...ye,...Ee,popperOptions:xe,children:({TransitionProps:e})=>(0,c().jsx)(Pe,{timeout:z.transitions.duration.shorter,...e,...Te,children:(0,c().jsxs)(Ae,{...Oe,children:[R,r?(0,c().jsx)(Me,{..._e}):null]})})})]})}),ss=as;function ls(e){return to("MuiLink",e)}const us=no("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),cs=({theme:e,ownerState:t})=>{const n=t.color;if("colorSpace"in e&&e.colorSpace){const r=xt(e,`palette.${n}.main`)||xt(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}const r=xt(e,`palette.${n}.main`,!1)||xt(e,`palette.${n}`,!1)||t.color,o=xt(e,`palette.${n}.mainChannel`)||xt(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:$n(r,.4)},ds={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},fs=Ur(Co,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${S(n.underline)}`],"button"===n.component&&t.button]}})(Kr(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${us.focusVisible}`]:{outline:"auto"}}}]}))),ps=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiLink"}),r=Uo(),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:u,underline:f="always",variant:p="inherit",sx:h,...m}=n,[g,y]=d().useState(!1),x={...n,color:i,component:a,focusVisible:g,underline:f,variant:p},w=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return b({root:["root",`underline${S(o)}`,"button"===n&&"button",r&&"focusVisible"]},ls,t)})(x);return(0,c().jsx)(fs,{color:i,className:v(w.root,o),classes:u,component:a,onBlur:e=>{Vo(e.target)||y(!1),s&&s(e)},onFocus:e=>{Vo(e.target)&&y(!0),l&&l(e)},ref:t,ownerState:x,variant:p,...m,sx:[...void 0===ds[i]?[{color:i}]:[],...Array.isArray(h)?h:[h]],style:{...m.style,..."always"===f&&"inherit"!==i&&!ds[i]&&{"--Link-underlineColor":cs({theme:r,ownerState:x})}}})}),hs=ps;class ms{static create(){return new ms}static use(){const e=Lo(ms.create).current,[t,n]=d().useState(!1);return e.shouldMount=t,e.setShouldMount=n,d().useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function gs(e,t){var n=Object.create(null);return e&&d().Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,d().isValidElement)(e)?t(e):e}(e)}),n}function ys(e,t,n){return null!=n[t]?n[t]:e.props[t]}function vs(e,t,n){var r=gs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if((0,d().isValidElement)(a)){var s=i in t,l=i in r,u=t[i],c=(0,d().isValidElement)(u)&&!u.props.in;!l||s&&!c?l||!s||c?l&&s&&(0,d().isValidElement)(u)&&(o[i]=(0,d().cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:ys(a,"exit",e),enter:ys(a,"enter",e)})):o[i]=(0,d().cloneElement)(a,{in:!1}):o[i]=(0,d().cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:ys(a,"exit",e),enter:ys(a,"enter",e)})}}),o}var bs=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},xs=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Yo(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,gs(n.children,function(e){return(0,d().cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:ys(e,"appear",n),enter:ys(e,"enter",n),exit:ys(e,"exit",n)})})):vs(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=gs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=k({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ho(e,["component","childFactory"]),o=this.state.contextValue,i=bs(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?d().createElement(Go.Provider,{value:o},i):d().createElement(Go.Provider,{value:o},d().createElement(t,r,i))},t}(d().Component);xs.propTypes={},xs.defaultProps={component:"div",childFactory:function(e){return e}};const ws=xs;r();var Ss=function(e,t){var n=arguments;if(null==t||!Ye.call(t,"css"))return d().createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Xe,o[1]=function(e,t){var n={};for(var r in t)Ye.call(t,r)&&(n[r]=t[r]);return n[qe]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return d().createElement.apply(null,o)};!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(Ss||(Ss={}));var ks=He(function(e,t){var n=Ie([e.styles],void 0,d().useContext(Ke)),r=d().useRef();return We(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),We(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Ae(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function Cs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ie(t)}function Es(){var e=Cs.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}const Ps=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:u}=e,[f,p]=d().useState(!1),h=v(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},g=v(n.child,f&&n.childLeaving,r&&n.childPulsate);return s||f||p(!0),d().useEffect(()=>{if(!s&&null!=l){const e=setTimeout(l,u);return()=>{clearTimeout(e)}}},[l,s,u]),(0,c().jsx)("span",{className:h,style:m,children:(0,c().jsx)("span",{className:g})})};const Ts=no("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),As=Es`
     1(()=>{"use strict";var e={72(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},404(e,t,n){e.exports=n(72)},698(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},869(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),m=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var S=w.prototype=new x;S.constructor=w,y(S,b.prototype),S.isPureReactComponent=!0;var k=Array.isArray;function C(){}var E={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function T(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function F(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function M(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,u=!1;if(null===e)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0;break;case f:return M((u=e._init)(e._payload),t,o,i,a)}}if(u)return a=a(e),u=""===i?"."+F(e,0):i,k(a)?(o="",null!=u&&(o=u.replace(A,"$&/")+"/"),M(a,t,o,"",function(e){return e})):null!=a&&(j(a)&&(l=a,c=o+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(A,"$&/")+"/")+u,a=T(l.type,c,l.props)),t.push(a)),1;u=0;var d,p=""===i?".":i+":";if(k(e))for(var h=0;h<e.length;h++)u+=M(i=e[h],t,o,s=p+F(i,h),a);else if("function"==typeof(h=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(e=h.call(e),h=0;!(i=e.next()).done;)u+=M(i=i.value,t,o,s=p+F(i,h++),a);else if("object"===s){if("function"==typeof e.then)return M(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,i,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return u}function O(e,t,n){if(null==e)return e;var r=[],o=0;return M(e,r,"","",function(e){return t.call(n,e,o++)}),r}function R(e){if(-1===e._status){var t=(0,e._result)();t.then(function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n,void 0===t.status&&(t.status="fulfilled",t.value=n))},function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n,void 0===t.status&&(t.status="rejected",t.reason=n))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function L(e){var t=E.T,n={};n.types=null!==t?t.types:null,E.T=n;try{var r=e(),o=E.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(C,N)}catch(e){N(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}}var D={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!j(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=p,t.Children=D,t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=w,t.StrictMode=i,t.Suspense=u,t.ViewTransition=h,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.addTransitionType=function e(t){var n=E.T;if(null!==n){var r=n.types;null===r?n.types=[t]:-1===r.indexOf(t)&&r.push(t)}else L(e.bind(null,t))},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key;if(null!=t)for(i in void 0!==t.key&&(o=""+t.key),t)!P.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}return T(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,o={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)P.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return T(e,i,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=j,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=L,t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.3.1"},540(e,t,n){e.exports=n(869)},848(e,t,n){e.exports=n(698)}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},(()=>{const e=Object.getPrototypeOf;let t;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}const i=Object.create(null);n.r(i);const a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&o&&r;("object"==typeof s||"function"==typeof s)&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>r[e]);return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>"hub-3d.js?v=1f54cfc5",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="reinventwp-apps-dashboard:";n.l=(r,o,i,a)=>{if(e[r])return void e[r].push(o);let s,l;if(void 0!==i){const e=document.getElementsByTagName("script");for(var c=0;c<e.length;c++){const n=e[c];if(n.getAttribute("src")==r||n.getAttribute("data-webpack")==t+i){s=n;break}}}s||(l=!0,s=document.createElement("script"),s.charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[o];const u=(t,n)=>{s.onerror=s.onload=null,clearTimeout(d);const o=e[r];if(delete e[r],s.parentNode?.removeChild(s),o?.forEach(e=>e(n)),t)return t(n)},d=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),l&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{let e;n.g.importScripts&&(e=n.g.location+"");const t=n.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const n=t.getElementsByTagName("script");if(n.length){let t=n.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=n[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),n.p=e})(),(()=>{const e={334:0};n.f.j=(t,r)=>{let o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{const i=new Promise((n,r)=>o=e[t]=[n,r]);r.push(o[2]=i);const a=new Error,s=r=>{if(n.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){const e=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+n+")",a.name="ChunkLoadError",a.type=e,a.request=n,a.event=r,o[1](a)}};n.l(n.p+n.u(t),s,"chunk-"+t,t)}};const t=(t,r)=>{let[o,i,a]=r;var s,l,c=0;if(o.some(t=>0!==e[t])){for(s in i)n.o(i,s)&&(n.m[s]=i[s]);if(a)a(n)}for(t&&t(r);c<o.length;c++)l=o[c],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0},r=self.webpackChunkreinventwp_apps_dashboard=self.webpackChunkreinventwp_apps_dashboard||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var r=n.cw(e=>{var t=o(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return t.isMemo(e)?i:a[e.$$typeof]||n}a[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[t.Memo]=i;var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(p){var i=f(n);i&&i!==p&&e(t,i,o)}var a=c(n);u&&(a=a.concat(u(n)));for(var h=s(t),m=s(n),g=0;g<a.length;++g){var y=a[g];if(!(r[y]||o&&o[y]||m&&m[y]||h&&h[y])){var v=d(n,y);try{l(t,y,v)}catch(e){}}}}return t}}),o=()=>n(404),i=n.cw((e,t)=>{var n=f(),r=u(),o=l();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function s(e){for(var t=e,n=t;n&&!n.alternate;)!!(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function p(e){if(s(e)!==e)throw Error(i(188))}function h(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=h(e)))return t;e=e.sibling}return null}function m(e,t,n,r,o,i){for(;null!==e;){if((5===e.tag||27===e.tag||6===e.tag)&&n(e,r,o,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag&&27!==e.tag)&&m(e.child,t,n,r,o,i))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag||27===e.tag)return e;e=e.return}return null}function y(e){var t=!1;for(e=e.return;null!==e&&(4===e.tag&&(t=!0),3!==e.tag&&5!==e.tag&&27!==e.tag);)e=e.return;return t}function v(e){var t=[null,null],n=g(e);return null===n||b(t,e,n.child,{foundSelf:!1}),t}function b(e,t,n,r){for(;null!==n;){if(n===t)r.foundSelf=!0;else if(5===n.tag||27===n.tag||6===n.tag){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((22!==n.tag||null===n.memoizedState)&&b(e,t,n.child,r))return!0;n=n.sibling}return!1}function x(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var w=null,S=null;function k(e,t,n){return e===n||e===t&&(w=e,!0)}function C(e,t,n){return e===n?(S=e,!1):e===t&&(null!==S&&(w=e),!0)}function E(e){if(null===e)return null;do{e=null===e?null:e.return}while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function P(e,t,n){for(var r=0,o=e;o;o=n(o))r++;o=0;for(var i=t;i;i=n(i))o++;for(;0<r-o;)e=n(e),r--;for(;0<o-r;)t=n(t),o--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,j=Symbol.for("react.element"),A=Symbol.for("react.transitional.element"),F=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),L=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),_=Symbol.for("react.lazy");Symbol.for("react.scope");var V=Symbol.for("react.activity"),$=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var W=Symbol.for("react.memo_cache_sentinel"),U=Symbol.for("react.view_transition"),H=Symbol.for("react.recoverable"),Y=Symbol.iterator;function q(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Y&&e[Y]||e["@@iterator"])?e:null}var G=Symbol.for("react.client.reference");function K(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===G?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case M:return"Fragment";case R:return"Profiler";case O:return"StrictMode";case z:return"Suspense";case I:return"SuspenseList";case V:return"Activity";case U:return"ViewTransition"}if("object"==typeof e)switch(e.$$typeof){case F:return"Portal";case L:return e.displayName||"Context";case N:return(e._context.displayName||"Context")+".Consumer";case D:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case B:return null!==(t=e.displayName||null)?t:K(e.type)||"Memo";case _:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}var X=Array.isArray,Q=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ee=[],te=-1;function ne(e){return{current:e}}function re(e){0>te||(e.current=ee[te],ee[te]=null,te--)}function oe(e,t){te++,ee[te]=e.current,e.current=t}var ie,ae,se=ne(null),le=ne(null),ce=ne(null),ue=ne(null);function de(e,t){switch(oe(ce,t),oe(le,e),oe(se,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Bf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=_f(t=Bf(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}re(se),oe(se,e)}function fe(){re(se),re(le),re(ce)}function pe(e){var t=e.memoizedState;null!==t&&(hh._currentValue=t.memoizedState,oe(ue,e));var n=_f(t=se.current,e.type);t!==n&&(oe(le,e),oe(se,n))}function he(e){le.current===e&&(re(se),re(le)),ue.current===e&&(re(ue),hh._currentValue=J)}function me(e){if(void 0===ie)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ie=t&&t[1]||"",ae=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ie+e+ae}var ge=!1;function ye(e,t){if(!e||ge)return"";ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var o=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(void 0!==o?Object.defineProperty(e.prototype,"props",o):delete e.prototype.props)}}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===c.length)for(r=l.length-1,o=c.length-1;1<=r&&0<=o&&l[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==c[o]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{ge=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?me(n):""}function ve(e,t){switch(e.tag){case 26:case 27:case 5:return me(e.type);case 16:return me("Lazy");case 13:return e.child!==t&&null!==t?me("Suspense Fallback"):me("Suspense");case 19:return me("SuspenseList");case 0:case 15:return ye(e.type,!1);case 11:return ye(e.type.render,!1);case 1:return ye(e.type,!0);case 31:return me("Activity");case 30:return me("ViewTransition");default:return""}}function be(e){try{var t="",n=null;do{t+=ve(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var xe=Object.prototype.hasOwnProperty,we=n.unstable_scheduleCallback,Se=n.unstable_cancelCallback,ke=n.unstable_shouldYield,Ce=n.unstable_requestPaint,Ee=n.unstable_now,Pe=n.unstable_getCurrentPriorityLevel,Te=n.unstable_ImmediatePriority,je=n.unstable_UserBlockingPriority,Ae=n.unstable_NormalPriority,Fe=n.unstable_LowPriority,Me=n.unstable_IdlePriority,Oe=n.log,Re=n.unstable_setDisableYieldValue,Ne=null,Le=null;function De(e){if("function"==typeof Oe&&Re(e),Le&&"function"==typeof Le.setStrictMode)try{Le.setStrictMode(Ne,e)}catch(e){}}var ze=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Ie(e)/Be|0)|0},Ie=Math.log,Be=Math.LN2;var _e=256,Ve=262144,$e=4194304;function We(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ue(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,i=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~i)?o=We(r):0!==(a&=s)?o=We(a):n||0!==(n=s&~e)&&(o=We(n)):0!==(s=r&~i)?o=We(s):0!==a?o=We(a):n||0!==(n=r&~e)&&(o=We(n)),0===o?0:0!==t&&t!==o&&0===(t&i)&&((i=o&-o)>=(n=t&-t)||32===i&&4194048&n)?t:o}function He(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ye(e,t){8&t&&(t|=32&t);var n=e.entangledLanes;if(0!==n)for(e=e.entanglements,n&=t;0<n;){var r=31-ze(n),o=1<<r;t|=e[r],n&=~o}return t}function qe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ge(){var e=$e;return!(62914560&($e<<=1))&&($e=4194304),e}function Ke(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xe(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ze(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Ze(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ze(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Je(e,t){var n=t&-t;return 0!==((n=42&n?1:et(n))&(e.suspendedLanes|t))?0:n}function et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tt(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function nt(){var e=Z.p;return 0!==e?e:void 0===(e=window.event)?32:Fh(e.type)}function rt(e,t){var n=Z.p;try{return Z.p=e,t()}finally{Z.p=n}}var ot=Math.random().toString(36).slice(2),it="__reactFiber$"+ot,at="__reactProps$"+ot,st="__reactContainer$"+ot,lt="__reactEvents$"+ot,ct="__reactListeners$"+ot,ut="__reactHandles$"+ot,dt="__reactResources$"+ot,ft="__reactMarker$"+ot,pt="__reactLoad$"+ot;function ht(e){delete e[it],delete e[at],delete e[ct],delete e[ut]}function mt(e){var t;if(t=e[it])return t;for(var n=e.parentNode;n;){if(t=n[st]||n[it]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Np(e);null!==e;){if(n=e[it])return n;e=Np(e)}return t}n=(e=n).parentNode}return null}function gt(e){if(e=e[it]||e[st]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function yt(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function vt(e){var t=e[dt];return t||(t=e[dt]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[ft]=!0}function xt(e){e[pt]=void 0}var wt=new Set,St={};function kt(e,t){Ct(e,t),Ct(e+"Capture",t)}function Ct(e,t){for(St[e]=t,e=0;e<t.length;e++)wt.add(t[e])}var Et=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pt={},Tt={};var jt=!1;function At(){var e=jt;return jt=!1,e}function Ft(e,t,n){if(o=t,xe.call(Tt,o)||!xe.call(Pt,o)&&(Et.test(o)?Tt[o]=!0:(Pt[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}var o}function Mt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,n)}}function Ot(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,r)}}function Rt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Nt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Lt(e){if(!e._valueTracker){var t=Nt(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function Dt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var zt=/[\n"\\]/g;function It(e){return e.replace(zt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Bt(e,t,n,r,o,i,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Rt(t)):e.value!==""+Rt(t)&&(e.value=""+Rt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?"number"===a&&e.value==t?Vt(e,Rt(e.value)):Vt(e,Rt(t)):null!=n?Vt(e,Rt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+Rt(s):e.removeAttribute("name")}function _t(e,t,n,r,o,i,a,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void Lt(e);n=null!=n?""+Rt(n):"",t=null!=t?""+Rt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),Lt(e)}function Vt(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function $t(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Rt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Wt(e,t,n){null==t||((t=""+Rt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Rt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ut(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(i(92));if(X(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=Rt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),Lt(e)}function Ht(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Yt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function qt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Yt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Gt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",jt=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&(qt(e,o,r),jt=!0)}else for(var a in t)t.hasOwnProperty(a)&&qt(e,a,t[a])}function Kt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Qt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zt(e){return Qt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Jt(){}var en=null;function tn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var nn=null,rn=null;function on(e){var t=gt(e);if(t&&(e=t.stateNode)){var n=e[at]||null;e:switch(e=t.stateNode,t.type){case"input":if(Bt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+It(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[at]||null;if(!o)throw Error(i(90));Bt(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&Dt(r)}break e;case"textarea":Wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&$t(e,!!n.multiple,t,!1)}}}var an=!1;function sn(e,t,n){if(an)return e(t,n);an=!0;try{return e(t)}finally{if(an=!1,(null!==nn||null!==rn)&&(vd(),nn&&(t=nn,e=rn,rn=nn=null,on(t),e)))for(t=0;t<e.length;t++)on(e[t])}}function ln(e,t){var n=e.stateNode;if(null===n)return null;var r=n[at]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var cn=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),un=!1;if(cn)try{var dn={};Object.defineProperty(dn,"passive",{get:function(){un=!0}}),window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch(e){un=!1}var fn=null,pn=null,hn=null;function mn(){if(hn)return hn;var e,t,n=pn,r=n.length,o="value"in fn?fn.value:fn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return hn=o.slice(e,1<t?1-t:void 0)}function gn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function yn(){return!0}function vn(){return!1}function bn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yn:vn,this.isPropagationStopped=vn,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yn)},persist:function(){},isPersistent:yn}),t}var xn,wn,Sn,kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cn=bn(kn),En=T({},kn,{view:0,detail:0}),Pn=bn(En),Tn=T({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Sn&&(Sn&&"mousemove"===e.type?(xn=e.screenX-Sn.screenX,wn=e.screenY-Sn.screenY):wn=xn=0,Sn=e),xn)},movementY:function(e){return"movementY"in e?e.movementY:wn}}),jn=bn(Tn),An=bn(T({},Tn,{dataTransfer:0})),Fn=bn(T({},En,{relatedTarget:0})),Mn=bn(T({},kn,{animationName:0,elapsedTime:0,pseudoElement:0})),On=bn(T({},kn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Rn=bn(T({},kn,{data:0})),Nn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ln={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Dn[e])&&!!t[e]}function In(){return zn}var Bn=bn(T({},En,{key:function(e){if(e.key){var t=Nn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=gn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ln[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?gn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?gn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),_n=bn(T({},Tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Vn=bn(T({},kn,{submitter:0})),$n=bn(T({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),Wn=bn(T({},kn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Un=bn(T({},Tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Hn=bn(T({},kn,{newState:0,oldState:0,source:0})),Yn=[9,13,27,32],qn=cn&&"CompositionEvent"in window,Gn=null;cn&&"documentMode"in document&&(Gn=document.documentMode);var Kn=cn&&"TextEvent"in window&&!Gn,Xn=cn&&(!qn||Gn&&8<Gn&&11>=Gn),Qn=String.fromCharCode(32),Zn=!1;function Jn(e,t){switch(e){case"keyup":return-1!==Yn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function er(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var tr=!1;var nr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nr[e.type]:"textarea"===t}function or(e,t,n,r){nn?rn?rn.push(r):rn=[r]:nn=r,0<(t=Cf(t,"onChange")).length&&(n=new Cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function sr(e){gf(e,0)}function lr(e){if(Dt(yt(e)))return e}function cr(e,t){if("change"===e)return t}var ur=!1;if(cn){var dr;if(cn){var fr="oninput"in document;if(!fr){var pr=document.createElement("div");pr.setAttribute("oninput","return;"),fr="function"==typeof pr.oninput}dr=fr}else dr=!1;ur=dr&&(!document.documentMode||9<document.documentMode)}function hr(){ir&&(ir.detachEvent("onpropertychange",mr),ar=ir=null)}function mr(e){if("value"===e.propertyName&&lr(ar)){var t=[];or(t,ar,e,tn(e)),sn(sr,t)}}function gr(e,t,n){"focusin"===e?(hr(),ar=n,(ir=t).attachEvent("onpropertychange",mr)):"focusout"===e&&hr()}function yr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return lr(ar)}function vr(e,t){if("click"===e)return lr(t)}function br(e,t){if("input"===e||"change"===e)return lr(t)}var xr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function wr(e,t){if(xr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!xe.call(t,o)||!xr(e[o],t[o]))return!1}return!0}function Sr(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function kr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n,r=kr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=kr(r)}}function Er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Pr(e){for(var t=Sr((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Sr((e=t.contentWindow).document)}return t}function Tr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var jr=cn&&"documentMode"in document&&11>=document.documentMode,Ar=null,Fr=null,Mr=null,Or=!1;function Rr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Or||null==Ar||Ar!==Sr(r)||("selectionStart"in(r=Ar)&&Tr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Mr&&wr(Mr,r)||(Mr=r,0<(r=Cf(Fr,"onSelect")).length&&(t=new Cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ar)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Lr={animationend:Nr("Animation","AnimationEnd"),animationiteration:Nr("Animation","AnimationIteration"),animationstart:Nr("Animation","AnimationStart"),transitionrun:Nr("Transition","TransitionRun"),transitionstart:Nr("Transition","TransitionStart"),transitioncancel:Nr("Transition","TransitionCancel"),transitionend:Nr("Transition","TransitionEnd")},Dr={},zr={};function Ir(e){if(Dr[e])return Dr[e];if(!Lr[e])return e;var t,n=Lr[e];for(t in n)if(n.hasOwnProperty(t)&&t in zr)return Dr[e]=n[t];return e}cn&&(zr=document.createElement("div").style,"AnimationEvent"in window||(delete Lr.animationend.animation,delete Lr.animationiteration.animation,delete Lr.animationstart.animation),"TransitionEvent"in window||delete Lr.transitionend.transition);var Br=Ir("animationend"),_r=Ir("animationiteration"),Vr=Ir("animationstart"),$r=Ir("transitionrun"),Wr=Ir("transitionstart"),Ur=Ir("transitioncancel"),Hr=Ir("transitionend"),Yr=new Map,qr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Gr(e,t){Yr.set(e,t),kt(t,[e])}qr.push("scrollEnd");var Kr=0;function Xr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:(e="_"+(e=Ju.identifierPrefix)+"t_"+(Kr++).toString(32)+"_",t.autoName=e)}function Qr(e){if(null==e||"string"==typeof e)return e;var t=null,n=sd;if(null!==n)for(var r=0;r<n.length;r++){var o=e[n[r]];if(null!=o){if("none"===o)return"none";t=null==t?o:t+" "+o}}return t??e.default}function Zr(e,t){return e=Qr(e),null==(t=Qr(t))?"auto"===e?null:e:"auto"===t?null:t}var Jr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},eo=[],to=0,no=0;function ro(){for(var e=to,t=no=to=0;t<e;){var n=eo[t];eo[t++]=null;var r=eo[t];eo[t++]=null;var o=eo[t];eo[t++]=null;var i=eo[t];if(eo[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&so(n,o,i)}}function oo(e,t,n,r){eo[to++]=e,eo[to++]=t,eo[to++]=n,eo[to++]=r,no|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function io(e,t,n,r){return oo(e,t,n,r),lo(e)}function ao(e,t){return oo(e,null,null,t),lo(e)}function so(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(o=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,o&&null!==t&&(o=31-ze(n),null===(r=(e=i.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),i):null}function lo(e){if(50<ld)throw ld=0,cd=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var co={};function uo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fo(e,t,n,r){return new uo(e,t,n,r)}function po(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ho(e,t){var n=e.alternate;return null===n?((n=fo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=1206910976&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function mo(e,t){e.flags&=1206910978;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function go(e,t,n,r,o,a){var s=0;if("function"==typeof(r=e))po(r)&&(s=1);else if("string"==typeof r)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,se.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(r){case V:return(e=fo(31,n,t,o)).elementType=V,e.lanes=a,e;case M:return yo(n.children,o,a,t);case O:s=8,o|=24;break;case R:return(e=fo(12,n,t,2|o)).elementType=R,e.lanes=a,e;case z:return(e=fo(13,n,t,o)).elementType=z,e.lanes=a,e;case I:return(e=fo(19,n,t,o)).elementType=I,e.lanes=a,e;case $:case U:return(e=fo(30,n,t,e=32|o)).elementType=U,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case L:s=10;break e;case N:s=9;break e;case D:s=11;break e;case B:s=14;break e;case _:s=16,r=null;break e}s=29,n=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=fo(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function yo(e,t,n,r){return(e=fo(7,e,r,t)).lanes=n,e}function vo(e,t,n){return(e=fo(6,e,null,t)).lanes=n,e}function bo(e){var t=fo(18,null,null,0);return t.stateNode=e,t}function xo(e,t,n){return(t=fo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wo=new WeakMap;function So(e,t){if("object"==typeof e&&null!==e){var n=wo.get(e);return void 0!==n?n:(t={value:e,source:t,stack:be(t)},wo.set(e,t),t)}return{value:e,source:t,stack:be(t)}}var ko=[],Co=0,Eo=null,Po=0,To=[],jo=0,Ao=null,Fo=1,Mo="";function Oo(e,t){ko[Co++]=Po,ko[Co++]=Eo,Eo=e,Po=t}function Ro(e,t,n){To[jo++]=Fo,To[jo++]=Mo,To[jo++]=Ao,Ao=e;var r=Fo;e=Mo;var o=32-ze(r)-1;r&=~(1<<o),n+=1;var i=32-ze(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Fo=1<<32-ze(t)+o|n<<o|r,Mo=i+e}else Fo=1<<i|n<<o|r,Mo=e}function No(e){null!==e.return&&(Oo(e,1),Ro(e,1,0))}function Lo(e){for(;e===Eo;)Eo=ko[--Co],ko[Co]=null,Po=ko[--Co],ko[Co]=null;for(;e===Ao;)Ao=To[--jo],To[jo]=null,Mo=To[--jo],To[jo]=null,Fo=To[--jo],To[jo]=null}function Do(e,t){To[jo++]=Fo,To[jo++]=Mo,To[jo++]=Ao,Fo=t.id,Mo=t.overflow,Ao=e}var zo=null,Io=null,Bo=!1,_o=null,Vo=!1,$o=Error(i(519));function Wo(e){throw Ko(So(Error(i(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),$o}function Uo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[it]=e,t[at]=r,n){case"dialog":yf("cancel",t),yf("close",t);break;case"iframe":case"object":case"embed":yf("load",t);break;case"video":case"audio":for(n=0;n<hf.length;n++)yf(hf[n],t);break;case"source":yf("error",t);break;case"img":case"image":case"link":yf("error",t),yf("load",t);break;case"details":yf("toggle",t);break;case"input":yf("invalid",t),_t(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":yf("invalid",t);break;case"textarea":yf("invalid",t),Ut(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Ff(t.textContent,n)?(null!=r.popover&&(yf("beforetoggle",t),yf("toggle",t)),null!=r.onScroll&&yf("scroll",t),null!=r.onScrollEnd&&yf("scrollend",t),null!=r.onClick&&(t.onclick=Jt),t=!0):t=!1,t||Wo(e,!0)}function Ho(e){for(zo=e.return;zo;)switch(zo.tag){case 5:case 31:case 13:return void(Vo=!1);case 27:case 3:return void(Vo=!0);default:zo=zo.return}}function Yo(e){if(e!==zo)return!1;if(!Bo)return Ho(e),Bo=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||$f(e.type,e.memoizedProps)),t=!t),t&&Io&&Wo(e),Ho(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));Io=Rp(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));Io=Rp(e)}else 27===n?(n=Io,Xf(e.type)?(e=Op,Op=null,Io=e):Io=n):Io=zo?Mp(e.stateNode.nextSibling):null;return!0}function qo(){Io=zo=null,Bo=!1}function Go(){var e=_o;return null!==e&&(null===Hu?Hu=e:Hu.push.apply(Hu,e),_o=null),e}function Ko(e){null===_o?_o=[e]:_o.push(e)}var Xo=ne(null),Qo=null,Zo=null;function Jo(e,t,n){oe(Xo,t._currentValue),t._currentValue=n}function ei(e){e._currentValue=Xo.current,re(Xo)}function ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ni(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var c=0;c<t.length;c++)if(l.context===t[c]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),ti(a.return,n,e),r||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(i(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),ti(s,n,e),s=null}else 13===o.tag&&null!==o.memoizedState&&null===o.memoizedState.dehydrated?(o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),ti(o.return,n,e),s=null!==(s=o.child)?s.sibling:null):s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function ri(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(i(387));if(null!==(s=s.memoizedProps)){var l=o.type;xr(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===ue.current){if(null===(s=o.alternate))throw Error(i(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(hh):e=[hh])}o=o.return}return null!==e&&ni(t,e,n,r),t.flags|=262144,null!==e}function oi(e){for(e=e.firstContext;null!==e;){if(!xr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ii(e){Qo=e,Zo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ai(e){return li(Qo,e)}function si(e,t){return null===Qo&&ii(e),li(e,t)}function li(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Zo){if(null===e)throw Error(i(308));Zo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zo=Zo.next=t;return n}var ci="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ui=n.unstable_scheduleCallback,di=n.unstable_NormalPriority,fi={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pi(){return{controller:new ci,data:new Map,refCount:0}}function hi(e){e.refCount--,0===e.refCount&&ui(di,function(){e.controller.abort()})}function mi(e,t){if(4194048&e.pendingLanes){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var gi=null;var yi=null,vi=0,bi=0,xi=null;function wi(){if(0===--vi&&(gi=null,null!==yi)){null!==xi&&(xi.status="fulfilled");var e=yi;yi=null,bi=0,xi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Si=Q.S;Q.S=function(e,t){if(Gu=Ee(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===yi){var n=yi=[];vi=0,bi=uf(),xi={status:"pending",value:void 0,then:function(e){n.push(e)}}}vi++,t.then(wi,wi)}(0,t),null!==gi)for(var n=Xd;null!==n;)mi(n,gi),n=n.next;if(null!==(n=e.types)){for(var r=Xd;null!==r;)mi(r,n),r=r.next;if(0!==bi){null===(r=gi)&&(r=gi=[]);for(var o=0;o<n.length;o++){var i=n[o];-1===r.indexOf(i)&&r.push(i)}}}null!==Si&&Si(e,t)};var ki=ne(null);function Ci(){var e=ki.current;return null!==e?e:Au.pooledCache}function Ei(e,t){oe(ki,null===t?ki.current:t.pool)}function Pi(){var e=Ci();return null===e?null:{parent:fi._currentValue,pool:e}}var Ti=Error(i(460)),ji=Error(i(474)),Ai=Error(i(542)),Fi={then:function(){}};function Mi(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Oi(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Jt,Jt),t=n),t.status){case"fulfilled":return t.value;case"rejected":if(Di(e=t.reason),void 0===e&&!("reason"in t))throw Error(i(600));throw e;default:if("string"==typeof t.status)t.then(Jt,Jt);else{if(null!==(e=Au)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Di(e=t.reason),e}throw Ni=t,Ti}}function Ri(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw Ni=e,Ti;throw e}}var Ni=null;function Li(){if(null===Ni)throw Error(i(459));var e=Ni;return Ni=null,e}function Di(e){if(e===Ti||e===Ai)throw Error(i(483))}var zi=null,Ii=0;function Bi(e){var t=Ii;return Ii+=1,null===zi&&(zi=[]),Oi(zi,e,t)}function _i(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Vi(e,t){if(t.$$typeof===j)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $i(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function o(e,t){return(e=ho(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=134217730,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=134217730),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=vo(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===M?(_i(e=d(e,t,n.props.children,r,n.key),n),e):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===_&&Ri(i)===t.type)?(_i(t=o(t,n.props),n),t.return=e,t):(_i(t=go(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=xo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=yo(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=vo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case A:return _i(n=go(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case F:return(t=xo(t,e.mode,n)).return=e,t;case _:return f(e,t=Ri(t),n)}if(X(t)||q(t))return(t=yo(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,Bi(t),n);if(t.$$typeof===L)return f(e,si(e,t),n);Vi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case A:return n.key===o?c(e,t,n,r):null;case F:return n.key===o?u(e,t,n,r):null;case _:return p(e,t,n=Ri(n),r)}if(X(n)||q(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,Bi(n),r);if(n.$$typeof===L)return p(e,t,si(e,n),r);Vi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case A:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case F:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case _:return h(e,t,n,r=Ri(r),o)}if(X(r)||q(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return h(e,t,n,Bi(r),o);if(r.$$typeof===L)return h(e,t,n,si(t,r),o);Vi(t,r)}return null}function m(l,c,u,d){if("object"==typeof u&&null!==u&&u.type===M&&null===u.key&&void 0===u.props.ref&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case A:e:{for(var g=u.key;null!==c;){if(c.key===g){if((g=u.type)===M){if(7===c.tag){n(l,c.sibling),_i(d=o(c,u.props.children),u),d.return=l,l=d;break e}}else if(c.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===_&&Ri(g)===c.type){n(l,c.sibling),_i(d=o(c,u.props),u),d.return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===M?(_i(d=yo(u.props.children,l.mode,d,u.key),u),d.return=l,l=d):(_i(d=go(u.type,u.key,u.props,null,l.mode,d),u),d.return=l,l=d)}return s(l);case F:e:{for(g=u.key;null!==c;){if(c.key===g){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(d=o(c,u.children||[])).return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}(d=xo(u,l.mode,d)).return=l,l=d}return s(l);case _:return m(l,c,u=Ri(u),d)}if(X(u))return function(o,i,s,l){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===u?c=y:u.sibling=y,u=y,d=g}if(m===s.length)return n(o,d),Bo&&Oo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return Bo&&Oo(o,m),c}for(d=r(d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(o,e)}),Bo&&Oo(o,m),c}(l,c,u,d);if(q(u)){if("function"!=typeof(g=q(u)))throw Error(i(150));return function(o,s,l,c){if(null==l)throw Error(i(151));for(var u=null,d=null,m=s,g=s=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?u=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),Bo&&Oo(o,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(o,v.value,c))&&(s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return Bo&&Oo(o,g),u}for(m=r(m);!v.done;g++,v=l.next())null!==(v=h(m,o,g,v.value,c))&&(e&&null!==(y=v.alternate)&&m.delete(null===y.key?g:y.key),s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),Bo&&Oo(o,g),u}(l,c,u=g.call(u),d)}if("function"==typeof u.then)return m(l,c,Bi(u),d);if(u.$$typeof===L)return m(l,c,si(l,u),d);Vi(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(d=o(c,u)).return=l,l=d):(n(l,c),(d=vo(u,l.mode,d)).return=l,l=d),s(l)):n(l,c)}return function(e,t,n,r){try{Ii=0;var o=m(e,t,n,r);return zi=null,o}catch(t){if(t===Ti||t===Ai)throw t;var i=fo(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var Wi=$i(!0),Ui=$i(!1),Hi=!1;function Yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Gi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ki(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&ju){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=lo(e),so(e,null,n),t}return oo(e,r,t,n),lo(e)}function Xi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}function Qi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Zi=!1;function Ji(){if(Zi){if(null!==xi)throw xi}}function ea(e,t,n,r){Zi=!1;var o=e.updateQueue;Hi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var f=-536870913&s.lane,p=f!==s.lane;if(p?(Mu&f)===f:(r&f)===f){0!==f&&f===bi&&(Zi=!0),null!==u&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,m=s;f=t;var g=n;switch(m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(g,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(g,d,f):h))break e;d=T({},d,f);break e;case 2:Hi=!0}}null!==(f=s.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null===i&&(o.shared.lanes=0),Bu|=a,e.lanes=a,e.memoizedState=d}}function ta(e,t){if("function"!=typeof e)throw Error(i(191,e));e.call(t)}function na(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ta(n[e],t)}var ra=ne(null),oa=ne(0);function ia(e,t){oe(oa,e=zu),oe(ra,t),zu=e|t.baseLanes}function aa(){oe(oa,zu),oe(ra,ra.current)}function sa(){zu=oa.current,re(ra),re(oa)}var la=ne(null),ca=null;function ua(e){var t=e.alternate;oe(ma,1&ma.current),oe(la,e),null===ca&&(null===t||null!==ra.current||null!==t.memoizedState)&&(ca=e)}function da(e){oe(ma,ma.current),oe(la,e),null===ca&&(ca=e)}function fa(e){22===e.tag?(oe(ma,ma.current),oe(la,e),null===ca&&(ca=e)):pa()}function pa(){oe(ma,ma.current),oe(la,la.current)}function ha(e){re(la),ca===e&&(ca=null),re(ma)}var ma=ne(0);function ga(e,t){oe(la,la.current),oe(ma,t)}function ya(e){re(ma),re(la),ca===e&&(ca=null)}function va(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Ap(n)||Fp(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ba=0,xa=null,wa=null,Sa=null,ka=!1,Ca=!1,Ea=!1,Pa=0,Ta=0,ja=null,Aa=0;function Fa(){throw Error(i(321))}function Ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xr(e[n],t[n]))return!1;return!0}function Oa(e,t,n,r,o,i){return ba=i,xa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=null===e||null===e.memoizedState?qs:Gs,Ea=!1,i=n(r,o),Ea=!1,Ca&&(i=Na(t,n,r,o)),Ra(e),i}function Ra(e){Q.H=Ys;var t=null!==wa&&null!==wa.next;if(ba=0,Sa=wa=xa=null,ka=!1,Ta=0,ja=null,t)throw Error(i(300));null===e||ul||null!==(e=e.dependencies)&&oi(e)&&(ul=!0)}function Na(e,t,n,r){xa=e;var o=0;do{if(Ca&&(ja=null),Ta=0,Ca=!1,25<=o)throw Error(i(301));if(o+=1,Sa=wa=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}Q.H=Ks,a=t(n,r)}while(Ca);return a}function La(){var e=Q.H,t=e.useState()[0];return t="function"==typeof t.then?Va(t):t,e=e.useState()[0],(null!==wa?wa.memoizedState:null)!==e&&(xa.flags|=1024),t}function Da(){var e=0!==Pa;return Pa=0,e}function za(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ia(e){if(ka){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ka=!1}ba=0,Sa=wa=xa=null,Ca=!1,Ta=Pa=0,ja=null}function Ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Sa?xa.memoizedState=Sa=e:Sa=Sa.next=e,Sa}function _a(){if(null===wa){var e=xa.alternate;e=null!==e?e.memoizedState:null}else e=wa.next;var t=null===Sa?xa.memoizedState:Sa.next;if(null!==t)Sa=t,wa=e;else{if(null===e){if(null===xa.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(wa=e).memoizedState,baseState:wa.baseState,baseQueue:wa.baseQueue,queue:wa.queue,next:null},null===Sa?xa.memoizedState=Sa=e:Sa=Sa.next=e}return Sa}function Va(e){var t=Ta;return Ta+=1,null===ja&&(ja=[]),e=Oi(ja,e,t),t=xa,null===(null===Sa?t.memoizedState:Sa.next)&&(t=t.alternate,Q.H=null===t||null===t.memoizedState?qs:Gs),e}function $a(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Va(e);if(e.$$typeof===H)return;if(e.$$typeof===L)return ai(e)}throw Error(i(438,String(e)))}function Wa(e){var t=null,n=xa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=xa.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=W;return t.index++,n}function Ua(e,t){return"function"==typeof t?t(e):t}function Ha(e){return Ya(_a(),wa,e)}function Ya(e,t,n){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,c=null,u=t=o.next,d=!1;do{var f=-536870913&u.lane;if(f!==u.lane?(Mu&f)===f:(ba&f)===f){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===bi&&(d=!0);else{if((ba&p)===p){u=u.next,p===bi&&(d=!0);continue}f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,s=a):c=c.next=f,xa.lanes|=p,Bu|=p}f=u.action,Ea&&n(a,f),a=u.hasEagerState?u.eagerState:n(a,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,s=a):c=c.next=p,xa.lanes|=f,Bu|=f;u=u.next}while(null!==u&&u!==t);if(null===c?s=a:c.next=l,!xr(a,e.memoizedState)&&(ul=!0,d&&null!==(n=xi)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=c,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function qa(e){var t=_a(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);xr(a,t.memoizedState)||(ul=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ga(e,t,n){var r=xa,o=_a(),a=Bo;if(a){if(void 0===n)throw Error(i(407));n=n()}else n=t();var s=!xr((wa||o).memoizedState,n);if(s&&(o.memoizedState=n,ul=!0),o=o.queue,bs(Qa.bind(null,r,o,e),[e]),hs((e=o.getSnapshot!==t||s||null!==Sa&&!!(1&Sa.memoizedState.tag))?9:8,{destroy:void 0},Xa.bind(null,r,o,n,t),null),e){if(r.flags|=2048,null===Au)throw Error(i(349));a||127&ba||Ka(r,t,n)}return n}function Ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=xa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Xa(e,t,n,r){t.value=n,t.getSnapshot=r,Za(t)&&Ja(e)}function Qa(e,t,n){return n(function(){Za(t)&&Ja(e)})}function Za(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xr(e,n)}catch(e){return!0}}function Ja(e){var t=ao(e,2);null!==t&&pd(t,e,2)}function es(e){var t=Ba();if("function"==typeof e){var n=e;if(e=n(),Ea){De(!0);try{n()}finally{De(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:e},t}function ts(e,t,n,r){return e.baseState=n,Ya(e,wa,"function"==typeof r?r:Ua)}function ns(e,t,n,r,o){if(Ws(e))throw Error(i(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==Q.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,rs(t,a)):(a.next=n.next,t.pending=n.next=a)}}function rs(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=Q.T,a={};a.types=null!==i?i.types:null,Q.T=a;try{var s=n(o,r),l=Q.S;null!==l&&l(a,s),os(e,t,s)}catch(n){as(e,t,n)}finally{null!==i&&null!==a.types&&(i.types=a.types),Q.T=i}}else try{os(e,t,i=n(o,r))}catch(n){as(e,t,n)}}function os(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){is(e,t,n)},function(n){return as(e,t,n)}):is(e,t,n)}function is(e,t,n){t.status="fulfilled",t.value=n,ss(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,rs(e,n)))}function as(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ss(t),t=t.next}while(t!==r)}e.action=null}function ss(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ls(e,t){return t}function cs(e,t){if(Bo){var n=Au.formState;if(null!==n){e:{var r=xa;if(Bo){if(Io){t:{for(var o=Io,i=Vo;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=Mp(o.nextSibling))){o=null;break t}}o="F!"===(i=o.data)||"F"===i?o:null}if(o){Io=Mp(o.nextSibling),r="F!"===o.data;break e}}Wo(r)}r=!1}r&&(t=n[0])}}return(n=Ba()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ls,lastRenderedState:t},n.queue=r,n=_s.bind(null,xa,r),r.dispatch=n,r=es(!1),i=$s.bind(null,xa,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=Ba()).queue=o,n=ns.bind(null,xa,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function us(e){return ds(_a(),wa,e)}function ds(e,t,n){if(t=Ya(e,t,ls)[0],e=Ha(Ua)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Va(t)}catch(e){if(e===Ti)throw Ai;throw e}else r=t;var o=(t=_a()).queue,i=o.dispatch;return n!==t.memoizedState&&(xa.flags|=2048,hs(9,{destroy:void 0},fs.bind(null,o,n),null)),[r,i,e]}function fs(e,t){e.action=t}function ps(e){var t=_a(),n=wa;if(null!==n)return ds(t,n,e);_a(),t=t.memoizedState;var r=(n=_a()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function hs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=xa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ms(){return _a().memoizedState}function gs(e,t,n,r){var o=Ba();xa.flags|=e,o.memoizedState=hs(1|t,{destroy:void 0},n,void 0===r?null:r)}function ys(e,t,n,r){var o=_a();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==wa&&null!==r&&Ma(r,wa.memoizedState.deps)?o.memoizedState=hs(t,i,n,r):(xa.flags|=e,o.memoizedState=hs(1|t,i,n,r))}function vs(e,t){gs(8390656,8,e,t)}function bs(e,t){ys(2048,8,e,t)}function xs(e){var t=_a().memoizedState;return function(e){xa.flags|=4;var t=xa.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&ju)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ws(e,t){return ys(4,2,e,t)}function Ss(e,t){return ys(4,4,e,t)}function ks(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Cs(e,t,n){n=null!=n?n.concat([e]):null,ys(4,4,ks.bind(null,t,e),n)}function Es(){}function Ps(e,t){var n=_a();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ts(e,t){var n=_a();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ma(t,r[1]))return r[0];if(r=e(),Ea){De(!0);try{e()}finally{De(!1)}}return n.memoizedState=[r,t],r}function js(e,t,n){return void 0===n||1073741824&ba&&!(261930&Mu)?e.memoizedState=t:(e.memoizedState=n,e=dd(),xa.lanes|=e,Bu|=e,n)}function As(e,t,n,r){return xr(n,t)?n:null!==ra.current?(e=js(e,n,r),xr(e,t)||(ul=!0),e):106&ba&&(!(1073741824&ba)||261930&Mu)?(e=dd(),xa.lanes|=e,Bu|=e,t):(ul=!0,e.memoizedState=n)}function Fs(e,t,n,r,o){var i=Z.p;Z.p=0!==i&&8>i?i:8;var a,s,l,c=Q.T,u={};u.types=null!==c?c.types:null,Q.T=u,$s(e,!1,t,n);try{var d=o(),f=Q.S;if(null!==f&&f(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then)Vs(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),ud());else Vs(e,t,r,ud())}catch(n){Vs(e,t,{then:function(){},status:"rejected",reason:n},ud())}finally{Z.p=i,null!==c&&null!==u.types&&(c.types=u.types),Q.T=c}}function Ms(){}function Os(e,t,n,r){if(5!==e.tag)throw Error(i(476));var o=Rs(e).queue;Fs(e,o,t,J,null===n?Ms:function(){return Ns(e),n(r)})}function Rs(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:J},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Ns(e){var t=Rs(e);null===t.next&&(t=e.alternate.memoizedState),Vs(e,t.next.queue,{},ud())}function Ls(){return ai(hh)}function Ds(){return _a().memoizedState}function zs(){return _a().memoizedState}function Is(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=ud(),r=Ki(t,e=Gi(n),n);return null!==r&&(pd(r,t,n),Xi(r,t,n)),t={cache:pi()},void(e.payload=t)}t=t.return}}function Bs(e,t,n){var r=ud();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ws(e)?Us(t,n):null!==(n=io(e,t,n,r))&&(pd(n,e,r),Hs(n,t,r))}function _s(e,t,n){Vs(e,t,n,ud())}function Vs(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ws(e))Us(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,xr(s,a))return oo(e,t,o,0),null===Au&&ro(),!1}catch(e){}if(null!==(n=io(e,t,o,r)))return pd(n,e,r),Hs(n,t,r),!0}return!1}function $s(e,t,n,r){if(r={lane:2,revertLane:uf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ws(e)){if(t)throw Error(i(479))}else null!==(t=io(e,n,r,2))&&pd(t,e,2)}function Ws(e){var t=e.alternate;return e===xa||null!==t&&t===xa}function Us(e,t){Ca=ka=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ze(e,n)}}var Ys={readContext:ai,use:$a,useCallback:Fa,useContext:Fa,useEffect:Fa,useImperativeHandle:Fa,useLayoutEffect:Fa,useInsertionEffect:Fa,useMemo:Fa,useReducer:Fa,useRef:Fa,useState:Fa,useDebugValue:Fa,useDeferredValue:Fa,useTransition:Fa,useSyncExternalStore:Fa,useId:Fa,useHostTransitionStatus:Fa,useFormState:Fa,useActionState:Fa,useOptimistic:Fa,useMemoCache:Fa,useCacheRefresh:Fa,useEffectEvent:Fa},qs={readContext:ai,use:$a,useCallback:function(e,t){return Ba().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:vs,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,gs(4194308,4,ks.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gs(4194308,4,e,t)},useInsertionEffect:function(e,t){gs(4,2,e,t)},useMemo:function(e,t){var n=Ba();t=void 0===t?null:t;var r=e();if(Ea){De(!0);try{e()}finally{De(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ba();if(void 0!==n){var o=n(t);if(Ea){De(!0);try{n(t)}finally{De(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Bs.bind(null,xa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ba().memoizedState=e},useState:function(e){var t=(e=es(e)).queue,n=_s.bind(null,xa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Es,useDeferredValue:function(e,t){return js(Ba(),e,t)},useTransition:function(){var e=es(!1);return e=Fs.bind(null,xa,e.queue,!0,!1),Ba().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=xa,o=Ba();if(Bo){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Au)throw Error(i(349));127&Mu||Ka(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,vs(Qa.bind(null,r,a,e),[e]),r.flags|=2048,hs(9,{destroy:void 0},Xa.bind(null,r,a,n,t),null),n},useId:function(){var e=Ba(),t=Au.identifierPrefix;if(Bo){var n=Mo;t="_"+t+"R_"+(n=(Fo&~(1<<32-ze(Fo)-1)).toString(32)+n),0<(n=Pa++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Aa++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ls,useFormState:cs,useActionState:cs,useOptimistic:function(e){var t=Ba();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=$s.bind(null,xa,!0,n),n.dispatch=t,[e,t]},useMemoCache:Wa,useCacheRefresh:function(){return Ba().memoizedState=Is.bind(null,xa)},useEffectEvent:function(e){var t=Ba(),n={impl:e};return t.memoizedState=n,function(){if(2&ju)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Gs={readContext:ai,use:$a,useCallback:Ps,useContext:ai,useEffect:bs,useImperativeHandle:Cs,useInsertionEffect:ws,useLayoutEffect:Ss,useMemo:Ts,useReducer:Ha,useRef:ms,useState:function(){return Ha(Ua)},useDebugValue:Es,useDeferredValue:function(e,t){return As(_a(),wa.memoizedState,e,t)},useTransition:function(){var e=Ha(Ua)[0],t=_a().memoizedState;return["boolean"==typeof e?e:Va(e),t]},useSyncExternalStore:Ga,useId:Ds,useHostTransitionStatus:Ls,useFormState:us,useActionState:us,useOptimistic:function(e,t){return ts(_a(),0,e,t)},useMemoCache:Wa,useCacheRefresh:zs,useEffectEvent:xs},Ks={readContext:ai,use:$a,useCallback:Ps,useContext:ai,useEffect:bs,useImperativeHandle:Cs,useInsertionEffect:ws,useLayoutEffect:Ss,useMemo:Ts,useReducer:qa,useRef:ms,useState:function(){return qa(Ua)},useDebugValue:Es,useDeferredValue:function(e,t){var n=_a();return null===wa?js(n,e,t):As(n,wa.memoizedState,e,t)},useTransition:function(){var e=qa(Ua)[0],t=_a().memoizedState;return["boolean"==typeof e?e:Va(e),t]},useSyncExternalStore:Ga,useId:Ds,useHostTransitionStatus:Ls,useFormState:ps,useActionState:ps,useOptimistic:function(e,t){var n=_a();return null!==wa?ts(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Wa,useCacheRefresh:zs,useEffectEvent:xs};function Xs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ud(),o=Gi(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Ki(e,o,r))&&(pd(t,e,r),Xi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ud(),o=Gi(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Ki(e,o,r))&&(pd(t,e,r),Xi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ud(),r=Gi(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=Ki(e,r,n))&&(pd(t,e,n),Xi(t,e,n))}};function Zs(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!wr(n,r)||!wr(o,i))}function Js(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Qs.enqueueReplaceState(t,t.state,null)}function el(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=T({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function tl(e){Jr(e)}function nl(e){console.error(e)}function rl(e){Jr(e)}function ol(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function il(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function al(e,t,n){return(n=Gi(n)).tag=3,n.payload={element:null},n.callback=function(){ol(e,t)},n}function sl(e){return(e=Gi(e)).tag=3,e}function ll(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=function(){return o(i)},e.callback=function(){il(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){il(t,n,r),"function"!=typeof o&&(null===Qu?Qu=new Set([this]):Qu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var cl=Error(i(461)),ul=!1;function dl(e,t,n,r){t.child=null===e?Ui(t,null,n,r):Wi(t,e.child,n,r)}function fl(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return ii(t),r=Oa(e,t,n,a,i,o),s=Da(),null===e||ul?(Bo&&s&&No(t),t.flags|=1,dl(e,t,r,o),t.child):(za(e,t,o),Il(e,t,o))}function pl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||po(i)||void 0!==i.defaultProps||null!==n.compare?((e=go(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,hl(e,t,i,r,o))}if(i=e.child,!Bl(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:wr)(a,r)&&e.ref===t.ref)return Il(e,t,o)}return t.flags|=1,(e=ho(i,r)).ref=t.ref,e.return=t,t.child=e}function hl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(wr(i,r)&&e.ref===t.ref){if(ul=!1,t.pendingProps=r=i,!Bl(e,o))return t.lanes=e.lanes,Il(e,t,o);131072&e.flags&&(ul=!0)}}return wl(e,t,n,r,o)}function ml(e,t,n,r){var o=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(i=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~i}else r=0,t.child=null;return yl(e,t,i,n,r)}if(!(536870912&n))return r=t.lanes=536870912,yl(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ei(0,null!==i?i.cachePool:null),null!==i?ia(t,i):aa(),fa(t)}else null!==i?(Ei(0,i.cachePool),ia(t,i),pa(),t.memoizedState=null):(null!==e&&Ei(0,null),aa(),pa());return dl(e,t,o,n),t.child}function gl(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function yl(e,t,n,r,o){var i=Ci();return i=null===i?null:{parent:fi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Ei(0,null),aa(),fa(t),null!==e&&ri(e,t,r,!0),t.childLanes=o,null}function vl(e,t){return(t=Fl({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function bl(e,t,n){return Wi(t,e.child,null,n),(e=vl(t,t.pendingProps)).flags|=2,ha(t),t.memoizedState=null,e}function xl(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function wl(e,t,n,r,o){return ii(t),n=Oa(e,t,n,r,void 0,o),r=Da(),null===e||ul?(Bo&&r&&No(t),t.flags|=1,dl(e,t,n,o),t.child):(za(e,t,o),Il(e,t,o))}function Sl(e,t,n,r,o,i){return ii(t),t.updateQueue=null,n=Na(t,r,n,o),Ra(e),r=Da(),null===e||ul?(Bo&&r&&No(t),t.flags|=1,dl(e,t,n,i),t.child):(za(e,t,i),Il(e,t,i))}function kl(e,t,n,r,o){if(ii(t),null===t.stateNode){var i=co,a=n.contextType;"object"==typeof a&&null!==a&&(i=ai(a)),i=new n(r,i),t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=Qs,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},Yi(t),a=n.contextType,i.context="object"==typeof a&&null!==a?ai(a):co,i.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Xs(t,n,a,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(a=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),a!==i.state&&Qs.enqueueReplaceState(i,i.state,null),ea(t,r,i,o),Ji(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var s=t.memoizedProps,l=el(n,s);i.props=l;var c=i.context,u=n.contextType;a=co,"object"==typeof u&&null!==u&&(a=ai(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s||c!==a)&&Js(t,i,r,a),Hi=!1;var f=t.memoizedState;i.state=f,ea(t,r,i,o),Ji(),c=t.memoizedState,s||f!==c||Hi?("function"==typeof d&&(Xs(t,n,d,r),c=t.memoizedState),(l=Hi||Zs(t,n,l,r,f,c,a))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=a,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,qi(e,t),u=el(n,a=t.memoizedProps),i.props=u,d=t.pendingProps,f=i.context,c=n.contextType,l=co,"object"==typeof c&&null!==c&&(l=ai(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==d||f!==l)&&Js(t,i,r,l),Hi=!1,f=t.memoizedState,i.state=f,ea(t,r,i,o),Ji();var p=t.memoizedState;a!==d||f!==p||Hi||null!==e&&null!==e.dependencies&&oi(e.dependencies)?("function"==typeof s&&(Xs(t,n,s,r),p=t.memoizedState),(u=Hi||Zs(t,n,u,r,f,p,l)||null!==e&&null!==e.dependencies&&oi(e.dependencies))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,xl(e,t),r=!!(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=Wi(t,e.child,null,o),t.child=Wi(t,null,n,o)):dl(e,t,n,o),t.memoizedState=i.state,e=t.child):e=Il(e,t,o),e}function Cl(e,t,n,r){return qo(),t.flags|=256,dl(e,t,n,r),t.child}var El={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pl(e){return{baseLanes:e,cachePool:Pi()}}function Tl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=$u),e}function jl(e,t,n){var r,o=t.pendingProps,a=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&ma.current)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(Bo){if(a?ua(t):pa(),(e=Io)?null!==(e=null!==(e=jp(e,Vo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Ao?{id:Fo,overflow:Mo}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,zo=t,Io=null):e=null,null===e)throw Wo(t);return Fp(e)?t.lanes=32:t.lanes=536870912,null}return s=o.children,o=o.fallback,a?(pa(),s=Fl({mode:"hidden",children:s},a=t.mode),o=yo(o,a,n,null),s.return=t,o.return=t,s.sibling=o,t.child=s,(o=t.child).memoizedState=Pl(n),o.childLanes=Tl(e,r,n),t.memoizedState=El,gl(null,o)):(ua(t),Al(t,s))}var l=e.memoizedState;if(null!==l){var c=l.dehydrated;if(null!==c)return function(e,t,n,r,o,a,s,l){if(n)return 256&t.flags?(ua(t),t.flags&=-257,Ml(e,t,l)):null!==t.memoizedState?(pa(),t.child=e.child,t.flags|=128,null):(pa(),a=o.fallback,s=t.mode,o=Fl({mode:"visible",children:o.children},s),(a=yo(a,s,l,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,Wi(t,e.child,null,l),(o=t.child).memoizedState=Pl(l),o.childLanes=Tl(e,r,l),t.memoizedState=El,gl(null,o));if(ua(t),Fp(a)){if(r=a.nextSibling&&a.nextSibling.dataset)var c=r.dgst;return""!==(r=c)&&((o=Error(i(419))).stack="",o.digest=r,Ko({value:o,source:null,stack:null})),Ml(e,t,l)}if(ul||ri(e,t,l,!1),r=0!==(l&e.childLanes),ul||r){if(null!==ra.current)return Ml(e,t,l);if(null!==(r=Au)&&(0!==(o=Je(r,l))&&o!==s.retryLane))throw s.retryLane=o,ao(e,o),pd(r,e,o),cl;return Ap(a)||Ed(),Ml(e,t,l)}return Ap(a)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,Io=Mp(a.nextSibling),zo=t,Bo=!0,_o=null,Vo=!1,null!==e&&Do(t,e),t=Al(t,o.children),t.flags|=134221824,t)}(e,t,s,r,o,c,l,n)}return a?(pa(),a=o.fallback,s=t.mode,c=(l=e.child).sibling,(o=ho(l,{mode:"hidden",children:o.children})).subtreeFlags=1206910976&l.subtreeFlags,null!==c?a=ho(c,a):(a=yo(a,s,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,gl(null,o),o=t.child,null===(a=e.child.memoizedState)?a=Pl(n):(null!==(s=a.cachePool)?(l=fi._currentValue,s=s.parent!==l?{parent:l,pool:l}:s):s=Pi(),a={baseLanes:a.baseLanes|n,cachePool:s}),o.memoizedState=a,o.childLanes=Tl(e,r,n),t.memoizedState=El,gl(e.child,o)):(ua(t),e=(n=e.child).sibling,(n=ho(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Al(e,t){return(t=Fl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Fl(e,t){return(e=fo(22,e,null,t)).lanes=0,e}function Ml(e,t,n){return Wi(t,e.child,null,n),(e=Al(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ol(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ti(e.return,t,n)}function Rl(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===va(n)&&(t=e),e=e.sibling}return t}function Nl(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.treeForkCount=i)}function Ll(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function Dl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;r=r.children;var a=ma.current;if(128&t.flags)return ga(0,a),null;var s=!!(2&a);if(s?(a=1&a|2,t.flags|=128):a&=1,ga(0,a),"backwards"===o&&null!==e?(Ll(e),dl(e,t,r,n),Ll(e)):dl(e,t,r,n),r=Bo?Po:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ol(e,n,t);else if(19===e.tag)Ol(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":null===(n=Rl(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,Ll(t)),Nl(t,!0,o,null,i,r);break;case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===va(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Nl(t,!0,n,null,i,r);break;case"together":Nl(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=Rl(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Nl(t,!1,o,n,i,r)}return t.child}function zl(e,t,n){var r=t.pendingProps;return Jo(0,t.type,r.value),dl(e,t,r.children,n),t.child}function Il(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bu|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ri(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ho(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ho(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Bl(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!oi(e))}function _l(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)ul=!0;else{if(!(Bl(e,n)||128&t.flags))return ul=!1,function(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Jo(0,fi,e.memoizedState.cache),qo();break;case 27:case 5:pe(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Jo(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,da(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return ua(t),t.flags|=128,null;r=ri(e,t,n,!1);var o=t.child.childLanes;return r||0!==(n&o)?jl(e,t,n):(ua(t),null!==(e=Il(e,t,n))?e.sibling:null)}ua(t);break;case 19:if(128&t.flags)return Dl(e,t,n);if(o=!!(128&e.flags),(r=0!==(n&t.childLanes))||(ri(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return Dl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ga(0,ma.current),r)break;return null;case 22:return t.lanes=0,ml(e,t,n,t.pendingProps);case 24:Jo(0,fi,e.memoizedState.cache)}return Il(e,t,n)}(e,t,n);ul=!!(131072&e.flags)}else ul=!1,Bo&&1048576&t.flags&&Ro(t,Po,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Ri(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===D){t.tag=11,t=fl(null,t,e,r,n);break e}if(o===B){t.tag=14,t=pl(null,t,e,r,n);break e}if(o===L){t.tag=10,t.type=e,t=zl(null,t,n);break e}}throw t=K(e)||e,Error(i(306,t,""))}po(e)?(r=el(e,r),t.tag=1,t=kl(null,t,e,r,n)):(t.tag=0,t=wl(null,t,e,r,n))}return t;case 0:return wl(e,t,t.type,t.pendingProps,n);case 1:return kl(e,t,r=t.type,o=el(r,t.pendingProps),n);case 3:e:{if(de(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,qi(e,t),ea(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Jo(0,fi,r),r!==a.cache&&ni(t,[fi],n,!0),Ji(),r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cl(e,t,r,n);break e}if(r!==o){Ko(o=So(Error(i(424)),t)),t=Cl(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(Io=Mp(e.firstChild),zo=t,Bo=!0,_o=null,Vo=!0,n=Ui(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|134221824,n=n.sibling}else{if(qo(),r===o){t=Il(e,t,n);break e}dl(e,t,r,n)}t=t.child}return t;case 26:return xl(e,t),null===e?(n=Up(t.type,null,t.pendingProps,null))?t.memoizedState=n:Bo||(t.stateNode=Vf(t.type,t.pendingProps,ce.current,t)):t.memoizedState=Up(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),null===e&&Bo&&(r=t.stateNode=Lp(t.type,t.pendingProps,ce.current),zo=t,Vo=!0,o=Io,Xf(t.type)?(Op=o,Io=Mp(r.firstChild)):Io=o),dl(e,t,t.pendingProps.children,n),xl(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&Bo&&((o=r=Io)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[ft])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=Mp(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,Vo))?(t.stateNode=r,zo=t,Io=Mp(r.firstChild),Vo=!1,o=!0):o=!1),o||Wo(t)),pe(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,r=a.children,$f(o,a)?r=null:null!==s&&$f(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=Oa(e,t,La,null,null,n),hh._currentValue=o),xl(e,t),dl(e,t,r,n),t.child;case 6:return null===e&&Bo&&((e=n=Io)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Mp(e.nextSibling)))return null}return e}(n,t.pendingProps,Vo))?(t.stateNode=n,zo=t,Io=null,e=!0):e=!1),e||Wo(t)),null;case 13:return jl(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Wi(t,null,r,n):dl(e,t,r,n),t.child;case 11:return fl(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,xl(e,t),dl(e,t,r,n),t.child;case 8:case 12:return dl(e,t,t.pendingProps.children,n),t.child;case 10:return zl(e,t,n);case 9:return o=t.type._context,r=t.pendingProps.children,ii(t),r=r(o=ai(o)),t.flags|=1,dl(e,t,r,n),t.child;case 14:return pl(e,t,t.type,t.pendingProps,n);case 15:return hl(e,t,t.type,t.pendingProps,n);case 19:return Dl(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(Bo){if("hidden"===r.mode)return e=vl(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},gl(null,e);if(da(t),(e=Io)?null!==(e=null!==(e=jp(e,Vo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Ao?{id:Fo,overflow:Mo}:null,retryLane:536870912,hydrationErrors:null},(n=bo(e)).return=t,t.child=n,zo=t,Io=null):e=null,null===e)throw Wo(t);return t.lanes=536870912,null}return vl(t,r)}var a=e.memoizedState;if(null!==a){var s=a.dehydrated;if(da(t),o)if(256&t.flags)t.flags&=-257,t=bl(e,t,n);else{if(null===t.memoizedState)throw Error(i(558));t.child=e.child,t.flags|=128,t=null}else if(ul||ri(e,t,n,!1),o=0!==(n&e.childLanes),ul||o){if(null===ra.current){if(null!==(r=Au)&&0!==(s=Je(r,n))&&s!==a.retryLane)throw a.retryLane=s,ao(e,s),pd(r,e,s),cl;Ed()}t=bl(e,t,n)}else e=a.treeContext,Io=Mp(s.nextSibling),zo=t,Bo=!0,_o=null,Vo=!1,null!==e&&Do(t,e),(t=vl(t,r)).flags|=134221824;return t}return(e=ho(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return ml(e,t,n,t.pendingProps);case 24:return ii(t),r=ai(fi),null===e?(null===(o=Ci())&&(o=Au,a=pi(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},Yi(t),Jo(0,fi,o)):(0!==(e.lanes&n)&&(qi(e,t),ea(t,null,null,n),Ji()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Jo(0,fi,r)):(r=a.cache,Jo(0,fi,r),r!==o.cache&&ni(t,[fi],n,!0))),dl(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?18882560:18874368:Bo&&No(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:xl(e,t),dl(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Vl(e){e.flags|=4}function $l(e,t,n,r,o){var i;if((i=!!(32&e.mode))&&(i=null===n?rh(t,r):rh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!Sd())throw Ni=Fi,ji;e.flags|=8192}}else e.flags&=-16777217}function Wl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!oh(t)){if(!Sd())throw Ni=Fi,ji;e.flags|=8192}}function Ul(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ge():536870912,e.lanes|=t,Wu|=t)}function Hl(e,t){if(!Bo)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function Yl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=1206910976&o.subtreeFlags,r|=1206910976&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(Lo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return Yl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ei(fi),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(Yo(t)?Vl(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,Go())),Yl(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(Vl(t),null!==a?(Yl(t),Wl(t,a)):(Yl(t),$l(t,o,null,r,n))):a?a!==e.memoizedState?(Vl(t),Yl(t),Wl(t,a)):(Yl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&Vl(t),Yl(t),$l(t,o,e,r,n)),null;case 27:if(he(t),n=ce.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Vl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Yl(t),t.subtreeFlags&=-33554433,null}e=se.current,Yo(t)?Uo(t):(e=Lp(o,r,n),t.stateNode=e,Vl(t))}return Yl(t),t.subtreeFlags&=-33554433,null;case 5:if(he(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Vl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Yl(t),t.subtreeFlags&=-33554433,null}if(a=se.current,Yo(t))Uo(t);else{var s=If(ce.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=s.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?s.createElement(o,{is:r.is}):s.createElement(o)}}a[it]=t,a[at]=r;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)a.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(Rf(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Vl(t)}}return Yl(t),t.subtreeFlags&=-33554433,$l(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Vl(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=ce.current,Yo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=zo))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[it]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Ff(e.nodeValue,n)))||Wo(t,!0)}else(e=If(e).createTextNode(r))[it]=t,t.stateNode=e}return Yl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=Yo(t),null!==n){if(null===e){if(!r)throw Error(i(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(i(557));e[it]=t}else qo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),e=!1}else n=Go(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(ha(t),t):(ha(t),null);if(128&t.flags)throw Error(i(558))}return Yl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=Yo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[it]=t}else qo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),o=!1}else o=Go(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ha(t),t):(ha(t),null)}return ha(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ul(t,t.updateQueue),Yl(t),null);case 4:return fe(),null===e&&xf(t.stateNode.containerInfo),t.flags|=67108864,Yl(t),null;case 10:return ei(t.type),Yl(t),null;case 19:if(ya(t),null===(r=t.memoizedState))return Yl(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)Hl(r,!1);else{if(0!==Iu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=va(e))){for(t.flags|=128,Hl(r,!1),e=a.updateQueue,t.updateQueue=e,Ul(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)mo(n,e),n=n.sibling;return ga(0,1&ma.current|2),Bo&&Oo(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&Ee()>Ku&&(t.flags|=128,o=!0,Hl(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=va(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Ul(t,e),Hl(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!Bo)return Yl(t),null}else 2*Ee()-r.renderingStartTime>Ku&&536870912!==n&&(t.flags|=128,o=!0,Hl(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e:{for(n=e=r.tail;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ee(),e.sibling=null,a=ma.current,a=o?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||Bo?ga(0,a):(n=a,oe(la,t),oe(ma,n),null===ca&&(ca=t)),Bo&&Oo(t,r.treeForkCount),e}return Yl(t),null;case 22:case 23:return ha(t),sa(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(Yl(t),6&t.subtreeFlags&&(t.flags|=8192)):Yl(t),null!==(n=t.updateQueue)&&Ul(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&re(ki),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ei(fi),Yl(t),null;case 25:return null;case 30:return t.flags|=33554432,Yl(t),null}throw Error(i(156,t.tag))}function Gl(e,t){switch(Lo(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ei(fi),fe(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return he(t),null;case 31:if(null!==t.memoizedState){if(ha(t),null===t.alternate)throw Error(i(340));qo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ha(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));qo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ya(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return fe(),null;case 10:return ei(t.type),null;case 22:case 23:return ha(t),sa(),null!==e&&re(ki),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ei(fi),null;default:return null}}function Kl(e,t){switch(Lo(t),t.tag){case 3:ei(fi),fe();break;case 26:case 27:case 5:he(t);break;case 4:fe();break;case 31:null!==t.memoizedState&&ha(t);break;case 13:ha(t);break;case 19:ya(t);break;case 10:ei(t.type);break;case 22:case 23:ha(t),sa(),null!==e&&re(ki);break;case 24:ei(fi)}}function Xl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var i=n.create,a=n.inst;r=i(),a.destroy=r}n=n.next}while(n!==o)}}catch(e){Ud(t,t.return,e)}}function Ql(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,o=t;var l=n,c=s;try{c()}catch(e){Ud(o,l,e)}}}r=r.next}while(r!==i)}}catch(e){Ud(t,t.return,e)}}function Zl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{na(t,n)}catch(t){Ud(e,e.return,t)}}}function Jl(e,t,n){n.props=el(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ud(e,t,n)}}function ec(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,i=Xr(e.memoizedProps,o);null!==o.ref&&o.ref.name===i||(o.ref=ap(i)),r=o.ref;break;case 7:if(null===e.stateNode){var a=new sp(e);m(e.child,!1,kp,a,void 0,void 0),e.stateNode=a}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){Ud(e,t,n)}}function tc(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){Ud(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){Ud(e,t,n)}else n.current=null}function nc(e,t){if((5===e.tag||27===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)Ep(e.stateNode,t[n])}function rc(e){for(var t=e.return;null!==t&&(ac(t)&&Ep(e.stateNode,t.stateNode),!ic(t));)t=t.return}function oc(e){for(var t=e.return;null!==t&&(ac(t)&&Pp(e.stateNode,t.stateNode),!ic(t));)t=t.return}function ic(e){return 5===e.tag||3===e.tag||27===e.tag}function ac(e){return e&&7===e.tag&&null!==e.stateNode}function sc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ud(e,e.return,t)}}function lc(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,c=null,u=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":c=f;default:r.hasOwnProperty(h)||Mf(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(jt=!0),a=h;break;case"name":h!==f&&(jt=!0),o=h;break;case"checked":h!==f&&(jt=!0),u=h;break;case"defaultChecked":h!==f&&(jt=!0),d=h;break;case"value":h!==f&&(jt=!0),s=h;break;case"defaultValue":h!==f&&(jt=!0),l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(i(137,t));break;default:h!==f&&Mf(e,t,p,h,r,f)}}return void Bt(e,s,l,c,u,d,a,o);case"select":for(a in h=s=l=p=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(a)||Mf(e,t,a,null,r,c)}for(o in r)if(a=r[o],c=n[o],r.hasOwnProperty(o)&&(null!=a||null!=c))switch(o){case"value":a!==c&&(jt=!0),p=a;break;case"defaultValue":a!==c&&(jt=!0),l=a;break;case"multiple":a!==c&&(jt=!0),s=a;default:a!==c&&Mf(e,t,o,a,r,c)}return t=l,n=s,r=h,void(null!=p?$t(e,!!n,p,!1):!!r!=!!n&&(null!=t?$t(e,!!n,t,!0):$t(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=p=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:Mf(e,t,l,null,r,o)}for(s in r)if(o=r[s],a=n[s],r.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":o!==a&&(jt=!0),p=o;break;case"defaultValue":o!==a&&(jt=!0),h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o!==a&&Mf(e,t,s,o,r,a)}return void Wt(e,p,h);case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else Mf(e,t,m,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))if("selected"===c)p!==h&&(jt=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else Mf(e,t,c,p,r,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&Mf(e,t,g,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(i(137,t));break;default:Mf(e,t,u,p,r,h)}return;default:if(Kt(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&Of(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||Of(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&Mf(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||Mf(e,t,f,p,r,h)}(r,e.type,n,t),r[at]=t}catch(t){Ud(e,e.return,t)}}function cc(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Xf(e.type)||4===e.tag}function uc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||cc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Xf(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function dc(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(o,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(o),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jt)),nc(e,r),jt=!0;else if(4!==o&&(27===o&&(nc(e,r),r=null,Xf(e.type)&&(n=e.stateNode,t=null)),null!==(e=e.child)))for(dc(e,t,n,r),e=e.sibling;null!==e;)dc(e,t,n,r),e=e.sibling}function fc(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),nc(e,r),jt=!0;else if(4!==o&&(27===o&&(nc(e,r),r=null,Xf(e.type)&&(n=e.stateNode)),null!==(e=e.child)))for(fc(e,t,n,r),e=e.sibling;null!==e;)fc(e,t,n,r),e=e.sibling}function pc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Rf(t,r,n),t[it]=e,t[at]=n}catch(t){Ud(e,e.return,t)}}var hc=!1,mc=null;function gc(e){(30===e.tag||33554432&e.subtreeFlags)&&(hc=!0)}var yc=null;function vc(){var e=yc;return yc=null,e}var bc=0;function xc(e,t,n,r,o){return bc=0,wc(e.child,t,n,r,o)}function wc(e,t,n,r,o){for(var i=!1;null!==e;){if(5===e.tag){var a=e.stateNode;if(null!==r){var s=np(a);r.push(s),s.view&&(i=!0)}else i||np(a).view&&(i=!0);hc=!0,Jf(a,0===bc?t:t+"_"+bc,n),bc++}else 22===e.tag&&null!==e.memoizedState||30===e.tag&&o||wc(e.child,t,n,r,o)&&(i=!0);e=e.sibling}return i}function Sc(e,t){for(;null!==e;)5===e.tag?ep(e.stateNode,e.memoizedProps):22===e.tag&&null!==e.memoizedState||30===e.tag&&t||Sc(e.child,t),e=e.sibling}function kc(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(kc(e),30===e.tag&&18874368&e.flags&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(i(544));var n=t.name;"none"!==(t=Zr(t.default,t.share))&&(xc(e,n,t,null,!1)||Sc(e.child,!1))}e=e.sibling}}function Cc(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,o=Xr(r,n),i=Zr(r.default,n.paired?r.share:r.enter);"none"!==i?xc(e,o,i,null,!1)?(kc(e),n.paired||t||fd(e,r.onEnter)):Sc(e.child,!1):kc(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Cc(e,t),e=e.sibling;else kc(e)}function Ec(e){if(null!==mc&&0!==mc.size){var t=mc;if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var o=t.get(r);if(void 0!==o){var i=Zr(n.default,n.share);if("none"!==i&&(xc(e,r,i,null,!1)?(i=e.stateNode,o.paired=i,i.paired=o,fd(e,n.onShare)):Sc(e.child,!1)),t.delete(r),0===t.size)break}}}Ec(e)}e=e.sibling}}}function Pc(e){if(30===e.tag){var t=e.memoizedProps,n=Xr(t,e.stateNode),r=null!==mc?mc.get(n):void 0,o=Zr(t.default,void 0!==r?t.share:t.exit);"none"!==o&&(xc(e,n,o,null,!1)?void 0!==r?(o=e.stateNode,r.paired=o,o.paired=r,mc.delete(n),fd(e,t.onShare)):fd(e,t.onExit):Sc(e.child,!1)),null!==mc&&Ec(e)}else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Pc(e),e=e.sibling;else null!==mc&&Ec(e)}function Tc(e){for(e=e.child;null!==e;){if(30===e.tag){var t=e.memoizedProps,n=Xr(t,e.stateNode);t=Zr(t.default,t.update),e.flags&=-5,"none"!==t&&xc(e,n,t,e.memoizedState=[],!1)}else 33554432&e.subtreeFlags&&Tc(e);e=e.sibling}}function jc(e){if(18874368&e.subtreeFlags)for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&18874368&e.flags){var t=e.stateNode;null!==t.paired&&(t.paired=null,Sc(e.child,!1))}jc(e)}e=e.sibling}}function Ac(e){if(30===e.tag)e.stateNode.paired=null,Sc(e.child,!1),jc(e);else if(33554432&e.subtreeFlags)for(e=e.child;null!==e;)Ac(e),e=e.sibling;else jc(e)}function Fc(e){for(e=e.child;null!==e;)30===e.tag?Sc(e.child,!1):!!(33554432&e.subtreeFlags)&&Fc(e),e=e.sibling}function Mc(e,t,n,r,o,i,a){for(var s=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==i&&bc<i.length){var c,u=i[bc],d=np(l);if((u.view||d.view)&&(s=!0),c=!(4&e.flags))if(d.clip)c=!0;else{c=u.rect;var f=d.rect;c=c.y!==f.y||c.x!==f.x||c.height!==f.height||c.width!==f.width}c&&(e.flags|=4),d.abs?d=!u.abs:(u=u.rect,d=d.rect,d=u.height!==d.height||u.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;4&e.flags&&Jf(l,0===bc?n:n+"_"+bc,o),s&&4&e.flags||(null===yc&&(yc=[]),yc.push(l,0===bc?r:r+"_"+bc,t.memoizedProps)),bc++}else 22===t.tag&&null!==t.memoizedState||(30===t.tag&&a?e.flags|=32&t.flags:Mc(e,t.child,n,r,o,i,a)&&(s=!0));t=t.sibling}return s}function Oc(e,t){for(e=e.child;null!==e;){if(30===e.tag){var n=e.memoizedProps,r=e.stateNode,o=Xr(n,r),i=Zr(n.default,n.update);if(t)var a=null===(r=r.clones)?null:r.map(rp);else a=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;bc=0,o=Mc(r,s,o,o,i,a,!1),4&e.flags&&o&&(t||fd(e,n.onUpdate))}else 33554432&e.subtreeFlags&&Oc(e,t);e=e.sibling}}var Rc=!1,Nc=!1,Lc=!1,Dc=!1,zc="function"==typeof WeakSet?WeakSet:Set,Ic=null,Bc=!1,_c=!1,Vc=!1,$c=!1;function Wc(e){for(;null!==Ic;){var t=Ic,n=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&o&&null!==r){n=void 0,o=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var s=el(t.type,o);n=a.getSnapshotBeforeUpdate(s,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){Ud(t,t.return,e)}}break;case 3:if(1024&o)if(9===(n=(r=t.stateNode.containerInfo).nodeType))Tp(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Tp(r);break;default:r.textContent=""}break;case 30:n&&null!==r&&(n=Xr(r.memoizedProps,r.stateNode),"none"!==(o=Zr((o=t.memoizedProps).default,o.update))&&xc(r,n,o,r.memoizedState=[],!0));break;default:if(1024&o)throw Error(i(163))}if(null!==(r=t.sibling)){r.return=t.return,Ic=r;break}Ic=t.return}}function Uc(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:cu(e,n),4&r&&Xl(5,n);break;case 1:if(cu(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){Ud(n,n.return,e)}else{var o=el(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ud(n,n.return,e)}}64&r&&Zl(n),512&r&&ec(n,n.return);break;case 3:if(cu(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{na(e,t)}catch(e){Ud(n,n.return,e)}}break;case 27:null===t&&4&r&&pc(n);case 26:case 5:cu(e,n),null===t&&4&r&&sc(n),512&r&&ec(n,n.return);break;case 12:cu(e,n);break;case 31:cu(e,n),4&r&&Jc(e,n);break;case 13:cu(e,n),4&r&&eu(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Gd.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Rc)){var i=null!==t&&null!==t.memoizedState||Nc;t=Rc,o=Nc,Rc=r,(Nc=i)&&!o?(r=2,!!(8772&n.subtreeFlags)&&(r|=1),du(e,n,r)):cu(e,n),Rc=t,Nc=o}break;case 30:cu(e,n),512&r&&ec(n,n.return);break;case 7:512&r&&ec(n,n.return);default:cu(e,n)}}function Hc(e,t){for(e=e.child;null!==e;)Yc(e,t),e=e.sibling}function Yc(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;"function"==typeof r.setProperty?r.setProperty("display","none","important"):r.display="none"}else{var o=e.stateNode,i=e.memoizedProps.style,a=null!=i&&i.hasOwnProperty("display")?i.display:null;o.style.display=null==a||"boolean"==typeof a?"":(""+a).trim()}}catch(t){Ud(e,e.return,t)}qc(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,jt=!0}catch(t){Ud(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?Zf(s,!0):Zf(e.stateNode,!1)}catch(t){Ud(e,e.return,t)}break;case 22:case 23:null===e.memoizedState&&Hc(e,t);break;default:Hc(e,t)}}function qc(e,t){if(67108864&e.subtreeFlags)for(e=e.child;null!==e;){e:{var n=e,r=t;switch(n.tag){case 4:Yc(n,r);break e;case 22:null===n.memoizedState&&qc(n,r);break e;default:qc(n,r)}}e=e.sibling}}function Gc(e){var t=e.alternate;null!==t&&(e.alternate=null,Gc(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ht(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Kc=null,Xc=!1;function Qc(e,t,n){for(n=n.child;null!==n;)Zc(e,t,n),n=n.sibling}function Zc(e,t,n){if(Le&&"function"==typeof Le.onCommitFiberUnmount)try{Le.onCommitFiberUnmount(Ne,n)}catch(e){}switch(n.tag){case 26:Nc||tc(n,t),Qc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Nc&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Nc||tc(n,t),oc(n);var r=Kc,o=Xc;Xf(n.type)&&(Kc=n.stateNode,Xc=!1),Qc(e,t,n),Dp(n.stateNode,n.type,n.memoizedProps),Kc=r,Xc=o;break;case 5:Nc||tc(n,t),oc(n);case 6:if(6===n.tag&&oc(n),r=Kc,o=Xc,Kc=null,Qc(e,t,n),Xc=o,null!==(Kc=r))if(Xc)try{(9===Kc.nodeType?Kc.body:"HTML"===Kc.nodeName?Kc.ownerDocument.body:Kc).removeChild(n.stateNode),jt=!0}catch(e){Ud(n,t,e)}else try{Kc.removeChild(n.stateNode),jt=!0}catch(e){Ud(n,t,e)}break;case 18:null!==Kc&&(Xc?(Qf(9===(e=Kc).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Gh(e)):Qf(Kc,n.stateNode));break;case 4:r=Kc,o=Xc,Kc=n.stateNode.containerInfo,Xc=!0,Qc(e,t,n),Kc=r,Xc=o;break;case 0:case 11:case 14:case 15:Ql(2,n,t),Nc||Ql(4,n,t),Qc(e,t,n);break;case 1:Nc||(tc(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&Jl(n,t,r)),Qc(e,t,n);break;case 21:Qc(e,t,n);break;case 22:Nc=(r=Nc)||null!==n.memoizedState,Qc(e,t,n),Nc=r;break;case 30:tc(n,t),Qc(e,t,n);break;case 7:Nc||tc(n,t),Qc(e,t,n);break;default:Qc(e,t,n)}}function Jc(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Gh(e)}catch(e){Ud(t,t.return,e)}}}function eu(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Gh(e)}catch(e){Ud(t,t.return,e)}}function tu(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new zc),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new zc),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Kd.bind(null,e,t);t.then(r,r)}})}function nu(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],s=e,l=t,c=l;e:for(;null!==c;){switch(c.tag){case 27:if(Xf(c.type)){Kc=c.stateNode,Xc=!1;break e}break;case 5:Kc=c.stateNode,Xc=!1;break e;case 3:case 4:Kc=c.stateNode.containerInfo,Xc=!0;break e}c=c.return}if(null===Kc)throw Error(i(160));Zc(s,l,a),Kc=null,Xc=!1,null!==(s=a.alternate)&&(s.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)ou(t,e,n),t=t.sibling}var ru=null;function ou(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(4&o&&null!==(r=null!==(r=e.updateQueue)?r.events:null))for(var a=0;a<r.length;a++){var s=r[a];s.ref.impl=s.nextImpl}nu(t,e,n),iu(e),4&o&&(Ql(3,e,e.return),Xl(3,e),Ql(5,e,e.return));break;case 1:nu(t,e,n),iu(e),512&o&&(Nc||null===r||tc(r,r.return)),64&o&&Rc&&(null!==(e=e.updateQueue)&&(null!==(t=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?t:n.concat(t))));break;case 26:if(a=ru,nu(t,e,n),iu(e),512&o&&(Nc||null===r||tc(r,r.return)),4&o)if(o=null!==r?r.memoizedState:null,n=e.memoizedState,null===r)if(null===n)if(null===e.stateNode)if(Rc)e.stateNode=Vf(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,o=a.ownerDocument||a;t:switch(t){case"title":(!(r=o.getElementsByTagName("title")[0])||r[ft]||r[it]||"http://www.w3.org/2000/svg"===r.namespaceURI||r.hasAttribute("itemprop"))&&(r=o.createElement(t),o.head.insertBefore(r,o.querySelector("head > title"))),Rf(r,t,n),r[it]=e,bt(r),t=r;break e;case"link":if(a=th("link","href",o).get(t+(n.href||"")))for(s=0;s<a.length;s++)if((r=a[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&r.getAttribute("rel")===(null==n.rel?null:n.rel)&&r.getAttribute("title")===(null==n.title?null:n.title)&&r.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){a.splice(s,1);break t}Rf(r=o.createElement(t),t,n),o.head.appendChild(r);break;case"meta":if(a=th("meta","content",o).get(t+(n.content||"")))for(s=0;s<a.length;s++)if((r=a[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&r.getAttribute("name")===(null==n.name?null:n.name)&&r.getAttribute("property")===(null==n.property?null:n.property)&&r.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&r.getAttribute("charset")===(null==n.charSet?null:n.charSet)){a.splice(s,1);break t}Rf(r=o.createElement(t),t,n),o.head.appendChild(r);break;default:throw Error(i(468,t))}r[it]=e,bt(r),t=r}e.stateNode=t}else Rc||nh(a,e.type,e.stateNode);else e.stateNode=Xp(a,n,e.memoizedProps);else o!==n?(null===o?null===(t=r.stateNode)||Nc||t.parentNode.removeChild(t):o.count--,null===n?Rc||nh(a,e.type,e.stateNode):Xp(a,n,e.memoizedProps)):null===n&&null!==e.stateNode&&lc(e,e.memoizedProps,r.memoizedProps);break;case 27:nu(t,e,n),iu(e),512&o&&(Nc||null===r||tc(r,r.return)),null!==r&&4&o&&lc(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=Lc,Lc=!1,nu(t,e,n),Lc=a,iu(e),512&o&&(Nc||null===r||tc(r,r.return)),32&e.flags){t=e.stateNode;try{Ht(t,""),jt=!0}catch(t){Ud(e,e.return,t)}}4&o&&null!=e.stateNode&&lc(e,t=e.memoizedProps,null!==r?r.memoizedProps:t),1024&o&&(Dc=!0);break;case 6:if(nu(t,e,n),iu(e),4&o){if(null===e.stateNode)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,jt=!0}catch(t){Ud(e,e.return,t)}}break;case 3:if(jt=!1,eh=null,a=ru,ru=_p(t.containerInfo),nu(t,e,n),ru=a,iu(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Gh(t.containerInfo)}catch(t){Ud(e,e.return,t)}Dc&&(Dc=!1,au(e)),jt=!1;break;case 4:o=Lc,Lc=Rc,r=At(),a=ru,ru=_p(e.stateNode.containerInfo),nu(t,e,n),iu(e),ru=a,jt&&_c&&(Vc=!0),jt=r,Lc=o;break;case 12:nu(t,e,n),iu(e);break;case 31:nu(t,e,n),iu(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tu(e,t)));break;case 13:nu(t,e,n),iu(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(qu=Ee()),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tu(e,t)));break;case 22:a=null!==e.memoizedState,s=null!==r&&null!==r.memoizedState;var l=Rc,c=Nc,u=Lc;Rc=l||a,Lc=u||a,Nc=c||s,nu(t,e,n),Nc=c,Lc=u,Rc=l,iu(e),8192&o&&((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,!a||null===r||s||Rc||Nc||(n=Rc,r=Nc,Rc=a||Rc,Nc=t=s||Nc,uu(e,2),Rc=n,Nc=r),!a&&Lc||Hc(e,a)),4&o&&(null!==(t=e.updateQueue)&&(null!==(n=t.retryQueue)&&(t.retryQueue=null,tu(e,n))));break;case 19:nu(t,e,n),iu(e),4&o&&(null!==(t=e.updateQueue)&&(e.updateQueue=null,tu(e,t)));break;case 30:512&o&&(Nc||null===r||tc(r,r.return)),o=At(),a=_c,s=(335544064&n)===n,l=e.memoizedProps,_c=s&&"none"!==Zr(l.default,l.update),nu(t,e,n),iu(e),s&&null!==r&&jt&&(e.flags|=4),_c=a,jt=o;break;case 21:break;case 7:512&o&&(Nc||null===r||tc(r,r.return)),r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:nu(t,e,n),iu(e)}}function iu(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(cc(r)){n=r;break}r=r.return}r=null;for(var o=e.return;null!==o;){if(ac(o)){var a=o.stateNode;null===r?r=[a]:r.push(a)}if(ic(o))break;o=o.return}var s=r;if(null==n)throw Error(i(160));switch(n.tag){case 27:var l=n.stateNode;fc(e,uc(e),l,s);break;case 5:var c=n.stateNode;32&n.flags&&(Ht(c,""),n.flags&=-33),fc(e,uc(e),c,s);break;case 3:case 4:var u=n.stateNode.containerInfo;dc(e,uc(e),u,s);break;default:throw Error(i(161))}}catch(t){Ud(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function au(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;au(t),5===t.tag&&1024&t.flags&&(t=t.stateNode,kh=!0,t.reset(),kh=!1),e=e.sibling}}function su(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)lu(t,e),t=t.sibling;else Oc(t,!1)}function lu(e,t){var n=e.alternate;if(null===n)Cc(e,!1);else switch(e.tag){case 3:if($c=Bc=!1,vc(),su(t,e),!Bc&&!Vc){if(null!==(e=yc))for(var r=0;r<e.length;r+=3){n=e[r];var o=e[r+1];ep(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),$c=!0}yc=null;break;case 5:default:su(t,e);break;case 4:r=Bc,Bc=!1,su(t,e),Bc&&(Vc=!0),Bc=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?Cc(e,!1):su(t,e));break;case 30:r=Bc,o=vc(),Bc=!1,su(t,e),Bc&&(e.flags|=4);var i=e.memoizedProps,a=e.stateNode;t=Xr(i,a),a=Xr(n.memoizedProps,a);var s=Zr(i.default,i.update);"none"===s?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,bc=0,t=Mc(e,n,t,a,s,i,!0),bc!==(null===i?0:i.length)&&(e.flags|=32)),4&e.flags&&t?(fd(e,e.memoizedProps.onUpdate),yc=o):null!==o&&(o.push.apply(o,yc),yc=o),Bc=!!(32&e.flags)||r}}function cu(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Uc(e,t.alternate,t),t=t.sibling}function uu(e,t){for(e=e.child;null!==e;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Ql(4,n,n.return),uu(n,r);break;case 1:tc(n,n.return);var o=n.stateNode;"function"==typeof o.componentWillUnmount&&Jl(n,n.return,o),uu(n,r);break;case 27:2&r&&Dp(n.stateNode,n.type,n.memoizedProps);case 5:tc(n,n.return),5!==n.tag&&27!==n.tag||oc(n),uu(n,r);break;case 6:oc(n);break;case 26:tc(n,n.return),o=n.stateNode,null!==n.memoizedState||null===o||Nc||o.parentNode.removeChild(o),uu(n,r);break;case 22:null===n.memoizedState&&uu(n,r);break;case 30:tc(n,n.return),uu(n,r);break;case 7:tc(n,n.return);default:uu(n,r)}e=e.sibling}}function du(e,t,n){for(n=8772&t.subtreeFlags?n:-2&n,t=t.child;null!==t;){var r=t.alternate,o=e,i=t,a=i.flags,s=!!(1&n);switch(i.tag){case 0:case 11:case 15:du(o,i,n),Xl(4,i);break;case 1:if(du(o,i,n),"function"==typeof(o=(r=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){Ud(r,r.return,e)}if(null!==(o=(r=i).updateQueue)){var l=r.stateNode;try{var c=o.shared.hiddenCallbacks;if(null!==c)for(o.shared.hiddenCallbacks=null,o=0;o<c.length;o++)ta(c[o],l)}catch(e){Ud(r,r.return,e)}}s&&64&a&&Zl(i),ec(i,i.return);break;case 27:2&n&&pc(i);case 5:5!==i.tag&&27!==i.tag||rc(i),du(o,i,n),s&&null===r&&4&a&&sc(i),ec(i,i.return);break;case 6:rc(i);break;case 26:l=i.stateNode,null!==i.memoizedState||null===l||Rc||nh(_p(l.ownerDocument),i.type,l),du(o,i,n),s&&null===r&&4&a&&sc(i),ec(i,i.return);break;case 12:du(o,i,n);break;case 31:du(o,i,n),s&&4&a&&Jc(o,i);break;case 13:du(o,i,n),s&&4&a&&eu(o,i);break;case 22:null===i.memoizedState&&du(o,i,n),ec(i,i.return);break;case 30:du(o,i,n),ec(i,i.return);break;case 7:ec(i,i.return);default:du(o,i,n)}t=t.sibling}}function fu(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&hi(n))}function pu(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&hi(e))}function hu(e,t,n,r){var o=(335544064&n)===n;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;null!==t;)mu(e,t,n,r),t=t.sibling;else o&&Fc(t)}function mu(e,t,n,r){var o=(335544064&n)===n;o&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&Ac(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:hu(e,t,n,r),2048&i&&Xl(9,t);break;case 1:case 31:case 13:default:hu(e,t,n,r);break;case 3:hu(e,t,n,r),o&&$c&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&hi(i)));break;case 12:if(2048&i){hu(e,t,n,r),i=t.stateNode;try{var a=t.memoizedProps,s=a.id,l=a.onPostCommit;"function"==typeof l&&l(s,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){Ud(t,t.return,e)}}else hu(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,s=t.alternate,null!==t.memoizedState?(o&&null!==s&&null===s.memoizedState&&Ac(s),2&a._visibility?hu(e,t,n,r):yu(e,t)):(o&&null!==s&&null!==s.memoizedState&&Ac(t),2&a._visibility?hu(e,t,n,r):(a._visibility|=2,gu(e,t,n,r,!!(10256&t.subtreeFlags)||!1))),2048&i&&fu(s,t);break;case 24:hu(e,t,n,r),2048&i&&pu(t.alternate,t);break;case 30:o&&(null!==(i=t.alternate)&&(Sc(i.child,!0),Sc(t.child,!0))),hu(e,t,n,r)}}function gu(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var i=e,a=t,s=n,l=r,c=a.flags;switch(a.tag){case 0:case 11:case 15:gu(i,a,s,l,o),Xl(8,a);break;case 23:break;case 22:var u=a.stateNode;null!==a.memoizedState?2&u._visibility?gu(i,a,s,l,o):yu(i,a):(u._visibility|=2,gu(i,a,s,l,o)),o&&2048&c&&fu(a.alternate,a);break;case 24:gu(i,a,s,l,o),o&&2048&c&&pu(a.alternate,a);break;default:gu(i,a,s,l,o)}t=t.sibling}}function yu(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:yu(n,r),2048&o&&fu(r.alternate,r);break;case 24:yu(n,r),2048&o&&pu(r.alternate,r);break;default:yu(n,r)}t=t.sibling}}var vu=8192;function bu(e,t,n){if(e.subtreeFlags&vu)for(e=e.child;null!==e;)xu(e,t,n),e=e.sibling}function xu(e,t,n){switch(e.tag){case 26:bu(e,t,n),e.flags&vu&&(null!==e.memoizedState?function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Hp(r.href),i=t.querySelector(Yp(o));if(i)return null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=ch.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,void bt(i);i=t.ownerDocument||t,r=qp(r),(o=Ip.get(o))&&Zp(r,o),bt(i=i.createElement("link"));var a=i;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),Rf(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=ch.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,ru,e.memoizedState,e.memoizedProps):(e=e.stateNode,(335544128&t)===t&&ah(n,e)));break;case 5:bu(e,t,n),e.flags&vu&&(e=e.stateNode,(335544128&t)===t&&ah(n,e));break;case 3:case 4:var r=ru;ru=_p(e.stateNode.containerInfo),bu(e,t,n),ru=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=vu,vu=16777216,bu(e,t,n),vu=r):bu(e,t,n));break;case 30:if(0!==(e.flags&vu)&&(null!=(r=e.memoizedProps.name)&&"auto"!==r)){var o=e.stateNode;o.paired=null,null===mc&&(mc=new Map),mc.set(r,o)}bu(e,t,n);break;default:bu(e,t,n)}}function wu(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Su(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Ic=r,Eu(r,e)}wu(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)ku(e),e=e.sibling}function ku(e){switch(e.tag){case 0:case 11:case 15:Su(e),2048&e.flags&&Ql(9,e,e.return);break;case 3:case 12:default:Su(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,Cu(e)):Su(e)}}function Cu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Ic=r,Eu(r,e)}wu(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:Ql(8,t,t.return),Cu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,Cu(t));break;default:Cu(t)}e=e.sibling}}function Eu(e,t){for(;null!==Ic;){var n=Ic;switch(n.tag){case 0:case 11:case 15:Ql(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:hi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Ic=r;else e:for(n=e;null!==Ic;){var o=(r=Ic).sibling,i=r.return;if(Gc(r),r===n){Ic=null;break e}if(null!==o){o.return=i,Ic=o;break e}Ic=i}}}var Pu={getCacheForType:function(e){var t=ai(fi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ai(fi).controller.signal}},Tu="function"==typeof WeakMap?WeakMap:Map,ju=0,Au=null,Fu=null,Mu=0,Ou=0,Ru=null,Nu=!1,Lu=!1,Du=!1,zu=0,Iu=0,Bu=0,_u=0,Vu=0,$u=0,Wu=0,Uu=null,Hu=null,Yu=!1,qu=0,Gu=0,Ku=1/0,Xu=null,Qu=null,Zu=0,Ju=null,ed=null,td=0,nd=0,rd=null,od=null,id=null,ad=null,sd=null,ld=0,cd=null;function ud(){return 2&ju&&0!==Mu?Mu&-Mu:null!==Q.T?uf():nt()}function dd(){if(0===$u)if(536870912&Mu&&!Bo)$u=536870912;else{var e=Ve;!(3932160&(Ve<<=1))&&(Ve=262144),$u=e}return null!==(e=la.current)&&(e.flags|=32),$u}function fd(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=ap(Xr(e.memoizedProps,n))),null===ad&&(ad=[]),ad.push(t.bind(null,r))}}function pd(e,t,n){(e!==Au||2!==Ou&&9!==Ou)&&null===e.cancelPendingCommit||(xd(e,0),yd(e,Mu,$u,!1)),Xe(e,n),2&ju&&e===Au||(e===Au&&(!(2&ju)&&(_u|=n),4===Iu&&yd(e,Mu,$u,!1)),nf(e))}function hd(e,t,n){if(6&ju)throw Error(i(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||He(e,t),o=r?function(e,t){var n=ju;ju|=2;var r=kd(),o=Cd();Au!==e||Mu!==t?(Xu=null,Ku=Ee()+500,xd(e,t)):Lu=He(e,t);e:for(;;)try{if(0!==Ou&&null!==Fu){t=Fu;var a=Ru;t:switch(Ou){case 1:Ou=0,Ru=null,Md(e,t,a,1);break;case 2:case 9:if(Mi(a)){Ou=0,Ru=null,Fd(t);break}t=function(){2!==Ou&&9!==Ou||Au!==e||(Ou=7),nf(e)},a.then(t,t);break e;case 3:Ou=7;break e;case 4:Ou=5;break e;case 7:Mi(a)?(Ou=0,Ru=null,Fd(t)):(Ou=0,Ru=null,Md(e,t,a,7));break;case 5:var s=null;switch(Fu.tag){case 26:s=Fu.memoizedState;case 5:case 27:var l=Fu;if(s?oh(s):l.stateNode.complete){Ou=0,Ru=null;var c=l.sibling;if(null!==c)Fu=c;else{var u=l.return;null!==u?(Fu=u,Od(u)):Fu=null}break t}}Ou=0,Ru=null,Md(e,t,a,5);break;case 6:Ou=0,Ru=null,Md(e,t,a,6);break;case 8:bd(),Iu=6;break e;default:throw Error(i(462))}}jd();break}catch(t){wd(e,t)}return Zo=Qo=null,Q.H=r,Q.A=o,ju=n,null!==Fu?0:(Au=null,Mu=0,ro(),Iu)}(e,t):Pd(e,t,!0),a=r;;){if(0===o){Lu&&!r&&yd(e,t,0,!1);break}if(n=e.current.alternate,!a||gd(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=Uu;var c=l.current.memoizedState.isDehydrated;if(c&&(xd(l,s).flags|=256),2!==(s=Pd(l,s,!1))&&6!==s){if(Du&&!c){l.errorRecoveryDisabledLanes|=a,_u|=a,o=4;break e}a=Hu,Hu=o,null!==a&&(null===Hu?Hu=a:Hu.push.apply(Hu,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){xd(e,0),yd(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t&&(62914560&t)!==t)break;case 6:yd(r,t,$u,!Nu);break e;case 2:Hu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((62914560&t)===t&&10<(o=qu+300-Ee())){if(yd(r,t,$u,!Nu),0!==Ue(r,0,!0))break e;td=t,r.timeoutHandle=Uf(md.bind(null,r,n,Hu,Xu,Yu,t,$u,_u,Wu,Nu,a,"Throttled",-0,0),o)}else md(r,n,Hu,Xu,Yu,t,$u,_u,Wu,Nu,a,null,-0,0)}break}o=Pd(e,t,!1),a=!1}nf(e)}function md(e,t,n,r,o,i,a,s,l,c,u,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(335544064&i)===i;if(d=null,(y||8192&g||!(16785408&~g))&&(mc=null,xu(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jt}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=ch.bind(g),y.finished.then(g,g))),g=(62914560&i)===i?qu-Ee():(4194048&i)===i?Gu-Ee():0,m=g,(h=d).stylesheets&&0===h.count&&fh(h,h.stylesheets),null!==(g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===sh&&(sh=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],i=o.transferSize,a=o.initiatorType,s=o.duration;if(i&&s&&Lf(a)){for(a=0,s=o.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,d=l.initiatorType;u&&Lf(d)&&(a+=u*((l=l.responseEnd)<s?1:(s-c)/(l-c)))}if(--r,t+=8*(i+a)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&fh(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>sh?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)))return td=i,e.cancelPendingCommit=g(Nd.bind(null,e,t,i,n,r,o,a,s,l,c,u,d,null,f,p)),void yd(e,i,a,!c);Nd(e,t,i,n,r,o,a,s,l,c,u,d)}function gd(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!xr(i(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yd(e,t,n,r){t=Ye(e,t),t&=~Vu,t&=~_u,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-ze(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&Qe(e,n,t)}function vd(){return!!(6&ju)||(rf(0,!1),!1)}function bd(){if(null!==Fu){if(0===Ou)var e=Fu.return;else Zo=Qo=null,Ia(e=Fu),zi=null,Ii=0,e=Fu;for(;null!==e;)Kl(e.alternate,e),e=e.return;Fu=null}}function xd(e,t){var n=e.timeoutHandle;return-1!==n&&(e.timeoutHandle=-1,Hf(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),td=0,bd(),Au=e,Fu=n=ho(e.current,null),Mu=t,Ou=0,Ru=null,Nu=!1,Lu=He(e,t),Du=!1,Wu=$u=Vu=_u=Bu=Iu=0,Hu=Uu=null,Yu=!1,zu=Ye(e,t),ro(),n}function wd(e,t){xa=null,Q.H=Ys,t===Ti||t===Ai?(t=Li(),Ou=3):t===ji?(t=Li(),Ou=4):Ou=t===cl?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,Ru=t,null===Fu&&(Iu=1,ol(e,So(t,e.current)))}function Sd(){var e=la.current;return null===e||((4194048&Mu)===Mu?null===ca:!!((62914560&Mu)===Mu||536870912&Mu)&&e===ca)}function kd(){var e=Q.H;return Q.H=Ys,null===e?Ys:e}function Cd(){var e=Q.A;return Q.A=Pu,e}function Ed(){Iu=4,Nu||(4194048&Mu)!==Mu&&null!==la.current||(Lu=!0),!(134217727&Bu)&&!(134217727&_u)||null===Au||yd(Au,Mu,$u,!1)}function Pd(e,t,n){var r=ju;ju|=2;var o=kd(),i=Cd();Au===e&&Mu===t||(Xu=null,xd(e,t)),t=!1;var a=Iu;e:for(;;)try{if(0!==Ou&&null!==Fu){var s=Fu,l=Ru;switch(Ou){case 8:bd(),a=6;break e;case 3:case 2:case 9:case 6:null===la.current&&(t=!0);var c=Ou;if(Ou=0,Ru=null,Md(e,s,l,c),n&&Lu){a=0;break e}break;default:c=Ou,Ou=0,Ru=null,Md(e,s,l,c)}}Td(),a=Iu;break}catch(t){wd(e,t)}return t&&e.shellSuspendCounter++,Zo=Qo=null,ju=r,Q.H=o,Q.A=i,null===Fu&&(Au=null,Mu=0,ro()),a}function Td(){for(;null!==Fu;)Ad(Fu)}function jd(){for(;null!==Fu&&!ke();)Ad(Fu)}function Ad(e){var t=_l(e.alternate,e,zu);e.memoizedProps=e.pendingProps,null===t?Od(e):Fu=t}function Fd(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Sl(n,t,t.pendingProps,t.type,void 0,Mu);break;case 11:t=Sl(n,t,t.pendingProps,t.type.render,t.ref,Mu);break;case 5:Ia(t);var r=t;r===zo&&(Bo?(Ho(r),5===r.tag&&null!=r.stateNode&&(Io=r.stateNode)):(Ho(r),Bo=!0));default:Kl(n,t),t=_l(n,t=Fu=mo(t,zu),zu)}e.memoizedProps=e.pendingProps,null===t?Od(e):Fu=t}function Md(e,t,n,r){Zo=Qo=null,Ia(t),zi=null,Ii=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ri(t,n,o,!0),null!==(n=la.current)){switch(n.tag){case 31:case 13:case 19:return null===ca?Ed():null===n.alternate&&0===Iu&&(Iu=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===Fi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Hd(e,r,o)),!1;case 22:return n.flags|=65536,r===Fi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Hd(e,r,o)),!1}throw Error(i(435,n.tag))}return Hd(e,r,o),Ed(),!1}if(Bo)return null!==(t=la.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==$o&&Ko(So(e=Error(i(422),{cause:r}),n))):(r!==$o&&Ko(So(t=Error(i(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=So(r,n),Qi(e,o=al(e.stateNode,r,o)),4!==Iu&&(Iu=2)),!1;var a=Error(i(520),{cause:r});if(a=So(a,n),null===Uu?Uu=[a]:Uu.push(a),4!==Iu&&(Iu=2),null===t)return!0;r=So(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Qi(n,e=al(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Qu&&Qu.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,ll(o=sl(o),e,n,r),Qi(n,o),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n);return!1}(e,o,t,n,Mu))return Iu=1,ol(e,So(n,e.current)),void(Fu=null)}catch(t){if(null!==o)throw Fu=o,t;return Iu=1,ol(e,So(n,e.current)),void(Fu=null)}32768&t.flags?(Bo||1===r?e=!0:Lu||536870912&Mu?e=!1:(Nu=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=la.current)&&13===r.tag&&(r.flags|=16384))),Rd(t,e)):Od(t)}function Od(e){var t=e;do{if(32768&t.flags)return void Rd(t,Nu);e=t.return;var n=ql(t.alternate,t,zu);if(null!==n)return void(Fu=n);if(null!==(t=t.sibling))return void(Fu=t);Fu=t=e}while(null!==t);0===Iu&&(Iu=5)}function Rd(e,t){do{var n=Gl(e.alternate,e);if(null!==n)return n.flags&=32767,void(Fu=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(Fu=e);Fu=e=n}while(null!==e);Iu=6,Fu=null}function Nd(e,t,n,r,o,a,s,l,c,u,d,f){e.cancelPendingCommit=null;do{Vd()}while(0!==Zu);if(6&ju)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));e===Au&&(Fu=Au=null,Mu=0),ed=t,Ju=e,td=n,rd=o,od=r,function(e,t,n,r,o,i,a){var s=t.lanes|t.childLanes;if(nd=s,function(e,t,n,r,o,i){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var u=31-ze(n),d=1<<u;s[u]=0,l[u]=-1;var f=c[u];if(null!==f)for(c[u]=null,u=0;u<f.length;u++){var p=f[u];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Qe(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,n,s|=no,r,o,i),ad=null,(335544064&n)===n?(sd=function(e){var t=e.transitionTypes;return e.transitionTypes=null,t}(e),r=10262):(sd=null,r=10256),0!==(t.subtreeFlags&r)||0!==(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,function(e,t){we(e,t)}(Ae,function(){return $d(),null})):(e.callbackNode=null,e.callbackPriority=0),hc=!1,r=!!(13878&t.flags),!!(13878&t.subtreeFlags)||r){r=Q.T,Q.T=null,o=Z.p,Z.p=2,i=ju,ju|=4;try{!function(e,t,n){if(e=e.containerInfo,Df=kh,Tr(e=Pr(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==i&&3!==f.nodeType||(l=s+i),f!==a||0!==o&&3!==f.nodeType||(c=s+o),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++u===i&&(l=s),p===a&&++d===o&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(zf={focusedElem:e,selectionRange:r},kh=!1,Ic=t,t=(n=(335544064&n)===n)?9270:1024;null!==Ic;){if(e=Ic,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&Pc(r[i]);if(null===e.alternate&&2&e.flags)n&&gc(e),Wc(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&Pc(r),Wc(n);continue}if(null!==r&&null!==r.memoizedState){n&&gc(e),Wc(n);continue}}r=e.child,0!==(e.subtreeFlags&t)&&null!==r?(r.return=e,Ic=r):(n&&Tc(e),Wc(n))}}mc=null}(e,t,n)}finally{ju=i,Z.p=o,Q.T=r}}Zu=1,hc?id=function(e,t,n,r,o,i,a,s,l){var c=9===t.nodeType?t:t.ownerDocument;try{var u=c.startViewTransition({update:function(){var t=c.defaultView,n=t.navigation&&t.navigation.transition,a=c.fonts.status;r();var s=[];if("loaded"===a&&(function(e){e.documentElement.clientHeight}(c),"loading"===c.fonts.status&&s.push(c.fonts.ready)),a=s.length,null!==e)for(var l=e.suspenseyImages,u=0,d=0;d<l.length;d++){var f=l[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((u+=ih(f))>sh){s.length=a;break}f=new Promise(op.bind(f)),s.push(f)}}}return 0<s.length?(t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(o,o),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(o(),n?n.finished.then(i,i):void i())},types:n});c.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=c.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,o=r.pseudoElement;if(null!=o&&o.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var i=o=void 0,s=!0,l=0;l<n.length;l++){var u=n[l],f=u.width;if(void 0===o)o=f;else if(o!==f){s=!1;break}if(f=u.height,void 0===i)i=f;else if(i!==f){s=!1;break}delete u.width,delete u.height,"none"===u.transform&&delete u.transform}s&&void 0!==o&&void 0!==i&&(r.setKeyframes(n),(s=getComputedStyle(r.target,r.pseudoElement)).width!==o||s.height!==i)&&((s=n[0]).width=o,s.height=i,(s=n[n.length-1]).width=o,s.height=i,r.setKeyframes(n))}}a()},function(e){c.__reactViewTransition===u&&(c.__reactViewTransition=null);try{if("object"==typeof e&&null!==e&&"InvalidStateError"===e.name)"View transition was skipped because document visibility state is hidden."!==e.message&&"Skipping view transition because document visibility state has become hidden."!==e.message&&"Skipping view transition because viewport size changed."!==e.message&&"Transition was aborted because of invalid state"!==e.message||(e=null);null!==e&&l(e)}finally{r(),o(),a()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();c.__reactViewTransition===u&&(c.__reactViewTransition=null),s()}),u}catch(e){return r(),o(),a(),null}}(a,e.containerInfo,sd,zd,Id,Dd,Bd,$d,Ld):(zd(),Id(),Bd())}(e,t,n,s,l,c,f)}}function Ld(e){0!==Zu&&(0,Ju.onRecoverableError)(e,{componentStack:null})}function Dd(){3===Zu&&(Zu=0,lu(ed,Ju),Zu=4)}function zd(){if(1===Zu){Zu=0;var e=Ju,t=ed,n=td,r=!!(13878&t.flags);if(13878&t.subtreeFlags||r){r=Q.T,Q.T=null;var o=Z.p;Z.p=2;var i=ju;ju|=4;try{_c=Vc=!1,ou(t,e,n),n=zf;var a=Pr(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(a!==s&&s&&s.ownerDocument&&Er(s.ownerDocument.documentElement,s)){if(null!==l&&Tr(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=s.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!p.extend&&m>g&&(a=g,g=m,m=a);var y=Cr(s,m),v=Cr(s,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=s;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var x=d[s];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}kh=!!Df,zf=Df=null}finally{ju=i,Z.p=o,Q.T=r}}e.current=t,Zu=2}}function Id(){if(2===Zu){Zu=0;var e=Ju,t=ed,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=Q.T,Q.T=null;var r=Z.p;Z.p=2;var o=ju;ju|=4;try{Uc(e,t.alternate,t)}finally{ju=o,Z.p=r,Q.T=n}}Zu=3}}function Bd(){if(4===Zu||3===Zu){Zu=0;var e=id;id=null,Ce();var t=Ju,n=ed,r=td,o=od,i=(335544064&r)===r?10262:10256;if(0!==(n.subtreeFlags&i)||0!==(n.flags&i)?Zu=5:(Zu=0,ed=Ju=null,_d(t,t.pendingLanes)),0===(i=t.pendingLanes)&&(Qu=null),tt(r),n=n.stateNode,Le&&"function"==typeof Le.onCommitFiberRoot)try{Le.onCommitFiberRoot(Ne,n,void 0,!(128&~n.current.flags))}catch(e){}if(null!==o){n=Q.T,i=Z.p,Z.p=2,Q.T=null;try{for(var a=t.onRecoverableError,s=0;s<o.length;s++){var l=o[s];a(l.value,{componentStack:l.stack})}}finally{Q.T=n,Z.p=i}}if(a=sd,sd=null,null!==(o=ad)&&(ad=null,null===a&&(a=[]),null!==e))for(l=0;l<o.length;l++)void 0!==(n=(0,o[l])(a))&&e.finished.finally(n);3&td&&Vd(),nf(t),i=t.pendingLanes,261930&r&&42&i?t===cd?ld++:(ld=0,cd=t):(ld=0,cd=null),rf(0,!1)}}function _d(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,hi(t)))}function Vd(){return null!==id&&(id.skipTransition(),id=null),zd(),Id(),Bd(),$d()}function $d(){if(5!==Zu)return!1;var e=Ju,t=nd;nd=0;var n=tt(td),r=Q.T,o=Z.p;try{Z.p=32>n?32:n,Q.T=null,n=rd,rd=null;var a=Ju,s=td;if(Zu=0,ed=Ju=null,td=0,6&ju)throw Error(i(331));var l=ju;if(ju|=4,ku(a.current),mu(a,a.current,s,n),ju=l,rf(0,!1),Le&&"function"==typeof Le.onPostCommitFiberRoot)try{Le.onPostCommitFiberRoot(Ne,a)}catch(e){}return!0}finally{Z.p=o,Q.T=r,_d(e,t)}}function Wd(e,t,n){t=So(n,t),null!==(e=Ki(e,t=al(e.stateNode,t,2),2))&&(Xe(e,2),nf(e))}function Ud(e,t,n){if(3===e.tag)Wd(e,e,n);else for(;null!==t;){if(3===t.tag){Wd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Qu||!Qu.has(r))){e=So(n,e),null!==(r=Ki(t,n=sl(2),2))&&(ll(n,r,t,e),Xe(r,2),nf(r));break}}t=t.return}}function Hd(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Tu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(Du=!0,o.add(n),e=Yd.bind(null,e,t,n),t.then(e,e))}function Yd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Au===e&&(Mu&n)===n&&(4===Iu||3===Iu&&(62914560&Mu)===Mu&&300>Ee()-qu?2&ju?Vu|=n:xd(e,0):Vu|=n,Wu===Mu&&(Wu=0)),nf(e)}function qd(e,t){0===t&&(t=Ge()),null!==(e=ao(e,t))&&(Xe(e,t),nf(e))}function Gd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),qd(e,n)}function Kd(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),qd(e,n)}var Xd=null,Qd=null,Zd=!1,Jd=!1,ef=!1,tf=0;function nf(e){e!==Qd&&null===e.next&&(null===Qd?Xd=Qd=e:Qd=Qd.next=e),Jd=!0,Zd||(Zd=!0,Gf(function(){6&ju?we(Te,of):af()}))}function rf(e,t){if(!ef&&Jd){ef=!0;do{for(var n=!1,r=Xd;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,s=r.pingedLanes;i=(1<<31-ze(42|e)+1)-1,i=201326741&(i&=o&~(a&~s))?201326741&i|1:i?2|i:0}0!==i&&(n=!0,cf(r,i))}else i=Mu,!(3&(i=Ue(r,r===Au?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||He(r,i)||(n=!0,cf(r,i));r=r.next}}while(n);ef=!1}}function of(){af()}function af(){Jd=Zd=!1;var e=0;0!==tf&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==Wf&&(Wf=e,!0);return Wf=null,!1}()&&(e=tf);for(var t=Ee(),n=null,r=Xd;null!==r;){var o=r.next,i=sf(r,t);0===i?(r.next=null,null===n?Xd=o:n.next=o,null===o&&(Qd=n)):(n=r,(0!==e||3&i)&&(Jd=!0)),r=o}0!==Zu&&5!==Zu||rf(e,!1),0!==tf&&(tf=0)}function sf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-ze(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=qe(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}if(n=Mu,n=Ue(e,e===(t=Au)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===Ou||9===Ou)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&Se(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||He(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&Se(r),tt(n)){case 2:case 8:n=je;break;case 32:default:n=Ae;break;case 268435456:n=Me}return r=lf.bind(null,e),n=we(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&Se(r),e.callbackPriority=2,e.callbackNode=null,2}function lf(e,t){if(0!==Zu&&5!==Zu)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Vd()&&e.callbackNode!==n)return null;var r=Mu;return 0===(r=Ue(e,e===Au?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(hd(e,r,t),sf(e,Ee()),null!=e.callbackNode&&e.callbackNode===n?lf.bind(null,e):null)}function cf(e,t){if(Vd())return null;hd(e,t,!0)}function uf(){if(0===tf){var e=bi;0===e&&(e=_e,!(261888&(_e<<=1))&&(_e=256)),tf=e}return tf}function df(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Zt(e)}for(var ff=0;ff<qr.length;ff++){var pf=qr[ff];Gr(pf.toLowerCase(),"on"+(pf[0].toUpperCase()+pf.slice(1)))}Gr(Br,"onAnimationEnd"),Gr(_r,"onAnimationIteration"),Gr(Vr,"onAnimationStart"),Gr("dblclick","onDoubleClick"),Gr("focusin","onFocus"),Gr("focusout","onBlur"),Gr($r,"onTransitionRun"),Gr(Wr,"onTransitionStart"),Gr(Ur,"onTransitionCancel"),Gr(Hr,"onTransitionEnd"),Ct("onMouseEnter",["mouseout","mouseover"]),Ct("onMouseLeave",["mouseout","mouseover"]),Ct("onPointerEnter",["pointerout","pointerover"]),Ct("onPointerLeave",["pointerout","pointerover"]),kt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),kt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),kt("onBeforeInput",["compositionend","keypress","textInput","paste"]),kt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),kt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),kt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hf));function gf(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=c;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=c;try{i(o)}catch(e){Jr(e)}o.currentTarget=null,i=l}}}}function yf(e,t){var n=t[lt];void 0===n&&(n=t[lt]=new Set);var r=e+"__bubble";n.has(r)||(wf(t,e,2,!1),n.add(r))}function vf(e,t,n){var r=0;t&&(r|=4),wf(n,e,r,t)}var bf="_reactListening"+Math.random().toString(36).slice(2);function xf(e){if(!e[bf]){e[bf]=!0,wt.forEach(function(t){"selectionchange"!==t&&(mf.has(t)||vf(t,!1,e),vf(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[bf]||(t[bf]=!0,vf("selectionchange",!1,t))}}function wf(e,t,n,r){switch(Fh(t)){case 2:var o=Ch;break;case 8:o=Eh;break;default:o=Ph}n=o.bind(null,t,n,e),o=void 0,!un||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Sf(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o)break;if(4===a)for(a=r.return;null!==a;){var c=a.tag;if((3===c||4===c)&&a.stateNode.containerInfo===o)return;a=a.return}for(;null!==l;){if(null===(a=mt(l)))return;if(5===(c=a.tag)||6===c||26===c||27===c){r=i=a;continue e}l=l.parentNode}}r=r.return}sn(function(){var r=i,o=tn(n),a=[];e:{var l=Yr.get(e);if(void 0!==l){var c=Cn,u=e;switch(e){case"keypress":if(0===gn(n))break e;case"keydown":case"keyup":c=Bn;break;case"focusin":u="focus",c=Fn;break;case"focusout":u="blur",c=Fn;break;case"beforeblur":case"afterblur":c=Fn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=jn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=An;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=$n;break;case Br:case _r:case Vr:c=Mn;break;case Hr:c=Wn;break;case"scroll":case"scrollend":c=Pn;break;case"wheel":c=Un;break;case"copy":case"cut":case"paste":c=On;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=_n;break;case"submit":c=Vn;break;case"toggle":case"beforetoggle":c=Hn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=ln(m,p))&&d.push(kf(m,g,h)),f)break;m=m.return}0<d.length&&(l=new c(l,u,null,n,o),a.push({event:l,listeners:d}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(c="mouseover"===e||"pointerover"===e)&&n!==en&&(u=n.relatedTarget||n.fromElement)&&(mt(u)||u[st])||(l||c)&&(u=o.window===o?o:(c=o.ownerDocument)?c.defaultView||c.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?mt(c):null)&&(f=s(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(l=null,c=r),l!==c&&(d=jn,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=_n,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?u:yt(l),h=null==c?u:yt(c),(u=new d(g,m+"leave",l,n,o)).target=f,u.relatedTarget=h,g=null,mt(o)===r&&((d=new d(p,m+"enter",c,n,o)).target=h,d.relatedTarget=f,g=d),f=g,d=l&&c?P(l,c,Ef):null,null!==l&&Pf(a,u,l,d,!1),null!==c&&null!==f&&Pf(a,f,c,d,!0))),"select"===(c=(l=r?yt(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var y=cr;else if(rr(l))if(ur)y=br;else{y=yr;var v=gr}else!(c=l.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Kt(r.elementType)&&(y=cr):y=vr;switch(y&&(y=y(e,r))?or(a,y,n,o):v&&v(e,l,r),v=r?yt(r):window,e){case"focusin":(rr(v)||"true"===v.contentEditable)&&(Ar=v,Fr=r,Mr=null);break;case"focusout":Mr=Fr=Ar=null;break;case"mousedown":Or=!0;break;case"contextmenu":case"mouseup":case"dragend":Or=!1,Rr(a,n,o);break;case"selectionchange":if(jr)break;case"keydown":case"keyup":Rr(a,n,o)}var b;if(qn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else tr?Jn(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(Xn&&"ko"!==n.locale&&(tr||"onCompositionStart"!==x?"onCompositionEnd"===x&&tr&&(b=mn()):(pn="value"in(fn=o)?fn.value:fn.textContent,tr=!0)),0<(v=Cf(r,x)).length&&(x=new Rn(x,e,null,n,o),a.push({event:x,listeners:v}),b?x.data=b:null!==(b=er(n))&&(x.data=b))),(b=Kn?function(e,t){switch(e){case"compositionend":return er(t);case"keypress":return 32!==t.which?null:(Zn=!0,Qn);case"textInput":return(e=t.data)===Qn&&Zn?null:e;default:return null}}(e,n):function(e,t){if(tr)return"compositionend"===e||!qn&&Jn(e,t)?(e=mn(),hn=pn=fn=null,tr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(x=Cf(r,"onBeforeInput")).length&&(v=new Rn("onBeforeInput","beforeinput",null,n,o),a.push({event:v,listeners:x}),v.data=b)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=df((o[at]||null).action),a=r.submitter;a&&null!==(t=(t=a[at]||null)?df(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var s=new Cn("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==tf){var e=new FormData(o,a);Os(n,{pending:!0,data:e,method:o.method,action:i},null,e)}}else"function"==typeof i&&(s.preventDefault(),e=new FormData(o,a),Os(n,{pending:!0,data:e,method:o.method,action:i},i,e))},currentTarget:o}]})}}(a,e,r,n,o)}gf(a,t)})}function kf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cf(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=ln(e,n))&&r.unshift(kf(e,o,i)),null!=(o=ln(e,t))&&r.push(kf(e,o,i))),3===e.tag)return r;e=e.return}return[]}function Ef(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Pf(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,o?null!=(c=ln(n,i))&&a.unshift(kf(n,c,l)):o||null!=(c=ln(n,i))&&a.push(kf(n,c,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Tf=/\r\n?/g,jf=/\u0000|\uFFFD/g;function Af(e){return("string"==typeof e?e:""+e).replace(Tf,"\n").replace(jf,"")}function Ff(e,t){return t=Af(t),Af(e)===t}function Mf(e,t,n,r,o,a){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||Ht(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&Ht(e,""+r)}break;case"className":Mt(e,"class",r);break;case"tabIndex":Mt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Mt(e,n,r);break;case"style":return void Gt(e,r,a);case"data":if("object"!==t){Mt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&Mf(e,t,"name",o.name,o,null),Mf(e,t,"formEncType",o.formEncType,o,null),Mf(e,t,"formMethod",o.formMethod,o,null),Mf(e,t,"formTarget",o.formTarget,o,null)):(Mf(e,t,"encType",o.encType,o,null),Mf(e,t,"method",o.method,o,null),Mf(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Zt(r),e.setAttribute(n,r);break;case"onClick":return void(null!=r&&(e.onclick=Jt));case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Zt(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":yf("beforetoggle",e),yf("toggle",e),Ft(e,"popover",r);break;case"xlinkActuate":Ot(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Ot(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Ot(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Ot(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Ot(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Ot(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Ot(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Ot(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Ot(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Ft(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;Ft(e,n=Xt.get(n)||n,r)}jt=!0}function Of(e,t,n,r,o,a){switch(n){case"style":return void Gt(e,r,a);case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));(null!=a?a.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if("string"==typeof r)Ht(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;Ht(e,""+r)}break;case"onScroll":return void(null!=r&&yf("scroll",e));case"onScrollEnd":return void(null!=r&&yf("scrollend",e));case"onClick":return void(null!=r&&(e.onclick=Jt));case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:return void(St.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),a=n.slice(2,o?n.length-7:void 0),"function"==typeof(t=null!=(t=e[at]||null)?t[n]:null)&&e.removeEventListener(a,t,o),"function"!=typeof r)?(jt=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):Ft(e,n,r)):("function"!=typeof t&&null!==t&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,o))))}jt=!0}function Rf(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yf("error",e),yf("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Mf(e,t,r,s,n,null)}}return a&&Mf(e,t,"srcSet",n.srcSet,n,null),void(o&&Mf(e,t,"src",n.src,n,null));case"input":yf("invalid",e);var l=r=s=a=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:Mf(e,t,o,d,n,null)}}return void _t(e,r,l,c,u,s,a,!1);case"select":for(a in yf("invalid",e),o=s=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:Mf(e,t,a,l,n,null)}return t=r,n=s,e.multiple=!!o,void(null!=t?$t(e,!!o,t,!1):null!=n&&$t(e,!!o,n,!0));case"textarea":for(s in yf("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(i(91));break;default:Mf(e,t,s,l,n,null)}return void Ut(e,o,a,r);case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))if("selected"===c)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else Mf(e,t,c,o,n,null);return;case"dialog":yf("beforetoggle",e),yf("toggle",e),yf("cancel",e),yf("close",e);break;case"iframe":case"object":yf("load",e);break;case"video":case"audio":for(o=0;o<hf.length;o++)yf(hf[o],e);break;case"image":yf("error",e),yf("load",e);break;case"details":yf("toggle",e);break;case"embed":case"source":case"link":yf("error",e),yf("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Mf(e,t,u,o,n,null)}return;default:if(Kt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&Of(e,t,d,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&Mf(e,t,l,o,n,null))}var Nf={};function Lf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var Df=null,zf=null;function If(e){return 9===e.nodeType?e:e.ownerDocument}function Bf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _f(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Vf(e,t,n,r){return(n=If(n).createElement(e))[it]=r,n[at]=t,Rf(n,e,t),bt(n),n}function $f(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wf=null;var Uf="function"==typeof setTimeout?setTimeout:void 0,Hf="function"==typeof clearTimeout?clearTimeout:void 0,Yf="function"==typeof Promise?Promise:void 0,qf="function"==typeof requestAnimationFrame?requestAnimationFrame:Uf,Gf="function"==typeof queueMicrotask?queueMicrotask:void 0!==Yf?function(e){return Yf.resolve(null).then(e).catch(Kf)}:Uf;function Kf(e){setTimeout(function(){throw e})}function Xf(e){return"head"===e}function Qf(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Gh(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)zp(e.ownerDocument.documentElement);else if("head"===n){zp(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var a=i.nextSibling,s=i.nodeName;i[ft]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=a}}else"body"===n&&zp(e.ownerDocument.body);n=o}while(n);Gh(t)}function Zf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Jf(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var o=r=0;o<t.length;o++){var i=t[o];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function ep(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function tp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function np(e){return tp(e.getBoundingClientRect(),getComputedStyle(e),e)}function rp(e){var t=e.getBoundingClientRect();return tp(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function op(e){this.addEventListener("load",e),this.addEventListener("error",e)}function ip(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function ap(e){return{name:e,group:new ip("group",e),imagePair:new ip("image-pair",e),old:new ip("old",e),new:new ip("new",e)}}function sp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function lp(e,t,n,r){return x(e).addEventListener(t,n,r),!1}function cp(e,t,n,r){return x(e).removeEventListener(t,n,r),!1}function up(e){return null!=e&&"boolean"!=typeof e&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function dp(e){return null==e?"c=0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function fp(e,t,n,r){if(0===e.length)return-1;r=dp(r);for(var o=0;o<e.length;o++){var i=e[o];if(i.type===t&&i.listener===n&&dp(i.optionsOrUseCapture)===r)return o}return-1}function pp(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=x(e),t)}function hp(e,t){return t.push(e),!1}function mp(e,t){return 6!==e.tag&&(!((e=x(e))!==t&&!e.contains(t))&&(t.blur(),!0))}function gp(e,t){return 6===e.tag||(e=x(e),t.observe(e)),!1}function yp(e,t){return 6===e.tag||(e=x(e),t.unobserve(e)),!1}ip.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},ip.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],o=0;o<n.length;o++){var i=n[o].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[o])}return r},ip.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},sp.prototype.addEventListener=function(e,t,n){var r=null,o=null;if(null==n||"boolean"==typeof n||(null===(r=n.signal||null)||!r.aborted)){null===this._eventListeners&&(this._eventListeners=[]);var i=this._eventListeners;if(-1===fp(i,e,t,n)){var a=this,s=t;null!=n&&"boolean"!=typeof n&&!0===n.once&&(s=function(r){a.removeEventListener(e,t,n),"function"==typeof t?t.call(this,r):t.handleEvent(r)}),null!==r&&(o=a.removeEventListener.bind(a,e,t,n),r.addEventListener("abort",o,{once:!0}),o=r.removeEventListener.bind(r,"abort",o)),r=up(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:o}),m(this._fragmentFiber.child,!1,lp,e,s,r)}this._eventListeners=i}},sp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(null!==r&&-1!==(t=fp(r,e,t,n))){var o=r[t];n=o.attachedListener;var i=o.cleanup;o=up(o.optionsOrUseCapture),m(this._fragmentFiber.child,!1,cp,e,n,o),r.splice(t,1),null!==i&&i()}},sp.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(null===t)return!0;t=x(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=9===t.nodeType?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];r.addEventListener(i.type,i.attachedListener,up(i.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],r.removeEventListener(i.type,i.attachedListener,up(i.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},sp.prototype.focus=function(e){m(this._fragmentFiber.child,!0,pp,e,void 0,void 0)},sp.prototype.focusLast=function(e){var t=[];m(this._fragmentFiber.child,!0,hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!pp(t[n],e);n--);},sp.prototype.blur=function(){var e=g(this._fragmentFiber);null!==e&&(null!==(e=If(e=x(e)).activeElement)&&m(this._fragmentFiber.child,!1,mp,e,void 0,void 0))},sp.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),m(this._fragmentFiber.child,!1,gp,e,void 0,void 0)},sp.prototype.unobserveUsing=function(e){var t=this._observers;if(null!==t&&t.has(e)){t.delete(e),m(this._fragmentFiber.child,!1,yp,e,void 0,void 0);for(var n=t=0;n<vp.length;n++){var r=vp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):vp[t++]=r}vp.length=t}};var vp=[],bp=!1;function xp(e,t,n){var r;vp.push({fragmentInstance:e,observer:t,instance:n}),bp||(bp=!0,r=function(){bp=!1;var e=vp;vp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}},qf(function(){qf(function(e){return r(e)})}))}function wp(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=x(e),t.push.apply(t,e.getClientRects());return!1}function Sp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function kp(e,t){return Cp(e=x(e),t),!1}function Cp(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Ep(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.addEventListener(o.type,o.attachedListener,up(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){for(var r=0,o=0;o<vp.length;o++){var i=vp[o];i.fragmentInstance===t&&i.observer===n&&i.instance===e||(vp[r++]=i)}vp.length=r,n.observe(e)}),Cp(e,t))}function Pp(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.removeEventListener(o.type,o.attachedListener,up(o.optionsOrUseCapture))}3!==e.nodeType&&(null!==(n=t._observers)&&n.forEach(function(n){"string"==typeof n.rootMargin?xp(t,n,e):n.unobserve(e)}),null!=e.reactFragments&&e.reactFragments.delete(t))}function Tp(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Tp(n),ht(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function jp(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Mp(e.nextSibling)))return null}return e}function Ap(e){return"$?"===e.data||"$~"===e.data}function Fp(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Mp(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}sp.prototype.getClientRects=function(){var e=[];return m(this._fragmentFiber.child,!1,wp,e,void 0,void 0),e},sp.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return null===t?this:x(t).getRootNode(e)},sp.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];m(this._fragmentFiber.child,!1,hp,n,void 0,void 0);var r=x(t);if(0===n.length){if(n=r,y(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;null!==t;){if(4===t.tag){t=t.stateNode.containerInfo;break e}if(3===t.tag||5===t.tag||27===t.tag)break;t=t.return}t=null}null!=t&&(n=t)}t=this._fragmentFiber;var o=r=n.compareDocumentPosition(e);return n===e?o=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(null===(n=v(t)[1])?o=Node.DOCUMENT_POSITION_PRECEDING:o=0===(e=x(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),o|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=x(n[0]),o=x(n[n.length-1]);var i=y(this._fragmentFiber)?t.parentElement:r;if(null==i)return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var a=t.compareDocumentPosition(e),s=o.compareDocumentPosition(e),l=a&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&i&&a&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&o===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:a)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,o){var i=mt(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return o===(i=o.ownerDocument)||o===i.documentElement||o===i.body;e:{for(i=t,t=g(t);null!==i;){if(!(5!==i.tag&&3!==i.tag&&27!==i.tag||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=P(n,i,E))?t=!1:(m(t,!0,k,i,n),i=w,w=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=P(r,i,E))?t=!1:(m(t,!0,C,i,r),i=w,S=w=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},sp.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(i(566));var t=[];m(this._fragmentFiber.child,!1,hp,t,void 0,void 0);var n=!1!==e;if(0===t.length){var r=v(this._fragmentFiber);if(null===(r=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1]))return;if(6===r.tag)return void Sp(e=x(r),n);if(9!==(r=x(r)).nodeType){if(11===r.nodeType)return void(null!==(n="host"in r?r.host:null)&&n.scrollIntoView(e));r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var o=t[r];6===o.tag?Sp(o=x(o),n):x(o).scrollIntoView(e),r+=n?-1:1}};var Op=null;function Rp(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Mp(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Np(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Lp(e,t,n){switch(t=If(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function Dp(e,t,n){for(var r in n){var o=n[r];n.hasOwnProperty(r)&&null!=o&&Mf(e,t,r,null,Nf,o)}null!=n.dangerouslySetInnerHTML&&(e.textContent=""),e.onclick===Jt&&(e.onclick=null),ht(e)}function zp(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ht(e)}var Ip=new Map,Bp=new Set;function _p(e){if("function"==typeof e.getRootNode){var t=e.getRootNode();if(9===t.nodeType||11===t.nodeType)return t}return 9===e.nodeType?e:e.ownerDocument}var Vp=Z.d;Z.d={f:function(){var e=Vp.f(),t=vd();return e||t},r:function(e){var t=gt(e);null!==t&&5===t.tag&&"form"===t.type?Ns(t):Vp.r(e)},D:function(e){Vp.D(e),Wp("dns-prefetch",e,null)},C:function(e,t){Vp.C(e,t),Wp("preconnect",e,t)},L:function(e,t,n){Vp.L(e,t,n);var r=$p;if(r&&e&&t){var o='link[rel="preload"][as="'+It(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+It(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+It(n.imageSizes)+'"]')):o+='[href="'+It(e)+'"]';var i=o;switch(t){case"style":i=Hp(e);break;case"script":i=Gp(e)}if(!(Ip.has(i)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Ip.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Yp(i))||"script"===t&&r.querySelector(Kp(i))))){var a=r.createElement("link");Rf(a,"link",e),"style"===t&&(a[pt]=!0,a.onload=a.onerror=function(){xt(a)}),bt(a),r.head.appendChild(a)}}},m:function(e,t){Vp.m(e,t);var n=$p;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+It(r)+'"][href="'+It(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Gp(e)}if(!Ip.has(i)&&(e=T({rel:"modulepreload",href:e},t),Ip.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Kp(i)))return}Rf(r=n.createElement("link"),"link",e),bt(r),n.head.appendChild(r)}}},X:function(e,t){Vp.X(e,t);var n=$p;if(n&&e){var r=vt(n).hoistableScripts,o=Gp(e),i=r.get(o);i||((i=n.querySelector(Kp(o)))||(e=T({src:e,async:!0},t),(t=Ip.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Rf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:function(e,t,n){Vp.S(e,t,n);var r=$p;if(r&&e){var o=vt(r).hoistableStyles,i=Hp(e);t=t||"default";var a=o.get(i);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Yp(i)))s.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ip.get(i))&&Zp(e,n);var l=a=r.createElement("link");bt(l),Rf(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Qp(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},o.set(i,a)}}},M:function(e,t){Vp.M(e,t);var n=$p;if(n&&e){var r=vt(n).hoistableScripts,o=Gp(e),i=r.get(o);i||((i=n.querySelector(Kp(o)))||(e=T({src:e,async:!0,type:"module"},t),(t=Ip.get(o))&&Jp(e,t),bt(i=n.createElement("script")),Rf(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var $p="undefined"==typeof document?null:document;function Wp(e,t,n){var r=$p;if(r&&"string"==typeof t&&t){var o=It(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Bp.has(o)||(Bp.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Rf(t=r.createElement("link"),"link",e),bt(t),r.head.appendChild(t)))}}function Up(e,t,n,r){var o=(o=ce.current)?_p(o):null;if(!o)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=Hp(n.href),(r=(t=vt(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Hp(n.href);var a=vt(o).hoistableStyles,s=a.get(e);if(s||(o=o.ownerDocument||o,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=o.querySelector(Yp(e)))?a._p||(s.instance=a,s.state.loading=5):((a=Ip.get(e))||(a={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ip.set(e,a)),function(e,t,n,r){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(!0!==t[pt])return void(r.loading=1)}else(t=e.createElement("link"))[pt]=!0,t.onload=t.onerror=xt.bind(null,t),Rf(t,"link",n),bt(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}(o,e,a,s.state))),t&&null===r)throw Error(i(528,""));return s}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=Gp(n),(r=(t=vt(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Hp(e){return'href="'+It(e)+'"'}function Yp(e){return'link[rel="stylesheet"]['+e+"]"}function qp(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function Gp(e){return'[src="'+It(e)+'"]'}function Kp(e){return"script[async]"+e}function Xp(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+It(n.href)+'"]');if(r)return t.instance=r,bt(r),r;var o=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return bt(r=(e.ownerDocument||e).createElement("style")),Rf(r,"style",o),Qp(r,n.precedence,e),t.instance=r;case"stylesheet":o=Hp(n.href);var a=e.querySelector(Yp(o));if(a)return t.state.loading|=4,t.instance=a,bt(a),a;r=qp(n),(o=Ip.get(o))&&Zp(r,o),bt(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Rf(a,"link",r),t.state.loading|=4,Qp(a,n.precedence,e),t.instance=a;case"script":return a=Gp(n.src),(o=e.querySelector(Kp(a)))?(t.instance=o,bt(o),o):(r=n,(o=Ip.get(a))&&Jp(r=T({},n),o),bt(o=(e=e.ownerDocument||e).createElement("script")),Rf(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Qp(r,n.precedence,e));return t.instance}function Qp(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)i=s;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Zp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Jp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var eh=null;function th(e,t,n){if(null===eh){var r=new Map,o=eh=new Map;o.set(n,r)}else(r=(o=eh).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[ft]||i[it]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var a=i.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(i):r.set(a,[i])}}return r}function nh(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function rh(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function oh(e){return!!("stylesheet"!==e.type||3&e.state.loading)}function ih(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function ah(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=ih(t),e.suspenseyImages.push(t)),e=uh.bind(e),t.decode().then(e,e))}var sh=0;function lh(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages))if(e.stylesheets)fh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}function ch(){this.count--,lh(this)}function uh(){this.imgCount--,lh(this)}var dh=null;function fh(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dh=new Map,t.forEach(ph,e),dh=null,ch.call(e))}function ph(e,t){if(!(4&t.state.loading)){var n=dh.get(e);if(n)var r=n.get(null);else{n=new Map,dh.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(null,o),n.set(a,o),this.count++,r=ch.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var hh={$$typeof:L,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function mh(e,t,n,r,o,i,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ke(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ke(0),this.hiddenUpdates=Ke(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function gh(e,t,n,r,o,i,a,s,l,c,u,d){return e=new mh(e,t,n,a,l,c,u,d,s),t=1,!0===i&&(t|=24),i=fo(3,null,null,t),e.current=i,i.stateNode=e,(t=pi()).refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},Yi(i),e}function yh(e){return e?e=co:co}function vh(e,t,n,r,o,i){o=yh(o),null===r.context?r.context=o:r.pendingContext=o,(r=Gi(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=Ki(e,r,t))&&(pd(n,0,t),Xi(n,e,t))}function bh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function xh(e,t){bh(e,t),(e=e.alternate)&&bh(e,t)}function wh(e){if(13===e.tag||31===e.tag){var t=ao(e,67108864);null!==t&&pd(t,0,67108864),xh(e,67108864)}}function Sh(e){if(13===e.tag||31===e.tag){var t=ud(),n=ao(e,t=et(t));null!==n&&pd(n,0,t),xh(e,t)}}var kh=!0;function Ch(e,t,n,r){var o=Q.T;Q.T=null;var i=Z.p;try{Z.p=2,Ph(e,t,n,r)}finally{Z.p=i,Q.T=o}}function Eh(e,t,n,r){var o=Q.T;Q.T=null;var i=Z.p;try{Z.p=8,Ph(e,t,n,r)}finally{Z.p=i,Q.T=o}}function Ph(e,t,n,r){if(kh){var o=Th(r);if(null===o)Sf(e,t,r,jh,n),Bh(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Oh=_h(Oh,e,t,n,r,o),!0;case"dragenter":return Rh=_h(Rh,e,t,n,r,o),!0;case"mouseover":return Nh=_h(Nh,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Lh.set(i,_h(Lh.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Dh.set(i,_h(Dh.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Bh(e,r),4&t&&-1<Ih.indexOf(e)){for(;null!==o;){var i=gt(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=We(i.pendingLanes);if(0!==a){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-ze(a);s.entanglements[1]|=l,a&=~l}nf(i),!(6&ju)&&(Ku=Ee()+500,rf(0,!1))}}break;case 31:case 13:null!==(s=ao(i,2))&&pd(s,0,2),vd(),xh(i,2)}if(null===(i=Th(r))&&Sf(e,t,r,jh,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Sf(e,t,r,null,n)}}function Th(e){return Ah(e=tn(e))}var jh=null;function Ah(e){if(jh=null,null!==(e=mt(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=d(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return jh=e,null}function Fh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pe()){case Te:return 2;case je:return 8;case Ae:case Fe:return 32;case Me:return 268435456;default:return 32}default:return 32}}var Mh=!1,Oh=null,Rh=null,Nh=null,Lh=new Map,Dh=new Map,zh=[],Ih="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Bh(e,t){switch(e){case"focusin":case"focusout":Oh=null;break;case"dragenter":case"dragleave":Rh=null;break;case"mouseover":case"mouseout":Nh=null;break;case"pointerover":case"pointerout":Lh.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dh.delete(t.pointerId)}}function _h(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=gt(t))&&wh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Vh(e){var t=mt(e.target);if(null!==t){var n=s(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=c(n)))return e.blockedOn=t,void rt(e.priority,function(){Sh(n)})}else if(31===t){if(null!==(t=d(n)))return e.blockedOn=t,void rt(e.priority,function(){Sh(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function $h(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Th(e.nativeEvent);if(null!==n)return null!==(t=gt(n))&&wh(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);en=r,n.target.dispatchEvent(r),en=null,t.shift()}return!0}function Wh(e,t,n){$h(e)&&n.delete(t)}function Uh(){Mh=!1,null!==Oh&&$h(Oh)&&(Oh=null),null!==Rh&&$h(Rh)&&(Rh=null),null!==Nh&&$h(Nh)&&(Nh=null),Lh.forEach(Wh),Dh.forEach(Wh)}function Hh(e,t){e.blockedOn===t&&(e.blockedOn=null,Mh||(Mh=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Uh)))}var Yh=null;function qh(e){Yh!==e&&(Yh=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Yh===e&&(Yh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Ah(r||n))continue;break}var i=gt(n);null!==i&&(e.splice(t,3),t-=3,Os(i,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Gh(e){function t(t){return Hh(t,e)}null!==Oh&&Hh(Oh,e),null!==Rh&&Hh(Rh,e),null!==Nh&&Hh(Nh,e),Lh.forEach(t),Dh.forEach(t);for(var n=0;n<zh.length;n++){var r=zh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<zh.length&&null===(n=zh[0]).blockedOn;)Vh(n),null===n.blockedOn&&zh.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[at]||null;if("function"==typeof i)a||qh(n);else if(a){var s=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[at]||null)s=a.formAction;else if(null!==Ah(o))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),qh(n)}}}function Kh(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function Xh(e){this._internalRoot=e}function Qh(e){this._internalRoot=e}Qh.prototype.render=Xh.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));vh(t.current,ud(),e,t,null,null)},Qh.prototype.unmount=Xh.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;vh(e.current,2,null,e,null,null),vd(),t[st]=null}},Qh.prototype.unstable_scheduleHydration=function(e){if(e){var t=nt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zh.length&&0!==t&&t<zh[n].priority;n++);zh.splice(n,0,e),0===n&&Vh(e)}};var Zh=r.version;if("19.3.1"!==Zh)throw Error(i(527,Zh,"19.3.1"));Z.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return p(o),e;if(a===r)return p(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,c=o.child;c;){if(c===n){l=!0,n=o,r=a;break}if(c===r){l=!0,r=o,n=a;break}c=c.sibling}if(!l){for(c=a.child;c;){if(c===n){l=!0,n=a,r=o;break}if(c===r){l=!0,r=a,n=o;break}c=c.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?h(e):null)?null:e.stateNode};var Jh={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.3.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var em=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!em.isDisabled&&em.supportsFiber)try{Ne=em.inject(Jh),Le=em}catch(e){}}t.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r="",o=tl,s=nl,l=rl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=gh(e,1,!1,null,0,n,r,null,o,s,l,Kh),e[st]=t.current,xf(e),new Xh(t)}}),a=n.cw((e,t)=>{var n=u();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},a=Symbol.for("react.portal"),s=Symbol.for("react.recoverable"),l=Symbol.for("react.optimistic_key");var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.browser=function(e){return{$$typeof:s,_reason:e}},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(r(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==r?null:r===l?l:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=c.T,n=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=d(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=d(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=d(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=d(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},t.useFormStatus=function(){return c.H.useHostTransitionStatus()},t.version="19.3.1"}),s=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=i()}),l=n.cw(e=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=a()}),c=n.cw((e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case u:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case f:case s:return e;default:return t}}case r:return t}}}t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===u||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)}}),u=()=>n(540),d=n.cw((e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function S(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,C||(C=!0,k());else{var t=r(u);null!==t&&O(S,t.startTime-e)}}var k,C=!1,E=-1,P=5,T=-1;function j(){return!!y||!(t.unstable_now()-T<P)}function A(){if(y=!1,C){var e=t.unstable_now();T=e;var n=!0;try{e:{m=!1,g&&(g=!1,b(E),E=-1),h=!0;var i=p;try{t:{for(w(e),f=r(c);null!==f&&!(f.expirationTime>e&&j());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){f.callback=s,w(e),n=!0;break t}f===r(c)&&o(c),w(e)}else o(c);f=r(c)}if(null!==f)n=!0;else{var l=r(u);null!==l&&O(S,l.startTime-e),n=!1}}break e}finally{f=null,p=i,h=!1}n=void 0}}finally{n?k():C=!1}}}if("function"==typeof x)k=function(){x(A)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,M=F.port2;F.port1.onmessage=A,k=function(){M.postMessage(null)}}else k=function(){v(A,0)};function O(e,n){E=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(b(E),E=-1):g=!0,O(S,i-a))):(e.sortIndex=s,n(c,e),m||h||(m=!0,C||(C=!0,k()))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}),f=n.cw(e=>{e.exports=d()}),p=n(848);function h(){return h.c||(h.c=n.t(u(),2))}function m(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=m(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}u(),l(),s();const g=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=m(e))&&(r&&(r+=" "),r+=t);return r};function y(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}function v(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function b(e){if("string"!=typeof e)throw new Error(v(7));return e.charAt(0).toUpperCase()+e.slice(1)}const x=b;function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(null,arguments)}var S=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),k=Math.abs,C=String.fromCharCode,E=Object.assign;function P(e){return e.trim()}function T(e,t,n){return e.replace(t,n)}function j(e,t){return e.indexOf(t)}function A(e,t){return 0|e.charCodeAt(t)}function F(e,t,n){return e.slice(t,n)}function M(e){return e.length}function O(e){return e.length}function R(e,t){return t.push(e),e}var N=1,L=1,D=0,z=0,I=0,B="";function _(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:N,column:L,length:a,return:""}}function V(e,t){return E(_("",null,null,"",null,null,0),e,{length:-e.length},t)}function $(){return I=z>0?A(B,--z):0,L--,10===I&&(L=1,N--),I}function W(){return I=z<D?A(B,z++):0,L++,10===I&&(L=1,N++),I}function U(){return A(B,z)}function H(){return z}function Y(e,t){return F(B,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(e){return N=L=1,D=M(B=e),z=0,[]}function K(e){return B="",e}function X(e){return P(Y(z-1,J(91===e?e+2:40===e?e+1:e)))}function Q(e){for(;(I=U())&&I<33;)W();return q(e)>2||q(I)>3?"":" "}function Z(e,t){for(;--t&&W()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return Y(e,H()+(t<6&&32==U()&&32==W()))}function J(e){for(;W();)switch(I){case e:return z;case 34:case 39:34!==e&&39!==e&&J(I);break;case 40:41===e&&J(e);break;case 92:W()}return z}function ee(e,t){for(;W()&&e+I!==57&&(e+I!==84||47!==U()););return"/*"+Y(t,z-1)+"*"+C(47===e?e:W())}function te(e){for(;!q(U());)W();return Y(e,z)}var ne="-ms-",re="-moz-",oe="-webkit-",ie="comm",ae="rule",se="decl",le="@keyframes";function ce(e,t){for(var n="",r=O(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ue(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case se:return e.return=e.return||e.value;case ie:return"";case le:return e.return=e.value+"{"+ce(e.children,r)+"}";case ae:e.value=e.props.join(",")}return M(n=ce(e.children,r))?e.return=e.value+"{"+n+"}":""}function de(e){return K(fe("",null,null,null,[""],e=G(e),0,[0],e))}function fe(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,m=1,g=1,y=1,v=0,b="",x=o,w=i,S=r,k=b;g;)switch(h=v,v=W()){case 40:if(108!=h&&58==A(k,d-1)){-1!=j(k+=T(X(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=X(v);break;case 9:case 10:case 13:case 32:k+=Q(h);break;case 92:k+=Z(H()-1,7);continue;case 47:switch(U()){case 42:case 47:R(he(ee(W(),H()),t,n),l);break;default:k+="/"}break;case 123*m:s[c++]=M(k)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(k=T(k,/\f/g,"")),p>0&&M(k)-d&&R(p>32?me(k+";",r,n,d-1):me(T(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if(R(S=pe(k,t,n,c,u,o,s,b,x=[],w=[],d),i),123===v)if(0===u)fe(k,t,S,S,x,i,d,s,w);else switch(99===f&&110===A(k,3)?100:f){case 100:case 108:case 109:case 115:fe(e,S,S,r&&R(pe(e,S,S,0,0,o,s,b,o,x=[],d),w),o,w,d,s,r?x:w);break;default:fe(k,S,S,S,[""],w,0,s,w)}}c=u=p=0,m=y=1,b=k="",d=a;break;case 58:d=1+M(k),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==$())continue;switch(k+=C(v),v*m){case 38:y=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(M(k)-1)*y,y=1;break;case 64:45===U()&&(k+=X(W())),f=U(),u=d=M(b=k+=te(H())),v++;break;case 45:45===h&&2==M(k)&&(m=0)}}return i}function pe(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=O(f),h=0,m=0,g=0;h<r;++h)for(var y=0,v=F(e,d+1,d=k(m=a[h])),b=e;y<p;++y)(b=P(m>0?f[y]+" "+v:T(v,/&\f/g,f[y])))&&(l[g++]=b);return _(e,t,n,0===o?ae:s,l,c,u)}function he(e,t,n){return _(e,t,n,ie,C(I),F(e,2,-2),0)}function me(e,t,n,r){return _(e,t,n,se,F(e,0,r),F(e,r+1,-1),r)}var ge=function(e,t,n){for(var r=0,o=0;r=o,o=U(),38===r&&12===o&&(t[n]=1),!q(o);)W();return Y(e,z)},ye=function(e,t){return K(function(e,t){var n=-1,r=44;do{switch(q(r)){case 0:38===r&&12===U()&&(t[n]=1),e[n]+=ge(z-1,t,n);break;case 2:e[n]+=X(r);break;case 4:if(44===r){e[++n]=58===U()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=C(r)}}while(r=W());return e}(G(e),t))},ve=new WeakMap,be=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ve.get(n))&&!r){ve.set(e,!0);for(var o=[],i=ye(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},xe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function we(e,t){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+re+e+ne+e+e;case 6828:case 4268:return oe+e+ne+e+e;case 6165:return oe+e+ne+"flex-"+e+e;case 5187:return oe+e+T(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+ne+"flex-$1$2")+e;case 5443:return oe+e+ne+"flex-item-"+T(e,/flex-|-self/,"")+e;case 4675:return oe+e+ne+"flex-line-pack"+T(e,/align-content|flex-|-self/,"")+e;case 5548:return oe+e+ne+T(e,"shrink","negative")+e;case 5292:return oe+e+ne+T(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+T(e,"-grow","")+oe+e+ne+T(e,"grow","positive")+e;case 4554:return oe+T(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(M(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+re+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?we(T(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==A(e,t+1))break;case 6444:switch(A(e,M(e)-3-(~j(e,"!important")&&10))){case 107:return T(e,":",":"+oe)+e;case 101:return T(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+oe+(45===A(e,14)?"inline-":"")+"box$3$1"+oe+"$2$3$1"+ne+"$2box$3")+e}break;case 5936:switch(A(e,t+11)){case 114:return oe+e+ne+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+ne+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+ne+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return oe+e+ne+e+e}return e}var Se=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case se:e.return=we(e.value,e.length);break;case le:return ce([V(e,{value:T(e.value,"@","@"+oe)})],r);case ae:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ce([V(e,{props:[T(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ce([V(e,{props:[T(t,/:(plac\w+)/,":"+oe+"input-$1")]}),V(e,{props:[T(t,/:(plac\w+)/,":-moz-$1")]}),V(e,{props:[T(t,/:(plac\w+)/,ne+"input-$1")]})],r)}return""})}}],ke=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Se,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l,c,u,d,f=[ue,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(c=[be,xe].concat(i,f),u=O(c),function(e,t,n,r){for(var o="",i=0;i<u;i++)o+=c[i](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,ce(de(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new S({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h};function Ce(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Ee=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Pe=function(e,t,n){Ee(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var Te={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function je(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ae=/[A-Z]|^ms/g,Fe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Me=function(e){return 45===e.charCodeAt(1)},Oe=function(e){return null!=e&&"boolean"!=typeof e},Re=je(function(e){return Me(e)?e:e.replace(Ae,"-$&").toLowerCase()}),Ne=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Fe,function(e,t,n){return De={name:t,styles:n,next:De},t})}return 1===Te[e]||Me(e)||"number"!=typeof t||0===t?t:t+"px"};function Le(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return De={name:o.name,styles:o.styles,next:De},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)De={name:a.name,styles:a.styles,next:De},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Le(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":Oe(s)&&(r+=Re(i)+":"+Ne(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Le(e,t,a);switch(i){case"animation":case"animationName":r+=Re(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Oe(a[c])&&(r+=Re(i)+":"+Ne(i,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=De,l=n(e);return De=s,Le(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var De,ze=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ie(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";De=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Le(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Le(n,t,e[a]),r)o+=i[a]}ze.lastIndex=0;for(var s,l="";null!==(s=ze.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:De}}var Be=!!h().useInsertionEffect&&h().useInsertionEffect,_e=Be||function(e){return e()},Ve=Be||u().useLayoutEffect,$e=u().createContext("undefined"!=typeof HTMLElement?ke({key:"css"}):null),We=($e.Provider,function(e){return(0,u().forwardRef)(function(t,n){var r=(0,u().useContext)($e);return e(t,r,n)})}),Ue=u().createContext({});var He={}.hasOwnProperty,Ye="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",qe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ee(t,n,r),_e(function(){return Pe(t,n,r)}),null},Ge=We(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Ye],i=[r],a="";"string"==typeof e.className?a=Ce(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Ie(i,void 0,u().useContext(Ue));a+=t.key+"-"+s.name;var l={};for(var c in e)He.call(e,c)&&"css"!==c&&c!==Ye&&(l[c]=e[c]);return l.className=a,n&&(l.ref=n),u().createElement(u().Fragment,null,u().createElement(qe,{cache:t,serialized:s,isStringTag:"string"==typeof o}),u().createElement(o,l))}),Ke=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Xe=je(function(e){return Ke.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),Qe=function(e){return"theme"!==e},Ze=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Xe:Qe},Je=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},et=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ee(t,n,r),_e(function(){return Pe(t,n,r)}),null},tt=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=Je(t,n,i),l=s||Ze(a),c=!l("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var h=d.length,m=1;m<h;m++)f.push(d[m],p[m])}var g=We(function(e,t,n){var r=c&&e.as||a,i="",d=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=u().useContext(Ue)}"string"==typeof e.className?i=Ce(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var m=Ie(f.concat(d),t.registered,p);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var g=c&&void 0===s?Ze(r):l,y={};for(var v in e)c&&"as"===v||g(v)&&(y[v]=e[v]);return y.className=i,n&&(y.ref=n),u().createElement(u().Fragment,null,u().createElement(et,{cache:t,serialized:m,isStringTag:"string"==typeof r}),u().createElement(r,y))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,w({},n,r,{shouldForwardProp:Je(g,r,!0)})).apply(void 0,f)},g}}.bind(null);function nt(e,t){return tt(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){tt[e]=tt(e)});const rt=[];function ot(e){return rt[0]=e,Ie(rt)}function it(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function at(e){if(u().isValidElement(e)||(0,c().Hy)(e)||!it(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=at(e[n])}),t}function st(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return it(e)&&it(t)&&Object.keys(t).forEach(o=>{u().isValidElement(t[o])||(0,c().Hy)(t[o])?r[o]=t[o]:it(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&it(e[o])?r[o]=st(e[o],t[o],n):n.clone?r[o]=it(t[o])?at(t[o]):t[o]:r[o]=t[o]}),r}function lt(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}function ct(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const ut={borderRadius:4};const dt={xs:0,sm:600,md:900,lg:1200,xl:1536},ft={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${dt[e]}px)`},pt={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:dt[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function ht(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||ft;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||ft;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:pt,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||dt).includes(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o},{})}return n(t)}function mt(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function gt(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function yt({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{null!=e[t]&&(n[t]=!0)}),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t),{})}function vt(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function bt(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:vt(e,n)||r,t&&(o=t(o,r,e)),o}const xt=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=vt(e.theme,r)||{};return ht(e,i,e=>{let r=bt(a,o,e);return e===r&&"string"==typeof e&&(r=bt(a,o,`${t}${"default"===e?"":b(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i};const wt=function(e,t){return t?st(e,t,{clone:!1}):e};const St={m:"margin",p:"padding"},kt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ct={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Et=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Ct[e])return[e];e=Ct[e]}const[t,n]=e.split(""),r=St[t],o=kt[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),Pt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Tt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],jt=[...Pt,...Tt];function At(e,t,n,r){const o=vt(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function Ft(e){return At(e,"spacing",8)}function Mt(e,t){return"string"==typeof t||null==t?t:e(t)}function Ot(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Mt(t,n),e),{})}(Et(n),r);return ht(e,e[n],o)}function Rt(e,t){const n=Ft(e.theme);return Object.keys(e).map(r=>Ot(e,t,r,n)).reduce(wt,{})}function Nt(e){return Rt(e,Pt)}function Lt(e){return Rt(e,Tt)}function Dt(e){return Rt(e,jt)}Nt.propTypes={},Nt.filterProps=Pt,Lt.propTypes={},Lt.filterProps=Tt,Dt.propTypes={},Dt.filterProps=jt;function zt(e=8,t=Ft({spacing:e})){if(e.mui)return e;const n=(...e)=>{return(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}const It=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?wt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function Bt(e){return"number"!=typeof e?e:`${e}px solid`}function _t(e,t){return xt({prop:e,themeKey:"borders",transform:t})}const Vt=_t("border",Bt),$t=_t("borderTop",Bt),Wt=_t("borderRight",Bt),Ut=_t("borderBottom",Bt),Ht=_t("borderLeft",Bt),Yt=_t("borderColor"),qt=_t("borderTopColor"),Gt=_t("borderRightColor"),Kt=_t("borderBottomColor"),Xt=_t("borderLeftColor"),Qt=_t("outline",Bt),Zt=_t("outlineColor"),Jt=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=At(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Mt(t,e)});return ht(e,e.borderRadius,n)}return null};Jt.propTypes={},Jt.filterProps=["borderRadius"];It(Vt,$t,Wt,Ut,Ht,Yt,qt,Gt,Kt,Xt,Jt,Qt,Zt);const en=e=>{if(void 0!==e.gap&&null!==e.gap){const t=At(e.theme,"spacing",8),n=e=>({gap:Mt(t,e)});return ht(e,e.gap,n)}return null};en.propTypes={},en.filterProps=["gap"];const tn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=At(e.theme,"spacing",8),n=e=>({columnGap:Mt(t,e)});return ht(e,e.columnGap,n)}return null};tn.propTypes={},tn.filterProps=["columnGap"];const nn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=At(e.theme,"spacing",8),n=e=>({rowGap:Mt(t,e)});return ht(e,e.rowGap,n)}return null};nn.propTypes={},nn.filterProps=["rowGap"];It(en,tn,nn,xt({prop:"gridColumn"}),xt({prop:"gridRow"}),xt({prop:"gridAutoFlow"}),xt({prop:"gridAutoColumns"}),xt({prop:"gridAutoRows"}),xt({prop:"gridTemplateColumns"}),xt({prop:"gridTemplateRows"}),xt({prop:"gridTemplateAreas"}),xt({prop:"gridArea"}));function rn(e,t){return"grey"===t?t:e}It(xt({prop:"color",themeKey:"palette",transform:rn}),xt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:rn}),xt({prop:"backgroundColor",themeKey:"palette",transform:rn}));function on(e){return e<=1&&0!==e?100*e+"%":e}const an=xt({prop:"width",transform:on}),sn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||dt[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:on(t)}};return ht(e,e.maxWidth,t)}return null};sn.filterProps=["maxWidth"];const ln=xt({prop:"minWidth",transform:on}),cn=xt({prop:"height",transform:on}),un=xt({prop:"maxHeight",transform:on}),dn=xt({prop:"minHeight",transform:on}),fn=(xt({prop:"size",cssProperty:"width",transform:on}),xt({prop:"size",cssProperty:"height",transform:on}),It(an,sn,ln,cn,un,dn,xt({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Bt},borderTop:{themeKey:"borders",transform:Bt},borderRight:{themeKey:"borders",transform:Bt},borderBottom:{themeKey:"borders",transform:Bt},borderLeft:{themeKey:"borders",transform:Bt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Bt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Jt},color:{themeKey:"palette",transform:rn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:rn},backgroundColor:{themeKey:"palette",transform:rn},p:{style:Lt},pt:{style:Lt},pr:{style:Lt},pb:{style:Lt},pl:{style:Lt},px:{style:Lt},py:{style:Lt},padding:{style:Lt},paddingTop:{style:Lt},paddingRight:{style:Lt},paddingBottom:{style:Lt},paddingLeft:{style:Lt},paddingX:{style:Lt},paddingY:{style:Lt},paddingInline:{style:Lt},paddingInlineStart:{style:Lt},paddingInlineEnd:{style:Lt},paddingBlock:{style:Lt},paddingBlockStart:{style:Lt},paddingBlockEnd:{style:Lt},m:{style:Nt},mt:{style:Nt},mr:{style:Nt},mb:{style:Nt},ml:{style:Nt},mx:{style:Nt},my:{style:Nt},margin:{style:Nt},marginTop:{style:Nt},marginRight:{style:Nt},marginBottom:{style:Nt},marginLeft:{style:Nt},marginX:{style:Nt},marginY:{style:Nt},marginInline:{style:Nt},marginInlineStart:{style:Nt},marginInlineEnd:{style:Nt},marginBlock:{style:Nt},marginBlockStart:{style:Nt},marginBlockEnd:{style:Nt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:en},rowGap:{style:nn},columnGap:{style:tn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:on},maxWidth:{style:sn},minWidth:{transform:on},height:{transform:on},maxHeight:{transform:on},minHeight:{transform:on},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const pn=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=vt(n,s)||{};if(c)return c(o);return ht(o,t,t=>{let n=bt(u,l,t);return t===n&&"string"==typeof t&&(n=bt(u,l,`${e}${"default"===t?"":b(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){const{sx:r,theme:o={},nested:i}=n||{};if(!r)return null;const a=o.unstable_sxConfig??fn;function s(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const s=mt(o.breakpoints),l=Object.keys(s);let c=s;return Object.keys(r).forEach(n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=i)if("object"==typeof i)if(a[n])c=wt(c,e(n,i,o,a));else{const e=ht({theme:o},i,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,i)?c=wt(c,e):c[n]=t({sx:i,theme:o,nested:!0})}else c=wt(c,e(n,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":ct(o,gt(l,c))}:ct(o,gt(l,c))}return Array.isArray(r)?r.map(s):s(r)}}();pn.filterProps=["sx"];const hn=pn;function mn(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const gn=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let s=st({breakpoints:lt(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:zt(o),shape:{...ut,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=mn,s=t.reduce((e,t)=>st(e,t),s),s.unstable_sxConfig={...fn,...a?.unstable_sxConfig},s.unstable_sx=function(e){return hn({sx:e,theme:this})},s};function yn(e){const{variants:t,...n}=e,r={variants:t,style:ot(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=ot(e.style))}),r}const vn=gn();function bn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function xn(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function wn(e){return e?(t,n)=>n[e]:null}function Sn(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Sn(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?xn(r.style,n):r.style;else{const{variants:e,...o}=r;t=n?xn(ot(o),n):o}return kn(e,r.variants,[t],n)}return r?.isProcessed?n?xn(ot(r.style),n):r.style:n?xn(ot(r),n):r}function kn(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?xn(ot(a.style(o)),r):a.style(o))):n.push(r?xn(ot(a.style),r):a.style)}return n}function Cn(e={}){const{themeId:t,defaultTheme:n=vn,rootShouldForwardProp:r=bn,slotShouldForwardProp:o=bn}=e;function i(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,e=>e.filter(e=>e!==hn));const{name:n,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=wn(Pn(a)),...u}=t,d=n&&n.startsWith("Mui")||a?"components":"custom",f=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,p=l||!1;let h=bn;"Root"===a||"root"===a?h=r:a?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=nt(e,{shouldForwardProp:h,label:En(n,a),...u}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return Sn(t,e,t.theme.modularCssLayers?d:void 0)};if(it(e)){const t=yn(e);return function(e){return t.variants?Sn(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?xn(t.style,d):t.style}}return e},y=(...t)=>{const r=[],o=t.map(g),a=[];if(r.push(i),n&&c&&a.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=Sn(e,r[t],e.theme.modularCssLayers?"theme":void 0);return c(e,o)}),n&&!f&&a.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?kn(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(hn),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(a.length).fill("");let i;i=[...t,...e,...n],i.raw=[...t,...e.raw,...n],r.unshift(i)}const s=[...r,...o,...a],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(y.withConfig=m.withConfig),y}}function En(e,t){}function Pn(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const Tn=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function jn(e,t=0,n=1){return Tn(e,t,n)}function An(e){if(e.type)return e;if("#"===e.charAt(0))return An(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(v(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(v(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}const Fn=(e,t)=>{try{return(e=>{const t=An(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function Mn(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function On(e){e=An(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Mn({type:s,values:l})}function Rn(e){let t="hsl"===(e=An(e)).type||"hsla"===e.type?An(On(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Nn(e,t){return e=An(e),t=jn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Mn(e)}function Ln(e,t,n){try{return Nn(e,t)}catch(t){return e}}function Dn(e,t){if(e=An(e),t=jn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Mn(e)}function zn(e,t,n){try{return Dn(e,t)}catch(t){return e}}function In(e,t){if(e=An(e),t=jn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Mn(e)}function Bn(e,t,n){try{return In(e,t)}catch(t){return e}}function _n(e,t,n){try{return function(e,t=.15){return Rn(e)>.5?Dn(e,t):In(e,t)}(e,t)}catch(t){return e}}const Vn={black:"#000",white:"#fff"},$n={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Wn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Un={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Hn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Yn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},qn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Gn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Kn(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Vn.white,default:Vn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Xn=Kn();function Qn(){return{text:{primary:Vn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Vn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Zn=Qn();function Jn(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=In(e.main,o):"dark"===t&&(e.dark=Dn(e.main,i)))}function er(e,t,n,r,o){const i=o.light||o,a=o.dark||1.5*o;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function tr(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:Yn[200],light:Yn[50],dark:Yn[400]}:{main:Yn[700],light:Yn[400],dark:Yn[800]}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:Wn[200],light:Wn[50],dark:Wn[400]}:{main:Wn[500],light:Wn[300],dark:Wn[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Un[500],light:Un[300],dark:Un[700]}:{main:Un[700],light:Un[400],dark:Un[800]}}(t),c=e.info||function(e="light"){return"dark"===e?{main:qn[400],light:qn[300],dark:qn[700]}:{main:qn[700],light:qn[500],dark:qn[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Gn[400],light:Gn[300],dark:Gn[700]}:{main:Gn[800],light:Gn[500],dark:Gn[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Hn[400],light:Hn[300],dark:Hn[700]}:{main:"#ed6c02",light:Hn[500],dark:Hn[900]}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=Rn(e),r=Rn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Zn.text.primary)>=n?Zn.text.primary:Xn.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(v(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(v(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(er(o,e,"light",i,r),er(o,e,"dark",a,r)):(Jn(e,"light",i,r),Jn(e,"dark",a,r)),e.contrastText||(e.contrastText=f(e.main)),e};let h;"light"===t?h=Kn():"dark"===t&&(h=Qn());return st({common:{...Vn},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:u,name:"success"}),grey:$n,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...h},i)}function nr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function rr(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const or=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})};function ir(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:l}),or(i,e,`var(${r})`,s),or(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))})}(e),{css:o,vars:i,varsWithDefaults:a}}const ar=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:f}=ir(c,t);let p=f;const h={},{[l]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=ir(n,t);p=st(p,i),h[e]={css:o,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=ir(m,t);p=st(p,r),h[l]={css:e,vars:n}}function y(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(h).forEach(([,{vars:t}])=>{e=st(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function s(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);const{[o]:l,...c}=h;if(l){const{css:e}=l,t=a[o]?.palette?.mode,i=!r&&t?{colorScheme:t,...e}:{...e};s(n(o,{...i}),i)}return Object.entries(c).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!r&&o?{colorScheme:o,...t}:{...t};s(n(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}};function sr(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}const lr={textTransform:"uppercase"},cr='"Roboto", "Helvetica", "Arial", sans-serif';function ur(e,t){const{fontFamily:n=cr,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t;const f=r/14,p=u||(e=>e/l*f+"rem"),h=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===cr?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},...i,...c};var a},m={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,lr),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,lr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return st({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...m},d,{clone:!1})}function dr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const fr=["none",dr(0,2,1,-1,0,1,1,0,0,1,3,0),dr(0,3,1,-2,0,2,2,0,0,1,5,0),dr(0,3,3,-2,0,3,4,0,0,1,8,0),dr(0,2,4,-1,0,4,5,0,0,1,10,0),dr(0,3,5,-1,0,5,8,0,0,1,14,0),dr(0,3,5,-1,0,6,10,0,0,1,18,0),dr(0,4,5,-2,0,7,10,1,0,2,16,1),dr(0,5,5,-3,0,8,10,1,0,3,14,2),dr(0,5,6,-3,0,9,12,1,0,3,16,2),dr(0,6,6,-3,0,10,14,1,0,4,18,3),dr(0,6,7,-4,0,11,15,1,0,4,20,3),dr(0,7,8,-4,0,12,17,2,0,5,22,4),dr(0,7,8,-4,0,13,19,2,0,5,24,4),dr(0,7,9,-4,0,14,21,2,0,5,26,4),dr(0,8,9,-5,0,15,22,2,0,6,28,5),dr(0,8,10,-5,0,16,24,2,0,6,30,5),dr(0,8,11,-5,0,17,26,2,0,6,32,5),dr(0,9,11,-5,0,18,28,2,0,7,34,6),dr(0,9,12,-6,0,19,29,2,0,7,36,6),dr(0,10,13,-6,0,20,31,3,0,8,38,7),dr(0,10,13,-6,0,21,33,3,0,8,40,7),dr(0,10,14,-6,0,22,35,3,0,8,42,7),dr(0,11,14,-7,0,23,36,3,0,9,44,8),dr(0,11,15,-7,0,24,38,3,0,9,46,8)],pr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},hr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function mr(e){return`${Math.round(e)}ms`}function gr(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function yr(e){const t={...pr,...e.easing},n={...hr,...e.duration};return{getAutoHeightDuration:gr,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:mr(o)} ${i} ${"string"==typeof a?a:mr(a)}`).join(",")},...e,easing:t,duration:n}}const vr={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function br(e){return it(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function xr(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[o,i]=n[r];!br(i)||o.startsWith("unstable_")?delete t[o]:it(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function wr(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function Sr(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof n?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof n?`calc(${n})`:n})`:Nn(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${wr(n)})`:In(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${wr(n)})`:Dn(t,n)}})}const kr=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:c,...u}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(v(20));const d=tr({...i,colorSpace:c}),f=gn(e);let p=st(f,{mixins:sr(f.breakpoints,r),palette:d,shadows:fr.slice(),typography:ur(d,s),transitions:yr(a),zIndex:{...vr}});return p=st(p,u),p=t.reduce((e,t)=>st(e,t),p),p.unstable_sxConfig={...fn,...u?.unstable_sxConfig},p.unstable_sx=function(e){return hn({sx:e,theme:this})},p.toRuntimeSource=xr,Sr(p),p};const Cr=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Er(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Pr(e){return"dark"===e?Cr:[]}function Tr(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const jr=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ar=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return jr(e.cssVarPrefix).forEach(e=>{o[e]=n[e],delete n[e]}),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function Fr(e,t,n){!e[t]&&n&&(e[t]=n)}function Mr(e){return"string"==typeof e&&e.startsWith("hsl")?On(e):e}function Or(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Fn(Mr(e[t])))}n.dn(Ar);const Rr=e=>{try{return e()}catch(e){}};function Nr(e,t,n,r,o){if(!n)return;n=!0===n?{}:n;const i="dark"===o?"dark":"light";if(!r)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...i}=e,a=tr({...t,colorSpace:o});return{palette:a,opacity:{...Er(a.mode),...n},overlays:r||Pr(a.mode),...i}}({...n,palette:{mode:i,...n?.palette},colorSpace:e}));const{palette:a,...s}=kr({...r,palette:{mode:i,...n?.palette},colorSpace:e});return t[o]={...n,palette:a,opacity:{...Er(i),...n?.opacity},overlays:n?.overlays||Pr(i)},s}function Lr(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Tr,colorSchemeSelector:l=(n.light&&n.dark?"media":void 0),rootSelector:c=":root",...u}=e,d=Object.keys(n)[0],f=r||(n.light&&"light"!==d?"light":d),p=((e="mui")=>nr(e))(i),{[f]:h,light:m,dark:g,...y}=n,b={...y};let x,w=h;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(w=!0),!w)throw new Error(v(21,f));a&&(x="oklch");const S=Nr(x,b,w,u,f);m&&!b.light&&Nr(x,b,m,void 0,"light"),g&&!b.dark&&Nr(x,b,g,void 0,"dark");let k={defaultColorScheme:f,...S,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:p,colorSchemes:b,font:{...rr(S.typography),...S.font},spacing:(C=u.spacing,"number"==typeof C?`${C}px`:"string"==typeof C||"function"==typeof C||Array.isArray(C)?C:"8px")};var C;Object.keys(k.colorSchemes).forEach(e=>{const t=k.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};function r(e,t,n){if(x){let r;return e===Ln&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===zn&&(r=`#000 ${(100*n).toFixed(0)}%`),e===Bn&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}var o;if("light"===t.mode&&(Fr(t.common,"background","#fff"),Fr(t.common,"onBackground","#000")),"dark"===t.mode&&(Fr(t.common,"background","#000"),Fr(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){Fr(t.Alert,"errorColor",r(zn,a?p("palette-error-light"):t.error.light,.6)),Fr(t.Alert,"infoColor",r(zn,a?p("palette-info-light"):t.info.light,.6)),Fr(t.Alert,"successColor",r(zn,a?p("palette-success-light"):t.success.light,.6)),Fr(t.Alert,"warningColor",r(zn,a?p("palette-warning-light"):t.warning.light,.6)),Fr(t.Alert,"errorFilledBg",n("palette-error-main")),Fr(t.Alert,"infoFilledBg",n("palette-info-main")),Fr(t.Alert,"successFilledBg",n("palette-success-main")),Fr(t.Alert,"warningFilledBg",n("palette-warning-main")),Fr(t.Alert,"errorFilledColor",Rr(()=>t.getContrastText(t.error.main))),Fr(t.Alert,"infoFilledColor",Rr(()=>t.getContrastText(t.info.main))),Fr(t.Alert,"successFilledColor",Rr(()=>t.getContrastText(t.success.main))),Fr(t.Alert,"warningFilledColor",Rr(()=>t.getContrastText(t.warning.main))),Fr(t.Alert,"errorStandardBg",r(Bn,a?p("palette-error-light"):t.error.light,.9)),Fr(t.Alert,"infoStandardBg",r(Bn,a?p("palette-info-light"):t.info.light,.9)),Fr(t.Alert,"successStandardBg",r(Bn,a?p("palette-success-light"):t.success.light,.9)),Fr(t.Alert,"warningStandardBg",r(Bn,a?p("palette-warning-light"):t.warning.light,.9)),Fr(t.Alert,"errorIconColor",n("palette-error-main")),Fr(t.Alert,"infoIconColor",n("palette-info-main")),Fr(t.Alert,"successIconColor",n("palette-success-main")),Fr(t.Alert,"warningIconColor",n("palette-warning-main")),Fr(t.AppBar,"defaultBg",n("palette-grey-100")),Fr(t.Avatar,"defaultBg",n("palette-grey-400")),Fr(t.Button,"inheritContainedBg",n("palette-grey-300")),Fr(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Fr(t.Chip,"defaultBorder",n("palette-grey-400")),Fr(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Fr(t.Chip,"defaultIconColor",n("palette-grey-700")),Fr(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Fr(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Fr(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Fr(t.LinearProgress,"primaryBg",r(Bn,a?p("palette-primary-main"):t.primary.main,.62)),Fr(t.LinearProgress,"secondaryBg",r(Bn,a?p("palette-secondary-main"):t.secondary.main,.62)),Fr(t.LinearProgress,"errorBg",r(Bn,a?p("palette-error-main"):t.error.main,.62)),Fr(t.LinearProgress,"infoBg",r(Bn,a?p("palette-info-main"):t.info.main,.62)),Fr(t.LinearProgress,"successBg",r(Bn,a?p("palette-success-main"):t.success.main,.62)),Fr(t.LinearProgress,"warningBg",r(Bn,a?p("palette-warning-light"):t.warning.main,.62)),Fr(t.Skeleton,"bg",x?r(Ln,a?p("palette-text-primary"):t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Fr(t.Slider,"primaryTrack",r(Bn,a?p("palette-primary-main"):t.primary.main,.62)),Fr(t.Slider,"secondaryTrack",r(Bn,a?p("palette-secondary-main"):t.secondary.main,.62)),Fr(t.Slider,"errorTrack",r(Bn,a?p("palette-error-main"):t.error.main,.62)),Fr(t.Slider,"infoTrack",r(Bn,a?p("palette-info-main"):t.info.main,.62)),Fr(t.Slider,"successTrack",r(Bn,a?p("palette-success-main"):t.success.main,.62)),Fr(t.Slider,"warningTrack",r(Bn,a?p("palette-warning-main"):t.warning.main,.62));const e=x?r(zn,a?p("palette-background-default"):t.background.default,.6825):_n(t.background.default,.8);Fr(t.SnackbarContent,"bg",e),Fr(t.SnackbarContent,"color",Rr(()=>x?Zn.text.primary:t.getContrastText(e))),Fr(t.SpeedDialAction,"fabHoverBg",_n(t.background.paper,.15)),Fr(t.StepConnector,"border",n("palette-grey-400")),Fr(t.StepContent,"border",n("palette-grey-400")),Fr(t.Switch,"defaultColor",n("palette-common-white")),Fr(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Fr(t.Switch,"primaryDisabledColor",r(Bn,a?p("palette-primary-main"):t.primary.main,.62)),Fr(t.Switch,"secondaryDisabledColor",r(Bn,a?p("palette-secondary-main"):t.secondary.main,.62)),Fr(t.Switch,"errorDisabledColor",r(Bn,a?p("palette-error-main"):t.error.main,.62)),Fr(t.Switch,"infoDisabledColor",r(Bn,a?p("palette-info-main"):t.info.main,.62)),Fr(t.Switch,"successDisabledColor",r(Bn,a?p("palette-success-main"):t.success.main,.62)),Fr(t.Switch,"warningDisabledColor",r(Bn,a?p("palette-warning-main"):t.warning.main,.62)),Fr(t.TableCell,"border",r(Bn,Ln(a?p("palette-divider"):t.divider,1),.88)),Fr(t.Tooltip,"bg",r(Ln,a?p("palette-grey-700"):t.grey[700],.92))}if("dark"===t.mode){Fr(t.Alert,"errorColor",r(Bn,a?p("palette-error-light"):t.error.light,.6)),Fr(t.Alert,"infoColor",r(Bn,a?p("palette-info-light"):t.info.light,.6)),Fr(t.Alert,"successColor",r(Bn,a?p("palette-success-light"):t.success.light,.6)),Fr(t.Alert,"warningColor",r(Bn,a?p("palette-warning-light"):t.warning.light,.6)),Fr(t.Alert,"errorFilledBg",n("palette-error-dark")),Fr(t.Alert,"infoFilledBg",n("palette-info-dark")),Fr(t.Alert,"successFilledBg",n("palette-success-dark")),Fr(t.Alert,"warningFilledBg",n("palette-warning-dark")),Fr(t.Alert,"errorFilledColor",Rr(()=>t.getContrastText(t.error.dark))),Fr(t.Alert,"infoFilledColor",Rr(()=>t.getContrastText(t.info.dark))),Fr(t.Alert,"successFilledColor",Rr(()=>t.getContrastText(t.success.dark))),Fr(t.Alert,"warningFilledColor",Rr(()=>t.getContrastText(t.warning.dark))),Fr(t.Alert,"errorStandardBg",r(zn,a?p("palette-error-light"):t.error.light,.9)),Fr(t.Alert,"infoStandardBg",r(zn,a?p("palette-info-light"):t.info.light,.9)),Fr(t.Alert,"successStandardBg",r(zn,a?p("palette-success-light"):t.success.light,.9)),Fr(t.Alert,"warningStandardBg",r(zn,a?p("palette-warning-light"):t.warning.light,.9)),Fr(t.Alert,"errorIconColor",n("palette-error-main")),Fr(t.Alert,"infoIconColor",n("palette-info-main")),Fr(t.Alert,"successIconColor",n("palette-success-main")),Fr(t.Alert,"warningIconColor",n("palette-warning-main")),Fr(t.AppBar,"defaultBg",n("palette-grey-900")),Fr(t.AppBar,"darkBg",n("palette-background-paper")),Fr(t.AppBar,"darkColor",n("palette-text-primary")),Fr(t.Avatar,"defaultBg",n("palette-grey-600")),Fr(t.Button,"inheritContainedBg",n("palette-grey-800")),Fr(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Fr(t.Chip,"defaultBorder",n("palette-grey-700")),Fr(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Fr(t.Chip,"defaultIconColor",n("palette-grey-300")),Fr(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Fr(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Fr(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Fr(t.LinearProgress,"primaryBg",r(zn,a?p("palette-primary-main"):t.primary.main,.5)),Fr(t.LinearProgress,"secondaryBg",r(zn,a?p("palette-secondary-main"):t.secondary.main,.5)),Fr(t.LinearProgress,"errorBg",r(zn,a?p("palette-error-main"):t.error.main,.5)),Fr(t.LinearProgress,"infoBg",r(zn,a?p("palette-info-main"):t.info.main,.5)),Fr(t.LinearProgress,"successBg",r(zn,a?p("palette-success-main"):t.success.main,.5)),Fr(t.LinearProgress,"warningBg",r(zn,a?p("palette-warning-main"):t.warning.main,.5)),Fr(t.Skeleton,"bg",x?r(Ln,a?p("palette-text-primary"):t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Fr(t.Slider,"primaryTrack",r(zn,a?p("palette-primary-main"):t.primary.main,.5)),Fr(t.Slider,"secondaryTrack",r(zn,a?p("palette-secondary-main"):t.secondary.main,.5)),Fr(t.Slider,"errorTrack",r(zn,a?p("palette-error-main"):t.error.main,.5)),Fr(t.Slider,"infoTrack",r(zn,a?p("palette-info-main"):t.info.main,.5)),Fr(t.Slider,"successTrack",r(zn,a?p("palette-success-main"):t.success.main,.5)),Fr(t.Slider,"warningTrack",r(zn,a?p("palette-warning-light"):t.warning.main,.5));const e=x?r(Bn,a?p("palette-background-default"):t.background.default,.985):_n(t.background.default,.98);Fr(t.SnackbarContent,"bg",e),Fr(t.SnackbarContent,"color",Rr(()=>x?Xn.text.primary:t.getContrastText(e))),Fr(t.SpeedDialAction,"fabHoverBg",_n(t.background.paper,.15)),Fr(t.StepConnector,"border",n("palette-grey-600")),Fr(t.StepContent,"border",n("palette-grey-600")),Fr(t.Switch,"defaultColor",n("palette-grey-300")),Fr(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Fr(t.Switch,"primaryDisabledColor",r(zn,a?p("palette-primary-main"):t.primary.main,.55)),Fr(t.Switch,"secondaryDisabledColor",r(zn,a?p("palette-secondary-main"):t.secondary.main,.55)),Fr(t.Switch,"errorDisabledColor",r(zn,a?p("palette-error-main"):t.error.main,.55)),Fr(t.Switch,"infoDisabledColor",r(zn,a?p("palette-info-main"):t.info.main,.55)),Fr(t.Switch,"successDisabledColor",r(zn,a?p("palette-success-main"):t.success.main,.55)),Fr(t.Switch,"warningDisabledColor",r(zn,a?p("palette-warning-light"):t.warning.main,.55)),Fr(t.TableCell,"border",r(zn,Ln(a?p("palette-divider"):t.divider,1),.68)),Fr(t.Tooltip,"bg",r(Ln,a?p("palette-grey-700"):t.grey[700],.92))}a||(Or(t.background,"default"),Or(t.background,"paper"),Or(t.common,"background"),Or(t.common,"onBackground"),Or(t,"divider")),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&!a&&n&&"object"==typeof n&&(n.main&&Fr(t[e],"mainChannel",Fn(Mr(n.main))),n.light&&Fr(t[e],"lightChannel",Fn(Mr(n.light))),n.dark&&Fr(t[e],"darkChannel",Fn(Mr(n.dark))),n.contrastText&&Fr(t[e],"contrastTextChannel",Fn(Mr(n.contrastText))),"text"===e&&(Or(t[e],"primary"),Or(t[e],"secondary")),"action"===e&&(n.active&&Or(t[e],"active"),n.selected&&Or(t[e],"selected")))})}),k=t.reduce((e,t)=>st(e,t),k);const E={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Ar(k),enableContrastVars:a},{vars:P,generateThemeVars:T,generateStyleSheets:j}=ar(k,E);return k.vars=P,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([e,t])=>{k[e]=t}),k.generateThemeVars=T,k.generateStyleSheets=j,k.generateSpacing=function(){return zt(u.spacing,Ft(this))},k.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=s,k.unstable_sxConfig={...fn,...u?.unstable_sxConfig},k.unstable_sx=function(e){return hn({sx:e,theme:this})},k.toRuntimeSource=xr,k}function Dr(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:tr({...!0===n?{}:n.palette,mode:t})})}function zr(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,s=i||"light",l=o?.[s],c={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return kr(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const o=kr({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},Dr(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},Dr(o,"light",c.light)),o}return n||"light"in c||"light"!==s||(c.light=!0),Lr({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}const Ir=zr(),Br="$$material";const _r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},Vr=e=>_r(e)&&"classes"!==e,$r=Cn({themeId:Br,defaultTheme:Ir,rootShouldForwardProp:Vr}),Wr={theme:void 0};const Ur=function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(Wr.theme=r.theme,o=yn(e(Wr)),t=o,n=r.theme),o}};function Hr(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){r[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[i][t]=Hr(o[t],a[t],n)}}else r[i]=a;else r[i]=o||{}}else"className"===i&&n&&t.className?r.className=g(e?.className,t?.className):"style"===i&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[i]&&(r[i]=e[i])}return r}const Yr=u().createContext(void 0);function qr({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Hr(o.defaultProps,r,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?r:Hr(o,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:u().useContext(Yr)}})}const Gr=function({value:e,children:t}){return(0,p.jsx)(Yr.Provider,{value:e,children:t})};function Kr(e){return qr(e)}const Xr=e=>e,Qr=(()=>{let e=Xr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Xr}}})(),Zr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Jr(e,t,n="Mui"){const r=Zr[t];return r?`${n}-${r}`:`${Qr.generate(e)}-${t}`}function eo(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Jr(e,t,n)}),r}function to(e){return Jr("MuiSvgIcon",e)}eo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const no=$r("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${x(n.color)}`],t[`fontSize${x(n.fontSize)}`]]}})(Ur(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),ro=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24",...h}=n,m=u().isValidElement(r)&&"svg"===r.type,v={...n,color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:m},b={};c||(b.viewBox=f);const w=(e=>{const{color:t,fontSize:n,classes:r}=e;return y({root:["root","inherit"!==t&&`color${x(t)}`,`fontSize${x(n)}`]},to,r)})(v);return(0,p.jsxs)(no,{as:a,className:g(w.root,o),focusable:"false",color:l,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t,...b,...h,...m&&r.props,ownerState:v,children:[m?r.props.children:r,d?(0,p.jsx)("title",{children:d}):null]})});ro.muiName="SvgIcon";const oo=ro;function io(e,t){function n(t,n){return(0,p.jsx)(oo,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=oo.muiName,u().memo(u().forwardRef(n))}const ao=io((0,p.jsx)("path",{d:"M17.65 6.35c-1.63-1.63-3.94-2.57-6.48-2.31-3.67.37-6.69 3.35-7.1 7.02C3.52 15.91 7.27 20 12 20c3.19 0 5.93-1.87 7.21-4.56.32-.67-.16-1.44-.9-1.44-.37 0-.72.2-.88.53-1.13 2.43-3.84 3.97-6.8 3.31-2.22-.49-4.01-2.3-4.48-4.52C5.31 9.44 8.26 6 12 6c1.66 0 3.14.69 4.22 1.78l-1.51 1.51c-.63.63-.19 1.71.7 1.71H19c.55 0 1-.45 1-1V6.41c0-.89-1.08-1.34-1.71-.71z"}));function so(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??fn;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return it(n)?{...r,...n}:r}:{...r,...t},{...o,sx:i}}const lo=function(e=null){const t=u().useContext(Ue);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},co=gn();const uo=function(e=co){return lo(e)};const fo=eo("MuiBox",["root"]),po=zr(),ho=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=nt("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(hn),a=u().forwardRef(function(e,a){const s=uo(n),{className:l,component:c="div",...u}=so(e);return(0,p.jsx)(i,{as:c,ref:a,className:g(l,o?o(r):r),theme:t&&s[t]||s,...u})});return a}({themeId:Br,defaultTheme:po,defaultClassName:fo.root,generateClassName:Qr.generate}),mo=ho;function go(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function yo(e){return Jr("MuiTypography",e)}eo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const vo={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},bo=so,xo=$r("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${x(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Ur(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(go()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${x(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),wo={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},So=u().forwardRef(function(e,t){const{color:n,...r}=Kr({props:e,name:"MuiTypography"}),o=bo({...r,...!vo[n]&&{color:n}}),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:f=wo,...h}=o,m={...o,align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:f},v=s||(u?"p":f[d]||wo[d])||"span",b=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return y({root:["root",i,"inherit"!==e.align&&`align${x(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},yo,a)})(m);return(0,p.jsx)(xo,{as:v,ref:t,className:g(b.root,a),...h,ownerState:m,style:{..."inherit"!==i&&{"--Typography-textAlign":i},...h.style}})}),ko=Cn();function Co(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Hr(t.components[n].defaultProps,r):r}const Eo=gn(),Po=ko("div",{name:"MuiStack",slot:"Root"});function To(e){return function({props:e,name:t,defaultTheme:n,themeId:r}){let o=uo(n);return r&&(o=o[r]||o),Co({theme:o,name:t,props:e})}({props:e,name:"MuiStack",defaultTheme:Eo})}function jo(e,t){const n=u().Children.toArray(e).filter(Boolean);return n.reduce((e,r,o)=>(e.push(r),o<n.length-1&&e.push(u().cloneElement(t,{key:`separator-${o}`})),e),[])}const Ao=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...ht({theme:t},yt({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const r=Ft(t),o=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),i=yt({values:e.direction,base:o}),a=yt({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}});n=st(n,ht({theme:t},a,(t,n)=>{return e.useFlexGap?{gap:Mt(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Mt(r,t)}};var o}))}return n=function(e,...t){const n=mt(e),r=[n,...t].reduce((e,t)=>st(e,t),{});return gt(Object.keys(n),r)}(t.breakpoints,n),n};const Fo=function(e={}){const{createStyledComponent:t=Po,useThemeProps:n=To,componentName:r="MuiStack"}=e,o=t(Ao);return u().forwardRef(function(e,t){const i=so(n(e)),{component:a="div",direction:s="column",spacing:l=0,divider:c,children:u,className:d,useFlexGap:f=!1,...h}=i,m={direction:s,spacing:l,useFlexGap:f},v=y({root:["root"]},e=>Jr(r,e),{});return(0,p.jsx)(o,{as:a,ownerState:m,ref:t,className:g(v.root,d),...h,children:c?jo(u,c):u})})}({createStyledComponent:$r("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Kr({props:e,name:"MuiStack"})}),Mo=Fo,Oo=io((0,p.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function Ro(...e){const t=u().useRef(void 0),n=u().useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return u().useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}const No=Ro;function Lo(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}const Do="undefined"!=typeof window?u().useLayoutEffect:u().useEffect;const zo=function(e){const t=u().useRef(e);return Do(()=>{t.current=e}),u().useRef((...e)=>(0,t.current)(...e)).current},Io={};function Bo(e,t){const n=u().useRef(Io);return n.current===Io&&(n.current=e(t)),n}class _o{static create(){return new _o}static use(){const e=Bo(_o.create).current,[t,n]=u().useState(!1);return e.shouldMount=t,e.setShouldMount=n,u().useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function Vo(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function $o(e,t){return $o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$o(e,t)}function Wo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$o(e,t)}const Uo=u().createContext(null);function Ho(e,t){var n=Object.create(null);return e&&u().Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,u().isValidElement)(e)?t(e):e}(e)}),n}function Yo(e,t,n){return null!=n[t]?n[t]:e.props[t]}function qo(e,t,n){var r=Ho(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if((0,u().isValidElement)(a)){var s=i in t,l=i in r,c=t[i],d=(0,u().isValidElement)(c)&&!c.props.in;!l||s&&!d?l||!s||d?l&&s&&(0,u().isValidElement)(c)&&(o[i]=(0,u().cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:Yo(a,"exit",e),enter:Yo(a,"enter",e)})):o[i]=(0,u().cloneElement)(a,{in:!1}):o[i]=(0,u().cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:Yo(a,"exit",e),enter:Yo(a,"enter",e)})}}),o}var Go=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Ko=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Wo(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Ho(n.children,function(e){return(0,u().cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Yo(e,"appear",n),enter:Yo(e,"enter",n),exit:Yo(e,"exit",n)})})):qo(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Ho(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=w({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Vo(e,["component","childFactory"]),o=this.state.contextValue,i=Go(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?u().createElement(Uo.Provider,{value:o},i):u().createElement(Uo.Provider,{value:o},u().createElement(t,r,i))},t}(u().Component);Ko.propTypes={},Ko.defaultProps={component:"div",childFactory:function(e){return e}};const Xo=Ko,Qo=[];class Zo{static create(){return new Zo}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Jo(){const e=Bo(Zo.create).current;var t;return t=e.disposeEffect,u().useEffect(t,Qo),e}r();var ei=function(e,t){var n=arguments;if(null==t||!He.call(t,"css"))return u().createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ge,o[1]=function(e,t){var n={};for(var r in t)He.call(t,r)&&(n[r]=t[r]);return n[Ye]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return u().createElement.apply(null,o)};!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(ei||(ei={}));var ti=We(function(e,t){var n=Ie([e.styles],void 0,u().useContext(Ue)),r=u().useRef();return Ve(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Ve(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Pe(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function ni(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ie(t)}function ri(){var e=ni.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}const oi=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[d,f]=u().useState(!1),h=g(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},y=g(n.child,d&&n.childLeaving,r&&n.childPulsate);return s||d||f(!0),u().useEffect(()=>{if(!s&&null!=l){const e=setTimeout(l,c);return()=>{clearTimeout(e)}}},[l,s,c]),(0,p.jsx)("span",{className:h,style:m,children:(0,p.jsx)("span",{className:y})})};const ii=eo("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ai=ri`
    22  0% {
    33    transform: scale(0);
    … …  
    99    opacity: 0.3;
    1010  }
    11 `,Os=Es`
     11`,si=ri`
    1212  0% {
    1313    opacity: 1;
    … …  
    1717    opacity: 0;
    1818  }
    19 `,Ms=Es`
     19`,li=ri`
    2020  0% {
    2121    transform: scale(1);
    … …  
    2929    transform: scale(1);
    3030  }
    31 `,_s=Ur("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),js=Ur(Ps,{name:"MuiTouchRipple",slot:"Ripple"})`
     31`,ci=$r("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ui=$r(oi,{name:"MuiTouchRipple",slot:"Ripple"})`
    3232  opacity: 0;
    3333  position: absolute;
    3434
    35   &.${Ts.rippleVisible} {
     35  &.${ii.rippleVisible} {
    3636    opacity: 0.3;
    3737    transform: scale(1);
    38     animation-name: ${As};
     38    animation-name: ${ai};
    3939    animation-duration: ${550}ms;
    4040    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    4141  }
    4242
    43   &.${Ts.ripplePulsate} {
     43  &.${ii.ripplePulsate} {
    4444    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
    4545  }
    4646
    47   & .${Ts.child} {
     47  & .${ii.child} {
    4848    opacity: 1;
    4949    display: block;
    … …  
    5454  }
    5555
    56   & .${Ts.childLeaving} {
     56  & .${ii.childLeaving} {
    5757    opacity: 0;
    58     animation-name: ${Os};
     58    animation-name: ${si};
    5959    animation-duration: ${550}ms;
    6060    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    6161  }
    6262
    63   & .${Ts.childPulsate} {
     63  & .${ii.childPulsate} {
    6464    position: absolute;
    6565    /* @noflip */
    6666    left: 0px;
    6767    top: 0;
    68     animation-name: ${Ms};
     68    animation-name: ${li};
    6969    animation-duration: 2500ms;
    7070    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    … …  
    7272    animation-delay: 200ms;
    7373  }
    74 `,Rs=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i,...a}=n,[s,l]=d().useState([]),u=d().useRef(0),f=d().useRef(null);d().useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);const p=d().useRef(!1),h=zo(),m=d().useRef(null),g=d().useRef(null),y=d().useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;l(e=>[...e,(0,c().jsx)(js,{classes:{ripple:v(o.ripple,Ts.ripple),rippleVisible:v(o.rippleVisible,Ts.rippleVisible),ripplePulsate:v(o.ripplePulsate,Ts.ripplePulsate),child:v(o.child,Ts.child),childLeaving:v(o.childLeaving,Ts.childLeaving),childPulsate:v(o.childPulsate,Ts.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)]),u.current+=1,f.current=a},[o]),b=d().useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&p.current)return void(p.current=!1);"touchstart"===e?.type&&(p.current=!0);const s=a?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{y({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})},h.start(80,()=>{m.current&&(m.current(),m.current=null)})):y({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})},[r,y,h]),x=d().useCallback(()=>{b({},{pulsate:!0})},[b]),w=d().useCallback((e,t)=>{if(h.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void h.start(0,()=>{w(e,t)});m.current=null,l(e=>e.length>0?e.slice(1):e),f.current=t},[h]);return d().useImperativeHandle(t,()=>({pulsate:x,start:b,stop:w}),[x,b,w]),(0,c().jsx)(_s,{className:v(Ts.root,o.root,i),ref:g,...a,children:(0,c().jsx)(ws,{component:null,exit:!0,children:s})})});function Ns(e){return to("MuiButtonBase",e)}const Ls=no("MuiButtonBase",["root","disabled","focusVisible"]),$s=Ur("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ls.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function Fs(e,t,n,r=!1){return Ua(o=>(n&&n(o),r||e[t](o),!0))}const zs=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:h,LinkComponent:m="a",onBlur:g,onClick:y,onContextMenu:x,onDragLeave:w,onFocus:S,onFocusVisible:k,onKeyDown:C,onKeyUp:E,onMouseDown:P,onMouseLeave:T,onMouseUp:A,onTouchEnd:O,onTouchMove:M,onTouchStart:_,tabIndex:j=0,TouchRippleProps:R,touchRippleRef:N,type:L,...$}=n,F=d().useRef(null),z=ms.use(),D=si(z.ref,N),[I,B]=d().useState(!1);l&&I&&B(!1),d().useImperativeHandle(r,()=>({focusVisible:()=>{B(!0),F.current.focus()}}),[]);const V=z.shouldMount&&!u&&!l;d().useEffect(()=>{I&&p&&!u&&z.pulsate()},[u,p,I,z]);const W=Fs(z,"start",P,f),U=Fs(z,"stop",x,f),H=Fs(z,"stop",w,f),K=Fs(z,"stop",A,f),Y=Fs(z,"stop",e=>{I&&e.preventDefault(),T&&T(e)},f),q=Fs(z,"start",_,f),G=Fs(z,"stop",O,f),X=Fs(z,"stop",M,f),Q=Fs(z,"stop",e=>{Vo(e.target)||B(!1),g&&g(e)},!1),Z=Ua(e=>{F.current||(F.current=e.currentTarget),Vo(e.target)&&(B(!0),k&&k(e)),S&&S(e)}),J=()=>{const e=F.current;return e?"BUTTON"!==e.tagName&&!("A"===e.tagName&&e.href):s&&"button"!==s},ee=Ua(e=>{p&&!e.repeat&&I&&" "===e.key&&z.stop(e,()=>{z.start(e)}),e.target===e.currentTarget&&J()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&J()&&"Enter"===e.key&&!l&&(e.preventDefault(),y&&y(e))}),te=Ua(e=>{p&&" "===e.key&&I&&!e.defaultPrevented&&z.stop(e,()=>{z.pulsate(e)}),E&&E(e),y&&e.target===e.currentTarget&&J()&&" "===e.key&&!e.defaultPrevented&&!l&&y(e)});let ne=s;"button"===ne&&($.href||$.to)&&(ne=m);const re={};if("button"===ne){const e=!!$.formAction;re.type=void 0!==L||e?L:"button",re.disabled=l}else $.href||$.to||(re.role="button"),l&&(re["aria-disabled"]=l);const oe=si(t,F),ie={...n,centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:f,focusRipple:p,tabIndex:j,focusVisible:I},ae=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=b({root:["root",t&&"disabled",n&&"focusVisible"]},Ns,o);return n&&r&&(i.root+=` ${r}`),i})(ie);return(0,c().jsxs)($s,{as:ne,className:v(ae.root,a),ownerState:ie,onBlur:Q,onClick:y,onContextMenu:U,onFocus:Z,onKeyDown:ee,onKeyUp:te,onMouseDown:W,onMouseLeave:Y,onMouseUp:K,onDragLeave:H,onTouchEnd:G,onTouchMove:X,onTouchStart:q,ref:oe,tabIndex:l?-1:j,type:L,...re,...$,children:[i,V?(0,c().jsx)(Rs,{ref:D,center:o,...R}):null]})});function Ds(e){return to("MuiCircularProgress",e)}no("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Is=44,Bs=Es`
     74`,di=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i,...a}=n,[s,l]=u().useState([]),c=u().useRef(0),d=u().useRef(null);u().useEffect(()=>{d.current&&(d.current(),d.current=null)},[s]);const f=u().useRef(!1),h=Jo(),m=u().useRef(null),y=u().useRef(null),v=u().useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;l(e=>[...e,(0,p.jsx)(ui,{classes:{ripple:g(o.ripple,ii.ripple),rippleVisible:g(o.rippleVisible,ii.rippleVisible),ripplePulsate:g(o.ripplePulsate,ii.ripplePulsate),child:g(o.child,ii.child),childLeaving:g(o.childLeaving,ii.childLeaving),childPulsate:g(o.childPulsate,ii.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)]),c.current+=1,d.current=a},[o]),b=u().useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&f.current)return void(f.current=!1);"touchstart"===e?.type&&(f.current=!0);const s=a?null:y.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{v({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},h.start(80,()=>{m.current&&(m.current(),m.current=null)})):v({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},[r,v,h]),x=u().useCallback(()=>{b({},{pulsate:!0})},[b]),w=u().useCallback((e,t)=>{if(h.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void h.start(0,()=>{w(e,t)});m.current=null,l(e=>e.length>0?e.slice(1):e),d.current=t},[h]);return u().useImperativeHandle(t,()=>({pulsate:x,start:b,stop:w}),[x,b,w]),(0,p.jsx)(ci,{className:g(ii.root,o.root,i),ref:y,...a,children:(0,p.jsx)(Xo,{component:null,exit:!0,children:s})})});function fi(e){return Jr("MuiButtonBase",e)}const pi=eo("MuiButtonBase",["root","disabled","focusVisible"]),hi=$r("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${pi.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function mi(e,t,n,r=!1){return zo(o=>(n&&n(o),r||e[t](o),!0))}const gi=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:h,LinkComponent:m="a",onBlur:v,onClick:b,onContextMenu:x,onDragLeave:w,onFocus:S,onFocusVisible:k,onKeyDown:C,onKeyUp:E,onMouseDown:P,onMouseLeave:T,onMouseUp:j,onTouchEnd:A,onTouchMove:F,onTouchStart:M,tabIndex:O=0,TouchRippleProps:R,touchRippleRef:N,type:L,...D}=n,z=u().useRef(null),I=_o.use(),B=No(I.ref,N),[_,V]=u().useState(!1);l&&_&&V(!1),u().useImperativeHandle(r,()=>({focusVisible:()=>{V(!0),z.current.focus()}}),[]);const $=I.shouldMount&&!c&&!l;u().useEffect(()=>{_&&f&&!c&&I.pulsate()},[c,f,_,I]);const W=mi(I,"start",P,d),U=mi(I,"stop",x,d),H=mi(I,"stop",w,d),Y=mi(I,"stop",j,d),q=mi(I,"stop",e=>{_&&e.preventDefault(),T&&T(e)},d),G=mi(I,"start",M,d),K=mi(I,"stop",A,d),X=mi(I,"stop",F,d),Q=mi(I,"stop",e=>{Lo(e.target)||V(!1),v&&v(e)},!1),Z=zo(e=>{z.current||(z.current=e.currentTarget),Lo(e.target)&&(V(!0),k&&k(e)),S&&S(e)}),J=()=>{const e=z.current;return e?"BUTTON"!==e.tagName&&!("A"===e.tagName&&e.href):s&&"button"!==s},ee=zo(e=>{f&&!e.repeat&&_&&" "===e.key&&I.stop(e,()=>{I.start(e)}),e.target===e.currentTarget&&J()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&J()&&"Enter"===e.key&&!l&&(e.preventDefault(),b&&b(e))}),te=zo(e=>{f&&" "===e.key&&_&&!e.defaultPrevented&&I.stop(e,()=>{I.pulsate(e)}),E&&E(e),b&&e.target===e.currentTarget&&J()&&" "===e.key&&!e.defaultPrevented&&!l&&b(e)});let ne=s;"button"===ne&&(D.href||D.to)&&(ne=m);const re={};if("button"===ne){const e=!!D.formAction;re.type=void 0!==L||e?L:"button",re.disabled=l}else D.href||D.to||(re.role="button"),l&&(re["aria-disabled"]=l);const oe=No(t,z),ie={...n,centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:O,focusVisible:_},ae=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=y({root:["root",t&&"disabled",n&&"focusVisible"]},fi,o);return n&&r&&(i.root+=` ${r}`),i})(ie);return(0,p.jsxs)(hi,{as:ne,className:g(ae.root,a),ownerState:ie,onBlur:Q,onClick:b,onContextMenu:U,onFocus:Z,onKeyDown:ee,onKeyUp:te,onMouseDown:W,onMouseLeave:q,onMouseUp:Y,onDragLeave:H,onTouchEnd:K,onTouchMove:X,onTouchStart:G,ref:oe,tabIndex:l?-1:O,type:L,...re,...D,children:[i,$?(0,p.jsx)(di,{ref:B,center:o,...R}):null]})});function yi(e){return Jr("MuiChip",e)}const vi=eo("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);const bi=function(e){return"string"==typeof e};const xi=function(e,t,n){return void 0===e||bi(e)?t:{...t,ownerState:{...t.ownerState,...n}}};const wi=function(e,t,n){return"function"==typeof e?e(t,n):e};const Si=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n};const ki=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t};const Ci=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=g(n?.className,i,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},a={...n,...o,...r};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Si({...o,...r}),s=ki(r),l=ki(o),c=t(a),u=g(c?.className,n?.className,i,o?.className,r?.className),d={...c?.style,...n?.style,...o?.style,...r?.style},f={...c,...n,...l,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}};function Ei(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,p=u[e]||r,h=wi(d[e],o),{props:{component:m,...g},internalRef:y}=Ci({className:n,...l,externalForwardedProps:"root"===e?f:void 0,externalSlotProps:h}),v=Ro(y,h?.ref,t.ref),b="root"===e?m||c:m;return[p,xi(p,{..."root"===e&&!c&&!u[e]&&a,..."root"!==e&&!u[e]&&a,...g,...b&&!s&&{as:b},...b&&s&&{component:b},ref:v},o)]}const Pi=$r("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${vi.avatar}`]:t.avatar},{[`& .${vi.avatar}`]:t[`avatar${x(s)}`]},{[`& .${vi.avatar}`]:t[`avatarColor${x(r)}`]},{[`& .${vi.icon}`]:t.icon},{[`& .${vi.icon}`]:t[`icon${x(s)}`]},{[`& .${vi.icon}`]:t[`iconColor${x(o)}`]},{[`& .${vi.deleteIcon}`]:t.deleteIcon},{[`& .${vi.deleteIcon}`]:t[`deleteIcon${x(s)}`]},{[`& .${vi.deleteIcon}`]:t[`deleteIconColor${x(r)}`]},{[`& .${vi.deleteIcon}`]:t[`deleteIcon${x(l)}Color${x(r)}`]},t.root,t[`size${x(s)}`],t[`color${x(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${x(r)}`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${x(r)}`],t[l],t[`${l}${x(r)}`]]}})(Ur(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${vi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${vi.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${vi.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${vi.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${vi.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${vi.icon}`]:{marginLeft:5,marginRight:-6},[`& .${vi.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${vi.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${vi.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(go(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${vi.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${vi.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${vi.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${vi.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(go(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${vi.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${vi.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(go(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${vi.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${vi.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${vi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${vi.avatar}`]:{marginLeft:4},[`& .${vi.avatarSmall}`]:{marginLeft:2},[`& .${vi.icon}`]:{marginLeft:4},[`& .${vi.iconSmall}`]:{marginLeft:2},[`& .${vi.deleteIcon}`]:{marginRight:5},[`& .${vi.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(go()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${vi.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${vi.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${vi.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),Ti=$r("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${x(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function ji(e){return"Backspace"===e.key||"Delete"===e.key}const Ai=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiChip"}),{avatar:r,className:o,clickable:i,color:a="default",component:s,deleteIcon:l,disabled:c=!1,icon:d,label:f,onClick:h,onDelete:m,onKeyDown:v,onKeyUp:b,size:w="medium",variant:S="filled",tabIndex:k,skipFocusWhenDisabled:C=!1,slots:E={},slotProps:P={},...T}=n,j=u().useRef(null),A=No(j,t),F=e=>{e.stopPropagation(),m(e)},M=!(!1===i||!h)||i,O=M||m?gi:s||"div",R={...n,component:O,disabled:c,size:w,color:a,iconColor:u().isValidElement(d)&&d.props.color||a,onDelete:!!m,clickable:M,variant:S},N=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e;return y({root:["root",l,n&&"disabled",`size${x(r)}`,`color${x(o)}`,s&&"clickable",s&&`clickableColor${x(o)}`,a&&"deletable",a&&`deletableColor${x(o)}`,`${l}${x(o)}`],label:["label",`label${x(r)}`],avatar:["avatar",`avatar${x(r)}`,`avatarColor${x(o)}`],icon:["icon",`icon${x(r)}`,`iconColor${x(i)}`],deleteIcon:["deleteIcon",`deleteIcon${x(r)}`,`deleteIconColor${x(o)}`,`deleteIcon${x(l)}Color${x(o)}`]},yi,t)})(R),L=O===gi?{component:s||"div",focusVisibleClassName:N.focusVisible,...m&&{disableRipple:!0}}:{};let D=null;m&&(D=l&&u().isValidElement(l)?u().cloneElement(l,{className:g(l.props.className,N.deleteIcon),onClick:F}):(0,p.jsx)(Oo,{className:N.deleteIcon,onClick:F}));let z=null;r&&u().isValidElement(r)&&(z=u().cloneElement(r,{className:g(N.avatar,r.props.className)}));let I=null;d&&u().isValidElement(d)&&(I=u().cloneElement(d,{className:g(N.icon,d.props.className)}));const B={slots:E,slotProps:P},[_,V]=Ei("root",{elementType:Pi,externalForwardedProps:{...B,...T},ownerState:R,shouldForwardComponentProp:!0,ref:A,className:g(N.root,o),additionalProps:{disabled:!(!M||!c)||void 0,tabIndex:C&&c?-1:k,...L},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),h?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&ji(e)&&e.preventDefault(),v&&v(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&m&&ji(e)&&m(e),b&&b(e)})(t)}})}),[$,W]=Ei("label",{elementType:Ti,externalForwardedProps:B,ownerState:R,className:N.label});return(0,p.jsxs)(_,{as:O,...V,children:[z||I,(0,p.jsx)($,{...W,children:f}),D]})}),Fi=u().createContext();const Mi=()=>u().useContext(Fi)??!1,Oi=function({value:e,...t}){return(0,p.jsx)(Fi.Provider,{value:e??!0,...t})};function Ri(e){return parseInt(u().version,10)>=19?e?.props?.ref||null:e?.ref||null}function Ni(){const e=uo(Ir);return e[Br]||e}const Li=!1;var Di="unmounted",zi="exited",Ii="entering",Bi="entered",_i="exiting",Vi=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=zi,r.appearStatus=Ii):o=Bi:o=t.unmountOnExit||t.mountOnEnter?Di:zi,r.state={status:o},r.nextCallback=null,r}Wo(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Di?{status:zi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ii&&n!==Bi&&(t=Ii):n!==Ii&&n!==Bi||(t=_i)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ii){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zi&&this.setState({status:Di})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l().findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||Li?this.safeSetState({status:Bi},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:Ii},function(){t.props.onEntering(i,a),t.onTransitionEnd(c,function(){t.safeSetState({status:Bi},function(){t.props.onEntered(i,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l().findDOMNode(this);t&&!Li?(this.props.onExit(r),this.safeSetState({status:_i},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:zi},function(){e.props.onExited(r)})})})):this.safeSetState({status:zi},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Di)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Vo(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return u().createElement(Uo.Provider,{value:null},"function"==typeof n?n(e,r):u().cloneElement(u().Children.only(n),r))},t}(u().Component);function $i(){}Vi.contextType=Uo,Vi.propTypes={},Vi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$i,onEntering:$i,onEntered:$i,onExit:$i,onExiting:$i,onExited:$i},Vi.UNMOUNTED=Di,Vi.EXITED=zi,Vi.ENTERING=Ii,Vi.ENTERED=Bi,Vi.EXITING=_i;const Wi=Vi;function Ui(e,t){return n=>{if(t){const r=e.current;void 0===n?t(r):t(r,n)}}}function Hi(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:o.transitionDelay}}function Yi(e){return`scale(${e}, ${e**2})`}const qi={entering:{opacity:1,transform:Yi(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:Yi(.75)},exited:{opacity:0,transform:Yi(.75)}},Gi={opacity:0,transform:Yi(.75),visibility:"hidden"},Ki=u().forwardRef(function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:c,onExit:d,onExited:f,onExiting:h,style:m,timeout:g="auto",...y}=e,v=Jo(),b=u().useRef(),x=Ni(),w=u().useRef(null),S=No(w,Ri(o),t),k=Ui(w,c),C=Ui(w,(e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=Hi({style:m,timeout:g,easing:i},{mode:"enter"});let a;"auto"===g?(a=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)}),E=Ui(w,l),P=Ui(w,h),T=Ui(w,e=>{const{duration:t,delay:n,easing:r}=Hi({style:m,timeout:g,easing:i},{mode:"exit"});let o;"auto"===g?(o=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:.666*o,delay:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Yi(.75),d&&d(e)}),j=Ui(w,e=>{e.style.transition="",f&&f(e)});return(0,p.jsx)(Wi,{appear:r,in:a,nodeRef:w,onEnter:C,onEntered:E,onEntering:k,onExit:T,onExited:j,onExiting:P,addEndListener:e=>{"auto"===g&&v.start(b.current||0,e),n&&n(w.current,e)},timeout:"auto"===g?null:g,...y,children:(e,{ownerState:t,...n})=>{const r=function(e,t,n,r,o,i){const a="exited"!==e||t?n[e]||n.exited:r;return o||i?{...a,...o,...i}:a}(e,a,qi,Gi,m,o.props.style);return u().cloneElement(o,{style:r,ref:S,...n})}})});Ki&&(Ki.muiSupportAuto=!0);const Xi=Ki;function Qi(e){return e&&e.ownerDocument||document}function Zi(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ji(e){return e instanceof Zi(e).Element||e instanceof Element}function ea(e){return e instanceof Zi(e).HTMLElement||e instanceof HTMLElement}function ta(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Zi(e).ShadowRoot||e instanceof ShadowRoot)}var na=Math.max,ra=Math.min,oa=Math.round;function ia(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function aa(){return!/^((?!chrome|android).)*safari/i.test(ia())}function sa(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&ea(e)&&(o=e.offsetWidth>0&&oa(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&oa(r.height)/e.offsetHeight||1);var a=(Ji(e)?Zi(e):window).visualViewport,s=!aa()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function la(e){var t=Zi(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ca(e){return e?(e.nodeName||"").toLowerCase():null}function ua(e){return((Ji(e)?e.ownerDocument:e.document)||window.document).documentElement}function da(e){return sa(ua(e)).left+la(e).scrollLeft}function fa(e){return Zi(e).getComputedStyle(e)}function pa(e){var t=fa(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ha(e,t,n){void 0===n&&(n=!1);var r,o,i=ea(t),a=ea(t)&&function(e){var t=e.getBoundingClientRect(),n=oa(t.width)/e.offsetWidth||1,r=oa(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=ua(t),l=sa(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==ca(t)||pa(s))&&(c=(r=t)!==Zi(r)&&ea(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:la(r)),ea(t)?((u=sa(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=da(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ma(e){var t=sa(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ga(e){return"html"===ca(e)?e:e.assignedSlot||e.parentNode||(ta(e)?e.host:null)||ua(e)}function ya(e){return["html","body","#document"].indexOf(ca(e))>=0?e.ownerDocument.body:ea(e)&&pa(e)?e:ya(ga(e))}function va(e,t){var n;void 0===t&&(t=[]);var r=ya(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Zi(r),a=o?[i].concat(i.visualViewport||[],pa(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(va(ga(a)))}function ba(e){return["table","td","th"].indexOf(ca(e))>=0}function xa(e){return ea(e)&&"fixed"!==fa(e).position?e.offsetParent:null}function wa(e){for(var t=Zi(e),n=xa(e);n&&ba(n)&&"static"===fa(n).position;)n=xa(n);return n&&("html"===ca(n)||"body"===ca(n)&&"static"===fa(n).position)?t:n||function(e){var t=/firefox/i.test(ia());if(/Trident/i.test(ia())&&ea(e)&&"fixed"===fa(e).position)return null;var n=ga(e);for(ta(n)&&(n=n.host);ea(n)&&["html","body"].indexOf(ca(n))<0;){var r=fa(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Sa="top",ka="bottom",Ca="right",Ea="left",Pa="auto",Ta=[Sa,ka,Ca,Ea],ja="start",Aa="end",Fa="viewport",Ma="popper",Oa=Ta.reduce(function(e,t){return e.concat([t+"-"+ja,t+"-"+Aa])},[]),Ra=[].concat(Ta,[Pa]).reduce(function(e,t){return e.concat([t,t+"-"+ja,t+"-"+Aa])},[]),Na=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function La(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Da={placement:"bottom",modifiers:[],strategy:"absolute"};function za(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Ia(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Da:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Da,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Ji(e)?va(e):e.contextElement?va(e.contextElement):[],popper:va(t)};var a,c,f=function(e){var t=La(e);return Na.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),c=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};l.push(i||a)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(za(t,n)){s.rects={reference:ha(t,wa(n),"fixed"===s.options.strategy),popper:ma(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){d(),c=!0}};if(!za(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Ba={passive:!0};function _a(e){return e.split("-")[0]}function Va(e){return e.split("-")[1]}function $a(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wa(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?_a(o):null,a=o?Va(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case Sa:t={x:s,y:n.y-r.height};break;case ka:t={x:s,y:n.y+n.height};break;case Ca:t={x:n.x+n.width,y:l};break;case Ea:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?$a(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ja:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Aa:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Ua={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ha(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var y=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),b=Ea,x=Sa,w=window;if(c){var S=wa(n),k="clientHeight",C="clientWidth";if(S===Zi(n)&&"static"!==fa(S=ua(n)).position&&"absolute"===s&&(k="scrollHeight",C="scrollWidth"),o===Sa||(o===Ea||o===Ca)&&i===Aa)x=ka,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-r.height,m*=l?1:-1;if(o===Ea||(o===Sa||o===ka)&&i===Aa)b=Ca,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[C])-r.width,p*=l?1:-1}var E,P=Object.assign({position:s},c&&Ua),T=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:oa(n*o)/o||0,y:oa(r*o)/o||0}}({x:p,y:m},Zi(n)):{x:p,y:m};return p=T.x,m=T.y,l?Object.assign({},P,((E={})[x]=v?"0":"",E[b]=y?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},P,((t={})[x]=v?m+"px":"",t[b]=y?p+"px":"",t.transform="",t))}const Ya={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Ra.reduce(function(e,n){return e[n]=function(e,t,n){var r=_a(e),o=[Ea,Sa].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ea,Ca].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var qa={left:"right",right:"left",bottom:"top",top:"bottom"};function Ga(e){return e.replace(/left|right|bottom|top/g,function(e){return qa[e]})}var Ka={start:"end",end:"start"};function Xa(e){return e.replace(/start|end/g,function(e){return Ka[e]})}function Qa(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ta(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Za(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ja(e,t,n){return t===Fa?Za(function(e,t){var n=Zi(e),r=ua(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=aa();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+da(e),y:l}}(e,n)):Ji(t)?function(e,t){var n=sa(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Za(function(e){var t,n=ua(e),r=la(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=na(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=na(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+da(e),l=-r.scrollTop;return"rtl"===fa(o||n).direction&&(s+=na(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(ua(e)))}function es(e,t,n,r){var o="clippingParents"===t?function(e){var t=va(ga(e)),n=["absolute","fixed"].indexOf(fa(e).position)>=0&&ea(e)?wa(e):e;return Ji(n)?t.filter(function(e){return Ji(e)&&Qa(e,n)&&"body"!==ca(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=Ja(e,n,r);return t.top=na(o.top,t.top),t.right=ra(o.right,t.right),t.bottom=ra(o.bottom,t.bottom),t.left=na(o.left,t.left),t},Ja(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ts(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ns(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function rs(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Fa:c,d=n.elementContext,f=void 0===d?Ma:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,y=ts("number"!=typeof g?g:ns(g,Ta)),v=f===Ma?"reference":Ma,b=e.rects.popper,x=e.elements[h?v:f],w=es(Ji(x)?x:x.contextElement||ua(e.elements.popper),l,u,a),S=sa(e.elements.reference),k=Wa({reference:S,element:b,strategy:"absolute",placement:o}),C=Za(Object.assign({},b,k)),E=f===Ma?C:S,P={top:w.top-E.top+y.top,bottom:E.bottom-w.bottom+y.bottom,left:w.left-E.left+y.left,right:E.right-w.right+y.right},T=e.modifiersData.offset;if(f===Ma&&T){var j=T[o];Object.keys(P).forEach(function(e){var t=[Ca,ka].indexOf(e)>=0?1:-1,n=[Sa,ka].indexOf(e)>=0?"y":"x";P[e]+=j[n]*t})}return P}const os={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,y=_a(g),v=l||(y===g||!h?[Ga(g)]:function(e){if(_a(e)===Pa)return[];var t=Ga(e);return[Xa(e),t,Xa(t)]}(g)),b=[g].concat(v).reduce(function(e,n){return e.concat(_a(n)===Pa?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Ra:l,u=Va(r),d=u?s?Oa:Oa.filter(function(e){return Va(e)===u}):Ta,f=d.filter(function(e){return c.indexOf(e)>=0});0===f.length&&(f=d);var p=f.reduce(function(t,n){return t[n]=rs(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[_a(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,C=b[0],E=0;E<b.length;E++){var P=b[E],T=_a(P),j=Va(P)===ja,A=[Sa,ka].indexOf(T)>=0,F=A?"width":"height",M=rs(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),O=A?j?Ca:Ea:j?ka:Sa;x[F]>w[F]&&(O=Ga(O));var R=Ga(O),N=[];if(i&&N.push(M[T]<=0),s&&N.push(M[O]<=0,M[R]<=0),N.every(function(e){return e})){C=P,k=!1;break}S.set(P,N)}if(k)for(var L=function(e){var t=b.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},D=h?3:1;D>0;D--){if("break"===L(D))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function is(e,t,n){return na(e,ra(t,n))}const as={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,g=rs(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=_a(t.placement),v=Va(t.placement),b=!v,x=$a(y),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(S){if(i){var A,F="y"===x?Sa:Ea,M="y"===x?ka:Ca,O="y"===x?"height":"width",R=S[x],N=R+g[F],L=R-g[M],D=p?-C[O]/2:0,z=v===ja?k[O]:C[O],I=v===ja?-C[O]:-k[O],B=t.elements.arrow,_=p&&B?ma(B):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=V[F],W=V[M],U=is(0,k[O],_[O]),H=b?k[O]/2-D-U-$-P.mainAxis:z-U-$-P.mainAxis,Y=b?-k[O]/2+D+U+W+P.mainAxis:I+U+W+P.mainAxis,q=t.elements.arrow&&wa(t.elements.arrow),G=q?"y"===x?q.clientTop||0:q.clientLeft||0:0,K=null!=(A=null==T?void 0:T[x])?A:0,X=R+Y-K,Q=is(p?ra(N,R+H-K-G):N,R,p?na(L,X):L);S[x]=Q,j[x]=Q-R}if(s){var Z,J="x"===x?Sa:Ea,ee="x"===x?ka:Ca,te=S[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[Sa,Ea].indexOf(y),ae=null!=(Z=null==T?void 0:T[w])?Z:0,se=ie?re:te-k[ne]-C[ne]-ae+P.altAxis,le=ie?te+k[ne]+C[ne]-ae-P.altAxis:oe,ce=p&&ie?function(e,t,n){var r=is(e,t,n);return r>n?n:r}(se,te,le):is(p?se:re,te,p?le:oe);S[w]=ce,j[w]=ce-te}t.modifiersData[r]=j}},requiresIfExists:["offset"]};const ss={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=_a(n.placement),l=$a(s),c=[Ea,Ca].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ts("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ns(e,Ta))}(o.padding,n),d=ma(i),f="y"===l?Sa:Ea,p="y"===l?ka:Ca,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=wa(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=u[f],x=y-d[c]-u[p],w=y/2-d[c]/2+v,S=is(b,w,x),k=l;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Qa(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ls(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function cs(e){return[Sa,Ca,ka,Ea].some(function(t){return e[t]>=0})}var us=Ia({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=Zi(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ba)}),s&&l.addEventListener("resize",n.update,Ba),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ba)}),s&&l.removeEventListener("resize",n.update,Ba)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Wa({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:_a(t.placement),variation:Va(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ha(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ha(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];ea(o)&&ca(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});ea(r)&&ca(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},Ya,os,as,ss,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=rs(t,{elementContext:"reference"}),s=rs(t,{altBoundary:!0}),l=ls(a,r),c=ls(s,o,i),u=cs(l),d=cs(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const ds=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:wi(n,r),{props:s,internalRef:l}=Ci({...i,externalSlotProps:a}),c=Ro(l,a?.ref,e.additionalProps?.ref);return xi(t,{...s,ref:c},r)};function fs(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const ps=u().forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,s]=u().useState(null),l=Ro(u().isValidElement(n)?Ri(n):null,t);if(Do(()=>{o||s(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),Do(()=>{if(i&&!o)return fs(t,i),()=>{fs(t,null)}},[t,i,o]),o){if(u().isValidElement(n)){const e={ref:l};return u().cloneElement(n,e)}return n}return i?a().createPortal(n,i):i});function hs(e){return Jr("MuiPopper",e)}eo("MuiPopper",["root"]);function ms(e){return"function"==typeof e?e():e}function gs(e){return void 0!==e.nodeType}const ys={},vs=u().forwardRef(function(e,t){const{anchorEl:n,children:r,direction:o,disablePortal:i,modifiers:a,open:s,placement:l,popperOptions:c,popperRef:d,slotProps:f={},slots:h={},TransitionProps:m,ownerState:g,...v}=e,b=u().useRef(null),x=Ro(b,t),w=u().useRef(null),S=Ro(w,d),k=u().useRef(S);Do(()=>{k.current=S},[S]),u().useImperativeHandle(d,()=>w.current,[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(l,o),[E,P]=u().useState(C),[T,j]=u().useState(ms(n));u().useEffect(()=>{w.current&&w.current.forceUpdate()}),u().useEffect(()=>{n&&j(ms(n))},[n]),Do(()=>{if(!T||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{P(e.placement)}}];null!=a&&(e=e.concat(a)),c&&null!=c.modifiers&&(e=e.concat(c.modifiers));const t=us(T,b.current,{placement:C,...c,modifiers:e});k.current(t);const n=b.current;return()=>{if(n){const{style:e}=n,r=e.position,o=e.top,i=e.left,a=e.transform;t.destroy(),e.position=r,e.top=o,e.left=i,e.transform=a}else t.destroy();k.current(null)}},[T,i,a,s,c,C]);const A={placement:E};null!==m&&(A.TransitionProps=m);const F=(e=>{const{classes:t}=e;return y({root:["root"]},hs,t)})(e),M=h.root??"div",O=ds({elementType:M,externalSlotProps:f.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:F.root});return(0,p.jsx)(M,{...O,children:"function"==typeof r?r(A):r})}),bs=$r(u().forwardRef(function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:s=!1,modifiers:l,open:c,placement:d="bottom",popperOptions:f=ys,popperRef:h,style:m,transition:g=!1,slotProps:y={},slots:v={},...b}=e,[x,w]=u().useState(!0);if(!s&&!c&&(!g||x))return null;let S;if(o)S=o;else if(n){const e=ms(n);S=e&&gs(e)?Qi(e).body:Qi(null).body}const k=c||!s||g&&!x?void 0:"none",C=g?{in:c,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return(0,p.jsx)(ps,{disablePortal:a,container:S,children:(0,p.jsx)(vs,{anchorEl:n,direction:i,disablePortal:a,modifiers:l,ref:t,open:g?!x:c,placement:d,popperOptions:f,popperRef:h,slotProps:y,slots:v,...b,style:{position:"fixed",top:0,left:0,display:k,...m},TransitionProps:C,children:r})})}),{name:"MuiPopper",slot:"Root"})({}),xs=u().forwardRef(function(e,t){const n=Mi(),r=Kr({props:e,name:"MuiPopper"}),{anchorEl:o,component:i,components:a,componentsProps:s,container:l,disablePortal:c,keepMounted:u,modifiers:d,open:f,placement:h,popperOptions:m,popperRef:g,transition:y,slots:v,slotProps:b,...x}=r,w=v?.root??a?.Root,S={anchorEl:o,container:l,disablePortal:c,keepMounted:u,modifiers:d,open:f,placement:h,popperOptions:m,popperRef:g,transition:y,...x};return(0,p.jsx)(bs,{as:i,direction:n?"rtl":"ltr",slots:{root:w},slotProps:b??s,...S,ref:t})});let ws=0;const Ss={...h()}.useId;function ks(e){if(void 0!==Ss){const t=Ss();return e??t}return function(e){const[t,n]=u().useState(e),r=e||t;return u().useEffect(()=>{null==t&&(ws+=1,n(`mui-${ws}`))},[t]),r}(e)}const Cs=ks;const Es=function(e){const{controlled:t,default:n,name:r,state:o="value"}=e,{current:i}=u().useRef(void 0!==t),[a,s]=u().useState(n);return[i?t:a,u().useCallback(e=>{i||s(e)},[])]};function Ps(e){return Jr("MuiTooltip",e)}const Ts=eo("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const js=$r(xs,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Ur(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ts.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ts.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ts.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ts.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Ts.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Ts.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Ts.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Ts.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),As=$r("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${x(n.placement.split("-")[0])}`]]}})(Ur(({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ts.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ts.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ts.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ts.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5)+"em",fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Ts.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ts.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Ts.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ts.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Ts.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ts.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Ts.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ts.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Ts.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Ts.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t})),Fs=$r("span",{name:"MuiTooltip",slot:"Arrow"})(Ur(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Ms=!1;const Os=new Zo;let Rs={x:0,y:0};function Ns(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Ls=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiTooltip"}),{arrow:r=!1,children:o,classes:i,components:a={},componentsProps:s={},describeChild:l=!1,disableFocusListener:c=!1,disableHoverListener:d=!1,disableInteractive:f=!1,disableTouchListener:h=!1,enterDelay:m=100,enterNextDelay:v=0,enterTouchDelay:b=700,followCursor:w=!1,id:S,leaveDelay:k=0,leaveTouchDelay:C=1500,onClose:E,onOpen:P,open:T,placement:j="bottom",PopperComponent:A,PopperProps:F={},slotProps:M={},slots:O={},title:R,TransitionComponent:N,TransitionProps:L,...D}=n,z=u().isValidElement(o)?o:(0,p.jsx)("span",{children:o}),I=Ni(),B=Mi(),[_,V]=u().useState(),[$,W]=u().useState(null),U=u().useRef(!1),H=f||w,Y=Jo(),q=Jo(),G=Jo(),K=Jo(),[X,Q]=Es({controlled:T,default:!1,name:"Tooltip",state:"open"});let Z=X;const J=Cs(S),ee=u().useRef(),te=zo(()=>{void 0!==ee.current&&(document.body.style.WebkitUserSelect=ee.current,ee.current=void 0),K.clear()});u().useEffect(()=>te,[te]);const ne=e=>{Os.clear(),Ms=!0,Q(!0),P&&!Z&&P(e)},re=zo(e=>{Os.start(800+k,()=>{Ms=!1}),Q(!1),E&&Z&&E(e),Y.start(I.transitions.duration.shortest,()=>{U.current=!1})}),oe=e=>{U.current&&"touchstart"!==e.type||(_&&_.removeAttribute("title"),q.clear(),G.clear(),m||Ms&&v?q.start(Ms?v:m,()=>{ne(e)}):ne(e))},ie=e=>{q.clear(),G.start(k,()=>{re(e)})},[,ae]=u().useState(!1),se=e=>{const t=e?.target??_;if(!t||!Lo(t)){ae(!1);const n=e??new Event("blur");!e&&t&&(Object.defineProperty(n,"target",{value:t}),Object.defineProperty(n,"currentTarget",{value:t})),ie(n)}},le=e=>{_||V(e.currentTarget),Lo(e.target)&&(ae(!0),oe(e))},ce=e=>{U.current=!0;const t=z.props;t.onTouchStart&&t.onTouchStart(e)},ue=e=>{ce(e),G.clear(),Y.clear(),te(),ee.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",K.start(b,()=>{document.body.style.WebkitUserSelect=ee.current,oe(e)})},de=e=>{z.props.onTouchEnd&&z.props.onTouchEnd(e),te(),G.start(C,()=>{re(e)})};u().useEffect(()=>{if(Z)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&re(e)}},[re,Z]);const fe=No(Ri(z),V,t);R||0===R||(Z=!1);const pe=u().useRef(),he={},me="string"==typeof R;l?(he.title=Z||!me||d?null:R,he["aria-describedby"]=Z?J:null):(he["aria-label"]=me?R:null,he["aria-labelledby"]=Z&&!me?J:null);const ge={...he,...D,...z.props,className:g(D.className,z.props.className),onTouchStart:ce,ref:fe,...w?{onMouseMove:e=>{const t=z.props;t.onMouseMove&&t.onMouseMove(e),Rs={x:e.clientX,y:e.clientY},pe.current&&pe.current.update()}}:{}};const ye={};h||(ge.onTouchStart=ue,ge.onTouchEnd=de),d||(ge.onMouseOver=Ns(oe,ge.onMouseOver),ge.onMouseLeave=Ns(ie,ge.onMouseLeave),H||(ye.onMouseOver=oe,ye.onMouseLeave=ie)),c||(ge.onFocus=Ns(le,ge.onFocus),ge.onBlur=Ns(se,ge.onBlur),H||(ye.onFocus=le,ye.onBlur=se));const ve={...n,isRtl:B,arrow:r,disableInteractive:H,placement:j,PopperComponentProp:A,touch:U.current},be="function"==typeof M.popper?M.popper(ve):M.popper,xe=u().useMemo(()=>{let e=[{name:"arrow",enabled:Boolean($),options:{element:$,padding:4}}];return F.popperOptions?.modifiers&&(e=e.concat(F.popperOptions.modifiers)),be?.popperOptions?.modifiers&&(e=e.concat(be.popperOptions.modifiers)),{...F.popperOptions,...be?.popperOptions,modifiers:e}},[$,F.popperOptions,be?.popperOptions]),we=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return y({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${x(i.split("-")[0])}`],arrow:["arrow"]},Ps,t)})(ve),Se="function"==typeof M.transition?M.transition(ve):M.transition,ke={slots:{popper:a.Popper,transition:a.Transition??N,tooltip:a.Tooltip,arrow:a.Arrow,...O},slotProps:{arrow:M.arrow??s.arrow,popper:{...F,...be??s.popper},tooltip:M.tooltip??s.tooltip,transition:{...L,...Se??s.transition}}},[Ce,Ee]=Ei("popper",{elementType:js,externalForwardedProps:ke,ownerState:ve,className:g(we.popper,F?.className)}),[Pe,Te]=Ei("transition",{elementType:Xi,externalForwardedProps:ke,ownerState:ve}),[je,Ae]=Ei("tooltip",{elementType:As,className:we.tooltip,externalForwardedProps:ke,ownerState:ve}),[Fe,Me]=Ei("arrow",{elementType:Fs,className:we.arrow,externalForwardedProps:ke,ownerState:ve,ref:W});return(0,p.jsxs)(u().Fragment,{children:[u().cloneElement(z,ge),(0,p.jsx)(Ce,{as:A??xs,placement:j,anchorEl:w?{getBoundingClientRect:()=>({top:Rs.y,left:Rs.x,right:Rs.x,bottom:Rs.y,width:0,height:0})}:_,popperRef:pe,open:!!_&&Z,id:J,transition:!0,...ye,...Ee,popperOptions:xe,children:({TransitionProps:e})=>(0,p.jsx)(Pe,{timeout:I.transitions.duration.shorter,...e,...Te,children:(0,p.jsxs)(je,{...Ae,children:[R,r?(0,p.jsx)(Fe,{...Me}):null]})})})]})}),Ds=Ls;function zs(e){return Jr("MuiLink",e)}const Is=eo("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Bs=({theme:e,ownerState:t})=>{const n=t.color;if("colorSpace"in e&&e.colorSpace){const r=vt(e,`palette.${n}.main`)||vt(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}const r=vt(e,`palette.${n}.main`,!1)||vt(e,`palette.${n}`,!1)||t.color,o=vt(e,`palette.${n}.mainChannel`)||vt(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Nn(r,.4)},_s={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Vs=$r(So,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${x(n.underline)}`],"button"===n.component&&t.button]}})(Ur(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(go()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Is.focusVisible}`]:{outline:"auto"}}}]}))),$s=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiLink"}),r=Ni(),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:d="always",variant:f="inherit",sx:h,...m}=n,[v,b]=u().useState(!1),w={...n,color:i,component:a,focusVisible:v,underline:d,variant:f},S=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return y({root:["root",`underline${x(o)}`,"button"===n&&"button",r&&"focusVisible"]},zs,t)})(w);return(0,p.jsx)(Vs,{color:i,className:g(S.root,o),classes:c,component:a,onBlur:e=>{Lo(e.target)||b(!1),s&&s(e)},onFocus:e=>{Lo(e.target)&&b(!0),l&&l(e)},ref:t,ownerState:w,variant:f,...m,sx:[...void 0===_s[i]?[{color:i}]:[],...Array.isArray(h)?h:[h]],style:{...m.style,..."always"===d&&"inherit"!==i&&!_s[i]&&{"--Link-underlineColor":Bs({theme:r,ownerState:w})}}})}),Ws=$s;function Us(e){return Jr("MuiCircularProgress",e)}eo("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Hs=44,Ys=ri`
    7575  0% {
    7676    transform: rotate(0deg);
    … …  
    8080    transform: rotate(360deg);
    8181  }
    82 `,Vs=Es`
     82`,qs=ri`
    8383  0% {
    8484    stroke-dasharray: 1px, 200px;
    … …  
    9595    stroke-dashoffset: -126px;
    9696  }
    97 `,Ws="string"!=typeof Bs?Cs`
    98         animation: ${Bs} 1.4s linear infinite;
    99       `:null,Us="string"!=typeof Vs?Cs`
    100         animation: ${Vs} 1.4s ease-in-out infinite;
    101       `:null,Hs=Ur("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${S(n.color)}`]]}})(Kr(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Ws||{animation:`${Bs} 1.4s linear infinite`}},...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Ks=Ur("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Ys=Ur("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${S(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Kr(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Us||{animation:`${Vs} 1.4s ease-in-out infinite`}}]}))),qs=Ur("circle",{name:"MuiCircularProgress",slot:"Track"})(Kr(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Gs=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,enableTrackSlot:a=!1,size:s=40,style:l,thickness:u=3.6,value:d=0,variant:f="indeterminate",...p}=n,h={...n,color:o,disableShrink:i,size:s,thickness:u,value:d,variant:f,enableTrackSlot:a},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return b({root:["root",n,`color${S(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${S(n)}`,o&&"circleDisableShrink"]},Ds,t)})(h),g={},y={},x={};if("determinate"===f){const e=2*Math.PI*((Is-u)/2);g.strokeDasharray=e.toFixed(3),x["aria-valuenow"]=Math.round(d),g.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,c().jsx)(Hs,{className:v(m.root,r),style:{width:s,height:s,...y,...l},ownerState:h,ref:t,role:"progressbar",...x,...p,children:(0,c().jsxs)(Ks,{className:m.svg,ownerState:h,viewBox:"22 22 44 44",children:[a?(0,c().jsx)(qs,{className:m.track,ownerState:h,cx:Is,cy:Is,r:(Is-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,(0,c().jsx)(Ys,{className:m.circle,style:g,ownerState:h,cx:Is,cy:Is,r:(Is-u)/2,fill:"none",strokeWidth:u})]})})});function Xs(e){return to("MuiIconButton",e)}const Qs=no("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Zs=Ur(zs,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${S(n.color)}`],n.edge&&t[`edge${S(n.edge)}`],t[`size${S(n.size)}`]]}})(Kr(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Kr(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Qs.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Qs.loading}`]:{color:"transparent"}}))),Js=Ur("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),el=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:u="medium",id:d,loading:f=null,loadingIndicator:p,...h}=n,m=qa(d),g=p??(0,c().jsx)(Gs,{"aria-labelledby":m,color:"inherit",size:16}),y={...n,edge:r,color:a,disabled:s,disableFocusRipple:l,loading:f,loadingIndicator:g,size:u},x=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i,loading:a}=e;return b({root:["root",a&&"loading",n&&"disabled","default"!==r&&`color${S(r)}`,o&&`edge${S(o)}`,`size${S(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Xs,t)})(y);return(0,c().jsxs)(Zs,{id:f?m:d,className:v(x.root,i),centerRipple:!0,focusRipple:!l,disabled:s||f,ref:t,...h,ownerState:y,children:["boolean"==typeof f&&(0,c().jsx)("span",{className:x.loadingWrapper,style:{display:"contents"},children:(0,c().jsx)(Js,{className:x.loadingIndicator,ownerState:y,children:f&&g})}),o]})});const tl=d().createContext(null);function nl(){return d().useContext(tl)}const rl="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const ol=function(e){const{children:t,theme:n}=e,r=nl(),o=d().useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(r,n);return null!=e&&(e[rl]=null!==r),e},[n,r]);return(0,c().jsx)(tl.Provider,{value:o,children:t})};function il(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,c().jsx)(ks,{styles:r})}function al(e){const t=at(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const sl=function({styles:e,themeId:t,defaultTheme:n={}}){const r=po(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>al("function"==typeof e?e(o):e)):al(i)),(0,c().jsx)(il,{styles:i})};const ll={};function ul(e,t,n,r=!1){return d().useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}const cl=function(e){const{children:t,theme:n,themeId:r}=e,o=co(ll),i=nl()||ll,a=ul(r,o,n),s=ul(r,i,n,!0),l="rtl"===(r?a[r]:a).direction,u=function(e){const t=co(),n=Ya()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",hi(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const r=document.createElement("style");r.setAttribute("data-mui-layer-order",n),r.textContent=o,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[o,n]),o?(0,c().jsx)(sl,{styles:o}):null}(a);return(0,c().jsx)(ol,{theme:s,children:(0,c().jsx)(Ke.Provider,{value:a,children:(0,c().jsx)(Bo,{value:l,children:(0,c().jsxs)(Xr,{value:r?a[r].components:a.components,children:[u,t]})})})})};function dl({theme:e,...t}){const n=Br in e?e[Br]:void 0;return(0,c().jsx)(cl,{...t,themeId:n?Br:void 0,theme:n||e})}const fl="mode",pl="color-scheme",hl="data-color-scheme";function ml(){}const gl=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return ml;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function yl(){}function vl(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function bl(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function xl(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i="mode",colorSchemeStorageKey:a=pl,storageWindow:s=("undefined"==typeof window?void 0:window),storageManager:l=gl,noSsr:u=!1}=e,c=o.join(","),f=o.length>1,p=d().useMemo(()=>l?.({key:i,storageWindow:s}),[l,i,s]),h=d().useMemo(()=>l?.({key:`${a}-light`,storageWindow:s}),[l,a,s]),m=d().useMemo(()=>l?.({key:`${a}-dark`,storageWindow:s}),[l,a,s]),[g,y]=d().useState(()=>{const e=p?.get(t)||t,o=h?.get(n)||n,i=m?.get(r)||r;return{mode:e,systemMode:vl(e),lightColorScheme:o,darkColorScheme:i}}),[v,b]=d().useState(u||!f);d().useEffect(()=>{b(!0)},[]);const x=function(e){return bl(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),w=d().useCallback(e=>{y(n=>{if(e===n.mode)return n;const r=e??t;return p?.set(r),{...n,mode:r,systemMode:vl(r)}})},[p,t]),S=d().useCallback(e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const n={...t};return bl(t,t=>{"light"===t&&(h?.set(e),n.lightColorScheme=e),"dark"===t&&(m?.set(e),n.darkColorScheme=e)}),n}):y(t=>{const o={...t},i=null===e.light?n:e.light,a=null===e.dark?r:e.dark;return i&&(c.includes(i)?(o.lightColorScheme=i,h?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a&&(c.includes(a)?(o.darkColorScheme=a,m?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o}):y(e=>(h?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[c,h,m,n,r]),k=d().useCallback(e=>{"system"===g.mode&&y(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),C=d().useRef(k);return C.current=k,d().useEffect(()=>{if("function"!=typeof window.matchMedia||!f)return;const e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[f]),d().useEffect(()=>{if(f){const e=p?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||w(e||t)})||yl,n=h?.subscribe(e=>{e&&!c.match(e)||S({light:e})})||yl,r=m?.subscribe(e=>{e&&!c.match(e)||S({dark:e})})||yl;return()=>{e(),n(),r()}}},[S,w,c,t,s,f,p,h,m]),{...g,mode:v?g.mode:void 0,systemMode:v?g.systemMode:void 0,colorScheme:v?x:void 0,setMode:w,setColorScheme:S}}const wl={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const{CssVarsProvider:Sl,useColorScheme:kl,getInitColorSchemeScript:Cl}=function(e){const{themeId:t,theme:n={},modeStorageKey:r="mode",colorSchemeStorageKey:o=pl,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=d().createContext(void 0),f={},p={},h="string"==typeof a?a:a.light,m="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){const{children:l,theme:h,modeStorageKey:m=r,colorSchemeStorageKey:g=o,disableTransitionOnChange:y=i,storageManager:v,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:x=("undefined"==typeof document?void 0:document),colorSchemeNode:w=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:S=!1,disableStyleSheetGeneration:k=!1,defaultMode:C="system",forceThemeRerender:E=!1,noSsr:P}=e,T=d().useRef(!1),A=nl(),O=d().useContext(u),M=!!O&&!S,_=d().useMemo(()=>h||("function"==typeof n?n():n),[h]),j=_[t],R=j||_,{colorSchemes:N=f,components:L=p,cssVarPrefix:$}=R,F=Object.keys(N).filter(e=>!!N[e]).join(","),z=d().useMemo(()=>F.split(","),[F]),D="string"==typeof a?a:a.light,I="string"==typeof a?a:a.dark,B=N[D]&&N[I]?C:N[R.defaultColorScheme]?.palette?.mode||R.palette?.mode,{mode:V,setMode:W,systemMode:U,lightColorScheme:H,darkColorScheme:K,colorScheme:Y,setColorScheme:q}=xl({supportedColorSchemes:z,defaultLightColorScheme:D,defaultDarkColorScheme:I,modeStorageKey:m,colorSchemeStorageKey:g,defaultMode:B,storageManager:v,storageWindow:b,noSsr:P});let G=V,X=Y;M&&(G=O.mode,X=O.colorScheme);let Q=X||R.defaultColorScheme;R.vars&&!E&&(Q=R.defaultColorScheme);const Z=d().useMemo(()=>{const e=R.generateThemeVars?.()||R.vars,t={...R,components:L,colorSchemes:N,cssVarPrefix:$,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),Q){const e=N[Q];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[R,Q,L,N,$]),J=R.colorSchemeSelector;hi(()=>{if(X&&w&&J&&"media"!==J){const e=J;let t=J;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))w.classList.remove(...z.map(e=>t.substring(1).replace("%s",e))),w.classList.add(t.substring(1).replace("%s",X));else{const e=t.replace("%s",X).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||z.forEach(e=>{w.removeAttribute(t.replace(X,e))}),w.setAttribute(t,n?n.replace(/"|'/g,""):"")}else w.setAttribute(t,X)}}},[X,J,w,z]),d().useEffect(()=>{let e;if(y&&T.current&&x){const t=x.createElement("style");t.appendChild(x.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),x.head.appendChild(t),window.getComputedStyle(x.body),e=setTimeout(()=>{x.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[X,y,x]),d().useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);const ee=d().useMemo(()=>({allColorSchemes:z,colorScheme:X,darkColorScheme:K,lightColorScheme:H,mode:G,setColorScheme:q,setMode:W,systemMode:U}),[z,X,K,H,G,q,W,U,Z.colorSchemeSelector]);let te=!0;(k||!1===R.cssVariables||M&&A?.cssVarPrefix===$)&&(te=!1);const ne=(0,c().jsxs)(d().Fragment,{children:[(0,c().jsx)(cl,{themeId:j?t:void 0,theme:Z,children:l}),te&&(0,c().jsx)(il,{styles:Z.generateStyleSheets?.()||[]})]});return M?ne:(0,c().jsx)(u.Provider,{value:ee,children:ne})},useColorScheme:()=>d().useContext(u)||l,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=fl,colorSchemeStorageKey:i=pl,attribute:a=hl,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let u="",d=a;if("class"===a&&(d=".%s"),"data"===a&&(d="[data-%s]"),d.startsWith(".")){const e=d.substring(1);u+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n      ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const f=d.match(/\[([^[\]]+)\]/);if(f){const[e,t]=f[1].split("=");t||(u+=`${s}.removeAttribute('${e}'.replace('%s', light));\n      ${s}.removeAttribute('${e}'.replace('%s', dark));`),u+=`\n      ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==d&&(u+=`${s}.setAttribute('${d}', colorScheme);`);return(0,c().jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n  let colorScheme = '';\n  const mode = localStorage.getItem('${o}') || '${t}';\n  const dark = localStorage.getItem('${i}-dark') || '${r}';\n  const light = localStorage.getItem('${i}-light') || '${n}';\n  if (mode === 'system') {\n    // handle system mode\n    const mql = window.matchMedia('(prefers-color-scheme: dark)');\n    if (mql.matches) {\n      colorScheme = dark\n    } else {\n      colorScheme = light\n    }\n  }\n  if (mode === 'light') {\n    colorScheme = light;\n  }\n  if (mode === 'dark') {\n    colorScheme = dark;\n  }\n  if (colorScheme) {\n    ${u}\n  }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:o,defaultLightColorScheme:h,defaultDarkColorScheme:m,modeStorageKey:r,...e})}}({themeId:Br,theme:()=>Dr({cssVariables:!0}),colorSchemeStorageKey:wl.colorSchemeStorageKey,modeStorageKey:wl.modeStorageKey,defaultColorScheme:{light:wl.defaultLightColorScheme,dark:wl.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:fr(e.palette,e.typography)};return t.unstable_sx=function(e){return gn({sx:e,theme:this})},t}});const El=Sl;function Pl({theme:e,...t}){const n=d().useMemo(()=>{if("function"==typeof e)return e;const t=Br in e?e[Br]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,c().jsx)(dl,{theme:n,...t}):(0,c().jsx)(El,{theme:e,...t})}const Tl=so((0,c().jsx)("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"})),Al=so((0,c().jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function Ol(e){return to("MuiChip",e)}const Ml=no("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),_l=Ur("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${Ml.avatar}`]:t.avatar},{[`& .${Ml.avatar}`]:t[`avatar${S(s)}`]},{[`& .${Ml.avatar}`]:t[`avatarColor${S(r)}`]},{[`& .${Ml.icon}`]:t.icon},{[`& .${Ml.icon}`]:t[`icon${S(s)}`]},{[`& .${Ml.icon}`]:t[`iconColor${S(o)}`]},{[`& .${Ml.deleteIcon}`]:t.deleteIcon},{[`& .${Ml.deleteIcon}`]:t[`deleteIcon${S(s)}`]},{[`& .${Ml.deleteIcon}`]:t[`deleteIconColor${S(r)}`]},{[`& .${Ml.deleteIcon}`]:t[`deleteIcon${S(l)}Color${S(r)}`]},t.root,t[`size${S(s)}`],t[`color${S(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${S(r)}`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${S(r)}`],t[l],t[`${l}${S(r)}`]]}})(Kr(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ml.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ml.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Ml.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ml.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ml.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ml.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Ml.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Ml.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Ml.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(vo(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${Ml.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${Ml.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${Ml.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Ml.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(vo(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${Ml.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${Ml.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(vo(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${Ml.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ml.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ml.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ml.avatar}`]:{marginLeft:4},[`& .${Ml.avatarSmall}`]:{marginLeft:2},[`& .${Ml.icon}`]:{marginLeft:4},[`& .${Ml.iconSmall}`]:{marginLeft:2},[`& .${Ml.deleteIcon}`]:{marginRight:5},[`& .${Ml.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${Ml.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Ml.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Ml.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),jl=Ur("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${S(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Rl(e){return"Backspace"===e.key||"Delete"===e.key}const Nl=d().forwardRef(function(e,t){const n=Qr({props:e,name:"MuiChip"}),{avatar:r,className:o,clickable:i,color:a="default",component:s,deleteIcon:l,disabled:u=!1,icon:f,label:p,onClick:h,onDelete:m,onKeyDown:g,onKeyUp:y,size:x="medium",variant:w="filled",tabIndex:k,skipFocusWhenDisabled:C=!1,slots:E={},slotProps:P={},...T}=n,A=d().useRef(null),O=si(A,t),M=e=>{e.stopPropagation(),m(e)},_=!(!1===i||!h)||i,j=_||m?zs:s||"div",R={...n,component:j,disabled:u,size:x,color:a,iconColor:d().isValidElement(f)&&f.props.color||a,onDelete:!!m,clickable:_,variant:w},N=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e;return b({root:["root",l,n&&"disabled",`size${S(r)}`,`color${S(o)}`,s&&"clickable",s&&`clickableColor${S(o)}`,a&&"deletable",a&&`deletableColor${S(o)}`,`${l}${S(o)}`],label:["label",`label${S(r)}`],avatar:["avatar",`avatar${S(r)}`,`avatarColor${S(o)}`],icon:["icon",`icon${S(r)}`,`iconColor${S(i)}`],deleteIcon:["deleteIcon",`deleteIcon${S(r)}`,`deleteIconColor${S(o)}`,`deleteIcon${S(l)}Color${S(o)}`]},Ol,t)})(R),L=j===zs?{component:s||"div",focusVisibleClassName:N.focusVisible,...m&&{disableRipple:!0}}:{};let $=null;m&&($=l&&d().isValidElement(l)?d().cloneElement(l,{className:v(l.props.className,N.deleteIcon),onClick:M}):(0,c().jsx)(Al,{className:N.deleteIcon,onClick:M}));let F=null;r&&d().isValidElement(r)&&(F=d().cloneElement(r,{className:v(N.avatar,r.props.className)}));let z=null;f&&d().isValidElement(f)&&(z=d().cloneElement(f,{className:v(N.icon,f.props.className)}));const D={slots:E,slotProps:P},[I,B]=Xa("root",{elementType:_l,externalForwardedProps:{...D,...T},ownerState:R,shouldForwardComponentProp:!0,ref:O,className:v(N.root,o),additionalProps:{disabled:!(!_||!u)||void 0,tabIndex:C&&u?-1:k,...L},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),h?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&Rl(e)&&e.preventDefault(),g&&g(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&m&&Rl(e)&&m(e),y&&y(e)})(t)}})}),[V,W]=Xa("label",{elementType:jl,externalForwardedProps:D,ownerState:R,className:N.label});return(0,c().jsxs)(I,{as:j,...B,children:[F||z,(0,c().jsx)(V,{...W,children:p}),$]})});function Ll(e){return to("MuiButton",e)}const $l=no("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);const Fl=d().createContext({});const zl=d().createContext(void 0),Dl=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Il=Ur(zs,{shouldForwardProp:e=>Wr(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${S(n.color)}`],t[`size${S(n.size)}`],t[`${n.variant}Size${S(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Kr(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${$l.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&"start"===e.loadingPosition,style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${$l.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${$l.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${$l.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(vo()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$l.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$l.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${$l.loading}`]:{color:"transparent"}}}]}})),Bl=Ur("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${S(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Dl]})),Vl=Ur("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${S(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Dl]})),Wl=Ur("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Ul=Ur("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Hl=d().forwardRef(function(e,t){const n=d().useContext(Fl),r=d().useContext(zl),o=Qr({props:Yr(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:u=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,id:y,loading:x=null,loadingIndicator:w,loadingPosition:k="center",size:C="medium",startIcon:E,type:P,variant:T="text",...A}=o,O=qa(y),M=w??(0,c().jsx)(Gs,{"aria-labelledby":O,color:"inherit",size:16}),_={...o,color:a,component:s,disabled:u,disableElevation:f,disableFocusRipple:p,fullWidth:g,loading:x,loadingIndicator:M,loadingPosition:k,size:C,type:P,variant:T},j=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:s,classes:l}=e,u=b({root:["root",a&&"loading",i,`${i}${S(t)}`,`size${S(o)}`,`${i}Size${S(o)}`,`color${S(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${S(s)}`],startIcon:["icon","startIcon",`iconSize${S(o)}`],endIcon:["icon","endIcon",`iconSize${S(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Ll,l);return{...l,...u}})(_),R=(E||x&&"start"===k)&&(0,c().jsx)(Bl,{className:j.startIcon,ownerState:_,children:E||(0,c().jsx)(Ul,{className:j.loadingIconPlaceholder,ownerState:_})}),N=(h||x&&"end"===k)&&(0,c().jsx)(Vl,{className:j.endIcon,ownerState:_,children:h||(0,c().jsx)(Ul,{className:j.loadingIconPlaceholder,ownerState:_})}),L=r||"",$="boolean"==typeof x?(0,c().jsx)("span",{className:j.loadingWrapper,style:{display:"contents"},children:x&&(0,c().jsx)(Wl,{className:j.loadingIndicator,ownerState:_,children:M})}):null,{root:F,...z}=j;return(0,c().jsxs)(Il,{ownerState:_,className:v(n.className,j.root,l,L),component:s,disabled:u||x,focusRipple:!p,focusVisibleClassName:v(j.focusVisible,m),ref:t,type:P,id:x?O:y,...A,classes:z,children:[R,"end"!==k&&$,i,"end"===k&&$,N]})}),Kl={title:"Reinvent WP Apps",summary:"%1$d of %2$d apps active on this site.",your_apps:"Your apps",more_apps:"More from Reinvent WP",open:"Open",activate:"Activate",install:"Install",refresh_hint:"Get the latest list of apps now",catalog_hint:"See every Reinvent WP plugin on reinventwp.com",coming_soon:"Coming soon",ask:"Describe a problem with your site…",ask_title:"Reinvent WP Assistant",ask_intro:"Tell me what's wrong with your site, and I'll suggest the Reinvent WP app that fixes it.",ask_notice:"Your message, any screenshot or file you attach and the list of Reinvent WP apps on this site are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_notice_website:"Your message and any screenshot or file you attach are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_send:"Send",ask_new:"New chat",ask_new_title:"Start a new chat?",ask_new_text:"This clears the current conversation. It can't be brought back.",ask_cancel:"Cancel",ask_close:"Close",ask_minimize:"Minimize the assistant to an icon",ask_launcher:"Ask the Reinvent WP Assistant",ask_restore:"Show the ask field again",ask_thinking:"Thinking…",ask_step_image:"Reading your screenshot…",ask_step_file:"Reading your log file…",ask_step_search:"Searching reinventwp.com…",ask_step_docs:"Reading the plugin docs…",ask_step_site:"Checking the plugins on your site…",ask_step_write:"Writing the answer…",ask_step_almost:"Almost there…",ask_error:"The assistant couldn't answer. Please try again.",ask_sources:"Read more on reinventwp.com",ask_search_one:"%d search",ask_search_many:"%d searches",ask_section_one:"%d section read",ask_section_many:"%d sections read",ask_your_question:"Your question",ask_attach:"Attach a screenshot or a log file",ask_remove_image:"Remove image",ask_view_image:"View full size",ask_copy:"Copy code",ask_copy_message:"Copy message",feedback_title:"Send feedback to the Reinvent WP team",feedback_email:"Your email",feedback_website:"Your website",feedback_message:"Your feedback",feedback_send:"Send feedback",feedback_sending:"Sending…",feedback_sent:"Thanks! Your feedback was sent to the Reinvent WP team.",feedback_error:"We couldn't send your feedback. Please try again.",feedback_check:"Enter your email, your website and a message.",feedback_notice:"Your email, website and message are sent to Reinvent WP.",ask_copied:"Copied",ask_copy_failed:"Couldn't copy: press Ctrl+C or ⌘+C",ask_image_error:"Couldn't attach that file. Use a screenshot (PNG, JPEG, WebP, GIF) or a text file (.log, .txt, .json, .csv, .md).",ask_file_limit:"You can attach one text file per question.",ask_file_lines:"%d lines",ask_file_newest:"newest %d lines",ask_file_masked:"%d private values hidden",ask_view_file:"See what will be sent",ask_file_note:"Only this text is sent: the newest part of the file, with emails, IP addresses, passwords and keys replaced by [hidden].",ask_image_limit:"You can attach up to 2 images.",ask_settings:"%s settings",go_to:"Go to %s",ask_nothing_new:"Only sections already read",ask_nothing_found:"Nothing found"};const Yl={action:function(e){return"active"===e.state&&e.open_url?{href:e.open_url,label:Kl.open,variant:"contained",install:!1}:"inactive"===e.state&&e.activate_url?{href:e.activate_url,label:Kl.activate,variant:"outlined",install:!1}:"missing"===e.state&&e.install_url&&!e.coming_soon?{href:e.install_url,label:Kl.install,variant:"outlined",install:!0}:null},group:function(e){return{installed:e.filter(e=>"missing"!==e.state),more:e.filter(e=>"missing"===e.state)}},summary:function(e,t){const n=t.filter(e=>"active"===e.state).length,r=t.filter(e=>"missing"!==e.state).length;return e.replace("%1$d",String(n)).replace("%2$d",String(r))},settingUrl:function(e,t){if("active"!==e.state||!e.open_url)return"";const n=e.open_url.includes("?")?"&":"?";return`${e.open_url}${n}path=${encodeURIComponent(t)}&spotlight=1`}},ql=Yl,Gl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xl=(()=>new Set([...Gl,"pathRotation"]))(),Ql=(e,t,n)=>n>t?t:n<e?e:n,Zl={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Jl={...Zl,transform:e=>Ql(0,1,e)},eu={...Zl,default:1},tu=e=>Math.round(1e5*e)/1e5,nu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const ru=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ou=(e,t)=>n=>Boolean("string"==typeof n&&ru.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),iu=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[o,i,a,s]=r.match(nu);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},au={...Zl,transform:e=>Math.round((e=>Ql(0,255,e))(e))},su={test:ou("rgb","red"),parse:iu("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+au.transform(e)+", "+au.transform(t)+", "+au.transform(n)+", "+tu(Jl.transform(r))+")"};const lu={test:ou("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:su.transform},uu=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),cu=uu("deg"),du=uu("%"),fu=uu("px"),pu=uu("vh"),hu=uu("vw"),mu=(()=>({...du,parse:e=>du.parse(e)/100,transform:e=>du.transform(100*e)}))(),gu={test:ou("hsl","hue"),parse:iu("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+du.transform(tu(t))+", "+du.transform(tu(n))+", "+tu(Jl.transform(r))+")"},yu={test:e=>su.test(e)||lu.test(e)||gu.test(e),parse:e=>su.test(e)?su.parse(e):gu.test(e)?gu.parse(e):lu.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?su.transform(e):gu.transform(e),getAnimatableNone:e=>{const t=yu.parse(e);return t.alpha=0,yu.transform(t)}},vu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const bu="number",xu="color",wu=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Su(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(wu,e=>(yu.test(e)?(r.color.push(i),o.push(xu),n.push(yu.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(bu),n.push(parseFloat(e))),++i,"${}")).split("${}");return{values:n,split:a,indexes:r,types:o}}function ku({split:e,types:t}){const n=e.length;return r=>{let o="";for(let i=0;i<n;i++)if(o+=e[i],void 0!==r[i]){const e=t[i];o+=e===bu?tu(r[i]):e===xu?yu.transform(r[i]):r[i]}return o}}const Cu=(e,t)=>{return"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof(n=e)?0:yu.test(n)?yu.getAnimatableNone(n):n;var n};const Eu={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(nu)?.length||0)+(e.match(vu)?.length||0)>0},parse:function(e){return Su(e).values},createTransformer:function(e){return ku(Su(e))},getAnimatableNone:function(e){const t=Su(e);return ku(t)(t.values.map((e,n)=>Cu(e,t.split[n])))}},Pu=new Set(["brightness","contrast","saturate","opacity"]);function Tu(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(nu)||[];if(!r)return e;const o=n.replace(r,"");let i=Pu.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Au=/\b([a-z-]*)\(.*?\)/gu,Ou={...Eu,getAnimatableNone:e=>{const t=e.match(Au);return t?t.map(Tu).join(" "):e}},Mu={...Eu,getAnimatableNone:e=>{const t=Eu.parse(e);return Eu.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},_u={...Zl,transform:Math.round},ju={borderWidth:fu,borderTopWidth:fu,borderRightWidth:fu,borderBottomWidth:fu,borderLeftWidth:fu,borderRadius:fu,borderTopLeftRadius:fu,borderTopRightRadius:fu,borderBottomRightRadius:fu,borderBottomLeftRadius:fu,width:fu,maxWidth:fu,height:fu,maxHeight:fu,top:fu,right:fu,bottom:fu,left:fu,inset:fu,insetBlock:fu,insetBlockStart:fu,insetBlockEnd:fu,insetInline:fu,insetInlineStart:fu,insetInlineEnd:fu,padding:fu,paddingTop:fu,paddingRight:fu,paddingBottom:fu,paddingLeft:fu,paddingBlock:fu,paddingBlockStart:fu,paddingBlockEnd:fu,paddingInline:fu,paddingInlineStart:fu,paddingInlineEnd:fu,margin:fu,marginTop:fu,marginRight:fu,marginBottom:fu,marginLeft:fu,marginBlock:fu,marginBlockStart:fu,marginBlockEnd:fu,marginInline:fu,marginInlineStart:fu,marginInlineEnd:fu,fontSize:fu,backgroundPositionX:fu,backgroundPositionY:fu,...{rotate:cu,pathRotation:cu,rotateX:cu,rotateY:cu,rotateZ:cu,scale:eu,scaleX:eu,scaleY:eu,scaleZ:eu,skew:cu,skewX:cu,skewY:cu,distance:fu,translateX:fu,translateY:fu,translateZ:fu,x:fu,y:fu,z:fu,perspective:fu,transformPerspective:fu,opacity:Jl,originX:mu,originY:mu,originZ:fu},zIndex:_u,fillOpacity:Jl,strokeOpacity:Jl,numOctaves:_u},Ru={...ju,color:yu,backgroundColor:yu,outlineColor:yu,fill:yu,stroke:yu,borderColor:yu,borderTopColor:yu,borderRightColor:yu,borderBottomColor:yu,borderLeftColor:yu,filter:Ou,WebkitFilter:Ou,mask:Mu,WebkitMask:Mu},Nu=e=>Ru[e],Lu=()=>({x:{min:0,max:0},y:{min:0,max:0}}),$u=e=>Boolean(e&&e.getVelocity),Fu=new Set(["width","height","top","left","right","bottom",...Gl]),zu=e=>t=>t.test(e),Du=[Zl,fu,du,cu,hu,pu,{test:e=>"auto"===e,parse:e=>e}],Iu=e=>Du.find(zu(e));const Bu=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Vu=e=>t=>"string"==typeof t&&t.startsWith(e),Wu=Vu("--"),Uu=Vu("var(--"),Hu=e=>!!Uu(e)&&Ku.test(e.split("/*")[0].trim()),Ku=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Yu(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const qu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Gu(e,t,n=1){const[r,o]=function(e){const t=qu.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return Bu(e)?parseFloat(e):e}return Hu(o)?Gu(o,t,n+1):o}const Xu=e=>180*e/Math.PI,Qu=e=>{const t=Xu(Math.atan2(e[1],e[0]));return Ju(t)},Zu={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Qu,rotateZ:Qu,skewX:e=>Xu(Math.atan(e[1])),skewY:e=>Xu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ju=e=>((e%=360)<0&&(e+=360),e),ec=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tc=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nc={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ec,scaleY:tc,scale:e=>(ec(e)+tc(e))/2,rotateX:e=>Ju(Xu(Math.atan2(e[6],e[5]))),rotateY:e=>Ju(Xu(Math.atan2(-e[2],e[0]))),rotateZ:Qu,rotate:Qu,skewX:e=>Xu(Math.atan(e[4])),skewY:e=>Xu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function rc(e){return e.includes("scale")?1:0}function oc(e,t){if(!e||"none"===e)return rc(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=nc,o=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Zu,o=t}if(!o)return rc(t);const i=r[t],a=o[1].split(",").map(ic);return"function"==typeof i?i(a):a[i]}function ic(e){return parseFloat(e.trim())}const ac=e=>e===Zl||e===fu,sc=new Set(["x","y","z"]),lc=Gl.filter(e=>!sc.has(e));const uc={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return"border-box"===r?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return"border-box"===r?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>oc(t,"x"),y:(e,{transform:t})=>oc(t,"y")};uc.translateX=uc.x,uc.translateY=uc.y;const cc=e=>e,dc={},fc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function pc(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=fc.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:(e,o=!1,a=!1)=>{const s=a&&r?t:n;return o&&i.add(e),s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(a=e,r)return void(o=!0);r=!0;const i=t;t=n,n=i,t.forEach(s),t.clear(),r=!1,o&&(o=!1,l.process(e))}};return l}(i),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:h}=a,m=()=>{const i=dc.useManualTiming,a=i?o.timestamp:performance.now();n=!1,i||(o.delta=r?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,s.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),p.process(o),h.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:fc.reduce((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(m)),s.schedule(t,i,a)),t},{}),cancel:e=>{for(let t=0;t<fc.length;t++)a[fc[t]].cancel(e)},state:o,steps:a}}const{schedule:hc,cancel:mc,state:gc,steps:yc}=pc("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:cc,!0),vc=new Set;let bc=!1,xc=!1,wc=!1;function Sc(){if(xc){const e=Array.from(vc).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=function(e){const t=[];return lc.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}xc=!1,bc=!1,vc.forEach(e=>e.complete(wc)),vc.clear()}function kc(){vc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(xc=!0)})}class Cc{constructor(e,t,n,r,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(vc.add(this),bc||(bc=!0,hc.read(kc),hc.resolveKeyframes(Sc))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const o=r?.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),vc.delete(this)}cancel(){"scheduled"===this.state&&(vc.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const Ec=e=>/^0[^.\s]+$/u.test(e);function Pc(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||Ec(e))}const Tc=new Set([Ou,Mu]);function Ac(e,t){let n=Nu(e);return Tc.has(n)||(n=Eu),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Oc=new Set(["auto","none","0"]);class Mc extends Cc{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),Hu(r))){const o=Gu(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Fu.has(n)||2!==e.length)return;const[r,o]=e,i=Iu(r),a=Iu(o);if(Yu(r)!==Yu(o)&&uc[n])this.needsMeasurement=!0;else if(i!==a)if(ac(i)&&ac(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else uc[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||Pc(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"==typeof t&&!Oc.has(t)&&Su(t).values.length&&(r=e[o]),o++}if(r&&n)for(const o of t)e[o]=Ac(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=uc[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);const o=n.length-1,i=n[o];n[o]=uc[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}const _c=e=>1e3*e,jc=e=>e/1e3;function Rc(e,t){-1===e.indexOf(t)&&e.push(t)}function Nc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Lc{constructor(){this.subscriptions=[]}add(e){return Rc(this.subscriptions,e),()=>Nc(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function $c(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}function Fc(e){let t;return()=>(void 0===t&&(t=e()),t)}const zc={};function Dc(e,t){const n=Fc(e);return()=>zc[t]??n()}const Ic=Dc(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),Bc=e=>null!==e;function Vc(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(Bc),a=o<0||t&&"loop"!==n&&t%2==1?0:i.length-1;return a&&void 0!==r?r:i[a]}class Wc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const Uc=e=>Array.isArray(e)&&"number"==typeof e[0],Hc=Dc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),Kc=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let t=0;t<o;t++)r+=Math.round(1e4*e(t/(o-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Yc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,qc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Yc([0,.65,.55,1]),circOut:Yc([.55,0,1,.45]),backIn:Yc([.31,.01,.66,-.59]),backOut:Yc([.33,1.53,.69,.99])};function Gc(e,t){return e?"function"==typeof e?Hc()?Kc(e,t):"ease-out":Uc(e)?Yc(e):Array.isArray(e)?e.map(e=>Gc(e,t)||qc.easeOut):qc[e]:void 0}function Xc(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Gc(s,o);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function Qc(e){return"function"==typeof e&&"applyToOptions"in e}class Zc extends Wc{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=Boolean(o),this.allowFlatten=i,this.options=e,e.type;const l=function({type:e,...t}){return Qc(e)&&Hc()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=Xc(t,n,r,l,o),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const e=Vc(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),$c(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return jc(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+jc(e)}get time(){return jc(Number(this.animation.currentTime)||0)}set time(e){const t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_c(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Ic()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),cc):r(this)}}const Jc=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:ed,cancel:td}=pc(queueMicrotask,!1);let nd;function rd(){nd=void 0}const od={now:()=>(void 0===nd&&od.set(gc.isProcessing||dc.useManualTiming?gc.timestamp:performance.now()),nd),set:e=>{nd=e,queueMicrotask(rd)}},id=(e,t)=>t?e*(1e3/t):0,ad={current:void 0};class sd{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=od.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=od.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Lc);const n=this.events[e].add(t);return"change"===e?()=>{n(),hc.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return ad.current&&ad.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=od.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return id(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ld(e,t){return new sd(e,t)}const ud=[...Du,yu,Eu],cd=new WeakMap;function dd(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function fd(e){return"string"==typeof e||Array.isArray(e)}const pd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hd=["initial",...pd];function md(e){return dd(e.animate)||hd.some(t=>fd(e[t]))}function gd(e){return Boolean(md(e)||e.variants)}const yd={current:null},vd={current:!1},bd="undefined"!=typeof window;function xd(){if(vd.current=!0,bd)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yd.current=e.matches;e.addEventListener("change",t),t()}else yd.current=!1}function wd(e){const t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Sd(e,t,n,r){if("function"==typeof t){const[o,i]=wd(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=wd(r);t=t(void 0!==n?n:e.custom,o,i)}return t}const kd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Cd={};function Ed(e){Cd=e}class Pd{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:o,blockInitialAnimation:i,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Cc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=od.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,hc.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=o,this.options=s,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=md(t),this.isVariantNode=gd(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&$u(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(const e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,cd.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(vd.current||xd(),this.shouldReduceMotion=yd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),mc(this.notifyUpdate),mc(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Jc.has(e)&&this.current instanceof HTMLElement){const{factory:n,keyframes:r,times:o,ease:i,duration:a}=t.accelerate,s=new Zc({element:this.current,name:e,keyframes:r,times:o,ease:i,duration:_c(a)}),l=n(s);return void this.valueSubscriptions.set(e,()=>{l(),s.cancel()})}const n=Xl.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&hc.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),o&&o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Cd){const t=Cd[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<kd.length;t++){const n=kd[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if($u(o))e.addValue(r,o);else if($u(i))e.addValue(r,ld(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,ld(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=ld(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=n&&("string"==typeof n&&(Bu(n)||Ec(n))?n=parseFloat(n):(r=n,!ud.find(zu(r))&&Eu.test(t)&&(n=Ac(e,t))),this.setBaseTarget(e,$u(n)?n.get():n)),$u(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){const r=Sd(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||$u(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Lc),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){ed.render(this.render)}}class Td extends Pd{constructor(){super(...arguments),this.KeyframeResolver=Mc}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){const n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;$u(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function Ad(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const Od=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Md={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_d=Gl.length;function jd(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const n=t[e];if(Xl.has(e))a=!0;else if(Wu(e))o[e]=n;else{const t=Od(n,ju[e]);e.startsWith("origin")?(s=!0,i[e]=t):r[e]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<_d;i++){const a=Gl[i],s=e[a];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===(a.startsWith("scale")?1:0);else{const e=parseFloat(s);l=a.startsWith("scale")?1===e:0===e}if(!l||n){const e=Od(s,ju[a]);l||(o=!1,r+=`${Md[a]||a}(${e}) `),n&&(t[a]=e)}}const i=e.pathRotation;return i&&(o=!1,r+=`rotate(${Od(i,ju.pathRotation)}) `),r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}const Rd={offset:"stroke-dashoffset",array:"stroke-dasharray"},Nd={offset:"strokeDashoffset",array:"strokeDasharray"};const Ld=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $d(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:a=0,...s},l,u,c){if(jd(e,s,u),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=c?.transformBox??"fill-box",delete d.transformBox);for(const e of Ld)void 0!==d[e]&&(f[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==o&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Rd:Nd;e[i.offset]=""+-r,e[i.array]=`${t} ${n}`}(d,o,i,a,!1)}const Fd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),zd=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Dd(e,{style:t,vars:n},r,o){const i=e.style;let a;for(a in t)i[a]=t[a];for(a in o?.applyProjectionStyles(i,r),n)i.setProperty(a,n[a])}const Id=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Bd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Vd={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!fu.test(e))return e;e=parseFloat(e)}return`${Bd(e,t.target.x)}% ${Bd(e,t.target.y)}%`}},Wd=(e,t,n)=>e+(t-e)*n,Ud={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Eu.parse(e);if(o.length>5)return r;const i=Eu.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const u=Wd(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=u),"number"==typeof o[3+a]&&(o[3+a]/=u),i(o)}};const Hd={borderRadius:{...Vd,applyTo:[...Id]},borderTopLeftRadius:Vd,borderTopRightRadius:Vd,borderBottomLeftRadius:Vd,borderBottomRightRadius:Vd,boxShadow:Ud};function Kd(e,{layout:t,layoutId:n}){return Xl.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Hd[e]||"opacity"===e)}function Yd(e,t,n){const r=e.style,o=t?.style,i={};if(!r)return i;for(const t in r)($u(r[t])||o&&$u(o[t])||Kd(t,e)||void 0!==n?.getValue(t)?.liveStyle)&&(i[t]=r[t]);return i}function qd(e,t,n){const r=Yd(e,t,n);for(const n in e)if($u(e[n])||$u(t[n])){r[-1!==Gl.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}class Gd extends Td{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Lu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xl.has(t)){const e=Nu(t);return e&&e.default||0}return t=Fd.has(t)?t:Ad(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return qd(e,t,n)}build(e,t,n){$d(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){Dd(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Fd.has(n)?n:Ad(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=zd(e.tagName),super.mount(e)}}function Xd({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Qd(e){return void 0===e||1===e}function Zd({scale:e,scaleX:t,scaleY:n}){return!Qd(e)||!Qd(t)||!Qd(n)}function Jd(e){return Zd(e)||ef(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ef(e){return tf(e.x)||tf(e.y)}function tf(e){return e&&"0%"!==e}function nf(e,t,n){return n+t*(e-n)}function rf(e,t,n,r,o){return void 0!==o&&(e=nf(e,o,r)),nf(e,n,r)+t}function of(e,t=0,n=1,r,o){e.min=rf(e.min,t,n,r,o),e.max=rf(e.max,t,n,r,o)}function af(e,{x:t,y:n}){of(e.x,t.translate,t.scale,t.originPoint),of(e.y,n.translate,n.scale,n.originPoint)}const sf=.999999999999,lf=1.0000000000001;function uf(e,t){e.min+=t,e.max+=t}function cf(e,t,n,r,o=.5){of(e,t,n,Wd(e.min,e.max,o),r)}function df(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function ff(e,t,n){const r=n??e;cf(e.x,df(t.x,r.x),t.scaleX,t.scale,t.originX),cf(e.y,df(t.y,r.y),t.scaleY,t.scale,t.originY)}function pf(e,t){return Xd(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class hf extends Td{constructor(){super(...arguments),this.type="html",this.renderInstance=Dd}mount(e){Boolean(e.style),super.mount(e)}readValueFromInstance(e,t){if(Xl.has(t))return this.projection?.isProjecting?rc(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return oc(n,t)})(e,t);{const r=(n=e,window.getComputedStyle(n)),o=(Wu(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return pf(e,t)}build(e,t,n){jd(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Yd(e,t,n)}}const mf=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function gf(e){return"string"==typeof e&&!e.includes("-")&&!!(mf.indexOf(e)>-1||/[A-Z]/u.test(e))}const yf=(e,t)=>t.isSVG??gf(e)?new Gd(t):new hf(t,{allowProjection:e!==d().Fragment}),vf=(0,d().createContext)({}),bf=(0,d().createContext)({strict:!1}),xf=(0,d().createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),wf=(0,d().createContext)({});function Sf(e){const{initial:t,animate:n}=function(e,t){if(md(e)){const{initial:t,animate:n}=e;return{initial:!1===t||fd(t)?t:void 0,animate:fd(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,d().useContext)(wf));return(0,d().useMemo)(()=>({initial:t,animate:n}),[kf(t),kf(n)])}function kf(e){return Array.isArray(e)?e.join(" "):e}const Cf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ef(e,t,n){for(const r in t)$u(t[r])||Kd(r,n)||(e[r]=t[r])}function Pf(e,t){const n={};return Ef(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,d().useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return jd(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function Tf(e,t){const n={},r=Pf(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Af=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function Of(e,t,n,r){const o=(0,d().useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return $d(n,t,zd(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Ef(t,e.style,e),o.style={...t,...o.style}}return o}const Mf=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function _f(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Mf.has(e)}let jf=e=>!_f(e);try{"function"==typeof(Rf=require("@emotion/is-prop-valid").default)&&(jf=e=>e.startsWith("on")?!_f(e):Rf(e))}catch{}var Rf;function Nf(e,t,n,{latestValues:r},o,i=!1,a){const s=(a??gf(e)?Of:Tf)(t,r,o,e),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||$u(e[o])||(jf(o)||!0===n&&_f(o)||!t&&!_f(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(t,"string"==typeof e,i),u=e!==d().Fragment?{...l,...s,ref:n}:{},{children:c}=t,f=(0,d().useMemo)(()=>$u(c)?c.get():c,[c]);return(0,d().createElement)(e,{...u,children:f})}function Lf(e){return $u(e)?e.get():e}const $f=(0,d().createContext)(null);function Ff(e){const t=(0,d().useRef)(null);return null===t.current&&(t.current=e()),t.current}function zf(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Lf(i[e]);let{initial:a,animate:s}=e;const l=md(e),u=gd(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!n&&!1===n.initial;c=c||!1===a;const d=c?s:a;if(d&&"boolean"!=typeof d&&!dd(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=Sd(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[c?t.length-1:0]}null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const Df=e=>(t,n)=>{const r=(0,d().useContext)(wf),o=(0,d().useContext)($f),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:zf(n,r,o,e),renderState:t()}}(e,t,r,o);return n?i():Ff(i)},If=Df({scrapeMotionValuesFromProps:Yd,createRenderState:Cf}),Bf=Df({scrapeMotionValuesFromProps:qd,createRenderState:Af}),Vf={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Wf=!1;function Uf(){return function(){if(Wf)return;const e={};for(const t in Vf)e[t]={isEnabled:e=>Vf[t].some(t=>!!e[t])};Ed(e),Wf=!0}(),Cd}const Hf=Symbol.for("motionComponentSymbol");function Kf(e,t,n){const r=(0,d().useRef)(n);(0,d().useInsertionEffect)(()=>{r.current=n});const o=(0,d().useRef)(null);return(0,d().useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());const i=r.current;if("function"==typeof i)if(n){const e=i(n);"function"==typeof e&&(o.current=e)}else o.current?(o.current(),o.current=null):i(n);else i&&(i.current=n)},[t])}const Yf="data-"+Ad("framerAppearId"),qf=(0,d().createContext)({});function Gf(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const Xf="undefined"!=typeof window?d().useLayoutEffect:d().useEffect;function Qf(e,t,n,r,o,i){const{visualElement:a}=(0,d().useContext)(wf),s=(0,d().useContext)(bf),l=(0,d().useContext)($f),u=(0,d().useContext)(xf),c=u.reducedMotion,f=u.skipAnimations,p=(0,d().useRef)(null),h=(0,d().useRef)(!1);r=r||s.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:f,isSVG:i}),h.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const m=p.current,g=(0,d().useContext)(qf);!m||m.projection||!o||"html"!==m.type&&"svg"!==m.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Zf(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(a)||s&&Gf(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(p.current,n,o,g);const y=(0,d().useRef)(!1);(0,d().useInsertionEffect)(()=>{m&&y.current&&m.update(n,l)});const v=n[Yf],b=(0,d().useRef)(Boolean(v)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return Xf(()=>{h.current=!0,m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),b.current&&m.animationState&&m.animationState.animateChanges())}),(0,d().useEffect)(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),b.current=!1),m.enteringChildren=void 0)}),m}function Zf(e){if(e)return!1!==e.options.allowProjection?e.projection:Zf(e.parent)}function Jf(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&function(e){const t=Uf();for(const n in e)t[n]={...t[n],...e[n]};Ed(t)}(r);const i=n?"svg"===n:gf(e),a=i?Bf:If;function s(n,r){let s;const l={...(0,d().useContext)(xf),...n,layoutId:ep(n)},{isStatic:u}=l,f=Sf(n),p=a(n,u);if(!u&&"undefined"!=typeof window){!function(){(0,d().useContext)(bf).strict;0}();const t=function(e){const t=Uf(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}(l);s=t.MeasureLayout,f.visualElement=Qf(e,p,l,o,t.ProjectionNode,i)}return(0,c().jsxs)(wf.Provider,{value:f,children:[s&&f.visualElement?(0,c().jsx)(s,{visualElement:f.visualElement,...l}):null,Nf(e,n,Kf(p,f.visualElement,r),p,u,t,i)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;const l=(0,d().forwardRef)(s);return l[Hf]=e,l}function ep({layoutId:e}){const t=(0,d().useContext)(vf).id;return t&&void 0!==e?t+"-"+e:e}function tp(e,t){if("undefined"==typeof Proxy)return Jf;const n=new Map,r=(n,r)=>Jf(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(o,i)=>"create"===i?r:(n.has(i)||n.set(i,Jf(i,void 0,e,t)),n.get(i))})}class np{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rp(e,t,n){const r=e.getProps();return Sd(r,t,void 0!==n?n:r.custom,e)}function op(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function ip(e,t){const n=e?.[t]??e?.default??e;return n!==e?op(n,e):n}const ap=e=>Array.isArray(e);function sp(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ld(n))}function lp(e){return ap(e)?e[e.length-1]||0:e}function up(e,t){const n=e.getValue("willChange");if(r=n,Boolean($u(r)&&r.add))return n.add(t);if(!n&&dc.WillChange){const n=new dc.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function cp(e){return e.props[Yf]}const dp=(...e)=>e.reduce((e,t)=>n=>t(e(n)));function fp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function pp(e,t){return n=>n>0?t:e}const hp=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},mp=[lu,su,gu];function gp(e){const t=(n=e,mp.find(e=>e.test(n)));var n;if(Boolean(t),!Boolean(t))return!1;let r=t.parse(e);return t===gu&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=fp(s,r,e+1/3),i=fp(s,r,e),a=fp(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(r)),r}const yp=(e,t)=>{const n=gp(e),r=gp(t);if(!n||!r)return pp(e,t);const o={...n};return e=>(o.red=hp(n.red,r.red,e),o.green=hp(n.green,r.green,e),o.blue=hp(n.blue,r.blue,e),o.alpha=Wd(n.alpha,r.alpha,e),su.transform(o))},vp=new Set(["none","hidden"]);function bp(e,t){return n=>Wd(e,t,n)}function xp(e){return"number"==typeof e?bp:"string"==typeof e?Hu(e)?pp:yu.test(e)?yp:kp:Array.isArray(e)?wp:"object"==typeof e?yu.test(e)?yp:Sp:pp}function wp(e,t){const n=[...e],r=n.length,o=e.map((e,n)=>xp(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function Sp(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=xp(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const kp=(e,t)=>{const n=Eu.createTransformer(t),r=Su(e),o=Su(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?vp.has(e)&&!o.values.length||vp.has(t)&&!r.values.length?function(e,t){return vp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):dp(wp(function(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],a=e.indexes[i][r[i]],s=e.values[a]??0;n[o]=s,r[i]++}return n}(r,o),o.values),n):pp(e,t)};function Cp(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Wd(e,t,n);return xp(e)(e,t)}const Ep=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>hc.update(t,e),stop:()=>mc(t),now:()=>gc.isProcessing?gc.timestamp:od.now()}};function Pp(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const Tp=100,Ap=10,Op=1,Mp=0,_p=800,jp=.3,Rp=.3,Np={granular:.01,default:2},Lp={granular:.005,default:.5},$p=.01,Fp=10,zp=.05,Dp=1;function Ip(e,t){return e*Math.sqrt(1-t*t)}const Bp=.001;const Vp=["duration","bounce"],Wp=["stiffness","damping","mass"];function Up(e,t){return t.some(t=>void 0!==e[t])}function Hp(e){let t={velocity:Mp,stiffness:Tp,damping:Ap,mass:Op,isResolvedFromDuration:!1,...e};if(!Up(e,Wp)&&Up(e,Vp))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,i=2*Ql(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Op,stiffness:o,damping:i}}else{const n=function({duration:e=_p,bounce:t=jp,velocity:n=Mp,mass:r=Op}){let o,i;_c(Fp);let a=1-t;a=Ql(zp,Dp,a),e=Ql($p,Fp,jc(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Ip(t,a),l=Math.exp(-o);return Bp-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=Ip(Math.pow(t,2),a);return(-o(t)+Bp>0?-1:1)*((i-s)*l)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=_c(e),isNaN(s))return{stiffness:Tp,damping:Ap,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});t={...t,...n,mass:Op},t.isResolvedFromDuration=!0}return t}function Kp(e=Rp,t=jp){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=Hp({...n,velocity:-jc(n.velocity||0)}),h=f||0,m=u/(2*Math.sqrt(l*c)),g=a-i,y=jc(Math.sqrt(l/c)),v=Math.abs(g)<5;let b,x,w,S,k,C;if(r||(r=v?Np.granular:Np.default),o||(o=v?Lp.granular:Lp.default),m<1)w=Ip(y,m),S=(h+m*y*g)/w,b=e=>{const t=Math.exp(-m*y*e);return a-t*(S*Math.sin(w*e)+g*Math.cos(w*e))},k=m*y*S+g*w,C=m*y*g-S*w,x=e=>Math.exp(-m*y*e)*(k*Math.sin(w*e)+C*Math.cos(w*e));else if(1===m){b=e=>a-Math.exp(-y*e)*(g+(h+y*g)*e);const e=h+y*g;x=t=>Math.exp(-y*t)*(y*e*t-h)}else{const e=y*Math.sqrt(m*m-1);b=t=>{const n=Math.exp(-m*y*t),r=Math.min(e*t,300);return a-n*((h+m*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};const t=(h+m*y*g)/e,n=m*y*t-g*e,r=m*y*g-t*e;x=t=>{const o=Math.exp(-m*y*t),i=Math.min(e*t,300);return o*(n*Math.sinh(i)+r*Math.cosh(i))}}const E={calculatedDuration:p&&d||null,velocity:e=>_c(x(e)),next:e=>{if(!p&&m<1){const t=Math.exp(-m*y*e),n=Math.sin(w*e),i=Math.cos(w*e),l=a-t*(S*n+g*i),u=_c(t*(k*n+C*i));return s.done=Math.abs(u)<=r&&Math.abs(a-l)<=o,s.value=s.done?a:l,s}const t=b(e);if(p)s.done=e>=d;else{const n=_c(x(e));s.done=Math.abs(n)<=r&&Math.abs(a-t)<=o}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(Pp(E),2e4),t=Kc(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}Kp.applyToOptions=e=>{const t=function(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Pp(r),2e4);return{type:"keyframes",ease:e=>r.next(o*e).value/t,duration:jc(o)}}(e,100,Kp);return e.ease=t.ease,e.duration=_c(t.duration),e.type="keyframes",e};function Yp(e,t,n){const r=Math.max(t-5,0);return id(n-e(r),t-r)}function qp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const m=d+h,g=void 0===a?m:a(m);g!==m&&(h=g-d);const y=e=>-h*Math.exp(-e/r),v=e=>g+y(e),b=e=>{const t=y(e),n=v(e);f.done=Math.abs(t)<=u,f.value=f.done?g:n};let x,w;const S=e=>{var t;(t=f.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=Kp({keyframes:[f.value,p(f.value)],velocity:Yp(v,e,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),S(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&b(e),f)}}}const Gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Xp(e,t,n,r){if(e===t&&n===r)return cc;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Gp(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Gp(o(e),t,r)}const Qp=Xp(.42,0,1,1),Zp=Xp(0,0,.58,1),Jp=Xp(.42,0,.58,1),eh=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,th=e=>t=>1-e(1-t),nh=Xp(.33,1.53,.69,.99),rh=th(nh),oh=eh(rh),ih=e=>e>=1?1:(e*=2)<1?.5*rh(e):.5*(2-Math.pow(2,-10*(e-1))),ah=e=>1-Math.sin(Math.acos(e)),sh=th(ah),lh=eh(ah),uh={linear:cc,easeIn:Qp,easeInOut:Jp,easeOut:Zp,circIn:ah,circInOut:lh,circOut:sh,backIn:rh,backInOut:oh,backOut:nh,anticipate:ih},ch=e=>{if(Uc(e)){e.length;const[t,n,r,o]=e;return Xp(t,n,r,o)}return(e=>"string"==typeof e)(e)?uh[e]:e},dh=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};function fh(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(t.length,1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],o=n||dc.mix||Cp,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||cc:t;i=dp(e,i)}r.push(i)}return r}(t,r,o),l=s.length,u=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const o=dh(e[r],e[r+1],n);return s[r](o)};return n?t=>u(Ql(e[0],e[i-1],t)):u}function ph(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=dh(0,t,r);e.push(Wd(n,1,o))}}(t,e.length-1),t}function hh(e,t){return e.map(()=>t||Jp).splice(0,e.length-1)}function mh({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ch):ch(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:ph(t),e),s=fh(a,t,{ease:Array.isArray(o)?o:hh(t,o)});return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const gh={decay:qp,inertia:qp,tween:mh,keyframes:mh,spring:Kp};function yh(e){"string"==typeof e.type&&(e.type=gh[e.type])}const vh=e=>e/100;class bh extends Wc{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==od.now()&&this.tick(od.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;yh(e);const{type:t=mh,repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=e;let{keyframes:a}=e;const s=t||mh;s!==mh&&"number"!=typeof a[0]&&(this.mixKeyframes=dp(vh,Cp(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===o&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-i})),null===l.calculatedDuration&&(l.calculatedDuration=Pp(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:f,type:p,onUpdate:h,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v,b=this.currentTime,x=n;if(c){const e=Math.min(this.currentTime,r)/a;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,c+1);Boolean(t%2)&&("reverse"===d?(n=1-n,f&&(n-=f/a)):"mirror"===d&&(x=i)),b=Ql(0,1,n)*a}y?(this.delayState.value=u[0],v=this.delayState):v=x.next(b),o&&!y&&(v.value=o(v.value));let{done:w}=v;y||null===s||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&p!==qp&&(v.value=Vc(u,this.options,m,this.speed)),h&&h(v.value),S&&this.finish(),v}then(e,t){return this.finished.then(e,t)}get duration(){return jc(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+jc(e)}get time(){return jc(this.currentTime)}set time(e){e=_c(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);return Yp(e=>this.generator.next(e).value,e,this.generator.next(e).value)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(od.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=jc(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Ep,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(od.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const xh={anticipate:ih,backInOut:oh,circInOut:lh};function wh(e){"string"==typeof e.ease&&e.ease in xh&&(e.ease=xh[e.ease])}class Sh extends Zc{constructor(e){wh(e),yh(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:o,...i}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new bh({...i,autoplay:!1}),s=Math.max(10,od.now()-this.startTime),l=Ql(0,10,s-10),u=a.sample(s).value,{name:c}=this.options;o&&c&&$c(o,c,u),t.setWithVelocity(a.sample(Math.max(0,s-l)).value,u,l),a.stop()}}const kh=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Eu.test(e)&&"0"!==e||e.startsWith("url(")));function Ch(e){e.duration=0,e.type="keyframes"}const Eh=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const Ph=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Th=Fc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Ah(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a,keyframes:s}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement||l instanceof SVGElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return Th()&&n&&(Jc.has(n)||Ph.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&Eh.test(e[t]))return!0;return!1}(s))&&("transform"!==n||!c)&&!u&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}class Oh extends Wc{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",keyframes:a,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=od.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,name:s,motionValue:l,element:u,...c},f=u?.KeyframeResolver||Cc;this.keyframeResolver=new f(a,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;const{name:o,type:i,velocity:a,delay:s,isHandoff:l,onUpdate:u}=n;this.resolvedAt=od.now();let c=!0;(function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=kh(o,t),s=kh(i,t);return!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||Qc(n))&&r)})(e,o,i,a)||(c=!1,!dc.instantAnimations&&s||u?.(Vc(e,n,t)),e[0]=e[e.length-1],Ch(n),n.repeat=0);const d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=c&&!l&&Ah(d),p=d.motionValue?.owner?.current;let h;if(f)try{h=new Sh({...d,element:p})}catch{h=new bh(d)}else h=new bh(d);h.finished.then(()=>{this.notifyFinished()}).catch(cc),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),wc=!0,kc(),Sc(),wc=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Mh={type:"spring",stiffness:500,damping:25,restSpeed:10},_h={type:"keyframes",duration:.8},jh={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Rh=(e,{keyframes:t})=>t.length>2?_h:Xl.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Mh:jh,Nh=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const Lh=(e,t,n,r={},o,i)=>a=>{const s=ip(r,e)||{},l=s.delay||r.delay||0;let{elapsed:u=0}=r;u-=_c(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function(e){for(const t in e)if(!Nh.has(t))return!0;return!1})(s)||Object.assign(c,Rh(e,c)),c.duration&&(c.duration=_c(c.duration)),c.repeatDelay&&(c.repeatDelay=_c(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(Ch(c),0===c.delay&&(d=!0)),(dc.instantAnimations||dc.skipAnimations||o?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Ch(c),c.delay=0),c.allowFlatten=!s.type&&!s.ease,d&&!i&&void 0!==t.get()){const e=Vc(c.keyframes,s);if(void 0!==e)return void hc.update(()=>{c.onUpdate(e),c.onComplete()})}return s.isSync?new bh(c):new Oh(c)};function $h({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Fh(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:a,...s}=t;const l=e.getDefaultTransition();i=i?op(i,l):l;const u=i?.reduceMotion,c=i?.skipAnimations;r&&(i=r);const d=[],f=o&&e.animationState&&e.animationState.getState()[o],p=i?.path;p&&p.animateVisualElement(e,s,i,n,d);for(const t in s){const r=e.getValue(t,e.latestValues[t]??null),o=s[t];if(void 0===o||f&&$h(f,t))continue;const a={delay:n,...ip(i||{},t)};c&&(a.skipAnimations=!0);const l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(o)&&o===l&&!a.velocity){hc.update(()=>r.set(o));continue}let p=!1;if(window.MotionHandoffAnimation){const n=cp(e);if(n){const e=window.MotionHandoffAnimation(n,t,hc);null!==e&&(a.startTime=e,p=!0)}}up(e,t);const h=u??e.shouldReduceMotion;r.start(Lh(t,r,o,h&&Fu.has(t)?{type:!1}:a,e,p));const m=r.animation;m&&d.push(m)}if(a){const t=()=>hc.update(()=>{a&&function(e,t){const n=rp(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)sp(e,t,lp(i[t]))}(e,a)});d.length?Promise.all(d).then(t):t()}return d}function zh(e,t,n,r=0,o=1){const i=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*r;return"function"==typeof n?n(i,a):1===o?i*r:s-i*r}function Dh(e,t,n={}){const r=rp(e,t,"exit"===n.type?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Fh(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=0,i=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(Dh(l,t,{...a,delay:n+("function"==typeof r?0:r)+zh(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,r,i,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(n.delay)])}const Ih=hd.length;function Bh(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Bh(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Ih;n++){const r=hd[n],o=e.props[r];(fd(o)||!1===o)&&(t[r]=o)}return t}function Vh(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Wh=[...pd].reverse(),Uh=pd.length;function Hh(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Dh(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Dh(e,t,n);else{const o="function"==typeof t?rp(e,t,n.custom):t;r=Promise.all(Fh(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}function Kh(e){let t=Hh(e),n=Gh(),r=!0,o=!1;const i=t=>(n,r)=>{const o=rp(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(o){const{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function a(a){const{props:s}=e,l=Bh(e.parent)||{},u=[],c=new Set;let d={},f=1/0;for(let t=0;t<Uh;t++){const p=Wh[t],h=n[p],m=void 0!==s[p]?s[p]:l[p],g=fd(m),y=p===a?h.isActive:null;!1===y&&(f=t);let v=m===l[p]&&m!==s[p]&&g;if(v&&(r||o)&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===y||!m&&!h.prevProp||dd(m)||"boolean"==typeof m)continue;if("exit"===p&&h.isActive&&!0!==y){h.prevResolvedValues&&(d={...d,...h.prevResolvedValues});continue}const b=Yh(h.prevProp,m);let x=b||p===a&&h.isActive&&!v&&g||t>f&&g,w=!1;const S=Array.isArray(m)?m:[m];let k=S.reduce(i(p),{});!1===y&&(k={});const{prevResolvedValues:C={}}=h,E={...C,...k},P=t=>{x=!0,c.has(t)&&(w=!0,c.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in E){const t=k[e],n=C[e];if(d.hasOwnProperty(e))continue;let r=!1;r=ap(t)&&ap(n)?!Vh(t,n)||b:t!==n,r?null!=t?P(e):c.add(e):void 0!==t&&c.has(e)?P(e):h.protectedKeys[e]=!0}h.prevProp=m,h.prevResolvedValues=k,h.isActive&&(d={...d,...k}),(r||o)&&e.blockInitialAnimation&&(x=!1);const T=v&&b;x&&(!T||w)&&u.push(...S.map(t=>{const n={type:p};if("string"==typeof t&&(r||o)&&!T&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,o=rp(r,t);if(r.enteringChildren&&o){const{delayChildren:t}=o.transition||{};n.delay=zh(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(c.size){const t={};if("boolean"!=typeof s.initial){const n=rp(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}c.forEach(n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=r??null}),u.push({animation:t})}let p=Boolean(u.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,o=!1,p?t(u):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;const o=a(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Gh(),o=!0}}}function Yh(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Vh(t,e)}function qh(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gh(){return{animate:qh(!0),whileInView:qh(),whileHover:qh(),whileTap:qh(),whileDrag:qh(),whileFocus:qh(),exit:qh()}}let Xh=0;const Qh={animation:{Feature:class extends np{constructor(e){super(e),e.animationState||(e.animationState=Kh(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();dd(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends np{constructor(){super(...arguments),this.id=Xh++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){const{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){const n=rp(this.node,e,t);if(n){const{transition:e,transitionEnd:t,...r}=n;for(const e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}},Zh={x:!1,y:!1};function Jh(){return Zh.x||Zh.y}function em(e){return[e("x"),e("y")]}function tm(e){return e.max-e.min}function nm(e,t,n,r=.5){e.origin=r,e.originPoint=Wd(t.min,t.max,e.origin),e.scale=tm(n)/tm(t),e.translate=Wd(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function rm(e,t,n,r){nm(e.x,t.x,n.x,r?r.originX:void 0),nm(e.y,t.y,n.y,r?r.originY:void 0)}function om(e,t,n,r=0){const o=r?Wd(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+tm(t)}function im(e,t,n,r=0){const o=r?Wd(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+tm(t)}function am(e,t,n,r){im(e.x,t.x,n.x,r?.x),im(e.y,t.y,n.y,r?.y)}const sm=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const lm=new Set(["INPUT","SELECT","TEXTAREA"]);function um(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}const cm=e=>"object"==typeof e&&null!==e;function dm(e){return cm(e)&&"ownerSVGElement"in e}function fm(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(e=>null!=e)}const pm=new WeakMap;let hm;const mm=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:dm(r)&&"getBBox"in r?r.getBBox()[t]:r[n],gm=mm("inline","width","offsetWidth"),ym=mm("block","height","offsetHeight");function vm({target:e,borderBoxSize:t}){pm.get(e)?.forEach(n=>{n(e,{get width(){return gm(e,t)},get height(){return ym(e,t)}})})}function bm(e){e.forEach(vm)}function xm(e,t){hm||"undefined"!=typeof ResizeObserver&&(hm=new ResizeObserver(bm));const n=fm(e);return n.forEach(e=>{let n=pm.get(e);n||(n=new Set,pm.set(e,n)),n.add(t),hm?.observe(e)}),()=>{n.forEach(e=>{const n=pm.get(e);n?.delete(t),n?.size||hm?.unobserve(e)})}}const wm=new Set;let Sm;function km(e){return wm.add(e),Sm||(Sm=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};wm.forEach(t=>t(e))},window.addEventListener("resize",Sm)),()=>{wm.delete(e),wm.size||"function"!=typeof Sm||(window.removeEventListener("resize",Sm),Sm=void 0)}}function Cm(e,t){return"function"==typeof e?km(e):xm(e,t)}const Em=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Pm(e){return{point:{x:e.pageX,y:e.pageY}}}function Tm(e,t,n,r){return um(e,t,(e=>t=>Em(t)&&e(t,Pm(t)))(n),r)}const Am=({current:e})=>e?e.ownerDocument.defaultView:null,Om=(e,t)=>Math.abs(e-t);const Mm=new Set(["auto","scroll"]);class _m{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=jm(this.lastRawMoveEventInfo,this.transformPagePoint));const e=Nm(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Om(e.x,t.x),r=Om(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=gc;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=jm(t,this.transformPagePoint),hc.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=Nm("pointercancel"===e.type?this.lastMoveEventInfo:jm(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Em(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=i,this.contextWindow=r||window;const s=jm(Pm(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=gc;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,Nm(s,this.history));const d={passive:!0,capture:!0};this.removeListeners=dp(Tm(this.contextWindow,"pointermove",this.handlePointerMove,d),Tm(this.contextWindow,"pointerup",this.handlePointerUp,d),Tm(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(Mm.has(e.overflowX)||Mm.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o=r.x-t.x,i=r.y-t.y;0===o&&0===i||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o,this.lastMoveEventInfo.point.y+=i):this.history.length>0&&(this.history[0].x-=o,this.history[0].y-=i),this.scrollPositions.set(e,r),hc.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),mc(this.updatePoint)}}function jm(e,t){return t?{point:t(e.point)}:e}function Rm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nm({point:e},t){return{point:e,delta:Rm(e,$m(t)),offset:Rm(e,Lm(t)),velocity:Fm(t,.1)}}function Lm(e){return e[0]}function $m(e){return e[e.length-1]}function Fm(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=$m(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>_c(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>2*_c(t)&&(r=e[1]);const i=jc(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function zm(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Dm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Im(e,t,n){return{min:Bm(e,t),max:Bm(e,n)}}function Bm(e,t){return"number"==typeof e?e:e[t]||0}const Vm=new WeakMap;class Wm{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:o}=this.getProps();this.panSession=new _m(e,{onSessionStart:e=>{t&&this.snapToCursor(Pm(e).point),this.stopAnimation()},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=n)||"y"===i?Zh[i]?null:(Zh[i]=!0,()=>{Zh[i]=!1}):Zh.x||Zh.y?null:(Zh.x=Zh.y=!0,()=>{Zh.x=Zh.y=!1}),!this.openDragLock))return;var i;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),em(e=>{let t=this.getAxisMotionValue(e).get()||0;if(du.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=tm(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&hc.update(()=>o(e,t),!1,!0),up(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&hc.update(()=>i(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:n,contextWindow:Am(this.visualElement),element:this.visualElement.current})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!r||!n)return;const{velocity:i}=r;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&hc.postRender(()=>a(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Hm(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Wd(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Wd(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&Gf(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:zm(e.x,n,o),y:zm(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:Im(e,"left","right"),y:Im(e,"top","bottom")}}(t),r!==this.constraints&&!Gf(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&em(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Gf(e))return!1;const n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const o=function(e,t,n){const r=pf(e,n),{scroll:o}=t;return o&&(uf(r.x,o.offset.x),uf(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Dm(e.x,t.x),y:Dm(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Xd(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=em(a=>{if(!Hm(a,t,this.currentDirection))return;let l=s&&s[a]||{};!0!==i&&i!==a||(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return up(this.visualElement,e),n.start(Lh(e,n,0,t,this.visualElement,!1))}stopAnimation(){em(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps()[t];return n||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){em(t=>{const{drag:n}=this.getProps();if(!Hm(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t],a=o.get()||0;o.set(e[t]-Wd(n,i,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Gf(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};em(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=tm(e),o=tm(t);return o>r?n=dh(t.min,t.max-r,e.min):r>o&&(n=dh(e.min,e.max-o,t.min)),Ql(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),em(t=>{if(!Hm(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(Wd(o,i,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Vm.set(this.visualElement,this);const e=this.visualElement.current,t=Tm(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),o=t.target,i=o!==e&&function(e){return lm.has(e.tagName)||!0===e.isContentEditable}(o);n&&r&&!i&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();Gf(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=Cm(e,Um(n)),o=Cm(t,Um(n));return()=>{r(),o()}}(e,t.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),hc.read(r);const a=um(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(em(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),t(),i(),s&&s(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Um(e){let t=!0;return()=>{t?t=!1:e()}}function Hm(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Km=e=>(t,n)=>{e&&hc.update(()=>e(t,n),!1,!0)};const Ym={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function qm(e=!0){const t=(0,d().useContext)($f);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=(0,d().useId)();(0,d().useEffect)(()=>{if(e)return o(i)},[e]);const a=(0,d().useCallback)(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}let Gm=!1;class Xm extends d().Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),Gm&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ym.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,{projection:i}=n;return i?(i.isPresent=o,e.layoutDependency!==t&&i.setOptions({...i.options,layoutDependency:t}),Gm=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==o?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||hc.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),ed.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Gm=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Qm(e){const[t,n]=qm(),r=(0,d().useContext)(vf);return(0,c().jsx)(Xm,{...e,layoutGroup:r,switchLayoutGroup:(0,d().useContext)(qf),isPresent:t,safeToRemove:n})}const Zm={value:null,addProjectionMetrics:null};function Jm(e,t){const n=od.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(mc(r),e(i-t))};return hc.setup(r,!0),()=>mc(r)}const eg=Id.length,tg=e=>"string"==typeof e?parseFloat(e):e,ng=e=>"number"==typeof e||fu.test(e);function rg(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const og=ag(0,.5,sh),ig=ag(.5,.95,cc);function ag(e,t,n){return r=>r<e?0:r>t?1:n(dh(e,t,r))}function sg(e,t){e.min=t.min,e.max=t.max}function lg(e,t){sg(e.x,t.x),sg(e.y,t.y)}function ug(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function cg(e,t,n,r,o){return e=nf(e-=t,1/n,r),void 0!==o&&(e=nf(e,1/o,r)),e}function dg(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){du.test(t)&&(t=parseFloat(t),t=Wd(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Wd(i.min,i.max,r);e===i&&(s-=t),e.min=cg(e.min,t,n,s,o),e.max=cg(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const fg=["x","scaleX","originX"],pg=["y","scaleY","originY"];function hg(e,t,n,r){dg(e.x,t,fg,n?n.x:void 0,r?r.x:void 0),dg(e.y,t,pg,n?n.y:void 0,r?r.y:void 0)}function mg(e){return 0===e.translate&&1===e.scale}function gg(e){return mg(e.x)&&mg(e.y)}function yg(e,t){return e.min===t.min&&e.max===t.max}function vg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function bg(e,t){return vg(e.x,t.x)&&vg(e.y,t.y)}function xg(e){return tm(e.x)/tm(e.y)}function wg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Sg{constructor(){this.members=[]}add(e){Rc(this.members,e);for(let t=this.members.length-1;t>=0;t--){const n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;const r=n.instance;r&&!1!==r.isConnected||n.snapshot||(Nc(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Nc(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){const e=this.members[t];if(!1!==e.isPresent&&!1!==e.instance?.isConnected)return this.promote(e),!0}return!1}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:r}=n.options,{layoutDependency:o}=e.options;void 0!==r&&r===o||(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const kg=(e,t)=>e.depth-t.depth;class Cg{constructor(){this.children=[],this.isDirty=!1}add(e){Rc(this.children,e),this.isDirty=!0}remove(e){Nc(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(kg),this.isDirty=!1,this.children.forEach(e)}}const Eg={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Pg=["","X","Y","Z"];let Tg=0;function Ag(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Og(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=cp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",hc,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Og(r)}function Mg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=t?.()){this.id=Tg++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Zm.value&&(Eg.nodes=Eg.calculatedTargetDeltas=Eg.calculatedProjections=0),this.nodes.forEach(Rg),this.nodes.forEach(Vg),this.nodes.forEach(Wg),this.nodes.forEach(Ng),Zm.addProjectionMetrics&&Zm.addProjectionMetrics(Eg)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Cg)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Lc),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var n;this.isSVG=dm(t)&&!(dm(n=t)&&"svg"===n.tagName),this.instance=t;const{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(o||r)&&(this.isLayoutDirty=!0),e){let n,r=0;const o=()=>this.root.updateBlockedByResize=!1;hc.read(()=>{r=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Jm(o,250),Ym.hasAnimatedSinceResize&&(Ym.hasAnimatedSinceResize=!1,this.nodes.forEach(Bg)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||Gg,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!bg(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...ip(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||Bg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),mc(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Ug),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Og(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,"string"!=typeof t.latestValues.x&&"string"!=typeof t.latestValues.y||(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked()){const e=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Fg),void this.nodes.forEach($g)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(zg);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Dg),this.nodes.forEach(Ig),this.nodes.forEach(_g),this.nodes.forEach(jg)):this.nodes.forEach(zg),this.clearAllSnapshots();const e=od.now();gc.delta=Ql(0,1e3/60,e-gc.timestamp),gc.timestamp=e,gc.isProcessing=!0,yc.update.process(gc),yc.preRender.process(gc),yc.render.process(gc),gc.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ed.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Lg),this.sharedNodes.forEach(Hg)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,hc.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){hc.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tm(this.snapshot.measuredBox.x)||tm(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!gg(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Jd(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Zg((r=n).x),Zg(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ey))){const{scroll:e}=this.root;e&&(uf(t.x,e.offset.x),uf(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(lg(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&lg(t,e),uf(t.x,o.offset.x),uf(t.y,o.offset.y))}return t}applyTransform(e,t=!1,n){const r=n||{x:{min:0,max:0},y:{min:0,max:0}};lg(r,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(uf(r.x,-n.scroll.offset.x),uf(r.y,-n.scroll.offset.y)),Jd(n.latestValues)&&ff(r,n.latestValues,n.layout?.layoutBox)}return Jd(this.latestValues)&&ff(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};lg(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!Jd(n.latestValues))continue;let r;n.instance&&(Zd(n.latestValues)&&n.updateSnapshot(),r=Lu(),lg(r,n.measurePageBox())),hg(t,n.latestValues,n.snapshot?.layoutBox,r)}return Jd(this.latestValues)&&hg(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==gc.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:o}=this.options;if(!this.layout||!r&&!o)return;this.resolvedRelativeTargetAt=gc.timestamp;const i=this.getClosestProjectingParent();var a,s,l,u;(i&&this.linkedParentVersion!==i.layoutVersion&&!i.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&i&&i.layout?this.createRelativeTarget(i,this.layout.layoutBox,i.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,om(a.x,s.x,l.x,u?.x),om(a.y,s.y,l.y,u?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):lg(this.target,this.layout.layoutBox),af(this.target,this.targetDelta)):lg(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&i&&Boolean(i.resumingFrom)===Boolean(this.resumingFrom)&&!i.options.layoutScroll&&i.target&&1!==this.animationProgress?this.createRelativeTarget(i,this.target,i.target):this.relativeParent=this.relativeTarget=void 0),Zm.value&&Eg.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!Zd(this.parent.latestValues)&&!ef(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},am(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),lg(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===gc.timestamp&&(n=!1),n)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;lg(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(uf(e.x,-i.scroll.offset.x),uf(e.y,-i.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,af(e,a)),r&&Jd(i.latestValues)&&ff(e,i.latestValues,i.layout?.layoutBox))}t.x<lf&&t.x>sf&&(t.x=1),t.y<lf&&t.y>sf&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(ug(this.prevProjectionDelta.x,this.projectionDelta.x),ug(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rm(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===i&&this.treeScale.y===a&&wg(this.projectionDelta.x,this.prevProjectionDelta.x)&&wg(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),Zm.value&&Eg.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1,n){const r=this.snapshot,o=r?r.latestValues:{},i={...this.latestValues},a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(qg));let f;this.animationProgress=0;const p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{const n=t/1e3,r=p?.(n);var u,h,m,g,y,v;r?(a.x.translate=r.x,a.x.scale=Wd(e.x.scale,1,n),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=r.y,a.y.scale=Wd(e.y.scale,1,n),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(Kg(a.x,e.x,n),Kg(a.y,e.y,n)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(am(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=s,v=n,Yg(m.x,g.x,y.x,v),Yg(m.y,g.y,y.y,v),f&&(u=this.relativeTarget,h=f,yg(u.x,h.x)&&yg(u.y,h.y))&&(this.isProjectionDirty=!1),f||(f={x:{min:0,max:0},y:{min:0,max:0}}),lg(f,this.relativeTarget)),l&&(this.animationValues=i,function(e,t,n,r,o,i){o?(e.opacity=Wd(0,n.opacity??1,og(r)),e.opacityExit=Wd(t.opacity??1,0,ig(r))):i&&(e.opacity=Wd(t.opacity??1,n.opacity??1,r));for(let o=0;o<eg;o++){const i=Id[o];let a=rg(t,i),s=rg(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||ng(a)===ng(s)?(e[i]=Math.max(Wd(tg(a),tg(s),r),0),(du.test(s)||du.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=Wd(t.rotate||0,n.rotate||0,r))}(i,o,this.latestValues,n,d,c)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=i),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(mc(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=hc.update(()=>{Ym.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ld(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,n){const r=$u(e)?e:ld(e);return r.start(Lh("",r,t,n)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Jg(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=tm(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=tm(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}lg(t,n),ff(t,o),rm(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Sg);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Ag("z",e,r,this.animationValues);for(let t=0;t<Pg.length;t++)Ag(`rotate${Pg[t]}`,e,r,this.animationValues),Ag(`skew${Pg[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=Lf(t?.pointerEvents)||"",void(e.transform=n?n(this.latestValues,""):"none");const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Lf(t?.pointerEvents)||""),void(this.hasProjected&&!Jd(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1));e.visibility="";const o=r.animationValues||r.latestValues;this.applyTransformsToTarget();let i=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=n?.z||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,pathRotation:o,rotateX:i,rotateY:a,skewX:s,skewY:l}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotate(${o}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),s&&(r+=`skewX(${s}deg) `),l&&(r+=`skewY(${l}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);n&&(i=n(o,i)),e.transform=i;const{x:a,y:s}=this.projectionDelta;e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,r.animationValues?e.opacity=r===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:e.opacity=r===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const t in Hd){if(void 0===o[t])continue;const{correct:n,applyTo:a,isCSSVariable:s}=Hd[t],l="none"===i?o[t]:n(o[t],r);if(a){const t=a.length;for(let n=0;n<t;n++)e[a[n]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?Lf(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach($g),this.root.sharedNodes.clear()}}}function _g(e){e.updateLayout()}function jg(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,i=t.source!==e.layout.source;if("size"===o)em(e=>{const r=i?t.measuredBox[e]:t.layoutBox[e],o=tm(r);r.min=n[e].min,r.max=r.min+o});else if("x"===o||"y"===o){const e="x"===o?"y":"x";sg(i?t.measuredBox[e]:t.layoutBox[e],n[e])}else Jg(o,t.layoutBox,n)&&em(r=>{const o=i?t.measuredBox[r]:t.layoutBox[r],a=tm(n[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};rm(a,n,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?rm(s,e.applyTransform(r,!0),t.measuredBox):rm(s,n,t.layoutBox);const l=!gg(a);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a=e.options.layoutAnchor||void 0,s={x:{min:0,max:0},y:{min:0,max:0}};am(s,t.layoutBox,o.layoutBox,a);const l={x:{min:0,max:0},y:{min:0,max:0}};am(l,n,i.layoutBox,a),bg(s,l)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Rg(e){Zm.value&&Eg.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ng(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Lg(e){e.clearSnapshot()}function $g(e){e.clearMeasurements()}function Fg(e){e.isLayoutDirty=!0,e.updateLayout()}function zg(e){e.isLayoutDirty=!1}function Dg(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Ig(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Bg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Vg(e){e.resolveTargetDelta()}function Wg(e){e.calcProjection()}function Ug(e){e.resetSkewAndRotation()}function Hg(e){e.removeLeadSnapshot()}function Kg(e,t,n){e.translate=Wd(t.translate,0,n),e.scale=Wd(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Yg(e,t,n,r){e.min=Wd(t.min,n.min,r),e.max=Wd(t.max,n.max,r)}function qg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Gg={duration:.45,ease:[.4,0,.1,1]},Xg=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Qg=Xg("applewebkit/")&&!Xg("chrome/")?Math.round:cc;function Zg(e){e.min=Qg(e.min),e.max=Qg(e.max)}function Jg(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=xg(t),o=xg(n),i=.2,!(Math.abs(r-o)<=i));var r,o,i}function ey(e){return e!==e.root&&e.scroll?.wasRoot}const ty=Mg({attachResizeListener:(e,t)=>um(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ny={current:void 0},ry=Mg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ny.current){const e=new ty({});e.mount(window),e.setOptions({layoutScroll:!0}),ny.current=e}return ny.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),oy={pan:{Feature:class extends np{constructor(){super(...arguments),this.removePointerDownListener=cc}onPointerDown(e){this.session=new _m(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Am(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Km(e),onStart:Km(t),onMove:Km(n),onEnd:(e,t)=>{delete this.session,r&&hc.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Tm(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends np{constructor(e){super(e),this.removeGroupControls=cc,this.removeListeners=cc,this.controls=new Wm(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||cc}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:ry,MeasureLayout:Qm}};function iy(e,t){const n=fm(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function ay(e,t,n={}){const[r,o,i]=iy(e,n);return r.forEach(e=>{let n,r=!1,i=!1;const a=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},s=e=>{r=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),i&&(i=!1,a(e))},l=e=>{"touch"!==e.pointerType&&(r?i=!0:a(e))};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||Jh())return;i=!1;const a=t(e,r);"function"==typeof a&&(n=a,e.addEventListener("pointerleave",l,o))},o),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",s,o)},o)}),i}function sy(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&hc.postRender(()=>o(t,Pm(t)))}function ly(e){return cm(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const uy=(e,t)=>!!t&&(e===t||uy(e,t.parentElement)),cy=new WeakSet;function dy(e){return t=>{"Enter"===t.key&&e(t)}}function fy(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function py(e){return Em(e)&&!Jh()}const hy=new WeakSet;function my(e,t,n={}){const[r,o,i]=iy(e,n),a=e=>{const r=e.currentTarget;if(!py(e))return;if(hy.has(e))return;cy.add(r),n.stopPropagation&&hy.add(e);const i=t(r,e),a={...o,capture:!0},s=(e,t)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",u,a),cy.has(r)&&cy.delete(r),py(e)&&"function"==typeof i&&i(e,{success:t})},l=e=>{s(e,r===window||r===document||n.useGlobalTarget||uy(r,e.target))},u=e=>{s(e,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",u,a)};return r.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),ly(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=dy(()=>{if(cy.has(n))return;fy(n,"down");const e=dy(()=>{fy(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>fy(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,o)),t=e,sm.has(t.tagName)||!0===t.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),i}function gy(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&hc.postRender(()=>o(t,Pm(t)))}const yy=new WeakMap,vy=new WeakMap,by=e=>{const t=yy.get(e.target);t&&t(e)},xy=e=>{e.forEach(by)};function wy(e,t,n){const r=function({root:e,...t}){const n=e||document;vy.has(n)||vy.set(n,{});const r=vy.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(xy,{root:e,...t})),r[o]}(t);return yy.set(e,n),r.observe(e),()=>{yy.delete(e),r.unobserve(e)}}const Sy={some:0,all:1};const ky={inView:{Feature:class extends np{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Sy[r]};this.stopObserver=wy(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends np{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=my(e,(e,t)=>(gy(this.node,t,"Start"),(e,{success:t})=>gy(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends np{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=dp(um(this.node.current,"focus",()=>this.onFocus()),um(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends np{mount(){const{current:e}=this.node;e&&(this.unmount=ay(e,(e,t)=>(sy(this.node,t,"Start"),e=>sy(this.node,e,"End"))))}unmount(){}}}},Cy=tp({...Qh,...ky,...oy,...{layout:{ProjectionNode:ry,MeasureLayout:Qm}}},yf),Ey={some:0,all:1};function Py(e,{root:t,margin:n,amount:r,once:o=!1,initial:i=!1}={}){const[a,s]=(0,d().useState)(i);return(0,d().useEffect)(()=>{if(!e.current||o&&a)return;const i={root:t&&t.current||void 0,margin:n,amount:r};return function(e,t,{root:n,margin:r,amount:o="some"}={}){const i=fm(e),a=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e.target,e);"function"==typeof n?a.set(e.target,n):s.unobserve(e.target)}else"function"==typeof n&&(n(e),a.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:Ey[o]});return i.forEach(e=>s.observe(e)),()=>s.disconnect()}(e.current,()=>(s(!0),o?void 0:()=>s(!1)),i)},[t,e,n,o,r]),a}function Ty(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Ay(...e){return d().useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=Ty(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():Ty(e[t],null)}}}}(...e),e)}class Oy extends d().Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(ly(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,n=ly(e)&&e.offsetWidth||0,r=ly(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top,i.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function My({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){const a=(0,d().useId)(),s=(0,d().useRef)(null),l=(0,d().useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=(0,d().useContext)(xf),f=!1!==i?e.props?.ref??e?.ref:void 0,p=Ay(s,f);return(0,d().useInsertionEffect)(()=>{const{width:e,height:c,top:d,left:f,right:p,bottom:h,direction:m}=l.current;if(t||!1===i||!s.current||!e||!c)return;const g="rtl"===m,y="left"===n?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v="bottom"===r?`bottom: ${h}`:`top: ${d}`;s.current.dataset.motionPopId=a;const b=document.createElement("style");u&&(b.nonce=u);const x=o??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(`\n          [data-motion-pop-id="${a}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${c}px !important;\n            ${y}px !important;\n            ${v}px !important;\n          }\n        `),()=>{s.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[t]),(0,c().jsx)(Oy,{isPresent:t,childRef:s,sizeRef:l,pop:i,children:!1===i?e:d().cloneElement(e,{ref:p})})}const _y=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a,anchorX:s,anchorY:l,root:u})=>{const f=Ff(jy),p=(0,d().useId)(),h=(0,d().useRef)(n),m=(0,d().useRef)(r);Xf(()=>{h.current=n,m.current=r});let g=!0,y=(0,d().useMemo)(()=>(g=!1,{id:p,initial:t,isPresent:n,custom:o,onExitComplete:e=>{f.set(e,!0);for(const e of f.values())if(!e)return;r&&r()},register:e=>(f.set(e,!1),()=>{f.delete(e),!h.current&&!f.size&&m.current?.()})}),[n,f,r]);return i&&g&&(y={...y}),(0,d().useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),d().useEffect(()=>{!n&&!f.size&&r&&r()},[n]),e=(0,c().jsx)(My,{pop:"popLayout"===a,isPresent:n,anchorX:s,anchorY:l,root:u,children:e}),(0,c().jsx)($f.Provider,{value:y,children:e})};function jy(){return new Map}const Ry=e=>e.key||"";function Ny(e){const t=[];return d().Children.forEach(e,e=>{(0,d().isValidElement)(e)&&t.push(e)}),t}const Ly=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1,anchorX:s="left",anchorY:l="top",root:u})=>{const[f,p]=qm(a),h=(0,d().useMemo)(()=>Ny(e),[e]),m=a&&!f?[]:h.map(Ry),g=(0,d().useRef)(!0),y=(0,d().useRef)(h),v=Ff(()=>new Map),b=(0,d().useRef)(new Set),[x,w]=(0,d().useState)(h),[S,k]=(0,d().useState)(h);Xf(()=>{g.current=!1,y.current=h;for(let e=0;e<S.length;e++){const t=Ry(S[e]);m.includes(t)?(v.delete(t),b.current.delete(t)):!0!==v.get(t)&&v.set(t,!1)}},[S,m.length,m.join("-")]);const C=[];if(h!==x){let e=[...h];for(let t=0;t<S.length;t++){const n=S[t],r=Ry(n);m.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===i&&C.length&&(e=C),k(Ny(e)),w(h),null}const{forceRender:E}=(0,d().useContext)(vf);return(0,c().jsx)(c().Fragment,{children:S.map(e=>{const d=Ry(e),x=!(a&&!f)&&(h===S||m.includes(d));return(0,c().jsx)(_y,{isPresent:x,initial:!(g.current&&!n)&&void 0,custom:t,presenceAffectsLayout:o,mode:i,root:u,onExitComplete:x?void 0:()=>{if(b.current.has(d))return;if(!v.has(d))return;b.current.add(d),v.set(d,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(E?.(),k(y.current),a&&p?.(),r&&r())},anchorX:s,anchorY:l,children:e},d)})})},$y=[.22,1,.36,1],Fy=[2500,2500,3e3],zy=(0,d().createContext)({phase:2,playing:!1}),Dy=()=>(0,d().useContext)(zy);function Iy({captions:e,children:t}){var n;const r=(0,d().useRef)(null),o=Py(r,{amount:.3}),i=(()=>{const[e,t]=(0,d().useState)(()=>"hidden"!==document.visibilityState);return(0,d().useEffect)(()=>{const e=()=>t("hidden"!==document.visibilityState);return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]),e})(),a=null!==(n=function(){!vd.current&&xd();const[e]=(0,d().useState)(yd.current);return e}())&&void 0!==n&&n,s=o&&i&&!a,l=(e=>{const[t,n]=(0,d().useState)(0);return(0,d().useEffect)(()=>{if(!e)return;const r=setTimeout(()=>n(e=>(e+1)%3),Fy[t]);return()=>clearTimeout(r)},[e,t]),t})(s),u=a?2:l;return(0,c().jsxs)(yo,{ref:r,sx:{width:"100%"},children:[(0,c().jsx)(yo,{"aria-hidden":"true",sx:{height:128,mx:"auto",maxWidth:240,position:"relative",width:"100%"},children:(0,c().jsx)(zy.Provider,{value:{phase:u,playing:s},children:t})}),(0,c().jsx)(yo,{sx:{height:22,position:"relative"},children:(0,c().jsx)(Ly,{initial:!1,children:(0,c().jsx)(yo,{animate:{opacity:1,y:0},component:Cy.div,exit:{opacity:0,y:-4},initial:{opacity:0,y:4},transition:{duration:a?0:.3,ease:$y},sx:{color:"text.secondary",fontSize:12.5,fontWeight:650,left:0,lineHeight:"22px",position:"absolute",right:0,textAlign:"center"},children:e[u]},u)})})]})}const By=[.22,1,.36,1],Vy="#004984",Wy="rgba(7, 21, 34, 0.16)",Uy="rgba(7, 21, 34, 0.12)",Hy="#2e7d32",Ky="#b26a00",Yy=()=>`p${Dy().phase}`;function qy({children:e}){return(0,c().jsx)(yo,{component:"svg",sx:{display:"block",height:"100%",maxWidth:"100%",mx:"auto",width:"auto"},viewBox:"0 0 200 128",children:e})}function Gy({variants:e,children:t,custom:n}){const r=Yy();return(0,c().jsx)(Cy.g,{animate:r,custom:n,initial:!1,variants:e,children:t})}const Xy=(e,t=.2)=>({p0:e.includes("p0")?{opacity:1,y:0,transition:{delay:t,duration:.45,ease:By}}:{opacity:0,y:6,transition:{duration:.25}},p1:e.includes("p1")?{opacity:1,y:0,transition:{delay:t,duration:.45,ease:By}}:{opacity:0,y:6,transition:{duration:.25}},p2:e.includes("p2")?{opacity:1,y:0,transition:{delay:t,duration:.45,ease:By}}:{opacity:0,y:6,transition:{duration:.25}}});function Qy({x:e,y:t,w:n,h:r}){return(0,c().jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:r,rx:4,stroke:Uy,width:n}),(0,c().jsx)("path",{d:`M0 4 a4 4 0 0 1 4 -4 h${n-8} a4 4 0 0 1 4 4 v7 h-${n} Z`,fill:"rgba(7, 21, 34, 0.05)"}),[6,12,18].map(e=>(0,c().jsx)("circle",{cx:e,cy:5.5,fill:"rgba(7, 21, 34, 0.2)",r:1.6},e))]})}function Zy({x:e,y:t,w:n,h:r,filter:o}){return(0,c().jsxs)("g",{filter:o,transform:`translate(${e} ${t})`,children:[(0,c().jsx)("rect",{fill:"#DCEBFB",height:r,rx:3,width:n}),(0,c().jsx)("circle",{cx:.72*n,cy:.3*r,fill:"#FFFFFF",r:.12*Math.min(n,r)}),(0,c().jsx)("path",{d:`M0 ${.78*r} L${.32*n} ${.45*r} L${.58*n} ${.72*r} L${.75*n} ${.56*r} L${n} ${.8*r} V${r-3} a3 3 0 0 1 -3 3 H3 a3 3 0 0 1 -3 -3 Z`,fill:"#6CB4F0"})]})}function Jy({x:e,y:t,label:n,color:r=Vy,w:o}){const i=null!=o?o:3.6*n.length+10;return(0,c().jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:11,rx:5.5,stroke:r,strokeWidth:.8,width:i}),(0,c().jsx)("text",{fill:r,fontFamily:"inherit",fontSize:6.2,fontWeight:600,textAnchor:"middle",x:i/2,y:7.6,children:n})]})}function ev({x:e,y:t,r:n=6}){return(0,c().jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,c().jsx)("circle",{fill:Hy,r:n}),(0,c().jsx)("path",{d:`M${.45*-n} 0 l${.3*n} ${.3*n} l${.6*n} ${.6*-n}`,fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.28*n})]})}function tv({x:e,y:t}){return(0,c().jsx)("path",{d:`M${e} ${t} l0 11 l3 -3 l2.4 5 l2 -1 l-2.4 -5 l4 0 Z`,fill:"#071522",stroke:"#FFFFFF",strokeLinejoin:"round",strokeWidth:.8})}function nv({x:e,y:t,widths:n,gap:r=7,fill:o=Wy}){return(0,c().jsx)("g",{children:n.map((n,i)=>(0,c().jsx)("rect",{fill:o,height:3.5,rx:1.75,width:n,x:e,y:t+i*r},i))})}const rv=[4,7,10,6,9,5,8];function ov({x:e,y:t,color:n=Vy}){const{playing:r}=Dy();return(0,c().jsx)("g",{transform:`translate(${e} ${t})`,children:rv.map((e,t)=>(0,c().jsx)(Cy.rect,{animate:r?{scaleY:[.4,1,.55,.9,.4]}:{scaleY:.7},fill:n,height:e,rx:1.2,style:{transformBox:"fill-box",transformOrigin:"center"},transition:r?{delay:.11*t,duration:1.6,ease:"easeInOut",repeat:1/0}:{duration:.2},width:2.4,x:4.6*t,y:-e/2},t))})}function iv({x:e,y:t,w:n=62}){return(0,c().jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:13,rx:6.5,stroke:Uy,strokeWidth:.8,width:n}),(0,c().jsx)("circle",{cx:8,cy:6.5,fill:Vy,r:4.4}),(0,c().jsx)("path",{d:"M6.6 4.3 11 6.5 6.6 8.7 Z",fill:"#FFFFFF"}),(0,c().jsx)(ov,{x:16,y:6.5})]})}const av=["Ask your site a question","The agent picks a tool","Answered, keys stay on your server"],sv=["Posts","Media","Search"],lv={p0:{opacity:0,y:4},p1:e=>({opacity:1,y:0,transition:{delay:.2+.25*e,duration:.35}}),p2:{opacity:.35,y:0,transition:{duration:.3}}};function uv(){const e=Yy();return(0,c().jsxs)(qy,{children:[(0,c().jsx)(Qy,{x:30,y:8,w:140,h:112}),(0,c().jsxs)(Gy,{variants:Xy(["p0","p1","p2"],.2),children:[(0,c().jsx)("rect",{fill:Vy,height:14,rx:7,width:70,x:90,y:24}),(0,c().jsx)("rect",{fill:"#FFFFFF",fillOpacity:.8,height:3,rx:1.5,width:50,x:100,y:29.5})]}),sv.map((t,n)=>(0,c().jsx)(Cy.g,{animate:e,custom:n,initial:!1,variants:lv,children:(0,c().jsx)(Jy,{x:40+40*n,y:46,label:t,w:36})},t)),(0,c().jsxs)(Gy,{variants:Xy(["p2"],.4),children:[(0,c().jsx)("rect",{fill:"rgba(7, 21, 34, 0.05)",height:30,rx:6,width:96,x:40,y:64}),(0,c().jsx)(nv,{x:48,y:71,widths:[78,70,50],gap:6.5}),(0,c().jsxs)("g",{transform:"translate(140 98)",children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:14,rx:3,stroke:"#2e7d32",width:24,x:0,y:0}),(0,c().jsx)("rect",{fill:"none",height:6,rx:3,stroke:"#2e7d32",strokeWidth:1.4,width:8,x:8,y:-4}),(0,c().jsx)("circle",{cx:12,cy:7,fill:"#2e7d32",r:1.8})]})]})]})}const cv=["Leftovers slow the database","Back up, then clean","Lighter, and you can undo"],dv=[!1,!0,!1,!0,!0,!1],fv={p0:{opacity:1,scaleX:1,transition:{duration:.3}},p1:{opacity:1,scaleX:1,transition:{duration:.2}},p2:e=>({opacity:0,scaleX:0,transition:{delay:.2+.2*e,duration:.5,ease:By}})};function pv(){const e=Yy();return(0,c().jsxs)(qy,{children:[(0,c().jsx)("ellipse",{cx:74,cy:18,fill:"#FFFFFF",rx:50,ry:8,stroke:"rgba(7, 21, 34, 0.2)"}),(0,c().jsx)("path",{d:"M24 18 V106 a50 8 0 0 0 100 0 V18",fill:"#FFFFFF",stroke:"rgba(7, 21, 34, 0.2)"}),dv.map((t,n)=>t?(0,c().jsx)(Cy.rect,{animate:e,custom:n,fill:Ky,fillOpacity:.35,height:8,initial:!1,rx:2,style:{transformBox:"fill-box",transformOrigin:"left center"},variants:fv,width:76,x:36,y:30+12*n},n):(0,c().jsx)("rect",{fill:Wy,height:8,rx:2,width:76,x:36,y:30+12*n},n)),(0,c().jsx)(Gy,{variants:Xy(["p1","p2"],.3),children:(0,c().jsx)(Jy,{x:136,y:30,label:"Backed up",color:Hy,w:48})}),(0,c().jsx)(Gy,{variants:Xy(["p2"],1),children:(0,c().jsx)(Jy,{x:136,y:50,label:"Undo",w:48})})]})}const hv=["A plain gallery","Link each image to a page","A click opens that page"],mv=[0,1,2,3].map(e=>({i:e,x:18+e%2*40,y:22+40*Math.floor(e/2)})),gv={p0:{opacity:0,scale:.6},p1:e=>({opacity:1,scale:1,transition:{delay:.2+.25*e,duration:.3,ease:By}}),p2:{opacity:1,scale:1,transition:{duration:.2}}},yv={p0:{opacity:0,x:40,y:30},p1:{opacity:0,x:40,y:30},p2:{opacity:1,x:0,y:0,transition:{duration:.7,ease:By}}};function vv(){const e=Yy();return(0,c().jsxs)(qy,{children:[mv.map(({i:t,x:n,y:r})=>(0,c().jsxs)("g",{children:[(0,c().jsx)(Zy,{x:n,y:r,w:34,h:34}),(0,c().jsxs)(Cy.g,{animate:e,custom:t,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:gv,children:[(0,c().jsx)("circle",{cx:n+28,cy:r+6,fill:Vy,r:5}),(0,c().jsx)("path",{d:`M${n+26} ${r+8} l4 -4 M${n+25.5} ${r+5.5} a1.6 1.6 0 0 1 2 -2 M${n+30.5} ${r+6.5} a1.6 1.6 0 0 1 -2 2`,fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeWidth:1.1})]})]},t)),(0,c().jsx)(Cy.g,{animate:e,initial:!1,variants:yv,children:(0,c().jsx)(tv,{x:74,y:40})}),(0,c().jsxs)(Gy,{variants:Xy(["p2"],.8),children:[(0,c().jsx)(Qy,{x:112,y:22,w:72,h:74}),(0,c().jsx)("rect",{fill:"#DCEBFB",height:22,rx:2,width:56,x:120,y:38}),(0,c().jsx)(nv,{x:120,y:66,widths:[52,44,50]})]})]})}const bv=["Click a photo","It opens full screen","Zoom, slide and share"],xv={p0:{opacity:0,transition:{duration:.3}},p1:{opacity:1,transition:{delay:.2,duration:.4}},p2:{opacity:1,transition:{duration:.2}}},wv={p0:{scale:.32,x:0,y:0,opacity:0,transition:{duration:.3}},p1:{scale:1,x:0,y:0,opacity:1,transition:{delay:.25,duration:.6,ease:By}},p2:{scale:1,x:0,y:0,opacity:1,transition:{duration:.2}}},Sv={p0:{opacity:1,x:0,y:0,transition:{delay:.3,duration:1,ease:By}},p1:{opacity:0,transition:{duration:.2}},p2:{opacity:0,transition:{duration:.2}}};function kv(){const e=Yy();return(0,c().jsxs)(qy,{children:[(0,c().jsx)(Qy,{x:30,y:8,w:140,h:112}),(0,c().jsx)(nv,{x:40,y:24,widths:[80,66]}),[0,1,2].map(e=>(0,c().jsx)(Zy,{h:30,w:38,x:40+42*e,y:44},e)),(0,c().jsx)(nv,{x:40,y:84,widths:[110,96,70]}),(0,c().jsx)(Cy.g,{animate:e,initial:{x:30,y:30},variants:Sv,children:(0,c().jsx)(tv,{x:96,y:62})}),(0,c().jsx)(Cy.g,{animate:e,initial:!1,variants:xv,children:(0,c().jsx)("rect",{fill:"rgba(7, 21, 34, 0.86)",height:112,rx:4,width:140,x:30,y:8})}),(0,c().jsx)(Cy.g,{animate:e,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:wv,children:(0,c().jsx)(Zy,{x:56,y:22,w:88,h:70})}),(0,c().jsxs)(Gy,{variants:Xy(["p2"],.2),children:[(0,c().jsx)("path",{d:"M44 57 l-5 5 5 5 M156 57 l5 5 -5 5",fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.8}),(0,c().jsxs)("g",{fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeWidth:1.4,children:[(0,c().jsx)("circle",{cx:88,cy:106,r:3.6}),(0,c().jsx)("path",{d:"M90.6 108.6 l2.6 2.6"}),(0,c().jsx)("path",{d:"M108 103 v7 h8 v-7 M112 102 v-4 M110 100 l2 -2 2 2"})]})]})]})}const Cv=["A library full of files","Unused files are found","Moved to the trash, safe to undo"],Ev=[0,1,2,3,4,5].map(e=>({i:e,x:18+e%3*38,y:22+40*Math.floor(e/3)})),Pv=[1,5],Tv={p0:{opacity:0},p1:e=>({opacity:1,transition:{delay:.3+.25*e,duration:.3}}),p2:{opacity:0,transition:{duration:.2}}},Av=(e,t)=>({p0:{x:0,y:0,scale:1,opacity:1,transition:{duration:.4}},p1:{x:0,y:0,scale:1,opacity:1,transition:{duration:.2}},p2:{x:160-e-16,y:70-t-16,scale:.25,opacity:0,transition:{delay:.2,duration:.8,ease:By}}});function Ov(){const e=Yy();return(0,c().jsxs)(qy,{children:[Ev.map(({i:t,x:n,y:r})=>{const o=Pv.includes(t);return(0,c().jsxs)(Cy.g,{animate:e,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:o?Av(n,r):void 0,children:[(0,c().jsx)(Zy,{x:n,y:r,w:32,h:32}),o&&(0,c().jsx)(Cy.rect,{animate:e,custom:Pv.indexOf(t),fill:"none",height:34,initial:!1,rx:4,stroke:Ky,strokeWidth:1.6,variants:Tv,width:34,x:n-1,y:r-1})]},t)}),(0,c().jsxs)("g",{transform:"translate(150 60)",children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:26,rx:3,stroke:"rgba(7, 21, 34, 0.32)",strokeWidth:1.2,width:20,x:0,y:4}),(0,c().jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:3,rx:1.5,width:26,x:-3,y:0}),(0,c().jsx)("path",{d:"M6 10 v14 M10 10 v14 M14 10 v14",stroke:"rgba(7, 21, 34, 0.2)",strokeWidth:1.2})]}),(0,c().jsxs)(Gy,{variants:Xy(["p2"],1),children:[(0,c().jsx)(ev,{x:168,y:58}),(0,c().jsx)(Jy,{x:128,y:96,label:"Safety net on",color:"#2e7d32"})]})]})}const Mv=["IMG_4821.jpg says nothing","Renamed for search","Every link still works"];function _v({label:e,color:t}){return(0,c().jsx)("text",{fill:t,fontFamily:"inherit",fontSize:7,fontWeight:600,textAnchor:"middle",x:50,y:98,children:e})}function jv(){return(0,c().jsxs)(qy,{children:[(0,c().jsx)(Zy,{x:18,y:22,w:64,h:64}),(0,c().jsx)(Gy,{variants:Xy(["p0"],0),children:(0,c().jsx)(_v,{label:"IMG_4821.jpg",color:"rgba(7, 21, 34, 0.55)"})}),(0,c().jsx)(Gy,{variants:Xy(["p1","p2"],.3),children:(0,c().jsx)(_v,{label:"red-bike-paris.jpg",color:Vy})}),(0,c().jsxs)(Gy,{variants:Xy(["p2"],.2),children:[(0,c().jsx)(Qy,{x:120,y:22,w:64,h:74}),(0,c().jsx)(nv,{x:128,y:40,widths:[40,46,34]}),(0,c().jsx)("rect",{fill:"#DCEBFB",height:18,rx:2,width:46,x:128,y:64}),(0,c().jsx)("path",{d:"M118 74 C106 74 96 64 86 56",fill:"none",stroke:Hy,strokeDasharray:"3 2",strokeWidth:1.4}),(0,c().jsx)(ev,{x:152,y:102})]})]})}const Rv=["Blurry on sharp screens","Retina sizes are made","Crisp at 2x"],Nv={p0:{opacity:1,transition:{duration:.3}},p1:{opacity:1,transition:{duration:.3}},p2:{opacity:0,transition:{delay:.2,duration:.7}}},Lv={p0:{opacity:0,x:0},p1:e=>({opacity:1,x:0,transition:{delay:.3+.35*e,duration:.4}}),p2:{opacity:0,transition:{duration:.3}}};function $v(){const e=Yy(),t=`rwp-blur-${(0,d().useId)().replace(/:/g,"")}`;return(0,c().jsxs)(qy,{children:[(0,c().jsx)("defs",{children:(0,c().jsx)("filter",{id:t,children:(0,c().jsx)("feGaussianBlur",{stdDeviation:2.6})})}),(0,c().jsx)(Zy,{x:36,y:14,w:96,h:96}),(0,c().jsxs)(Cy.g,{animate:e,initial:!1,variants:Nv,children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:96,width:96,x:36,y:14}),(0,c().jsx)(Zy,{x:36,y:14,w:96,h:96,filter:`url(#${t})`})]}),["1x","2x"].map((t,n)=>(0,c().jsxs)(Cy.g,{animate:e,custom:n,initial:!1,variants:Lv,children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:26+10*n,rx:3,stroke:"rgba(7, 21, 34, 0.2)",width:26+10*n,x:142,y:20+34*n}),(0,c().jsx)("text",{fill:"#004984",fontFamily:"inherit",fontSize:8,fontWeight:700,textAnchor:"middle",x:155+5*n,y:36+39*n,children:t})]},t)),(0,c().jsx)(Gy,{variants:Xy(["p2"],.8),children:(0,c().jsx)(Jy,{x:140,y:58,label:"Sharp",color:Hy,w:34})})]})}const Fv=["Feed posts without pictures","The featured image is added","Every post shows a picture"],zv={p0:{opacity:0,x:-8},p1:e=>({opacity:1,x:0,transition:{delay:.2+.35*e,duration:.45,ease:By}}),p2:{opacity:1,x:0,transition:{duration:.2}}},Dv={p0:{fill:Wy},p1:{fill:Wy},p2:{fill:"#f57c00",transition:{delay:.2,duration:.4}}};function Iv(){const e=Yy();return(0,c().jsxs)(qy,{children:[(0,c().jsx)(Qy,{x:36,y:8,w:128,h:112}),(0,c().jsx)(Cy.g,{animate:e,initial:!1,variants:Dv,children:(0,c().jsx)("rect",{height:10,rx:2,width:10,x:146,y:14})}),[0,1,2].map(t=>(0,c().jsxs)("g",{children:[(0,c().jsx)(Cy.g,{animate:e,custom:t,initial:!1,variants:zv,children:(0,c().jsx)(Zy,{x:46,y:26+30*t,w:30,h:24})}),(0,c().jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:4,rx:2,width:58,x:84,y:30+30*t}),(0,c().jsx)(nv,{x:84,y:38+30*t,widths:[66,48],gap:6})]},t))]})}const Bv=["A long article to read","Press play","Words light up as they're read"],Vv=[96,88,100,76,92],Wv={p0:{fill:Wy,transition:{duration:.3}},p1:{fill:Wy,transition:{duration:.3}},p2:e=>({fill:"rgba(0, 73, 132, 0.45)",transition:{delay:.2+.45*e,duration:.35}})};function Uv(){const e=Yy();return(0,c().jsxs)(qy,{children:[(0,c().jsx)(Qy,{x:40,y:8,w:120,h:112}),(0,c().jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:5,rx:2,width:56,x:50,y:24}),Vv.map((t,n)=>(0,c().jsx)(Cy.rect,{animate:e,custom:n,fill:Wy,height:3.5,initial:!1,rx:1.75,variants:Wv,width:t,x:50,y:36+8*n},n)),(0,c().jsx)(nv,{x:50,y:76,widths:[60]}),(0,c().jsx)(Gy,{variants:Xy(["p1","p2"]),children:(0,c().jsx)(iv,{x:50,y:94,w:70})})]})}const Hv=["Your photo","Your logo goes on","The original is always kept"],Kv={p0:{opacity:0,scale:1.6},p1:{opacity:.85,scale:1,transition:{delay:.3,duration:.5,ease:By}},p2:{opacity:.85,scale:1,transition:{duration:.2}}},Yv={p0:{x:0,opacity:0},p1:{x:0,opacity:0},p2:{x:62,opacity:1,transition:{delay:.2,duration:.7,ease:By}}};function qv(){const e=Yy();return(0,c().jsxs)(qy,{children:[(0,c().jsxs)(Cy.g,{animate:e,initial:!1,variants:Yv,children:[(0,c().jsx)(Zy,{x:40,y:24,w:84,h:70}),(0,c().jsx)(Jy,{x:58,y:100,label:"Original",color:Hy,w:48})]}),(0,c().jsxs)("g",{children:[(0,c().jsx)("rect",{fill:"#FFFFFF",height:76,rx:4,width:90,x:37,y:21}),(0,c().jsx)(Zy,{x:40,y:24,w:84,h:70}),(0,c().jsxs)(Cy.g,{animate:e,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:Kv,children:[(0,c().jsx)("circle",{cx:108,cy:80,fill:"#FFFFFF",r:9}),(0,c().jsx)("text",{fill:Vy,fontFamily:"Inter, inherit",fontSize:13,fontWeight:500,textAnchor:"middle",x:108,y:84.5,children:"R"})]})]}),(0,c().jsx)(Gy,{variants:Xy(["p1","p2"],.8),children:(0,c().jsx)(Jy,{x:50,y:100,label:"Watermarked",w:60})})]})}const Gv={"ai-agent":function(){return(0,c().jsx)(Iy,{captions:av,children:(0,c().jsx)(uv,{})})},"natural-text-to-speech":function(){return(0,c().jsx)(Iy,{captions:Bv,children:(0,c().jsx)(Uv,{})})},"reinvent-database-cleaner":function(){return(0,c().jsx)(Iy,{captions:cv,children:(0,c().jsx)(pv,{})})},"reinvent-gallery-custom-links":function(){return(0,c().jsx)(Iy,{captions:hv,children:(0,c().jsx)(vv,{})})},"reinvent-lightbox":function(){return(0,c().jsx)(Iy,{captions:bv,children:(0,c().jsx)(kv,{})})},"reinvent-media-cleanup":function(){return(0,c().jsx)(Iy,{captions:Cv,children:(0,c().jsx)(Ov,{})})},"reinvent-rename-replace-media":function(){return(0,c().jsx)(Iy,{captions:Mv,children:(0,c().jsx)(jv,{})})},"reinvent-retina-images":function(){return(0,c().jsx)(Iy,{captions:Rv,children:(0,c().jsx)($v,{})})},"reinvent-rss-featured-image":function(){return(0,c().jsx)(Iy,{captions:Fv,children:(0,c().jsx)(Iv,{})})},"reinvent-watermark":function(){return(0,c().jsx)(Iy,{captions:Hv,children:(0,c().jsx)(qv,{})})}},Xv=Dr({palette:{mode:"light",primary:{main:"#004984",contrastText:"#ffffff"},success:{main:"#2e7d32",contrastText:"#ffffff"},background:{default:"#ffffff",paper:"#ffffff"},text:{primary:"#333333",secondary:"#4a5568"}},typography:{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',body1:{fontSize:"1.05rem"},body2:{fontSize:"1rem"}},components:{MuiButton:{styleOverrides:{root:{textTransform:"none"},containedPrimary:{"&:hover, &:focus, &:active":{color:"#ffffff"}},outlinedPrimary:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiIconButton:{styleOverrides:{root:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiTooltip:{styleOverrides:{tooltip:{fontSize:"0.85rem"},popper:{zIndex:10002}}},MuiDialog:{styleOverrides:{root:{zIndex:10001}}}}}),Qv={backgroundColor:"#FFFFFF",border:"1px solid rgba(7, 21, 34, 0.1)",borderRadius:0,boxShadow:"none"},Zv="1px solid rgba(7, 21, 34, 0.1)",Jv=Xv;function eb({app:e}){const t=ql.action(e),n=Gv[e.slug];return(0,c().jsxs)(yo,{component:"article",sx:{display:"flex",flexDirection:"column",gap:2,p:3,borderRadius:2,border:Zv,backgroundColor:"#FFFFFF",transition:"border-color 0.2s ease","&:hover":{borderColor:"primary.main"},"@media (prefers-reduced-motion: reduce)":{transition:"none"}},children:[n&&(0,c().jsx)(yo,{sx:{mx:-1,mb:1},children:(0,c().jsx)(n,{})}),(0,c().jsxs)(yo,{children:[(0,c().jsx)(Co,{variant:"h6",component:"h3",sx:{lineHeight:1.3},children:e.learn_url?(0,c().jsx)(hs,{href:e.learn_url,target:"_blank",rel:"noopener noreferrer",color:"inherit",underline:"always",sx:{textUnderlineOffset:"0.18em",textDecorationThickness:"1px"},children:e.name}):e.name}),e.category&&(0,c().jsx)(Nl,{label:e.category,size:"small",variant:"outlined",sx:{mt:.75}})]}),(0,c().jsx)(Co,{variant:"body2",color:"text.secondary",sx:{flexGrow:1},children:e.description}),(t||e.coming_soon)&&(0,c().jsxs)(Ro,{direction:"row",spacing:1,alignItems:"center",useFlexGap:!0,flexWrap:"wrap",children:[e.coming_soon&&(0,c().jsx)(Hl,{variant:"outlined",disabled:!0,children:Kl.coming_soon}),t&&(0,c().jsx)(Hl,{variant:t.variant,disableElevation:!0,href:t.href,startIcon:t.install?(0,c().jsx)(Tl,{}):void 0,children:t.label})]})]})}function tb({title:e,apps:t,data:n}){return t.length?(0,c().jsxs)(yo,{component:"section",children:[(0,c().jsx)(Co,{variant:"h6",component:"h2",gutterBottom:!0,children:e}),(0,c().jsx)(yo,{sx:{display:"grid",gap:2,gridTemplateColumns:"repeat(auto-fill, minmax(min(100%, 300px), 1fr))"},children:t.map(e=>(0,c().jsx)(eb,{app:e},e.slug))})]}):null}const nb=document.getElementById("reinventwp-apps-root");nb&&window.reinventwpApps&&(0,i().createRoot)(nb).render((0,c().jsx)(function({data:e}){const{installed:t,more:n}=ql.group(e.apps),[r,o]=(0,d().useState)(!1);return(0,d().useEffect)(()=>{window.location.search.includes("refresh=1")&&window.history.replaceState(null,"",e.page_url)},[e.page_url]),(0,c().jsx)(Pl,{theme:Jv,children:(0,c().jsx)(yo,{sx:{color:"text.primary",fontFamily:Jv.typography.fontFamily,mr:{xs:1.25,sm:2.5},my:2.5},children:(0,c().jsxs)(yo,{component:"main",sx:{...Qv,boxSizing:"border-box",p:{xs:2.5,md:5},minHeight:"calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 105px)"},children:[(0,c().jsxs)(Ro,{direction:"row",spacing:2,alignItems:"flex-start",justifyContent:"space-between",children:[(0,c().jsxs)(yo,{children:[(0,c().jsx)(Co,{variant:"h5",component:"h1",color:"primary",gutterBottom:!0,sx:{fontWeight:700},children:(0,c().jsx)(ss,{title:Kl.catalog_hint,placement:"right",children:(0,c().jsx)(hs,{href:"https://reinventwp.com/plugins",target:"_blank",rel:"noopener",color:"inherit",underline:"hover",sx:{"&:hover, &:focus":{color:"primary.main"}},children:Kl.title})})}),(0,c().jsx)(Co,{variant:"body1",gutterBottom:!0,children:ql.summary(Kl.summary,e.apps)})]}),(0,c().jsx)(ss,{title:Kl.refresh_hint,children:(0,c().jsx)(el,{"aria-label":Kl.refresh_hint,href:e.refresh_url,onClick:()=>o(!0),disabled:r,sx:{border:Zv,borderRadius:2,color:"primary.main",flexShrink:0},children:r?(0,c().jsx)(Gs,{size:22}):(0,c().jsx)(lo,{})})})]}),(0,c().jsxs)(Ro,{spacing:5,sx:{mt:4},children:[(0,c().jsx)(tb,{title:Kl.your_apps,apps:t,data:e}),(0,c().jsx)(tb,{title:Kl.more_apps,apps:n,data:e})]})]})})})},{data:window.reinventwpApps}))})();
     97`,Gs="string"!=typeof Ys?ni`
     98        animation: ${Ys} 1.4s linear infinite;
     99      `:null,Ks="string"!=typeof qs?ni`
     100        animation: ${qs} 1.4s ease-in-out infinite;
     101      `:null,Xs=$r("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${x(n.color)}`]]}})(Ur(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Gs||{animation:`${Ys} 1.4s linear infinite`}},...Object.entries(e.palette).filter(go()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Qs=$r("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Zs=$r("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${x(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Ur(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Ks||{animation:`${qs} 1.4s ease-in-out infinite`}}]}))),Js=$r("circle",{name:"MuiCircularProgress",slot:"Track"})(Ur(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),el=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,enableTrackSlot:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate",...f}=n,h={...n,color:o,disableShrink:i,size:s,thickness:c,value:u,variant:d,enableTrackSlot:a},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return y({root:["root",n,`color${x(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${x(n)}`,o&&"circleDisableShrink"]},Us,t)})(h),v={},b={},w={};if("determinate"===d){const e=2*Math.PI*((Hs-c)/2);v.strokeDasharray=e.toFixed(3),w["aria-valuenow"]=Math.round(u),v.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,b.transform="rotate(-90deg)"}return(0,p.jsx)(Xs,{className:g(m.root,r),style:{width:s,height:s,...b,...l},ownerState:h,ref:t,role:"progressbar",...w,...f,children:(0,p.jsxs)(Qs,{className:m.svg,ownerState:h,viewBox:"22 22 44 44",children:[a?(0,p.jsx)(Js,{className:m.track,ownerState:h,cx:Hs,cy:Hs,r:(Hs-c)/2,fill:"none",strokeWidth:c,"aria-hidden":"true"}):null,(0,p.jsx)(Zs,{className:m.circle,style:v,ownerState:h,cx:Hs,cy:Hs,r:(Hs-c)/2,fill:"none",strokeWidth:c})]})})});function tl(e){return Jr("MuiIconButton",e)}const nl=eo("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),rl=$r(gi,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${x(n.color)}`],n.edge&&t[`edge${x(n.edge)}`],t[`size${x(n.size)}`]]}})(Ur(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ur(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(go()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(go()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${nl.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${nl.loading}`]:{color:"transparent"}}))),ol=$r("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),il=u().forwardRef(function(e,t){const n=Kr({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium",id:u,loading:d=null,loadingIndicator:f,...h}=n,m=Cs(u),v=f??(0,p.jsx)(el,{"aria-labelledby":m,color:"inherit",size:16}),b={...n,edge:r,color:a,disabled:s,disableFocusRipple:l,loading:d,loadingIndicator:v,size:c},w=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i,loading:a}=e;return y({root:["root",a&&"loading",n&&"disabled","default"!==r&&`color${x(r)}`,o&&`edge${x(o)}`,`size${x(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},tl,t)})(b);return(0,p.jsxs)(rl,{id:d?m:u,className:g(w.root,i),centerRipple:!0,focusRipple:!l,disabled:s||d,ref:t,...h,ownerState:b,children:["boolean"==typeof d&&(0,p.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:(0,p.jsx)(ol,{className:w.loadingIndicator,ownerState:b,children:d&&v})}),o]})});const al=u().createContext(null);function sl(){return u().useContext(al)}const ll="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const cl=function(e){const{children:t,theme:n}=e,r=sl(),o=u().useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(r,n);return null!=e&&(e[ll]=null!==r),e},[n,r]);return(0,p.jsx)(al.Provider,{value:o,children:t})};function ul(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,p.jsx)(ti,{styles:r})}function dl(e){const t=ot(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const fl=function({styles:e,themeId:t,defaultTheme:n={}}){const r=uo(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>dl("function"==typeof e?e(o):e)):dl(i)),(0,p.jsx)(ul,{styles:i})};const pl={};function hl(e,t,n,r=!1){return u().useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}const ml=function(e){const{children:t,theme:n,themeId:r}=e,o=lo(pl),i=sl()||pl,a=hl(r,o,n),s=hl(r,i,n,!0),l="rtl"===(r?a[r]:a).direction,c=function(e){const t=lo(),n=ks()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",Do(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const r=document.createElement("style");r.setAttribute("data-mui-layer-order",n),r.textContent=o,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[o,n]),o?(0,p.jsx)(fl,{styles:o}):null}(a);return(0,p.jsx)(cl,{theme:s,children:(0,p.jsx)(Ue.Provider,{value:a,children:(0,p.jsx)(Oi,{value:l,children:(0,p.jsxs)(Gr,{value:r?a[r].components:a.components,children:[c,t]})})})})};function gl({theme:e,...t}){const n=Br in e?e[Br]:void 0;return(0,p.jsx)(ml,{...t,themeId:n?Br:void 0,theme:n||e})}const yl="mode",vl="color-scheme",bl="data-color-scheme";function xl(){}const wl=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return xl;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function Sl(){}function kl(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function Cl(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function El(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i="mode",colorSchemeStorageKey:a=vl,storageWindow:s=("undefined"==typeof window?void 0:window),storageManager:l=wl,noSsr:c=!1}=e,d=o.join(","),f=o.length>1,p=u().useMemo(()=>l?.({key:i,storageWindow:s}),[l,i,s]),h=u().useMemo(()=>l?.({key:`${a}-light`,storageWindow:s}),[l,a,s]),m=u().useMemo(()=>l?.({key:`${a}-dark`,storageWindow:s}),[l,a,s]),[g,y]=u().useState(()=>{const e=p?.get(t)||t,o=h?.get(n)||n,i=m?.get(r)||r;return{mode:e,systemMode:kl(e),lightColorScheme:o,darkColorScheme:i}}),[v,b]=u().useState(c||!f);u().useEffect(()=>{b(!0)},[]);const x=function(e){return Cl(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),w=u().useCallback(e=>{y(n=>{if(e===n.mode)return n;const r=e??t;return p?.set(r),{...n,mode:r,systemMode:kl(r)}})},[p,t]),S=u().useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const n={...t};return Cl(t,t=>{"light"===t&&(h?.set(e),n.lightColorScheme=e),"dark"===t&&(m?.set(e),n.darkColorScheme=e)}),n}):y(t=>{const o={...t},i=null===e.light?n:e.light,a=null===e.dark?r:e.dark;return i&&(d.includes(i)?(o.lightColorScheme=i,h?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a&&(d.includes(a)?(o.darkColorScheme=a,m?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o}):y(e=>(h?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[d,h,m,n,r]),k=u().useCallback(e=>{"system"===g.mode&&y(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),C=u().useRef(k);return C.current=k,u().useEffect(()=>{if("function"!=typeof window.matchMedia||!f)return;const e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[f]),u().useEffect(()=>{if(f){const e=p?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||w(e||t)})||Sl,n=h?.subscribe(e=>{e&&!d.match(e)||S({light:e})})||Sl,r=m?.subscribe(e=>{e&&!d.match(e)||S({dark:e})})||Sl;return()=>{e(),n(),r()}}},[S,w,d,t,s,f,p,h,m]),{...g,mode:v?g.mode:void 0,systemMode:v?g.systemMode:void 0,colorScheme:v?x:void 0,setMode:w,setColorScheme:S}}const Pl={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const{CssVarsProvider:Tl,useColorScheme:jl,getInitColorSchemeScript:Al}=function(e){const{themeId:t,theme:n={},modeStorageKey:r="mode",colorSchemeStorageKey:o=vl,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=u().createContext(void 0),d={},f={},h="string"==typeof a?a:a.light,m="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){const{children:l,theme:h,modeStorageKey:m=r,colorSchemeStorageKey:g=o,disableTransitionOnChange:y=i,storageManager:v,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:x=("undefined"==typeof document?void 0:document),colorSchemeNode:w=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:S=!1,disableStyleSheetGeneration:k=!1,defaultMode:C="system",forceThemeRerender:E=!1,noSsr:P}=e,T=u().useRef(!1),j=sl(),A=u().useContext(c),F=!!A&&!S,M=u().useMemo(()=>h||("function"==typeof n?n():n),[h]),O=M[t],R=O||M,{colorSchemes:N=d,components:L=f,cssVarPrefix:D}=R,z=Object.keys(N).filter(e=>!!N[e]).join(","),I=u().useMemo(()=>z.split(","),[z]),B="string"==typeof a?a:a.light,_="string"==typeof a?a:a.dark,V=N[B]&&N[_]?C:N[R.defaultColorScheme]?.palette?.mode||R.palette?.mode,{mode:$,setMode:W,systemMode:U,lightColorScheme:H,darkColorScheme:Y,colorScheme:q,setColorScheme:G}=El({supportedColorSchemes:I,defaultLightColorScheme:B,defaultDarkColorScheme:_,modeStorageKey:m,colorSchemeStorageKey:g,defaultMode:V,storageManager:v,storageWindow:b,noSsr:P});let K=$,X=q;F&&(K=A.mode,X=A.colorScheme);let Q=X||R.defaultColorScheme;R.vars&&!E&&(Q=R.defaultColorScheme);const Z=u().useMemo(()=>{const e=R.generateThemeVars?.()||R.vars,t={...R,components:L,colorSchemes:N,cssVarPrefix:D,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),Q){const e=N[Q];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[R,Q,L,N,D]),J=R.colorSchemeSelector;Do(()=>{if(X&&w&&J&&"media"!==J){const e=J;let t=J;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))w.classList.remove(...I.map(e=>t.substring(1).replace("%s",e))),w.classList.add(t.substring(1).replace("%s",X));else{const e=t.replace("%s",X).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||I.forEach(e=>{w.removeAttribute(t.replace(X,e))}),w.setAttribute(t,n?n.replace(/"|'/g,""):"")}else w.setAttribute(t,X)}}},[X,J,w,I]),u().useEffect(()=>{let e;if(y&&T.current&&x){const t=x.createElement("style");t.appendChild(x.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),x.head.appendChild(t),window.getComputedStyle(x.body),e=setTimeout(()=>{x.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[X,y,x]),u().useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);const ee=u().useMemo(()=>({allColorSchemes:I,colorScheme:X,darkColorScheme:Y,lightColorScheme:H,mode:K,setColorScheme:G,setMode:W,systemMode:U}),[I,X,Y,H,K,G,W,U,Z.colorSchemeSelector]);let te=!0;(k||!1===R.cssVariables||F&&j?.cssVarPrefix===D)&&(te=!1);const ne=(0,p.jsxs)(u().Fragment,{children:[(0,p.jsx)(ml,{themeId:O?t:void 0,theme:Z,children:l}),te&&(0,p.jsx)(ul,{styles:Z.generateStyleSheets?.()||[]})]});return F?ne:(0,p.jsx)(c.Provider,{value:ee,children:ne})},useColorScheme:()=>u().useContext(c)||l,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=yl,colorSchemeStorageKey:i=vl,attribute:a=bl,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=a;if("class"===a&&(u=".%s"),"data"===a&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);c+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n      ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const d=u.match(/\[([^[\]]+)\]/);if(d){const[e,t]=d[1].split("=");t||(c+=`${s}.removeAttribute('${e}'.replace('%s', light));\n      ${s}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n      ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==u&&(c+=`${s}.setAttribute('${u}', colorScheme);`);return(0,p.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n  let colorScheme = '';\n  const mode = localStorage.getItem('${o}') || '${t}';\n  const dark = localStorage.getItem('${i}-dark') || '${r}';\n  const light = localStorage.getItem('${i}-light') || '${n}';\n  if (mode === 'system') {\n    // handle system mode\n    const mql = window.matchMedia('(prefers-color-scheme: dark)');\n    if (mql.matches) {\n      colorScheme = dark\n    } else {\n      colorScheme = light\n    }\n  }\n  if (mode === 'light') {\n    colorScheme = light;\n  }\n  if (mode === 'dark') {\n    colorScheme = dark;\n  }\n  if (colorScheme) {\n    ${c}\n  }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:o,defaultLightColorScheme:h,defaultDarkColorScheme:m,modeStorageKey:r,...e})}}({themeId:Br,theme:()=>zr({cssVariables:!0}),colorSchemeStorageKey:Pl.colorSchemeStorageKey,modeStorageKey:Pl.modeStorageKey,defaultColorScheme:{light:Pl.defaultLightColorScheme,dark:Pl.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:ur(e.palette,e.typography)};return t.unstable_sx=function(e){return hn({sx:e,theme:this})},t}});const Fl=Tl;function Ml({theme:e,...t}){const n=u().useMemo(()=>{if("function"==typeof e)return e;const t=Br in e?e[Br]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,p.jsx)(gl,{theme:n,...t}):(0,p.jsx)(Fl,{theme:e,...t})}const Ol=io((0,p.jsx)("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"}));function Rl(e){return Jr("MuiButton",e)}const Nl=eo("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);const Ll=u().createContext({});const Dl=u().createContext(void 0),zl=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Il=$r(gi,{shouldForwardProp:e=>Vr(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${x(n.color)}`],t[`size${x(n.size)}`],t[`${n.variant}Size${x(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Ur(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Nl.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&"start"===e.loadingPosition,style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Nl.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Nl.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Nl.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(go()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Nl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Nl.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Nl.loading}`]:{color:"transparent"}}}]}})),Bl=$r("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${x(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...zl]})),_l=$r("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${x(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...zl]})),Vl=$r("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),$l=$r("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Wl=u().forwardRef(function(e,t){const n=u().useContext(Ll),r=u().useContext(Dl),o=Kr({props:Hr(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:m,fullWidth:v=!1,id:b,loading:w=null,loadingIndicator:S,loadingPosition:k="center",size:C="medium",startIcon:E,type:P,variant:T="text",...j}=o,A=Cs(b),F=S??(0,p.jsx)(el,{"aria-labelledby":A,color:"inherit",size:16}),M={...o,color:a,component:s,disabled:c,disableElevation:d,disableFocusRipple:f,fullWidth:v,loading:w,loadingIndicator:F,loadingPosition:k,size:C,type:P,variant:T},O=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:s,classes:l}=e,c=y({root:["root",a&&"loading",i,`${i}${x(t)}`,`size${x(o)}`,`${i}Size${x(o)}`,`color${x(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${x(s)}`],startIcon:["icon","startIcon",`iconSize${x(o)}`],endIcon:["icon","endIcon",`iconSize${x(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Rl,l);return{...l,...c}})(M),R=(E||w&&"start"===k)&&(0,p.jsx)(Bl,{className:O.startIcon,ownerState:M,children:E||(0,p.jsx)($l,{className:O.loadingIconPlaceholder,ownerState:M})}),N=(h||w&&"end"===k)&&(0,p.jsx)(_l,{className:O.endIcon,ownerState:M,children:h||(0,p.jsx)($l,{className:O.loadingIconPlaceholder,ownerState:M})}),L=r||"",D="boolean"==typeof w?(0,p.jsx)("span",{className:O.loadingWrapper,style:{display:"contents"},children:w&&(0,p.jsx)(Vl,{className:O.loadingIndicator,ownerState:M,children:F})}):null,{root:z,...I}=O;return(0,p.jsxs)(Il,{ownerState:M,className:g(n.className,O.root,l,L),component:s,disabled:c||w,focusRipple:!f,focusVisibleClassName:g(O.focusVisible,m),ref:t,type:P,id:w?A:b,...j,classes:I,children:[R,"end"!==k&&D,i,"end"===k&&D,N]})}),Ul={title:"Reinvent WP Apps",summary:"%1$d of %2$d apps active on this site.",scroll_down:"Scroll down",your_apps:"Your apps",your_apps_active:"%d active",must_have:"Must have",must_have_intro:"The basic needs of every WordPress site.",more_apps:"More from Reinvent WP",more_apps_intro:"Everything else we make, free on WordPress.org.",all:"All",suite_eyebrow:"Suite Pass",suite_title:"One Suite Pass,\nAccess all Reinvent WP PRO Plugins",suite_cta:"See plans",open:"Open",activate:"Activate",install:"Install",refresh_hint:"Get the latest list of apps now",catalog_hint:"See every Reinvent WP plugin on reinventwp.com",coming_soon:"Coming soon",ask:"Describe a problem with your site…",ask_title:"Reinvent WP Assistant",ask_intro:"Tell me what's wrong with your site, and I'll suggest the Reinvent WP app that fixes it.",ask_notice:"Your message, any screenshot or file you attach and the list of Reinvent WP apps on this site are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_notice_website:"Your message and any screenshot or file you attach are sent to Reinvent WP Services to answer it. Nothing is stored.",ask_send:"Send",ask_new:"New chat",ask_new_title:"Start a new chat?",ask_new_text:"This clears the current conversation. It can't be brought back.",ask_cancel:"Cancel",ask_close:"Close",ask_minimize:"Minimize the assistant to an icon",ask_launcher:"Ask the Reinvent WP Assistant",ask_restore:"Show the ask field again",ask_thinking:"Thinking…",ask_step_image:"Reading your screenshot…",ask_step_file:"Reading your log file…",ask_step_search:"Searching reinventwp.com…",ask_step_docs:"Reading the plugin docs…",ask_step_site:"Checking the plugins on your site…",ask_step_write:"Writing the answer…",ask_step_almost:"Almost there…",ask_error:"The assistant couldn't answer. Please try again.",ask_sources:"Read more on reinventwp.com",ask_search_one:"%d search",ask_search_many:"%d searches",ask_section_one:"%d section read",ask_section_many:"%d sections read",ask_your_question:"Your question",ask_attach:"Attach a screenshot or a log file",ask_remove_image:"Remove image",ask_view_image:"View full size",ask_copy:"Copy code",ask_copy_message:"Copy message",feedback_title:"Send feedback to the Reinvent WP team",feedback_email:"Your email",feedback_website:"Your website",feedback_message:"Your feedback",feedback_send:"Send feedback",feedback_sending:"Sending…",feedback_sent:"Thanks! Your feedback was sent to the Reinvent WP team.",feedback_error:"We couldn't send your feedback. Please try again.",feedback_check:"Enter your email, your website and a message.",feedback_notice:"Your email, website and message are sent to Reinvent WP.",ask_copied:"Copied",ask_copy_failed:"Couldn't copy: press Ctrl+C or ⌘+C",ask_image_error:"Couldn't attach that file. Use a screenshot (PNG, JPEG, WebP, GIF) or a text file (.log, .txt, .json, .csv, .md).",ask_file_limit:"You can attach one text file per question.",ask_file_lines:"%d lines",ask_file_newest:"newest %d lines",ask_file_masked:"%d private values hidden",ask_view_file:"See what will be sent",ask_file_note:"Only this text is sent: the newest part of the file, with emails, IP addresses, passwords and keys replaced by [hidden].",ask_image_limit:"You can attach up to 2 images.",ask_settings:"%s settings",go_to:"Go to %s",ask_nothing_new:"Only sections already read",ask_nothing_found:"Nothing found"};function Hl(e){return{installed:e.filter(e=>"missing"!==e.state),more:e.filter(e=>"missing"===e.state)}}const Yl=["reinventwp.com","www.reinventwp.com"];const ql={action:function(e){return"active"===e.state&&e.open_url?{href:e.open_url,label:Ul.open,variant:"contained",install:!1}:"inactive"===e.state&&e.activate_url?{href:e.activate_url,label:Ul.activate,variant:"outlined",install:!1}:"missing"===e.state&&e.install_url&&!e.coming_soon?{href:e.install_url,label:Ul.install,variant:"outlined",install:!0}:null},chips:function(e,t){const n=new Map;return e.forEach(e=>{var t;e.category&&n.set(e.category,(null!==(t=n.get(e.category))&&void 0!==t?t:0)+1)}),[{label:t,value:"",count:e.length},...[...n].map(([e,t])=>({label:e,value:e,count:t}))]},group:Hl,inCategory:function(e,t){return t?e.filter(e=>e.category===t):e},sections:function(e){const{installed:t,more:n}=Hl(e),r=e=>{var t;return(null!==(t=e.categories)&&void 0!==t?t:[]).some(e=>"must have"===e.trim().toLowerCase())};return{installed:t,mustHave:[...n.filter(r),...t.filter(r)],more:n.filter(e=>!r(e))}},siteLink:function(e,t,n){try{const r=new URL(e);return!Yl.includes(r.hostname)||[...r.searchParams.keys()].some(e=>e.startsWith("utm_"))?e:(r.searchParams.set("utm_source","wp_admin"),r.searchParams.set("utm_medium",t),r.searchParams.set("utm_campaign","reinventwp_apps"),n&&r.searchParams.set("utm_content",n),r.toString())}catch{return e}},summary:function(e,t){const n=t.filter(e=>"active"===e.state).length,r=t.filter(e=>"missing"!==e.state).length;return e.replace("%1$d",String(n)).replace("%2$d",String(r))},settingUrl:function(e,t){if("active"!==e.state||!e.open_url)return"";const n=e.open_url.includes("?")?"&":"?";return`${e.open_url}${n}path=${encodeURIComponent(t)}&spotlight=1`}},Gl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Kl=(()=>new Set([...Gl,"pathRotation"]))(),Xl=(e,t,n)=>n>t?t:n<e?e:n,Ql={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Zl={...Ql,transform:e=>Xl(0,1,e)},Jl={...Ql,default:1},ec=e=>Math.round(1e5*e)/1e5,tc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const nc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rc=(e,t)=>n=>Boolean("string"==typeof n&&nc.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),oc=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[o,i,a,s]=r.match(tc);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ic={...Ql,transform:e=>Math.round((e=>Xl(0,255,e))(e))},ac={test:rc("rgb","red"),parse:oc("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ic.transform(e)+", "+ic.transform(t)+", "+ic.transform(n)+", "+ec(Zl.transform(r))+")"};const sc={test:rc("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:ac.transform},lc=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),cc=lc("deg"),uc=lc("%"),dc=lc("px"),fc=lc("vh"),pc=lc("vw"),hc=(()=>({...uc,parse:e=>uc.parse(e)/100,transform:e=>uc.transform(100*e)}))(),mc={test:rc("hsl","hue"),parse:oc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+uc.transform(ec(t))+", "+uc.transform(ec(n))+", "+ec(Zl.transform(r))+")"},gc={test:e=>ac.test(e)||sc.test(e)||mc.test(e),parse:e=>ac.test(e)?ac.parse(e):mc.test(e)?mc.parse(e):sc.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ac.transform(e):mc.transform(e),getAnimatableNone:e=>{const t=gc.parse(e);return t.alpha=0,gc.transform(t)}},yc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const vc="number",bc="color",xc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wc(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(xc,e=>(gc.test(e)?(r.color.push(i),o.push(bc),n.push(gc.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(vc),n.push(parseFloat(e))),++i,"${}")).split("${}");return{values:n,split:a,indexes:r,types:o}}function Sc({split:e,types:t}){const n=e.length;return r=>{let o="";for(let i=0;i<n;i++)if(o+=e[i],void 0!==r[i]){const e=t[i];o+=e===vc?ec(r[i]):e===bc?gc.transform(r[i]):r[i]}return o}}const kc=(e,t)=>{return"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof(n=e)?0:gc.test(n)?gc.getAnimatableNone(n):n;var n};const Cc={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(tc)?.length||0)+(e.match(yc)?.length||0)>0},parse:function(e){return wc(e).values},createTransformer:function(e){return Sc(wc(e))},getAnimatableNone:function(e){const t=wc(e);return Sc(t)(t.values.map((e,n)=>kc(e,t.split[n])))}},Ec=new Set(["brightness","contrast","saturate","opacity"]);function Pc(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(tc)||[];if(!r)return e;const o=n.replace(r,"");let i=Ec.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Tc=/\b([a-z-]*)\(.*?\)/gu,jc={...Cc,getAnimatableNone:e=>{const t=e.match(Tc);return t?t.map(Pc).join(" "):e}},Ac={...Cc,getAnimatableNone:e=>{const t=Cc.parse(e);return Cc.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},Fc={...Ql,transform:Math.round},Mc={borderWidth:dc,borderTopWidth:dc,borderRightWidth:dc,borderBottomWidth:dc,borderLeftWidth:dc,borderRadius:dc,borderTopLeftRadius:dc,borderTopRightRadius:dc,borderBottomRightRadius:dc,borderBottomLeftRadius:dc,width:dc,maxWidth:dc,height:dc,maxHeight:dc,top:dc,right:dc,bottom:dc,left:dc,inset:dc,insetBlock:dc,insetBlockStart:dc,insetBlockEnd:dc,insetInline:dc,insetInlineStart:dc,insetInlineEnd:dc,padding:dc,paddingTop:dc,paddingRight:dc,paddingBottom:dc,paddingLeft:dc,paddingBlock:dc,paddingBlockStart:dc,paddingBlockEnd:dc,paddingInline:dc,paddingInlineStart:dc,paddingInlineEnd:dc,margin:dc,marginTop:dc,marginRight:dc,marginBottom:dc,marginLeft:dc,marginBlock:dc,marginBlockStart:dc,marginBlockEnd:dc,marginInline:dc,marginInlineStart:dc,marginInlineEnd:dc,fontSize:dc,backgroundPositionX:dc,backgroundPositionY:dc,...{rotate:cc,pathRotation:cc,rotateX:cc,rotateY:cc,rotateZ:cc,scale:Jl,scaleX:Jl,scaleY:Jl,scaleZ:Jl,skew:cc,skewX:cc,skewY:cc,distance:dc,translateX:dc,translateY:dc,translateZ:dc,x:dc,y:dc,z:dc,perspective:dc,transformPerspective:dc,opacity:Zl,originX:hc,originY:hc,originZ:dc},zIndex:Fc,fillOpacity:Zl,strokeOpacity:Zl,numOctaves:Fc},Oc={...Mc,color:gc,backgroundColor:gc,outlineColor:gc,fill:gc,stroke:gc,borderColor:gc,borderTopColor:gc,borderRightColor:gc,borderBottomColor:gc,borderLeftColor:gc,filter:jc,WebkitFilter:jc,mask:Ac,WebkitMask:Ac},Rc=e=>Oc[e],Nc=()=>({x:{min:0,max:0},y:{min:0,max:0}}),Lc=e=>Boolean(e&&e.getVelocity),Dc=new Set(["width","height","top","left","right","bottom",...Gl]),zc=e=>t=>t.test(e),Ic=[Ql,dc,uc,cc,pc,fc,{test:e=>"auto"===e,parse:e=>e}],Bc=e=>Ic.find(zc(e));const _c=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Vc=e=>t=>"string"==typeof t&&t.startsWith(e),$c=Vc("--"),Wc=Vc("var(--"),Uc=e=>!!Wc(e)&&Hc.test(e.split("/*")[0].trim()),Hc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Yc(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const qc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Gc(e,t,n=1){const[r,o]=function(e){const t=qc.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return _c(e)?parseFloat(e):e}return Uc(o)?Gc(o,t,n+1):o}const Kc=e=>180*e/Math.PI,Xc=e=>{const t=Kc(Math.atan2(e[1],e[0]));return Zc(t)},Qc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Xc,rotateZ:Xc,skewX:e=>Kc(Math.atan(e[1])),skewY:e=>Kc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Zc=e=>((e%=360)<0&&(e+=360),e),Jc=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eu=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tu={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Jc,scaleY:eu,scale:e=>(Jc(e)+eu(e))/2,rotateX:e=>Zc(Kc(Math.atan2(e[6],e[5]))),rotateY:e=>Zc(Kc(Math.atan2(-e[2],e[0]))),rotateZ:Xc,rotate:Xc,skewX:e=>Kc(Math.atan(e[4])),skewY:e=>Kc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function nu(e){return e.includes("scale")?1:0}function ru(e,t){if(!e||"none"===e)return nu(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=tu,o=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Qc,o=t}if(!o)return nu(t);const i=r[t],a=o[1].split(",").map(ou);return"function"==typeof i?i(a):a[i]}function ou(e){return parseFloat(e.trim())}const iu=e=>e===Ql||e===dc,au=new Set(["x","y","z"]),su=Gl.filter(e=>!au.has(e));const lu={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return"border-box"===r?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return"border-box"===r?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ru(t,"x"),y:(e,{transform:t})=>ru(t,"y")};lu.translateX=lu.x,lu.translateY=lu.y;const cu=e=>e,uu={},du=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function fu(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=du.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:(e,o=!1,a=!1)=>{const s=a&&r?t:n;return o&&i.add(e),s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(a=e,r)return void(o=!0);r=!0;const i=t;t=n,n=i,t.forEach(s),t.clear(),r=!1,o&&(o=!1,l.process(e))}};return l}(i),e),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:f,render:p,postRender:h}=a,m=()=>{const i=uu.useManualTiming,a=i?o.timestamp:performance.now();n=!1,i||(o.delta=r?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,s.process(o),l.process(o),c.process(o),u.process(o),d.process(o),f.process(o),p.process(o),h.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:du.reduce((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(m)),s.schedule(t,i,a)),t},{}),cancel:e=>{for(let t=0;t<du.length;t++)a[du[t]].cancel(e)},state:o,steps:a}}const{schedule:pu,cancel:hu,state:mu,steps:gu}=fu("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:cu,!0),yu=new Set;let vu=!1,bu=!1,xu=!1;function wu(){if(bu){const e=Array.from(yu).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=function(e){const t=[];return su.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}bu=!1,vu=!1,yu.forEach(e=>e.complete(xu)),yu.clear()}function Su(){yu.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(bu=!0)})}class ku{constructor(e,t,n,r,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(yu.add(this),vu||(vu=!0,pu.read(Su),pu.resolveKeyframes(wu))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const o=r?.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),yu.delete(this)}cancel(){"scheduled"===this.state&&(yu.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const Cu=e=>/^0[^.\s]+$/u.test(e);function Eu(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||Cu(e))}const Pu=new Set([jc,Ac]);function Tu(e,t){let n=Rc(e);return Pu.has(n)||(n=Cc),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ju=new Set(["auto","none","0"]);class Au extends ku{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),Uc(r))){const o=Gc(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Dc.has(n)||2!==e.length)return;const[r,o]=e,i=Bc(r),a=Bc(o);if(Yc(r)!==Yc(o)&&lu[n])this.needsMeasurement=!0;else if(i!==a)if(iu(i)&&iu(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else lu[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||Eu(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"==typeof t&&!ju.has(t)&&wc(t).values.length&&(r=e[o]),o++}if(r&&n)for(const o of t)e[o]=Tu(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lu[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);const o=n.length-1,i=n[o];n[o]=lu[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}const Fu=e=>1e3*e,Mu=e=>e/1e3;function Ou(e,t){-1===e.indexOf(t)&&e.push(t)}function Ru(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Nu{constructor(){this.subscriptions=[]}add(e){return Ou(this.subscriptions,e),()=>Ru(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Lu(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}function Du(e){let t;return()=>(void 0===t&&(t=e()),t)}const zu={};function Iu(e,t){const n=Du(e);return()=>zu[t]??n()}const Bu=Iu(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),_u=e=>null!==e;function Vu(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(_u),a=o<0||t&&"loop"!==n&&t%2==1?0:i.length-1;return a&&void 0!==r?r:i[a]}class $u{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const Wu=e=>Array.isArray(e)&&"number"==typeof e[0],Uu=Iu(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),Hu=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let t=0;t<o;t++)r+=Math.round(1e4*e(t/(o-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Yu=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,qu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Yu([0,.65,.55,1]),circOut:Yu([.55,0,1,.45]),backIn:Yu([.31,.01,.66,-.59]),backOut:Yu([.33,1.53,.69,.99])};function Gu(e,t){return e?"function"==typeof e?Uu()?Hu(e,t):"ease-out":Wu(e)?Yu(e):Array.isArray(e)?e.map(e=>Gu(e,t)||qu.easeOut):qu[e]:void 0}function Ku(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=Gu(s,o);Array.isArray(d)&&(u.easing=d);const f={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(u,f)}function Xu(e){return"function"==typeof e&&"applyToOptions"in e}class Qu extends $u{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=Boolean(o),this.allowFlatten=i,this.options=e,e.type;const l=function({type:e,...t}){return Xu(e)&&Uu()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=Ku(t,n,r,l,o),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const e=Vu(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Lu(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Mu(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Mu(e)}get time(){return Mu(Number(this.animation.currentTime)||0)}set time(e){const t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Fu(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Bu()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),cu):r(this)}}const Zu=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:Ju,cancel:ed}=fu(queueMicrotask,!1);let td;function nd(){td=void 0}const rd={now:()=>(void 0===td&&rd.set(mu.isProcessing||uu.useManualTiming?mu.timestamp:performance.now()),td),set:e=>{td=e,queueMicrotask(nd)}},od=(e,t)=>t?e*(1e3/t):0,id={current:void 0};class ad{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=rd.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=rd.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Nu);const n=this.events[e].add(t);return"change"===e?()=>{n(),pu.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return id.current&&id.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=rd.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return od(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sd(e,t){return new ad(e,t)}const ld=[...Ic,gc,Cc],cd=new WeakMap;function ud(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function dd(e){return"string"==typeof e||Array.isArray(e)}const fd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],pd=["initial",...fd];function hd(e){return ud(e.animate)||pd.some(t=>dd(e[t]))}function md(e){return Boolean(hd(e)||e.variants)}const gd={current:null},yd={current:!1},vd="undefined"!=typeof window;function bd(){if(yd.current=!0,vd)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gd.current=e.matches;e.addEventListener("change",t),t()}else gd.current=!1}function xd(e){const t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function wd(e,t,n,r){if("function"==typeof t){const[o,i]=xd(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=xd(r);t=t(void 0!==n?n:e.custom,o,i)}return t}const Sd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let kd={};function Cd(e){kd=e}class Ed{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:o,blockInitialAnimation:i,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ku,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=rd.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,pu.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=o,this.options=s,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=hd(t),this.isVariantNode=md(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&Lc(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(const e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,cd.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(yd.current||bd(),this.shouldReduceMotion=gd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),hu(this.notifyUpdate),hu(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Zu.has(e)&&this.current instanceof HTMLElement){const{factory:n,keyframes:r,times:o,ease:i,duration:a}=t.accelerate,s=new Qu({element:this.current,name:e,keyframes:r,times:o,ease:i,duration:Fu(a)}),l=n(s);return void this.valueSubscriptions.set(e,()=>{l(),s.cancel()})}const n=Kl.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&pu.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),o&&o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in kd){const t=kd[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Sd.length;t++){const n=Sd[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Lc(o))e.addValue(r,o);else if(Lc(i))e.addValue(r,sd(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,sd(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=sd(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=n&&("string"==typeof n&&(_c(n)||Cu(n))?n=parseFloat(n):(r=n,!ld.find(zc(r))&&Cc.test(t)&&(n=Tu(e,t))),this.setBaseTarget(e,Lc(n)?n.get():n)),Lc(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){const r=wd(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Lc(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Nu),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Ju.render(this.render)}}class Pd extends Ed{constructor(){super(...arguments),this.KeyframeResolver=Au}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){const n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Lc(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function Td(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const jd=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Ad={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Fd=Gl.length;function Md(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const n=t[e];if(Kl.has(e))a=!0;else if($c(e))o[e]=n;else{const t=jd(n,Mc[e]);e.startsWith("origin")?(s=!0,i[e]=t):r[e]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<Fd;i++){const a=Gl[i],s=e[a];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===(a.startsWith("scale")?1:0);else{const e=parseFloat(s);l=a.startsWith("scale")?1===e:0===e}if(!l||n){const e=jd(s,Mc[a]);l||(o=!1,r+=`${Ad[a]||a}(${e}) `),n&&(t[a]=e)}}const i=e.pathRotation;return i&&(o=!1,r+=`rotate(${jd(i,Mc.pathRotation)}) `),r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}const Od={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rd={offset:"strokeDashoffset",array:"strokeDasharray"};const Nd=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ld(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:a=0,...s},l,c,u){if(Md(e,s,c),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??"fill-box",delete d.transformBox);for(const e of Nd)void 0!==d[e]&&(f[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==o&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Od:Rd;e[i.offset]=""+-r,e[i.array]=`${t} ${n}`}(d,o,i,a,!1)}const Dd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),zd=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Id(e,{style:t,vars:n},r,o){const i=e.style;let a;for(a in t)i[a]=t[a];for(a in o?.applyProjectionStyles(i,r),n)i.setProperty(a,n[a])}const Bd=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function _d(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Vd={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!dc.test(e))return e;e=parseFloat(e)}return`${_d(e,t.target.x)}% ${_d(e,t.target.y)}%`}},$d=(e,t,n)=>e+(t-e)*n,Wd={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Cc.parse(e);if(o.length>5)return r;const i=Cc.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=$d(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};const Ud={borderRadius:{...Vd,applyTo:[...Bd]},borderTopLeftRadius:Vd,borderTopRightRadius:Vd,borderBottomLeftRadius:Vd,borderBottomRightRadius:Vd,boxShadow:Wd};function Hd(e,{layout:t,layoutId:n}){return Kl.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Ud[e]||"opacity"===e)}function Yd(e,t,n){const r=e.style,o=t?.style,i={};if(!r)return i;for(const t in r)(Lc(r[t])||o&&Lc(o[t])||Hd(t,e)||void 0!==n?.getValue(t)?.liveStyle)&&(i[t]=r[t]);return i}function qd(e,t,n){const r=Yd(e,t,n);for(const n in e)if(Lc(e[n])||Lc(t[n])){r[-1!==Gl.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}class Gd extends Pd{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Nc}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Kl.has(t)){const e=Rc(t);return e&&e.default||0}return t=Dd.has(t)?t:Td(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return qd(e,t,n)}build(e,t,n){Ld(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){Id(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Dd.has(n)?n:Td(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=zd(e.tagName),super.mount(e)}}function Kd({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Xd(e){return void 0===e||1===e}function Qd({scale:e,scaleX:t,scaleY:n}){return!Xd(e)||!Xd(t)||!Xd(n)}function Zd(e){return Qd(e)||Jd(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Jd(e){return ef(e.x)||ef(e.y)}function ef(e){return e&&"0%"!==e}function tf(e,t,n){return n+t*(e-n)}function nf(e,t,n,r,o){return void 0!==o&&(e=tf(e,o,r)),tf(e,n,r)+t}function rf(e,t=0,n=1,r,o){e.min=nf(e.min,t,n,r,o),e.max=nf(e.max,t,n,r,o)}function of(e,{x:t,y:n}){rf(e.x,t.translate,t.scale,t.originPoint),rf(e.y,n.translate,n.scale,n.originPoint)}const af=.999999999999,sf=1.0000000000001;function lf(e,t){e.min+=t,e.max+=t}function cf(e,t,n,r,o=.5){rf(e,t,n,$d(e.min,e.max,o),r)}function uf(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function df(e,t,n){const r=n??e;cf(e.x,uf(t.x,r.x),t.scaleX,t.scale,t.originX),cf(e.y,uf(t.y,r.y),t.scaleY,t.scale,t.originY)}function ff(e,t){return Kd(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class pf extends Pd{constructor(){super(...arguments),this.type="html",this.renderInstance=Id}mount(e){Boolean(e.style),super.mount(e)}readValueFromInstance(e,t){if(Kl.has(t))return this.projection?.isProjecting?nu(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ru(n,t)})(e,t);{const r=(n=e,window.getComputedStyle(n)),o=($c(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ff(e,t)}build(e,t,n){Md(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Yd(e,t,n)}}const hf=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function mf(e){return"string"==typeof e&&!e.includes("-")&&!!(hf.indexOf(e)>-1||/[A-Z]/u.test(e))}const gf=(e,t)=>t.isSVG??mf(e)?new Gd(t):new pf(t,{allowProjection:e!==u().Fragment}),yf=(0,u().createContext)({}),vf=(0,u().createContext)({strict:!1}),bf=(0,u().createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),xf=(0,u().createContext)({});function wf(e){const{initial:t,animate:n}=function(e,t){if(hd(e)){const{initial:t,animate:n}=e;return{initial:!1===t||dd(t)?t:void 0,animate:dd(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,u().useContext)(xf));return(0,u().useMemo)(()=>({initial:t,animate:n}),[Sf(t),Sf(n)])}function Sf(e){return Array.isArray(e)?e.join(" "):e}const kf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Cf(e,t,n){for(const r in t)Lc(t[r])||Hd(r,n)||(e[r]=t[r])}function Ef(e,t){const n={};return Cf(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,u().useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Md(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function Pf(e,t){const n={},r=Ef(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Tf=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function jf(e,t,n,r){const o=(0,u().useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ld(n,t,zd(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Cf(t,e.style,e),o.style={...t,...o.style}}return o}const Af=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Ff(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Af.has(e)}let Mf=e=>!Ff(e);try{"function"==typeof(Of=require("@emotion/is-prop-valid").default)&&(Mf=e=>e.startsWith("on")?!Ff(e):Of(e))}catch{}var Of;function Rf(e,t,n,{latestValues:r},o,i=!1,a){const s=(a??mf(e)?jf:Pf)(t,r,o,e),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||Lc(e[o])||(Mf(o)||!0===n&&Ff(o)||!t&&!Ff(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(t,"string"==typeof e,i),c=e!==u().Fragment?{...l,...s,ref:n}:{},{children:d}=t,f=(0,u().useMemo)(()=>Lc(d)?d.get():d,[d]);return(0,u().createElement)(e,{...c,children:f})}function Nf(e){return Lc(e)?e.get():e}const Lf=(0,u().createContext)(null);function Df(e){const t=(0,u().useRef)(null);return null===t.current&&(t.current=e()),t.current}function zf(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Nf(i[e]);let{initial:a,animate:s}=e;const l=hd(e),c=md(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!ud(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=wd(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const If=e=>(t,n)=>{const r=(0,u().useContext)(xf),o=(0,u().useContext)(Lf),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:zf(n,r,o,e),renderState:t()}}(e,t,r,o);return n?i():Df(i)},Bf=If({scrapeMotionValuesFromProps:Yd,createRenderState:kf}),_f=If({scrapeMotionValuesFromProps:qd,createRenderState:Tf}),Vf={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let $f=!1;function Wf(){return function(){if($f)return;const e={};for(const t in Vf)e[t]={isEnabled:e=>Vf[t].some(t=>!!e[t])};Cd(e),$f=!0}(),kd}const Uf=Symbol.for("motionComponentSymbol");function Hf(e,t,n){const r=(0,u().useRef)(n);(0,u().useInsertionEffect)(()=>{r.current=n});const o=(0,u().useRef)(null);return(0,u().useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());const i=r.current;if("function"==typeof i)if(n){const e=i(n);"function"==typeof e&&(o.current=e)}else o.current?(o.current(),o.current=null):i(n);else i&&(i.current=n)},[t])}const Yf="data-"+Td("framerAppearId"),qf=(0,u().createContext)({});function Gf(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const Kf="undefined"!=typeof window?u().useLayoutEffect:u().useEffect;function Xf(e,t,n,r,o,i){const{visualElement:a}=(0,u().useContext)(xf),s=(0,u().useContext)(vf),l=(0,u().useContext)(Lf),c=(0,u().useContext)(bf),d=c.reducedMotion,f=c.skipAnimations,p=(0,u().useRef)(null),h=(0,u().useRef)(!1);r=r||s.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:d,skipAnimations:f,isSVG:i}),h.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const m=p.current,g=(0,u().useContext)(qf);!m||m.projection||!o||"html"!==m.type&&"svg"!==m.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Qf(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(a)||s&&Gf(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(p.current,n,o,g);const y=(0,u().useRef)(!1);(0,u().useInsertionEffect)(()=>{m&&y.current&&m.update(n,l)});const v=n[Yf],b=(0,u().useRef)(Boolean(v)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return Kf(()=>{h.current=!0,m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),b.current&&m.animationState&&m.animationState.animateChanges())}),(0,u().useEffect)(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),b.current=!1),m.enteringChildren=void 0)}),m}function Qf(e){if(e)return!1!==e.options.allowProjection?e.projection:Qf(e.parent)}function Zf(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&function(e){const t=Wf();for(const n in e)t[n]={...t[n],...e[n]};Cd(t)}(r);const i=n?"svg"===n:mf(e),a=i?_f:Bf;function s(n,r){let s;const l={...(0,u().useContext)(bf),...n,layoutId:Jf(n)},{isStatic:c}=l,d=wf(n),f=a(n,c);if(!c&&"undefined"!=typeof window){!function(){(0,u().useContext)(vf).strict;0}();const t=function(e){const t=Wf(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}(l);s=t.MeasureLayout,d.visualElement=Xf(e,f,l,o,t.ProjectionNode,i)}return(0,p.jsxs)(xf.Provider,{value:d,children:[s&&d.visualElement?(0,p.jsx)(s,{visualElement:d.visualElement,...l}):null,Rf(e,n,Hf(f,d.visualElement,r),f,c,t,i)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;const l=(0,u().forwardRef)(s);return l[Uf]=e,l}function Jf({layoutId:e}){const t=(0,u().useContext)(yf).id;return t&&void 0!==e?t+"-"+e:e}function ep(e,t){if("undefined"==typeof Proxy)return Zf;const n=new Map,r=(n,r)=>Zf(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(o,i)=>"create"===i?r:(n.has(i)||n.set(i,Zf(i,void 0,e,t)),n.get(i))})}class tp{constructor(e){this.isMounted=!1,this.node=e}update(){}}function np(e,t,n){const r=e.getProps();return wd(r,t,void 0!==n?n:r.custom,e)}function rp(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function op(e,t){const n=e?.[t]??e?.default??e;return n!==e?rp(n,e):n}const ip=e=>Array.isArray(e);function ap(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,sd(n))}function sp(e){return ip(e)?e[e.length-1]||0:e}function lp(e,t){const n=e.getValue("willChange");if(r=n,Boolean(Lc(r)&&r.add))return n.add(t);if(!n&&uu.WillChange){const n=new uu.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function cp(e){return e.props[Yf]}const up=(...e)=>e.reduce((e,t)=>n=>t(e(n)));function dp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function fp(e,t){return n=>n>0?t:e}const pp=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},hp=[sc,ac,mc];function mp(e){const t=(n=e,hp.find(e=>e.test(n)));var n;if(Boolean(t),!Boolean(t))return!1;let r=t.parse(e);return t===mc&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=dp(s,r,e+1/3),i=dp(s,r,e),a=dp(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(r)),r}const gp=(e,t)=>{const n=mp(e),r=mp(t);if(!n||!r)return fp(e,t);const o={...n};return e=>(o.red=pp(n.red,r.red,e),o.green=pp(n.green,r.green,e),o.blue=pp(n.blue,r.blue,e),o.alpha=$d(n.alpha,r.alpha,e),ac.transform(o))},yp=new Set(["none","hidden"]);function vp(e,t){return n=>$d(e,t,n)}function bp(e){return"number"==typeof e?vp:"string"==typeof e?Uc(e)?fp:gc.test(e)?gp:Sp:Array.isArray(e)?xp:"object"==typeof e?gc.test(e)?gp:wp:fp}function xp(e,t){const n=[...e],r=n.length,o=e.map((e,n)=>bp(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function wp(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=bp(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const Sp=(e,t)=>{const n=Cc.createTransformer(t),r=wc(e),o=wc(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?yp.has(e)&&!o.values.length||yp.has(t)&&!r.values.length?function(e,t){return yp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):up(xp(function(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],a=e.indexes[i][r[i]],s=e.values[a]??0;n[o]=s,r[i]++}return n}(r,o),o.values),n):fp(e,t)};function kp(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return $d(e,t,n);return bp(e)(e,t)}const Cp=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>pu.update(t,e),stop:()=>hu(t),now:()=>mu.isProcessing?mu.timestamp:rd.now()}};function Ep(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const Pp=100,Tp=10,jp=1,Ap=0,Fp=800,Mp=.3,Op=.3,Rp={granular:.01,default:2},Np={granular:.005,default:.5},Lp=.01,Dp=10,zp=.05,Ip=1;function Bp(e,t){return e*Math.sqrt(1-t*t)}const _p=.001;const Vp=["duration","bounce"],$p=["stiffness","damping","mass"];function Wp(e,t){return t.some(t=>void 0!==e[t])}function Up(e){let t={velocity:Ap,stiffness:Pp,damping:Tp,mass:jp,isResolvedFromDuration:!1,...e};if(!Wp(e,$p)&&Wp(e,Vp))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,i=2*Xl(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:jp,stiffness:o,damping:i}}else{const n=function({duration:e=Fp,bounce:t=Mp,velocity:n=Ap,mass:r=jp}){let o,i;Fu(Dp);let a=1-t;a=Xl(zp,Ip,a),e=Xl(Lp,Dp,Mu(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Bp(t,a),l=Math.exp(-o);return _p-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Bp(Math.pow(t,2),a);return(-o(t)+_p>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Fu(e),isNaN(s))return{stiffness:Pp,damping:Tp,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});t={...t,...n,mass:jp},t.isResolvedFromDuration=!0}return t}function Hp(e=Op,t=Mp){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Up({...n,velocity:-Mu(n.velocity||0)}),h=f||0,m=c/(2*Math.sqrt(l*u)),g=a-i,y=Mu(Math.sqrt(l/u)),v=Math.abs(g)<5;let b,x,w,S,k,C;if(r||(r=v?Rp.granular:Rp.default),o||(o=v?Np.granular:Np.default),m<1)w=Bp(y,m),S=(h+m*y*g)/w,b=e=>{const t=Math.exp(-m*y*e);return a-t*(S*Math.sin(w*e)+g*Math.cos(w*e))},k=m*y*S+g*w,C=m*y*g-S*w,x=e=>Math.exp(-m*y*e)*(k*Math.sin(w*e)+C*Math.cos(w*e));else if(1===m){b=e=>a-Math.exp(-y*e)*(g+(h+y*g)*e);const e=h+y*g;x=t=>Math.exp(-y*t)*(y*e*t-h)}else{const e=y*Math.sqrt(m*m-1);b=t=>{const n=Math.exp(-m*y*t),r=Math.min(e*t,300);return a-n*((h+m*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};const t=(h+m*y*g)/e,n=m*y*t-g*e,r=m*y*g-t*e;x=t=>{const o=Math.exp(-m*y*t),i=Math.min(e*t,300);return o*(n*Math.sinh(i)+r*Math.cosh(i))}}const E={calculatedDuration:p&&d||null,velocity:e=>Fu(x(e)),next:e=>{if(!p&&m<1){const t=Math.exp(-m*y*e),n=Math.sin(w*e),i=Math.cos(w*e),l=a-t*(S*n+g*i),c=Fu(t*(k*n+C*i));return s.done=Math.abs(c)<=r&&Math.abs(a-l)<=o,s.value=s.done?a:l,s}const t=b(e);if(p)s.done=e>=d;else{const n=Fu(x(e));s.done=Math.abs(n)<=r&&Math.abs(a-t)<=o}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(Ep(E),2e4),t=Hu(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}Hp.applyToOptions=e=>{const t=function(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Ep(r),2e4);return{type:"keyframes",ease:e=>r.next(o*e).value/t,duration:Mu(o)}}(e,100,Hp);return e.ease=t.ease,e.duration=Fu(t.duration),e.type="keyframes",e};function Yp(e,t,n){const r=Math.max(t-5,0);return od(n-e(r),t-r)}function qp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const m=d+h,g=void 0===a?m:a(m);g!==m&&(h=g-d);const y=e=>-h*Math.exp(-e/r),v=e=>g+y(e),b=e=>{const t=y(e),n=v(e);f.done=Math.abs(t)<=c,f.value=f.done?g:n};let x,w;const S=e=>{var t;(t=f.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=Hp({keyframes:[f.value,p(f.value)],velocity:Yp(v,e,f.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),S(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&b(e),f)}}}const Gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Kp(e,t,n,r){if(e===t&&n===r)return cu;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Gp(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Gp(o(e),t,r)}const Xp=Kp(.42,0,1,1),Qp=Kp(0,0,.58,1),Zp=Kp(.42,0,.58,1),Jp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eh=e=>t=>1-e(1-t),th=Kp(.33,1.53,.69,.99),nh=eh(th),rh=Jp(nh),oh=e=>e>=1?1:(e*=2)<1?.5*nh(e):.5*(2-Math.pow(2,-10*(e-1))),ih=e=>1-Math.sin(Math.acos(e)),ah=eh(ih),sh=Jp(ih),lh={linear:cu,easeIn:Xp,easeInOut:Zp,easeOut:Qp,circIn:ih,circInOut:sh,circOut:ah,backIn:nh,backInOut:rh,backOut:th,anticipate:oh},ch=e=>{if(Wu(e)){e.length;const[t,n,r,o]=e;return Kp(t,n,r,o)}return(e=>"string"==typeof e)(e)?lh[e]:e},uh=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};function dh(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(t.length,1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],o=n||uu.mix||kp,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||cu:t;i=up(e,i)}r.push(i)}return r}(t,r,o),l=s.length,c=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const o=uh(e[r],e[r+1],n);return s[r](o)};return n?t=>c(Xl(e[0],e[i-1],t)):c}function fh(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=uh(0,t,r);e.push($d(n,1,o))}}(t,e.length-1),t}function ph(e,t){return e.map(()=>t||Zp).splice(0,e.length-1)}function hh({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ch):ch(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:fh(t),e),s=dh(a,t,{ease:Array.isArray(o)?o:ph(t,o)});return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const mh={decay:qp,inertia:qp,tween:hh,keyframes:hh,spring:Hp};function gh(e){"string"==typeof e.type&&(e.type=mh[e.type])}const yh=e=>e/100;class vh extends $u{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==rd.now()&&this.tick(rd.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;gh(e);const{type:t=hh,repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=e;let{keyframes:a}=e;const s=t||hh;s!==hh&&"number"!=typeof a[0]&&(this.mixKeyframes=up(yh,kp(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===o&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-i})),null===l.calculatedDuration&&(l.calculatedDuration=Ep(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:c,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:h,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v,b=this.currentTime,x=n;if(u){const e=Math.min(this.currentTime,r)/a;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,u+1);Boolean(t%2)&&("reverse"===d?(n=1-n,f&&(n-=f/a)):"mirror"===d&&(x=i)),b=Xl(0,1,n)*a}y?(this.delayState.value=c[0],v=this.delayState):v=x.next(b),o&&!y&&(v.value=o(v.value));let{done:w}=v;y||null===s||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&p!==qp&&(v.value=Vu(c,this.options,m,this.speed)),h&&h(v.value),S&&this.finish(),v}then(e,t){return this.finished.then(e,t)}get duration(){return Mu(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Mu(e)}get time(){return Mu(this.currentTime)}set time(e){e=Fu(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);return Yp(e=>this.generator.next(e).value,e,this.generator.next(e).value)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(rd.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Mu(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Cp,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(rd.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const bh={anticipate:oh,backInOut:rh,circInOut:sh};function xh(e){"string"==typeof e.ease&&e.ease in bh&&(e.ease=bh[e.ease])}class wh extends Qu{constructor(e){xh(e),gh(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:o,...i}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new vh({...i,autoplay:!1}),s=Math.max(10,rd.now()-this.startTime),l=Xl(0,10,s-10),c=a.sample(s).value,{name:u}=this.options;o&&u&&Lu(o,u,c),t.setWithVelocity(a.sample(Math.max(0,s-l)).value,c,l),a.stop()}}const Sh=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Cc.test(e)&&"0"!==e||e.startsWith("url(")));function kh(e){e.duration=0,e.type="keyframes"}const Ch=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const Eh=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Ph=Du(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Th(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a,keyframes:s}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement||l instanceof SVGElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return Ph()&&n&&(Zu.has(n)||Eh.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&Ch.test(e[t]))return!0;return!1}(s))&&("transform"!==n||!u)&&!c&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}class jh extends $u{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",keyframes:a,name:s,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=rd.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,name:s,motionValue:l,element:c,...u},f=c?.KeyframeResolver||ku;this.keyframeResolver=new f(a,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;const{name:o,type:i,velocity:a,delay:s,isHandoff:l,onUpdate:c}=n;this.resolvedAt=rd.now();let u=!0;(function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=Sh(o,t),s=Sh(i,t);return!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||Xu(n))&&r)})(e,o,i,a)||(u=!1,!uu.instantAnimations&&s||c?.(Vu(e,n,t)),e[0]=e[e.length-1],kh(n),n.repeat=0);const d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!l&&Th(d),p=d.motionValue?.owner?.current;let h;if(f)try{h=new wh({...d,element:p})}catch{h=new vh(d)}else h=new vh(d);h.finished.then(()=>{this.notifyFinished()}).catch(cu),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),xu=!0,Su(),wu(),xu=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Ah={type:"spring",stiffness:500,damping:25,restSpeed:10},Fh={type:"keyframes",duration:.8},Mh={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oh=(e,{keyframes:t})=>t.length>2?Fh:Kl.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Ah:Mh,Rh=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const Nh=(e,t,n,r={},o,i)=>a=>{const s=op(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c-=Fu(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function(e){for(const t in e)if(!Rh.has(t))return!0;return!1})(s)||Object.assign(u,Oh(e,u)),u.duration&&(u.duration=Fu(u.duration)),u.repeatDelay&&(u.repeatDelay=Fu(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(kh(u),0===u.delay&&(d=!0)),(uu.instantAnimations||uu.skipAnimations||o?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,kh(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!i&&void 0!==t.get()){const e=Vu(u.keyframes,s);if(void 0!==e)return void pu.update(()=>{u.onUpdate(e),u.onComplete()})}return s.isSync?new vh(u):new jh(u)};function Lh({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Dh(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:a,...s}=t;const l=e.getDefaultTransition();i=i?rp(i,l):l;const c=i?.reduceMotion,u=i?.skipAnimations;r&&(i=r);const d=[],f=o&&e.animationState&&e.animationState.getState()[o],p=i?.path;p&&p.animateVisualElement(e,s,i,n,d);for(const t in s){const r=e.getValue(t,e.latestValues[t]??null),o=s[t];if(void 0===o||f&&Lh(f,t))continue;const a={delay:n,...op(i||{},t)};u&&(a.skipAnimations=!0);const l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(o)&&o===l&&!a.velocity){pu.update(()=>r.set(o));continue}let p=!1;if(window.MotionHandoffAnimation){const n=cp(e);if(n){const e=window.MotionHandoffAnimation(n,t,pu);null!==e&&(a.startTime=e,p=!0)}}lp(e,t);const h=c??e.shouldReduceMotion;r.start(Nh(t,r,o,h&&Dc.has(t)?{type:!1}:a,e,p));const m=r.animation;m&&d.push(m)}if(a){const t=()=>pu.update(()=>{a&&function(e,t){const n=np(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)ap(e,t,sp(i[t]))}(e,a)});d.length?Promise.all(d).then(t):t()}return d}function zh(e,t,n,r=0,o=1){const i=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*r;return"function"==typeof n?n(i,a):1===o?i*r:s-i*r}function Ih(e,t,n={}){const r=np(e,t,"exit"===n.type?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Dh(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=0,i=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(Ih(l,t,{...a,delay:n+("function"==typeof r?0:r)+zh(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,r,i,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(n.delay)])}const Bh=pd.length;function _h(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&_h(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Bh;n++){const r=pd[n],o=e.props[r];(dd(o)||!1===o)&&(t[r]=o)}return t}function Vh(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const $h=[...fd].reverse(),Wh=fd.length;function Uh(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Ih(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Ih(e,t,n);else{const o="function"==typeof t?np(e,t,n.custom):t;r=Promise.all(Dh(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}function Hh(e){let t=Uh(e),n=Gh(),r=!0,o=!1;const i=t=>(n,r)=>{const o=np(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(o){const{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function a(a){const{props:s}=e,l=_h(e.parent)||{},c=[],u=new Set;let d={},f=1/0;for(let t=0;t<Wh;t++){const p=$h[t],h=n[p],m=void 0!==s[p]?s[p]:l[p],g=dd(m),y=p===a?h.isActive:null;!1===y&&(f=t);let v=m===l[p]&&m!==s[p]&&g;if(v&&(r||o)&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===y||!m&&!h.prevProp||ud(m)||"boolean"==typeof m)continue;if("exit"===p&&h.isActive&&!0!==y){h.prevResolvedValues&&(d={...d,...h.prevResolvedValues});continue}const b=Yh(h.prevProp,m);let x=b||p===a&&h.isActive&&!v&&g||t>f&&g,w=!1;const S=Array.isArray(m)?m:[m];let k=S.reduce(i(p),{});!1===y&&(k={});const{prevResolvedValues:C={}}=h,E={...C,...k},P=t=>{x=!0,u.has(t)&&(w=!0,u.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in E){const t=k[e],n=C[e];if(d.hasOwnProperty(e))continue;let r=!1;r=ip(t)&&ip(n)?!Vh(t,n)||b:t!==n,r?null!=t?P(e):u.add(e):void 0!==t&&u.has(e)?P(e):h.protectedKeys[e]=!0}h.prevProp=m,h.prevResolvedValues=k,h.isActive&&(d={...d,...k}),(r||o)&&e.blockInitialAnimation&&(x=!1);const T=v&&b;x&&(!T||w)&&c.push(...S.map(t=>{const n={type:p};if("string"==typeof t&&(r||o)&&!T&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,o=np(r,t);if(r.enteringChildren&&o){const{delayChildren:t}=o.transition||{};n.delay=zh(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){const t={};if("boolean"!=typeof s.initial){const n=np(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let p=Boolean(c.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,o=!1,p?t(c):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;const o=a(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Gh(),o=!0}}}function Yh(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Vh(t,e)}function qh(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gh(){return{animate:qh(!0),whileInView:qh(),whileHover:qh(),whileTap:qh(),whileDrag:qh(),whileFocus:qh(),exit:qh()}}let Kh=0;const Xh={animation:{Feature:class extends tp{constructor(e){super(e),e.animationState||(e.animationState=Hh(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();ud(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends tp{constructor(){super(...arguments),this.id=Kh++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){const{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){const n=np(this.node,e,t);if(n){const{transition:e,transitionEnd:t,...r}=n;for(const e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}},Qh={x:!1,y:!1};function Zh(){return Qh.x||Qh.y}function Jh(e){return[e("x"),e("y")]}function em(e){return e.max-e.min}function tm(e,t,n,r=.5){e.origin=r,e.originPoint=$d(t.min,t.max,e.origin),e.scale=em(n)/em(t),e.translate=$d(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nm(e,t,n,r){tm(e.x,t.x,n.x,r?r.originX:void 0),tm(e.y,t.y,n.y,r?r.originY:void 0)}function rm(e,t,n,r=0){const o=r?$d(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+em(t)}function om(e,t,n,r=0){const o=r?$d(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+em(t)}function im(e,t,n,r){om(e.x,t.x,n.x,r?.x),om(e.y,t.y,n.y,r?.y)}const am=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const sm=new Set(["INPUT","SELECT","TEXTAREA"]);function lm(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}const cm=e=>"object"==typeof e&&null!==e;function um(e){return cm(e)&&"ownerSVGElement"in e}function dm(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(e=>null!=e)}const fm=new WeakMap;let pm;const hm=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:um(r)&&"getBBox"in r?r.getBBox()[t]:r[n],mm=hm("inline","width","offsetWidth"),gm=hm("block","height","offsetHeight");function ym({target:e,borderBoxSize:t}){fm.get(e)?.forEach(n=>{n(e,{get width(){return mm(e,t)},get height(){return gm(e,t)}})})}function vm(e){e.forEach(ym)}function bm(e,t){pm||"undefined"!=typeof ResizeObserver&&(pm=new ResizeObserver(vm));const n=dm(e);return n.forEach(e=>{let n=fm.get(e);n||(n=new Set,fm.set(e,n)),n.add(t),pm?.observe(e)}),()=>{n.forEach(e=>{const n=fm.get(e);n?.delete(t),n?.size||pm?.unobserve(e)})}}const xm=new Set;let wm;function Sm(e){return xm.add(e),wm||(wm=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};xm.forEach(t=>t(e))},window.addEventListener("resize",wm)),()=>{xm.delete(e),xm.size||"function"!=typeof wm||(window.removeEventListener("resize",wm),wm=void 0)}}function km(e,t){return"function"==typeof e?Sm(e):bm(e,t)}const Cm=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Em(e){return{point:{x:e.pageX,y:e.pageY}}}function Pm(e,t,n,r){return lm(e,t,(e=>t=>Cm(t)&&e(t,Em(t)))(n),r)}const Tm=({current:e})=>e?e.ownerDocument.defaultView:null,jm=(e,t)=>Math.abs(e-t);const Am=new Set(["auto","scroll"]);class Fm{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Mm(this.lastRawMoveEventInfo,this.transformPagePoint));const e=Rm(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=jm(e.x,t.x),r=jm(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=mu;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Mm(t,this.transformPagePoint),pu.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=Rm("pointercancel"===e.type?this.lastMoveEventInfo:Mm(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Cm(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=i,this.contextWindow=r||window;const s=Mm(Em(e),this.transformPagePoint),{point:l}=s,{timestamp:c}=mu;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,Rm(s,this.history));const d={passive:!0,capture:!0};this.removeListeners=up(Pm(this.contextWindow,"pointermove",this.handlePointerMove,d),Pm(this.contextWindow,"pointerup",this.handlePointerUp,d),Pm(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(Am.has(e.overflowX)||Am.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o=r.x-t.x,i=r.y-t.y;0===o&&0===i||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o,this.lastMoveEventInfo.point.y+=i):this.history.length>0&&(this.history[0].x-=o,this.history[0].y-=i),this.scrollPositions.set(e,r),pu.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),hu(this.updatePoint)}}function Mm(e,t){return t?{point:t(e.point)}:e}function Om(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Rm({point:e},t){return{point:e,delta:Om(e,Lm(t)),offset:Om(e,Nm(t)),velocity:Dm(t,.1)}}function Nm(e){return e[0]}function Lm(e){return e[e.length-1]}function Dm(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Lm(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Fu(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>2*Fu(t)&&(r=e[1]);const i=Mu(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function zm(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Im(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Bm(e,t,n){return{min:_m(e,t),max:_m(e,n)}}function _m(e,t){return"number"==typeof e?e:e[t]||0}const Vm=new WeakMap;class $m{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:o}=this.getProps();this.panSession=new Fm(e,{onSessionStart:e=>{t&&this.snapToCursor(Em(e).point),this.stopAnimation()},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=n)||"y"===i?Qh[i]?null:(Qh[i]=!0,()=>{Qh[i]=!1}):Qh.x||Qh.y?null:(Qh.x=Qh.y=!0,()=>{Qh.x=Qh.y=!1}),!this.openDragLock))return;var i;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Jh(e=>{let t=this.getAxisMotionValue(e).get()||0;if(uc.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=em(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&pu.update(()=>o(e,t),!1,!0),lp(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&pu.update(()=>i(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:n,contextWindow:Tm(this.visualElement),element:this.visualElement.current})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!r||!n)return;const{velocity:i}=r;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&pu.postRender(()=>a(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Um(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?$d(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?$d(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&Gf(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:zm(e.x,n,o),y:zm(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:Bm(e,"left","right"),y:Bm(e,"top","bottom")}}(t),r!==this.constraints&&!Gf(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Jh(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Gf(e))return!1;const n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const o=function(e,t,n){const r=ff(e,n),{scroll:o}=t;return o&&(lf(r.x,o.offset.x),lf(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Im(e.x,t.x),y:Im(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Kd(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Jh(a=>{if(!Um(a,t,this.currentDirection))return;let l=s&&s[a]||{};!0!==i&&i!==a||(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return lp(this.visualElement,e),n.start(Nh(e,n,0,t,this.visualElement,!1))}stopAnimation(){Jh(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps()[t];return n||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Jh(t=>{const{drag:n}=this.getProps();if(!Um(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t],a=o.get()||0;o.set(e[t]-$d(n,i,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Gf(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Jh(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=em(e),o=em(t);return o>r?n=uh(t.min,t.max-r,e.min):r>o&&(n=uh(e.min,e.max-o,t.min)),Xl(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Jh(t=>{if(!Um(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set($d(o,i,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Vm.set(this.visualElement,this);const e=this.visualElement.current,t=Pm(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),o=t.target,i=o!==e&&function(e){return sm.has(e.tagName)||!0===e.isContentEditable}(o);n&&r&&!i&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();Gf(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=km(e,Wm(n)),o=km(t,Wm(n));return()=>{r(),o()}}(e,t.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),pu.read(r);const a=lm(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Jh(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),t(),i(),s&&s(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Wm(e){let t=!0;return()=>{t?t=!1:e()}}function Um(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Hm=e=>(t,n)=>{e&&pu.update(()=>e(t,n),!1,!0)};const Ym={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function qm(e=!0){const t=(0,u().useContext)(Lf);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=(0,u().useId)();(0,u().useEffect)(()=>{if(e)return o(i)},[e]);const a=(0,u().useCallback)(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}let Gm=!1;class Km extends u().Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),Gm&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ym.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,{projection:i}=n;return i?(i.isPresent=o,e.layoutDependency!==t&&i.setOptions({...i.options,layoutDependency:t}),Gm=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==o?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||pu.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Ju.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Gm=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Xm(e){const[t,n]=qm(),r=(0,u().useContext)(yf);return(0,p.jsx)(Km,{...e,layoutGroup:r,switchLayoutGroup:(0,u().useContext)(qf),isPresent:t,safeToRemove:n})}const Qm={value:null,addProjectionMetrics:null};function Zm(e,t){const n=rd.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(hu(r),e(i-t))};return pu.setup(r,!0),()=>hu(r)}const Jm=Bd.length,eg=e=>"string"==typeof e?parseFloat(e):e,tg=e=>"number"==typeof e||dc.test(e);function ng(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const rg=ig(0,.5,ah),og=ig(.5,.95,cu);function ig(e,t,n){return r=>r<e?0:r>t?1:n(uh(e,t,r))}function ag(e,t){e.min=t.min,e.max=t.max}function sg(e,t){ag(e.x,t.x),ag(e.y,t.y)}function lg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function cg(e,t,n,r,o){return e=tf(e-=t,1/n,r),void 0!==o&&(e=tf(e,1/o,r)),e}function ug(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){uc.test(t)&&(t=parseFloat(t),t=$d(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=$d(i.min,i.max,r);e===i&&(s-=t),e.min=cg(e.min,t,n,s,o),e.max=cg(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const dg=["x","scaleX","originX"],fg=["y","scaleY","originY"];function pg(e,t,n,r){ug(e.x,t,dg,n?n.x:void 0,r?r.x:void 0),ug(e.y,t,fg,n?n.y:void 0,r?r.y:void 0)}function hg(e){return 0===e.translate&&1===e.scale}function mg(e){return hg(e.x)&&hg(e.y)}function gg(e,t){return e.min===t.min&&e.max===t.max}function yg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function vg(e,t){return yg(e.x,t.x)&&yg(e.y,t.y)}function bg(e){return em(e.x)/em(e.y)}function xg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class wg{constructor(){this.members=[]}add(e){Ou(this.members,e);for(let t=this.members.length-1;t>=0;t--){const n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;const r=n.instance;r&&!1!==r.isConnected||n.snapshot||(Ru(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Ru(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){const e=this.members[t];if(!1!==e.isPresent&&!1!==e.instance?.isConnected)return this.promote(e),!0}return!1}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:r}=n.options,{layoutDependency:o}=e.options;void 0!==r&&r===o||(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Sg=(e,t)=>e.depth-t.depth;class kg{constructor(){this.children=[],this.isDirty=!1}add(e){Ou(this.children,e),this.isDirty=!0}remove(e){Ru(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Sg),this.isDirty=!1,this.children.forEach(e)}}const Cg={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Eg=["","X","Y","Z"];let Pg=0;function Tg(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function jg(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=cp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",pu,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&jg(r)}function Ag({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=t?.()){this.id=Pg++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Qm.value&&(Cg.nodes=Cg.calculatedTargetDeltas=Cg.calculatedProjections=0),this.nodes.forEach(Og),this.nodes.forEach(Vg),this.nodes.forEach($g),this.nodes.forEach(Rg),Qm.addProjectionMetrics&&Qm.addProjectionMetrics(Cg)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new kg)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Nu),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var n;this.isSVG=um(t)&&!(um(n=t)&&"svg"===n.tagName),this.instance=t;const{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(o||r)&&(this.isLayoutDirty=!0),e){let n,r=0;const o=()=>this.root.updateBlockedByResize=!1;pu.read(()=>{r=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Zm(o,250),Ym.hasAnimatedSinceResize&&(Ym.hasAnimatedSinceResize=!1,this.nodes.forEach(_g)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||Gg,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!vg(this.targetLayout,r),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...op(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c,t.path)}else t||_g(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),hu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Wg),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&jg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,"string"!=typeof t.latestValues.x&&"string"!=typeof t.latestValues.y||(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked()){const e=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Dg),void this.nodes.forEach(Lg)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(zg);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ig),this.nodes.forEach(Bg),this.nodes.forEach(Fg),this.nodes.forEach(Mg)):this.nodes.forEach(zg),this.clearAllSnapshots();const e=rd.now();mu.delta=Xl(0,1e3/60,e-mu.timestamp),mu.timestamp=e,mu.isProcessing=!0,gu.update.process(mu),gu.preRender.process(mu),gu.render.process(mu),mu.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ju.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ng),this.sharedNodes.forEach(Ug)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,pu.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){pu.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||em(this.snapshot.measuredBox.x)||em(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!mg(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Zd(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Qg((r=n).x),Qg(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Jg))){const{scroll:e}=this.root;e&&(lf(t.x,e.offset.x),lf(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(sg(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&sg(t,e),lf(t.x,o.offset.x),lf(t.y,o.offset.y))}return t}applyTransform(e,t=!1,n){const r=n||{x:{min:0,max:0},y:{min:0,max:0}};sg(r,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(lf(r.x,-n.scroll.offset.x),lf(r.y,-n.scroll.offset.y)),Zd(n.latestValues)&&df(r,n.latestValues,n.layout?.layoutBox)}return Zd(this.latestValues)&&df(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};sg(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!Zd(n.latestValues))continue;let r;n.instance&&(Qd(n.latestValues)&&n.updateSnapshot(),r=Nc(),sg(r,n.measurePageBox())),pg(t,n.latestValues,n.snapshot?.layoutBox,r)}return Zd(this.latestValues)&&pg(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mu.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:o}=this.options;if(!this.layout||!r&&!o)return;this.resolvedRelativeTargetAt=mu.timestamp;const i=this.getClosestProjectingParent();var a,s,l,c;(i&&this.linkedParentVersion!==i.layoutVersion&&!i.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&i&&i.layout?this.createRelativeTarget(i,this.layout.layoutBox,i.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,rm(a.x,s.x,l.x,c?.x),rm(a.y,s.y,l.y,c?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):sg(this.target,this.layout.layoutBox),of(this.target,this.targetDelta)):sg(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&i&&Boolean(i.resumingFrom)===Boolean(this.resumingFrom)&&!i.options.layoutScroll&&i.target&&1!==this.animationProgress?this.createRelativeTarget(i,this.target,i.target):this.relativeParent=this.relativeTarget=void 0),Qm.value&&Cg.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!Qd(this.parent.latestValues)&&!Jd(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},im(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),sg(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===mu.timestamp&&(n=!1),n)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;sg(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(lf(e.x,-i.scroll.offset.x),lf(e.y,-i.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,of(e,a)),r&&Zd(i.latestValues)&&df(e,i.latestValues,i.layout?.layoutBox))}t.x<sf&&t.x>af&&(t.x=1),t.y<sf&&t.y>af&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(lg(this.prevProjectionDelta.x,this.projectionDelta.x),lg(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nm(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===i&&this.treeScale.y===a&&xg(this.projectionDelta.x,this.prevProjectionDelta.x)&&xg(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),Qm.value&&Cg.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1,n){const r=this.snapshot,o=r?r.latestValues:{},i={...this.latestValues},a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,d=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(qg));let f;this.animationProgress=0;const p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{const n=t/1e3,r=p?.(n);var c,h,m,g,y,v;r?(a.x.translate=r.x,a.x.scale=$d(e.x.scale,1,n),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=r.y,a.y.scale=$d(e.y.scale,1,n),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(Hg(a.x,e.x,n),Hg(a.y,e.y,n)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(im(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=s,v=n,Yg(m.x,g.x,y.x,v),Yg(m.y,g.y,y.y,v),f&&(c=this.relativeTarget,h=f,gg(c.x,h.x)&&gg(c.y,h.y))&&(this.isProjectionDirty=!1),f||(f={x:{min:0,max:0},y:{min:0,max:0}}),sg(f,this.relativeTarget)),l&&(this.animationValues=i,function(e,t,n,r,o,i){o?(e.opacity=$d(0,n.opacity??1,rg(r)),e.opacityExit=$d(t.opacity??1,0,og(r))):i&&(e.opacity=$d(t.opacity??1,n.opacity??1,r));for(let o=0;o<Jm;o++){const i=Bd[o];let a=ng(t,i),s=ng(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||tg(a)===tg(s)?(e[i]=Math.max($d(eg(a),eg(s),r),0),(uc.test(s)||uc.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=$d(t.rotate||0,n.rotate||0,r))}(i,o,this.latestValues,n,d,u)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=i),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(hu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=pu.update(()=>{Ym.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=sd(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,n){const r=Lc(e)?e:sd(e);return r.start(Nh("",r,t,n)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Zg(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=em(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=em(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}sg(t,n),df(t,o),nm(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new wg);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Tg("z",e,r,this.animationValues);for(let t=0;t<Eg.length;t++)Tg(`rotate${Eg[t]}`,e,r,this.animationValues),Tg(`skew${Eg[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=Nf(t?.pointerEvents)||"",void(e.transform=n?n(this.latestValues,""):"none");const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Nf(t?.pointerEvents)||""),void(this.hasProjected&&!Zd(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1));e.visibility="";const o=r.animationValues||r.latestValues;this.applyTransformsToTarget();let i=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=n?.z||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,pathRotation:o,rotateX:i,rotateY:a,skewX:s,skewY:l}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotate(${o}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),s&&(r+=`skewX(${s}deg) `),l&&(r+=`skewY(${l}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);n&&(i=n(o,i)),e.transform=i;const{x:a,y:s}=this.projectionDelta;e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,r.animationValues?e.opacity=r===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:e.opacity=r===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const t in Ud){if(void 0===o[t])continue;const{correct:n,applyTo:a,isCSSVariable:s}=Ud[t],l="none"===i?o[t]:n(o[t],r);if(a){const t=a.length;for(let n=0;n<t;n++)e[a[n]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?Nf(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Lg),this.root.sharedNodes.clear()}}}function Fg(e){e.updateLayout()}function Mg(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,i=t.source!==e.layout.source;if("size"===o)Jh(e=>{const r=i?t.measuredBox[e]:t.layoutBox[e],o=em(r);r.min=n[e].min,r.max=r.min+o});else if("x"===o||"y"===o){const e="x"===o?"y":"x";ag(i?t.measuredBox[e]:t.layoutBox[e],n[e])}else Zg(o,t.layoutBox,n)&&Jh(r=>{const o=i?t.measuredBox[r]:t.layoutBox[r],a=em(n[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};nm(a,n,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?nm(s,e.applyTransform(r,!0),t.measuredBox):nm(s,n,t.layoutBox);const l=!mg(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a=e.options.layoutAnchor||void 0,s={x:{min:0,max:0},y:{min:0,max:0}};im(s,t.layoutBox,o.layoutBox,a);const l={x:{min:0,max:0},y:{min:0,max:0}};im(l,n,i.layoutBox,a),vg(s,l)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Og(e){Qm.value&&Cg.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Rg(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ng(e){e.clearSnapshot()}function Lg(e){e.clearMeasurements()}function Dg(e){e.isLayoutDirty=!0,e.updateLayout()}function zg(e){e.isLayoutDirty=!1}function Ig(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Bg(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function _g(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Vg(e){e.resolveTargetDelta()}function $g(e){e.calcProjection()}function Wg(e){e.resetSkewAndRotation()}function Ug(e){e.removeLeadSnapshot()}function Hg(e,t,n){e.translate=$d(t.translate,0,n),e.scale=$d(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Yg(e,t,n,r){e.min=$d(t.min,n.min,r),e.max=$d(t.max,n.max,r)}function qg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Gg={duration:.45,ease:[.4,0,.1,1]},Kg=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xg=Kg("applewebkit/")&&!Kg("chrome/")?Math.round:cu;function Qg(e){e.min=Xg(e.min),e.max=Xg(e.max)}function Zg(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=bg(t),o=bg(n),i=.2,!(Math.abs(r-o)<=i));var r,o,i}function Jg(e){return e!==e.root&&e.scroll?.wasRoot}const ey=Ag({attachResizeListener:(e,t)=>lm(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ty={current:void 0},ny=Ag({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ty.current){const e=new ey({});e.mount(window),e.setOptions({layoutScroll:!0}),ty.current=e}return ty.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ry={pan:{Feature:class extends tp{constructor(){super(...arguments),this.removePointerDownListener=cu}onPointerDown(e){this.session=new Fm(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tm(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Hm(e),onStart:Hm(t),onMove:Hm(n),onEnd:(e,t)=>{delete this.session,r&&pu.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Pm(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends tp{constructor(e){super(e),this.removeGroupControls=cu,this.removeListeners=cu,this.controls=new $m(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||cu}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:ny,MeasureLayout:Xm}};function oy(e,t){const n=dm(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function iy(e,t,n={}){const[r,o,i]=oy(e,n);return r.forEach(e=>{let n,r=!1,i=!1;const a=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},s=e=>{r=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),i&&(i=!1,a(e))},l=e=>{"touch"!==e.pointerType&&(r?i=!0:a(e))};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||Zh())return;i=!1;const a=t(e,r);"function"==typeof a&&(n=a,e.addEventListener("pointerleave",l,o))},o),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",s,o)},o)}),i}function ay(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&pu.postRender(()=>o(t,Em(t)))}function sy(e){return cm(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const ly=(e,t)=>!!t&&(e===t||ly(e,t.parentElement)),cy=new WeakSet;function uy(e){return t=>{"Enter"===t.key&&e(t)}}function dy(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function fy(e){return Cm(e)&&!Zh()}const py=new WeakSet;function hy(e,t,n={}){const[r,o,i]=oy(e,n),a=e=>{const r=e.currentTarget;if(!fy(e))return;if(py.has(e))return;cy.add(r),n.stopPropagation&&py.add(e);const i=t(r,e),a={...o,capture:!0},s=(e,t)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",c,a),cy.has(r)&&cy.delete(r),fy(e)&&"function"==typeof i&&i(e,{success:t})},l=e=>{s(e,r===window||r===document||n.useGlobalTarget||ly(r,e.target))},c=e=>{s(e,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",c,a)};return r.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),sy(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=uy(()=>{if(cy.has(n))return;dy(n,"down");const e=uy(()=>{dy(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>dy(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,o)),t=e,am.has(t.tagName)||!0===t.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),i}function my(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&pu.postRender(()=>o(t,Em(t)))}const gy=new WeakMap,yy=new WeakMap,vy=e=>{const t=gy.get(e.target);t&&t(e)},by=e=>{e.forEach(vy)};function xy(e,t,n){const r=function({root:e,...t}){const n=e||document;yy.has(n)||yy.set(n,{});const r=yy.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(by,{root:e,...t})),r[o]}(t);return gy.set(e,n),r.observe(e),()=>{gy.delete(e),r.unobserve(e)}}const wy={some:0,all:1};const Sy={inView:{Feature:class extends tp{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:wy[r]};this.stopObserver=xy(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends tp{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=hy(e,(e,t)=>(my(this.node,t,"Start"),(e,{success:t})=>my(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends tp{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=up(lm(this.node.current,"focus",()=>this.onFocus()),lm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends tp{mount(){const{current:e}=this.node;e&&(this.unmount=iy(e,(e,t)=>(ay(this.node,t,"Start"),e=>ay(this.node,e,"End"))))}unmount(){}}}},ky=ep({...Xh,...Sy,...ry,...{layout:{ProjectionNode:ny,MeasureLayout:Xm}}},gf),Cy={some:0,all:1};function Ey(e,{root:t,margin:n,amount:r,once:o=!1,initial:i=!1}={}){const[a,s]=(0,u().useState)(i);return(0,u().useEffect)(()=>{if(!e.current||o&&a)return;const i={root:t&&t.current||void 0,margin:n,amount:r};return function(e,t,{root:n,margin:r,amount:o="some"}={}){const i=dm(e),a=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e.target,e);"function"==typeof n?a.set(e.target,n):s.unobserve(e.target)}else"function"==typeof n&&(n(e),a.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:Cy[o]});return i.forEach(e=>s.observe(e)),()=>s.disconnect()}(e.current,()=>(s(!0),o?void 0:()=>s(!1)),i)},[t,e,n,o,r]),a}function Py(){!yd.current&&bd();const[e]=(0,u().useState)(gd.current);return e}function Ty(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function jy(...e){return u().useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=Ty(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():Ty(e[t],null)}}}}(...e),e)}class Ay extends u().Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(sy(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,n=sy(e)&&e.offsetWidth||0,r=sy(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top,i.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function Fy({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){const a=(0,u().useId)(),s=(0,u().useRef)(null),l=(0,u().useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=(0,u().useContext)(bf),d=!1!==i?e.props?.ref??e?.ref:void 0,f=jy(s,d);return(0,u().useInsertionEffect)(()=>{const{width:e,height:u,top:d,left:f,right:p,bottom:h,direction:m}=l.current;if(t||!1===i||!s.current||!e||!u)return;const g="rtl"===m,y="left"===n?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v="bottom"===r?`bottom: ${h}`:`top: ${d}`;s.current.dataset.motionPopId=a;const b=document.createElement("style");c&&(b.nonce=c);const x=o??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(`\n          [data-motion-pop-id="${a}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${u}px !important;\n            ${y}px !important;\n            ${v}px !important;\n          }\n        `),()=>{s.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[t]),(0,p.jsx)(Ay,{isPresent:t,childRef:s,sizeRef:l,pop:i,children:!1===i?e:u().cloneElement(e,{ref:f})})}const My=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a,anchorX:s,anchorY:l,root:c})=>{const d=Df(Oy),f=(0,u().useId)(),h=(0,u().useRef)(n),m=(0,u().useRef)(r);Kf(()=>{h.current=n,m.current=r});let g=!0,y=(0,u().useMemo)(()=>(g=!1,{id:f,initial:t,isPresent:n,custom:o,onExitComplete:e=>{d.set(e,!0);for(const e of d.values())if(!e)return;r&&r()},register:e=>(d.set(e,!1),()=>{d.delete(e),!h.current&&!d.size&&m.current?.()})}),[n,d,r]);return i&&g&&(y={...y}),(0,u().useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[n]),u().useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=(0,p.jsx)(Fy,{pop:"popLayout"===a,isPresent:n,anchorX:s,anchorY:l,root:c,children:e}),(0,p.jsx)(Lf.Provider,{value:y,children:e})};function Oy(){return new Map}const Ry=e=>e.key||"";function Ny(e){const t=[];return u().Children.forEach(e,e=>{(0,u().isValidElement)(e)&&t.push(e)}),t}const Ly=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1,anchorX:s="left",anchorY:l="top",root:c})=>{const[d,f]=qm(a),h=(0,u().useMemo)(()=>Ny(e),[e]),m=a&&!d?[]:h.map(Ry),g=(0,u().useRef)(!0),y=(0,u().useRef)(h),v=Df(()=>new Map),b=(0,u().useRef)(new Set),[x,w]=(0,u().useState)(h),[S,k]=(0,u().useState)(h);Kf(()=>{g.current=!1,y.current=h;for(let e=0;e<S.length;e++){const t=Ry(S[e]);m.includes(t)?(v.delete(t),b.current.delete(t)):!0!==v.get(t)&&v.set(t,!1)}},[S,m.length,m.join("-")]);const C=[];if(h!==x){let e=[...h];for(let t=0;t<S.length;t++){const n=S[t],r=Ry(n);m.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===i&&C.length&&(e=C),k(Ny(e)),w(h),null}const{forceRender:E}=(0,u().useContext)(yf);return(0,p.jsx)(p.Fragment,{children:S.map(e=>{const u=Ry(e),x=!(a&&!d)&&(h===S||m.includes(u));return(0,p.jsx)(My,{isPresent:x,initial:!(g.current&&!n)&&void 0,custom:t,presenceAffectsLayout:o,mode:i,root:c,onExitComplete:x?void 0:()=>{if(b.current.has(u))return;if(!v.has(u))return;b.current.add(u),v.set(u,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(E?.(),k(y.current),a&&f?.(),r&&r())},anchorX:s,anchorY:l,children:e},u)})})},Dy=[.22,1,.36,1],zy=[2500,2500,3e3],Iy=(0,u().createContext)({phase:2,playing:!1}),By=()=>(0,u().useContext)(Iy);function _y({captions:e,children:t}){var n;const r=(0,u().useRef)(null),o=Ey(r,{amount:.3}),i=(()=>{const[e,t]=(0,u().useState)(()=>"hidden"!==document.visibilityState);return(0,u().useEffect)(()=>{const e=()=>t("hidden"!==document.visibilityState);return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]),e})(),a=null!==(n=Py())&&void 0!==n&&n,s=o&&i&&!a,l=(e=>{const[t,n]=(0,u().useState)(0);return(0,u().useEffect)(()=>{if(!e)return;const r=setTimeout(()=>n(e=>(e+1)%3),zy[t]);return()=>clearTimeout(r)},[e,t]),t})(s),c=a?2:l;return(0,p.jsxs)(mo,{ref:r,sx:{width:"100%"},children:[(0,p.jsx)(mo,{"aria-hidden":"true",sx:{height:128,mx:"auto",maxWidth:240,position:"relative",width:"100%"},children:(0,p.jsx)(Iy.Provider,{value:{phase:c,playing:s},children:t})}),(0,p.jsx)(mo,{sx:{height:22,position:"relative"},children:(0,p.jsx)(Ly,{initial:!1,children:(0,p.jsx)(mo,{animate:{opacity:1,y:0},component:ky.div,exit:{opacity:0,y:-4},initial:{opacity:0,y:4},transition:{duration:a?0:.3,ease:Dy},sx:{color:"text.secondary",fontSize:12.5,fontWeight:650,left:0,lineHeight:"22px",position:"absolute",right:0,textAlign:"center"},children:e[c]},c)})})]})}const Vy=[.22,1,.36,1],$y="#004984",Wy="rgba(7, 21, 34, 0.16)",Uy="rgba(7, 21, 34, 0.12)",Hy="#2e7d32",Yy="#b26a00",qy=()=>`p${By().phase}`;function Gy({children:e}){return(0,p.jsx)(mo,{component:"svg",sx:{display:"block",height:"100%",maxWidth:"100%",mx:"auto",width:"auto"},viewBox:"0 0 200 128",children:e})}function Ky({variants:e,children:t,custom:n}){const r=qy();return(0,p.jsx)(ky.g,{animate:r,custom:n,initial:!1,variants:e,children:t})}const Xy=(e,t=.2)=>({p0:e.includes("p0")?{opacity:1,y:0,transition:{delay:t,duration:.45,ease:Vy}}:{opacity:0,y:6,transition:{duration:.25}},p1:e.includes("p1")?{opacity:1,y:0,transition:{delay:t,duration:.45,ease:Vy}}:{opacity:0,y:6,transition:{duration:.25}},p2:e.includes("p2")?{opacity:1,y:0,transition:{delay:t,duration:.45,ease:Vy}}:{opacity:0,y:6,transition:{duration:.25}}});function Qy({x:e,y:t,w:n,h:r}){return(0,p.jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:r,rx:4,stroke:Uy,width:n}),(0,p.jsx)("path",{d:`M0 4 a4 4 0 0 1 4 -4 h${n-8} a4 4 0 0 1 4 4 v7 h-${n} Z`,fill:"rgba(7, 21, 34, 0.05)"}),[6,12,18].map(e=>(0,p.jsx)("circle",{cx:e,cy:5.5,fill:"rgba(7, 21, 34, 0.2)",r:1.6},e))]})}function Zy({x:e,y:t,w:n,h:r,filter:o}){return(0,p.jsxs)("g",{filter:o,transform:`translate(${e} ${t})`,children:[(0,p.jsx)("rect",{fill:"#DCEBFB",height:r,rx:3,width:n}),(0,p.jsx)("circle",{cx:.72*n,cy:.3*r,fill:"#FFFFFF",r:.12*Math.min(n,r)}),(0,p.jsx)("path",{d:`M0 ${.78*r} L${.32*n} ${.45*r} L${.58*n} ${.72*r} L${.75*n} ${.56*r} L${n} ${.8*r} V${r-3} a3 3 0 0 1 -3 3 H3 a3 3 0 0 1 -3 -3 Z`,fill:"#6CB4F0"})]})}function Jy({x:e,y:t,label:n,color:r=$y,w:o}){const i=null!=o?o:3.6*n.length+10;return(0,p.jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:11,rx:5.5,stroke:r,strokeWidth:.8,width:i}),(0,p.jsx)("text",{fill:r,fontFamily:"inherit",fontSize:6.2,fontWeight:600,textAnchor:"middle",x:i/2,y:7.6,children:n})]})}function ev({x:e,y:t,r:n=6}){return(0,p.jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,p.jsx)("circle",{fill:Hy,r:n}),(0,p.jsx)("path",{d:`M${.45*-n} 0 l${.3*n} ${.3*n} l${.6*n} ${.6*-n}`,fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.28*n})]})}function tv({x:e,y:t}){return(0,p.jsx)("path",{d:`M${e} ${t} l0 11 l3 -3 l2.4 5 l2 -1 l-2.4 -5 l4 0 Z`,fill:"#071522",stroke:"#FFFFFF",strokeLinejoin:"round",strokeWidth:.8})}function nv({x:e,y:t,widths:n,gap:r=7,fill:o=Wy}){return(0,p.jsx)("g",{children:n.map((n,i)=>(0,p.jsx)("rect",{fill:o,height:3.5,rx:1.75,width:n,x:e,y:t+i*r},i))})}const rv=[4,7,10,6,9,5,8];function ov({x:e,y:t,color:n=$y}){const{playing:r}=By();return(0,p.jsx)("g",{transform:`translate(${e} ${t})`,children:rv.map((e,t)=>(0,p.jsx)(ky.rect,{animate:r?{scaleY:[.4,1,.55,.9,.4]}:{scaleY:.7},fill:n,height:e,rx:1.2,style:{transformBox:"fill-box",transformOrigin:"center"},transition:r?{delay:.11*t,duration:1.6,ease:"easeInOut",repeat:1/0}:{duration:.2},width:2.4,x:4.6*t,y:-e/2},t))})}function iv({x:e,y:t,w:n=62}){return(0,p.jsxs)("g",{transform:`translate(${e} ${t})`,children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:13,rx:6.5,stroke:Uy,strokeWidth:.8,width:n}),(0,p.jsx)("circle",{cx:8,cy:6.5,fill:$y,r:4.4}),(0,p.jsx)("path",{d:"M6.6 4.3 11 6.5 6.6 8.7 Z",fill:"#FFFFFF"}),(0,p.jsx)(ov,{x:16,y:6.5})]})}const av=["Ask your site a question","The agent picks a tool","Answered, keys stay on your server"],sv=["Posts","Media","Search"],lv={p0:{opacity:0,y:4},p1:e=>({opacity:1,y:0,transition:{delay:.2+.25*e,duration:.35}}),p2:{opacity:.35,y:0,transition:{duration:.3}}};function cv(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Qy,{x:30,y:8,w:140,h:112}),(0,p.jsxs)(Ky,{variants:Xy(["p0","p1","p2"],.2),children:[(0,p.jsx)("rect",{fill:$y,height:14,rx:7,width:70,x:90,y:24}),(0,p.jsx)("rect",{fill:"#FFFFFF",fillOpacity:.8,height:3,rx:1.5,width:50,x:100,y:29.5})]}),sv.map((t,n)=>(0,p.jsx)(ky.g,{animate:e,custom:n,initial:!1,variants:lv,children:(0,p.jsx)(Jy,{x:40+40*n,y:46,label:t,w:36})},t)),(0,p.jsxs)(Ky,{variants:Xy(["p2"],.4),children:[(0,p.jsx)("rect",{fill:"rgba(7, 21, 34, 0.05)",height:30,rx:6,width:96,x:40,y:64}),(0,p.jsx)(nv,{x:48,y:71,widths:[78,70,50],gap:6.5}),(0,p.jsxs)("g",{transform:"translate(140 98)",children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:14,rx:3,stroke:"#2e7d32",width:24,x:0,y:0}),(0,p.jsx)("rect",{fill:"none",height:6,rx:3,stroke:"#2e7d32",strokeWidth:1.4,width:8,x:8,y:-4}),(0,p.jsx)("circle",{cx:12,cy:7,fill:"#2e7d32",r:1.8})]})]})]})}const uv=["Images with no alt text","Alt text from the file name","Camera names listed for you"];function dv({x:e,y:t,name:n}){return(0,p.jsx)("text",{fill:"rgba(7, 21, 34, 0.32)",fontFamily:"inherit",fontSize:6.4,textAnchor:"middle",x:e,y:t,children:n})}function fv(){return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Zy,{x:30,y:16,w:60,h:48}),(0,p.jsx)(dv,{x:60,y:74,name:"red-bicycle.jpg"}),(0,p.jsx)(Zy,{x:110,y:16,w:60,h:48}),(0,p.jsx)(dv,{x:140,y:74,name:"IMG_2041.jpg"}),(0,p.jsx)(Ky,{variants:Xy(["p0"],.2),children:(0,p.jsx)(Jy,{x:36,y:84,label:"No alt text",color:Yy,w:48})}),(0,p.jsx)(Ky,{variants:Xy(["p1","p2"],.4),children:(0,p.jsx)(Jy,{x:28,y:84,label:"alt: Red bicycle",color:Hy,w:64})}),(0,p.jsx)(Ky,{variants:Xy(["p0","p1"],.2),children:(0,p.jsx)(Jy,{x:116,y:84,label:"No alt text",color:Yy,w:48})}),(0,p.jsx)(Ky,{variants:Xy(["p2"],.4),children:(0,p.jsx)(Jy,{x:112,y:84,label:"Listed to rename",color:Yy,w:56})})]})}const pv=["Posts with no featured image","Its first image is used","Old posts filled in one go"],hv={p0:{opacity:0,scale:.7,x:104},p1:e=>0===e?{opacity:1,scale:1,x:0,transition:{delay:.3,duration:.8,ease:Vy}}:{opacity:0,scale:.7,x:104,transition:{duration:.2}},p2:e=>({opacity:1,scale:1,x:0,transition:{delay:0===e?0:.2+.35*(e-1),duration:.7,ease:Vy}})};function mv(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Qy,{x:22,y:8,w:156,h:112}),[0,1,2].map(t=>(0,p.jsxs)("g",{children:[(0,p.jsx)("rect",{fill:"none",height:24,rx:3,stroke:Wy,strokeDasharray:"3 2",width:30,x:30,y:24+30*t}),(0,p.jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:4,rx:2,width:50,x:68,y:28+30*t}),(0,p.jsx)(nv,{x:68,y:36+30*t,widths:[60,44],gap:6}),(0,p.jsx)(Zy,{x:134,y:27+30*t,w:30,h:18}),(0,p.jsx)(ky.g,{animate:e,custom:t,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:hv,children:(0,p.jsx)(Zy,{x:30,y:24+30*t,w:30,h:24})})]},t)),(0,p.jsx)(Ky,{variants:Xy(["p2"],1),children:(0,p.jsx)(Jy,{x:74,y:113,label:"All posts done",color:Hy,w:58})})]})}const gv=["Leftovers slow the database","Back up, then clean","Lighter, and you can undo"],yv=[!1,!0,!1,!0,!0,!1],vv={p0:{opacity:1,scaleX:1,transition:{duration:.3}},p1:{opacity:1,scaleX:1,transition:{duration:.2}},p2:e=>({opacity:0,scaleX:0,transition:{delay:.2+.2*e,duration:.5,ease:Vy}})};function bv(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsx)("ellipse",{cx:74,cy:18,fill:"#FFFFFF",rx:50,ry:8,stroke:"rgba(7, 21, 34, 0.2)"}),(0,p.jsx)("path",{d:"M24 18 V106 a50 8 0 0 0 100 0 V18",fill:"#FFFFFF",stroke:"rgba(7, 21, 34, 0.2)"}),yv.map((t,n)=>t?(0,p.jsx)(ky.rect,{animate:e,custom:n,fill:Yy,fillOpacity:.35,height:8,initial:!1,rx:2,style:{transformBox:"fill-box",transformOrigin:"left center"},variants:vv,width:76,x:36,y:30+12*n},n):(0,p.jsx)("rect",{fill:Wy,height:8,rx:2,width:76,x:36,y:30+12*n},n)),(0,p.jsx)(Ky,{variants:Xy(["p1","p2"],.3),children:(0,p.jsx)(Jy,{x:136,y:30,label:"Backed up",color:Hy,w:48})}),(0,p.jsx)(Ky,{variants:Xy(["p2"],1),children:(0,p.jsx)(Jy,{x:136,y:50,label:"Undo",w:48})})]})}const xv=["A plain gallery","Link each image to a page","A click opens that page"],wv=[0,1,2,3].map(e=>({i:e,x:18+e%2*40,y:22+40*Math.floor(e/2)})),Sv={p0:{opacity:0,scale:.6},p1:e=>({opacity:1,scale:1,transition:{delay:.2+.25*e,duration:.3,ease:Vy}}),p2:{opacity:1,scale:1,transition:{duration:.2}}},kv={p0:{opacity:0,x:40,y:30},p1:{opacity:0,x:40,y:30},p2:{opacity:1,x:0,y:0,transition:{duration:.7,ease:Vy}}};function Cv(){const e=qy();return(0,p.jsxs)(Gy,{children:[wv.map(({i:t,x:n,y:r})=>(0,p.jsxs)("g",{children:[(0,p.jsx)(Zy,{x:n,y:r,w:34,h:34}),(0,p.jsxs)(ky.g,{animate:e,custom:t,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:Sv,children:[(0,p.jsx)("circle",{cx:n+28,cy:r+6,fill:$y,r:5}),(0,p.jsx)("path",{d:`M${n+26} ${r+8} l4 -4 M${n+25.5} ${r+5.5} a1.6 1.6 0 0 1 2 -2 M${n+30.5} ${r+6.5} a1.6 1.6 0 0 1 -2 2`,fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeWidth:1.1})]})]},t)),(0,p.jsx)(ky.g,{animate:e,initial:!1,variants:kv,children:(0,p.jsx)(tv,{x:74,y:40})}),(0,p.jsxs)(Ky,{variants:Xy(["p2"],.8),children:[(0,p.jsx)(Qy,{x:112,y:22,w:72,h:74}),(0,p.jsx)("rect",{fill:"#DCEBFB",height:22,rx:2,width:56,x:120,y:38}),(0,p.jsx)(nv,{x:120,y:66,widths:[52,44,50]})]})]})}const Ev=["Click a photo","It opens full screen","Zoom, slide and share"],Pv={p0:{opacity:0,transition:{duration:.3}},p1:{opacity:1,transition:{delay:.2,duration:.4}},p2:{opacity:1,transition:{duration:.2}}},Tv={p0:{scale:.32,x:0,y:0,opacity:0,transition:{duration:.3}},p1:{scale:1,x:0,y:0,opacity:1,transition:{delay:.25,duration:.6,ease:Vy}},p2:{scale:1,x:0,y:0,opacity:1,transition:{duration:.2}}},jv={p0:{opacity:1,x:0,y:0,transition:{delay:.3,duration:1,ease:Vy}},p1:{opacity:0,transition:{duration:.2}},p2:{opacity:0,transition:{duration:.2}}};function Av(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Qy,{x:30,y:8,w:140,h:112}),(0,p.jsx)(nv,{x:40,y:24,widths:[80,66]}),[0,1,2].map(e=>(0,p.jsx)(Zy,{h:30,w:38,x:40+42*e,y:44},e)),(0,p.jsx)(nv,{x:40,y:84,widths:[110,96,70]}),(0,p.jsx)(ky.g,{animate:e,initial:{x:30,y:30},variants:jv,children:(0,p.jsx)(tv,{x:96,y:62})}),(0,p.jsx)(ky.g,{animate:e,initial:!1,variants:Pv,children:(0,p.jsx)("rect",{fill:"rgba(7, 21, 34, 0.86)",height:112,rx:4,width:140,x:30,y:8})}),(0,p.jsx)(ky.g,{animate:e,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:Tv,children:(0,p.jsx)(Zy,{x:56,y:22,w:88,h:70})}),(0,p.jsxs)(Ky,{variants:Xy(["p2"],.2),children:[(0,p.jsx)("path",{d:"M44 57 l-5 5 5 5 M156 57 l5 5 -5 5",fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.8}),(0,p.jsxs)("g",{fill:"none",stroke:"#FFFFFF",strokeLinecap:"round",strokeWidth:1.4,children:[(0,p.jsx)("circle",{cx:88,cy:106,r:3.6}),(0,p.jsx)("path",{d:"M90.6 108.6 l2.6 2.6"}),(0,p.jsx)("path",{d:"M108 103 v7 h8 v-7 M112 102 v-4 M110 100 l2 -2 2 2"})]})]})]})}const Fv=["A library full of files","Unused files are found","Moved to the trash, safe to undo"],Mv=[0,1,2,3,4,5].map(e=>({i:e,x:18+e%3*38,y:22+40*Math.floor(e/3)})),Ov=[1,5],Rv={p0:{opacity:0},p1:e=>({opacity:1,transition:{delay:.3+.25*e,duration:.3}}),p2:{opacity:0,transition:{duration:.2}}},Nv=(e,t)=>({p0:{x:0,y:0,scale:1,opacity:1,transition:{duration:.4}},p1:{x:0,y:0,scale:1,opacity:1,transition:{duration:.2}},p2:{x:160-e-16,y:70-t-16,scale:.25,opacity:0,transition:{delay:.2,duration:.8,ease:Vy}}});function Lv(){const e=qy();return(0,p.jsxs)(Gy,{children:[Mv.map(({i:t,x:n,y:r})=>{const o=Ov.includes(t);return(0,p.jsxs)(ky.g,{animate:e,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:o?Nv(n,r):void 0,children:[(0,p.jsx)(Zy,{x:n,y:r,w:32,h:32}),o&&(0,p.jsx)(ky.rect,{animate:e,custom:Ov.indexOf(t),fill:"none",height:34,initial:!1,rx:4,stroke:Yy,strokeWidth:1.6,variants:Rv,width:34,x:n-1,y:r-1})]},t)}),(0,p.jsxs)("g",{transform:"translate(150 60)",children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:26,rx:3,stroke:"rgba(7, 21, 34, 0.32)",strokeWidth:1.2,width:20,x:0,y:4}),(0,p.jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:3,rx:1.5,width:26,x:-3,y:0}),(0,p.jsx)("path",{d:"M6 10 v14 M10 10 v14 M14 10 v14",stroke:"rgba(7, 21, 34, 0.2)",strokeWidth:1.2})]}),(0,p.jsxs)(Ky,{variants:Xy(["p2"],1),children:[(0,p.jsx)(ev,{x:168,y:58}),(0,p.jsx)(Jy,{x:128,y:96,label:"Safety net on",color:"#2e7d32"})]})]})}const Dv=["IMG_4821.jpg says nothing","Renamed for search","Every link still works"];function zv({label:e,color:t}){return(0,p.jsx)("text",{fill:t,fontFamily:"inherit",fontSize:7,fontWeight:600,textAnchor:"middle",x:50,y:98,children:e})}function Iv(){return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Zy,{x:18,y:22,w:64,h:64}),(0,p.jsx)(Ky,{variants:Xy(["p0"],0),children:(0,p.jsx)(zv,{label:"IMG_4821.jpg",color:"rgba(7, 21, 34, 0.55)"})}),(0,p.jsx)(Ky,{variants:Xy(["p1","p2"],.3),children:(0,p.jsx)(zv,{label:"red-bike-paris.jpg",color:$y})}),(0,p.jsxs)(Ky,{variants:Xy(["p2"],.2),children:[(0,p.jsx)(Qy,{x:120,y:22,w:64,h:74}),(0,p.jsx)(nv,{x:128,y:40,widths:[40,46,34]}),(0,p.jsx)("rect",{fill:"#DCEBFB",height:18,rx:2,width:46,x:128,y:64}),(0,p.jsx)("path",{d:"M118 74 C106 74 96 64 86 56",fill:"none",stroke:Hy,strokeDasharray:"3 2",strokeWidth:1.4}),(0,p.jsx)(ev,{x:152,y:102})]})]})}const Bv=["Blurry on sharp screens","Retina sizes are made","Crisp at 2x"],_v={p0:{opacity:1,transition:{duration:.3}},p1:{opacity:1,transition:{duration:.3}},p2:{opacity:0,transition:{delay:.2,duration:.7}}},Vv={p0:{opacity:0,x:0},p1:e=>({opacity:1,x:0,transition:{delay:.3+.35*e,duration:.4}}),p2:{opacity:0,transition:{duration:.3}}};function $v(){const e=qy(),t=`rwp-blur-${(0,u().useId)().replace(/:/g,"")}`;return(0,p.jsxs)(Gy,{children:[(0,p.jsx)("defs",{children:(0,p.jsx)("filter",{id:t,children:(0,p.jsx)("feGaussianBlur",{stdDeviation:2.6})})}),(0,p.jsx)(Zy,{x:36,y:14,w:96,h:96}),(0,p.jsxs)(ky.g,{animate:e,initial:!1,variants:_v,children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:96,width:96,x:36,y:14}),(0,p.jsx)(Zy,{x:36,y:14,w:96,h:96,filter:`url(#${t})`})]}),["1x","2x"].map((t,n)=>(0,p.jsxs)(ky.g,{animate:e,custom:n,initial:!1,variants:Vv,children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:26+10*n,rx:3,stroke:"rgba(7, 21, 34, 0.2)",width:26+10*n,x:142,y:20+34*n}),(0,p.jsx)("text",{fill:"#004984",fontFamily:"inherit",fontSize:8,fontWeight:700,textAnchor:"middle",x:155+5*n,y:36+39*n,children:t})]},t)),(0,p.jsx)(Ky,{variants:Xy(["p2"],.8),children:(0,p.jsx)(Jy,{x:140,y:58,label:"Sharp",color:Hy,w:34})})]})}const Wv=["Feed posts without pictures","The featured image is added","Every post shows a picture"],Uv={p0:{opacity:0,x:-8},p1:e=>({opacity:1,x:0,transition:{delay:.2+.35*e,duration:.45,ease:Vy}}),p2:{opacity:1,x:0,transition:{duration:.2}}},Hv={p0:{fill:Wy},p1:{fill:Wy},p2:{fill:"#f57c00",transition:{delay:.2,duration:.4}}};function Yv(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Qy,{x:36,y:8,w:128,h:112}),(0,p.jsx)(ky.g,{animate:e,initial:!1,variants:Hv,children:(0,p.jsx)("rect",{height:10,rx:2,width:10,x:146,y:14})}),[0,1,2].map(t=>(0,p.jsxs)("g",{children:[(0,p.jsx)(ky.g,{animate:e,custom:t,initial:!1,variants:Uv,children:(0,p.jsx)(Zy,{x:46,y:26+30*t,w:30,h:24})}),(0,p.jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:4,rx:2,width:58,x:84,y:30+30*t}),(0,p.jsx)(nv,{x:84,y:38+30*t,widths:[66,48],gap:6})]},t))]})}const qv=["A long article to read","Press play","Words light up as they're read"],Gv=[96,88,100,76,92],Kv={p0:{fill:Wy,transition:{duration:.3}},p1:{fill:Wy,transition:{duration:.3}},p2:e=>({fill:"rgba(0, 73, 132, 0.45)",transition:{delay:.2+.45*e,duration:.35}})};function Xv(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsx)(Qy,{x:40,y:8,w:120,h:112}),(0,p.jsx)("rect",{fill:"rgba(7, 21, 34, 0.32)",height:5,rx:2,width:56,x:50,y:24}),Gv.map((t,n)=>(0,p.jsx)(ky.rect,{animate:e,custom:n,fill:Wy,height:3.5,initial:!1,rx:1.75,variants:Kv,width:t,x:50,y:36+8*n},n)),(0,p.jsx)(nv,{x:50,y:76,widths:[60]}),(0,p.jsx)(Ky,{variants:Xy(["p1","p2"]),children:(0,p.jsx)(iv,{x:50,y:94,w:70})})]})}const Qv=["Your photo","Your logo goes on","The original is always kept"],Zv={p0:{opacity:0,scale:1.6},p1:{opacity:.85,scale:1,transition:{delay:.3,duration:.5,ease:Vy}},p2:{opacity:.85,scale:1,transition:{duration:.2}}},Jv={p0:{x:0,opacity:0},p1:{x:0,opacity:0},p2:{x:62,opacity:1,transition:{delay:.2,duration:.7,ease:Vy}}};function eb(){const e=qy();return(0,p.jsxs)(Gy,{children:[(0,p.jsxs)(ky.g,{animate:e,initial:!1,variants:Jv,children:[(0,p.jsx)(Zy,{x:40,y:24,w:84,h:70}),(0,p.jsx)(Jy,{x:58,y:100,label:"Original",color:Hy,w:48})]}),(0,p.jsxs)("g",{children:[(0,p.jsx)("rect",{fill:"#FFFFFF",height:76,rx:4,width:90,x:37,y:21}),(0,p.jsx)(Zy,{x:40,y:24,w:84,h:70}),(0,p.jsxs)(ky.g,{animate:e,initial:!1,style:{transformBox:"fill-box",transformOrigin:"center"},variants:Zv,children:[(0,p.jsx)("circle",{cx:108,cy:80,fill:"#FFFFFF",r:9}),(0,p.jsx)("text",{fill:$y,fontFamily:"Inter, inherit",fontSize:13,fontWeight:500,textAnchor:"middle",x:108,y:84.5,children:"R"})]})]}),(0,p.jsx)(Ky,{variants:Xy(["p1","p2"],.8),children:(0,p.jsx)(Jy,{x:50,y:100,label:"Watermarked",w:60})})]})}const tb={"ai-agent":function(){return(0,p.jsx)(_y,{captions:av,children:(0,p.jsx)(cv,{})})},"natural-text-to-speech":function(){return(0,p.jsx)(_y,{captions:qv,children:(0,p.jsx)(Xv,{})})},"reinvent-alt-text":function(){return(0,p.jsx)(_y,{captions:uv,children:(0,p.jsx)(fv,{})})},"reinvent-auto-featured-image":function(){return(0,p.jsx)(_y,{captions:pv,children:(0,p.jsx)(mv,{})})},"reinvent-database-cleaner":function(){return(0,p.jsx)(_y,{captions:gv,children:(0,p.jsx)(bv,{})})},"reinvent-image-links":function(){return(0,p.jsx)(_y,{captions:xv,children:(0,p.jsx)(Cv,{})})},"reinvent-lightbox":function(){return(0,p.jsx)(_y,{captions:Ev,children:(0,p.jsx)(Av,{})})},"reinvent-media-cleanup":function(){return(0,p.jsx)(_y,{captions:Fv,children:(0,p.jsx)(Lv,{})})},"reinvent-rename-replace-media":function(){return(0,p.jsx)(_y,{captions:Dv,children:(0,p.jsx)(Iv,{})})},"reinvent-retina-images":function(){return(0,p.jsx)(_y,{captions:Bv,children:(0,p.jsx)($v,{})})},"reinvent-rss-featured-image":function(){return(0,p.jsx)(_y,{captions:Wv,children:(0,p.jsx)(Yv,{})})},"reinvent-watermark":function(){return(0,p.jsx)(_y,{captions:Qv,children:(0,p.jsx)(eb,{})})}},nb=zr({palette:{mode:"light",primary:{main:"#004984",contrastText:"#ffffff"},success:{main:"#2e7d32",contrastText:"#ffffff"},background:{default:"#ffffff",paper:"#ffffff"},text:{primary:"#333333",secondary:"#4a5568"}},typography:{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',body1:{fontSize:"1.05rem"},body2:{fontSize:"1rem"}},components:{MuiButton:{styleOverrides:{root:{textTransform:"none"},containedPrimary:{"&:hover, &:focus, &:active":{color:"#ffffff"}},outlinedPrimary:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiIconButton:{styleOverrides:{root:{"&:hover, &:focus, &:active":{color:"#004984"}}}},MuiTooltip:{styleOverrides:{tooltip:{fontSize:"0.85rem"},popper:{zIndex:10002}}},MuiDialog:{styleOverrides:{root:{zIndex:10001}}}}}),rb={backgroundColor:"#FFFFFF",border:"1px solid rgba(7, 21, 34, 0.1)",borderRadius:0,boxShadow:"none"},ob="1px solid rgba(7, 21, 34, 0.1)",ib=nb;function ab({app:e}){const t=ql.action(e),n=tb[e.slug];return(0,p.jsxs)(mo,{component:"article",sx:{display:"flex",flexDirection:"column",gap:2,p:3,borderRadius:2,border:ob,backgroundColor:"#FFFFFF",transition:"border-color 0.2s ease","&:hover":{borderColor:"primary.main"},"@media (prefers-reduced-motion: reduce)":{transition:"none"}},children:[n&&(0,p.jsx)(mo,{sx:{mx:-1,mb:1},children:(0,p.jsx)(n,{})}),(0,p.jsxs)(mo,{children:[(0,p.jsx)(So,{variant:"h6",component:"h3",sx:{lineHeight:1.3},children:e.learn_url?(0,p.jsx)(Ws,{href:ql.siteLink(e.learn_url,"apps_hub",e.slug),target:"_blank",rel:"noopener noreferrer",color:"inherit",underline:"always",sx:{textUnderlineOffset:"0.18em",textDecorationThickness:"1px"},children:e.name}):e.name}),e.category&&(0,p.jsx)(Ai,{label:e.category,size:"small",variant:"outlined",sx:{mt:.75}})]}),(0,p.jsx)(So,{variant:"body2",color:"text.secondary",sx:{flexGrow:1},children:e.description}),(t||e.coming_soon)&&(0,p.jsxs)(Mo,{direction:"row",spacing:1,alignItems:"center",useFlexGap:!0,flexWrap:"wrap",children:[e.coming_soon&&(0,p.jsx)(Wl,{variant:"outlined",disabled:!0,children:Ul.coming_soon}),t&&(0,p.jsx)(Wl,{variant:t.variant,disableElevation:!0,href:t.href,startIcon:t.install?(0,p.jsx)(Ol,{}):void 0,children:t.label})]})]})}const sb=io((0,p.jsx)("path",{d:"M11 5v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0s-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0L13 16.17V5c0-.55-.45-1-1-1s-1 .45-1 1"}));function lb(e,t,n,r,o){const[i,a]=u().useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return Do(()=>{if(!n)return;const t=n(e),r=()=>{a(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[e,n]),i}const cb={...h()}.useSyncExternalStore;function ub(e,t,n,r,o){const i=u().useCallback(()=>t,[t]),a=u().useMemo(()=>{if(o&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return i},[i,e,r,o,n]),[s,l]=u().useMemo(()=>{if(null===n)return[i,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[i,n,e]);return cb(l,s,a)}function db(e={}){const{themeId:t}=e;return function(e,n={}){let r=lo();r&&t&&(r=r[t]||r);const o="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:i=!1,matchMedia:a=(o?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:l=!1}=Co({name:"MuiUseMediaQuery",props:n,theme:r});let c="function"==typeof e?e(r):e;c=c.replace(/^@media( ?)/m,""),c.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join("\n"));return(void 0!==cb?ub:lb)(c,i,a,s,l)}}db();const fb=db({themeId:Br});function pb({title:e,text:t,real:n,fade:r=!1}){const o=r?"color 900ms ease":void 0;return(0,p.jsxs)(mo,{sx:{position:"relative",px:{xs:3,sm:5,md:7},pt:5,textAlign:"center"},children:[(0,p.jsx)(So,{component:n?"h1":"p",id:n?"home-hero-title":void 0,sx:{color:e,fontSize:{xs:"2.65rem",sm:"3.45rem",md:"3.85rem"},fontWeight:750,letterSpacing:"-0.055em",lineHeight:1.02,m:0,maxWidth:820,mx:"auto",textWrap:"balance",transition:o},children:"Enhance your boring website with the latest web technology."}),(0,p.jsx)(So,{component:"p",sx:{color:t,fontSize:{xs:"1.08rem",md:"1.2rem"},lineHeight:1.55,maxWidth:"58ch",mt:3,mx:"auto",textWrap:"pretty",transition:o},children:"Reinvent WP creates high-quality WordPress plugins with clean design and blazing-fast performance."})]})}const hb=[{label:"Old",title:"#3D2A14",text:"#5E4326"},{label:"Modern",title:"#004984",text:"#41566B"},{label:"Future",title:"#FFFFFF",text:"#C9D6FF"}],mb={firstHoldMs:2200,holdMs:3400,changeS:1.25};const gb={scenes:hb,timing:mb,useStory:function(){const e=Py(),[t,n]=(0,u().useState)(0);return(0,u().useEffect)(()=>{if(e)return;const r=0===t?mb.firstHoldMs:mb.holdMs+1e3*mb.changeS,o=window.setTimeout(()=>n(e=>e+1),r);return()=>window.clearTimeout(o)},[e,t]),e?{scene:hb.length-1,changes:0}:{scene:t%hb.length,changes:t}}},yb=(0,u().lazy)(()=>n.e(964).then(()=>n(942))),vb=["radial-gradient(circle at 66% 74%, #FFF3D6 0 7%, rgba(255, 244, 218, 0.55) 7.4%, rgba(255, 244, 218, 0) 24%), radial-gradient(ellipse at 50% 60%, rgba(42, 22, 8, 0) 50%, rgba(42, 22, 8, 0.42) 100%), linear-gradient(180deg, #F6EBD6 0%, #EBCB98 60%, #CF8F50 100%)","radial-gradient(circle at 74% 50%, #FFD466 0 2.6%, rgba(255, 233, 168, 0.75) 2.8% 4.8%, rgba(255, 233, 168, 0) 5.2%), linear-gradient(180deg, #F1F8FF 0%, #D3EAFF 60%, #B9DDFF 100%)",`${[[8,30],[16,52],[24,22],[31,64],[38,36],[47,70],[55,28],[63,58],[71,34],[79,62],[86,26],[93,48],[12,76],[89,78]].map(([e,t])=>`radial-gradient(1.6px 1.6px at ${e}% ${t}%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0))`).join(", ")}, radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 122, 217, 0.5), rgba(255, 122, 217, 0)), linear-gradient(180deg, #080C2A 0%, #1E1856 55%, #56308C 100%)`];function bb({scene:e,onCovered:t}){const[n,r]=(0,u().useState)(!1),[o,i]=(0,u().useState)(!1),a=(0,u().useRef)({x:0,y:0}),{title:s,text:l}=gb.scenes[e];(0,u().useEffect)(()=>()=>t(!1),[t]);return(0,p.jsxs)(mo,{onPointerLeave:()=>{a.current={x:0,y:0}},onPointerMove:e=>{const t=e.currentTarget.getBoundingClientRect();a.current={x:(e.clientX-t.left)/t.width*2-1,y:(e.clientY-t.top)/t.height*2-1}},onTransitionEnd:e=>e.target===e.currentTarget&&void(n&&!o&&(i(!0),t(!0))),sx:{inset:0,opacity:n?1:0,position:"absolute",transition:"opacity 600ms ease"},children:[vb.map((t,n)=>{const{opacity:r,fades:o}=function(e,t){return 0===e?{opacity:1,fades:!1}:e===vb.length-1?{opacity:t===e?1:0,fades:1!==t}:{opacity:t>=e?1:0,fades:t===e}}(n,e);return(0,p.jsx)(mo,{"aria-hidden":!0,sx:{background:t,inset:0,opacity:r,position:"absolute",transition:o?`opacity ${gb.timing.changeS}s ease`:"none"}},t)}),(0,p.jsx)(u().Suspense,{fallback:null,children:(0,p.jsx)(yb,{changeS:gb.timing.changeS+.25,onReady:()=>r(!0),pointer:a,scene:e})}),(0,p.jsx)(mo,{"aria-hidden":!o,sx:{pointerEvents:"none",position:"relative"},children:(0,p.jsx)(pb,{fade:!0,real:o,text:l,title:s})})]})}function xb({children:e}){return(0,p.jsx)("svg",{"aria-hidden":!0,focusable:"false",preserveAspectRatio:"xMidYMax slice",style:{display:"block",height:"100%",inset:0,position:"absolute",width:"100%"},viewBox:"0 0 1200 800",children:e})}const wb="#5FF0FF",Sb="#FF7AD9",kb=[[60,210,1.6],[130,330,1.2],[190,250,2],[250,420,1.3],[310,200,1.5],[360,340,1.1],[420,470,1.6],[470,230,1.2],[540,500,1.4],[610,190,1.8],[660,470,1.2],[720,240,1.4],[770,400,1.7],[840,210,1.2],[900,470,1.5],[960,240,1.2],[1010,430,1.8],[1090,200,1.3],[1150,380,1.5],[450,400,1],[580,420,1.1],[700,520,1.3],[500,540,1.1],[330,500,1.4]],Cb=[[120,34,190],[166,26,250],[204,40,150],[256,22,300],[290,36,210],[338,28,130],[842,30,150],[884,24,280],[920,40,200],[972,26,330],[1010,36,180],[1058,30,240]];function Eb({y:e,back:t=!1}){return(0,p.jsx)("g",{className:t?"hh-fly-back":"hh-fly",children:(0,p.jsxs)("g",{transform:t?`translate(0 ${e}) scale(-1 1)`:`translate(0 ${e})`,children:[(0,p.jsx)("rect",{fill:"url(#hh-fut-trail)",height:"3",width:"90",x:"-90",y:"3.5"}),(0,p.jsx)("rect",{fill:"#EAF2FF",height:"10",rx:"5",width:"34",x:"0",y:"0"}),(0,p.jsx)("circle",{cx:"30",cy:"5",fill:wb,r:"2.5"})]})})}const Pb="#D5DEE8",Tb="#E9EFF5";const jb="#2E1D13",Ab="#4A3222",Fb="#FFC766",Mb=(e,t)=>Array.from({length:Math.floor((t-e)/18)+1},(t,n)=>e+18*n);const Ob=[function(){return(0,p.jsxs)(xb,{children:[(0,p.jsxs)("defs",{children:[(0,p.jsxs)("linearGradient",{id:"hh-old-sky",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#F6EBD6"}),(0,p.jsx)("stop",{offset:"0.6",stopColor:"#EBCB98"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#CF8F50"})]}),(0,p.jsxs)("radialGradient",{id:"hh-old-halo",children:[(0,p.jsx)("stop",{offset:"0.5",stopColor:"#FFF4DA",stopOpacity:"0.9"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#FFF4DA",stopOpacity:"0"})]}),(0,p.jsxs)("radialGradient",{id:"hh-old-lamp",children:[(0,p.jsx)("stop",{offset:"0",stopColor:Fb,stopOpacity:"0.6"}),(0,p.jsx)("stop",{offset:"1",stopColor:Fb,stopOpacity:"0"})]}),(0,p.jsxs)("radialGradient",{id:"hh-old-mist",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#FFF1D6",stopOpacity:"0.5"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#FFF1D6",stopOpacity:"0"})]}),(0,p.jsxs)("radialGradient",{cx:"0.5",cy:"0.62",id:"hh-old-vignette",r:"0.8",children:[(0,p.jsx)("stop",{offset:"0.5",stopColor:"#2A1608",stopOpacity:"0"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#2A1608",stopOpacity:"0.5"})]})]}),(0,p.jsx)("rect",{fill:"url(#hh-old-sky)",height:"800",width:"1200"}),(0,p.jsx)("circle",{cx:"700",cy:"590",fill:"url(#hh-old-halo)",r:"190"}),(0,p.jsx)("circle",{cx:"700",cy:"590",fill:"#FFF3D6",r:"104"}),(0,p.jsx)("path",{d:"M0 696 C 150 648 300 664 450 694 S 800 654 1000 684 S 1150 664 1200 674 V800 H0Z",fill:"#B77F45",opacity:"0.75"}),(0,p.jsxs)("g",{className:"hh-crows",fill:"none",stroke:jb,strokeLinecap:"round",strokeWidth:"3",children:[(0,p.jsx)("path",{d:"M800 492 q8 -8 16 0 q8 -8 16 0"}),(0,p.jsx)("path",{d:"M846 512 q6 -6 12 0 q6 -6 12 0"}),(0,p.jsx)("path",{d:"M828 470 q5 -5 10 0 q5 -5 10 0"})]}),(0,p.jsxs)("g",{fill:"none",stroke:jb,strokeLinecap:"round",children:[(0,p.jsx)("path",{d:"M400 742 C 402 690 396 650 404 600",strokeWidth:"14"}),(0,p.jsx)("path",{d:"M402 660 C 380 640 366 620 356 590",strokeWidth:"7"}),(0,p.jsx)("path",{d:"M404 630 C 424 612 436 596 440 566",strokeWidth:"6"}),(0,p.jsx)("path",{d:"M368 618 C 352 612 342 600 334 590",strokeWidth:"4"}),(0,p.jsx)("path",{d:"M402 604 C 398 584 406 566 400 546",strokeWidth:"5"}),(0,p.jsx)("path",{d:"M436 590 C 448 584 456 576 462 564",strokeWidth:"3.5"})]}),(0,p.jsxs)("g",{transform:"rotate(-1.5 600 740)",children:[(0,p.jsx)("rect",{fill:jb,height:"52",width:"20",x:"650",y:"518"}),[0,1.6,3.2].map(e=>(0,p.jsx)("circle",{className:"hh-smoke hh-c",cx:"660",cy:"510",fill:"#F3E4CC",r:"12",style:{animationDelay:`${e}s`}},e)),(0,p.jsx)("rect",{fill:Ab,height:"192",width:"62",x:"468",y:"548"}),(0,p.jsx)("polygon",{fill:jb,points:"458,550 499,462 540,550"}),(0,p.jsx)("line",{stroke:jb,strokeWidth:"3",x1:"499",x2:"499",y1:"464",y2:"444"}),(0,p.jsx)("circle",{cx:"499",cy:"442",fill:jb,r:"4"}),(0,p.jsx)("circle",{cx:"499",cy:"606",fill:"url(#hh-old-lamp)",r:"46"}),(0,p.jsx)("path",{className:"hh-flicker",d:"M488 626 V600 a11 11 0 0 1 22 0 V626 Z",fill:Fb}),(0,p.jsx)("path",{d:"M499 590 V626 M488 608 H510",stroke:Ab,strokeWidth:"2"}),(0,p.jsx)("rect",{fill:"#5A3E2B",height:"144",width:"160",x:"526",y:"596"}),[612,628,644,660,676,692,708,724].map(e=>(0,p.jsx)("line",{opacity:"0.55",stroke:Ab,strokeWidth:"2",x1:"526",x2:"686",y1:e,y2:e},e)),(0,p.jsx)("polygon",{fill:jb,points:"508,602 606,506 704,602"}),(0,p.jsx)("circle",{cx:"606",cy:"562",fill:"#8A6A3C",r:"12"}),(0,p.jsx)("path",{d:"M606 550 V574 M594 562 H618",stroke:jb,strokeWidth:"2"}),(0,p.jsx)("circle",{cx:"561",cy:"648",fill:"url(#hh-old-lamp)",r:"52"}),(0,p.jsx)("rect",{className:"hh-flicker",fill:Fb,height:"44",width:"30",x:"546",y:"626"}),(0,p.jsx)("path",{d:"M561 626 V670 M546 648 H576",stroke:Ab,strokeWidth:"2"}),(0,p.jsx)("rect",{fill:jb,height:"46",width:"9",x:"535",y:"625"}),(0,p.jsx)("rect",{fill:jb,height:"46",transform:"rotate(9 580 625)",width:"9",x:"578",y:"625"}),(0,p.jsx)("rect",{fill:"#24150C",height:"44",width:"30",x:"636",y:"626"}),(0,p.jsx)("path",{d:"M651 626 V670 M636 648 H666",stroke:Ab,strokeWidth:"2"}),(0,p.jsx)("rect",{fill:jb,height:"46",transform:"rotate(-14 668 625)",width:"9",x:"668",y:"625"}),(0,p.jsx)("rect",{fill:jb,height:"56",width:"26",x:"594",y:"684"}),(0,p.jsx)("circle",{cx:"614",cy:"714",fill:"#8A6A3C",r:"2"}),(0,p.jsx)("polygon",{fill:jb,points:"686,652 772,668 772,676 686,664"}),(0,p.jsx)("rect",{fill:Ab,height:"70",width:"5",x:"724",y:"670"}),(0,p.jsx)("rect",{fill:Ab,height:"64",width:"5",x:"764",y:"676"}),(0,p.jsx)("rect",{fill:Ab,height:"8",width:"92",x:"686",y:"732"})]}),(0,p.jsxs)("g",{fill:"#6B4A32",children:[(0,p.jsx)("rect",{height:"4",width:"172",x:"286",y:"724"}),(0,p.jsx)("rect",{height:"4",width:"154",x:"784",y:"724"}),Mb(290,452).filter(e=>344!==e&&416!==e).map(e=>(0,p.jsx)("rect",{height:"30",width:"8",x:e,y:"712"},e)),Mb(788,932).filter(e=>860!==e).map(e=>(0,p.jsx)("rect",{height:"30",width:"8",x:e,y:"712"},e))]}),(0,p.jsx)("path",{d:"M0 742 C 200 730 400 748 600 740 S 1000 732 1200 744 V800 H0Z",fill:"#5E3F26"}),(0,p.jsx)("path",{d:"M0 772 C 300 760 700 778 1200 766 V800 H0Z",fill:"#4A3020"}),(0,p.jsx)("ellipse",{className:"hh-drift",cx:"600",cy:"740",fill:"url(#hh-old-mist)",rx:"560",ry:"34"}),(0,p.jsx)("rect",{fill:"url(#hh-old-vignette)",height:"800",width:"1200"})]})},function(){return(0,p.jsxs)(xb,{children:[(0,p.jsxs)("defs",{children:[(0,p.jsxs)("linearGradient",{id:"hh-mod-sky",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#F1F8FF"}),(0,p.jsx)("stop",{offset:"0.6",stopColor:"#D3EAFF"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#B9DDFF"})]}),(0,p.jsxs)("linearGradient",{id:"hh-mod-glass",x1:"0",x2:"1",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#CDEBFD"}),(0,p.jsx)("stop",{offset:"0.5",stopColor:"#8FCDF3"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#6DB8F0"})]})]}),(0,p.jsx)("rect",{fill:"url(#hh-mod-sky)",height:"800",width:"1200"}),(0,p.jsx)("circle",{className:"hh-pulse hh-c",cx:"748",cy:"478",fill:"#FFE9A8",r:"58"}),(0,p.jsx)("circle",{cx:"748",cy:"478",fill:"#FFD466",r:"32"}),(0,p.jsxs)("g",{className:"hh-drift",fill:"#FFFFFF",opacity:"0.95",children:[(0,p.jsx)("ellipse",{cx:"300",cy:"470",rx:"62",ry:"20"}),(0,p.jsx)("ellipse",{cx:"270",cy:"456",rx:"34",ry:"20"}),(0,p.jsx)("ellipse",{cx:"326",cy:"452",rx:"40",ry:"24"}),(0,p.jsx)("ellipse",{cx:"950",cy:"420",rx:"70",ry:"22"}),(0,p.jsx)("ellipse",{cx:"920",cy:"404",rx:"38",ry:"22"}),(0,p.jsx)("ellipse",{cx:"982",cy:"402",rx:"44",ry:"26"})]}),(0,p.jsx)("path",{d:"M0 700 C 180 650 340 668 520 696 S 860 656 1040 688 S 1160 670 1200 680 V800 H0Z",fill:"#CDEBC4"}),(0,p.jsx)("path",{d:"M0 742 C 200 732 400 746 600 740 S 1000 734 1200 744 V800 H0Z",fill:"#9FD69A"}),(0,p.jsx)("path",{d:"M0 774 C 300 764 700 780 1200 768 V800 H0Z",fill:"#84C680"}),(0,p.jsx)("polygon",{fill:"#E7ECF2",points:"636,740 692,740 772,800 596,800"}),(0,p.jsx)("rect",{fill:"#8A5A35",height:"100",width:"10",x:"412",y:"642"}),(0,p.jsx)("circle",{cx:"392",cy:"634",fill:"#6CBF82",r:"30"}),(0,p.jsx)("circle",{cx:"444",cy:"632",fill:"#4FA368",r:"30"}),(0,p.jsx)("circle",{cx:"417",cy:"608",fill:"#5DB075",r:"44"}),(0,p.jsx)("ellipse",{cx:"470",cy:"738",fill:"#5DB075",rx:"26",ry:"12"}),(0,p.jsx)("ellipse",{cx:"760",cy:"738",fill:"#6CBF82",rx:"22",ry:"10"}),(0,p.jsx)("rect",{fill:"#FFFFFF",height:"88",stroke:Pb,strokeWidth:"2",width:"236",x:"486",y:"652"}),(0,p.jsx)("rect",{fill:"url(#hh-mod-glass)",height:"64",width:"120",x:"502",y:"668"}),(0,p.jsx)("path",{d:"M542 668 V732 M582 668 V732",stroke:"#FFFFFF",strokeWidth:"3"}),(0,p.jsx)("rect",{fill:"#B07A45",height:"64",width:"34",x:"646",y:"676"}),(0,p.jsx)("rect",{fill:"#F4E3CF",height:"14",rx:"2",width:"3",x:"652",y:"702"}),(0,p.jsx)("rect",{fill:"#BFE3FA",height:"20",opacity:"0.65",width:"56",x:"486",y:"626"}),(0,p.jsx)("rect",{fill:Tb,height:"8",stroke:Pb,width:"72",x:"476",y:"645"}),(0,p.jsx)("rect",{fill:"#C9955F",height:"74",width:"236",x:"540",y:"578"}),Array.from({length:19},(e,t)=>552+12*t).map(e=>(0,p.jsx)("line",{opacity:"0.7",stroke:"#B07F4A",strokeWidth:"2",x1:e,x2:e,y1:"578",y2:"652"},e)),(0,p.jsx)("rect",{fill:"url(#hh-mod-glass)",height:"38",width:"150",x:"560",y:"596"}),(0,p.jsx)("path",{d:"M610 596 V634 M660 596 V634",stroke:"#FFFFFF",strokeWidth:"3"}),(0,p.jsx)("rect",{fill:"#9AA7B5",height:"88",width:"6",x:"764",y:"652"}),(0,p.jsx)("rect",{fill:Tb,height:"9",stroke:Pb,width:"256",x:"530",y:"570"}),(0,p.jsx)("polygon",{fill:"#1F4E8C",points:"566,570 606,570 612,555 572,555"}),(0,p.jsx)("polygon",{fill:"#1F4E8C",points:"622,570 662,570 668,555 628,555"}),(0,p.jsx)("path",{d:"M586 570 L592 555 M642 570 L648 555",stroke:"#6FA3E0",strokeWidth:"1.5"}),(0,p.jsx)("path",{d:"M822 722 q2 -18 22 -20 h30 q16 2 24 16 h10 q8 2 8 12 v6 h-96 v-8 q0 -6 2 -6 Z",fill:"#3F8FDC"}),(0,p.jsx)("path",{d:"M846 706 h26 q10 2 16 12 h-44 Z",fill:"#CDEBFD"}),(0,p.jsx)("circle",{cx:"840",cy:"738",fill:"#22313F",r:"9"}),(0,p.jsx)("circle",{cx:"898",cy:"738",fill:"#22313F",r:"9"}),(0,p.jsx)("circle",{cx:"840",cy:"738",fill:"#B8C4D0",r:"3.5"}),(0,p.jsx)("circle",{cx:"898",cy:"738",fill:"#B8C4D0",r:"3.5"})]})},function(){return(0,p.jsxs)(xb,{children:[(0,p.jsxs)("defs",{children:[(0,p.jsxs)("linearGradient",{id:"hh-fut-sky",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#080C2A"}),(0,p.jsx)("stop",{offset:"0.55",stopColor:"#1E1856"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#56308C"})]}),(0,p.jsxs)("radialGradient",{id:"hh-fut-horizon",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#FF7AD9",stopOpacity:"0.45"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#FF7AD9",stopOpacity:"0"})]}),(0,p.jsxs)("linearGradient",{id:"hh-fut-planet",x1:"0",x2:"1",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#FFC4DD"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#7C55D0"})]}),(0,p.jsxs)("linearGradient",{id:"hh-fut-body",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#FFFFFF"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#A4BAE8"})]}),(0,p.jsxs)("linearGradient",{id:"hh-fut-glass",x1:"0",x2:"1",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#9BF8FF"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#3D8BFF"})]}),(0,p.jsxs)("linearGradient",{id:"hh-fut-beam",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,p.jsx)("stop",{offset:"0",stopColor:wb,stopOpacity:"0.45"}),(0,p.jsx)("stop",{offset:"1",stopColor:wb,stopOpacity:"0.04"})]}),(0,p.jsxs)("linearGradient",{id:"hh-fut-trail",x1:"0",x2:"1",y1:"0",y2:"0",children:[(0,p.jsx)("stop",{offset:"0",stopColor:wb,stopOpacity:"0"}),(0,p.jsx)("stop",{offset:"1",stopColor:wb,stopOpacity:"0.9"})]})]}),(0,p.jsx)("rect",{fill:"url(#hh-fut-sky)",height:"800",width:"1200"}),(0,p.jsx)("ellipse",{cx:"600",cy:"750",fill:"url(#hh-fut-horizon)",rx:"760",ry:"250"}),kb.map(([e,t,n],r)=>(0,p.jsx)("circle",{className:r%3==0?"hh-twinkle":void 0,cx:e,cy:t,fill:"#FFFFFF",opacity:"0.9",r:n,style:r%3==0?{animationDelay:r%5*.5+"s"}:void 0},`${e}-${t}`)),(0,p.jsxs)("g",{transform:"rotate(-18 1104 432)",children:[(0,p.jsx)("ellipse",{cx:"1104",cy:"432",fill:"none",opacity:"0.8",rx:"78",ry:"14",stroke:"#FFD9F0",strokeWidth:"4"}),(0,p.jsx)("circle",{cx:"1104",cy:"432",fill:"url(#hh-fut-planet)",r:"42"}),(0,p.jsx)("path",{d:"M 1026 432 A 78 14 0 0 0 1182 432",fill:"none",opacity:"0.9",stroke:"#FFD9F0",strokeWidth:"4"})]}),(0,p.jsx)("g",{children:Cb.map(([e,t,n])=>(0,p.jsxs)("g",{children:[(0,p.jsx)("polygon",{fill:"#161A4A",points:`${e},${742-n} ${e+t/2},${742-n-26} ${e+t},${742-n}`}),(0,p.jsx)("rect",{fill:"#161A4A",height:n,width:t,x:e,y:742-n}),Array.from({length:Math.floor(n/34)},(e,t)=>742-n+16+34*t).map(n=>(0,p.jsx)("rect",{fill:wb,height:"3",opacity:"0.55",width:t-14,x:e+7,y:n},n))]},e))}),(0,p.jsx)(Eb,{y:506}),(0,p.jsx)(Eb,{back:!0,y:452}),(0,p.jsx)("rect",{fill:"#0C1136",height:"58",width:"1200",y:"742"}),(0,p.jsxs)("g",{opacity:"0.3",stroke:wb,strokeWidth:"1.5",children:[(0,p.jsx)("line",{x1:"0",x2:"1200",y1:"752",y2:"752"}),(0,p.jsx)("line",{x1:"0",x2:"1200",y1:"766",y2:"766"}),(0,p.jsx)("line",{x1:"0",x2:"1200",y1:"786",y2:"786"}),[-360,-200,-40,120,280,440,600,760,920,1080,1240,1400,1560].map(e=>(0,p.jsx)("line",{x1:"600",x2:e,y1:"742",y2:"800"},e))]}),(0,p.jsx)("polygon",{fill:"url(#hh-fut-beam)",points:"566,690 634,690 708,746 492,746"}),(0,p.jsx)("ellipse",{cx:"600",cy:"746",fill:wb,opacity:"0.16",rx:"104",ry:"9"}),(0,p.jsx)("ellipse",{className:"hh-pulse hh-c",cx:"600",cy:"746",fill:"none",rx:"150",ry:"13",stroke:wb,strokeWidth:"2"}),(0,p.jsxs)("g",{className:"hh-hover",children:[(0,p.jsx)("g",{transform:"rotate(-8 600 640)",children:(0,p.jsx)("ellipse",{className:"hh-dash",cx:"600",cy:"640",fill:"none",opacity:"0.75",rx:"165",ry:"26",stroke:Sb,strokeDasharray:"10 14",strokeWidth:"2"})}),(0,p.jsx)("ellipse",{cx:"484",cy:"642",fill:"#C7D6F5",rx:"12",ry:"20"}),(0,p.jsx)("ellipse",{cx:"716",cy:"642",fill:"#C7D6F5",rx:"12",ry:"20"}),(0,p.jsx)("line",{stroke:"#DCE8FF",strokeWidth:"3",x1:"600",x2:"600",y1:"566",y2:"536"}),(0,p.jsx)("circle",{className:"hh-blink",cx:"600",cy:"532",fill:"#FF5FD2",r:"5"}),(0,p.jsx)("path",{d:"M556 602 C 560 556 640 556 644 602 Z",fill:"#BFEFFF",opacity:"0.55",stroke:"#E8FBFF",strokeWidth:"2"}),(0,p.jsx)("rect",{fill:"url(#hh-fut-body)",height:"84",rx:"42",width:"224",x:"488",y:"600"}),(0,p.jsx)("rect",{fill:"#6FE9FF",height:"46",opacity:"0.28",rx:"23",width:"180",x:"510",y:"614"}),(0,p.jsx)("rect",{fill:"url(#hh-fut-glass)",height:"34",rx:"17",width:"168",x:"516",y:"620"}),(0,p.jsx)("path",{d:"M572 620 V654 M628 620 V654",opacity:"0.6",stroke:"#EAF6FF",strokeWidth:"2"}),(0,p.jsx)("ellipse",{cx:"600",cy:"686",fill:wb,opacity:"0.9",rx:"64",ry:"7"}),(0,p.jsx)("g",{transform:"rotate(-8 600 640)",children:(0,p.jsx)("path",{className:"hh-dash",d:"M 435 640 A 165 26 0 0 0 765 640",fill:"none",stroke:Sb,strokeDasharray:"10 14",strokeWidth:"2"})})]})]})}],Rb="inset(0% 0% 0% 0%)",Nb="inset(0% 100% 0% 0%)",Lb="inset(0% 0% 0% 100%)",Db={duration:gb.timing.changeS,ease:[.65,0,.35,1]},zb={duration:0};function Ib({layer:e,scene:t,children:n}){const r={inset:0,position:"absolute"},o=e===t||e===(t+Ob.length-1)%Ob.length;if(0===e)return(0,p.jsx)(mo,{className:"hh-scene","data-active":o,sx:r,children:n});const{animate:i,transition:a}=function(e,t){return e===t?{animate:{clipPath:[Nb,Rb]},transition:Db}:e<t?{animate:{clipPath:Rb},transition:zb}:e===Ob.length-1&&0===t?{animate:{clipPath:[Rb,Lb]},transition:Db}:{animate:{clipPath:0===t?Lb:Nb},transition:zb}}(e,t);return(0,p.jsx)(mo,{animate:i,"aria-hidden":!0,className:"hh-scene",component:ky.div,"data-active":o,initial:!1,sx:r,transition:a,children:n})}function Bb({scene:e,changes:t}){return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("style",{children:'\n.hh-c { transform-box: fill-box; transform-origin: center; }\n.hh-flicker { animation: hh-flicker 3.2s steps(1, end) infinite; }\n.hh-smoke { animation: hh-smoke 5s ease-out infinite; opacity: 0; }\n.hh-crows { animation: hh-crows 16s linear infinite; }\n.hh-drift { animation: hh-drift 14s ease-in-out infinite alternate; }\n.hh-pulse { animation: hh-pulse 4s ease-in-out infinite; }\n.hh-hover { animation: hh-hover 5s ease-in-out infinite; }\n.hh-twinkle { animation: hh-twinkle 3s ease-in-out infinite; }\n.hh-dash { animation: hh-dash 9s linear infinite; }\n.hh-fly { animation: hh-fly 9s linear infinite; }\n.hh-fly-back { animation: hh-fly-back 13s linear infinite; }\n.hh-blink { animation: hh-blink 2.2s linear infinite; }\n.hh-scene[data-active="false"] * { animation-play-state: paused; }\n@keyframes hh-flicker { 0%, 100% { opacity: 1; } 42% { opacity: 0.78; } 46% { opacity: 1; } 71% { opacity: 0.6; } 74% { opacity: 0.95; } }\n@keyframes hh-smoke { 0% { transform: translate(0, 0) scale(0.6); opacity: 0; } 15% { opacity: 0.5; } 100% { transform: translate(30px, -96px) scale(1.9); opacity: 0; } }\n@keyframes hh-crows { 0% { transform: translate(160px, 20px); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translate(-420px, -50px); opacity: 0; } }\n@keyframes hh-drift { from { transform: translateX(-36px); } to { transform: translateX(36px); } }\n@keyframes hh-pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.07); } }\n@keyframes hh-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }\n@keyframes hh-twinkle { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.25; } }\n@keyframes hh-dash { to { stroke-dashoffset: -240; } }\n@keyframes hh-fly { from { transform: translateX(-180px); } to { transform: translateX(1380px); } }\n@keyframes hh-fly-back { from { transform: translateX(1380px); } to { transform: translateX(-180px); } }\n@keyframes hh-blink { 0%, 60%, 100% { opacity: 1; } 70%, 90% { opacity: 0.15; } }\n@media (prefers-reduced-motion: reduce) { .hh-scene * { animation: none !important; } .hh-smoke { opacity: 0.35; } }\n'}),gb.scenes.map(({label:t,title:n,text:r},o)=>{const i=Ob[o];return(0,p.jsxs)(Ib,{layer:o,scene:e,children:[(0,p.jsx)(i,{}),(0,p.jsx)(pb,{real:0===o,text:r,title:n})]},t)}),t>0&&(0,p.jsx)(mo,{animate:{left:"100%",opacity:[0,1,1,0]},"aria-hidden":!0,component:ky.span,initial:{left:"0%",opacity:0},sx:{bgcolor:"#FFFFFF",bottom:0,boxShadow:"0 0 22px 6px rgba(95, 240, 255, 0.7)",pointerEvents:"none",position:"absolute",top:0,width:3},transition:{...Db,opacity:{duration:gb.timing.changeS,times:[0,.08,.92,1]}}},t)]})}function _b(e){const t=document.getElementById("wpadminbar"),n=t&&"fixed"===getComputedStyle(t).position?t.offsetHeight:0;return Math.max(0,Math.round(e.getBoundingClientRect().bottom+window.scrollY-n))}const Vb=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth";function $b({scene:e}){return(0,p.jsx)(Mo,{"aria-hidden":!0,direction:"row",spacing:1.5,sx:{backdropFilter:"blur(8px)",bgcolor:"rgba(8, 12, 42, 0.5)",bottom:16,color:"#FFFFFF",fontSize:13,fontWeight:600,left:16,pointerEvents:"none",position:"absolute",px:1.5,py:.75},children:gb.scenes.map(({label:t},n)=>(0,p.jsxs)(Mo,{alignItems:"center",direction:"row",spacing:.75,sx:{opacity:n===e?1:.5,transition:"opacity 300ms ease"},children:[(0,p.jsx)(mo,{sx:{bgcolor:n===e?"#5FF0FF":"#FFFFFF",borderRadius:"50%",height:6,width:6}}),(0,p.jsx)("span",{children:t})]},t))})}function Wb({onClick:e}){return(0,p.jsxs)(gi,{onClick:e,sx:{backdropFilter:"blur(8px)",bgcolor:"rgba(8, 12, 42, 0.5)",bottom:16,color:"#FFFFFF",fontSize:13,fontWeight:600,gap:.75,position:"absolute",px:1.5,py:.75,right:84,"&:hover, &:focus-visible":{bgcolor:"rgba(8, 12, 42, 0.75)"},"& svg":{animation:"rwp-scroll-down 1.6s ease-in-out infinite",fontSize:16},"@keyframes rwp-scroll-down":{"0%, 100%":{transform:"translateY(-2px)"},"50%":{transform:"translateY(3px)"}},"@media (prefers-reduced-motion: reduce)":{"& svg":{animation:"none"}}},children:[Ul.scroll_down,(0,p.jsx)(sb,{})]})}function Ub({flush:e=!0}){const{scene:t,changes:n}=gb.useStory(),r=(0,u().useRef)(null),o=(i=r,(0,u().useEffect)(()=>{let e=window.scrollY,t=!0,n=0;const r=()=>{const e=i.current;if(!e)return;const n=_b(e),r=window.scrollY;if(r<=1||r>=n-1)return;const o=t||r>n-80;window.scrollTo({top:o?n:0,behavior:Vb()})},o=()=>{const o=window.scrollY;o!==e&&(t=o>e),e=o,window.clearTimeout(n),n=window.setTimeout(r,120)};return window.addEventListener("scroll",o,{passive:!0}),()=>{window.removeEventListener("scroll",o),window.clearTimeout(n)}},[i]),(0,u().useCallback)(()=>{i.current&&window.scrollTo({top:_b(i.current),behavior:Vb()})},[i]));var i;const a=fb(e=>e.breakpoints.up("md")),s=Py(),l=a&&!s,[c,d]=(0,u().useState)(!1);return(0,p.jsxs)(mo,{component:"section",ref:r,"aria-labelledby":"home-hero-title",sx:{bgcolor:"#F6EBD6",height:e?"calc(100vh - var(--wp-admin--admin-bar--height, 32px))":"calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 21px)",isolation:"isolate",minHeight:520,overflow:"hidden",position:"relative"},children:[!(l&&c)&&(0,p.jsx)(Bb,{changes:n,scene:t}),l&&(0,p.jsx)(bb,{onCovered:d,scene:t}),(0,p.jsx)($b,{scene:t}),(0,p.jsx)(Wb,{onClick:o})]})}const Hb=io((0,p.jsx)("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42s1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1"}));function Yb(e){const t=Df(()=>sd(e)),{isStatic:n}=(0,u().useContext)(bf);if(n){const[,n]=(0,u().useState)(e);(0,u().useEffect)(()=>t.on("change",n),[])}return t}function qb(e,t,n={}){const r=e.get();let o,i=null,a=r;const s="string"==typeof r?r.replace(/[\d.-]/g,""):void 0,l=()=>{i&&(i.stop(),i=null),e.animation=void 0},c=()=>{(()=>{const t=Kb(e.get()),r=Kb(a);if(t===r)return void l();const s=i?i.getGeneratorVelocity():e.getVelocity();l(),i=new vh({keyframes:[t,r],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:o})})(),e.animation=i??void 0,e.events.animationStart?.notify(),i?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{a=e,o=e=>t(Gb(e,s)),pu.postRender(c)},l),Lc(t)){let r=!0===n.skipInitialAnimation;const o=t.on("change",t=>{r?(r=!1,e.jump(Gb(t,s),!1)):e.set(Gb(t,s))}),i=e.on("destroy",o);return()=>{o(),i()}}return l}function Gb(e,t){return t?e+t:e}function Kb(e){return"number"==typeof e?e:parseFloat(e)}function Xb(e,t){const n=Yb(t()),r=()=>n.set(t());return r(),Kf(()=>{const t=()=>pu.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),hu(r)}}),n}function Qb(e,t,n,r){if("function"==typeof e)return function(e){id.current=[],e();const t=Xb(id.current,e);return id.current=void 0,t}(e);if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof t)return function(e,t,n,r){const o=Df(()=>Object.keys(n)),i=Df(()=>({}));for(const a of o)i[a]=Qb(e,t,n[a],r);return i}(e,t,n,r);const o="function"==typeof t?t:function(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=dh(e[1+n],e[2+n],e[3+n]);return t?o(r):o}(t,n,r),i=Array.isArray(e)?Zb(e,o):Zb([e],([e])=>o(e)),a=Array.isArray(e)?void 0:e.accelerate;return a&&!a.isTransformed&&"function"!=typeof t&&Array.isArray(n)&&!1!==r?.clamp&&(i.accelerate={...a,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),i}function Zb(e,t){const n=Df(()=>[]);return Xb(e,()=>{n.length=0;const r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function Jb(e,t={}){return function(e,t={}){const{isStatic:n}=(0,u().useContext)(bf),r=()=>Lc(e)?e.get():e;if(n)return Qb(r);const o=Yb(r());return(0,u().useInsertionEffect)(()=>qb(o,e,t),[o,JSON.stringify(t)]),o}(e,{type:"spring",...t})}const ex=1600,tx=1e3,nx=[{edge:"M -60 900 C 200 720 520 540 660 340 C 760 190 720 60 610 -30",from:[600,330],to:[980,760],stops:["#FBF4EA","#D4B184","#8E6A4C"]},{edge:"M -60 1040 C 320 780 760 660 1120 480 C 1400 340 1470 150 1360 -30",from:[1100,470],to:[1360,900],stops:["#FAF5EF","#D3C3BA","#8A7A8B"]},{edge:"M 470 1040 C 520 800 900 610 1250 480 C 1480 390 1600 230 1660 70",from:[1180,520],to:[1440,960],stops:["#F3F0F2","#9B97B3","#55557A"]},{edge:"M 1060 1040 C 1080 830 1290 630 1470 480 C 1580 390 1630 260 1680 120",from:[1440,500],to:[1660,900],stops:["#F4F3F1","#C2C8CE","#8395A3"]}],rx=[.35,.6,.85,1],ox={damping:22,mass:.9,stiffness:55},ix=e=>`${e} L 1800 -200 L 1800 1200 L -200 1200 Z`;function ax({children:e}){return(0,p.jsx)("svg",{preserveAspectRatio:"xMidYMid slice",style:{display:"block",height:"100%",inset:0,overflow:"visible",position:"absolute",width:"100%"},viewBox:"0 0 1600 1000",children:e})}function sx({depth:e,edge:t,index:n,pointer:r}){const o=Qb(r.x,t=>30*t*e),i=Qb(r.y,t=>30*t*e*.6);return(0,p.jsx)(ky.div,{style:{inset:0,position:"absolute",willChange:"transform",x:o,y:i},children:(0,p.jsxs)(ax,{children:[(0,p.jsx)("path",{d:ix(t),fill:`url(#suite-silk-${n})`,filter:"url(#suite-silk-shadow)"}),(0,p.jsx)("path",{d:t,fill:"none",filter:"url(#suite-silk-sheen)",stroke:"#FFFFFF",strokeOpacity:"0.55",strokeWidth:"10"}),(0,p.jsx)("path",{d:t,fill:"none",stroke:"#FFFDF8",strokeOpacity:"0.95",strokeWidth:"2.5"})]})})}function lx(){const e=function(){const e=Py(),t=Yb(0),n=Yb(0);return(0,u().useEffect)(()=>{if(e||!window.matchMedia("(hover: hover) and (pointer: fine)").matches)return;const r=e=>{t.set(e.clientX/window.innerWidth*2-1),n.set(e.clientY/window.innerHeight*2-1)},o=()=>{t.set(0),n.set(0)};return window.addEventListener("pointermove",r),document.documentElement.addEventListener("pointerleave",o),()=>{window.removeEventListener("pointermove",r),document.documentElement.removeEventListener("pointerleave",o)}},[e,t,n]),{x:Jb(t,ox),y:Jb(n,ox)}}();return(0,p.jsxs)(mo,{"aria-hidden":!0,sx:{inset:0,pointerEvents:"none",position:"absolute"},children:[(0,p.jsxs)(ax,{children:[(0,p.jsxs)("defs",{children:[(0,p.jsxs)("linearGradient",{id:"suite-silk-back",x1:"0",x2:"1",y1:"1",y2:"0",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#E9CFA2"}),(0,p.jsx)("stop",{offset:"0.45",stopColor:"#F3E3CA"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#A9845F"})]}),(0,p.jsxs)("radialGradient",{id:"suite-silk-glow",cx:"0.1",cy:"0.55",r:"0.55",children:[(0,p.jsx)("stop",{offset:"0",stopColor:"#FFF6E6",stopOpacity:"0.95"}),(0,p.jsx)("stop",{offset:"1",stopColor:"#FFF6E6",stopOpacity:"0"})]}),nx.map(({from:e,to:t,stops:n},r)=>(0,p.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:`suite-silk-${r}`,x1:e[0],x2:t[0],y1:e[1],y2:t[1],children:[(0,p.jsx)("stop",{offset:"0",stopColor:n[0]}),(0,p.jsx)("stop",{offset:"0.35",stopColor:n[1]}),(0,p.jsx)("stop",{offset:"1",stopColor:n[2]})]},n.join())),(0,p.jsx)("filter",{height:"140%",id:"suite-silk-shadow",width:"140%",x:"-20%",y:"-20%",children:(0,p.jsx)("feDropShadow",{dx:"-14",dy:"-10",floodColor:"#3D2A14",floodOpacity:"0.34",stdDeviation:"22"})}),(0,p.jsx)("filter",{height:"140%",id:"suite-silk-sheen",width:"140%",x:"-20%",y:"-20%",children:(0,p.jsx)("feGaussianBlur",{stdDeviation:"5"})})]}),(0,p.jsx)("rect",{fill:"url(#suite-silk-back)",height:tx,width:ex}),(0,p.jsx)("rect",{fill:"url(#suite-silk-glow)",height:tx,width:ex})]}),nx.map(({edge:t},n)=>(0,p.jsx)(sx,{depth:rx[n],edge:t,index:n,pointer:e},t))]})}const cx=io((0,p.jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"})),ux=io((0,p.jsx)("path",{d:"m19.46 8 .79-1.75L22 5.46c.39-.18.39-.73 0-.91l-1.75-.79L19.46 2c-.18-.39-.73-.39-.91 0l-.79 1.75-1.76.79c-.39.18-.39.73 0 .91l1.75.79.79 1.76c.18.39.74.39.92 0M11.5 9.5 9.91 6c-.35-.78-1.47-.78-1.82 0L6.5 9.5 3 11.09c-.78.36-.78 1.47 0 1.82l3.5 1.59L8.09 18c.36.78 1.47.78 1.82 0l1.59-3.5 3.5-1.59c.78-.36.78-1.47 0-1.82zm7.04 6.5-.79 1.75-1.75.79c-.39.18-.39.73 0 .91l1.75.79.79 1.76c.18.39.73.39.91 0l.79-1.75 1.76-.79c.39-.18.39-.73 0-.91l-1.75-.79-.79-1.76c-.18-.39-.74-.39-.92 0"})),dx=io((0,p.jsx)("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"})),fx=io((0,p.jsx)("path",{d:"M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11"})),px={startingPrice:()=>"$9"},hx={gold:"#B8862E",goldDeep:"#8C6418",goldBright:"#D29A2F",goldText:"#9A6A1E",brown:"#3D2A14",brownSoft:"#6B4A1F",cream:"#FFF8EC",peach:"#FDEFDC",line:"rgba(184, 134, 46, 0.22)",lineStrong:"rgba(184, 134, 46, 0.55)"},mx={band:"linear-gradient(90deg, #FFF8EC 0%, #FDEFDC 50%, #FCE3C4 100%)",panel:"linear-gradient(160deg, #FFF8EC 0%, #FDEFDC 100%)",pageTop:"radial-gradient(circle at 8% 0%, rgba(252, 211, 158, 0.38), transparent 38%), radial-gradient(circle at 92% 6%, rgba(246, 192, 132, 0.26), transparent 40%), linear-gradient(180deg, #FFFBF4 0%, #FDF5EA 60%, #FBF0E2 100%)",pass:"linear-gradient(135deg, #3D2A14 0%, #5A3D1B 100%)"},gx="#FBF0E2",yx={button:{contained:{bgcolor:hx.goldDeep,boxShadow:"none",color:"#FFFFFF","&:hover":{bgcolor:"#6F4E12",boxShadow:"none"}},outlined:{bgcolor:"rgba(255, 255, 255, 0.6)",borderColor:hx.lineStrong,color:hx.brownSoft,"&:hover":{bgcolor:"#FFFFFF",borderColor:hx.gold}}},pageBackdrop:{isolation:"isolate",position:"relative","&::before, &::after":{content:'""',left:0,pointerEvents:"none",position:"absolute",right:0,zIndex:-1},"&::before":{backgroundColor:gx,backgroundImage:mx.pageTop,backgroundRepeat:"no-repeat",backgroundSize:"100% 1400px",bottom:260,top:0},"&::after":{background:`linear-gradient(180deg, ${gx} 0%, rgba(251, 240, 226, 0) 100%)`,bottom:0,height:260}},color:hx,gradient:mx},vx=[.22,1,.36,1],{color:bx,gradient:xx}=yx,wx=["release","join","price"],Sx={still:"Text to Speech PRO is included now. Every new PRO plugin joins automatically.",release:"We release a new PRO plugin.",join:"It joins your Suite Pass automatically.",price:`Your price stays ${px.startingPrice()} a month.`};function kx({pop:e=!1}){return(0,p.jsx)(mo,{animate:e?{scale:[.4,1.15,1],opacity:[0,1,1]}:void 0,component:ky.span,sx:{bgcolor:bx.goldDeep,color:"#FFFFFF",fontSize:11,fontWeight:800,letterSpacing:"0.06em",lineHeight:1,position:"absolute",px:.75,py:.4,right:-6,top:-6},transition:{duration:.45,ease:vx},children:"PRO"})}function Cx({icon:e,label:t,fresh:n=!1}){return(0,p.jsxs)(Mo,{alignItems:"center",spacing:1,sx:{minWidth:0,width:"100%"},children:[(0,p.jsxs)(mo,{sx:{maxWidth:68,position:"relative",width:"100%"},children:[e?(0,p.jsx)(mo,{alt:"",component:"img",src:e,sx:{aspectRatio:"1",border:"1px solid rgba(7, 21, 34, 0.1)",display:"block",width:"100%"}}):(0,p.jsx)(mo,{sx:{alignItems:"center",bgcolor:bx.peach,border:`1px solid ${bx.line}`,color:bx.goldDeep,aspectRatio:"1",display:"flex",justifyContent:"center",width:"100%"},children:(0,p.jsx)(fx,{sx:{fontSize:34}})}),(0,p.jsx)(kx,{pop:n}),n&&(0,p.jsx)(mo,{animate:{opacity:[0,1,0],scale:[.6,1.4,1.8]},component:ky.span,sx:{color:"#F5A524",left:-14,position:"absolute",top:-14},transition:{duration:.9,ease:"easeOut"},children:(0,p.jsx)(ux,{fontSize:"small"})})]}),(0,p.jsx)(So,{sx:{color:bx.brown,fontSize:13,fontWeight:600,lineHeight:1.25,textAlign:"center"},children:t})]})}function Ex({pulsing:e}){return(0,p.jsxs)(Mo,{alignItems:"center",spacing:1,sx:{minWidth:0,width:"100%"},children:[(0,p.jsx)(mo,{animate:e?{scale:[1,1.08,1],borderColor:[bx.lineStrong,bx.gold,bx.lineStrong]}:{scale:1},component:ky.div,sx:{alignItems:"center",border:`2px dashed ${bx.lineStrong}`,color:bx.goldDeep,aspectRatio:"1",boxSizing:"border-box",display:"flex",justifyContent:"center",maxWidth:68,width:"100%"},transition:e?{duration:.9,repeat:1,ease:"easeInOut"}:void 0,children:(0,p.jsx)(cx,{})}),(0,p.jsx)(So,{sx:{color:"text.secondary",fontSize:13,fontWeight:600,lineHeight:1.25,textAlign:"center"},children:"Next PRO plugin"})]})}function Px(){const e=(0,u().useRef)(null),t=Ey(e,{amount:.4}),n=fb(e=>e.breakpoints.down("md")),r=fb("(prefers-reduced-motion: reduce)"),o=n||r,i=t&&!o,[a,s]=(0,u().useState)(0),l=wx[a%wx.length],c=Math.floor(a/wx.length)+("release"===l?0:1);(0,u().useEffect)(()=>{if(!i)return;const e=window.setInterval(()=>s(e=>(e+1)%(2*wx.length)),1800);return()=>window.clearInterval(e)},[i]);const d=o?Sx.still:Sx[l],f=o?0:c,h=i&&"price"===l;return(0,p.jsxs)(Mo,{ref:e,alignItems:"center",spacing:3,sx:{width:"100%",maxWidth:460,mx:"auto"},children:[(0,p.jsxs)(mo,{animate:i&&"join"===l?{boxShadow:["0 0 0 0 rgba(184,134,46,0.45)","0 0 0 14px rgba(184,134,46,0)"]}:void 0,component:ky.div,sx:{background:xx.pass,color:bx.cream,px:3.5,py:3,width:"100%"},transition:{duration:.9,ease:"easeOut"},children:[(0,p.jsx)(So,{sx:{color:bx.goldBright,fontSize:12,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase"},children:"Reinvent WP Suite Pass"}),(0,p.jsxs)(Mo,{alignItems:"baseline",direction:"row",justifyContent:"space-between",spacing:2,sx:{mt:.5},children:[(0,p.jsxs)(Mo,{alignItems:"baseline",direction:"row",spacing:.75,children:[(0,p.jsx)(mo,{animate:h?{scale:[1,1.12,1]}:{scale:1},component:ky.span,sx:{display:"inline-block",fontSize:44,fontWeight:800,lineHeight:1,transformOrigin:"left bottom"},transition:{duration:.6,ease:vx},children:px.startingPrice()}),(0,p.jsx)(So,{component:"span",sx:{fontSize:16,opacity:.85},children:"a month"})]}),(0,p.jsx)(Ly,{children:(h||o)&&(0,p.jsxs)(Mo,{alignItems:"center",animate:{opacity:1,x:0},component:ky.div,direction:"row",exit:{opacity:0},initial:!o&&{opacity:0,x:8},spacing:.5,sx:{bgcolor:"rgba(210, 154, 47, 0.22)",color:bx.cream,px:1,py:.5},children:[(0,p.jsx)(dx,{sx:{fontSize:16}}),(0,p.jsx)(So,{component:"span",sx:{fontSize:12,fontWeight:700},children:"Same price"})]})})]})]}),(0,p.jsxs)(mo,{sx:{position:"relative",width:"100%"},children:[(0,p.jsx)(mo,{"aria-hidden":"true",sx:{bgcolor:bx.line,height:2,left:"12.5%",position:"absolute",right:"12.5%",top:-14}}),(0,p.jsxs)(mo,{sx:{display:"grid",gap:{xs:1,sm:2},gridTemplateColumns:"repeat(4, minmax(0, 1fr))"},children:[(0,p.jsx)(Cx,{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAACICAYAAAA8uqNSAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAiKADAAQAAAABAAAAiAAAAACe7gAoAAA5qUlEQVR4Ae2defRlV1Xnz29KTZkTEghTogERYxgVQiLYC6SR1lZEUXDq1kZbxantdvVa7ZJmCWv1HzjRDt0tbbdMImqLLYthiWIYZWhAQlAUQ5gCGUkqqUoNv6G/n33P97x977vv/d6vUgVlUqfq3rPnvc8++547vPveb6nUtrW1dYXAl2xtbj15aWlpZatsmXWqvw9kYKksaca31tW/a31j/RfW1tbeybCX2K2vr/+blZWVlwo8S4UC6VS7j2ZAi0NRpdyhyvj3gl++pIK4UtubhZx+qjjuo1UxGDZFolo4sLSx9E1Lm1ubV2tZefJJVxwsZLG+DaLfCXqy2jiWuIY6Q3yRvAx1hniyUYvk6qXNzc2joq8mHkvMZHIy3BNKyFAGnOYJHvI7bn8/JpNpGe5rzseyXobna0246NB2MpZOY7I/XjYcA5aPdSw7s7GxrErpFwfOsxHwY2n31MaxJGAY5/Gwgc1Fx+JCGMZxvGyM2R2jzYvD8gvI6MyysrztqWWR5Gwnsx1/kQQuYsODn9WfaBsn2v6scQ3pi8SxgAx3spxiFqilYQSn8PtKBpbvKwM9Nc5jy8CpAjm2vN1ntE4VyH1mqo9toCemQI7HVc2X2sbx8Hdsc3BSa40XSE5WhhcdClfIWS/D/9RsEHuOP8PDscziHS8b2d8sX8jM4mX6MKZsO8HjBZJvgTKcFLcFs16Gt1VMAlkvw0lkWzDrZXiouChvUbmd2M+y8+xnuXnwIjYWkZGP8QKZ53wRXq7UReTHZE4WGwsmcmwIjTa0McSb4BxgqDPE56g21lBniDfBCXBiCmQBx5MQZkAni40TUajHYnOoM8RnpLFHHuoM8Z5wh4wXyAKKI7YmJPTvLTYY1T0dy/GygZ0vcVueGryTMezHAkPG2yw+dNsayljX/ZCf8X9KNnLcO4Gdh3lj3c7eojZm+cB+4q1OfRA1XNqHeA5wUd4suVl0+8j8DJtPP4tumczPsPlfDhvZd4ZnxWeZ7fg7GQu2UiHYRfTJz6nPYnqZOYUMMzB+DTKU+nLgs6p7J7GcrDaOJa6hzhBfJC9DnSE+YmO6QFDyhsLQyBie5a2TaWM6yLlZNssNl8DMs/w8fXg7sYH8mN3tbKCX2yI2svw82GOmH8aR9SyXaYbNOxYb0tn5y0IEmpsDH6NnuQyPyXoAlhviptOP6We+4Z3YmGV3JzbGZGflxzEO+iXZwEw0j3NoowkM5CqKAau0XJlgm9vZwJZkp1cQO3Fvg8bH+u1ktuNjczuZ7fhjcQ1pJ9rGsdhnojxZ9NvZsCxjyzC4GgU2q9l09EZmCVf69AqyjcJC7AWdz7V1L7bBNwuYXOYyvmUgIIY7GHMVm5umxhwURrYdMhjbkcHO8okpkBb18QF4w/qka5qBnXy5zCPga0cxeWlAwav0INeJbF9RaspJyaD0Qtw6le7CAw11nNKqXIcItd8QMnXSn/QFQnF87vO3lRf/97eWsqbneh7oZAwnBCJfu1ZXyplrp5Vz13aV3efsLRc+5Kxy8YVnlQeef0Y57+zTy4r4bjPf7WUCZawXNngluMdOyG12Fg0j1pu7nqGOGSTt3NsftpfxhYFgdj1gz6bwxrdsFTjpC4TYD9x5d/mj111T7njAStnY8EjhnNi2rMlaXt8qK0dK2TytlMO7l8v5q6vlAWVXOfeSc8qTH3lR+brLHlKe8OiHlAvOO7MLRuFFsSjBbRJqyM59m4xB+FEsVWmLQqk2Gh3bNiqYQqDRWcY0fLhQxvxFSKFYDWAInWAECGXkLibIaYeCg0rkueBQZ4jPU66yDjSSpJHu2bVWbt+3UjZbgXh0Q2OmO2g7d488MM0ywKaZvlU2za8m9TXE8kWJ3VEOl6OfvKG8+6OfLmt//N7yFWedUZ70uIvLd/3zy8uTH39JOW1tLcz5FMREhYnsAjdqkGKsEsjsfNRbl56tU6q9uk0RTQ8bgUz4ME0SddKqw3aaqZwga0fcqzgDoG/VOTFxbFC1Nx7VbJMeBEeD/kczLRCIOXNTDsa0bME9loAtC04z33TjYtXDE86GyBvI6vSyfrY20T6+fqh87K8+Wl79tmvLlQ+/qPzk9z2pPPOqR5Tlle4UFF8fkNzQrT21vgL27N5DDrZ20WuFiXnDrgh1wQELHB5yYSPzRbDdkEUuDAbWsoIM9LjNbRMiAtXUjl50etY6Iwvts16GR5Qzm1gZXBv8lDwSbsB5g57xefBObNhuX4dTCbk7qng3962VQ6evlr/UyvLcX/yj8m0/9+ry4Y/fEPnrvsZYQxszJX3skAdPLGJMOhunG76cEvPkHp5gbwxb/7utyghttLCLg0TDXggEtb+DRdM36yaBQTCjWYZ4opsDVc8YnAi7bTGZMLevWehVtmkoZtj4GM08elqWyXDlKcgNBb5+2mq5W4Xyho9cV77tBb9X/usfvLvT5mpRLYYqMMbEDjiQyhMMHgWhwqA4nI9cJBlu8lUXc8FPffgwH4HaEmhSr9c36yaBEWw3DMlUoLea9FTvOWJfBJnhKcsIbDeSKSUItjrKXJC4UxtbUShl92r5/OpG+bnfeEv5+Rf/33Lo8JGypCKJiZLnXt7B6+aJ9XihxypSdUYLY8gTTrMvw5FChuMhqbdfZMZa93G/pBBsFysYCGuVPkHHbEzTqm4LZFoiWG0ANVD7HBFfiET83QsuDgA1w/QemGnZbJ8GFheZLLE++rkabPayLnBfH1+celbOXCsv+7P3l/1fPFh+5SXfUfbuOk1H90TWoCkZz7DNW67nXUQiQybOCOq5bglaFhwoZ367/qw2rBa3uehlYQcDDZ4D7QtVprpoPQOVZsPusyg0tTg3VrijLLofKAnds6zb0LXJs4lFLQ3lNjXqQzpU71jfLOtHNsreAxtlS3dPB09fKmu6ON1cWS6bunrr8jKIoxnr6Nx0bZy/u/zvd32srLxwpfzqLz2rrK3p3kDK6FvbcODasVLQ6EwLvNKBcyOPNLrYJDekhQD6nqvaZ1IzX/W7uxjpRMUNJJswNmUs4+HMjgIZ7DIvwQHKUNgS0iW5rwvN/pJqXyhGiZVOYvnoRnnKpReV33rhs/SshEVZbcLucO1Dmt0snlh8XfmobBw4ul4OHjxSbvvCneXGm28vH/rsLeVjH7yhXHv77WX//sNl8/S1srnKw7tsDNitRi/+kfN2lZdffU0553+eXV78Y980KQCJo4GJ0NQuTing3irfVi3HYKqHyJfhWPDgSXCJ2xAZhEdOY8OAYOybDtwadPgiRIEg5dML/bCFMEpitKVoKJRxBMcatnGMP4G9oAbywZtlZyDLUHhGccbqWrn4AedM2SX+e9QeNdE+dOhw+fvP3Fr+4h0fL7//1o+Wj3zm5rK+V4WyEr/xNRGMERrtrj02zj2tvOwP31Oe9uhLyjdecWk5cjROYl0hSHRTE8m4o0C0i150aN6wSBrdPDaGCExxsGrRgy/JiLrJJl7QK62biGqt6oSvyl+NCU9KVbSz6EjcV6WENvEegABR5SYaJJwTIP2wNbWqOyYz1Mnp4i6CpZnE01oIAsZgaGwuWJCgSZ3LDQ4+xysw2u5du8rlD7soth/6rieU177pb8qvvfLd5e8O3FmW96hQekG3EYUuz08O6gj82d96S3nbZQ8se/fsidUKFeJm8y2t8aBJm+KhYTFc1FihRczgNWZWDQqE+KMYMs/yMpQLBbgz3gmgS4u7mPAAhne3BANigD6RO0kThwzTba/qhp2hrO1WOglwngM2P9kaA1Hn7OLkciQZdp9vG7EdeUeRph7QTybRcd6Cj4iUYhPzrDP2lh99zhXlzb/zw+W5T3x42b1fdyqRaaST0YA7fFN3N9d+8sbyqjd+uOiOWBO/FDETN5sue8rRuunyR6c6PeLX0zi2u7Ud0u9BBa7+UKUfloxl0V0XHb2Aq80N4dhuOVGEjK/lN8GE69XMhdINYVAEMSQyRBPisZsUdCPug6gduGnoJtQiU72ENIZoEbj0IoYpwXECsk50FAoJ0cZgo5eAE+TisB8ny+s6dMYbNy5Dd+LBJ8Ncrzz0/meX33vRc8pP/YvHl713HNHROzZaaOhJZ99q+e0/eV/53C0HIjGOed2TSq/tSC0AfFFMZ+zSz1DuKeXsvV1/uvDdeqrPasHkH3bxVP0oNMFRHLIRfipOThhz5KPCdUhOQeR+FaJnIcYFQQ5rF4lgaD4VNfFuvKDd7HdQt8882AN7WTTDkfQqCz1i6wFZ2jDOOkmNMxJFol2ccPEfm8RijBN2V7jw64BrZ5NiSFjNsVW0jQkeRbKmD/F+6T88s+w/eqT8j7ddU7Z0utmKpIU2u9a2dCf0D7qOeYMez//gtz+h3M2HgQpenwvGJBI/k7dHHxDq8ka2J3HbCHEQqxuTT0F5hWEVoXB0DR13XPHBo2BougmLUxm5AGeMtfNwbbZ7bGBHTkLjmgGhwsMEN9kZQCTedtwPZIPMjijptUVHX+GBSkKRlJx0gdrSqiRzVMWyqj6OHgnEUQNe7Yb9IYwhtcgHPPAaG6BjqmLhmCJZ1WcvL/zJZ5SHX3CePgGmSkNaPa1JRwxbe1bK6996bTl4eLMrDmKVCpOsu/Vy3undSnGaCsTaEQeWZIpxhHV6bUw6BXXOvlLud0YpZ2qlYfJ9ejpS7Tsnzkvko9oYnn6xu6wtPEVfnXssshnNPBCUKBJ6y4XQ2A6ZOnGwsx3j+MBW8Ogr7N6JQH68MXNdY0raeVmJ1l1qVzBiUDhMQGxyGqcd4fjHR2yCiSN8AyTY8QR/SK9j5FWEC87eV178Q08uuzTx/VON46TXaea0lfLe679QPv7Jm1XcS3ENwbXEXp029LpJEbvFYc3IZY2L2LzqAdMcN4XB6ed+egPhXBUMxUMusB9FqD7yocG7UKKX7cg3Pfa0xUUqSDdDAAJbRB3e0AqguMhKEuIhjNHOlvcMhgGGjO0KR8yTkc+T0LdrmEGXJPiijr5dwNXEsJo4MXlliSIRz8USyapOnXz6qSYadOTx/c1P+Rq9K/LgssyMzGpK4MGDh8tfX3N9jBm9s7m+0AZB/6M5z4GYWHkzaWJEnJJnVaHgztGKhC0OoFhl5Q+fbKymwy3Go1wsMygH5ITADAeR8S5YxFrUlY9D5KKS4Q8aOmyYobmHBkJhhh8RwmfFgR0LPYXSfAucNCyGtYhBuYjlNRKiI4fzN9woklooFEY+enKhuCDtM/oUS/gVnmO1jMfBqWb3rtXy7GdcXpZVmXGOt2LquR0+fNpyefuHP6V4tuLUsE9HPfZysy+P3zlEZiCa1RqMPvOjS6JygQqFi1zGGQeN+siHchMHinD6yAO9rKw6IK1CbQYxyCriiSeQ4CNDm8xLoPAj2mH02IAVAp1Ik0Wn2nESenISJFiKkBirCbRSG6eypMY5WUnhyODq/sDhLilc0fOmIDb1bKvorxaULcnHNYxwJlT/wy/jZ4OmLug4h98CCqTTh4YcR+VTHntJOWvX7nJrpBkFGly3JV1ALpUbPnOTnlYeKfv0fKX/DKWTw3z4Joak7pXFtMSyg9YHrwqcsVt3PjqS9t+t22ZdHG9o7OQDduSj5gJYYHeKiQlCQltcqGAauOsaDDkaDDX0CDSCZSS1ARr1AGCFGrsq4AJsPAG9o1iy4Exy4SOWMGDLaGVP4JOGKEWAxN66zHLhxzs8XlF8GxhLrfzEasKSKxi/zgt2vIVd2XTf6EmGO4j7X3Buuezh9ytLOGtx9uPlM53rDx4od951IC5MsdlEKxwHqtTMi148esPoYDmaXZgAr24IES93NlybcEHLGH0abqccciE6eV9mF4OUdXpaJCaAQGPXaBNSRAXdjZhi0kXLK1Dmx0jgs4mRe/xDi3iYJCHEx4RxlHcNCTfgjFe6SMTiZrta+cv5KpKz9BwBGomJIiEhKoxYbgXjLzbJRCzqI86E5wKClwubJ7q7dPp4zEUX6DQjY9Ek1I14gmsF2X/nkXLDzfujQBpbohE/fVYDdjMdXDAxRDNdvW00uxap8hw4XMjq2V27LnE+nINVBuYPdFhKGU6sCDiqWW54pUUw4lV2Cw52EAUwsMCh0SQcehBRhF9lTKf3hESvYKDFCtIKBGPbNHwhUv2EdPUFzAMnzsm3a5nlucGq/GxqZVGeugt0/NZ4o9Dlm/FgLo5Gy4UTIeC2r57Yaec+6NyyHveJENCmVSa47O6+XR8I3nqgyznsKhY5qXjA0K2K2Ihc44/wmr1qE1loq5JlZb3zkDblg/m3G/pVKiV8k4RqOCQyLEGKx0ZRCLYtiZXFsdMLCFVktYVK7QPuyEEHd2G4gnmSyZHNRO2kIW77TU9EJhofXKOcpyWWaxPOxxtaTfgIPx4sSQ4+Y+aZxLJWl/h8Q4biiM7GE8wYI8Hqua180AVnyt6y3mGFLmLLUo1IpHU9qvziQc2OG2K5CU8uGifEhrLmDulDG+bLsOeFaxNW2Nv0cJdnMXFdRj44Ohk0F2vAnOppBJUbA4+jRzKjzc7EnCWCngfrAnKA6ACzRZEI5zwIHAWiYHfSpDa32T/PC3iMffvBmhgpUhzoUyDkgyLlSWT0dQB0rUkY+YhfPasyS/W5e3cX5b0o5zPbhlayO49oGZvRsHtP2yI2iJ08cAf4RReJBhkrSA7ARwoFEasGTCmPJQSWVx0nnGIbBgQeR66MBN8CVdYFQU+RuihYRYhD35cqK6rqfrORPhXMsUxxqr9MxxfvGJEYlliWWmLgMwgKBX6sIoqdfBCPxxy9+C4Mge3T2CWuabKjKZgP/fQagIys69aql98pWQwPiNvhA/FAt9FhHKyg5OIOFckB3eWscnQSHRMXQQhnOY/iEC0XSR6Fk4RRwwSBmZALAKSzHW5Ea2QBJB88topDi8KQArEta/J4eLTMQdbLIgiaPaJwUUSCE60BE8lE6kQqgWcE+vpNHEE8KyGWuN2rPSsItvHo3rboo1AEoMd7GJuyYX6nhTu0oeqPbWBL4Fr9egTcYbN0U6sC0GkT+x0+tt+JDc+nHghHLroCkVWMxKYKilY9R+FkmoSQaw1EspyzQrbiwYcOUHWcQGhtE5CLguWZI5gi4c7ifAV6UPrIz26zuYRDC4kUWyuipEocnIcv1JX9HVpJDrCaSJfVhOsTDhYXhu2GcSExNiHEj0kK5AZd3ByG189YqHi3ondXzlRVtjBsWIQA2VVmYnVM08UAJP9BSoIBsrNsddzkTK82kHOR8BR2lUlA3zUQ+iAaIKebOO9iJDx1QSBT7UbCgl0JPEeJJvm4O4IeAp1jeFOFIj60KAx62eAI5pzIrRjqs9s4l3DDT427GQlG32YrlqqDyDlaTfRVl3IHdzo6VzDhnHJygQC7EQUFhk/e8WDsn71xv65FhvElXPorerP5rD1cqXS2zQ3T1b7jiwt1C4SCdsLxyfwEq+qY3eat8mfaQKE2+8PgKs8EuIqPJiPNPslgstXTuFtj0ASBE+TYCC4bFKkyosa6VUUk5yn0hUevHXQXRqwe8hmnGNH5RLLFg91Fm3T1f9IqEomEGoHXuAUHOykAIutrEwqE1YRbYuJlvKSFnmZ529efaSpn7Fkqh2+6rayp0I/2o+mU2MvYxrmr5XQ9nMkPKGFhk9ZWhUCCFDv7MiWGVOOx8o5s1HExt6HHTvAqzwSYkAMqEg8Yp/hqKwAEMiKlWGbVhxEJIRfBAoPQ4IOHUCfrAZFgYPrhRqFQJKxqLG88wDmm5jhQls2pVmnRZT56FWcsjpk4dutZAXG19y0Ex1iqcYqJ9zZCdo13UDfKNTfcGJ/adiIOauJQIuVMTcAD7ndWzEH4zmISbUd8iq2NJ9HCqk0fiw3pTNkQIV4YOlMrHPftfICDbW8tEBUHqwnXGSSF5CGDRYwCUzguFAjB70RaotGlIeeNgmib6L5oZvVAvKqE3vgOT9NS2b/1XMCOc1zT0t04MW3rfGZxhjbVShc/omK2fFSnyH3i+lvKtX93s86RQsKh7U68cgv5cFXeheftjVUUiVgxHLxVRvo2lsqbWD0+Njzo+LgfZzyXZ5KZIDZfKMZyX/GYSBKWNhtqRxPZNF9g0CvOWEK30uF5ww9HKL5Z1bi17eUV5dGGw/E25PTwHlL1E82+4wg2W3yPBxKTwi0wDVXnhXc53vrefyy3bR6J2+IQcKJaz1g3y/0vvV85XZ+e6S+eh1jsO7Cv1mFt7/gaIQEL20g6KaxMVU1olDjjAowioQhcJP7Axklx70QQSNsqEJ12lrG3RkcHfu2xyUZB4o849mlFE7hgY5p20DA8S6XS6XyEjlmepY7dZR1lt955uLz6z/+mbKlSGGvXrNX1FNbuw1vlaY97aIvHEjk+4mh0m3K/wFgQXchGcpLA7o2yIMgZ508uWuNoZtXwJl7A6j2hrVgUgMRiRonXhRFwRw6+6V6Foiiwb9vVF6cWnj1MEovx49Tki7hil7Mwy3wITzNnkMMuLxH//hs/WD78iS+k649pG/qL1uUcPd++4vJL4o5tWmJ7ShvL9qLjEjKwnY3VfJXMpPDomUnjqSI5jI0dS6nozmvuscHtcOYLa85bcSDnbVAcrFo8g4iXfCSzWKtOB8KtuBxk4jcNfAz51W90C8cwMb7rtKXyd9fdVH71Ne8sG3pzvf9+hx12Pa8BPO4RDypf+dDz4q1zrDSXDRDNcO1b/BO345D1sGt4ng14NR8Wx3D78jYIDSYXrawYfJA11SgUNec20GHUwtvzEMkSoFecKBDZzj2+kOFJpg2HyRwpTqfauEA+PWSJRq/EzBuajvHFrstJ44uWY7ON3SqOm267s/zUi15fPn3nwbKxR9XeZqYaqiXAtd6qXgP4zmc+Si/rLOt7LLbSvDQgfAkj9mau4giZNttCjfcYbcRdDCMmEJod8nib0wG3ddEsACI47lrUcxEHrP+xykQvPTcCZ4OEbQqjd1oRzurB63asIPAjGRgIYwC5QZRQNAsYr2R1QWGXRBoNMdMBBTcLAoLFTnDQK4warckK1iMx/TxWKf+gu5YXvOhPyts+fUPZ8LuOzQkaGOkMLekp4KMeeoF+heir9S3ARq6OhdOsIrC5F+D5iRgcCAJuGT4ONrrv5tp46kkabx3delf3Yk2w5JAAt3SVzqe/FIYfpEVc3CbnAMUOefWxYkinXdeoKOLCVDpcsPFxs9hda4AJuc9M4IHDKgo1JLP40IxVx2Rsmj7zK8zFKJ/bHNazgVe+4SPlJf/rL8t1WkHGVw4cd4rLinft7o3y4895Yjn3rN3lbl2ouuXTfcQ/YVlk0mfeDPhYbeQ4JqcYWQs/1RkTG0Wim36KhHcEaLBjkzx3HPEEUD3BII/x3LDTVg8BrEpeQVg5gPUYoHsPQzA2mokGZIuLwaFKUEMbI7ShSA9nTPrHwRCf6mqsXETftv9QecvbP1F+508/UK7+0PXloJ53bPUuoHBEs7WK69rjn33NQ8qznn55OaRPS6PBklhIVjHyZl7AVaZS24GY5YauMm9bG9VvLw7FwAtFnV0hvcmBLhqJ4TU9ioRHzjpoulYV48USUZS3FnS2gw2KSP97xcFKwnMPvgfCU1NWmGgjcVTOjM6KFKyOTgWypuuBRRqa8ySJeV2Bresl09vvOlq+cMv+ct31N5ar/+bT5a/f/8ly7edvLYfka0s/EhMTELvsue+BN8TPVwb/0wuerjGv6WXqSexoRUr7pJicmuowbDjEhrJ2PaQLt17zI6BnAwSh2nkoqwZgZBicBo0J57U03ja6m3OmaFEYolMYnG78UTgFFZ7Vo+uNAojTS+1ZPXjiGBemouU2Fkfmj8GbqowPfuGW8iMv/D8qtoHBMYUFaOs62u/SlfoBfRDzmUMHy6f0K0Er+oL2fp0OV7R8bp5Rv80f7mb5hK432LU/46718l9+5lvKFZc9uHdqcShjFhqtAkPcuvP6oc4QH+o2vhjEHS0TTYu+TjRFwjUJb15xdxMTrwnmTav4qF/CfKAXt7vJAHaRjQJRHysHOqLzYC5OUyC1JdCkGX1fckuVed3+A+X6d3xkhvzOyZwu+V0xniZu6LzCb4DoZ5djRVyPo8QxuM8+JjSlqSzr7Zsf+94ry/Oe/fjJqcXiE1FTdt6fIBurcTqQcQ198sFQDs88ApAQk8qR7/c4gZl8Vg427Ol/FABmopDU52uPuO6QHR7MoZtb6LKjDXgd0Xt7mQhz8byx0k6C1YD56NVBtD7TDNOP6UBXi4DNd2+7COSgl7S6bpV9Ko4f/+4ryi88/2nx0wx8wx/NLInmWGtyDRiTmo44SzXVBnRcUNq8OLoVxJKdfEtPKFajzbaI3HHwrgbvLvLeBgdWXMBJPwrE9iSLjbaCaOWgOPSz52Vfvu5oxjFQg6hgQieMbSG8WtMwfW6mZ7kxPjTLZn6Gp23wOyHczp53aKn84vOfXp6v1YMvbfHNu1wdcYDKVLtzSKYCZDcIPR+EcQCKr9S2KFHxPFg97Fc7po3F0XxJCJ0oEBRooahd2LEx+kQzj2cWemk7VpK7dMrhrfAoEslixy0GIIRTC3ROUzytreZ7wtajDz0BTc4Gp/p5EmEpadhDIoWHMbplso2hL3Dzqw3NzIqKYEmfxzz6IReUl/zUM8o3PeHS+BYbKweNxFstSFINEn3lhbWJyaAz6TQOSv8WCC9HszqHZe1cPLyqwfulvIbAwcwHiJzOaTWM6hRC1Q9uZwN7POPqXaRWftcRjBWRro0AQlk4/rwaKB/loC5guTPxQCyIIz6jQJZA2ypdfdh2fHKafJm+s94G3KOd4TFrQ75x99vbYCjxFRhdxF50xp7yr77n68tPPPeqcv65e/UTD339sMqujj867Zo3AU0GMfHYKAryzMNLJhk9Dsro2bGpwePOUT8wEDrgyJF7vnbJqZ1LA8t2QOeDOQjfHbs+aq+IBXu9eTjHcdIGBKdK+Y7JmQqI4HlmwopBIxAeD/A7F5iI4oCR7AQjjIleB4lITyYIi+xqoM0oOqbhJDswj34sIOtZLstA6xrPSbZ0x3Pp3r3l2779MeX7v+PryiO/4oLIwyEehGUzE6XmMqzatMOrOIXBaZm3zPWDi2ErTunKaxSOSHHtp94m7CIKBboYTAfv++hmLOQ5A3Ca52Ef+sxLnlvH3D0HETPiYqctHMWuc0UgVp6CawDwWdJ4l2NLmxsmMQU/TIoQtEC6Qdo2Om35rXrQ+s0WTQXvmqYpBtt5mFDNrREInehYakKrgVUZJmfCy747mP1pWjZ//nnfUP7ttz5O38k9K1ZRPyElXzRb7bDOok3baoiKaFl0OZ3ccmf3cQQHWxSH6L4hYBUn1NCNXfVQ7Tjv2OQOk56Dl9WIg5k5O13XlDyLwvbwAFYddQ1F7OfJqqz5HYq1RTBhxJTJYDvjottR0plIT9jJbGZXA5lkST0k02zuOcAjX9OyXIZzkOMwq8K6kneQP0HiWW52J/aBNnQhcERr/0UqjgPp0bk9TqRNST1MQlDLci6Om1Uc5JXTA6eJdkMgHdQoFFoLMRDtpIO9XCA+fUQhyBbFQLHw6ILvA3FtyGdi2EKXXSsQ8LmNQEJrrlSrg6FUXEUvaGOouwjOD+le8eALy3/+kae009sierNklpXF/VrT/92vvLl8Sn/uYyNe0LV0fyBbOqn/7hs+WJ71tK8tj3vkg3R0LpCoWSIyjXUuPHl6zQTHylGLgwvNtnogW+VRitWXEAWjR6NrsOhxKqE4ZB8Ye8A8uLyDZ1w6jXGXyrcJsNN9mgssZFazg+BXx8DQo9oqba6NUNBuzA+0BWxgYrp1yryAcz9dA3zjEx8Rb6ZNy+2cwvn3o39/U3nRq64um3oHostDSkA1uaEZu3X9aPnl17yrvOqXntNyEvlAfGTM01b6YnyxnKObUwBHPLFQGG0FwaxwbxEKuICIU3q0gEWkxyc2gPmeDwUSm2isTtApFB5f8NshFMqyqy4MYGGk4bS1hACi57aQjSRvPRcHeLMxJtcUDEQERjRYfW4ivaM6gvkx3cNH5m/byuhs9YPP+vry8Pufoz9NpouB1gbBEfTe1fKmd3+8vO0D/6gLvy5JMRZ0BuLNzACwGBejbBzdbFEk9FyDQJN5+nbKEd6Kp/JCJsPoYcO9bMXnVsLdY59TGbfFXNByeuPT59ZGVwD4ScaDCKVEt5Ed27Bi6ntHRaJPg5NoOL8eEnrTfj2b0fmUi7sIPcW4uN1Od13XNA/U7zb9yLOfWJb0IVQ3trA6FQp/vuxufSj16694hx6lr0u2czzqU6zKDjseBTSOaJ5Sx4QzmaJFUSSYwmjFASwZF4gLI2QqPWTRt16Fwy5Fp43ioHjouSvdpY1CiVt3MtkCFpwLghFwJDSaYckFiHxtC9lI8mFz4A8b2GWjwSZpfN7TtTEDExaFQYIplJt1DvdbcWEXOxiuPpuPinuM4UE7dHT3Wr73Wx5TLnvIhfGbY9VTNWIMDX0ZW9ciV19zfXnT1X8bzxvg4iP8hFEoXYs4ADvVIAJysRgfZOZJrLAnnSJwUfR6ySHD5VKPbnnT1YcNFYFXlSgO0eljRaFQkG8j8EjcR8hyFqMT4t4DqnIeKOQpW2M2sn3Dtl1thE/RmCBuxW7RxdMGt88hNxCuPug0nu6poSqfgfJdH67Q9Q3IXqH04kQRk97AadUNP215ru4Df/q5TyqnHdI6EQNNAkmYQj6sQ+/XXvWO8kUtY7x+0OxWe4i3nNqMxLBLcfNUmthj4kSLo1x9nnBkGSs04MAHcJOXYIMlk1cYw9FLLlYRFYZ7VpLJKUbK8SSToFOLcYnno8uJC5FEt9y2NpJOcwOtNuywMWiKw1fyJDWJWbz18Egag4plUkXCwzlwCosLL1YVbEZSm2bnL9DqAP84i14gOt/51MvKlV/1QP20JbfRw4YiW/f7p++77sbyij99fzyECslq11rYJYbWqiNWD1oUiPhRHBqUCyBPNKvEcKXApM1Grx196NHDFwG80UVspyARW3GKTh6R7ZqCbLBp9CIG3dkaCpmO7DwbyHlDNrdqw6YJiqext+kUwYAIunfUhW5VatPYxYksSyN9bBokRcL5lCP8FtnkvRaW8cngazA5DsERj3Z8wLZHnxX87A88uZzOxWMwPADH0eEU45beaP+NP35f+YwqcpXbj75IGPbKixZjZLzcORC7C8OnFPfItQ29bDfxogCEu4+BJD424M3a7J+++2sP3djqEl6R1OXBJPL0wMWcJZvH0rOREGQInsnTz3YJ6aqYQONZcZINZsaljFgsjwJcIBRHrCqixRW6cF71u0lX6FzM0khUVw2BtvmMsdTA9SfnylOveFh56uO/oiyxpDQFlGkeob6QLeefvm1/+S39QUN8T2SB1SzaYbEnFsbuyXFRxNEt+nBSwTMNmBb0ACofmukCXDSWc5GELeXIOH0UCLZoIzF3jB3sj4sNGYnTiorEE8tBGL800Itl3JsTPFUoXJdowyarCatAXMyqUHhLTmivDa3zSeyKJv6nv++qcqZ+mEpvoFZ5esMdCdkt/XbEa/QnP679x5v0J8h6pnsIE0O98ejbMXsMxEjRx2QKpnegnuhsDDahhJjDqnrBC0bHt36QqsywOOw/fISB7M1wdWh0kItGBggbY4YWsIEaCfA7JkwkAbISEHisIPStGXHf+eeAjQSLjC42wCmy2IAlhH02P7G8XSsWK0ZMgmyEVXYBdE6PaBV50qMvLt/xlEfqQQXXIlkgw7qoVtA33H2o/DetIhF/Z2Jqj08K1TEjSwwKM3pgWzY8NJLpwK2NwHEth83BFv6kiEpsld++vJ0vLi3UHCWlTGvWTESxtrk2klyICydgEsXRzKmAyY0JVs8kzy5MZbg2xNrSLCSWZ+zIXhRJhX2Ngh+KBD6PmHkwxAOqluRqGrtdCLoIVaJe8Lyryjmn7UrnZ7i0SSyAW3p49rq//Gh5/zWf0e+mWmZiHz/ctfAMzmOlQOLIVU/8vYmUB6xEEeFOiGOFbjhF0aYo+DAAiM2wUFroYs8+K235RpKiIHsOhNgJdJgUUDMKMRgwu2bUfchnnhjNRlJCno0J4irek8nDm9gUcCTKOnN67LQEoydCbKLHEYpN0aNYqn2vJJx2GDMrGBexXNBG0tRHLjCuxq3zZZdeWH7wGY8qSwf88CwkOoG050O+2/Qm1S+/4u3xhxbbBFbbcVtbx+wCIbaIWT3y3oQ2GBfkMmiVDo1GmNaJPqjdruG2Sxxi4S/00E049uHpdzq7q3sqGSOtOioYhSGYBrs18lJz44LIshYOsSqHbrMhGv64c+R5BcWRE+Vk0S/aIgmyGUlWHzakH6ca8ErDT2zyyYriQqHnmoCLWO4qbG8yLr4GUcqP6R3TS/bt00vbuliKlgZoXEpL+sXeN77/E+XN7/57PTyT89qwx5ihtDELcdzRi8fQkfG8ZFjkrtU8Gu0UpENIodA43XhAzTOrytm+x73sK3tus0gKX9qmWaDDJvtIFMbZaFikCQ8w4U2mk+j24jvZ+OAo+qJuPUkEiYolXz0T68mMKs425sC4b8mVDXyAxzMD2619FIh40YvmQiEnNFYSLpiHt8Q8gr/kgeeUH3721+ltdVYRvLLl1uEaXjmi1enXX/0O/YrTUcXSfQmL4uCAZOVqBUJcUot41WPWG5bDjXryN8yJc8qBmltMk+eq6sIPu/TyaRWBHYJ89b1MgEwKbxgRKMs8D5Q4emLSq6An20GGLSwn5yGPbXtEqLagIVvlwUkQE0Dj55umEqV4IlniT0xOoFCcwcE+kuh7C5pwT0IUocZO34pEOPnwgcPqpp9Sj1viyBt2tXFA/cC3P7589f3PHXyQJ2ZrHcwfMvzrv/1sef1fXBOP4PmklmstxmzfjsnXUGjGpp3jpqcAom8+qiA4vAEdPGiZ14hiej7coy9+9xmM+giQpChJbD4Xc/TwWUbc8ks5JkqKrlTsDFv1MSqT9RggKwd/049zvYsjCkS8mLhaHDG5PUf2YuIQr7GiLxGZi4TajovFE+FVKnwqD1EotUiIiwMHWQ4cLmL5bIeYeXj2AP3i7I/qg7yVg/ohXBxFczz03cZt75Hdy+Vlv/+u8okbDiqnS1GA5Bt/EUvtscMW+a4WfeDZfIzJPOSrS+gBVjy8axdFleWBq0yLG2Wa6I0mtBUI538v73H0KDG8j8ADK54+cnWPzRgAhtSY9Gyso87eI8vAuedn5WBg+IrCqAliotrkydRO7DfPzpR6xwvJ/t1HsSS/LsyIh7hqToiRQiEB3GnFiqKe0/H3PPMx5fKvvLAs8fn4aMOzCkrV9qHP3lxe8Yb/V07XLyc41/YZ45ZoFEaNm+pGu+VgLN+iDU8roRReUe4AiXUw8iDVRz5wQ0T56Ca689sViIhOCkcNm4uEnnMwV/ck5i4dSToFt2Rj1K0NxITUwyMYnhiyOoGHrzoR+HehcFTDjw0bgscbjGlmULVrNkbgKA7Rc58ny/G4SLy6ssJy3mYluflOrQxlV3n+s64qq3rtkNcUJw14gjN2/hLmK97w3vL5m26PC1Zs26fjIGbmiBYWJiYaLYC6Qz6O+q7LrCm41kXQQ63OYyMIQCZatcuvGERA9PlhEhWeTztMJksrE8zFLJPMrSnFQ4tAO3BqYnDKNQ0v31JgJIbCiyVWPX59BMWkSp4kBUygc1sb0riU2I4NU94QNoyvnIc47YiZ8xGFIkFfn/A1DoqFh2dPveKryxUPe5BWEV2YpKLo0u349AxFS+Pn7thfXvFn742vgfBpb4wbLfnz2DHh2MTqWqUZdW/rPbdmjvSx2mC8KtK1/CQ6qqCs5rHLzx3iSBY3kqEkOCkss7xIQuLIBVfi8d6FJp4VhsnnmQrFQA8eK4/4yBIMr9lHcVAg2iJBCqIdSTWelizhBMo23Vp6eqwxedPoKYbA6QdbFIpoOS6Kg5wQr3Mx6bfK2aevlR//nm8o+3SWIZ9dc2zhSSR6Nb3s+Zo3fbD8w6dubl85IIZeTBJrcVU4kldNYIYWqNwga2/B6CFB6XYDuvWndMTg9I/4ss/3UShieKL8kAo8VpKanEgShVI3cBpX+zwV5Ker2ThXg3NqZvBZPmzIbvMl2AkinpYc6UHvt0wAnuATqNMIrnbumyi0wYafqY0YRWeLg0ZjJWYXjIuGH8R92hMfVp7+2Ev1QZ4SIfnqVT1pnszMhhzffOhw+e3XvjNs+rYXlRyT0E5LDPOguUGzVffmLdK3qGQo9GsfMSQD3SlGzFYowNry5BmOZTYVSrtOUbHwbS2KgKU3ikE9NNN9Ox2nFQqCDT91IzBwB+hkpVgrmNOR4WnJUYp8kBHbbz7tO/XUPvyIlWKhOLyJ6ULhp7d3aWB8k+7spZV6i+jYcEgD77ZNfZPsD9/60fKuD12nR/CTWDz2EHccgdSdTYECV5nKnXRZbkLtdIxXfaPuHWXgkmH8bVJaMkQkOa0wnBTRnRQXSxQJRaNioAhiE244Vgv42qzrRNN7xYiJEh7xEFONS93Om5TRHzbTmIhoygYXj6BsEQOwEIXS9cQIXjcKGjgXCmPjgeqVj3lo+ZdXPaIstQ/yZKQ1KdWouJa7Xb+b8dLffYeeBW0qz93lLRJuvnXt3WUwe2rEF3Ti70jHfe87o/gh3UiInNK3rU6WE+Ji8eR6JYhlVrIZj+IRzUswvfVsxyuIEx9+GXxNQABzR2+m+5QjSGEo0SoImRa9diGWescVT16hV57jpI+cyIZhcH5PVJ1eB/iGcvbuXfGzD14xqjdxHateB9CvIP7FNdeXN779b+MzJ/xEU690hV/wRg+kw100VoG1ULN7Cw9x01NPLJNk1eByMsZgJplEtusUHUHA7agSL1YL6MB1C1uCbTMe88onSYAWk0FPTAp+fvxIzW7o+iicJxkTYEe1R74XjwimtRWPcXgTE3l+3uHyh11Yvu+pX1s/yEOLhuGIKDB2rCKHdXp56St5BH9EtrSKIC66j15rNyVM1IZsQk3u+pkMsefx+lYCm6wgQiOhchwTBW64Tmoc/aKRDI6aqU1yrWiA02Yd+rbJh0S6gqj+QDyGSFjlqxs0Sw3IoLIRTb0TCcn2KjeLNXnz3KNHvK2YK+4xkAPnaVnXInyr/meed2W5+Kwz9McQeQaAhfG2pYu1D3zi8+V1b/pwF5uG5HyMacRY6rBjFZlteky9o1lnTvqyMuOczIiiA49Nu0iM8AhaeNCFODnRV7xXLNDQqzbcM0DTw5Z2Tq7EIw6KFBrO6Gjt3r1D695c9z1mQ5wHepIats21qvqIQ3STEAHOsRjPNITa+CTPI/iL9UHeT37XE8qKvicMr2sG3LOK6JNhXcW/7LXvKbfqeQBf9+wFYFX1+Iz4TZuYMWXSz+JlOnDGJ9o9iPnqJaHLSicT+tVQJFAwAzYMq4fDw161mWGI1sO6ecCNF8iA17ErZ6xzCUzzGic7gwjuluFKI85o7qtOxJ9Yxj0u40zk937rY8tlF55TlvwkserFUdBgFYku3j72udvK773+A4k6ABUHNltzXI1w4oAoEMzbZxzBNRi6KIDKJwE0J8I9Mt6gGXaPWoOFhF7uMYozBNmOZxsk1mi46SF9pzmUDCMVuIn0ptEro6wi5+nH3H7iuVeUNd3RdK8D2FmItx2ryOYZq+U3X/e+8snP3yb9atA2QaVKzmi+Pmnn4Y682H4YwhAfsdIKBB4xDCfPwWU6ShnfFpYC444x0ocjGSFABm976mkh14FtH7/5pSV4adYWDgaa2B+QwDkIYNFgD0Wg9/hVILqkENdsEozxVzvohZwuP777mY8uj/3K+5cVPS3s4havxT+BN/Ss4PpDd5Xf/IP34DoaNrHl00qzW/m9Dqab4VAWMeMEZtzy7sfoounJxexme+6RjKQkQgxEhiDRok98CPj2QLOcjwbHFokWYjwMoqt/dx+5u+z67Gr8Bojpud/Ua16HL9Yz/nkNw8RTg4hCqc4gBRu+gCrSs0Z8vDwdcr1Dq4qJDxn7fMS/Tz/i/tPff2X51//xtWVpI//tmJ7ZDpH8777yveW533hZedyjH6qL3RoY9qq4457SzsECR4ADqSHdRi2WbSTa0hbroYSH8shAY8C+Fge3H4FNybSwUR1FV40Gvwr5yKhizV5lh9nYidDJLJU79Punb/2ra8tG9zdGJzIJ0kJdLnrQWeWqJ31Voi4G9lYUOY0C6ZxPYI2lDieMBpudiGkuew4ZK380+S1/fk05cKdONZWb7WeFDf2h3csuf2D52q95cFcgVshCX2I4CoSAaZ68yEQdfMfQviYojiJgdCRjPOSqnaYTQLdrSZEOsI+0lnVsYVfiYVN9iyudl5PJUZAjt9fCYKVkuCdUfTNmmuQiF1XecQUvyQRedyY3mgjdmAVMMZvUKBCrxw51eobmjLPJLSIj4ekVpI4nBoc1ApUx7EVBGAan5YGEUEf2PtSrjUYT7nn0RAz7kM22reweX/eEj515NoZjGfoSH1ITG/IJT8zGxx/NcpUR44YObh74Tts91R/zJ5vt78UEHyfa6Nw8keC9hFgg90MB4c2WYCcs22zqTbBSsDWv3VM+tufZSDzAYXjoBm2KMRK0DSSb9t3UM2/ExLake6o/5kA2+xepQyc1elf5woPBThOusGjtIss8aDUw8wK3Pv1J0BzjaChzYvSYYpBz5EbtniTEsWvxFpoH2EvQdgM1332zlgB4mZ9hiw1pvSAstMN+no1ZvCF9iOcQ5vEWlZtlY0gf4ovYzzrAGc/6CR4vkAUUk40TBx6POO5NNk5cpmdaXtrkNvdUO5WBGRkYX0FmCC9MPh4ld2+2cSxjG+oM8UUmZ6gzxEdsnJgCGV4/jDjelnSy2Ng20Hu3wHSBUFW5sjI8KxdDmS+XjWF8xxLH0AZ4Hl+Gh7LHyst2ThYbNabpAuHI3enROyY/RsuJGMJj8mO0od52+KI25k3MojbmxXKy2Zg33jSOUxepKRmnwOkMTK8g0zL3bcqCR9rcJA1tDPG5ypU51BniJ8jGeIEci/McIPr31Ab2TtnIWf2ywNMFwqRwvvTkuHd4Yzi0If2e2sBePm9n+0N/xrMM8YIvasPy2Yb159lALzd0trMxlDduPdvIeM6n5d1bDtzwPbGR7PY/i4HhZLi3sPsh3YEP6dmWdd0PZefZsE7ux/QzfxF4aAOdIW27uIbyTMqQthMbs2Rn0T3O7HOW7JDuQhqzkWinLlKdjFP9aAamTzGI5erK8KiJgbxlsl6GzR/2YzKZluGh7jw862V4nk7moZP1MpzlgGfxjpeN7G+Wr+3isI1hTKYP+p2vIBjOS9rA4ELol8LGIj62k9mOz2C3k9mOv4iNRZK6iJ9F7GQZ2dx5gWQDp+B7fQbGTzH3+mGfGuCiGdB3c7c5X7B07bQNdYb4IvaGOkP8eNuYZX9IH+I5jlm8IX2IfzlsEMO8OMTmRymW9Qa1vpN+nNs2NbeQt5PFxkLB3juF9H0Y/engrfLOuavIyTJRJzqOWfaH9CGea2MWb0gf4l8OG8QwJ45aE+9e2jq6dcXW8taf6zuh+6a+U5IDPwXfZzJAcagW7lL/jOWltaX3LG0t/YxWkjvaSrLNuWnbTN1TfRzcm20cy9iGOkN820kZyemIjVoDd+hV1J8V/K64i1laXXr5+sb6t2hSrpaZ9VYoizg9JXOvyED8Spr+mppq4G1lvXzz6urqyxnY/wfYu2UORMVtGQAAAABJRU5ErkJggg==",label:"Text to Speech"}),Array.from({length:3},(e,t)=>{const n=t<f?"joined":t===f?"next":"empty";return(0,p.jsx)(Ly,{initial:!1,mode:"wait",children:(0,p.jsxs)(mo,{animate:{opacity:1,scale:1},component:ky.div,exit:{opacity:0,scale:.85},initial:{opacity:0,scale:"joined"===n?.6:.9},transition:{duration:.4,ease:vx},children:["joined"===n&&(0,p.jsx)(Cx,{fresh:t===f-1&&"join"===l,label:"New PRO plugin"}),"next"===n&&(0,p.jsx)(Ex,{pulsing:i&&"release"===l})]},n)},t)})]})]}),(0,p.jsx)(mo,{"aria-live":"off",sx:{minHeight:52,width:"100%"},children:(0,p.jsx)(Ly,{mode:"wait",children:(0,p.jsx)(So,{animate:{opacity:1,y:0},component:ky.p,exit:{opacity:0,y:-6},initial:!o&&{opacity:0,y:6},sx:{color:bx.brown,fontSize:17,fontWeight:600,lineHeight:1.45,textAlign:"center"},transition:{duration:.3},children:d},d)})})]})}function Tx(){const{color:e}=yx;return(0,p.jsxs)(mo,{component:"section","aria-labelledby":"rwp-suite-title",sx:{alignItems:"center",border:`1px solid ${e.line}`,borderRadius:2,display:"grid",gap:{xs:3,md:4},gridTemplateColumns:{xs:"1fr",md:"minmax(0, 7fr) minmax(0, 5fr)"},isolation:"isolate",overflow:"hidden",p:{xs:2.5,md:5},position:"relative"},children:[(0,p.jsx)(mo,{sx:{inset:0,position:"absolute",zIndex:-1},children:(0,p.jsx)(lx,{})}),(0,p.jsxs)(mo,{sx:{minWidth:0},children:[(0,p.jsx)(So,{component:"p",sx:{color:e.goldDeep,fontSize:12,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase"},children:Ul.suite_eyebrow}),(0,p.jsx)(So,{id:"rwp-suite-title",variant:"h4",component:"h2",sx:{color:e.brown,fontWeight:700,letterSpacing:"-0.02em",mt:.5,whiteSpace:"pre-line"},children:Ul.suite_title}),(0,p.jsx)(Wl,{disableElevation:!0,variant:"contained",size:"large",href:ql.siteLink("https://reinventwp.com/suite","apps_hub","suite_pass"),target:"_blank",rel:"noopener",endIcon:(0,p.jsx)(Hb,{}),sx:{bgcolor:e.goldDeep,color:"#FFFFFF",fontWeight:700,mt:3,px:4,"&:hover, &:focus, &:active":{bgcolor:"#6F4E12",color:"#FFFFFF"}},children:Ul.suite_cta})]}),(0,p.jsx)(mo,{sx:{backdropFilter:"blur(18px) saturate(1.15)",bgcolor:"rgba(255, 251, 244, 0.6)",border:"1px solid rgba(255, 255, 255, 0.7)",boxShadow:"0 24px 60px rgba(61, 42, 20, 0.18)",px:{xs:2.5,md:4},py:{xs:3,md:4}},children:(0,p.jsx)(Px,{})})]})}function jx({apps:e}){return(0,p.jsx)(mo,{sx:{display:"grid",gap:2,gridTemplateColumns:"repeat(auto-fill, minmax(min(100%, 300px), 1fr))"},children:e.map(e=>(0,p.jsx)(ab,{app:e},e.slug))})}function Ax({id:e,title:t,intro:n}){return(0,p.jsxs)(mo,{sx:{mb:2},children:[(0,p.jsx)(So,{id:e,variant:"h6",component:"h2",children:t}),(0,p.jsx)(So,{variant:"body2",color:"text.secondary",children:n})]})}function Fx({apps:e}){return e.length?(0,p.jsxs)(mo,{component:"section","aria-labelledby":"rwp-must-have",children:[(0,p.jsx)(Ax,{id:"rwp-must-have",title:Ul.must_have,intro:Ul.must_have_intro}),(0,p.jsx)(jx,{apps:e})]}):null}function Mx({apps:e}){if(!e.length)return null;const t=e.filter(e=>"active"===e.state).length;return(0,p.jsxs)(mo,{component:"section","aria-labelledby":"rwp-your-apps",children:[(0,p.jsxs)(Mo,{direction:"row",spacing:1.5,alignItems:"baseline",sx:{mb:2},children:[(0,p.jsx)(So,{id:"rwp-your-apps",variant:"h6",component:"h2",children:Ul.your_apps}),(0,p.jsx)(So,{variant:"body2",sx:{color:"success.main",fontWeight:600},children:Ul.your_apps_active.replace("%d",String(t))})]}),(0,p.jsx)(jx,{apps:e})]})}function Ox({apps:e}){const[t,n]=(0,u().useState)("");if(!e.length)return null;const r=ql.chips(e,Ul.all),o=ql.inCategory(e,t);return(0,p.jsxs)(mo,{component:"section","aria-labelledby":"rwp-more-apps",children:[(0,p.jsx)(Ax,{id:"rwp-more-apps",title:Ul.more_apps,intro:Ul.more_apps_intro}),r.length>2&&(0,p.jsx)(Mo,{direction:"row",spacing:1,useFlexGap:!0,flexWrap:"wrap",sx:{mb:2},children:r.map(e=>(0,p.jsx)(Ai,{label:`${e.label}  ${e.count}`,clickable:!0,color:t===e.value?"primary":"default",variant:t===e.value?"filled":"outlined",onClick:()=>n(e.value),"aria-pressed":t===e.value,sx:{fontWeight:600,whiteSpace:"pre"}},e.value||"all"))}),(0,p.jsx)(jx,{apps:o})]})}const Rx=document.getElementById("reinventwp-apps-root");Rx&&window.reinventwpApps&&(0,i().createRoot)(Rx).render((0,p.jsx)(function({data:e}){const{installed:t,mustHave:n,more:r}=ql.sections(e.apps),o=!1!==e.show_suite,[i,a]=(0,u().useState)(!1),s=function(){const[e,t]=(0,u().useState)(!1);return(0,u().useEffect)(()=>{var e;let n=null===(e=document.getElementById("reinventwp-apps-root"))||void 0===e?void 0:e.previousElementSibling;for(;n;){if(n instanceof HTMLElement&&n.offsetHeight>0)return void t(!0);n=n.previousElementSibling}},[]),e}();return(0,u().useEffect)(()=>{window.location.search.includes("refresh=1")&&window.history.replaceState(null,"",e.page_url)},[e.page_url]),(0,p.jsx)(Ml,{theme:ib,children:(0,p.jsx)(mo,{sx:{color:"text.primary",fontFamily:ib.typography.fontFamily,mr:{xs:1.25,sm:2.5},my:2.5},children:(0,p.jsxs)(mo,{component:"main",sx:{...rb,boxSizing:"border-box",p:{xs:2.5,md:5},minHeight:"calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 105px)"},children:[(0,p.jsx)(mo,{sx:{"--rwp-pad":{xs:"20px",md:"40px"},"--rwp-gap-right":{xs:"10px",sm:"20px"},"--rwp-gap-left":"20px","@media (max-width: 782px)":{"--rwp-gap-left":"10px"},mb:3,ml:"calc(-1 * (var(--rwp-pad) + 1px + var(--rwp-gap-left)))",mr:"calc(-1 * (var(--rwp-pad) + 1px + var(--rwp-gap-right)))",mt:s?"calc(-1 * var(--rwp-pad))":"calc(-1 * (var(--rwp-pad) + 21px))"},children:(0,p.jsx)(Ub,{flush:!s})}),(0,p.jsxs)(Mo,{direction:"row",spacing:2,alignItems:"flex-start",justifyContent:"space-between",children:[(0,p.jsx)(mo,{children:(0,p.jsx)(So,{variant:"h5",component:"h1",color:"primary",gutterBottom:!0,sx:{fontWeight:700},children:(0,p.jsx)(Ds,{title:Ul.catalog_hint,placement:"right",children:(0,p.jsx)(Ws,{href:ql.siteLink("https://reinventwp.com/plugins","apps_hub","all_plugins"),target:"_blank",rel:"noopener",color:"inherit",underline:"hover",sx:{"&:hover, &:focus":{color:"primary.main"}},children:Ul.title})})})}),(0,p.jsx)(Ds,{title:Ul.refresh_hint,children:(0,p.jsx)(il,{"aria-label":Ul.refresh_hint,href:e.refresh_url,onClick:()=>a(!0),disabled:i,sx:{border:ob,borderRadius:2,color:"primary.main",flexShrink:0},children:i?(0,p.jsx)(el,{size:22}):(0,p.jsx)(ao,{})})})]}),(0,p.jsxs)(Mo,{spacing:5,sx:{mt:3},children:[o&&(0,p.jsx)(Tx,{}),(0,p.jsx)(Fx,{apps:n}),(0,p.jsx)(Ox,{apps:r}),(0,p.jsx)(Mx,{apps:t})]})]})})})},{data:window.reinventwpApps}))})();
  • reinvent-rename-replace-media/trunk/readme.txt

    r3794160 r3801994  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.5
    8 Version: 1.0.5
     7Stable tag: 1.0.6
     8Version: 1.0.6
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    106106== Changelog ==
    107107
     108= 1.0.6 =
     109* The Reinvent WP → Dashboard page is new: the plugins every site needs first, the rest of our plugins by category, and your installed apps.
     110
    108111= 1.0.5 =
    109112* Fixed: the message after replacing a file no longer splits ordinary words across lines; only long file names wrap.
  • reinvent-rename-replace-media/trunk/reinvent-rename-replace-media.php

    r3794160 r3801994  
    44 * Plugin URI:        https://wordpress.org/plugins/reinvent-rename-replace-media
    55 * Description:       Give images SEO-friendly file names and replace files without breaking links. Updates every link (page builders included), keeps old URLs working with redirects, and every change can be undone.
    6  * Version:           1.0.5
     6 * Version:           1.0.6
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    2020}
    2121
    22 define( 'RWPRM_VERSION', '1.0.5' );
     22define( 'RWPRM_VERSION', '1.0.6' );
    2323define( 'RWPRM_FILE', __FILE__ );
    2424define( 'RWPRM_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.