1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("react",["exports"],t):(e=e||self,t(e.React={}))}(this,function(e){function t(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."}function n(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||H}function r(){}function o(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||H}function i(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)K.call(t,r)&&!Q.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var u=Array(l),s=0;s<l;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:P,type:e,key:i,ref:a,props:o,_owner:q.current}}function a(e,t){return{$$typeof:P,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===P}function u(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function s(e,t,n,r){if(Y.length){var o=Y.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function c(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Y.length&&Y.push(e)}function f(e,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case P:case O:a=!0}}if(a)return r(o,e,""===n?"."+p(e,0):n),1;if(a=0,n=""===n?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){i=e[l];var u=n+p(i,l);a+=f(i,u,r,o)}else if(null===e||"object"!=typeof e?u=null:(u=F&&e[F]||e["@@iterator"],u="function"==typeof u?u:null),"function"==typeof u)for(e=u.call(e),l=0;!(i=e.next()).done;)i=i.value,u=n+p(i,l++),a+=f(i,u,r,o);else if("object"===i)throw r=""+e,Error(t(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return a}function d(e,t,n){return null==e?0:f(e,"",t,n)}function p(e,t){return"object"==typeof e&&null!==e&&null!=e.key?u(e.key):t.toString(36)}function h(e,t,n){e.func.call(e.context,t,e.count++)}function m(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?v(e,r,n,function(e){return e}):null!=e&&(l(e)&&(e=a(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(G,"$&/")+"/")+n)),r.push(e))}function v(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(G,"$&/")+"/"),t=s(t,i,r,o),d(e,m,t),c(t)}function y(){var e=X.current;if(null===e)throw Error(t(321));return e}function g(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<S(o,t)))break e;e[r]=t,e[n]=o,n=r}}function b(e){return e=e[0],void 0===e?null:e}function w(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>S(a,n))void 0!==u&&0>S(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>S(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function E(e){for(var t=b(we);null!==t;){if(null===t.callback)w(we);else{if(!(t.startTime<=e))break;w(we),t.sortIndex=t.expirationTime,g(be,t)}t=b(we)}}function x(e){if(Te=!1,E(e),!ke)if(null!==b(be))ke=!0,re(C);else{var t=b(we);null!==t&&oe(x,t.startTime-e)}}function C(e,t){ke=!1,Te&&(Te=!1,ie()),Ce=!0;var n=xe;try{for(E(t),Ee=b(be);null!==Ee&&(!(Ee.expirationTime>t)||e&&!ae());){var r=Ee.callback;if(null!==r){Ee.callback=null,xe=Ee.priorityLevel;var o=r(Ee.expirationTime<=t);t=ne(),"function"==typeof o?Ee.callback=o:Ee===b(be)&&w(be),E(t)}else w(be);Ee=b(be)}if(null!==Ee)var i=!0;else{var a=b(we);null!==a&&oe(x,a.startTime-t),i=!1}return i}finally{Ee=null,xe=n,Ce=!1}}function k(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var T="function"==typeof Symbol&&Symbol.for,P=T?Symbol.for("react.element"):60103,O=T?Symbol.for("react.portal"):60106,N=T?Symbol.for("react.fragment"):60107,_=T?Symbol.for("react.strict_mode"):60108,R=T?Symbol.for("react.profiler"):60114,M=T?Symbol.for("react.provider"):60109,I=T?Symbol.for("react.context"):60110,D=T?Symbol.for("react.forward_ref"):60112,L=T?Symbol.for("react.suspense"):60113,A=T?Symbol.for("react.memo"):60115,j=T?Symbol.for("react.lazy"):60116,F="function"==typeof Symbol&&Symbol.iterator,z=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,W=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;var t={};for(e=0;10>e;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");for(var n,r=Object(e),o=1;o<arguments.length;o++){var i=Object(arguments[o]);for(var a in i)U.call(i,a)&&(r[a]=i[a]);if(z){n=z(i);for(var l=0;l<n.length;l++)V.call(i,n[l])&&(r[n[l]]=i[n[l]])}}return r},H={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},B={};n.prototype.isReactComponent={},n.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(t(85));this.updater.enqueueSetState(this,e,n,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},r.prototype=n.prototype,T=o.prototype=new r,T.constructor=o,W(T,n.prototype),T.isPureReactComponent=!0;var $,q={current:null},K=Object.prototype.hasOwnProperty,Q={key:!0,ref:!0,__self:!0,__source:!0},G=/\/+/g,Y=[],X={current:null};if("undefined"==typeof window||"function"!=typeof MessageChannel){var J=null,Z=null,ee=function(){if(null!==J)try{var e=ne();J(!0,e),J=null}catch(e){throw setTimeout(ee,0),e}},te=Date.now(),ne=function(){return Date.now()-te},re=function(e){null!==J?setTimeout(re,0,e):(J=e,setTimeout(ee,0))},oe=function(e,t){Z=setTimeout(e,t)},ie=function(){clearTimeout(Z)},ae=function(){return!1};T=$=function(){}}else{var le=window.performance,ue=window.Date,se=window.setTimeout,ce=window.clearTimeout;if("undefined"!=typeof console&&(T=window.cancelAnimationFrame,"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof T&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),"object"==typeof le&&"function"==typeof le.now)ne=function(){return le.now()};else{var fe=ue.now();ne=function(){return ue.now()-fe}}var de=!1,pe=null,he=-1,me=5,ve=0;ae=function(){return ne()>=ve},T=function(){},$=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):me=0<e?Math.floor(1e3/e):5};var ye=new MessageChannel,ge=ye.port2;ye.port1.onmessage=function(){if(null!==pe){var e=ne();ve=e+me;try{pe(!0,e)?ge.postMessage(null):(de=!1,pe=null)}catch(e){throw ge.postMessage(null),e}}else de=!1},re=function(e){pe=e,de||(de=!0,ge.postMessage(null))},oe=function(e,t){he=se(function(){e(ne())},t)},ie=function(){ce(he),he=-1}}var be=[],we=[],Se=1,Ee=null,xe=3,Ce=!1,ke=!1,Te=!1,Pe=0;ye={ReactCurrentDispatcher:X,ReactCurrentOwner:q,IsSomeRendererActing:{current:!1},assign:W},W(ye,{Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=xe;xe=e;try{return t()}finally{xe=n}},unstable_next:function(e){switch(xe){case 1:case 2:case 3:var t=3;break;default:t=xe}var n=xe;xe=t;try{return e()}finally{xe=n}},unstable_scheduleCallback:function(e,t,n){var r=ne();if("object"==typeof n&&null!==n){var o=n.delay;o="number"==typeof o&&0<o?r+o:r,n="number"==typeof n.timeout?n.timeout:k(e)}else n=k(e),o=r;return n=o+n,e={id:Se++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,g(we,e),null===b(be)&&e===b(we)&&(Te?ie():Te=!0,oe(x,o-r))):(e.sortIndex=n,g(be,e),ke||Ce||(ke=!0,re(C))),e},unstable_cancelCallback:function(e){e.callback=null},unstable_wrapCallback:function(e){var t=xe;return function(){var n=xe;xe=t;try{return e.apply(this,arguments)}finally{xe=n}}},unstable_getCurrentPriorityLevel:function(){return xe},unstable_shouldYield:function(){var e=ne();E(e);var t=b(be);return t!==Ee&&null!==Ee&&null!==t&&null!==t.callback&&t.startTime<=e&&t.expirationTime<Ee.expirationTime||ae()},unstable_requestPaint:T,unstable_continueExecution:function(){ke||Ce||(ke=!0,re(C))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return b(be)},get unstable_now(){return ne},get unstable_forceFrameRate(){return $},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Pe},unstable_trace:function(e,t,n){return n()},unstable_wrap:function(e){return e},unstable_subscribe:function(e){},unstable_unsubscribe:function(e){}}}),e.Children={map:function(e,t,n){if(null==e)return e;var r=[];return v(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=s(null,null,t,n),d(e,h,t),c(t)},count:function(e){return d(e,function(){return null},null)},toArray:function(e){var t=[];return v(e,t,null,function(e){return e}),t},only:function(e){if(!l(e))throw Error(t(143));return e}},e.Component=n,e.Fragment=N,e.Profiler=R,e.PureComponent=o,e.StrictMode=_,e.Suspense=L,e.__SECRET_INT
vendor: 12,209 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ye,e.cloneElement=function(e,n,r){if(null===e||void 0===e)throw Error(t(267,e));var o=W({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=q.current),void 0!==n.key&&(i=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in n)K.call(n,s)&&!Q.hasOwnProperty(s)&&(o[s]=void 0===n[s]&&void 0!==u?u[s]:n[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:P,type:e.type,key:i,ref:a,props:o,_owner:l}},e.createContext=function(e,t){return void 0===t&&(t=null),e={$$typeof:I,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:M,_context:e},e.Consumer=e},e.createElement=i,e.createFactory=function(e){var t=i.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:D,render:e}},e.isValidElement=l,e.lazy=function(e){return{$$typeof:j,_ctor:e,_status:-1,_result:null}},e.memo=function(e,t){return{$$typeof:A,type:e,compare:void 0===t?null:t}},e.useCallback=function(e,t){return y().useCallback(e,t)},e.useContext=function(e,t){return y().useContext(e,t)},e.useDebugValue=function(e,t){},e.useEffect=function(e,t){return y().useEffect(e,t)},e.useImperativeHandle=function(e,t,n){return y().useImperativeHandle(e,t,n)},e.useLayoutEffect=function(e,t){return y().useLayoutEffect(e,t)},e.useMemo=function(e,t){return y().useMemo(e,t)},e.useReducer=function(e,t,n){return y().useReducer(e,t,n)},e.useRef=function(e){return y().useRef(e)},e.useState=function(e){return y().useState(e)},e.version="16.14.0"}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define("react-dom",["exports","react"],t):(e=e||self,t(e.ReactDOM={},e.React))}(this,function(e,t){function n(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."}function r(e,t,n,r,o,i,a,l,u){No=!1,_o=null,Oo.apply(Io,arguments)}function o(e,t,o,i,a,l,u,s,c){if(r.apply(this,arguments),No){if(!No)throw Error(n(198));var f=_o;No=!1,_o=null,Ro||(Ro=!0,Mo=f)}}function i(e,t,n){var r=e.type||"unknown-event";e.currentTarget=Ao(n),o(r,t,void 0,e),e.currentTarget=null}function a(){if(jo)for(var e in Fo){var t=Fo[e],r=jo.indexOf(e);if(!(-1<r))throw Error(n(96,e));if(!zo[r]){if(!t.extractEvents)throw Error(n(97,e));zo[r]=t,r=t.eventTypes;for(var o in r){var i=void 0,a=r[o],u=t,s=o;if(Uo.hasOwnProperty(s))throw Error(n(99,s));Uo[s]=a;var c=a.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&l(c[i],u,s);i=!0}else a.registrationName?(l(a.registrationName,u,s),i=!0):i=!1;if(!i)throw Error(n(98,o,e))}}}}function l(e,t,r){if(Vo[e])throw Error(n(100,e));Vo[e]=t,Wo[e]=t.eventTypes[r].dependencies}function u(e){var t,r=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];if(!Fo.hasOwnProperty(t)||Fo[t]!==o){if(Fo[t])throw Error(n(102,t));Fo[t]=o,r=!0}}r&&a()}function s(e){if(e=Lo(e)){if("function"!=typeof $o)throw Error(n(280));var t=e.stateNode;t&&(t=Do(t),$o(e.stateNode,e.type,t))}}function c(e){qo?Ko?Ko.push(e):Ko=[e]:qo=e}function f(){if(qo){var e=qo,t=Ko;if(Ko=qo=null,s(e),t)for(e=0;e<t.length;e++)s(t[e])}}function d(){null===qo&&null===Ko||(Yo(),f())}function p(e,t,n){if(Zo)return e(t,n);Zo=!0;try{return Xo(e,t,n)}finally{Zo=!1,d()}}function h(e){return!!hi.call(vi,e)||!hi.call(mi,e)&&(pi.test(e)?vi[e]=!0:(mi[e]=!0,!1))}function m(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}}function v(e,t,n,r){if(null===t||void 0===t||m(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}function y(e,t,n,r,o,i){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=i}function g(e,t,n,r){var o=yi.hasOwnProperty(t)?yi[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(v(t,n,o,r)&&(n=null),r||null===o?h(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):(o=o.type,n=3===o||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function b(e){return null===e||"object"!=typeof e?null:(e=Fi&&e[Fi]||e["@@iterator"],"function"==typeof e?e:null)}function w(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}}function S(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 Ti:return"Fragment";case ki:return"Portal";case Oi:return"Profiler";case Pi:return"StrictMode";case Ii:return"Suspense";case Di:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _i:return"Context.Consumer";case Ni:return"Context.Provider";case Mi:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Li:return S(e.type);case ji:return S(e.render);case Ai:if(e=1===e._status?e._result:null)return S(e)}return null}function E(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=S(e.type);n=null,r&&(n=S(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Ei,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function x(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function C(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function k(e){var t=C(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.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]}}}}function T(e){e._valueTracker||(e._valueTracker=k(e))}function P(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=C(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function O(e,t){var n=t.checked;return Bo({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function N(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=x(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 _(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function R(e,t){_(e,t);var n=x(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")?I(e,t.type,n):t.hasOwnProperty("defaultValue")&&I(e,t.type,x(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function M(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,""!==n&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function I(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function D(e){var n="";return t.Children.forEach(e,function(e){null!=e&&(n+=e)}),n}function L(e,t){return e=Bo({children:void 0},t),(t=D(t.children))&&(e.children=t),e}function A(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=""+x(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 j(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return Bo({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function F(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:x(r)}}function z(e,t){var n=x(t.value),r=x(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 U(e,t){(t=e.textContent)===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function V(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 W(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?V(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function H(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function B(e){if(Wi[e])return Wi[e];if(!Vi[e])return e;var t,n=Vi[e];for(t in n)if(n.hasOwnProperty(t)&&t in Hi)return Wi[e]=n[t];return e}function $(e){var t=Gi.get(e);return void 0===t&&(t=new Map,Gi.set(e,t)),t}function q(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 K(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 Q(e){if(q(e)!==e)throw Error(n(188))}function G(e){var t=e.alternate;if(!t){if(null===(t=q(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(o=i.return)){r=o;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return Q(i),e;if(a===o)return Q(i),t;a=a.sibling}throw Error(n(188))}if(r.return!==o.return)r=i,o=a;else{for(var l=!1,u=i.child;u;){if(u===r){l=!0,r=i,o=a;break}if(u===o){l=!0,o=i,r=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===r){l=!0,r=a,o=i;break}if(u===o){l=!0,o=a,r=i;break}u=u.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}function Y(e){if(!(e=G(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 X(e,t){if(null==t)throw Error(n(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function J(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function Z(e){if(null!==e&&(Yi=X(Yi,e)),e=Yi,Yi=null,e){if(J(e,Xi),Yi)throw Error(n(95));if(Ro)throw e=Mo,Ro=!1,Mo=null,e}}function ee(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
1odeType?e.parentNode:e}function te(e){if(!Ho)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"==typeof t[e]),t}function ne(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Ji.length&&Ji.push(e)}function re(e,t,n,r){if(Ji.length){var o=Ji.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function oe(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=Ue(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=ee(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var l=null,u=0;u<zo.length;u++){var s=zo[u];s&&(s=s.extractEvents(r,t,i,o,a))&&(l=X(l,s))}Z(l)}}function ie(e,t,n){if(!n.has(e)){switch(e){case"scroll":be(t,"scroll",!0);break;case"focus":case"blur":be(t,"focus",!0),be(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":te(e)&&be(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qi.indexOf(e)&&ge(e,t)}n.set(e,null)}}function ae(e,t){var n=$(t);la.forEach(function(e){ie(e,t,n)}),ua.forEach(function(e){ie(e,t,n)})}function le(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function ue(e,t){switch(e){case"focus":case"blur":ta=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":ra=null;break;case"pointerover":case"pointerout":oa.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ia.delete(t.pointerId)}}function se(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=le(t,n,r,o,i),null!==t&&null!==(t=Ve(t))&&Ps(t),e):(e.eventSystemFlags|=r,e)}function ce(e,t,n,r,o){switch(t){case"focus":return ta=se(ta,e,t,n,r,o),!0;case"dragenter":return na=se(na,e,t,n,r,o),!0;case"mouseover":return ra=se(ra,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return oa.set(i,se(oa.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ia.set(i,se(ia.get(i)||null,e,t,n,r,o)),!0}return!1}function fe(e){var t=Ue(e.target);if(null!==t){var n=q(t);
1if(null!==n)if(13===(t=n.tag)){if(null!==(t=K(n)))return e.blockedOn=t,void ai(e.priority,function(){Os(n)})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function de(e){if(null!==e.blockedOn)return!1;var t=xe(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Ve(t);return null!==n&&Ps(n),e.blockedOn=t,!1}return!0}function pe(e,t,n){de(e)&&n.delete(t)}function he(){for(Zi=!1;0<ea.length;){var e=ea[0];if(null!==e.blockedOn){e=Ve(e.blockedOn),null!==e&&Ts(e);break}var t=xe(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:ea.shift()}null!==ta&&de(ta)&&(ta=null),null!==na&&de(na)&&(na=null),null!==ra&&de(ra)&&(ra=null),oa.forEach(pe),ia.forEach(pe)}function me(e,t){e.blockedOn===t&&(e.blockedOn=null,Zi||(Zi=!0,ri(ci,he)))}function ve(e){if(0<ea.length){me(ea[0],e);for(var t=1;t<ea.length;t++){var n=ea[t];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==ta&&me(ta,e),null!==na&&me(na,e),null!==ra&&me(ra,e),t=function(t){return me(t,e)},oa.forEach(t),ia.forEach(t),t=0;t<aa.length;t++)n=aa[t],n.blockedOn===e&&(n.blockedOn=null);for(;0<aa.length&&(t=aa[0],null===t.blockedOn);)fe(t),null===t.blockedOn&&aa.shift()}function ye(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},fa.set(r,t),ca.set(r,i),sa[o]=i}}function ge(e,t){be(t,e,!1)}function be(e,t,n){var r=fa.get(t);switch(void 0===r?2:r){case 0:r=we.bind(null,t,1,e);break;case 1:r=Se.bind(null,t,1,e);break;default:r=Ee.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function we(e,t,n,r){Jo||Yo();var o=Ee,i=Jo;Jo=!0;try{Go(o,e,t,n,r)}finally{(Jo=i)||d()}}function Se(e,t,n,r){ha(pa,Ee.bind(null,e,t,n,r))}function Ee(e,t,n,r){if(ma)if(0<ea.length&&-1<la.indexOf(e))e=le(null,e,t,n,r),ea.push(e);else{var o=xe(e,t,n,r);if(null===o)ue(e,r);else if(-1<la.indexOf(e))e=le(o,e,t,n,r),ea.push(e);else if(!ce(o,e,t,n,r)){ue(e,r),e=re(e,r,null,t);try{p(oe,e)}finally{ne(e)}}}}function xe(e,t,n,r){if(n=ee(r),null!==(n=Ue(n))){var o=q(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=K(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=re(e,r,n,t);try{p(oe,e)}finally{ne(e)}return null}function Ce(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||va.hasOwnProperty(e)&&va[e]?(""+t).trim():t+"px"}function ke(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ce(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function Te(e,t){if(t){if(ga[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62,""))}}function Pe(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}}function Oe(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=$(e);t=Wo[t];for(var r=0;r<t.length;r++)ie(t[r],e,n)}function Ne(){}function _e(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Re(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Me(e,t){var n=Re(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=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=Re(n)}}function Ie(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ie(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function De(){for(var e=window,t=_e();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=_e(e.document)}return t}function Le(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 Ae(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoF
1ocus}return!1}function je(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 Fe(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ze(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===ba||n===Ea||n===Sa){if(0===t)return e;t--}else n===wa&&t++}e=e.previousSibling}return null}function Ue(e){var t=e[Oa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_a]||n[Oa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ze(e);null!==e;){if(n=e[Oa])return n;e=ze(e)}return t}e=n,n=e.parentNode}return null}function Ve(e){return e=e[Oa]||e[_a],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function We(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function He(e){return e[Na]||null}function Be(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function $e(e,t){var r=e.stateNode;if(!r)return null;var o=Do(r);if(!o)return null;r=o[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":(o=!o.disabled)||(e=e.type,o=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}
1function qe(e,t,n){(t=$e(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=X(n._dispatchListeners,t),n._dispatchInstances=X(n._dispatchInstances,e))}function Ke(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Be(t);for(t=n.length;0<t--;)qe(n[t],"captured",e);for(t=0;t<n.length;t++)qe(n[t],"bubbled",e)}}function Qe(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=$e(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=X(n._dispatchListeners,t),n._dispatchInstances=X(n._dispatchInstances,e))}function Ge(e){e&&e.dispatchConfig.registrationName&&Qe(e._targetInst,null,e)}function Ye(e){J(e,Ke)}function Xe(){ 2if(Ia)return Ia;var e,t,n=Ma,r=n.length,o="value"in Ra?Ra.value:Ra.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Ia=o.slice(e,1<t?1-t:void 0)}function Je(){return!0}function Ze(){return!1}function et(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var o in e)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Je:Ze,this.isPropagationStopped=Ze,this}function tt(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function nt(e){if(!(e instanceof this))throw Error(n(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function rt(e){e.eventPool=[],e.getPooled=tt,e.release=nt}function ot(e,t){switch(e){case"keyup":return-1!==Aa.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function it(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function at(e,t){switch(e){case"compositionend":return it(t);case"keypress":return 32!==t.which?null:(Ha=!0,Va);case"textInput":return e=t.data,e===Va&&Ha?null:e;default:return null}}function lt(e,t){if(Ba)return"compositionend"===e||!ja&&ot(e,t)?(e=Xe(),Ia=Ma=Ra=null,Ba=!1,e):null;switch(e){case"paste":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 Ua&&"ko"!==t.locale?null:t.data;default:return null}}function ut(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qa[e.type]:"textarea"===t}function st(e,t,n){return e=et.getPooled(Ka.change,e,t,n),e.type="change",c(n),Ye(e),e}function ct(e){Z(e)}function ft(e){if(P(We(e)))return e}function dt(e,t){if("change"===e)return t}function pt(){Qa&&(Qa.detachEvent("onpropertychange",ht),Ga=Qa=null)}function ht(e){if("value"===e.propertyName&&ft(Ga))if(e=st(Ga,e,ee(e)),Jo)Z(e);else{Jo=!0;try{Qo(ct,e)}finally{Jo=!1,d()}}}function mt(e,t,n){"focus"===e?(pt(),Qa=t,Ga=n,Qa.attachEvent("onpropertychange",ht)):"blur"===e&&pt()}function vt(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ft(Ga)}function yt(e,t){if("click"===e)return ft(t)}function gt(e,t){if("input"===e||"change"===e)return ft(t)}function bt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Za[e])&&!!t[e]}function wt(e){return bt}function St(e,t){return e===t&&(0!==e||1/e==1/t)||e!==e&&t!==t}function Et(e,t){if(ul(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++)if(!sl.call(t,n[r])||!ul(e[n[r]],t[n[r]]))return!1;return!0}function xt(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return ml||null==dl||dl!==_e(n)?null:(n=dl,"selectionStart"in n&&Le(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),hl&&Et(hl,n)?null:(hl=n,e=et.getPooled(fl.select,pl,e,t),e.type="select",e.target=dl,Ye(e),e))}function Ct(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 kt(e,t){0>Nl||(e.current=Ol[Nl],Ol[Nl]=null,Nl--)}function Tt(e,t,n){Nl++,Ol[Nl]=e.current,e.current=t}function Pt(e,t){var n=e.type.contextTypes;if(!n)return _l;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};
2for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ot(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Nt(e,t,r){if(Rl.current!==_l)throw Error(n(168));Tt(Rl,t),Tt(Ml,r)}function _t(e,t,r){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return r;o=o.getChildContext();for(var i in o)if(!(i in e))throw Error(n(108,S(t)||"Unknown",i));return Bo({},r,{},o)}function Rt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_l,Il=Rl.current,Tt(Rl,e),Tt(Ml,Ml.current),!0}function Mt(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=_t(e,t,Il),o.__reactInternalMemoizedMergedChildContext=e,kt(Ml),kt(Rl),Tt(Rl,e)):kt(Ml),Tt(Ml,r)}function It(){switch(jl()){case Fl:return 99;case zl:return 98;case Ul:return 97;case Vl:return 96;case Wl:return 95;default:throw Error(n(332))}}function Dt(e){switch(e){case 99:return Fl;case 98:return zl;case 97:return Ul;case 96:return Vl;case 95:return Wl;default:throw Error(n(332))}}function Lt(e,t){return e=Dt(e),Dl(e,t)}function At(e,t,n){return e=Dt(e),Ll(e,t,n)}function jt(e){return null===ql?(ql=[e],Kl=Ll(Fl,zt)):ql.push(e),Hl}function Ft(){if(null!==Kl){var e=Kl;Kl=null,Al(e)}zt()}function zt(){if(!Ql&&null!==ql){Ql=!0;var e=0;try{var t=ql;Lt(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),ql=null}catch(t){throw null!==ql&&(ql=ql.slice(e+1)),Ll(Fl,Ft),t}finally{Ql=!1}}}function Ut(e,t,n){return n/=10,1073741821-(1+((1073741821-e+t/10)/n|0))*n}function Vt(e,t){if(e&&e.defaultProps){t=Bo({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function Wt(){eu=Zl=Jl=null}function Ht(e){var t=Xl.current;kt(Xl),e.type._context._currentValue=t}function Bt(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function $t(e,t){Jl=e,eu=Zl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(_u=!0),e.firstContext=null)}function qt(e,t){if(eu!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(eu=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zl){if(null===Jl)throw Error(n(308));Zl=t,Jl.dependencies={expirationTime:0,firstContext:t,responders:null}}else Zl=Zl.next=t;return e._currentValue}function Kt(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function Qt(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function Gt(e,t){return e={expirationTime:e,suspenseConfig:t,tag:tu,payload:null,callback:null,next:null},e.next=e}function Yt(e,t){if(null!==(e=e.updateQueue)){e=e.shared;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Xt(e,t){var n=e.alternate;null!==n&&Qt(n,e),e=e.updateQueue,n=e.baseQueue,null===n?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function Jt(e,t,n,r){var o=e.updateQueue;ru=!1;var i=o.baseQueue,a=o.shared.pending;if(null!==a){if(null!==i){var l=i.next;i.next=a.next,a.next=l}i=a,o.shared.pending=null,l=e.alternate,null!==l&&null!==(l=l.updateQueue)&&(l.baseQueue=a)}if(null!==i){l=i.next;var u=o.baseState,s=0,c=null,f=null,d=null;if(null!==l)for(var p=l;;){if((a=p.expirationTime)<r){var h={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===d?(f=d=h,c=u):d=d.next=h,a>s&&(s=a)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),Vr(a,p.suspenseConfig);e:{var m=e,v=p;switch(a=t,h=n,v.tag){case 1:if("function"==typeof(m=v.payload)){u=m.call(h,u,a);break e}u=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case tu:if(m=v.payload,null===(a="function"==typeof m?m.call(h,u,a):m)||void 0===a)break e;u=Bo({},u,a);break e;case nu:ru=!0}}null!==p.callback&&(e.effectTag|=32,a=o.effects,null===a?o.effects=[p]:a.push(p))}if(null===(p=p.next)||p===l){if(null===(a=o.shared.pending))break;p=i.next=a.next,a.next=l,o.baseQueue=i=a,o.shared.pending=null}}null===d?c=u:d.next=f,o.baseState=c,o.baseQueue=d,Wr(s),e.expirationTime=s,e.memoizedState=u}}function Zt(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],i=o.callback;
2if(null!==i){if(o.callback=null,o=i,i=r,"function"!=typeof o)throw Error(n(191,o));o.call(i)}}}function en(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:Bo({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}function tn(e,t,n,r,o,i,a){return e=e.stateNode,"function"==typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Et(n,r)||!Et(o,i))}function nn(e,t,n){var r=!1,o=_l,i=t.contextType;return"object"==typeof i&&null!==i?i=qt(i):(o=Ot(t)?Il:Rl.current,r=t.contextTypes,i=(r=null!==r&&void 0!==r)?Pt(e,o):_l),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=au,e.stateNode=t,t._reactInternalFiber=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function rn(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&&au.enqueueReplaceState(t,t.state,null)}function on(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=iu,Kt(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=qt(i):(i=Ot(t)?Il:Rl.current,o.context=Pt(e,i)),Jt(e,n,o,r),o.state=e.memoizedState,i=t.getDerivedStateFromProps,"function"==typeof i&&(en(e,t,i,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&&au.enqueueReplaceState(o,o.state,null),Jt(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}function an(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===iu&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function ln(e,t){if("textarea"!==e.type)throw Error(n(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function un(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(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 i(e,t){return e=lo(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?(t=co(n,e.mode,r),t.return=e,t):(t=i(t,n),t.return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?(r=i(t,n.props),r.ref=an(e,t,n),r.return=e,r):(r=uo(n.type,n.key,n.props,null,e.mode,r),r.ref=an(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=fo(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[]),t.return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?(t=so(n,e.mode,r,o),t.return=e,t):(t=i(t,n),t.return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return t=co(""+t,e.mode,n),t.return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ci:return n=uo(t.type,t.key,t.props,null,e.mode,n),n.ref=an(e,null,t),n.return=e,n;case ki:return t=fo(t,e.mode,n),t.return=e,t}if(lu(t)||b(t))return t=so(t,e.mode,n,null),t.return=e,t;ln(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ci:return n.key===o?n.type===Ti?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case ki:return n.key===o?c(e,t,n,r):null}if(lu(n)||b(n))return null!==o?null:f(e,t,n,r,null);ln(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return e=e.get(n)||null,u(t,e,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ci:return e=e.get(null===r.key?n:r.key)||null,r.type===Ti?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case ki:return e=e.get(null===r.key?n:r.key)||null,c(t,e,r,o)}if(lu(r)||b(r))return e=e.get(n)||null,f(t,e,r,o,null);ln(t,r)}return null}function m(n,i,l,u){for(var s=null,c=null,f=i,m=i=0,v=null;null!==f&&m<l.length;m++){f.index>
vendor: 4,816 bytes, line 2
2m?(v=f,f=null):v=f.sibling;var y=p(n,f,l[m],u);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(n,f),i=a(y,i,m),null===c?s=y:c.sibling=y,c=y,f=v}if(m===l.length)return r(n,f),s;if(null===f){for(;m<l.length;m++)null!==(f=d(n,l[m],u))&&(i=a(f,i,m),null===c?s=f:c.sibling=f,c=f);return s}for(f=o(n,f);m<l.length;m++)null!==(v=h(f,n,m,l[m],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach(function(e){return t(n,e)}),s}function v(i,l,u,s){var c=b(u);if("function"!=typeof c)throw Error(n(150));if(null==(u=c.call(u)))throw Error(n(151));for(var f=c=null,m=l,v=l=0,y=null,g=u.next();null!==m&&!g.done;v++,g=u.next()){m.index>v?(y=m,m=null):y=m.sibling;var w=p(i,m,g.value,s);if(null===w){null===m&&(m=y);break}e&&m&&null===w.alternate&&t(i,m),l=a(w,l,v),null===f?c=w:f.sibling=w,f=w,m=y}if(g.done)return r(i,m),c;if(null===m){for(;!g.done;v++,g=u.next())null!==(g=d(i,g.value,s))&&(l=a(g,l,v),null===f?c=g:f.sibling=g,f=g);return c}for(m=o(i,m);!g.done;v++,g=u.next())null!==(g=h(m,i,v,g.value,s))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),l=a(g,l,v),null===f?c=g:f.sibling=g,f=g);return e&&m.forEach(function(e){return t(i,e)}),c}return function(e,o,a,u){var s="object"==typeof a&&null!==a&&a.type===Ti&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case Ci:e:{for(c=a.key,s=o;null!==s;){if(s.key===c){switch(s.tag){case 7:if(a.type===Ti){r(e,s.sibling),o=i(s,a.props.children),o.return=e,e=o;break e}break;default:if(s.elementType===a.type){r(e,s.sibling),o=i(s,a.props),o.ref=an(e,s,a),o.return=e,e=o;break e}}r(e,s);break}t(e,s),s=s.sibling}a.type===Ti?(o=so(a.props.children,e.mode,u,a.key),o.return=e,e=o):(u=uo(a.type,a.key,a.props,null,e.mode,u),u.ref=an(e,o,a),u.return=e,e=u)}return l(e);case ki:e:{for(s=a.key;null!==o;){if(o.key===s){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){r(e,o.sibling),o=i(o,a.children||[]),o.return=e,e=o;break e}r(e,o);break}t(e,o),o=o.sibling}o=fo(a,e.mode,u),o.return=e,e=o}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==o&&6===o.tag?(r(e,o.sibling),o=i(o,a),o.return=e,e=o):(r(e,o),o=co(a,e.mode,u),o.return=e,e=o),l(e);if(lu(a))return m(e,o,a,u);if(b(a))return v(e,o,a,u);if(c&&ln(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(n(152,e.displayName||e.name||"Component"))}return r(e,o)}}function sn(e){if(e===cu)throw Error(n(174));return e}function cn(e,t){switch(Tt(pu,t),Tt(du,e),Tt(fu,cu),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:W(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=W(t,e)}kt(fu),Tt(fu,t)}function fn(e){kt(fu),kt(du),kt(pu)}function dn(e){sn(pu.current);var t=sn(fu.current),n=W(t,e.type);t!==n&&(Tt(du,e),Tt(fu,n))}function pn(e){du.current===e&&(kt(fu),kt(du))}function hn(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===Sa||n.data===Ea))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 mn(e,t){return{responder:e,props:t}}function vn(){throw Error(n(321))}function yn(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ul(e[n],t[n]))return!1;return!0}function gn(e,t,r,o,i,a){if(yu=a,gu=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,mu.current=null===e||null===e.memoizedState?xu:Cu,e=r(o,i),t.expirationTime===yu){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(n(301));a+=1,wu=bu=null,t.updateQueue=null,mu.current=ku,e=r(o,i)}while(t.expirationTime===yu)}if(mu.current=Eu,t=null!==bu&&null!==bu.next,yu=0,wu=bu=gu=null,Su=!1,t)throw Error(n(300));return e}function bn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===wu?gu.memoizedState=wu=e:wu=wu.next=e,wu}function wn(){if(null===bu){var e=gu.alternate;e=null!==e?e.memoizedState:null}else e=bu.next;var t=null===wu?gu.memoizedState:wu.next;if(null!==t)wu=t,bu=e;else{if(null===e)throw Error(n(310));bu=e,e={memoizedState:bu.memoizedState,baseState:bu.baseState,baseQueue:bu.baseQueue,queue:bu.queue,next:null},null===wu?gu.memoizedState=wu=e:wu=wu.next=e}return wu}function Sn(e,t){return"function"==typeof t?t(e):t}function En(e,t,r){if(t=wn(),null===(r=t.queue))throw Error(n(311));r.lastRenderedReducer=e;var o=bu,i=o.baseQueue,a=r.pending;if(null!==a){if(null!==i){var l=i.next;i.next=a.next,a.next=l}o.baseQueue=i=a,r.pending=null}if(null!==i){i=i.next,o=o.baseState;
2var u=l=a=null,s=i;do{var c=s.expirationTime;if(c<yu){var f={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,a=o):u=u.next=f,c>gu.expirationTime&&(gu.expirationTime=c,Wr(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),Vr(c,s.suspenseConfig),o=s.eagerReducer===e?s.eagerState:e(o,s.action);s=s.next}while(null!==s&&s!==i);null===u?a=o:u.next=l,ul(o,t.memoizedState)||(_u=!0),t.memoizedState=o,t.baseState=a,t.baseQueue=u,r.lastRenderedState=o}return[t.memoizedState,r.dispatch]}function xn(e,t,r){if(t=wn(),null===(r=t.queue))throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var l=i=i.next;do{a=e(a,l.action),l=l.next}while(l!==i);ul(a,t.memoizedState)||(_u=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function Cn(e){var t=bn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:e},e=e.dispatch=zn.bind(null,gu,e),[t.memoizedState,e]}function kn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=gu.updateQueue,null===t?(t={lastEffect:null},gu.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,null===n?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Tn(e){return wn().memoizedState}function Pn(e,t,n,r){var o=bn();gu.effectTag|=e,o.memoizedState=kn(1|t,n,void 0,void 0===r?null:r)}function On(e,t,n,r){var o=wn();r=void 0===r?null:r;var i=void 0;if(null!==bu){var a=bu.memoizedState;if(i=a.destroy,null!==r&&yn(r,a.deps))return void kn(t,n,i,r)}gu.effectTag|=e,o.memoizedState=kn(1|t,n,i,r)}function Nn(e,t){return Pn(516,4,e,t)}function _n(e,t){return On(516,4,e,t)}function Rn(e,t){return On(4,2,e,t)}function Mn(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 In(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,On(4,2,Mn.bind(null,t,e),n)}function Dn(e,t){}function Ln(e,t){return bn().memoizedState=[e,void 0===t?null:t],e}function An(e,t){var n=wn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&yn(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function jn(e,t){var n=wn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&yn(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Fn(e,t,n){var r=It();Lt(98>r?98:r,function(){e(!0)}),Lt(97<r?97:r,function(){var r=vu.suspense;vu.suspense=void 0===t?null:t;try{e(!1),n()}finally{vu.suspense=r}})}function zn(e,t,n){var r=Or(),o=ou.suspense;r=Nr(r,e,o),o={expirationTime:r,suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===gu||null!==i&&i===gu)Su=!0,o.expirationTime=yu,gu.expirationTime=yu;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.eagerReducer=i,o.eagerState=l,ul(l,a))return}catch(e){}Ss(e,r)}}function Un(e,t){var n=ks(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 Vn(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 Wn(e){if(Ou){var t=Pu;if(t){var n=t;if(!Vn(e,t)){if(!(t=Fe(n.nextSibling))||!Vn(e,t))return e.effectTag=-1025&e.effectTag|2,Ou=!1,void(Tu=e);Un(Tu,n)}Tu=e,Pu=Fe(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ou=!1,Tu=e}}function Hn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Tu=e}function Bn(e){if(e!==Tu)return!1;if(!Ou)return Hn(e),Ou=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!je(t,e.memoizedProps))for(t=Pu;t;)Un(e,t),t=Fe(t.nextSibling);if(Hn(e),13===e.tag){if(e=e.memoizedState,!(e=null!==e?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if(r===wa){if(0===t){Pu=Fe(e.nextSibling);break e}t--}
vendor: 10,293 bytes, lines 2-3
2else r!==ba&&r!==Ea&&r!==Sa||t++}e=e.nextSibling}Pu=null}}else Pu=Tu?Fe(e.stateNode.nextSibling):null;return!0}function $n(){Pu=Tu=null,Ou=!1}function qn(e,t,n,r){t.child=null===e?su(t,null,n,r):uu(t,e.child,n,r)}function Kn(e,t,n,r,o){n=n.render;var i=t.ref;return $t(t,o),r=gn(e,t,n,r,i,o),null===e||_u?(t.effectTag|=1,qn(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),ir(e,t,o))}function Qn(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||io(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=uo(n.type,null,r,null,t.mode,i),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Gn(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,n=n.compare,(n=null!==n?n:Et)(o,r)&&e.ref===t.ref)?ir(e,t,i):(t.effectTag|=1,e=lo(a,r),e.ref=t.ref,e.return=t,t.child=e)}function Gn(e,t,n,r,o,i){return null!==e&&Et(e.memoizedProps,r)&&e.ref===t.ref&&(_u=!1,o<i)?(t.expirationTime=e.expirationTime,ir(e,t,i)):Xn(e,t,n,r,i)}function Yn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Xn(e,t,n,r,o){var i=Ot(n)?Il:Rl.current;return i=Pt(t,i),$t(t,o),n=gn(e,t,n,r,i,o),null===e||_u?(t.effectTag|=1,qn(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),ir(e,t,o))}function Jn(e,t,n,r,o){if(Ot(n)){var i=!0;Rt(t)}else i=!1;if($t(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),nn(t,n,r),on(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=qt(s):(s=Ot(n)?Il:Rl.current,s=Pt(t,s));var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&rn(t,a,r,s),ru=!1;var d=t.memoizedState;a.state=d,Jt(t,r,a,o),u=t.memoizedState,l!==r||d!==u||Ml.current||ru?("function"==typeof c&&(en(t,n,c,r),u=t.memoizedState),(l=ru||tn(t,n,l,r,d,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,Qt(e,t),l=t.memoizedProps,a.props=t.type===t.elementType?l:Vt(t.type,l),u=a.context,s=n.contextType,"object"==typeof s&&null!==s?s=qt(s):(s=Ot(n)?Il:Rl.current,s=Pt(t,s)),c=n.getDerivedStateFromProps,(f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&rn(t,a,r,s),ru=!1,u=t.memoizedState,a.state=u,Jt(t,r,a,o),d=t.memoizedState,l!==r||u!==d||Ml.current||ru?("function"==typeof c&&(en(t,n,c,r),d=t.memoizedState),(c=ru||tn(t,n,l,r,u,d,s))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,s)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Zn(e,t,n,r,i,o)}function Zn(e,t,n,r,o,i){Yn(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Mt(t,n,!1),ir(e,t,i);r=t.stateNode,Nu.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=uu(t,e.child,null,i),t.child=uu(t,null,l,i)):qn(e,t,l,i),t.memoizedState=r.state,o&&Mt(t,n,!0),t.child}function er(e){var t=e.stateNode;t.pendingContext?Nt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Nt(e,t.context,!1),cn(e,t.containerInfo)}function tr(e,t,n){var r,o=t.mode,i=t.pendingProps,a=hu.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),Tt(hu,1&a),null===e){if(void 0!==i.fallback&&Wn(t),l){if(l=i.fallback,i=so(null,o,0,null),i.return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return n=so(l,o,n,null),n.return=t,i.sibling=n,t.memoizedState=Ru,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=su(t,null,o,n)}if(null!==e.memoizedState){if(e=e.child,o=e.sibling,l){if(i=i.fallback,n=lo(e,e.pendingProps),n.return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return o=lo(o,i),o.return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ru,t.child=n,o}return n=uu(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=i.fallback,i=so(null,o,0,null),i.return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return n=so(l,o,n,null),n.return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ru,t.child=i,n}return t.memoizedState=null,t.child=uu(t,e,i.children,n)}function nr(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),Bt(e.return,t)}function rr(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function or(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(qn(e,t,r.children,n),0!=(2&(r=hu.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nr(e,n);else if(19===e.tag)nr(e,n);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(Tt(hu,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)e=n.alternate,null!==e&&null===hn(e)&&(o=n),n=n.sibling;n=o,null===n?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rr(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===hn(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rr(t,!0,n,null,i,t.lastEffect);break;case"together":rr(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ir(e,t,r){null!==e&&(t.dependencies=e.dependencies);var o=t.expirationTime;if(0!==o&&Wr(o),t.childExpirationTime<r)return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(e=t.child,r=lo(e,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,r=r.sibling=lo(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function ar(e,t){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 lr(e,t,r){var o=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ot(t.type)&&(kt(Ml),kt(Rl)),null;case 3:return fn(),kt(Ml),kt(Rl),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||!Bn(t)||(t.effectTag|=4),Iu(t),null;case 5:pn(t),r=sn(pu.current);var i=t.type;if(null!==e&&null!=t.stateNode)Du(e,t,i,o,r),e.ref!==t.ref&&(t.effectTag|=128);else{if(!o){if(null===t.stateNode)throw Error(n(166));return null}if(e=sn(fu.current),Bn(t)){o=t.stateNode,i=t.type;var a=t.memoizedProps;switch(o[Oa]=t,o[Na]=a,i){case"iframe":case"object":case"embed":ge("load",o);break;case"video":case"audio":for(e=0;e<Qi.length;e++)ge(Qi[e],o);break;case"source":ge("error",o);break;case"img":case"image":case"link":ge("error",o),ge("load",o);break;case"form":ge("reset",o),ge("submit",o);break;case"details":ge("toggle",o);break;case"input":N(o,a),ge("invalid",o),Oe(r,"onChange");break;case"select":o._wrapperState={wasMultiple:!!a.multiple},ge("invalid",o),Oe(r,"onChange");break;case"textarea":F(o,a),ge("invalid",o),Oe(r,"onChange")}Te(i,a),e=null;for(var l in a)if(a.hasOwnProperty(l)){ 3var u=a[l];"children"===l?"string"==typeof u?o.textContent!==u&&(e=["children",u]):"number"==typeof u&&o.textContent!==""+u&&(e=["children",""+u]):Vo.hasOwnProperty(l)&&null!=u&&Oe(r,l)}switch(i){case"input":T(o),M(o,a,!0);break;case"textarea":T(o),U(o);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(o.onclick=Ne)}r=e,t.updateQueue=r,null!==r&&(t.effectTag|=4)}else{switch(l=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=V(i)),"http://www.w3.org/1999/xhtml"===e?"script"===i?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=l.createElement(i,{is:o.is}):(e=l.createElement(i),"select"===i&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,i),e[Oa]=t,e[Na]=o,Mu(e,t,!1,!1),t.stateNode=e,l=Pe(i,o),i){case"iframe":case"object":case"embed":ge("load",e),u=o;break;case"video":case"audio":for(u=0;
3u<Qi.length;u++)ge(Qi[u],e);u=o;break;case"source":ge("error",e),u=o;break;case"img":case"image":case"link":ge("error",e),ge("load",e),u=o;break;case"form":ge("reset",e),ge("submit",e),u=o;break;case"details":ge("toggle",e),u=o;break;case"input":N(e,o),u=O(e,o),ge("invalid",e),Oe(r,"onChange");break;case"option":u=L(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},u=Bo({},o,{value:void 0}),ge("invalid",e),Oe(r,"onChange");break;case"textarea":F(e,o),u=j(e,o),ge("invalid",e),Oe(r,"onChange");break;default:u=o}Te(i,u);var s=u;for(a in s)if(s.hasOwnProperty(a)){var c=s[a];"style"===a?ke(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&zi(e,c):"children"===a?"string"==typeof c?("textarea"!==i||""!==c)&&Ui(e,c):"number"==typeof c&&Ui(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Vo.hasOwnProperty(a)?null!=c&&Oe(r,a):null!=c&&g(e,a,c,l))}switch(i){case"input":T(e),M(e,o,!1);break;case"textarea":T(e),U(e);break;case"option":null!=o.value&&e.setAttribute("value",""+x(o.value));break;case"select":e.multiple=!!o.multiple,r=o.value,null!=r?A(e,!!o.multiple,r,!1):null!=o.defaultValue&&A(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=Ne)}Ae(i,o)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Lu(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(n(166));r=sn(pu.current),sn(fu.current),Bn(t)?(r=t.stateNode,o=t.memoizedProps,r[Oa]=t,r.nodeValue!==o&&(t.effectTag|=4)):(r=(9===r.nodeType?r:r.ownerDocument).createTextNode(o),r[Oa]=t,t.stateNode=r)}return null;case 13:return kt(hu),(o=t.memoizedState,0!=(64&t.effectTag))?(t.expirationTime=r,t):(r=null!==o,o=!1,null===e?void 0!==t.memoizedProps.fallback&&Bn(t):(i=e.memoizedState,o=null!==i,r||null===i||null!==(i=e.child.sibling)&&(a=t.firstEffect,null!==a?(t.firstEffect=i,i.nextEffect=a):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),r&&!o&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&hu.current)?ts===$u&&(ts=Qu):(ts!==$u&&ts!==Qu||(ts=Gu),0!==as&&null!==Ju&&(mo(Ju,es),vo(Ju,as)))),(r||o)&&(t.effectTag|=4),null);case 4:return fn(),Iu(t),null;case 10:return Ht(t),null;case 17:return Ot(t.type)&&(kt(Ml),kt(Rl)),null;case 19:if(kt(hu),null===(o=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(a=o.rendering)){if(i)ar(o,!1);else if(ts!==$u||null!==e&&0!=(64&e.effectTag))for(a=t.child;null!==a;){if(null!==(e=hn(a))){for(t.effectTag|=64,ar(o,!1),i=e.updateQueue,null!==i&&(t.updateQueue=i,t.effectTag|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=t.child;null!==o;)i=o,a=r,i.effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,e=i.alternate,null===e?(i.childExpirationTime=0,i.expirationTime=a,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,a=e.dependencies,i.dependencies=null===a?null:{expirationTime:a.expirationTime,firstContext:a.firstContext,responders:a.responders}),o=o.sibling;return Tt(hu,1&hu.current|2),t.child}a=a.sibling}}else{if(!i)if(null!==(e=hn(a))){if(t.effectTag|=64,i=!0,r=e.updateQueue,null!==r&&(t.updateQueue=r,t.effectTag|=4),ar(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate)return t=t.lastEffect=o.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*Yl()-o.renderingStartTime>o.tailExpiration&&1<r&&(t.effectTag|=64,i=!0,ar(o,!1),t.expirationTime=t.childExpirationTime=r-1);o.isBackwards?(a.sibling=t.child,t.child=a):(r=o.last,null!==r?r.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(0===o.tailExpiration&&(o.tailExpiration=Yl()+500),r=o.tail,o.rendering=r,o.tail=r.sibling,o.lastEffect=t.lastEffect,o.renderingStartTime=Yl(),r.sibling=null,t=hu.current,Tt(hu,i?1&t|2:1&t),r):null}throw Error(n(156,t.tag))}function ur(e,t){switch(e.tag){case 1:return Ot(e.type)&&(kt(Ml),kt(Rl)),t=e.effectTag,4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(fn(),kt(Ml),kt(Rl),0!=(64&(t=e.effectTag)))throw Error(n(285));return e.effectTag=-4097&t|64,e;case 5:return pn(e),null;case 13:return kt(hu),t=e.effectTag,4096&t?(e.effectTag=-4097&t|64,e):null;case 19:return kt(hu),null;case 4:return fn(),null;case 10:return Ht(e),null;default:return null}}function sr(e,t){return{value:e,source:t,stack:E(t)}}function cr(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=E(n)),null!==n&&S(n.type),t=t.value,null!==e&&1===e.tag&&S(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function fr(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){eo(e,t)}}function dr(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){eo(e,t)}else t.current=null}function pr(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var r=e.memoizedProps,o=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Vt(t.type,r),o),e.__reactInternalSnapshotBeforeUpdate=t}return;
3case 3:case 5:case 6:case 4:case 17:return}throw Error(n(163))}function hr(e,t){if(t=t.updateQueue,null!==(t=null!==t?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function mr(e,t){if(t=t.updateQueue,null!==(t=null!==t?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 vr(e,t,r,o){switch(r.tag){case 0:case 11:case 15:case 22:return void mr(3,r);case 1:return e=r.stateNode,4&r.effectTag&&(null===t?e.componentDidMount():(o=r.elementType===r.type?t.memoizedProps:Vt(r.type,t.memoizedProps),e.componentDidUpdate(o,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=r.updateQueue)&&Zt(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}Zt(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.effectTag&&Ae(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&null!==(r=r.alternate)&&null!==(r=r.memoizedState)&&null!==(r=r.dehydrated)&&ve(r));case 19:case 17:case 20:case 21:return}throw Error(n(163))}function yr(e,t,n){switch("function"==typeof Cs&&Cs(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Lt(97<n?97:n,function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){eo(o,e)}}e=e.next}while(e!==r)})}break;case 1:dr(t),n=t.stateNode,"function"==typeof n.componentWillUnmount&&fr(t,n);break;case 5:dr(t);break;case 4:xr(e,t,n)}}function gr(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&gr(t)}function br(e){return 5===e.tag||3===e.tag||4===e.tag}function wr(e){e:{for(var t=e.return;null!==t;){if(br(t)){var r=t;break e}t=t.return}throw Error(n(160))}switch(t=r.stateNode,r.tag){case 5:var o=!1;break;case 3:case 4:t=t.containerInfo,o=!0;break;default:throw Error(n(161))}16&r.effectTag&&(Ui(t,""),r.effectTag&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||br(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break e}}o?Sr(e,r,t):Er(e,r,t)}function Sr(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Ne));else if(4!==r&&null!==(e=e.child))for(Sr(e,t,n),e=e.sibling;null!==e;)Sr(e,t,n),e=e.sibling}function Er(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Er(e,t,n),e=e.sibling;null!==e;)Er(e,t,n),e=e.sibling}function xr(e,t,r){for(var o,i,a=t,l=!1;;){if(!l){l=a.return;e:for(;;){if(null===l)throw Error(n(160));switch(o=l.stateNode,l.tag){case 5:i=!1;break e;case 3:case 4:o=o.containerInfo,i=!0;break e}l=l.return}l=!0}if(5===a.tag||6===a.tag){e:for(var u=e,s=a,c=r,f=s;;)if(yr(u,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break e;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(u=o,s=a.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):o.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){o=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(yr(e,a,r),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;a=a.return,4===a.tag&&(l=!1)}a.sibling.return=a.return,a=a.sibling}}function Cr(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void hr(3,t);case 1:return;case 5:var r=t.stateNode;if(null!=r){var o=t.memoizedProps,i=null!==e?e.memoizedProps:o;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(r[Na]=o,"input"===e&&"radio"===o.type&&null!=o.name&&_(r,o),Pe(e,i),t=Pe(e,o),i=0;i<a.length;i+=2){var l=a[i],u=a[i+1];"style"===l?ke(r,u):"dangerouslySetInnerHTML"===l?zi(r,u):"children"===l?Ui(r,u):g(r,l,u,t)}switch(e){case"input":R(r,o);break;case"textarea":z(r,o);break;case"select":t=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!o.multiple,e=o.value,null!=e?A(r,!!o.multiple,e,!1):t!==!!o.multiple&&(null!=o.defaultValue?A(r,!!o.multiple,o.defaultValue,!0):A(r,!!o.multiple,o.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(n(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return t=t.stateNode,void(t.hydrate&&(t.hydrate=!1,ve(t.containerInfo)));case 12:return;case 13:if(r=t,null===t.memoizedState?o=!1:(o=!0,r=t.child,us=Yl()),null!==r)e:for(e=r;;){if(5===e.tag)a=e.stateNode,o?(a=a.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(a=e.stateNode,i=e.memoizedProps.style,i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,a.style.display=Ce("display",i));else if(6===e.tag)e.stateNode.nodeValue=o?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){a=e.child.sibling,a.return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===r)break;for(;null===e.sibling;){if(null===e.return||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void kr(t);case 19:return void kr(t);case 17:return}throw Error(n(163))}function kr(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Au),t.forEach(function(t){var r=no.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Tr(e,t,n){n=Gt(n,null),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){fs||(fs=!0,ds=r),cr(e,t)},n}function Pr(e,t,n){n=Gt(n,null),n.tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;
3n.payload=function(){return cr(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ps?ps=new Set([this]):ps.add(this),cr(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function Or(){return(Xu&(Hu|Bu))!==Vu?1073741821-(Yl()/10|0):0!==ws?ws:ws=1073741821-(Yl()/10|0)}function Nr(e,t,r){if(0==(2&(t=t.mode)))return 1073741823;var o=It();if(0==(4&t))return 99===o?1073741823:1073741822;if((Xu&Hu)!==Vu)return es;if(null!==r)e=Ut(e,0|r.timeoutMs||5e3,250);else switch(o){case 99:e=1073741823;break;case 98:e=Ut(e,150,100);break;case 97:case 96:e=Ut(e,5e3,250);break;case 95:e=2;break;default:throw Error(n(326))}return null!==Ju&&e===es&&--e,e}function _r(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Ju===o&&(Wr(t),ts===Gu&&mo(o,es)),vo(o,t)),o}function Rr(e){var t=e.lastExpiredTime;if(0!==t)return t;if(t=e.firstPendingTime,!ho(e,t))return t;var n=e.lastPingedTime;return e=e.nextKnownPendingLevel,e=n>e?n:e,2>=e&&t!==e?0:e}function Mr(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=jt(Dr.bind(null,e));else{var t=Rr(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Or();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!==Hl&&Al(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?jt(Dr.bind(null,e)):At(r,Ir.bind(null,e),{timeout:10*(1073741821-t)-Yl()}),e.callbackNode=t}}}function Ir(e,t){if(ws=0,t)return t=Or(),yo(e,t),Mr(e),null;var r=Rr(e);if(0!==r){if(t=e.callbackNode,(Xu&(Hu|Bu))!==Vu)throw Error(n(327));if(Xr(),e===Ju&&r===es||Fr(e,r),null!==Zu){var o=Xu;Xu|=Hu;for(var i=Ur();;)try{Br();break}catch(t){zr(e,t)}if(Wt(),Xu=o,zu.current=i,ts===qu)throw t=ns,Fr(e,r),mo(e,r),Mr(e),t;if(null===Zu)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=r,o=ts,Ju=null,o){case $u:case qu:throw Error(n(345));case Ku:yo(e,2<r?2:r);break;case Qu:if(mo(e,r),o=e.lastSuspendedTime,r===o&&(e.nextKnownPendingLevel=Kr(i)),1073741823===rs&&10<(i=us+ss-Yl())){if(ls){var a=e.lastPingedTime;if(0===a||a>=r){e.lastPingedTime=r,Fr(e,r);break}}if(0!==(a=Rr(e))&&a!==r)break;if(0!==o&&o!==r){e.lastPingedTime=o;break}e.timeoutHandle=ka(Qr.bind(null,e),i);break}Qr(e);break;case Gu:if(mo(e,r),o=e.lastSuspendedTime,r===o&&(e.nextKnownPendingLevel=Kr(i)),ls&&(0===(i=e.lastPingedTime)||i>=r)){e.lastPingedTime=r,Fr(e,r);break}if(0!==(i=Rr(e))&&i!==r)break;if(0!==o&&o!==r){e.lastPingedTime=o;break}if(1073741823!==os?o=10*(1073741821-os)-Yl():1073741823===rs?o=0:(o=10*(1073741821-rs)-5e3,i=Yl(),r=10*(1073741821-r)-i,o=i-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*Fu(o/1960))-o,r<o&&(o=r)),10<o){e.timeoutHandle=ka(Qr.bind(null,e),o);break}Qr(e);break;case Yu:if(1073741823!==rs&&null!==is){a=rs;var l=is;if(o=0|l.busyMinDurationMs,0>=o?o=0:(i=0|l.busyDelayMs,a=Yl()-(10*(1073741821-a)-(0|l.timeoutMs||5e3)),o=a<=i?0:i+o-a),10<o){mo(e,r),e.timeoutHandle=ka(Qr.bind(null,e),o);break}}Qr(e);break;default:throw Error(n(329))}if(Mr(e),e.callbackNode===t)return Ir.bind(null,e)}}return null}function Dr(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Xu&(Hu|Bu))!==Vu)throw Error(n(327));if(Xr(),e===Ju&&t===es||Fr(e,t),null!==Zu){var r=Xu;Xu|=Hu;for(var o=Ur();;)try{Hr();break}catch(t){zr(e,t)}if(Wt(),Xu=r,zu.current=o,ts===qu)throw r=ns,Fr(e,t),mo(e,t),Mr(e),r;if(null!==Zu)throw Error(n(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ju=null,Qr(e),Mr(e)}return null}function Lr(){if(null!==ys){var e=ys;ys=null,e.forEach(function(e,t){yo(t,e),Mr(t)}),Ft()}}function Ar(e,t){var n=Xu;Xu|=1;try{return e(t)}finally{(Xu=n)===Vu&&Ft()}}function jr(e,t){var n=Xu;Xu&=-2,Xu|=Wu;
vendor: 4,721 bytes, line 3
3try{return e(t)}finally{(Xu=n)===Vu&&Ft()}}function Fr(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ta(n)),null!==Zu)for(n=Zu.return;null!==n;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,null!==r&&void 0!==r&&(kt(Ml),kt(Rl));break;case 3:fn(),kt(Ml),kt(Rl);break;case 5:pn(r);break;case 4:fn();break;case 13:case 19:kt(hu);break;case 10:Ht(r)}n=n.return}Ju=e,Zu=lo(e.current,null),es=t,ts=$u,ns=null,os=rs=1073741823,is=null,as=0,ls=!1}function zr(e,t){for(;;){try{if(Wt(),mu.current=Eu,Su)for(var n=gu.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(yu=0,wu=bu=gu=null,Su=!1,null===Zu||null===Zu.return)return ts=qu,ns=t,Zu=null;e:{var o=e,i=Zu.return,a=Zu,l=t;if(t=es,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var s=a.alternate;s?(a.updateQueue=s.updateQueue,a.memoizedState=s.memoizedState,a.expirationTime=s.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&hu.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(d){var m=f.updateQueue;if(null===m){var v=new Set;v.add(u),f.updateQueue=v}else m.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var y=Gt(1073741823,null);y.tag=nu,Yt(a,y)}a.expirationTime=1073741823;break e}l=void 0,a=t;var g=o.pingCache;if(null===g?(g=o.pingCache=new ju,l=new Set,g.set(u,l)):void 0===(l=g.get(u))&&(l=new Set,g.set(u,l)),!l.has(a)){l.add(a);var b=to.bind(null,o,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);l=Error((S(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+E(a))}ts!==Yu&&(ts=Ku),l=sr(l,a),f=i;do{switch(f.tag){case 3:u=l,f.effectTag|=4096,f.expirationTime=t;Xt(f,Tr(f,u,t));break e;case 1:u=l;var w=f.type,x=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===ps||!ps.has(x)))){f.effectTag|=4096,f.expirationTime=t;Xt(f,Pr(f,u,t));break e}}f=f.return}while(null!==f)}Zu=qr(Zu)}catch(e){t=e;continue}break}}function Ur(e){return e=zu.current,zu.current=Eu,null===e?Eu:e}function Vr(e,t){e<rs&&2<e&&(rs=e),null!==t&&e<os&&2<e&&(os=e,is=t)}function Wr(e){e>as&&(as=e)}function Hr(){for(;null!==Zu;)Zu=$r(Zu)}function Br(){for(;null!==Zu&&!Bl();)Zu=$r(Zu)}function $r(e){var t=Es(e.alternate,e,es);return e.memoizedProps=e.pendingProps,null===t&&(t=qr(e)),Uu.current=null,t}function qr(e){Zu=e;do{var t=Zu.alternate;if(e=Zu.return,0==(2048&Zu.effectTag)){if(t=lr(t,Zu,es),1===es||1!==Zu.childExpirationTime){for(var n=0,r=Zu.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Zu.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Zu.firstEffect),null!==Zu.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Zu.firstEffect),e.lastEffect=Zu.lastEffect),1<Zu.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Zu:e.firstEffect=Zu,e.lastEffect=Zu))}else{if(null!==(t=ur(Zu)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Zu.sibling))return t;Zu=e}while(null!==Zu);return ts===$u&&(ts=Yu),null}function Kr(e){var t=e.expirationTime;return e=e.childExpirationTime,t>e?t:e}function Qr(e){var t=It();return Lt(99,Gr.bind(null,e,t)),null}function Gr(e,t){do{Xr()}while(null!==ms);if((Xu&(Hu|Bu))!==Vu)throw Error(n(327));var r=e.finishedWork,o=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Kr(r);if(e.firstPendingTime=i,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===Ju&&(Zu=Ju=null,es=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,i=r.firstEffect):i=r:i=r.firstEffect,null!==i){var a=Xu;Xu|=Bu,Uu.current=null,xa=ma;var l=De();if(Le(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{u=(u=l.ownerDocument)&&u.defaultView||window;var s=u.getSelection&&u.getSelection();
3if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var d=0,p=-1,h=-1,m=0,v=0,y=l,g=null;t:for(;;){for(var b;y!==u||0!==c&&3!==y.nodeType||(p=d+c),y!==f||0!==s&&3!==y.nodeType||(h=d+s),3===y.nodeType&&(d+=y.nodeValue.length),null!==(b=y.firstChild);)g=y,y=b;for(;;){if(y===l)break t;if(g===u&&++m===c&&(p=d),g===f&&++v===s&&(h=d),null!==(b=y.nextSibling))break;y=g,g=y.parentNode}y=b}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;Ca={activeElementDetached:null,focusedElem:l,selectionRange:u},ma=!1,cs=i;do{try{Yr()}catch(e){if(null===cs)throw Error(n(330));eo(cs,e),cs=cs.nextEffect}}while(null!==cs);cs=i;do{try{for(l=e,u=t;null!==cs;){var w=cs.effectTag;if(16&w&&Ui(cs.stateNode,""),128&w){var S=cs.alternate;if(null!==S){var E=S.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&w){case 2:wr(cs),cs.effectTag&=-3;break;case 6:wr(cs),cs.effectTag&=-3,Cr(cs.alternate,cs);break;case 1024:cs.effectTag&=-1025;break;case 1028:cs.effectTag&=-1025,Cr(cs.alternate,cs);break;case 4:Cr(cs.alternate,cs);break;case 8:c=cs,xr(l,c,u),gr(c)}cs=cs.nextEffect}}catch(e){if(null===cs)throw Error(n(330));eo(cs,e),cs=cs.nextEffect}}while(null!==cs);if(E=Ca,S=De(),w=E.focusedElem,u=E.selectionRange,S!==w&&w&&w.ownerDocument&&Ie(w.ownerDocument.documentElement,w)){null!==u&&Le(w)&&(S=u.start,E=u.end,void 0===E&&(E=S),"selectionStart"in w?(w.selectionStart=S,w.selectionEnd=Math.min(E,w.value.length)):(E=(S=w.ownerDocument||document)&&S.defaultView||window,E.getSelection&&(E=E.getSelection(),c=w.textContent.length,l=Math.min(u.start,c),u=void 0===u.end?l:Math.min(u.end,c),!E.extend&&l>u&&(c=u,u=l,l=c),c=Me(w,l),f=Me(w,u),c&&f&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==f.node||E.focusOffset!==f.offset)&&(S=S.createRange(),S.setStart(c.node,c.offset),E.removeAllRanges(),l>u?(E.addRange(S),E.extend(f.node,f.offset)):(S.setEnd(f.node,f.offset),E.addRange(S)))))),S=[];for(E=w;E=E.parentNode;)1===E.nodeType&&S.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<S.length;w++)E=S[w],E.element.scrollLeft=E.left,E.element.scrollTop=E.top}ma=!!xa,Ca=xa=null,e.current=r,cs=i;do{try{for(w=e;null!==cs;){var x=cs.effectTag;if(36&x&&vr(w,cs.alternate,cs),128&x){S=void 0;var C=cs.ref;if(null!==C){var k=cs.stateNode;switch(cs.tag){case 5:S=k;break;default:S=k}"function"==typeof C?C(S):C.current=S}}cs=cs.nextEffect}}catch(e){if(null===cs)throw Error(n(330));eo(cs,e),cs=cs.nextEffect}}while(null!==cs);cs=null,$l(),Xu=a}else e.current=r;if(hs)hs=!1,ms=e,vs=t;else for(cs=i;null!==cs;)t=cs.nextEffect,cs.nextEffect=null,cs=t;if(t=e.firstPendingTime,0===t&&(ps=null),1073741823===t?e===bs?gs++:(gs=0,bs=e):gs=0,"function"==typeof xs&&xs(r.stateNode,o),Mr(e),fs)throw fs=!1,e=ds,ds=null,e;return(Xu&Wu)!==Vu?null:(Ft(),null)}function Yr(){for(;null!==cs;){var e=cs.effectTag;0!=(256&e)&&pr(cs.alternate,cs),0==(512&e)||hs||(hs=!0,At(97,function(){return Xr(),null})),cs=cs.nextEffect}}function Xr(){if(90!==vs){var e=97<vs?97:vs;return vs=90,Lt(e,Jr)}}function Jr(){if(null===ms)return!1;var e=ms;if(ms=null,(Xu&(Hu|Bu))!==Vu)throw Error(n(331));var t=Xu;for(Xu|=Bu,e=e.current.firstEffect;null!==e;){try{var r=e;if(0!=(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:hr(5,r),mr(5,r)}}catch(t){if(null===e)throw Error(n(330));eo(e,t)}r=e.nextEffect,e.nextEffect=null,e=r}return Xu=t,Ft(),!0}function Zr(e,t,n){t=sr(n,t),t=Tr(e,t,1073741823),Yt(e,t),null!==(e=_r(e,1073741823))&&Mr(e)}function eo(e,t){if(3===e.tag)Zr(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Zr(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ps||!ps.has(r))){e=sr(t,e),e=Pr(n,e,1073741823),Yt(n,e),n=_r(n,1073741823),null!==n&&Mr(n);break}}n=n.return}}function to(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ju===e&&es===n?ts===Gu||ts===Qu&&1073741823===rs&&Yl()-us<ss?Fr(e,es):ls=!0:ho(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Mr(e)))}function no(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=0,0===t&&(t=Or(),t=Nr(t,e,null)),null!==(e=_r(e,t))&&Mr(e)}function ro(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;
3if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);xs=function(e,r){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Cs=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}return!0}function oo(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.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function io(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ao(e){if("function"==typeof e)return io(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===Mi)return 11;if(e===Li)return 14}return 2}function lo(e,t){var n=e.alternate;return null===n?(n=ks(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function uo(e,t,r,o,i,a){var l=2;if(o=e,"function"==typeof e)io(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Ti:return so(r.children,i,a,t);case Ri:l=8,i|=7;break;case Pi:l=8,i|=1;break;case Oi:return e=ks(12,r,t,8|i),e.elementType=Oi,e.type=Oi,e.expirationTime=a,e;case Ii:return e=ks(13,r,t,i),e.type=Ii,e.elementType=Ii,e.expirationTime=a,e;case Di:return e=ks(19,r,t,i),e.elementType=Di,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ni:l=10;break e;case _i:l=9;break e;case Mi:l=11;break e;case Li:l=14;break e;case Ai:l=16,o=null;break e;case ji:l=22;break e}throw Error(n(130,null==e?e:typeof e,""))}return t=ks(l,r,t,i),t.elementType=e,t.type=o,t.expirationTime=a,t}function so(e,t,n,r){return e=ks(7,e,r,t),e.expirationTime=n,e}function co(e,t,n){return e=ks(6,e,null,t),e.expirationTime=n,e}function fo(e,t,n){return t=ks(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function po(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ho(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function mo(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function vo(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 yo(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function go(e,t,r,o){var i=t.current,a=Or(),l=ou.suspense;a=Nr(a,i,l);e:if(r){r=r._reactInternalFiber;t:{if(q(r)!==r||1!==r.tag)throw Error(n(170));var u=r;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Ot(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(n(171))}if(1===r.tag){var s=r.type;if(Ot(s)){r=_t(r,s,u);break e}}r=u}else r=_l;return null===t.context?t.context=r:t.pendingContext=r,t=Gt(a,l),t.payload={element:e},o=void 0===o?null:o,null!==o&&(t.callback=o),Yt(i,t),Ss(i,a),a}function bo(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<t&&(e.retryTime=t)}function So(e,t){wo(e,t),(e=e.alternate)&&wo(e,t)}function Eo(e,t,n){n=null!=n&&!0===n.hydrate;
3var r=new po(e,t,n),o=ks(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,Kt(o),e[_a]=r.current,n&&0!==t&&ae(e,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function xo(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Co(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Eo(e,0,t?{hydrate:!0}:void 0)}function ko(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=bo(a);l.call(e)}}go(t,a,e,o)}else{if(i=n._reactRootContainer=Co(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=bo(a);u.call(e)}}jr(function(){go(t,a,e,o)})}return bo(a)}function To(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ki,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Po(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!xo(t))throw Error(n(200));return To(e,t,null,r)}if(!t)throw Error(n(227));var Oo=function(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}},No=!1,_o=null,Ro=!1,Mo=null,Io={onError:function(e){No=!0,_o=e} 4},Do=null,Lo=null,Ao=null,jo=null,Fo={},zo=[],Uo={},Vo={},Wo={},Ho=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Bo=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,$o=null,qo=null,Ko=null,Qo=function(e,t){return e(t)},Go=function(e,t,n,r,o){return e(t,n,r,o)},Yo=function(){},Xo=Qo,Jo=!1,Zo=!1,ei=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,ti=ei.unstable_cancelCallback,ni=ei.unstable_now,ri=ei.unstable_scheduleCallback,oi=ei.unstable_shouldYield,ii=ei.unstable_requestPaint,ai=ei.unstable_runWithPriority,li=ei.unstable_getCurrentPriorityLevel,ui=ei.unstable_ImmediatePriority,si=ei.unstable_UserBlockingPriority,ci=ei.unstable_NormalPriority,fi=ei.unstable_LowPriority,di=ei.unstable_IdlePriority,pi=/^[: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]*$/,hi=Object.prototype.hasOwnProperty,mi={},vi={},yi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yi[e]=new y(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yi[t]=new y(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){yi[e]=new y(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yi[e]=new y(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){yi[e]=new y(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){yi[e]=new y(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){yi[e]=new y(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){yi[e]=new y(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){yi[e]=new y(e,5,!1,e.toLowerCase(),null,!1)});var gi=/[\-:]([a-z])/g,bi=function(e){return e[1].toUpperCase()};"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
4-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(gi,bi);yi[t]=new y(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(gi,bi);yi[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(gi,bi);yi[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){yi[e]=new y(e,1,!1,e.toLowerCase(),null,!1)}),yi.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){yi[e]=new y(e,1,!1,e.toLowerCase(),null,!0)});var wi=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;wi.hasOwnProperty("ReactCurrentDispatcher")||(wi.ReactCurrentDispatcher={current:null}),wi.hasOwnProperty("ReactCurrentBatchConfig")||(wi.ReactCurrentBatchConfig={suspense:null});var Si,Ei=/^(.*)[\\\/]/,xi="function"==typeof Symbol&&Symbol.for,Ci=xi?Symbol.for("react.element"):60103,ki=xi?Symbol.for("react.portal"):60106,Ti=xi?Symbol.for("react.fragment"):60107,Pi=xi?Symbol.for("react.strict_mode"):60108,Oi=xi?Symbol.for("react.profiler"):60114,Ni=xi?Symbol.for("react.provider"):60109,_i=xi?Symbol.for("react.context"):60110,Ri=xi?Symbol.for("react.concurrent_mode"):60111,Mi=xi?Symbol.for("react.forward_ref"):60112,Ii=xi?Symbol.for("react.suspense"):60113,Di=xi?Symbol.for("react.suspense_list"):60120,Li=xi?Symbol.for("react.memo"):60115,Ai=xi?Symbol.for("react.lazy"):60116,ji=xi?Symbol.for("react.block"):60121,Fi="function"==typeof Symbol&&Symbol.iterator,zi=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for(Si=Si||document.createElement("div"),Si.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Si.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Ui=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t},Vi={animationend:H("Animation","AnimationEnd"),animationiteration:H("Animation","AnimationIteration"),animationstart:H("Animation","AnimationStart"),transitionend:H("Transition","TransitionEnd")},Wi={},Hi={};Ho&&(Hi=document.createElement("div").style,"AnimationEvent"in window||(delete Vi.animationend.animation,delete Vi.animationiteration.animation,delete Vi.animationstart.animation),"TransitionEvent"in window||delete Vi.transitionend.transition);var Bi=B("animationend"),$i=B("animationiteration"),qi=B("animationstart"),Ki=B("transitionend"),Qi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Gi=new("function"==typeof WeakMap?WeakMap:Map),Yi=null,Xi=function(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)i(e,t[r],n[r]);else t&&i(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}},Ji=[],Zi=!1,ea=[],ta=null,na=null,ra=null,oa=new Map,ia=new Map,aa=[],la="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),ua="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" "),sa={},ca=new Map,fa=new Map,da=["abort","abort",Bi,"animationEnd",$i,"animationIteration",qi,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ki,"transitionEnd","waiting","waiting"];ye("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focu
4s focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),ye("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),ye(da,2),function(e,t){for(var n=0;n<e.length;n++)fa.set(e[n],0)}("change selectionchange textInput compositionstart compositionend compositionupdate".split(" "));var pa=si,ha=ai,ma=!0,va={animationIterationCount:!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},ya=["Webkit","ms","Moz","O"];Object.keys(va).forEach(function(e){ya.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),va[t]=va[e]})});var ga=Bo({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}),ba="$",wa="/$",Sa="$?",Ea="$!",xa=null,Ca=null,ka="function"==typeof setTimeout?setTimeout:void 0,Ta="function"==typeof clearTimeout?clearTimeout:void 0,Pa=Math.random().toString(36).slice(2),Oa="__reactInternalInstance$"+Pa,Na="__reactEventHandlers$"+Pa,_a="__reactContainere$"+Pa,Ra=null,Ma=null,Ia=null;Bo(et.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Je)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Je)},persist:function(){this.isPersistent=Je},isPersistent:Ze,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Ze,this._dispatchInstances=this._dispatchListeners=null}}),et.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},et.extend=function(e){function t(){return n.apply(this,arguments)}var n=this,r=function(){};return r.prototype=n.prototype,r=new r,Bo(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=Bo({},n.Interface,e),t.extend=n.extend,rt(t),t},rt(et);var Da=et.extend({data:null}),La=et.extend({data:null}),Aa=[9,13,27,32],ja=Ho&&"CompositionEvent"in window,Fa=null;Ho&&"documentMode"in document&&(Fa=document.documentMode);var za=Ho&&"TextEvent"in window&&!Fa,Ua=Ho&&(!ja||Fa&&8<Fa&&11>
4=Fa),Va=String.fromCharCode(32),Wa={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ha=!1,Ba=!1,$a={eventTypes:Wa,extractEvents:function(e,t,n,r,o){var i;if(ja)e:{switch(e){case"compositionstart":var a=Wa.compositionStart;break e;case"compositionend":a=Wa.compositionEnd;break e;case"compositionupdate":a=Wa.compositionUpdate;break e}a=void 0}else Ba?ot(e,n)&&(a=Wa.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=Wa.compositionStart);return a?(Ua&&"ko"!==n.locale&&(Ba||a!==Wa.compositionStart?a===Wa.compositionEnd&&Ba&&(i=Xe()):(Ra=r,Ma="value"in Ra?Ra.value:Ra.textContent,Ba=!0)),o=Da.getPooled(a,t,n,r),i?o.data=i:null!==(i=it(n))&&(o.data=i),Ye(o),i=o):i=null,(e=za?at(e,n):lt(e,n))?(t=La.getPooled(Wa.beforeInput,t,n,r),t.data=e,Ye(t)):t=null,null===i?t:null===t?i:[i,t]}},qa={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},Ka={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},Qa=null,Ga=null,Ya=!1;Ho&&(Ya=te("input")&&(!document.documentMode||9<document.documentMode));var Xa={eventTypes:Ka,_isInputEventSupported:Ya,extractEvents:function(e,t,n,r,o){o=t?We(t):window;var i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=dt;else if(ut(o))if(Ya)a=gt;else{a=vt;var l=mt}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=yt);if(a&&(a=a(e,t)))return st(a,n,r);l&&l(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&I(o,"number",o.value)}},Ja=et.extend({view:null,detail:null}),Za={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},el=0,tl=0,nl=!1,rl=!1,ol=Ja.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:wt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=el;return el=e.screenX,nl?"mousemove"===e.type?e.screenX-t:0:(nl=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=tl;return tl=e.screenY,rl?"mousemove"===e.type?e.screenY-t:0:(rl=!0,0)}}),il=ol.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),al={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},ll={eventTypes:al,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a){if(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Ue(t):null)){var l=q(t);(t!==l||5!==t.tag&&6!==t.tag)&&(t=null)}}else a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var u=ol,s=al.mouseLeave,c=al.mouseEnter,f="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=il,s=al.pointerLeave,c=al.pointerEnter,f="pointer");if(e=null==a?i:We(a),i=null==t?i:We(t),s=u.getPooled(s,a,n,r),s.type=f+"leave",s.target=e,s.relatedTarget=i,n=u.getPooled(c,t,n,r),n.type=f+"enter",n.target=i,n.relatedTarget=e,r=a,f=t,r&&f)e:{for(u=r,c=f,a=0,e=u;e;e=Be(e))a++;for(e=0,t=c;t;t=Be(t))e++;for(;0<a-e;)u=Be(u),a--;for(;0<e-a;)c=Be(c),e--;for(;a--;){if(u===c||u===c.alternate)break e;
4u=Be(u),c=Be(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=Be(r);for(r=[];f&&f!==c&&(null===(a=f.alternate)||a!==c);)r.push(f),f=Be(f);for(f=0;f<u.length;f++)Qe(u[f],"bubbled",s);for(f=r.length;0<f--;)Qe(r[f],"captured",n);return 0==(64&o)?[s]:[s,n]}},ul="function"==typeof Object.is?Object.is:St,sl=Object.prototype.hasOwnProperty,cl=Ho&&"documentMode"in document&&11>=document.documentMode,fl={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},dl=null,pl=null,hl=null,ml=!1,vl={eventTypes:fl,extractEvents:function(e,t,n,r,o,i){if(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(i=!o)){e:{o=$(o),i=Wo.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?We(t):window,e){case"focus":(ut(o)||"true"===o.contentEditable)&&(dl=o,pl=t,hl=null);break;case"blur":hl=pl=dl=null;break;case"mousedown":ml=!0;break;case"contextmenu":case"mouseup":case"dragend":return ml=!1,xt(n,r);case"selectionchange":if(cl)break;case"keydown":case"keyup":return xt(n,r)}return null}},yl=et.extend({animationName:null,elapsedTime:null,pseudoElement:null}),gl=et.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bl=Ja.extend({relatedTarget:null}),wl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sl={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"},El=Ja.extend({key:function(e){if(e.key){var t=wl[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Ct(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?Sl[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:wt,charCode:function(e){return"keypress"===e.type?Ct(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ct(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),xl=ol.extend({dataTransfer:null}),Cl=Ja.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:wt}),kl=et.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Tl=ol.extend({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:null,deltaMode:null}),Pl={eventTypes:sa,extractEvents:function(e,t,n,r,o){if(!(o=ca.get(e)))return null;switch(e){case"keypress":if(0===Ct(n))return null;case"keydown":case"keyup":e=El;break;case"blur":case"focus":e=bl;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=ol;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=xl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=Cl;break;case Bi:case $i:case qi:e=yl;break;case Ki:e=kl;break;case"scroll":e=Ja;break;case"wheel":e=Tl;break;case"copy":case"cut":case"paste":e=gl;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=il;break;default:e=et}return t=e.getPooled(o,t,n,r),Ye(t),t}};!function(e){if(jo)throw Error(n(101));jo=Array.prototype.slice.call(e),a()}("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),function(e,t,n){Do=e,Lo=t,Ao=n}(He,Ve,We),u({SimpleEventPlugin:Pl,EnterLeaveEventPlugin:ll,ChangeEventPlugin:Xa,SelectEventPlugin:vl,BeforeInputEventPlugin:$a});var Ol=[],Nl=-1,_l={},Rl={current:_l},Ml={current:!1},Il=_l,Dl=ai,Ll=ri,Al=ti,jl=li,Fl=ui,zl=si,Ul=ci,Vl=fi,Wl=di,Hl={},Bl=oi,$l=void 0!==ii?ii:function(){},ql=null,Kl=null,Ql=!1,Gl=ni(),Yl=1e4>Gl?ni:function(){return ni()-Gl},Xl={current:null},Jl=null,Zl=null,eu=null,tu=0,nu=2,ru=!1,ou=wi.ReactCurrentBatchConfig,iu=(new t.Component).refs,au={isMounted:function(e){return!!(e=e._reactInternalFiber)&&q(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Or(),o=ou.suspense;r=Nr(r,e,o),o=Gt(r,o),o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Yt(e,o),Ss(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Or(),o=ou.suspense;r=Nr(r,e,o),o=Gt(r,o),o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Yt(e,o),Ss(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Or(),r=ou.suspense;n=Nr(n,e,r),r=Gt(n,r),r.tag=nu,void 0!==t&&null!==t&&(r.callback=t),Yt(e,r),Ss(e,n)}},lu=Array.isArray,uu=un(!0),su=un(!1),cu={},fu={current:cu},du={current:cu},pu={current:cu},hu={current:0},mu=wi.ReactCurrentDispatcher,vu=wi.ReactCurrentBatchConfig,yu=0,gu=null,bu=null,wu=null,Su=!1,Eu={readContext:qt,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useLayoutEffect:vn,useMemo:vn,useReducer:vn,useRef
4:vn,useState:vn,useDebugValue:vn,useResponder:vn,useDeferredValue:vn,useTransition:vn},xu={readContext:qt,useCallback:Ln,useContext:qt,useEffect:Nn,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Pn(4,2,Mn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pn(4,2,e,t)},useMemo:function(e,t){var n=bn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=zn.bind(null,gu,e),[r.memoizedState,e]},useRef:function(e){var t=bn();return e={current:e},t.memoizedState=e},useState:Cn,useDebugValue:Dn,useResponder:mn,useDeferredValue:function(e,t){var n=Cn(e),r=n[0],o=n[1];return Nn(function(){var n=vu.suspense;vu.suspense=void 0===t?null:t;try{o(e)}finally{vu.suspense=n}},[e,t]),r},useTransition:function(e){var t=Cn(!1),n=t[0];return t=t[1],[Ln(Fn.bind(null,t,e),[t,e]),n]}},Cu={readContext:qt,useCallback:An,useContext:qt,useEffect:_n,useImperativeHandle:In,useLayoutEffect:Rn,useMemo:jn,useReducer:En,useRef:Tn,useState:function(e){return En(Sn)},useDebugValue:Dn,useResponder:mn,useDeferredValue:function(e,t){var n=En(Sn),r=n[0],o=n[1];return _n(function(){var n=vu.suspense;vu.suspense=void 0===t?null:t;try{o(e)}finally{vu.suspense=n}},[e,t]),r},useTransition:function(e){var t=En(Sn),n=t[0];return t=t[1],[An(Fn.bind(null,t,e),[t,e]),n]}},ku={readContext:qt,useCallback:An,useContext:qt,useEffect:_n,useImperativeHandle:In,useLayoutEffect:Rn,useMemo:jn,useReducer:xn,useRef:Tn,useState:function(e){return xn(Sn)},useDebugValue:Dn,useResponder:mn,useDeferredValue:function(e,t){var n=xn(Sn),r=n[0],o=n[1];return _n(function(){var n=vu.suspense;vu.suspense=void 0===t?null:t;try{o(e)}finally{vu.suspense=n}},[e,t]),r},useTransition:function(e){var t=xn(Sn),n=t[0];return t=t[1],[An(Fn.bind(null,t,e),[t,e]),n]}},Tu=null,Pu=null,Ou=!1,Nu=wi.ReactCurrentOwner,_u=!1,Ru={dehydrated:null,retryTime:0},Mu=function(e,t,n,r){for(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}},Iu=function(e){},Du=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=t.stateNode;switch(sn(fu.current),e=null,n){case"input":i=O(a,i),r=O(a,r),e=[];break;case"option":i=L(a,i),r=L(a,r),e=[];break;case"select":i=Bo({},i,{value:void 0}),r=Bo({},r,{value:void 0}),e=[];break;case"textarea":i=j(a,i),r=j(a,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(a.onclick=Ne)}Te(n,r);var l,u;n=null;for(l in i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l)for(u in a=i[l])a.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(Vo.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var s=r[l];if(a=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&s!==a&&(null!=s||null!=a))if("style"===l)if(a){for(u in a)!a.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in s)s.hasOwnProperty(u)&&a[u]!==s[u]&&(n||(n={}),n[u]=s[u])}else n||(e||(e=[]),e.push(l,n)),n=s;else"dangerouslySetInnerHTML"===l?(s=s?s.__html:void 0,a=a?a.__html:void 0,null!=s&&a!==s&&(e=e||[]).push(l,s)):"children"===l?a===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(l,""+s):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(Vo.hasOwnProperty(l)?(null!=s&&Oe(o,l),e||a===s||(e=[])):(e=e||[]).push(l,s))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Lu=function(e,t,n,r){n!==r&&(t.effectTag|=4)},Au="function"==typeof WeakSet?WeakSet:Set,ju="function"==typeof WeakMap?WeakMap:Map,Fu=Math.ceil,zu=wi.ReactCurrentDispatcher,Uu=wi.ReactCurrentOwner,Vu=0,Wu=8,Hu=16,Bu=32,$u=0,qu=1,Ku=2,Qu=3,Gu=4,Yu=5,Xu=Vu,Ju=null,Zu=null,es=0,ts=$u,ns=null,rs=1073741823,os=1073741823,is=null,as=0,ls=!1,us=0,ss=500,cs=null,fs=!1,ds=null,ps=null,hs=!1,ms=null,vs=90,ys=null,gs=0,bs=null,ws=0,Ss=function(e,t){if(50<gs)throw gs=0,bs=null,Error(n(185));if(null!==(e=_r(e,t))){var r=It();1073741823===t?(Xu&Wu)!==Vu&&(Xu&(Hu|Bu))===Vu?Dr(e):(Mr(e),Xu===Vu&&Ft()):Mr(e),(4&Xu)===Vu||98!==r&&99!==r||(null===ys?ys=new Map([[e,t]]):(void 0===(r=ys.get(e))||r>t)&&ys.set(e,t))}},Es=function(e,t,r){var o=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||Ml.current)_u=!0;else{if(o<r){switch(_u=!1,t.tag){case 3:er(t),$n();break;case 5:if(dn(t),4&t.mode&&1!==r&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Ot(t.type)&&Rt(t);break;case 4:cn(t,t.stateNode.containerInfo);break;case 10:o=t.memoizedProps.value,i=t.type._context,Tt(Xl,i._currentValue),i._currentValue=o;break;case 13:if(null!==t.memoizedState)return 0!==(o=t.child.childExpirationTime)&&o>=r?tr(e,t,r):(Tt(hu,1&hu.current),t=ir(e,t,r),null!==t?t.sibling:null);Tt(hu,1&hu.current);break;case 19:if(o=t.childExpirationTime>=r,0!=(64&e.effectTag)){if(o)return or(e,t,r);t.effectTag|=64}if(i=t.memoizedState,null!==i&&(i.rendering=null,i.tail=null),Tt(hu,hu.current),!o)return null}return ir(e,t,r)}_u=!1}}else _u=!1;switch(t.expirationTime=0,t.tag){case 2:if(o=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Pt(t,Rl.current),$t(t,r),i=gn(null,t,o,e,i,r),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ot(o)){var a=!0;Rt(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Kt(t);var l=o.getDerivedStateFromProps;"function"==typeof l&&en(t,o,l,e),i.updater=au,t.stateNode=i,i._reactInternalFiber=t,on(t,o,e,r),t=Zn(null,t,o,!0,a,r)}else t.tag=0,qn(null,t,i,r),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,w(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=ao(i),e=Vt(i,e),a){case 0:t=Xn(null,t,i,e,r);break e;case 1:t=Jn(null,t,i,e,r);break e;case 11:t=Kn(null,t,i,e,r);break e;case 14:t=Qn(null,t,i,Vt(i.type,e),o,r);break e}throw Error(n(306,i,""))}return t;case 0:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:Vt(o,i),Xn(e,t,o,i,r);case 1:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:Vt(o,i),Jn(e,t,o,i,r);case 3:if(er(t),o=t.updateQueue,null===e||null===o)throw Error(n(282));if(o=t.pendingProps,i=t.memoizedState,i=null!==i?i.element:null,Qt(e,t),Jt(t,o,null,r),(o=t.memoizedState.element)===i)$n(),t=ir(e,t,r);
4else{if((i=t.stateNode.hydrate)&&(Pu=Fe(t.stateNode.containerInfo.firstChild),Tu=t,i=Ou=!0),i)for(r=su(t,null,o,r),t.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else qn(e,t,o,r),$n();t=t.child}return t;case 5:return dn(t),null===e&&Wn(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,je(o,i)?l=null:null!==a&&je(o,a)&&(t.effectTag|=16),Yn(e,t),4&t.mode&&1!==r&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(qn(e,t,l,r),t=t.child),t;case 6:return null===e&&Wn(t),null;case 13:return tr(e,t,r);case 4:return cn(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=uu(t,null,o,r):qn(e,t,o,r),t.child;case 11:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:Vt(o,i),Kn(e,t,o,i,r);case 7:return qn(e,t,t.pendingProps,r),t.child;case 8:case 12:return qn(e,t,t.pendingProps.children,r),t.child;case 10:e:{o=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value;var u=t.type._context;if(Tt(Xl,u._currentValue),u._currentValue=a,null!==l)if(u=l.value,0===(a=ul(u,a)?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(u,a):1073741823))){if(l.children===i.children&&!Ml.current){t=ir(e,t,r);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===o&&0!=(c.observedBits&a)){1===u.tag&&(c=Gt(r,null),c.tag=nu,Yt(u,c)),u.expirationTime<r&&(u.expirationTime=r),c=u.alternate,null!==c&&c.expirationTime<r&&(c.expirationTime=r),Bt(u.return,r),s.expirationTime<r&&(s.expirationTime=r);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}qn(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,o=a.children,$t(t,r),i=qt(i,a.unstable_observedBits),o=o(i),t.effectTag|=1,qn(e,t,o,r),t.child;case 14:return i=t.type,a=Vt(i,t.pendingProps),a=Vt(i.type,a),Qn(e,t,i,a,o,r);case 15:return Gn(e,t,t.type,t.pendingProps,o,r);case 17:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:Vt(o,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Ot(o)?(e=!0,Rt(t)):e=!1,$t(t,r),nn(t,o,i),on(t,o,i,r),Zn(null,t,o,!0,e,r);case 19:return or(e,t,r)}throw Error(n(156,t.tag))},xs=null,Cs=null,ks=function(e,t,n,r){return new oo(e,t,n,r)};Eo.prototype.render=function(e){go(e,this._internalRoot,null,null)},Eo.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;go(null,e,null,function(){t[_a]=null})};var Ts=function(e){if(13===e.tag){var t=Ut(Or(),150,100);Ss(e,t),So(e,t)}},Ps=function(e){13===e.tag&&(Ss(e,3),So(e,3))},Os=function(e){if(13===e.tag){var t=Or();t=Nr(t,e,null),Ss(e,t),So(e,t)}};$o=function(e,t,r){switch(t){case"input":if(R(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var i=He(o);if(!i)throw Error(n(90));P(o),R(o,i)}}}break;case"textarea":z(e,r);break;case"select":null!=(t=r.value)&&A(e,!!r.multiple,t,!1)}},function(e,t,n,r){Qo=e,Go=t,Yo=n,Xo=r}(Ar,function(e,t,n,r,o){var i=Xu;Xu|=4;try{return Lt(98,e.bind(null,t,n,r,o))}finally{(Xu=i)===Vu&&Ft()}},function(){(Xu&(1|Hu|Bu))===Vu&&(Lr(),Xr()) 5},function(e,t){var n=Xu;Xu|=2;try{return e(t)}finally{(Xu=n)===Vu&&Ft()}});var Ns={Events:[Ve,We,He,u,Uo,Ye,function(e){J(e,Ge)},c,f,Ee,Z,Xr,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;ro(Bo({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Y(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Ue,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ns,e.createPortal=Po,e.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(n(188));throw Error(n(268,Object.keys(e)))}return e=Y(t),e=null===e?null:e.stateNode},e.flushSync=function(e,t){if((Xu&(Hu|Bu))!==Vu)throw Error(n(187));var r=Xu;Xu|=1;try{return Lt(99,e.bind(null,t))}finally{Xu=r,Ft()}},e.hydrate=function(e,t,r){if(!xo(t))throw Error(n(200));return ko(null,e,t,!0,r)},e.render=function(e,t,r){if(!xo(t))throw Error(n(200));return ko(null,e,t,!1,r)},e.unmountComponentAtNode=function(e){if(!xo(e))throw Error(n(40));return!!e._reactRootContainer&&(jr(function(){ko(null,null,e,!1,function(){e._reactRootContainer=null,e[_a]=null})}),!0)},e.unstable_batchedUpdates=Ar,e.unstable_createPortal=function(e,t){return Po(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!xo(r))throw Error(n(200));if(null==e||void 0===e._reactInternalFiber)throw Error(n(38));return ko(e,t,r,!1,o)}
5,e.version="16.14.0"}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("react-transition-group",["exports","react","react-dom"],t):(e=e||self,t(e.ReactTransitionGroup={},e.React,e.ReactDOM))}(this,function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e,t){return t={exports:{}},e(t,t.exports),t.exports}function l(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function u(e,t,n,r,o){for(var i in e)if(I(e,i)){var a;try{if("function"!=typeof e[i]){var l=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.");throw l.name="Invariant Violation",l}a=e[i](t,i,r,n,null,R)}catch(e){a=e}if(!a||a instanceof Error||_((r||"React class")+": type specification of "+n+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in M)){M[a.message]=!0;var u=o?o():"";_("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}function s(){return null}function c(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}function f(e,t){e.classList?e.classList.add(t):c(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}
5function d(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function p(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=d(e.className,t):e.setAttribute("class",d(e.className&&e.className.baseVal||"",t))}function h(){}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,n){var r=function(e){return n&&t.isValidElement(e)?n(e):e},o=Object.create(null);return e&&t.Children.map(e,function(e){return e}).forEach(function(e){o[e.key]=r(e)}),o}function y(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var u in t){if(r[u])for(a=0;a<r[u].length;a++){var s=r[u][a];l[r[u][a]]=n(s)}l[u]=n(u)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}function g(e,t,n){return null!=n[t]?n[t]:e.props[t]}function b(e,n){return v(e.children,function(r){return t.cloneElement(r,{onExited:n.bind(null,r),in:!0,appear:g(r,"appear",e),enter:g(r,"enter",e),exit:g(r,"exit",e)})})}function w(e,n,r){var o=v(e.children),i=y(n,o);
5return Object.keys(i).forEach(function(a){var l=i[a];if(t.isValidElement(l)){var u=a in n,s=a in o,c=n[a],f=t.isValidElement(c)&&!c.props.in;!s||u&&!f?s||!u||f?s&&u&&t.isValidElement(c)&&(i[a]=t.cloneElement(l,{onExited:r.bind(null,l),in:c.props.in,exit:g(l,"exit",e),enter:g(l,"enter",e)})):i[a]=t.cloneElement(l,{in:!1}):i[a]=t.cloneElement(l,{onExited:r.bind(null,l),in:!0,exit:g(l,"exit",e),enter:g(l,"enter",e)})}}),i}function S(e,t){return e!==t&&(!E.isValidElement(e)||!E.isValidElement(t)||null==e.key||e.key!==t.key)}var E="default"in t?t.default:t;n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var x=a(function(e,t){!function(){function e(e){return"string"==typeof e||"function"==typeof e||e===b||e===k||e===S||e===w||e===P||e===O||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===N||e.$$typeof===E||e.$$typeof===x||e.$$typeof===T||e.$$typeof===M||e.$$typeof===I||e.$$typeof===D||e.$$typeof===R)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case y:var n=e.type;switch(n){case C:case k:case b:case S:case w:case P:return n;default:var r=n&&n.$$typeof;switch(r){case x:case T:case _:case N:case E:return r;default:return t}}case g:return t}}}function r(e){return Q||(Q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===C}function o(e){return n(e)===k}function i(e){return n(e)===x}function a(e){return n(e)===E}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===y}function u(e){return n(e)===T}function s(e){return n(e)===b}function c(e){return n(e)===_}function f(e){return n(e)===N}function d(e){return n(e)===g}function p(e){return n(e)===S}function h(e){return n(e)===w}function m(e){return n(e)===P}var v="function"==typeof Symbol&&Symbol.for,y=v?Symbol.for("react.element"):60103,g=v?Symbol.for("react.portal"):60106,b=v?Symbol.for("react.fragment"):60107,w=v?Symbol.for("react.strict_mode"):60108,S=v?Symbol.for("react.profiler"):60114,E=v?Symbol.for("react.provider"):60109,x=v?Symbol.for("react.context"):60110,C=v?Symbol.for("react.async_mode"):60111,k=v?Symbol.for("react.concurrent_mode"):60111,T=v?Symbol.for("react.forward_ref"):60112,P=v?Symbol.for("react.suspense"):60113,O=v?Symbol.for("react.suspense_list"):60120,N=v?Symbol.for("react.memo"):60115,_=v?Symbol.for("react.lazy"):60116,R=v?Symbol.for("react.block"):60121,M=v?Symbol.for("react.fundamental"):60117,I=v?Symbol.for("react.responder"):60118,D=v?Symbol.for("react.scope"):60119,L=C,A=k,j=x,F=E,z=y,U=T,V=b,W=_,H=N,B=g,$=S,q=w,K=P,Q=!1;t.AsyncMode=L,t.ConcurrentMode=A,t.ContextConsumer=j,t.ContextProvider=F,t.Element=z,t.ForwardRef=U,t.Fragment=V,t.Lazy=W,t.Memo=H,t.Portal=B,t.Profiler=$,t.StrictMode=q,t.Suspense=K,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=l,t.isForwardRef=u,t.isFragment=s,t.isLazy=c,t.isMemo=f,t.isPortal=d,t.isProfiler=p,t.isStrictMode=h,t.isSuspense=m,t.isValidElementType=e,t.typeOf=n}()}),C=(x.AsyncMode,x.ConcurrentMode,x.ContextConsumer,x.ContextProvider,x.Element,x.ForwardRef,x.Fragment,x.Lazy,x.Memo,x.Portal,x.Profiler,x.StrictMode,x.Suspense,x.isAsyncMode,x.isConcurrentMode,x.isContextConsumer,x.isContextProvider,x.isElement,x.isForwardRef,x.isFragment,x.isLazy,x.isMemo,x.isPortal,x.isProfiler,x.isStrictMode,x.isSuspense,x.isValidElementType,x.typeOf,a(function(e){e.exports=x})),k=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,O=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=l(e),i=1;i<arguments.length;i++){n=Object(arguments[i]);for(var a in n)T.call(n,a)&&(o[a]=n[a]);if(k){r=k(n);for(var u=0;u<r.length;u++)P.call(n,r[u])&&(o[r[u]]=n[r[u]])}}return o},N="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_=function(){},R=N,M={},I=Function.call.bind(Object.prototype.hasOwnProperty);_=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},u.resetWarningCache=function(){M={}};var D=u,L=Function.call.bind(Object.prototype.hasOwnProperty),A=function(){};A=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}};var j=function(e,t){function n(e){var t=e&&(S&&e[S]||e[E]);if("function"==typeof t)return t}function r(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function n(n,a,l,u,s,c,f){if(u=u||x,c=c||l,f!==N){if(t){var d=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 d.name="Invariant Violation",d}if("undefined"!=typeof console){var p=u+":"+l;!r[p]&&i<3&&(A("You are manually calling a React.PropTypes validation function for the `"+c+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[p]=!0,i++)}}return null==a[l]?n?new o(null===a[l]?"The "+s+" `"+c+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+s+" `"+c+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,l,u,s,c)}var r={},i=0,a=n.bind(null,!1);return a.isRequired=n.bind(null,!0),a}function a(e){function t(t,n,r,i,a,l){var u=t[n];if(y(u)!==e)return new o("Invalid "+i+" `"+a+"` of type `"+g(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return i(t)}function l(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invali
5d PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new o("Invalid "+i+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<l.length;u++){var s=e(l,u,r,i,a+"["+u+"]",N);if(s instanceof Error)return s}return null}return i(t)}function u(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var l=e.name||x;return new o("Invalid "+i+" `"+a+"` of type `"+w(t[n])+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}return null}return i(t)}function c(e){function t(t,n,i,a,l){for(var u=t[n],s=0;s<e.length;s++)if(r(u,e[s]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===g(t)?String(t):t});return new o("Invalid "+a+" `"+l+"` of value `"+String(u)+"` supplied to `"+i+"`, expected one of "+c+".")}return Array.isArray(e)?i(t):(A(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)}function f(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],u=y(l);if("object"!==u)return new o("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var s in l)if(L(l,s)){var c=e(l,s,r,i,a+"."+s,N);if(c instanceof Error)return c}return null}return i(t)}function d(e){function t(t,n,r,i,a){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,r,i,a,N))return null}return new o("Invalid "+i+" `"+a+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return A("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return A("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(r)+" at index "+n+"."),s}return i(t)}function p(e){function t(t,n,r,i,a){var l=t[n],u=y(l);if("object"!==u)return new o("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var c=e[s];if(c){var f=c(l,s,r,i,a+"."+s,N);if(f)return f}}return null}return i(t)}function h(e){function t(t,n,r,i,a){var l=t[n],u=y(l);if("object"!==u)return new o("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var s=O({},t[n],e);for(var c in s){var f=e[c];if(!f)return new o("Invalid "+i+" `"+a+"` key `"+c+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var d=f(l,c,r,i,a+"."+c,N);if(d)return d}return null}return i(t)}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!m(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!m(a[1]))return!1}return!0;default:return!1}}function v(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":v(t,e)?"symbol":t}function g(e){if(void 0===e||null===e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=g(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function w(e){return e.constructor&&e.constructor.name?e.constructor.name:x}var S="function"==typeof Symbol&&Symbol.iterator,E="@@iterator",x="<<anonymous>>",k={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:function(){return i(s)}(),arrayOf:l,element:function(){function t(t,n,r,i,a){var l=t[n];if(!e(l)){return new o("Invalid "+i+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return i(t)}(),elementType:function(){function e(e,t,n,r,i){var a=e[t];if(!C.isValidElementType(a)){return new o("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null}return i(e)}(),instanceOf:u,node:function(){function e(e,t,n,r,i){return m(e[t])?null:new o("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")}return i(e)}(),objectOf:f,oneOf:c,oneOfType:d,shape:p,exact:h};return o.prototype=Error.prototype,k.checkPropTypes=D,k.resetWarningCache=D.resetWarningCache,k.PropTypes=k,k},F=a(function(e){var t=C;e.exports=j(t.isElement,!0)}),z=(F.object,F.oneOfType,F.element,F.bool,F.func,{disabled:!1}),U=F.oneOfType([F.number,F.shape({enter:F.number,exit:F.number,appear:F.number}).isRequired]),V=F.oneOfType([F.string,F.shape({enter:F.string,exit:F.string,active:F.string}
5),F.shape({enter:F.string,enterDone:F.string,enterActive:F.string,exit:F.string,exitDone:F.string,exitActive:F.string})]),W=E.createContext(null),H=function(e){return e.scrollTop},B="unmounted",$="exited",q="entering",K="entered",Q=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=$,r.appearStatus=q):o=K:o=t.unmountOnExit||t.mountOnEnter?B:$,r.state={status:o},r.nextCallback=null,r}i(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===B?{status:$}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==q&&n!==K&&(t=q):n!==q&&n!==K||(t="exiting")}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===q){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this);r&&H(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===$&&this.setState({status:B})},r.performEnter=function(e){var t=this,r=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[n.findDOMNode(this),o],a=i[0],l=i[1],u=this.getTimeouts(),s=o?u.appear:u.enter;if(!e&&!r||z.disabled)return void this.safeSetState({status:K},function(){t.props.onEntered(a)});this.props.onEnter(a,l),this.safeSetState({status:q},function(){t.props.onEntering(a,l),t.onTransitionEnd(s,function(){t.safeSetState({status:K},function(){t.props.onEntered(a,l)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),o=this.props.nodeRef?void 0:n.findDOMNode(this);if(!t||z.disabled)return void this.safeSetState({status:$},function(){e.props.onExited(o)});this.props.onExit(o),this.safeSetState({status:"exiting"},function(){e.props.onExiting(o),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:$},function(){e.props.onExited(o)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(!r||o)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],a=i[0],l=i[1];this.props.addEndListener(a,l)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===B)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,o(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return E.createElement(W.Provider,{value:null},"function"==typeof n?n(e,r):E.cloneElement(E.Children.only(n),r))},t}(E.Component);Q.contextType=W,Q.propTypes={nodeRef:F.shape({current:"undefined"==typeof Element?F.any:function(e,t,n,r,o,i){var a=e[t];return F.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:F.oneOfType([F.func.isRequired,F.element.isRequired]).isRequired,in:F.bool,mountOnEnter:F.bool,unmountOnExit:F.bool,appear:F.bool,enter:F.bool,exit:F.bool,timeout:function(e){var t=U;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:F.func,onEnter:F.func,onEntering:F.func,onEntered:F.func,onExit:F.func,onExiting:F.func,onExited:F.func},Q.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
5:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},Q.UNMOUNTED=B,Q.EXITED=$,Q.ENTERING=q,Q.ENTERED=K,Q.EXITING="exiting";var G=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return f(e,t)})},Y=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return p(e,t)})},X=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1],a=i?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1],a=i?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e),r=n[0];t.removeClasses(r,"appear"),t.removeClasses(r,"enter"),t.addClass(r,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e),r=n[0];t.addClass(r,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e),r=n[0];t.removeClasses(r,"exit"),t.addClass(r,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r&&n?n+"-":"",i=r?""+o+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}i(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter"),i=o.doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&H(e),r&&(this.appliedClasses[t][n]=r,G(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&Y(e,r),o&&Y(e,o),i&&Y(e,i)},n.render=function(){var e=this.props,t=(e.classNames,o(e,["classNames"]));return E.createElement(Q,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(E.Component);X.defaultProps={classNames:""},X.propTypes=r({},Q.propTypes,{classNames:V,onEnter:F.func,onEntering:F.func,onEntered:F.func,onExit:F.func,onExiting:F.func,onExited:F.func});var J=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Z={component:"div",childFactory:function(e){return e}},ee=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(m(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}i(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;
5return{children:t.firstRender?b(e,r):w(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=v(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=r({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=this.state.contextValue,a=J(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?E.createElement(W.Provider,{value:i},a):E.createElement(W.Provider,{value:i},E.createElement(t,r,a))},t}(E.Component);ee.propTypes={component:F.any,children:F.node,appear:F.bool,enter:F.bool,exit:F.bool,childFactory:F.func},ee.defaultProps=Z;var te=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}i(t,e);var r=t.prototype;return r.handleLifecycle=function(e,t,r){var o,i=this.props.children,a=E.Children.toArray(i)[t];if(a.props[e]&&(o=a.props)[e].apply(o,r),this.props[e]){var l=a.props.nodeRef?void 0:n.findDOMNode(this);this.props[e](l)}},r.render=function(){var e=this.props,t=e.children,n=e.in,r=o(e,["children","in"]),i=E.Children.toArray(t),a=i[0],l=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,E.createElement(ee,r,n?E.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):E.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(E.Component);te.propTypes={in:F.bool.isRequired,children:function(e,t){return 2!==E.Children.count(e[t])?new Error('"'+t+'" must be exactly two transition components.'):null}};var ne,re,oe={out:"out-in",in:"in-out"},ie=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},ae=(ne={},ne[oe.out]=function(e){var t=e.current,n=e.changeState;return E.cloneElement(t,{in:!1,onExited:ie(t,"onExited",function(){n(q,null)})})},ne[oe.in]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,E.cloneElement(r,{in:!0,onEntered:ie(r,"onEntered",function(){n(q)})})]},ne),le=(re={},re[oe.out]=function(e){var t=e.children,n=e.changeState;return E.cloneElement(t,{in:!0,onEntered:ie(t,"onEntered",function(){n(K,E.cloneElement(t,{in:!0}))})})},re[oe.in]=function(e){var t=e.current,n=e.children,r=e.changeState;return[E.cloneElement(t,{in:!1,onExited:ie(t,"onExited",function(){r(K,E.cloneElement(n,{in:!0}))})}),E.cloneElement(n,{in:!0})]},re),ue=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={status:K,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}i(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===q&&e.mode===oe.in?{status:q}:t.current&&S(t.current,e.children)?{status:"exiting"}:{current:E.cloneElement(e.children,{in:!0})}},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,l={children:n,current:a,changeState:this.changeState,status:i};switch(i){case q:e=le[r](l);break;case"exiting":e=ae[r](l);break;case K:e=a}return E.createElement(W.Provider,{value:{isMounting:!this.appeared}},e)},t}(E.Component);ue.propTypes={mode:F.oneOf([oe.in,oe.out]),children:F.oneOfType([F.element.isRequired])},ue.defaultProps={mode:oe.out},e.CSSTransition=X,e.ReplaceTransition=te,e.SwitchTransition=ue,e.Transition=Q,e.TransitionGroup=ee,e.config=z,Object.defineProperty(e,"__esMo
5dule",{value:!0})}),define("@outsystems/virtualized-list",["exports","react","react-transition-group","react-dom"],function(e,t,n,r){"use strict";function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}function i(e,t){function n(){this.constructor=e}if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(t),l=o(t),u=o(r);e.ScrollExtensions=void 0,function(e){function t(e,n){if(null===e||void 0===e||e instanceof Document)return{scrollHost:window,scrollDirection:o.Vertical};var r=getComputedStyle(e);if(!(n=n||"absolute"===r.position)||"static"!==r.position){if(i.test(r.overflow+r.overflowY+r.overflowX)&&!e.hasAttribute(a))return{scrollHost:e===document.documentElement?window:e,scrollDirection:i.test(r.overflowY)?o.Vertical:o.Horizontal}}return t(e.parentElement,n)}function n(e){return e instanceof Window?{scrollHost:e,scroll:{x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop,height:document.documentElement.scrollHeight,width:document.documentElement.scrollWidth},viewport:{x:0,y:0,height:e.innerHeight,width:e.innerWidth}}:e instanceof HTMLElement?{scrollHost:e,scroll:{x:e.scrollLeft,y:e.scrollTop,height:e.scrollHeight,width:e.scrollWidth},viewport:{x:0,y:0,height:e.clientHeight,width:e.clientWidth}}:null}function r(e,t,n,r){void 0===r&&(r=!1),e instanceof Window&&(e=document.body);var o=e;n&&!isNaN(n)&&(r&&(n+=o.scrollTop),o.scrollTop=n),t&&!isNaN(t)&&(r&&(t+=o.scrollLeft),o.scrollLeft=t)}var o,i=/(auto|scroll)/,a="data-not-scrollable";!function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical",e[e.None=2]="None"}(o=e.ScrollDirection||(e.ScrollDirection={})),e.getScrollHostInfo=t,e.getScrollInfo=n,e.setScrollOffset=r}(e.ScrollExtensions||(e.ScrollExtensions={})),e.ObjectExtensions=void 0,function(e){function t(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}e.assign=t}(e.ObjectExtensions||(e.ObjectExtensions={}));var s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},c.apply(this,arguments)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getAnimatedItem=function(){return d},t.prototype.render=function(){var e=this,t=this.getAnimatedItem(),r=!!this.props.shouldSuspendAnimations&&this.props.shouldSuspendAnimations(),o={appear:this.props.transitionName+"-appear",appearActive:this.props.transitionName+"-appear-active",appearDone:this.props.transitionName+"-appear-done",enter:this.props.transitionName+"-enter", 6enterActive:this.props.transitionName+"-enter-active",enterDone:this.props.transitionName+"-enter-done",exit:this.props.transitionName+"-leave",exitActive:this.props.transitionName+"-leave-active",exitDone:this.props.transitionName+"-leave-done"},i=a.default.Children.map(this.props.children,function(n){return a.default.createElement(t,{enter:!r,exit:!r,classNames:o,onEnter:e.props.onEnter,onEntering:e.props.onEnterStarted,onExit:e.props.onLeave,onExiting:e.props.onLeaveStarted,key:n.key,timeout:{enter:17,exit:17}},n)});return a.default.createElement(n.TransitionGroup,{component:this.props.component,className:this.props.className},i)},t}(a.default.Component),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return a.default.createElement(n.CSSTransition,c({},this.props))},t}(a.default.Component),p="px",h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getAnimatedItem=function(){return m},t}(f),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.previousWidth=0,t.previousHeight=0,t.previousStyleWidth="",t.previousStyleHeight="",t.storeStyleSize=function(e){t.previousStyleWidth=e.style.width,t.previousStyleHeight=e.style.height},t.restorePreviousStyleSize=function(e){e.style.width=t.previousStyleWidth,e.style.height=t.previousStyleHeight},t.onEnter=function(e){if(t.props.enter){t.props.onEnter&&t.props.onEnter();var n=e.getBoundingClientRect();t.previousWidth=n.width,t.previousHeight=n.height}},t.onEntering=function(e){if(t.props.enter){t.props.onEntering&&t.props.onEntering(),t.storeStyleSize(e);var n=e.getBoundingClientRect();n.width!==t.previousWidth&&(e.style.width=t.previousWidth+p),n.height!==t.previousHeight&&(e.style.height=t.previousHeight+p)}},t.onExit=function(e){if(t.props.exit){t.props.onExit&&t.props.onExit(),t.storeStyleSize(e);var n=e.getBoundingClientRect();e.style.width=n.width+p,e.style.height=n.height+p}},t.onExiting=function(e){t.props.exit&&(t.props.onExiting&&t.props.onExiting(),t.restorePreviousStyleSize(e))},t.onExited=function(e){t.props.exit&&(t.props.onExited&&t.props.onExited(),t.restorePreviousStyleSize(e))},t}return i(t,e),t.prototype.render=function(){return a.default.createElement(n.CSSTransition,c({},this.props,{onEnter:this.onEnter,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(a.default.Component),v=void 0===document.createElement("p").style.flex?"-webkit-flex":"flex",y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.render=function(){var t={display:v},n=this.props,r=n.scrollDirection,o=n.dimension,i=n.childKey;return r===e.ScrollExtensions.ScrollDirection.Horizontal?(t.width=o+"px",t.he
6ight="100%"):r===e.ScrollExtensions.ScrollDirection.Vertical&&(t.height=o+"px",t.width="100%"),a.default.createElement("script",{key:i,style:t})},n}(a.default.Component),g="scroll",b="resize",w="px",S=10,E=function(t){function n(n,r){var o,i=t.call(this,n,r)||this;return i.scrollDirection=e.ScrollExtensions.ScrollDirection.Vertical,i.hasPendingPropertiesUpdate=!1,i.pendingScrollAsyncUpdateHandle=0,i.isScrollOngoing=!1,i.isComponentInitialized=!1,i.enableFixStackDirection=!1,i._itemsStackVertically=!0,i.getScrollHostInfo=function(){return i.scrollHostInfo||(i.scrollHostInfo=e.ScrollExtensions.getScrollHostInfo(i.itemsContainer)),i.scrollHostInfo},i.getScrollInfo=function(){var t=i.getScrollHostInfo(),n=t.scrollHost,r=e.ScrollExtensions.getScrollInfo(n),o={scrollHost:n,scrollOffset:r?i.getDimension(r.scroll.y,r.scroll.x):0,viewportSize:r?i.getDimension(r.viewport.height,r.viewport.width):0,viewportLowerBound:0,viewportUpperBound:0};if(n instanceof Window)o.viewportLowerBound=r?i.getDimension(r.viewport.y,r.viewport.x):0,o.viewportUpperBound=r?i.getDimension(r.viewport.height,r.viewport.width):0;else if(n instanceof HTMLElement){var a=n.getBoundingClientRect();o.viewportLowerBound=i.getDimension(a.top,a.left),o.viewportUpperBound=i.getDimension(a.bottom,a.right)}return o},i.addScrollHandler=function(){if(!i.isDisposed){i.scrollHostInfo=null;var e=i.getScrollHostInfo();e.scrollHost.addEventListener(g,i.onScroll),window.addEventListener(b,i.onScroll),i.scrollDirection=e.scrollDirection}},i.removeScrollHandler=function(){i.getScrollHostInfo().scrollHost.removeEventListener(g,i.onScroll),window.removeEventListener(b,i.onScroll)},i.onWindowScrollOrResize=function(){i.removeWindowScrollHandlers(),i.addScrollHandler()},i.removeWindowScrollHandlers=function(){window.removeEventListener(g,i.onWindowScrollOrResize,!0),window.removeEventListener(b,i.onWindowScrollOrResize,!0)},i.renderOffScreenBuffer=function(){var t;if(i.scrollDirection!==e.ScrollExtensions.ScrollDirection.Vertical)return void(i.state.offScreenItemsCount>0&&console.warn("Virtualization attempting offscreen items with horizontal stacking..."));i.itemsContainer&&(i.itemsContainer.style.position="relative");var n=null===(t=i.itemsContainer)||void 0===t?void 0:t.children,r=i.itemsContainer?i.itemsContainer.childElementCount:0,o=null===n||void 0===n?void 0:n.item(0),a=null===n||void 0===n?void 0:n.item(r-1);o.style.height=i.state.scrollOffset+w,a.style.height=i.getRemainingSize(i.state.firstRen
6deredItemIndex,i.state.lastRenderedItemIndex)+w;for(var l=1;l<i.state.offScreenItemsCount+1;l++){var u=null===n||void 0===n?void 0:n.item(l);void 0!==(null===u||void 0===u?void 0:u.style)&&(u.style.width||(u.style.width="100%"),u.style.position="absolute",u.style.top="-10000"+w)}for(var l=i.state.offScreenItemsCount+1;l<r-1;l++){var u=null===n||void 0===n?void 0:n.item(l);void 0!==(null===u||void 0===u?void 0:u.style)&&(u.style.position="",u.style.top="",u.style.width="")}},i.onScroll=function(e){i.pendingScrollAsyncUpdateHandle||(i.pendingScrollAsyncUpdateHandle=requestAnimationFrame(function(){if(!i.isDisposed){try{var t=i.getCurrentScrollViewerState(i.props.length,i.state,i.props,i.itemsContainer,e.type!==b);t!==i.state&&(i.isScrollOngoing=!0,i.setState(t,function(){return i.isScrollOngoing=!1}))}finally{i.pendingScrollAsyncUpdateHandle=0}i.props.scrollChanged&&i.props.scrollChanged()}}))},i.getRemainingSize=function(e,t){var n=Math.min(i.props.length,t-e+1),r=0,o=Math.max(S,i.state.averageItemSize);if(t<i.props.length-1){r=o*i.props.length-(o*(n-i.state.offScreenItemsCount)+i.state.scrollOffset)}return r},i.renderList=function(t,n){var r=Math.min(i.props.length,n-t+1),o=i.state.scrollOffset,a=i.getRemainingSize(t,n),l=i.props.renderItems(t,r),u=Math.max(S,i.state.averageItemSize),s=[];return i.scrollDirection!==e.ScrollExtensions.ScrollDirection.None&&s.push(i.renderSpacer("first-spacer",o,u,function(e){return i.firstSpacer=e})),l&&l.length>0?l.forEach(function(e){return s.push(e)}):s.push(l),i.scrollDirection!==e.ScrollExtensions.ScrollDirection.None&&s.push(i.renderSpacer("last-spacer",a,u,function(e){return i.lastSpacer=e})),i.props.renderWrapper(s)},i.renderSpacer=function(e,t,n,r){return l.createElement(y,{key:e,childKey:e,dimension:t,averageItemSize:n,scrollDirection:i.scrollDirection,ref:function(e){return r(u.findDOMNode(e))}})},i.getListItems=function(e){var t=[],n=e.children;if(n.length>0)for(var r=i.isSpacer(n[0])?1:0,o=i.isSpacer(n[n.length-1])?n.length-2:n.length-1,a=r;a<=o;a++){var l=e.children[a];t.push(l)}return t},i.isSpacer=function(e){return e===i.firstSpacer||e===i.lastSpacer},i.getItemBounds=function(t){var n=t.getBoundingClientRect(),r={width:n.width,height:n.height,left:n.left,right:n.right,top:n.top,bottom:n.bottom};return i.scrollDirection===e.ScrollExtensions.ScrollDirection.Horizontal?r.width<S&&(r.width=S,r.right=r.left+r.width):i.scrollDirection===e.ScrollExtensions.ScrollDirection.Vertical&&r.height<S&&(r.height=S,r.bottom=r.top+r.height),r},i.areElementsStacked=function(e){if(e.length<2)return!1;var t=e[e.length-2],n=e[e.length-1],r=t.getBoundingClientRect(),o=n.getBoundingClientRect();return Math.floor(i.getDimension(o.top,0))>=Math.floor(i.getDimension(r.bottom,1))},i.calculateItemsSize=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length-1);for(var r=0,o=new Array(n-t+1),a=t;a<=n;a++){var l=i.getItemBounds(e[a]),u=i.getDimension(l.height,l.width);r+=u,o[a-t]=u}return{total:r,sizes:o}},i.countItemsAndSizeThatFitIn=function(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r=!1);for(var o=0,i=0,a=r?function(t){return e.length-1-t}:function(e){return e};o<e.length;o++){var l=e[a(o)];if(i+l>t){n&&(o++,i+=l);break}i+=l}return{size:i,count:o}},i.getCurrentScrollViewerState=function(t,n,r,o,a){var l,u;void 0===o&&(o=i.itemsContainer);var s=i.getScrollInfo(),c=r.viewportSafetyMarginBefore||7500;c=Math.min(s.scrollOffset,c);var f=r.viewportSafetyMarginAfter||7500,d=!1;s.scrollOffset<s.viewportSize/4&&(n.firstRenderedItemIndex>0||n.offScreenItemsCount>0)&&(d=!0);var p=o?i.getListItems(o):[];if(!(p.length>=2)||i.itemsStackVertically&&i.areElementsStacked(p)||(i.scrollDirection=e.ScrollExtensions.ScrollDirection.None,i.enableFixStackDirection&&(i._itemsStackVertically=!1)),i.scrollDirection!==e.ScrollExtensions.ScrollDirection.Vertical||p.length<2)return{firstRenderedItemIndex:0,lastRenderedItemIndex:Math.max(1,r.length-1),averageItemSize:0,scrollOffset:0,offScreenItemsCount:0,effectiveScrollOffset:s.scrollOffset};var h=null===(l=null===o||void 0===o?void 0:o.lastElementChild)||void 0===l?void 0:l.getBoundingClientRect();if((h?i.getDimension(h.bottom,h.right):0)<-100)return n;var m=i.calculateItemsSize(p),v=n.offScreenItemsCount,y=m.sizes.slice(v),g=y.reduce(function(e,t){return e+t}),b=g/(1*y.length);0!==n.averageItemSize&&(b=.8*n.averageItemSize+.2*b);var w=Math.ceil(s.viewportSize/b),S=w,E=Math.ceil(c/b),x=Math.ceil(f/b),C=Math.min(t,w+E+x+v),k=n.scrollOffset,T=n.firstRen
6deredItemIndex,P=s.viewportLowerBound-c,O=null===(u=null===o||void 0===o?void 0:o.firstElementChild)||void 0===u?void 0:u.getBoundingClientRect(),N=O?i.getDimension(O.bottom,O.right):0;if(!d&&Math.abs(N-P)<=g){if(N<P){var _=i.countItemsAndSizeThatFitIn(y,Math.abs(P-N));if(_.count>0&&(k+=_.size,(v+=_.count)>S)){var R=v-S;T+=R,v=S}}else if(N>P){var M=Math.abs(N-P),I=m.sizes.slice(0,v),D=i.countItemsAndSizeThatFitIn(I,M,!0,!0);if(D.count>0&&(k=Math.max(0,k-D.size),v-=D.count,M-=D.size),M>0){if(0!==v)throw"offScreenItemsCount should be 0";var L=Math.min(T,Math.ceil(M/b));T-=L,k-=L*b}if(v<S){var L=Math.min(T,S-v);T-=L,v+=L}}}else{var A=O?i.getDimension(O.top,O.left):0;A=A<s.viewportLowerBound?Math.abs(A-s.viewportLowerBound):0,T=Math.max(0,Math.floor(A/b)-1),v=0,T>0&&(T=Math.max(0,T-Math.ceil(c/b))),T=Math.max(0,Math.min(T,t-1-C)),k=T*b}0===T&&0===v&&(k=0);var j=Math.max(Math.ceil(k/b),0),F=Math.min(t,w+Math.min(E,j)+x+v);return{firstRenderedItemIndex:T,lastRenderedItemIndex:Math.min(t-1,T+F),averageItemSize:b,scrollOffset:k,offScreenItemsCount:v,effectiveScrollOffset:s.scrollOffset}},i.scrollToIndex=function(t){i.internalSetScrollOffset(function(){var n=i.getScrollInfo(),r=n.scrollHost,o=i.state.averageItemSize*t,a=n.scrollOffset,l=!1;if(o<a)l=!0;else{var u=a+n.viewportSize-i.state.averageItemSize;o>u&&(o-=u-a,l=!0)}if(l){var s=i.getDimension(0,o),c=i.getDimension(o,0);e.ScrollExtensions.setScrollOffset(r,s,c,!1)}})},i.scrollToOffset=function(t,n){i.internalSetScrollOffset(function(){var r=i.getScrollInfo(),o=r.scrollHost,a=i.getDimension(0,t),l=i.getDimension(n,0);e.ScrollExtensions.setScrollOffset(o,a,l)})},i.setScrollOffset=i.scrollToOffset,i.internalSetScrollOffset=function(e){i.isInitialized?e():i.setPendingScroll=e}
6,i.state={firstRenderedItemIndex:0,lastRenderedItemIndex:1,averageItemSize:0,scrollOffset:0,offScreenItemsCount:0,effectiveScrollOffset:Number.MIN_VALUE},i.scrollHostInfo=null,i.itemsContainer=null,i.setPendingScroll=null,i.firstSpacer=null,i.lastSpacer=null,i.enableFixStackDirection=null!==(o=n.enableFixStackDirection)&&void 0!==o&&o,i}return i(n,t),Object.defineProperty(n.prototype,"itemsStackVertically",{get:function(){return this._itemsStackVertically},enumerable:!1,configurable:!0}),n.prototype.componentDidMount=function(){var e=this;this.itemsContainer=u.findDOMNode(this),requestAnimationFrame(function(){e.isDisposed||(window.addEventListener(g,e.onWindowScrollOrResize,!0),window.addEventListener(b,e.onWindowScrollOrResize,!0))}),this.setState(this.getCurrentScrollViewerState(this.props.length,this.state,this.props))},n.prototype.componentWillUnmount=function(){this.removeWindowScrollHandlers(),this.removeScrollHandler(),this.scrollHostInfo=null,this.itemsContainer=null},n.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState(this.getCurrentScrollViewerState(e.length,this.state,this.props)),this.hasPendingPropertiesUpdate=!0},n.prototype.setState=function(e,n){var r=this;t.prototype.setState.call(this,e,function(){r.onDidUpdate(),n&&n()})},n.prototype.onDidUpdate=function(){var e=this;this.itemsContainer=u.findDOMNode(this),this.renderOffScreenBuffer(),this.setPendingScroll&&requestAnimationFrame(function(){!e.isDisposed&&e.setPendingScroll&&(e.setPendingScroll(),e.setPendingScroll=null)}),this.isComponentInitialized||(this.isComponentInitialized=!0,this.props.initializationCompleted&&this.props.initializationCompleted()),this.hasPendingPropertiesUpdate&&(this.hasPendingPropertiesUpdate=!1,this.setState(this.getCurrentScrollViewerState(this.props.length,this.state,this.props)))},n.prototype.shouldComponentUpdate=function(e,t){return t.firstRenderedItemIndex!==this.state.firstRen
6deredItemIndex||t.lastRenderedItemIndex!==this.state.lastRenderedItemIndex||t.scrollOffset!==this.state.scrollOffset||e!==this.props},n.prototype.render=function(){return this.renderList(this.state.firstRenderedItemIndex,this.state.lastRenderedItemIndex)},n.prototype.getDimension=function(t,n){return this.scrollDirection===e.ScrollExtensions.ScrollDirection.Vertical?t:n},Object.defineProperty(n.prototype,"isScrolling",{get:function(){return this.isScrollOngoing},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isInitialized",{get:function(){return this.isComponentInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisposed",{get:function(){return!this.itemsContainer},enumerable:!1,configurable:!0}),n}(l.Component),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.renderItem=function(e){var t=e%2==0,n="list-item "+(t?"even":"odd"),r=this.props.list[e];return l.createElement("div",{key:"i-"+e,className:n},"Item ",r.index,l.createElement("img",{src:r.image}))},t.prototype.componentDidMount=function(){this.getScrollViewer().scrollToOffset(0,1e3)},t.prototype.renderItems=function(e,t){for(var n=[],r=e;r<e+t;r++)n.push(this.renderItem(r));return n},t.prototype.getScrollViewer=function(){return this.refs.scrollViewer},Object.defineProperty(t.prototype,"shouldSuspendAnimations",{get:function(){var e=this.getScrollViewer();return!e||!e.isInitialized||e.isScrolling},enumerable:!1,configurable:!0}),t.prototype.createScrollViewerContainer=function(e){var t=this,n={className:"list",component:"div",shouldSuspendAnimations:function(){return t.shouldSuspendAnimations},transitionName:"example"};return l.createElement(h,n,e)},t.prototype.render=function(){var e=this;return l.createElement(E,{renderItems:function(t,n){return e.renderItems(t,n)},renderWrapper:function(t){return e.createScrollViewerContainer(t)},length:this.props.list.length,pageBufferSize:this.props.pageBufferSize,ref:"scrollViewer"})},t.prototype.scrollToOffset=function(e){this.getScrollViewer().scrollToOffset(0,e)},t.prototype.scrollToIndex=function(e){this.getScrollViewer().scrollToIndex(e)},t}(l.Component);e.AnimatedGroup=f,e.AnimatedSizeGroup=h,e.Spacer=y,e.VirtualizedList=x,e.VirtualizedScrollViewer=E,Object.defineProperty(e,"__esModule",{value:!0})}),define("OutSystems/ReactView/AnimatedGroup",["require","exports","tslib","@outsystems/virtualized-list"],function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnimatedGroup=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.getDefaultTransitionName=function(){return"os-animated"},t}(r.AnimatedSizeGroup);t.AnimatedGroup=o}),function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("prop-types",[],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).PropTypes=e()}(function(){return function e(t,n,r){function o(a,l){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!l&&u)return u(a,!0);if(i)return i(a,!0);throw(u=new Error("Cannot find module '"+a+"'")).code="MODULE_NOT_FOUND",u}u=n[a]={exports:{}},t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";function r(){}function o(){}var i=e(3);o.resetWarningCache=r,t.exports=function(){function e(e,t,n,r,o,a){if(a!==i)throw a=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"),a.name="Invariant Violation",a}function t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n}},{3:3}],2:[function(e,t,n){t.exports=e(1)()},{1:1}],3:[function(e,t,n){"use strict";
6t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},{}]},{},[2])(2)}),define("OutSystems/ReactView/CSSHelper",["require","exports","OutSystems/ClientRuntime/Logger","OutSystems/ClientRuntime/Settings"],function(e,t,n,r){"use strict";function o(e){n.trace(m,"Setting number of stylesheet's load retries to ".concat(e)),y=e}function i(){return y}function a(e,t,n){if(0===e.length)return{loadStylesPromise:Promise.resolve(),triggerRemoveStyles:function(){}};var r=document.head||document.querySelector("head"),o=[].slice.call(document.querySelectorAll("link[data-os]")||[]).reverse(),i=[],a=[],s=[],c=void 0,f=0;e:for(var d=0,p=e.reverse();d<p.length;d++){for(var m=p[d],g=f;g<o.length;g++){var b=o[g];if(b.id===m){c=b,a.push(b),f=g+1;continue e}}var w=h(m,i,t,y,n);s.push({beforeElement:c,element:w}),c=w}l("Adding",s);for(var S=0,E=s;S<E.length;S++){var x=E[S],C=x.beforeElement,k=x.element;u("Adding",k.id),C?r.insertBefore(k,C):r.appendChild(k)}v+=1;var T=v,P=function(){if(v===T){l("Retaining",a);for(var e=0,t=a;e<t.length;e++){u("Retaining",t[e].id)}for(var n=0,r=o;n<r.length;n++){var i=r[n];i.parentNode&&-1===a.indexOf(i)&&(u("Removing",i.id),i.parentNode.removeChild(i))}}};return{loadStylesPromise:Promise.all(i),triggerRemoveStyles:P}}function l(e,t){n.trace(m,"".concat(e," ").concat(t.length," stylesheets : document '").concat(document.baseURI,"':"))}function u(e,t){n.trace(m,"".concat(e," stylesheet '").concat(t,"' : document '").concat(document.baseURI,"'"))}function s(e){n.trace(m,"Setting ignore load errors to ".concat(e)),g=e}function c(){return g}function f(e,t,r){void 0===r&&(r=""),g?n.trace(m,"Ignored error while loading stylesheet '".concat(e,"'").concat(r)):t("Error loading stylesheet: '".concat(e,"'").concat(r))}function d(e){var t=document.createElement("link");return t.type="text/css",t.rel="stylesheet",t.id=e,t.href=e,t.setAttribute("data-os","true"),t}function p(e,t,r,o,i,a,l){if(0===a)return f(o,i,"\nNo retries left.\nFailed to load this stylesheet."),r.parentNode.removeChild(r),void e(t);null===l||void 0===l||l(),n.trace(m,"Error while loading stylesheet '".concat(o,"'. Retrying..."));var u=d(o);u.onerror=function(){p(e,t,u,o,i,a-1,l)},u.onabort=r.onabort,u.onload=r.onload;var s=r.parentNode,c=r.nextElementSibling;r.parentNode.removeChild(r),c?s.insertBefore(u,c):s.appendChild(u)}function h(e,t,o,i,a){n.trace(m,"Loading stylesheet '".concat(e,"'"));var l=d(e);return t.push(new Promise(function(t){l.onerror=function(n){var u=(0,r.getEnvParams)().CDNFilenameVersioning?i:0;p(t,n,l,e,o,u,a)},l.onabort=function(n){f(e,o),l.parentNode.removeChild(l),t(n)},l.onload=t})),l}Object.defineProperty(t,"__esModule",{value:!0}),t.getIgnoreLoadErrors=t.setIgnoreLoadErrors=t.scheduleCSSPreparation=t.getNumberOfStylesheetLoadRetries=t.setNumberOfStylesheetLoadRetries=void 0;var m="CSSHelper",v=0,y=3;t.setNumberOfStylesheetLoadRetries=o,t.getNumberOfStylesheetLoadRetries=i,t.scheduleCSSPreparation=a;var g=!1;t.setIgnoreLoadErrors=s,t.getIgnoreLoadErrors=c}),define("OutSystems/ReactView/ErrorBoundary",["require","exports","tslib","react"],function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasError:!1},n}return n.__extends(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){var n=this.props.onError;n&&n(e)},t.prototype.render=function(){return this.state.hasError?null:this.props.children},t}(r.Component);t.default=o}),define("OutSystems/ReactView/HtmlTags",["require","exports"],function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HtmlTags=void 0;var n;!function(e){e.a="a",e.button="button",e.div="div",e.form="form",e.i="i",e.img="img",e.input="input",e.label="label",e.span="span",e.textarea="textarea"}(n||(t.HtmlTags=n={}))}),define("OutSystems/ReactView/ScrollExtensions",["require","exports","@outsystems/virtualized-list"],function(e,t,n){"use strict";function r(e,t){return n.ScrollExtensions.getScrollHostInfo(e.parentElement,t)}function o(e){return n.ScrollExtensions.getScrollInfo(e)}function i(e,t,r){n.ScrollExtensions.setScrollOffset(e,t,r)}function a(e){var t={};if(!e)return t;var n=e.scrollLeft,r=e.scrollTop;return n&&(t.scrollLeft=n),r&&(t.scrollTop=r),t}function l(e,t){e&&(t.scrollLeft&&(e.scrollLeft=t.scrollLeft),t.scrollTop&&(e.scrollTop=t.scrollTop))}
6Object.defineProperty(t,"__esModule",{value:!0}),t.loadScrollProperties=t.serializeScrollProperties=t.setScrollOffset=t.getScrollInfo=t.getScrollHostInfo=void 0,t.getScrollHostInfo=r,t.getScrollInfo=o,t.setScrollOffset=i,t.serializeScrollProperties=a,t.loadScrollProperties=l}),define("OutSystems/ReactView/BaseView",["require","exports","tslib","OutSystems/ClientRuntime/ApplicationInfo","OutSystems/ClientRuntime/ErrorHandling","OutSystems/ClientRuntime/EventDispatcher","OutSystems/ClientRuntime/Flow","OutSystems/ClientRuntime/Injector","OutSystems/ClientRuntime/Injector/KnownServices","OutSystems/ClientRuntime/Logger","OutSystems/ClientRuntime/Navigation","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ClientRuntime/Public","OutSystems/ClientRuntime/ScreenStateCache","OutSystems/ClientRuntime/ScriptsManager","OutSystems/ClientRuntime/Validation","OutSystems/ClientRuntime/WidgetNaming","prop-types","react","react-dom","./AnimatedGroup","./CSSHelper","./ErrorBoundary","./HtmlTags","./ScrollExtensions"],function(e,t,n,r,o,i,a,l,u,s,c,f,d,p,h,m,v,y,g,b,w,S,E,x,C){"use strict";function k(e){requestAnimationFrame(function(){return setTimeout(e,1)})}Object.defineProperty(t,"__esModule",{value:!0}),t.executeAfterPaint=t.BaseWebScreen=t.BaseWebBlock=t.View=t.ViewComponent=t.SCREEN_UUID=void 0,t.SCREEN_UUID="_screen";var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.originalNavigationKey="",t}return n.__extends(t,e),t.prototype.componentDidMount=function(){this.injectId();var e=this.getScreenStateCache();if(this.originalNavigationKey=e.navigationKey,e.shouldLoad){var t=e.state.components[this.getComponentKey()];t&&!f.isEmptyObject(t.customProperties)&&this.loadCustomStateProperties(t.customProperties)}},t.prototype.componentDidUpdate=function(){this.injectId()},t.prototype.componentWillUnmount=function(){if(this.getScreenStateCache().shouldSave){var e=this.serializeState(),t=this.serializeCustomStateProperties();f.isEmptyObject(e)&&f.isEmptyObject(t)||p.ScreenStateCache.save(this.originalNavigationKey,this.getComponentKey(),e,t)}},t.prototype.serializeState=function(){return this.state},t.prototype.serializeCustomStateProperties=function(){return null},t.prototype.loadCustomStateProperties=function(e){},t.prototype.getComponentKey=function(){var e=this.idServiceProperties;return e.service.getId(e.name||e.uuid)},Object.defineProperty(t.prototype,"idServiceProperties",{get:function(){return this.props._idProps},enumerable:!1,configurable:!0}),t.prototype.injectId=function(){var e=this.getId();if(""!==e){var t=this.getHTMLNode();t&&!t.hasAttribute("id")&&t.setAttribute("id",e)}},t.prototype.getId=function(){var e=this.idServiceProperties;return e.service.getId(this.getName(e))||""},t.prototype.getName=function(e){return e.name},t.prototype.getScreenStateCache=function(){var e=this.context;return e.getScreenStateCache?e.getScreenStateCache():{navigationKey:"",shouldLoad:!1,shouldSave:!1,state:null}},t.prototype.getSiblingWidgetId=function(e){return this.idServiceProperties.service.getId(e)},t.prototype.findDOMNode=function(e){return b.findDOMNode(e)},t.contextTypes={getScreenStateCache:y.func},t}(g.Component);t.ViewComponent=T;var P=function(e){function t(n,r){var o=e.call(this,n,r)||this;o.onError=function(e){t.isLoopError(e)?t.handleError(t.createRenderLoopError(o.viewName)):(o.exception=e,o.controllerInstance.handleError(o.exception))};var a={model:n.model};if(!a.model){var l=o.controllerFactory.activeScreenController,u=l?l.modelContext:void 0,s={viewName:o.viewName,navigatedFromHistory:!!u&&u.navigatedFromHistory,viewWasRestoredFromCache:!1};a.model=o.modelFactory.create(s)}return o.state=a,o.setInputs(n,!0),o.controllerInstance=n.controller?n.controller:o.controllerFactory.create(o.state.model,o.createIdService()),o.navigationEventListenerId=i.EventDispatcher.listenOnce(i.EventType.NavigationStart,function(){return o.onNavigationStart()}),o.hasScreenRendered()||(o.transitionEventStartListenerId=i.EventDispatcher.listenOnce(i.EventType.TransitionStart,function(){return o.onTransitionStart()})),o}return n.__extends(t,e),t.ifWidget=function(e,t,r,o,i){var a,l;e?a=o.call(r):l=i.call(r);return g.createElement(g.Fragment,null,a?g.createElement.apply(g,n.__spreadArray([g.Fragment,null],a,!1)):null,l?g.createElement.apply(g,n.__spreadArray([g.Fragment,null],l,!1)):null)},t.textWidget=function(e){var t=[];if(0!==e.length){for(var n=e.split("\n"),r=0,o=n.slice(0,n.length-1);r<o.length;r++){var i=o[r];0!==i.length&&t.push(i),t.push(g.createElement("br"))}var a=n[n.length-1];0!==a.length&&t.push(a)}return t},t.getTranslation=function(e,t){var n=l.default.resolve(u.ServiceNames.TranslationsService);return n?n.getMessage(e,t):t},t.asPrimitiveValue=function(e){return void 0===e||null===e?e:e.valueOf()},t.prototype.createIdService=function(){return new v.WidgetIdService(null)},t.prototype.onNavigationStart=function(){this.saveModelStateForCache()},t.prototype.onTransitionStart=function(){var e=this;this.transitionEventStartListenerId=null,this.pendingModel&&k(function(){e.pendingModel&&e.onModelChanged(e.pendingModel)})},t.prototype.setInputs=function(e,t){},t.prototype.subscribeModelChanges=function(){var e=this;this.model.subscribeWrites(function(t){return e.onModelChanged(t)})},t.prototype.savePreviousModelState=function(){this.previousModelData=this.model.toImmutableData()},t.prototype.saveModelStateForCache=function(){this.cachedModelData=this.previousModelData},t.prototype.shouldComponentUpdate=function(e,t,n){return this.previousModelData!==t.model.toImmutableData()},t.prototype.componentWillUnmount=function(){var t=this;this.model.clearSubscriptions(),e.prototype.componentWillUnmount.call(this),i.EventDispatcher.unregister(this.navigationEventListenerId),i.EventDispatcher.unregister(this.transitionEventStartListenerId),this.onDestroy(),setTimeout(function(){return t.controller.dispose()})},t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.onReady()},t.prototype.componentDidUpdate=function(){e.prototype.componentDidUpdate.call(this),this.onRender()},t.prototype.serializeState=function(){var e=this.cachedModelData||this.previousModelData;return this.model.sanitize(e)},t.prototype.UNSAFE_componentWillUpdate=function(e){this.savePreviousModelState()},t.prototype.onReady=function(){this.controller.fireAfterViewReady()},t.prototype.onRender=function(){var e=this,n=this.controller.fireAfterViewRender();n&&n.catch(function(n){t.isLoopError(n)&&t.handleError(t.createRenderLoopError(e.viewName,e.constructor.displayName))})},t.prototype.onDestroy=function(){this.controller.fireAfterViewDestroy()},t.prototype.hasScreenRendered=function(){var e=this.context;return!e||!e.hasScreenRendered||e.hasScreenRendered()},t.prototype.onModelChanged=function(e){var t=this;this.hasScreenRendered()?(this.pendingModel=null,this.setState({model:e},function(){t.onSetState()})):this.pendingModel=e},t.prototype.onSetState=function(){},Object.defineProperty(t.prototype,"model",{get:function(){return this.state.model}
6,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"controller",{get:function(){return this.controllerInstance},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"idService",{get:function(){return this.controller.idService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewName",{get:function(){return this.constructor.displayName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){throw new Error("@abstract")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"modelFactory",{get:function(){throw new Error("@abstract")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"controllerFactory",{get:function(){throw new Error("@abstract")},enumerable:!1,configurable:!0}),t.getCssDependencies=function(){return[]},t.getJsDependencies=function(){return[]},t.getBlocks=function(){return[]},Object.defineProperty(t.prototype,"widgetsRecordProvider",{get:function(){return this.model},enumerable:!1,configurable:!0}),t.isLoopError=function(e){return/Maximum update depth exceeded/gi.test(null===e||void 0===e?void 0:e.message)},t.createRenderLoopError=function(e,t){return new Error("Render loop avoided. "+"This is likely due to variables of ".concat(t?"block '".concat(t,"' on "):"","screen '").concat(e,"' being changed inside its 'On Render' event handler. ")+"Avoid changing variables inside 'On Render' event handlers.")},t.prototype.render=function(){return this.exception=void 0,g.createElement(E.default,{onError:this.onError},this.internalRender())},t.prototype.internalRender=function(){throw new Error("@abstract")},t.prototype.validateWidget=function(e){this.controller.validationService.validate(e)},t.handleError=function(e){o.handleError(e)},t.contextTypes=f.assign({hasScreenRendered:y.func,locale:y.string},T.contextTypes),t}(T);t.View=P;var O=function(e){function t(t,n){var r=e.call(this,t,n)||this;if(r.isValid=!0,r.generationNode=n.ancestorGenerationNode.addChild(),t.events)for(var o=this,i=0,l=Object.keys(t.events);i<l.length;i++){var u=l[i];!function(e){var n=e;"_"===n.charAt(0)&&(n=n.substring(1));var r=t.events[e];o.controller.registerClientAction(n,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.executeSequence(function(){return r.apply(void 0,e)})})}(u)}var s=r.getScreenStateCache();if(s.shouldLoad){var c=s.state.components[r.getComponentKey()];c&&!f.isEmptyObject(c.state)&&(r.state.model.fromImmutableData(c.state),r.state.model.context.viewWasRestoredFromCache=!0,r.setInputs(r.props,!0))}return r.parentValidationService&&r.parentValidationService.register(r),r.controller.fireInitialize(),r.subscribeModelChanges(),r.savePreviousModelState(),r}return n.__extends(t,e),t.prototype.getChildContext=function(){return{ 7ancestorGenerationNode:this.generationNode,locale:this.context.locale}},t.prototype.createIdService=function(){var e=this.idServiceProperties;return new v.WidgetIdService(e.service,e.alias,v.NamespaceKind.Block)},t.prototype.setInputs=function(e,t){e.inputs&&Object.keys(e.inputs).length>0&&(this.model.setInputs(e.inputs),t&&this.model.flush())},t.prototype.getName=function(t){return e.prototype.getName.call(this,t)||"$b"+t.alias},t.prototype.UNSAFE_componentWillUpdate=function(t){var n=this;if(!f.shallowEquals(this.props.inputs,t.inputs)){s.trace(this,function(){return"Inputs of '".concat(n.getId(),"' changed")}),this.setInputs(t,!1);try{this.controller.fireAfterInputsChanged()}finally{s.trace(this,function(){return"InputsChanged event fired on '"+n.getId()+"'"})}}e.prototype.UNSAFE_componentWillUpdate.call(this,t)},t.prototype.shouldComponentUpdate=function(t,n,r){return!(!e.prototype.shouldComponentUpdate.call(this,t,n,r)&&f.shallowEquals(this.props.inputs,t.inputs))||(!(t._dependencies||!t.placeholders)||(!(!this.generationNode||r.isGenerationUpToDate(this.generationNode.generation))||!f.arrayShallowEquals(this.props._dependencies,t._dependencies)))},Object.defineProperty(t.prototype,"viewName",{get:function(){return this.context.viewName},enumerable:!1,configurable:!0}),t.prototype.getRootNodeProperties=function(){return{"data-block":this.constructor.displayName,ref:t.ReferenceName,className:"OSBlockWidget"}},t.prototype.onSetState=function(){this.context.refreshCurrentGeneration()},Object.defineProperty(t.prototype,"parentValidationServiceProperties",{get:function(){return this.props._validationProps}
7,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validationParentId",{get:function(){var e=this.parentValidationServiceProperties;return e?e.validationParentId:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentValidationService",{get:function(){var e=this.parentValidationServiceProperties;return e?e.validationService:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.isValid},set:function(e){this.isValid=void 0===e||e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidationAggregator",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isWebBlockInstance",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.validate=function(){return new m.ValidationResult(this.controller.validationService.validate(""))},t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.parentValidationService&&this.parentValidationService.unregister(this.getId())},t.prototype.validateWidget=function(t){t?e.prototype.validateWidget.call(this,t):this.parentValidationService.validate(this.validationParentId)},t.prototype.getHTMLNode=function(){var e=this.refs[t.ReferenceName];return e?this.findDOMNode(e)||this.findDOMNode(this):this.findDOMNode(this)},t.ReferenceName="block-reference",t.contextTypes=f.assign({ancestorGenerationNode:y.object,refreshCurrentGeneration:y.func,isGenerationUpToDate:y.func,viewName:y.string},P.contextTypes),t.childContextTypes={ancestorGenerationNode:y.object,locale:y.string},t}(P);t.BaseWebBlock=O;var N=function(e){function o(t,n){var r=e.call(this,t,n)||this;return r.isUnloading=!1,r.isLoadingFromHistory=!1,r.screenElement=void 0,t.controller||r.controller.fireInitialize(),r.subscribeModelChanges(),r.savePreviousModelState(),r.isLoadingFromHistory=!!t.cachedScreenState,r}return n.__extends(o,e),o.prototype.serializeCustomStateProperties=function(){return C.serializeScrollProperties(document.body)},o.prototype.loadCustomStateProperties=function(e){C.loadScrollProperties(document.body,e)},o.prototype.getScreenStateCache=function(){return{navigationKey:this.props.navigationKey,shouldSave:this.isUnloading&&this.props.shallSaveStateOnLeave,shouldLoad:this.isLoadingFromHistory,state:this.props.cachedScreenState}},o.prototype.getChildContext=function(){var e=this,t=l.default.resolve(u.ServiceNames.LocaleService);return{ancestorGenerationNode:this.model.widgetsGenerationsTree.root,isGenerationUpToDate:function(t){return t<=e.currentGeneration},refreshCurrentGeneration:function(){return e.refreshCurrentGeneration()},viewName:this.viewName,getScreenStateCache:function(){return e.getScreenStateCache()},locale:null===t||void 0===t?void 0:t.getCurrentLocale()}},o.prototype.getRootNodeProperties=function(){return{className:d.View.ActiveScreenCssClass+" screen-container"}},Object.defineProperty(o.prototype,"idServiceProperties",{get:function(){return{service:this.idService,uuid:t.SCREEN_UUID}},enumerable:!1,configurable:!0}),o.prototype.getComponentKey=function(){return t.SCREEN_UUID},o.collectResourcesOrderedByPriority=function(e,t){var n={},r=[],o=function(e){for(var i=e.getBlocks(),a=0,l=i;a<l.length;a++){var u=l[a];o(u)}for(var s=0,c=t(e);s<c.length;s++){var f=c[s];n[f]||(r.push(f),n[f]=!0)}};return o(e),r},o.getJavascriptsOrderedByPriority=function(e){return o.collectResourcesOrderedByPriority(e,function(e){return e.getJsDependencies()})},o.getStylesheetsOrderedByPriority=function(e){return o.collectResourcesOrderedByPriority(e,function(e){return e.getCssDependencies()})},o.prototype.componentDidMount=function(){this.screenElement=this.findDOMNode(this),e.prototype.componentDidMount.call(this),this.exception||(document.title=this.title,o.updateHTMLLang(),o.updateWritingDirectionStyleClass(),this.refreshCurrentGeneration(),this.isLoadingFromHistory=!1,p.ScreenStateCache.clear(this.getScreenStateCache().navigationKey))},o.prototype.componentDidUpdate=function(){this.screenElement=this.findDOMNode(this),e.prototype.componentDidUpdate.call(this),this.refreshCurrentGeneration(),!this.exception&&this.controller.isActive()&&(document.title=this.title,o.updateHTMLLang(),o.updateWritingDirectionStyleClass())},o.updateHTMLLang=function(){var e=l.default.resolve(u.ServiceNames.LocaleService);if(e){var t=document.getElementsByTagName("html");if(1===t.length){t.item(0).setAttribute("lang",e.getCurrentLocale())}}},o.prototype.componentWillUnmount=function(){this.isUnloading=!0,e.prototype.componentWillUnmount.call(this)},o.prototype.refreshCurrentGeneration=function(){this.currentGeneration=this.model.widgetsGenerationsTree.root.generation},o.prototype.injectId=function(){},o.prototype.getHTMLNode=function(){throw new Error("@abstract")},o.prototype.onNavigationStart=function(){e.prototype.onNavigationStart.call(this),this.screenElement&&this.screenElement.classList.remove(d.View.ActiveScreenCssClass)},o.loadResources=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,a,l,u;return n.__generator(this,function(n){switch(n.label){case 0:return t=o.getStylesheetsOrderedByPriority(e).map(function(e){return c.VersionedURL.getVersionedUrl(e)}),a=o.getJavascriptsOrderedByPriority(e).map(function(e){return c.VersionedURL.getVersionedUrl(e)}),l=S.scheduleCSSPreparation(t,o.logError),u=l.triggerRemoveStyles,i.EventDispatcher.listenOnce(i.EventType.TransitionEnd,function(e){e===i.TransitionEndResult.Success&&u()}),[4,h.scheduleCustomJsLoading(a,o.logError)];case 1:return n.sent(),r.isWebApplication()?[4,l.loadStylesPromise]:[3,3];case 2:n.sent(),n.label=3;case 3:return[2]}})})},o.updateWritingDirectionStyleClass=function(){var e=l.default.resolve(u.ServiceNames.LocaleService);if(e){var t=document.body;t&&(e.isCurrentLocaleRTL()?(t.classList.remove("is-ltr"),t.classList.add("is-rtl")):(t.classList.remove("is-rtl"),t.classList.add("is-ltr")))}},o.logError=function(e){s.error("BaseWebScreen",e)},o.childContextTypes={ancestorGenerationNode:y.object,isGenerationUpToDate:y.func,refreshCurrentGeneration:y.func,viewName:y.string,getScreenStateCache:y.func,locale:y.string},o}(P);t.BaseWebScreen=N,t.executeAfterPaint=k}),define("OutSystems/ReactView/KeyboardKey",["require","exports"],function(e,t){"use strict";
7Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardKey=void 0;var n;!function(e){e.SPACE=" ",e.ENTER="Enter",e.ESCAPE="Escape"}(n||(t.KeyboardKey=n={}))}),define("OutSystems/ReactView/WidgetHelpers",["require","exports","react"],function(e,t,n){"use strict";function r(e,t){if(void 0===t&&(t="i-default"),Array.isArray(e)){for(var r={},o=0;o<e.length;o++)r["i"+o]=e[o];return n.createElement(n.Fragment,{key:t},Object.keys(r).map(function(e){return n.createElement(n.Fragment,{key:e},r[e])}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.wrapElements=void 0,t.wrapElements=r}),define("OutSystems/ReactView/Widget",["require","exports","tslib","OutSystems/ClientRuntime/DataConversion","OutSystems/ClientRuntime/DataTypes","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ClientRuntime/Utils","OutSystems/ClientRuntime/Validation","OutSystems/ClientRuntime/WidgetNaming","prop-types","react","./BaseView","./HtmlTags","./WidgetHelpers","./BaseView"],function(e,t,n,r,o,i,a,l,u,s,c,f,d,p,h){"use strict";function m(e){var t=function(t,n){e.apply(this,arguments)};return __extends(t,e),i.overrideMethod(t.prototype,"componentDidMount",t.prototype.internalComponentDidMount),i.overrideMethod(t.prototype,"componentDidUpdate",t.prototype.internalComponentDidUpdate),i.overrideMethod(t.prototype,"UNSAFE_componentWillMount",t.prototype.internalComponentWillMount),i.overrideMethod(t.prototype,"componentWillUnmount",t.prototype.internalComponentWillUnmount),i.overrideMethod(t.prototype,"UNSAFE_componentWillUpdate",t.prototype.internalComponentWillUpdate),i.overrideMethod(t.prototype,"render",t.prototype.internalRender),t.displayName=e.name,t.__hasWidgetSpec=!0,t}Object.defineProperty(t,"__esModule",{value:!0}),t.IteratorPlaceholderContent=t.PlaceholderContent=t.InputWithVariableWidget=t.ValidationWidget=t.Widget=t.WidgetSpec=t.executeAfterPaint=void 0,Object.defineProperty(t,"executeAfterPaint",{enumerable:!0,get:function(){return h.executeAfterPaint}});t.WidgetSpec=m;var v=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.ref=c.createRef();var o=r.constructor;if(r.exception=null,r.isDisposed=!1,!o.__hasWidgetSpec)throw new Error("Invalid widget. The widget must be decorated with WidgetSpec.");return r.props._dependencies&&(r._generationNode=n.ancestorGenerationNode.addChild()),r}return n.__extends(t,e),t.prototype.getChildContext=function(){return{ancestorGenerationNode:this._generationNode?this._generationNode:this.context.ancestorGenerationNode,locale:this.context.locale}},t.prototype.componentDidMount=function(){},t.prototype.internalComponentDidMount=function(t){t.apply(this),e.prototype.componentDidMount.call(this),this.customComponentDidMountHandler&&this.customComponentDidMountHandler()},t.prototype.UNSAFE_componentWillMount=function(){},t.prototype.internalComponentWillMount=function(e){e.apply(this)},t.prototype.componentDidUpdate=function(){},t.prototype.internalComponentDidUpdate=function(t,n){t.apply(this,n),e.prototype.componentDidUpdate.call(this),this.customComponentDidUpdateHandler&&this.customComponentDidUpdateHandler()},t.prototype.componentWillUnmount=function(){},t.prototype.internalComponentWillUnmount=function(t){t.apply(this),e.prototype.componentWillUnmount.call(this),this.isDisposed=!0,this.customComponentWillUnmountHandler&&this.customComponentWillUnmountHandler()},t.prototype.internalComponentWillUpdate=function(e,t){e.apply(this,t),this.customComponentWillUpdateHandler&&this.customComponentWillUpdateHandler()},Object.defineProperty(t.prototype,"skipRenderWhenHidden",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.internalRender=function(e){return this.skipRenderWhenHidden&&void 0!==this.props.visible&&!0!==this.props.visible?null:e.apply(this)},t.formatCssPropertyName=function(e){return e=e.replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()}),/^(?:Webkit|Moz|O)[A-Z]/.test(e)?e:e.substring(0,1).toLowerCase()+e.substring(1)},t.fillWithStyleProperties=function(e,n){e.split(";").forEach(function(e){var r=e.indexOf(":");if(r>0){var o=e.substr(0,r).trim(),i=e.substr(r+1).trim(),l=t.formatCssPropertyName(o);n[l]=a.StringUtils.safeParseInt(i)}})},t.prototype.fillWithBuiltinProperties=function(e){e.style=e.style||{},e.ref=this.ref;var n=this.props.gridProperties;if(n){n.classes&&(e.className?e.className=e.className+" "+n.classes:e.className=n.classes);var r=e.style;n.width&&(r.width=a.StringUtils.safeParseInt(n.width)),n.marginLeft&&(r.marginLeft=a.StringUtils.safeParseInt(n.marginLeft))}var o=this.props.extendedProperties;if(o){for(var i in o)i!==t.StyleAttribute&&(e[i.valueOf()]=o[i]);var l=o[t.StyleAttribute];l&&t.fillWithStyleProperties(l,e.style)}var u=this.props.extendedEvents;if(u)for(var s in u){var c=u[s];switch(s.toLowerCase()){case"componentdidmount":this.customComponentDidMountHandler=c;break;case"componentdidupdate":this.customComponentDidUpdateHandler=c;break;case"unsafe_componentwillupdate":case"componentwillupdate":this.customComponentWillUpdateHandler=c;break;case"componentwillunmount":this.customComponentWillUnmountHandler=c;break;default:e[s.valueOf()]=c}}},t.prototype.hasOrWillHaveChildren=function(e){return!!e.placeholders||(c.Children.count(this.props.children)>0||c.Children.count(e.children)>0)},Object.defineProperty(t.prototype,"displayName",{get:function(){return this.constructor.displayName}
7,enumerable:!1,configurable:!0}),t.prototype.shouldComponentUpdate=function(e,n,r){return!(e._dependencies||!this.hasOrWillHaveChildren(e))||(!(!this._generationNode||r.isGenerationUpToDate(this._generationNode.generation))||(!i.arrayShallowEquals(this.props._dependencies,e._dependencies)||(!i.shallowEquals(this.props,e,t.affectsRender)||(!i.shallowEquals(this.state,n)||(!i.shallowEquals(this.props.extendedProperties,e.extendedProperties)||this.context.locale!==r.locale)))))},t.affectsRender=function(e,t){if("_"===t.charAt(0))return!1;switch(t){case"children":case"placeholders":case"gridProperties":case"extendedEvents":case"extendedProperties":return!1;default:var n=e[t],r=typeof n;if("string"===r||"number"===r||"boolean"===r)return!0;if(n){if(n.fastEquals instanceof Function)return!0;if(n.equals instanceof Function)return console.warn("Consider implementing fastEquals for improved performance when comparing type: "+n.constructor.name),!0}return!1}},t.prototype.executeAfterPaint=function(e){var t=this;(0,f.executeAfterPaint)(function(){t.isDisposed||e()})},t.prototype.executeWithActiveClassOn=function(e){var t=this,n=this.getHTMLNode();n.classList.add("active");var r;try{r=e()}finally{var o=function(){t.isDisposed||n.classList.remove("active")};r instanceof Promise?r.then(o).catch(o):o()}},t.prototype.getHTMLNode=function(){var e=this.ref.current;return this.findDOMNode(null!==e&&void 0!==e?e:this)},t.StyleAttribute="style",t.contextTypes=i.assign({isGenerationUpToDate:s.func,ancestorGenerationNode:s.object,locale:s.string},f.ViewComponent.contextTypes),t.childContextTypes={ancestorGenerationNode:s.object,locale:s.string},t}(f.ViewComponent);t.Widget=v;var y=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._generationNode||(r._generationNode=n.ancestorGenerationNode.addChild()),r}return n.__extends(t,e),Object.defineProperty(t.prototype,"validationServiceProperties",{get:function(){return this.props._validationProps},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validationParentId",{get:function(){var e=this.validationServiceProperties;return e?e.validationParentId:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidationAggregator",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isWebBlockInstance",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validationService",{get:function(){var e=this.validationServiceProperties;return e?e.validationService:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMandatory",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.validate=function(){return new l.ValidationResult},t.prototype.internalComponentWillMount=function(t){e.prototype.internalComponentWillMount.call(this,t),this.validationService&&this.validationService.register(this)},t.prototype.internalComponentWillUnmount=function(t){e.prototype.internalComponentWillUnmount.call(this,t),this.validationService&&this.validationService.unregister(this.getId())},Object.defineProperty(t.prototype,"widgetRecordProvider",{get:function(){return this.props._widgetRecordProvider},enumerable:!1,configurable:!0}),t.prototype.getValidationRecord=function(){return this.widgetRecordProvider.getReadOnlyWidgetRecord(this.getId())},Object.defineProperty(t.prototype,"generationNode",{get:function(){return this._generationNode},enumerable:!1,configurable:!0}),t.prototype.createValidationElement=function(){return this.hasValidationMessage()?c.createElement(d.HtmlTags.span,{id:this.getId()+t.DescribedBySuffix,className:"validation-message"},this.getValidationRecord().validationMessageAttr):null},t.prototype.hasValidationMessage=function(){var e=this.getValidationRecord();return!e.validAttr&&""!==e.validationMessageAttr},t.prototype.fillWithBuiltinProperties=function(t){e.prototype.fillWithBuiltinProperties.call(this,t),this.hasValidationMessage()&&(t.className=void 0===t.className?"not-valid":t.className+" not-valid")},t.DescribedBySuffix="_DescribedBy",t}(v);t.ValidationWidget=y;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),Object.defineProperty(t.prototype,"variable",{get:function(){throw new Error("InputWithVariableWidget.variable not implemented")}
7,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputedValue",{get:function(){throw new Error("InputWithVariableWidget.inputedValue not implemented")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputedValueValidity",{get:function(){return{valid:!0,badInput:!1}},enumerable:!1,configurable:!0}),t.prototype.isTextVariable=function(e){switch(e.type){case o.DataTypes.Text:case o.DataTypes.Email:case o.DataTypes.PhoneNumber:return!0;default:return!1}},t.prototype.shouldUpdateValue=function(e){if((0,o.equals)(this.variable.value,e.value))return!1;var t=!r.JSConversions.isDefault(e.value),n=this.isTextVariable(this.variable),i=!this.inputedValueValidity||this.inputedValueValidity.valid;return t||n||i},t.prototype.isValueReallyEmpty=function(){var e=this.inputedValue;return!!t.isEmptyValue(e)&&!this.inputedValueValidity.badInput},t.prototype.validate=function(){var t=e.prototype.validate.call(this);if(!1===t.valid)return t;if(this.isValueReallyEmpty()){if(this.isMandatory)return new l.ValidationResult(!1,this.validationService.getMandatoryValueMessage())}else if(this.inputedValueValidity&&!this.inputedValueValidity.valid||!this.variable.isAcceptable(this.inputedValue))return new l.ValidationResult(!1,this.validationService.getInvalidValueMessage(this.variable.type));return t},t.isEmptyValue=function(e){return void 0===e||null===e||""===e||e.trim&&""===e.trim()},t}(y);t.InputWithVariableWidget=g;var b=function(){function e(e){this.renderPlaceholder=e}return Object.defineProperty(e,"Empty",{get:function(){return e._empty},enumerable:!1,configurable:!0}),e.prototype.render=function(){return(0,p.wrapElements)(this.renderPlaceholder())},e._empty=new e(function(){return null}),e}();t.PlaceholderContent=b;var w=function(e){function t(t){var n=e.call(this,"Widget iteration contexts are immutable: "+t)||this;return n.messageDetail=t,n}return n.__extends(t,e),t}(Error),S=function(){function e(e,t,n){this.parentContext=e,this.list=t,this.currentRowNumber=n}return e.prototype.getCurrentRowNumber=function(e){return e.modelId===this.list.modelId?this.currentRowNumber:this.parentContext.getCurrentRowNumber(e)},e.prototype.clone=function(){var e=this.parentContext.clone();return e.setCurrentRowNumber(this.list,this.currentRowNumber),e},e.prototype.isBeingIterated=function(e){return!1},e.prototype.setCurrentRowNumber=function(e){throw new w("unable to set a new CurrentRowNumber")},e.prototype.registerIterationStart=function(e){throw new w("unable to register the start of a new iteration")},e.prototype.registerIterationEnd=function(e){throw new w("unable to register the end of an iteration")},e.prototype.getIterator=function(e){throw new w("unable to get an iterator state")},e}(),E=function(){function e(e,t,n,r){if(void 0===n&&(n=void 0),void 0===r&&(r=""),this.renderItem=e,this.parentCallContext=t,this.parentIdService=n,this.ownerAlias=r,!t)throw new Error("Parent call context cannot be undefined")}return e.prototype.render=function(e,t,n,r,o,i){if(void 0===r&&(r=0),void 0===o&&(o=Number.MAX_VALUE),void 0===i&&(i=!1),!t)return null;if(!e)throw new Error("Owner widget cannot be null");if(n){var a=n;n=function(e,t,n){return a((0,p.wrapElements)(e,"i-"+(null!==n&&void 0!==n?n:t)),t)}}else n=function(e,t,n){return(0,p.wrapElements)(e,"i-"+(null!==n&&void 0!==n?n:t))};var l=this.getItemContextCachePropertyName(),s=e[l];s||(s={});for(var f={},d={},h=Math.min(t.length,r+o),m=r;m<h;m++){var v=t.idOf(m),y=this.createOrUpdateItemContext(t,v,m,s,f),g=new u.WidgetIdService(this.parentIdService,this.ownerAlias,u.NamespaceKind.IteratorItem,v);d["i"+v]=n(this.renderItem(g,y.callContext),m,i?v:null)}return e[l]=f,c.createElement(c.Fragment,{key:"fragmentKey"},Object.keys(d).map(function(e){return c.createElement(c.Fragment,{key:e},d[e])}))},e.prototype.createOrUpdateItemContext=function(e,t,n,r,o){var i=new S(this.parentCallContext.iterationContext,e,n),a=r[t];return a||(a={callContext:this.parentCallContext.clone()}),a.callContext.iterationContext=i,a.callContext.iterationContext=a.callContext.clone().iterationContext,o[t]=a,a},e.prototype.getItemContextCachePropertyName=function(){return e.ItemContextCachePropertyName+this.ownerAlias},e.ItemContextCachePropertyName="__itemContextCache",e}();t.IteratorPlaceholderContent=E}),define("OutSystems/ReactView/FeedbackMessage",["require","exports","tslib","OutSystems/ClientRuntime/FeedbackMessageService","OutSystems/ClientRuntime/WidgetNaming","react","react-dom","./HtmlTags","./KeyboardKey","./Widget"],function(e,t,n,r,o,i,a,l,u,s){"use strict";
7Object.defineProperty(t,"__esModule",{value:!0}),t.FeedbackMessageWidget=t.ReactFeedbackMessageService=void 0;var c=function(){function e(){if(e.instance)throw new Error("Error: Instantiation failed, use FeedbackMessageService.getInstance() instead of new.");e.instance=this}return Object.defineProperty(e,"Instance",{get:function(){return e.instance},enumerable:!1,configurable:!0}),e.prototype.showMessage=function(t,n,r,l,u,s){void 0===r&&(r=!0),void 0===u&&(u=!0);var c=document.getElementById(e.FeedbackMessageId);c?a.unmountComponentAtNode(c):(c=document.createElement("div"),c.id=e.FeedbackMessageId,c.className="feedback-message-wrapper"+(document.body.getElementsByClassName("has-accessible-features").length>0?" has-accessible-features":""),document.body.insertBefore(c,document.body.firstChild));var d={message:t,messageType:n,encodeHTML:r,extraCssClasses:l,closeOnClick:u,onClick:s,_idProps:{service:new o.WidgetIdService(null)}};a.render(i.createElement(f,d),c)},e.prototype.closeMessage=function(){var t=document.getElementById(e.FeedbackMessageId);t&&(a.unmountComponentAtNode(t),t.remove())},e.FeedbackMessageId="feedbackMessageContainer",e.instance=new e,e}();t.ReactFeedbackMessageService=c;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}n.__extends(t,e),r=t,t.prototype.closeMessage=function(e){this.feedbackMessageElement&&(c.Instance.closeMessage(),e.preventDefault(),this.feedbackMessageElement=null)},t.prototype.componentDidMount=function(){this.feedbackMessageElement=this.getHTMLNode(),-1!==this.feedbackMessageElement.getAttribute("class").indexOf(r.AUTOCLOSE_CLASS)&&this.feedbackMessageElement.addEventListener("animationend",this.closeMessage.bind(this),!1)},t.getMessageType=function(e){switch(e){case 0:return"info";case 1:return"success";case 2:return"warning";case 3:return"error";default:throw new Error("Unknown MessageType: "+e)}},t.prototype.render=function(){var e=this,t="feedback-message feedback-message-"+r.getMessageType(this.props.messageType);0!==this.props.messageType&&1!==this.props.messageType||(t+=r.AUTOCLOSE_CLASS),this.props.extraCssClasses&&(t+=" "+this.props.extraCssClasses);var n={className:t,tabIndex:0,role:"alert",onKeyDown:function(t){t.key!==u.KeyboardKey.ENTER&&t.key!==u.KeyboardKey.SPACE||e.closeMessage(t)}};this.props.onClick?this.props.closeOnClick?n.onClick=function(t){e.props.onClick(),e.closeMessage(t)}:n.onClick=this.props.onClick:this.props.closeOnClick&&(n.onClick=this.closeMessage.bind(this)),this.fillWithBuiltinProperties(n);var o={className:"feedback-message-text"};return this.props.encodeHTML?o.children=this.props.message:o.dangerouslySetInnerHTML={__html:this.props.message},i.createElement(l.HtmlTags.div,n,i.createElement(l.HtmlTags.i),i.createElement(l.HtmlTags.div,o))};var r;return t.AUTOCLOSE_CLASS=" feedback-message-autoclose",t=r=n.__decorate([s.WidgetSpec],t)}(s.Widget);t.FeedbackMessageWidget=f,r.registerFeedbackMessageService(c.Instance)}),define("OutSystems/ReactView/Portal",["require","exports","tslib","react","react-dom","./HtmlTags"],function(e,t,n,r,o,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var a=function(e){function t(n){var r=e.call(this,n)||this;return r.portalContainer=document.createElement("div"),r.portalContainer.style.display="inline",r.portalContainer.className=t.PortalClassName,document.body.appendChild(r.portalContainer),r}return n.__extends(t,e),t.prototype.componentWillUnmount=function(){var e=this;setTimeout(function(){return document.body.removeChild(e.portalContainer)})},t.prototype.render=function(){return o.createPortal(r.createElement(i.HtmlTags.div,{context:this.context},this.props.children),this.portalContainer)},t.PortalClassName="portal-class",t}(r.Component);t.Portal=a}),define("OutSystems/ReactView/RouteComponents",["require","exports","tslib","OutSystems/ClientRuntime/ApplicationInfo","OutSystems/ClientRuntime/ErrorHandling","react","./HtmlTags"],function(e,t,n,r,o,i,a){"use strict";function l(e,t,r,o,a){return function(l){function u(){return null!==l&&l.apply(this,arguments)||this}return n.__extends(u,l),u.prototype.render=function(){var n={controller:t,model:r,navigationKey:this.props.location.key,cachedScreenState:o,shallSaveStateOnLeave:a};return i.createElement(e,n)},u}(i.Component)}
7Object.defineProperty(t,"__esModule",{value:!0}),t.createView=t.NoDefaultScreen=t.NotFoundScreen=t.AbstractErrorComponent=void 0;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.getErrorMessage=function(){var e=r.getErrorPageConfig();return e&&e.messages&&e.messages.defaultMessage||"There was an error processing your request."},t.prototype.getExtraErrorMessage=function(){var e=r.getErrorPageConfig();return e&&e.extraMessage||""},t.getCssDependencies=function(){return[]},t.getJsDependencies=function(){return[]},t.getBlocks=function(){return[]},t.prototype.render=function(){return i.createElement(a.HtmlTags.div)},t.prototype.componentDidMount=function(){o.navigateToErrorPage(null,this.getErrorMessage(),this.getExtraErrorMessage())},t}(i.Component);t.AbstractErrorComponent=u;var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.getErrorMessage=function(){var e=r.getErrorPageConfig();return e&&e.messages&&e.messages.screenNotFound||"Screen not found: ".concat(this.props.location.pathname||"(none)")},t}(u);t.NotFoundScreen=s;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.getErrorMessage=function(){var e=r.getErrorPageConfig();return e&&e.messages&&e.messages.noDefaultScreen||"This module does not contain a default entry."},t}(u);t.NoDefaultScreen=c,t.createView=l}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define("react-router-dom",["exports","react"],t):t((e=e||self).ReactRouterDOM={},e.React)}(this,function(e,t){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){e.prototype=Object.create(t.prototype),n(e.prototype.constructor=e,t)}function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e,t){return e(t={exports:{}},t.exports),t.exports}function a(){}function l(){}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return"/"===e.charAt(0)}function c(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}function f(e){if(!e)throw new Error(te)}function d(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function v(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=u({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(e,t){var n=1<arguments.length&&void 0!==t?t:"",r=e&&e.split("/")||[],o=n&&n.split("/")||[],i=e&&s(e),a=n&&s(n),l=i||a;if(e&&s(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";var u=void 0;if(o.length){var f=o[o.length-1];u="."===f||".."===f||""===f}else u=!1;for(var d=0,p=o.length;0<=p;p--){var h=o[p];"."===h?c(o,p):".."===h?(c(o,p),d++):d&&(c(o,p),d--)}if(!l)for(;d--;)o.unshift("..");!l||""===o[0]||o[0]&&s(o[0])||o.unshift("");var m=o.join("/");return u&&"/"!==m.substr(-1)&&(m+="/"),m}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&function e(t,n){if(t===n)return!0;
7if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":ee(t);if(r!==(void 0===n?"undefined":ee(n)))return!1;if("object"!==r)return!1;var o=t.valueOf(),i=n.valueOf();if(o!==t||i!==n)return e(o,i);var a=Object.keys(t),l=Object.keys(n);return a.length===l.length&&a.every(function(r){return e(t[r],n[r])})}(e.state,t.state)}function b(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){function n(){r&&e.apply(void 0,arguments)}var r=!0;return t.push(n),function(){r=!1,t=t.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}function w(e,t){t(window.confirm(e))}function S(){try{ 8return window.history.state||{}}catch(e){return{}}}function E(e){function t(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=h(i,_)),y(i,r,n)}function n(){return Math.random().toString(36).substr(2,N)}function r(e){u(j,e),j.length=p.length,R.notifyListeners(j.location,j.action)}function o(e){!function(e){void 0===e.state&&navigator.userAgent.indexOf("CriOS")}(e)&&a(t(e.state))}function i(){a(t(S()))}function a(e){M?(M=!1,r()):R.confirmTransitionTo(e,"POP",P,function(t){t?r({action:"POP",location:e}):function(e){var t=j.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(M=!0,s(o))}(e)})}function l(e){return _+v(e)}function s(e){p.go(e)}function c(e){1===(L+=e)&&1===e?(window.addEventListener(re,o),E&&window.addEventListener(oe,i)):0===L&&(window.removeEventListener(re,o),E&&window.removeEventListener(oe,i))}void 0===e&&(e={}),ne||f(!1);var p=window.history,g=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),E=!(-1===window.navigator.userAgent.indexOf("Trident")),x=e,C=x.forceRefresh,k=void 0!==C&&C,T=x.getUserConfirmation,P=void 0===T?w:T,O=x.keyLength,N=void 0===O?6:O,_=e.basename?m(d(e.basename)):"",R=b(),M=!1,I=t(S()),D=[I.key],L=0,A=!1,j={length:p.length,action:"POP",location:I,createHref:l,push:function(e,t){var o=y(e,t,n(),j.location);R.confirmTransitionTo(o,"PUSH",P,function(e){if(e){var t=l(o),n=o.key,i=o.state;if(g)if(p.pushState({key:n,state:i},null,t),k)window.location.href=t;else{var a=D.indexOf(j.location.key),u=D.slice(0,-1===a?0:a+1);u.push(o.key),D=u,r({action:"PUSH",location:o})}else window.location.href=t}})},replace:function(e,t){var o="REPLACE",i=y(e,t,n(),j.location);R.confirmTransitionTo(i,o,P,function(e){if(e){var t=l(i),n=i.key,a=i.state;if(g)if(p.replaceState({key:n,state:a},null,t),k)window.location.replace(t);else{var u=D.indexOf(j.location.key);-1!==u&&(D[u]=i.key),r({action:o,location:i})}else window.location.replace(t)}})},go:s,goBack:function(){s(-1)},goForward:function(){s(1)},block:function(e){void 0===e&&(e=!1);var t=R.setPrompt(e);return A||(c(1),A=!0),function(){return A&&(A=!1,c(-1)),t()}},listen:function(e){var t=R.appendListener(e);return c(1),function(){c(-1),t()}}};return j}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,0<=t?t:0)+"#"+e)}function k(e){function t(){var e=P(x());return E&&(e=h(e,E)),y(e)}function n(e){u(j,e),j.length=a.length,O.notifyListeners(j.location,j.action)}function r(){var e=x(),r=T(e);if(e!==r)C(r);else{var i=t(),a=j.location;if(!N&&g(a,i))return;if(_===v(i))return;_=null,function(e){N?(N=!1,n()):O.confirmTransitionTo(e,"POP",c,function(t){t?n({action:"POP",location:e}):function(e){var t=j.location,n=D.lastIndexOf(v(t));-1===n&&(n=0);var r=D.lastIndexOf(v(e));-1===r&&(r=0);var i=n-r;i&&(N=!0,o(i))}(e)})}(i)}}function o(e){a.go(e)}function i(e){1===(L+=e)&&1===e?window.addEventListener(ie,r):0===L&&window.removeEventListener(ie,r)}void 0===e&&(e={}),ne||f(!1);var a=window.history,l=(window.navigator.userAgent.indexOf("Firefox"),e),s=l.getUserConfirmation,c=void 0===s?w:s,p=l.hashType,S=void 0===p?"slash":p,E=e.basename?m(d(e.basename)):"",k=ae[S],T=k.encodePath,P=k.decodePath,O=b(),N=!1,_=null,R=x(),M=T(R);R!==M&&C(M);var I=t(),D=[v(I)],L=0,A=!1,j={length:a.length,action:"POP",location:I,createHref:function(e){return"#"+T(E+v(e))},push:function(e,t){var r=y(e,void 0,void 0,j.location);O.confirmTransitionTo(r,"PUSH",c,function(e){if(e){var t=v(r),o=T(E+t);if(x()!==o){_=t,function(e){window.location.hash=e}(o);var i=D.lastIndexOf(v(j.location)),a=D.slice(0,-1===i?0:i+1);a.push(t),D=a,n({action:"PUSH",location:r})}else n()}})},replace:function(e,t){var r="REPLACE",o=y(e,void 0,void 0,j.location);O.confirmTransitionTo(o,r,c,function(e){if(e){var t=v(o),i=T(E+t);x()!==i&&(_=t,C(i));var a=D.indexOf(v(j.location));-1!==a&&(D[a]=t),n({action:r,location:o})}})},go:o,goBack:function(){o(-1)},goForward:function(){o(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return A||(i(1),A=!0),function(){return A&&(A=!1,i(-1)),t()}},listen:function(e){var t=O.appendListener(e);return i(1),function(){i(-1),t()}}};return j}function T(e,t,n){return Math.min(Math.max(e,t),n)}function P(e,t){return _(O(e,t))}function O(e,t){for(var n,r,o=[],i=0,a=0,l="",u=t&&t.delimiter||"/";null!=(n=de.exec(e));){var s=n[0],c=n[1],f=n.index;if(l+=e.slice(a,f),a=f+s.length,c)l+=c[1];else{var d=e[a],p=n[2],h=n[3],m=n[4],v=n[5],y=n[6],g=n[7];l&&(o.push(l),l="");var b=null!=p&&null!=d&&d!==p,w="+"===y||"*"===y,S="?"===y||"*"===y,E=n[2]||u,x=m||v;o.push({name:h||i++,prefix:p||"",delimiter:E,optional:S,repeat:w,partial:b,asterisk:!!g,pattern:x?(r=x,r.replace(/([=!:$\/()])/g,"\\$1")):g?".*":"[^"+R(E)+"]+?"})}}return a<e.length&&(l+=e.substr(a)),l&&o.push(l),o}function N(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function _(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,r){for(var o="",i=n||{},a=(r||{}
8).pretty?N:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!=typeof u){var s,c=i[u.name];if(null==c){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(le(c)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(0===c.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<c.length;f++){if(s=a(c[f]),!t[l].test(s))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(s)+"`");o+=(0===f?u.prefix:u.delimiter)+s}}else{if(s=u.asterisk?encodeURI(c).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):a(c),!t[l].test(s))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+s+'"');o+=u.prefix+s}}else o+=u}return o}}function R(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function M(e,t){return e.keys=t,e}function I(e){return e.sensitive?"":"i"}function D(e,t,n){le(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,o=!1!==n.end,i="",a=0;a<e.length;a++){var l=e[a];if("string"==typeof l)i+=R(l);else{var u=R(l.prefix),s="(?:"+l.pattern+")";t.push(l),l.repeat&&(s+="(?:"+u+s+")*"),i+=s=l.optional?l.partial?u+"("+s+")?":"(?:"+u+"("+s+"))?":u+"("+s+")"}}var c=R(n.delimiter||"/"),f=i.slice(-c.length)===c;return r||(i=(f?i.slice(0,-c.length):i)+"(?:"+c+"(?=$))?"),i+=o?"$":r&&f?"":"(?="+c+"|$)",M(new RegExp("^"+i,I(n)),t)}function L(e,t,n){return le(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return M(e,t)}(e,t):le(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(L(e[o],t,n).source);return M(new RegExp("(?:"+r.join("|")+")",I(n)),t)}(e,t,n):function(e,t,n){return D(O(e,n),t,n)}(e,t,n)}function A(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}function j(e){return J.isMemo(e)?me:ve[e.$$typeof]||pe}function F(e){var t=Te();return t.displayName=e,t}function z(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(Me[e])return Me[e];var t=ue.compile(e);return De<Ie&&(Me[e]=t,De++),t}(e)(t,{pretty:!0})}function U(e,t){void 0===t&&(t={}),"string"!=typeof t&&!Array.isArray(t)||(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,l=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=Le[n]||(Le[n]={});if(r[e])return r[e];var o=[],i={regexp:ue(e,o,t),keys:o};return je<Ae&&(r[e]=i,je++),i}(n,{end:i,strict:l,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var c=u[0],f=u.slice(1),d=e===c;return i&&!d?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:d,params:a.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}function V(e){return"/"===e.charAt(0)?e:"/"+e}function W(e){return"string"==typeof e?e:v(e)}function H(){return function(){f(!1)}}function B(){}function $(){return Ve(Oe).location}function q(e,t){return"function"==typeof e?e(t):e}function K(e,t){return"string"==typeof e?y(e,null,null,t):e}function Q(e){return e}function G(e){return e}t=t&&t.hasOwnProperty("default")?t.default:t;var Y=i(function(e,t){function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case l:case s:case u:case m:return e;default:switch(e=e&&e.$$typeof){case f:case h:case c:return e;default:return t}}case g:case y:case a:return t}}}function r(e){return n(e)===p}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,p=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.fundamental"):60117,w=o?Symbol.for("react.responder"):60118;t.typeOf=n,t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=f,t.ContextProvider=c,t.Element=i,t.ForwardRef=h,t.Fragment=l,t.Lazy=g,t.Memo=y,t.Portal=a,t.Profiler=s,t.StrictMode=u,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===p||e===s||e===u||e===m||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===c||e.$$typeof===f||e.$$typeof===h||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return r(e)||n(e)===d},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===f},t.isContextProvider=function(e){return n(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return n(e)===h},t.isFragment=function(e){return n(e)===l},t.isLazy=function(e){return n(e)===g},t.isMemo=function(e){return n(e)===y},t.isPortal=function(e){return n(e)===a},t.isProfiler=function(e){return n(e)===s},t.isStrictMode=function(e){return n(e)===u},t.isSuspense=function(e){return n(e)===m}});o(Y),Y.typeOf,Y.AsyncMode,Y.ConcurrentMode,Y.ContextConsumer,Y.ContextProvider,Y.Element,Y.ForwardRef,Y.Fragment,Y.Lazy,Y.Memo,Y.Portal,Y.Profiler,Y.StrictMode,Y.Suspense,Y.isValidElementType,Y.isAsyncMode,Y.isConcurrentMode,Y.isContextConsumer,Y.isContextProvider,Y.
8isElement,Y.isForwardRef,Y.isFragment,Y.isLazy,Y.isMemo,Y.isPortal,Y.isProfiler,Y.isStrictMode,Y.isSuspense;var X=i(function(e,t){});o(X),X.typeOf,X.AsyncMode,X.ConcurrentMode,X.ContextConsumer,X.ContextProvider,X.Element,X.ForwardRef,X.Fragment,X.Lazy,X.Memo,X.Portal,X.Profiler,X.StrictMode,X.Suspense,X.isValidElementType,X.isAsyncMode,X.isConcurrentMode,X.isContextConsumer,X.isContextProvider,X.isElement,X.isForwardRef,X.isFragment,X.isLazy,X.isMemo,X.isPortal,X.isProfiler,X.isStrictMode,X.isSuspense;var J=i(function(e){e.exports=Y});J.isValidElementType,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign,Function.call.bind(Object.prototype.hasOwnProperty),l.resetWarningCache=a;var Z=i(function(e){e.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=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 a.name="Invariant Violation",a}}function t(){return e}var n={array:e.isRequired=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:l,resetWarningCache:a};return n.PropTypes=n}()}),ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te="Invariant failed",ne=!("undefined"==typeof window||!window.document||!window.document.createElement),re="popstate",oe="hashchange",ie="hashchange",ae={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:d},slash:{encodePath:d,decodePath:d}},le=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},ue=L,se=O,ce=_,fe=D,de=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");ue.parse=se,ue.compile=P,ue.tokensToFunction=ce,ue.tokensToRegExp=fe;var pe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},he={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},me={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ve={};ve[J.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var ye=Object.defineProperty,ge=Object.getOwnPropertyNames,be=Object.getOwnPropertySymbols,we=Object.getOwnPropertyDescriptor,Se=Object.getPrototypeOf,Ee=Object.prototype,xe=function e(t,n,r){if("string"==typeof n)return t;if(Ee){var o=Se(n);o&&o!==Ee&&e(t,o,r)}var i=ge(n);be&&(i=i.concat(be(n)));for(var a=j(t),l=j(n),u=0;u<i.length;++u){var s=i[u];if(!(he[s]||r&&r[s]||l&&l[s]||a&&a[s])){var c=we(n,s);try{ye(t,s,c)}catch(e){}}}return t},Ce=1073741823,ke="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},Te=t.createContext||function(e,n){var o,i,a="__create-react-context-"+function(){var e="__global_unique_id__";return ke[e]=(ke[e]||0)+1}()+"__",l=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).emitter=function(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter(function(t){return t!==e})},get:function(){return e},set:function(n,r){e=n,t.forEach(function(t){return t(e,r)})}}}(t.props.value),t}r(t,e);var o=t.prototype;return o.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,r=this.props.value,o=e.value;!function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,o)?(t="function"==typeof n?n(r,o):Ce,0!=(t|=0)&&this.emitter.set(e.value,t)):t=0}},o.render=function(){return this.props.children},t}(t.Component);l.childContextTypes=((o={})[a]=Z.object.isRequired,o);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}r(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?Ce:t},o.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?Ce:e},o.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},o.getValue=function(){return this.context[a]?this.context[a].get():e},o.render=function(){return function(e){return Array.isArray(e)?e[0]:e}(this.props.children)(this.state.value)},n}(t.Component);return u.contextTypes=((i={})[a]=Z.object,i),{Provider:l,Consumer:u}},Pe=F("Router-History"),Oe=F("Router"),Ne=function(e){function n(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}r(n,e),n.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var o=n.prototype;return o.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})}
8)),this._pendingLocation&&this.setState({location:this._pendingLocation})},o.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},o.render=function(){return t.createElement(Oe.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},t.createElement(Pe.Provider,{children:this.props.children||null,value:this.props.history}))},n}(t.Component),_e=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=function(e){function t(e){u(w,e),w.length=w.entries.length,p.notifyListeners(w.location,w.action)}function n(){return Math.random().toString(36).substr(2,d)}function r(e){var n=T(w.index+e,0,w.entries.length-1),r=w.entries[n];p.confirmTransitionTo(r,"POP",i,function(e){e?t({action:"POP",location:r,index:n}):t()})}void 0===e&&(e={});var o=e,i=o.getUserConfirmation,a=o.initialEntries,l=void 0===a?["/"]:a,s=o.initialIndex,c=void 0===s?0:s,f=o.keyLength,d=void 0===f?6:f,p=b(),h=T(c,0,l.length-1),m=l.map(function(e){return y(e,void 0,"string"==typeof e?n():e.key||n())}),g=v,w={length:m.length,action:"POP",location:m[h],index:h,entries:m,createHref:g,push:function(e,r){var o=y(e,r,n(),w.location);p.confirmTransitionTo(o,"PUSH",i,function(e){if(e){var n=w.index+1,r=w.entries.slice(0);r.length>n?r.splice(n,r.length-n,o):r.push(o),t({action:"PUSH",location:o,index:n,entries:r})}})},replace:function(e,r){var o="REPLACE",a=y(e,r,n(),w.location);p.confirmTransitionTo(a,o,i,function(e){e&&(w.entries[w.index]=a,t({action:o,location:a}))})},go:r,goBack:function(){r(-1)},goForward:function(){r(1)},canGo:function(e){var t=w.index+e;return 0<=t&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),p.setPrompt(e)},listen:function(e){return p.appendListener(e)}};return w}(t.props),t}return r(n,e),n.prototype.render=function(){return t.createElement(Ne,{history:this.history,children:this.props.children})},n}(t.Component),Re=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(t.Component),Me={},Ie=1e4,De=0,Le={},Ae=1e4,je=0,Fe=function(e){function n(){return e.apply(this,arguments)||this}return r(n,e),n.prototype.render=function(){var e=this;return t.createElement(Oe.Consumer,null,function(n){n||f(!1);var r=e.props.location||n.location,o=u({},n,{location:r,match:e.props.computedMatch?e.props.computedMatch:e.props.path?U(r.pathname,e.props):n.match}),i=e.props,a=i.children,l=i.component,s=i.render;return Array.isArray(a)&&function(e){return 0===t.Children.count(e)}(a)&&(a=null),t.createElement(Oe.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:l?t.createElement(l,o):s?s(o):null:"function"==typeof a?a(o):null)})},n}(t.Component),ze=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return B},t.handleBlock=function(){return B},t}r(n,e);var o=n.prototype;return o.navigateTo=function(e,t){var n=this.props,r=n.basename,o=void 0===r?"":r,i=n.context,a=void 0===i?{}:i;a.action=t,a.location=function(e,t){return e?u({},t,{pathname:V(e)+t.pathname}):t}(o,y(e)),a.url=W(a.location)},o.render=function(){var e=this.props,n=e.basename,r=void 0===n?"":n,o=e.context,i=void 0===o?{}:o,a=e.location,l=void 0===a?"/":a,s=A(e,["basename","context","location"]),c={createHref:function(e){return V(r+W(e))},action:"POP",location:function(e,t){if(!e)return t;var n=V(e);return 0!==t.pathname.indexOf(n)?t:u({},t,{pathname:t.pathname.substr(n.length)})}(r,y(l)),push:this.handlePush,replace:this.handleReplace,go:H(),goBack:H(),goForward:H(),listen:this.handleListen,block:this.handleBlock};return t.createElement(Ne,u({},s,{history:c,staticContext:i}))},n}(t.Component),Ue=function(e){function n(){return e.apply(this,arguments)||this}return r(n,e),n.prototype.render=function(){var e=this;return t.createElement(Oe.Consumer,null,function(n){n||f(!1);var r,o,i=e.props.location||n.location;
8return t.Children.forEach(e.props.children,function(e){if(null==o&&t.isValidElement(e)){var a=(r=e).props.path||e.props.from;o=a?U(i.pathname,u({},e.props,{path:a})):n.match}}),o?t.cloneElement(r,{location:i,computedMatch:o}):null})},n}(t.Component),Ve=t.useContext,We=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=E(t.props),t}return r(n,e),n.prototype.render=function(){return t.createElement(Ne,{history:this.history,children:this.props.children})},n}(t.Component),He=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=k(t.props),t}return r(n,e),n.prototype.render=function(){return t.createElement(Ne,{history:this.history,children:this.props.children})},n}(t.Component),Be=t.forwardRef;void 0===Be&&(Be=Q);var $e=Be(function(e,n){var r=e.innerRef,o=e.navigate,i=e.onClick,a=A(e,["innerRef","navigate","onClick"]),l=a.target,s=u({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),o())}});return s.ref=Q!==Be&&n||r,t.createElement("a",s)}),qe=Be(function(e,n){var r=e.component,o=void 0===r?$e:r,i=e.replace,a=e.to,l=e.innerRef,s=A(e,["component","replace","to","innerRef"]);return t.createElement(Oe.Consumer,null,function(e){e||f(!1);var r=e.history,c=K(q(a,e.location),e.location),d=c?r.createHref(c):"",p=u({},s,{href:d,navigate:function(){var t=q(a,e.location),n=v(e.location)===v(K(t));(i||n?r.replace:r.push)(t)}});return Q!==Be?p.ref=n||l:p.innerRef=l,t.createElement(o,p)})}),Ke=t.forwardRef;void 0===Ke&&(Ke=G);var Qe=Ke(function(e,n){var r=e["aria-current"],o=void 0===r?"page":r,i=e.activeClassName,a=void 0===i?"active":i,l=e.activeStyle,s=e.className,c=e.exact,d=e.isActive,p=e.location,h=e.sensitive,m=e.strict,v=e.style,y=e.to,g=e.innerRef,b=A(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return t.createElement(Oe.Consumer,null,function(e){e||f(!1);var r=p||e.location,i=K(q(y,r),r),w=i.pathname,S=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),E=S?U(r.pathname,{path:S,exact:c,sensitive:h,strict:m}):null,x=!!(d?d(E,r):E),C="function"==typeof s?s(x):s,k="function"==typeof v?v(x):v;x&&(C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(C,a),k=u({},k,l));var T=u({"aria-current":x&&o||null,className:C,style:k,to:i},b);return G!==Ke?T.ref=n||g:T.innerRef=g,t.createElement(qe,T)})});e.BrowserRouter=We,e.HashRouter=He,e.Link=qe,e.MemoryRouter=_e,e.NavLink=Qe,e.Prompt=function(e){var n=e.message,r=e.when,o=void 0===r||r;return t.createElement(Oe.Consumer,null,function(e){if(e||f(!1),!o||e.staticContext)return null;var r=e.history.block;return t.createElement(Re,{onMount:function(e){e.release=r(n)},onUpdate:function(e,t){t.message!==n&&(e.release(),e.release=r(n))},onUnmount:function(e){e.release()},message:n})})},e.Redirect=function(e){var n=e.computedMatch,r=e.to,o=e.push,i=void 0!==o&&o;return t.createElement(Oe.Consumer,null,function(e){e||f(!1);var o=e.history,a=e.staticContext,l=i?o.push:o.replace,s=y(n?"string"==typeof r?z(r,n.params):u({},r,{pathname:z(r.pathname,n.params)}):r);return a?(l(s),null):t.createElement(Re,{onMount:function(){l(s)},onUpdate:function(e,t){var n=y(t.to);g(n,u({},s,{key:n.key}))||l(s)},to:r})})},e.Route=Fe,e.Router=Ne,e.StaticRouter=ze,e.Switch=Ue,e.generatePath=z,e.matchPath=U,e.useHistory=function(){return Ve(Pe)},e.useLocation=$,e.useParams=function(){var e=Ve(Oe).match;return e?e.params:{}},e.useRouteMatch=function(e){var t=$(),n=Ve(Oe).match;return e?U(t.pathname,e):n},e.withRouter=function(e){function n(n){var r=n.wrappedComponentRef,o=A(n,["wrappedComponentRef"]);return t.createElement(Oe.Consumer,null,function(n){return n||f(!1),t.createElement(e,u({},o,n,{ref:r}))})}var r="withRouter("+(e.displayName||e.name)+")";return n.displayName=r,n.WrappedComponent=e,xe(n,e)}
8,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define("query-string",[],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.queryString=e()}}(function(){return function(){function e(t,n,r){function o(a,l){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!l&&u)return u(a,!0);if(i)return i(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){return o(t[a][1][e]||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}return e}()({1:[function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(r){for(var t=e.match(l)||[],n=1;n<t.length;n++)e=o(t,n).join(""),t=e.match(l)||[];return e}}function a(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=u.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=i(n[0]);r!==n[0]&&(t[n[0]]=r)}n=u.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),a=0;a<o.length;a++){var l=o[a];e=e.replace(new RegExp(l,"g"),t[l])}return e}var l=new RegExp("(%[a-f0-9]{2})|([^%]+?)","gi"),u=new RegExp("(%[a-f0-9]{2})+","gi");t.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+r(e)+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return a(e)}}},{}],2:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],l=e[a];(o?-1!==t.indexOf(a):t(a,l,e))&&(n[a]=l)}return n}},{}],3:[function(e,t,n){"use strict";function r(e,t,n){return t=o(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=i(e,"string");return"symbol"==f(t)?t:t+""}function i(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e,t){return s(e)||u(e,t)||h(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}function s(e){if(Array.isArray(e))return e}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=h(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function f(e){"@babel/helpers - typeof";return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e){return v(e)||m(e)||h(e)||p()}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function m(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function v(e){if(Array.isArray(e))return y(e)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){switch(e.arrayFormat){case"index":return function(t){return function(n,r){var o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[].concat(d(n),[[S(t,e),"[",o,"]"].join("")]):[].concat(d(n),[[S(t,e),"[",S(o,e),"]=",S(r,e)].join("")])}};case"bracket":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[].concat(d(n),[[S(t,e),"[]"].join("")]):[].concat(d(n),[[S(t,e),"[]=",S(r,e)].join("")])}};case"colon-list-separator":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[].concat(d(n),[[S(t,e),":list="].join("")]):[].concat(d(n),[[S(t,e),":list=",S(r,e)].join("")])}};case"comma":case"separator": 9case"bracket-separator":var t="bracket-separator"===e.arrayFormat?"[]=":"=";return function(n){return function(r,o){return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[S(n,e),t,S(o,e)].join("")]:[[r,S(o,e)].join(e.arrayFormatSeparator)])}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[].concat(d(n),[S(t,e)]):[].concat(d(n),[[S(t,e),"=",S(r,e)].join("")])}}}}function b(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t)return void(r[e]=n);void 0===r[e]&&(r[e]={}),r[e][t[1]]=n};case"bracket":return function(e,n,r){return t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0===r[e]?void(r[e]=[n]):void(r[e]=[].concat(r[e],n)):void(r[e]=n)};case"colon-list-separator":return function(e,n,r){return t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0===r[e]?void(r[e]=[n]):void(r[e]=[].concat(r[e],n)):void(r[e]=n)};case"comma":case"separator":return function(t,n,r){var o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&E(n,e).includes(e.arrayFormatSeparator);n=i?E(n,e):n;var a=o||i?n.split(e.arrayFormatSeparator).map(function(t){return E(t,e)}):null===n?n:E(n,e);r[t]=a};case"bracket-separator":return function(t,n,r){var o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?E(n,e):n);var i=null===n?[]:n.split(e.arrayFormatSeparator).map(function(t){return E(t,e)});if(void 0===r[t])return void(r[t]=i);r[t]=[].concat(r[t],i)};default:return function(e,t,n){if(void 0===n[e])return void(n[e]=t);n[e]=[].concat(n[e],t)}}}function w(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function S(e,t){return t.encode?t.strict?N(e):encodeURIComponent(e):e}function E(e,t){return t.decode?_(e):e}function x(e){return Array.isArray(e)?e.sort():"object"===f(e)?x(Object.keys(e)).sort(function(e,t){return Number(e)-Number(t)}).map(function(t){return e[t]}):e}function C(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function k(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}function T(e){e=C(e);var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function P(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function O(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),w(t.arrayFormatSeparator);var n=b(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;var o,i=c(e.split("&"));try{for(i.s();!(o=i.n()).done;){var l=o.value;if(""!==l){var u=R(t.decode?l.replace(/\+/g," "):l,"="),s=a(u,2),d=s[0],p=s[1];p=void 0===p?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?p:E(p,t),n(E(d,t),p,r)}}}catch(e){i.e(e)}finally{i.f()}for(var h=0,m=Object.keys(r);h<m.length;h++){var v=m[h],y=r[v];if("object"===f(y)&&null!==y)for(var g=0,S=Object.keys(y);g<S.length;g++){var C=S[g];y[C]=P(y[C],t)}else r[v]=P(y,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"===f(n)&&!Array.isArray(n)?e[t]=x(n):e[t]=n,e},Object.create(null))}var N=e("strict-uri-encode"),_=e("decode-uri-component"),R=e("split-on-first"),M=e("filter-obj"),I=function(e){return null===e||void 0===e},D=Symbol("encodeFragmentIdentifier");
9n.extract=T,n.parse=O,n.stringify=function(e,t){if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),w(t.arrayFormatSeparator);for(var n=g(t),r={},o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];(function(n){return t.skipNull&&I(e[n])||t.skipEmptyString&&""===e[n]})(a)||(r[a]=e[a])}var l=Object.keys(r);return!1!==t.sort&&l.sort(t.sort),l.map(function(r){var o=e[r];return void 0===o?"":null===o?S(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?S(r,t)+"[]":o.reduce(n(r),[]).join("&"):S(r,t)+"="+S(o,t)}).filter(function(e){return e.length>0}).join("&")},n.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=R(e,"#"),r=a(n,2),o=r[0],i=r[1];return Object.assign({url:o.split("?")[0]||"",query:O(T(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:E(i,t)}:{})},n.stringifyUrl=function(e,t){t=Object.assign(r({encode:!0,strict:!0},D,!0),t);var o=C(e.url).split("?")[0]||"",i=n.extract(e.url),a=n.parse(i,{sort:!1}),l=Object.assign(a,e.query),u=n.stringify(l,t);u&&(u="?".concat(u));var s=k(e.url);return e.fragmentIdentifier&&(s="#".concat(t[D]?S(e.fragmentIdentifier,t):e.fragmentIdentifier)),"".concat(o).concat(u).concat(s)},n.pick=function(e,t,o){o=Object.assign(r({parseFragmentIdentifier:!0},D,!1),o);var i=n.parseUrl(e,o),a=i.url,l=i.query,u=i.fragmentIdentifier;return n.stringifyUrl({url:a,query:M(l,t),fragmentIdentifier:u},o)},n.exclude=function(e,t,r){var o=Array.isArray(t)?function(e){return!t.includes(e)}:function(e,n){return!t(e,n)};return n.pick(e,o,r)}},{"decode-uri-component":1,"filter-obj":2,"split-on-first":4,"strict-uri-encode":5}],4:[function(e,t,n){"use strict";t.exports=function(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},{}],5:[function(e,t,n){"use strict";t.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())})}},{}]},{},[3])(3)}),define("OutSystems/ReactView/convertCssTransitionClassNames",["require","exports"],function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return{appear:"".concat(e,"-appear"),appearActive:"".concat(e,"-appear-active"),appearDone:"".concat(e,"-appear-done"),enter:"".concat(e,"-enter"),enterActive:"".concat(e,"-enter-active"),enterDone:"".concat(e,"-enter-done"),exit:"".concat(e,"-leave"),exitActive:"".concat(e,"-leave-active"),exitDone:"".concat(e,"-leave-done")}};t.default=n}),define("OutSystems/ReactView/Root",["require","exports","tslib","OutSystems/ClientRuntime/ApplicationInfo","OutSystems/ClientRuntime/EventDispatcher","OutSystems/ClientRuntime/Injector","OutSystems/ClientRuntime/Injector/KnownServices","OutSystems/ClientRuntime/Navigation","OutSystems/ClientRuntime/Transitions","prop-types","react","react-transition-group","./convertCssTransitionClassNames","./CSSHelper"],function(e,t,n,r,o,i,a,l,u,s,c,f,d,p){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h;!function(e){function t(){return{width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function n(){var e,n,o=t();if(o.width<768)n=u;else if(o.width<=1024)n=s;else{if(!r.isWebApplication())return[];n=c}return e=o.width>o.height?d:f,[n,e]}function o(){p.forEach(function(e){return document.body.classList.remove(e)})}function l(){o(),p=h(),p.forEach(function(e){return document.body.classList.add(e)})}var u="phone",s="tablet",c="desktop",f="portrait",d="landscape",p=[],h=i.resolve(a.ServiceNames.DeviceHelperClassProvider)||n;i.addRegistrationListener(a.ServiceNames.DeviceHelperClassProvider,function(e,t){h=t||n,t&&l()}),e.clearDeviceClasses=o,e.setDeviceClasses=l}(h||(h={}));var m=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.hasScreenRendered=!1,r.state={transition:new u.Transition(""),animate:!1,firstRender:!0},r}return n.__extends(t,e),t.onBeforeNavigation=function(e,t,n){return!!e.onBeforeNavigation(t,n)&&(p.setIgnoreLoadErrors(!0),!0)},t.onAfterNavigation=function(e){p.setIgnoreLoadErrors(!1),e.onAfterNavigation()},t.getPreviousTransition=function(e){return e&&e.state&&e.state.transition?(0,u.sanitizeTransition)(e.state.transition):new u.Transition("")},t.getTransition=function(e,r,o){return t.transitionOverride?(0,u.sanitizeTransition)(t.transitionOverride):(0,l.locationReachedFromHistory)(n.__assign({action:e},r))?(0,u.reverseTransition)(t.getPreviousTransition(o)):r.state&&r.state.transition?(0,u.sanitizeTransition)(r.state.transition):new u.Transition("")},t.prototype.getChildContext=function(){var e=this;return{hasScreenRendered:function(){return e.hasScreenRendered}}},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var n=t.getTransition(e.history.action,e.location,this.props.location);this.props.location!==e.location&&this.setState(function(){return{transition:n,animate:!!n.name,firstRen
9der:!1}})},t.prototype.UNSAFE_componentWillMount=function(){var e=this;h.setDeviceClasses();var t="onorientationchange"in window,n=t?"orientationchange":"resize",r=function(){return e.handleOrientationChanges()};window.addEventListener(n,r,!1),this.handleDispose=function(){window.removeEventListener(n,r)}},t.prototype.componentDidMount=function(){this.state.animate||this.onTransitionStarted(),t.transitionOverride=null,t.onAfterNavigation(this.props.runtime)},t.prototype.componentDidUpdate=function(){var e=this.props.runtime;this.onTransitionStarted(),t.transitionOverride=null,t.onAfterNavigation(e)},t.prototype.UNSAFE_componentWillUpdate=function(){this.hasScreenRendered=!1},t.prototype.componentWillUnmount=function(){this.handleDispose&&this.handleDispose()},t.prototype.handleOrientationChanges=function(){setTimeout(function(){h.setDeviceClasses()},300)},t.prototype.onTransitionStarted=function(){this.hasScreenRendered=!0,setTimeout(function(){o.EventDispatcher.dispatch({type:o.EventType.TransitionStart})})},t.prototype.onTransitionEnded=function(){setTimeout(function(){o.EventDispatcher.dispatch({type:o.EventType.TransitionEnd,args:o.TransitionEndResult.Success})})},t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.location,o=t.history,i=t.screenLoader,a=this.state,l=a.transition,u=a.firstRender,s=a.animate,p=(0,d.default)(l.name);if(u){var h=i.load(r,o.action,o);return h&&h.then(function(){return e.setState(function(){return{firstRender:!1}})}).catch(function(){}),null}return c.createElement(f.TransitionGroup,{component:"div",id:"transitionContainer",childFactory:function(e){return c.cloneElement(e,{classNames:p,timeout:s?300:0})}},c.createElement(f.CSSTransition,{key:r.key,classNames:p,timeout:s?300:0,onEnter:function(){return e.onTransitionStarted()},onExited:function(){return e.onTransitionEnded()}},c.createElement(c.Fragment,null,n)))},t.childContextTypes={hasScreenRendered:s.func},t}(c.Component);t.default=m}),define("OutSystems/ReactView/BaseNavigationCallbacks",["require","exports","query-string","./Root"],function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){this.currentHistory=e,this.currentRuntime=t}return e.urlToLocationDescriptor=function(e,t){return{pathname:e.path,search:n.stringify(e.queryParams,{sort:!1}),state:{transition:t},hash:e.hash?"#"+e.hash:""}},e.prototype.push=function(e){this.currentHistory.push(e)},e.prototype.replace=function(e){this.currentHistory.replace(e)},e.prototype.goTo=function(t,n,r){var o=e.urlToLocationDescriptor(t,n);r||this.currentRuntime.isShowingSplashScreen?this.replace(o):this.push(o)},e.prototype.goOffset=function(e,t){t&&(r.default.transitionOverride=t),this.currentHistory.go(e)},e.prototype.goBack=function(e){e&&(r.default.transitionOverride=e),this.currentHistory.goBack()},e.prototype.goForward=function(e){e&&(r.default.transitionOverride=e),this.currentHistory.goForward()},e.prototype.dispose=function(e){},e}();t.default=o}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("history",["exports"],t):t(e.History={})}(this,function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}function o(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function i(e){return"/"===e.charAt(0)?e:"/"+e}function a(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function u(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function s(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function c(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,o,i,a){var l;"string"==typeof e?(l=s(e)).state=o:(void 0===(l=t({},e)).pathname&&(l.pathname=""),l.search?"?"!==l.search.charAt(0)&&(l.search="?"+l.search):l.search="",l.hash?"#"!==l.hash.charAt(0)&&(l.hash="#"+l.hash):l.hash="",void 0!==o&&void 0===l.state&&(l.state=o));try{l.pathname=decodeURI(l.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+l.pathname+'" could not be decoded. This is likely caused by an invali
9d percent-encoding.'):e}return i&&(l.key=i),a?l.pathname?"/"!==l.pathname.charAt(0)&&(l.pathname=function(e,t){void 0===t&&(t="");var o,i=e&&e.split("/")||[],a=t&&t.split("/")||[],l=e&&n(e),u=t&&n(t),s=l||u;if(e&&n(e)?a=i:i.length&&(a.pop(),a=a.concat(i)),!a.length)return"/";if(a.length){var c=a[a.length-1];o="."===c||".."===c||""===c}else o=!1;for(var f=0,d=a.length;0<=d;d--){var p=a[d];"."===p?r(a,d):".."===p?(r(a,d),f++):f&&(r(a,d),f--)}if(!s)for(;f--;)a.unshift("..");!s||""===a[0]||a[0]&&n(a[0])||a.unshift("");var h=a.join("/");return o&&"/"!==h.substr(-1)&&(h+="/"),h}(l.pathname,a.pathname)):l.pathname=a.pathname:l.pathname||(l.pathname="/"),l}function d(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){function n(){r&&e.apply(void 0,arguments)}var r=!0;return t.push(n),function(){r=!1,t=t.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}function p(e,t){t(window.confirm(e))}function h(e){if(!e)throw new Error(S)}function m(){try{return window.history.state||{}}catch(e){return{}}}function v(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function y(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function g(e){window.location.replace(v(window.location.href)+"#"+e)}function b(e,t,n){return Math.min(Math.max(e,t),n)}var w=!("undefined"==typeof window||!window.document||!window.document.createElement),S="Invariant failed",E="popstate",x="hashchange",C="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+a(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:a,decodePath:i},slash:{encodePath:i,decodePath:i}};e.createBrowserHistory=function(e){function n(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return I&&(i=l(i,I)),f(i,r,n)}function r(){return Math.random().toString(36).substr(2,M)}function o(e){t(U,e),U.length=S.length,D.notifyListeners(U.location,U.action)}function a(e){!function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}(e)&&v(n(e.state))}function s(){v(n(m()))}function v(e){L?(L=!1,o()):D.confirmTransitionTo(e,"POP",_,function(t){t?o({action:"POP",location:e}):function(e){var t=U.location,n=j.indexOf(t.key);-1===n&&(n=0);var r=j.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(L=!0,g(o))}(e)})}function y(e){return I+c(e)}function g(e){S.go(e)}function b(e){1===(F+=e)&&1===e?(window.addEventListener(E,a),k&&window.addEventListener(x,s)):0===F&&(window.removeEventListener(E,a),k&&window.removeEventListener(x,s))}void 0===e&&(e={}),w||h(!1);var S=window.history,C=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),k=!(-1===window.navigator.userAgent.indexOf("Trident")),T=e,P=T.forceRefresh,O=void 0!==P&&P,N=T.getUserConfirmation,_=void 0===N?p:N,R=T.keyLength,M=void 0===R?6:R,I=e.basename?u(i(e.basename)):"",D=d(),L=!1,A=n(m()),j=[A.key],F=0,z=!1,U={length:S.length,action:"POP",location:A,createHref:y,push:function(e,t){var n=f(e,t,r(),U.location);D.confirmTransitionTo(n,"PUSH",_,function(e){if(e){var t=y(n),r=n.key,i=n.state;if(C)if(S.pushState({key:r,state:i},null,t),O)window.location.href=t;else{var a=j.indexOf(U.location.key),l=j.slice(0,a+1);l.push(n.key),j=l,o({action:"PUSH",location:n})}else window.location.href=t}})},replace:function(e,t){var n="REPLACE",i=f(e,t,r(),U.location);D.confirmTransitionTo(i,n,_,function(e){if(e){var t=y(i),r=i.key,a=i.state;if(C)if(S.replaceState({key:r,state:a},null,t),O)window.location.replace(t);else{var l=j.indexOf(U.location.key);-1!==l&&(j[l]=i.key),o({action:n,location:i})}else window.location.replace(t)}})},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},block:function(e){void 0===e&&(e=!1);var t=D.setPrompt(e);return z||(b(1),z=!0),function(){return z&&(z=!1,b(-1)),t()}},listen:function(e){var t=D.appendListener(e);return b(1),function(){b(-1),t()}}};return U},e.createHashHistory=function(e){function n(){var e=_(y());return P&&(e=l(e,P)),f(e)}function r(e){t(U,e),U.length=m.length,R.notifyListeners(U.location,U.action)}function o(){var e=y(),t=N(e);if(e!==t)g(t);else{var o=n(),i=U.location;if(!M&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(i,o))return;if(I===c(o))return;I=null,function(e){M?(M=!1,r()):R.confirmTransitionTo(e,"POP",E,function(t){t?r({action:"POP",location:e}):function(e){var t=U.location,n=j.lastIndexOf(c(t));-1===n&&(n=0);var r=j.lastIndexOf(c(e));-1===r&&(r=0);var o=n-r;o&&(M=!0,a(o))}(e)})}(o)}}function a(e){m.go(e)}function s(e){1===(F+=e)&&1===e?window.addEventListener(C,o):0===F&&window.removeEventListener(C,o)}void 0===e&&(e={}),w||h(!1);var m=window.history,b=(window.navigator.userAgent.indexOf("Firefox"),e),S=b.getUserConfirmation,E=void 0===S?p:S,x=b.hashType,T=void 0===x?"slash":x,P=e.basename?u(i(e.basename)):"",O=k[T],N=O.encodePath,_=O.decodePath,R=d(),M=!1,I=null,D=y(),L=N(D);D!==L&&g(L);var A=n(),j=[c(A)],F=0,z=!1,U={length:m.length,action:"POP",location:A,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=v(window.location.href)),n+"#"+N(P+c(e))},push:function(e,t){var n=f(e,void 0,void 0,U.location);R.confirmTransitionTo(n,"PUSH",E,function(e){if(e){var t=c(n),o=N(P+t);if(y()!==o){I=t,function(e){window.location.hash=e}(o);var i=j.lastIndexOf(c(U.location)),a=j.slice(0,i+1);a.push(t),j=a,r({action:"PUSH",location:n})}else r()}})},replace:function(e,t){var n="REPLACE",o=f(e,void 0,void 0,U.location);R.confirmTransitionTo(o,n,E,function(e){if(e){var t=c(o),i=N(P+t);y()!==i&&(I=t,g(i));var a=j.indexOf(c(U.location));-1!==a&&(j[a]=t),r({action:n,location:o})}})},go:a,goBack:function(){a(-1)},goForward:function(){a(1)},block:function(e){void 0===e&&(e=!1);var t=R.setPrompt(e);return z||(s(1),z=!0),function(){return z&&(z=!1,s(-1)),t()}},listen:function(e){var t=R.appendListener(e);return s(1),function(){s(-1),t()}}};return U},e.createMemoryHistory=function(e){function n(e){t(S,e),S.length=S.entries.length,v.notifyListeners(S.location,S.action)}function r(){return Math.random().toString(36).substr(2,m)}function o(e){var t=b(S.index+e,0,S.entries.length-1),r=S.entries[t];v.confirmTransitionTo(r,"POP",a,function(e){e?n({action:"POP",location:r,index:t}):n()})}void 0===e&&(e={});var i=e,a=i.getUserConfirmation,l=i.initialEntries,u=void 0===l?["/"]:l,s=i.initialIndex,p=void 0===s?0:s,h=i.keyLength,m=void 0===h?6:h,v=d(),y=b(p,0,u.length-1),g=u.map(function(e){return f(e,void 0,"string"==typeof e?r():e.key||r())}),w=c,S={length:g.length,action:"POP",location:g[y],index:y,entries:g,createHref:w,push:function(e,t){var o=f(e,t,r(),S.location);v.confirmTransitionTo(o,"PUSH",a,function(e){if(e){var t=S.index+1,r=S.entries.slice(0);r.length>t?r.splice(t,r.length-t,o):r.push(o),n({action:"PUSH",location:o,index:t,entries:r})}})},replace:function(e,t){var o="REPLACE",i=f(e,t,r(),S.location);v.confirmTransitionTo(i,o,a,function(e){e&&(S.entries[S.index]=i,n({action:o,location:i}))})},go:o,goBack:function(){o(-1)},goForward:function(){o(1)}
9,canGo:function(e){var t=S.index+e;return 0<=t&&t<S.entries.length},block:function(e){return void 0===e&&(e=!1),v.setPrompt(e)},listen:function(e){return v.appendListener(e)}};return S},e.createLocation=f,e.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});if("object"!=typeof t&&"object"!=typeof n)return!1;var r=o(t),i=o(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every(function(r){return e(t[r],n[r])})}(e.state,t.state)},e.parsePath=s,e.createPath=c,Object.defineProperty(e,"__esModule",{value:!0})}),define("OutSystems/ReactView/createHistory",["require","exports","tslib","history"],function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t,o){void 0===e&&(e=function(){return!0}),void 0===o&&(o=function(e){return(0,r.createBrowserHistory)(e)});var i={},a=o({getUserConfirmation:function(e,r){return n.__awaiter(this,void 0,void 0,function(){var o,l,u,s;return n.__generator(this,function(n){switch(n.label){case 0:o=i[e],l=!1,n.label=1;case 1:return n.trys.push([1,5,6,7]),o?(u=t.load(o.location,o.action,a),u?[4,u]:[3,3]):[3,4];case 2:n.sent(),n.label=3;case 3:l=!0,n.label=4;case 4:return[3,7];case 5:return s=n.sent(),[3,7];case 6:return delete i[e],[7];case 7:return r(l),[2]}})})}});if(a.location&&!a.location.state){var l=n.__assign(n.__assign({},a.location),{state:{age:0}});a.push(l)}return a.block(function(t,n){var r,o=null!==(r=t.key)&&void 0!==r?r:"";return i[o]=e(a.location,t,n)?{location:t,action:n}:null,o}),a};t.default=o}),define("OutSystems/ReactView/LazyScreen",["require","exports","tslib","react"],function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,n){return e.call(this,t,n)||this}return n.__extends(t,e),t.prototype.componentDidMount=function(){var e=this.props.onEnter;e&&e()},t.prototype.componentWillUnmount=function(){var e=this.props.onLeave;e&&e()},t.prototype.render=function(){var e=this.props.component;return e?(0,r.createElement)(e,this.props):null},t}(r.Component);t.default=o}),define("OutSystems/ReactView/LocationUtils",["require","exports"],function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBackNavigation=t.calculateNextLocationAge=void 0;var n=function(e,t,n,r){switch(n){case"PUSH":return r+1;case"POP":return!!t&&!e?r+1:null!==e&&void 0!==e?e:0;case"REPLACE":return r;default:throw new Error("Missing case for ".concat(n," in setLocationAge"))}};t.calculateNextLocationAge=n;var r=function(e,t,n){switch(t){case"POP":return n>=e;case"PUSH":case"REPLACE":return!1;default:throw new Error("Missing case for ".concat(t," in isBackNavigation"))}};t.isBackNavigation=r}),define("OutSystems/ReactView/CheckPermissionsNavigationCallbacks",["require","exports","tslib","OutSystems/ClientRuntime/ErrorHandling","OutSystems/ClientRuntime/Navigation","./BaseNavigationCallbacks"],function(e,t,n,r,o,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.isFirstNavigation=r,o.navigated=!1,o}return n.__extends(t,e),t.prototype.goTo=function(e,t,n){this.navigated=!0;var r=i.default.urlToLocationDescriptor(e,t);this.replace(r)},t.prototype.navigateToInternalError=function(e){(0,r.handleError)(new Error("No Permissions"),e)},t.prototype.goBack=function(t){this.navigated=!0,this.isFirstNavigation()?this.navigateToInternalError():e.prototype.goBack.call(this,t)},t.prototype.goForward=function(t){this.navigated=!0,this.isFirstNavigation()?this.navigateToInternalError():e.prototype.goForward.call(this,t)},t.prototype.dispose=function(t){this.navigated||(0,o.hasPendingReload)()||(this.isFirstNavigation()?this.navigateToInternalError(t):e.prototype.goBack.call(this))},t}(i.default);t.default=a}),define("OutSystems/ReactView/ControllerInitializationNavigationCallbacks",["require","exports","tslib","./BaseNavigationCallbacks"],function(e,t,n,r){"use strict";
9Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,n){return e.call(this,t,n)||this}return n.__extends(t,e),t.prototype.goTo=function(e,t,n){var o=r.default.urlToLocationDescriptor(e,t);this.push(o)},t.prototype.dispose=function(e){},t}(r.default);t.default=o}),define("OutSystems/ReactView/findRouteMatch",["require","exports","tslib","query-string","react-router-dom"],function(e,t,n,r,o){"use strict";function i(e){return Object.keys(e).filter(function(t){return null!==e[t]&&void 0!==e[t]}).reduce(function(t,n){return t[n]=e[n],t},{})}function a(e){return Object.keys(e).filter(function(e){return isNaN(Number(e))}).reduce(function(t,n){return t[n]=e[n],t},{})}function l(e){return Object.keys(e).reduce(function(t,n){return t[n]=decodeURIComponent(e[n]),t},{})}function u(e,t){void 0===e&&(e={}),void 0===t&&(t="");var o=a(i(e)),u=l(o),s=r.parse(t);return n.__assign(n.__assign({},s),u)}function s(e,t){if(!e||!t)return null;var n=null;return e.some(function(e){if(!e)return!1;var r=(0,o.matchPath)(t.pathname,{path:e.pathname,exact:!0});return!(!r||n)&&(n={routeInfo:e,matchedParams:u(r.params,t.search)},!0)}),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=s}),define("OutSystems/ReactView/ScreenLoader",["require","exports","tslib","OutSystems/ClientRuntime/EventDispatcher","OutSystems/ClientRuntime/Navigation","OutSystems/ClientRuntime/RequireManager","OutSystems/ClientRuntime/ScreenStateCache","./BaseView","./CheckPermissionsNavigationCallbacks","./ControllerInitializationNavigationCallbacks","./findRouteMatch","./RouteComponents"],function(e,t,n,r,o,i,a,l,u,s,c,f){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=function(){function e(e,t,n){this.runtime=e,this.routes=t,this.splashRoute=n,this.isFirstNavigation=!0,this.loadedComponents=[]}return e.prototype.getLoadedComponent=function(e){for(var t=this.loadedComponents.length-1;t>=0;t--)if(this.loadedComponents[t]&&this.loadedComponents[t].key===e)return this.loadedComponents[t].component;return null},e.prototype.freeLoadedComponent=function(e){for(var t=this.loadedComponents.length-1;t>=0;t--)this.loadedComponents[t]&&this.loadedComponents[t].key===e&&(this.loadedComponents=this.loadedComponents.slice(t+1,this.loadedComponents.length))},e.prototype.load=function(e,t,d){var p=this,h=(0,c.default)(this.runtime.shouldRenderSplashScreen()?[this.splashRoute]:this.routes,e);if(!h)return null;var m=h.routeInfo,v=h.matchedParams,y=m.component,g=m.lazyComponentInfo;if(y)return Promise.resolve(y);var b={key:e.key,component:null};return this.loadedComponents.push(b),new Promise(function(c,h){i.loadModule([g.modelModuleName,g.controllerModuleName,g.webFlowControllerModuleName],function(y,w,S){var E=new u.default(d,p.runtime,function(){return p.isFirstNavigation}),x=new s.default(d,p.runtime),C=null,k=!1,T=!p.isFirstNavigation&&o.locationReachedFromHistory(n.__assign(n.__assign({},e),{action:t}));if(T&&(C=a.ScreenStateCache.loadScreenCache(e.key))){var P=C.components[l.SCREEN_UUID].state;if(P){var O=y;y={create:function(e){var t=O.create(e);return t.fromImmutableData(P),t}},k=!0}}if(!k){var N=y;y={create:function(e){var t=N.create(e);return t.setInputs(v),t}}}w.initialize({viewName:m.screenName,navigatedFromHistory:T,viewWasRestoredFromCache:k},y,S.default,E,x).then(function(e){return e.permissionsOk?0===p.loadedComponents.length||p.loadedComponents[p.loadedComponents.length-1]!==b?void h(new Error("No longer on screen")):e.controller&&e.model?m.screenName!==e.controller.constructor.activeScreen.viewName?void h(new Error("Screen is no longer active")):void i.loadModule([g.viewModuleName],function(t){var n=(0,f.createView)(t,e.controller,e.model,C,g.shallSaveStateOnLeave);l.BaseWebScreen.loadResources(t).then(function(){p.isFirstNavigation=!1,b.component=n,c(n)})}):void h(new Error("Error loading screen dependencies")):(r.EventDispatcher.dispatch({type:r.EventType.TransitionEnd,args:r.TransitionEndResult.Failure}),void h(new Error("Invalid Permissions")))})})})},e}();t.default=d}),define("OutSystems/ReactView/Router",["require","exports","tslib","OutSystems/ClientRuntime/ApplicationInfo","OutSystems/ClientRuntime/EventDispatcher","OutSystems/ClientRuntime/Logger","OutSystems/ClientRuntime/Navigation","OutSystems/ClientRuntime/Navigation","OutSystems/ClientRuntime/Performance","OutSystems/ClientRuntime/StorageProvider","react","react-dom","react-router-dom","./BaseNavigationCallbacks","./createHistory","./ErrorBoundary","./LazyScreen","./LocationUtils","./Root","./RouteComponents","./ScreenLoader"],function(e,t,n,r,o,i,a,l,u,s,c,f,d,p,h,m,v,y,g,b,w){"use strict";function S(e,t,r){var i,l,u,s=_.currentAge.get(),c=(0,y.calculateNextLocationAge)(null!==(l=null===(i=t.state)||void 0===i?void 0:i.age)&&void 0!==l?l:0,t.hash,r,s);t.state=n.__assign(n.__assign({},null!==(u=t.state)&&void 0!==u?u:{}),{age:c});var f=(0,y.isBackNavigation)(t.state.age,r,s);return!!g.default.onBeforeNavigation(e,n.__assign(n.__assign({},t),{action:r}),f)&&(f&&!t.key?((0,a.navigateBack)(null),e.exit()):(_.currentAge.set(t.state.age),o.EventDispatcher.dispatch({type:o.EventType.NavigationStart,args:t}),!0))}function E(e,o,a){i.trace(x,"Loading Router.");var s,v=function(){u.end("Router load triggered render"),"function"==typeof o&&o()},y=r.getHomeModuleDefinition(),E=r.getScreenDefinitionFromScreenName(y,y.splashScreenName);E&&(s={pathname:"*",forDefaultPath:!1,screenName:E.screenName,lazyComponentInfo:R(!1,E)});var T=(0,t.getRouteInfos)(),P=new w.default(e,T,s),O=(0,h.default)(function(t,n,r){return S(e,n,r)},P,a);l.setNavigationCallbacks(new p.default(O,e));var N=function(t){e.handleError(t)};f.render(c.createElement(m.default,{onError:N},c.createElement(d.Router,{history:O},c.createElement(d.Route,{key:"".concat(k,"-").concat(y.moduleName),render:function(r){var o=e.shouldRenderSplashScreen()&&E?[(0,t.createLazyScreenRoute)(s,P,r.location,function(){return e.isShowingSplashScreen=!0},function(){return e.isShowingSplashScreen=!1})]:(0,t.createApplicationRoutes)(T,P,r.location);return c.createElement(d.Route,{path:"/",key:C,location:r.location,render:function(t){return c.createElement(g.default,n.__assign({runtime:e,screenLoader:P,location:t.location},t),c.createElement(d.Switch,{location:t.location},o,c.createElement(d.Route,{key:"not-found-screen",location:t.location,component:b.NotFoundScreen})))}})}}))),document.getElementById("reactContainer"),v)}
9Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteInfos=t.load=t.createApplicationRoutes=t.createLazyScreenRoute=t.createScreenRoute=void 0;var x="Router",C="screen-route-key",k="module-route-key",T=function(e,t){return void 0===t&&(t=!1),"".concat(C).concat(t?"-default-":"-").concat(e)},P=function(e,t){var n=e.pathname,r=e.forDefaultPath,o=e.screenName,i=e.component 10;return c.createElement(d.Route,{path:n,exact:!0,key:T(o,r),location:t,component:i})};t.createScreenRoute=P;var O=function(e,t,r,o,i){var a=e.screenName,l=e.forDefaultPath,u=e.pathname;return c.createElement(d.Route,{key:T(a,l),exact:!0,path:u,location:r,render:function(e){var r=t.getLoadedComponent(e.location.key);return c.createElement(v.default,n.__assign({onEnter:o,onLeave:function(){t.freeLoadedComponent(e.location.key),i&&i()},component:r},e))}})};t.createLazyScreenRoute=O;var N=function(e,n,r){return e.map(function(e){return e.component?(0,t.createScreenRoute)(e,r):(0,t.createLazyScreenRoute)(e,n,r)})};t.createApplicationRoutes=N;var _={currentAge:new s.StorageObject(s.StorageType.Session,"RouterHistoryAge",0)};t.load=E;var R=function(e,t){return{shallSaveStateOnLeave:e,viewModuleName:t.viewModuleName,modelModuleName:t.modelModuleName,controllerModuleName:t.controllerModuleName,webFlowControllerModuleName:t.webFlowControllerModuleName}},M=function(e){var t=void 0===e?{}:e,n=t.getModules,o=void 0===n?r.getModules:n,a=t.getHomeModuleDefinition,l=void 0===a?r.getHomeModuleDefinition:a,u=t.getBasePath,s=void 0===u?r.getBasePath:u;i.trace(x,"Creating application routes.");var c=[],f=o(),d=s().replace(/\/$/,"");for(var p in f)if(f.hasOwnProperty(p)){var h=f[p];if(h===l()){if(h===l()){var m=h.homeScreenName?r.getScreenDefinitionFromScreenName(h,h.homeScreenName):void 0,v=m?{pathname:d,forDefaultPath:!0,screenName:m.screenName,lazyComponentInfo:R(!0,m)}:{pathname:d,forDefaultPath:!0,screenName:"no-default-screen",component:b.NoDefaultScreen};c.push(v),i.trace(x,"Created default application route for ".concat(v.pathname))}c.push.apply(c,h.screens.map(function(e){return{pathname:"".concat(d,"/").concat(e.screenUrl),forDefaultPath:!1,screenName:e.screenName,lazyComponentInfo:R(!0,e)}}))}}return c};t.getRouteInfos=M}),define("OutSystems/ReactView/Main",["require","exports","@outsystems/virtualized-list","OutSystems/ClientRuntime/VersionDefinition","./AnimatedGroup","./BaseView","./FeedbackMessage","./HtmlTags","./Portal","./RouteComponents","./Router","./ScrollExtensions","./Widget"],function(e,t,n,r,o,i,a,l,u,s,c,f,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Version=t.HtmlTags=t.VirtualizedScrollViewer=t.Portal=t.AnimatedGroup=t.RouteComponents=t.FeedbackMessage=t.Widget=t.Router=t.ScrollExtensions=t.BaseView=void 0,t.BaseView=i,t.ScrollExtensions=f,t.Router=c,t.Widget=d,t.FeedbackMessage=a,t.RouteComponents=s,t.AnimatedGroup=o,t.Portal=u,t.VirtualizedScrollViewer=n,t.HtmlTags=l,t.Version="3.24.0",r.registerPackage("client-runtime-view-framework-react",t.Version)}),function(){"use strict";function e(t,r){var o;if(r=r||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=r.touchBoundary||10,this.layer=t,this.tapDelay=r.tapDelay||200,this.tapTimeout=r.tapTimeout||700,!e.notNeeded(t)){for(var i=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,l=0,u=i.length;l<u;l++)a[i[l]]=function(e,t){return function(){return e.apply(t,arguments)}}(a[i[l]],a);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,r){var o=Node.prototype.removeEventListener;"click"===e?o.call(t,e,n.hijacked||n,r):o.call(t,e,n,r)},t.addEventListener=function(e,n,r){var o=Node.prototype.addEventListener;"click"===e?o.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),r):o.call(t,e,n,r)}),"function"==typeof t.onclick&&(o=t.onclick,t.addEventListener("click",function(e){o(e)},!1),t.onclick=null)}}var t=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!t,r=/iP(ad|hone|od)/.test(navigator.userAgent)&&!t,o=r&&/OS 4_\d(_\d)?/.test(navigator.userAgent),i=r&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(r&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),r=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return n&&"select"===e.tagName.toLowerCase()?"mousedown":"click"}
10,e.prototype.focus=function(e){var t,n=["time","month","number","email"];r&&e.setSelectionRange&&0!==e.type.indexOf("date")&&-1===n.indexOf(e.type)?(t=e.value.length,e.focus(),e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(!(t=e.fastClickScrollParent)||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,i,a;if(a=(new Date).getTime(),e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],r){if(i=window.getSelection(),i.rangeCount&&!i.isCollapsed)return!0;if(!o){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=a,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,a-this.lastClickTime<this.tapDelay&&e.preventDefault(),!0},e.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n},e.prototype.onTouchMove=function(e){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0)},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,a,l,u,s,c,f=this.targetElement;if(c=(new Date).getTime(),!this.trackingClick)return!0;if(c-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(c-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=c,a=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,i&&(s=e.changedTouches[0],f=document.elementFromPoint(s.pageX-window.pageXOffset,s.pageY-window.pageYOffset)||f,f.fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(l=f.tagName.toLowerCase())){if(t=this.findControl(f)){if(this.focus(f),n)return!1;f=t}}else if(this.needsFocus(f))return c-a>100||r&&window.top!==window&&"input"===l?(this.targetElement=null,!1):(this.focus(f),this.sendClick(f,e),o&&"select"===l||(this.targetElement=null,e.preventDefault()),!1);return!(!r||o||!(u=f.fastClickScrollParent)||u.fastClickLastScrollTop===u.scrollTop)||(this.needsClick(f)||(e.preventDefault(),this.sendClick(f,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return!this.targetElement||(!!e.forwardedTouchEvent||(!e.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1))))},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail||(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;n&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,r,o;if(void 0===window.ontouchstart)return!0;if(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(r>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(o=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),o[1]>=10&&o[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;
10if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(t=document.querySelector("meta[name=viewport]"))&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||("none"===e.style.touchAction||"manipulation"===e.style.touchAction))},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("fastclick",[],function(){return e}):"undefined"!=typeof module&&module.exports?(module.exports=e.attach,module.exports.FastClick=e):window.FastClick=e}(); 11// All licensing information regarding this source code can be found in the LICENSES.txt file. 12//# sourceMappingURL=OutSystemsReactView.js.map?ts=1736962113850
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.