diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..d1b121b Binary files /dev/null and b/icon.png differ diff --git a/index-988394fd.js b/index-988394fd.js new file mode 100644 index 0000000..77a2314 --- /dev/null +++ b/index-988394fd.js @@ -0,0 +1,66 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.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 n(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=n(l);fetch(l.href,o)}})();function hc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zu={exports:{}},ol={},Ju={exports:{}},T={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var bn=Symbol.for("react.element"),vc=Symbol.for("react.portal"),gc=Symbol.for("react.fragment"),yc=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),kc=Symbol.for("react.provider"),Sc=Symbol.for("react.context"),xc=Symbol.for("react.forward_ref"),Ec=Symbol.for("react.suspense"),Cc=Symbol.for("react.memo"),_c=Symbol.for("react.lazy"),$i=Symbol.iterator;function Nc(e){return e===null||typeof e!="object"?null:(e=$i&&e[$i]||e["@@iterator"],typeof e=="function"?e:null)}var qu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},bu=Object.assign,es={};function un(e,t,n){this.props=e,this.context=t,this.refs=es,this.updater=n||qu}un.prototype.isReactComponent={};un.prototype.setState=function(e,t){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,t,"setState")};un.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ts(){}ts.prototype=un.prototype;function Wo(e,t,n){this.props=e,this.context=t,this.refs=es,this.updater=n||qu}var Qo=Wo.prototype=new ts;Qo.constructor=Wo;bu(Qo,un.prototype);Qo.isPureReactComponent=!0;var Ai=Array.isArray,ns=Object.prototype.hasOwnProperty,Ko={current:null},rs={key:!0,ref:!0,__self:!0,__source:!0};function ls(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)ns.call(t,r)&&!rs.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Z=C[Q];if(0>>1;Ql(El,j))wtl(or,El)?(C[Q]=or,C[wt]=j,Q=wt):(C[Q]=El,C[yt]=j,Q=yt);else if(wtl(or,j))C[Q]=or,C[wt]=j,Q=wt;else break e}}return z}function l(C,z){var j=C.sortIndex-z.sortIndex;return j!==0?j:C.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=[],m=1,h=null,p=3,y=!1,w=!1,k=!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(C){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=C)r(c),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(c)}}function v(C){if(k=!1,d(C),!w)if(n(s)!==null)w=!0,Sl(E);else{var z=n(c);z!==null&&xl(v,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,f(P),P=-1),y=!0;var j=p;try{for(d(z),h=n(s);h!==null&&(!(h.expirationTime>z)||C&&!Pe());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,p=h.priorityLevel;var Z=Q(h.expirationTime<=z);z=e.unstable_now(),typeof Z=="function"?h.callback=Z:h===n(s)&&r(s),d(z)}else r(s);h=n(s)}if(h!==null)var lr=!0;else{var yt=n(c);yt!==null&&xl(v,yt.startTime-z),lr=!1}return lr}finally{h=null,p=j,y=!1}}var _=!1,N=null,P=-1,W=5,L=-1;function Pe(){return!(e.unstable_now()-LC||125Q?(C.sortIndex=j,t(c,C),n(s)===null&&C===n(c)&&(k?(f(P),P=-1):k=!0,xl(v,j-Q))):(C.sortIndex=Z,t(s,C),w||y||(w=!0,Sl(E))),C},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(C){var z=p;return function(){var j=p;p=z;try{return C.apply(this,arguments)}finally{p=j}}}})(ss);us.exports=ss;var Uc=us.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var as=lt,ye=Uc;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jl=Object.prototype.hasOwnProperty,$c=/^[: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]*$/,Vi={},Hi={};function Ac(e){return Jl.call(Hi,e)?!0:Jl.call(Vi,e)?!1:$c.test(e)?Hi[e]=!0:(Vi[e]=!0,!1)}function Bc(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Vc(e,t,n,r){if(t===null||typeof t>"u"||Bc(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(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 ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Xo=/[\-:]([a-z])/g;function Go(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 t=e.replace(Xo,Go);te[t]=new ae(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Xo,Go);te[t]=new ae(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Xo,Go);te[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zo(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2u||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=n}return(e=e?e.displayName||e.name:"")?Sn(e):""}function Hc(e){switch(e.tag){case 5:return Sn(e.type);case 16:return Sn("Lazy");case 13:return Sn("Suspense");case 19:return Sn("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 to(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 Dt:return"Fragment";case Mt:return"Portal";case ql:return"Profiler";case Jo:return"StrictMode";case bl:return"Suspense";case eo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ds:return(e.displayName||"Context")+".Consumer";case fs:return(e._context.displayName||"Context")+".Provider";case qo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bo:return t=e.displayName||null,t!==null?t:to(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return to(e(t))}catch{}}return null}function Wc(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return to(t);case 8:return t===Jo?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ms(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qc(e){var t=ms(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function sr(e){e._valueTracker||(e._valueTracker=Qc(e))}function hs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ms(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mr(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 no(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qi(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vs(e,t){t=t.checked,t!=null&&Zo(e,"checked",t,!1)}function ro(e,t){vs(e,t);var n=pt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lo(e,t.type,n):t.hasOwnProperty("defaultValue")&&lo(e,t.type,pt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ki(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function lo(e,t,n){(t!=="number"||Mr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var xn=Array.isArray;function Yt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ar.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nn={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},Kc=["Webkit","ms","Moz","O"];Object.keys(Nn).forEach(function(e){Kc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nn[t]=Nn[e]})});function ks(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nn.hasOwnProperty(e)&&Nn[e]?(""+t).trim():t+"px"}function Ss(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ks(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Yc=V({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 uo(e,t){if(t){if(Yc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function so(e,t){if(e.indexOf("-")===-1)return typeof t.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 ao=null;function ei(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var co=null,Xt=null,Gt=null;function Gi(e){if(e=nr(e)){if(typeof co!="function")throw Error(g(280));var t=e.stateNode;t&&(t=cl(t),co(e.stateNode,e.type,t))}}function xs(e){Xt?Gt?Gt.push(e):Gt=[e]:Xt=e}function Es(){if(Xt){var e=Xt,t=Gt;if(Gt=Xt=null,Gi(e),t)for(e=0;e>>=0,e===0?32:31-(lf(e)/of|0)|0}var cr=64,fr=4194304;function En(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 $r(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=En(u):(o&=i,o!==0&&(r=En(o)))}else i=n&~l,i!==0?r=En(i):o!==0&&(r=En(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function er(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function cf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zn),lu=String.fromCharCode(32),ou=!1;function Hs(e,t){switch(e){case"keyup":return Uf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ws(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ft=!1;function Af(e,t){switch(e){case"compositionend":return Ws(t);case"keypress":return t.which!==32?null:(ou=!0,lu);case"textInput":return e=t.data,e===lu&&ou?null:e;default:return null}}function Bf(e,t){if(Ft)return e==="compositionend"||!si&&Hs(e,t)?(e=Bs(),Nr=oi=nt=null,Ft=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=au(n)}}function Xs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gs(){for(var e=window,t=Mr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mr(e.document)}return t}function ai(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zf(e){var t=Gs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xs(n.ownerDocument.documentElement,n)){if(r!==null&&ai(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.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=cu(n,o);var i=cu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ut=null,go=null,Tn=null,yo=!1;function fu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yo||Ut==null||Ut!==Mr(r)||(r=Ut,"selectionStart"in r&&ai(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}),Tn&&Hn(Tn,r)||(Tn=r,r=Vr(go,"onSelect"),0Bt||(e.current=Co[Bt],Co[Bt]=null,Bt--)}function D(e,t){Bt++,Co[Bt]=e.current,e.current=t}var mt={},oe=vt(mt),de=vt(!1),Pt=mt;function en(e,t){var n=e.type.contextTypes;if(!n)return mt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Wr(){U(de),U(oe)}function yu(e,t,n){if(oe.current!==mt)throw Error(g(168));D(oe,t),D(de,n)}function la(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(g(108,Wc(e)||"Unknown",l));return V({},n,r)}function Qr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mt,Pt=oe.current,D(oe,e),D(de,de.current),!0}function wu(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=la(e,t,Pt),r.__reactInternalMemoizedMergedChildContext=e,U(de),U(oe),D(oe,e)):U(de),D(de,n)}var Ve=null,fl=!1,Bl=!1;function oa(e){Ve===null?Ve=[e]:Ve.push(e)}function sd(e){fl=!0,oa(e)}function gt(){if(!Bl&&Ve!==null){Bl=!0;var e=0,t=I;try{var n=Ve;for(I=1;e>=i,l-=i,He=1<<32-Oe(t)+l|n<P?(W=N,N=null):W=N.sibling;var L=p(f,N,d[P],v);if(L===null){N===null&&(N=W);break}e&&N&&L.alternate===null&&t(f,N),a=o(L,a,P),_===null?E=L:_.sibling=L,_=L,N=W}if(P===d.length)return n(f,N),$&&kt(f,P),E;if(N===null){for(;PP?(W=N,N=null):W=N.sibling;var Pe=p(f,N,L.value,v);if(Pe===null){N===null&&(N=W);break}e&&N&&Pe.alternate===null&&t(f,N),a=o(Pe,a,P),_===null?E=Pe:_.sibling=Pe,_=Pe,N=W}if(L.done)return n(f,N),$&&kt(f,P),E;if(N===null){for(;!L.done;P++,L=d.next())L=h(f,L.value,v),L!==null&&(a=o(L,a,P),_===null?E=L:_.sibling=L,_=L);return $&&kt(f,P),E}for(N=r(f,N);!L.done;P++,L=d.next())L=y(N,f,P,L.value,v),L!==null&&(e&&L.alternate!==null&&N.delete(L.key===null?P:L.key),a=o(L,a,P),_===null?E=L:_.sibling=L,_=L);return e&&N.forEach(function(cn){return t(f,cn)}),$&&kt(f,P),E}function M(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Dt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ur:e:{for(var E=d.key,_=a;_!==null;){if(_.key===E){if(E=d.type,E===Dt){if(_.tag===7){n(f,_.sibling),a=l(_,d.props.children),a.return=f,f=a;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===qe&&Nu(E)===_.type){n(f,_.sibling),a=l(_,d.props),a.ref=gn(f,_,d),a.return=f,f=a;break e}n(f,_);break}else t(f,_);_=_.sibling}d.type===Dt?(a=Nt(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=gn(f,a,d),v.return=f,f=v)}return i(f);case Mt:e:{for(_=d.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Gl(d,f.mode,v),a.return=f,f=a}return i(f);case qe:return _=d._init,M(f,a,_(d._payload),v)}if(xn(d))return w(f,a,d,v);if(dn(d))return k(f,a,d,v);yr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Xl(d,f.mode,v),a.return=f,f=a),i(f)):n(f,a)}return M}var nn=pa(!0),ma=pa(!1),rr={},Ae=vt(rr),Yn=vt(rr),Xn=vt(rr);function Ct(e){if(e===rr)throw Error(g(174));return e}function yi(e,t){switch(D(Xn,t),D(Yn,e),D(Ae,rr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:io(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=io(t,e)}U(Ae),D(Ae,t)}function rn(){U(Ae),U(Yn),U(Xn)}function ha(e){Ct(Xn.current);var t=Ct(Ae.current),n=io(t,e.type);t!==n&&(D(Yn,e),D(Ae,n))}function wi(e){Yn.current===e&&(U(Ae),U(Yn))}var A=vt(0);function Jr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vl=[];function ki(){for(var e=0;en?n:4,e(!0);var r=Hl.transition;Hl.transition={};try{e(!1),t()}finally{I=n,Hl.transition=r}}function La(){return Ne().memoizedState}function dd(e,t,n){var r=ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ra(e))Oa(t,n);else if(n=aa(e,t,n,r),n!==null){var l=ue();Ie(n,e,r,l),Ia(n,t,r)}}function pd(e,t,n){var r=ft(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ra(e))Oa(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Me(u,i)){var s=t.interleaved;s===null?(l.next=l,vi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=aa(e,t,l,r),n!==null&&(l=ue(),Ie(n,e,r,l),Ia(n,t,r))}}function Ra(e){var t=e.alternate;return e===B||t!==null&&t===B}function Oa(e,t){Ln=qr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ia(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ni(e,n)}}var br={readContext:_e,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},md={readContext:_e,useCallback:function(e,t){return Fe().memoizedState=[e,t===void 0?null:t],e},useContext:_e,useEffect:zu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Tr(4194308,4,Na.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Tr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Tr(4,2,e,t)},useMemo:function(e,t){var n=Fe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fe();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=dd.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Fe();return e={current:e},t.memoizedState=e},useState:Pu,useDebugValue:_i,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=Pu(!1),t=e[0];return e=fd.bind(null,e[1]),Fe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Fe();if($){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),q===null)throw Error(g(349));jt&30||ya(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,zu(ka.bind(null,r,o,e),[e]),r.flags|=2048,Jn(9,wa.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Fe(),t=q.identifierPrefix;if($){var n=We,r=He;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ue]=t,e[Kn]=r,Ha(e,t,!1,!1),t.stateNode=e;e:{switch(i=so(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lon&&(t.flags|=128,r=!0,yn(o,!1),t.lanes=4194304)}else{if(!r)if(e=Jr(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return re(t),null}else 2*K()-o.renderingStartTime>on&&n!==1073741824&&(t.flags|=128,r=!0,yn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=A.current,D(A,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return Li(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?he&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function xd(e,t){switch(fi(t),t.tag){case 1:return pe(t.type)&&Wr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rn(),U(de),U(oe),ki(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wi(t),null;case 13:if(U(A),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));tn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(A),null;case 4:return rn(),null;case 10:return hi(t.type._context),null;case 22:case 23:return Li(),null;case 24:return null;default:return null}}var kr=!1,le=!1,Ed=typeof WeakSet=="function"?WeakSet:Set,S=null;function Qt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){H(e,t,r)}else n.current=null}function Do(e,t,n){try{n()}catch(r){H(e,t,r)}}var Fu=!1;function Cd(e,t){if(wo=Ar,e=Gs(),ai(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,c=0,m=0,h=e,p=null;t:for(;;){for(var y;h!==n||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(y=h.firstChild)!==null;)p=h,h=y;for(;;){if(h===e)break t;if(p===n&&++c===l&&(u=i),p===o&&++m===r&&(s=i),(y=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ko={focusedElem:e,selectionRange:n},Ar=!1,S=t;S!==null;)if(t=S,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,S=e;else for(;S!==null;){t=S;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,M=w.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:je(t.type,k),M);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.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(g(163))}}catch(v){H(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,S=e;break}S=t.return}return w=Fu,Fu=!1,w}function Rn(e,t,n){var r=t.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&&Do(t,n,o)}l=l.next}while(l!==r)}}function ml(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Fo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ka(e){var t=e.alternate;t!==null&&(e.alternate=null,Ka(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Kn],delete t[Eo],delete t[id],delete t[ud])),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 Ya(e){return e.tag===5||e.tag===3||e.tag===4}function Uu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ya(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 Uo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Hr));else if(r!==4&&(e=e.child,e!==null))for(Uo(e,t,n),e=e.sibling;e!==null;)Uo(e,t,n),e=e.sibling}function $o(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($o(e,t,n),e=e.sibling;e!==null;)$o(e,t,n),e=e.sibling}var b=null,Te=!1;function Je(e,t,n){for(n=n.child;n!==null;)Xa(e,t,n),n=n.sibling}function Xa(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(il,n)}catch{}switch(n.tag){case 5:le||Qt(n,t);case 6:var r=b,l=Te;b=null,Je(e,t,n),b=r,Te=l,b!==null&&(Te?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(Te?(e=b,n=n.stateNode,e.nodeType===8?Al(e.parentNode,n):e.nodeType===1&&Al(e,n),Bn(e)):Al(b,n.stateNode));break;case 4:r=b,l=Te,b=n.stateNode.containerInfo,Te=!0,Je(e,t,n),b=r,Te=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.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)&&Do(n,t,i),l=l.next}while(l!==r)}Je(e,t,n);break;case 1:if(!le&&(Qt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){H(n,t,u)}Je(e,t,n);break;case 21:Je(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,Je(e,t,n),le=r):Je(e,t,n);break;default:Je(e,t,n)}}function $u(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ed),t.forEach(function(r){var l=Od.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Nd(r/1960))-r,10e?16:e,rt===null)var r=!1;else{if(e=rt,rt=null,nl=0,O&6)throw Error(g(331));var l=O;for(O|=4,S=e.current;S!==null;){var o=S,i=o.child;if(S.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-ji?_t(e,0):zi|=n),me(e,t)}function nc(e,t){t===0&&(e.mode&1?(t=fr,fr<<=1,!(fr&130023424)&&(fr=4194304)):t=1);var n=ue();e=Xe(e,t),e!==null&&(er(e,t,n),me(e,n))}function Rd(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nc(e,n)}function Od(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(g(314))}r!==null&&r.delete(t),nc(e,n)}var rc;rc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,kd(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&ia(t,Yr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lr(e,t),e=t.pendingProps;var l=en(t,oe.current);Jt(t,n),l=xi(null,t,r,e,l,n);var o=Ei();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(o=!0,Qr(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,gi(t),l.updater=dl,t.stateNode=l,l._reactInternals=t,jo(t,r,e,n),t=Ro(null,t,r,!0,o,n)):(t.tag=0,$&&o&&ci(t),ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Md(r),e=je(r,e),l){case 0:t=Lo(null,t,r,e,n);break e;case 1:t=Iu(null,t,r,e,n);break e;case 11:t=Ru(null,t,r,e,n);break e;case 14:t=Ou(null,t,r,je(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Lo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Iu(e,t,r,l,n);case 3:e:{if(Aa(t),e===null)throw Error(g(387));r=t.pendingProps,o=t.memoizedState,l=o.element,ca(e,t),Zr(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=ln(Error(g(423)),t),t=Mu(e,t,r,n,l);break e}else if(r!==l){l=ln(Error(g(424)),t),t=Mu(e,t,r,n,l);break e}else for(ve=st(t.stateNode.containerInfo.firstChild),ge=t,$=!0,Le=null,n=ma(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tn(),r===l){t=Ge(e,t,n);break e}ie(e,t,r,n)}t=t.child}return t;case 5:return ha(t),e===null&&No(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,So(r,l)?i=null:o!==null&&So(r,o)&&(t.flags|=32),$a(e,t),ie(e,t,i,n),t.child;case 6:return e===null&&No(t),null;case 13:return Ba(e,t,n);case 4:return yi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nn(t,null,r,n):ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Ru(e,t,r,l,n);case 7:return ie(e,t,t.pendingProps,n),t.child;case 8:return ie(e,t,t.pendingProps.children,n),t.child;case 12:return ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,D(Xr,r._currentValue),r._currentValue=i,o!==null)if(Me(o.value,i)){if(o.children===l.children&&!de.current){t=Ge(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);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=Qe(-1,n&-n),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Po(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(g(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Po(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Jt(t,n),l=_e(l),r=r(l),t.flags|=1,ie(e,t,r,n),t.child;case 14:return r=t.type,l=je(r,t.pendingProps),l=je(r.type,l),Ou(e,t,r,l,n);case 15:return Fa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:je(r,l),Lr(e,t),t.tag=1,pe(r)?(e=!0,Qr(t)):e=!1,Jt(t,n),da(t,r,l),jo(t,r,l,n),Ro(null,t,r,!0,e,n);case 19:return Va(e,t,n);case 22:return Ua(e,t,n)}throw Error(g(156,t.tag))};function lc(e,t){return Ts(e,t)}function Id(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ee(e,t,n,r){return new Id(e,t,n,r)}function Oi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Md(e){if(typeof e=="function")return Oi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qo)return 11;if(e===bo)return 14}return 2}function dt(e,t){var n=e.alternate;return n===null?(n=Ee(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ir(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Oi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Dt:return Nt(n.children,l,o,t);case Jo:i=8,l|=8;break;case ql:return e=Ee(12,n,t,l|2),e.elementType=ql,e.lanes=o,e;case bl:return e=Ee(13,n,t,l),e.elementType=bl,e.lanes=o,e;case eo:return e=Ee(19,n,t,l),e.elementType=eo,e.lanes=o,e;case ps:return vl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fs:i=10;break e;case ds:i=9;break e;case qo:i=11;break e;case bo:i=14;break e;case qe:i=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ee(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Nt(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function vl(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=ps,e.lanes=n,e.stateNode={isHidden:!1},e}function Xl(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function Gl(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dd(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=jl(0),this.expirationTimes=jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ii(e,t,n,r,l,o,i,u,s){return e=new Dd(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ee(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gi(o),e}function Fd(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sc)}catch(e){console.error(e)}}sc(),is.exports=we;var Vd=is.exports,ac,Yu=Vd;ac=Yu.createRoot,Yu.hydrateRoot;var R={};Object.defineProperty(R,"__esModule",{value:!0});R.trimAllSpaces=R.trim=R.setLocalItem=R.setCookie=R.roundNumber=R.logg=R.isString=R.isObject=fc=R.isExistAndNotNull=R.getRandomString=R.getRandomNum=R.getLocalItem=R.getEventTarget=R.getCookie=R.forEach=R.deleteNode=R.capz=void 0;var Hd=console.log;R.logg=Hd;var Wd=function(t){return typeof t=="string"};R.isString=Wd;var Qd=function(t){if(Array.isArray(t))return!1;var n=typeof t;return t!=null&&n==="object"};R.isObject=Qd;var cc=function(t){return!(typeof t>"u"||t==null)},fc=R.isExistAndNotNull=cc,_n=function(){var t=arguments.length>=1?arguments[0]:0,n=arguments.length==2?arguments[1]:1e8;if(t>n)throw new Error("First params describe a minimum and it must be smaller than "+n+". If you need a bigger number use second argument");return Math.floor(Math.random()*(n-t)+t)};R.getRandomNum=_n;var Kd=function(t,n){if(typeof t!="number")throw new Error("First argument must be a number");var r=typeof n=="number"?n:1;return Math.round(t*Math.pow(10,r))/Math.pow(10,r)};R.roundNumber=Kd;var Yd=function(t,n,r){if(!Array.isArray(t))throw new Error("First argument must be an array");if(!n||typeof n!="function")throw new Error("Second argument must be a function");for(var l=0;l0&&(o=n.indexOf(r),o>-1&&(o+=r.length,i=n.indexOf(";",o),i===-1&&(i=n.length),l=unescape(n.substring(o,i)))),l};R.getCookie=ep;var tp=function(t,n,r){var l=cc(r)?r:31536e3;document.cookie=t+"="+n+"; max-age="+l+"; path=/;"};R.setCookie=tp;var np=function(t,n,r){var l={value:n,expiry:Date.now()+r};localStorage.setItem(t,JSON.stringify(l))};R.setLocalItem=np;var rp=function(t){var n=localStorage.getItem(t);if(!n)return null;var r=JSON.parse(n),l=new Date;return l.getTime()>r.expiry?(localStorage.removeItem(t),null):r.value};R.getLocalItem=rp;(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";.teleaps-amount-input{min-height:24px;max-width:100%;padding-left:0}.teleaps-amount-input.unacceptable input{color:#cc2929}.teleaps-amount-input .amount-input-main-row{display:flex;align-items:baseline}.teleaps-amount-input .amount-input-main-row input{font-family:Roboto;font-size:36px;font-weight:500;background:none;border:none;margin:0;padding:0;line-height:20px;max-width:100%!important}.teleaps-amount-input .amount-input-main-row input[type=number]::-webkit-outer-spin-button,.teleaps-amount-input .amount-input-main-row input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}.teleaps-amount-input .amount-input-main-row input[type=number],.teleaps-amount-input .amount-input-main-row input[type=number]:hover,.teleaps-amount-input .amount-input-main-row input[type=number]:focus{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.teleaps-amount-input .amount-input-main-row input:focus{outline:none}.teleaps-amount-input .amount-input-main-row input ::placeholder{color:#00f;font-size:26px}.teleaps-amount-input .amount-input-main-row .amount-input-label{color:#7f8c97;margin-right:5px;display:inline-flex;align-items:flex-end;-webkit-user-select:none;user-select:none}.teleaps-amount-input .amount-input-main-row .amount-input-units{display:flex;align-items:flex-end;color:#7f8c97;-webkit-user-select:none;user-select:none}.teleaps-amount-input .amount-input-underline{height:1px;margin-top:8px;border-bottom:1px solid #7f8c97}.teleaps-custom-button{padding:8px;max-height:48px;border-radius:4px;cursor:pointer;white-space:break-spaces;font-style:normal;font-family:Roboto Bold;display:inline-flex;align-items:center;justify-content:center;border:1px solid #50a7ea;color:#fff;background:#50a7ea}.teleaps-custom-button:hover{border-color:#fff!important}.teleaps-custom-button:disabled{opacity:.3}.teleaps-custom-button.outline{background:none;box-shadow:none;color:#50a7ea}.teleaps-custom-checkbox{display:flex;text-align:center}.teleaps-custom-checkbox .custom-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none;line-height:20px}.teleaps-custom-checkbox .custom-checkbox+label{display:inline-flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;line-height:20px}.teleaps-custom-checkbox.no-text .custom-checkbox+label:before{margin-right:0}.teleaps-custom-checkbox.rounded .custom-checkbox+label:before{border-radius:50%}.teleaps-custom-checkbox .custom-checkbox+label:before{content:"";margin-right:12px;display:inline-block;flex-shrink:0;flex-grow:0;border:1px solid #7f8c97;border-radius:4px;background:none;font-size:15px;line-height:20px;cursor:pointer;width:20px;height:20px}.teleaps-custom-checkbox .custom-checkbox:checked+label:before{width:20px;height:20px;line-height:20px;content:"✓ ";color:#fff;background-color:#50a7ea;border-color:transparent}.teleaps-dots-slider{display:flex;height:11px;padding-top:24px;padding-bottom:8px}.teleaps-dots-slider>div{flex-grow:1;display:flex;align-items:center}.teleaps-dots-slider>div:last-child{flex-grow:0}.teleaps-dots-slider .dots-slider-point{width:6px;height:6px;border-radius:50%;margin:0 4px;background:#7f8c97}.teleaps-dots-slider .dots-slider-point.active-dot{background:#50a7ea}.teleaps-dots-slider .dots-slider-point.current-dot{width:11px;height:11px}.teleaps-dots-slider .dots-slider-point.current-dot .dots-slider-caption{bottom:24px;left:0}.teleaps-dots-slider .dots-slider-point .dots-slider-caption{font-size:12px;line-height:14px;position:relative;bottom:26px;color:#7f8c97;-webkit-user-select:none;user-select:none;width:20px;text-align:left}.teleaps-dots-slider .dots-slider-line{height:2px;flex-grow:1;background:#7f8c97}.teleaps-dots-slider .dots-slider-line.active-line{background:#50a7ea}.teleaps-spinner-container{width:100%;height:100vh;margin:0;display:flex;place-items:center;justify-content:center}.teleaps-spinner-container .spinner{height:50px;width:50px;border-left:3px solid #7f8c97;border-bottom:3px solid #7f8c97;border-right:3px solid #7f8c97;border-top:3px solid transparent;border-radius:50%;animation:spinner .8s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.teleaps-progress-bar{overflow:hidden;width:100%}.teleaps-progress-bar .bar-background{display:block;background:#b0b9c2;border-radius:7px}.teleaps-progress-bar .bar-background .completed-progress{display:block;border-radius:7px;background:#50a7ea;padding:2px;width:0}.teleaps-range-slider input{height:5px;width:100%}.teleaps-range-slider input[type=range]{-webkit-appearance:none}.teleaps-range-slider input[type=range]:focus{outline:none}.teleaps-range-slider input[type=range]::-ms-track{width:100%;cursor:pointer;background:transparent;border-color:transparent;color:transparent}.teleaps-range-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:3px solid #6ea0e6;background:#fff;height:24px;width:24px;border-radius:50%;cursor:pointer;margin-top:-6px}.teleaps-range-slider input[type=range]::-moz-range-thumb{border:3px solid #6ea0e6;background:#fff;height:24px;width:24px;border-radius:50%;cursor:pointer}.teleaps-range-slider input[type=range]::-webkit-slider-runnable-track{height:10px;cursor:pointer;background:#50a7ea;border-radius:4px}.teleaps-range-slider input[type=range]:focus::-webkit-slider-runnable-track{background:#50a7ea}.teleaps-range-slider input[type=range]::-moz-range-track{height:10px;cursor:pointer;background:#50a7ea;border-radius:4px}.teleaps-simple-input{min-height:24px;max-width:100%;padding-left:12px}.teleaps-simple-input.unacceptable input{color:#cc2929}.teleaps-simple-input .simple-input-main-row{display:flex;align-items:baseline}.teleaps-simple-input .simple-input-main-row input{font-family:Roboto;font-size:16px;font-weight:400;background:none;border:none;margin:0;padding:0;line-height:19px;max-width:100%!important}.teleaps-simple-input .simple-input-main-row input[type=number]::-webkit-outer-spin-button,.teleaps-simple-input .simple-input-main-row input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}.teleaps-simple-input .simple-input-main-row input[type=number],.teleaps-simple-input .simple-input-main-row input[type=number]:hover,.teleaps-simple-input .simple-input-main-row input[type=number]:focus{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.teleaps-simple-input .simple-input-main-row input:focus{outline:none}.teleaps-simple-input .simple-input-main-row .simple-input-label{color:#7f8c97;margin-right:5px;display:inline-flex;align-items:flex-end}.teleaps-simple-input .simple-input-main-row .simple-input-units{display:flex;align-items:flex-end;color:#7f8c97}.teleaps-simple-input .simple-input-underline{height:1px;margin-top:8px;border-bottom:1px solid #7f8c97}.teleaps-custom-switch{display:flex;align-items:center;height:20px}.teleaps-custom-switch .switch-background{width:30px;height:13px;border-radius:10px;cursor:pointer;display:flex;align-items:center}.teleaps-custom-switch .switch-punkt,.teleaps-custom-switch .switch-punkt-selected{width:20px;height:20px;position:relative;border:2px solid;border-radius:10px;box-sizing:border-box;background:#fff;-webkit-transition:left .4s;-moz-transition:left .4s;-o-transition:left .4s;-ms-transition:left .4s;transition:left .4s}.teleaps-custom-switch .switch-punkt{left:-15%}.teleaps-custom-switch .switch-punkt-selected{left:50%}.teleaps-tabs-container{padding-bottom:12px}.teleaps-tabs-container .tabs-captions{display:flex;flex-direction:row;justify-content:space-around}.teleaps-tabs-container .tabs-captions .tab-caption{font-family:Roboto;font-size:16px;font-weight:500;margin:12px 0 24px;color:#b0b9c2;-webkit-user-select:none;user-select:none;cursor:pointer}.teleaps-tabs-container .tabs-captions .tab-caption.current-tab{color:#50a7ea;border-bottom:3px solid #50a7ea;padding-bottom:12px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var dc={exports:{}},kn={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Xu;function lp(){if(Xu)return kn;Xu=1;var e=Lc,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(u,s,c){var m,h={},p=null,y=null;c!==void 0&&(p=""+c),s.key!==void 0&&(p=""+s.key),s.ref!==void 0&&(y=s.ref);for(m in s)r.call(s,m)&&!o.hasOwnProperty(m)&&(h[m]=s[m]);if(u&&u.defaultProps)for(m in s=u.defaultProps,s)h[m]===void 0&&(h[m]=s[m]);return{$$typeof:t,type:u,key:p,ref:y,props:h,_owner:l.current}}return kn.Fragment=n,kn.jsx=i,kn.jsxs=i,kn}dc.exports=lp();var Re=dc.exports;function pc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const[s,c]=lt.useState(!1),m=lt.useRef(null),h=typeof u<"u",p=f=>{h&&f>u?c(!0):c(!1)},y=()=>{if(!m.current)return;const f=m.current.value;let a;a=parseFloat(f),isNaN(a)?a=0:u&&a>u&&(a=u,c(!0)),n(a),m.current.value=String(a)},w=Mn({"teleaps-amount-input":!0,[e]:e,unacceptable:s}),k=fc(t)?String(t).length*19+2+"px":"25px",M={...o,width:k};return s&&M.color&&delete M.color,lt.useEffect(()=>{m.current&&(h&&p(t),m.current.value=String(t))},[t,u,m.current]),Re.jsx("div",{className:w,children:Re.jsxs("div",{className:"amount-input-main-row",children:[l&&Re.jsx("div",{className:"amount-input-label",children:l}),Re.jsx("input",{onChange:y,type:"number",placeholder:r,style:M,inputMode:"decimal",ref:m}),i&&Re.jsx("div",{className:"amount-input-units",children:i})]})})},Zl=({type:e,size:t,color:n,className:r,children:l,onClick:o,disabled:i})=>{const u=t?t+"px":"auto",s=l?void 0:u,c=p=>{i||o(p)},m={width:t?s:"",height:t?u:"",color:n&&(e==="outline"?n:""),background:n&&(e!=="outline"?n:""),borderColor:n},h=Mn({"teleaps-custom-button":!0,[e]:e,[n]:n,[r]:r});return Re.jsx("button",{className:h,onClick:c,style:m,disabled:i,children:l})},ip=()=>Re.jsx("div",{className:"teleaps-spinner-container",children:Re.jsx("div",{className:"spinner"})}),up=({className:e,selected:t,switchHandler:n,activeColor:r,defaultColor:l})=>{const o=Mn({"teleaps-custom-switch":!0,[e]:e}),i=Mn({"switch-background":!0,"no-select":!0}),u=Mn({"switch-punkt-selected":t,"switch-punkt":!t}),s=t?r:l;return Re.jsx("div",{className:o,onClick:n,children:Re.jsx("div",{className:i,style:{background:s},children:Re.jsx("div",{className:u,style:{borderColor:r},children:" "})})})};const sp=document.getElementById("main-node"),Gu=lt.useState,ap=()=>{const[e,t]=Gu(null),[n,r]=Gu(!0);return x.jsxs("div",{children:[x.jsx("h2",{children:"Teleapstyle Guide"}),"Teleapstyle is a lightweight components lib to easy build your Telegram mini-apps. The main idea of Teleapstyle is to create a simple and minimalistic component library that would look as close as possible to the native design of Telegram Mini Apps.",x.jsx("br",{}),x.jsx("br",{}),"Please note - the components by default use the standard colors of the standard Telegram light theme and don't use theme CSS variables (it is implemented in this order to not to update the package every time if vars changed in initData, due to TMA.js development), instead you can pass it to the components that support color-parameter, or just pass your own class.",x.jsx("br",{}),x.jsx("br",{}),"You can ",x.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/Psychosynthesis/Teleapstyle",children:"suggest your improvements"}),", we will definitely consider them.",x.jsx("h3",{children:"Usage"}),"First add the library package with npm:",x.jsx("br",{}),x.jsx("pre",{children:"npm i teleapstyle"}),x.jsx("br",{}),x.jsx("br",{}),"You can simply import all the functions from the library:",x.jsx("br",{}),x.jsx("pre",{children:"import * as Components from 'teleapstyle';"}),x.jsx("pre",{children:" // In this case you can use it like this"}),x.jsx("br",{}),x.jsx("br",{}),"Or just import only neccessary:",x.jsx("pre",{children:"import { AmountInput, Button } from 'teleapstyle';"}),x.jsx("br",{}),x.jsx("br",{}),x.jsx("hr",{}),x.jsx("br",{}),x.jsxs("div",{className:"component-row",children:[x.jsx("h3",{children:"AmountInput"}),"You can see a similar-looking component in the official ",x.jsx("a",{href:"https://t.me/wallet",target:"_blank",rel:"noopener noreferrer",children:"@Wallet"})," bot (for example, when replenishing or entering the purchase amount). We've added an optional signature to the left. This component is used only for numeric input, for others use SimpleInput component.",x.jsx("br",{}),x.jsx("br",{}),x.jsx("div",{className:"component-tips-label",children:"Demo:"}),x.jsx(op,{value:e,valueSetter:t,placeholder:"0",label:"Buy",units:"%",inputStyle:{color:"#fff"},max:100}),x.jsx("div",{className:"component-tips-label",children:"Code:"}),x.jsx("pre",{children:` + const [amountInputVal, setAmountInputVal] = useState(null); + + // ... + + `})]}),x.jsxs("div",{className:"component-row",children:[x.jsx("h3",{children:"Button"}),"This is just a button. No, really. You can pass a child element, such as a link or your own icon.",x.jsx("br",{}),x.jsx("br",{}),x.jsx("div",{className:"component-tips-label",children:"Demo:"}),x.jsxs("div",{style:{display:"flex",justifyContent:"space-around"},children:[x.jsx(Zl,{onClick:()=>{},children:"Just Button"}),x.jsxs(Zl,{onClick:()=>{},color:"#2f6ea5",children:[x.jsx("img",{src:"/icon.png"})," Button with child & color"]}),x.jsx(Zl,{onClick:()=>{},type:"outline",size:14,color:"#ffffff",children:"Small outline Button"})]}),x.jsx("div",{className:"component-tips-label",children:"Code:"}),x.jsx("pre",{children:""}),x.jsx("pre",{children:''}),x.jsx("pre",{children:''})]}),x.jsxs("div",{className:"component-row",children:[x.jsx("h3",{children:"Switch"}),"Switch-like select",x.jsx("br",{}),x.jsx("br",{}),x.jsx("div",{className:"component-tips-label",children:"Demo:"}),x.jsx("div",{style:{display:"flex",justifyContent:"space-around"},children:x.jsx(up,{selected:n,switchHandler:()=>r(!n),activeColor:"#50a7ea",defaultColor:"#bbb"})}),x.jsx("div",{className:"component-tips-label",children:"Code:"}),x.jsx("pre",{children:` + setSwitchState(!switchState)} + activeColor="#50a7ea" + defaultColor="#bbb" />`})]}),x.jsxs("div",{className:"component-row",children:[x.jsx("h3",{children:"Loader"}),"Just a simplest spinner",x.jsx("br",{}),x.jsx("br",{}),x.jsx("div",{className:"component-tips-label",children:"Demo:"}),x.jsx("div",{style:{display:"flex",justifyContent:"space-around"},children:x.jsx(ip,{})}),x.jsx("div",{className:"component-tips-label",children:"Code:"}),x.jsx("pre",{children:""})]})]})};ac(sp).render(x.jsx(lt.StrictMode,{children:x.jsx(ap,{})})); diff --git a/index-a936a93c.js b/index-a936a93c.js deleted file mode 100644 index 99dadfd..0000000 --- a/index-a936a93c.js +++ /dev/null @@ -1,48 +0,0 @@ -(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)}})();var Ku={exports:{}},tl={},Yu={exports:{}},L={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Zt=Symbol.for("react.element"),cc=Symbol.for("react.portal"),fc=Symbol.for("react.fragment"),dc=Symbol.for("react.strict_mode"),pc=Symbol.for("react.profiler"),mc=Symbol.for("react.provider"),hc=Symbol.for("react.context"),vc=Symbol.for("react.forward_ref"),yc=Symbol.for("react.suspense"),gc=Symbol.for("react.memo"),wc=Symbol.for("react.lazy"),Di=Symbol.iterator;function Sc(e){return e===null||typeof e!="object"?null:(e=Di&&e[Di]||e["@@iterator"],typeof e=="function"?e:null)}var Xu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gu=Object.assign,Zu={};function it(e,n,t){this.props=e,this.context=n,this.refs=Zu,this.updater=t||Xu}it.prototype.isReactComponent={};it.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")};it.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ju(){}Ju.prototype=it.prototype;function Bo(e,n,t){this.props=e,this.context=n,this.refs=Zu,this.updater=t||Xu}var Vo=Bo.prototype=new Ju;Vo.constructor=Bo;Gu(Vo,it.prototype);Vo.isPureReactComponent=!0;var Ui=Array.isArray,qu=Object.prototype.hasOwnProperty,Ho={current:null},bu={key:!0,ref:!0,__self:!0,__source:!0};function es(e,n,t){var r,l={},o=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)qu.call(n,r)&&!bu.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1>>1,Z=x[Q];if(0>>1;Ql(Sl,T))gnl(tr,Sl)?(x[Q]=tr,x[gn]=T,Q=gn):(x[Q]=Sl,x[yn]=T,Q=yn);else if(gnl(tr,T))x[Q]=tr,x[gn]=T,Q=gn;else break e}}return z}function l(x,z){var T=x.sortIndex-z.sortIndex;return T!==0?T:x.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=[],m=1,h=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(x){for(var z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=x)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function v(x){if(S=!1,d(x),!w)if(t(s)!==null)w=!0,gl(E);else{var z=t(c);z!==null&&wl(v,z.startTime-x)}}function E(x,z){w=!1,S&&(S=!1,f(P),P=-1),g=!0;var T=p;try{for(d(z),h=t(s);h!==null&&(!(h.expirationTime>z)||x&&!Pe());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,p=h.priorityLevel;var Z=Q(h.expirationTime<=z);z=e.unstable_now(),typeof Z=="function"?h.callback=Z:h===t(s)&&r(s),d(z)}else r(s);h=t(s)}if(h!==null)var nr=!0;else{var yn=t(c);yn!==null&&wl(v,yn.startTime-z),nr=!1}return nr}finally{h=null,p=T,g=!1}}var C=!1,_=null,P=-1,W=5,j=-1;function Pe(){return!(e.unstable_now()-jx||125Q?(x.sortIndex=T,n(c,x),t(s)===null&&x===t(c)&&(S?(f(P),P=-1):S=!0,wl(v,T-Q))):(x.sortIndex=Z,n(s,x),w||g||(w=!0,gl(E))),x},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(x){var z=p;return function(){var T=p;p=z;try{return x.apply(this,arguments)}finally{p=T}}}})(ls);rs.exports=ls;var jc=rs.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var os=Cn,ge=jc;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"),Xl=Object.prototype.hasOwnProperty,Rc=/^[: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]*$/,Ai={},Bi={};function Ic(e){return Xl.call(Bi,e)?!0:Xl.call(Ai,e)?!1:Rc.test(e)?Bi[e]=!0:(Ai[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 Mc(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 ae(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 ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ne[n]=new ae(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ae(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){ne[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Qo=/[\-:]([a-z])/g;function Ko(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(Qo,Ko);ne[n]=new ae(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(Qo,Ko);ne[n]=new ae(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(Qo,Ko);ne[n]=new ae(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Yo(e,n,t,r){var l=ne.hasOwnProperty(n)?ne[n]:null;(l!==null?l.type!==0:r||!(2u||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{xl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?wt(e):""}function Fc(e){switch(e.tag){case 5:return wt(e.type);case 16:return wt("Lazy");case 13:return wt("Suspense");case 19:return wt("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function ql(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 Fn:return"Fragment";case Mn:return"Portal";case Gl:return"Profiler";case Xo:return"StrictMode";case Zl:return"Suspense";case Jl: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 Go:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zo:return n=e.displayName||null,n!==null?n:ql(e.type)||"Memo";case Je:n=e._payload,e=e._init;try{return ql(e(n))}catch{}}return null}function Dc(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 ql(n);case 8:return n===Xo?"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 dn(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 Uc(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 or(e){e._valueTracker||(e._valueTracker=Uc(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 Rr(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 bl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Hi(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(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&&Yo(e,"checked",n,!1)}function eo(e,n){ds(e,n);var t=dn(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")?no(e,n.type,t):n.hasOwnProperty("defaultValue")&&no(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Wi(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 no(e,n,t){(n!=="number"||Rr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var St=Array.isArray;function Yn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Ot(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Ct={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},$c=["Webkit","ms","Moz","O"];Object.keys(Ct).forEach(function(e){$c.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ct[n]=Ct[e]})});function vs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Ct.hasOwnProperty(e)&&Ct[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 Ac=V({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 lo(e,n){if(n){if(Ac[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 oo(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 io=null;function Jo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uo=null,Xn=null,Gn=null;function Yi(e){if(e=bt(e)){if(typeof uo!="function")throw Error(y(280));var n=e.stateNode;n&&(n=ul(n),uo(e.stateNode,e.type,n))}}function gs(e){Xn?Gn?Gn.push(e):Gn=[e]:Xn=e}function ws(){if(Xn){var e=Xn,n=Gn;if(Gn=Xn=null,Yi(e),n)for(e=0;e>>=0,e===0?32:31-(Jc(e)/qc|0)|0}var ur=64,sr=4194304;function kt(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 Fr(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=kt(u):(o&=i,o!==0&&(r=kt(o)))}else i=t&~l,i!==0?r=kt(i):o!==0&&(r=kt(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 Jt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Re(n),e[n]=t}function tf(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=Nt),tu=String.fromCharCode(32),ru=!1;function $s(e,n){switch(e){case"keyup":return jf.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 Dn=!1;function If(e,n){switch(e){case"compositionend":return As(n);case"keypress":return n.which!==32?null:(ru=!0,tu);case"textInput":return e=n.data,e===tu&&ru?null:e;default:return null}}function Of(e,n){if(Dn)return e==="compositionend"||!oi&&$s(e,n)?(e=Ds(),xr=ti=nn=null,Dn=!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=uu(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=Rr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Rr(e.document)}return n}function ii(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 Hf(e){var n=Qs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ws(t.ownerDocument.documentElement,t)){if(r!==null&&ii(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=su(t,o);var i=su(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,Un=null,mo=null,zt=null,ho=!1;function au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ho||Un==null||Un!==Rr(r)||(r=Un,"selectionStart"in r&&ii(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}),zt&&At(zt,r)||(zt=r,r=$r(mo,"onSelect"),0Bn||(e.current=ko[Bn],ko[Bn]=null,Bn--)}function F(e,n){Bn++,ko[Bn]=e.current,e.current=n}var pn={},oe=hn(pn),de=hn(!1),Pn=pn;function et(e,n){var t=e.type.contextTypes;if(!t)return pn;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 pe(e){return e=e.childContextTypes,e!=null}function Br(){U(de),U(oe)}function vu(e,n,t){if(oe.current!==pn)throw Error(y(168));F(oe,n),F(de,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,Dc(e)||"Unknown",l));return V({},t,r)}function Vr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Pn=oe.current,F(oe,e),F(de,de.current),!0}function yu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ea(e,n,Pn),r.__reactInternalMemoizedMergedChildContext=e,U(de),U(oe),F(oe,e)):U(de),F(de,t)}var Be=null,sl=!1,Ul=!1;function na(e){Be===null?Be=[e]:Be.push(e)}function nd(e){sl=!0,na(e)}function vn(){if(!Ul&&Be!==null){Ul=!0;var e=0,n=O;try{var t=Be;for(O=1;e>=i,l-=i,Ve=1<<32-Re(n)+l|t<P?(W=_,_=null):W=_.sibling;var j=p(f,_,d[P],v);if(j===null){_===null&&(_=W);break}e&&_&&j.alternate===null&&n(f,_),a=o(j,a,P),C===null?E=j:C.sibling=j,C=j,_=W}if(P===d.length)return t(f,_),$&&wn(f,P),E;if(_===null){for(;PP?(W=_,_=null):W=_.sibling;var Pe=p(f,_,j.value,v);if(Pe===null){_===null&&(_=W);break}e&&_&&Pe.alternate===null&&n(f,_),a=o(Pe,a,P),C===null?E=Pe:C.sibling=Pe,C=Pe,_=W}if(j.done)return t(f,_),$&&wn(f,P),E;if(_===null){for(;!j.done;P++,j=d.next())j=h(f,j.value,v),j!==null&&(a=o(j,a,P),C===null?E=j:C.sibling=j,C=j);return $&&wn(f,P),E}for(_=r(f,_);!j.done;P++,j=d.next())j=g(_,f,P,j.value,v),j!==null&&(e&&j.alternate!==null&&_.delete(j.key===null?P:j.key),a=o(j,a,P),C===null?E=j:C.sibling=j,C=j);return e&&_.forEach(function(at){return n(f,at)}),$&&wn(f,P),E}function M(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Fn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case lr:e:{for(var E=d.key,C=a;C!==null;){if(C.key===E){if(E=d.type,E===Fn){if(C.tag===7){t(f,C.sibling),a=l(C,d.props.children),a.return=f,f=a;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Je&&Cu(E)===C.type){t(f,C.sibling),a=l(C,d.props),a.ref=vt(f,C,d),a.return=f,f=a;break e}t(f,C);break}else n(f,C);C=C.sibling}d.type===Fn?(a=Nn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=jr(d.type,d.key,d.props,null,f.mode,v),v.ref=vt(f,a,d),v.return=f,f=v)}return i(f);case Mn:e:{for(C=d.key;a!==null;){if(a.key===C)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=Kl(d,f.mode,v),a.return=f,f=a}return i(f);case Je:return C=d._init,M(f,a,C(d._payload),v)}if(St(d))return w(f,a,d,v);if(ft(d))return S(f,a,d,v);hr(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=Ql(d,f.mode,v),a.return=f,f=a),i(f)):t(f,a)}return M}var tt=aa(!0),ca=aa(!1),er={},$e=hn(er),Wt=hn(er),Qt=hn(er);function xn(e){if(e===er)throw Error(y(174));return e}function hi(e,n){switch(F(Qt,n),F(Wt,e),F($e,er),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ro(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=ro(n,e)}U($e),F($e,n)}function rt(){U($e),U(Wt),U(Qt)}function fa(e){xn(Qt.current);var n=xn($e.current),t=ro(n,e.type);n!==t&&(F(Wt,e),F($e,t))}function vi(e){Wt.current===e&&(U($e),U(Wt))}var A=hn(0);function Xr(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 $l=[];function yi(){for(var e=0;e<$l.length;e++)$l[e]._workInProgressVersionPrimary=null;$l.length=0}var Nr=Ge.ReactCurrentDispatcher,Al=Ge.ReactCurrentBatchConfig,Tn=0,B=null,X=null,J=null,Gr=!1,Tt=!1,Kt=0,rd=0;function te(){throw Error(y(321))}function gi(e,n){if(n===null)return!1;for(var t=0;tt?t:4,e(!0);var r=Al.transition;Al.transition={};try{e(!1),n()}finally{O=t,Al.transition=r}}function Pa(){return Ne().memoizedState}function od(e,n,t){var r=cn(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=ue();Ie(t,e,r,l),La(t,n,r)}}function id(e,n,t){var r=cn(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,Oe(u,i)){var s=n.interleaved;s===null?(l.next=l,pi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=oa(e,n,l,r),t!==null&&(l=ue(),Ie(t,e,r,l),La(t,n,r))}}function za(e){var n=e.alternate;return e===B||n!==null&&n===B}function Ta(e,n){Tt=Gr=!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,bo(e,t)}}var Zr={readContext:_e,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},ud={readContext:_e,useCallback:function(e,n){return Fe().memoizedState=[e,n===void 0?null:n],e},useContext:_e,useEffect:Nu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Pr(4194308,4,Ea.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Pr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Pr(4,2,e,n)},useMemo:function(e,n){var t=Fe();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Fe();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=od.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var n=Fe();return e={current:e},n.memoizedState=e},useState:_u,useDebugValue:Ei,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=_u(!1),n=e[0];return e=ld.bind(null,e[1]),Fe().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=B,l=Fe();if($){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),q===null)throw Error(y(349));Tn&30||ma(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Nu(va.bind(null,r,o,e),[e]),r.flags|=2048,Xt(9,ha.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Fe(),n=q.identifierPrefix;if($){var t=He,r=Ve;t=(r&~(1<<32-Re(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Kt++,0<\/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[De]=n,e[Ht]=r,$a(e,n,!1,!1),n.stateNode=e;e:{switch(i=oo(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lot&&(n.flags|=128,r=!0,yt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Xr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),yt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return re(n),null}else 2*K()-o.renderingStartTime>ot&&t!==1073741824&&(n.flags|=128,r=!0,yt(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=K(),n.sibling=null,t=A.current,F(A,r?t&1|2:t&1),n):(re(n),null);case 22:case 23:return zi(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?he&1073741824&&(re(n),n.subtreeFlags&6&&(n.flags|=8192)):re(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function hd(e,n){switch(si(n),n.tag){case 1:return pe(n.type)&&Br(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rt(),U(de),U(oe),yi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return vi(n),null;case 13:if(U(A),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));nt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return U(A),null;case 4:return rt(),null;case 10:return di(n.type._context),null;case 22:case 23:return zi(),null;case 24:return null;default:return null}}var yr=!1,le=!1,vd=typeof WeakSet=="function"?WeakSet:Set,k=null;function Qn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){H(e,n,r)}else t.current=null}function Io(e,n,t){try{t()}catch(r){H(e,n,r)}}var Mu=!1;function yd(e,n){if(vo=Dr,e=Qs(),ii(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,m=0,h=e,p=null;n:for(;;){for(var g;h!==t||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)p=h,h=g;for(;;){if(h===e)break n;if(p===t&&++c===l&&(u=i),p===o&&++m===r&&(s=i),(g=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=g}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(yo={focusedElem:e,selectionRange:t},Dr=!1,k=n;k!==null;)if(n=k,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,k=e;else for(;k!==null;){n=k;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:Te(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){H(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,k=e;break}k=n.return}return w=Mu,Mu=!1,w}function Lt(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&&Io(n,t,o)}l=l.next}while(l!==r)}}function fl(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 Oo(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 Va(e){var n=e.alternate;n!==null&&(e.alternate=null,Va(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[De],delete n[Ht],delete n[So],delete n[bf],delete n[ed])),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 Fu(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 Mo(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=Ar));else if(r!==4&&(e=e.child,e!==null))for(Mo(e,n,t),e=e.sibling;e!==null;)Mo(e,n,t),e=e.sibling}function Fo(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(Fo(e,n,t),e=e.sibling;e!==null;)Fo(e,n,t),e=e.sibling}var b=null,Le=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Wa(e,n,t),t=t.sibling}function Wa(e,n,t){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(rl,t)}catch{}switch(t.tag){case 5:le||Qn(t,n);case 6:var r=b,l=Le;b=null,Ze(e,n,t),b=r,Le=l,b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):b.removeChild(t.stateNode));break;case 18:b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),Ut(e)):Dl(b,t.stateNode));break;case 4:r=b,l=Le,b=t.stateNode.containerInfo,Le=!0,Ze(e,n,t),b=r,Le=l;break;case 0:case 11:case 14:case 15:if(!le&&(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)&&Io(t,n,i),l=l.next}while(l!==r)}Ze(e,n,t);break;case 1:if(!le&&(Qn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){H(t,n,u)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(le=(r=le)||t.memoizedState!==null,Ze(e,n,t),le=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function Du(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new vd),n.forEach(function(r){var l=Nd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wd(r/1960))-r,10e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,br=0,I&6)throw Error(y(331));var l=I;for(I|=4,k=e.current;k!==null;){var o=k,i=o.child;if(k.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-Ni?_n(e,0):_i|=t),me(e,n)}function qa(e,n){n===0&&(e.mode&1?(n=sr,sr<<=1,!(sr&130023424)&&(sr=4194304)):n=1);var t=ue();e=Ye(e,n),e!==null&&(Jt(e,n,t),me(e,t))}function _d(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),qa(e,t)}function Nd(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||de.current)fe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return fe=!1,pd(e,n,t);fe=!!(e.flags&131072)}else fe=!1,$&&n.flags&1048576&&ta(n,Wr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;zr(e,n),e=n.pendingProps;var l=et(n,oe.current);Jn(n,t),l=wi(null,n,r,e,l,t);var o=Si();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,pe(r)?(o=!0,Vr(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,mi(n),l.updater=al,n.stateNode=l,l._reactInternals=n,No(n,r,e,t),n=To(null,n,r,!0,o,t)):(n.tag=0,$&&o&&ui(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(zr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=zd(r),e=Te(r,e),l){case 0:n=zo(null,n,r,e,t);break e;case 1:n=Ru(null,n,r,e,t);break e;case 11:n=Lu(null,n,r,e,t);break e;case 14:n=ju(null,n,r,Te(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:Te(r,l),zo(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Ru(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),Yr(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=lt(Error(y(423)),n),n=Iu(e,n,r,t,l);break e}else if(r!==l){l=lt(Error(y(424)),n),n=Iu(e,n,r,t,l);break e}else for(ve=un(n.stateNode.containerInfo.firstChild),ye=n,$=!0,je=null,t=ca(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(nt(),r===l){n=Xe(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return fa(n),e===null&&xo(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,go(r,l)?i=null:o!==null&&go(r,o)&&(n.flags|=32),Ma(e,n),ie(e,n,i,t),n.child;case 6:return e===null&&xo(n),null;case 13:return Da(e,n,t);case 4:return hi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=tt(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:Te(r,l),Lu(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,i=l.value,F(Qr,r._currentValue),r._currentValue=i,o!==null)if(Oe(o.value,i)){if(o.children===l.children&&!de.current){n=Xe(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=We(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),Co(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),Co(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}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Jn(n,t),l=_e(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=Te(r,n.pendingProps),l=Te(r.type,l),ju(e,n,r,l,t);case 15:return Ia(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),zr(e,n),n.tag=1,pe(r)?(e=!0,Vr(n)):e=!1,Jn(n,t),sa(n,r,l),No(n,r,l,t),To(null,n,r,!0,e,t);case 19:return Ua(e,n,t);case 22:return Oa(e,n,t)}throw Error(y(156,n.tag))};function ec(e,n){return Ns(e,n)}function Pd(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 xe(e,n,t,r){return new Pd(e,n,t,r)}function Li(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zd(e){if(typeof e=="function")return Li(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Go)return 11;if(e===Zo)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=xe(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 jr(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")Li(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Fn:return Nn(t.children,l,o,n);case Xo:i=8,l|=8;break;case Gl:return e=xe(12,t,n,l|2),e.elementType=Gl,e.lanes=o,e;case Zl:return e=xe(13,t,n,l),e.elementType=Zl,e.lanes=o,e;case Jl:return e=xe(19,t,n,l),e.elementType=Jl,e.lanes=o,e;case as:return pl(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 Go:i=11;break e;case Zo:i=14;break e;case Je:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=xe(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Nn(e,n,t,r){return e=xe(7,e,r,n),e.lanes=t,e}function pl(e,n,t,r){return e=xe(22,e,r,n),e.elementType=as,e.lanes=t,e.stateNode={isHidden:!1},e}function Ql(e,n,t){return e=xe(6,e,null,n),e.lanes=t,e}function Kl(e,n,t){return n=xe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Td(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=Nl(0),this.expirationTimes=Nl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ji(e,n,t,r,l,o,i,u,s){return e=new Td(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=xe(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},mi(o),e}function Ld(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lc)}catch(e){console.error(e)}}lc(),ts.exports=we;var Md=ts.exports,oc,Qu=Md;oc=Qu.createRoot,Qu.hydrateRoot;function ic(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(n=0;n"u"||n==null)},sc=R.isExistAndNotNull=uc,xt=function(){var n=arguments.length>=1?arguments[0]:0,t=arguments.length==2?arguments[1]:1e8;if(n>t)throw new Error("First params describe a minimum and it must be smaller than "+t+". If you need a bigger number use second argument");return Math.floor(Math.random()*(t-n)+n)};R.getRandomNum=xt;var $d=function(n,t){if(typeof n!="number")throw new Error("First argument must be a number");var r=typeof t=="number"?t:1;return Math.round(n*Math.pow(10,r))/Math.pow(10,r)};R.roundNumber=$d;var Ad=function(n,t,r){if(!Array.isArray(n))throw new Error("First argument must be an array");if(!t||typeof t!="function")throw new Error("Second argument must be a function");for(var l=0;l0&&(o=t.indexOf(r),o>-1&&(o+=r.length,i=t.indexOf(";",o),i===-1&&(i=t.length),l=unescape(t.substring(o,i)))),l};R.getCookie=Yd;var Xd=function(n,t,r){var l=uc(r)?r:31536e3;document.cookie=n+"="+t+"; max-age="+l+"; path=/;"};R.setCookie=Xd;var Gd=function(n,t,r){var l={value:t,expiry:Date.now()+r};localStorage.setItem(n,JSON.stringify(l))};R.setLocalItem=Gd;var Zd=function(n){var t=localStorage.getItem(n);if(!t)return null;var r=JSON.parse(t),l=new Date;return l.getTime()>r.expiry?(localStorage.removeItem(n),null):r.value};R.getLocalItem=Zd;const Jd=({className:e,value:n,valueSetter:t,placeholder:r,label:l,inputStyle:o,units:i,max:u})=>{const[s,c]=Cn.useState(!1),m=Cn.useRef(null),h=typeof u<"u",p=f=>{h&&f>u?c(!0):c(!1)},g=()=>{if(!m.current)return;const f=m.current.value;let a;a=parseFloat(f),isNaN(a)?a=0:u&&a>u&&(a=u,c(!0)),t(a),m.current.value=String(a)},w=Mi({"amount-input-container":!0,[e]:e,unacceptable:s}),S=sc(n)?String(n).length*19+2+"px":"25px",M={...o,width:S};return s&&M.color&&delete M.color,Cn.useEffect(()=>{m.current&&(h&&p(n),m.current.value=String(n))},[n,u,m.current]),N.jsx("div",{className:w,children:N.jsxs("div",{className:"amount-input-main-row",children:[l&&N.jsx("div",{className:"amount-input-label",children:l}),N.jsx("input",{onChange:g,type:"number",placeholder:r,style:M,inputMode:"decimal",ref:m}),i&&N.jsx("div",{className:"amount-input-units",children:i})]})})};const Yl=({type:e,size:n,color:t,icon:r,className:l,children:o,onClick:i,disabled:u})=>{const s=n?n+"px":"auto",c=o?void 0:s,m=n?n-16:30,h=r&&m>0,p=S=>{u||i(S)},g={width:n?c:"",height:n?s:"",color:t&&(e==="outline"?t:""),background:t&&(e!=="outline"?t:""),borderColor:t},w=Mi({"custom-button":!0,[e]:e,[t]:t,[l]:l});return N.jsxs("button",{className:w,onClick:p,style:g,disabled:u,children:[h&&N.jsx(qd,{name:r,className:"button-icon",size:m}),o]})};const qd=({color:e,backgroundColor:n,size:t,name:r,className:l,onClick:o})=>{const i=t||24,u=t?t+"px":"auto",s=n?i-2:i,c=t?u:"30px",m="https://psychosynthesis.github.io/Teleapstyle/sprite.svg#"+r,h=Mi({"icon-container":!0,[l]:l});return N.jsx("div",{className:h,onClick:o,style:{width:u,height:u,maxHeight:c,maxWidth:c},children:N.jsx("div",{className:"background-icon-plate",style:{background:n,maxHeight:s},children:N.jsx("svg",{style:{color:e,width:s+"px",height:s+"px"},role:"img",viewBox:`0 0 ${s} ${s}`,children:N.jsx("use",{xlinkHref:m,xmlnsXlink:"https://www.w3.org/1999/xlink"})})})})};const bd=document.getElementById("main-node"),ep=Cn.useState,np=()=>{const[e,n]=ep(null);return N.jsxs("div",{children:[N.jsx("h2",{children:"Teleapstyle Guide"}),"Teleapstyle is a lightweight components lib to easy build your Telegram mini-apps. The main idea of Teleapstyle is to create a simple and minimalistic component library that would look as close as possible to the native design of Telegram Mini Apps.",N.jsx("br",{}),N.jsx("br",{}),"Please note - the components by default use the standard colors of the standard Telegram light theme and don't use theme CSS variables (it is implemented in this order to not to update the package every time if vars changed in initData, due to TMA.js development), instead you can pass it to the components that support color-parameter, or just pass your own class.",N.jsx("br",{}),N.jsx("br",{}),"You can ",N.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/Psychosynthesis/Teleapstyle",children:"suggest your improvements"}),", we will definitely consider them.",N.jsx("h3",{children:"Usage"}),"First add the library package with npm:",N.jsx("br",{}),N.jsx("pre",{children:"npm i teleapstyle"}),N.jsx("br",{}),N.jsx("br",{}),"You can simply import all the functions from the library:",N.jsx("br",{}),N.jsx("pre",{children:"import * as Components from 'teleapstyle';"}),N.jsx("pre",{children:" // In this case you can use it like this"}),N.jsx("br",{}),N.jsx("br",{}),"Or just import only neccessary:",N.jsx("pre",{children:"import { AmountInput, Button } from 'teleapstyle';"}),N.jsx("br",{}),N.jsx("br",{}),N.jsx("hr",{}),N.jsx("br",{}),N.jsxs("div",{className:"component-row",children:[N.jsx("h3",{children:"AmountInput"}),"You can see a similar-looking component in the official",N.jsx("a",{href:"https://t.me/wallet",target:"_blank",rel:"noopener noreferrer",children:"@Wallet"})," bot (for example, when replenishing or entering the purchase amount). We've added an optional signature to the left. This component is used only for numeric input, for others use SimpleInput component.",N.jsx("br",{}),N.jsx("br",{}),N.jsx("div",{className:"component-tips-label",children:"Demo:"}),N.jsx(Jd,{value:e,valueSetter:n,placeholder:"0",label:"Buy",units:"%",inputStyle:{color:"#fff"},max:100}),N.jsx("div",{className:"component-tips-label",children:"Code:"}),N.jsx("pre",{children:``})]}),N.jsxs("div",{className:"component-row",children:[N.jsx("h3",{children:"Button"}),"This is just a button. No, really. May have an icon (see the Sprite section for available icons). But if the button is too small, the icon will not be displayed. You can pass a child element, such as a link or your own icon.",N.jsx("br",{}),N.jsx("br",{}),N.jsx("div",{className:"component-tips-label",children:"Demo:"}),N.jsxs("div",{style:{display:"flex",justifyContent:"space-around"},children:[N.jsx(Yl,{onClick:()=>{},children:"Just Button"}),N.jsx(Yl,{onClick:()=>{},icon:"mask",color:"#f455ee",children:"Button with Icon & color"}),N.jsx(Yl,{onClick:()=>{},type:"outline",size:14,color:"#ffffff",children:"Small outline Button"})]}),N.jsx("div",{className:"component-tips-label",children:"Code:"}),N.jsx("pre",{children:""}),N.jsx("pre",{children:''}),N.jsx("pre",{children:''})]})]})};oc(bd).render(N.jsx(Cn.StrictMode,{children:N.jsx(np,{})})); diff --git a/index-b8934218.css b/index-b8934218.css new file mode 100644 index 0000000..b10beec --- /dev/null +++ b/index-b8934218.css @@ -0,0 +1 @@ +:root{font-family:Helvetica,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}html,body{margin:0;max-width:100%}body{background-color:#202020}a,a:link,a:visited{color:#50a7ea;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}a:hover{color:#5a6edc;-webkit-tap-highlight-color:rgba(0,0,0,0)}a:active{color:#6ea0e6;-webkit-tap-highlight-color:rgba(0,0,0,0)}.component-row{margin-bottom:50px}.component-tips-label{font-weight:700;font-size:85%;margin-top:15px;margin-bottom:5px} diff --git a/index-e54d7c60.css b/index-e54d7c60.css deleted file mode 100644 index b03411f..0000000 --- a/index-e54d7c60.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.amount-input-container{min-height:24px;max-width:100%;padding-left:0}.amount-input-container.unacceptable input{color:#cc2929}.amount-input-container .amount-input-main-row{display:flex;align-items:baseline}.amount-input-container .amount-input-main-row input{font-family:Roboto;font-size:36px;font-weight:500;background:none;border:none;margin:0;padding:0;line-height:20px;max-width:100%!important}.amount-input-container .amount-input-main-row input[type=number]::-webkit-outer-spin-button,.amount-input-container .amount-input-main-row input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}.amount-input-container .amount-input-main-row input[type=number],.amount-input-container .amount-input-main-row input[type=number]:hover,.amount-input-container .amount-input-main-row input[type=number]:focus{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.amount-input-container .amount-input-main-row input:focus{outline:none}.amount-input-container .amount-input-main-row input ::placeholder{color:#00f;font-size:26px}.amount-input-container .amount-input-main-row .amount-input-label{color:#7f8c97;margin-right:5px;display:inline-flex;align-items:flex-end;-webkit-user-select:none;user-select:none}.amount-input-container .amount-input-main-row .amount-input-units{display:flex;align-items:flex-end;color:#7f8c97;-webkit-user-select:none;user-select:none}.amount-input-container .amount-input-underline{height:1px;margin-top:8px;border-bottom:1px solid #7f8c97}.custom-button{padding:8px;max-height:48px;border-radius:4px;cursor:pointer;white-space:break-spaces;font-style:normal;font-family:Roboto Bold;display:inline-flex;align-items:center;justify-content:center;border:1px solid #50a7ea;color:#fff;background:#50a7ea}.custom-button:hover{border-color:#fff!important}.custom-button:disabled{opacity:.3}.custom-button.outline{background:none;box-shadow:none;color:#50a7ea}.custom-button .button-icon{display:inline-flex;max-height:100%;margin-right:12px}.custom-button .button-icon svg{max-height:100%}.custom-checkbox-container{display:flex;text-align:center}.custom-checkbox-container .custom-checkbox{display:none;line-height:20px}.custom-checkbox-container .custom-checkbox+label{display:inline-flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;line-height:20px}.custom-checkbox-container.no-text .custom-checkbox+label:before{margin-right:0}.custom-checkbox-container.rounded .custom-checkbox+label:before{border-radius:50%}.custom-checkbox-container .custom-checkbox+label:before{content:"";margin-right:12px;display:inline-block;flex-shrink:0;flex-grow:0;border:1px solid #7f8c97;border-radius:4px;background:none;font-size:15px;line-height:20px;cursor:pointer;width:20px;height:20px}.custom-checkbox-container .custom-checkbox:checked+label:before{width:20px;height:20px;line-height:20px;content:"✓ ";color:#fff;background-color:#50a7ea;border-color:transparent}.dots-slider{display:flex;height:11px;padding-top:24px;padding-bottom:8px}.dots-slider>div{flex-grow:1;display:flex;align-items:center}.dots-slider>div:last-child{flex-grow:0}.dots-slider .dots-slider-point{width:6px;height:6px;border-radius:50%;margin:0 4px;background:#7f8c97}.dots-slider .dots-slider-point.active-dot{background:#50a7ea}.dots-slider .dots-slider-point.current-dot{width:11px;height:11px}.dots-slider .dots-slider-point.current-dot .dots-slider-caption{bottom:24px;left:0}.dots-slider .dots-slider-point .dots-slider-caption{font-size:12px;line-height:14px;position:relative;bottom:26px;color:#7f8c97;-webkit-user-select:none;user-select:none;width:20px;text-align:left}.dots-slider .dots-slider-line{height:2px;flex-grow:1;background:#7f8c97}.dots-slider .dots-slider-line.active-line{background:#50a7ea}.icon-container{display:flex}.icon-container .background-icon-plate{width:100%;height:100%;border-radius:7px;display:flex;justify-content:center;align-items:center}.icon-container .background-icon-plate svg{max-width:100%;max-height:inherit;display:flex;justify-content:center;align-items:center}.spinner-container{width:100%;height:100vh;margin:0;display:flex;place-items:center;justify-content:center}.spinner-container .spinner{height:50px;width:50px;border-left:3px solid #7f8c97;border-bottom:3px solid #7f8c97;border-right:3px solid #7f8c97;border-top:3px solid transparent;border-radius:50%;animation:spinner .8s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.progress-bar{overflow:hidden;width:100%}.progress-bar .bar-background{display:block;background:#b0b9c2;border-radius:7px}.progress-bar .bar-background .completed-progress{display:block;border-radius:7px;background:#50a7ea;padding:2px;width:0}.range-slider input{height:5px;width:100%}.range-slider input[type=range]{-webkit-appearance:none}.range-slider input[type=range]:focus{outline:none}.range-slider input[type=range]::-ms-track{width:100%;cursor:pointer;background:transparent;border-color:transparent;color:transparent}.range-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:3px solid #6ea0e6;background:#fff;height:24px;width:24px;border-radius:50%;cursor:pointer;margin-top:-6px}.range-slider input[type=range]::-moz-range-thumb{border:3px solid #6ea0e6;background:#fff;height:24px;width:24px;border-radius:50%;cursor:pointer}.range-slider input[type=range]::-webkit-slider-runnable-track{height:10px;cursor:pointer;background:#50a7ea;border-radius:4px}.range-slider input[type=range]:focus::-webkit-slider-runnable-track{background:#50a7ea}.range-slider input[type=range]::-moz-range-track{height:10px;cursor:pointer;background:#50a7ea;border-radius:4px}.simple-input-container{min-height:24px;max-width:100%;padding-left:12px}.simple-input-container.unacceptable input{color:#cc2929}.simple-input-container .simple-input-main-row{display:flex;align-items:baseline}.simple-input-container .simple-input-main-row input{font-family:Roboto;font-size:16px;font-weight:400;background:none;border:none;margin:0;padding:0;line-height:19px;max-width:100%!important}.simple-input-container .simple-input-main-row input[type=number]::-webkit-outer-spin-button,.simple-input-container .simple-input-main-row input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}.simple-input-container .simple-input-main-row input[type=number],.simple-input-container .simple-input-main-row input[type=number]:hover,.simple-input-container .simple-input-main-row input[type=number]:focus{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.simple-input-container .simple-input-main-row input:focus{outline:none}.simple-input-container .simple-input-main-row .simple-input-label{color:#7f8c97;margin-right:5px;display:inline-flex;align-items:flex-end}.simple-input-container .simple-input-main-row .simple-input-units{display:flex;align-items:flex-end;color:#7f8c97}.simple-input-container .simple-input-underline{height:1px;margin-top:8px;border-bottom:1px solid #7f8c97}.custom-switch{display:flex;align-items:center;height:20px}.custom-switch .switch-background{width:30px;height:13px;border-radius:10px;cursor:pointer;display:flex;align-items:center}.custom-switch .switch-punkt,.custom-switch .switch-punkt-selected{width:20px;height:20px;position:relative;border:2px solid;border-radius:10px;box-sizing:border-box;background:#fff;-webkit-transition:left .4s;-moz-transition:left .4s;-o-transition:left .4s;-ms-transition:left .4s;transition:left .4s}.custom-switch .switch-punkt{left:-15%}.custom-switch .switch-punkt-selected{left:50%}.tabs-container{padding-bottom:12px}.tabs-container .tabs-captions{display:flex;flex-direction:row;justify-content:space-around}.tabs-container .tabs-captions .tab-caption{font-family:Roboto;font-size:16px;font-weight:500;margin:12px 0 24px;color:#b0b9c2;-webkit-user-select:none;user-select:none;cursor:pointer}.tabs-container .tabs-captions .tab-caption.current-tab{color:#50a7ea;border-bottom:3px solid #50a7ea;padding-bottom:12px}:root{font-family:Helvetica,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}html,body{margin:0;max-width:100%}body{background-color:#202020} diff --git a/index.html b/index.html index c551812..0f67ed1 100644 --- a/index.html +++ b/index.html @@ -14,20 +14,9 @@ min-height: 100vh; /* remove this to make pages not full-height */ max-width: 640px; } - - .component-row { - margin-bottom: 30px; - } - - .component-tips-label { - font-weight: bold; - font-size: 85%; - margin-top: 15px; - margin-bottom: 5px; - } - - + +