diff --git a/assets/index-8de3ef99.js b/assets/index-8ed27f54.js similarity index 55% rename from assets/index-8de3ef99.js rename to assets/index-8ed27f54.js index d8edb34..e381039 100644 --- a/assets/index-8de3ef99.js +++ b/assets/index-8ed27f54.js @@ -1,4 +1,4 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ir={},oc={get exports(){return Ir},set exports(e){Ir=e}},ul={},It={},uc={get exports(){return It},set exports(e){It=e}},R={};/** +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mr={},oc={get exports(){return Mr},set exports(e){Mr=e}},il={},Mt={},ic={get exports(){return Mt},set exports(e){Mt=e}},R={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var bt=Symbol.for("react.element"),ic=Symbol.for("react.portal"),sc=Symbol.for("react.fragment"),ac=Symbol.for("react.strict_mode"),cc=Symbol.for("react.profiler"),fc=Symbol.for("react.provider"),dc=Symbol.for("react.context"),pc=Symbol.for("react.forward_ref"),mc=Symbol.for("react.suspense"),hc=Symbol.for("react.memo"),vc=Symbol.for("react.lazy"),Au=Symbol.iterator;function yc(e){return e===null||typeof e!="object"?null:(e=Au&&e[Au]||e["@@iterator"],typeof e=="function"?e:null)}var Zi={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ji=Object.assign,qi={};function ft(e,n,t){this.props=e,this.context=n,this.refs=qi,this.updater=t||Zi}ft.prototype.isReactComponent={};ft.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};ft.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function bi(){}bi.prototype=ft.prototype;function Ko(e,n,t){this.props=e,this.context=n,this.refs=qi,this.updater=t||Zi}var Yo=Ko.prototype=new bi;Yo.constructor=Ko;Ji(Yo,ft.prototype);Yo.isPureReactComponent=!0;var Vu=Array.isArray,es=Object.prototype.hasOwnProperty,Xo={current:null},ns={key:!0,ref:!0,__self:!0,__source:!0};function ts(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)es.call(n,r)&&!ns.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1>>1,J=_[K];if(0>>1;Kl(_l,L))_nl(or,_l)?(_[K]=or,_[_n]=L,K=_n):(_[K]=_l,_[En]=L,K=En);else if(_nl(or,L))_[K]=or,_[_n]=L,K=_n;else break e}}return z}function l(_,z){var L=_.sortIndex-z.sortIndex;return L!==0?L:_.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var u=Date,i=u.now();e.unstable_now=function(){return u.now()-i}}var s=[],c=[],h=1,m=null,p=3,g=!1,w=!1,S=!1,M=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=_)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function v(_){if(S=!1,d(_),!w)if(t(s)!==null)w=!0,Ue(k);else{var z=t(c);z!==null&&El(v,z.startTime-_)}}function k(_,z){w=!1,S&&(S=!1,f(C),C=-1),g=!0;var L=p;try{for(d(z),m=t(s);m!==null&&(!(m.expirationTime>z)||_&&!ve());){var K=m.callback;if(typeof K=="function"){m.callback=null,p=m.priorityLevel;var J=K(m.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?m.callback=J:m===t(s)&&r(s),d(z)}else r(s);m=t(s)}if(m!==null)var lr=!0;else{var En=t(c);En!==null&&El(v,En.startTime-z),lr=!1}return lr}finally{m=null,p=L,g=!1}}var x=!1,N=null,C=-1,j=5,T=-1;function ve(){return!(e.unstable_now()-T_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var L=p;p=z;try{return _()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var L=p;p=_;try{return z()}finally{p=L}},e.unstable_scheduleCallback=function(_,z,L){var K=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0K?(_.sortIndex=L,n(c,_),t(s)===null&&_===t(c)&&(S?(f(C),C=-1):S=!0,El(v,L-K))):(_.sortIndex=J,n(s,_),w||g||(w=!0,Ue(k))),_},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(_){var z=p;return function(){var L=p;p=z;try{return _.apply(this,arguments)}finally{p=L}}}})(ls);(function(e){e.exports=ls})(Tc);/** + */(function(e){function n(_,z){var L=_.length;_.push(z);e:for(;0>>1,J=_[K];if(0>>1;Kl(_l,L))_nl(or,_l)?(_[K]=or,_[_n]=L,K=_n):(_[K]=_l,_[En]=L,K=En);else if(_nl(or,L))_[K]=or,_[_n]=L,K=_n;else break e}}return z}function l(_,z){var L=_.sortIndex-z.sortIndex;return L!==0?L:_.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],h=1,m=null,p=3,g=!1,w=!1,S=!1,I=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=_)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function v(_){if(S=!1,d(_),!w)if(t(s)!==null)w=!0,Ce(k);else{var z=t(c);z!==null&&El(v,z.startTime-_)}}function k(_,z){w=!1,S&&(S=!1,f(C),C=-1),g=!0;var L=p;try{for(d(z),m=t(s);m!==null&&(!(m.expirationTime>z)||_&&!ye());){var K=m.callback;if(typeof K=="function"){m.callback=null,p=m.priorityLevel;var J=K(m.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?m.callback=J:m===t(s)&&r(s),d(z)}else r(s);m=t(s)}if(m!==null)var lr=!0;else{var En=t(c);En!==null&&El(v,En.startTime-z),lr=!1}return lr}finally{m=null,p=L,g=!1}}var x=!1,N=null,C=-1,j=5,T=-1;function ye(){return!(e.unstable_now()-T_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var L=p;p=z;try{return _()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var L=p;p=_;try{return z()}finally{p=L}},e.unstable_scheduleCallback=function(_,z,L){var K=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0K?(_.sortIndex=L,n(c,_),t(s)===null&&_===t(c)&&(S?(f(C),C=-1):S=!0,El(v,L-K))):(_.sortIndex=J,n(s,_),w||g||(w=!0,Ce(k))),_},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(_){var z=p;return function(){var L=p;p=z;try{return _.apply(this,arguments)}finally{p=L}}}})(ls);(function(e){e.exports=ls})(Tc);/** * @license React * react-dom.production.min.js * @@ -30,11 +30,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var os=It,Se=ql;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bl=Object.prototype.hasOwnProperty,Lc=/^[: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]*$/,Hu={},Wu={};function Rc(e){return bl.call(Wu,e)?!0:bl.call(Hu,e)?!1:Lc.test(e)?Wu[e]=!0:(Hu[e]=!0,!1)}function Oc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dc(e,n,t,r){if(n===null||typeof n>"u"||Oc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ce(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];te[n]=new ce(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zo=/[\-:]([a-z])/g;function Jo(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-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 n=e.replace(Zo,Jo);te[n]=new ce(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Zo,Jo);te[n]=new ce(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Zo,Jo);te[n]=new ce(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function qo(e,n,t,r){var l=te.hasOwnProperty(n)?te[n]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bl=Object.prototype.hasOwnProperty,Lc=/^[: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={},Wi={};function Rc(e){return bl.call(Wi,e)?!0:bl.call(Hi,e)?!1:Lc.test(e)?Wi[e]=!0:(Hi[e]=!0,!1)}function Oc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dc(e,n,t,r){if(n===null||typeof n>"u"||Oc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function fe(e,n,t,r,l,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];re[n]=new fe(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new fe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){re[e]=new fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zo=/[\-:]([a-z])/g;function Jo(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-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 n=e.replace(Zo,Jo);re[n]=new fe(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Zo,Jo);re[n]=new fe(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Zo,Jo);re[n]=new fe(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new fe(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function qo(e,n,t,r){var l=re.hasOwnProperty(n)?re[n]:null;(l!==null?l.type!==0:r||!(2i||l[u]!==o[i]){var s=` -`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=i);break}}}finally{Nl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Et(e):""}function Mc(e){switch(e.tag){case 5:return Et(e.type);case 16:return Et("Lazy");case 13:return Et("Suspense");case 19:return Et("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function ro(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vn:return"Fragment";case An:return"Portal";case eo:return"Profiler";case bo:return"StrictMode";case no:return"Suspense";case to:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ss:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case eu:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nu:return n=e.displayName||null,n!==null?n:ro(e.type)||"Memo";case tn:n=e._payload,e=e._init;try{return ro(e(n))}catch{}}return null}function Ic(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ro(n);case 8:return n===bo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function yn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function cs(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Fc(e){var n=cs(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function sr(e){e._valueTracker||(e._valueTracker=Fc(e))}function fs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=cs(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Fr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lo(e,n){var t=n.checked;return W({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=yn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ds(e,n){n=n.checked,n!=null&&qo(e,"checked",n,!1)}function oo(e,n){ds(e,n);var t=yn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?uo(e,n.type,t):n.hasOwnProperty("defaultValue")&&uo(e,n.type,yn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Yu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function uo(e,n,t){(n!=="number"||Fr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var _t=Array.isArray;function qn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ar.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function jt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Nt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jc=["Webkit","ms","Moz","O"];Object.keys(Nt).forEach(function(e){jc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Nt[n]=Nt[e]})});function vs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Nt.hasOwnProperty(e)&&Nt[e]?(""+n).trim():n+"px"}function ys(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=vs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Uc=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ao(e,n){if(n){if(Uc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function co(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fo=null;function tu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var po=null,bn=null,et=null;function Zu(e){if(e=tr(e)){if(typeof po!="function")throw Error(y(280));var n=e.stateNode;n&&(n=fl(n),po(e.stateNode,e.type,n))}}function gs(e){bn?et?et.push(e):et=[e]:bn=e}function ws(){if(bn){var e=bn,n=et;if(et=bn=null,Zu(e),n)for(e=0;e>>=0,e===0?32:31-(Gc(e)/Zc|0)|0}var cr=64,fr=4194304;function Ct(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ar(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,u=t&268435455;if(u!==0){var i=u&~l;i!==0?r=Ct(i):(o&=u,o!==0&&(r=Ct(o)))}else u=t&~l,u!==0?r=Ct(u):o!==0&&(r=Ct(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function er(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Ie(n),e[n]=t}function ef(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zt),oi=String.fromCharCode(32),ui=!1;function $s(e,n){switch(e){case"keyup":return Tf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function As(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bn=!1;function Rf(e,n){switch(e){case"compositionend":return As(n);case"keypress":return n.which!==32?null:(ui=!0,oi);case"textInput":return e=n.data,e===oi&&ui?null:e;default:return null}}function Of(e,n){if(Bn)return e==="compositionend"||!cu&&$s(e,n)?(e=js(),Nr=iu=un=null,Bn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=ci(t)}}function Ws(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ws(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Qs(){for(var e=window,n=Fr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Fr(e.document)}return n}function fu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Vf(e){var n=Qs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ws(t.ownerDocument.documentElement,t)){if(r!==null&&fu(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=fi(t,o);var u=fi(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Hn=null,wo=null,Lt=null,So=!1;function di(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;So||Hn==null||Hn!==Fr(r)||(r=Hn,"selectionStart"in r&&fu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Lt&&Ht(Lt,r)||(Lt=r,r=Hr(wo,"onSelect"),0Kn||(e.current=No[Kn],No[Kn]=null,Kn--)}function U(e,n){Kn++,No[Kn]=e.current,e.current=n}var gn={},ue=Sn(gn),pe=Sn(!1),On=gn;function ot(e,n){var t=e.type.contextTypes;if(!t)return gn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function Qr(){A(pe),A(ue)}function wi(e,n,t){if(ue.current!==gn)throw Error(y(168));U(ue,n),U(pe,t)}function ea(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Ic(e)||"Unknown",l));return W({},t,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gn,On=ue.current,U(ue,e),U(pe,pe.current),!0}function Si(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ea(e,n,On),r.__reactInternalMemoizedMergedChildContext=e,A(pe),A(ue),U(ue,e)):A(pe),U(pe,t)}var Qe=null,dl=!1,Vl=!1;function na(e){Qe===null?Qe=[e]:Qe.push(e)}function bf(e){dl=!0,na(e)}function kn(){if(!Vl&&Qe!==null){Vl=!0;var e=0,n=F;try{var t=Qe;for(F=1;e>=u,l-=u,Ke=1<<32-Ie(n)+l|t<C?(j=N,N=null):j=N.sibling;var T=p(f,N,d[C],v);if(T===null){N===null&&(N=j);break}e&&N&&T.alternate===null&&n(f,N),a=o(T,a,C),x===null?k=T:x.sibling=T,x=T,N=j}if(C===d.length)return t(f,N),V&&Cn(f,C),k;if(N===null){for(;CC?(j=N,N=null):j=N.sibling;var ve=p(f,N,T.value,v);if(ve===null){N===null&&(N=j);break}e&&N&&ve.alternate===null&&n(f,N),a=o(ve,a,C),x===null?k=ve:x.sibling=ve,x=ve,N=j}if(T.done)return t(f,N),V&&Cn(f,C),k;if(N===null){for(;!T.done;C++,T=d.next())T=m(f,T.value,v),T!==null&&(a=o(T,a,C),x===null?k=T:x.sibling=T,x=T);return V&&Cn(f,C),k}for(N=r(f,N);!T.done;C++,T=d.next())T=g(N,f,C,T.value,v),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?C:T.key),a=o(T,a,C),x===null?k=T:x.sibling=T,x=T);return e&&N.forEach(function(P){return n(f,P)}),V&&Cn(f,C),k}function M(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Vn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ir:e:{for(var k=d.key,x=a;x!==null;){if(x.key===k){if(k=d.type,k===Vn){if(x.tag===7){t(f,x.sibling),a=l(x,d.props.children),a.return=f,f=a;break e}}else if(x.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===tn&&Pi(k)===x.type){t(f,x.sibling),a=l(x,d.props),a.ref=wt(f,x,d),a.return=f,f=a;break e}t(f,x);break}else n(f,x);x=x.sibling}d.type===Vn?(a=Rn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Mr(d.type,d.key,d.props,null,f.mode,v),v.ref=wt(f,a,d),v.return=f,f=v)}return u(f);case An:e:{for(x=d.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Gl(d,f.mode,v),a.return=f,f=a}return u(f);case tn:return x=d._init,M(f,a,x(d._payload),v)}if(_t(d))return w(f,a,d,v);if(mt(d))return S(f,a,d,v);gr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Xl(d,f.mode,v),a.return=f,f=a),u(f)):t(f,a)}return M}var it=aa(!0),ca=aa(!1),rr={},He=Sn(rr),Yt=Sn(rr),Xt=Sn(rr);function Tn(e){if(e===rr)throw Error(y(174));return e}function Su(e,n){switch(U(Xt,n),U(Yt,e),U(He,rr),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:so(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=so(n,e)}A(He),U(He,n)}function st(){A(He),A(Yt),A(Xt)}function fa(e){Tn(Xt.current);var n=Tn(He.current),t=so(n,e.type);n!==t&&(U(Yt,e),U(He,t))}function ku(e){Yt.current===e&&(A(He),A(Yt))}var B=Sn(0);function qr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Bl=[];function Eu(){for(var e=0;et?t:4,e(!0);var r=Hl.transition;Hl.transition={};try{e(!1),n()}finally{F=t,Hl.transition=r}}function Pa(){return Te().memoizedState}function rd(e,n,t){var r=hn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},za(e))Ta(n,t);else if(t=oa(e,n,t,r),t!==null){var l=se();Fe(t,e,r,l),La(t,n,r)}}function ld(e,n,t){var r=hn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(za(e))Ta(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var u=n.lastRenderedState,i=o(u,t);if(l.hasEagerState=!0,l.eagerState=i,je(i,u)){var s=n.interleaved;s===null?(l.next=l,gu(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=oa(e,n,l,r),t!==null&&(l=se(),Fe(t,e,r,l),La(t,n,r))}}function za(e){var n=e.alternate;return e===H||n!==null&&n===H}function Ta(e,n){Rt=br=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function La(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,lu(e,t)}}var el={readContext:ze,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},od={readContext:ze,useCallback:function(e,n){return Ae().memoizedState=[e,n===void 0?null:n],e},useContext:ze,useEffect:Ti,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Lr(4194308,4,Ea.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Lr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Lr(4,2,e,n)},useMemo:function(e,n){var t=Ae();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Ae();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=rd.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var n=Ae();return e={current:e},n.memoizedState=e},useState:zi,useDebugValue:Pu,useDeferredValue:function(e){return Ae().memoizedState=e},useTransition:function(){var e=zi(!1),n=e[0];return e=td.bind(null,e[1]),Ae().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=H,l=Ae();if(V){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),b===null)throw Error(y(349));Mn&30||ma(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Ti(va.bind(null,r,o,e),[e]),r.flags|=2048,Jt(9,ha.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ae(),n=b.identifierPrefix;if(V){var t=Ye,r=Ke;t=(r&~(1<<32-Ie(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Gt++,0u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Nl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Et(e):""}function Ic(e){switch(e.tag){case 5:return Et(e.type);case 16:return Et("Lazy");case 13:return Et("Suspense");case 19:return Et("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function ro(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vn:return"Fragment";case An:return"Portal";case eo:return"Profiler";case bo:return"StrictMode";case no:return"Suspense";case to:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ss:return(e.displayName||"Context")+".Consumer";case us:return(e._context.displayName||"Context")+".Provider";case ei:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ni:return n=e.displayName||null,n!==null?n:ro(e.type)||"Memo";case tn:n=e._payload,e=e._init;try{return ro(e(n))}catch{}}return null}function Mc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ro(n);case 8:return n===bo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function yn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function cs(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Fc(e){var n=cs(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function sr(e){e._valueTracker||(e._valueTracker=Fc(e))}function fs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=cs(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Fr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lo(e,n){var t=n.checked;return W({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Ki(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=yn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ds(e,n){n=n.checked,n!=null&&qo(e,"checked",n,!1)}function oo(e,n){ds(e,n);var t=yn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?io(e,n.type,t):n.hasOwnProperty("defaultValue")&&io(e,n.type,yn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Yi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function io(e,n,t){(n!=="number"||Fr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var _t=Array.isArray;function qn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ar.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function jt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Nt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jc=["Webkit","ms","Moz","O"];Object.keys(Nt).forEach(function(e){jc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Nt[n]=Nt[e]})});function vs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Nt.hasOwnProperty(e)&&Nt[e]?(""+n).trim():n+"px"}function ys(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=vs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Uc=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ao(e,n){if(n){if(Uc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function co(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fo=null;function ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var po=null,bn=null,et=null;function Zi(e){if(e=tr(e)){if(typeof po!="function")throw Error(y(280));var n=e.stateNode;n&&(n=fl(n),po(e.stateNode,e.type,n))}}function gs(e){bn?et?et.push(e):et=[e]:bn=e}function ws(){if(bn){var e=bn,n=et;if(et=bn=null,Zi(e),n)for(e=0;e>>=0,e===0?32:31-(Gc(e)/Zc|0)|0}var cr=64,fr=4194304;function Ct(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ar(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=t&268435455;if(i!==0){var u=i&~l;u!==0?r=Ct(u):(o&=i,o!==0&&(r=Ct(o)))}else i=t&~l,i!==0?r=Ct(i):o!==0&&(r=Ct(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function er(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Fe(n),e[n]=t}function ef(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zt),ou=String.fromCharCode(32),iu=!1;function $s(e,n){switch(e){case"keyup":return Tf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function As(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bn=!1;function Rf(e,n){switch(e){case"compositionend":return As(n);case"keypress":return n.which!==32?null:(iu=!0,ou);case"textInput":return e=n.data,e===ou&&iu?null:e;default:return null}}function Of(e,n){if(Bn)return e==="compositionend"||!ci&&$s(e,n)?(e=js(),Nr=ui=un=null,Bn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=cu(t)}}function Ws(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ws(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Qs(){for(var e=window,n=Fr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Fr(e.document)}return n}function fi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Vf(e){var n=Qs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ws(t.ownerDocument.documentElement,t)){if(r!==null&&fi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=fu(t,o);var i=fu(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Hn=null,wo=null,Lt=null,So=!1;function du(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;So||Hn==null||Hn!==Fr(r)||(r=Hn,"selectionStart"in r&&fi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Lt&&Ht(Lt,r)||(Lt=r,r=Hr(wo,"onSelect"),0Kn||(e.current=No[Kn],No[Kn]=null,Kn--)}function U(e,n){Kn++,No[Kn]=e.current,e.current=n}var gn={},ue=Sn(gn),me=Sn(!1),On=gn;function ot(e,n){var t=e.type.contextTypes;if(!t)return gn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Qr(){A(me),A(ue)}function wu(e,n,t){if(ue.current!==gn)throw Error(y(168));U(ue,n),U(me,t)}function ea(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Mc(e)||"Unknown",l));return W({},t,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gn,On=ue.current,U(ue,e),U(me,me.current),!0}function Su(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ea(e,n,On),r.__reactInternalMemoizedMergedChildContext=e,A(me),A(ue),U(ue,e)):A(me),U(me,t)}var Ke=null,dl=!1,Vl=!1;function na(e){Ke===null?Ke=[e]:Ke.push(e)}function bf(e){dl=!0,na(e)}function kn(){if(!Vl&&Ke!==null){Vl=!0;var e=0,n=F;try{var t=Ke;for(F=1;e>=i,l-=i,Ye=1<<32-Fe(n)+l|t<C?(j=N,N=null):j=N.sibling;var T=p(f,N,d[C],v);if(T===null){N===null&&(N=j);break}e&&N&&T.alternate===null&&n(f,N),a=o(T,a,C),x===null?k=T:x.sibling=T,x=T,N=j}if(C===d.length)return t(f,N),V&&Cn(f,C),k;if(N===null){for(;CC?(j=N,N=null):j=N.sibling;var ye=p(f,N,T.value,v);if(ye===null){N===null&&(N=j);break}e&&N&&ye.alternate===null&&n(f,N),a=o(ye,a,C),x===null?k=ye:x.sibling=ye,x=ye,N=j}if(T.done)return t(f,N),V&&Cn(f,C),k;if(N===null){for(;!T.done;C++,T=d.next())T=m(f,T.value,v),T!==null&&(a=o(T,a,C),x===null?k=T:x.sibling=T,x=T);return V&&Cn(f,C),k}for(N=r(f,N);!T.done;C++,T=d.next())T=g(N,f,C,T.value,v),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?C:T.key),a=o(T,a,C),x===null?k=T:x.sibling=T,x=T);return e&&N.forEach(function(P){return n(f,P)}),V&&Cn(f,C),k}function I(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Vn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ur:e:{for(var k=d.key,x=a;x!==null;){if(x.key===k){if(k=d.type,k===Vn){if(x.tag===7){t(f,x.sibling),a=l(x,d.props.children),a.return=f,f=a;break e}}else if(x.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===tn&&Pu(k)===x.type){t(f,x.sibling),a=l(x,d.props),a.ref=wt(f,x,d),a.return=f,f=a;break e}t(f,x);break}else n(f,x);x=x.sibling}d.type===Vn?(a=Rn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Ir(d.type,d.key,d.props,null,f.mode,v),v.ref=wt(f,a,d),v.return=f,f=v)}return i(f);case An:e:{for(x=d.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Gl(d,f.mode,v),a.return=f,f=a}return i(f);case tn:return x=d._init,I(f,a,x(d._payload),v)}if(_t(d))return w(f,a,d,v);if(mt(d))return S(f,a,d,v);gr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Xl(d,f.mode,v),a.return=f,f=a),i(f)):t(f,a)}return I}var ut=aa(!0),ca=aa(!1),rr={},He=Sn(rr),Yt=Sn(rr),Xt=Sn(rr);function Tn(e){if(e===rr)throw Error(y(174));return e}function Si(e,n){switch(U(Xt,n),U(Yt,e),U(He,rr),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:so(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=so(n,e)}A(He),U(He,n)}function st(){A(He),A(Yt),A(Xt)}function fa(e){Tn(Xt.current);var n=Tn(He.current),t=so(n,e.type);n!==t&&(U(Yt,e),U(He,t))}function ki(e){Yt.current===e&&(A(He),A(Yt))}var B=Sn(0);function qr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Bl=[];function Ei(){for(var e=0;et?t:4,e(!0);var r=Hl.transition;Hl.transition={};try{e(!1),n()}finally{F=t,Hl.transition=r}}function Pa(){return Le().memoizedState}function rd(e,n,t){var r=hn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},za(e))Ta(n,t);else if(t=oa(e,n,t,r),t!==null){var l=ae();je(t,e,r,l),La(t,n,r)}}function ld(e,n,t){var r=hn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(za(e))Ta(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var i=n.lastRenderedState,u=o(i,t);if(l.hasEagerState=!0,l.eagerState=u,Ue(u,i)){var s=n.interleaved;s===null?(l.next=l,gi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=oa(e,n,l,r),t!==null&&(l=ae(),je(t,e,r,l),La(t,n,r))}}function za(e){var n=e.alternate;return e===H||n!==null&&n===H}function Ta(e,n){Rt=br=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function La(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,li(e,t)}}var el={readContext:Te,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},od={readContext:Te,useCallback:function(e,n){return Ae().memoizedState=[e,n===void 0?null:n],e},useContext:Te,useEffect:Tu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Lr(4194308,4,Ea.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Lr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Lr(4,2,e,n)},useMemo:function(e,n){var t=Ae();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Ae();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=rd.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var n=Ae();return e={current:e},n.memoizedState=e},useState:zu,useDebugValue:Pi,useDeferredValue:function(e){return Ae().memoizedState=e},useTransition:function(){var e=zu(!1),n=e[0];return e=td.bind(null,e[1]),Ae().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=H,l=Ae();if(V){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),b===null)throw Error(y(349));In&30||ma(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Tu(va.bind(null,r,o,e),[e]),r.flags|=2048,Jt(9,ha.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ae(),n=b.identifierPrefix;if(V){var t=Xe,r=Ye;t=(r&~(1<<32-Fe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Gt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Ve]=n,e[Kt]=r,$a(e,n,!1,!1),n.stateNode=e;e:{switch(u=co(t,r),t){case"dialog":$("cancel",e),$("close",e),l=r;break;case"iframe":case"object":case"embed":$("load",e),l=r;break;case"video":case"audio":for(l=0;lct&&(n.flags|=128,r=!0,St(o,!1),n.lanes=4194304)}else{if(!r)if(e=qr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),St(o,!0),o.tail===null&&o.tailMode==="hidden"&&!u.alternate&&!V)return le(n),null}else 2*Y()-o.renderingStartTime>ct&&t!==1073741824&&(n.flags|=128,r=!0,St(o,!1),n.lanes=4194304);o.isBackwards?(u.sibling=n.child,n.child=u):(t=o.last,t!==null?t.sibling=u:n.child=u,o.last=u)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=Y(),n.sibling=null,t=B.current,U(B,r?t&1|2:t&1),n):(le(n),null);case 22:case 23:return Du(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ye&1073741824&&(le(n),n.subtreeFlags&6&&(n.flags|=8192)):le(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pd(e,n){switch(pu(n),n.tag){case 1:return me(n.type)&&Qr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return st(),A(pe),A(ue),Eu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return ku(n),null;case 13:if(A(B),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));ut()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return A(B),null;case 4:return st(),null;case 10:return yu(n.type._context),null;case 22:case 23:return Du(),null;case 24:return null;default:return null}}var Sr=!1,oe=!1,md=typeof WeakSet=="function"?WeakSet:Set,E=null;function Zn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Q(e,n,r)}else t.current=null}function Uo(e,n,t){try{t()}catch(r){Q(e,n,r)}}var Ui=!1;function hd(e,n){if(ko=Vr,e=Qs(),fu(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var u=0,i=-1,s=-1,c=0,h=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(i=u+l),m!==o||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++c===l&&(i=u),p===o&&++h===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=i===-1||s===-1?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(Eo={focusedElem:e,selectionRange:t},Vr=!1,E=n;E!==null;)if(n=E,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,E=e;else for(;E!==null;){n=E;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,M=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:Oe(n.type,S),M);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){Q(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,E=e;break}E=n.return}return w=Ui,Ui=!1,w}function Ot(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Uo(n,t,o)}l=l.next}while(l!==r)}}function hl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function $o(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ba(e){var n=e.alternate;n!==null&&(e.alternate=null,Ba(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ve],delete n[Kt],delete n[xo],delete n[Jf],delete n[qf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ha(e){return e.tag===5||e.tag===3||e.tag===4}function $i(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ha(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ao(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Wr));else if(r!==4&&(e=e.child,e!==null))for(Ao(e,n,t),e=e.sibling;e!==null;)Ao(e,n,t),e=e.sibling}function Vo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Vo(e,n,t),e=e.sibling;e!==null;)Vo(e,n,t),e=e.sibling}var ee=null,De=!1;function nn(e,n,t){for(t=t.child;t!==null;)Wa(e,n,t),t=t.sibling}function Wa(e,n,t){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(il,t)}catch{}switch(t.tag){case 5:oe||Zn(t,n);case 6:var r=ee,l=De;ee=null,nn(e,n,t),ee=r,De=l,ee!==null&&(De?(e=ee,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):ee.removeChild(t.stateNode));break;case 18:ee!==null&&(De?(e=ee,t=t.stateNode,e.nodeType===8?Al(e.parentNode,t):e.nodeType===1&&Al(e,t),Vt(e)):Al(ee,t.stateNode));break;case 4:r=ee,l=De,ee=t.stateNode.containerInfo,De=!0,nn(e,n,t),ee=r,De=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,u=o.destroy;o=o.tag,u!==void 0&&(o&2||o&4)&&Uo(t,n,u),l=l.next}while(l!==r)}nn(e,n,t);break;case 1:if(!oe&&(Zn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){Q(t,n,i)}nn(e,n,t);break;case 21:nn(e,n,t);break;case 22:t.mode&1?(oe=(r=oe)||t.memoizedState!==null,nn(e,n,t),oe=r):nn(e,n,t);break;default:nn(e,n,t)}}function Ai(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new md),n.forEach(function(r){var l=Cd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Le(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~o}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yd(r/1960))-r,10e?16:e,sn===null)var r=!1;else{if(e=sn,sn=null,rl=0,D&6)throw Error(y(331));var l=D;for(D|=4,E=e.current;E!==null;){var o=E,u=o.child;if(E.flags&16){var i=o.deletions;if(i!==null){for(var s=0;sY()-Ru?Ln(e,0):Lu|=t),he(e,n)}function qa(e,n){n===0&&(e.mode&1?(n=fr,fr<<=1,!(fr&130023424)&&(fr=4194304)):n=1);var t=se();e=Je(e,n),e!==null&&(er(e,n,t),he(e,t))}function _d(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),qa(e,t)}function Cd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),qa(e,t)}var ba;ba=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||pe.current)de=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return de=!1,fd(e,n,t);de=!!(e.flags&131072)}else de=!1,V&&n.flags&1048576&&ta(n,Xr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Rr(e,n),e=n.pendingProps;var l=ot(n,ue.current);tt(n,t),l=Cu(null,n,r,e,l,t);var o=xu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,me(r)?(o=!0,Kr(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,wu(n),l.updater=pl,n.stateNode=l,l._reactInternals=n,Ro(n,r,e,t),n=Mo(null,n,r,!0,o,t)):(n.tag=0,V&&o&&du(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Rr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nd(r),e=Oe(r,e),l){case 0:n=Do(null,n,r,e,t);break e;case 1:n=Ii(null,n,r,e,t);break e;case 11:n=Di(null,n,r,e,t);break e;case 14:n=Mi(null,n,r,Oe(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Oe(r,l),Do(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Oe(r,l),Ii(e,n,r,l,t);case 3:e:{if(Fa(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,ua(e,n),Jr(n,r,null,t);var u=n.memoizedState;if(r=u.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=at(Error(y(423)),n),n=Fi(e,n,r,t,l);break e}else if(r!==l){l=at(Error(y(424)),n),n=Fi(e,n,r,t,l);break e}else for(ge=dn(n.stateNode.containerInfo.firstChild),we=n,V=!0,Me=null,t=ca(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(ut(),r===l){n=qe(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return fa(n),e===null&&zo(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,u=l.children,_o(r,l)?u=null:o!==null&&_o(r,o)&&(n.flags|=32),Ia(e,n),ie(e,n,u,t),n.child;case 6:return e===null&&zo(n),null;case 13:return ja(e,n,t);case 4:return Su(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=it(n,null,r,t):ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Oe(r,l),Di(e,n,r,l,t);case 7:return ie(e,n,n.pendingProps,t),n.child;case 8:return ie(e,n,n.pendingProps.children,t),n.child;case 12:return ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,u=l.value,U(Gr,r._currentValue),r._currentValue=u,o!==null)if(je(o.value,u)){if(o.children===l.children&&!pe.current){n=qe(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var i=o.dependencies;if(i!==null){u=o.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Xe(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),To(o.return,t,n),i.lanes|=t;break}s=s.next}}else if(o.tag===10)u=o.type===n.type?null:o.child;else if(o.tag===18){if(u=o.return,u===null)throw Error(y(341));u.lanes|=t,i=u.alternate,i!==null&&(i.lanes|=t),To(u,t,n),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===n){u=null;break}if(o=u.sibling,o!==null){o.return=u.return,u=o;break}u=u.return}o=u}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,tt(n,t),l=ze(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=Oe(r,n.pendingProps),l=Oe(r.type,l),Mi(e,n,r,l,t);case 15:return Da(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Oe(r,l),Rr(e,n),n.tag=1,me(r)?(e=!0,Kr(n)):e=!1,tt(n,t),sa(n,r,l),Ro(n,r,l,t),Mo(null,n,r,!0,e,t);case 19:return Ua(e,n,t);case 22:return Ma(e,n,t)}throw Error(y(156,n.tag))};function ec(e,n){return Ns(e,n)}function xd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(e,n,t,r){return new xd(e,n,t,r)}function Iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nd(e){if(typeof e=="function")return Iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===eu)return 11;if(e===nu)return 14}return 2}function vn(e,n){var t=e.alternate;return t===null?(t=Ne(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Mr(e,n,t,r,l,o){var u=2;if(r=e,typeof e=="function")Iu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Vn:return Rn(t.children,l,o,n);case bo:u=8,l|=8;break;case eo:return e=Ne(12,t,n,l|2),e.elementType=eo,e.lanes=o,e;case no:return e=Ne(13,t,n,l),e.elementType=no,e.lanes=o,e;case to:return e=Ne(19,t,n,l),e.elementType=to,e.lanes=o,e;case as:return yl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:u=10;break e;case ss:u=9;break e;case eu:u=11;break e;case nu:u=14;break e;case tn:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=Ne(u,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Rn(e,n,t,r){return e=Ne(7,e,r,n),e.lanes=t,e}function yl(e,n,t,r){return e=Ne(22,e,r,n),e.elementType=as,e.lanes=t,e.stateNode={isHidden:!1},e}function Xl(e,n,t){return e=Ne(6,e,null,n),e.lanes=t,e}function Gl(e,n,t){return n=Ne(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Pd(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Tl(0),this.expirationTimes=Tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Fu(e,n,t,r,l,o,u,i,s){return e=new Pd(e,n,t,i,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=Ne(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},wu(o),e}function zd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}n(),e.exports=ke})(zc);var Xi=Jl;Zl.createRoot=Xi.createRoot,Zl.hydrateRoot=Xi.hydrateRoot;const Gi=e=>typeof e=="object"&&e!==null,Dd=({value:e="",numInputs:n=4,onChange:t,onPaste:r,renderInput:l,shouldAutoFocus:o=!1,inputType:u="text",renderSeparator:i,placeholder:s,containerStyle:c,inputStyle:h,skipDefaultStyles:m=!1})=>{const[p,g]=Nn.useState(0),w=Nn.useRef([]),S=()=>e?e.toString().split(""):[],M=u==="number"||u==="tel";Nn.useEffect(()=>{w.current=w.current.slice(0,n)},[n]),Nn.useEffect(()=>{var P;o&&((P=w.current[0])==null||P.focus())},[o]);const f=()=>{if(typeof s=="string"){if(s.length===n)return s;s.length>0&&console.error("Length of the placeholder should be equal to the number of inputs.")}},a=P=>(M?!isNaN(Number(P)):typeof P=="string")&&P.trim().length===1,d=P=>{const{value:O}=P.target;a(O)&&(j(O),C(p+1))},v=P=>{const{nativeEvent:O}=P;a(P.target.value)||(O.data===null&&O.inputType==="deleteContentBackward"&&(P.preventDefault(),j(""),C(p-1)),P.target.value="")},k=P=>O=>{g(O),P.target.select()},x=()=>{g(p-1)},N=P=>{const O=S();[P.code,P.key].includes("Backspace")?(P.preventDefault(),j(""),C(p-1)):P.code==="Delete"?(P.preventDefault(),j("")):P.code==="ArrowLeft"?(P.preventDefault(),C(p-1)):P.code==="ArrowRight"||P.key===O[p]?(P.preventDefault(),C(p+1)):(P.code==="Spacebar"||P.code==="Space"||P.code==="ArrowUp"||P.code==="ArrowDown")&&P.preventDefault()},C=P=>{var _e,en;const O=Math.max(Math.min(n-1,P),0);w.current[O]&&((_e=w.current[O])==null||_e.focus(),(en=w.current[O])==null||en.select(),g(O))},j=P=>{const O=S();O[p]=P[0],T(O)},T=P=>{const O=P.join("");t(O)},ve=P=>{P.preventDefault();const O=S();let _e=p;const en=P.clipboardData.getData("text/plain").slice(0,n-p).split("");if(!(M&&en.some(Ue=>isNaN(Number(Ue))))){for(let Ue=0;Ue=p&&en.length>0&&(O[Ue]=en.shift()??"",_e++);C(_e),T(O)}};return I("div",{style:Object.assign({display:"flex",alignItems:"center"},Gi(c)&&c),className:typeof c=="string"?c:void 0,onPaste:r,children:Array.from({length:n},(P,O)=>O).map(P=>{var O;return Re(Nn.Fragment,{children:[l({value:S()[P]??"",placeholder:((O=f())==null?void 0:O[P])??void 0,ref:_e=>w.current[P]=_e,onChange:d,onFocus:_e=>k(_e)(P),onBlur:x,onKeyDown:N,onPaste:ve,autoComplete:"off",maxLength:1,"aria-label":`Please enter OTP character ${P+1}`,style:Object.assign(m?{}:{width:"1em",textAlign:"center"},Gi(h)?h:{}),className:typeof h=="string"?h:void 0,type:u,inputMode:M?"numeric":"text",onInput:v},P),P{i(w=>({...w,otp:g}))},c=g=>{const{name:w,value:S}=g.target;i(M=>({...M,[w]:S}))},h=g=>{let w=g.target.valueAsNumber;(wl)&&(w=4,console.error(`Please enter a value between ${r} and ${l}`)),i(S=>({...S,numInputs:w}))},m=()=>{i(g=>({...g,otp:""}))};return Re("div",{className:"container",children:[Re("div",{className:"side-bar",children:[I("a",{href:"https://github.com/devfolioco/react-otp-input",target:"_blank",rel:"noreferrer",children:I("div",{className:"side-bar__segment side-bar__segment--header",children:I("h2",{children:"react-otp-input"})})}),I("div",{className:"side-bar__segment",children:Re("label",{htmlFor:"num-inputs",children:["numInputs",I("input",{id:"num-inputs",name:"numInputs",type:"number",value:n,onChange:h,min:r,max:l})]})}),I("div",{className:"side-bar__segment",children:Re("label",{htmlFor:"separator",children:["separator",I("input",{id:"separator",maxLength:1,name:"separator",type:"text",value:t,onChange:c})]})}),I("div",{className:"side-bar__segment",children:Re("label",{htmlFor:"value",children:["value",I("input",{id:"value",maxLength:n,name:"otp",type:"text",value:e,onChange:c})]})}),I("div",{className:"side-bar__segment",children:Re("label",{htmlFor:"placeholder",children:["placeholder",I("input",{id:"placeholder",name:"placeholder",type:"text",value:o,onChange:c})]})}),Re("div",{className:"side-bar__segment",children:[I("label",{htmlFor:"inputType",children:"inputType"}),Re("select",{id:"inputType",name:"inputType",value:u,onChange:c,children:[I("option",{value:"text",children:"text"}),I("option",{value:"number",children:"number"}),I("option",{value:"password",children:"password"}),I("option",{value:"tel",children:"tel"})]})]}),I("div",{className:"side-bar__segment side-bar__segment--bottom",children:I("a",{href:"https://github.com/devfolioco/react-otp-input",children:"Documentation and Source"})})]}),I("div",{className:"view",children:I("div",{className:"card",children:Re("form",{onSubmit:g=>{g.preventDefault(),alert(e)},children:[I("p",{children:"Enter verification code"}),I("div",{className:"margin-top--small",children:I(Dd,{inputStyle:"inputStyle",numInputs:n,onChange:s,renderSeparator:I("span",{children:t}),value:e,placeholder:o,inputType:u,renderInput:g=>I("input",{...g}),shouldAutoFocus:!0})}),Re("div",{className:"btn-row",children:[I("button",{className:"btn margin-top--large",type:"button",disabled:e.trim()==="",onClick:m,children:"Clear"}),I("button",{className:"btn margin-top--large",disabled:e.length<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Ve]=n,e[Kt]=r,$a(e,n,!1,!1),n.stateNode=e;e:{switch(i=co(t,r),t){case"dialog":$("cancel",e),$("close",e),l=r;break;case"iframe":case"object":case"embed":$("load",e),l=r;break;case"video":case"audio":for(l=0;lct&&(n.flags|=128,r=!0,St(o,!1),n.lanes=4194304)}else{if(!r)if(e=qr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),St(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!V)return oe(n),null}else 2*Y()-o.renderingStartTime>ct&&t!==1073741824&&(n.flags|=128,r=!0,St(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(t=o.last,t!==null?t.sibling=i:n.child=i,o.last=i)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=Y(),n.sibling=null,t=B.current,U(B,r?t&1|2:t&1),n):(oe(n),null);case 22:case 23:return Di(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ge&1073741824&&(oe(n),n.subtreeFlags&6&&(n.flags|=8192)):oe(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pd(e,n){switch(pi(n),n.tag){case 1:return he(n.type)&&Qr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return st(),A(me),A(ue),Ei(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return ki(n),null;case 13:if(A(B),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));it()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return A(B),null;case 4:return st(),null;case 10:return yi(n.type._context),null;case 22:case 23:return Di(),null;case 24:return null;default:return null}}var Sr=!1,ie=!1,md=typeof WeakSet=="function"?WeakSet:Set,E=null;function Zn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Q(e,n,r)}else t.current=null}function Uo(e,n,t){try{t()}catch(r){Q(e,n,r)}}var Uu=!1;function hd(e,n){if(ko=Vr,e=Qs(),fi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var i=0,u=-1,s=-1,c=0,h=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++c===l&&(u=i),p===o&&++h===r&&(s=i),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(Eo={focusedElem:e,selectionRange:t},Vr=!1,E=n;E!==null;)if(n=E,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,E=e;else for(;E!==null;){n=E;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,I=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:De(n.type,S),I);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){Q(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,E=e;break}E=n.return}return w=Uu,Uu=!1,w}function Ot(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Uo(n,t,o)}l=l.next}while(l!==r)}}function hl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function $o(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ba(e){var n=e.alternate;n!==null&&(e.alternate=null,Ba(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ve],delete n[Kt],delete n[xo],delete n[Jf],delete n[qf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ha(e){return e.tag===5||e.tag===3||e.tag===4}function $u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ha(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ao(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Wr));else if(r!==4&&(e=e.child,e!==null))for(Ao(e,n,t),e=e.sibling;e!==null;)Ao(e,n,t),e=e.sibling}function Vo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Vo(e,n,t),e=e.sibling;e!==null;)Vo(e,n,t),e=e.sibling}var ne=null,Ie=!1;function nn(e,n,t){for(t=t.child;t!==null;)Wa(e,n,t),t=t.sibling}function Wa(e,n,t){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(ul,t)}catch{}switch(t.tag){case 5:ie||Zn(t,n);case 6:var r=ne,l=Ie;ne=null,nn(e,n,t),ne=r,Ie=l,ne!==null&&(Ie?(e=ne,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):ne.removeChild(t.stateNode));break;case 18:ne!==null&&(Ie?(e=ne,t=t.stateNode,e.nodeType===8?Al(e.parentNode,t):e.nodeType===1&&Al(e,t),Vt(e)):Al(ne,t.stateNode));break;case 4:r=ne,l=Ie,ne=t.stateNode.containerInfo,Ie=!0,nn(e,n,t),ne=r,Ie=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Uo(t,n,i),l=l.next}while(l!==r)}nn(e,n,t);break;case 1:if(!ie&&(Zn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){Q(t,n,u)}nn(e,n,t);break;case 21:nn(e,n,t);break;case 22:t.mode&1?(ie=(r=ie)||t.memoizedState!==null,nn(e,n,t),ie=r):nn(e,n,t);break;default:nn(e,n,t)}}function Au(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new md),n.forEach(function(r){var l=Cd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Re(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yd(r/1960))-r,10e?16:e,sn===null)var r=!1;else{if(e=sn,sn=null,rl=0,D&6)throw Error(y(331));var l=D;for(D|=4,E=e.current;E!==null;){var o=E,i=o.child;if(E.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sY()-Ri?Ln(e,0):Li|=t),ve(e,n)}function qa(e,n){n===0&&(e.mode&1?(n=fr,fr<<=1,!(fr&130023424)&&(fr=4194304)):n=1);var t=ae();e=qe(e,n),e!==null&&(er(e,n,t),ve(e,t))}function _d(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),qa(e,t)}function Cd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),qa(e,t)}var ba;ba=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||me.current)pe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return pe=!1,fd(e,n,t);pe=!!(e.flags&131072)}else pe=!1,V&&n.flags&1048576&&ta(n,Xr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Rr(e,n),e=n.pendingProps;var l=ot(n,ue.current);tt(n,t),l=Ci(null,n,r,e,l,t);var o=xi();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,he(r)?(o=!0,Kr(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,wi(n),l.updater=pl,n.stateNode=l,l._reactInternals=n,Ro(n,r,e,t),n=Io(null,n,r,!0,o,t)):(n.tag=0,V&&o&&di(n),se(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Rr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nd(r),e=De(r,e),l){case 0:n=Do(null,n,r,e,t);break e;case 1:n=Mu(null,n,r,e,t);break e;case 11:n=Du(null,n,r,e,t);break e;case 14:n=Iu(null,n,r,De(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:De(r,l),Do(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:De(r,l),Mu(e,n,r,l,t);case 3:e:{if(Fa(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,ia(e,n),Jr(n,r,null,t);var i=n.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=at(Error(y(423)),n),n=Fu(e,n,r,t,l);break e}else if(r!==l){l=at(Error(y(424)),n),n=Fu(e,n,r,t,l);break e}else for(we=dn(n.stateNode.containerInfo.firstChild),Se=n,V=!0,Me=null,t=ca(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(it(),r===l){n=be(e,n,t);break e}se(e,n,r,t)}n=n.child}return n;case 5:return fa(n),e===null&&zo(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,_o(r,l)?i=null:o!==null&&_o(r,o)&&(n.flags|=32),Ma(e,n),se(e,n,i,t),n.child;case 6:return e===null&&zo(n),null;case 13:return ja(e,n,t);case 4:return Si(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=ut(n,null,r,t):se(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:De(r,l),Du(e,n,r,l,t);case 7:return se(e,n,n.pendingProps,t),n.child;case 8:return se(e,n,n.pendingProps.children,t),n.child;case 12:return se(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,i=l.value,U(Gr,r._currentValue),r._currentValue=i,o!==null)if(Ue(o.value,i)){if(o.children===l.children&&!me.current){n=be(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ge(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),To(o.return,t,n),u.lanes|=t;break}s=s.next}}else if(o.tag===10)i=o.type===n.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=t,u=i.alternate,u!==null&&(u.lanes|=t),To(i,t,n),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===n){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}se(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,tt(n,t),l=Te(l),r=r(l),n.flags|=1,se(e,n,r,t),n.child;case 14:return r=n.type,l=De(r,n.pendingProps),l=De(r.type,l),Iu(e,n,r,l,t);case 15:return Da(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:De(r,l),Rr(e,n),n.tag=1,he(r)?(e=!0,Kr(n)):e=!1,tt(n,t),sa(n,r,l),Ro(n,r,l,t),Io(null,n,r,!0,e,t);case 19:return Ua(e,n,t);case 22:return Ia(e,n,t)}throw Error(y(156,n.tag))};function ec(e,n){return Ns(e,n)}function xd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pe(e,n,t,r){return new xd(e,n,t,r)}function Mi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nd(e){if(typeof e=="function")return Mi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ei)return 11;if(e===ni)return 14}return 2}function vn(e,n){var t=e.alternate;return t===null?(t=Pe(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Ir(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")Mi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Vn:return Rn(t.children,l,o,n);case bo:i=8,l|=8;break;case eo:return e=Pe(12,t,n,l|2),e.elementType=eo,e.lanes=o,e;case no:return e=Pe(13,t,n,l),e.elementType=no,e.lanes=o,e;case to:return e=Pe(19,t,n,l),e.elementType=to,e.lanes=o,e;case as:return yl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case us:i=10;break e;case ss:i=9;break e;case ei:i=11;break e;case ni:i=14;break e;case tn:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=Pe(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Rn(e,n,t,r){return e=Pe(7,e,r,n),e.lanes=t,e}function yl(e,n,t,r){return e=Pe(22,e,r,n),e.elementType=as,e.lanes=t,e.stateNode={isHidden:!1},e}function Xl(e,n,t){return e=Pe(6,e,null,n),e.lanes=t,e}function Gl(e,n,t){return n=Pe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Pd(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Tl(0),this.expirationTimes=Tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Fi(e,n,t,r,l,o,i,u,s){return e=new Pd(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=Pe(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},wi(o),e}function zd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}n(),e.exports=Ee})(zc);var Xu=Jl;Zl.createRoot=Xu.createRoot,Zl.hydrateRoot=Xu.hydrateRoot;const Gu=e=>typeof e=="object"&&e!==null,Dd=({value:e="",numInputs:n=4,onChange:t,onPaste:r,renderInput:l,shouldAutoFocus:o=!1,inputType:i="text",renderSeparator:u,placeholder:s,containerStyle:c,inputStyle:h,skipDefaultStyles:m=!1})=>{const[p,g]=Nn.useState(0),w=Nn.useRef([]),S=()=>e?e.toString().split(""):[],I=i==="number"||i==="tel";Nn.useEffect(()=>{w.current=w.current.slice(0,n)},[n]),Nn.useEffect(()=>{var P;o&&((P=w.current[0])==null||P.focus())},[o]);const f=()=>{if(typeof s=="string"){if(s.length===n)return s;s.length>0&&console.error("Length of the placeholder should be equal to the number of inputs.")}},a=P=>(I?!isNaN(Number(P)):typeof P=="string")&&P.trim().length===1,d=P=>{const{value:O}=P.target;a(O)&&(j(O),C(p+1))},v=P=>{const{nativeEvent:O}=P,ee=P.target.value;a(ee)||(ee.length===n&&(ee.split("").some(Ce=>!a(Ce))||(T(ee.split("")),C(n-1))),O.data===null&&O.inputType==="deleteContentBackward"&&(P.preventDefault(),j(""),C(p-1)),P.target.value="")},k=P=>O=>{g(O),P.target.select()},x=()=>{g(p-1)},N=P=>{const O=S();[P.code,P.key].includes("Backspace")?(P.preventDefault(),j(""),C(p-1)):P.code==="Delete"?(P.preventDefault(),j("")):P.code==="ArrowLeft"?(P.preventDefault(),C(p-1)):P.code==="ArrowRight"||P.key===O[p]?(P.preventDefault(),C(p+1)):(P.code==="Spacebar"||P.code==="Space"||P.code==="ArrowUp"||P.code==="ArrowDown")&&P.preventDefault()},C=P=>{var ee,We;const O=Math.max(Math.min(n-1,P),0);w.current[O]&&((ee=w.current[O])==null||ee.focus(),(We=w.current[O])==null||We.select(),g(O))},j=P=>{const O=S();O[p]=P[0],T(O)},T=P=>{const O=P.join("");t(O)},ye=P=>{P.preventDefault();const O=S();let ee=p;const We=P.clipboardData.getData("text/plain").slice(0,n-p).split("");if(!(I&&We.some(Ce=>isNaN(Number(Ce))))){for(let Ce=0;Ce=p&&We.length>0&&(O[Ce]=We.shift()??"",ee++);C(ee),T(O)}};return M("div",{style:Object.assign({display:"flex",alignItems:"center"},Gu(c)&&c),className:typeof c=="string"?c:void 0,onPaste:r,children:Array.from({length:n},(P,O)=>O).map(P=>{var O;return Oe(Nn.Fragment,{children:[l({value:S()[P]??"",placeholder:((O=f())==null?void 0:O[P])??void 0,ref:ee=>w.current[P]=ee,onChange:d,onFocus:ee=>k(ee)(P),onBlur:x,onKeyDown:N,onPaste:ye,autoComplete:"off","aria-label":`Please enter OTP character ${P+1}`,style:Object.assign(m?{}:{width:"1em",textAlign:"center"},Gu(h)?h:{}),className:typeof h=="string"?h:void 0,type:i,inputMode:I?"numeric":"text",onInput:v},P),P{u(w=>({...w,otp:g}))},c=g=>{const{name:w,value:S}=g.target;u(I=>({...I,[w]:S}))},h=g=>{let w=g.target.valueAsNumber;(wl)&&(w=4,console.error(`Please enter a value between ${r} and ${l}`)),u(S=>({...S,numInputs:w}))},m=()=>{u(g=>({...g,otp:""}))};return Oe("div",{className:"container",children:[Oe("div",{className:"side-bar",children:[M("a",{href:"https://github.com/devfolioco/react-otp-input",target:"_blank",rel:"noreferrer",children:M("div",{className:"side-bar__segment side-bar__segment--header",children:M("h2",{children:"react-otp-input"})})}),M("div",{className:"side-bar__segment",children:Oe("label",{htmlFor:"num-inputs",children:["numInputs",M("input",{id:"num-inputs",name:"numInputs",type:"number",value:n,onChange:h,min:r,max:l})]})}),M("div",{className:"side-bar__segment",children:Oe("label",{htmlFor:"separator",children:["separator",M("input",{id:"separator",maxLength:1,name:"separator",type:"text",value:t,onChange:c})]})}),M("div",{className:"side-bar__segment",children:Oe("label",{htmlFor:"value",children:["value",M("input",{id:"value",maxLength:n,name:"otp",type:"text",value:e,onChange:c})]})}),M("div",{className:"side-bar__segment",children:Oe("label",{htmlFor:"placeholder",children:["placeholder",M("input",{id:"placeholder",name:"placeholder",type:"text",value:o,onChange:c})]})}),Oe("div",{className:"side-bar__segment",children:[M("label",{htmlFor:"inputType",children:"inputType"}),Oe("select",{id:"inputType",name:"inputType",value:i,onChange:c,children:[M("option",{value:"text",children:"text"}),M("option",{value:"number",children:"number"}),M("option",{value:"password",children:"password"}),M("option",{value:"tel",children:"tel"})]})]}),M("div",{className:"side-bar__segment side-bar__segment--bottom",children:M("a",{href:"https://github.com/devfolioco/react-otp-input",children:"Documentation and Source"})})]}),M("div",{className:"view",children:M("div",{className:"card",children:Oe("form",{onSubmit:g=>{g.preventDefault(),alert(e)},children:[M("p",{children:"Enter verification code"}),M("div",{className:"margin-top--small",children:M(Dd,{inputStyle:"inputStyle",numInputs:n,onChange:s,renderSeparator:M("span",{children:t}),value:e,placeholder:o,inputType:i,renderInput:g=>M("input",{...g}),shouldAutoFocus:!0})}),Oe("div",{className:"btn-row",children:[M("button",{className:"btn margin-top--large",type:"button",disabled:e.trim()==="",onClick:m,children:"Clear"}),M("button",{className:"btn margin-top--large",disabled:e.lengthreact-otp-input demo - +