whatmore-react-assets 1.0.1402 → 1.0.1404

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/package.json +1 -1
  2. package/static/js/2.a6e5564f.chunk.js +1 -0
  3. package/static/js/286.4d801177.chunk.js +1 -0
  4. package/static/js/296.25439eea.chunk.js +1 -0
  5. package/static/js/311.96c6c80a.chunk.js +1 -0
  6. package/static/js/378.bce12c1d.chunk.js +1 -0
  7. package/static/js/461.28347fc7.chunk.js +1 -0
  8. package/static/js/571.96f2c5ac.chunk.js +1 -0
  9. package/static/js/620.04f526c7.chunk.js +1 -0
  10. package/static/js/650.50b7ab24.chunk.js +117 -0
  11. package/static/js/669.fcb5e7c7.chunk.js +2 -0
  12. package/static/js/682.8623fb18.chunk.js +1 -0
  13. package/static/js/756.7523a583.chunk.js +2 -0
  14. package/static/js/842.85030e08.chunk.js +2 -0
  15. package/static/js/850.5091474f.chunk.js +2 -0
  16. package/static/js/859.3d380911.chunk.js +1 -0
  17. package/static/js/920.298a46d6.chunk.js +1 -0
  18. package/static/js/app-main.5bc4359c.chunk.js +1 -0
  19. package/static/js/{atc-with-form.c6e794f2.chunk.js → atc-with-form.958f95e3.chunk.js} +1 -1
  20. package/static/js/banner-template-a.86b38542.chunk.js +1 -0
  21. package/static/js/carousel-template-a.1173f55c.chunk.js +1 -0
  22. package/static/js/carousel-template-b.406fc806.chunk.js +1 -0
  23. package/static/js/carousel-template-f.4f8a98f4.chunk.js +1 -0
  24. package/static/js/carousel-template-feed.cc5f97a1.chunk.js +15 -0
  25. package/static/js/carousel-template-g.3670c058.chunk.js +1 -0
  26. package/static/js/carousel-template-h.264e373e.chunk.js +1 -0
  27. package/static/js/carousel-template-view-more.12a1f50b.chunk.js +45 -0
  28. package/static/js/collections-template-a.daea1564.chunk.js +1 -0
  29. package/static/js/collections-template-b.22c9d294.chunk.js +1 -0
  30. package/static/js/collections-template-c.6ea927fa.chunk.js +1 -0
  31. package/static/js/collections-template-stories.57f85909.chunk.js +1 -0
  32. package/static/js/event-click-main.73709ad2.chunk.js +1 -0
  33. package/static/js/event-click-product.873632c6.chunk.js +1 -0
  34. package/static/js/event-click-spotlight.87acc60c.chunk.js +1 -0
  35. package/static/js/homepage-carousel-view.d6bf4477.chunk.js +1 -0
  36. package/static/js/{location-details.c0431f85.chunk.js → location-details.b14d3704.chunk.js} +1 -1
  37. package/static/js/product-page-view.d08a5a1a.chunk.js +1 -0
  38. package/static/js/recommended-carousel.22249e9e.chunk.js +2 -0
  39. package/static/js/spotlight-view.2163ff18.chunk.js +1 -0
  40. package/static/js/stories-template-a.a97215e7.chunk.js +1 -0
  41. package/whatmore.js +2 -2
  42. package/static/js/13.b216da25.chunk.js +0 -1
  43. package/static/js/210.d4c6f9a4.chunk.js +0 -1
  44. package/static/js/219.a0c7f0d6.chunk.js +0 -1
  45. package/static/js/240.9c510ae9.chunk.js +0 -2
  46. package/static/js/302.41f7dffe.chunk.js +0 -1
  47. package/static/js/348.6120786d.chunk.js +0 -117
  48. package/static/js/423.4d5ac85a.chunk.js +0 -1
  49. package/static/js/561.95fd0242.chunk.js +0 -1
  50. package/static/js/577.646fa55d.chunk.js +0 -1
  51. package/static/js/731.4a524607.chunk.js +0 -1
  52. package/static/js/733.a1c82e7f.chunk.js +0 -1
  53. package/static/js/745.107e7775.chunk.js +0 -2
  54. package/static/js/751.4f97aaf7.chunk.js +0 -1
  55. package/static/js/800.38fa0179.chunk.js +0 -2
  56. package/static/js/819.c2077f1e.chunk.js +0 -2
  57. package/static/js/824.5e1bcf5b.chunk.js +0 -2
  58. package/static/js/app-main.e5c7baf5.chunk.js +0 -1
  59. package/static/js/banner-template-a.17b6cfa5.chunk.js +0 -1
  60. package/static/js/carousel-template-a.9bab2855.chunk.js +0 -1
  61. package/static/js/carousel-template-b.59ad5f64.chunk.js +0 -1
  62. package/static/js/carousel-template-f.26ab7395.chunk.js +0 -1
  63. package/static/js/carousel-template-feed.ad73c3ed.chunk.js +0 -15
  64. package/static/js/carousel-template-g.2f70770b.chunk.js +0 -1
  65. package/static/js/carousel-template-h.eada0967.chunk.js +0 -1
  66. package/static/js/carousel-template-view-more.4b1e8a28.chunk.js +0 -45
  67. package/static/js/collections-template-a.d79da3e9.chunk.js +0 -1
  68. package/static/js/collections-template-b.d191151d.chunk.js +0 -1
  69. package/static/js/collections-template-c.6aadef97.chunk.js +0 -1
  70. package/static/js/collections-template-stories.9696a048.chunk.js +0 -1
  71. package/static/js/event-click-main.e9e26fc2.chunk.js +0 -1
  72. package/static/js/event-click-product.60b5a8fa.chunk.js +0 -1
  73. package/static/js/event-click-spotlight.929fb915.chunk.js +0 -1
  74. package/static/js/homepage-carousel-view.4c9ccc86.chunk.js +0 -1
  75. package/static/js/product-page-view.6f93465d.chunk.js +0 -1
  76. package/static/js/recommended-carousel.9a69fdec.chunk.js +0 -2
  77. package/static/js/spotlight-view.2f2adc85.chunk.js +0 -1
  78. package/static/js/stories-template-a.69cd6742.chunk.js +0 -1
  79. /package/static/css/{926.a9bfc3e2.chunk.css → 139.a9bfc3e2.chunk.css} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 800.38fa0179.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[800],{9723:function(e,t,n){var r=n(5318);t.Z=void 0;var o=r(n(5045)),a=n(6417),l=(0,o.default)((0,a.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");t.Z=l},9212:function(e,t,n){var r=n(5318);t.Z=void 0;var o=r(n(5045)),a=n(6417),l=(0,o.default)([(0,a.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",opacity:".3"},"0"),(0,a.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.Z=l},237:function(e,t,n){var r=n(5318);t.Z=void 0;var o=r(n(5045)),a=n(6417),l=(0,o.default)((0,a.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=l},7001:function(e,t,n){var r=n(7935),o=n(8172);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var l=new Set,i={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(i[e]=t,e=0;e<t.length;e++)l.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[: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]*$/,p={},m={};function h(e,t,n,r,o,a,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(m,e)||!d.call(p,e)&&(f.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,g);v[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,g);v[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,g);v[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),_=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function z(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=M&&e[M]||e["@@iterator"])?e:null}var $,D=Object.assign;function O(e){if(void 0===$)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$=t&&t[1]||""}return"\n"+$+e}var A=!1;function V(e,t){if(!e||A)return"";A=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var o=s.stack.split("\n"),a=r.stack.split("\n"),l=o.length-1,i=a.length-1;1<=l&&0<=i&&o[l]!==a[i];)i--;for(;1<=l&&0<=i;l--,i--)if(o[l]!==a[i]){if(1!==l||1!==i)do{if(l--,0>--i||o[l]!==a[i]){var u="\n"+o[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=l&&0<=i);break}}}finally{A=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?O(e):""}function U(e){switch(e.tag){case 5:return O(e.type);case 16:return O("Lazy");case 13:return O("Suspense");case 19:return O("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function j(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case E:return"Fragment";case S:return"Portal";case C:return"Profiler";case x:return"StrictMode";case R:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case F:return null!==(t=e.displayName||null)?t:j(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return j(e(t))}catch(n){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j(t);case 8:return t===x?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){G(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(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=""+W(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 re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ae(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(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 pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;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 we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,Ee=null,xe=null;function Ce(e){if(e=wo(e)){if("function"!==typeof Se)throw Error(a(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Te(e){Ee?xe?xe.push(e):xe=[e]:Ee=e}function _e(){if(Ee){var e=Ee,t=xe;if(xe=Ee=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ne(e,t){return e(t)}function Re(){}var Pe=!1;function Fe(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Ne(e,t,n)}finally{Pe=!1,(null!==Ee||null!==xe)&&(Re(),_e())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);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(a(231,t,typeof n));return n}var Le=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){Le=!1}function ze(e,t,n,r,o,a,l,i,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var $e=!1,De=null,Oe=!1,Ae=null,Ve={onError:function(e){$e=!0,De=e}};function Ue(e,t,n,r,o,a,l,i,u){$e=!1,De=null,ze.apply(Ve,arguments)}function je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(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 We(e){if(je(e)!==e)throw Error(a(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var l=o.alternate;if(null===l){if(null!==(r=o.return)){n=r;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return We(o),e;if(l===r)return We(o),t;l=l.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=l;else{for(var i=!1,u=o.child;u;){if(u===n){i=!0,n=o,r=l;break}if(u===r){i=!0,r=o,n=l;break}u=u.sibling}if(!i){for(u=l.child;u;){if(u===n){i=!0,n=l,r=o;break}if(u===r){i=!0,r=l,n=o;break}u=u.sibling}if(!i)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var qe=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Ge=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var lt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(it(e)/ut|0)|0},it=Math.log,ut=Math.LN2;var st=64,ct=4194304;function dt(e){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: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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~o;0!==i?r=dt(i):0!==(a&=l)&&(r=dt(a))}else 0!==(l=n&~o)?r=dt(l):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-lt(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var kt,St,Et,xt,Ct,Tt=!1,_t=[],Nt=null,Rt=null,Pt=null,Ft=new Map,It=new Map,Lt=[],Mt="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 submit".split(" ");function zt(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Ft.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function $t(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=bo(e.target);if(null!==t){var n=je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void Ct(e.priority,(function(){Et(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 Ot(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function At(e,t,n){Ot(e)&&n.delete(t)}function Vt(){Tt=!1,null!==Nt&&Ot(Nt)&&(Nt=null),null!==Rt&&Ot(Rt)&&(Rt=null),null!==Pt&&Ot(Pt)&&(Pt=null),Ft.forEach(At),It.forEach(At)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Tt||(Tt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Vt)))}function jt(e){function t(t){return Ut(t,e)}if(0<_t.length){Ut(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&Ut(Nt,e),null!==Rt&&Ut(Rt,e),null!==Pt&&Ut(Pt,e),Ft.forEach(t),It.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Dt(n),null===n.blockedOn&&Lt.shift()}var Bt=w.ReactCurrentBatchConfig,Wt=!0;function Ht(e,t,n,r){var o=bt,a=Bt.transition;Bt.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=o,Bt.transition=a}}function Qt(e,t,n,r){var o=bt,a=Bt.transition;Bt.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=o,Bt.transition=a}}function qt(e,t,n,r){if(Wt){var o=Kt(e,t,n,r);if(null===o)Wr(e,t,r,Yt,n),zt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Nt=$t(Nt,e,t,n,r,o),!0;case"dragenter":return Rt=$t(Rt,e,t,n,r,o),!0;case"mouseover":return Pt=$t(Pt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Ft.set(a,$t(Ft.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,It.set(a,$t(It.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(zt(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&kt(a),null===(a=Kt(e,t,n,r))&&Wr(e,t,r,Yt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Kt(e,t,n,r){if(Yt=null,null!==(e=bo(e=ke(r))))if(null===(t=je(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(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 Yt=e,null}function Xt(e){switch(e){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"resize":case"seeked":case"submit":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"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Gt?Gt.value:Gt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var l in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(l)&&(t=e[l],this[l]=t?t(o):o[l]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(sn),dn=D({},sn,{view:0,detail:0}),fn=on(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=on(pn),hn=on(D({},pn,{dataTransfer:0})),vn=on(D({},dn,{relatedTarget:0})),yn=on(D({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=D({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(gn),wn=on(D({},sn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={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"},En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=En[e])&&!!t[e]}function Cn(){return xn}var Tn=D({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=on(Tn),Nn=on(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=on(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Pn=on(D({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=D({},pn,{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}),In=on(Fn),Ln=[9,13,27,32],Mn=c&&"CompositionEvent"in window,zn=null;c&&"documentMode"in document&&(zn=document.documentMode);var $n=c&&"TextEvent"in window&&!zn,Dn=c&&(!Mn||zn&&8<zn&&11>=zn),On=String.fromCharCode(32),An=!1;function Vn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var jn=!1;var Bn={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 Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Hn(e,t,n,r){Te(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,qn=null;function Yn(e){Or(e,0)}function Kn(e){if(q(ko(e)))return e}function Xn(e,t){if("change"===e)return t}var Gn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Gn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Qn&&(Qn.detachEvent("onpropertychange",nr),qn=Qn=null)}function nr(e){if("value"===e.propertyName&&Kn(qn)){var t=[];Hn(t,qn,e,ke(e)),Fe(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(qn)}function ar(e,t){if("click"===e)return Kn(t)}function lr(e,t){if("input"===e||"change"===e)return Kn(t)}var ir="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(ir(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(!d.call(t,o)||!ir(e[o],t[o]))return!1}return!0}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 dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(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)}function mr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var l=cr(n,r);o&&l&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,yr=null,gr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==Y(r)||("selectionStart"in(r=vr)&&pr(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},gr&&ur(gr,r)||(gr=r,0<(r=Qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Er={},xr={};function Cr(e){if(Er[e])return Er[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in xr)return Er[e]=n[t];return e}c&&(xr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Tr=Cr("animationend"),_r=Cr("animationiteration"),Nr=Cr("animationstart"),Rr=Cr("transitionend"),Pr=new Map,Fr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error 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 Ir(e,t){Pr.set(e,t),u(t,[e])}for(var Lr=0;Lr<Fr.length;Lr++){var Mr=Fr[Lr];Ir(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Ir(Tr,"onAnimationEnd"),Ir(_r,"onAnimationIteration"),Ir(Nr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Rr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="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(" "),$r=new Set("cancel close invalid load scroll toggle".split(" ").concat(zr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,l,i,u,s){if(Ue.apply(this,arguments),$e){if(!$e)throw Error(a(198));var c=De;$e=!1,De=null,Oe||(Oe=!0,Ae=c)}}(r,t,void 0,e),e.currentTarget=null}function Or(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var l=r.length-1;0<=l;l--){var i=r[l],u=i.instance,s=i.currentTarget;if(i=i.listener,u!==a&&o.isPropagationStopped())break e;Dr(o,i,s),a=u}else for(l=0;l<r.length;l++){if(u=(i=r[l]).instance,s=i.currentTarget,i=i.listener,u!==a&&o.isPropagationStopped())break e;Dr(o,i,s),a=u}}}if(Oe)throw e=Ae,Oe=!1,Ae=null,e}function Ar(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}function Vr(e,t,n){var r=0;t&&(r|=4),Br(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function jr(e){if(!e[Ur]){e[Ur]=!0,l.forEach((function(t){"selectionchange"!==t&&($r.has(t)||Vr(t,!1,e),Vr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Vr("selectionchange",!1,t))}}function Br(e,t,n,r){switch(Xt(t)){case 1:var o=Ht;break;case 4:o=Qt;break;default:o=qt}n=o.bind(null,t,n,e),o=void 0,!Le||"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 Wr(e,t,n,r,o){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var i=r.stateNode.containerInfo;if(i===o||8===i.nodeType&&i.parentNode===o)break;if(4===l)for(l=r.return;null!==l;){var u=l.tag;if((3===u||4===u)&&((u=l.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;l=l.return}for(;null!==i;){if(null===(l=bo(i)))return;if(5===(u=l.tag)||6===u){r=a=l;continue e}i=i.parentNode}}r=r.return}Fe((function(){var r=a,o=ke(n),l=[];e:{var i=Pr.get(e);if(void 0!==i){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=_n;break;case"focusin":s="focus",u=vn;break;case"focusout":s="blur",u=vn;break;case"beforeblur":case"afterblur":u=vn;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=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Rn;break;case Tr:case _r:case Nr:u=yn;break;case Rr:u=Pn;break;case"scroll":u=fn;break;case"wheel":u=In;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Nn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==i?i+"Capture":null:i;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==f&&(null!=(h=Ie(m,f))&&c.push(Hr(m,h,p)))),d)break;m=m.return}0<c.length&&(i=new u(i,s,null,n,o),l.push({event:i,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!bo(s)&&!s[ho])&&(u||i)&&(i=o.window===o?o:(i=o.ownerDocument)?i.defaultView||i.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?bo(s):null)&&(s!==(d=je(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=mn,h="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,h="onPointerLeave",f="onPointerEnter",m="pointer"),d=null==u?i:ko(u),p=null==s?i:ko(s),(i=new c(h,m+"leave",u,n,o)).target=d,i.relatedTarget=p,h=null,bo(o)===r&&((c=new c(f,m+"enter",s,n,o)).target=p,c.relatedTarget=d,h=c),d=h,u&&s)e:{for(f=s,m=0,p=c=u;p;p=qr(p))m++;for(p=0,h=f;h;h=qr(h))p++;for(;0<m-p;)c=qr(c),m--;for(;0<p-m;)f=qr(f),p--;for(;m--;){if(c===f||null!==f&&c===f.alternate)break e;c=qr(c),f=qr(f)}c=null}else c=null;null!==u&&Yr(l,i,u,c,!1),null!==s&&null!==d&&Yr(l,d,s,c,!0)}if("select"===(u=(i=r?ko(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===u&&"file"===i.type)var v=Xn;else if(Wn(i))if(Gn)v=lr;else{v=or;var y=rr}else(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(v=ar);switch(v&&(v=v(e,r))?Hn(l,v,n,o):(y&&y(e,i,r),"focusout"===e&&(y=i._wrapperState)&&y.controlled&&"number"===i.type&&ee(i,"number",i.value)),y=r?ko(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(vr=y,yr=r,gr=null);break;case"focusout":gr=yr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(l,n,o);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(l,n,o)}var g;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else jn?Vn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Dn&&"ko"!==n.locale&&(jn||"onCompositionStart"!==b?"onCompositionEnd"===b&&jn&&(g=en()):(Zt="value"in(Gt=o)?Gt.value:Gt.textContent,jn=!0)),0<(y=Qr(r,b)).length&&(b=new wn(b,e,null,n,o),l.push({event:b,listeners:y}),g?b.data=g:null!==(g=Un(n))&&(b.data=g))),(g=$n?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(An=!0,On);case"textInput":return(e=t.data)===On&&An?null:e;default:return null}}(e,n):function(e,t){if(jn)return"compositionend"===e||!Mn&&Vn(e,t)?(e=en(),Jt=Zt=Gt=null,jn=!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 Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),l.push({event:o,listeners:r}),o.data=g))}Or(l,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ie(e,n))&&r.unshift(Hr(e,a,o)),null!=(a=Ie(e,t))&&r.push(Hr(e,a,o))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,o){for(var a=t._reactName,l=[];null!==n&&n!==r;){var i=n,u=i.alternate,s=i.stateNode;if(null!==u&&u===r)break;5===i.tag&&null!==s&&(i=s,o?null!=(u=Ie(n,a))&&l.unshift(Hr(n,u,i)):o||null!=(u=Ie(n,a))&&l.push(Hr(n,u,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var Kr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(Kr,"\n").replace(Xr,"")}function Zr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,ao="function"===typeof Promise?Promise:void 0,lo="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ao?function(e){return ao.resolve(null).then(e).catch(io)}:ro;function io(e){setTimeout((function(){throw e}))}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void jt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);jt(t)}function so(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)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,mo="__reactProps$"+fo,ho="__reactContainer$"+fo,vo="__reactEvents$"+fo,yo="__reactListeners$"+fo,go="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ho]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ko(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function So(e){return e[mo]||null}var Eo=[],xo=-1;function Co(e){return{current:e}}function To(e){0>xo||(e.current=Eo[xo],Eo[xo]=null,xo--)}function _o(e,t){xo++,Eo[xo]=e.current,e.current=t}var No={},Ro=Co(No),Po=Co(!1),Fo=No;function Io(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Mo(){To(Po),To(Ro)}function zo(e,t,n){if(Ro.current!==No)throw Error(a(168));_o(Ro,t),_o(Po,n)}function $o(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,B(e)||"Unknown",o));return D({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,Fo=Ro.current,_o(Ro,e),_o(Po,Po.current),!0}function Oo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=$o(e,t,Fo),r.__reactInternalMemoizedMergedChildContext=e,To(Po),To(Ro),_o(Ro,e)):To(Po),_o(Po,n)}var Ao=null,Vo=!1,Uo=!1;function jo(e){null===Ao?Ao=[e]:Ao.push(e)}function Bo(){if(!Uo&&null!==Ao){Uo=!0;var e=0,t=bt;try{var n=Ao;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ao=null,Vo=!1}catch(o){throw null!==Ao&&(Ao=Ao.slice(e+1)),qe(Je,Bo),o}finally{bt=t,Uo=!1}}return null}var Wo=[],Ho=0,Qo=null,qo=0,Yo=[],Ko=0,Xo=null,Go=1,Zo="";function Jo(e,t){Wo[Ho++]=qo,Wo[Ho++]=Qo,Qo=e,qo=t}function ea(e,t,n){Yo[Ko++]=Go,Yo[Ko++]=Zo,Yo[Ko++]=Xo,Xo=e;var r=Go;e=Zo;var o=32-lt(r)-1;r&=~(1<<o),n+=1;var a=32-lt(t)+o;if(30<a){var l=o-o%5;a=(r&(1<<l)-1).toString(32),r>>=l,o-=l,Go=1<<32-lt(t)+o|n<<o|r,Zo=a+e}else Go=1<<a|n<<o|r,Zo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Qo;)Qo=Wo[--Ho],Wo[Ho]=null,qo=Wo[--Ho],Wo[Ho]=null;for(;e===Xo;)Xo=Yo[--Ko],Yo[Ko]=null,Zo=Yo[--Ko],Yo[Ko]=null,Go=Yo[--Ko],Yo[Ko]=null}var ra=null,oa=null,aa=!1,la=null;function ia(e,t){var n=Ps(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ua(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Go,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ps(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function sa(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var n=t;if(!ua(e,t)){if(sa(e))throw Error(a(418));t=so(n.nextSibling);var r=ra;t&&ua(e,t)?ia(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(sa(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(sa(e))throw pa(),Error(a(418));for(;t;)ia(e,t),t=so(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=so(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?so(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=so(e.nextSibling)}function ma(){oa=ra=null,aa=!1}function ha(e){null===la?la=[e]:la.push(e)}var va=w.ReactCurrentBatchConfig;function ya(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,l=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===l?t.ref:(t=function(e){var t=o.refs;null===e?delete t[l]:t[l]=e},t._stringRef=l,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function ga(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ba(e){return(0,e._init)(e._payload)}function wa(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,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Is(e,t)).index=0,e.sibling=null,e}function l(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=$s(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var a=n.type;return a===E?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===I&&ba(a)===t.type)?((r=o(t,n.props)).ref=ya(e,t,n),r.return=e,r):((r=Ls(n.type,n.key,n.props,null,e.mode,r)).ref=ya(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ds(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Ms(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=$s(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Ls(t.type,t.key,t.props,null,e.mode,n)).ref=ya(e,null,t),n.return=e,n;case S:return(t=Ds(t,e.mode,n)).return=e,t;case I:return f(e,(0,t._init)(t._payload),n)}if(te(t)||z(t))return(t=Ms(t,e.mode,n,null)).return=e,t;ga(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)return null!==o?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?s(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null;case I:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||z(n))return null!==o?null:d(e,t,n,r,null);ga(e,n)}return null}function m(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case I:return m(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||z(r))return d(t,e=e.get(n)||null,r,o,null);ga(t,r)}return null}function h(o,a,i,u){for(var s=null,c=null,d=a,h=a=0,v=null;null!==d&&h<i.length;h++){d.index>h?(v=d,d=null):v=d.sibling;var y=p(o,d,i[h],u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(o,d),a=l(y,a,h),null===c?s=y:c.sibling=y,c=y,d=v}if(h===i.length)return n(o,d),aa&&Jo(o,h),s;if(null===d){for(;h<i.length;h++)null!==(d=f(o,i[h],u))&&(a=l(d,a,h),null===c?s=d:c.sibling=d,c=d);return aa&&Jo(o,h),s}for(d=r(o,d);h<i.length;h++)null!==(v=m(d,o,h,i[h],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?h:v.key),a=l(v,a,h),null===c?s=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,h),s}function v(o,i,u,s){var c=z(u);if("function"!==typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var d=c=null,h=i,v=i=0,y=null,g=u.next();null!==h&&!g.done;v++,g=u.next()){h.index>v?(y=h,h=null):y=h.sibling;var b=p(o,h,g.value,s);if(null===b){null===h&&(h=y);break}e&&h&&null===b.alternate&&t(o,h),i=l(b,i,v),null===d?c=b:d.sibling=b,d=b,h=y}if(g.done)return n(o,h),aa&&Jo(o,v),c;if(null===h){for(;!g.done;v++,g=u.next())null!==(g=f(o,g.value,s))&&(i=l(g,i,v),null===d?c=g:d.sibling=g,d=g);return aa&&Jo(o,v),c}for(h=r(o,h);!g.done;v++,g=u.next())null!==(g=m(h,o,v,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?v:g.key),i=l(g,i,v),null===d?c=g:d.sibling=g,d=g);return e&&h.forEach((function(e){return t(o,e)})),aa&&Jo(o,v),c}return function e(r,a,l,u){if("object"===typeof l&&null!==l&&l.type===E&&null===l.key&&(l=l.props.children),"object"===typeof l&&null!==l){switch(l.$$typeof){case k:e:{for(var s=l.key,c=a;null!==c;){if(c.key===s){if((s=l.type)===E){if(7===c.tag){n(r,c.sibling),(a=o(c,l.props.children)).return=r,r=a;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===I&&ba(s)===c.type){n(r,c.sibling),(a=o(c,l.props)).ref=ya(r,c,l),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===E?((a=Ms(l.props.children,r.mode,u,l.key)).return=r,r=a):((u=Ls(l.type,l.key,l.props,null,r.mode,u)).ref=ya(r,a,l),u.return=r,r=u)}return i(r);case S:e:{for(c=l.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===l.containerInfo&&a.stateNode.implementation===l.implementation){n(r,a.sibling),(a=o(a,l.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Ds(l,r.mode,u)).return=r,r=a}return i(r);case I:return e(r,a,(c=l._init)(l._payload),u)}if(te(l))return h(r,a,l,u);if(z(l))return v(r,a,l,u);ga(r,l)}return"string"===typeof l&&""!==l||"number"===typeof l?(l=""+l,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,l)).return=r,r=a):(n(r,a),(a=$s(l,r.mode,u)).return=r,r=a),i(r)):n(r,a)}}var ka=wa(!0),Sa=wa(!1),Ea=Co(null),xa=null,Ca=null,Ta=null;function _a(){Ta=Ca=xa=null}function Na(e){var t=Ea.current;To(Ea),e._currentValue=t}function Ra(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 Pa(e,t){xa=e,Ta=Ca=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bi=!0),e.firstContext=null)}function Fa(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},null===Ca){if(null===xa)throw Error(a(308));Ca=e,xa.dependencies={lanes:0,firstContext:e}}else Ca=Ca.next=e;return t}var Ia=null;function La(e){null===Ia?Ia=[e]:Ia.push(e)}function Ma(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,La(t)):(n.next=o.next,o.next=n),t.interleaved=n,za(e,r)}function za(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var $a=!1;function Da(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&_u)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,za(e,n)}return null===(o=r.interleaved)?(t.next=t,La(r)):(t.next=o.next,o.next=t),r.interleaved=t,za(e,n)}function Ua(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function ja(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=l:a=a.next=l,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ba(e,t,n,r){var o=e.updateQueue;$a=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,i=o.shared.pending;if(null!==i){o.shared.pending=null;var u=i,s=u.next;u.next=null,null===l?a=s:l.next=s,l=u;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u))}if(null!==a){var d=o.baseState;for(l=0,c=s=u=null,i=a;;){var f=i.lane,p=i.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,h=i;switch(f=t,p=n,h.tag){case 1:if("function"===typeof(m=h.payload)){d=m.call(p,d,f);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null===(f="function"===typeof(m=h.payload)?m.call(p,d,f):m)||void 0===f)break e;d=D({},d,f);break e;case 2:$a=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[i]:f.push(i))}else p={eventTime:p,lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=d):c=c.next=p,l|=f;if(null===(i=i.next)){if(null===(i=o.shared.pending))break;i=(f=i).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(u=d),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{l|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);zu|=l,e.lanes=l,e.memoizedState=d}}function Wa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var Ha={},Qa=Co(Ha),qa=Co(Ha),Ya=Co(Ha);function Ka(e){if(e===Ha)throw Error(a(174));return e}function Xa(e,t){switch(_o(Ya,t),_o(qa,e),_o(Qa,Ha),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}To(Qa),_o(Qa,t)}function Ga(){To(Qa),To(qa),To(Ya)}function Za(e){Ka(Ya.current);var t=Ka(Qa.current),n=ue(t,e.type);t!==n&&(_o(qa,e),_o(Qa,n))}function Ja(e){qa.current===e&&(To(Qa),To(qa))}var el=Co(0);function tl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(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 nl=[];function rl(){for(var e=0;e<nl.length;e++)nl[e]._workInProgressVersionPrimary=null;nl.length=0}var ol=w.ReactCurrentDispatcher,al=w.ReactCurrentBatchConfig,ll=0,il=null,ul=null,sl=null,cl=!1,dl=!1,fl=0,pl=0;function ml(){throw Error(a(321))}function hl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function vl(e,t,n,r,o,l){if(ll=l,il=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ol.current=null===e||null===e.memoizedState?Jl:ei,e=n(r,o),dl){l=0;do{if(dl=!1,fl=0,25<=l)throw Error(a(301));l+=1,sl=ul=null,t.updateQueue=null,ol.current=ti,e=n(r,o)}while(dl)}if(ol.current=Zl,t=null!==ul&&null!==ul.next,ll=0,sl=ul=il=null,cl=!1,t)throw Error(a(300));return e}function yl(){var e=0!==fl;return fl=0,e}function gl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===sl?il.memoizedState=sl=e:sl=sl.next=e,sl}function bl(){if(null===ul){var e=il.alternate;e=null!==e?e.memoizedState:null}else e=ul.next;var t=null===sl?il.memoizedState:sl.next;if(null!==t)sl=t,ul=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ul=e).memoizedState,baseState:ul.baseState,baseQueue:ul.baseQueue,queue:ul.queue,next:null},null===sl?il.memoizedState=sl=e:sl=sl.next=e}return sl}function wl(e,t){return"function"===typeof t?t(e):t}function kl(e){var t=bl(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ul,o=r.baseQueue,l=n.pending;if(null!==l){if(null!==o){var i=o.next;o.next=l.next,l.next=i}r.baseQueue=o=l,n.pending=null}if(null!==o){l=o.next,r=r.baseState;var u=i=null,s=null,c=l;do{var d=c.lane;if((ll&d)===d)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=f,i=r):s=s.next=f,il.lanes|=d,zu|=d}c=c.next}while(null!==c&&c!==l);null===s?i=r:s.next=u,ir(r,t.memoizedState)||(bi=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{l=o.lane,il.lanes|=l,zu|=l,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sl(e){var t=bl(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,l=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{l=e(l,i.action),i=i.next}while(i!==o);ir(l,t.memoizedState)||(bi=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function El(){}function xl(e,t){var n=il,r=bl(),o=t(),l=!ir(r.memoizedState,o);if(l&&(r.memoizedState=o,bi=!0),r=r.queue,$l(_l.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||null!==sl&&1&sl.memoizedState.tag){if(n.flags|=2048,Fl(9,Tl.bind(null,n,r,o,t),void 0,null),null===Nu)throw Error(a(349));0!==(30&ll)||Cl(n,t,o)}return o}function Cl(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=il.updateQueue)?(t={lastEffect:null,stores:null},il.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Tl(e,t,n,r){t.value=n,t.getSnapshot=r,Nl(t)&&Rl(e)}function _l(e,t,n){return n((function(){Nl(t)&&Rl(e)}))}function Nl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(r){return!0}}function Rl(e){var t=za(e,1);null!==t&&ts(t,e,1,-1)}function Pl(e){var t=gl();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:e},t.queue=e,e=e.dispatch=Yl.bind(null,il,e),[t.memoizedState,e]}function Fl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=il.updateQueue)?(t={lastEffect:null,stores:null},il.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Il(){return bl().memoizedState}function Ll(e,t,n,r){var o=gl();il.flags|=e,o.memoizedState=Fl(1|t,n,void 0,void 0===r?null:r)}function Ml(e,t,n,r){var o=bl();r=void 0===r?null:r;var a=void 0;if(null!==ul){var l=ul.memoizedState;if(a=l.destroy,null!==r&&hl(r,l.deps))return void(o.memoizedState=Fl(t,n,a,r))}il.flags|=e,o.memoizedState=Fl(1|t,n,a,r)}function zl(e,t){return Ll(8390656,8,e,t)}function $l(e,t){return Ml(2048,8,e,t)}function Dl(e,t){return Ml(4,2,e,t)}function Ol(e,t){return Ml(4,4,e,t)}function Al(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Vl(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ml(4,4,Al.bind(null,t,e),n)}function Ul(){}function jl(e,t){var n=bl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bl(e,t){var n=bl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wl(e,t,n){return 0===(21&ll)?(e.baseState&&(e.baseState=!1,bi=!0),e.memoizedState=n):(ir(n,t)||(n=ht(),il.lanes|=n,zu|=n,e.baseState=!0),t)}function Hl(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=al.transition;al.transition={};try{e(!1),t()}finally{bt=n,al.transition=r}}function Ql(){return bl().memoizedState}function ql(e,t,n){var r=es(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Kl(e))Xl(t,n);else if(null!==(n=Ma(e,t,n,r))){ts(n,e,r,Ju()),Gl(n,t,r)}}function Yl(e,t,n){var r=es(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kl(e))Xl(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=a(l,n);if(o.hasEagerState=!0,o.eagerState=i,ir(i,l)){var u=t.interleaved;return null===u?(o.next=o,La(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(s){}null!==(n=Ma(e,t,o,r))&&(ts(n,e,r,o=Ju()),Gl(n,t,r))}}function Kl(e){var t=e.alternate;return e===il||null!==t&&t===il}function Xl(e,t){dl=cl=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gl(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var Zl={readContext:Fa,useCallback:ml,useContext:ml,useEffect:ml,useImperativeHandle:ml,useInsertionEffect:ml,useLayoutEffect:ml,useMemo:ml,useReducer:ml,useRef:ml,useState:ml,useDebugValue:ml,useDeferredValue:ml,useTransition:ml,useMutableSource:ml,useSyncExternalStore:ml,useId:ml,unstable_isNewReconciler:!1},Jl={readContext:Fa,useCallback:function(e,t){return gl().memoizedState=[e,void 0===t?null:t],e},useContext:Fa,useEffect:zl,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ll(4194308,4,Al.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ll(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ll(4,2,e,t)},useMemo:function(e,t){var n=gl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ql.bind(null,il,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},gl().memoizedState=e},useState:Pl,useDebugValue:Ul,useDeferredValue:function(e){return gl().memoizedState=e},useTransition:function(){var e=Pl(!1),t=e[0];return e=Hl.bind(null,e[1]),gl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=il,o=gl();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Nu)throw Error(a(349));0!==(30&ll)||Cl(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,zl(_l.bind(null,r,l,e),[e]),r.flags|=2048,Fl(9,Tl.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=gl(),t=Nu.identifierPrefix;if(aa){var n=Zo;t=":"+t+"R"+(n=(Go&~(1<<32-lt(Go)-1)).toString(32)+n),0<(n=fl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ei={readContext:Fa,useCallback:jl,useContext:Fa,useEffect:$l,useImperativeHandle:Vl,useInsertionEffect:Dl,useLayoutEffect:Ol,useMemo:Bl,useReducer:kl,useRef:Il,useState:function(){return kl(wl)},useDebugValue:Ul,useDeferredValue:function(e){return Wl(bl(),ul.memoizedState,e)},useTransition:function(){return[kl(wl)[0],bl().memoizedState]},useMutableSource:El,useSyncExternalStore:xl,useId:Ql,unstable_isNewReconciler:!1},ti={readContext:Fa,useCallback:jl,useContext:Fa,useEffect:$l,useImperativeHandle:Vl,useInsertionEffect:Dl,useLayoutEffect:Ol,useMemo:Bl,useReducer:Sl,useRef:Il,useState:function(){return Sl(wl)},useDebugValue:Ul,useDeferredValue:function(e){var t=bl();return null===ul?t.memoizedState=e:Wl(t,ul.memoizedState,e)},useTransition:function(){return[Sl(wl)[0],bl().memoizedState]},useMutableSource:El,useSyncExternalStore:xl,useId:Ql,unstable_isNewReconciler:!1};function ni(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ri(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var oi={isMounted:function(e){return!!(e=e._reactInternals)&&je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ju(),o=es(e),a=Aa(r,o);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Va(e,a,o))&&(ts(t,e,o,r),Ua(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ju(),o=es(e),a=Aa(r,o);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Va(e,a,o))&&(ts(t,e,o,r),Ua(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ju(),r=es(e),o=Aa(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Va(e,o,r))&&(ts(t,e,r,n),Ua(t,e,r))}};function ai(e,t,n,r,o,a,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,l):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,a))}function li(e,t,n){var r=!1,o=No,a=t.contextType;return"object"===typeof a&&null!==a?a=Fa(a):(o=Lo(t)?Fo:Ro.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Io(e,o):No),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function ii(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&&oi.enqueueReplaceState(t,t.state,null)}function ui(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Da(e);var a=t.contextType;"object"===typeof a&&null!==a?o.context=Fa(a):(a=Lo(t)?Fo:Ro.current,o.context=Io(e,a)),o.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(ri(e,t,a,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&oi.enqueueReplaceState(o,o.state,null),Ba(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function si(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function ci(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function di(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fi="function"===typeof WeakMap?WeakMap:Map;function pi(e,t,n){(n=Aa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bu||(Bu=!0,Wu=r),di(0,t)},n}function mi(e,t,n){(n=Aa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){di(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){di(0,t),"function"!==typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fi;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)||(o.add(n),e=xs.bind(null,e,t,n),t.then(e,e))}function vi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yi(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Aa(-1,1)).tag=2,Va(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var gi=w.ReactCurrentOwner,bi=!1;function wi(e,t,n,r){t.child=null===e?Sa(t,null,n,r):ka(t,e.child,n,r)}function ki(e,t,n,r,o){n=n.render;var a=t.ref;return Pa(t,o),r=vl(e,t,n,r,a,o),n=yl(),null===e||bi?(aa&&n&&ta(t),t.flags|=1,wi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bi(e,t,o))}function Si(e,t,n,r,o){if(null===e){var a=n.type;return"function"!==typeof a||Fs(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ls(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ei(e,t,a,r,o))}if(a=e.child,0===(e.lanes&o)){var l=a.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(l,r)&&e.ref===t.ref)return Bi(e,t,o)}return t.flags|=1,(e=Is(a,r)).ref=t.ref,e.return=t,t.child=e}function Ei(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(ur(a,r)&&e.ref===t.ref){if(bi=!1,t.pendingProps=r=a,0===(e.lanes&o))return t.lanes=e.lanes,Bi(e,t,o);0!==(131072&e.flags)&&(bi=!0)}}return Ti(e,t,n,r,o)}function xi(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Iu,Fu),Fu|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Iu,Fu),Fu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,_o(Iu,Fu),Fu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,_o(Iu,Fu),Fu|=r;return wi(e,t,o,n),t.child}function Ci(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ti(e,t,n,r,o){var a=Lo(n)?Fo:Ro.current;return a=Io(t,a),Pa(t,o),n=vl(e,t,n,r,a,o),r=yl(),null===e||bi?(aa&&r&&ta(t),t.flags|=1,wi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bi(e,t,o))}function _i(e,t,n,r,o){if(Lo(n)){var a=!0;Do(t)}else a=!1;if(Pa(t,o),null===t.stateNode)ji(e,t),li(t,n,r),ui(t,n,r,o),r=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var u=l.context,s=n.contextType;"object"===typeof s&&null!==s?s=Fa(s):s=Io(t,s=Lo(n)?Fo:Ro.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;d||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==r||u!==s)&&ii(t,l,r,s),$a=!1;var f=t.memoizedState;l.state=f,Ba(t,r,l,o),u=t.memoizedState,i!==r||f!==u||Po.current||$a?("function"===typeof c&&(ri(t,n,c,r),u=t.memoizedState),(i=$a||ai(t,n,i,r,f,u,s))?(d||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||("function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"===typeof l.componentDidMount&&(t.flags|=4194308)):("function"===typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=i):("function"===typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Oa(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:ni(t.type,i),l.props=s,d=t.pendingProps,f=l.context,"object"===typeof(u=n.contextType)&&null!==u?u=Fa(u):u=Io(t,u=Lo(n)?Fo:Ro.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==d||f!==u)&&ii(t,l,r,u),$a=!1,f=t.memoizedState,l.state=f,Ba(t,r,l,o);var m=t.memoizedState;i!==d||f!==m||Po.current||$a?("function"===typeof p&&(ri(t,n,p,r),m=t.memoizedState),(s=$a||ai(t,n,s,r,f,m,u)||!1)?(c||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(r,m,u),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,m,u)),"function"===typeof l.componentDidUpdate&&(t.flags|=4),"function"===typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),l.props=r,l.state=m,l.context=u,r=s):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ni(e,t,n,r,a,o)}function Ni(e,t,n,r,o,a){Ci(e,t);var l=0!==(128&t.flags);if(!r&&!l)return o&&Oo(t,n,!1),Bi(e,t,a);r=t.stateNode,gi.current=t;var i=l&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=ka(t,e.child,null,a),t.child=ka(t,null,i,a)):wi(e,t,i,a),t.memoizedState=r.state,o&&Oo(t,n,!0),t.child}function Ri(e){var t=e.stateNode;t.pendingContext?zo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zo(0,t.context,!1),Xa(e,t.containerInfo)}function Pi(e,t,n,r,o){return ma(),ha(o),t.flags|=256,wi(e,t,n,r),t.child}var Fi,Ii,Li,Mi={dehydrated:null,treeContext:null,retryLane:0};function zi(e){return{baseLanes:e,cachePool:null,transitions:null}}function $i(e,t,n){var r,o=t.pendingProps,l=el.current,i=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&l)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),_o(el,1&l),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=o.children,e=o.fallback,i?(o=t.mode,i=t.child,u={mode:"hidden",children:u},0===(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=zs(u,o,0,null),e=Ms(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=zi(n),t.memoizedState=Mi,e):Di(t,u));if(null!==(l=e.memoizedState)&&null!==(r=l.dehydrated))return function(e,t,n,r,o,l,i){if(n)return 256&t.flags?(t.flags&=-257,Oi(e,t,i,r=ci(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=r.fallback,o=t.mode,r=zs({mode:"visible",children:r.children},o,0,null),(l=Ms(l,o,i,null)).flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,0!==(1&t.mode)&&ka(t,e.child,null,i),t.child.memoizedState=zi(i),t.memoizedState=Mi,l);if(0===(1&t.mode))return Oi(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Oi(e,t,i,r=ci(l=Error(a(419)),r,void 0))}if(u=0!==(i&e.childLanes),bi||u){if(null!==(r=Nu)){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|i))?0:o)&&o!==l.retryLane&&(l.retryLane=o,za(e,o),ts(r,e,o,-1))}return ms(),Oi(e,t,i,r=ci(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ts.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,oa=so(o.nextSibling),ra=t,aa=!0,la=null,null!==e&&(Yo[Ko++]=Go,Yo[Ko++]=Zo,Yo[Ko++]=Xo,Go=e.id,Zo=e.overflow,Xo=t),(t=Di(t,r.children)).flags|=4096,t)}(e,t,u,o,r,l,n);if(i){i=o.fallback,u=t.mode,r=(l=e.child).sibling;var s={mode:"hidden",children:o.children};return 0===(1&u)&&t.child!==l?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Is(l,s)).subtreeFlags=14680064&l.subtreeFlags,null!==r?i=Is(r,i):(i=Ms(i,u,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,u=null===(u=e.child.memoizedState)?zi(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~n,t.memoizedState=Mi,o}return e=(i=e.child).sibling,o=Is(i,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Di(e,t){return(t=zs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Oi(e,t,n,r){return null!==r&&ha(r),ka(t,e.child,null,n),(e=Di(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ai(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ra(e.return,t,n)}function Vi(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Ui(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(wi(e,t,r.children,n),0!==(2&(r=el.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ai(e,n,t);else if(19===e.tag)Ai(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}r&=1}if(_o(el,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===tl(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vi(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===tl(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vi(t,!0,n,null,a);break;case"together":Vi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ji(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bi(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Is(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Is(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wi(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var 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}}function Hi(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|=14680064&o.subtreeFlags,r|=14680064&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 Qi(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hi(t),null;case 1:case 17:return Lo(t.type)&&Mo(),Hi(t),null;case 3:return r=t.stateNode,Ga(),To(Po),To(Ro),rl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==la&&(as(la),la=null))),Hi(t),null;case 5:Ja(t);var o=Ka(Ya.current);if(n=t.type,null!==e&&null!=t.stateNode)Ii(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Hi(t),null}if(e=Ka(Qa.current),fa(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[po]=t,r[mo]=l,e=0!==(1&t.mode),n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(o=0;o<zr.length;o++)Ar(zr[o],r);break;case"source":Ar("error",r);break;case"img":case"image":case"link":Ar("error",r),Ar("load",r);break;case"details":Ar("toggle",r);break;case"input":X(r,l),Ar("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Ar("invalid",r);break;case"textarea":oe(r,l),Ar("invalid",r)}for(var u in ge(n,l),o=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==l.suppressHydrationWarning&&Zr(r.textContent,s,e),o=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==l.suppressHydrationWarning&&Zr(r.textContent,s,e),o=["children",""+s]):i.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Ar("scroll",r)}switch(n){case"input":Q(r),J(r,l,!0);break;case"textarea":Q(r),le(r);break;case"select":case"option":break;default:"function"===typeof l.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ie(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[po]=t,e[mo]=r,Fi(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),o=r;break;case"iframe":case"object":case"embed":Ar("load",e),o=r;break;case"video":case"audio":for(o=0;o<zr.length;o++)Ar(zr[o],e);o=r;break;case"source":Ar("error",e),o=r;break;case"img":case"image":case"link":Ar("error",e),Ar("load",e),o=r;break;case"details":Ar("toggle",e),o=r;break;case"input":X(e,r),o=K(e,r),Ar("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),Ar("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Ar("invalid",e)}for(l in ge(n,o),s=o)if(s.hasOwnProperty(l)){var c=s[l];"style"===l?ve(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===l?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(i.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Ar("scroll",e):null!=c&&b(e,l,c,u))}switch(n){case"input":Q(e),J(e,r,!1);break;case"textarea":Q(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ne(e,!!r.multiple,l,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Hi(t),null;case 6:if(e&&null!=t.stateNode)Li(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));if(n=Ka(Ya.current),Ka(Qa.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(l=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}l&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Hi(t),null;case 13:if(To(el),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!==(1&t.mode)&&0===(128&t.flags))pa(),ma(),t.flags|=98560,l=!1;else if(l=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(a(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(a(317));l[po]=t}else ma(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Hi(t),l=!1}else null!==la&&(as(la),la=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&el.current)?0===Lu&&(Lu=3):ms())),null!==t.updateQueue&&(t.flags|=4),Hi(t),null);case 4:return Ga(),null===e&&jr(t.stateNode.containerInfo),Hi(t),null;case 10:return Na(t.type._context),Hi(t),null;case 19:if(To(el),null===(l=t.memoizedState))return Hi(t),null;if(r=0!==(128&t.flags),null===(u=l.rendering))if(r)Wi(l,!1);else{if(0!==Lu||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=tl(e))){for(t.flags|=128,Wi(l,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=14680066,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(el,1&el.current|2),t.child}e=e.sibling}null!==l.tail&&Ge()>Uu&&(t.flags|=128,r=!0,Wi(l,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=tl(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wi(l,!0),null===l.tail&&"hidden"===l.tailMode&&!u.alternate&&!aa)return Hi(t),null}else 2*Ge()-l.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=128,r=!0,Wi(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=l.last)?n.sibling=u:t.child=u,l.last=u)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ge(),t.sibling=null,n=el.current,_o(el,r?1&n|2:1&n),t):(Hi(t),null);case 22:case 23:return cs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Fu)&&(Hi(t),6&t.subtreeFlags&&(t.flags|=8192)):Hi(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function qi(e,t){switch(na(t),t.tag){case 1:return Lo(t.type)&&Mo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ga(),To(Po),To(Ro),rl(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ja(t),null;case 13:if(To(el),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ma()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return To(el),null;case 4:return Ga(),null;case 10:return Na(t.type._context),null;case 22:case 23:return cs(),null;default:return null}}Fi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ii=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ka(Qa.current);var a,l=null;switch(n){case"input":o=K(e,o),r=K(e,r),l=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),l=[];break;case"textarea":o=re(e,o),r=re(e,r),l=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ge(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(i.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(l||(l=[]),l.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(l=l||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(i.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ar("scroll",e),l||u===s||(l=[])):(l=l||[]).push(c,s))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Li=function(e,t,n,r){n!==r&&(t.flags|=4)};var Yi=!1,Ki=!1,Xi="function"===typeof WeakSet?WeakSet:Set,Gi=null;function Zi(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Es(e,t,r)}else n.current=null}function Ji(e,t,n){try{n()}catch(r){Es(e,t,r)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&Ji(t,n,a)}o=o.next}while(o!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[mo],delete t[vo],delete t[yo],delete t[go])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function au(e){return 5===e.tag||3===e.tag||4===e.tag}function lu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||au(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(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 iu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(iu(e,t,n),e=e.sibling;null!==e;)iu(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var su=null,cu=!1;function du(e,t,n){for(n=n.child;null!==n;)fu(e,t,n),n=n.sibling}function fu(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(i){}switch(n.tag){case 5:Ki||Zi(n,t);case 6:var r=su,o=cu;su=null,du(e,t,n),cu=o,null!==(su=r)&&(cu?(e=su,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):su.removeChild(n.stateNode));break;case 18:null!==su&&(cu?(e=su,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),jt(e)):uo(su,n.stateNode));break;case 4:r=su,o=cu,su=n.stateNode.containerInfo,cu=!0,du(e,t,n),su=r,cu=o;break;case 0:case 11:case 14:case 15:if(!Ki&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,l=a.destroy;a=a.tag,void 0!==l&&(0!==(2&a)||0!==(4&a))&&Ji(n,t,l),o=o.next}while(o!==r)}du(e,t,n);break;case 1:if(!Ki&&(Zi(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Es(n,t,i)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Ki=(r=Ki)||null!==n.memoizedState,du(e,t,n),Ki=r):du(e,t,n);break;default:du(e,t,n)}}function pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xi),t.forEach((function(t){var r=_s.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var l=e,i=t,u=i;e:for(;null!==u;){switch(u.tag){case 5:su=u.stateNode,cu=!1;break e;case 3:case 4:su=u.stateNode.containerInfo,cu=!0;break e}u=u.return}if(null===su)throw Error(a(160));fu(l,i,o),su=null,cu=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(c){Es(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)hu(t,e),t=t.sibling}function hu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),vu(e),4&r){try{tu(3,e,e.return),nu(3,e)}catch(v){Es(e,e.return,v)}try{tu(5,e,e.return)}catch(v){Es(e,e.return,v)}}break;case 1:mu(t,e),vu(e),512&r&&null!==n&&Zi(n,n.return);break;case 5:if(mu(t,e),vu(e),512&r&&null!==n&&Zi(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){Es(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var l=e.memoizedProps,i=null!==n?n.memoizedProps:l,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===l.type&&null!=l.name&&G(o,l),be(u,i);var c=be(u,l);for(i=0;i<s.length;i+=2){var d=s[i],f=s[i+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(u){case"input":Z(o,l);break;case"textarea":ae(o,l);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!l.multiple;var m=l.value;null!=m?ne(o,!!l.multiple,m,!1):p!==!!l.multiple&&(null!=l.defaultValue?ne(o,!!l.multiple,l.defaultValue,!0):ne(o,!!l.multiple,l.multiple?[]:"",!1))}o[mo]=l}catch(v){Es(e,e.return,v)}}break;case 6:if(mu(t,e),vu(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,l=e.memoizedProps;try{o.nodeValue=l}catch(v){Es(e,e.return,v)}}break;case 3:if(mu(t,e),vu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{jt(t.containerInfo)}catch(v){Es(e,e.return,v)}break;case 4:default:mu(t,e),vu(e);break;case 13:mu(t,e),vu(e),8192&(o=e.child).flags&&(l=null!==o.memoizedState,o.stateNode.isHidden=l,!l||null!==o.alternate&&null!==o.alternate.memoizedState||(Vu=Ge())),4&r&&pu(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ki=(c=Ki)||d,mu(t,e),Ki=c):mu(t,e),vu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Gi=e,d=e.child;null!==d;){for(f=Gi=d;null!==Gi;){switch(m=(p=Gi).child,p.tag){case 0:case 11:case 14:case 15:tu(4,p,p.return);break;case 1:Zi(p,p.return);var h=p.stateNode;if("function"===typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(v){Es(r,n,v)}}break;case 5:Zi(p,p.return);break;case 22:if(null!==p.memoizedState){wu(f);continue}}null!==m?(m.return=p,Gi=m):wu(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"===typeof(l=o.style).setProperty?l.setProperty("display","none","important"):l.display="none":(u=f.stateNode,i=void 0!==(s=f.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=he("display",i))}catch(v){Es(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(v){Es(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:mu(t,e),vu(e),4&r&&pu(e);case 21:}}function vu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(au(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),uu(e,lu(e),o);break;case 3:case 4:var l=r.stateNode.containerInfo;iu(e,lu(e),l);break;default:throw Error(a(161))}}catch(i){Es(e,e.return,i)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yu(e,t,n){Gi=e,gu(e,t,n)}function gu(e,t,n){for(var r=0!==(1&e.mode);null!==Gi;){var o=Gi,a=o.child;if(22===o.tag&&r){var l=null!==o.memoizedState||Yi;if(!l){var i=o.alternate,u=null!==i&&null!==i.memoizedState||Ki;i=Yi;var s=Ki;if(Yi=l,(Ki=u)&&!s)for(Gi=o;null!==Gi;)u=(l=Gi).child,22===l.tag&&null!==l.memoizedState?ku(o):null!==u?(u.return=l,Gi=u):ku(o);for(;null!==a;)Gi=a,gu(a,t,n),a=a.sibling;Gi=o,Yi=i,Ki=s}bu(e)}else 0!==(8772&o.subtreeFlags)&&null!==a?(a.return=o,Gi=a):bu(e)}}function bu(e){for(;null!==Gi;){var t=Gi;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ki||nu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ki)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ni(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Wa(t,l,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wa(t,i,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&jt(f)}}}break;default:throw Error(a(163))}Ki||512&t.flags&&ru(t)}catch(p){Es(t,t.return,p)}}if(t===e){Gi=null;break}if(null!==(n=t.sibling)){n.return=t.return,Gi=n;break}Gi=t.return}}function wu(e){for(;null!==Gi;){var t=Gi;if(t===e){Gi=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Gi=n;break}Gi=t.return}}function ku(e){for(;null!==Gi;){var t=Gi;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nu(4,t)}catch(u){Es(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(u){Es(t,o,u)}}var a=t.return;try{ru(t)}catch(u){Es(t,a,u)}break;case 5:var l=t.return;try{ru(t)}catch(u){Es(t,l,u)}}}catch(u){Es(t,t.return,u)}if(t===e){Gi=null;break}var i=t.sibling;if(null!==i){i.return=t.return,Gi=i;break}Gi=t.return}}var Su,Eu=Math.ceil,xu=w.ReactCurrentDispatcher,Cu=w.ReactCurrentOwner,Tu=w.ReactCurrentBatchConfig,_u=0,Nu=null,Ru=null,Pu=0,Fu=0,Iu=Co(0),Lu=0,Mu=null,zu=0,$u=0,Du=0,Ou=null,Au=null,Vu=0,Uu=1/0,ju=null,Bu=!1,Wu=null,Hu=null,Qu=!1,qu=null,Yu=0,Ku=0,Xu=null,Gu=-1,Zu=0;function Ju(){return 0!==(6&_u)?Ge():-1!==Gu?Gu:Gu=Ge()}function es(e){return 0===(1&e.mode)?1:0!==(2&_u)&&0!==Pu?Pu&-Pu:null!==va.transition?(0===Zu&&(Zu=ht()),Zu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ts(e,t,n,r){if(50<Ku)throw Ku=0,Xu=null,Error(a(185));yt(e,n,r),0!==(2&_u)&&e===Nu||(e===Nu&&(0===(2&_u)&&($u|=n),4===Lu&&ls(e,Pu)),ns(e,r),1===n&&0===_u&&0===(1&t.mode)&&(Uu=Ge()+500,Vo&&Bo()))}function ns(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-lt(a),i=1<<l,u=o[l];-1===u?0!==(i&n)&&0===(i&r)||(o[l]=pt(i,t)):u<=t&&(e.expiredLanes|=i),a&=~i}}(e,t);var r=ft(e,e===Nu?Pu:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Vo=!0,jo(e)}(is.bind(null,e)):jo(is.bind(null,e)),lo((function(){0===(6&_u)&&Bo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ns(n,rs.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rs(e,t){if(Gu=-1,Zu=0,0!==(6&_u))throw Error(a(327));var n=e.callbackNode;if(ks()&&e.callbackNode!==n)return null;var r=ft(e,e===Nu?Pu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=hs(e,r);else{t=r;var o=_u;_u|=2;var l=ps();for(Nu===e&&Pu===t||(ju=null,Uu=Ge()+500,ds(e,t));;)try{ys();break}catch(u){fs(e,u)}_a(),xu.current=l,_u=o,null!==Ru?t=0:(Nu=null,Pu=0,t=Lu)}if(0!==t){if(2===t&&(0!==(o=mt(e))&&(r=o,t=os(e,o))),1===t)throw n=Mu,ds(e,0),ls(e,r),ns(e,Ge()),n;if(6===t)ls(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!ir(a(),o))return!1}catch(i){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}(o)&&(2===(t=hs(e,r))&&(0!==(l=mt(e))&&(r=l,t=os(e,l))),1===t))throw n=Mu,ds(e,0),ls(e,r),ns(e,Ge()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:ws(e,Au,ju);break;case 3:if(ls(e,r),(130023424&r)===r&&10<(t=Vu+500-Ge())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Ju(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ws.bind(null,e,Au,ju),t);break}ws(e,Au,ju);break;case 4:if(ls(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-lt(r);l=1<<i,(i=t[i])>o&&(o=i),r&=~l}if(r=o,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Eu(r/1960))-r)){e.timeoutHandle=ro(ws.bind(null,e,Au,ju),r);break}ws(e,Au,ju);break;default:throw Error(a(329))}}}return ns(e,Ge()),e.callbackNode===n?rs.bind(null,e):null}function os(e,t){var n=Ou;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=hs(e,t))&&(t=Au,Au=n,null!==t&&as(t)),e}function as(e){null===Au?Au=e:Au.push.apply(Au,e)}function ls(e,t){for(t&=~Du,t&=~$u,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lt(t),r=1<<n;e[n]=-1,t&=~r}}function is(e){if(0!==(6&_u))throw Error(a(327));ks();var t=ft(e,0);if(0===(1&t))return ns(e,Ge()),null;var n=hs(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=os(e,r))}if(1===n)throw n=Mu,ds(e,0),ls(e,t),ns(e,Ge()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ws(e,Au,ju),ns(e,Ge()),null}function us(e,t){var n=_u;_u|=1;try{return e(t)}finally{0===(_u=n)&&(Uu=Ge()+500,Vo&&Bo())}}function ss(e){null!==qu&&0===qu.tag&&0===(6&_u)&&ks();var t=_u;_u|=1;var n=Tu.transition,r=bt;try{if(Tu.transition=null,bt=1,e)return e()}finally{bt=r,Tu.transition=n,0===(6&(_u=t))&&Bo()}}function cs(){Fu=Iu.current,To(Iu)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ru)for(n=Ru.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Mo();break;case 3:Ga(),To(Po),To(Ro),rl();break;case 5:Ja(r);break;case 4:Ga();break;case 13:case 19:To(el);break;case 10:Na(r.type._context);break;case 22:case 23:cs()}n=n.return}if(Nu=e,Ru=e=Is(e.current,null),Pu=Fu=t,Lu=0,Mu=null,Du=$u=zu=0,Au=Ou=null,null!==Ia){for(t=0;t<Ia.length;t++)if(null!==(r=(n=Ia[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var l=a.next;a.next=o,r.next=l}n.pending=r}Ia=null}return e}function fs(e,t){for(;;){var n=Ru;try{if(_a(),ol.current=Zl,cl){for(var r=il.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}cl=!1}if(ll=0,sl=ul=il=null,dl=!1,fl=0,Cu.current=null,null===n||null===n.return){Lu=1,Mu=t,Ru=null;break}e:{var l=e,i=n.return,u=n,s=t;if(t=Pu,u.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,d=u,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=vi(i);if(null!==m){m.flags&=-257,yi(m,i,u,0,t),1&m.mode&&hi(l,c,t),s=c;var h=(t=m).updateQueue;if(null===h){var v=new Set;v.add(s),t.updateQueue=v}else h.add(s);break e}if(0===(1&t)){hi(l,c,t),ms();break e}s=Error(a(426))}else if(aa&&1&u.mode){var y=vi(i);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),yi(y,i,u,0,t),ha(si(s,u));break e}}l=s=si(s,u),4!==Lu&&(Lu=2),null===Ou?Ou=[l]:Ou.push(l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,ja(l,pi(0,s,t));break e;case 1:u=s;var g=l.type,b=l.stateNode;if(0===(128&l.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Hu||!Hu.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,ja(l,mi(l,u,t));break e}}l=l.return}while(null!==l)}bs(n)}catch(w){t=w,Ru===n&&null!==n&&(Ru=n=n.return);continue}break}}function ps(){var e=xu.current;return xu.current=Zl,null===e?Zl:e}function ms(){0!==Lu&&3!==Lu&&2!==Lu||(Lu=4),null===Nu||0===(268435455&zu)&&0===(268435455&$u)||ls(Nu,Pu)}function hs(e,t){var n=_u;_u|=2;var r=ps();for(Nu===e&&Pu===t||(ju=null,ds(e,t));;)try{vs();break}catch(o){fs(e,o)}if(_a(),_u=n,xu.current=r,null!==Ru)throw Error(a(261));return Nu=null,Pu=0,Lu}function vs(){for(;null!==Ru;)gs(Ru)}function ys(){for(;null!==Ru&&!Ke();)gs(Ru)}function gs(e){var t=Su(e.alternate,e,Fu);e.memoizedProps=e.pendingProps,null===t?bs(e):Ru=t,Cu.current=null}function bs(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Qi(n,t,Fu)))return void(Ru=n)}else{if(null!==(n=qi(n,t)))return n.flags&=32767,void(Ru=n);if(null===e)return Lu=6,void(Ru=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ru=t);Ru=t=e}while(null!==t);0===Lu&&(Lu=5)}function ws(e,t,n){var r=bt,o=Tu.transition;try{Tu.transition=null,bt=1,function(e,t,n,r){do{ks()}while(null!==qu);if(0!==(6&_u))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-lt(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,l),e===Nu&&(Ru=Nu=null,Pu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Qu||(Qu=!0,Ns(tt,(function(){return ks(),null}))),l=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||l){l=Tu.transition,Tu.transition=null;var i=bt;bt=1;var u=_u;_u|=4,Cu.current=null,function(e,t){if(eo=Wt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(k){n=null;break e}var i=0,u=-1,s=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var m;f!==n||0!==o&&3!==f.nodeType||(u=i+o),f!==l||0!==r&&3!==f.nodeType||(s=i+r),3===f.nodeType&&(i+=f.nodeValue.length),null!==(m=f.firstChild);)p=f,f=m;for(;;){if(f===e)break t;if(p===n&&++c===o&&(u=i),p===l&&++d===r&&(s=i),null!==(m=f.nextSibling))break;p=(f=p).parentNode}f=m}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Wt=!1,Gi=t;null!==Gi;)if(e=(t=Gi).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Gi=e;else for(;null!==Gi;){t=Gi;try{var h=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var v=h.memoizedProps,y=h.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:ni(t.type,v),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(k){Es(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Gi=e;break}Gi=t.return}h=eu,eu=!1}(e,n),hu(n,e),mr(to),Wt=!!eo,to=eo=null,e.current=n,yu(n,e,o),Xe(),_u=u,bt=i,Tu.transition=l}else e.current=n;if(Qu&&(Qu=!1,qu=e,Yu=o),0===(l=e.pendingLanes)&&(Hu=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ns(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Bu)throw Bu=!1,e=Wu,Wu=null,e;0!==(1&Yu)&&0!==e.tag&&ks(),0!==(1&(l=e.pendingLanes))?e===Xu?Ku++:(Ku=0,Xu=e):Ku=0,Bo()}(e,t,n,r)}finally{Tu.transition=o,bt=r}return null}function ks(){if(null!==qu){var e=wt(Yu),t=Tu.transition,n=bt;try{if(Tu.transition=null,bt=16>e?16:e,null===qu)var r=!1;else{if(e=qu,qu=null,Yu=0,0!==(6&_u))throw Error(a(331));var o=_u;for(_u|=4,Gi=e.current;null!==Gi;){var l=Gi,i=l.child;if(0!==(16&Gi.flags)){var u=l.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Gi=c;null!==Gi;){var d=Gi;switch(d.tag){case 0:case 11:case 15:tu(8,d,l)}var f=d.child;if(null!==f)f.return=d,Gi=f;else for(;null!==Gi;){var p=(d=Gi).sibling,m=d.return;if(ou(d),d===c){Gi=null;break}if(null!==p){p.return=m,Gi=p;break}Gi=m}}}var h=l.alternate;if(null!==h){var v=h.child;if(null!==v){h.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(null!==v)}}Gi=l}}if(0!==(2064&l.subtreeFlags)&&null!==i)i.return=l,Gi=i;else e:for(;null!==Gi;){if(0!==(2048&(l=Gi).flags))switch(l.tag){case 0:case 11:case 15:tu(9,l,l.return)}var g=l.sibling;if(null!==g){g.return=l.return,Gi=g;break e}Gi=l.return}}var b=e.current;for(Gi=b;null!==Gi;){var w=(i=Gi).child;if(0!==(2064&i.subtreeFlags)&&null!==w)w.return=i,Gi=w;else e:for(i=b;null!==Gi;){if(0!==(2048&(u=Gi).flags))try{switch(u.tag){case 0:case 11:case 15:nu(9,u)}}catch(S){Es(u,u.return,S)}if(u===i){Gi=null;break e}var k=u.sibling;if(null!==k){k.return=u.return,Gi=k;break e}Gi=u.return}}if(_u=o,Bo(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(S){}r=!0}return r}finally{bt=n,Tu.transition=t}}return!1}function Ss(e,t,n){e=Va(e,t=pi(0,t=si(n,t),1),1),t=Ju(),null!==e&&(yt(e,1,t),ns(e,t))}function Es(e,t,n){if(3===e.tag)Ss(e,e,n);else for(;null!==t;){if(3===t.tag){Ss(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){t=Va(t,e=mi(t,e=si(n,e),1),1),e=Ju(),null!==t&&(yt(t,1,e),ns(t,e));break}}t=t.return}}function xs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Ju(),e.pingedLanes|=e.suspendedLanes&n,Nu===e&&(Pu&n)===n&&(4===Lu||3===Lu&&(130023424&Pu)===Pu&&500>Ge()-Vu?ds(e,0):Du|=n),ns(e,t)}function Cs(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=Ju();null!==(e=za(e,t))&&(yt(e,t,n),ns(e,n))}function Ts(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cs(e,n)}function _s(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Cs(e,n)}function Ns(e,t){return qe(e,t)}function Rs(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.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 Ps(e,t,n,r){return new Rs(e,t,n,r)}function Fs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Is(e,t){var n=e.alternate;return null===n?((n=Ps(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=14680064&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}function Ls(e,t,n,r,o,l){var i=2;if(r=e,"function"===typeof e)Fs(e)&&(i=1);else if("string"===typeof e)i=5;else e:switch(e){case E:return Ms(n.children,o,l,t);case x:i=8,o|=8;break;case C:return(e=Ps(12,n,t,2|o)).elementType=C,e.lanes=l,e;case R:return(e=Ps(13,n,t,o)).elementType=R,e.lanes=l,e;case P:return(e=Ps(19,n,t,o)).elementType=P,e.lanes=l,e;case L:return zs(n,o,l,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case T:i=10;break e;case _:i=9;break e;case N:i=11;break e;case F:i=14;break e;case I:i=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ps(i,n,t,o)).elementType=e,t.type=r,t.lanes=l,t}function Ms(e,t,n,r){return(e=Ps(7,e,r,t)).lanes=n,e}function zs(e,t,n,r){return(e=Ps(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function $s(e,t,n){return(e=Ps(6,e,null,t)).lanes=n,e}function Ds(e,t,n){return(t=Ps(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Os(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function As(e,t,n,r,o,a,l,i,u){return e=new Os(e,t,n,i,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ps(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Da(a),e}function Vs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Us(e){if(!e)return No;e:{if(je(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Lo(n))return $o(e,n,t)}return t}function js(e,t,n,r,o,a,l,i,u){return(e=As(n,r,!0,e,0,a,0,i,u)).context=Us(null),n=e.current,(a=Aa(r=Ju(),o=es(n))).callback=void 0!==t&&null!==t?t:null,Va(n,a,o),e.current.lanes=o,yt(e,o,r),ns(e,r),e}function Bs(e,t,n,r){var o=t.current,a=Ju(),l=es(o);return n=Us(n),null===t.context?t.context=n:t.pendingContext=n,(t=Aa(a,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Va(o,t,l))&&(ts(e,o,l,a),Ua(e,o,l)),l}function Ws(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qs(e,t){Hs(e,t),(e=e.alternate)&&Hs(e,t)}Su=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)bi=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bi=!1,function(e,t,n){switch(t.tag){case 3:Ri(t),ma();break;case 5:Za(t);break;case 1:Lo(t.type)&&Do(t);break;case 4:Xa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(Ea,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(el,1&el.current),t.flags|=128,null):0!==(n&t.child.childLanes)?$i(e,t,n):(_o(el,1&el.current),null!==(e=Bi(e,t,n))?e.sibling:null);_o(el,1&el.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ui(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(el,el.current),r)break;return null;case 22:case 23:return t.lanes=0,xi(e,t,n)}return Bi(e,t,n)}(e,t,n);bi=0!==(131072&e.flags)}else bi=!1,aa&&0!==(1048576&t.flags)&&ea(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ji(e,t),e=t.pendingProps;var o=Io(t,Ro.current);Pa(t,n),o=vl(null,t,r,e,o,n);var l=yl();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(l=!0,Do(t)):l=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Da(t),o.updater=oi,t.stateNode=o,o._reactInternals=t,ui(t,r,e,n),t=Ni(null,t,r,!0,l,n)):(t.tag=0,aa&&l&&ta(t),wi(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ji(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Fs(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===N)return 11;if(e===F)return 14}return 2}(r),e=ni(r,e),o){case 0:t=Ti(null,t,r,e,n);break e;case 1:t=_i(null,t,r,e,n);break e;case 11:t=ki(null,t,r,e,n);break e;case 14:t=Si(null,t,r,ni(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ti(e,t,r,o=t.elementType===r?o:ni(r,o),n);case 1:return r=t.type,o=t.pendingProps,_i(e,t,r,o=t.elementType===r?o:ni(r,o),n);case 3:e:{if(Ri(t),null===e)throw Error(a(387));r=t.pendingProps,o=(l=t.memoizedState).element,Oa(e,t),Ba(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated){if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=Pi(e,t,r,n,o=si(Error(a(423)),t));break e}if(r!==o){t=Pi(e,t,r,n,o=si(Error(a(424)),t));break e}for(oa=so(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,la=null,n=Sa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ma(),r===o){t=Bi(e,t,n);break e}wi(e,t,r,n)}t=t.child}return t;case 5:return Za(t),null===e&&ca(t),r=t.type,o=t.pendingProps,l=null!==e?e.memoizedProps:null,i=o.children,no(r,o)?i=null:null!==l&&no(r,l)&&(t.flags|=32),Ci(e,t),wi(e,t,i,n),t.child;case 6:return null===e&&ca(t),null;case 13:return $i(e,t,n);case 4:return Xa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ka(t,null,r,n):wi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ki(e,t,r,o=t.elementType===r?o:ni(r,o),n);case 7:return wi(e,t,t.pendingProps,n),t.child;case 8:case 12:return wi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,_o(Ea,r._currentValue),r._currentValue=i,null!==l)if(ir(l.value,i)){if(l.children===o.children&&!Po.current){t=Bi(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===l.tag){(s=Aa(-1,n&-n)).tag=2;var c=l.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?s.next=s:(s.next=d.next,d.next=s),c.pending=s}}l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Ra(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===l.tag)i=l.type===t.type?null:l.child;else if(18===l.tag){if(null===(i=l.return))throw Error(a(341));i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Ra(i,n,t),i=l.sibling}else i=l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}wi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Pa(t,n),r=r(o=Fa(o)),t.flags|=1,wi(e,t,r,n),t.child;case 14:return o=ni(r=t.type,t.pendingProps),Si(e,t,r,o=ni(r.type,o),n);case 15:return Ei(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ni(r,o),ji(e,t),t.tag=1,Lo(r)?(e=!0,Do(t)):e=!1,Pa(t,n),li(t,r,o),ui(t,r,o,n),Ni(null,t,r,!0,e,n);case 19:return Ui(e,t,n);case 22:return xi(e,t,n)}throw Error(a(156,t.tag))};var qs="function"===typeof reportError?reportError:function(e){console.error(e)};function Ys(e){this._internalRoot=e}function Ks(e){this._internalRoot=e}function Xs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Gs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zs(){}function Js(e,t,n,r,o){var a=n._reactRootContainer;if(a){var l=a;if("function"===typeof o){var i=o;o=function(){var e=Ws(l);i.call(e)}}Bs(t,l,e,o)}else l=function(e,t,n,r,o){if(o){if("function"===typeof r){var a=r;r=function(){var e=Ws(l);a.call(e)}}var l=js(t,r,e,0,null,!1,0,"",Zs);return e._reactRootContainer=l,e[ho]=l.current,jr(8===e.nodeType?e.parentNode:e),ss(),l}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var i=r;r=function(){var e=Ws(u);i.call(e)}}var u=As(e,0,!1,null,0,!1,0,"",Zs);return e._reactRootContainer=u,e[ho]=u.current,jr(8===e.nodeType?e.parentNode:e),ss((function(){Bs(t,u,n,r)})),u}(n,t,e,o,r);return Ws(l)}Ks.prototype.render=Ys.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Bs(e,t,null,null)},Ks.prototype.unmount=Ys.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ss((function(){Bs(null,e,null,null)})),t[ho]=null}},Ks.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Dt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),ns(t,Ge()),0===(6&_u)&&(Uu=Ge()+500,Bo()))}break;case 13:ss((function(){var t=za(e,1);if(null!==t){var n=Ju();ts(t,e,1,n)}})),Qs(e,1)}},St=function(e){if(13===e.tag){var t=za(e,134217728);if(null!==t)ts(t,e,134217728,Ju());Qs(e,134217728)}},Et=function(e){if(13===e.tag){var t=es(e),n=za(e,t);if(null!==n)ts(n,e,t,Ju());Qs(e,t)}},xt=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(a(90));q(r),Z(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ne=us,Re=ss;var ec={usingClientEntryPoint:!1,Events:[wo,ko,So,Te,_e,us]},tc={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{ot=rc.inject(nc),at=rc}catch(ce){}}},6333:function(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),n(7001)},4964:function(e,t,n){var r=n(7935),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,a={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,r)&&!u.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:a,_owner:i.current}}t.jsx=s,t.jsxs=s},1623:function(e,t){var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): 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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var w=b.prototype=new g;w.constructor=b,h(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,S=Object.prototype.hasOwnProperty,E={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},l=null,i=null;if(null!=t)for(o in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)S.call(t,o)&&!x.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:l,ref:i,props:a,_owner:E.current}}function T(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function N(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,a,l){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return l=l(u=e),e=""===a?"."+N(u,0):a,k(l)?(o="",null!=e&&(o=e.replace(_,"$&/")+"/"),R(l,t,o,"",(function(e){return e}))):null!=l&&(T(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,o+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(_,"$&/")+"/")+e)),t.push(l)),1;if(u=0,a=""===a?".":a+":",k(e))for(var s=0;s<e.length;s++){var c=a+N(i=e[s],s);u+=R(i,t,o,c,l)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(i=e.next()).done;)u+=R(i=i.value,t,o,c=a+N(i,s++),l);else if("object"===i)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 P(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 F(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},L={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:L,ReactCurrentOwner:E};function z(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=l,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.act=z,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),a=e.key,l=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,i=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)S.call(t,s)&&!x.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:l,props:o,_owner:i}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:F}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=z,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"},7935:function(e,t,n){e.exports=n(1623)},2608:function(e,t,n){e.exports=n(4964)},604:function(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<a(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,l=o>>>1;r<l;){var i=2*(r+1)-1,u=e[i],s=i+1,c=e[s];if(0>a(u,n))s<o&&0>a(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(s<o&&0>a(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();t.unstable_now=function(){return i.now()-u}}var s=[],c=[],d=1,f=null,p=3,m=!1,h=!1,v=!1,y="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,b="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(s,t)}t=r(c)}}function k(e){if(v=!1,w(e),!h)if(null!==r(s))h=!0,L(S);else{var t=r(c);null!==t&&M(k,t.startTime-e)}}function S(e,n){h=!1,v&&(v=!1,g(T),T=-1),m=!0;var a=p;try{for(w(n),f=r(s);null!==f&&(!(f.expirationTime>n)||e&&!R());){var l=f.callback;if("function"===typeof l){f.callback=null,p=f.priorityLevel;var i=l(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof i?f.callback=i:f===r(s)&&o(s),w(n)}else o(s);f=r(s)}if(null!==f)var u=!0;else{var d=r(c);null!==d&&M(k,d.startTime-n),u=!1}return u}finally{f=null,p=a,m=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,x=!1,C=null,T=-1,_=5,N=-1;function R(){return!(t.unstable_now()-N<_)}function P(){if(null!==C){var e=t.unstable_now();N=e;var n=!0;try{n=C(!0,e)}finally{n?E():(x=!1,C=null)}}else x=!1}if("function"===typeof b)E=function(){b(P)};else if("undefined"!==typeof MessageChannel){var F=new MessageChannel,I=F.port2;F.port1.onmessage=P,E=function(){I.postMessage(null)}}else E=function(){y(P,0)};function L(e){C=e,x||(x=!0,E())}function M(e,n){T=y((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_continueExecution=function(){h||m||(h=!0,L(S))},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"):_=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},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_pauseExecution=function(){},t.unstable_requestPaint=function(){},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,a){var l=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?l+a:l:a=l,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:i=a+i,sortIndex:-1},a>l?(e.sortIndex=a,n(c,e),null===r(s)&&e===r(c)&&(v?(g(T),T=-1):v=!0,M(k,a-l))):(e.sortIndex=i,n(s,e),h||m||(h=!0,L(S))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},8172:function(e,t,n){e.exports=n(604)},3169:function(e,t,n){n(3872)},3872:function(e,t,n){var r=n(7935),o=n(2608),a=(n(6333),Object.defineProperty),l=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0,configurable:!0,set:e=>t[n]=()=>e})},i=((0,r.createContext)({setClipRegion:()=>{throw new Error("NativeLayers not set")},clipRegion:null}),()=>{const e="undefined"!==typeof window&&window.remotion_isPlayer,t="undefined"!==typeof window&&"undefined"!==typeof window.process&&"undefined"!==typeof window.process.env&&("test"===window.process.env.NODE_ENV||"production"===window.process.env.NODE_ENV&&"undefined"!==typeof window&&"undefined"!==typeof window.remotion_puppeteerTimeout);return{isStudio:"undefined"!==typeof window&&window.remotion_isStudio,isRendering:t,isPlayer:e}}),u=r.createElement,s=[],c=()=>{if(!i().isStudio)return;const e=new Proxy(u,{apply(e,t,n){if(s.includes(n[0])){const[r,o,...a]=n,l={...o??{},stack:(new Error).stack};return Reflect.apply(e,t,[r,l,...a])}return Reflect.apply(e,t,n)}});r.createElement=e},d=e=>{s.push(e),c()},f=(0,r.createContext)(!1),p=()=>(0,r.useContext)(f);function m(e){return Boolean(e)}var h="4.0.157",v=(0,r.forwardRef)(((e,t)=>{const{style:n,...a}=e,l=(0,r.useMemo)((()=>({position:"absolute",top:0,left:0,right:0,bottom:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",...n})),[n]);return(0,o.jsx)("div",{ref:t,style:l,...a})})),y=(0,r.createContext)(null),g=r.createContext({registerSequence:()=>{throw new Error("SequenceManagerContext not initialized")},unregisterSequence:()=>{throw new Error("SequenceManagerContext not initialized")},sequences:[]}),b=r.createContext({hidden:{},setHidden:()=>{throw new Error("SequenceVisibilityToggle not initialized")}}),w=(0,r.createContext)({getNonce:()=>0,fastRefreshes:0}),k=()=>{const e=(0,r.useContext)(w),[t,n]=(0,r.useState)((()=>e.getNonce())),o=(0,r.useRef)(e);return(0,r.useEffect)((()=>{o.current!==e&&(o.current=e,n(e.getNonce))}),[e]),t},S={};l(S,{useTimelineSetFrame:()=>Q,useTimelinePosition:()=>H,usePlayingState:()=>q,persistCurrentFrame:()=>j,getInitialFrameState:()=>B,getFrameForComposition:()=>W,TimelineContext:()=>V,SetTimelineContext:()=>U});var E=(0,r.createContext)({compositions:[],registerComposition:()=>{},unregisterComposition:()=>{},registerFolder:()=>{},unregisterFolder:()=>{},setCurrentCompositionMetadata:()=>{},updateCompositionDefaultProps:()=>{},folders:[],currentCompositionMetadata:null,canvasContent:null,setCanvasContent:()=>{}}),x=(0,r.createContext)({props:{},updateProps:()=>{throw new Error("Not implemented")},resetUnsaved:()=>{throw new Error("Not implemented")}}),C=(r.createRef(),{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";"}),T={},_=e=>e.startsWith("/")?_(e.substring(1)):e,N=e=>{if(e.startsWith("http://")||e.startsWith("https://"))throw new TypeError(`staticFile() does not support remote URLs - got "${e}". Instead, pass the URL without wrapping it in staticFile(). See: https://remotion.dev/docs/staticfile-remote-urls`);if(e.startsWith("..")||e.startsWith("./"))throw new TypeError(`staticFile() does not support relative paths - got "${e}". Instead, pass the name of a file that is inside the public/ folder. See: https://remotion.dev/docs/staticfile-relative-paths`);if(e.startsWith("/Users")||e.startsWith("/home")||e.startsWith("/tmp")||e.startsWith("/etc")||e.startsWith("/opt")||e.startsWith("/var")||e.startsWith("C:")||e.startsWith("D:")||e.startsWith("E:"))throw new TypeError(`staticFile() does not support absolute paths - got "${e}". Instead, pass the name of a file that is inside the public/ folder. See: https://remotion.dev/docs/staticfile-relative-paths`);if(e.startsWith("public/"))throw new TypeError(`Do not include the public/ prefix when using staticFile() - got "${e}". See: https://remotion.dev/docs/staticfile-relative-paths`);const t=(e=>{for(const t of Object.keys(C))if(e.includes(t))return{containsHex:!0,hexCode:t};return{containsHex:!1}})(e);var n;t.containsHex&&(n=`WARNING: You seem to pass an already encoded path (path contains ${t.hexCode}). Since Remotion 4.0, the encoding is done by staticFile() itself. You may want to remove a encodeURIComponent() wrapping.`,T[n]||(console.warn(n),T[n]=!0));const r=(e=>e.split("/").map((e=>encodeURIComponent(e))).join("/"))(e),o=(e=>{if("undefined"!==typeof window&&window.remotion_staticBase){if(e.startsWith(window.remotion_staticBase))throw new Error(`The value "${e}" is already prefixed with the static base ${window.remotion_staticBase}. You don't need to call staticFile() on it.`);return`${window.remotion_staticBase}/${_(e)}`}return`/${_(e)}`})(r);return o.startsWith("/")?o:`/${o}`},R="remotion-date:",P="remotion-file:",F=!1,I=()=>{if("undefined"===typeof window)return F||(F=!0,console.warn("Called `getInputProps()` on the server. This function is not available server-side and has returned an empty object."),console.warn("To hide this warning, don't call this function on the server:"),console.warn(" typeof window === 'undefined' ? {} : getInputProps()")),{};if(i().isPlayer)throw new Error("You cannot call `getInputProps()` from a <Player>. Instead, the props are available as React props from component that you passed as `component` prop.");const e=window.remotion_inputProps;if(!e)return{};var t;return t=e,JSON.parse(t,((e,t)=>"string"===typeof t&&t.startsWith(R)?new Date(t.replace(R,"")):"string"===typeof t&&t.startsWith(P)?N(t.replace(P,"")):t))};function L(e,t,n){if("number"!==typeof e)throw new Error(`The "${t}" prop ${n} must be a number, but you passed a value of type ${typeof e}`);if(isNaN(e))throw new TypeError(`The "${t}" prop ${n} must not be NaN, but is NaN.`);if(!Number.isFinite(e))throw new TypeError(`The "${t}" prop ${n} must be finite, but is ${e}.`);if(e%1!==0)throw new TypeError(`The "${t}" prop ${n} must be an integer, but is ${e}.`);if(e<=0)throw new TypeError(`The "${t}" prop ${n} must be positive, but got ${e}.`)}function M(e,t){const{allowFloats:n,component:r}=t;if("undefined"===typeof e)throw new Error(`The "durationInFrames" prop ${r} is missing.`);if("number"!==typeof e)throw new Error(`The "durationInFrames" prop ${r} must be a number, but you passed a value of type ${typeof e}`);if(e<=0)throw new TypeError(`The "durationInFrames" prop ${r} must be positive, but got ${e}.`);if(!n&&e%1!==0)throw new TypeError(`The "durationInFrames" prop ${r} must be an integer, but got ${e}.`);if(!Number.isFinite(e))throw new TypeError(`The "durationInFrames" prop ${r} must be finite, but got ${e}.`)}function z(e,t,n){if("number"!==typeof e)throw new Error(`"fps" must be a number, but you passed a value of type ${typeof e} ${t}`);if(!Number.isFinite(e))throw new Error(`"fps" must be a finite, but you passed ${e} ${t}`);if(isNaN(e))throw new Error(`"fps" must not be NaN, but got ${e} ${t}`);if(e<=0)throw new TypeError(`"fps" must be positive, but got ${e} ${t}`);if(n&&e>50)throw new TypeError("The FPS for a GIF cannot be higher than 50. Use the --every-nth-frame option to lower the FPS: https://remotion.dev/docs/render-as-gif")}var $=(0,r.createContext)(null),D=((0,r.createRef)(),e=>Boolean(e.calculateMetadata)),O=e=>{const t=(0,r.useContext)($),{props:n}=(0,r.useContext)(x),{compositions:o,canvasContent:a,currentCompositionMetadata:l}=(0,r.useContext)(E),u="composition"===(null===a||void 0===a?void 0:a.type)?a.compositionId:null,s=e??u,c=o.find((e=>e.id===s)),d=(0,r.useMemo)((()=>c?n[c.id]??{}:{}),[n,c]);return(0,r.useMemo)((()=>c?l?{type:"success",result:{...l,id:c.id,props:l.props,defaultProps:c.defaultProps??{},defaultCodec:l.defaultCodec}}:D(c)?t[c.id]?t[c.id]:null:(M(c.durationInFrames,{allowFloats:!1,component:`in <Composition id="${c.id}">`}),z(c.fps,`in <Composition id="${c.id}">`,!1),L(c.width,"width",`in <Composition id="${c.id}">`),L(c.height,"height",`in <Composition id="${c.id}">`),{type:"success",result:{width:c.width,height:c.height,fps:c.fps,id:c.id,durationInFrames:c.durationInFrames,defaultProps:c.defaultProps??{},props:{...c.defaultProps??{},...d??{},..."undefined"===typeof window||i().isPlayer?{}:I()??{}},defaultCodec:null}}):null),[c,t,l,d])},A=()=>{const{canvasContent:e,compositions:t,currentCompositionMetadata:n}=(0,r.useContext)(E),o=t.find((t=>"composition"===(null===e||void 0===e?void 0:e.type)&&t.id===e.compositionId)),a=O((null===o||void 0===o?void 0:o.id)??null);return(0,r.useMemo)((()=>a?"error"===a.type||"loading"===a.type?null:o?{...a.result,defaultProps:o.defaultProps??{},id:o.id,...n??{},component:o.component}:null:null),[n,a,o])},V=(0,r.createContext)({frame:{},playing:!1,playbackRate:1,rootId:"",imperativePlaying:{current:!1},setPlaybackRate:()=>{throw new Error("default")},audioAndVideoTags:{current:[]}}),U=(0,r.createContext)({setFrame:()=>{throw new Error("default")},setPlaying:()=>{throw new Error("default")}}),j=e=>{localStorage.setItem("remotion.time-all",JSON.stringify(e))},B=()=>{const e=localStorage.getItem("remotion.time-all")??"{}";return JSON.parse(e)},W=e=>{const t=localStorage.getItem("remotion.time-all")??"{}",n=JSON.parse(t);return void 0!==n[e]?Number(n[e]):"undefined"===typeof window?0:window.remotion_initialFrame??0},H=()=>{const e=A(),t=(0,r.useContext)(V);if(!e)return"undefined"===typeof window?0:window.remotion_initialFrame??0;const n=t.frame[e.id]??(i().isPlayer?0:W(e.id));return Math.min(e.durationInFrames-1,n)},Q=()=>{const{setFrame:e}=(0,r.useContext)(U);return e},q=()=>{const{playing:e,imperativePlaying:t}=(0,r.useContext)(V),{setPlaying:n}=(0,r.useContext)(U);return(0,r.useMemo)((()=>[e,n,t]),[t,e,n])},Y=(0,r.createContext)(!1),K=()=>{const e=(0,r.useContext)(y),t=(null===e||void 0===e?void 0:e.width)??null,n=(null===e||void 0===e?void 0:e.height)??null,o=(null===e||void 0===e?void 0:e.durationInFrames)??null,a=A();return(0,r.useMemo)((()=>{if(!a)return null;const{id:e,durationInFrames:r,fps:l,height:i,width:u,defaultProps:s,props:c,defaultCodec:d}=a;return{id:e,width:t??u,height:n??i,fps:l,durationInFrames:o??r,defaultProps:s,props:c,defaultCodec:d}}),[o,n,t,a])},X=()=>{const e=K(),t=(0,r.useContext)(Y),n=p();if(!e){if("undefined"!==typeof window&&window.remotion_isPlayer||n)throw new Error(["No video config found. Likely reasons:","- You are probably calling useVideoConfig() from outside the component passed to <Player />. See https://www.remotion.dev/docs/player/examples for how to set up the Player correctly.","- You have multiple versions of Remotion installed which causes the React context to get lost."].join("-"));throw new Error("No video config found. You are probably calling useVideoConfig() from a component which has not been registered as a <Composition />. See https://www.remotion.dev/docs/the-fundamentals#defining-compositions for more information.")}if(!t)throw new Error("Called useVideoConfig() outside a Remotion composition.");return e},G=()=>{if(!(0,r.useContext)(Y)){if(i().isPlayer)throw new Error("useCurrentFrame can only be called inside a component that was passed to <Player>. See: https://www.remotion.dev/docs/player/examples");throw new Error("useCurrentFrame() can only be called inside a component that was registered as a composition. See https://www.remotion.dev/docs/the-fundamentals#defining-compositions")}const e=H(),t=(0,r.useContext)(y);return e-(t?t.cumulatedFrom+t.relativeFrom:0)},Z=e=>{let{frame:t,children:n,active:a=!0}=e;const l=G(),i=X();if("undefined"===typeof t)throw new Error("The <Freeze /> component requires a 'frame' prop, but none was passed.");if("number"!==typeof t)throw new Error("The 'frame' prop of <Freeze /> must be a number, but is of type "+typeof t);if(Number.isNaN(t))throw new Error("The 'frame' prop of <Freeze /> must be a real number, but it is NaN.");if(!Number.isFinite(t))throw new Error(`The 'frame' prop of <Freeze /> must be a finite number, but it is ${t}.`);const u=(0,r.useMemo)((()=>"boolean"===typeof a?a:"function"===typeof a?a(l):void 0),[a,l]),s=(0,r.useContext)(V),c=(0,r.useContext)(y),d=(null===c||void 0===c?void 0:c.relativeFrom)??0,f=(0,r.useMemo)((()=>u?{...s,playing:!1,imperativePlaying:{current:!1},frame:{[i.id]:t+d}}:s),[u,s,i.id,t,d]);return(0,o.jsx)(V.Provider,{value:f,children:n})},J=(0,r.forwardRef)(((e,t)=>{let{from:n=0,durationInFrames:a=1/0,children:l,name:u,height:s,width:c,showInTimeline:d=!0,_remotionInternalLoopDisplay:f,_remotionInternalStack:p,_remotionInternalPremountDisplay:m,...h}=e;const{layout:w="absolute-fill"}=h,[S]=(0,r.useState)((()=>String(Math.random()))),E=(0,r.useContext)(y),{rootId:x}=(0,r.useContext)(V),C=E?E.cumulatedFrom+E.relativeFrom:0,T=k();if("absolute-fill"!==w&&"none"!==w)throw new TypeError(`The layout prop of <Sequence /> expects either "absolute-fill" or "none", but you passed: ${w}`);if("none"===w&&"undefined"!==typeof h.style)throw new TypeError('If layout="none", you may not pass a style.');if("number"!==typeof a)throw new TypeError(`You passed to durationInFrames an argument of type ${typeof a}, but it must be a number.`);if(a<=0)throw new TypeError(`durationInFrames must be positive, but got ${a}`);if("number"!==typeof n)throw new TypeError(`You passed to the "from" props of your <Sequence> an argument of type ${typeof n}, but it must be a number.`);if(!Number.isFinite(n))throw new TypeError(`The "from" prop of a sequence must be finite, but got ${n}.`);const _=H(),N=X(),R=E?Math.min(E.durationInFrames-n,a):a,P=Math.max(0,Math.min(N.durationInFrames-n,R)),{registerSequence:F,unregisterSequence:I}=(0,r.useContext)(g),{hidden:L}=(0,r.useContext)(b),M=(0,r.useMemo)((()=>(null===E||void 0===E?void 0:E.premounting)??Boolean(h._remotionInternalIsPremounting)),[h._remotionInternalIsPremounting,null===E||void 0===E?void 0:E.premounting]),z=(0,r.useMemo)((()=>({cumulatedFrom:C,relativeFrom:n,durationInFrames:P,parentFrom:(null===E||void 0===E?void 0:E.relativeFrom)??0,id:S,height:s??(null===E||void 0===E?void 0:E.height)??null,width:c??(null===E||void 0===E?void 0:E.width)??null,premounting:M})),[C,n,P,E,S,s,c,M]),$=(0,r.useMemo)((()=>u??""),[u]);(0,r.useEffect)((()=>{if(i().isStudio)return F({from:n,duration:P,id:S,displayName:$,parent:(null===E||void 0===E?void 0:E.id)??null,type:"sequence",rootId:x,showInTimeline:d,nonce:T,loopDisplay:f,stack:p??null,premountDisplay:m??null}),()=>{I(S)}}),[a,S,u,F,$,I,null===E||void 0===E?void 0:E.id,P,x,n,d,T,f,p,m]);const D=Math.ceil(C+n+a-1),O=_<C+n||_>D?null:l,A="none"===h.layout?void 0:h.style,U=(0,r.useMemo)((()=>({flexDirection:void 0,...c?{width:c}:{},...s?{height:s}:{},...A??{}})),[s,A,c]);if(null!==t&&"none"===w)throw new TypeError('It is not supported to pass both a `ref` and `layout="none"` to <Sequence />.');return L[S]??!1?null:(0,o.jsx)(y.Provider,{value:z,children:null===O?null:"none"===h.layout?O:(0,o.jsx)(v,{ref:t,style:U,className:h.className,children:O})})})),ee=(0,r.forwardRef)(((e,t)=>{const n=G();if("none"===e.layout)throw new Error('`<Sequence>` with `premountFor` prop does not support layout="none"');const{style:a,from:l=0,premountFor:i=0,...u}=e,s=n<l&&n>=l-i,c=(0,r.useMemo)((()=>({...a,opacity:s?0:1,pointerEvents:s?"none":(null===a||void 0===a?void 0:a.pointerEvents)??void 0})),[s,a]);return(0,o.jsx)(Z,{frame:l,active:s,children:(0,o.jsx)(te,{ref:t,from:l,style:c,_remotionInternalPremountDisplay:i,_remotionInternalIsPremounting:s,...u})})})),te=(0,r.forwardRef)(((e,t)=>"none"!==e.layout&&e.premountFor&&!i().isRendering?(0,o.jsx)(ee,{...e,ref:t}):(0,o.jsx)(J,{...e,ref:t}))),ne=e=>"undefined"===typeof window?e:new URL(e,window.origin).href,re=e=>{let{endAt:t,mediaDuration:n,playbackRate:r,startFrom:o}=e,a=n;"undefined"!==typeof t&&(a=t),"undefined"!==typeof o&&(a-=o);const l=a/r;return Math.floor(l)};function oe(e){let t;throw t=ae(e)?e:"string"===typeof e?Error(e):Error("Rendering was cancelled"),window.remotion_cancelledError=t.stack,t}var ae=e=>null!==e&&("object"===typeof e&&("stack"in e&&("string"===typeof e.stack&&("message"in e&&"string"===typeof e.message)))),le=(0,r.createContext)(null),ie=e=>{let{durationInFrames:t,times:n=1/0,children:a,name:l,...i}=e;const u=G(),{durationInFrames:s}=X();if(M(t,{component:"of the <Loop /> component",allowFloats:!0}),"number"!==typeof n)throw new TypeError(`You passed to "times" an argument of type ${typeof n}, but it must be a number.`);if(n!==1/0&&n%1!==0)throw new TypeError(`The "times" prop of a loop must be an integer, but got ${n}.`);if(n<0)throw new TypeError(`The "times" prop of a loop must be at least 0, but got ${n}`);const c=Math.ceil(s/t),d=Math.min(c,n),f="none"===i.layout?void 0:i.style,p=t*(d-1),m=Math.floor(u/t)*t,h=Math.min(m,p),v=(0,r.useMemo)((()=>({numberOfTimes:d,startOffset:-h,durationInFrames:t})),[d,t,h]),y=(0,r.useMemo)((()=>({iteration:Math.floor(u/t),durationInFrames:t})),[u,t]);return(0,o.jsx)(le.Provider,{value:y,children:(0,o.jsx)(te,{durationInFrames:t,from:h,name:l??"<Loop>",_remotionInternalLoopDisplay:v,layout:i.layout,style:f,children:a})})};ie.useLoop=()=>r.useContext(le);var ue=(0,r.createContext)({}),se=e=>(0,r.useContext)(ue)[e]??e,ce=(e,t)=>{if("number"!==typeof e.volume&&"function"!==typeof e.volume&&"undefined"!==typeof e.volume)throw new TypeError(`You have passed a volume of type ${typeof e.volume} to your <${t} /> component. Volume must be a number or a function with the signature '(frame: number) => number' undefined.`);if("number"===typeof e.volume&&e.volume<0)throw new TypeError(`You have passed a volume below 0 to your <${t} /> component. Volume must be between 0 and 1`);if("number"!==typeof e.playbackRate&&"undefined"!==typeof e.playbackRate)throw new TypeError(`You have passed a playbackRate of type ${typeof e.playbackRate} to your <${t} /> component. Playback rate must a real number or undefined.`);if("number"===typeof e.playbackRate&&(isNaN(e.playbackRate)||!Number.isFinite(e.playbackRate)||e.playbackRate<=0))throw new TypeError(`You have passed a playbackRate of ${e.playbackRate} to your <${t} /> component. Playback rate must be a real number above 0.`)},de=(e,t)=>{if("undefined"!==typeof e){if("number"!==typeof e)throw new TypeError(`type of startFrom prop must be a number, instead got type ${typeof e}.`);if(isNaN(e)||e===1/0)throw new TypeError("startFrom prop can not be NaN or Infinity.");if(e<0)throw new TypeError(`startFrom must be greater than equal to 0 instead got ${e}.`)}if("undefined"!==typeof t){if("number"!==typeof t)throw new TypeError(`type of endAt prop must be a number, instead got type ${typeof t}.`);if(isNaN(t))throw new TypeError("endAt prop can not be NaN.");if(t<=0)throw new TypeError(`endAt must be a positive number, instead got ${t}.`)}if(t<e)throw new TypeError("endAt prop must be greater than startFrom prop.")},fe=(0,r.createContext)({durations:{},setDurations:()=>{throw new Error("context missing")}}),pe=function(e){let t=e+1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296},me=(e,t)=>{if(void 0!==t)throw new TypeError("random() takes only one argument");if(null===e)return Math.random();if("string"===typeof e)return pe(function(e){let t=0,n=0,r=0;for(t=0;t<e.length;t++)n=e.charCodeAt(t),r=(r<<5)-r+n,r|=0;return r}(e));if("number"===typeof e)return pe(1e10*e);throw new Error("random() argument must be a number or a string")},he=r.createContext(null),ve=()=>{const e=(0,r.useContext)(he);return(0,r.useMemo)((()=>({delayPlayback:()=>{if(!e)throw new Error("Tried to enable the buffering state, but a Remotion context was not found. This API can only be called in a component that was passed to the Remotion Player or a <Composition>. Or you might have experienced a version mismatch - run `npx remotion versions` and ensure all packages have the same version. This error is thrown by the buffer state https://remotion.dev/docs/player/buffer-state");const{unblock:t}=e.addBlock({id:String(Math.random())});return{unblock:t}}})),[e])},ye=e=>{let{element:t,shouldBuffer:n,isPremounting:o}=e;const a=ve();(0,r.useEffect)((()=>{let e=[];const{current:r}=t;if(!r)return;if(!n)return;if(o)return;const l=()=>{e.forEach((e=>e())),e=[]},i=()=>{const{unblock:t}=a.delayPlayback(),n=()=>{l(),u()},o=()=>{l(),u()};r.addEventListener("canplay",n,{once:!0}),e.push((()=>{r.removeEventListener("canplay",n)})),r.addEventListener("error",o,{once:!0}),e.push((()=>{r.removeEventListener("error",o)})),e.push((()=>{t()}))},u=()=>{r.readyState<r.HAVE_FUTURE_DATA?i():(r.addEventListener("waiting",i),e.push((()=>{r.removeEventListener("waiting",i)})))};return u(),()=>{l()}}),[a,t,o,n])},ge=()=>{const e=(0,r.useContext)(y);return Math.min(0,(null===e||void 0===e?void 0:e.relativeFrom)??0)},be=e=>{const t=ie.useLoop(),n=G(),r=ge();return"repeat"===e||null===t?n+r:n+r+t.durationInFrames*t.iteration},we=e=>{if(/data:|blob:/.test(e.substring(0,5)))return"Data URL";const t=e.split("/").map((e=>e.split("\\"))).flat(1);return t[t.length-1]},ke=(e,t)=>{const{current:n}=e;if(!n)return;const r=n.play();r.catch&&r.catch((e=>{n&&(e.message.includes("request was interrupted by a call to pause")||e.message.includes("The operation was aborted.")||e.message.includes("The fetching process for the media resource was aborted by the user agent")||e.message.includes("request was interrupted by a new load request")||e.message.includes("because the media was removed from the document")||(console.log(`Could not play ${t} due to following error: `,e),n.muted||(console.log("The video will be muted and we'll retry playing it.",e),n.muted=!0,n.play())))}))},Se=e=>{let{frame:t,volume:n,mediaVolume:r=1,allowAmplificationDuringRender:o}=e;const a=o?1/0:1;if("number"===typeof n)return Math.min(a,n*r);if("undefined"===typeof n)return Number(r);const l=n(t)*r;if("number"!==typeof l)throw new TypeError(`You passed in a a function to the volume prop but it did not return a number but a value of type ${typeof l} for frame ${t}`);if(Number.isNaN(l))throw new TypeError(`You passed in a function to the volume prop but it returned NaN for frame ${t}.`);if(!Number.isFinite(l))throw new TypeError(`You passed in a function to the volume prop but it returned a non-finite number for frame ${t}.`);return Math.max(0,Math.min(a,l))},Ee={},xe=e=>{let{volume:t,mediaVolume:n,mediaRef:o,src:a,mediaType:l,playbackRate:u,displayName:s,id:c,stack:d,showInTimeline:f,premountDisplay:p}=e;const m=X(),{rootId:h,audioAndVideoTags:v}=(0,r.useContext)(V),b=(0,r.useContext)(y),w=b?b.relativeFrom+b.cumulatedFrom:0,[S]=q(),E=ge(),{registerSequence:x,unregisterSequence:C}=(0,r.useContext)(g),[T]=(0,r.useState)((()=>t)),_=k(),N=b?Math.min(b.durationInFrames,m.durationInFrames):m.durationInFrames,R="function"===typeof t,P=(0,r.useMemo)((()=>"number"===typeof t?t:new Array(Math.floor(Math.max(0,N+E))).fill(!0).map(((e,r)=>Se({frame:r+E,volume:t,mediaVolume:n,allowAmplificationDuringRender:!1}))).join(",")),[N,E,t,n]);(0,r.useEffect)((()=>{var e;"number"===typeof t&&t!==T&&(Ee[e=`Remotion: The ${l} with src ${a} has changed it's volume. Prefer the callback syntax for setting volume to get better timeline display: https://www.remotion.dev/docs/using-audio/#controlling-volume`]||(console.warn(e),Ee[e]=!0))}),[T,l,a,t]),(0,r.useEffect)((()=>{var e,t;if(o.current){if(!a)throw new Error("No src passed");if((i().isStudio||"test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))&&f)return x({type:l,src:a,id:c,duration:N,from:0,parent:(null===b||void 0===b?void 0:b.id)??null,displayName:s??we(a),rootId:h,volume:P,showInTimeline:!0,nonce:_,startMediaFrom:0-E,doesVolumeChange:R,loopDisplay:void 0,playbackRate:u,stack:d,premountDisplay:p}),()=>{C(c)}}}),[w,N,c,b,a,x,h,C,m,P,R,_,o,l,E,u,s,d,f,p]),(0,r.useEffect)((()=>{const e={id:c,play:()=>{if(S)return ke(o,l)}};return v.current.push(e),()=>{v.current=v.current.filter((e=>e.id!==c))}}),[v,c,o,l,S])},Ce=function(e,t){if(t.length<2)throw new Error(e+" must have at least 2 elements");for(const n in t){if("number"!==typeof t[n])throw new Error(`${e} must contain only numbers`);if(t[n]===-1/0||t[n]===1/0)throw new Error(`${e} must contain only finite numbers, but got [${t.join(",")}]`)}};function Te(e,t,n,r){if("undefined"===typeof e)throw new Error("input can not be undefined");if("undefined"===typeof t)throw new Error("inputRange can not be undefined");if("undefined"===typeof n)throw new Error("outputRange can not be undefined");if(t.length!==n.length)throw new Error("inputRange ("+t.length+") and outputRange ("+n.length+") must have the same length");Ce("inputRange",t),Ce("outputRange",n),function(e){for(let t=1;t<e.length;++t)if(!(e[t]>e[t-1]))throw new Error(`inputRange must be strictly monotonically increasing but got [${e.join(",")}]`)}(t);const o=(null===r||void 0===r?void 0:r.easing)??(e=>e);let a="extend";void 0!==(null===r||void 0===r?void 0:r.extrapolateLeft)&&(a=r.extrapolateLeft);let l="extend";if(void 0!==(null===r||void 0===r?void 0:r.extrapolateRight)&&(l=r.extrapolateRight),"number"!==typeof e)throw new TypeError("Cannot interpolate an input which is not a number");const i=function(e,t){let n;for(n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,t);return function(e,t,n,r){const{extrapolateLeft:o,extrapolateRight:a,easing:l}=r;let i=e;const[u,s]=t,[c,d]=n;if(i<u){if("identity"===o)return i;if("clamp"===o)i=u;else if("wrap"===o){const e=s-u;i=((i-u)%e+e)%e+u}}if(i>s){if("identity"===a)return i;if("clamp"===a)i=s;else if("wrap"===a){const e=s-u;i=((i-u)%e+e)%e+u}}return c===d?c:(i=(i-u)/(s-u),i=l(i),i=i*(d-c)+c,i)}(e,[t[i],t[i+1]],[n[i],n[i+1]],{easing:o,extrapolateLeft:a,extrapolateRight:l})}var _e=e=>{let{frame:t,playbackRate:n,startFrom:r}=e;return Te(t,[-1,r,r+1],[-1,r,r+n])},Ne=e=>{let{fps:t,frame:n,playbackRate:r,startFrom:o}=e;return _e({frame:n,playbackRate:r,startFrom:o})*(1e3/t)/1e3},Re=(e,t)=>Math.round(e/t*100)/100,Pe=()=>{if("undefined"===typeof window)return!1;const e=/iP(ad|od|hone)/i.test(window.navigator.userAgent),t=/AppleWebKit/.test(window.navigator.userAgent);return e&&t},Fe=e=>{let{actualSrc:t,actualFrom:n,duration:r,fps:o}=e;if((e=>Pe()&&e.startsWith("blob:"))(t))return t;if(t.startsWith("data:"))return t;return Boolean(new URL(t,("undefined"===typeof window?null:window.location.href)??"http://localhost:3000").hash)?t:Number.isFinite(n)?(t+=`#t=${Re(-n,o)}`,Number.isFinite(r)?(t+=`,${Re(r,o)}`,t):t):t},Ie={},Le=.45,Me=(e,t)=>{e.current&&(Pe()?e.current.currentTime=Number(t.toFixed(1)):e.current.currentTime=t)},ze=e=>{let{mediaRef:t,src:n,mediaType:o,playbackRate:a,onlyWarnForMediaSeekingError:l,acceptableTimeshift:i}=e;const{playbackRate:u}=(0,r.useContext)(V),s=G(),c=H(),[d]=q(),f=(0,r.useContext)(he),{fps:p}=X(),m=ge(),h=a*u,v=(()=>{var e;return null!==(e=t.current)&&void 0!==e&&e.duration?Math.min(t.current.duration,i??Le):i})(),y=!d||f&&f.buffering.current;(0,r.useEffect)((()=>{var e;y&&(null===(e=t.current)||void 0===e||e.pause())}),[t,o,y]),(0,r.useEffect)((()=>{const e="audio"===o?"<Audio>":"<Video>";if(!t.current)throw new Error(`No ${o} ref found`);if(!n)throw new Error(`No 'src' attribute was passed to the ${e} element.`);const r=Math.max(0,h);t.current.playbackRate!==r&&(t.current.playbackRate=r);const i=Ne({frame:s,playbackRate:a,startFrom:-m,fps:p}),{duration:u}=t.current,d=!Number.isNaN(u)&&Number.isFinite(u)?Math.min(u,i):i,f=t.current.currentTime;if(Math.abs(d-f)>v)return Me(t,d),void(l||((e,t)=>{if(null===e)return;if(0===e.seekable.length)return;if(e.seekable.length>1)return;if(Ie[e.src])return;const n=e.seekable.start(0),r=e.seekable.end(0);if(0===n&&0===r){const n=[`The media ${e.src} cannot be seeked. This could be one of few reasons:`,"1) The media resource was replaced while the video is playing but it was not loaded yet.","2) The media does not support seeking.","3) The media was loaded with security headers prventing it from being included.","Please see https://remotion.dev/docs/non-seekable-media for assistance."].join("\n");if("console-error"===t)console.error(n);else{if("console-warning"!==t)throw new Error(n);console.warn(`The media ${e.src} does not support seeking. The video will render fine, but may not play correctly in the Remotion Studio and in the <Player>. See https://remotion.dev/docs/non-seekable-media for an explanation.`)}Ie[e.src]=!0}})(t.current,l?"console-warning":"console-error"));const g=Math.abs(t.current.currentTime-d)>1e-5;(y||0===c)&&g&&Me(t,d),!t.current.paused||t.current.ended||y||(g&&Me(t,d),ke(t,o))}),[c,p,h,s,t,o,n,m,a,l,i,v,y])},$e=e=>{const[t,n]=(0,r.useState)(1);return(0,r.useEffect)((()=>{const t=e.current;if(!t)return;const r=()=>{n(t.volume)};return t.addEventListener("volumechange",r),()=>t.removeEventListener("volumechange",r)}),[e]),(0,r.useEffect)((()=>{const r=e.current;r&&r.volume!==t&&n(r.volume)}),[t,e]),t},De=(e,t)=>Math.abs(e-t)<1e-5,Oe=e=>{let{volumePropFrame:t,actualVolume:n,volume:o,mediaVolume:a,mediaRef:l}=e;(0,r.useEffect)((()=>{const e=Se({frame:t,volume:o,mediaVolume:a,allowAmplificationDuringRender:!1});!De(e,n)&&l.current&&(l.current.volume=e)}),[n,t,l,o,a])},Ae=(0,r.createContext)({mediaMuted:!1,mediaVolume:1}),Ve=(0,r.createContext)({setMediaMuted:()=>{throw new Error("default")},setMediaVolume:()=>{throw new Error("default")}}),Ue=()=>{const{mediaVolume:e}=(0,r.useContext)(Ae),{setMediaVolume:t}=(0,r.useContext)(Ve);return(0,r.useMemo)((()=>[e,t]),[e,t])},je=()=>{const{mediaMuted:e}=(0,r.useContext)(Ae),{setMediaMuted:t}=(0,r.useContext)(Ve);return(0,r.useMemo)((()=>[e,t]),[e,t])},Be=(0,r.createContext)(null),We=(0,r.forwardRef)(((e,t)=>{const[n]=(0,r.useState)(e.shouldPreMountAudioTags);if(e.shouldPreMountAudioTags!==n)throw new Error("Cannot change the behavior for pre-mounting audio tags dynamically.");const{volume:a,muted:l,playbackRate:i,shouldPreMountAudioTags:u,src:s,onDuration:c,acceptableTimeShiftInSeconds:d,_remotionInternalNeedsDurationCalculation:f,_remotionInternalNativeLoopPassed:p,_remotionInternalStack:m,allowAmplificationDuringRender:h,name:v,pauseWhenBuffering:g,showInTimeline:w,loopVolumeCurveBehavior:k,stack:S,...E}=e,[x]=Ue(),[C]=je(),T=be(k??"repeat"),{hidden:_}=(0,r.useContext)(b);if(!s)throw new TypeError("No 'src' was passed to <Audio>.");const N=se(s),R=(0,r.useContext)(y),[P]=(0,r.useState)((()=>String(Math.random()))),F=_[P]??!1,I=(0,r.useMemo)((()=>({muted:l||C||F,src:N,loop:p,...E})),[p,F,C,l,E,N]),L=((e,t)=>{const n=(0,r.useContext)(Be),[o]=(0,r.useState)((()=>n&&n.numberOfAudioTags>0?n.registerAudio(e,t):{el:r.createRef(),id:Math.random(),props:e,audioId:t})),a=r.useInsertionEffect??r.useLayoutEffect;return"undefined"!==typeof document&&(a((()=>{n&&n.numberOfAudioTags>0&&n.updateAudio({id:o.id,aud:e,audioId:t})}),[e,n,o.id,t]),a((()=>()=>{n&&n.numberOfAudioTags>0&&n.unregisterAudio(o.id)}),[n,o.id])),o})(I,(0,r.useMemo)((()=>`audio-${me(s??"")}-${null===R||void 0===R?void 0:R.relativeFrom}-${null===R||void 0===R?void 0:R.cumulatedFrom}-${null===R||void 0===R?void 0:R.durationInFrames}-muted:${e.muted}-loop:${e.loop}`),[s,null===R||void 0===R?void 0:R.relativeFrom,null===R||void 0===R?void 0:R.cumulatedFrom,null===R||void 0===R?void 0:R.durationInFrames,e.muted,e.loop])).el,M=$e(L);Oe({volumePropFrame:T,actualVolume:M,volume:a,mediaVolume:x,mediaRef:L}),xe({volume:a,mediaVolume:x,mediaRef:L,src:s,mediaType:"audio",playbackRate:i??1,displayName:v??null,id:P,stack:m,showInTimeline:w,premountDisplay:null}),ze({mediaRef:L,src:s,mediaType:"audio",playbackRate:i??1,onlyWarnForMediaSeekingError:!1,acceptableTimeshift:d??Le}),ye({element:L,shouldBuffer:g,isPremounting:Boolean(null===R||void 0===R?void 0:R.premounting)}),(0,r.useImperativeHandle)(t,(()=>L.current),[L]);const z=(0,r.useRef)();return z.current=c,(0,r.useEffect)((()=>{const{current:e}=L;if(!e)return;var t;if(e.duration)return void(null===(t=z.current)||void 0===t||t.call(z,e.src,e.duration));const n=()=>{var t;null===(t=z.current)||void 0===t||t.call(z,e.src,e.duration)};return e.addEventListener("loadedmetadata",n),()=>{e.removeEventListener("loadedmetadata",n)}}),[L,s]),n?null:(0,o.jsx)("audio",{ref:L,preload:"metadata",...I})})),He=(0,r.createContext)({registerRenderAsset:()=>{},unregisterRenderAsset:()=>{},renderAssets:[]});"undefined"!==typeof window&&(window.remotion_renderReady=!1);var Qe=[];"undefined"!==typeof window&&(window.remotion_delayRenderTimeouts={});var qe="The delayRender was called:",Ye=(e,t)=>{var n;if("string"!==typeof e&&"undefined"!==typeof e)throw new Error("The label parameter of delayRender() must be a string or undefined, got: "+JSON.stringify(e));const r=Math.random();Qe.push(r);const o=(null===(n=Error().stack)||void 0===n?void 0:n.replace(/^Error/g,""))??"";if(i().isRendering){const n=((null===t||void 0===t?void 0:t.timeoutInMilliseconds)??("undefined"===typeof window?3e4:window.remotion_puppeteerTimeout??3e4))-2e3;if("undefined"!==typeof window){const a=((null===t||void 0===t?void 0:t.retries)??0)-(window.remotion_attempt-1);window.remotion_delayRenderTimeouts[r]={label:e??null,timeout:setTimeout((()=>{const t=["A delayRender()",e?`"${e}"`:null,`was called but not cleared after ${n}ms. See https://remotion.dev/docs/timeout for help.`,a>0?"Retries left: "+a:null,a>0?"- Rendering the frame will be retried.":null,qe,o].filter(m).join(" ");oe(Error(t))}),n)}}}return"undefined"!==typeof window&&(window.remotion_renderReady=!1),r},Ke=e=>{if("undefined"===typeof e)throw new TypeError("The continueRender() method must be called with a parameter that is the return value of delayRender(). No value was passed.");if("number"!==typeof e)throw new TypeError("The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: "+JSON.stringify(e));0===(Qe=Qe.filter((t=>t!==e||(i().isRendering&&(clearTimeout(window.remotion_delayRenderTimeouts[e].timeout),delete window.remotion_delayRenderTimeouts[e]),!1)))).length&&"undefined"!==typeof window&&(window.remotion_renderReady=!0)},Xe=(0,r.forwardRef)(((e,t)=>{const n=(0,r.useRef)(null),{volume:a,playbackRate:l,allowAmplificationDuringRender:i,onDuration:u,toneFrequency:s,_remotionInternalNeedsDurationCalculation:c,_remotionInternalNativeLoopPassed:d,acceptableTimeShiftInSeconds:f,name:p,onError:m,delayRenderRetries:h,delayRenderTimeoutInMilliseconds:v,loopVolumeCurveBehavior:g,pauseWhenBuffering:b,...w}=e,k=H(),S=be(g??"repeat"),E=G(),x=(0,r.useContext)(y),{registerRenderAsset:C,unregisterRenderAsset:T}=(0,r.useContext)(He),_=(0,r.useMemo)((()=>`audio-${me(e.src??"")}-${null===x||void 0===x?void 0:x.relativeFrom}-${null===x||void 0===x?void 0:x.cumulatedFrom}-${null===x||void 0===x?void 0:x.durationInFrames}`),[e.src,null===x||void 0===x?void 0:x.relativeFrom,null===x||void 0===x?void 0:x.cumulatedFrom,null===x||void 0===x?void 0:x.durationInFrames]),N=Se({volume:a,frame:S,mediaVolume:1,allowAmplificationDuringRender:i??!1});(0,r.useImperativeHandle)(t,(()=>n.current),[]),(0,r.useEffect)((()=>{if(!e.src)throw new Error("No src passed");if(window.remotion_audioEnabled&&!e.muted&&!(N<=0))return C({type:"audio",src:ne(e.src),id:_,frame:k,volume:N,mediaFrame:E,playbackRate:e.playbackRate??1,allowAmplificationDuringRender:i??!1,toneFrequency:s??null,audioStartFrame:Math.max(0,-((null===x||void 0===x?void 0:x.relativeFrom)??0))}),()=>T(_)}),[e.muted,e.src,C,k,_,T,N,S,E,l,e.playbackRate,i,s,null===x||void 0===x?void 0:x.relativeFrom]);const{src:R}=e,P=t||c;return(0,r.useLayoutEffect)((()=>{var e,t;if("test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))return;if(!P)return;const r=Ye("Loading <Audio> duration with src="+R,{retries:h??void 0,timeoutInMilliseconds:v??void 0}),{current:o}=n,a=()=>{null!==o&&void 0!==o&&o.duration&&u(o.src,o.duration),Ke(r)};return null!==o&&void 0!==o&&o.duration?(u(o.src,o.duration),Ke(r)):null===o||void 0===o||o.addEventListener("loadedmetadata",a,{once:!0}),()=>{null===o||void 0===o||o.removeEventListener("loadedmetadata",a),Ke(r)}}),[R,u,P,h,v]),P?(0,o.jsx)("audio",{ref:n,...w}):null})),Ge=(0,r.forwardRef)(((e,t)=>{const n=(0,r.useContext)(Be),{startFrom:a,endAt:l,name:u,stack:s,pauseWhenBuffering:c,showInTimeline:d,...f}=e,{loop:p,...m}=e,{fps:h}=X(),v=i(),{durations:y,setDurations:g}=(0,r.useContext)(fe);if("string"!==typeof e.src)throw new TypeError(`The \`<Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(e.src)} instead.`);const b=se(e.src),w=(0,r.useCallback)((e=>{console.log(e.currentTarget.error);const t=`Could not play audio with src ${b}: ${e.currentTarget.error}. See https://remotion.dev/docs/media-playback-error for help.`;p?oe(new Error(t)):console.warn(t)}),[p,b]),k=(0,r.useCallback)(((e,t)=>{g({type:"got-duration",durationInSeconds:t,src:e})}),[g]),S=y[ne(b)]??y[ne(e.src)];if(p&&void 0!==S){const n=S*h;return(0,o.jsx)(ie,{layout:"none",durationInFrames:re({endAt:l,mediaDuration:n,playbackRate:e.playbackRate??1,startFrom:a}),children:(0,o.jsx)(Ge,{...m,ref:t,_remotionInternalNativeLoopPassed:!0})})}if("undefined"!==typeof a||"undefined"!==typeof l){de(a,l);const e=a??0,n=l??1/0;return(0,o.jsx)(te,{layout:"none",from:0-e,showInTimeline:!1,durationInFrames:n,name:u,children:(0,o.jsx)(Ge,{_remotionInternalNeedsDurationCalculation:Boolean(p),pauseWhenBuffering:c??!1,...f,ref:t})})}return ce(e,"Audio"),v.isRendering?(0,o.jsx)(Xe,{onDuration:k,...e,ref:t,onError:w,_remotionInternalNeedsDurationCalculation:Boolean(p)}):(0,o.jsx)(We,{_remotionInternalNativeLoopPassed:e._remotionInternalNativeLoopPassed??!1,_remotionInternalStack:s??null,shouldPreMountAudioTags:null!==n&&n.numberOfAudioTags>0,...e,ref:t,onError:w,onDuration:k,pauseWhenBuffering:c??!1,_remotionInternalNeedsDurationCalculation:Boolean(p),showInTimeline:d??!0})}));d(Ge);String(/^([a-zA-Z0-9-\u4E00-\u9FFF])+$/g),(0,r.createContext)({folderName:null,parentName:null}),String(/^([a-zA-Z0-9-\u4E00-\u9FFF])+$/g),r.createRef();(0,r.forwardRef)(((e,t)=>{let{onLoad:n,onError:a,delayRenderRetries:l,delayRenderTimeoutInMilliseconds:i,...u}=e;const[s]=(0,r.useState)((()=>Ye(`Loading <IFrame> with source ${u.src}`,{retries:l??void 0,timeoutInMilliseconds:i??void 0}))),c=(0,r.useCallback)((e=>{Ke(s),null===n||void 0===n||n(e)}),[s,n]),d=(0,r.useCallback)((e=>{Ke(s),a?a(e):console.error("Error loading iframe:",e,"Handle the event using the onError() prop to make this message disappear.")}),[s,a]);return(0,o.jsx)("iframe",{...u,ref:t,onError:d,onLoad:c})})),(0,r.forwardRef)(((e,t)=>{let{onError:n,maxRetries:a=2,src:l,pauseWhenLoading:i,delayRenderRetries:u,delayRenderTimeoutInMilliseconds:s,...c}=e;const d=(0,r.useRef)(null),f=(0,r.useRef)({}),{delayPlayback:p}=ve(),m=(0,r.useContext)(y);if(!l)throw new Error('No "src" prop was passed to <Img>.');(0,r.useImperativeHandle)(t,(()=>d.current),[]);const h=se(l),v=(0,r.useCallback)((e=>{if(!d.current)return;const t=d.current.src;setTimeout((()=>{var e;if(!d.current)return;const n=null===(e=d.current)||void 0===e?void 0:e.src;n===t&&(d.current.removeAttribute("src"),d.current.setAttribute("src",n))}),e)}),[]),g=(0,r.useCallback)((e=>{var t,r,o,l,i;if(f.current)if(f.current[null===(t=d.current)||void 0===t?void 0:t.src]=(f.current[null===(r=d.current)||void 0===r?void 0:r.src]??0)+1,n&&(f.current[null===(o=d.current)||void 0===o?void 0:o.src]??0)>a)n(e);else{if((f.current[null===(l=d.current)||void 0===l?void 0:l.src]??0)<=a){var u,s;const e=1e3*2**((f.current[null===(u=d.current)||void 0===u?void 0:u.src]??0)-1);return console.warn(`Could not load image with source ${null===(s=d.current)||void 0===s?void 0:s.src}, retrying again in ${e}ms`),void v(e)}oe("Error loading image with src: "+(null===(i=d.current)||void 0===i?void 0:i.src))}}),[a,n,v]);if("undefined"!==typeof window){const e=Boolean(null===m||void 0===m?void 0:m.premounting);(0,r.useLayoutEffect)((()=>{var t,n;if("test"===(null===(t=window.process)||void 0===t||null===(n=t.env)||void 0===n?void 0:n.NODE_ENV))return;const r=Ye("Loading <Img> with src="+h,{retries:u??void 0,timeoutInMilliseconds:s??void 0}),o=i&&!e?p().unblock:()=>{},{current:a}=d,l=()=>{var e,t,n;(f.current[null===(e=d.current)||void 0===e?void 0:e.src]??0)>0&&(delete f.current[null===(t=d.current)||void 0===t?void 0:t.src],console.info(`Retry successful - ${null===(n=d.current)||void 0===n?void 0:n.src} is now loaded`));o(),Ke(r)},c=()=>{l()};return null!==a&&void 0!==a&&a.complete?l():null===a||void 0===a||a.addEventListener("load",c,{once:!0}),()=>{null===a||void 0===a||a.removeEventListener("load",c),o(),Ke(r)}}),[h,p,u,s,i,e])}return(0,o.jsx)("img",{...c,ref:d,src:h,onError:g})}));var Ze={};l(Ze,{makeDefaultPreviewCSS:()=>nt,injectCSS:()=>et,OFFTHREAD_VIDEO_CLASS_NAME:()=>tt});var Je={},et=e=>{if("undefined"===typeof document)return;if(Je[e])return;const t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.appendChild(document.createTextNode(e)),t.prepend(n),Je[e]=!0},tt="__remotion_offthreadvideo",nt=(e,t)=>e?`\n ${e} * {\n box-sizing: border-box;\n }\n ${e} *:-webkit-full-screen {\n width: 100%;\n height: 100%;\n }\n ${e} .${tt} {\n object-fit: contain;\n }\n `:`\n * {\n box-sizing: border-box;\n }\n body {\n margin: 0;\n\t background-color: ${t};\n }\n .${tt} {\n object-fit: contain;\n }\n `;r.createContext(null),(0,r.createContext)({setSize:()=>{},size:{size:"auto",translation:{x:0,y:0}}});var rt=(0,r.createContext)(!1),ot=e=>{let{children:t}=e;return(0,o.jsx)(rt.Provider,{value:!1,children:t})},at=(0,r.forwardRef)(((e,t)=>{let{children:n}=e;return(()=>{if(!r.useContext(rt))throw new Error("This component must be inside a <Series /> component.")})(),(0,o.jsx)(ot,{children:n})}));d(at);new Map;var lt=(0,r.forwardRef)(((e,t)=>{const n=(0,r.useRef)(null),{volume:a,muted:l,playbackRate:i,onlyWarnForMediaSeekingError:u,src:s,onDuration:c,acceptableTimeShift:d,acceptableTimeShiftInSeconds:f,toneFrequency:p,name:m,_remotionInternalNativeLoopPassed:h,_remotionInternalStack:v,style:g,pauseWhenBuffering:w,showInTimeline:k,loopVolumeCurveBehavior:S,...E}=e,x=be(S??"repeat"),{fps:C,durationInFrames:T}=X(),_=(0,r.useContext)(y),{hidden:N}=(0,r.useContext)(b),[R]=(0,r.useState)((()=>String(Math.random()))),P=N[R]??!1;if("undefined"!==typeof d)throw new Error("acceptableTimeShift has been removed. Use acceptableTimeShiftInSeconds instead.");const F=$e(n),[I]=Ue(),[L]=je();xe({mediaRef:n,volume:a,mediaVolume:I,mediaType:"video",src:s,playbackRate:e.playbackRate??1,displayName:m??null,id:R,stack:v,showInTimeline:k,premountDisplay:null}),Oe({volumePropFrame:x,actualVolume:F,volume:a,mediaVolume:I,mediaRef:n}),ze({mediaRef:n,src:s,mediaType:"video",playbackRate:e.playbackRate??1,onlyWarnForMediaSeekingError:u,acceptableTimeshift:f??Le}),ye({element:n,shouldBuffer:w,isPremounting:Boolean(null===_||void 0===_?void 0:_.premounting)});const M=_?_.relativeFrom:0,z=_?Math.min(_.durationInFrames,T):T,$=(e=>{let{actualSrc:t,actualFrom:n,duration:o,fps:a}=e;const l=(0,r.useRef)(n),i=(0,r.useRef)(o),u=(0,r.useRef)(t);return(e=>{let{prevStartFrom:t,newStartFrom:n,prevDuration:r,newDuration:o}=e;return t<=n&&t+r>=n+o})({prevStartFrom:l.current,newStartFrom:n,prevDuration:i.current,newDuration:o})&&t===u.current||(l.current=n,i.current=o,u.current=t),Fe({actualSrc:u.current,actualFrom:l.current,duration:i.current,fps:a})})({actualSrc:se(s),actualFrom:M,duration:z,fps:C});(0,r.useImperativeHandle)(t,(()=>n.current),[]),(0,r.useEffect)((()=>{const{current:t}=n;if(!t)return;const r=()=>{if(null!==t&&void 0!==t&&t.error){var n;if(console.error("Error occurred in video",null===t||void 0===t?void 0:t.error),e.onError)return;throw new Error(`The browser threw an error while playing the video ${s}: Code ${t.error.code} - ${null===t||void 0===t||null===(n=t.error)||void 0===n?void 0:n.message}. See https://remotion.dev/docs/media-playback-error for help. Pass an onError() prop to handle the error.`)}throw new Error("The browser threw an error")};return t.addEventListener("error",r,{once:!0}),()=>{t.removeEventListener("error",r)}}),[e.onError,s]);const D=(0,r.useRef)();D.current=c,(0,r.useEffect)((()=>{const{current:e}=n;if(!e)return;var t;if(e.duration)return void(null===(t=D.current)||void 0===t||t.call(D,s,e.duration));const r=()=>{var t;null===(t=D.current)||void 0===t||t.call(D,s,e.duration)};return e.addEventListener("loadedmetadata",r),()=>{e.removeEventListener("loadedmetadata",r)}}),[s]),(0,r.useEffect)((()=>{const{current:e}=n;e&&(Pe()?e.preload="metadata":e.preload="auto")}),[]);const O=(0,r.useMemo)((()=>({...g,opacity:P?0:(null===g||void 0===g?void 0:g.opacity)??1})),[P,g]);return(0,o.jsx)("video",{ref:n,muted:l||L,playsInline:!0,src:$,loop:h,style:O,...E})})),it=e=>Math.round(1e5*e)/1e5,ut=(e,t)=>{let n;e.currentTime=t;let r=null;const o=new Promise((t=>{n=e.requestVideoFrameCallback(((e,n)=>{const r=n.expectedDisplayTime-e;r<=0?t(n.mediaTime):setTimeout((()=>{t(n.mediaTime)}),r+150)}))})),a=new Promise((t=>{const n=()=>{t()};e.addEventListener("seeked",n,{once:!0}),r=()=>{e.removeEventListener("seeked",n)}}));return{wait:Promise.all([o,a]).then((e=>{let[t]=e;return t})),cancel:()=>{var t;null===(t=r)||void 0===t||t(),e.cancelVideoFrameCallback(n)}}},st=(0,r.forwardRef)(((e,t)=>{let{onError:n,volume:a,allowAmplificationDuringRender:l,playbackRate:u,onDuration:s,toneFrequency:c,name:d,acceptableTimeShiftInSeconds:f,delayRenderRetries:p,delayRenderTimeoutInMilliseconds:m,loopVolumeCurveBehavior:h,...v}=e;const g=H(),b=G(),w=be(h??"repeat"),k=K(),S=(0,r.useRef)(null),E=(0,r.useContext)(y),x=ge(),C=i(),{registerRenderAsset:T,unregisterRenderAsset:_}=(0,r.useContext)(He),N=(0,r.useMemo)((()=>`video-${me(v.src??"")}-${null===E||void 0===E?void 0:E.cumulatedFrom}-${null===E||void 0===E?void 0:E.relativeFrom}-${null===E||void 0===E?void 0:E.durationInFrames}`),[v.src,null===E||void 0===E?void 0:E.cumulatedFrom,null===E||void 0===E?void 0:E.relativeFrom,null===E||void 0===E?void 0:E.durationInFrames]);if(!k)throw new Error("No video config found");const R=Se({volume:a,frame:w,mediaVolume:1,allowAmplificationDuringRender:l??!1});(0,r.useEffect)((()=>{if(!v.src)throw new Error("No src passed");if(!v.muted&&!(R<=0)&&window.remotion_audioEnabled)return T({type:"video",src:ne(v.src),id:N,frame:g,volume:R,mediaFrame:b,playbackRate:u??1,allowAmplificationDuringRender:l??!1,toneFrequency:c??null,audioStartFrame:Math.max(0,-((null===E||void 0===E?void 0:E.relativeFrom)??0))}),()=>_(N)}),[v.muted,v.src,T,N,_,R,b,g,u,l,c,null===E||void 0===E?void 0:E.relativeFrom]),(0,r.useImperativeHandle)(t,(()=>S.current),[]),(0,r.useEffect)((()=>{var e,t;if(!window.remotion_videoEnabled)return;const{current:r}=S;if(!r)return;const o=Ne({frame:b,playbackRate:u||1,startFrom:-x,fps:k.fps}),a=Ye(`Rendering <Video /> with src="${v.src}"`,{retries:p??void 0,timeoutInMilliseconds:m??void 0});if("test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))return void Ke(a);if(De(r.currentTime,o)){if(r.readyState>=2)return void Ke(a);const e=()=>{Ke(a)};return r.addEventListener("loadeddata",e,{once:!0}),()=>{r.removeEventListener("loadeddata",e)}}const l=()=>{Ke(a)},i=((e,t,n)=>{const r=1/n/2;let o=()=>{};return Number.isFinite(e.duration)&&e.currentTime>=e.duration&&t>=e.duration?{prom:Promise.resolve(),cancel:()=>{}}:{prom:new Promise(((n,a)=>{const l=ut(e,t+r);l.wait.then((l=>{if(Math.abs(t-l)<=r)return n();const i=ut(e,l+r*(t>l?1:-1));o=i.cancel,i.wait.then((l=>{const i=Math.abs(t-l);if(it(i)<=it(r))return n();const u=ut(e,t+r);return o=u.cancel,u.wait.then((()=>{n()})).catch((e=>{a(e)}))})).catch((e=>{a(e)}))})),o=l.cancel})),cancel:()=>{o()}}})(r,o,k.fps);i.prom.then((()=>{Ke(a)})),r.addEventListener("ended",l,{once:!0});const s=()=>{if(null!==r&&void 0!==r&&r.error){var e;if(console.error("Error occurred in video",null===r||void 0===r?void 0:r.error),n)return;throw new Error(`The browser threw an error while playing the video ${v.src}: Code ${r.error.code} - ${null===r||void 0===r||null===(e=r.error)||void 0===e?void 0:e.message}. See https://remotion.dev/docs/media-playback-error for help. Pass an onError() prop to handle the error.`)}throw new Error("The browser threw an error")};return r.addEventListener("error",s,{once:!0}),()=>{i.cancel(),r.removeEventListener("ended",l),r.removeEventListener("error",s),Ke(a)}}),[w,v.src,u,k.fps,b,x,n,p,m]);const{src:P}=v;return C.isRendering&&(0,r.useLayoutEffect)((()=>{var e,t;if("test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))return;const n=Ye("Loading <Video> duration with src="+P,{retries:p??void 0,timeoutInMilliseconds:m??void 0}),{current:r}=S,o=()=>{null!==r&&void 0!==r&&r.duration&&s(P,r.duration),Ke(n)};return null!==r&&void 0!==r&&r.duration?(s(P,r.duration),Ke(n)):null===r||void 0===r||r.addEventListener("loadedmetadata",o,{once:!0}),()=>{null===r||void 0===r||r.removeEventListener("loadedmetadata",o),Ke(n)}}),[P,s,p,m]),(0,o.jsx)("video",{ref:S,...v,onError:n})})),ct=(0,r.forwardRef)(((e,t)=>{const{startFrom:n,endAt:a,name:l,pauseWhenBuffering:u,stack:s,_remotionInternalNativeLoopPassed:c,showInTimeline:d,...f}=e,{loop:p,...m}=e,{fps:h}=X(),v=i(),{durations:y,setDurations:g}=(0,r.useContext)(fe);if("string"===typeof t)throw new Error("string refs are not supported");if("string"!==typeof e.src)throw new TypeError(`The \`<Video>\` tag requires a string for \`src\`, but got ${JSON.stringify(e.src)} instead.`);const b=se(e.src),w=(0,r.useCallback)(((e,t)=>{g({type:"got-duration",durationInSeconds:t,src:e})}),[g]),k=y[ne(b)]??y[ne(e.src)];if(p&&void 0!==k){const r=k*h;return(0,o.jsx)(ie,{durationInFrames:re({endAt:a,mediaDuration:r,playbackRate:e.playbackRate??1,startFrom:n}),layout:"none",name:l,children:(0,o.jsx)(ct,{...m,ref:t,_remotionInternalNativeLoopPassed:!0})})}if("undefined"!==typeof n||"undefined"!==typeof a){de(n,a);const e=n??0,r=a??1/0;return(0,o.jsx)(te,{layout:"none",from:0-e,showInTimeline:!1,durationInFrames:r,name:l,children:(0,o.jsx)(ct,{pauseWhenBuffering:u??!1,...f,ref:t})})}return ce(e,"Video"),v.isRendering?(0,o.jsx)(st,{onDuration:w,...f,ref:t}):(0,o.jsx)(lt,{onlyWarnForMediaSeekingError:!1,...f,ref:t,pauseWhenBuffering:u??!1,onDuration:w,_remotionInternalStack:s??null,_remotionInternalNativeLoopPassed:c??!1,showInTimeline:d??!0})}));d(ct),(()=>{if("undefined"===typeof globalThis)return;const e=globalThis.remotion_imported||"undefined"!==typeof window&&window.remotion_imported;if(e){if(e===h)return;throw new TypeError(`\ud83d\udea8 Multiple versions of Remotion detected: ${[h,"string"===typeof e?e:"an older version"].filter(m).join(" and ")}. This will cause things to break in an unexpected way.\nCheck that all your Remotion packages are on the same version. If your dependencies depend on Remotion, make them peer dependencies. You can also run \`npx remotion versions\` from your terminal to see which versions are mismatching.`)}globalThis.remotion_imported=h,"undefined"!==typeof window&&(window.remotion_imported=h)})();var dt=new Proxy({},{get:(e,t)=>"Bundling"===t||"Rendering"===t||"Log"===t||"Puppeteer"===t||"Output"===t?dt:()=>{console.warn("\u26a0\ufe0f The CLI configuration has been extracted from Remotion Core."),console.warn("Update the import from the config file:"),console.warn(),console.warn("- Delete:"),console.warn('import {Config} from "remotion";'),console.warn("+ Replace:"),console.warn('import {Config} from "@remotion/cli/config";'),console.warn(),console.warn("For more information, see https://www.remotion.dev/docs/4-0-migration."),process.exit(1)}});d(te)}}]);