From f849b612e0b366eec83093e15dff0a31faff58d5 Mon Sep 17 00:00:00 2001 From: johnb8005 Date: Fri, 23 Aug 2024 13:23:15 +0000 Subject: [PATCH] deploy: fb8440ef900f42af7ad7db17bf87fa3045982354 --- 404.html | 3 +- assets/index-CCgeXNSR.js | 59 +++++++++++ assets/index.ebde86e8.js | 216 --------------------------------------- index.html | 3 +- 4 files changed, 61 insertions(+), 220 deletions(-) create mode 100644 assets/index-CCgeXNSR.js delete mode 100644 assets/index.ebde86e8.js diff --git a/404.html b/404.html index fd82f71..21c5af5 100644 --- a/404.html +++ b/404.html @@ -16,11 +16,10 @@ React-headless - +
- diff --git a/assets/index-CCgeXNSR.js b/assets/index-CCgeXNSR.js new file mode 100644 index 0000000..1d16353 --- /dev/null +++ b/assets/index-CCgeXNSR.js @@ -0,0 +1,59 @@ +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=t(a);fetch(a.href,i)}})();var ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ms(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fs={exports:{}},b={};/** + * @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 jr=Symbol.for("react.element"),im=Symbol.for("react.portal"),lm=Symbol.for("react.fragment"),om=Symbol.for("react.strict_mode"),um=Symbol.for("react.profiler"),sm=Symbol.for("react.provider"),cm=Symbol.for("react.context"),dm=Symbol.for("react.forward_ref"),mm=Symbol.for("react.suspense"),fm=Symbol.for("react.memo"),pm=Symbol.for("react.lazy"),zo=Symbol.iterator;function hm(e){return e===null||typeof e!="object"?null:(e=zo&&e[zo]||e["@@iterator"],typeof e=="function"?e:null)}var ps={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hs=Object.assign,gs={};function Ot(e,n,t){this.props=e,this.context=n,this.refs=gs,this.updater=t||ps}Ot.prototype.isReactComponent={};Ot.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")};Ot.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vs(){}vs.prototype=Ot.prototype;function Dl(e,n,t){this.props=e,this.context=n,this.refs=gs,this.updater=t||ps}var Ll=Dl.prototype=new vs;Ll.constructor=Dl;hs(Ll,Ot.prototype);Ll.isPureReactComponent=!0;var bo=Array.isArray,ys=Object.prototype.hasOwnProperty,_l={current:null},Fs={key:!0,ref:!0,__self:!0,__source:!0};function Us(e,n,t){var r,a={},i=null,l=null;if(n!=null)for(r in n.ref!==void 0&&(l=n.ref),n.key!==void 0&&(i=""+n.key),n)ys.call(n,r)&&!Fs.hasOwnProperty(r)&&(a[r]=n[r]);var u=arguments.length-2;if(u===1)a.children=t;else if(1>>1,K=N[G];if(0>>1;Ga(Oe,L))Aea(ut,Oe)?(N[G]=ut,N[Ae]=L,G=Ae):(N[G]=Oe,N[fe]=L,G=fe);else if(Aea(ut,L))N[G]=ut,N[Ae]=L,G=Ae;else break e}}return _}function a(N,_){var L=N.sortIndex-_.sortIndex;return L!==0?L:N.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],c=[],p=1,v=null,f=3,F=!1,g=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(N){for(var _=t(c);_!==null;){if(_.callback===null)r(c);else if(_.startTime<=N)r(c),_.sortIndex=_.expirationTime,n(s,_);else break;_=t(c)}}function U(N){if(S=!1,h(N),!g)if(t(s)!==null)g=!0,oe(w);else{var _=t(c);_!==null&&ne(U,_.startTime-N)}}function w(N,_){g=!1,S&&(S=!1,m(E),E=-1),F=!0;var L=f;try{for(h(_),v=t(s);v!==null&&(!(v.expirationTime>_)||N&&!T());){var G=v.callback;if(typeof G=="function"){v.callback=null,f=v.priorityLevel;var K=G(v.expirationTime<=_);_=e.unstable_now(),typeof K=="function"?v.callback=K:v===t(s)&&r(s),h(_)}else r(s);v=t(s)}if(v!==null)var Fe=!0;else{var fe=t(c);fe!==null&&ne(U,fe.startTime-_),Fe=!1}return Fe}finally{v=null,f=L,F=!1}}var j=!1,y=null,E=-1,D=5,C=-1;function T(){return!(e.unstable_now()-CN||125G?(N.sortIndex=L,n(c,N),t(s)===null&&N===t(c)&&(S?(m(E),E=-1):S=!0,ne(U,L-G))):(N.sortIndex=K,n(s,N),g||F||(g=!0,oe(w))),N},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(N){var _=f;return function(){var L=f;f=_;try{return N.apply(this,arguments)}finally{f=L}}}})(ks);Es.exports=ks;var Um=Es.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 Cs=M,ze=Um;function x(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"),_i=Object.prototype.hasOwnProperty,Sm=/^[: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]*$/,Ho={},Go={};function wm(e){return _i.call(Go,e)?!0:_i.call(Ho,e)?!1:Sm.test(e)?Go[e]=!0:(Ho[e]=!0,!1)}function Em(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 km(e,n,t,r){if(n===null||typeof n>"u"||Em(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 Ne(e,n,t,r,a,i,l){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ye[e]=new Ne(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ye[n]=new Ne(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ye[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ye[e]=new Ne(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){ye[e]=new Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ye[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ye[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ye[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ye[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var Rl=/[\-:]([a-z])/g;function Ml(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(Rl,Ml);ye[n]=new Ne(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(Rl,Ml);ye[n]=new Ne(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(Rl,Ml);ye[n]=new Ne(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ye[e]=new Ne(e,1,!1,e.toLowerCase(),null,!1,!1)});ye.xlinkHref=new Ne("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ye[e]=new Ne(e,1,!1,e.toLowerCase(),null,!0,!0)});function Il(e,n,t,r){var a=ye.hasOwnProperty(n)?ye[n]:null;(a!==null?a.type!==0:r||!(2u||a[l]!==i[u]){var s=` +`+a[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{si=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Qt(e):""}function Cm(e){switch(e.tag){case 5:return Qt(e.type);case 16:return Qt("Lazy");case 13:return Qt("Suspense");case 19:return Qt("SuspenseList");case 0:case 2:case 15:return e=ci(e.type,!1),e;case 11:return e=ci(e.type.render,!1),e;case 1:return e=ci(e.type,!0),e;default:return""}}function Ii(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 mt:return"Fragment";case dt:return"Portal";case Oi:return"Profiler";case Bl:return"StrictMode";case Ri:return"Suspense";case Mi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case As:return(e.displayName||"Context")+".Consumer";case Ns:return(e._context.displayName||"Context")+".Provider";case zl:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bl:return n=e.displayName||null,n!==null?n:Ii(e.type)||"Memo";case kn:n=e._payload,e=e._init;try{return Ii(e(n))}catch{}}return null}function jm(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 Ii(n);case 8:return n===Bl?"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 Mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ps(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Nm(e){var n=Ps(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 a=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return a.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Or(e){e._valueTracker||(e._valueTracker=Nm(e))}function Ts(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Ps(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function sa(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 Bi(e,n){var t=n.checked;return ae({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Ko(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=Mn(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&&Il(e,"checked",n,!1)}function zi(e,n){Ds(e,n);var t=Mn(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")?bi(e,n.type,t):n.hasOwnProperty("defaultValue")&&bi(e,n.type,Mn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Wo(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 bi(e,n,t){(n!=="number"||sa(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var Yt=Array.isArray;function Et(e,n,t,r){if(e=e.options,n){n={};for(var a=0;a"+n.valueOf().toString()+"",n=Rr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function ur(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Zt={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},Am=["Webkit","ms","Moz","O"];Object.keys(Zt).forEach(function(e){Am.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Zt[n]=Zt[e]})});function Rs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Zt.hasOwnProperty(e)&&Zt[e]?(""+n).trim():n+"px"}function Ms(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,a=Rs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,a):e[t]=a}}var xm=ae({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 Gi(e,n){if(n){if(xm[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(x(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(x(61))}if(n.style!=null&&typeof n.style!="object")throw Error(x(62))}}function Vi(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 Ki=null;function $l(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wi=null,kt=null,Ct=null;function Jo(e){if(e=xr(e)){if(typeof Wi!="function")throw Error(x(280));var n=e.stateNode;n&&(n=Ga(n),Wi(e.stateNode,e.type,n))}}function Is(e){kt?Ct?Ct.push(e):Ct=[e]:kt=e}function Bs(){if(kt){var e=kt,n=Ct;if(Ct=kt=null,Jo(e),n)for(e=0;e>>=0,e===0?32:31-(zm(e)/bm|0)|0}var Mr=64,Ir=4194304;function Jt(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 fa(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,l=t&268435455;if(l!==0){var u=l&~a;u!==0?r=Jt(u):(i&=l,i!==0&&(r=Jt(i)))}else l=t&~a,l!==0?r=Jt(l):i!==0&&(r=Jt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&a)&&(a=r&-r,i=n&-n,a>=i||a===16&&(i&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 Nr(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-rn(n),e[n]=t}function Vm(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=er),iu=" ",lu=!1;function ic(e,n){switch(e){case"keyup":return Uf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ft=!1;function wf(e,n){switch(e){case"compositionend":return lc(n);case"keypress":return n.which!==32?null:(lu=!0,iu);case"textInput":return e=n.data,e===iu&&lu?null:e;default:return null}}function Ef(e,n){if(ft)return e==="compositionend"||!Jl&&ic(e,n)?(e=rc(),ea=Wl=An=null,ft=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=cu(t)}}function cc(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?cc(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function dc(){for(var e=window,n=sa();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=sa(e.document)}return n}function Xl(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 Df(e){var n=dc(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&cc(t.ownerDocument.documentElement,t)){if(r!==null&&Xl(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 a=t.textContent.length,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=du(t,i);var l=du(t,r);a&&l&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(n=n.createRange(),n.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(l.node,l.offset)):(n.setEnd(l.node,l.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,pt=null,qi=null,tr=null,el=!1;function mu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;el||pt==null||pt!==sa(r)||(r=pt,"selectionStart"in r&&Xl(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}),tr&&pr(tr,r)||(tr=r,r=ga(qi,"onSelect"),0vt||(e.current=ll[vt],ll[vt]=null,vt--)}function Y(e,n){vt++,ll[vt]=e.current,e.current=n}var In={},Ee=bn(In),De=bn(!1),Zn=In;function Pt(e,n){var t=e.type.contextTypes;if(!t)return In;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in t)a[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function Le(e){return e=e.childContextTypes,e!=null}function ya(){X(De),X(Ee)}function Fu(e,n,t){if(Ee.current!==In)throw Error(x(168));Y(Ee,n),Y(De,t)}function Uc(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var a in r)if(!(a in n))throw Error(x(108,jm(e)||"Unknown",a));return ae({},t,r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||In,Zn=Ee.current,Y(Ee,e),Y(De,De.current),!0}function Uu(e,n,t){var r=e.stateNode;if(!r)throw Error(x(169));t?(e=Uc(e,n,Zn),r.__reactInternalMemoizedMergedChildContext=e,X(De),X(Ee),Y(Ee,e)):X(De),Y(De,t)}var pn=null,Va=!1,ki=!1;function Sc(e){pn===null?pn=[e]:pn.push(e)}function Gf(e){Va=!0,Sc(e)}function $n(){if(!ki&&pn!==null){ki=!0;var e=0,n=W;try{var t=pn;for(W=1;e>=l,a-=l,gn=1<<32-rn(n)+a|t<E?(D=y,y=null):D=y.sibling;var C=f(m,y,h[E],U);if(C===null){y===null&&(y=D);break}e&&y&&C.alternate===null&&n(m,y),d=i(C,d,E),j===null?w=C:j.sibling=C,j=C,y=D}if(E===h.length)return t(m,y),ee&&Gn(m,E),w;if(y===null){for(;EE?(D=y,y=null):D=y.sibling;var T=f(m,y,C.value,U);if(T===null){y===null&&(y=D);break}e&&y&&T.alternate===null&&n(m,y),d=i(T,d,E),j===null?w=T:j.sibling=T,j=T,y=D}if(C.done)return t(m,y),ee&&Gn(m,E),w;if(y===null){for(;!C.done;E++,C=h.next())C=v(m,C.value,U),C!==null&&(d=i(C,d,E),j===null?w=C:j.sibling=C,j=C);return ee&&Gn(m,E),w}for(y=r(m,y);!C.done;E++,C=h.next())C=F(y,m,E,C.value,U),C!==null&&(e&&C.alternate!==null&&y.delete(C.key===null?E:C.key),d=i(C,d,E),j===null?w=C:j.sibling=C,j=C);return e&&y.forEach(function(H){return n(m,H)}),ee&&Gn(m,E),w}function k(m,d,h,U){if(typeof h=="object"&&h!==null&&h.type===mt&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case _r:e:{for(var w=h.key,j=d;j!==null;){if(j.key===w){if(w=h.type,w===mt){if(j.tag===7){t(m,j.sibling),d=a(j,h.props.children),d.return=m,m=d;break e}}else if(j.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===kn&&Nu(w)===j.type){t(m,j.sibling),d=a(j,h.props),d.ref=Vt(m,j,h),d.return=m,m=d;break e}t(m,j);break}else n(m,j);j=j.sibling}h.type===mt?(d=Jn(h.props.children,m.mode,U,h.key),d.return=m,m=d):(U=oa(h.type,h.key,h.props,null,m.mode,U),U.ref=Vt(m,d,h),U.return=m,m=U)}return l(m);case dt:e:{for(j=h.key;d!==null;){if(d.key===j)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){t(m,d.sibling),d=a(d,h.children||[]),d.return=m,m=d;break e}else{t(m,d);break}else n(m,d);d=d.sibling}d=Ti(h,m.mode,U),d.return=m,m=d}return l(m);case kn:return j=h._init,k(m,d,j(h._payload),U)}if(Yt(h))return g(m,d,h,U);if(Bt(h))return S(m,d,h,U);Gr(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(t(m,d.sibling),d=a(d,h),d.return=m,m=d):(t(m,d),d=Pi(h,m.mode,U),d.return=m,m=d),l(m)):t(m,d)}return k}var Dt=Nc(!0),Ac=Nc(!1),Pr={},dn=bn(Pr),yr=bn(Pr),Fr=bn(Pr);function Wn(e){if(e===Pr)throw Error(x(174));return e}function io(e,n){switch(Y(Fr,n),Y(yr,e),Y(dn,Pr),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Hi(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Hi(n,e)}X(dn),Y(dn,n)}function Lt(){X(dn),X(yr),X(Fr)}function xc(e){Wn(Fr.current);var n=Wn(dn.current),t=Hi(n,e.type);n!==t&&(Y(yr,e),Y(dn,t))}function lo(e){yr.current===e&&(X(dn),X(yr))}var te=bn(0);function Ca(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 Ci=[];function oo(){for(var e=0;et?t:4,e(!0);var r=ji.transition;ji.transition={};try{e(!1),n()}finally{W=t,ji.transition=r}}function Gc(){return Je().memoizedState}function Qf(e,n,t){var r=On(e);t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Vc(e)?Kc(n,t):(Wc(e,n,t),t=Ce(),e=Qe(e,r,t),e!==null&&Qc(e,n,r))}function Yf(e,n,t){var r=On(e),a={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Vc(e))Kc(n,a);else{Wc(e,n,a);var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var l=n.lastRenderedState,u=i(l,t);if(a.hasEagerState=!0,a.eagerState=u,an(u,l))return}catch{}finally{}t=Ce(),e=Qe(e,r,t),e!==null&&Qc(e,n,r)}}function Vc(e){var n=e.alternate;return e===re||n!==null&&n===re}function Kc(e,n){rr=ja=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Wc(e,n,t){dd(e)?(e=n.interleaved,e===null?(t.next=t,tn===null?tn=[n]:tn.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(e=n.pending,e===null?t.next=t:(t.next=e.next,e.next=t),n.pending=t)}function Qc(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Gl(e,t)}}var Na={readContext:Ye,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},Jf={readContext:Ye,useCallback:function(e,n){return un().memoizedState=[e,n===void 0?null:n],e},useContext:Ye,useEffect:xu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,aa(4194308,4,Bc.bind(null,n,e),t)},useLayoutEffect:function(e,n){return aa(4194308,4,e,n)},useInsertionEffect:function(e,n){return aa(4,2,e,n)},useMemo:function(e,n){var t=un();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=un();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=Qf.bind(null,re,e),[r.memoizedState,e]},useRef:function(e){var n=un();return e={current:e},n.memoizedState=e},useState:Au,useDebugValue:fo,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=Au(!1),n=e[0];return e=Wf.bind(null,e[1]),un().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=re,a=un();if(ee){if(t===void 0)throw Error(x(407));t=t()}else{if(t=n(),me===null)throw Error(x(349));et&30||Dc(r,n,t)}a.memoizedState=t;var i={value:t,getSnapshot:n};return a.queue=i,xu(_c.bind(null,r,i,e),[e]),r.flags|=2048,wr(9,Lc.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=un(),n=me.identifierPrefix;if(ee){var t=vn,r=gn;t=(r&~(1<<32-rn(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Ur++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(t,{is:r.is}):(e=l.createElement(t),t==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,t),e[sn]=n,e[vr]=r,Xc(e,n,!1,!1),n.stateNode=e;e:{switch(l=Vi(t,r),t){case"dialog":J("cancel",e),J("close",e),a=r;break;case"iframe":case"object":case"embed":J("load",e),a=r;break;case"video":case"audio":for(a=0;a_t&&(n.flags|=128,r=!0,Kt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Ca(l),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),Kt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ee)return Se(n),null}else 2*ue()-i.renderingStartTime>_t&&t!==1073741824&&(n.flags|=128,r=!0,Kt(i,!1),n.lanes=4194304);i.isBackwards?(l.sibling=n.child,n.child=l):(t=i.last,t!==null?t.sibling=l:n.child=l,i.last=l)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=ue(),n.sibling=null,t=te.current,Y(te,r?t&1|2:t&1),n):(Se(n),null);case 22:case 23:return Fo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?Re&1073741824&&(Se(n),n.subtreeFlags&6&&(n.flags|=8192)):Se(n),null;case 24:return null;case 25:return null}throw Error(x(156,n.tag))}var np=wn.ReactCurrentOwner,Te=!1;function ke(e,n,t,r){n.child=e===null?Ac(n,null,t,r):Dt(n,e.child,t,r)}function Lu(e,n,t,r,a){t=t.render;var i=n.ref;return Nt(n,a),r=so(e,n,t,r,i,a),t=co(),e!==null&&!Te?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~a,Sn(e,n,a)):(ee&&t&&to(n),n.flags|=1,ke(e,n,r,a),n.child)}function _u(e,n,t,r,a){if(e===null){var i=t.type;return typeof i=="function"&&!So(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,ed(e,n,i,r,a)):(e=oa(t.type,null,r,n,n.mode,a),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&a)){var l=i.memoizedProps;if(t=t.compare,t=t!==null?t:pr,t(l,r)&&e.ref===n.ref)return Sn(e,n,a)}return n.flags|=1,e=Bn(i,r),e.ref=n.ref,e.return=n,n.child=e}function ed(e,n,t,r,a){if(e!==null){var i=e.memoizedProps;if(pr(i,r)&&e.ref===n.ref)if(Te=!1,n.pendingProps=r=i,(e.lanes&a)!==0)e.flags&131072&&(Te=!0);else return n.lanes=e.lanes,Sn(e,n,a)}return pl(e,n,t,r,a)}function nd(e,n,t){var r=n.pendingProps,a=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Y(wt,Re),Re|=t;else if(t&1073741824)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,Y(wt,Re),Re|=r;else return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Y(wt,Re),Re|=e,null;else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,Y(wt,Re),Re|=r;return ke(e,n,a,t),n.child}function td(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function pl(e,n,t,r,a){var i=Le(t)?Zn:Ee.current;return i=Pt(n,i),Nt(n,a),t=so(e,n,t,r,i,a),r=co(),e!==null&&!Te?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~a,Sn(e,n,a)):(ee&&r&&to(n),n.flags|=1,ke(e,n,t,a),n.child)}function Ou(e,n,t,r,a){if(Le(t)){var i=!0;Fa(n)}else i=!1;if(Nt(n,a),n.stateNode===null)e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),kc(n,t,r),sl(n,t,r,a),r=!0;else if(e===null){var l=n.stateNode,u=n.memoizedProps;l.props=u;var s=l.context,c=t.contextType;typeof c=="object"&&c!==null?c=Ye(c):(c=Le(t)?Zn:Ee.current,c=Pt(n,c));var p=t.getDerivedStateFromProps,v=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";v||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||s!==c)&&ku(n,l,r,c),Cn=!1;var f=n.memoizedState;l.state=f,wa(n,r,l,a),s=n.memoizedState,u!==r||f!==s||De.current||Cn?(typeof p=="function"&&(ul(n,t,p,r),s=n.memoizedState),(u=Cn||Eu(n,t,u,r,f,s,c))?(v||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(n.flags|=4194308)):(typeof l.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),l.props=r,l.state=s,l.context=c,r=u):(typeof l.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{l=n.stateNode,wc(e,n),u=n.memoizedProps,c=n.type===n.elementType?u:qe(n.type,u),l.props=c,v=n.pendingProps,f=l.context,s=t.contextType,typeof s=="object"&&s!==null?s=Ye(s):(s=Le(t)?Zn:Ee.current,s=Pt(n,s));var F=t.getDerivedStateFromProps;(p=typeof F=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==v||f!==s)&&ku(n,l,r,s),Cn=!1,f=n.memoizedState,l.state=f,wa(n,r,l,a);var g=n.memoizedState;u!==v||f!==g||De.current||Cn?(typeof F=="function"&&(ul(n,t,F,r),g=n.memoizedState),(c=Cn||Eu(n,t,c,r,f,g,s)||!1)?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,g,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,g,s)),typeof l.componentDidUpdate=="function"&&(n.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=g),l.props=r,l.state=g,l.context=s,r=c):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(n.flags|=1024),r=!1)}return hl(e,n,t,r,i,a)}function hl(e,n,t,r,a,i){td(e,n);var l=(n.flags&128)!==0;if(!r&&!l)return a&&Uu(n,t,!1),Sn(e,n,i);r=n.stateNode,np.current=n;var u=l&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&l?(n.child=Dt(n,e.child,null,i),n.child=Dt(n,null,u,i)):ke(e,n,u,i),n.memoizedState=r.state,a&&Uu(n,t,!0),n.child}function rd(e){var n=e.stateNode;n.pendingContext?Fu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Fu(e,n.context,!1),io(e,n.containerInfo)}function Ru(e,n,t,r,a){return Tt(),ao(a),n.flags|=256,ke(e,n,t,r),n.child}var Vr={dehydrated:null,treeContext:null,retryLane:0};function Kr(e){return{baseLanes:e,cachePool:null,transitions:null}}function Mu(e,n){return{baseLanes:e.baseLanes|n,cachePool:null,transitions:e.transitions}}function ad(e,n,t){var r=n.pendingProps,a=te.current,i=!1,l=(n.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(a&2)!==0),u?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),Y(te,a&1),e===null)return dl(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(a=r.children,e=r.fallback,i?(r=n.mode,i=n.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=Da(a,r,0,null),e=Jn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=Kr(t),n.memoizedState=Vr,e):gl(n,a));if(a=e.memoizedState,a!==null){if(u=a.dehydrated,u!==null){if(l)return n.flags&256?(n.flags&=-257,Wr(e,n,t,Error(x(422)))):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,a=n.mode,r=Da({mode:"visible",children:r.children},a,0,null),i=Jn(i,a,t,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&Dt(n,e.child,null,t),n.child.memoizedState=Kr(t),n.memoizedState=Vr,i);if(!(n.mode&1))n=Wr(e,n,t,null);else if(u.data==="$!")n=Wr(e,n,t,Error(x(419)));else if(r=(t&e.childLanes)!==0,Te||r){if(r=me,r!==null){switch(t&-t){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}r=i&(r.suspendedLanes|t)?0:i,r!==0&&r!==a.retryLane&&(a.retryLane=r,Qe(e,r,-1))}Uo(),n=Wr(e,n,t,Error(x(421)))}else u.data==="$?"?(n.flags|=128,n.child=e.child,n=fp.bind(null,e),u._reactRetry=n,n=null):(t=a.treeContext,Pe=hn(u.nextSibling),Be=n,ee=!0,nn=null,t!==null&&(Ge[Ve++]=gn,Ge[Ve++]=vn,Ge[Ve++]=qn,gn=t.id,vn=t.overflow,qn=n),n=gl(n,n.pendingProps.children),n.flags|=4096);return n}return i?(r=Bu(e,n,r.children,r.fallback,t),i=n.child,a=e.child.memoizedState,i.memoizedState=a===null?Kr(t):Mu(a,t),i.childLanes=e.childLanes&~t,n.memoizedState=Vr,r):(t=Iu(e,n,r.children,t),n.memoizedState=null,t)}return i?(r=Bu(e,n,r.children,r.fallback,t),i=n.child,a=e.child.memoizedState,i.memoizedState=a===null?Kr(t):Mu(a,t),i.childLanes=e.childLanes&~t,n.memoizedState=Vr,r):(t=Iu(e,n,r.children,t),n.memoizedState=null,t)}function gl(e,n){return n=Da({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Iu(e,n,t,r){var a=e.child;return e=a.sibling,t=Bn(a,{mode:"visible",children:t}),!(n.mode&1)&&(t.lanes=r),t.return=n,t.sibling=null,e!==null&&(r=n.deletions,r===null?(n.deletions=[e],n.flags|=16):r.push(e)),n.child=t}function Bu(e,n,t,r,a){var i=n.mode;e=e.child;var l=e.sibling,u={mode:"hidden",children:t};return!(i&1)&&n.child!==e?(t=n.child,t.childLanes=0,t.pendingProps=u,n.deletions=null):(t=Bn(e,u),t.subtreeFlags=e.subtreeFlags&14680064),l!==null?r=Bn(l,r):(r=Jn(r,i,a,null),r.flags|=2),r.return=n,t.return=n,t.sibling=r,n.child=t,r}function Wr(e,n,t,r){return r!==null&&ao(r),Dt(n,e.child,null,t),e=gl(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function zu(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),ol(e.return,n,t)}function xi(e,n,t,r,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:a}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=a)}function id(e,n,t){var r=n.pendingProps,a=r.revealOrder,i=r.tail;if(ke(e,n,r.children,t),r=te.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&zu(e,t,n);else if(e.tag===19)zu(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Y(te,r),!(n.mode&1))n.memoizedState=null;else switch(a){case"forwards":for(t=n.child,a=null;t!==null;)e=t.alternate,e!==null&&Ca(e)===null&&(a=t),t=t.sibling;t=a,t===null?(a=n.child,n.child=null):(a=t.sibling,t.sibling=null),xi(n,!1,a,t,i);break;case"backwards":for(t=null,a=n.child,n.child=null;a!==null;){if(e=a.alternate,e!==null&&Ca(e)===null){n.child=a;break}e=a.sibling,a.sibling=t,t=a,a=e}xi(n,!0,t,null,i);break;case"together":xi(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Sn(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),nt|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(x(153));if(n.child!==null){for(e=n.child,t=Bn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=Bn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function tp(e,n,t){switch(n.tag){case 3:rd(n),Tt();break;case 5:xc(n);break;case 1:Le(n.type)&&Fa(n);break;case 4:io(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,a=n.memoizedProps.value;Y(Ua,r._currentValue),r._currentValue=a;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(Y(te,te.current&1),n.flags|=128,null):t&n.child.childLanes?ad(e,n,t):(Y(te,te.current&1),e=Sn(e,n,t),e!==null?e.sibling:null);Y(te,te.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return id(e,n,t);n.flags|=128}if(a=n.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Y(te,te.current),r)break;return null;case 22:case 23:return n.lanes=0,nd(e,n,t)}return Sn(e,n,t)}function rp(e,n){switch(ro(n),n.tag){case 1:return Le(n.type)&&ya(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Lt(),X(De),X(Ee),oo(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return lo(n),null;case 13:if(X(te),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(x(340));Tt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return X(te),null;case 4:return Lt(),null;case 10:return eo(n.type._context),null;case 22:case 23:return Fo(),null;case 24:return null;default:return null}}var Qr=!1,we=!1,ap=typeof WeakSet=="function"?WeakSet:Set,P=null;function St(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){le(e,n,r)}else t.current=null}function vl(e,n,t){try{t()}catch(r){le(e,n,r)}}var bu=!1;function ip(e,n){if(nl=pa,e=dc(),Xl(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 a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var l=0,u=-1,s=-1,c=0,p=0,v=e,f=null;n:for(;;){for(var F;v!==t||a!==0&&v.nodeType!==3||(u=l+a),v!==i||r!==0&&v.nodeType!==3||(s=l+r),v.nodeType===3&&(l+=v.nodeValue.length),(F=v.firstChild)!==null;)f=v,v=F;for(;;){if(v===e)break n;if(f===t&&++c===a&&(u=l),f===i&&++p===r&&(s=l),(F=v.nextSibling)!==null)break;v=f,f=v.parentNode}v=F}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(tl={focusedElem:e,selectionRange:t},pa=!1,P=n;P!==null;)if(n=P,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,P=e;else for(;P!==null;){n=P;try{var g=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var S=g.memoizedProps,k=g.memoizedState,m=n.stateNode,d=m.getSnapshotBeforeUpdate(n.elementType===n.type?S:qe(n.type,S),k);m.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=n.stateNode.containerInfo;if(h.nodeType===1)h.textContent="";else if(h.nodeType===9){var U=h.body;U!=null&&(U.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(w){le(n,n.return,w)}if(e=n.sibling,e!==null){e.return=n.return,P=e;break}P=n.return}return g=bu,bu=!1,g}function ar(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&vl(n,t,i)}a=a.next}while(a!==r)}}function Qa(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 yl(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 ld(e){var n=e.alternate;n!==null&&(e.alternate=null,ld(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[sn],delete n[vr],delete n[il],delete n[$f],delete n[Hf])),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 od(e){return e.tag===5||e.tag===3||e.tag===4}function $u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||od(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 Fl(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=va));else if(r!==4&&(e=e.child,e!==null))for(Fl(e,n,t),e=e.sibling;e!==null;)Fl(e,n,t),e=e.sibling}function Ul(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(Ul(e,n,t),e=e.sibling;e!==null;)Ul(e,n,t),e=e.sibling}var he=null,en=!1;function En(e,n,t){for(t=t.child;t!==null;)ud(e,n,t),t=t.sibling}function ud(e,n,t){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(za,t)}catch{}switch(t.tag){case 5:we||St(t,n);case 6:var r=he,a=en;he=null,En(e,n,t),he=r,en=a,he!==null&&(en?(e=he,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):he.removeChild(t.stateNode));break;case 18:he!==null&&(en?(e=he,t=t.stateNode,e.nodeType===8?Ei(e.parentNode,t):e.nodeType===1&&Ei(e,t),mr(e)):Ei(he,t.stateNode));break;case 4:r=he,a=en,he=t.stateNode.containerInfo,en=!0,En(e,n,t),he=r,en=a;break;case 0:case 11:case 14:case 15:if(!we&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var i=a,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&vl(t,n,l),a=a.next}while(a!==r)}En(e,n,t);break;case 1:if(!we&&(St(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){le(t,n,u)}En(e,n,t);break;case 21:En(e,n,t);break;case 22:t.mode&1?(we=(r=we)||t.memoizedState!==null,En(e,n,t),we=r):En(e,n,t);break;default:En(e,n,t)}}function Hu(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new ap),n.forEach(function(r){var a=pp.bind(null,e,r);t.has(r)||(t.add(r),r.then(a,a))})}}function Ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;ra&&(a=l),r&=~i}if(r=a,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*op(r/1960))-r,10e?16:e,xn===null)var r=!1;else{if(e=xn,xn=null,Pa=0,V&6)throw Error(x(331));var a=V;for(V|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sue()-vo?Yn(e,0):go|=t),_e(e,n)}function vd(e,n){n===0&&(e.mode&1?(n=Ir,Ir<<=1,!(Ir&130023424)&&(Ir=4194304)):n=1);var t=Ce();e=Ja(e,n),e!==null&&(Nr(e,n,t),_e(e,t))}function fp(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),vd(e,t)}function pp(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(t=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(n),vd(e,t)}var yd;yd=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||De.current)Te=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return Te=!1,tp(e,n,t);Te=!!(e.flags&131072)}else Te=!1,ee&&n.flags&1048576&&Cc(n,ka,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps;var a=Pt(n,Ee.current);Nt(n,t),a=so(null,n,r,e,a,t);var i=co();return n.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Le(r)?(i=!0,Fa(n)):i=!1,n.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,no(n),a.updater=Ka,n.stateNode=a,a._reactInternals=n,sl(n,r,e,t),n=hl(null,n,r,!0,i,t)):(n.tag=0,ee&&i&&to(n),ke(null,n,a,t),n=n.child),n;case 16:r=n.elementType;e:{switch(e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,a=r._init,r=a(r._payload),n.type=r,a=n.tag=gp(r),e=qe(r,e),a){case 0:n=pl(null,n,r,e,t);break e;case 1:n=Ou(null,n,r,e,t);break e;case 11:n=Lu(null,n,r,e,t);break e;case 14:n=_u(null,n,r,qe(r.type,e),t);break e}throw Error(x(306,r,""))}return n;case 0:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:qe(r,a),pl(e,n,r,a,t);case 1:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:qe(r,a),Ou(e,n,r,a,t);case 3:e:{if(rd(n),e===null)throw Error(x(387));r=n.pendingProps,i=n.memoizedState,a=i.element,wc(e,n),wa(n,r,null,t);var l=n.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){a=Error(x(423)),n=Ru(e,n,r,t,a);break e}else if(r!==a){a=Error(x(424)),n=Ru(e,n,r,t,a);break e}else for(Pe=hn(n.stateNode.containerInfo.firstChild),Be=n,ee=!0,nn=null,t=Ac(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Tt(),r===a){n=Sn(e,n,t);break e}ke(e,n,r,t)}n=n.child}return n;case 5:return xc(n),e===null&&dl(n),r=n.type,a=n.pendingProps,i=e!==null?e.memoizedProps:null,l=a.children,rl(r,a)?l=null:i!==null&&rl(r,i)&&(n.flags|=32),td(e,n),ke(e,n,l,t),n.child;case 6:return e===null&&dl(n),null;case 13:return ad(e,n,t);case 4:return io(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Dt(n,null,r,t):ke(e,n,r,t),n.child;case 11:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:qe(r,a),Lu(e,n,r,a,t);case 7:return ke(e,n,n.pendingProps,t),n.child;case 8:return ke(e,n,n.pendingProps.children,t),n.child;case 12:return ke(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,a=n.pendingProps,i=n.memoizedProps,l=a.value,Y(Ua,r._currentValue),r._currentValue=l,i!==null)if(an(i.value,l)){if(i.children===a.children&&!De.current){n=Sn(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=yn(-1,t&-t),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?s.next=s:(s.next=p.next,p.next=s),c.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ol(i.return,t,n),u.lanes|=t;break}s=s.next}}else if(i.tag===10)l=i.type===n.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=t,u=l.alternate,u!==null&&(u.lanes|=t),ol(l,t,n),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===n){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}ke(e,n,a.children,t),n=n.child}return n;case 9:return a=n.type,r=n.pendingProps.children,Nt(n,t),a=Ye(a),r=r(a),n.flags|=1,ke(e,n,r,t),n.child;case 14:return r=n.type,a=qe(r,n.pendingProps),a=qe(r.type,a),_u(e,n,r,a,t);case 15:return ed(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:qe(r,a),e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),n.tag=1,Le(r)?(e=!0,Fa(n)):e=!1,Nt(n,t),kc(n,r,a),sl(n,r,a,t),hl(null,n,r,!0,e,t);case 19:return id(e,n,t);case 22:return nd(e,n,t)}throw Error(x(156,n.tag))};function Fd(e,n){return Ks(e,n)}function hp(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 Ke(e,n,t,r){return new hp(e,n,t,r)}function So(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gp(e){if(typeof e=="function")return So(e)?1:0;if(e!=null){if(e=e.$$typeof,e===zl)return 11;if(e===bl)return 14}return 2}function Bn(e,n){var t=e.alternate;return t===null?(t=Ke(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 oa(e,n,t,r,a,i){var l=2;if(r=e,typeof e=="function")So(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case mt:return Jn(t.children,a,i,n);case Bl:l=8,a|=8;break;case Oi:return e=Ke(12,t,n,a|2),e.elementType=Oi,e.lanes=i,e;case Ri:return e=Ke(13,t,n,a),e.elementType=Ri,e.lanes=i,e;case Mi:return e=Ke(19,t,n,a),e.elementType=Mi,e.lanes=i,e;case xs:return Da(t,a,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ns:l=10;break e;case As:l=9;break e;case zl:l=11;break e;case bl:l=14;break e;case kn:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return n=Ke(l,t,n,a),n.elementType=e,n.type=r,n.lanes=i,n}function Jn(e,n,t,r){return e=Ke(7,e,r,n),e.lanes=t,e}function Da(e,n,t,r){return e=Ke(22,e,r,n),e.elementType=xs,e.lanes=t,e.stateNode={},e}function Pi(e,n,t){return e=Ke(6,e,null,n),e.lanes=t,e}function Ti(e,n,t){return n=Ke(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function vp(e,n,t,r,a){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=mi(0),this.expirationTimes=mi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mi(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function wo(e,n,t,r,a,i,l,u,s){return e=new vp(e,n,t,u,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=Ke(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},no(i),e}function yp(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ed)}catch(e){console.error(e)}}Ed(),ws.exports=be;var Ep=ws.exports,Xu=Ep;Li.createRoot=Xu.createRoot,Li.hydrateRoot=Xu.hydrateRoot;const kp="fb8440ef900f42af7ad7db17bf87fa3045982354",kd="v1.2.17",Cp="react-headless",jp="/react-headless",ua="https://github.com/nexys-system/react-headless",Np={sha:`${ua}/commit/${kp}`,version:`${ua}/releases/tag/${kd}`,url:ua},Ap=(e,n=40)=>{if(!e)return"-";const t=e.length;return n===0?"":t>n?e.substring(0,n)+"...":e};var Cd={exports:{}},ni={};/** + * @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 xp=M,Pp=Symbol.for("react.element"),Tp=Symbol.for("react.fragment"),Dp=Object.prototype.hasOwnProperty,Lp=xp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_p={key:!0,ref:!0,__self:!0,__source:!0};function jd(e,n,t){var r,a={},i=null,l=null;t!==void 0&&(i=""+t),n.key!==void 0&&(i=""+n.key),n.ref!==void 0&&(l=n.ref);for(r in n)Dp.call(n,r)&&!_p.hasOwnProperty(r)&&(a[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)a[r]===void 0&&(a[r]=n[r]);return{$$typeof:Pp,type:e,key:i,ref:l,props:a,_owner:Lp.current}}ni.Fragment=Tp;ni.jsx=jd;ni.jsxs=jd;Cd.exports=ni;var jo=Cd.exports;const o=jo.jsx,A=jo.jsxs,O=jo.Fragment;var ct=(e=>(e[e.idle=1]="idle",e[e.progress=2]="progress",e[e.copied=3]="copied",e))(ct||{});const Op=e=>({code:n,copyToClipboard:t=!1,truncate:r})=>{const[a,i]=B.useState(1),l=async()=>{i(2),await navigator.clipboard.writeText(n),i(3)},u=r===void 0?n:Ap(n,r);return o(e,{handleClick:l,code:u,copyState:a,copyToClipboard:t})},Rp=({code:e,copyState:n,copyToClipboard:t,handleClick:r})=>{const a="cursor-pointer rounded p-1 pb-1 px-3 text-sm text-gray-300 hover:text-white "+(n===ct.progress?"bg-yellow-500":"bg-gray-600");return A("span",{onClick:t?r:void 0,className:a,children:[A("code",{children:[e," "]}),t&&A("button",{disabled:n===ct.progress,className:`text-xs px-2 py-1 rounded ${n===ct.copied?"bg-green-500":"bg-blue-500"} hover:bg-blue-600 disabled:opacity-50`,children:[n!==ct.copied&&o("span",{children:"Copy"}),n===ct.copied&&o("span",{children:"Copied"})]})]})},Cl=Op(Rp),Mp=[["https://badge.fury.io/js/%40nexys%2Fheadless.svg","https://www.npmjs.com/package/@nexys/headless"],["https://img.shields.io/npm/v/@nexys/headless.svg","https://www.npmjs.com/package/@nexys/headless"],["https://github.com/nexys-system/react-headless/actions/workflows/publish.yml/badge.svg","https://github.com/nexys-system/react-headless/actions/workflows/publish.yml"],["https://github.com/nexys-system/react-headless/actions/workflows/deploy.yml/badge.svg","https://github.com/nexys-system/react-headless/actions/workflows/deploy.yml"]],Ip=()=>A("div",{children:[o("h1",{children:"React Headless Components"}),o("h3",{children:"Get Started"}),o(Cl,{code:"yarn add @nexys/headless",copyToClipboard:!0}),o("h3",{children:"Resources"}),A("p",{children:[o("a",{href:ua,children:"Source"})," available under MIT license."]}),o("ul",{className:"flex items-stretch ",children:Mp.map((e,n)=>o("li",{className:"p-1",children:o("img",{src:e[0]})},n))})]}),Bp=()=>o("footer",{children:o("div",{className:"container mx-auto px-4",children:o("p",{className:"text-sm",children:o("a",{href:Np.version,className:"text-blue-600 hover:text-blue-800",children:kd})})})});function _a(){return _a=Object.assign||function(e){for(var n=1;n=0&&(n.hash=e.substr(t),e=e.substr(0,t));var r=e.indexOf("?");r>=0&&(n.search=e.substr(r),e=e.substr(0,r)),e&&(n.pathname=e)}return n}/** + * React Router v6.3.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const No=M.createContext(null),Ao=M.createContext(null),ti=M.createContext({outlet:null,matches:[]});function ln(e,n){throw new Error(n)}function Hp(e,n,t){t===void 0&&(t="/");let r=typeof n=="string"?lt(n):n,a=xd(r.pathname||"/",t);if(a==null)return null;let i=Nd(e);Gp(i);let l=null;for(let u=0;l==null&&u{let l={relativePath:a.path||"",caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(l.relativePath.startsWith(r)||ln(),l.relativePath=l.relativePath.slice(r.length));let u=Rn([r,l.relativePath]),s=t.concat(l);a.children&&a.children.length>0&&(a.index===!0&&ln(),Nd(a.children,n,s,u)),!(a.path==null&&!a.index)&&n.push({path:u,score:Xp(u,a.index),routesMeta:s})}),n}function Gp(e){e.sort((n,t)=>n.score!==t.score?t.score-n.score:Zp(n.routesMeta.map(r=>r.childrenIndex),t.routesMeta.map(r=>r.childrenIndex)))}const Vp=/^:\w+$/,Kp=3,Wp=2,Qp=1,Yp=10,Jp=-2,ts=e=>e==="*";function Xp(e,n){let t=e.split("/"),r=t.length;return t.some(ts)&&(r+=Jp),n&&(r+=Wp),t.filter(a=>!ts(a)).reduce((a,i)=>a+(Vp.test(i)?Kp:i===""?Qp:Yp),r)}function Zp(e,n){return e.length===n.length&&e.slice(0,-1).every((r,a)=>r===n[a])?e[e.length-1]-n[n.length-1]:0}function qp(e,n){let{routesMeta:t}=e,r={},a="/",i=[];for(let l=0;l{if(p==="*"){let f=u[v]||"";l=i.slice(0,i.length-f.length).replace(/(.)\/+$/,"$1")}return c[p]=th(u[v]||""),c},{}),pathname:i,pathnameBase:l,pattern:e}}function nh(e,n,t){n===void 0&&(n=!1),t===void 0&&(t=!0);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(l,u)=>(r.push(u),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=t?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,n?void 0:"i"),r]}function th(e,n){try{return decodeURIComponent(e)}catch{return e}}function rh(e,n){n===void 0&&(n="/");let{pathname:t,search:r="",hash:a=""}=typeof e=="string"?lt(e):e;return{pathname:t?t.startsWith("/")?t:ah(t,n):n,search:lh(r),hash:oh(a)}}function ah(e,n){let t=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?t.length>1&&t.pop():a!=="."&&t.push(a)}),t.length>1?t.join("/"):"/"}function Ad(e,n,t){let r=typeof e=="string"?lt(e):e,a=e===""||r.pathname===""?"/":r.pathname,i;if(a==null)i=t;else{let u=n.length-1;if(a.startsWith("..")){let s=a.split("/");for(;s[0]==="..";)s.shift(),u-=1;r.pathname=s.join("/")}i=u>=0?n[u]:"/"}let l=rh(r,i);return a&&a!=="/"&&a.endsWith("/")&&!l.pathname.endsWith("/")&&(l.pathname+="/"),l}function ih(e){return e===""||e.pathname===""?"/":typeof e=="string"?lt(e).pathname:e.pathname}function xd(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let t=e.charAt(n.length);return t&&t!=="/"?null:e.slice(n.length)||"/"}const Rn=e=>e.join("/").replace(/\/\/+/g,"/"),Pd=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),lh=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,oh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function uh(e){It()||ln();let{basename:n,navigator:t}=M.useContext(No),{hash:r,pathname:a,search:i}=Dd(e),l=a;if(n!=="/"){let u=ih(e),s=u!=null&&u.endsWith("/");l=a==="/"?n+(s?"/":""):Rn([n,a])}return t.createHref({pathname:l,search:i,hash:r})}function It(){return M.useContext(Ao)!=null}function Tr(){return It()||ln(),M.useContext(Ao).location}function Td(){It()||ln();let{basename:e,navigator:n}=M.useContext(No),{matches:t}=M.useContext(ti),{pathname:r}=Tr(),a=JSON.stringify(t.map(u=>u.pathnameBase)),i=M.useRef(!1);return M.useEffect(()=>{i.current=!0}),M.useCallback(function(u,s){if(s===void 0&&(s={}),!i.current)return;if(typeof u=="number"){n.go(u);return}let c=Ad(u,JSON.parse(a),r);e!=="/"&&(c.pathname=Rn([e,c.pathname])),(s.replace?n.replace:n.push)(c,s.state)},[e,n,a,r])}function Dd(e){let{matches:n}=M.useContext(ti),{pathname:t}=Tr(),r=JSON.stringify(n.map(a=>a.pathnameBase));return M.useMemo(()=>Ad(e,JSON.parse(r),t),[e,r,t])}function sh(e,n){It()||ln();let{matches:t}=M.useContext(ti),r=t[t.length-1],a=r?r.params:{};r&&r.pathname;let i=r?r.pathnameBase:"/";r&&r.route;let l=Tr(),u;if(n){var s;let f=typeof n=="string"?lt(n):n;i==="/"||(s=f.pathname)!=null&&s.startsWith(i)||ln(),u=f}else u=l;let c=u.pathname||"/",p=i==="/"?c:c.slice(i.length)||"/",v=Hp(e,{pathname:p});return ch(v&&v.map(f=>Object.assign({},f,{params:Object.assign({},a,f.params),pathname:Rn([i,f.pathname]),pathnameBase:f.pathnameBase==="/"?i:Rn([i,f.pathnameBase])})),t)}function ch(e,n){return n===void 0&&(n=[]),e==null?null:e.reduceRight((t,r,a)=>M.createElement(ti.Provider,{children:r.route.element!==void 0?r.route.element:t,value:{outlet:t,matches:n.concat(e.slice(0,a+1))}}),null)}function dh(e){let{to:n,replace:t,state:r}=e;It()||ln();let a=Td();return M.useEffect(()=>{a(n,{replace:t,state:r})}),null}function Z(e){ln()}function mh(e){let{basename:n="/",children:t=null,location:r,navigationType:a=Qn.Pop,navigator:i,static:l=!1}=e;It()&&ln();let u=Pd(n),s=M.useMemo(()=>({basename:u,navigator:i,static:l}),[u,i,l]);typeof r=="string"&&(r=lt(r));let{pathname:c="/",search:p="",hash:v="",state:f=null,key:F="default"}=r,g=M.useMemo(()=>{let S=xd(c,u);return S==null?null:{pathname:S,search:p,hash:v,state:f,key:F}},[u,c,p,v,f,F]);return g==null?null:M.createElement(No.Provider,{value:s},M.createElement(Ao.Provider,{children:t,value:{location:g,navigationType:a}}))}function Ld(e){let{children:n,location:t}=e;return sh(Nl(n),t)}function Nl(e){let n=[];return M.Children.forEach(e,t=>{if(!M.isValidElement(t))return;if(t.type===M.Fragment){n.push.apply(n,Nl(t.props.children));return}t.type!==Z&&ln();let r={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(r.children=Nl(t.props.children)),n.push(r)}),n}/** + * React Router DOM v6.3.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Al(){return Al=Object.assign||function(e){for(var n=1;n=0)&&(t[a]=e[a]);return t}const ph=["onClick","reloadDocument","replace","state","target","to"];function hh(e){let{basename:n,children:t,window:r}=e,a=M.useRef();a.current==null&&(a.current=bp({window:r}));let i=a.current,[l,u]=M.useState({action:i.action,location:i.location});return M.useLayoutEffect(()=>i.listen(u),[i]),M.createElement(mh,{basename:n,children:t,location:l.location,navigationType:l.action,navigator:i})}function gh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const xl=M.forwardRef(function(n,t){let{onClick:r,reloadDocument:a,replace:i=!1,state:l,target:u,to:s}=n,c=fh(n,ph),p=uh(s),v=vh(s,{replace:i,state:l,target:u});function f(F){r&&r(F),!F.defaultPrevented&&!a&&v(F)}return M.createElement("a",Al({},c,{href:p,onClick:f,ref:t,target:u}))});function vh(e,n){let{target:t,replace:r,state:a}=n===void 0?{}:n,i=Td(),l=Tr(),u=Dd(e);return M.useCallback(s=>{if(s.button===0&&(!t||t==="_self")&&!gh(s)){s.preventDefault();let c=!!r||jl(l)===jl(u);i(e,{replace:c,state:a})}},[l,i,u,r,a,t,e])}const q={list:{name:"Table",link:"/table"},layout:{name:"Layout",link:"/layout"},view:{name:"View",link:"/view"},card:{name:"Card",link:"/card"},form:{name:"Form",link:"/form"},loadDataAsync:{name:"Load Data Async",link:"/load-data-async"},notifications:{name:"Notifications",link:"/notifications"},code:{name:"Code",link:"/code"},listAssign:{name:"List Assign",link:"/list-assign"},buttons:{name:"Buttons",link:"/buttons"},badge:{name:"Badge",link:"/badge"},statusChange:{name:"Status Change",link:"/status-change"},simpleList:{name:"Simple list",link:"/simple-list"},toggle:{name:"Toggle",link:"/toggle"},tabs:{name:"Tabs",link:"/tabs"},fileUpload:{name:"File Upload",link:"/file-upload"},detail:{name:"Detail",link:"/detail"}},yh=Object.values(q),Fh=()=>o("header",{className:"bg-white border-b shadow-sm",children:o("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:A("div",{className:"flex justify-between items-center py-3 md:justify-start md:space-x-10",children:[o("div",{className:"flex justify-start lg:w-0 lg:flex-1",children:o(xl,{to:"/",className:"text-xl font-semibold text-gray-900",children:Cp})}),o("nav",{className:"hidden md:flex space-x-10",children:yh.map((e,n)=>o(xl,{to:e.link,className:"text-base font-medium text-gray-500 hover:text-gray-900",children:e.name},n))})]})})}),Uh=({children:e})=>A("div",{className:"flex flex-col min-h-screen",children:[o(Fh,{}),o("main",{className:"flex-grow",children:o("div",{className:"container mx-auto px-4",children:e})}),o(Bp,{})]});var _d={exports:{}};/*! countries-list v2.6.1 by Annexare | MIT */(function(e,n){(function(t,r){e.exports=r()})(ge,function(){var t={AF:"Africa",AN:"Antarctica",AS:"Asia",EU:"Europe",NA:"North America",OC:"Oceania",SA:"South America"},r={AD:{name:"Andorra",native:"Andorra",phone:"376",continent:"EU",capital:"Andorra la Vella",currency:"EUR",languages:["ca"],emoji:"🇦🇩",emojiU:"U+1F1E6 U+1F1E9"},AE:{name:"United Arab Emirates",native:"دولة الإمارات العربية المتحدة",phone:"971",continent:"AS",capital:"Abu Dhabi",currency:"AED",languages:["ar"],emoji:"🇦🇪",emojiU:"U+1F1E6 U+1F1EA"},AF:{name:"Afghanistan",native:"افغانستان",phone:"93",continent:"AS",capital:"Kabul",currency:"AFN",languages:["ps","uz","tk"],emoji:"🇦🇫",emojiU:"U+1F1E6 U+1F1EB"},AG:{name:"Antigua and Barbuda",native:"Antigua and Barbuda",phone:"1268",continent:"NA",capital:"Saint John's",currency:"XCD",languages:["en"],emoji:"🇦🇬",emojiU:"U+1F1E6 U+1F1EC"},AI:{name:"Anguilla",native:"Anguilla",phone:"1264",continent:"NA",capital:"The Valley",currency:"XCD",languages:["en"],emoji:"🇦🇮",emojiU:"U+1F1E6 U+1F1EE"},AL:{name:"Albania",native:"Shqipëria",phone:"355",continent:"EU",capital:"Tirana",currency:"ALL",languages:["sq"],emoji:"🇦🇱",emojiU:"U+1F1E6 U+1F1F1"},AM:{name:"Armenia",native:"Հայաստան",phone:"374",continent:"AS",capital:"Yerevan",currency:"AMD",languages:["hy","ru"],emoji:"🇦🇲",emojiU:"U+1F1E6 U+1F1F2"},AO:{name:"Angola",native:"Angola",phone:"244",continent:"AF",capital:"Luanda",currency:"AOA",languages:["pt"],emoji:"🇦🇴",emojiU:"U+1F1E6 U+1F1F4"},AQ:{name:"Antarctica",native:"Antarctica",phone:"672",continent:"AN",capital:"",currency:"",languages:[],emoji:"🇦🇶",emojiU:"U+1F1E6 U+1F1F6"},AR:{name:"Argentina",native:"Argentina",phone:"54",continent:"SA",capital:"Buenos Aires",currency:"ARS",languages:["es","gn"],emoji:"🇦🇷",emojiU:"U+1F1E6 U+1F1F7"},AS:{name:"American Samoa",native:"American Samoa",phone:"1684",continent:"OC",capital:"Pago Pago",currency:"USD",languages:["en","sm"],emoji:"🇦🇸",emojiU:"U+1F1E6 U+1F1F8"},AT:{name:"Austria",native:"Österreich",phone:"43",continent:"EU",capital:"Vienna",currency:"EUR",languages:["de"],emoji:"🇦🇹",emojiU:"U+1F1E6 U+1F1F9"},AU:{name:"Australia",native:"Australia",phone:"61",continent:"OC",capital:"Canberra",currency:"AUD",languages:["en"],emoji:"🇦🇺",emojiU:"U+1F1E6 U+1F1FA"},AW:{name:"Aruba",native:"Aruba",phone:"297",continent:"NA",capital:"Oranjestad",currency:"AWG",languages:["nl","pa"],emoji:"🇦🇼",emojiU:"U+1F1E6 U+1F1FC"},AX:{name:"Åland",native:"Åland",phone:"358",continent:"EU",capital:"Mariehamn",currency:"EUR",languages:["sv"],emoji:"🇦🇽",emojiU:"U+1F1E6 U+1F1FD"},AZ:{name:"Azerbaijan",native:"Azərbaycan",phone:"994",continent:"AS",capital:"Baku",currency:"AZN",languages:["az"],emoji:"🇦🇿",emojiU:"U+1F1E6 U+1F1FF"},BA:{name:"Bosnia and Herzegovina",native:"Bosna i Hercegovina",phone:"387",continent:"EU",capital:"Sarajevo",currency:"BAM",languages:["bs","hr","sr"],emoji:"🇧🇦",emojiU:"U+1F1E7 U+1F1E6"},BB:{name:"Barbados",native:"Barbados",phone:"1246",continent:"NA",capital:"Bridgetown",currency:"BBD",languages:["en"],emoji:"🇧🇧",emojiU:"U+1F1E7 U+1F1E7"},BD:{name:"Bangladesh",native:"Bangladesh",phone:"880",continent:"AS",capital:"Dhaka",currency:"BDT",languages:["bn"],emoji:"🇧🇩",emojiU:"U+1F1E7 U+1F1E9"},BE:{name:"Belgium",native:"België",phone:"32",continent:"EU",capital:"Brussels",currency:"EUR",languages:["nl","fr","de"],emoji:"🇧🇪",emojiU:"U+1F1E7 U+1F1EA"},BF:{name:"Burkina Faso",native:"Burkina Faso",phone:"226",continent:"AF",capital:"Ouagadougou",currency:"XOF",languages:["fr","ff"],emoji:"🇧🇫",emojiU:"U+1F1E7 U+1F1EB"},BG:{name:"Bulgaria",native:"България",phone:"359",continent:"EU",capital:"Sofia",currency:"BGN",languages:["bg"],emoji:"🇧🇬",emojiU:"U+1F1E7 U+1F1EC"},BH:{name:"Bahrain",native:"‏البحرين",phone:"973",continent:"AS",capital:"Manama",currency:"BHD",languages:["ar"],emoji:"🇧🇭",emojiU:"U+1F1E7 U+1F1ED"},BI:{name:"Burundi",native:"Burundi",phone:"257",continent:"AF",capital:"Bujumbura",currency:"BIF",languages:["fr","rn"],emoji:"🇧🇮",emojiU:"U+1F1E7 U+1F1EE"},BJ:{name:"Benin",native:"Bénin",phone:"229",continent:"AF",capital:"Porto-Novo",currency:"XOF",languages:["fr"],emoji:"🇧🇯",emojiU:"U+1F1E7 U+1F1EF"},BL:{name:"Saint Barthélemy",native:"Saint-Barthélemy",phone:"590",continent:"NA",capital:"Gustavia",currency:"EUR",languages:["fr"],emoji:"🇧🇱",emojiU:"U+1F1E7 U+1F1F1"},BM:{name:"Bermuda",native:"Bermuda",phone:"1441",continent:"NA",capital:"Hamilton",currency:"BMD",languages:["en"],emoji:"🇧🇲",emojiU:"U+1F1E7 U+1F1F2"},BN:{name:"Brunei",native:"Negara Brunei Darussalam",phone:"673",continent:"AS",capital:"Bandar Seri Begawan",currency:"BND",languages:["ms"],emoji:"🇧🇳",emojiU:"U+1F1E7 U+1F1F3"},BO:{name:"Bolivia",native:"Bolivia",phone:"591",continent:"SA",capital:"Sucre",currency:"BOB,BOV",languages:["es","ay","qu"],emoji:"🇧🇴",emojiU:"U+1F1E7 U+1F1F4"},BQ:{name:"Bonaire",native:"Bonaire",phone:"5997",continent:"NA",capital:"Kralendijk",currency:"USD",languages:["nl"],emoji:"🇧🇶",emojiU:"U+1F1E7 U+1F1F6"},BR:{name:"Brazil",native:"Brasil",phone:"55",continent:"SA",capital:"Brasília",currency:"BRL",languages:["pt"],emoji:"🇧🇷",emojiU:"U+1F1E7 U+1F1F7"},BS:{name:"Bahamas",native:"Bahamas",phone:"1242",continent:"NA",capital:"Nassau",currency:"BSD",languages:["en"],emoji:"🇧🇸",emojiU:"U+1F1E7 U+1F1F8"},BT:{name:"Bhutan",native:"ʼbrug-yul",phone:"975",continent:"AS",capital:"Thimphu",currency:"BTN,INR",languages:["dz"],emoji:"🇧🇹",emojiU:"U+1F1E7 U+1F1F9"},BV:{name:"Bouvet Island",native:"Bouvetøya",phone:"47",continent:"AN",capital:"",currency:"NOK",languages:["no","nb","nn"],emoji:"🇧🇻",emojiU:"U+1F1E7 U+1F1FB"},BW:{name:"Botswana",native:"Botswana",phone:"267",continent:"AF",capital:"Gaborone",currency:"BWP",languages:["en","tn"],emoji:"🇧🇼",emojiU:"U+1F1E7 U+1F1FC"},BY:{name:"Belarus",native:"Белару́сь",phone:"375",continent:"EU",capital:"Minsk",currency:"BYN",languages:["be","ru"],emoji:"🇧🇾",emojiU:"U+1F1E7 U+1F1FE"},BZ:{name:"Belize",native:"Belize",phone:"501",continent:"NA",capital:"Belmopan",currency:"BZD",languages:["en","es"],emoji:"🇧🇿",emojiU:"U+1F1E7 U+1F1FF"},CA:{name:"Canada",native:"Canada",phone:"1",continent:"NA",capital:"Ottawa",currency:"CAD",languages:["en","fr"],emoji:"🇨🇦",emojiU:"U+1F1E8 U+1F1E6"},CC:{name:"Cocos [Keeling] Islands",native:"Cocos (Keeling) Islands",phone:"61",continent:"AS",capital:"West Island",currency:"AUD",languages:["en"],emoji:"🇨🇨",emojiU:"U+1F1E8 U+1F1E8"},CD:{name:"Democratic Republic of the Congo",native:"République démocratique du Congo",phone:"243",continent:"AF",capital:"Kinshasa",currency:"CDF",languages:["fr","ln","kg","sw","lu"],emoji:"🇨🇩",emojiU:"U+1F1E8 U+1F1E9"},CF:{name:"Central African Republic",native:"Ködörösêse tî Bêafrîka",phone:"236",continent:"AF",capital:"Bangui",currency:"XAF",languages:["fr","sg"],emoji:"🇨🇫",emojiU:"U+1F1E8 U+1F1EB"},CG:{name:"Republic of the Congo",native:"République du Congo",phone:"242",continent:"AF",capital:"Brazzaville",currency:"XAF",languages:["fr","ln"],emoji:"🇨🇬",emojiU:"U+1F1E8 U+1F1EC"},CH:{name:"Switzerland",native:"Schweiz",phone:"41",continent:"EU",capital:"Bern",currency:"CHE,CHF,CHW",languages:["de","fr","it"],emoji:"🇨🇭",emojiU:"U+1F1E8 U+1F1ED"},CI:{name:"Ivory Coast",native:"Côte d'Ivoire",phone:"225",continent:"AF",capital:"Yamoussoukro",currency:"XOF",languages:["fr"],emoji:"🇨🇮",emojiU:"U+1F1E8 U+1F1EE"},CK:{name:"Cook Islands",native:"Cook Islands",phone:"682",continent:"OC",capital:"Avarua",currency:"NZD",languages:["en"],emoji:"🇨🇰",emojiU:"U+1F1E8 U+1F1F0"},CL:{name:"Chile",native:"Chile",phone:"56",continent:"SA",capital:"Santiago",currency:"CLF,CLP",languages:["es"],emoji:"🇨🇱",emojiU:"U+1F1E8 U+1F1F1"},CM:{name:"Cameroon",native:"Cameroon",phone:"237",continent:"AF",capital:"Yaoundé",currency:"XAF",languages:["en","fr"],emoji:"🇨🇲",emojiU:"U+1F1E8 U+1F1F2"},CN:{name:"China",native:"中国",phone:"86",continent:"AS",capital:"Beijing",currency:"CNY",languages:["zh"],emoji:"🇨🇳",emojiU:"U+1F1E8 U+1F1F3"},CO:{name:"Colombia",native:"Colombia",phone:"57",continent:"SA",capital:"Bogotá",currency:"COP",languages:["es"],emoji:"🇨🇴",emojiU:"U+1F1E8 U+1F1F4"},CR:{name:"Costa Rica",native:"Costa Rica",phone:"506",continent:"NA",capital:"San José",currency:"CRC",languages:["es"],emoji:"🇨🇷",emojiU:"U+1F1E8 U+1F1F7"},CU:{name:"Cuba",native:"Cuba",phone:"53",continent:"NA",capital:"Havana",currency:"CUC,CUP",languages:["es"],emoji:"🇨🇺",emojiU:"U+1F1E8 U+1F1FA"},CV:{name:"Cape Verde",native:"Cabo Verde",phone:"238",continent:"AF",capital:"Praia",currency:"CVE",languages:["pt"],emoji:"🇨🇻",emojiU:"U+1F1E8 U+1F1FB"},CW:{name:"Curacao",native:"Curaçao",phone:"5999",continent:"NA",capital:"Willemstad",currency:"ANG",languages:["nl","pa","en"],emoji:"🇨🇼",emojiU:"U+1F1E8 U+1F1FC"},CX:{name:"Christmas Island",native:"Christmas Island",phone:"61",continent:"AS",capital:"Flying Fish Cove",currency:"AUD",languages:["en"],emoji:"🇨🇽",emojiU:"U+1F1E8 U+1F1FD"},CY:{name:"Cyprus",native:"Κύπρος",phone:"357",continent:"EU",capital:"Nicosia",currency:"EUR",languages:["el","tr","hy"],emoji:"🇨🇾",emojiU:"U+1F1E8 U+1F1FE"},CZ:{name:"Czech Republic",native:"Česká republika",phone:"420",continent:"EU",capital:"Prague",currency:"CZK",languages:["cs","sk"],emoji:"🇨🇿",emojiU:"U+1F1E8 U+1F1FF"},DE:{name:"Germany",native:"Deutschland",phone:"49",continent:"EU",capital:"Berlin",currency:"EUR",languages:["de"],emoji:"🇩🇪",emojiU:"U+1F1E9 U+1F1EA"},DJ:{name:"Djibouti",native:"Djibouti",phone:"253",continent:"AF",capital:"Djibouti",currency:"DJF",languages:["fr","ar"],emoji:"🇩🇯",emojiU:"U+1F1E9 U+1F1EF"},DK:{name:"Denmark",native:"Danmark",phone:"45",continent:"EU",capital:"Copenhagen",currency:"DKK",languages:["da"],emoji:"🇩🇰",emojiU:"U+1F1E9 U+1F1F0"},DM:{name:"Dominica",native:"Dominica",phone:"1767",continent:"NA",capital:"Roseau",currency:"XCD",languages:["en"],emoji:"🇩🇲",emojiU:"U+1F1E9 U+1F1F2"},DO:{name:"Dominican Republic",native:"República Dominicana",phone:"1809,1829,1849",continent:"NA",capital:"Santo Domingo",currency:"DOP",languages:["es"],emoji:"🇩🇴",emojiU:"U+1F1E9 U+1F1F4"},DZ:{name:"Algeria",native:"الجزائر",phone:"213",continent:"AF",capital:"Algiers",currency:"DZD",languages:["ar"],emoji:"🇩🇿",emojiU:"U+1F1E9 U+1F1FF"},EC:{name:"Ecuador",native:"Ecuador",phone:"593",continent:"SA",capital:"Quito",currency:"USD",languages:["es"],emoji:"🇪🇨",emojiU:"U+1F1EA U+1F1E8"},EE:{name:"Estonia",native:"Eesti",phone:"372",continent:"EU",capital:"Tallinn",currency:"EUR",languages:["et"],emoji:"🇪🇪",emojiU:"U+1F1EA U+1F1EA"},EG:{name:"Egypt",native:"مصر‎",phone:"20",continent:"AF",capital:"Cairo",currency:"EGP",languages:["ar"],emoji:"🇪🇬",emojiU:"U+1F1EA U+1F1EC"},EH:{name:"Western Sahara",native:"الصحراء الغربية",phone:"212",continent:"AF",capital:"El Aaiún",currency:"MAD,DZD,MRU",languages:["es"],emoji:"🇪🇭",emojiU:"U+1F1EA U+1F1ED"},ER:{name:"Eritrea",native:"ኤርትራ",phone:"291",continent:"AF",capital:"Asmara",currency:"ERN",languages:["ti","ar","en"],emoji:"🇪🇷",emojiU:"U+1F1EA U+1F1F7"},ES:{name:"Spain",native:"España",phone:"34",continent:"EU",capital:"Madrid",currency:"EUR",languages:["es","eu","ca","gl","oc"],emoji:"🇪🇸",emojiU:"U+1F1EA U+1F1F8"},ET:{name:"Ethiopia",native:"ኢትዮጵያ",phone:"251",continent:"AF",capital:"Addis Ababa",currency:"ETB",languages:["am"],emoji:"🇪🇹",emojiU:"U+1F1EA U+1F1F9"},FI:{name:"Finland",native:"Suomi",phone:"358",continent:"EU",capital:"Helsinki",currency:"EUR",languages:["fi","sv"],emoji:"🇫🇮",emojiU:"U+1F1EB U+1F1EE"},FJ:{name:"Fiji",native:"Fiji",phone:"679",continent:"OC",capital:"Suva",currency:"FJD",languages:["en","fj","hi","ur"],emoji:"🇫🇯",emojiU:"U+1F1EB U+1F1EF"},FK:{name:"Falkland Islands",native:"Falkland Islands",phone:"500",continent:"SA",capital:"Stanley",currency:"FKP",languages:["en"],emoji:"🇫🇰",emojiU:"U+1F1EB U+1F1F0"},FM:{name:"Micronesia",native:"Micronesia",phone:"691",continent:"OC",capital:"Palikir",currency:"USD",languages:["en"],emoji:"🇫🇲",emojiU:"U+1F1EB U+1F1F2"},FO:{name:"Faroe Islands",native:"Føroyar",phone:"298",continent:"EU",capital:"Tórshavn",currency:"DKK",languages:["fo"],emoji:"🇫🇴",emojiU:"U+1F1EB U+1F1F4"},FR:{name:"France",native:"France",phone:"33",continent:"EU",capital:"Paris",currency:"EUR",languages:["fr"],emoji:"🇫🇷",emojiU:"U+1F1EB U+1F1F7"},GA:{name:"Gabon",native:"Gabon",phone:"241",continent:"AF",capital:"Libreville",currency:"XAF",languages:["fr"],emoji:"🇬🇦",emojiU:"U+1F1EC U+1F1E6"},GB:{name:"United Kingdom",native:"United Kingdom",phone:"44",continent:"EU",capital:"London",currency:"GBP",languages:["en"],emoji:"🇬🇧",emojiU:"U+1F1EC U+1F1E7"},GD:{name:"Grenada",native:"Grenada",phone:"1473",continent:"NA",capital:"St. George's",currency:"XCD",languages:["en"],emoji:"🇬🇩",emojiU:"U+1F1EC U+1F1E9"},GE:{name:"Georgia",native:"საქართველო",phone:"995",continent:"AS",capital:"Tbilisi",currency:"GEL",languages:["ka"],emoji:"🇬🇪",emojiU:"U+1F1EC U+1F1EA"},GF:{name:"French Guiana",native:"Guyane française",phone:"594",continent:"SA",capital:"Cayenne",currency:"EUR",languages:["fr"],emoji:"🇬🇫",emojiU:"U+1F1EC U+1F1EB"},GG:{name:"Guernsey",native:"Guernsey",phone:"44",continent:"EU",capital:"St. Peter Port",currency:"GBP",languages:["en","fr"],emoji:"🇬🇬",emojiU:"U+1F1EC U+1F1EC"},GH:{name:"Ghana",native:"Ghana",phone:"233",continent:"AF",capital:"Accra",currency:"GHS",languages:["en"],emoji:"🇬🇭",emojiU:"U+1F1EC U+1F1ED"},GI:{name:"Gibraltar",native:"Gibraltar",phone:"350",continent:"EU",capital:"Gibraltar",currency:"GIP",languages:["en"],emoji:"🇬🇮",emojiU:"U+1F1EC U+1F1EE"},GL:{name:"Greenland",native:"Kalaallit Nunaat",phone:"299",continent:"NA",capital:"Nuuk",currency:"DKK",languages:["kl"],emoji:"🇬🇱",emojiU:"U+1F1EC U+1F1F1"},GM:{name:"Gambia",native:"Gambia",phone:"220",continent:"AF",capital:"Banjul",currency:"GMD",languages:["en"],emoji:"🇬🇲",emojiU:"U+1F1EC U+1F1F2"},GN:{name:"Guinea",native:"Guinée",phone:"224",continent:"AF",capital:"Conakry",currency:"GNF",languages:["fr","ff"],emoji:"🇬🇳",emojiU:"U+1F1EC U+1F1F3"},GP:{name:"Guadeloupe",native:"Guadeloupe",phone:"590",continent:"NA",capital:"Basse-Terre",currency:"EUR",languages:["fr"],emoji:"🇬🇵",emojiU:"U+1F1EC U+1F1F5"},GQ:{name:"Equatorial Guinea",native:"Guinea Ecuatorial",phone:"240",continent:"AF",capital:"Malabo",currency:"XAF",languages:["es","fr"],emoji:"🇬🇶",emojiU:"U+1F1EC U+1F1F6"},GR:{name:"Greece",native:"Ελλάδα",phone:"30",continent:"EU",capital:"Athens",currency:"EUR",languages:["el"],emoji:"🇬🇷",emojiU:"U+1F1EC U+1F1F7"},GS:{name:"South Georgia and the South Sandwich Islands",native:"South Georgia",phone:"500",continent:"AN",capital:"King Edward Point",currency:"GBP",languages:["en"],emoji:"🇬🇸",emojiU:"U+1F1EC U+1F1F8"},GT:{name:"Guatemala",native:"Guatemala",phone:"502",continent:"NA",capital:"Guatemala City",currency:"GTQ",languages:["es"],emoji:"🇬🇹",emojiU:"U+1F1EC U+1F1F9"},GU:{name:"Guam",native:"Guam",phone:"1671",continent:"OC",capital:"Hagåtña",currency:"USD",languages:["en","ch","es"],emoji:"🇬🇺",emojiU:"U+1F1EC U+1F1FA"},GW:{name:"Guinea-Bissau",native:"Guiné-Bissau",phone:"245",continent:"AF",capital:"Bissau",currency:"XOF",languages:["pt"],emoji:"🇬🇼",emojiU:"U+1F1EC U+1F1FC"},GY:{name:"Guyana",native:"Guyana",phone:"592",continent:"SA",capital:"Georgetown",currency:"GYD",languages:["en"],emoji:"🇬🇾",emojiU:"U+1F1EC U+1F1FE"},HK:{name:"Hong Kong",native:"香港",phone:"852",continent:"AS",capital:"City of Victoria",currency:"HKD",languages:["zh","en"],emoji:"🇭🇰",emojiU:"U+1F1ED U+1F1F0"},HM:{name:"Heard Island and McDonald Islands",native:"Heard Island and McDonald Islands",phone:"61",continent:"AN",capital:"",currency:"AUD",languages:["en"],emoji:"🇭🇲",emojiU:"U+1F1ED U+1F1F2"},HN:{name:"Honduras",native:"Honduras",phone:"504",continent:"NA",capital:"Tegucigalpa",currency:"HNL",languages:["es"],emoji:"🇭🇳",emojiU:"U+1F1ED U+1F1F3"},HR:{name:"Croatia",native:"Hrvatska",phone:"385",continent:"EU",capital:"Zagreb",currency:"HRK",languages:["hr"],emoji:"🇭🇷",emojiU:"U+1F1ED U+1F1F7"},HT:{name:"Haiti",native:"Haïti",phone:"509",continent:"NA",capital:"Port-au-Prince",currency:"HTG,USD",languages:["fr","ht"],emoji:"🇭🇹",emojiU:"U+1F1ED U+1F1F9"},HU:{name:"Hungary",native:"Magyarország",phone:"36",continent:"EU",capital:"Budapest",currency:"HUF",languages:["hu"],emoji:"🇭🇺",emojiU:"U+1F1ED U+1F1FA"},ID:{name:"Indonesia",native:"Indonesia",phone:"62",continent:"AS",capital:"Jakarta",currency:"IDR",languages:["id"],emoji:"🇮🇩",emojiU:"U+1F1EE U+1F1E9"},IE:{name:"Ireland",native:"Éire",phone:"353",continent:"EU",capital:"Dublin",currency:"EUR",languages:["ga","en"],emoji:"🇮🇪",emojiU:"U+1F1EE U+1F1EA"},IL:{name:"Israel",native:"יִשְׂרָאֵל",phone:"972",continent:"AS",capital:"Jerusalem",currency:"ILS",languages:["he","ar"],emoji:"🇮🇱",emojiU:"U+1F1EE U+1F1F1"},IM:{name:"Isle of Man",native:"Isle of Man",phone:"44",continent:"EU",capital:"Douglas",currency:"GBP",languages:["en","gv"],emoji:"🇮🇲",emojiU:"U+1F1EE U+1F1F2"},IN:{name:"India",native:"भारत",phone:"91",continent:"AS",capital:"New Delhi",currency:"INR",languages:["hi","en"],emoji:"🇮🇳",emojiU:"U+1F1EE U+1F1F3"},IO:{name:"British Indian Ocean Territory",native:"British Indian Ocean Territory",phone:"246",continent:"AS",capital:"Diego Garcia",currency:"USD",languages:["en"],emoji:"🇮🇴",emojiU:"U+1F1EE U+1F1F4"},IQ:{name:"Iraq",native:"العراق",phone:"964",continent:"AS",capital:"Baghdad",currency:"IQD",languages:["ar","ku"],emoji:"🇮🇶",emojiU:"U+1F1EE U+1F1F6"},IR:{name:"Iran",native:"ایران",phone:"98",continent:"AS",capital:"Tehran",currency:"IRR",languages:["fa"],emoji:"🇮🇷",emojiU:"U+1F1EE U+1F1F7"},IS:{name:"Iceland",native:"Ísland",phone:"354",continent:"EU",capital:"Reykjavik",currency:"ISK",languages:["is"],emoji:"🇮🇸",emojiU:"U+1F1EE U+1F1F8"},IT:{name:"Italy",native:"Italia",phone:"39",continent:"EU",capital:"Rome",currency:"EUR",languages:["it"],emoji:"🇮🇹",emojiU:"U+1F1EE U+1F1F9"},JE:{name:"Jersey",native:"Jersey",phone:"44",continent:"EU",capital:"Saint Helier",currency:"GBP",languages:["en","fr"],emoji:"🇯🇪",emojiU:"U+1F1EF U+1F1EA"},JM:{name:"Jamaica",native:"Jamaica",phone:"1876",continent:"NA",capital:"Kingston",currency:"JMD",languages:["en"],emoji:"🇯🇲",emojiU:"U+1F1EF U+1F1F2"},JO:{name:"Jordan",native:"الأردن",phone:"962",continent:"AS",capital:"Amman",currency:"JOD",languages:["ar"],emoji:"🇯🇴",emojiU:"U+1F1EF U+1F1F4"},JP:{name:"Japan",native:"日本",phone:"81",continent:"AS",capital:"Tokyo",currency:"JPY",languages:["ja"],emoji:"🇯🇵",emojiU:"U+1F1EF U+1F1F5"},KE:{name:"Kenya",native:"Kenya",phone:"254",continent:"AF",capital:"Nairobi",currency:"KES",languages:["en","sw"],emoji:"🇰🇪",emojiU:"U+1F1F0 U+1F1EA"},KG:{name:"Kyrgyzstan",native:"Кыргызстан",phone:"996",continent:"AS",capital:"Bishkek",currency:"KGS",languages:["ky","ru"],emoji:"🇰🇬",emojiU:"U+1F1F0 U+1F1EC"},KH:{name:"Cambodia",native:"Kâmpŭchéa",phone:"855",continent:"AS",capital:"Phnom Penh",currency:"KHR",languages:["km"],emoji:"🇰🇭",emojiU:"U+1F1F0 U+1F1ED"},KI:{name:"Kiribati",native:"Kiribati",phone:"686",continent:"OC",capital:"South Tarawa",currency:"AUD",languages:["en"],emoji:"🇰🇮",emojiU:"U+1F1F0 U+1F1EE"},KM:{name:"Comoros",native:"Komori",phone:"269",continent:"AF",capital:"Moroni",currency:"KMF",languages:["ar","fr"],emoji:"🇰🇲",emojiU:"U+1F1F0 U+1F1F2"},KN:{name:"Saint Kitts and Nevis",native:"Saint Kitts and Nevis",phone:"1869",continent:"NA",capital:"Basseterre",currency:"XCD",languages:["en"],emoji:"🇰🇳",emojiU:"U+1F1F0 U+1F1F3"},KP:{name:"North Korea",native:"북한",phone:"850",continent:"AS",capital:"Pyongyang",currency:"KPW",languages:["ko"],emoji:"🇰🇵",emojiU:"U+1F1F0 U+1F1F5"},KR:{name:"South Korea",native:"대한민국",phone:"82",continent:"AS",capital:"Seoul",currency:"KRW",languages:["ko"],emoji:"🇰🇷",emojiU:"U+1F1F0 U+1F1F7"},KW:{name:"Kuwait",native:"الكويت",phone:"965",continent:"AS",capital:"Kuwait City",currency:"KWD",languages:["ar"],emoji:"🇰🇼",emojiU:"U+1F1F0 U+1F1FC"},KY:{name:"Cayman Islands",native:"Cayman Islands",phone:"1345",continent:"NA",capital:"George Town",currency:"KYD",languages:["en"],emoji:"🇰🇾",emojiU:"U+1F1F0 U+1F1FE"},KZ:{name:"Kazakhstan",native:"Қазақстан",phone:"76,77",continent:"AS",capital:"Astana",currency:"KZT",languages:["kk","ru"],emoji:"🇰🇿",emojiU:"U+1F1F0 U+1F1FF"},LA:{name:"Laos",native:"ສປປລາວ",phone:"856",continent:"AS",capital:"Vientiane",currency:"LAK",languages:["lo"],emoji:"🇱🇦",emojiU:"U+1F1F1 U+1F1E6"},LB:{name:"Lebanon",native:"لبنان",phone:"961",continent:"AS",capital:"Beirut",currency:"LBP",languages:["ar","fr"],emoji:"🇱🇧",emojiU:"U+1F1F1 U+1F1E7"},LC:{name:"Saint Lucia",native:"Saint Lucia",phone:"1758",continent:"NA",capital:"Castries",currency:"XCD",languages:["en"],emoji:"🇱🇨",emojiU:"U+1F1F1 U+1F1E8"},LI:{name:"Liechtenstein",native:"Liechtenstein",phone:"423",continent:"EU",capital:"Vaduz",currency:"CHF",languages:["de"],emoji:"🇱🇮",emojiU:"U+1F1F1 U+1F1EE"},LK:{name:"Sri Lanka",native:"śrī laṃkāva",phone:"94",continent:"AS",capital:"Colombo",currency:"LKR",languages:["si","ta"],emoji:"🇱🇰",emojiU:"U+1F1F1 U+1F1F0"},LR:{name:"Liberia",native:"Liberia",phone:"231",continent:"AF",capital:"Monrovia",currency:"LRD",languages:["en"],emoji:"🇱🇷",emojiU:"U+1F1F1 U+1F1F7"},LS:{name:"Lesotho",native:"Lesotho",phone:"266",continent:"AF",capital:"Maseru",currency:"LSL,ZAR",languages:["en","st"],emoji:"🇱🇸",emojiU:"U+1F1F1 U+1F1F8"},LT:{name:"Lithuania",native:"Lietuva",phone:"370",continent:"EU",capital:"Vilnius",currency:"EUR",languages:["lt"],emoji:"🇱🇹",emojiU:"U+1F1F1 U+1F1F9"},LU:{name:"Luxembourg",native:"Luxembourg",phone:"352",continent:"EU",capital:"Luxembourg",currency:"EUR",languages:["fr","de","lb"],emoji:"🇱🇺",emojiU:"U+1F1F1 U+1F1FA"},LV:{name:"Latvia",native:"Latvija",phone:"371",continent:"EU",capital:"Riga",currency:"EUR",languages:["lv"],emoji:"🇱🇻",emojiU:"U+1F1F1 U+1F1FB"},LY:{name:"Libya",native:"‏ليبيا",phone:"218",continent:"AF",capital:"Tripoli",currency:"LYD",languages:["ar"],emoji:"🇱🇾",emojiU:"U+1F1F1 U+1F1FE"},MA:{name:"Morocco",native:"المغرب",phone:"212",continent:"AF",capital:"Rabat",currency:"MAD",languages:["ar"],emoji:"🇲🇦",emojiU:"U+1F1F2 U+1F1E6"},MC:{name:"Monaco",native:"Monaco",phone:"377",continent:"EU",capital:"Monaco",currency:"EUR",languages:["fr"],emoji:"🇲🇨",emojiU:"U+1F1F2 U+1F1E8"},MD:{name:"Moldova",native:"Moldova",phone:"373",continent:"EU",capital:"Chișinău",currency:"MDL",languages:["ro"],emoji:"🇲🇩",emojiU:"U+1F1F2 U+1F1E9"},ME:{name:"Montenegro",native:"Црна Гора",phone:"382",continent:"EU",capital:"Podgorica",currency:"EUR",languages:["sr","bs","sq","hr"],emoji:"🇲🇪",emojiU:"U+1F1F2 U+1F1EA"},MF:{name:"Saint Martin",native:"Saint-Martin",phone:"590",continent:"NA",capital:"Marigot",currency:"EUR",languages:["en","fr","nl"],emoji:"🇲🇫",emojiU:"U+1F1F2 U+1F1EB"},MG:{name:"Madagascar",native:"Madagasikara",phone:"261",continent:"AF",capital:"Antananarivo",currency:"MGA",languages:["fr","mg"],emoji:"🇲🇬",emojiU:"U+1F1F2 U+1F1EC"},MH:{name:"Marshall Islands",native:"M̧ajeļ",phone:"692",continent:"OC",capital:"Majuro",currency:"USD",languages:["en","mh"],emoji:"🇲🇭",emojiU:"U+1F1F2 U+1F1ED"},MK:{name:"North Macedonia",native:"Северна Македонија",phone:"389",continent:"EU",capital:"Skopje",currency:"MKD",languages:["mk"],emoji:"🇲🇰",emojiU:"U+1F1F2 U+1F1F0"},ML:{name:"Mali",native:"Mali",phone:"223",continent:"AF",capital:"Bamako",currency:"XOF",languages:["fr"],emoji:"🇲🇱",emojiU:"U+1F1F2 U+1F1F1"},MM:{name:"Myanmar [Burma]",native:"မြန်မာ",phone:"95",continent:"AS",capital:"Naypyidaw",currency:"MMK",languages:["my"],emoji:"🇲🇲",emojiU:"U+1F1F2 U+1F1F2"},MN:{name:"Mongolia",native:"Монгол улс",phone:"976",continent:"AS",capital:"Ulan Bator",currency:"MNT",languages:["mn"],emoji:"🇲🇳",emojiU:"U+1F1F2 U+1F1F3"},MO:{name:"Macao",native:"澳門",phone:"853",continent:"AS",capital:"",currency:"MOP",languages:["zh","pt"],emoji:"🇲🇴",emojiU:"U+1F1F2 U+1F1F4"},MP:{name:"Northern Mariana Islands",native:"Northern Mariana Islands",phone:"1670",continent:"OC",capital:"Saipan",currency:"USD",languages:["en","ch"],emoji:"🇲🇵",emojiU:"U+1F1F2 U+1F1F5"},MQ:{name:"Martinique",native:"Martinique",phone:"596",continent:"NA",capital:"Fort-de-France",currency:"EUR",languages:["fr"],emoji:"🇲🇶",emojiU:"U+1F1F2 U+1F1F6"},MR:{name:"Mauritania",native:"موريتانيا",phone:"222",continent:"AF",capital:"Nouakchott",currency:"MRU",languages:["ar"],emoji:"🇲🇷",emojiU:"U+1F1F2 U+1F1F7"},MS:{name:"Montserrat",native:"Montserrat",phone:"1664",continent:"NA",capital:"Plymouth",currency:"XCD",languages:["en"],emoji:"🇲🇸",emojiU:"U+1F1F2 U+1F1F8"},MT:{name:"Malta",native:"Malta",phone:"356",continent:"EU",capital:"Valletta",currency:"EUR",languages:["mt","en"],emoji:"🇲🇹",emojiU:"U+1F1F2 U+1F1F9"},MU:{name:"Mauritius",native:"Maurice",phone:"230",continent:"AF",capital:"Port Louis",currency:"MUR",languages:["en"],emoji:"🇲🇺",emojiU:"U+1F1F2 U+1F1FA"},MV:{name:"Maldives",native:"Maldives",phone:"960",continent:"AS",capital:"Malé",currency:"MVR",languages:["dv"],emoji:"🇲🇻",emojiU:"U+1F1F2 U+1F1FB"},MW:{name:"Malawi",native:"Malawi",phone:"265",continent:"AF",capital:"Lilongwe",currency:"MWK",languages:["en","ny"],emoji:"🇲🇼",emojiU:"U+1F1F2 U+1F1FC"},MX:{name:"Mexico",native:"México",phone:"52",continent:"NA",capital:"Mexico City",currency:"MXN",languages:["es"],emoji:"🇲🇽",emojiU:"U+1F1F2 U+1F1FD"},MY:{name:"Malaysia",native:"Malaysia",phone:"60",continent:"AS",capital:"Kuala Lumpur",currency:"MYR",languages:["ms"],emoji:"🇲🇾",emojiU:"U+1F1F2 U+1F1FE"},MZ:{name:"Mozambique",native:"Moçambique",phone:"258",continent:"AF",capital:"Maputo",currency:"MZN",languages:["pt"],emoji:"🇲🇿",emojiU:"U+1F1F2 U+1F1FF"},NA:{name:"Namibia",native:"Namibia",phone:"264",continent:"AF",capital:"Windhoek",currency:"NAD,ZAR",languages:["en","af"],emoji:"🇳🇦",emojiU:"U+1F1F3 U+1F1E6"},NC:{name:"New Caledonia",native:"Nouvelle-Calédonie",phone:"687",continent:"OC",capital:"Nouméa",currency:"XPF",languages:["fr"],emoji:"🇳🇨",emojiU:"U+1F1F3 U+1F1E8"},NE:{name:"Niger",native:"Niger",phone:"227",continent:"AF",capital:"Niamey",currency:"XOF",languages:["fr"],emoji:"🇳🇪",emojiU:"U+1F1F3 U+1F1EA"},NF:{name:"Norfolk Island",native:"Norfolk Island",phone:"672",continent:"OC",capital:"Kingston",currency:"AUD",languages:["en"],emoji:"🇳🇫",emojiU:"U+1F1F3 U+1F1EB"},NG:{name:"Nigeria",native:"Nigeria",phone:"234",continent:"AF",capital:"Abuja",currency:"NGN",languages:["en"],emoji:"🇳🇬",emojiU:"U+1F1F3 U+1F1EC"},NI:{name:"Nicaragua",native:"Nicaragua",phone:"505",continent:"NA",capital:"Managua",currency:"NIO",languages:["es"],emoji:"🇳🇮",emojiU:"U+1F1F3 U+1F1EE"},NL:{name:"Netherlands",native:"Nederland",phone:"31",continent:"EU",capital:"Amsterdam",currency:"EUR",languages:["nl"],emoji:"🇳🇱",emojiU:"U+1F1F3 U+1F1F1"},NO:{name:"Norway",native:"Norge",phone:"47",continent:"EU",capital:"Oslo",currency:"NOK",languages:["no","nb","nn"],emoji:"🇳🇴",emojiU:"U+1F1F3 U+1F1F4"},NP:{name:"Nepal",native:"नपल",phone:"977",continent:"AS",capital:"Kathmandu",currency:"NPR",languages:["ne"],emoji:"🇳🇵",emojiU:"U+1F1F3 U+1F1F5"},NR:{name:"Nauru",native:"Nauru",phone:"674",continent:"OC",capital:"Yaren",currency:"AUD",languages:["en","na"],emoji:"🇳🇷",emojiU:"U+1F1F3 U+1F1F7"},NU:{name:"Niue",native:"Niuē",phone:"683",continent:"OC",capital:"Alofi",currency:"NZD",languages:["en"],emoji:"🇳🇺",emojiU:"U+1F1F3 U+1F1FA"},NZ:{name:"New Zealand",native:"New Zealand",phone:"64",continent:"OC",capital:"Wellington",currency:"NZD",languages:["en","mi"],emoji:"🇳🇿",emojiU:"U+1F1F3 U+1F1FF"},OM:{name:"Oman",native:"عمان",phone:"968",continent:"AS",capital:"Muscat",currency:"OMR",languages:["ar"],emoji:"🇴🇲",emojiU:"U+1F1F4 U+1F1F2"},PA:{name:"Panama",native:"Panamá",phone:"507",continent:"NA",capital:"Panama City",currency:"PAB,USD",languages:["es"],emoji:"🇵🇦",emojiU:"U+1F1F5 U+1F1E6"},PE:{name:"Peru",native:"Perú",phone:"51",continent:"SA",capital:"Lima",currency:"PEN",languages:["es"],emoji:"🇵🇪",emojiU:"U+1F1F5 U+1F1EA"},PF:{name:"French Polynesia",native:"Polynésie française",phone:"689",continent:"OC",capital:"Papeetē",currency:"XPF",languages:["fr"],emoji:"🇵🇫",emojiU:"U+1F1F5 U+1F1EB"},PG:{name:"Papua New Guinea",native:"Papua Niugini",phone:"675",continent:"OC",capital:"Port Moresby",currency:"PGK",languages:["en"],emoji:"🇵🇬",emojiU:"U+1F1F5 U+1F1EC"},PH:{name:"Philippines",native:"Pilipinas",phone:"63",continent:"AS",capital:"Manila",currency:"PHP",languages:["en"],emoji:"🇵🇭",emojiU:"U+1F1F5 U+1F1ED"},PK:{name:"Pakistan",native:"Pakistan",phone:"92",continent:"AS",capital:"Islamabad",currency:"PKR",languages:["en","ur"],emoji:"🇵🇰",emojiU:"U+1F1F5 U+1F1F0"},PL:{name:"Poland",native:"Polska",phone:"48",continent:"EU",capital:"Warsaw",currency:"PLN",languages:["pl"],emoji:"🇵🇱",emojiU:"U+1F1F5 U+1F1F1"},PM:{name:"Saint Pierre and Miquelon",native:"Saint-Pierre-et-Miquelon",phone:"508",continent:"NA",capital:"Saint-Pierre",currency:"EUR",languages:["fr"],emoji:"🇵🇲",emojiU:"U+1F1F5 U+1F1F2"},PN:{name:"Pitcairn Islands",native:"Pitcairn Islands",phone:"64",continent:"OC",capital:"Adamstown",currency:"NZD",languages:["en"],emoji:"🇵🇳",emojiU:"U+1F1F5 U+1F1F3"},PR:{name:"Puerto Rico",native:"Puerto Rico",phone:"1787,1939",continent:"NA",capital:"San Juan",currency:"USD",languages:["es","en"],emoji:"🇵🇷",emojiU:"U+1F1F5 U+1F1F7"},PS:{name:"Palestine",native:"فلسطين",phone:"970",continent:"AS",capital:"Ramallah",currency:"ILS",languages:["ar"],emoji:"🇵🇸",emojiU:"U+1F1F5 U+1F1F8"},PT:{name:"Portugal",native:"Portugal",phone:"351",continent:"EU",capital:"Lisbon",currency:"EUR",languages:["pt"],emoji:"🇵🇹",emojiU:"U+1F1F5 U+1F1F9"},PW:{name:"Palau",native:"Palau",phone:"680",continent:"OC",capital:"Ngerulmud",currency:"USD",languages:["en"],emoji:"🇵🇼",emojiU:"U+1F1F5 U+1F1FC"},PY:{name:"Paraguay",native:"Paraguay",phone:"595",continent:"SA",capital:"Asunción",currency:"PYG",languages:["es","gn"],emoji:"🇵🇾",emojiU:"U+1F1F5 U+1F1FE"},QA:{name:"Qatar",native:"قطر",phone:"974",continent:"AS",capital:"Doha",currency:"QAR",languages:["ar"],emoji:"🇶🇦",emojiU:"U+1F1F6 U+1F1E6"},RE:{name:"Réunion",native:"La Réunion",phone:"262",continent:"AF",capital:"Saint-Denis",currency:"EUR",languages:["fr"],emoji:"🇷🇪",emojiU:"U+1F1F7 U+1F1EA"},RO:{name:"Romania",native:"România",phone:"40",continent:"EU",capital:"Bucharest",currency:"RON",languages:["ro"],emoji:"🇷🇴",emojiU:"U+1F1F7 U+1F1F4"},RS:{name:"Serbia",native:"Србија",phone:"381",continent:"EU",capital:"Belgrade",currency:"RSD",languages:["sr"],emoji:"🇷🇸",emojiU:"U+1F1F7 U+1F1F8"},RU:{name:"Russia",native:"Россия",phone:"7",continent:"EU",capital:"Moscow",currency:"RUB",languages:["ru"],emoji:"🇷🇺",emojiU:"U+1F1F7 U+1F1FA"},RW:{name:"Rwanda",native:"Rwanda",phone:"250",continent:"AF",capital:"Kigali",currency:"RWF",languages:["rw","en","fr"],emoji:"🇷🇼",emojiU:"U+1F1F7 U+1F1FC"},SA:{name:"Saudi Arabia",native:"العربية السعودية",phone:"966",continent:"AS",capital:"Riyadh",currency:"SAR",languages:["ar"],emoji:"🇸🇦",emojiU:"U+1F1F8 U+1F1E6"},SB:{name:"Solomon Islands",native:"Solomon Islands",phone:"677",continent:"OC",capital:"Honiara",currency:"SBD",languages:["en"],emoji:"🇸🇧",emojiU:"U+1F1F8 U+1F1E7"},SC:{name:"Seychelles",native:"Seychelles",phone:"248",continent:"AF",capital:"Victoria",currency:"SCR",languages:["fr","en"],emoji:"🇸🇨",emojiU:"U+1F1F8 U+1F1E8"},SD:{name:"Sudan",native:"السودان",phone:"249",continent:"AF",capital:"Khartoum",currency:"SDG",languages:["ar","en"],emoji:"🇸🇩",emojiU:"U+1F1F8 U+1F1E9"},SE:{name:"Sweden",native:"Sverige",phone:"46",continent:"EU",capital:"Stockholm",currency:"SEK",languages:["sv"],emoji:"🇸🇪",emojiU:"U+1F1F8 U+1F1EA"},SG:{name:"Singapore",native:"Singapore",phone:"65",continent:"AS",capital:"Singapore",currency:"SGD",languages:["en","ms","ta","zh"],emoji:"🇸🇬",emojiU:"U+1F1F8 U+1F1EC"},SH:{name:"Saint Helena",native:"Saint Helena",phone:"290",continent:"AF",capital:"Jamestown",currency:"SHP",languages:["en"],emoji:"🇸🇭",emojiU:"U+1F1F8 U+1F1ED"},SI:{name:"Slovenia",native:"Slovenija",phone:"386",continent:"EU",capital:"Ljubljana",currency:"EUR",languages:["sl"],emoji:"🇸🇮",emojiU:"U+1F1F8 U+1F1EE"},SJ:{name:"Svalbard and Jan Mayen",native:"Svalbard og Jan Mayen",phone:"4779",continent:"EU",capital:"Longyearbyen",currency:"NOK",languages:["no"],emoji:"🇸🇯",emojiU:"U+1F1F8 U+1F1EF"},SK:{name:"Slovakia",native:"Slovensko",phone:"421",continent:"EU",capital:"Bratislava",currency:"EUR",languages:["sk"],emoji:"🇸🇰",emojiU:"U+1F1F8 U+1F1F0"},SL:{name:"Sierra Leone",native:"Sierra Leone",phone:"232",continent:"AF",capital:"Freetown",currency:"SLL",languages:["en"],emoji:"🇸🇱",emojiU:"U+1F1F8 U+1F1F1"},SM:{name:"San Marino",native:"San Marino",phone:"378",continent:"EU",capital:"City of San Marino",currency:"EUR",languages:["it"],emoji:"🇸🇲",emojiU:"U+1F1F8 U+1F1F2"},SN:{name:"Senegal",native:"Sénégal",phone:"221",continent:"AF",capital:"Dakar",currency:"XOF",languages:["fr"],emoji:"🇸🇳",emojiU:"U+1F1F8 U+1F1F3"},SO:{name:"Somalia",native:"Soomaaliya",phone:"252",continent:"AF",capital:"Mogadishu",currency:"SOS",languages:["so","ar"],emoji:"🇸🇴",emojiU:"U+1F1F8 U+1F1F4"},SR:{name:"Suriname",native:"Suriname",phone:"597",continent:"SA",capital:"Paramaribo",currency:"SRD",languages:["nl"],emoji:"🇸🇷",emojiU:"U+1F1F8 U+1F1F7"},SS:{name:"South Sudan",native:"South Sudan",phone:"211",continent:"AF",capital:"Juba",currency:"SSP",languages:["en"],emoji:"🇸🇸",emojiU:"U+1F1F8 U+1F1F8"},ST:{name:"São Tomé and Príncipe",native:"São Tomé e Príncipe",phone:"239",continent:"AF",capital:"São Tomé",currency:"STN",languages:["pt"],emoji:"🇸🇹",emojiU:"U+1F1F8 U+1F1F9"},SV:{name:"El Salvador",native:"El Salvador",phone:"503",continent:"NA",capital:"San Salvador",currency:"SVC,USD",languages:["es"],emoji:"🇸🇻",emojiU:"U+1F1F8 U+1F1FB"},SX:{name:"Sint Maarten",native:"Sint Maarten",phone:"1721",continent:"NA",capital:"Philipsburg",currency:"ANG",languages:["nl","en"],emoji:"🇸🇽",emojiU:"U+1F1F8 U+1F1FD"},SY:{name:"Syria",native:"سوريا",phone:"963",continent:"AS",capital:"Damascus",currency:"SYP",languages:["ar"],emoji:"🇸🇾",emojiU:"U+1F1F8 U+1F1FE"},SZ:{name:"Swaziland",native:"Swaziland",phone:"268",continent:"AF",capital:"Lobamba",currency:"SZL",languages:["en","ss"],emoji:"🇸🇿",emojiU:"U+1F1F8 U+1F1FF"},TC:{name:"Turks and Caicos Islands",native:"Turks and Caicos Islands",phone:"1649",continent:"NA",capital:"Cockburn Town",currency:"USD",languages:["en"],emoji:"🇹🇨",emojiU:"U+1F1F9 U+1F1E8"},TD:{name:"Chad",native:"Tchad",phone:"235",continent:"AF",capital:"N'Djamena",currency:"XAF",languages:["fr","ar"],emoji:"🇹🇩",emojiU:"U+1F1F9 U+1F1E9"},TF:{name:"French Southern Territories",native:"Territoire des Terres australes et antarctiques fr",phone:"262",continent:"AN",capital:"Port-aux-Français",currency:"EUR",languages:["fr"],emoji:"🇹🇫",emojiU:"U+1F1F9 U+1F1EB"},TG:{name:"Togo",native:"Togo",phone:"228",continent:"AF",capital:"Lomé",currency:"XOF",languages:["fr"],emoji:"🇹🇬",emojiU:"U+1F1F9 U+1F1EC"},TH:{name:"Thailand",native:"ประเทศไทย",phone:"66",continent:"AS",capital:"Bangkok",currency:"THB",languages:["th"],emoji:"🇹🇭",emojiU:"U+1F1F9 U+1F1ED"},TJ:{name:"Tajikistan",native:"Тоҷикистон",phone:"992",continent:"AS",capital:"Dushanbe",currency:"TJS",languages:["tg","ru"],emoji:"🇹🇯",emojiU:"U+1F1F9 U+1F1EF"},TK:{name:"Tokelau",native:"Tokelau",phone:"690",continent:"OC",capital:"Fakaofo",currency:"NZD",languages:["en"],emoji:"🇹🇰",emojiU:"U+1F1F9 U+1F1F0"},TL:{name:"East Timor",native:"Timor-Leste",phone:"670",continent:"OC",capital:"Dili",currency:"USD",languages:["pt"],emoji:"🇹🇱",emojiU:"U+1F1F9 U+1F1F1"},TM:{name:"Turkmenistan",native:"Türkmenistan",phone:"993",continent:"AS",capital:"Ashgabat",currency:"TMT",languages:["tk","ru"],emoji:"🇹🇲",emojiU:"U+1F1F9 U+1F1F2"},TN:{name:"Tunisia",native:"تونس",phone:"216",continent:"AF",capital:"Tunis",currency:"TND",languages:["ar"],emoji:"🇹🇳",emojiU:"U+1F1F9 U+1F1F3"},TO:{name:"Tonga",native:"Tonga",phone:"676",continent:"OC",capital:"Nuku'alofa",currency:"TOP",languages:["en","to"],emoji:"🇹🇴",emojiU:"U+1F1F9 U+1F1F4"},TR:{name:"Turkey",native:"Türkiye",phone:"90",continent:"AS",capital:"Ankara",currency:"TRY",languages:["tr"],emoji:"🇹🇷",emojiU:"U+1F1F9 U+1F1F7"},TT:{name:"Trinidad and Tobago",native:"Trinidad and Tobago",phone:"1868",continent:"NA",capital:"Port of Spain",currency:"TTD",languages:["en"],emoji:"🇹🇹",emojiU:"U+1F1F9 U+1F1F9"},TV:{name:"Tuvalu",native:"Tuvalu",phone:"688",continent:"OC",capital:"Funafuti",currency:"AUD",languages:["en"],emoji:"🇹🇻",emojiU:"U+1F1F9 U+1F1FB"},TW:{name:"Taiwan",native:"臺灣",phone:"886",continent:"AS",capital:"Taipei",currency:"TWD",languages:["zh"],emoji:"🇹🇼",emojiU:"U+1F1F9 U+1F1FC"},TZ:{name:"Tanzania",native:"Tanzania",phone:"255",continent:"AF",capital:"Dodoma",currency:"TZS",languages:["sw","en"],emoji:"🇹🇿",emojiU:"U+1F1F9 U+1F1FF"},UA:{name:"Ukraine",native:"Україна",phone:"380",continent:"EU",capital:"Kyiv",currency:"UAH",languages:["uk"],emoji:"🇺🇦",emojiU:"U+1F1FA U+1F1E6"},UG:{name:"Uganda",native:"Uganda",phone:"256",continent:"AF",capital:"Kampala",currency:"UGX",languages:["en","sw"],emoji:"🇺🇬",emojiU:"U+1F1FA U+1F1EC"},UM:{name:"U.S. Minor Outlying Islands",native:"United States Minor Outlying Islands",phone:"1",continent:"OC",capital:"",currency:"USD",languages:["en"],emoji:"🇺🇲",emojiU:"U+1F1FA U+1F1F2"},US:{name:"United States",native:"United States",phone:"1",continent:"NA",capital:"Washington D.C.",currency:"USD,USN,USS",languages:["en"],emoji:"🇺🇸",emojiU:"U+1F1FA U+1F1F8"},UY:{name:"Uruguay",native:"Uruguay",phone:"598",continent:"SA",capital:"Montevideo",currency:"UYI,UYU",languages:["es"],emoji:"🇺🇾",emojiU:"U+1F1FA U+1F1FE"},UZ:{name:"Uzbekistan",native:"O‘zbekiston",phone:"998",continent:"AS",capital:"Tashkent",currency:"UZS",languages:["uz","ru"],emoji:"🇺🇿",emojiU:"U+1F1FA U+1F1FF"},VA:{name:"Vatican City",native:"Vaticano",phone:"379",continent:"EU",capital:"Vatican City",currency:"EUR",languages:["it","la"],emoji:"🇻🇦",emojiU:"U+1F1FB U+1F1E6"},VC:{name:"Saint Vincent and the Grenadines",native:"Saint Vincent and the Grenadines",phone:"1784",continent:"NA",capital:"Kingstown",currency:"XCD",languages:["en"],emoji:"🇻🇨",emojiU:"U+1F1FB U+1F1E8"},VE:{name:"Venezuela",native:"Venezuela",phone:"58",continent:"SA",capital:"Caracas",currency:"VES",languages:["es"],emoji:"🇻🇪",emojiU:"U+1F1FB U+1F1EA"},VG:{name:"British Virgin Islands",native:"British Virgin Islands",phone:"1284",continent:"NA",capital:"Road Town",currency:"USD",languages:["en"],emoji:"🇻🇬",emojiU:"U+1F1FB U+1F1EC"},VI:{name:"U.S. Virgin Islands",native:"United States Virgin Islands",phone:"1340",continent:"NA",capital:"Charlotte Amalie",currency:"USD",languages:["en"],emoji:"🇻🇮",emojiU:"U+1F1FB U+1F1EE"},VN:{name:"Vietnam",native:"Việt Nam",phone:"84",continent:"AS",capital:"Hanoi",currency:"VND",languages:["vi"],emoji:"🇻🇳",emojiU:"U+1F1FB U+1F1F3"},VU:{name:"Vanuatu",native:"Vanuatu",phone:"678",continent:"OC",capital:"Port Vila",currency:"VUV",languages:["bi","en","fr"],emoji:"🇻🇺",emojiU:"U+1F1FB U+1F1FA"},WF:{name:"Wallis and Futuna",native:"Wallis et Futuna",phone:"681",continent:"OC",capital:"Mata-Utu",currency:"XPF",languages:["fr"],emoji:"🇼🇫",emojiU:"U+1F1FC U+1F1EB"},WS:{name:"Samoa",native:"Samoa",phone:"685",continent:"OC",capital:"Apia",currency:"WST",languages:["sm","en"],emoji:"🇼🇸",emojiU:"U+1F1FC U+1F1F8"},XK:{name:"Kosovo",native:"Republika e Kosovës",phone:"377,381,383,386",continent:"EU",capital:"Pristina",currency:"EUR",languages:["sq","sr"],emoji:"🇽🇰",emojiU:"U+1F1FD U+1F1F0"},YE:{name:"Yemen",native:"اليَمَن",phone:"967",continent:"AS",capital:"Sana'a",currency:"YER",languages:["ar"],emoji:"🇾🇪",emojiU:"U+1F1FE U+1F1EA"},YT:{name:"Mayotte",native:"Mayotte",phone:"262",continent:"AF",capital:"Mamoudzou",currency:"EUR",languages:["fr"],emoji:"🇾🇹",emojiU:"U+1F1FE U+1F1F9"},ZA:{name:"South Africa",native:"South Africa",phone:"27",continent:"AF",capital:"Pretoria",currency:"ZAR",languages:["af","en","nr","st","ss","tn","ts","ve","xh","zu"],emoji:"🇿🇦",emojiU:"U+1F1FF U+1F1E6"},ZM:{name:"Zambia",native:"Zambia",phone:"260",continent:"AF",capital:"Lusaka",currency:"ZMW",languages:["en"],emoji:"🇿🇲",emojiU:"U+1F1FF U+1F1F2"},ZW:{name:"Zimbabwe",native:"Zimbabwe",phone:"263",continent:"AF",capital:"Harare",currency:"USD,ZAR,BWP,GBP,AUD,CNY,INR,JPY",languages:["en","sn","nd"],emoji:"🇿🇼",emojiU:"U+1F1FF U+1F1FC"}},a={af:{name:"Afrikaans",native:"Afrikaans"},am:{name:"Amharic",native:"አማርኛ"},ar:{name:"Arabic",native:"العربية",rtl:1},ay:{name:"Aymara",native:"Aymar"},az:{name:"Azerbaijani",native:"Azərbaycanca / آذربايجان"},be:{name:"Belarusian",native:"Беларуская"},bg:{name:"Bulgarian",native:"Български"},bi:{name:"Bislama",native:"Bislama"},bn:{name:"Bengali",native:"বাংলা"},bs:{name:"Bosnian",native:"Bosanski"},ca:{name:"Catalan",native:"Català"},ch:{name:"Chamorro",native:"Chamoru"},cs:{name:"Czech",native:"Čeština"},da:{name:"Danish",native:"Dansk"},de:{name:"German",native:"Deutsch"},dv:{name:"Divehi",native:"ދިވެހިބަސް",rtl:1},dz:{name:"Dzongkha",native:"ཇོང་ཁ"},el:{name:"Greek",native:"Ελληνικά"},en:{name:"English",native:"English"},es:{name:"Spanish",native:"Español"},et:{name:"Estonian",native:"Eesti"},eu:{name:"Basque",native:"Euskara"},fa:{name:"Persian",native:"فارسی",rtl:1},ff:{name:"Peul",native:"Fulfulde"},fi:{name:"Finnish",native:"Suomi"},fj:{name:"Fijian",native:"Na Vosa Vakaviti"},fo:{name:"Faroese",native:"Føroyskt"},fr:{name:"French",native:"Français"},ga:{name:"Irish",native:"Gaeilge"},gl:{name:"Galician",native:"Galego"},gn:{name:"Guarani",native:"Avañe'ẽ"},gv:{name:"Manx",native:"Gaelg"},he:{name:"Hebrew",native:"עברית",rtl:1},hi:{name:"Hindi",native:"हिन्दी"},hr:{name:"Croatian",native:"Hrvatski"},ht:{name:"Haitian",native:"Krèyol ayisyen"},hu:{name:"Hungarian",native:"Magyar"},hy:{name:"Armenian",native:"Հայերեն"},id:{name:"Indonesian",native:"Bahasa Indonesia"},is:{name:"Icelandic",native:"Íslenska"},it:{name:"Italian",native:"Italiano"},ja:{name:"Japanese",native:"日本語"},ka:{name:"Georgian",native:"ქართული"},kg:{name:"Kongo",native:"KiKongo"},kk:{name:"Kazakh",native:"Қазақша"},kl:{name:"Greenlandic",native:"Kalaallisut"},km:{name:"Cambodian",native:"ភាសាខ្មែរ"},ko:{name:"Korean",native:"한국어"},ku:{name:"Kurdish",native:"Kurdî / كوردی",rtl:1},ky:{name:"Kyrgyz",native:"Кыргызча"},la:{name:"Latin",native:"Latina"},lb:{name:"Luxembourgish",native:"Lëtzebuergesch"},ln:{name:"Lingala",native:"Lingála"},lo:{name:"Laotian",native:"ລາວ / Pha xa lao"},lt:{name:"Lithuanian",native:"Lietuvių"},lu:{name:"Luba-Katanga",native:"Tshiluba"},lv:{name:"Latvian",native:"Latviešu"},mg:{name:"Malagasy",native:"Malagasy"},mh:{name:"Marshallese",native:"Kajin Majel / Ebon"},mi:{name:"Maori",native:"Māori"},mk:{name:"Macedonian",native:"Македонски"},mn:{name:"Mongolian",native:"Монгол"},ms:{name:"Malay",native:"Bahasa Melayu"},mt:{name:"Maltese",native:"bil-Malti"},my:{name:"Burmese",native:"မြန်မာစာ"},na:{name:"Nauruan",native:"Dorerin Naoero"},nb:{name:"Norwegian Bokmål",native:"Norsk bokmål"},nd:{name:"North Ndebele",native:"Sindebele"},ne:{name:"Nepali",native:"नेपाली"},nl:{name:"Dutch",native:"Nederlands"},nn:{name:"Norwegian Nynorsk",native:"Norsk nynorsk"},no:{name:"Norwegian",native:"Norsk"},nr:{name:"South Ndebele",native:"isiNdebele"},ny:{name:"Chichewa",native:"Chi-Chewa"},oc:{name:"Occitan",native:"Occitan"},pa:{name:"Panjabi / Punjabi",native:"ਪੰਜਾਬੀ / पंजाबी / پنجابي"},pl:{name:"Polish",native:"Polski"},ps:{name:"Pashto",native:"پښتو",rtl:1},pt:{name:"Portuguese",native:"Português"},qu:{name:"Quechua",native:"Runa Simi"},rn:{name:"Kirundi",native:"Kirundi"},ro:{name:"Romanian",native:"Română"},ru:{name:"Russian",native:"Русский"},rw:{name:"Rwandi",native:"Kinyarwandi"},sg:{name:"Sango",native:"Sängö"},si:{name:"Sinhalese",native:"සිංහල"},sk:{name:"Slovak",native:"Slovenčina"},sl:{name:"Slovenian",native:"Slovenščina"},sm:{name:"Samoan",native:"Gagana Samoa"},sn:{name:"Shona",native:"chiShona"},so:{name:"Somalia",native:"Soomaaliga"},sq:{name:"Albanian",native:"Shqip"},sr:{name:"Serbian",native:"Српски"},ss:{name:"Swati",native:"SiSwati"},st:{name:"Southern Sotho",native:"Sesotho"},sv:{name:"Swedish",native:"Svenska"},sw:{name:"Swahili",native:"Kiswahili"},ta:{name:"Tamil",native:"தமிழ்"},tg:{name:"Tajik",native:"Тоҷикӣ"},th:{name:"Thai",native:"ไทย / Phasa Thai"},ti:{name:"Tigrinya",native:"ትግርኛ"},tk:{name:"Turkmen",native:"Туркмен / تركمن"},tn:{name:"Tswana",native:"Setswana"},to:{name:"Tonga",native:"Lea Faka-Tonga"},tr:{name:"Turkish",native:"Türkçe"},ts:{name:"Tsonga",native:"Xitsonga"},uk:{name:"Ukrainian",native:"Українська"},ur:{name:"Urdu",native:"اردو",rtl:1},uz:{name:"Uzbek",native:"Ўзбек"},ve:{name:"Venda",native:"Tshivenḓa"},vi:{name:"Vietnamese",native:"Tiếng Việt"},xh:{name:"Xhosa",native:"isiXhosa"},zh:{name:"Chinese",native:"中文"},zu:{name:"Zulu",native:"isiZulu"}},i={aa:{name:"Afar",native:"Afar"},ab:{name:"Abkhazian",native:"Аҧсуа"},af:{name:"Afrikaans",native:"Afrikaans"},ak:{name:"Akan",native:"Akana"},am:{name:"Amharic",native:"አማርኛ"},an:{name:"Aragonese",native:"Aragonés"},ar:{name:"Arabic",native:"العربية",rtl:1},as:{name:"Assamese",native:"অসমীয়া"},av:{name:"Avar",native:"Авар"},ay:{name:"Aymara",native:"Aymar"},az:{name:"Azerbaijani",native:"Azərbaycanca / آذربايجان"},ba:{name:"Bashkir",native:"Башҡорт"},be:{name:"Belarusian",native:"Беларуская"},bg:{name:"Bulgarian",native:"Български"},bh:{name:"Bihari",native:"भोजपुरी"},bi:{name:"Bislama",native:"Bislama"},bm:{name:"Bambara",native:"Bamanankan"},bn:{name:"Bengali",native:"বাংলা"},bo:{name:"Tibetan",native:"བོད་ཡིག / Bod skad"},br:{name:"Breton",native:"Brezhoneg"},bs:{name:"Bosnian",native:"Bosanski"},ca:{name:"Catalan",native:"Català"},ce:{name:"Chechen",native:"Нохчийн"},ch:{name:"Chamorro",native:"Chamoru"},co:{name:"Corsican",native:"Corsu"},cr:{name:"Cree",native:"Nehiyaw"},cs:{name:"Czech",native:"Čeština"},cu:{name:"Old Church Slavonic / Old Bulgarian",native:"словѣньскъ / slověnĭskŭ"},cv:{name:"Chuvash",native:"Чăваш"},cy:{name:"Welsh",native:"Cymraeg"},da:{name:"Danish",native:"Dansk"},de:{name:"German",native:"Deutsch"},dv:{name:"Divehi",native:"ދިވެހިބަސް",rtl:1},dz:{name:"Dzongkha",native:"ཇོང་ཁ"},ee:{name:"Ewe",native:"Ɛʋɛ"},el:{name:"Greek",native:"Ελληνικά"},en:{name:"English",native:"English"},eo:{name:"Esperanto",native:"Esperanto"},es:{name:"Spanish",native:"Español"},et:{name:"Estonian",native:"Eesti"},eu:{name:"Basque",native:"Euskara"},fa:{name:"Persian",native:"فارسی",rtl:1},ff:{name:"Peul",native:"Fulfulde"},fi:{name:"Finnish",native:"Suomi"},fj:{name:"Fijian",native:"Na Vosa Vakaviti"},fo:{name:"Faroese",native:"Føroyskt"},fr:{name:"French",native:"Français"},fy:{name:"West Frisian",native:"Frysk"},ga:{name:"Irish",native:"Gaeilge"},gd:{name:"Scottish Gaelic",native:"Gàidhlig"},gl:{name:"Galician",native:"Galego"},gn:{name:"Guarani",native:"Avañe'ẽ"},gu:{name:"Gujarati",native:"ગુજરાતી"},gv:{name:"Manx",native:"Gaelg"},ha:{name:"Hausa",native:"هَوُسَ",rtl:1},he:{name:"Hebrew",native:"עברית",rtl:1},hi:{name:"Hindi",native:"हिन्दी"},ho:{name:"Hiri Motu",native:"Hiri Motu"},hr:{name:"Croatian",native:"Hrvatski"},ht:{name:"Haitian",native:"Krèyol ayisyen"},hu:{name:"Hungarian",native:"Magyar"},hy:{name:"Armenian",native:"Հայերեն"},hz:{name:"Herero",native:"Otsiherero"},ia:{name:"Interlingua",native:"Interlingua"},id:{name:"Indonesian",native:"Bahasa Indonesia"},ie:{name:"Interlingue",native:"Interlingue"},ig:{name:"Igbo",native:"Igbo"},ii:{name:"Sichuan Yi",native:"ꆇꉙ / 四川彝语"},ik:{name:"Inupiak",native:"Iñupiak"},io:{name:"Ido",native:"Ido"},is:{name:"Icelandic",native:"Íslenska"},it:{name:"Italian",native:"Italiano"},iu:{name:"Inuktitut",native:"ᐃᓄᒃᑎᑐᑦ"},ja:{name:"Japanese",native:"日本語"},jv:{name:"Javanese",native:"Basa Jawa"},ka:{name:"Georgian",native:"ქართული"},kg:{name:"Kongo",native:"KiKongo"},ki:{name:"Kikuyu",native:"Gĩkũyũ"},kj:{name:"Kuanyama",native:"Kuanyama"},kk:{name:"Kazakh",native:"Қазақша"},kl:{name:"Greenlandic",native:"Kalaallisut"},km:{name:"Cambodian",native:"ភាសាខ្មែរ"},kn:{name:"Kannada",native:"ಕನ್ನಡ"},ko:{name:"Korean",native:"한국어"},kr:{name:"Kanuri",native:"Kanuri"},ks:{name:"Kashmiri",native:"कश्मीरी / كشميري",rtl:1},ku:{name:"Kurdish",native:"Kurdî / كوردی",rtl:1},kv:{name:"Komi",native:"Коми"},kw:{name:"Cornish",native:"Kernewek"},ky:{name:"Kyrgyz",native:"Кыргызча"},la:{name:"Latin",native:"Latina"},lb:{name:"Luxembourgish",native:"Lëtzebuergesch"},lg:{name:"Ganda",native:"Luganda"},li:{name:"Limburgian",native:"Limburgs"},ln:{name:"Lingala",native:"Lingála"},lo:{name:"Laotian",native:"ລາວ / Pha xa lao"},lt:{name:"Lithuanian",native:"Lietuvių"},lu:{name:"Luba-Katanga",native:"Tshiluba"},lv:{name:"Latvian",native:"Latviešu"},mg:{name:"Malagasy",native:"Malagasy"},mh:{name:"Marshallese",native:"Kajin Majel / Ebon"},mi:{name:"Maori",native:"Māori"},mk:{name:"Macedonian",native:"Македонски"},ml:{name:"Malayalam",native:"മലയാളം"},mn:{name:"Mongolian",native:"Монгол"},mo:{name:"Moldovan",native:"Moldovenească"},mr:{name:"Marathi",native:"मराठी"},ms:{name:"Malay",native:"Bahasa Melayu"},mt:{name:"Maltese",native:"bil-Malti"},my:{name:"Burmese",native:"မြန်မာစာ"},na:{name:"Nauruan",native:"Dorerin Naoero"},nb:{name:"Norwegian Bokmål",native:"Norsk bokmål"},nd:{name:"North Ndebele",native:"Sindebele"},ne:{name:"Nepali",native:"नेपाली"},ng:{name:"Ndonga",native:"Oshiwambo"},nl:{name:"Dutch",native:"Nederlands"},nn:{name:"Norwegian Nynorsk",native:"Norsk nynorsk"},no:{name:"Norwegian",native:"Norsk"},nr:{name:"South Ndebele",native:"isiNdebele"},nv:{name:"Navajo",native:"Diné bizaad"},ny:{name:"Chichewa",native:"Chi-Chewa"},oc:{name:"Occitan",native:"Occitan"},oj:{name:"Ojibwa",native:"ᐊᓂᔑᓈᐯᒧᐎᓐ / Anishinaabemowin"},om:{name:"Oromo",native:"Oromoo"},or:{name:"Oriya",native:"ଓଡ଼ିଆ"},os:{name:"Ossetian / Ossetic",native:"Иронау"},pa:{name:"Panjabi / Punjabi",native:"ਪੰਜਾਬੀ / पंजाबी / پنجابي"},pi:{name:"Pali",native:"Pāli / पाऴि"},pl:{name:"Polish",native:"Polski"},ps:{name:"Pashto",native:"پښتو",rtl:1},pt:{name:"Portuguese",native:"Português"},qu:{name:"Quechua",native:"Runa Simi"},rm:{name:"Raeto Romance",native:"Rumantsch"},rn:{name:"Kirundi",native:"Kirundi"},ro:{name:"Romanian",native:"Română"},ru:{name:"Russian",native:"Русский"},rw:{name:"Rwandi",native:"Kinyarwandi"},sa:{name:"Sanskrit",native:"संस्कृतम्"},sc:{name:"Sardinian",native:"Sardu"},sd:{name:"Sindhi",native:"सिनधि"},se:{name:"Northern Sami",native:"Sámegiella"},sg:{name:"Sango",native:"Sängö"},sh:{name:"Serbo-Croatian",native:"Srpskohrvatski / Српскохрватски"},si:{name:"Sinhalese",native:"සිංහල"},sk:{name:"Slovak",native:"Slovenčina"},sl:{name:"Slovenian",native:"Slovenščina"},sm:{name:"Samoan",native:"Gagana Samoa"},sn:{name:"Shona",native:"chiShona"},so:{name:"Somalia",native:"Soomaaliga"},sq:{name:"Albanian",native:"Shqip"},sr:{name:"Serbian",native:"Српски"},ss:{name:"Swati",native:"SiSwati"},st:{name:"Southern Sotho",native:"Sesotho"},su:{name:"Sundanese",native:"Basa Sunda"},sv:{name:"Swedish",native:"Svenska"},sw:{name:"Swahili",native:"Kiswahili"},ta:{name:"Tamil",native:"தமிழ்"},te:{name:"Telugu",native:"తెలుగు"},tg:{name:"Tajik",native:"Тоҷикӣ"},th:{name:"Thai",native:"ไทย / Phasa Thai"},ti:{name:"Tigrinya",native:"ትግርኛ"},tk:{name:"Turkmen",native:"Туркмен / تركمن"},tl:{name:"Tagalog / Filipino",native:"Tagalog"},tn:{name:"Tswana",native:"Setswana"},to:{name:"Tonga",native:"Lea Faka-Tonga"},tr:{name:"Turkish",native:"Türkçe"},ts:{name:"Tsonga",native:"Xitsonga"},tt:{name:"Tatar",native:"Tatarça"},tw:{name:"Twi",native:"Twi"},ty:{name:"Tahitian",native:"Reo Mā`ohi"},ug:{name:"Uyghur",native:"Uyƣurqə / ئۇيغۇرچە"},uk:{name:"Ukrainian",native:"Українська"},ur:{name:"Urdu",native:"اردو",rtl:1},uz:{name:"Uzbek",native:"Ўзбек"},ve:{name:"Venda",native:"Tshivenḓa"},vi:{name:"Vietnamese",native:"Tiếng Việt"},vo:{name:"Volapük",native:"Volapük"},wa:{name:"Walloon",native:"Walon"},wo:{name:"Wolof",native:"Wollof"},xh:{name:"Xhosa",native:"isiXhosa"},yi:{name:"Yiddish",native:"ייִדיש",rtl:1},yo:{name:"Yoruba",native:"Yorùbá"},za:{name:"Zhuang",native:"Cuengh / Tôô / 壮语"},zh:{name:"Chinese",native:"中文"},zu:{name:"Zulu",native:"isiZulu"}};const l=2147483647,u=36,s=/^xn--/,c=/[^\0-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,F=String.fromCharCode;function g(C){throw new RangeError(v[C])}function S(C,T){const H=C.split("@");let I="";H.length>1&&(I=H[0]+"@",C=H[1]);const R=function(Q,oe){const ne=[];let N=Q.length;for(;N--;)ne[N]=oe(Q[N]);return ne}((C=C.replace(p,".")).split("."),T).join(".");return I+R}function k(C){const T=[];let H=0;const I=C.length;for(;H=55296&&R<=56319&&H>1,C+=f(C/T);C>455;I+=u)C=f(C/35);return f(I+36*C/(C+38))},h=function(C){const T=[],H=C.length;let I=0,R=128,Q=72,oe=C.lastIndexOf("-");oe<0&&(oe=0);for(let N=0;N=128&&g("not-basic"),T.push(C.charCodeAt(N));for(let N=oe>0?oe+1:0;N=H&&g("invalid-input");const Fe=(ne=C.charCodeAt(N++))-48<10?ne-22:ne-65<26?ne-65:ne-97<26?ne-97:u;(Fe>=u||Fe>f((l-I)/G))&&g("overflow"),I+=Fe*G;const fe=K<=Q?1:K>=Q+26?26:K-Q;if(Fef(l/Oe)&&g("overflow"),G*=Oe}const L=T.length+1;Q=d(I-_,L,_==0),f(I/L)>l-R&&g("overflow"),R+=f(I/L),I%=L,T.splice(I++,0,R)}var ne;return String.fromCodePoint(...T)},U=function(C){const T=[];let H=(C=k(C)).length,I=128,R=0,Q=72;for(const N of C)N<128&&T.push(F(N));let oe=T.length,ne=oe;for(oe&&T.push("-");ne=I&&Lf((l-R)/_)&&g("overflow"),R+=(N-I)*_,I=N;for(const L of C)if(Ll&&g("overflow"),L==I){let G=R;for(let K=u;;K+=u){const Fe=K<=Q?1:K>=Q+26?26:K-Q;if(GString.fromCodePoint(...C)},decode:h,encode:U,toASCII:function(C){return S(C,function(T){return c.test(T)?"xn--"+U(T):T})},toUnicode:function(C){return S(C,function(T){return s.test(T)?h(T.slice(4).toLowerCase()):T})}};const{ucs2:{decode:j,encode:y}}=w,E=127397,D=/^[A-Z]{2}$/;return{continents:t,countries:r,languages:a,languagesAll:i,getEmojiFlag:C=>D.test(C)?y(C.split("").map(T=>E+T.charCodeAt(0))):"",getUnicode:C=>j(C).map(T=>"U+"+Number(T).toString(16).toUpperCase()).join(" ")}})})(_d);var Sh=_d.exports;const wh=ms(Sh),rs=(e,n)=>{const t=String(n[e]);return typeof t=="number"&&typeof t=="boolean"?t:String(t).toLocaleLowerCase()},Eh=(e,n,t)=>{if(typeof t=="function"){const i=t(e),l=t(n);return{ac:i,bc:l}}const r=rs(t,e),a=rs(t,n);return{ac:r,bc:a}},kh=(e,n,t)=>{const{ac:r,bc:a}=Eh(e,n,t);return ra?1:0},Ch=(e,n,t)=>{if(!n)return e;const r=e.sort((a,i)=>kh(a,i,n));return t===!1?r.reverse():r},jh=(e,n)=>{const t=e.find(r=>r.name===n);if(!t||!t.sort)throw Error("sort attribute could not be matched");return typeof t.sort=="object"&&"getAttribute"in t.sort?t.sort.getAttribute:n},Nh=(e,n)=>e.toLowerCase().indexOf(n.toLowerCase())>-1,Ah=e=>Object.entries(e).map(([n,t])=>({name:n,value:t})),xh=(e,n)=>{const t=typeof e;if(typeof n==="string")switch(t){case"string":return Nh(e,n);case"number":return e===Number(n);default:return!1}return!1},Ph=(e,n)=>JSON.stringify(n).toLowerCase().includes(e.toLowerCase()),Th=(e,n)=>{const t=Ah(n);return t.length===0?e:e.filter(r=>t.map(a=>{if(a.name==="globalSearch"&&typeof a.value=="string")return Ph(a.value,r);if(a.name!=="globalSearch"){const i=a.name;return typeof a.value=="object"?typeof a.value.func=="function"&&a.value.value?Array.isArray(a.value.value)&&a.value.value.length>0?a.value.func(r,a.value.value,n):a.value.func(r,a.value.value.value,n):!0:xh(r[i],a.value)}return!0}).reduce((a,i)=>a&&i))},Dh=(e,n=[])=>{if(!n)return[e];if(n.includes(e)){const t=n.indexOf(e);return n.splice(t,1),n}return n.push(e),n},Lh=(e,n)=>(n.value===null||n.value===""?delete e[n.name]:typeof n.value!="string"?n.type==="category"?(e[n.name]||(e[n.name]={value:[],func:n.value.func}),e[n.name].value=Dh(n.value.value,e[n.name].value),e[n.name].value.length===0&&delete e[n.name]):(e[n.name]||(e[n.name]={value:null,func:n.value.func}),e[n.name].value=n.value):e[n.name]=n.value,e),_h=(e,n)=>{const t=e.find(r=>r.name===n);if(!t||!t.filter)throw Error("filter attribute could not be matched");return typeof t.filter=="object"&&"func"in t.filter?{type:t.filter.type,func:t.filter.func}:n},Oh=(e,n)=>Object.entries(n).map(([t,r])=>{const a=_h(e,t);return{key:t,value:r,filterObj:a}}).reduce((t,r)=>{const{key:a}=r;let i;return typeof r.filterObj.func=="function"?i={value:r.filterObj.type==="select"?{value:r.value}:r.value,func:r.filterObj.func}:i=r.value,t[a]=i,t},{}),Rh=(e,n)=>Math.ceil(e/n),Mh=(e,n)=>{const t=n||10,r=Rh(e,t);return{idx:1,nPerPage:t,nPage:r}},Ih=(e,n)=>{e<1&&(e=1),e>n&&(e=n);const t=e-1,r=e+1,a=[e];return e>1&&a.unshift(t),e===n&&n>3&&a.unshift(t-1),e3&&a.push(3),t>2&&n>4&&a.unshift(-1),t>1&&a.unshift(1),r4&&a.push(-2),r{const t=(e-1)*n,r=e*n;return{start:t,end:r}},as=(e,n,t)=>{const{start:r,end:a}=Od(n,t);return e.slice(r,a)};var Me=(e=>(e.FETCH_DATA_REQUEST="FETCH_DATA_REQUEST",e.FETCH_DATA_SUCCESS="FETCH_DATA_SUCCESS",e.FILTER_CHANGE="FILTER_CHANGE",e.ORDER_CHANGE="ORDER_CHANGE",e.PAGE_CHANGE="PAGE_CHANGE",e))(Me||{});const Bh=(e,n)=>{switch(n.type){case Me.FETCH_DATA_REQUEST:return{...e,loading:!0};case Me.FETCH_DATA_SUCCESS:{const{data:t,numberOfTotalRows:r}=n.payload;return{...e,loading:!1,data:t,numberOfTotalRows:r}}case Me.FILTER_CHANGE:{const{filters:t,pageIdx:r}=n.payload;return{...e,filters:t,pageIdx:r}}case Me.ORDER_CHANGE:{const{sortDescAsc:t,sortAttribute:r,pageIdx:a}=n.payload;return{...e,sortDescAsc:t,sortAttribute:r,pageIdx:a}}case Me.PAGE_CHANGE:{const{pageIdx:t}=n.payload;return{...e,pageIdx:t}}}},zh=(e=[],n,t=!0,r={})=>{const a=e.length;return{data:e,filters:r,sortAttribute:n,sortDescAsc:t,numberOfTotalRows:a,loading:!1,pageIdx:1}},bh=({HeaderUnit:e,FilterUnit:n,OrderController:t,ColCell:r,GlobalSearch:a,NoRow:i,Row:l,ListWrapper:u,ListContainer:s,ListHeader:c,ListBody:p,RecordInfo:v,Pagination:f,Loader:F})=>g=>{const{def:S,config:k={},asyncData:m,CustomListContainer:d,CustomListItem:h}=g,U=k.filters?Oh(S,k.filters):void 0,[w,j]=M.useReducer(Bh,zh(g.data,k.sortAttribute,k.sortDescAsc,U)),{filters:y,pageIdx:E,sortAttribute:D,sortDescAsc:C,data:T,numberOfTotalRows:H,loading:I}=w,R=k.nPerPage||g.nPerPage||25;g.nPerPage&&console.warn("The use of nPerPage in props is deprecated. Add nPerPage to the config object prop.");const Q=M.useCallback(z=>{m&&(j({type:Me.FETCH_DATA_REQUEST}),m({nPerPage:R,pageIdx:z&&z.pageIdx?z.pageIdx:E,filters:z&&z.filters?z.filters:y,sort:{attribute:z&&z.sortAttribute?z.sortAttribute:D,descAsc:z&&typeof z.sortDescAsc<"u"?z.sortDescAsc:C}}).then(ie=>{j({type:Me.FETCH_DATA_SUCCESS,payload:{data:ie.data,numberOfTotalRows:ie.meta.n}})}))},[m,y,R,E,D,C]);M.useEffect(()=>{Q()},[m,Q]),M.useEffect(()=>{const z=g.data,ie=z?z.length:0;j({type:Me.FETCH_DATA_SUCCESS,payload:{data:z,numberOfTotalRows:ie}})},[g.data]);const oe=z=>{const He={filters:Lh(y,z),pageIdx:1};j({type:Me.FILTER_CHANGE,payload:He}),Q(He)},ne=z=>{const ie=Object.assign({},y);delete ie[z];const He={filters:ie,pageIdx:1};j({type:Me.FILTER_CHANGE,payload:He}),Q(He)},N=(z,ie=null)=>{ie===null&&(ie=!C);const Hn={sortDescAsc:ie,sortAttribute:z,pageIdx:1};j({type:Me.ORDER_CHANGE,payload:Hn})},_=z=>{if(z>0){const ie={pageIdx:z};j({type:Me.PAGE_CHANGE,payload:ie})}},L=z=>typeof z.sort=="boolean"&&z.sort===!0||typeof z.sort=="object",G=()=>S.map((z,ie)=>{const Hn=L(z)?o(t,{descAsc:D===z.name?C:null,onClick:()=>N(z.name)}):null,He=o(n,{filters:y,name:z.name,filter:z.filter,onChange:oe,onReset:ne,debounceWait:k.debounceWait},ie);return A(e,{children:[z.label||""," ",Hn," ",He]},ie)}),K=z=>z.map((ie,Hn)=>o(B.Fragment,{children:h?o(O,{children:d?h(ie):o(l,{children:o(r,{colSpan:S.length,style:{paddingLeft:0,paddingRight:0,borderBottom:0},children:h(ie)})})}):o(l,{children:S.map((He,am)=>o(r,{classAppend:He.classAppend,children:He.render?He.render(ie):o(O,{children:ie[He.name]})},am))})},Hn)),Fe=()=>o(l,{children:o(r,{colSpan:S.length,children:o(F,{})})});let fe=[],Oe=[],Ae=0;m?Ae=H:(fe=Th(T,y),Ae=fe.length,Oe=as(D?Ch(fe,jh(S,D),C):fe,E,R));const ut=typeof k.pagination<"u"?k.pagination:!0,rm=typeof k.recordInfo<"u"?k.recordInfo:!0;return A(u,{children:[o(a,{search:k.search,onChange:oe,filters:y,debounceWait:k.debounceWait}),d?A(O,{children:[o(s,{children:o(c,{children:o(l,{children:G()})})}),d(K(m?T:Oe))]}):A(s,{maxHeight:k.maxHeight,stickyHeader:k.stickyHeader,children:[o(c,{children:o(l,{children:G()})}),o(p,{children:I?Fe():K(m?T:Oe)})]}),rm&&o(v,{n:Ae,idx:E,nPerPage:R}),ut&&Ae>R&&o(f,{n:Ae,nPerPage:R,idx:E,onClick:_}),!I&&o(i,{n:Ae})]})},Xe=({name:e})=>o("i",{className:"fa fa-"+e}),$h=()=>o("p",{children:"Loading..."}),Hh=({children:e,type:n="info"})=>{let t="bg-blue-100";switch(n){case"error":t="bg-red-100";break;case"success":t="bg-green-100";break;case"warning":t="bg-yellow-100";break}return o("div",{className:`p-4 ${t}`,children:e})},Gh=e=>e.search?o("div",{className:"mb-3 w-3/4 max-w-sm",children:o("input",{type:"text",className:"form-control p-2 border border-gray-300 rounded",onChange:n=>e.onChange({name:"globalSearch",value:n.target.value}),placeholder:"start typing ..."})}):o(O,{}),Vh=()=>o(O,{}),Kh=e=>e.n>0?null:o(Hh,{type:"warning",children:"No rows found"}),Wh=({children:e,colSpan:n,style:t})=>o("td",{colSpan:n,style:t,children:e}),Qh=e=>{const{children:n}=e;return o("th",{children:n})},Yh=()=>o(Xe,{name:"chevron-up"}),Jh=()=>o(Xe,{name:"chevron-down"}),Xh=()=>o(Xe,{name:"arrow"}),Zh=e=>{const{onClick:n,descAsc:t}=e;let r=Xh;return t!==null&&(r=t?Yh:Jh),o("div",{style:{cursor:"pointer",display:"inline-block",color:t===null?"#ccc":"#000"},onClick:()=>n(null),children:o(r,{})})},qh=e=>{const{children:n}=e;return o("div",{className:"overflow-x-auto",children:n})},e1=e=>{const{children:n,maxHeight:t,stickyHeader:r=!1}=e;return o("div",{className:"container mx-auto",style:t?{maxHeight:t}:void 0,children:o("table",{className:"table-auto w-full",children:n})})},n1=e=>{const{children:n}=e;return o("tr",{children:n})},t1=e=>{const{children:n}=e;return o("thead",{children:n})},r1=({children:e})=>o("tbody",{children:e}),a1=e=>{const{nPerPage:n,idx:t,n:r}=e;if(r===0)return null;const{start:a,end:i}=Od(t,n);return A("p",{className:"pull-right",children:["Showing ",a+1," to ",Number(a)+Number(n)>r?r:i," of"," ",r," entries"]})},i1=({n:e,nPerPage:n,idx:t,onClick:r})=>{if(e===0)return null;const{nPage:a}=Mh(e,n),i=Ih(t,a);return o("nav",{"aria-label":"Page navigation example",className:"flex justify-center",children:A("ul",{className:"flex list-none",children:[o("li",{className:"page-item",children:o("button",{className:"h-8 w-8 mr-1 flex justify-center items-center rounded-full cursor-pointer bg-gray-50 hover:bg-gray-100",onClick:t>1?()=>r(t-1):void 0,children:"Previous"})}),i.map((l,u)=>l<0?o("li",{className:"flex items-center justify-center mx-1",children:o("span",{children:"..."})},u):o("li",{className:"flex items-center justify-center mx-1",children:o("button",{className:`h-8 w-8 flex justify-center items-center rounded-full cursor-pointer ${t===l?"bg-primary text-white":"bg-gray-50 hover:bg-gray-100"}`,onClick:()=>r(l),children:l})},u)),o("li",{className:"page-item",children:o("button",{className:"h-8 w-8 mr-1 flex justify-center items-center rounded-full cursor-pointer bg-gray-50 hover:bg-gray-100",onClick:tr(t+1):void 0,children:"Right"})})]})})},ri=e=>bh({HeaderUnit:Qh,FilterUnit:Vh,OrderController:Zh,ColCell:Wh,GlobalSearch:Gh,NoRow:Kh,Row:n1,ListWrapper:qh,ListContainer:e1,ListHeader:t1,ListBody:r1,RecordInfo:a1,Pagination:i1,Loader:$h})(e),l1=Object.values(wh.countries).sort((e,n)=>e.name.localeCompare(n.name)),o1=[{name:"name",label:"Country name"},{name:"capital",label:"Capital"},{name:"emoji",label:"Emoji"}],u1=()=>o(ri,{config:{search:!0},data:l1,def:o1}),s1=[{name:"Doe",firstName:"John"},{name:"Doe",firstName:"Jane"}],c1=()=>o(ri,{config:{search:!0},data:s1,def:[{name:"name",label:"Name"},{name:"firstName",label:"First Name"}]}),d1=[{name:"Doe",firstName:"John"},{name:"Doe",firstName:"Jane"}],m1=()=>{const[e,n]=B.useState(d1);return A(O,{children:[o("h1",{children:"List with outer filter"}),o("button",{className:"btn btn-sm btn-primary",onClick:()=>{n([])},children:"Click me"}),o(ri,{config:{search:!0},data:e,def:[{name:"name",label:"Name"},{name:"firstName",label:"First Name"}]})]})},f1=()=>A(O,{children:[o(u1,{}),o(c1,{}),o(m1,{})]}),xo=(e,n,t)=>({cards:r,data:a,setData:i})=>o(t,{children:r.map(({width:l=6,title:u,subtitle:s,Component:c},p)=>o(n,{width:l,children:o(e,{title:u,subtitle:s,children:o(c,{data:a,setData:i})})},p))}),p1=({Card:e,Tabs:n,Col:t,Row:r})=>{const a=xo(e,t,r);return({cards:i,data:l,setData:u})=>{if(Array.isArray(i))return o(a,{cards:i,data:l,setData:u});const[s,c]=B.useState(0),p=Object.entries(i),v=p.map(([F])=>({label:F})),f=p[s][1];return A(O,{children:[o(n,{tabs:v,tabIndex:s,setTabIndex:c}),o(a,{cards:f,data:l,setData:u})]})}},h1=e=>"/"+e.replace(/[ \/]/g,"-").toLocaleLowerCase(),g1=({Card:e,Navs:n,Col:t,Row:r,pathPrefix:a})=>{const i=xo(e,t,r);return({cards:l,data:u,setData:s})=>{const p=Object.entries(l).map(([v,f],F)=>{const g=()=>o(i,{cards:f,data:u,setData:s}),S=v,k=F==0?"":h1(v);return{label:S,path:k,Component:g}});return o(n,{tabs:p,pathPrefix:a})}},v1=({Card:e,Col:n,Row:t,Tabs:r,Navs:a})=>({cards:i,pathPrefix:l,data:u,setData:s})=>{if(Array.isArray(i)){const p=xo(e,n,t);return o(p,{cards:i,data:u,setData:s})}const c=a?g1({Card:e,Navs:a,Col:n,Row:t,pathPrefix:l}):r?p1({Card:e,Tabs:r,Col:n,Row:t}):null;if(c===null)throw Error("either nav or tab must be defined");return o(c,{cards:i,data:u,setData:s})},Rd=({Card:e,Tabs:n,Navs:t,Header:r,Col:a,Row:i,BackBtn:l=()=>o(O,{})})=>({cards:u,title:s,description:c,backRedirect:p,pathPrefix:v=""})=>({data:f})=>{const F=v1({Card:e,Col:a,Row:i,Tabs:n,Navs:t}),[g,S]=B.useState(),[k,m]=B.useState(f);return g?o(dh,{to:g}):A(O,{children:[o(r,{title:s,description:c}),o(F,{pathPrefix:v,cards:u,data:k,setData:m}),p&&o(l,{onClick:()=>S(p)})]})},ai=({title:e,subtitle:n,children:t})=>o("div",{className:"bg-white shadow-lg rounded-lg overflow-hidden",children:A("div",{className:"p-4",children:[e&&o("h5",{className:"text-lg font-bold",children:e}),n&&o("h6",{className:"text-sm text-gray-500 mb-2",children:"Card subtitle"}),t]})}),Md=e=>`px-3 py-2 rounded-md text-sm font-medium ${e?"bg-blue-500 text-white":"text-gray-600 hover:bg-blue-500 hover:text-white"}`,y1=({label:e,onClick:n,isSelected:t})=>o("li",{className:"nav-item",children:o("a",{className:`${Md(t)} ${t?"text-blue-500 border-b-2 border-blue-500":"text-gray-600 hover:text-blue-500"} cursor-pointer`,onClick:n,children:e})}),F1=({label:e,path:n,isSelected:t})=>o("li",{className:"nav-item",children:o(xl,{to:n,className:`${Md(t)} ${t?"text-blue-500 border-b-2 border-blue-500":"text-gray-600 hover:text-blue-500"}`,children:e})}),Id=({children:e})=>o("ul",{className:"flex space-x-4",children:e}),U1=(e,n)=>n.includes(e),S1=(e,n,t)=>{const r=n.filter(a=>U1(t+(a.path||""),e));return r.length&&r[0].path||""},w1=(e="",n=!0)=>e+"/"+(n?"*":""),E1=(e,n)=>({tabs:t,allowsNested:r=!0,pathPrefix:a=""})=>{const i=Tr(),l=c=>a+c,u=[...t].sort((c,p)=>(p.path||"").length-(c.path||"").length);B.useEffect(()=>{},[i]);const s=S1(i.pathname,u,a);return A(O,{children:[o(e,{children:t.map(({label:c,path:p=""},v)=>{const f=l(p);return o(n,{path:f,isSelected:p===s,label:c},v)})}),o(Ld,{children:u.map(({path:c,Component:p},v)=>{const f=w1(c,r);return o(Z,{path:f,element:o(p,{})},v)})})]})},ot=E1(Id,F1),Bd=({title:e,description:n})=>A(O,{children:[o("h1",{children:e}),o("p",{children:n})]}),zd=({children:e})=>o("div",{className:"grid grid-cols-12 gap-4",children:e}),bd=({children:e,width:n})=>{const t=`col-span-${n}`;return o("div",{className:t,children:e})},$d=({onClick:e})=>o("div",{className:"float-right",children:o("button",{onClick:e,type:"button",className:"text-xs px-2 py-1 bg-gray-600 hover:bg-gray-700 text-white rounded",children:"Back"})}),Hd=Rd({Card:ai,Navs:ot,Header:Bd,Col:bd,Row:zd,BackBtn:$d}),k1=(e,n)=>({tabs:t,tabIndex:r=0,setTabIndex:a})=>o(e,{children:t.map((i,l)=>o(n,{label:i.label,isSelected:l===r,onClick:()=>a(l)},l))}),Po=k1(Id,y1),C1=Rd({Card:ai,Tabs:Po,Header:Bd,Col:bd,Row:zd,BackBtn:$d}),Gd={title:"My Layout",description:"A description here",backRedirect:"/",pathPrefix:q.layout.link+"/with-router",cards:{tab1:[{title:"first",Component:()=>o("p",{children:"Hello"})},{title:"second",Component:({data:e})=>o("p",{children:e.firstName})},{title:"third",Component:({data:e,setData:n})=>A("p",{children:[e.firstName," here"," ",o("button",{className:"btn btn-sm btn-primary",onClick:()=>n&&n({firstName:"Michael"}),children:"Change"})]})}],"Tab with space":[{title:"fourth",Component:()=>o("p",{children:"Hello"})},{title:"third",Component:({data:e,setData:n})=>A("p",{children:[e.firstName," here2"," ",o("button",{className:"btn btn-sm btn-primary",onClick:()=>n&&n({firstName:"John"}),children:"Change"})]})}]}},j1=Hd(Gd),N1=C1(Gd),is={firstName:"Maria"},A1=[{label:"With Router",path:"/with-router",Component:()=>o(j1,{data:is})},{label:"No Router",path:"/no-router",Component:()=>o(N1,{data:is})}],{link:x1}=q.layout,P1=()=>A(O,{children:[o("h1",{children:"Layout Showcase"}),o(ot,{tabs:A1,pathPrefix:x1})]}),T1=e=>e.map(n=>({label:n.label,value:n.render||n.name})),D1=e=>o(O,{children:e.children}),Vd=(e,n=D1)=>({data:t,structure:r,title:a,description:i})=>o(n,{title:a,description:i,children:r.map((l,u)=>{const s=typeof l.value=="function"?l.value(t):String(t[l.value]);return o(e,{label:l.label,value:s},u)})}),L1=({children:e})=>o(ai,{children:o(O,{children:e})}),Kd=e=>A("dl",{className:"flex flex-wrap",children:[A("dt",{className:"font-semibold w-1/3",children:[e.label,":"]}),o("dd",{className:"w-2/3",children:e.value})]}),Wd=Vd(Kd,L1),_1={firstName:"John",lastName:"Doe",email:"john@doe.com"},O1=[{label:"First Name",value:"firstName"},{label:"Last Name",value:"lastName"},{label:"Email",value:e=>o("a",{href:"mailto:"+e.email,children:o("code",{children:e.email})})}],R1=()=>o(Wd,{data:_1,structure:O1}),M1=()=>A(O,{children:[o("h1",{children:"Card"}),o(ai,{title:"my title",subtitle:"my subtitle",children:o("p",{children:"same content"})})]});var Xn={},Qd={},To={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkJSON=e.checkISODateFormat=e.checkId=e.checkInteger=e.regexCheck=e.passwordCheck=e.checkUuid=e.emailCheck=e.isUUID=void 0;var n=function(f){var F=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/i,g=f.match(F);return!!g&&g.includes(f)},t=function(f,F){F===void 0&&(F="all");var g={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},S=g[F];return S&&S.test(f)};e.isUUID=t;var r=function(f){var F=f.trim();if(F!==f)return["email must not contain any whitespace (before or after)"];if(!n(f))return["email invalid"]};e.emailCheck=r;var a=function(f){if(!(0,e.isUUID)(f))return["uuid invalid"]};e.checkUuid=a;var i=function(f){var F=[];return f.length<9&&F.push("password length smaller than 8"),F.length>0?F:void 0};e.passwordCheck=i;var l=function(f,F){var g=f.match(F);if(g===null)return["regex ".concat(F," not satisfied")]};e.regexCheck=l;var u=function(f,F){if(F===void 0&&(F=!1),!Number.isSafeInteger(f))return["must be an integer"];if(f<0&&!F)return["negative numbers are not accepted"]};e.checkInteger=u;var s=function(f){var F=(0,e.checkInteger)(f);return F&&F[0][0]==="n"?["id must be greater than 0"]:F};e.checkId=s;var c=[4,6,9,11],p=function(f,F){F===void 0&&(F={});var g=f.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(g===null||g.length<4)return["date format not accepted, please pass YYYY-MM-DD"];var S=g[1],k=g[2],m=g[3],d=parseInt(m),h=parseInt(k),U=parseInt(S),w=[],j=F.yearMin,y=j===void 0?1900:j,E=F.yearMax,D=E===void 0?2300:E;d<1&&w.push("day must be greater than zero"),h<1&&w.push("month must be greater than zero"),h>12&&w.push("month must be smaller than 12"),UD&&w.push("year must be smaller than "+D);var C=Math.abs(1988-U)%4===0;if(h===2?(!C&&d>28&&w.push("day must be smaller than 28 (February)"),C&&d>29&&w.push("day must be smaller than 29 (February and leap year)")):c.includes(h)&&d>30?w.push("day must be smaller than 30 (month of ".concat(h,")")):d>31&&w.push("day must be smaller than 31"),w.length>0)return w};e.checkISODateFormat=p;var v=function(f){try{JSON.parse(f);return}catch{return["must be a JSON"]}};e.checkJSON=v})(To);(function(e){var n=ge&&ge.__createBinding||(Object.create?function(g,S,k,m){m===void 0&&(m=k);var d=Object.getOwnPropertyDescriptor(S,k);(!d||("get"in d?!S.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return S[k]}}),Object.defineProperty(g,m,d)}:function(g,S,k,m){m===void 0&&(m=k),g[m]=S[k]}),t=ge&&ge.__setModuleDefault||(Object.create?function(g,S){Object.defineProperty(g,"default",{enumerable:!0,value:S})}:function(g,S){g.default=S}),r=ge&&ge.__importStar||function(g){if(g&&g.__esModule)return g;var S={};if(g!=null)for(var k in g)k!=="default"&&Object.prototype.hasOwnProperty.call(g,k)&&n(S,g,k);return t(S,g),S},a=ge&&ge.__awaiter||function(g,S,k,m){function d(h){return h instanceof k?h:new k(function(U){U(h)})}return new(k||(k=Promise))(function(h,U){function w(E){try{y(m.next(E))}catch(D){U(D)}}function j(E){try{y(m.throw(E))}catch(D){U(D)}}function y(E){E.done?h(E.value):d(E.value).then(w,j)}y((m=m.apply(g,S||[])).next())})},i=ge&&ge.__generator||function(g,S){var k={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},m,d,h,U;return U={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(U[Symbol.iterator]=function(){return this}),U;function w(y){return function(E){return j([y,E])}}function j(y){if(m)throw new TypeError("Generator is already executing.");for(;U&&(U=0,y[0]&&(k=0)),k;)try{if(m=1,d&&(h=y[0]&2?d.return:y[0]?d.throw||((h=d.return)&&h.call(d),0):d.next)&&!(h=h.call(d,y[1])).done)return h;switch(d=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return k.label++,{value:y[1],done:!1};case 5:k.label++,d=y[1],y=[0];continue;case 7:y=k.ops.pop(),k.trys.pop();continue;default:if(h=k.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){k=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]0&&(m[w]=E)}else{var D=j.$object,C=j.$array,T=j.type||(D||C?"object":void 0),H=(0,e.checkField)(y,j.optional,j.extraCheck,T,j.errorLabel);if(H&&(m[w]=H),y===void 0&&j.defaultValue&&(g[w]=j.defaultValue),D){var I=D;if(y){var E=(0,e.checkObject)(y||{},I,k);Object.keys(E).length>0&&(m[w]=E)}}else if(C&&y){var R=C;Array.isArray(y)?y.forEach(function(oe,ne){if((0,e.isShapeType)(R)){var N=(0,e.checkObject)(oe||{},R,k);Object.keys(N).length>0&&(m[w]||(m[w]={}),m[w][ne]=N)}else{var N=(0,e.checkField)(oe,R.optional,R.extraCheck,R.type,R.errorLabel);N&&(m[w]||(m[w]={}),m[w][ne]=N)}}):m[w]=["array expected"]}else{var Q=(0,e.checkField)(y,j.optional,j.extraCheck,j.type,j.errorLabel,j.allowEmptyString);Q&&(m[w]=Q)}y===void 0&&j.defaultValue&&(g[w]=j.defaultValue)}}),m};e.checkObject=p;var v=function(g,S,k){k===void 0&&(k=400),S.body=g,S.status=k};e.displayErrors=v;var f=function(g,S){return S===void 0&&(S=!0),function(k,m){return a(void 0,void 0,void 0,function(){var d,h;return i(this,function(U){switch(U.label){case 0:return d=k.request.body,h=(0,e.checkObject)(d,g,S),Object.keys(h).length>0?((0,e.displayErrors)(h,k),[2]):[4,m()];case 1:return U.sent(),[2]}})})}};e.isShapeMiddleware=f;var F=function(g,S,k){var m=(0,e.checkObject)(S,g);return Object.keys(m).length>0?((0,e.displayErrors)(m,k),!1):!0};e.isShape=F,e.isUuid=(0,e.isShapeMiddleware)({uuid:{extraCheck:l.checkUuid}}),e.isId=(0,e.isShapeMiddleware)({id:{type:"number",extraCheck:l.checkId}})})(Qd);var Yd={};Object.defineProperty(Yd,"__esModule",{value:!0});var I1=ge&&ge.__createBinding||(Object.create?function(e,n,t,r){r===void 0&&(r=t);var a=Object.getOwnPropertyDescriptor(n,t);(!a||("get"in a?!n.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,a)}:function(e,n,t,r){r===void 0&&(r=t),e[r]=n[t]}),B1=ge&&ge.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),Do=ge&&ge.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&I1(n,e,t);return B1(n,e),n};Object.defineProperty(Xn,"__esModule",{value:!0});Xn.Utils=Xn.Type=Jd=Xn.Main=void 0;var z1=Do(Qd),Jd=Xn.Main=z1,b1=Do(Yd);Xn.Type=b1;var $1=Do(To);Xn.Utils=$1;var $=(e=>(e[e.Number=0]="Number",e[e.Text=1]="Text",e[e.Textarea=2]="Textarea",e[e.Select=3]="Select",e[e.SelectNumber=4]="SelectNumber",e[e.SelectObject=5]="SelectObject",e[e.SelectObjectNumber=6]="SelectObjectNumber",e[e.Switch=7]="Switch",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.DateTime=10]="DateTime",e[e.RichText=11]="RichText",e))($||{});const H1=e=>{const n={},t=a=>Array.isArray(a)&&a.length>0?a[0]:"",r=(a,i)=>{Object.entries(a).forEach(([l,u])=>{Array.isArray(u)?i[l]=t(u):u&&typeof u=="object"&&(i[l]=i[l]||{},r(u,i[l]))})};return r(e,n),n},G1=(e,n)=>Object.keys(n).length===0,V1=e=>{if([$.SelectNumber,$.Number].includes(e))return"number"},K1=e=>{const n={};return e.forEach(t=>{if([$.SelectObject,$.SelectObjectNumber].includes(t.uiType)){n[t.name]={$object:{id:{type:t.uiType===$.SelectObjectNumber?"number":"string"},name:{optional:!0}},optional:t.optional};return}const r=V1(t.uiType);n[t.name]={type:r,optional:t.optional}}),n},kr=({onSuccess:e,clientValidationFunction:n,FormUI:t,errors:r,asyncCall:a,children:i,formDataDefault:l,options:u,onCancel:s})=>{const[c,p]=B.useState(l||{}),[v,f]=B.useState(r||{}),[F,g]=B.useState(!1);return o(t,{loading:F,form:c,setForm:p,errors:v,onSubmit:async k=>{k.preventDefault();const m=n?n(c):{};if(!G1(c,m)){f(m);return}if(f({}),a){g(!0),a(c).then(d=>{e&&e(c,d)}).catch(d=>{"data"in d&&typeof d.data=="object"&&f(H1(d.data))}).finally(()=>g(!1));return}e&&e(c)},options:u,onCancel:s,children:i})},ii=(e,n,t,{resetAfterSubmit:r=!0}={})=>({onSuccess:a,onErrors:i})=>kr({onSuccess:a,onErrors:i,clientValidationFunction:u=>Jd.checkObject(u,n),FormUI:e,asyncCall:t}),Lo=(e,n="border p-2 rounded")=>{const t=!!e,r=[n];return t?r.push("border-red-500"):r.push("border-gray-300"),r.join(" ")},Ie=({label:e,children:n,error:t})=>A("div",{className:"mb-3",children:[o("label",{className:"block text-sm font-medium text-gray-700",children:e}),n,t&&o("div",{id:"validationServer03Feedback",className:"text-red-500 text-xs italic mt-1",children:t})]}),li=(e="text")=>({onChange:n,error:t,disabled:r,value:a,placeholder:i})=>o("input",{className:Lo(t),type:e,value:a||"",onChange:l=>n(l.target.value),disabled:r,placeholder:i}),rt=li("text"),W1=li("date"),Q1=li("datetime-local"),Y1=li("time"),J1=({onChange:e,error:n,disabled:t,value:r})=>o("textarea",{className:Lo(n,"border p-2 rounded resize-y"),value:r,onChange:a=>e(a.target.value),disabled:t}),_o=({onChange:e,options:n,value:t,error:r,disabled:a})=>A("select",{className:Lo(r,"border p-2 rounded bg-white"),onChange:i=>{const{value:l}=i.target;if(!l){e(void 0);return}const u=Number(l);if(!isNaN(u)){e(u);return}e(l)},disabled:a,defaultValue:t,children:[o("option",{}),n&&n.map(({id:i,name:l},u)=>o("option",{value:i,children:l},u))]}),Pl=e=>{var r;const n=a=>{var l;const i=(l=e.options)==null?void 0:l.find(u=>u.id===a);i&&e.onChange(i)};e.options;const t=(r=e.value)==null?void 0:r.id;return _o({...e,onChange:n,value:t})},Oo=({value:e,onChange:n})=>o("input",{className:"form-checkbox h-4 w-4 text-blue-600",checked:e,type:"checkbox",onChange:t=>n(!!t.target.value)}),Oa=e=>{switch(e){case $.Switch:return Oo;case $.Textarea:return J1;case $.Select:case $.SelectNumber:return _o;case $.SelectObject:case $.SelectObjectNumber:return Pl;case $.Date:return W1;case $.DateTime:return Q1;case $.Time:return Y1;default:return rt}},X1=({form:e,setForm:n,loading:t,errors:r,onSubmit:a})=>A("form",{onSubmit:a,children:[o(Ie,{error:r.firstName,children:o(rt,{value:e.firstName,onChange:i=>n({...e,firstName:i}),disabled:t,placeholder:"First Name",error:r.firstName})}),o(Ie,{error:r.lastName,children:o(rt,{value:e.lastName,onChange:i=>n({...e,lastName:i}),disabled:t,placeholder:"Last Name",error:r.lastName})}),o("button",{disabled:t,type:"submit",className:`px-4 py-2 text-white font-semibold rounded ${t?"bg-gray-400":"bg-blue-500 hover:bg-blue-700"}`,children:"Send"})]}),Ra=({InputGeneric:e,InputWrapper:n,Button:t})=>r=>({form:a,setForm:i,loading:l,errors:u,onSubmit:s,children:c})=>A("form",{onSubmit:s,children:[r.map((p,v)=>{const f=e(p.uiType);return o(n,{label:p.label,error:u[p.name],info:p.info,children:o(f,{value:a[p.name],onChange:F=>i({...a,[p.name]:F}),disabled:l,placeholder:p.placeholder,error:u[p.name],options:p.options&&p.options})},v)}),o(t,{disabled:l}),c]}),Z1=e=>(n,t,r={})=>{const a=K1(n),i=Ra(e)(n);return ii(i,a,t,r)},q1={InputWrapper:Ie,InputGeneric:Oa,Button:()=>o("button",{className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded",type:"submit",children:"Send"})},Xd=Z1(q1),mn=(e=500)=>new Promise(n=>setTimeout(n,e)),eg={firstName:{},lastName:{optional:!0}},Zd=["mickey","minnie","donald","popeye"],qd=async e=>(await mn(),Zd.includes(e.firstName.toLowerCase())?Promise.reject({firstName:["Cartoon character names are not allowed"]}):{id:2}),ls=(e,n)=>alert("form sent successfully"+(n==null?void 0:n.id)+" "+JSON.stringify(e)),Ro=[{id:1,name:"Asia"},{id:2,name:"Africa"},{id:3,name:"Europe"},{id:4,name:"North America"},{id:5,name:"South America"},{id:6,name:"Australia/Oceania"},{id:7,name:"Antarctica"}],ng=[{id:1,name:"<20"},{id:2,name:"20-40"},{id:3,name:"40-60"},{id:4,name:"60+"}],tg=[{id:"GET",name:"GET"},{id:"POST",name:"POST"}],rg=[{name:"firstName",uiType:$.Text,optional:!1,placeholder:"First Name"},{label:"Last Name",placeholder:"Enter your last name here",name:"lastName",uiType:$.Text,optional:!0},{label:"Continent",placeholder:"Continent",name:"continent",uiType:$.SelectObjectNumber,optional:!1,options:Ro},{label:"Age",name:"age",uiType:$.SelectNumber,optional:!1,options:ng},{label:"Method",name:"method",uiType:$.Select,optional:!1,options:tg},{label:"Birthdate",name:"birthdate",uiType:$.Date,optional:!1},{label:"Appointment",name:"appointment",uiType:$.DateTime,optional:!0},{label:"Lunch Time",name:"lunchTime",uiType:$.Time,optional:!0}],ag=Xd(rg,qd),Dr=()=>A("div",{className:"flex justify-center items-center",children:[o("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"}),o("span",{className:"sr-only",children:"Loading..."})]}),ig=e=>({label:n,asyncAction:t,LoadingContent:r,SuccessContent:a,FailedContent:i})=>{const[l,u]=B.useState(0),[s,c]=B.useState(void 0);return o(e,{disabled:l===1,onClick:async()=>{u(1);try{const v=await t();c(v),u(2);return}catch{u(3);return}},children:A(O,{children:[l===0&&n,l===1&&o(r,{}),l===2&&o(a,{data:s}),l===3&&o(i,{})]})})},lg=({children:e,disabled:n,onClick:t})=>o("button",{className:`border border-blue-500 text-blue-500 hover:bg-blue-500 hover:text-white px-4 py-2 rounded transition ease-in-out duration-150 ${n?"opacity-50 cursor-not-allowed":""}`,disabled:n,onClick:t,children:e}),og=ig(lg),ug=e=>{const n="m-2 px-4 py-2 border rounded-md text-sm font-medium ";return e==="primary"?n+"border-transparent rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:bg-blue-300":n+"hover:bg-gray-100 px-4 py-2"},em=({onClick:e,context:n,disabled:t,type:r,children:a})=>{const i=ug(n);return o("button",{type:r,disabled:t,className:i,onClick:e,children:a})},Ma=({disabled:e,loading:n})=>n?o(Dr,{}):o(em,{type:"submit",disabled:e,context:"primary",children:"Submit"}),sg=({onClick:e})=>o(em,{onClick:e,children:"Back"});var Tl=(e=>(e[e.card=1]="card",e[e.list=2]="list",e))(Tl||{});const cg=[{id:1,name:"Switzerland"},{id:2,name:"Australia"}],dg=[{id:"en",name:"English"},{id:"fr",name:"French"}],mg=Object.keys(Tl).filter(e=>!isNaN(e)).map(e=>({id:e,name:Tl[e]})),fg=({onSubmit:e,errors:n,form:t,setForm:r,loading:a})=>(console.log(n),A("form",{onSubmit:e,children:[o(Ie,{label:"Name",error:n.name,children:o(rt,{value:t.name,onChange:i=>r({...t,name:i})})}),o(Ie,{label:"is uuid",error:n.isUuid,children:o(Oo,{value:t.isUuid,onChange:i=>r({...t,isUuid:i})})}),o(Ie,{label:"Country",info:"Pick a country from the list",error:n.country,children:o(Pl,{options:cg,value:t.country,onChange:i=>r({...t,country:i})})}),o(Ie,{label:"Language",info:"Pick a language from the list",error:n.lang,children:o(Pl,{options:dg,value:t.lang,onChange:i=>r({...t,lang:i})})}),o(Ie,{label:"UI Style",info:"Pick a UI style from the list",error:n.uiStyle,children:o(_o,{options:mg,value:t.uiStyle,onChange:i=>r({...t,uiStyle:i})})}),o(Ma,{loading:a})]})),pg=e=>{console.log(e);const n={};return(!("name"in e)||e.name==="")&&(n.name="wth dude"),(!("isUuid"in e)||e.isUuid===!1)&&(n.isUuid="wth dude"),n},hg=()=>new Promise((e,n)=>{setTimeout(()=>{console.log("sdf"),n({country:"sdf"})},2e3)}),gg=()=>o(kr,{FormUI:fg,onSuccess:console.log,clientValidationFunction:pg,asyncCall:hg}),vg=e=>{console.log(e);const n={};return(!("name"in e)||e.name==="")&&(n.name="wth dude"),(!("isUuid"in e)||e.isUuid===!1)&&(n.isUuid="wth dude"),n},yg=()=>new Promise((e,n)=>{setTimeout(()=>{console.log("sdf"),n({country:"sdf"})},2e3)}),Fg=[{name:"name",label:"Name",uiType:$.Text,placeholder:"add something here"},{name:"isUuid",label:"Is Uuid",uiType:$.Switch,placeholder:"add something here"},{name:"country",label:"Country",uiType:$.SelectObject,placeholder:"lal"}],Ug=()=>o(kr,{FormUI:Ra({InputGeneric:Oa,InputWrapper:Ie,Button:Ma})(Fg),onSuccess:console.log,clientValidationFunction:vg,asyncCall:yg}),Sg=[{name:"name",label:"Name",uiType:$.Text,placeholder:"Add name",info:"Name of the attribute"},{name:"label",label:"Label",uiType:$.Text,placeholder:"Add label",info:"Label for the attribute"},{name:"placeholder",label:"Placeholder",uiType:$.Text,placeholder:"placeholder"},{name:"info",label:"Info",uiType:$.Text,placeholder:"info"},{name:"uxType",label:"UX Type",uiType:$.Switch}],wg=()=>{const[e,n]=B.useState([]),[t,r]=B.useState(!1),a=l=>{n([...e,l]),r(!1)},i=l=>{const u=e.filter((s,c)=>c!==l);n(u)};return A("div",{className:"grid grid-cols-2 gap-4",children:[A("div",{className:"p-2 border-r",children:[t&&o(O,{children:o(kr,{FormUI:Ra({InputGeneric:Oa,InputWrapper:Ie,Button:Ma})(Sg),onSuccess:a,children:o(sg,{onClick:()=>r(!1)})})}),!t&&A(O,{children:[o("button",{className:"px-4 py-2 bg-blue-500 text-white font-semibold rounded-lg hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50",onClick:()=>r(!0),children:"Add Field"}),e.length===0&&o("p",{children:"Click add to start buikding your form"}),e.length>0&&o(O,{children:A("table",{className:"min-w-full divide-y divide-gray-200",children:[o("thead",{children:A("tr",{children:[o("th",{children:"Name"}),o("th",{children:"Label"}),o("th",{children:"Placeholder"}),o("th",{children:"Info"}),o("th",{})]})}),o("tbody",{className:"bg-white divide-y divide-gray-200",children:e.map((l,u)=>A("tr",{children:[o("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900",children:l.name}),o("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:l.label}),o("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:l.placeholder}),o("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:l.info}),o("td",{className:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium",children:o("button",{onClick:()=>i(u),className:"text-red-600 hover:text-red-900",children:"x"})})]},u))})]})})]})]}),A("div",{children:[o("h2",{children:"Generated Form"})," ",e.length>0&&A(O,{children:[o(kr,{FormUI:Ra({InputGeneric:Oa,InputWrapper:Ie,Button:Ma})(e),onSuccess:console.log}),o("hr",{}),o("pre",{children:JSON.stringify(e,null,2)}),o("button",{onClick:()=>navigator.clipboard.writeText(JSON.stringify(e)),children:"Copy"})]})]})]})},Eg=ii(X1,eg,qd),kg=()=>A(O,{children:[o("h1",{className:"font-bold text-2xl py-2",children:"Form"}),o("h3",{className:"font-bold text-xl py-2",children:"Form Simple"}),A("p",{children:["Form demo. ",A("small",{children:["To simulate a form rejection insert one of the following first names:"," ",o("code",{children:JSON.stringify(Zd)})]})]}),o(Eg,{onSuccess:ls,onErrors:e=>({errors:e})}),o("hr",{className:"my-3"}),o("h3",{className:"font-bold text-xl py-2",children:"Form Generated"}),o(ag,{onSuccess:ls,onErrors:e=>({errors:e})}),o("hr",{className:"my-3"}),o("h3",{className:"font-bold text-xl py-2",children:"Form Free UI"}),o(gg,{}),o("hr",{className:"my-3"}),o("h3",{className:"font-bold text-xl py-2",children:"Generated Form"}),o(Ug,{}),o("hr",{className:"my-3"}),o("h3",{className:"font-bold text-xl py-2",children:"UI for Form Generation"}),o(wg,{})]}),Cg=e=>({Component:n,getData:t,ComponentOnFail:r})=>{const[a,i]=M.useState(void 0),[l,u]=M.useState(void 0),[s,c]=M.useState(!0);if(M.useEffect(()=>{t().then(p=>{i(p),c(!1)}).catch(p=>{u(p),c(!1)})},[]),s||a===void 0)return o(e,{});if(l){if(console.error("Data load failed",l),r)return o(r,{error:l});throw new Error(l)}return o(n,{data:a})},Ia=Cg(Dr),jg={firstName:"John",lastName:"Doe"},Ng=async()=>(await mn(),jg),os=({data:e})=>o(Wd,{data:e,structure:[{label:"First Name",value:"firstName"},{label:"Last Name",value:"lastName"}]}),Ag=()=>A(O,{children:[o("h1",{children:"Load Data async"}),o(Ia,{getData:Ng,Component:os}),o("h3",{children:"Data Load fails"}),o(Ia,{getData:()=>Promise.reject("my error"),Component:os,ComponentOnFail:({error:e})=>o("p",{children:o("i",{children:e})})})]}),xg=({idx:e,title:n,timestring:t,content:r,onDismiss:a})=>A("div",{className:"bg-white rounded-lg shadow-lg overflow-hidden",role:"alert","aria-live":"assertive","aria-atomic":"true",style:{opacity:1},children:[A("div",{className:"flex items-center justify-between p-3 border-b border-gray-200",children:[o("strong",{className:"flex-grow",children:n}),o("small",{className:"text-gray-500",children:t}),o("button",{type:"button",className:"ml-2 text-gray-500 hover:text-gray-700","aria-label":"Close",onClick:()=>a(e),children:o("span",{"aria-hidden":"true",children:"×"})})]}),o("div",{className:"p-3",children:r})]}),Pg={notifications:[],setNotification:e=>{},setNotifications:e=>{},rmNotification:e=>{}},nm=B.createContext(Pg),Mo=()=>B.useContext(nm);var Cr=(e=>(e[e.banner=0]="banner",e[e.toast=1]="toast",e))(Cr||{}),Ba=(e=>(e[e.success=0]="success",e[e.warning=1]="warning",e[e.error=2]="error",e[e.info=3]="info",e))(Ba||{});const Tg=()=>{const{notifications:e,rmNotification:n}=Mo(),t=e.filter(r=>r.type===Cr.toast).map(r=>({title:"nexys",content:r.text,timestring:"sdf",messageType:Ba.info}));return o("div",{className:"relative min-h-[200px]",children:o("div",{className:"absolute top-0 left-2.5",children:t.map((r,a)=>o(xg,{idx:a,onDismiss:n,...r},a))})})},Dg=()=>{const{notifications:e,rmNotification:n}=Mo(),t=e.filter(r=>r.type===Cr.banner).map(r=>({text:r.text}));return o("div",{className:"container mx-auto px-4",children:t.map((r,a)=>A("div",{className:"bg-blue-500 text-white p-4 rounded flex justify-between items-center mb-4",children:[r.text,o("button",{type:"button",className:"text-2xl","aria-label":"Close",onClick:()=>n(a),children:"×"})]}))})},Lg=(e,n)=>({children:t})=>{const[r,a]=B.useState([]),i=s=>{const c=r.filter((p,v)=>v!==s);u([...c])},l=s=>{u([...r,s])},u=s=>{a([...s])};return A(nm.Provider,{value:{setNotification:l,setNotifications:u,rmNotification:i,notifications:r},children:[o(e,{}),t,o(n,{})]})},_g=Lg(Dg,Tg),Og=()=>{const{setNotification:e}=Mo(),n={messageType:Ba.info,text:"my toast",type:Cr.toast},t={messageType:Ba.info,text:"my banner",type:Cr.banner};return A("div",{style:{height:"100%"},children:[A("h1",{children:["Notifications ",o("small",{children:"with provider"})]}),o("button",{className:"btn btn-primary",onClick:()=>e(t),children:"show banner"}),o("button",{className:"btn btn-secondary",onClick:()=>e(n),children:"show toast"})]})},Rg=()=>o(_g,{children:o(Og,{})}),Mg=()=>A(O,{children:[o("h1",{children:"Code"}),o("p",{children:"Formatted code extract"}),o(Cl,{code:"yarn add @nexys/tailwind-react-ui"}),o("p",{children:"with copy"}),o(Cl,{code:"yarn add @nexys/tailwind-react-ui",copyToClipboard:!0}),o("br",{})]}),Ig=e=>({i:n,value:t,updatePromise:r})=>{const[a,i]=B.useState(!!t.assigned),[l,u]=B.useState(!1),[s,c]=B.useState(t.assigned);return o(e,{isChecked:a,onChange:()=>{l===!0&&console.warn("this action is blocked since the promise is still working"),u(!0),r(t.id,s).then(v=>{i(!a),u(!1),c(!!v)})},isLoading:l,label:t.name})},Bg=(e,n)=>{const t=Ig(n);return({data:r,updatePromise:a})=>o(e,{children:r.map((i,l)=>o(t,{i:l,value:i,updatePromise:a},l))})},zg=({isLoading:e})=>e!==!0?o(O,{}):o("p",{children:A("small",{children:[" ",o("i",{children:"is being updated"})]})}),bg=({children:e})=>o("ul",{className:"list-disc pl-5",children:e}),$g=({isChecked:e,label:n,isLoading:t,onChange:r})=>A("li",{className:"flex items-center",children:[o(Oo,{value:e,onChange:r}),o("span",{className:"ml-2",children:n}),o(zg,{isLoading:t})]}),Hg=Bg(bg,$g),Gg=[{id:1,assigned:!1,name:"Elephant"},{id:2,assigned:!0,name:"Lion"}],Vg=()=>{const[e,n]=B.useState(Gg);return o(Hg,{data:e,updatePromise:async r=>{await mn(500);const a=e.map(i=>i.id===r?{...i,assigned:!i.assigned}:i);n([...a])}})},Kg=({data:e})=>A("span",{children:["Success, ",o("code",{children:e==null?void 0:e.message})]}),Wg=()=>o("span",{children:"Success"}),Qg=()=>o(Dr,{}),Yg=async()=>(await mn(1500),Promise.resolve({message:"action executed"})),Jg=()=>A(O,{children:[o("h1",{children:"Button with action"}),o(og,{asyncAction:Yg,label:"Click me",SuccessContent:Kg,LoadingContent:Qg,FailedContent:Wg})]}),Xg=({form:e,setForm:n,loading:t,onSubmit:r,errors:a})=>o("form",{onSubmit:r,children:A("div",{className:"input-group mb-3",children:[o(rt,{value:e.name,onChange:i=>n({...e,name:i}),disabled:t,placeholder:"Name",error:a.name}),A("button",{disabled:t||e.name===""||!e.name,className:"btn btn-outline-primary",type:"button",id:"button-addon1",children:[o(Xe,{name:"plus"})," Add"]})]})}),Zg={name:{}},qg=async e=>Promise.resolve(Math.random()*100),ev=ii(Xg,Zg,qg,{resetAfterSubmit:!0}),Io=({title:e,children:n,right:t})=>A("li",{className:"flex justify-between items-center py-2",children:[A("div",{className:"ml-2 mr-auto",children:[o("div",{className:"font-semibold",children:e}),n]}),t]}),nv=({data:e,onRemove:n})=>e.length===0?o("p",{children:o("i",{children:"Nothing was found"})}):o("ul",{className:"list-group list-group",children:e.map((t,r)=>o(Io,{title:t.title,right:o("span",{onClick:()=>n(t.id),style:{cursor:"pointer"},className:"badge bg-danger rounded-pill",children:o(Xe,{name:"trash"})})},r))}),tv=()=>{const[e,n]=B.useState([{id:1,title:"item #1"},{id:2,title:"item #2"}]);return A(O,{children:[o("h2",{children:"List with simple insert"}),o(nv,{data:e,onRemove:a=>{confirm("Are you sure you would like to delete that entry?")&&n(e.filter(i=>i.id!==a))}}),o("br",{}),o(ev,{onSuccess:(a,i)=>{if(!i)throw Error("id must be defined");const l={id:i,title:a.name};n([...e,l])}})]})},rv=({form:e,setForm:n,loading:t,errors:r,onSubmit:a})=>A("form",{onSubmit:a,children:[o(Ie,{label:"Name",error:r.name,children:o(rt,{value:e.name,onChange:i=>n({...e,name:i}),disabled:t,placeholder:"Name",error:r.name})}),o(Ie,{label:"Description",error:r.description,children:o(rt,{value:e.description,onChange:i=>n({...e,description:i}),disabled:t,placeholder:"Description",error:r.description})}),A("button",{disabled:t,className:"btn btn-outline-primary",type:"submit",children:[o(Xe,{name:"plus"})," Add"]})]}),av={name:{},description:{}},iv=async e=>(console.log("calling API"),Promise.resolve(Math.random()*100)),us=ii(rv,av,iv),lv=({data:e,onRemove:n,onEdit:t})=>e.length===0?o("p",{children:o("i",{children:"Nothing was found"})}):o("ul",{className:"list-group list-group",children:e.map((r,a)=>o(Io,{title:r.title,right:A(O,{children:[o("span",{onClick:()=>t(r),style:{cursor:"pointer"},className:"badge bg-warning rounded-pill",children:o(Xe,{name:"pen"})})," ",o("span",{onClick:()=>n(r.id),style:{cursor:"pointer"},className:"badge bg-danger rounded-pill",children:o(Xe,{name:"trash"})})]}),children:o(O,{children:r.subtitle})},a))}),ov=()=>{const[e,n]=B.useState([{id:1,title:"item #1",subtitle:"sub#1"},{id:2,title:"item #2",subtitle:"sub#2"}]),[t,r]=B.useState(!1),[a,i]=B.useState(void 0),l=p=>{confirm("Are you sure you would like to delete that entry?")&&n(e.filter(v=>v.id!==p))},u=(p,v)=>{if(!v)throw Error("can't be edited");const f={id:v,title:p.name,subtitle:p.description};n([...e,f]),r(!1)},s=p=>{const v={name:p.title,description:p.subtitle};i({data:v,id:p.id})},c=p=>{if(!a)throw Error("can't be edited");const{id:v}=a;if(!v)throw Error("can't be edited");const f=e.map(F=>F.id===v?{title:p.name,subtitle:p.description,id:v}:F);n([...f]),i(void 0)};return a?o(us,{onSuccess:c}):t?o(us,{onSuccess:u}):A(O,{children:[o("h2",{children:"List with Form"}),o(lv,{data:e,onRemove:l,onEdit:s}),o("br",{}),o("button",{onClick:()=>r(!0),type:"button",className:"btn btn-primary",children:o(Xe,{name:"plus"})})]})},uv=({data:e,onMove:n})=>{const t=e.length;return t===0?o("p",{children:o("i",{children:"Nothing was found"})}):o("ul",{className:"list-group list-group",children:e.map((r,a)=>o(Io,{title:r.title,right:A(O,{children:[a>0&&o("span",{onClick:()=>n(r.id,-1),style:{cursor:"pointer"},className:"badge bg-success rounded-pill",children:o(Xe,{name:"arrow-up"})})," ",an(r.id,1),style:{cursor:"pointer"},className:"badge bg-success rounded-pill",children:o(Xe,{name:"arrow-down"})})]})},a))})},sv=()=>{const[e,n]=B.useState([{id:1,title:"item #1"},{id:2,title:"item #2"},{id:3,title:"item #3"},{id:4,title:"item #4"},{id:5,title:"item #5"}]);return A(O,{children:[o("h2",{children:"List Position"}),o(uv,{data:e,onMove:(r,a)=>{const i=e.findIndex(s=>s.id===r);if(i<0)throw Error("element could not be found");const l=i+a,u=e[i];e.splice(i,1),e.splice(l,0,u),n([...e])}})]})},cv=()=>A(O,{children:[o("h1",{className:"text-2xl font-bold mb-4",children:"Simple list"}),A("div",{className:"flex flex-wrap -mx-2",children:[o("div",{className:"w-full md:w-1/2 px-2 mb-4",children:o(tv,{})}),o("div",{className:"w-full md:w-1/2 px-2 mb-4",children:o(ov,{})}),o("div",{className:"w-full md:w-1/2 px-2 mb-4",children:o(sv,{})})]})]}),dv=(e,n,t,r,a)=>({data:i,options:l})=>{const[u,s]=B.useState(i),[c,p]=B.useState(!1);return c?o(a,{setIsForm:p,children:o(n,{onSuccess:v=>{s(v),p(!1)}})}):o(r,{setIsForm:p,children:o(t,{data:u,structure:e})})},mv=Vd(Kd),fv=({setIsForm:e,children:n})=>A(O,{children:[n,o("button",{className:"text-xs bg-gray-600 hover:bg-gray-700 text-white py-1 px-3 rounded",onClick:()=>e(!0),children:"Edit"})]}),pv=({setIsForm:e,children:n})=>A(O,{children:[n,o("button",{className:"text-xs bg-gray-600 hover:bg-gray-700 text-white py-1 px-3 rounded",onClick:()=>e(!1),children:"Back"})]}),tm=(e,n)=>{const t=Xd(e,n),r=T1(e);return dv(r,t,mv,fv,pv)},hv=Ro[0],gv=async()=>(await mn(),{id:2}),vv=[{label:"First Name",name:"firstName",uiType:$.Text,optional:!1},{label:"Last Name",name:"lastName",uiType:$.Text,optional:!0},{label:"Continent",name:"continent",uiType:$.SelectObjectNumber,optional:!1,render:e=>e.continent.name}],yv=tm(vv,gv),Fv={firstName:"John",lastName:"Doe",continent:hv},Uv=()=>A(O,{children:[o("h1",{children:"Toggle"}),o(yv,{data:Fv,options:{continent:Ro}})]}),Sv=e=>({tabs:n})=>{const[t,r]=B.useState(0),{Content:a}=n[t];return A(O,{children:[o(e,{tabs:n,setTabIndex:r,tabIndex:t}),o(a,{})]})},wv=Sv(Po),Ev=[{label:"One",path:"/simple/one",Component:()=>A("p",{children:["One ",A("code",{children:["path: ",window.location.pathname]})]})},{label:"Two",path:"/simple/two",Component:()=>A("p",{children:["Two ",A("code",{children:["path: ",window.location.pathname]})]})}],{link:kv}=q.tabs,Cv=()=>o(ot,{tabs:Ev,pathPrefix:kv}),jv=[{label:"Default nested 2",Component:()=>o("p",{children:"Default nested"})},{label:"One One One",path:"/one",Component:()=>A("p",{children:["One One ",o("code",{children:window.location.pathname})]})},{label:"One Two",path:"/two",Component:()=>A("p",{children:["One Two ",window.location.pathname]})}],Nv=[{label:"Default nested",Component:()=>o("p",{children:"Default nested"})},{label:"One One",path:"/one",Component:()=>o(ot,{tabs:jv,pathPrefix:Bo+"/one/one"})},{label:"One Two",path:"/two",Component:()=>A("p",{children:["One Two ",window.location.pathname]})}],{link:Bo}=q.tabs,Av=[{label:"Default",Component:()=>o("p",{children:"Default"})},{label:"One",path:"/one",Component:()=>o(ot,{tabs:Nv,pathPrefix:Bo+"/one"})},{label:"Two",path:"/two",Component:()=>A("p",{children:["Two ",window.location.pathname]})}],xv=()=>o(ot,{tabs:Av,pathPrefix:Bo}),{tabs:{link:Pv}}=q,Tv=e=>async()=>(console.log("loaded "+e),await mn(1e3),console.log("loading "+e),"hello async world "+e),Di=e=>o(Ia,{Component:({data:n})=>o("p",{children:n}),getData:Tv(e)}),Dv=[{label:"Default",Component:()=>Di(0)},{label:"One",path:"/async/one",Component:()=>Di(1)},{label:"Two",path:"/async/two",Component:()=>Di(2)}],Lv=()=>o(ot,{tabs:Dv,pathPrefix:Pv}),_v=[{label:"one"},{label:"two"}],Ov=()=>{const[e,n]=B.useState(0);return A(O,{children:[o("h1",{children:"Tabs"}),o("h2",{children:"Simple Tabs"}),o(Po,{tabs:_v,setTabIndex:n,tabIndex:e}),o("h2",{children:"Tabs With Content"}),o(wv,{tabs:[{label:"one",Content:()=>o("p",{children:"One"})},{label:"two",Content:()=>o("p",{children:"Two"})}]}),o("h2",{children:"Navigation"}),o(Cv,{}),o("h2",{children:"Nested Navigation"}),o(xv,{}),o("h2",{children:"Async Navigation"}),o(Lv,{})]})},Rv=(e,n)=>({onSuccess:t})=>{const[r,a]=M.useState(!1),i=async({target:l})=>{a(!0);const{files:u}=l;if(!u)throw Error("file is undefined");const s=Array.from(u);if(s.length===0)throw Error("file array is empty");const[c]=s;try{await t(c)}catch{}a(!1)};return r?o(n,{}):o(e,{onChange:i})},Mv=({onChange:e})=>A("label",{className:"block cursor-pointer bg-blue-500 text-white py-2 px-4 rounded hover:bg-blue-600",children:[o("span",{className:"mr-2",children:"Select a file"}),o("input",{type:"file",className:"hidden",onChange:e})]}),Iv=Rv(Mv,Dr),Bv=async e=>{await mn(500);const n=await e.text();return console.log(n),Promise.resolve()},zv=()=>o(Iv,{onSuccess:Bv}),bv=(e,n)=>({selected:t,onChange:r,status:a})=>{const[i,l]=B.useState(t),[u,s]=B.useState(!1),c=async p=>{s(!0),await r(p),l(p),s(!1)};return o(e,{children:a.map(({id:p,label:v},f)=>o(n,{disabled:u,handleChange:c,selected:i,id:p,label:v},f))})},$v=({children:e})=>o("div",{className:"flex space-x-2",children:e}),Hv=({selected:e,id:n,label:t,handleChange:r,disabled:a})=>o("button",{disabled:a,onClick:()=>r(n),type:"button",className:`px-4 py-2 text-sm font-medium rounded focus:outline-none ${e===n?"bg-blue-500 text-white":"bg-gray-300 text-gray-700"}`,children:t}),ss=bv($v,Hv),cs=[{id:1,label:"active"},{id:2,label:"pending"},{id:3,label:"inactive"}],Gv=()=>A(O,{children:[o("h3",{children:"Status Change"}),o("h4",{children:"Simple"}),o(ss,{status:cs,onChange:e=>Promise.resolve(alert(`chosen ${e}`))}),o("br",{}),o("br",{}),o("h4",{children:"With loading state"}),o(ss,{status:cs,selected:3,onChange:async()=>{await mn(1e3)}})]}),Vv=(e,n,t)=>({cards:r=[],defToggle:a,asyncCalls:i,detailCardTitle:l="Detail",...u})=>{const s=t(a,i.updateData),p=[{title:l,Component:s},...r],v={...u,cards:p},f=e(v);return o(n,{getData:i.getData,Component:f})},Kv=Vv(Hd,Ia,tm),Wv=async()=>{const e={firstName:"John",lastName:"Doe"};return await mn(1e3),Promise.resolve(e)},Qv=async()=>(await mn(),{id:2}),Yv={getData:Wv,updateData:Qv},Jv=[{label:"First Name",name:"firstName",uiType:$.Text,optional:!1},{label:"Last Name",name:"lastName",uiType:$.Text,optional:!0}],Xv=[{title:"second",Component:({data:e})=>o("p",{children:e.firstName})},{title:"third",width:6,Component:({data:e})=>A("p",{children:[e.firstName," hered "]})}],ds=()=>o(Kv,{title:"My Layout",description:"A description here",backRedirect:"/",cards:Xv,defToggle:Jv,asyncCalls:Yv}),Zv=(e,n,t)=>(r,a)=>({id:i})=>{const[l,u]=B.useState(!1),s=async c=>{u(!0);const p=await a(c);await navigator.clipboard.writeText(p),alert("copied to clipboard"),u(!1)};return l?o(n,{}):o("button",{onClick:()=>s(i),children:o(e,{children:A(O,{children:[r," ",o(t,{})]})})})},qv=({children:e})=>o("span",{className:"bg-gray-600 text-white px-2 py-1 text-xs rounded",children:e}),ey=Zv(qv,Dr,()=>o(Xe,{name:"copy"})),ny=ey("sd",e=>Promise.resolve("sdf")),ty=()=>A(O,{children:[o("h3",{children:"With Action"}),o(ny,{id:2})]}),ry=()=>A(O,{children:[o("h1",{children:"Badge"}),o(ty,{})]}),ay=()=>o("p",{children:"Todo"}),iy=(e,n)=>["interface "+e+" {",...n.map(t=>` ${String(t.name)}${t.isOptional?"?":""}: ${t.type||"string"}`),"}"].join(` +`),ly=e=>typeof e=="number"?"number":typeof e=="boolean"?"boolean":"string",oy=e=>{const n={};return e.forEach((t,r)=>{Object.entries(t).forEach(([l,u])=>{const s=ly(u);let c=typeof u>"u";n[l]||(r>0&&(c=!0),n[l]={isOptional:c,type:s})});const a=Object.entries(n).filter(([l,u])=>!u.isOptional).map(([l])=>l),i=Object.entries(t).filter(([l,u])=>typeof u<"u").map(([l])=>l);a.forEach(l=>{i.includes(l)||(n[l]={...n[l],isOptional:!0})})}),Object.entries(n).map(([t,r])=>({name:t,label:t,...r}))},uy=[{name:"john",lastName:"Doe"},{name:"daniel"}],sy=({onSuccess:e})=>{const[n,t]=B.useState(JSON.stringify(uy,null,2)),[r,a]=B.useState();return A("form",{onSubmit:l=>{if(l.preventDefault(),!n||n===""){a("nothing was input");return}try{const u=JSON.parse(n);if(!Array.isArray(u)){a("is not a JSON array");return}if(u.length===0){a("empty array");return}if(!u.map(c=>typeof c=="object").reduce((c,p)=>c&&p)){a("is not an array of objects");return}a(void 0),e(u)}catch{a("could not be parsed as JSON");return}},children:[r&&o("p",{className:"text-red-500",children:r}),o("textarea",{value:n||"",placeholder:"paste a JSON table",onChange:l=>t(l.target.value)}),o("button",{type:"submit",className:"btn btn-primary",children:"Submit"})]})},cy=({structure:e,onChange:n})=>{const[t,r]=B.useState(e);return Function(),o("ul",{children:e.map((a,i)=>{const u=t.findIndex(s=>s.name===a.name)>-1;return o("li",{children:A(O,{children:[o("input",{type:"checkbox",checked:u,onChange:()=>{const s=t.map(p=>p.name),c=u?t.filter(p=>p.name!==a.name):e.filter(p=>s.includes(p.name)||p.name===a.name);r(c),n(c)}})," ",a.name,o("input",{placeholder:"insert custom render function, e.g. 'return x.name;'",type:"text",value:a.render?JSON.stringify(a.render):void 0,onChange:s=>{try{const c=v=>{try{const f=Function("x",s.target.value)(v);return String(f)}catch{return"could not display custom"}};console.log({render:c},c({name:"a"}));const p=t.map(v=>v.name===a.name?{...v,render:c}:v);console.log(p),r(p),n(p)}catch{}}})]})},i)})})},dy=({data:e})=>{const n=oy(e),[t,r]=B.useState(n);return A(O,{children:[o("pre",{children:JSON.stringify(n)}),o(cy,{structure:n,onChange:a=>r([...a])}),o("pre",{children:iy("myname",n)}),o(my,{data:e,structure:t})]})},my=({data:e,structure:n})=>o(ri,{def:n,data:e}),fy=()=>{const[e,n]=B.useState();return A(O,{children:[o(sy,{onSuccess:n}),e&&o(dy,{data:e})]})},py=()=>o("p",{children:o("i",{children:"Page Not Found"})}),hy=()=>o(hh,{basename:jp,children:o(Uh,{children:A(Ld,{children:[o(Z,{path:q.detail.link,element:o(ds,{})}),o(Z,{path:q.list.link,element:o(f1,{})}),o(Z,{path:q.layout.link+"/*",element:o(P1,{})}),o(Z,{path:q.view.link,element:o(R1,{})}),o(Z,{path:q.card.link,element:o(M1,{})}),o(Z,{path:q.form.link+"/*",element:o(kg,{})}),o(Z,{path:q.loadDataAsync.link,element:o(Ag,{})}),o(Z,{path:q.notifications.link,element:o(Rg,{})}),o(Z,{path:q.code.link,element:o(Mg,{})}),o(Z,{path:q.listAssign.link,element:o(Vg,{})}),o(Z,{path:q.buttons.link,element:o(Jg,{})}),o(Z,{path:q.badge.link,element:o(ry,{})}),o(Z,{path:q.simpleList.link,element:o(cv,{})}),o(Z,{path:q.toggle.link,element:o(Uv,{})}),o(Z,{path:q.tabs.link+"/*",element:o(Ov,{})}),o(Z,{path:q.fileUpload.link,element:o(zv,{})}),o(Z,{path:q.detail.link,element:o(ds,{})}),o(Z,{path:q.statusChange.link,element:o(Gv,{})}),o(Z,{path:"/builder/form",element:o(ay,{})}),o(Z,{path:"/builder/table",element:o(fy,{})}),o(Z,{path:"/",element:o(Ip,{})}),o(Z,{path:"/:any",element:o(py,{})})]})})});Li.createRoot(document.getElementById("root")).render(o(B.StrictMode,{children:o(hy,{})})); diff --git a/assets/index.ebde86e8.js b/assets/index.ebde86e8.js deleted file mode 100644 index f194287..0000000 --- a/assets/index.ebde86e8.js +++ /dev/null @@ -1,216 +0,0 @@ -var KR=Object.defineProperty,WR=Object.defineProperties;var qR=Object.getOwnPropertyDescriptors;var td=Object.getOwnPropertySymbols;var RE=Object.prototype.hasOwnProperty,wE=Object.prototype.propertyIsEnumerable;var UE=(l,s,f)=>s in l?KR(l,s,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[s]=f,Rt=(l,s)=>{for(var f in s||(s={}))RE.call(s,f)&&UE(l,f,s[f]);if(td)for(var f of td(s))wE.call(s,f)&&UE(l,f,s[f]);return l},Pt=(l,s)=>WR(l,qR(s));var AE=(l,s)=>{var f={};for(var v in l)RE.call(l,v)&&s.indexOf(v)<0&&(f[v]=l[v]);if(l!=null&&td)for(var v of td(l))s.indexOf(v)<0&&wE.call(l,v)&&(f[v]=l[v]);return f};const XR=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))v(h);new MutationObserver(h=>{for(const y of h)if(y.type==="childList")for(const m of y.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&v(m)}).observe(document,{childList:!0,subtree:!0});function f(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerpolicy&&(y.referrerPolicy=h.referrerpolicy),h.crossorigin==="use-credentials"?y.credentials="include":h.crossorigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function v(h){if(h.ep)return;h.ep=!0;const y=f(h);fetch(h.href,y)}};XR();var jn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},De={exports:{}},Yh={exports:{}};/** - * @license React - * react.development.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. - */(function(l,s){(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var f="18.1.0",v=!1,h=!1,y=!1,m=!1,j=!1,D=Symbol.for("react.element"),S=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),L=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),dt=Symbol.for("react.offscreen"),je=Symbol.iterator,ze="@@iterator";function I(p){if(p===null||typeof p!="object")return null;var N=je&&p[je]||p[ze];return typeof N=="function"?N:null}var he={current:null},Fe={transition:null},$={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Y={current:null},Ee={},J=null;function le(p){J=p}Ee.setExtraStackFrame=function(p){J=p},Ee.getCurrentStack=null,Ee.getStackAddendum=function(){var p="";J&&(p+=J);var N=Ee.getCurrentStack;return N&&(p+=N()||""),p};var Re={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:Fe,ReactCurrentOwner:Y};Re.ReactDebugCurrentFrame=Ee,Re.ReactCurrentActQueue=$;function qe(p){{for(var N=arguments.length,k=new Array(N>1?N-1:0),O=1;O1?N-1:0),O=1;O1){for(var ht=Array(st),bt=0;bt1){for(var Dt=Array(bt),Ht=0;Ht is not supported and will be removed in a future major release. Did you mean to render instead?")),N.Provider},set:function(ue){N.Provider=ue}},_currentValue:{get:function(){return N._currentValue},set:function(ue){N._currentValue=ue}},_currentValue2:{get:function(){return N._currentValue2},set:function(ue){N._currentValue2=ue}},_threadCount:{get:function(){return N._threadCount},set:function(ue){N._threadCount=ue}},Consumer:{get:function(){return k||(k=!0,se("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),N.Consumer}},displayName:{get:function(){return N.displayName},set:function(ue){K||(qe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ue),K=!0)}}}),N.Consumer=xe}return N._currentRenderer=null,N._currentRenderer2=null,N}var Nr=-1,Yr=0,Kr=1,Za=2;function x(p){if(p._status===Nr){var N=p._result,k=N();if(k.then(function(xe){if(p._status===Yr||p._status===Nr){var ue=p;ue._status=Kr,ue._result=xe}},function(xe){if(p._status===Yr||p._status===Nr){var ue=p;ue._status=Za,ue._result=xe}}),p._status===Nr){var O=p;O._status=Yr,O._result=k}}if(p._status===Kr){var K=p._result;return K===void 0&&se(`lazy: Expected the result of a dynamic import() call. Instead received: %s - -Your code should look like: - const MyComponent = lazy(() => import('./MyComponent')) - -Did you accidentally put curly braces around the import?`,K),"default"in K||se(`lazy: Expected the result of a dynamic import() call. Instead received: %s - -Your code should look like: - const MyComponent = lazy(() => import('./MyComponent'))`,K),K.default}else throw p._result}function G(p){var N={_status:Nr,_result:p},k={$$typeof:pe,_payload:N,_init:x};{var O,K;Object.defineProperties(k,{defaultProps:{configurable:!0,get:function(){return O},set:function(xe){se("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),O=xe,Object.defineProperty(k,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return K},set:function(xe){se("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),K=xe,Object.defineProperty(k,"propTypes",{enumerable:!0})}}})}return k}function Z(p){p!=null&&p.$$typeof===fe?se("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof p!="function"?se("forwardRef requires a render function but was given %s.",p===null?"null":typeof p):p.length!==0&&p.length!==2&&se("forwardRef render functions accept exactly two parameters: props and ref. %s",p.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),p!=null&&(p.defaultProps!=null||p.propTypes!=null)&&se("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var N={$$typeof:ne,render:p};{var k;Object.defineProperty(N,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(O){k=O,!p.name&&!p.displayName&&(p.displayName=O)}})}return N}var be;be=Symbol.for("react.module.reference");function Me(p){return!!(typeof p=="string"||typeof p=="function"||p===T||p===M||j||p===U||p===ae||p===W||m||p===dt||v||h||y||typeof p=="object"&&p!==null&&(p.$$typeof===pe||p.$$typeof===fe||p.$$typeof===w||p.$$typeof===L||p.$$typeof===ne||p.$$typeof===be||p.getModuleId!==void 0))}function Je(p,N){Me(p)||se("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p);var k={$$typeof:fe,type:p,compare:N===void 0?null:N};{var O;Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(K){O=K,!p.name&&!p.displayName&&(p.displayName=K)}})}return k}function me(){var p=he.current;return p===null&&se(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: -1. You might have mismatching versions of React and the renderer (such as React DOM) -2. You might be breaking the Rules of Hooks -3. You might have more than one copy of React in the same app -See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),p}function we(p){var N=me();if(p._context!==void 0){var k=p._context;k.Consumer===p?se("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):k.Provider===p&&se("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return N.useContext(p)}function zt(p){var N=me();return N.useState(p)}function mt(p,N,k){var O=me();return O.useReducer(p,N,k)}function Le(p){var N=me();return N.useRef(p)}function Rn(p,N){var k=me();return k.useEffect(p,N)}function er(p,N){var k=me();return k.useInsertionEffect(p,N)}function Oi(p,N){var k=me();return k.useLayoutEffect(p,N)}function aa(p,N){var k=me();return k.useCallback(p,N)}function jd(p,N){var k=me();return k.useMemo(p,N)}function Fd(p,N,k){var O=me();return O.useImperativeHandle(p,N,k)}function zs(p,N){{var k=me();return k.useDebugValue(p,N)}}function Ud(){var p=me();return p.useTransition()}function xr(p){var N=me();return N.useDeferredValue(p)}function Be(){var p=me();return p.useId()}function _i(p,N,k){var O=me();return O.useSyncExternalStore(p,N,k)}var Wr=0,Lo,Bo,zo,Ho,Po,$o,Go;function Hs(){}Hs.__reactDisabledLog=!0;function Rd(){{if(Wr===0){Lo=console.log,Bo=console.info,zo=console.warn,Ho=console.error,Po=console.group,$o=console.groupCollapsed,Go=console.groupEnd;var p={configurable:!0,enumerable:!0,value:Hs,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}Wr++}}function Io(){{if(Wr--,Wr===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rt({},p,{value:Lo}),info:rt({},p,{value:Bo}),warn:rt({},p,{value:zo}),error:rt({},p,{value:Ho}),group:rt({},p,{value:Po}),groupCollapsed:rt({},p,{value:$o}),groupEnd:rt({},p,{value:Go})})}Wr<0&&se("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Mi=Re.ReactCurrentDispatcher,Ta;function qr(p,N,k){{if(Ta===void 0)try{throw Error()}catch(K){var O=K.stack.trim().match(/\n( *(at )?)/);Ta=O&&O[1]||""}return` -`+Ta+p}}var Xr=!1,jl;{var Yo=typeof WeakMap=="function"?WeakMap:Map;jl=new Yo}function Ps(p,N){if(!p||Xr)return"";{var k=jl.get(p);if(k!==void 0)return k}var O;Xr=!0;var K=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var xe;xe=Mi.current,Mi.current=null,Rd();try{if(N){var ue=function(){throw Error()};if(Object.defineProperty(ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(et){O=et}Reflect.construct(p,[],ue)}else{try{ue.call()}catch(et){O=et}p.call(ue.prototype)}}else{try{throw Error()}catch(et){O=et}p()}}catch(et){if(et&&O&&typeof et.stack=="string"){for(var Te=et.stack.split(` -`),Pe=O.stack.split(` -`),st=Te.length-1,ht=Pe.length-1;st>=1&&ht>=0&&Te[st]!==Pe[ht];)ht--;for(;st>=1&&ht>=0;st--,ht--)if(Te[st]!==Pe[ht]){if(st!==1||ht!==1)do if(st--,ht--,ht<0||Te[st]!==Pe[ht]){var bt=` -`+Te[st].replace(" at new "," at ");return p.displayName&&bt.includes("")&&(bt=bt.replace("",p.displayName)),typeof p=="function"&&jl.set(p,bt),bt}while(st>=1&&ht>=0);break}}}finally{Xr=!1,Mi.current=xe,Io(),Error.prepareStackTrace=K}var Dt=p?p.displayName||p.name:"",Ht=Dt?qr(Dt):"";return typeof p=="function"&&jl.set(p,Ht),Ht}function Ko(p,N,k){return Ps(p,!1)}function wd(p){var N=p.prototype;return!!(N&&N.isReactComponent)}function Qr(p,N,k){if(p==null)return"";if(typeof p=="function")return Ps(p,wd(p));if(typeof p=="string")return qr(p);switch(p){case ae:return qr("Suspense");case W:return qr("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case ne:return Ko(p.render);case fe:return Qr(p.type,N,k);case pe:{var O=p,K=O._payload,xe=O._init;try{return Qr(xe(K),N,k)}catch{}}}return""}var $s={},Wo=Re.ReactDebugCurrentFrame;function Fl(p){if(p){var N=p._owner,k=Qr(p.type,p._source,N?N.type:null);Wo.setExtraStackFrame(k)}else Wo.setExtraStackFrame(null)}function Gs(p,N,k,O,K){{var xe=Function.call.bind(ka);for(var ue in p)if(xe(p,ue)){var Te=void 0;try{if(typeof p[ue]!="function"){var Pe=Error((O||"React class")+": "+k+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}Te=p[ue](N,ue,O,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(st){Te=st}Te&&!(Te instanceof Error)&&(Fl(K),se("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",O||"React class",k,ue,typeof Te),Fl(null)),Te instanceof Error&&!(Te.message in $s)&&($s[Te.message]=!0,Fl(K),se("Failed %s type: %s",k,Te.message),Fl(null))}}}function Ze(p){if(p){var N=p._owner,k=Qr(p.type,p._source,N?N.type:null);le(k)}else le(null)}var qo;qo=!1;function Xo(){if(Y.current){var p=Gn(Y.current.type);if(p)return` - -Check the render method of \``+p+"`."}return""}function Ue(p){if(p!==void 0){var N=p.fileName.replace(/^.*[\\\/]/,""),k=p.lineNumber;return` - -Check your code at `+N+":"+k+"."}return""}function Is(p){return p!=null?Ue(p.__source):""}var wn={};function Li(p){var N=Xo();if(!N){var k=typeof p=="string"?p:p.displayName||p.name;k&&(N=` - -Check the top-level render call using <`+k+">.")}return N}function Jr(p,N){if(!(!p._store||p._store.validated||p.key!=null)){p._store.validated=!0;var k=Li(N);if(!wn[k]){wn[k]=!0;var O="";p&&p._owner&&p._owner!==Y.current&&(O=" It was passed a child from "+Gn(p._owner.type)+"."),Ze(p),se('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,O),Ze(null)}}}function Ys(p,N){if(typeof p=="object"){if(Bt(p))for(var k=0;k",K=" Did you accidentally export a JSX literal instead of a component?"):ue=typeof p,se("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ue,K)}var Te=de.apply(this,arguments);if(Te==null)return Te;if(O)for(var Pe=2;Pe10&&qe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),O._updatedFibers.clear()}}}var Ul=!1,Bi=null;function Ws(p){if(Bi===null)try{var N=("require"+Math.random()).slice(0,7),k=l&&l[N];Bi=k.call(l,"timers").setImmediate}catch{Bi=function(K){Ul===!1&&(Ul=!0,typeof MessageChannel=="undefined"&&se("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var xe=new MessageChannel;xe.port1.onmessage=K,xe.port2.postMessage(void 0)}}return Bi(p)}var Zr=0,qs=!1;function kd(p){{var N=Zr;Zr++,$.current===null&&($.current=[]);var k=$.isBatchingLegacy,O;try{if($.isBatchingLegacy=!0,O=p(),!k&&$.didScheduleLegacyUpdate){var K=$.current;K!==null&&($.didScheduleLegacyUpdate=!1,wl(K))}}catch(Dt){throw Er(N),Dt}finally{$.isBatchingLegacy=k}if(O!==null&&typeof O=="object"&&typeof O.then=="function"){var xe=O,ue=!1,Te={then:function(Dt,Ht){ue=!0,xe.then(function(et){Er(N),Zr===0?Rl(et,Dt,Ht):Dt(et)},function(et){Er(N),Ht(et)})}};return!qs&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){ue||(qs=!0,se("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Te}else{var Pe=O;if(Er(N),Zr===0){var st=$.current;st!==null&&(wl(st),$.current=null);var ht={then:function(Dt,Ht){$.current===null?($.current=[],Rl(Pe,Dt,Ht)):Dt(Pe)}};return ht}else{var bt={then:function(Dt,Ht){Dt(Pe)}};return bt}}}}function Er(p){p!==Zr-1&&se("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Zr=p}function Rl(p,N,k){{var O=$.current;if(O!==null)try{wl(O),Ws(function(){O.length===0?($.current=null,N(p)):Rl(p,N,k)})}catch(K){k(K)}else N(p)}}var ei=!1;function wl(p){if(!ei){ei=!0;var N=0;try{for(;N0;){var ut=ot-1>>>1,Zt=Q[ut];if(S(Zt,de)>0)Q[ut]=de,Q[ot]=Zt,ot=ut;else return}}function D(Q,de,Ve){for(var ot=Ve,ut=Q.length,Zt=ut>>>1;otVe&&(!Q||Na()));){var ot=J.callback;if(typeof ot=="function"){J.callback=null,le=J.priorityLevel;var ut=J.expirationTime<=Ve,Zt=ot(ut);Ve=l.unstable_now(),typeof Zt=="function"?J.callback=Zt:J===y($)&&m($),Ft(Ve)}else m($);J=y($)}if(J!==null)return!0;var It=y(Y);return It!==null&&Gt(rt,It.startTime-Ve),!1}function Kt(Q,de){switch(Q){case T:case U:case M:case w:case L:break;default:Q=M}var Ve=le;le=Q;try{return de()}finally{le=Ve}}function cn(Q){var de;switch(le){case T:case U:case M:de=M;break;default:de=le;break}var Ve=le;le=de;try{return Q()}finally{le=Ve}}function Zn(Q){var de=le;return function(){var Ve=le;le=de;try{return Q.apply(this,arguments)}finally{le=Ve}}}function $n(Q,de,Ve){var ot=l.unstable_now(),ut;if(typeof Ve=="object"&&Ve!==null){var Zt=Ve.delay;typeof Zt=="number"&&Zt>0?ut=ot+Zt:ut=ot}else ut=ot;var It;switch(Q){case T:It=je;break;case U:It=ze;break;case L:It=Fe;break;case w:It=he;break;case M:default:It=I;break}var In=ut+It,vt={id:Ee++,callback:de,priorityLevel:Q,startTime:ut,expirationTime:In,sortIndex:-1};return ut>ot?(vt.sortIndex=ut,h(Y,vt),y($)===null&&vt===y(Y)&&(se?Sa():se=!0,Gt(rt,ut-ot))):(vt.sortIndex=In,h($,vt),!qe&&!Re&&(qe=!0,ta(xt))),vt}function ve(){}function He(){!qe&&!Re&&(qe=!0,ta(xt))}function $t(){return y($)}function Et(Q){Q.callback=null}function Bt(){return le}var Fn=!1,fn=null,dn=-1,Jt=v,ea=-1;function Na(){var Q=l.unstable_now()-ea;return!(Q125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Q>0?Jt=Math.floor(1e3/Q):Jt=v}var xa=function(){if(fn!==null){var Q=l.unstable_now();ea=Q;var de=!0,Ve=!0;try{Ve=fn(de,Q)}finally{Ve?Ln():(Fn=!1,fn=null)}}else Fn=!1},Ln;if(typeof Nt=="function")Ln=function(){Nt(xa)};else if(typeof MessageChannel!="undefined"){var Ea=new MessageChannel,Un=Ea.port2;Ea.port1.onmessage=xa,Ln=function(){Un.postMessage(null)}}else Ln=function(){ke(xa,0)};function ta(Q){fn=Q,Fn||(Fn=!0,Ln())}function Gt(Q,de){dn=ke(function(){Q(l.unstable_now())},de)}function Sa(){Qt(dn),dn=-1}var gr=Gn,yr=null;l.unstable_IdlePriority=L,l.unstable_ImmediatePriority=T,l.unstable_LowPriority=w,l.unstable_NormalPriority=M,l.unstable_Profiling=yr,l.unstable_UserBlockingPriority=U,l.unstable_cancelCallback=Et,l.unstable_continueExecution=He,l.unstable_forceFrameRate=ka,l.unstable_getCurrentPriorityLevel=Bt,l.unstable_getFirstCallbackNode=$t,l.unstable_next=cn,l.unstable_pauseExecution=ve,l.unstable_requestPaint=gr,l.unstable_runWithPriority=Kt,l.unstable_scheduleCallback=$n,l.unstable_shouldYield=Na,l.unstable_wrapCallback=Zn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(u1);o1.exports=u1;/** - * @license React - * react-dom.development.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. - */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=De.exports,s=o1.exports,f=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=!1;function h(e){v=e}function y(e){if(!v){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function In(e,t,n,a){if(n!==null&&n.type===Ea)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function vt(e,t,n,a){if(t===null||typeof t=="undefined"||In(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case Gt:return!t;case Sa:return t===!1;case gr:return isNaN(t);case yr:return isNaN(t)||t<1}return!1}function na(e){return Ct.hasOwnProperty(e)?Ct[e]:null}function Tt(e,t,n,a,r,i,o){this.acceptsBooleans=t===ta||t===Gt||t===Sa,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ct={},Ja=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ja.forEach(function(e){Ct[e]=new Tt(e,Ea,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];Ct[t]=new Tt(t,Un,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ct[e]=new Tt(e,ta,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ct[e]=new Tt(e,ta,!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"].forEach(function(e){Ct[e]=new Tt(e,Gt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ct[e]=new Tt(e,Gt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ct[e]=new Tt(e,Sa,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ct[e]=new Tt(e,yr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ct[e]=new Tt(e,gr,!1,e.toLowerCase(),null,!1,!1)});var Va=/[\-\:]([a-z])/g,Ai=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-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"].forEach(function(e){var t=e.replace(Va,Ai);Ct[t]=new Tt(t,Un,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Va,Ai);Ct[t]=new Tt(t,Un,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Va,Ai);Ct[t]=new Tt(t,Un,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ct[e]=new Tt(e,Un,!1,e.toLowerCase(),null,!1,!1)});var Dl="xlinkHref";Ct[Dl]=new Tt("xlinkHref",Un,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ct[e]=new Tt(e,Un,!1,e.toLowerCase(),null,!0,!0)});var Mo=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ki=!1;function Vi(e){!ki&&Mo.test(e)&&(ki=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Nr(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{ea(n,t),a.sanitizeURL&&Vi(""+n);var i=a.attributeName,o=null;if(a.type===Sa){if(e.hasAttribute(i)){var c=e.getAttribute(i);return c===""?!0:vt(t,n,a,!1)?c:c===""+n?n:c}}else if(e.hasAttribute(i)){if(vt(t,n,a,!1))return e.getAttribute(i);if(a.type===Gt)return n;o=e.getAttribute(i)}return vt(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function Yr(e,t,n){{if(!Zt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var a=e.getAttribute(t);return ea(n,t),a===""+n?n:a}}function Kr(e,t,n,a){var r=na(t);if(!It(t,r,a)){if(vt(t,n,r,a)&&(n=null),a||r===null){if(Zt(t)){var i=t;n===null?e.removeAttribute(i):(ea(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var c=r.propertyName;if(n===null){var d=r.type;e[c]=d===Gt?!1:""}else e[c]=n;return}var b=r.attributeName,g=r.attributeNamespace;if(n===null)e.removeAttribute(b);else{var C=r.type,E;C===Gt||C===Sa&&n===!0?E="":(ea(n,b),E=""+n,r.sanitizeURL&&Vi(E.toString())),g?e.setAttributeNS(g,b,E):e.setAttribute(b,E)}}}var Za=Symbol.for("react.element"),x=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),Me=Symbol.for("react.provider"),Je=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),zt=Symbol.for("react.suspense_list"),mt=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),Rn=Symbol.for("react.scope"),er=Symbol.for("react.debug_trace_mode"),Oi=Symbol.for("react.offscreen"),aa=Symbol.for("react.legacy_hidden"),jd=Symbol.for("react.cache"),Fd=Symbol.for("react.tracing_marker"),zs=Symbol.iterator,Ud="@@iterator";function xr(e){if(e===null||typeof e!="object")return null;var t=zs&&e[zs]||e[Ud];return typeof t=="function"?t:null}var Be=Object.assign,_i=0,Wr,Lo,Bo,zo,Ho,Po,$o;function Go(){}Go.__reactDisabledLog=!0;function Hs(){{if(_i===0){Wr=console.log,Lo=console.info,Bo=console.warn,zo=console.error,Ho=console.group,Po=console.groupCollapsed,$o=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Go,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_i++}}function Rd(){{if(_i--,_i===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Be({},e,{value:Wr}),info:Be({},e,{value:Lo}),warn:Be({},e,{value:Bo}),error:Be({},e,{value:zo}),group:Be({},e,{value:Ho}),groupCollapsed:Be({},e,{value:Po}),groupEnd:Be({},e,{value:$o})})}_i<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Io=f.ReactCurrentDispatcher,Mi;function Ta(e,t,n){{if(Mi===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);Mi=a&&a[1]||""}return` -`+Mi+e}}var qr=!1,Xr;{var jl=typeof WeakMap=="function"?WeakMap:Map;Xr=new jl}function Yo(e,t){if(!e||qr)return"";{var n=Xr.get(e);if(n!==void 0)return n}var a;qr=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=Io.current,Io.current=null,Hs();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(V){a=V}Reflect.construct(e,[],o)}else{try{o.call()}catch(V){a=V}e.call(o.prototype)}}else{try{throw Error()}catch(V){a=V}e()}}catch(V){if(V&&a&&typeof V.stack=="string"){for(var c=V.stack.split(` -`),d=a.stack.split(` -`),b=c.length-1,g=d.length-1;b>=1&&g>=0&&c[b]!==d[g];)g--;for(;b>=1&&g>=0;b--,g--)if(c[b]!==d[g]){if(b!==1||g!==1)do if(b--,g--,g<0||c[b]!==d[g]){var C=` -`+c[b].replace(" at new "," at ");return e.displayName&&C.includes("")&&(C=C.replace("",e.displayName)),typeof e=="function"&&Xr.set(e,C),C}while(b>=1&&g>=0);break}}}finally{qr=!1,Io.current=i,Rd(),Error.prepareStackTrace=r}var E=e?e.displayName||e.name:"",A=E?Ta(E):"";return typeof e=="function"&&Xr.set(e,A),A}function Ps(e,t,n){return Yo(e,!0)}function Ko(e,t,n){return Yo(e,!1)}function wd(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Qr(e,t,n){if(e==null)return"";if(typeof e=="function")return Yo(e,wd(e));if(typeof e=="string")return Ta(e);switch(e){case we:return Ta("Suspense");case zt:return Ta("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case me:return Ko(e.render);case mt:return Qr(e.type,t,n);case Le:{var a=e,r=a._payload,i=a._init;try{return Qr(i(r),t,n)}catch{}}}return""}function $s(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case w:return Ta(e.type);case he:return Ta("Lazy");case je:return Ta("Suspense");case Y:return Ta("SuspenseList");case D:case T:case I:return Ko(e.type);case pe:return Ko(e.type.render);case S:return Ps(e.type);default:return""}}function Wo(e){try{var t="",n=e;do t+=$s(n),n=n.return;while(n);return t}catch(a){return` -Error generating stack: `+a.message+` -`+a.stack}}function Fl(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function Gs(e){return e.displayName||"Context"}function Ze(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case G:return"Fragment";case x:return"Portal";case be:return"Profiler";case Z:return"StrictMode";case we:return"Suspense";case zt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Je:var t=e;return Gs(t)+".Consumer";case Me:var n=e;return Gs(n._context)+".Provider";case me:return Fl(e,e.render,"ForwardRef");case mt:var a=e.displayName||null;return a!==null?a:Ze(e.type)||"Memo";case Le:{var r=e,i=r._payload,o=r._init;try{return Ze(o(i))}catch{return null}}}return null}function qo(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function Xo(e){return e.displayName||"Context"}function Ue(e){var t=e.tag,n=e.type;switch(t){case Re:return"Cache";case W:var a=n;return Xo(a)+".Consumer";case fe:var r=n;return Xo(r._context)+".Provider";case $:return"DehydratedFragment";case pe:return qo(n,n.render,"ForwardRef");case ne:return"Fragment";case w:return n;case M:return"Portal";case U:return"Root";case L:return"Text";case he:return Ze(n);case ae:return n===Z?"StrictMode":"Mode";case J:return"Offscreen";case dt:return"Profiler";case Ee:return"Scope";case je:return"Suspense";case Y:return"SuspenseList";case qe:return"TracingMarker";case S:case D:case Fe:case T:case ze:case I:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Is=f.ReactDebugCurrentFrame,wn=null,Li=!1;function Jr(){{if(wn===null)return null;var e=wn._debugOwner;if(e!==null&&typeof e!="undefined")return Ue(e)}return null}function Ys(){return wn===null?"":Wo(wn)}function mn(){Is.getCurrentStack=null,wn=null,Li=!1}function kt(e){Is.getCurrentStack=e===null?null:Ys,wn=e,Li=!1}function Ks(){return wn}function ra(e){Li=e}function Yn(e){return""+e}function tr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ln(e),e;default:return""}}var Ad={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ul(e,t){Ad[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Bi(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ws(e){return e._valueTracker}function Zr(e){e._valueTracker=null}function qs(e){var t="";return e&&(Bi(e)?t=e.checked?"true":"false":t=e.value),t}function kd(e){var t=Bi(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ln(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(c){Ln(c),a=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(c){Ln(c),a=""+c},stopTracking:function(){Zr(e),delete e[t]}};return o}}function Er(e){Ws(e)||(e._valueTracker=kd(e))}function Rl(e){if(!e)return!1;var t=Ws(e);if(!t)return!0;var n=t.getValue(),a=qs(e);return a!==n?(t.setValue(a),!0):!1}function ei(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}var wl=!1,Xs=!1,Qs=!1,Js=!1;function Zs(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function p(e,t){var n=e,a=t.checked,r=Be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a!=null?a:n._wrapperState.initialChecked});return r}function N(e,t){Ul("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Xs&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Jr()||"A component",t.type),Xs=!0),t.value!==void 0&&t.defaultValue!==void 0&&!wl&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Jr()||"A component",t.type),wl=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:tr(t.value!=null?t.value:a),controlled:Zs(t)}}function k(e,t){var n=e,a=t.checked;a!=null&&Kr(n,"checked",a,!1)}function O(e,t){var n=e;{var a=Zs(t);!n._wrapperState.controlled&&a&&!Js&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Js=!0),n._wrapperState.controlled&&!a&&!Qs&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Qs=!0)}k(e,t);var r=tr(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=Yn(r)):n.value!==Yn(r)&&(n.value=Yn(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Te(n,t.type,r):t.hasOwnProperty("defaultValue")&&Te(n,t.type,tr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function K(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type,i=r==="submit"||r==="reset";if(i&&(t.value===void 0||t.value===null))return;var o=Yn(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var c=a.name;c!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,c!==""&&(a.name=c)}function xe(e,t){var n=e;O(n,t),ue(n,t)}function ue(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;ea(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i.")))}):t.dangerouslySetInnerHTML!=null&&(ht||(ht=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Pe&&(m("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",n,Al())}}}}function Sr(e,t,n,a){var r=e.options;if(t){for(var i=n,o={},c=0;c.");var a=Be({},t,{value:void 0,defaultValue:void 0,children:Yn(n._wrapperState.initialValue)});return a}function bb(e,t){var n=e;Ul("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!hb&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Jr()||"A component"),hb=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){m("Use the `defaultValue` or `value` props instead of setting children on