From 0235ec90b0745c5267ea14c87c0a4fb34b7039c9 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 23 Jul 2020 10:06:54 +1200 Subject: [PATCH] FIX Set the invalid prop when errorMessage --- client/dist/js/bundle.js | 2 +- client/src/containers/SudoMode/SudoMode.js | 2 +- yarn.lock | 27 ++++------------------ 3 files changed, 7 insertions(+), 24 deletions(-) diff --git a/client/dist/js/bundle.js b/client/dist/js/bundle.js index 071f024..fe425b0 100644 --- a/client/dist/js/bundle.js +++ b/client/dist/js/bundle.js @@ -1 +1 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./client/src/bundles/bundle.js")}({"./client/src/boot/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n("./client/src/boot/registerComponents.js"),s=r(o),a=n("./client/src/boot/registerTransformations.js"),i=r(a);window.document.addEventListener("DOMContentLoaded",function(){(0,s.default)(),(0,i.default)()})},"./client/src/boot/registerComponents.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),s=r(o),a=n("./client/src/components/LoadingIndicator/LoadingIndicator.js"),i=r(a);t.default=function(){s.default.component.registerMany({LoadingIndicator:i.default})}},"./client/src/boot/registerTransformations.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),s=r(o),a=n("./client/src/containers/SudoMode/SudoMode.js"),i=r(a);t.default=function(){s.default.transform("apply-sudo-mode-to-mfa",function(e){e.component("RegisteredMFAMethodListField",i.default)})}},"./client/src/bundles/bundle.js":function(e,t,n){"use strict";n("./client/src/boot/index.js")},"./client/src/components/LoadingIndicator/LoadingIndicator.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}t.a=r},"./node_modules/@babel/runtime/helpers/extends.js":function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}e.exports=n},"./node_modules/classnames/index.js":function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[n]}return e[n]}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(t,"top"),o=m(t,"left"),s=n?-1:1;return e.top+=r*s,e.bottom+=r*s,e.left+=o*s,e.right+=o*s,e}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function g(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],u(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,r=u(10)&&getComputedStyle(n);return{height:g("Height",t,n,r),width:g("Width",t,n,r)}}function y(e){return _e({},e,{right:e.left+e.width,bottom:e.top+e.height})}function _(e){var t={};try{if(u(10)){t=e.getBoundingClientRect();var n=m(e,"top"),r=m(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?v(e.ownerDocument):{},i=a.width||e.clientWidth||o.width,l=a.height||e.clientHeight||o.height,d=e.offsetWidth-i,c=e.offsetHeight-l;if(d||c){var p=s(e);d-=b(p,"x"),c-=b(p,"y"),o.width-=d,o.height-=c}return y(o)}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=u(10),o="HTML"===t.nodeName,a=_(e),l=_(t),d=i(e),c=s(t),p=parseFloat(c.borderTopWidth,10),f=parseFloat(c.borderLeftWidth,10);n&&o&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var m=y({top:a.top-l.top-p,left:a.left-l.left-f,width:a.width,height:a.height});if(m.marginTop=0,m.marginLeft=0,!r&&o){var b=parseFloat(c.marginTop,10),g=parseFloat(c.marginLeft,10);m.top-=p-b,m.bottom-=p-b,m.left-=f-g,m.right-=f-g,m.marginTop=b,m.marginLeft=g}return(r&&!n?t.contains(d):t===d&&"BODY"!==d.nodeName)&&(m=h(m,t)),m}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=x(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:m(n),i=t?0:m(n,"left");return y({top:a-r.top+r.marginTop,left:i-r.left+r.marginLeft,width:o,height:s})}function T(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=a(e);return!!n&&T(n)}function E(e){if(!e||!e.parentElement||u())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function w(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},u=o?E(e):f(e,l(t));if("viewport"===r)s=j(u,o);else{var d=void 0;"scrollParent"===r?(d=i(a(t)),"BODY"===d.nodeName&&(d=e.ownerDocument.documentElement)):d="window"===r?e.ownerDocument.documentElement:r;var c=x(d,u,o);if("HTML"!==d.nodeName||T(u))s=c;else{var p=v(e.ownerDocument),m=p.height,h=p.width;s.top+=c.top-c.marginTop,s.bottom=m+c.top,s.left+=c.left-c.marginLeft,s.right=h+c.left}}n=n||0;var b="number"==typeof n;return s.left+=b?n:n.left||0,s.top+=b?n:n.top||0,s.right-=b?n:n.right||0,s.bottom-=b?n:n.bottom||0,s}function C(e){return e.width*e.height}function k(e,t,n,r,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=w(n,r,s,o),i={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(i).map(function(e){return _e({key:e},i[e],{area:C(i[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),d=u.length>0?u[0].key:l[0].key,c=e.split("-")[1];return d+(c?"-"+c:"")}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return x(n,r?E(t):f(t,l(n)),r)}function P(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+r}}function M(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function S(e,t,n){n=n.split("-")[0];var r=P(e),o={width:r.width,height:r.height},s=-1!==["right","left"].indexOf(n),a=s?"top":"left",i=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[i]=n===i?t[i]-r[u]:t[M(i)],o}function O(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function I(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=O(e,function(e){return e[t]===n});return e.indexOf(r)}function L(e,t,n){return(void 0===n?e:e.slice(0,I(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&o(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=k(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=S(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function R(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function F(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;ri[m]&&(e.offsets.popper[p]+=l[p]+h-i[m]),e.offsets.popper=y(e.offsets.popper);var b=l[p]+l[d]/2-h/2,g=s(e.instance.popper),v=parseFloat(g["margin"+c],10),_=parseFloat(g["border"+c+"Width"],10),x=b-e.offsets.popper[p]-v-_;return x=Math.max(Math.min(i[d]-h,x),0),e.arrowElement=r,e.offsets.arrow=(n={},ye(n,p,Math.round(x)),ye(n,f,""),n),e}function ee(e){return"end"===e?"start":"start"===e?"end":e}function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Te.indexOf(e),r=Te.slice(n+1).concat(Te.slice(0,n));return t?r.reverse():r}function ne(e,t){if(R(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=w(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=M(r),s=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Ee.FLIP:a=[r,o];break;case Ee.CLOCKWISE:a=te(r);break;case Ee.COUNTERCLOCKWISE:a=te(r,!0);break;default:a=t.behavior}return a.forEach(function(i,l){if(r!==i||a.length===l+1)return e;r=e.placement.split("-")[0],o=M(r);var u=e.offsets.popper,d=e.offsets.reference,c=Math.floor,p="left"===r&&c(u.right)>c(d.left)||"right"===r&&c(u.left)c(d.top)||"bottom"===r&&c(u.top)c(n.right),h=c(u.top)c(n.bottom),g="left"===r&&f||"right"===r&&m||"top"===r&&h||"bottom"===r&&b,v=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(v&&"start"===s&&f||v&&"end"===s&&m||!v&&"start"===s&&h||!v&&"end"===s&&b),_=!!t.flipVariationsByContent&&(v&&"start"===s&&m||v&&"end"===s&&f||!v&&"start"===s&&b||!v&&"end"===s&&h),x=y||_;(p||g||x)&&(e.flipped=!0,(p||g)&&(r=a[l+1]),x&&(s=ee(s)),e.placement=r+(s?"-"+s:""),e.offsets.popper=_e({},e.offsets.popper,S(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))}),e}function re(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],s=Math.floor,a=-1!==["top","bottom"].indexOf(o),i=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[i]s(r[i])&&(e.offsets.popper[l]=s(r[i])),e}function oe(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],a=o[2];if(!s)return e;if(0===a.indexOf("%")){var i=void 0;switch(a){case"%p":i=n;break;case"%":case"%r":default:i=r}return y(i)[t]/100*s}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s}function se(e,t,n,r){var o=[0,0],s=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),i=a.indexOf(O(a,function(e){return-1!==e.search(/,|\s/)}));a[i]&&-1===a[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==i?[a.slice(0,i).concat([a[i].split(l)[0]]),[a[i].split(l)[1]].concat(a.slice(i+1))]:[a];return u=u.map(function(e,r){var o=(1===r?!s:s)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return oe(e,o,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,r){G(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}function ae(e,t){var n=t.offset,r=e.placement,o=e.offsets,s=o.popper,a=o.reference,i=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:se(n,s,a,i),"left"===i?(s.top+=l[0],s.left-=l[1]):"right"===i?(s.top+=l[0],s.left+=l[1]):"top"===i?(s.left+=l[0],s.top-=l[1]):"bottom"===i&&(s.left+=l[0],s.top+=l[1]),e.popper=s,e}function ie(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var r=F("transform"),o=e.instance.popper.style,s=o.top,a=o.left,i=o[r];o.top="",o.left="",o[r]="";var l=w(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=s,o.left=a,o[r]=i,t.boundaries=l;var u=t.priority,c=e.offsets.popper,p={primary:function(e){var n=c[e];return c[e]l[e]&&!t.escapeWithReference&&(r=Math.min(c[n],l[e]-("right"===e?c.width:c.height))),ye({},n,r)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=_e({},c,p[t](e))}),e.offsets.popper=c,e}function le(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,s=o.reference,a=o.popper,i=-1!==["bottom","top"].indexOf(n),l=i?"left":"top",u=i?"width":"height",d={start:ye({},l,s[l]),end:ye({},l,s[l]+s[u]-a[u])};e.offsets.popper=_e({},a,d[r])}return e}function ue(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=O(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right=0)return 1;return 0}(),fe=ce&&window.Promise,me=fe?n:r,he=ce&&!(!window.MSInputMethodContext||!document.documentMode),be=ce&&/MSIE 10/.test(navigator.userAgent),ge=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ve=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};ge(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=me(this.update.bind(this)),this.options=_e({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(_e({},e.Defaults.modifiers,s.modifiers)).forEach(function(t){r.options.modifiers[t]=_e({},e.Defaults.modifiers[t]||{},s.modifiers?s.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return _e({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&o(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return ve(e,[{key:"update",value:function(){return D.call(this)}},{key:"destroy",value:function(){return A.call(this)}},{key:"enableEventListeners",value:function(){return B.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),e}();ke.Utils=("undefined"!=typeof window?window:e).PopperUtils,ke.placements=je,ke.Defaults=Ce,t.a=ke}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";function r(){}function o(){}var s=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==s){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-dom/cjs/react-dom.production.min.js":function(e,t,n){"use strict";function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function P(e,t,n,r,o,s){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=s}function M(e){return e[1].toUpperCase()}function S(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function O(e,t,n,r){var o=Cs.hasOwnProperty(t)?Cs[t]:null;(null!==o?0===o.type:!r&&2=t.length))throw Error(r(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:S(n)}}function $(e,t){var n=S(t.value),r=S(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Q(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Y(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 X(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Y(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function J(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Z(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function ee(e){if(Os[e])return Os[e];if(!Ss[e])return e;var t,n=Ss[e];for(t in n)if(n.hasOwnProperty(t)&&t in Is)return Os[e]=n[t];return e}function te(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!=(1026&t.effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ne(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 re(e){if(te(e)!==e)throw Error(r(188))}function oe(e){var t=e.alternate;if(!t){if(null===(t=te(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,o=t;;){var s=n.return;if(null===s)break;var a=s.alternate;if(null===a){if(null!==(o=s.return)){n=o;continue}break}if(s.child===a.child){for(a=s.child;a;){if(a===n)return re(s),e;if(a===o)return re(s),t;a=a.sibling}throw Error(r(188))}if(n.return!==o.return)n=s,o=a;else{for(var i=!1,l=s.child;l;){if(l===n){i=!0,n=s,o=a;break}if(l===o){i=!0,o=s,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,o=s;break}if(l===o){i=!0,o=a,n=s;break}l=l.sibling}if(!i)throw Error(r(189))}}if(n.alternate!==o)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}function se(e){if(!(e=oe(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ae(e){var t=Be(e);Ys.forEach(function(n){He(n,e,t)}),Xs.forEach(function(n){He(n,e,t)})}function ie(e,t,n,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r}}function le(e,t){switch(e){case"focus":case"blur":Vs=null;break;case"dragenter":case"dragleave":Gs=null;break;case"mouseover":case"mouseout":qs=null;break;case"pointerover":case"pointerout":Ks.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$s.delete(t.pointerId)}}function ue(e,t,n,r,o){return null===e||e.nativeEvent!==o?(e=ie(t,n,r,o),null!==t&&null!==(t=it(t))&&Ds(t),e):(e.eventSystemFlags|=r,e)}function de(e,t,n,r){switch(t){case"focus":return Vs=ue(Vs,e,t,n,r),!0;case"dragenter":return Gs=ue(Gs,e,t,n,r),!0;case"mouseover":return qs=ue(qs,e,t,n,r),!0;case"pointerover":var o=r.pointerId;return Ks.set(o,ue(Ks.get(o)||null,e,t,n,r)),!0;case"gotpointercapture":return o=r.pointerId,$s.set(o,ue($s.get(o)||null,e,t,n,r)),!0}return!1}function ce(e){var t=at(e.target);if(null!==t){var n=te(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ne(n)))return e.blockedOn=t,void Do.unstable_runWithPriority(e.priority,function(){Rs(n)})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function pe(e){if(null!==e.blockedOn)return!1;var t=Ue(e.topLevelType,e.eventSystemFlags,e.nativeEvent);if(null!==t){var n=it(t);return null!==n&&Ds(n),e.blockedOn=t,!1}return!0}function fe(e,t,n){pe(e)&&n.delete(t)}function me(){for(Bs=!1;0this.eventPool.length&&this.eventPool.push(e)}function Pe(e){e.eventPool=[],e.getPooled=ke,e.release=Ne}function Me(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 Se(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=oa[e])&&!!t[e]}function Oe(){return Se}function Ie(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;t=n.tag,5!==t&&6!==t||e.ancestors.push(n),n=at(r)}while(n);for(n=0;n=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xe(n)}}function Ze(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ze(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function et(){for(var e=window,t=Ye();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Ye(e.document)}return t}function tt(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 nt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function rt(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function ot(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function st(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Fa||n===Ua||n===za){if(0===t)return e;t--}else n===Aa&&t++}e=e.previousSibling}return null}function at(e){var t=e[qa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$a]||n[qa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=st(e);null!==e;){if(n=e[qa])return n;e=st(e)}return t}e=n,n=e.parentNode}return null}function it(e){return e=e[qa]||e[$a],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function lt(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function ut(e){return e[Ka]||null}function dt(){if(Xa)return Xa;var e,t,n=Ya,r=n.length,o="value"in Qa?Qa.value:Qa.textContent,s=o.length;for(e=0;eLi||(e.current=Ii[Li],Ii[Li]=null,Li--)}function Mt(e,t){Li++,Ii[Li]=e.current,e.current=t}function St(e,t){var n=e.type.contextTypes;if(!n)return Di;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,s={};for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Ot(e){return null!==(e=e.childContextTypes)&&void 0!==e}function It(e){Pt(Fi,e),Pt(Ri,e)}function Lt(e){Pt(Fi,e),Pt(Ri,e)}function Dt(e,t,n){if(Ri.current!==Di)throw Error(r(168));Mt(Ri,t,e),Mt(Fi,n,e)}function Rt(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;o=o.getChildContext();for(var s in o)if(!(s in e))throw Error(r(108,g(t)||"Unknown",s));return Lo({},n,{},o)}function Ft(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Di,Ai=Ri.current,Mt(Ri,t,e),Mt(Fi,Fi.current,e),!0}function At(e,t,n){var o=e.stateNode;if(!o)throw Error(r(169));n?(t=Rt(e,t,Ai),o.__reactInternalMemoizedMergedChildContext=t,Pt(Fi,e),Pt(Ri,e),Mt(Ri,t,e)):Pt(Fi,e),Mt(Fi,n,e)}function zt(){switch(Gi()){case qi:return 99;case Ki:return 98;case $i:return 97;case Qi:return 96;case Yi:return 95;default:throw Error(r(332))}}function Ut(e){switch(e){case 99:return qi;case 98:return Ki;case 97:return $i;case 96:return Qi;case 95:return Yi;default:throw Error(r(332))}}function Wt(e,t){return e=Ut(e),zi(e,t)}function Bt(e,t,n){return e=Ut(e),Ui(e,t,n)}function Ht(e){return null===Zi?(Zi=[e],el=Ui(qi,Gt)):Zi.push(e),Xi}function Vt(){if(null!==el){var e=el;el=null,Wi(e)}Gt()}function Gt(){if(!tl&&null!==Zi){tl=!0;var e=0;try{var t=Zi;Wt(99,function(){for(;e=t&&(Hl=!0),e.firstContext=null)}function Zt(e,t){if(ll!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ll=e,t=1073741823),t={context:e,observedBits:t,next:null},null===il){if(null===al)throw Error(r(308));il=t,al.dependencies={expirationTime:0,firstContext:t,responders:null}}else il=il.next=t;return e._currentValue}function en(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function tn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function nn(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function rn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function on(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=en(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=en(e.memoizedState),o=n.updateQueue=en(n.memoizedState)):r=e.updateQueue=tn(o):null===o&&(o=n.updateQueue=tn(r));null===o||r===o?rn(r,t):null===r.lastUpdate||null===o.lastUpdate?(rn(r,t),rn(o,t)):(rn(r,t),o.lastUpdate=t)}function sn(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=en(e.memoizedState):an(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function an(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=tn(t)),t}function ln(e,t,n,r,o,s){switch(n.tag){case 1:return e=n.payload,"function"==typeof e?e.call(s,r,o):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(e=n.payload,null===(o="function"==typeof e?e.call(s,r,o):e)||void 0===o)break;return Lo({},r,o);case 2:ul=!0}return r}function un(e,t,n,r,o){ul=!1,t=an(e,t);for(var s=t.baseState,a=null,i=0,l=t.firstUpdate,u=s;null!==l;){var d=l.expirationTime;dh?(b=c,c=null):b=c.sibling;var g=f(r,c,i[h],l);if(null===g){null===c&&(c=b);break}e&&c&&null===g.alternate&&t(r,c),s=a(g,s,h),null===d?u=g:d.sibling=g,d=g,c=b}if(h===i.length)return n(r,c),u;if(null===c){for(;hg?(v=b,b=null):v=b.sibling;var _=f(s,b,y.value,u);if(null===_){null===b&&(b=v);break}e&&b&&null===_.alternate&&t(s,b),i=a(_,i,g),null===c?d=_:c.sibling=_,c=_,b=v}if(y.done)return n(s,b),d;if(null===b){for(;!y.done;g++,y=l.next())null!==(y=p(s,y.value,u))&&(i=a(y,i,g),null===c?d=y:c.sibling=y,c=y);return d}for(b=o(s,b);!y.done;g++,y=l.next())null!==(y=m(b,s,g,y.value,u))&&(e&&null!==y.alternate&&b.delete(null===y.key?g:y.key),i=a(y,i,g),null===c?d=y:c.sibling=y,c=y);return e&&b.forEach(function(e){return t(s,e)}),d}return function(e,o,a,l){var u="object"==typeof a&&null!==a&&a.type===rs&&null===a.key;u&&(a=a.props.children);var d="object"==typeof a&&null!==a;if(d)switch(a.$$typeof){case ts:e:{for(d=a.key,u=o;null!==u;){if(u.key===d){if(7===u.tag?a.type===rs:u.elementType===a.type){n(e,u.sibling),o=s(u,a.type===rs?a.props.children:a.props,l),o.ref=gn(e,u,a),o.return=e,e=o;break e}n(e,u);break}t(e,u),u=u.sibling}a.type===rs?(o=ho(a.props.children,e.mode,l,a.key),o.return=e,e=o):(l=mo(a.type,a.key,a.props,null,e.mode,l),l.ref=gn(e,o,a),l.return=e,e=l)}return i(e);case ns:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(e,o.sibling),o=s(o,a.children||[],l),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=go(a,e.mode,l),o.return=e,e=o}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==o&&6===o.tag?(n(e,o.sibling),o=s(o,a,l),o.return=e,e=o):(n(e,o),o=bo(a,e.mode,l),o.return=e,e=o),i(e);if(fl(a))return b(e,o,a,l);if(h(a))return g(e,o,a,l);if(d&&vn(e,a),void 0===a&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(r(152,e.displayName||e.name||"Component"))}return n(e,o)}}function _n(e){if(e===bl)throw Error(r(174));return e}function xn(e,t){Mt(yl,t,e),Mt(vl,e,e),Mt(gl,bl,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:X(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=X(t,n)}Pt(gl,e),Mt(gl,t,e)}function jn(e){Pt(gl,e),Pt(vl,e),Pt(yl,e)}function Tn(e){_n(yl.current);var t=_n(gl.current),n=X(t,e.type);t!==n&&(Mt(vl,e,e),Mt(gl,n,e))}function En(e){vl.current===e&&(Pt(gl,e),Pt(vl,e))}function wn(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===za||n.data===Ua))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))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}function Cn(e,t){return{responder:e,props:t}}function kn(){throw Error(r(321))}function Nn(e,t){if(null===t)return!1;for(var n=0;nMl&&(Ml=c,qr(Ml))):(Gr(c,u.suspenseConfig),a=u.eagerReducer===e?u.eagerState:e(a,u.action)),i=u,u=u.next}while(null!==u&&u!==o);d||(l=i,s=a),yi(a,t.memoizedState)||(Hl=!0),t.memoizedState=a,t.baseUpdate=l,t.baseState=s,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function Dn(e){var t=Sn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:In,lastRenderedState:e},e=e.dispatch=qn.bind(null,El,e),[t.memoizedState,e]}function Rn(e){return Ln(In,e)}function Fn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Sl?(Sl={lastEffect:null},Sl.lastEffect=e.next=e):(t=Sl.lastEffect,null===t?Sl.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Sl.lastEffect=e)),e}function An(e,t,n,r){var o=Sn();Ol|=e,o.memoizedState=Fn(t,n,void 0,void 0===r?null:r)}function zn(e,t,n,r){var o=On();r=void 0===r?null:r;var s=void 0;if(null!==wl){var a=wl.memoizedState;if(s=a.destroy,null!==r&&Nn(r,a.deps))return void Fn(0,n,s,r)}Ol|=e,o.memoizedState=Fn(t,n,s,r)}function Un(e,t){return An(516,192,e,t)}function Wn(e,t){return zn(516,192,e,t)}function Bn(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 Hn(){}function Vn(e,t){return Sn().memoizedState=[e,void 0===t?null:t],e}function Gn(e,t){var n=On();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Nn(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qn(e,t,n){if(!(25>Dl))throw Error(r(301));var o=e.alternate;if(e===El||null!==o&&o===El)if(Il=!0,e={expirationTime:Tl,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===Ll&&(Ll=new Map),void 0===(n=Ll.get(t)))Ll.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var s=Sr(),a=dl.suspense;s=Or(s,e,a),a={expirationTime:s,suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.last;if(null===i)a.next=a;else{var l=i.next;null!==l&&(a.next=l),i.next=a}if(t.last=a,0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var u=t.lastRenderedState,d=o(u,n);if(a.eagerReducer=o,a.eagerState=d,yi(d,u))return}catch(e){}Ir(e,s)}}function Kn(e,t){var n=uo(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function $n(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,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Qn(e){if(Wl){var t=Ul;if(t){var n=t;if(!$n(e,t)){if(!(t=ot(n.nextSibling))||!$n(e,t))return e.effectTag=-1025&e.effectTag|2,Wl=!1,void(zl=e);Kn(zl,n)}zl=e,Ul=ot(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Wl=!1,zl=e}}function Yn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zl=e}function Xn(e){if(e!==zl)return!1;if(!Wl)return Yn(e),Wl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!rt(t,e.memoizedProps))for(t=Ul;t;)Kn(e,t),t=ot(t.nextSibling);if(Yn(e),13===e.tag){if(e=e.memoizedState,!(e=null!==e?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Aa){if(0===t){Ul=ot(e.nextSibling);break e}t--}else n!==Fa&&n!==Ua&&n!==za||t++}e=e.nextSibling}Ul=null}}else Ul=zl?ot(e.stateNode.nextSibling):null;return!0}function Jn(){Ul=zl=null,Wl=!1}function Zn(e,t,n,r){t.child=null===e?hl(t,null,n,r):ml(t,e.child,n,r)}function er(e,t,n,r,o){n=n.render;var s=t.ref;return Jt(t,o),r=Pn(e,t,n,r,s,o),null===e||Hl?(t.effectTag|=1,Zn(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),pr(e,t,o))}function tr(e,t,n,r,o,s){if(null===e){var a=n.type;return"function"!=typeof a||co(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=mo(n.type,null,r,null,t.mode,s),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,nr(e,t,a,r,o,s))}return a=e.child,ot)&&ku.set(e,t))}}function Lr(e,t){e.expirationTimee?t:e):t)}function Rr(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ht(Ar.bind(null,e));else{var t=Dr(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Sr();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Xi&&Wi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ht(Ar.bind(null,e)):Bt(r,Fr.bind(null,e),{timeout:10*(1073741821-t)-rl()}),e.callbackNode=t}}}function Fr(e,t){if(Mu=0,t)return t=Sr(),jo(e,t),Rr(e),null;var n=Dr(e);if(0!==n){if(t=e.callbackNode,(iu&(Zl|eu))!==Xl)throw Error(r(327));if(to(),e===lu&&n===du||Br(e,n),null!==uu){var o=iu;iu|=Zl;for(var s=Vr();;)try{$r();break}catch(t){Hr(e,t)}if($t(),iu=o,Ql.current=s,cu===nu)throw t=pu,Br(e,n),_o(e,n),Rr(e),t;if(null===uu)switch(s=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,o=cu,lu=null,o){case tu:case nu:throw Error(r(345));case ru:jo(e,2=n){e.lastPingedTime=n,Br(e,n);break}}if(0!==(a=Dr(e))&&a!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}e.timeoutHandle=Ha(Jr.bind(null,e),s);break}Jr(e);break;case su:if(_o(e,n),o=e.lastSuspendedTime,n===o&&(e.nextKnownPendingLevel=Xr(s)),gu&&(0===(s=e.lastPingedTime)||s>=n)){e.lastPingedTime=n,Br(e,n);break}if(0!==(s=Dr(e))&&s!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}if(1073741823!==mu?o=10*(1073741821-mu)-rl():1073741823===fu?o=0:(o=10*(1073741821-fu)-5e3,s=rl(),n=10*(1073741821-n)-s,o=s-o,0>o&&(o=0),o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*$l(o/1960))-o,n=o?o=0:(s=0|i.busyDelayMs,a=rl()-(10*(1073741821-a)-(0|i.timeoutMs||5e3)),o=a<=s?0:s+o-a),10 component higher in the tree to provide a loading indicator or placeholder to display."+v(o))}cu!==au&&(cu=ru),s=br(s,o),l=r;do{switch(l.tag){case 3:a=s,l.effectTag|=4096,l.expirationTime=t,sn(l,Pr(l,a,t));break e;case 1:a=s;var y=l.type,_=l.stateNode;if(0==(64&l.effectTag)&&("function"==typeof y.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Tu||!Tu.has(_)))){l.effectTag|=4096,l.expirationTime=t,sn(l,Mr(l,a,t));break e}}l=l.return}while(null!==l)}uu=Yr(uu)}catch(e){t=e;continue}break}}function Vr(){var e=Ql.current;return Ql.current=Rl,null===e?Rl:e}function Gr(e,t){ebu&&(bu=e)}function Kr(){for(;null!==uu;)uu=Qr(uu)}function $r(){for(;null!==uu&&!Bi();)uu=Qr(uu)}function Qr(e){var t=Gl(e.alternate,e,du);return e.memoizedProps=e.pendingProps,null===t&&(t=Yr(e)),Yl.current=null,t}function Yr(e){uu=e;do{var t=uu.alternate;if(e=uu.return,0==(2048&uu.effectTag)){e:{var n=t;t=uu;var o=du,s=t.pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Ot(t.type)&&It(t);break;case 3:jn(t),Lt(t),s=t.stateNode,s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(null===n||null===n.child)&&Xn(t)&&fr(t),Mi(t);break;case 5:En(t),o=_n(yl.current);var a=t.type;if(null!==n&&null!=t.stateNode)Si(n,t,a,s,o),n.ref!==t.ref&&(t.effectTag|=128);else if(s){var i=_n(gl.current);if(Xn(t)){s=t;var l=s.stateNode;n=s.type;var u=s.memoizedProps,d=o;switch(l[qa]=s,l[Ka]=u,a=void 0,o=l,n){case"iframe":case"object":case"embed":Le("load",o);break;case"video":case"audio":for(l=0;l<\/script>",l=u.removeChild(u.firstChild)):"string"==typeof u.is?l=l.createElement(d,{is:u.is}):(l=l.createElement(d),"select"===d&&(d=l,u.multiple?d.multiple=!0:u.size&&(d.size=u.size))):l=l.createElementNS(i,d),u=l,u[qa]=n,u[Ka]=s,Pi(u,t,!1,!1),t.stateNode=u,d=a,n=s;var c=o,p=Ke(d,n);switch(d){case"iframe":case"object":case"embed":Le("load",u),o=n;break;case"video":case"audio":for(o=0;os.tailExpiration&&1a&&(a=n),u>a&&(a=u),o=o.sibling;s.childExpirationTime=a}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=uu.firstEffect),null!==uu.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=uu.firstEffect),e.lastEffect=uu.lastEffect),1e?t:e}function Jr(e){var t=zt();return Wt(99,Zr.bind(null,e,t)),null}function Zr(e,t){if(to(),(iu&(Zl|eu))!==Xl)throw Error(r(327));var n=e.finishedWork,o=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var s=Xr(n);if(e.firstPendingTime=s,o<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:o<=e.firstSuspendedTime&&(e.firstSuspendedTime=o-1),o<=e.lastPingedTime&&(e.lastPingedTime=0),o<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===lu&&(uu=lu=null,du=0),1l&&(d=l,l=i,i=d),d=Je(_,i),c=Je(_,l),d&&c&&(1!==j.rangeCount||j.anchorNode!==d.node||j.anchorOffset!==d.offset||j.focusNode!==c.node||j.focusOffset!==c.offset)&&(x=x.createRange(),x.setStart(d.node,d.offset),j.removeAllRanges(),i>l?(j.addRange(x),j.extend(c.node,c.offset)):(x.setEnd(c.node,c.offset),j.addRange(x)))))),x=[];for(j=_;j=j.parentNode;)1===j.nodeType&&x.push({element:j,left:j.scrollLeft,top:j.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_=t&&e<=t}function _o(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function xo(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function jo(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function To(e,t,n,o){var s=t.current,a=Sr(),i=dl.suspense;a=Or(a,s,i);e:if(n){n=n._reactInternalFiber;t:{if(te(n)!==n||1!==n.tag)throw Error(r(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ot(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(r(171))}if(1===n.tag){var u=n.type;if(Ot(u)){n=Rt(n,u,l);break e}}n=l}else n=Di;return null===t.context?t.context=n:t.pendingContext=n,t=nn(a,i),t.payload={element:e},o=void 0===o?null:o,null!==o&&(t.callback=o),on(s,t),Ir(s,a),a}function Eo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function wo(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime