@worldcoin/idkit 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/idkit-js.js CHANGED
@@ -19,7 +19,7 @@ Error generating stack: `+i.message+`
19
19
  `),rY=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,TA=new Map;function si(e){var t=TA.get(e);if(t===void 0){if(!rY.test(e))throw Error(rt(65,e));t=Ie("<"+e),TA.set(e,t)}return t}var nY=Ie("<!DOCTYPE html>");function oY(e,t,r,n,o){switch(t){case"select":e.push(si("select"));var i=null,s=null;for(h in r)if(In.call(r,h)){var a=r[h];if(a!=null)switch(h){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"defaultValue":case"value":break;default:Zn(e,n,h,a)}}return e.push(qs),ng(e,s,i),i;case"option":s=o.selectedValue,e.push(si("option"));var l=a=null,u=null,h=null;for(i in r)if(In.call(r,i)){var p=r[i];if(p!=null)switch(i){case"children":a=p;break;case"selected":u=p;break;case"dangerouslySetInnerHTML":h=p;break;case"value":l=p;default:Zn(e,n,i,p)}}if(s!=null)if(r=l!==null?""+l:tY(a),D2(s)){for(n=0;n<s.length;n++)if(""+s[n]===r){e.push(E2);break}}else""+s===r&&e.push(E2);else u&&e.push(E2);return e.push(qs),ng(e,h,a),a;case"textarea":e.push(si("textarea")),h=s=i=null;for(a in r)if(In.call(r,a)&&(l=r[a],l!=null))switch(a){case"children":h=l;break;case"value":i=l;break;case"defaultValue":s=l;break;case"dangerouslySetInnerHTML":throw Error(rt(91));default:Zn(e,n,a,l)}if(i===null&&s!==null&&(i=s),e.push(qs),h!=null){if(i!=null)throw Error(rt(92));if(D2(h)&&1<h.length)throw Error(rt(93));i=""+h}return typeof i=="string"&&i[0]===`
20
20
  `&&e.push(C2),i!==null&&e.push(ot(Ur(""+i))),null;case"input":e.push(si("input")),l=h=a=i=null;for(s in r)if(In.call(r,s)&&(u=r[s],u!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(rt(399,"input"));case"defaultChecked":l=u;break;case"defaultValue":a=u;break;case"checked":h=u;break;case"value":i=u;break;default:Zn(e,n,s,u)}return h!==null?Zn(e,n,"checked",h):l!==null&&Zn(e,n,"checked",l),i!==null?Zn(e,n,"value",i):a!==null&&Zn(e,n,"value",a),e.push(CA),null;case"menuitem":e.push(si("menuitem"));for(var y in r)if(In.call(r,y)&&(i=r[y],i!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(rt(400));default:Zn(e,n,y,i)}return e.push(qs),null;case"title":e.push(si("title")),i=null;for(p in r)if(In.call(r,p)&&(s=r[p],s!=null))switch(p){case"children":i=s;break;case"dangerouslySetInnerHTML":throw Error(rt(434));default:Zn(e,n,p,s)}return e.push(qs),i;case"listing":case"pre":e.push(si(t)),s=i=null;for(l in r)if(In.call(r,l)&&(a=r[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;default:Zn(e,n,l,a)}if(e.push(qs),s!=null){if(i!=null)throw Error(rt(60));if(typeof s!="object"||!("__html"in s))throw Error(rt(61));r=s.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===`
21
21
  `?e.push(C2,ot(r)):e.push(ot(""+r)))}return typeof i=="string"&&i[0]===`
22
- `&&e.push(C2),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(si(t));for(var w in r)if(In.call(r,w)&&(i=r[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(rt(399,t));default:Zn(e,n,w,i)}return e.push(CA),null;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 S2(e,r,t,n);case"html":return o.insertionMode===0&&e.push(nY),S2(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return S2(e,r,t,n);e.push(si(t)),s=i=null;for(u in r)if(In.call(r,u)&&(a=r[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":GA(e,n,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:qA(u)&&typeof a!="function"&&typeof a!="symbol"&&e.push(Ks,ot(u),rc,ot(Ur(a)),Wa)}return e.push(qs),ng(e,s,i),i}}var iY=Ie("</"),sY=Ie(">"),aY=Ie('<template id="'),lY=Ie('"></template>'),uY=Ie("<!--$-->"),cY=Ie('<!--$?--><template id="'),fY=Ie('"></template>'),dY=Ie("<!--$!-->"),hY=Ie("<!--/$-->"),pY=Ie("<template"),mY=Ie('"'),gY=Ie(' data-dgst="');Ie(' data-msg="');Ie(' data-stck="');var yY=Ie("></template>");function PA(e,t,r){if(Fe(e,cY),r===null)throw Error(rt(395));return Fe(e,r),zt(e,fY)}var vY=Ie('<div hidden id="'),wY=Ie('">'),bY=Ie("</div>"),_Y=Ie('<svg aria-hidden="true" style="display:none" id="'),xY=Ie('">'),EY=Ie("</svg>"),SY=Ie('<math aria-hidden="true" style="display:none" id="'),CY=Ie('">'),TY=Ie("</math>"),PY=Ie('<table hidden id="'),OY=Ie('">'),DY=Ie("</table>"),IY=Ie('<table hidden><tbody id="'),AY=Ie('">'),MY=Ie("</tbody></table>"),RY=Ie('<table hidden><tr id="'),NY=Ie('">'),kY=Ie("</tr></table>"),LY=Ie('<table hidden><colgroup id="'),FY=Ie('">'),$Y=Ie("</colgroup></table>");function UY(e,t,r,n){switch(r.insertionMode){case 0:case 1:return Fe(e,vY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,wY);case 2:return Fe(e,_Y),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,xY);case 3:return Fe(e,SY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,CY);case 4:return Fe(e,PY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,OY);case 5:return Fe(e,IY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,AY);case 6:return Fe(e,RY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,NY);case 7:return Fe(e,LY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,FY);default:throw Error(rt(397))}}function BY(e,t){switch(t.insertionMode){case 0:case 1:return zt(e,bY);case 2:return zt(e,EY);case 3:return zt(e,TY);case 4:return zt(e,DY);case 5:return zt(e,MY);case 6:return zt(e,kY);case 7:return zt(e,$Y);default:throw Error(rt(397))}}var jY=Ie('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),VY=Ie('$RS("'),zY=Ie('","'),HY=Ie('")<\/script>'),KY=Ie('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),qY=Ie('$RC("'),GY=Ie('","'),WY=Ie('")<\/script>'),YY=Ie('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),XY=Ie('$RX("'),ZY=Ie('"'),JY=Ie(")<\/script>"),T2=Ie(","),QY=/[<\u2028\u2029]/g;function P2(e){return JSON.stringify(e).replace(QY,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var $d=Object.assign,eX=Symbol.for("react.element"),WA=Symbol.for("react.portal"),YA=Symbol.for("react.fragment"),XA=Symbol.for("react.strict_mode"),ZA=Symbol.for("react.profiler"),JA=Symbol.for("react.provider"),QA=Symbol.for("react.context"),eM=Symbol.for("react.forward_ref"),tM=Symbol.for("react.suspense"),rM=Symbol.for("react.suspense_list"),nM=Symbol.for("react.memo"),F2=Symbol.for("react.lazy"),tX=Symbol.for("react.scope"),rX=Symbol.for("react.debug_trace_mode"),nX=Symbol.for("react.legacy_hidden"),oX=Symbol.for("react.default_value"),OA=Symbol.iterator;function I2(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 YA:return"Fragment";case WA:return"Portal";case ZA:return"Profiler";case XA:return"StrictMode";case tM:return"Suspense";case rM:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case QA:return(e.displayName||"Context")+".Consumer";case JA:return(e._context.displayName||"Context")+".Provider";case eM:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nM:return t=e.displayName||null,t!==null?t:I2(e.type)||"Memo";case F2:t=e._payload,e=e._init;try{return I2(e(t))}catch(r){}}return null}var oM={};function DA(e,t){if(e=e.contextTypes,!e)return oM;var r={},n;for(n in e)r[n]=t[n];return r}var Xa=null;function dg(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(rt(401))}else{if(r===null)throw Error(rt(401));dg(e,r)}t.context._currentValue=t.value}}function iM(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&iM(e)}function sM(e){var t=e.parent;t!==null&&sM(t),e.context._currentValue=e.value}function aM(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(rt(402));e.depth===t.depth?dg(e,t):aM(e,t)}function lM(e,t){var r=t.parent;if(r===null)throw Error(rt(402));e.depth===r.depth?dg(e,r):lM(e,r),t.context._currentValue=t.value}function ag(e){var t=Xa;t!==e&&(t===null?sM(e):e===null?iM(t):t.depth===e.depth?dg(t,e):t.depth>e.depth?aM(t,e):lM(t,e),Xa=e)}var IA={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function AA(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=IA,e.props=r,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue:n,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(r,o),o=s==null?o:$d({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&IA.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,r,n):a,a!=null&&(o?(o=!1,i=$d({},i,a)):$d(i,a))}e.state=i}else i.queue=null}var iX={id:1,overflow:""};function A2(e,t,r){var n=e.id;e=e.overflow;var o=32-og(n)-1;n&=~(1<<o),r+=1;var i=32-og(t)+o;if(30<i){var s=o-o%5;return i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,{id:1<<32-og(t)+o|r<<o|n,overflow:i+e}}return{id:1<<i|r<<o|n,overflow:e}}var og=Math.clz32?Math.clz32:lX,sX=Math.log,aX=Math.LN2;function lX(e){return e>>>=0,e===0?32:31-(sX(e)/aX|0)|0}function uX(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cX=typeof Object.is=="function"?Object.is:uX,$i=null,$2=null,ig=null,Ft=null,Ld=!1,lg=!1,Ud=0,Gs=null,hg=0;function Ya(){if($i===null)throw Error(rt(321));return $i}function MA(){if(0<hg)throw Error(rt(312));return{memoizedState:null,queue:null,next:null}}function U2(){return Ft===null?ig===null?(Ld=!1,ig=Ft=MA()):(Ld=!0,Ft=ig):Ft.next===null?(Ld=!1,Ft=Ft.next=MA()):(Ld=!0,Ft=Ft.next),Ft}function B2(){$2=$i=null,lg=!1,ig=null,hg=0,Ft=Gs=null}function uM(e,t){return typeof t=="function"?t(e):t}function RA(e,t,r){if($i=Ya(),Ft=U2(),Ld){var n=Ft.queue;if(t=n.dispatch,Gs!==null&&(r=Gs.get(n),r!==void 0)){Gs.delete(n),n=Ft.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return Ft.memoizedState=n,[n,t]}return[Ft.memoizedState,t]}return e=e===uM?typeof t=="function"?t():t:r!==void 0?r(t):t,Ft.memoizedState=e,e=Ft.queue={last:null,dispatch:null},e=e.dispatch=fX.bind(null,$i,e),[Ft.memoizedState,e]}function NA(e,t){if($i=Ya(),Ft=U2(),t=t===void 0?null:t,Ft!==null){var r=Ft.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!cX(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),Ft.memoizedState=[e,t],e}function fX(e,t,r){if(25<=hg)throw Error(rt(301));if(e===$i)if(lg=!0,e={action:r,next:null},Gs===null&&(Gs=new Map),r=Gs.get(t),r===void 0)Gs.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function dX(){throw Error(rt(394))}function eg(){}var kA={readContext:function(e){return e._currentValue},useContext:function(e){return Ya(),e._currentValue},useMemo:NA,useReducer:RA,useRef:function(e){$i=Ya(),Ft=U2();var t=Ft.memoizedState;return t===null?(e={current:e},Ft.memoizedState=e):t},useState:function(e){return RA(uM,e)},useInsertionEffect:eg,useLayoutEffect:function(){},useCallback:function(e,t){return NA(function(){return e},t)},useImperativeHandle:eg,useEffect:eg,useDebugValue:eg,useDeferredValue:function(e){return Ya(),e},useTransition:function(){return Ya(),[!1,dX]},useId:function(){var e=$2.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-og(e)-1)).toString(32)+t;var r=sg;if(r===null)throw Error(rt(404));return t=Ud++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ya(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(rt(407));return r()}},sg=null,O2=zA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function hX(e){return console.error(e),null}function Fd(){}function pX(e,t,r,n,o,i,s,a,l){var u=[],h=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:h,pingedTasks:u,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?hX:o,onAllReady:i===void 0?Fd:i,onShellReady:s===void 0?Fd:s,onShellError:a===void 0?Fd:a,onFatalError:l===void 0?Fd:l},r=ug(t,0,null,r,!1,!1),r.parentFlushed=!0,e=j2(t,e,null,r,h,oM,null,iX),u.push(e),t}function j2(e,t,r,n,o,i,s,a){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var u=e.pingedTasks;u.push(l),u.length===1&&dM(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function ug(e,t,r,n,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:i}}function Bd(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function cg(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,KA(e.destination,t)):(e.status=1,e.fatalError=t)}function LA(e,t,r,n,o){for($i={},$2=t,Ud=0,e=r(n,o);lg;)lg=!1,Ud=0,hg+=1,Ft=null,e=r(n,o);return B2(),e}function FA(e,t,r,n){var o=r.render(),i=n.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof r.getChildContext!="function")n=s;else{r=r.getChildContext();for(var a in r)if(!(a in i))throw Error(rt(108,I2(n)||"Unknown",a));n=$d({},s,r)}t.legacyContext=n,eo(e,t,o),t.legacyContext=s}else eo(e,t,o)}function $A(e,t){if(e&&e.defaultProps){t=$d({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function M2(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=DA(r,t.legacyContext);var i=r.contextType;i=new r(n,typeof i=="object"&&i!==null?i._currentValue:o),AA(i,r,n,o),FA(e,t,i,r)}else{i=DA(r,t.legacyContext),o=LA(e,t,r,n,i);var s=Ud!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)AA(o,r,n,i),FA(e,t,o,r);else if(s){n=t.treeContext,t.treeContext=A2(n,1,0);try{eo(e,t,o)}finally{t.treeContext=n}}else eo(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,i=oY(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=JW(s,r,n),R2(e,t,i),o.formatContext=s,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(iY,ot(r),sY)}o.lastPushedText=!1}else{switch(r){case nX:case rX:case XA:case ZA:case YA:eo(e,t,n.children);return;case rM:eo(e,t,n.children);return;case tX:throw Error(rt(343));case tM:e:{r=t.blockedBoundary,o=t.blockedSegment,i=n.fallback,n=n.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},l=ug(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var u=ug(e,0,null,o.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=u;try{if(R2(e,t,n),u.lastPushedText&&u.textEmbedded&&u.chunks.push(L2),u.status=1,fg(a,u),a.pendingTasks===0)break e}catch(h){u.status=4,a.forceClientRender=!0,a.errorDigest=Bd(e,h)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=j2(e,i,r,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case eM:if(n=LA(e,t,r.render,n,o),Ud!==0){r=t.treeContext,t.treeContext=A2(r,1,0);try{eo(e,t,n)}finally{t.treeContext=r}}else eo(e,t,n);return;case nM:r=r.type,n=$A(r,n),M2(e,t,r,n,o);return;case JA:if(o=n.children,r=r._context,n=n.value,i=r._currentValue,r._currentValue=n,s=Xa,Xa=n={parent:s,depth:s===null?0:s.depth+1,context:r,parentValue:i,value:n},t.context=n,eo(e,t,o),e=Xa,e===null)throw Error(rt(403));n=e.parentValue,e.context._currentValue=n===oX?e.context._defaultValue:n,e=Xa=e.parent,t.context=e;return;case QA:n=n.children,n=n(r._currentValue),eo(e,t,n);return;case F2:o=r._init,r=o(r._payload),n=$A(r,n),M2(e,t,r,n,void 0);return}throw Error(rt(130,r==null?r:typeof r,""))}}function eo(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case eX:M2(e,t,r.type,r.props,r.ref);return;case WA:throw Error(rt(257));case F2:var n=r._init;r=n(r._payload),eo(e,t,r);return}if(D2(r)){UA(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=OA&&r[OA]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);UA(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(rt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=_A(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=_A(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function UA(e,t,r){for(var n=r.length,o=0;o<n;o++){var i=t.treeContext;t.treeContext=A2(i,n,o);try{R2(e,t,r[o])}finally{t.treeContext=i}}}function R2(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return eo(e,t,r)}catch(l){if(B2(),typeof l=="object"&&l!==null&&typeof l.then=="function"){r=l;var s=t.blockedSegment,a=ug(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=j2(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,ag(i)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,ag(i),l}}function mX(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,fM(this,t,e)}function cM(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(rt(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return cM(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function fg(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&fg(e,r)}else e.completedSegments.push(t)}function fM(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(rt(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=Fd,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&fg(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(mX,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(fg(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function dM(e){if(e.status!==2){var t=Xa,r=O2.current;O2.current=kA;var n=sg;sg=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,l=s.blockedSegment;if(l.status===0){ag(s.context);try{eo(a,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(L2),s.abortSet.delete(s),l.status=1,fM(a,s.blockedBoundary,l)}catch(v){if(B2(),typeof v=="object"&&v!==null&&typeof v.then=="function"){var u=s.ping;v.then(u,u)}else{s.abortSet.delete(s),l.status=4;var h=s.blockedBoundary,p=v,y=Bd(a,p);if(h===null?cg(a,p):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=y,h.parentFlushed&&a.clientRenderedBoundaries.push(h))),a.allPendingTasks--,a.allPendingTasks===0){var w=a.onAllReady;w()}}}finally{}}}o.splice(0,i),e.destination!==null&&V2(e,e.destination)}catch(v){Bd(e,v),cg(e,v)}finally{sg=n,O2.current=r,r===kA&&ag(t)}}}function tg(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,Fe(t,aY),Fe(t,e.placeholderPrefix),e=ot(n.toString(16)),Fe(t,e),zt(t,lY);case 1:r.status=2;var o=!0;n=r.chunks;var i=0;r=r.children;for(var s=0;s<r.length;s++){for(o=r[s];i<o.index;i++)Fe(t,n[i]);o=pg(e,t,o)}for(;i<n.length-1;i++)Fe(t,n[i]);return i<n.length&&(o=zt(t,n[i])),o;default:throw Error(rt(390))}}function pg(e,t,r){var n=r.boundary;if(n===null)return tg(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,zt(t,dY),Fe(t,pY),n&&(Fe(t,gY),Fe(t,ot(Ur(n))),Fe(t,mY)),zt(t,yY),tg(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,i=o.nextSuspenseID++;o=Ie(o.boundaryPrefix+i.toString(16)),n=n.id=o,PA(t,e.responseState,n),tg(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),PA(t,e.responseState,n.id),tg(e,t,r);else{if(zt(t,uY),r=n.completedSegments,r.length!==1)throw Error(rt(391));pg(e,t,r[0])}return zt(t,hY)}function BA(e,t,r){return UY(t,e.responseState,r.formatContext,r.id),pg(e,t,r),BY(t,r.formatContext)}function jA(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)hM(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,Fe(t,e.startInlineScript),e.sentCompleteBoundaryFunction?Fe(t,qY):(e.sentCompleteBoundaryFunction=!0,Fe(t,KY)),n===null)throw Error(rt(395));return r=ot(r.toString(16)),Fe(t,n),Fe(t,GY),Fe(t,e.segmentPrefix),Fe(t,r),zt(t,WY)}function hM(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(rt(392));return BA(e,t,n)}return BA(e,t,n),e=e.responseState,Fe(t,e.startInlineScript),e.sentCompleteSegmentFunction?Fe(t,VY):(e.sentCompleteSegmentFunction=!0,Fe(t,jY)),Fe(t,e.segmentPrefix),o=ot(o.toString(16)),Fe(t,o),Fe(t,zY),Fe(t,e.placeholderPrefix),Fe(t,o),zt(t,HY)}function V2(e,t){Jn=new Uint8Array(512),Qn=0;try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){pg(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)Fe(t,n[r]);r<n.length&&zt(t,n[r])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];n=t;var a=e.responseState,l=s.id,u=s.errorDigest,h=s.errorMessage,p=s.errorComponentStack;if(Fe(n,a.startInlineScript),a.sentClientRenderFunction?Fe(n,XY):(a.sentClientRenderFunction=!0,Fe(n,YY)),l===null)throw Error(rt(395));if(Fe(n,l),Fe(n,ZY),(u||h||p)&&(Fe(n,T2),Fe(n,ot(P2(u||"")))),(h||p)&&(Fe(n,T2),Fe(n,ot(P2(h||"")))),p&&(Fe(n,T2),Fe(n,ot(P2(p)))),!zt(n,JY)){e.destination=null,i++,o.splice(0,i);return}}o.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)if(!jA(e,t,y[i])){e.destination=null,i++,y.splice(0,i);return}y.splice(0,i),yA(t),Jn=new Uint8Array(512),Qn=0;var w=e.partialBoundaries;for(i=0;i<w.length;i++){var v=w[i];e:{o=e,s=t;var S=v.completedSegments;for(a=0;a<S.length;a++)if(!hM(o,s,v,S[a])){a++,S.splice(0,a);var I=!1;break e}S.splice(0,a),I=!0}if(!I){e.destination=null,i++,w.splice(0,i);return}}w.splice(0,i);var T=e.completedBoundaries;for(i=0;i<T.length;i++)if(!jA(e,t,T[i])){e.destination=null,i++,T.splice(0,i);return}T.splice(0,i)}finally{yA(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function VA(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return cM(n,e,t)}),r.clear(),e.destination!==null&&V2(e,e.destination)}catch(n){Bd(e,n),cg(e,n)}}z2.renderToReadableStream=function(e,t){return new Promise(function(r,n){var o,i,s=new Promise(function(h,p){i=h,o=p}),a=pX(e,XW(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),ZW(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var h=new ReadableStream({type:"bytes",pull:function(p){if(a.status===1)a.status=2,KA(p,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=p;try{V2(a,p)}catch(y){Bd(a,y),cg(a,y)}}},cancel:function(){VA(a)}},{highWaterMark:0});h.allReady=s,r(h)},function(h){s.catch(function(){}),n(h)},o);if(t&&t.signal){var l=t.signal,u=function(){VA(a,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}dM(a)})};z2.version="18.2.0"});var gM=_e(Za=>{"use strict";c();d();f();var nc,mM;nc=gA(),mM=pM();Za.version=nc.version;Za.renderToString=nc.renderToString;Za.renderToStaticMarkup=nc.renderToStaticMarkup;Za.renderToNodeStream=nc.renderToNodeStream;Za.renderToStaticNodeStream=nc.renderToStaticNodeStream;Za.renderToReadableStream=mM.renderToReadableStream});var OM=_e((t2e,PM)=>{"use strict";c();d();f();function bX(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}PM.exports=_X;function _X(e,t,r){var n=r&&r.stringify||bX,o=1;if(typeof e=="object"&&e!==null){var i=t.length+o;if(i===1)return e;var s=new Array(i);s[0]=n(e);for(var a=1;a<i;a++)s[a]=n(t[a]);return s.join(" ")}if(typeof e!="string")return e;var l=t.length;if(l===0)return e;for(var u="",h=1-o,p=-1,y=e&&e.length||0,w=0;w<y;){if(e.charCodeAt(w)===37&&w+1<y){switch(p=p>-1?p:0,e.charCodeAt(w+1)){case 100:case 102:if(h>=l||t[h]==null)break;p<w&&(u+=e.slice(p,w)),u+=Number(t[h]),p=w+2,w++;break;case 105:if(h>=l||t[h]==null)break;p<w&&(u+=e.slice(p,w)),u+=Math.floor(Number(t[h])),p=w+2,w++;break;case 79:case 111:case 106:if(h>=l||t[h]===void 0)break;p<w&&(u+=e.slice(p,w));var v=typeof t[h];if(v==="string"){u+="'"+t[h]+"'",p=w+2,w++;break}if(v==="function"){u+=t[h].name||"<anonymous>",p=w+2,w++;break}u+=n(t[h]),p=w+2,w++;break;case 115:if(h>=l)break;p<w&&(u+=e.slice(p,w)),u+=String(t[h]),p=w+2,w++;break;case 37:p<w&&(u+=e.slice(p,w)),u+="%",p=w+2,w++,h--;break}++h}++w}return p===-1?e:(p<y&&(u+=e.slice(p)),u)}});var yg=_e((r2e,MM)=>{"use strict";c();d();f();var DM=OM();MM.exports=ai;var Vd=AX().console||{},xX={mapHttpRequest:mg,mapHttpResponse:mg,wrapRequestSerializer:q2,wrapResponseSerializer:q2,wrapErrorSerializer:q2,req:mg,res:mg,err:PX};function EX(e,t){return Array.isArray(e)?e.filter(function(n){return n!=="!stdSerializers.err"}):e===!0?Object.keys(t):!1}function ai(e){e=e||{},e.browser=e.browser||{};let t=e.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");let r=e.browser.write||Vd;e.browser.write&&(e.browser.asObject=!0);let n=e.serializers||{},o=EX(e.browser.serialize,n),i=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);let s=["error","fatal","warn","info","debug","trace"];typeof r=="function"&&(r.error=r.fatal=r.warn=r.info=r.debug=r.trace=r),e.enabled===!1&&(e.level="silent");let a=e.level||"info",l=Object.create(r);l.log||(l.log=zd),Object.defineProperty(l,"levelVal",{get:h}),Object.defineProperty(l,"level",{get:p,set:y});let u={transmit:t,serialize:o,asObject:e.browser.asObject,levels:s,timestamp:OX(e)};l.levels=ai.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=zd,l.serializers=n,l._serialize=o,l._stdErrSerialize=i,l.child=w,t&&(l._logEvent=G2());function h(){return this.level==="silent"?1/0:this.levels.values[this.level]}function p(){return this._level}function y(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,oc(u,l,"error","log"),oc(u,l,"fatal","error"),oc(u,l,"warn","error"),oc(u,l,"info","log"),oc(u,l,"debug","log"),oc(u,l,"trace","log")}function w(v,S){if(!v)throw new Error("missing bindings for child Pino");S=S||{},o&&v.serializers&&(S.serializers=v.serializers);let I=S.serializers;if(o&&I){var T=Object.assign({},n,I),O=e.browser.serialize===!0?Object.keys(T):o;delete v.serializers,gg([v],O,T,this._stdErrSerialize)}function M(L){this._childLevel=(L._childLevel|0)+1,this.error=ic(L,v,"error"),this.fatal=ic(L,v,"fatal"),this.warn=ic(L,v,"warn"),this.info=ic(L,v,"info"),this.debug=ic(L,v,"debug"),this.trace=ic(L,v,"trace"),T&&(this.serializers=T,this._serialize=O),t&&(this._logEvent=G2([].concat(L._logEvent.bindings,v)))}return M.prototype=this,new M(this)}return l}ai.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};ai.stdSerializers=xX;ai.stdTimeFunctions=Object.assign({},{nullTime:IM,epochTime:AM,unixTime:DX,isoTime:IX});function oc(e,t,r,n){let o=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?zd:o[r]?o[r]:Vd[r]||Vd[n]||zd,SX(e,t,r)}function SX(e,t,r){!e.transmit&&t[r]===zd||(t[r]=function(n){return function(){let i=e.timestamp(),s=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Vd?Vd:this;for(var l=0;l<s.length;l++)s[l]=arguments[l];if(e.serialize&&!e.asObject&&gg(s,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?n.call(a,CX(this,r,s,i)):n.apply(a,s),e.transmit){let u=e.transmit.level||t.level,h=ai.levels.values[u],p=ai.levels.values[r];if(p<h)return;TX(this,{ts:i,methodLevel:r,methodValue:p,transmitLevel:u,transmitValue:ai.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},s)}}}(t[r]))}function CX(e,t,r,n){e._serialize&&gg(r,e._serialize,e.serializers,e._stdErrSerialize);let o=r.slice(),i=o[0],s={};n&&(s.time=n),s.level=ai.levels.values[t];let a=(e._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof o[0]=="object";)Object.assign(s,o.shift());i=o.length?DM(o.shift(),o):void 0}else typeof i=="string"&&(i=DM(o.shift(),o));return i!==void 0&&(s.msg=i),s}function gg(e,t,r,n){for(let o in e)if(n&&e[o]instanceof Error)e[o]=ai.stdSerializers.err(e[o]);else if(typeof e[o]=="object"&&!Array.isArray(e[o]))for(let i in e[o])t&&t.indexOf(i)>-1&&i in r&&(e[o][i]=r[i](e[o][i]))}function ic(e,t,r){return function(){let n=new Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function TX(e,t,r){let n=t.send,o=t.ts,i=t.methodLevel,s=t.methodValue,a=t.val,l=e._logEvent.bindings;gg(r,e._serialize||Object.keys(e.serializers),e.serializers,e._stdErrSerialize===void 0?!0:e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter(function(u){return l.indexOf(u)===-1}),e._logEvent.level.label=i,e._logEvent.level.value=s,n(i,e._logEvent,a),e._logEvent=G2(l)}function G2(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function PX(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)t[r]===void 0&&(t[r]=e[r]);return t}function OX(e){return typeof e.timestamp=="function"?e.timestamp:e.timestamp===!1?IM:AM}function mg(){return{}}function q2(e){return e}function zd(){}function IM(){return!1}function AM(){return Date.now()}function DX(){return Math.round(Date.now()/1e3)}function IX(){return new Date(Date.now()).toISOString()}function AX(){function e(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}});var Ws=_e((n2e,W2)=>{"use strict";c();d();f();var sc=typeof Reflect=="object"?Reflect:null,RM=sc&&typeof sc.apply=="function"?sc.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},vg;sc&&typeof sc.ownKeys=="function"?vg=sc.ownKeys:Object.getOwnPropertySymbols?vg=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:vg=function(t){return Object.getOwnPropertyNames(t)};function MX(e){console&&console.warn&&console.warn(e)}var kM=Number.isNaN||function(t){return t!==t};function Dt(){Dt.init.call(this)}W2.exports=Dt;W2.exports.once=LX;Dt.EventEmitter=Dt;Dt.prototype._events=void 0;Dt.prototype._eventsCount=0;Dt.prototype._maxListeners=void 0;var NM=10;function wg(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Dt,"defaultMaxListeners",{enumerable:!0,get:function(){return NM},set:function(e){if(typeof e!="number"||e<0||kM(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");NM=e}});Dt.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Dt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||kM(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function LM(e){return e._maxListeners===void 0?Dt.defaultMaxListeners:e._maxListeners}Dt.prototype.getMaxListeners=function(){return LM(this)};Dt.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o=t==="error",i=this._events;if(i!==void 0)o=o&&i.error===void 0;else if(!o)return!1;if(o){var s;if(r.length>0&&(s=r[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")RM(l,this,r);else for(var u=l.length,h=jM(l,u),n=0;n<u;++n)RM(h[n],this,r);return!0};function FM(e,t,r,n){var o,i,s;if(wg(r),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),s===void 0)s=i[t]=r,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),o=LM(e),o>0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,MX(a)}return e}Dt.prototype.addListener=function(t,r){return FM(this,t,r,!1)};Dt.prototype.on=Dt.prototype.addListener;Dt.prototype.prependListener=function(t,r){return FM(this,t,r,!0)};function RX(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function $M(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=RX.bind(n);return o.listener=r,n.wrapFn=o,o}Dt.prototype.once=function(t,r){return wg(r),this.on(t,$M(this,t,r)),this};Dt.prototype.prependOnceListener=function(t,r){return wg(r),this.prependListener(t,$M(this,t,r)),this};Dt.prototype.removeListener=function(t,r){var n,o,i,s,a;if(wg(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():NX(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Dt.prototype.off=Dt.prototype.removeListener;Dt.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(o=0;o<i.length;++o)s=i[o],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function UM(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?kX(o):jM(o,o.length)}Dt.prototype.listeners=function(t){return UM(this,t,!0)};Dt.prototype.rawListeners=function(t){return UM(this,t,!1)};Dt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):BM.call(e,t)};Dt.prototype.listenerCount=BM;function BM(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Dt.prototype.eventNames=function(){return this._eventsCount>0?vg(this._events):[]};function jM(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function NX(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function kX(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function LX(e,t){return new Promise(function(r,n){function o(s){e.removeListener(t,i),n(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}VM(e,t,i,{once:!0}),t!=="error"&&FX(e,o,{once:!0})})}function FX(e,t,r){typeof e.on=="function"&&VM(e,"error",t,r)}function VM(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(i){n.once&&e.removeEventListener(t,o),r(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var X2=_e((o2e,_g)=>{c();d();f();var zM,HM,KM,qM,GM,WM,YM,XM,ZM,bg,Y2,JM,QM,ac,eR,tR,rR,nR,oR,iR,sR,aR,lR;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof _g=="object"&&typeof _g.exports=="object"?e(r(t,r(_g.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};zM=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},HM=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},KM=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},qM=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},GM=function(r,n){return function(o,i){n(o,i,r)}},WM=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},YM=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},XM=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},lR=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},ZM=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},bg=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Y2=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},JM=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Y2(arguments[n]));return r},QM=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},ac=function(r){return this instanceof ac?(this.v=r,this):new ac(r)},eR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof ac?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},tR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:ac(r[s](l)),done:s==="return"}:a?a(l):l}:a}},rR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof bg=="function"?bg(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},nR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},oR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},iR=function(r){return r&&r.__esModule?r:{default:r}},sR=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},aR=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",zM),e("__assign",HM),e("__rest",KM),e("__decorate",qM),e("__param",GM),e("__metadata",WM),e("__awaiter",YM),e("__generator",XM),e("__exportStar",ZM),e("__createBinding",lR),e("__values",bg),e("__read",Y2),e("__spread",JM),e("__spreadArrays",QM),e("__await",ac),e("__asyncGenerator",eR),e("__asyncDelegator",tR),e("__asyncValues",rR),e("__makeTemplateObject",nR),e("__importStar",oR),e("__importDefault",iR),e("__classPrivateFieldGet",sR),e("__classPrivateFieldSet",aR)})});var Z2=_e(xg=>{"use strict";c();d();f();Object.defineProperty(xg,"__esModule",{value:!0});function $X(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return JSON.parse(e)}catch(t){return e}}xg.safeJsonParse=$X;function UX(e){return typeof e=="string"?e:JSON.stringify(e,(t,r)=>typeof r>"u"?null:r)}xg.safeJsonStringify=UX});var uR=_e((s2e,Eg)=>{"use strict";c();d();f();(function(){"use strict";let e;function t(){}e=t,e.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},e.prototype.setItem=function(r,n){this[r]=String(n)},e.prototype.removeItem=function(r){delete this[r]},e.prototype.clear=function(){let r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},e.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},e.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof globalThis<"u"&&globalThis.localStorage?Eg.exports=globalThis.localStorage:typeof window<"u"&&window.localStorage?Eg.exports=window.localStorage:Eg.exports=new t})()});var cR=_e(Sg=>{"use strict";c();d();f();Object.defineProperty(Sg,"__esModule",{value:!0});Sg.IKeyValueStorage=void 0;var J2=class{};Sg.IKeyValueStorage=J2});var fR=_e(Cg=>{"use strict";c();d();f();Object.defineProperty(Cg,"__esModule",{value:!0});Cg.parseEntry=void 0;var BX=Z2();function jX(e){var t;return[e[0],BX.safeJsonParse((t=e[1])!==null&&t!==void 0?t:"")]}Cg.parseEntry=jX});var hR=_e(Tg=>{"use strict";c();d();f();Object.defineProperty(Tg,"__esModule",{value:!0});var dR=X2();dR.__exportStar(cR(),Tg);dR.__exportStar(fR(),Tg)});var mR=_e(Hd=>{"use strict";c();d();f();Object.defineProperty(Hd,"__esModule",{value:!0});Hd.KeyValueStorage=void 0;var lc=X2(),pR=Z2(),VX=lc.__importDefault(uR()),zX=hR(),Pg=class{constructor(){this.localStorage=VX.default}getKeys(){return lc.__awaiter(this,void 0,void 0,function*(){return Object.keys(this.localStorage)})}getEntries(){return lc.__awaiter(this,void 0,void 0,function*(){return Object.entries(this.localStorage).map(zX.parseEntry)})}getItem(t){return lc.__awaiter(this,void 0,void 0,function*(){let r=this.localStorage.getItem(t);if(r!==null)return pR.safeJsonParse(r)})}setItem(t,r){return lc.__awaiter(this,void 0,void 0,function*(){this.localStorage.setItem(t,pR.safeJsonStringify(r))})}removeItem(t){return lc.__awaiter(this,void 0,void 0,function*(){this.localStorage.removeItem(t)})}};Hd.KeyValueStorage=Pg;Hd.default=Pg});var Kd=_e((f2e,Dg)=>{c();d();f();var gR,yR,vR,wR,bR,_R,xR,ER,SR,Og,Q2,CR,TR,uc,PR,OR,DR,IR,AR,MR,RR,NR,kR;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Dg=="object"&&typeof Dg.exports=="object"?e(r(t,r(Dg.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};gR=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},yR=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},vR=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},wR=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},bR=function(r,n){return function(o,i){n(o,i,r)}},_R=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},xR=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},ER=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},kR=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},SR=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},Og=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Q2=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},CR=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Q2(arguments[n]));return r},TR=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},uc=function(r){return this instanceof uc?(this.v=r,this):new uc(r)},PR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof uc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},OR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:uc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},DR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof Og=="function"?Og(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},IR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},AR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},MR=function(r){return r&&r.__esModule?r:{default:r}},RR=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},NR=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",gR),e("__assign",yR),e("__rest",vR),e("__decorate",wR),e("__param",bR),e("__metadata",_R),e("__awaiter",xR),e("__generator",ER),e("__exportStar",SR),e("__createBinding",kR),e("__values",Og),e("__read",Q2),e("__spread",CR),e("__spreadArrays",TR),e("__await",uc),e("__asyncGenerator",PR),e("__asyncDelegator",OR),e("__asyncValues",DR),e("__makeTemplateObject",IR),e("__importStar",AR),e("__importDefault",MR),e("__classPrivateFieldGet",RR),e("__classPrivateFieldSet",NR)})});var qd=_e((d2e,Ag)=>{c();d();f();var LR,FR,$R,UR,BR,jR,VR,zR,HR,Ig,ex,KR,qR,cc,GR,WR,YR,XR,ZR,JR,QR,eN,tN;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Ag=="object"&&typeof Ag.exports=="object"?e(r(t,r(Ag.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};LR=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},FR=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},$R=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},UR=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},BR=function(r,n){return function(o,i){n(o,i,r)}},jR=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},VR=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},zR=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},tN=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},HR=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},Ig=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},ex=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},KR=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(ex(arguments[n]));return r},qR=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},cc=function(r){return this instanceof cc?(this.v=r,this):new cc(r)},GR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof cc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},WR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:cc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},YR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof Ig=="function"?Ig(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},XR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},ZR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},JR=function(r){return r&&r.__esModule?r:{default:r}},QR=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},eN=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",LR),e("__assign",FR),e("__rest",$R),e("__decorate",UR),e("__param",BR),e("__metadata",jR),e("__awaiter",VR),e("__generator",zR),e("__exportStar",HR),e("__createBinding",tN),e("__values",Ig),e("__read",ex),e("__spread",KR),e("__spreadArrays",qR),e("__await",cc),e("__asyncGenerator",GR),e("__asyncDelegator",WR),e("__asyncValues",YR),e("__makeTemplateObject",XR),e("__importStar",ZR),e("__importDefault",JR),e("__classPrivateFieldGet",QR),e("__classPrivateFieldSet",eN)})});var rN=_e(Mg=>{"use strict";c();d();f();Object.defineProperty(Mg,"__esModule",{value:!0});Mg.delay=void 0;function HX(e){return new Promise(t=>{setTimeout(()=>{t(!0)},e)})}Mg.delay=HX});var nN=_e(fc=>{"use strict";c();d();f();Object.defineProperty(fc,"__esModule",{value:!0});fc.ONE_THOUSAND=fc.ONE_HUNDRED=void 0;fc.ONE_HUNDRED=100;fc.ONE_THOUSAND=1e3});var oN=_e(Ae=>{"use strict";c();d();f();Object.defineProperty(Ae,"__esModule",{value:!0});Ae.ONE_YEAR=Ae.FOUR_WEEKS=Ae.THREE_WEEKS=Ae.TWO_WEEKS=Ae.ONE_WEEK=Ae.THIRTY_DAYS=Ae.SEVEN_DAYS=Ae.FIVE_DAYS=Ae.THREE_DAYS=Ae.ONE_DAY=Ae.TWENTY_FOUR_HOURS=Ae.TWELVE_HOURS=Ae.SIX_HOURS=Ae.THREE_HOURS=Ae.ONE_HOUR=Ae.SIXTY_MINUTES=Ae.THIRTY_MINUTES=Ae.TEN_MINUTES=Ae.FIVE_MINUTES=Ae.ONE_MINUTE=Ae.SIXTY_SECONDS=Ae.THIRTY_SECONDS=Ae.TEN_SECONDS=Ae.FIVE_SECONDS=Ae.ONE_SECOND=void 0;Ae.ONE_SECOND=1;Ae.FIVE_SECONDS=5;Ae.TEN_SECONDS=10;Ae.THIRTY_SECONDS=30;Ae.SIXTY_SECONDS=60;Ae.ONE_MINUTE=Ae.SIXTY_SECONDS;Ae.FIVE_MINUTES=Ae.ONE_MINUTE*5;Ae.TEN_MINUTES=Ae.ONE_MINUTE*10;Ae.THIRTY_MINUTES=Ae.ONE_MINUTE*30;Ae.SIXTY_MINUTES=Ae.ONE_MINUTE*60;Ae.ONE_HOUR=Ae.SIXTY_MINUTES;Ae.THREE_HOURS=Ae.ONE_HOUR*3;Ae.SIX_HOURS=Ae.ONE_HOUR*6;Ae.TWELVE_HOURS=Ae.ONE_HOUR*12;Ae.TWENTY_FOUR_HOURS=Ae.ONE_HOUR*24;Ae.ONE_DAY=Ae.TWENTY_FOUR_HOURS;Ae.THREE_DAYS=Ae.ONE_DAY*3;Ae.FIVE_DAYS=Ae.ONE_DAY*5;Ae.SEVEN_DAYS=Ae.ONE_DAY*7;Ae.THIRTY_DAYS=Ae.ONE_DAY*30;Ae.ONE_WEEK=Ae.SEVEN_DAYS;Ae.TWO_WEEKS=Ae.ONE_WEEK*2;Ae.THREE_WEEKS=Ae.ONE_WEEK*3;Ae.FOUR_WEEKS=Ae.ONE_WEEK*4;Ae.ONE_YEAR=Ae.ONE_DAY*365});var tx=_e(Rg=>{"use strict";c();d();f();Object.defineProperty(Rg,"__esModule",{value:!0});var iN=qd();iN.__exportStar(nN(),Rg);iN.__exportStar(oN(),Rg)});var aN=_e(dc=>{"use strict";c();d();f();Object.defineProperty(dc,"__esModule",{value:!0});dc.fromMiliseconds=dc.toMiliseconds=void 0;var sN=tx();function KX(e){return e*sN.ONE_THOUSAND}dc.toMiliseconds=KX;function qX(e){return Math.floor(e/sN.ONE_THOUSAND)}dc.fromMiliseconds=qX});var uN=_e(Ng=>{"use strict";c();d();f();Object.defineProperty(Ng,"__esModule",{value:!0});var lN=qd();lN.__exportStar(rN(),Ng);lN.__exportStar(aN(),Ng)});var cN=_e(Gd=>{"use strict";c();d();f();Object.defineProperty(Gd,"__esModule",{value:!0});Gd.Watch=void 0;var kg=class{constructor(){this.timestamps=new Map}start(t){if(this.timestamps.has(t))throw new Error(`Watch already started for label: ${t}`);this.timestamps.set(t,{started:Date.now()})}stop(t){let r=this.get(t);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${t}`);let n=Date.now()-r.started;this.timestamps.set(t,{started:r.started,elapsed:n})}get(t){let r=this.timestamps.get(t);if(typeof r>"u")throw new Error(`No timestamp found for label: ${t}`);return r}elapsed(t){let r=this.get(t);return r.elapsed||Date.now()-r.started}};Gd.Watch=kg;Gd.default=kg});var fN=_e(Lg=>{"use strict";c();d();f();Object.defineProperty(Lg,"__esModule",{value:!0});Lg.IWatch=void 0;var rx=class{};Lg.IWatch=rx});var dN=_e(nx=>{"use strict";c();d();f();Object.defineProperty(nx,"__esModule",{value:!0});var GX=qd();GX.__exportStar(fN(),nx)});var Ui=_e(hc=>{"use strict";c();d();f();Object.defineProperty(hc,"__esModule",{value:!0});var Fg=qd();Fg.__exportStar(uN(),hc);Fg.__exportStar(cN(),hc);Fg.__exportStar(dN(),hc);Fg.__exportStar(tx(),hc)});var Bo,hN=xl(()=>{c();d();f();Bo=class{}});var pN={};Hr(pN,{IEvents:()=>Bo});var $g=xl(()=>{c();d();f();hN()});var mN=_e(Ug=>{"use strict";c();d();f();Object.defineProperty(Ug,"__esModule",{value:!0});Ug.IHeartBeat=void 0;var WX=($g(),SS(pN)),ox=class extends WX.IEvents{constructor(t){super()}};Ug.IHeartBeat=ox});var sx=_e(ix=>{"use strict";c();d();f();Object.defineProperty(ix,"__esModule",{value:!0});var YX=Kd();YX.__exportStar(mN(),ix)});var gN=_e(pc=>{"use strict";c();d();f();Object.defineProperty(pc,"__esModule",{value:!0});pc.HEARTBEAT_EVENTS=pc.HEARTBEAT_INTERVAL=void 0;var XX=Ui();pc.HEARTBEAT_INTERVAL=XX.FIVE_SECONDS;pc.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var lx=_e(ax=>{"use strict";c();d();f();Object.defineProperty(ax,"__esModule",{value:!0});var ZX=Kd();ZX.__exportStar(gN(),ax)});var yN=_e(Bg=>{"use strict";c();d();f();Object.defineProperty(Bg,"__esModule",{value:!0});Bg.HeartBeat=void 0;var ux=Kd(),JX=Ws(),QX=Ui(),eZ=sx(),cx=lx(),Wd=class extends eZ.IHeartBeat{constructor(t){super(t),this.events=new JX.EventEmitter,this.interval=cx.HEARTBEAT_INTERVAL,this.interval=(t==null?void 0:t.interval)||cx.HEARTBEAT_INTERVAL}static init(t){return ux.__awaiter(this,void 0,void 0,function*(){let r=new Wd(t);return yield r.init(),r})}init(){return ux.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}initialize(){return ux.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),QX.toMiliseconds(this.interval))})}pulse(){this.events.emit(cx.HEARTBEAT_EVENTS.pulse)}};Bg.HeartBeat=Wd});var vN=_e(Yd=>{"use strict";c();d();f();Object.defineProperty(Yd,"__esModule",{value:!0});var fx=Kd();fx.__exportStar(yN(),Yd);fx.__exportStar(sx(),Yd);fx.__exportStar(lx(),Yd)});var UN=_e((A2e,Vg)=>{c();d();f();var wN,bN,_N,xN,EN,SN,CN,TN,PN,jg,dx,ON,DN,mc,IN,AN,MN,RN,NN,kN,LN,FN,$N;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Vg=="object"&&typeof Vg.exports=="object"?e(r(t,r(Vg.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};wN=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},bN=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},_N=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},xN=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},EN=function(r,n){return function(o,i){n(o,i,r)}},SN=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},CN=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},TN=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},$N=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},PN=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},jg=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},dx=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},ON=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(dx(arguments[n]));return r},DN=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},mc=function(r){return this instanceof mc?(this.v=r,this):new mc(r)},IN=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof mc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},AN=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:mc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},MN=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof jg=="function"?jg(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},RN=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},NN=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},kN=function(r){return r&&r.__esModule?r:{default:r}},LN=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},FN=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",wN),e("__assign",bN),e("__rest",_N),e("__decorate",xN),e("__param",EN),e("__metadata",SN),e("__awaiter",CN),e("__generator",TN),e("__exportStar",PN),e("__createBinding",$N),e("__values",jg),e("__read",dx),e("__spread",ON),e("__spreadArrays",DN),e("__await",mc),e("__asyncGenerator",IN),e("__asyncDelegator",AN),e("__asyncValues",MN),e("__makeTemplateObject",RN),e("__importStar",NN),e("__importDefault",kN),e("__classPrivateFieldGet",LN),e("__classPrivateFieldSet",FN)})});var hx=_e(gc=>{"use strict";c();d();f();Object.defineProperty(gc,"__esModule",{value:!0});gc.PINO_CUSTOM_CONTEXT_KEY=gc.PINO_LOGGER_DEFAULTS=void 0;gc.PINO_LOGGER_DEFAULTS={level:"info"};gc.PINO_CUSTOM_CONTEXT_KEY="custom_context"});var HN=_e(An=>{"use strict";c();d();f();Object.defineProperty(An,"__esModule",{value:!0});An.generateChildLogger=An.formatChildLoggerContext=An.getLoggerContext=An.setBrowserLoggerContext=An.getBrowserLoggerContext=An.getDefaultLoggerOptions=void 0;var yc=hx();function tZ(e){return Object.assign(Object.assign({},e),{level:(e==null?void 0:e.level)||yc.PINO_LOGGER_DEFAULTS.level})}An.getDefaultLoggerOptions=tZ;function BN(e,t=yc.PINO_CUSTOM_CONTEXT_KEY){return e[t]||""}An.getBrowserLoggerContext=BN;function jN(e,t,r=yc.PINO_CUSTOM_CONTEXT_KEY){return e[r]=t,e}An.setBrowserLoggerContext=jN;function VN(e,t=yc.PINO_CUSTOM_CONTEXT_KEY){let r="";return typeof e.bindings>"u"?r=BN(e,t):r=e.bindings().context||"",r}An.getLoggerContext=VN;function zN(e,t,r=yc.PINO_CUSTOM_CONTEXT_KEY){let n=VN(e,r);return n.trim()?`${n}/${t}`:t}An.formatChildLoggerContext=zN;function rZ(e,t,r=yc.PINO_CUSTOM_CONTEXT_KEY){let n=zN(e,t,r),o=e.child({context:n});return jN(o,n,r)}An.generateChildLogger=rZ});var mx=_e(vc=>{"use strict";c();d();f();Object.defineProperty(vc,"__esModule",{value:!0});vc.pino=void 0;var px=UN(),nZ=px.__importDefault(yg());Object.defineProperty(vc,"pino",{enumerable:!0,get:function(){return nZ.default}});px.__exportStar(hx(),vc);px.__exportStar(HN(),vc)});var GN=_e(Zg=>{"use strict";c();d();f();Object.defineProperty(Zg,"__esModule",{value:!0});Zg.BrowserRandomSource=void 0;var qN=65536,gx=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let t=typeof self<"u"?self.crypto||self.msCrypto:null;t&&t.getRandomValues!==void 0&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let r=new Uint8Array(t);for(let n=0;n<r.length;n+=qN)this._crypto.getRandomValues(r.subarray(n,n+Math.min(r.length-n,qN)));return r}};Zg.BrowserRandomSource=gx});var _o=_e(yx=>{"use strict";c();d();f();Object.defineProperty(yx,"__esModule",{value:!0});function oZ(e){for(var t=0;t<e.length;t++)e[t]=0;return e}yx.wipe=oZ});var WN=_e(()=>{c();d();f()});var YN=_e(Jg=>{"use strict";c();d();f();Object.defineProperty(Jg,"__esModule",{value:!0});Jg.NodeRandomSource=void 0;var iZ=_o(),vx=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof ES<"u"){let t=WN();t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(t);if(r.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");let n=new Uint8Array(t);for(let o=0;o<n.length;o++)n[o]=r[o];return(0,iZ.wipe)(r),n}};Jg.NodeRandomSource=vx});var XN=_e(Qg=>{"use strict";c();d();f();Object.defineProperty(Qg,"__esModule",{value:!0});Qg.SystemRandomSource=void 0;var sZ=GN(),aZ=YN(),wx=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new sZ.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new aZ.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}};Qg.SystemRandomSource=wx});var ZN=_e(to=>{"use strict";c();d();f();Object.defineProperty(to,"__esModule",{value:!0});function lZ(e,t){var r=e>>>16&65535,n=e&65535,o=t>>>16&65535,i=t&65535;return n*i+(r*i+n*o<<16>>>0)|0}to.mul=Math.imul||lZ;function uZ(e,t){return e+t|0}to.add=uZ;function cZ(e,t){return e-t|0}to.sub=cZ;function fZ(e,t){return e<<t|e>>>32-t}to.rotl=fZ;function dZ(e,t){return e<<32-t|e>>>t}to.rotr=dZ;function hZ(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}to.isInteger=Number.isInteger||hZ;to.MAX_SAFE_INTEGER=9007199254740991;to.isSafeInteger=function(e){return to.isInteger(e)&&e>=-to.MAX_SAFE_INTEGER&&e<=to.MAX_SAFE_INTEGER}});var bc=_e(it=>{"use strict";c();d();f();Object.defineProperty(it,"__esModule",{value:!0});var JN=ZN();function pZ(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16}it.readInt16BE=pZ;function mZ(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])>>>0}it.readUint16BE=mZ;function gZ(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])<<16>>16}it.readInt16LE=gZ;function yZ(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0}it.readUint16LE=yZ;function QN(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}it.writeUint16BE=QN;it.writeInt16BE=QN;function e7(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}it.writeUint16LE=e7;it.writeInt16LE=e7;function bx(e,t){return t===void 0&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}it.readInt32BE=bx;function _x(e,t){return t===void 0&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}it.readUint32BE=_x;function xx(e,t){return t===void 0&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}it.readInt32LE=xx;function Ex(e,t){return t===void 0&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}it.readUint32LE=Ex;function ey(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}it.writeUint32BE=ey;it.writeInt32BE=ey;function ty(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}it.writeUint32LE=ty;it.writeInt32LE=ty;function vZ(e,t){t===void 0&&(t=0);var r=bx(e,t),n=bx(e,t+4);return r*4294967296+n-(n>>31)*4294967296}it.readInt64BE=vZ;function wZ(e,t){t===void 0&&(t=0);var r=_x(e,t),n=_x(e,t+4);return r*4294967296+n}it.readUint64BE=wZ;function bZ(e,t){t===void 0&&(t=0);var r=xx(e,t),n=xx(e,t+4);return n*4294967296+r-(r>>31)*4294967296}it.readInt64LE=bZ;function _Z(e,t){t===void 0&&(t=0);var r=Ex(e,t),n=Ex(e,t+4);return n*4294967296+r}it.readUint64LE=_Z;function t7(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),ey(e/4294967296>>>0,t,r),ey(e>>>0,t,r+4),t}it.writeUint64BE=t7;it.writeInt64BE=t7;function r7(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),ty(e>>>0,t,r),ty(e/4294967296>>>0,t,r+4),t}it.writeUint64LE=r7;it.writeInt64LE=r7;function xZ(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var n=0,o=1,i=e/8+r-1;i>=r;i--)n+=t[i]*o,o*=256;return n}it.readUintBE=xZ;function EZ(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var n=0,o=1,i=r;i<r+e/8;i++)n+=t[i]*o,o*=256;return n}it.readUintLE=EZ;function SZ(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!JN.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,i=e/8+n-1;i>=n;i--)r[i]=t/o&255,o*=256;return r}it.writeUintBE=SZ;function CZ(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!JN.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,i=n;i<n+e/8;i++)r[i]=t/o&255,o*=256;return r}it.writeUintLE=CZ;function TZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t)}it.readFloat32BE=TZ;function PZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t,!0)}it.readFloat32LE=PZ;function OZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t)}it.readFloat64BE=OZ;function DZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t,!0)}it.readFloat64LE=DZ;function IZ(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e),t}it.writeFloat32BE=IZ;function AZ(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e,!0),t}it.writeFloat32LE=AZ;function MZ(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e),t}it.writeFloat64BE=MZ;function RZ(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e,!0),t}it.writeFloat64LE=RZ});var Ja=_e(Qr=>{"use strict";c();d();f();Object.defineProperty(Qr,"__esModule",{value:!0});Qr.randomStringForEntropy=Qr.randomString=Qr.randomUint32=Qr.randomBytes=Qr.defaultRandomSource=void 0;var NZ=XN(),kZ=bc(),n7=_o();Qr.defaultRandomSource=new NZ.SystemRandomSource;function Sx(e,t=Qr.defaultRandomSource){return t.randomBytes(e)}Qr.randomBytes=Sx;function LZ(e=Qr.defaultRandomSource){let t=Sx(4,e),r=(0,kZ.readUint32LE)(t);return(0,n7.wipe)(t),r}Qr.randomUint32=LZ;var o7="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function i7(e,t=o7,r=Qr.defaultRandomSource){if(t.length<2)throw new Error("randomString charset is too short");if(t.length>256)throw new Error("randomString charset is too long");let n="",o=t.length,i=256-256%o;for(;e>0;){let s=Sx(Math.ceil(e*256/i),r);for(let a=0;a<s.length&&e>0;a++){let l=s[a];l<i&&(n+=t.charAt(l%o),e--)}(0,n7.wipe)(s)}return n}Qr.randomString=i7;function FZ(e,t=o7,r=Qr.defaultRandomSource){let n=Math.ceil(e/(Math.log(t.length)/Math.LN2));return i7(n,t,r)}Qr.randomStringForEntropy=FZ});var l7=_e(Bi=>{"use strict";c();d();f();Object.defineProperty(Bi,"__esModule",{value:!0});var xc=bc(),_c=_o();Bi.DIGEST_LENGTH=64;Bi.BLOCK_SIZE=128;var a7=function(){function e(){this.digestLength=Bi.DIGEST_LENGTH,this.blockSize=Bi.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){_c.wipe(this._buffer),_c.wipe(this._tempHi),_c.wipe(this._tempLo),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<Bi.BLOCK_SIZE&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(Cx(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=Cx(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%128<112?128:256;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;xc.writeUint32BE(o,this._buffer,s-8),xc.writeUint32BE(i,this._buffer,s-4),Cx(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/8;a++)xc.writeUint32BE(this._stateHi[a],t,a*8),xc.writeUint32BE(this._stateLo[a],t,a*8+4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){_c.wipe(t.stateHi),_c.wipe(t.stateLo),t.buffer&&_c.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();Bi.SHA512=a7;var s7=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function Cx(e,t,r,n,o,i,s){for(var a=r[0],l=r[1],u=r[2],h=r[3],p=r[4],y=r[5],w=r[6],v=r[7],S=n[0],I=n[1],T=n[2],O=n[3],M=n[4],L=n[5],G=n[6],J=n[7],V,q,ce,me,fe,X,R,m;s>=128;){for(var b=0;b<16;b++){var E=8*b+i;e[b]=xc.readUint32BE(o,E),t[b]=xc.readUint32BE(o,E+4)}for(var b=0;b<80;b++){var A=a,k=l,B=u,K=h,U=p,x=y,j=w,ie=v,D=S,Y=I,ne=T,ae=O,he=M,Z=L,ee=G,W=J;if(V=v,q=J,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=(p>>>14|M<<32-14)^(p>>>18|M<<32-18)^(M>>>41-32|p<<32-(41-32)),q=(M>>>14|p<<32-14)^(M>>>18|p<<32-18)^(p>>>41-32|M<<32-(41-32)),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=p&y^~p&w,q=M&L^~M&G,fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=s7[b*2],q=s7[b*2+1],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=e[b%16],q=t[b%16],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,ce=R&65535|m<<16,me=fe&65535|X<<16,V=ce,q=me,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=(a>>>28|S<<32-28)^(S>>>34-32|a<<32-(34-32))^(S>>>39-32|a<<32-(39-32)),q=(S>>>28|a<<32-28)^(a>>>34-32|S<<32-(34-32))^(a>>>39-32|S<<32-(39-32)),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=a&l^a&u^l&u,q=S&I^S&T^I&T,fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,ie=R&65535|m<<16,W=fe&65535|X<<16,V=K,q=ae,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=ce,q=me,fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,K=R&65535|m<<16,ae=fe&65535|X<<16,l=A,u=k,h=B,p=K,y=U,w=x,v=j,a=ie,I=D,T=Y,O=ne,M=ae,L=he,G=Z,J=ee,S=W,b%16===15)for(var E=0;E<16;E++)V=e[E],q=t[E],fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=e[(E+9)%16],q=t[(E+9)%16],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,ce=e[(E+1)%16],me=t[(E+1)%16],V=(ce>>>1|me<<32-1)^(ce>>>8|me<<32-8)^ce>>>7,q=(me>>>1|ce<<32-1)^(me>>>8|ce<<32-8)^(me>>>7|ce<<32-7),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,ce=e[(E+14)%16],me=t[(E+14)%16],V=(ce>>>19|me<<32-19)^(me>>>61-32|ce<<32-(61-32))^ce>>>6,q=(me>>>19|ce<<32-19)^(ce>>>61-32|me<<32-(61-32))^(me>>>6|ce<<32-6),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,e[E]=R&65535|m<<16,t[E]=fe&65535|X<<16}V=a,q=S,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[0],q=n[0],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[0]=a=R&65535|m<<16,n[0]=S=fe&65535|X<<16,V=l,q=I,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[1],q=n[1],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[1]=l=R&65535|m<<16,n[1]=I=fe&65535|X<<16,V=u,q=T,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[2],q=n[2],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[2]=u=R&65535|m<<16,n[2]=T=fe&65535|X<<16,V=h,q=O,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[3],q=n[3],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[3]=h=R&65535|m<<16,n[3]=O=fe&65535|X<<16,V=p,q=M,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[4],q=n[4],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[4]=p=R&65535|m<<16,n[4]=M=fe&65535|X<<16,V=y,q=L,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[5],q=n[5],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[5]=y=R&65535|m<<16,n[5]=L=fe&65535|X<<16,V=w,q=G,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[6],q=n[6],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[6]=w=R&65535|m<<16,n[6]=G=fe&65535|X<<16,V=v,q=J,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[7],q=n[7],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[7]=v=R&65535|m<<16,n[7]=J=fe&65535|X<<16,i+=128,s-=128}return i}function $Z(e){var t=new a7;t.update(e);var r=t.digest();return t.clean(),r}Bi.hash=$Z});var x7=_e(Pt=>{"use strict";c();d();f();Object.defineProperty(Pt,"__esModule",{value:!0});Pt.convertSecretKeyToX25519=Pt.convertPublicKeyToX25519=Pt.verify=Pt.sign=Pt.extractPublicKeyFromSecretKey=Pt.generateKeyPair=Pt.generateKeyPairFromSeed=Pt.SEED_LENGTH=Pt.SECRET_KEY_LENGTH=Pt.PUBLIC_KEY_LENGTH=Pt.SIGNATURE_LENGTH=void 0;var UZ=Ja(),Zd=l7(),h7=_o();Pt.SIGNATURE_LENGTH=64;Pt.PUBLIC_KEY_LENGTH=32;Pt.SECRET_KEY_LENGTH=64;Pt.SEED_LENGTH=32;function je(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var BZ=new Uint8Array(32);BZ[0]=9;var Ox=je(),Ec=je([1]),jZ=je([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),VZ=je([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),u7=je([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),c7=je([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),zZ=je([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function Ys(e,t){for(let r=0;r<16;r++)e[r]=t[r]|0}function Tx(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function p7(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function Jd(e,t){let r=je(),n=je();for(let o=0;o<16;o++)n[o]=t[o];Tx(n),Tx(n),Tx(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,p7(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function m7(e,t){let r=0;for(let n=0;n<32;n++)r|=e[n]^t[n];return(1&r-1>>>8)-1}function f7(e,t){let r=new Uint8Array(32),n=new Uint8Array(32);return Jd(r,e),Jd(n,t),m7(r,n)}function g7(e){let t=new Uint8Array(32);return Jd(t,e),t[0]&1}function HZ(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function Qa(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function tl(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function It(e,t,r){let n,o,i=0,s=0,a=0,l=0,u=0,h=0,p=0,y=0,w=0,v=0,S=0,I=0,T=0,O=0,M=0,L=0,G=0,J=0,V=0,q=0,ce=0,me=0,fe=0,X=0,R=0,m=0,b=0,E=0,A=0,k=0,B=0,K=r[0],U=r[1],x=r[2],j=r[3],ie=r[4],D=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],Z=r[10],ee=r[11],W=r[12],le=r[13],re=r[14],ge=r[15];n=t[0],i+=n*K,s+=n*U,a+=n*x,l+=n*j,u+=n*ie,h+=n*D,p+=n*Y,y+=n*ne,w+=n*ae,v+=n*he,S+=n*Z,I+=n*ee,T+=n*W,O+=n*le,M+=n*re,L+=n*ge,n=t[1],s+=n*K,a+=n*U,l+=n*x,u+=n*j,h+=n*ie,p+=n*D,y+=n*Y,w+=n*ne,v+=n*ae,S+=n*he,I+=n*Z,T+=n*ee,O+=n*W,M+=n*le,L+=n*re,G+=n*ge,n=t[2],a+=n*K,l+=n*U,u+=n*x,h+=n*j,p+=n*ie,y+=n*D,w+=n*Y,v+=n*ne,S+=n*ae,I+=n*he,T+=n*Z,O+=n*ee,M+=n*W,L+=n*le,G+=n*re,J+=n*ge,n=t[3],l+=n*K,u+=n*U,h+=n*x,p+=n*j,y+=n*ie,w+=n*D,v+=n*Y,S+=n*ne,I+=n*ae,T+=n*he,O+=n*Z,M+=n*ee,L+=n*W,G+=n*le,J+=n*re,V+=n*ge,n=t[4],u+=n*K,h+=n*U,p+=n*x,y+=n*j,w+=n*ie,v+=n*D,S+=n*Y,I+=n*ne,T+=n*ae,O+=n*he,M+=n*Z,L+=n*ee,G+=n*W,J+=n*le,V+=n*re,q+=n*ge,n=t[5],h+=n*K,p+=n*U,y+=n*x,w+=n*j,v+=n*ie,S+=n*D,I+=n*Y,T+=n*ne,O+=n*ae,M+=n*he,L+=n*Z,G+=n*ee,J+=n*W,V+=n*le,q+=n*re,ce+=n*ge,n=t[6],p+=n*K,y+=n*U,w+=n*x,v+=n*j,S+=n*ie,I+=n*D,T+=n*Y,O+=n*ne,M+=n*ae,L+=n*he,G+=n*Z,J+=n*ee,V+=n*W,q+=n*le,ce+=n*re,me+=n*ge,n=t[7],y+=n*K,w+=n*U,v+=n*x,S+=n*j,I+=n*ie,T+=n*D,O+=n*Y,M+=n*ne,L+=n*ae,G+=n*he,J+=n*Z,V+=n*ee,q+=n*W,ce+=n*le,me+=n*re,fe+=n*ge,n=t[8],w+=n*K,v+=n*U,S+=n*x,I+=n*j,T+=n*ie,O+=n*D,M+=n*Y,L+=n*ne,G+=n*ae,J+=n*he,V+=n*Z,q+=n*ee,ce+=n*W,me+=n*le,fe+=n*re,X+=n*ge,n=t[9],v+=n*K,S+=n*U,I+=n*x,T+=n*j,O+=n*ie,M+=n*D,L+=n*Y,G+=n*ne,J+=n*ae,V+=n*he,q+=n*Z,ce+=n*ee,me+=n*W,fe+=n*le,X+=n*re,R+=n*ge,n=t[10],S+=n*K,I+=n*U,T+=n*x,O+=n*j,M+=n*ie,L+=n*D,G+=n*Y,J+=n*ne,V+=n*ae,q+=n*he,ce+=n*Z,me+=n*ee,fe+=n*W,X+=n*le,R+=n*re,m+=n*ge,n=t[11],I+=n*K,T+=n*U,O+=n*x,M+=n*j,L+=n*ie,G+=n*D,J+=n*Y,V+=n*ne,q+=n*ae,ce+=n*he,me+=n*Z,fe+=n*ee,X+=n*W,R+=n*le,m+=n*re,b+=n*ge,n=t[12],T+=n*K,O+=n*U,M+=n*x,L+=n*j,G+=n*ie,J+=n*D,V+=n*Y,q+=n*ne,ce+=n*ae,me+=n*he,fe+=n*Z,X+=n*ee,R+=n*W,m+=n*le,b+=n*re,E+=n*ge,n=t[13],O+=n*K,M+=n*U,L+=n*x,G+=n*j,J+=n*ie,V+=n*D,q+=n*Y,ce+=n*ne,me+=n*ae,fe+=n*he,X+=n*Z,R+=n*ee,m+=n*W,b+=n*le,E+=n*re,A+=n*ge,n=t[14],M+=n*K,L+=n*U,G+=n*x,J+=n*j,V+=n*ie,q+=n*D,ce+=n*Y,me+=n*ne,fe+=n*ae,X+=n*he,R+=n*Z,m+=n*ee,b+=n*W,E+=n*le,A+=n*re,k+=n*ge,n=t[15],L+=n*K,G+=n*U,J+=n*x,V+=n*j,q+=n*ie,ce+=n*D,me+=n*Y,fe+=n*ne,X+=n*ae,R+=n*he,m+=n*Z,b+=n*ee,E+=n*W,A+=n*le,k+=n*re,B+=n*ge,i+=38*G,s+=38*J,a+=38*V,l+=38*q,u+=38*ce,h+=38*me,p+=38*fe,y+=38*X,w+=38*R,v+=38*m,S+=38*b,I+=38*E,T+=38*A,O+=38*k,M+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=l,e[4]=u,e[5]=h,e[6]=p,e[7]=y,e[8]=w,e[9]=v,e[10]=S,e[11]=I,e[12]=T,e[13]=O,e[14]=M,e[15]=L}function el(e,t){It(e,t,t)}function y7(e,t){let r=je(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=253;n>=0;n--)el(r,r),n!==2&&n!==4&&It(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function KZ(e,t){let r=je(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=250;n>=0;n--)el(r,r),n!==1&&It(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function Dx(e,t){let r=je(),n=je(),o=je(),i=je(),s=je(),a=je(),l=je(),u=je(),h=je();tl(r,e[1],e[0]),tl(h,t[1],t[0]),It(r,r,h),Qa(n,e[0],e[1]),Qa(h,t[0],t[1]),It(n,n,h),It(o,e[3],t[3]),It(o,o,VZ),It(i,e[2],t[2]),Qa(i,i,i),tl(s,n,r),tl(a,i,o),Qa(l,i,o),Qa(u,n,r),It(e[0],s,a),It(e[1],u,l),It(e[2],l,a),It(e[3],s,u)}function d7(e,t,r){for(let n=0;n<4;n++)p7(e[n],t[n],r)}function Ax(e,t){let r=je(),n=je(),o=je();y7(o,t[2]),It(r,t[0],o),It(n,t[1],o),Jd(e,n),e[31]^=g7(r)<<7}function v7(e,t,r){Ys(e[0],Ox),Ys(e[1],Ec),Ys(e[2],Ec),Ys(e[3],Ox);for(let n=255;n>=0;--n){let o=r[n/8|0]>>(n&7)&1;d7(e,t,o),Dx(t,e),Dx(e,e),d7(e,t,o)}}function Mx(e,t){let r=[je(),je(),je(),je()];Ys(r[0],u7),Ys(r[1],c7),Ys(r[2],Ec),It(r[3],u7,c7),v7(e,r,t)}function w7(e){if(e.length!==Pt.SEED_LENGTH)throw new Error(`ed25519: seed must be ${Pt.SEED_LENGTH} bytes`);let t=(0,Zd.hash)(e);t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(32),n=[je(),je(),je(),je()];Mx(n,t),Ax(r,n);let o=new Uint8Array(64);return o.set(e),o.set(r,32),{publicKey:r,secretKey:o}}Pt.generateKeyPairFromSeed=w7;function qZ(e){let t=(0,UZ.randomBytes)(32,e),r=w7(t);return(0,h7.wipe)(t),r}Pt.generateKeyPair=qZ;function GZ(e){if(e.length!==Pt.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${Pt.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(e.subarray(32))}Pt.extractPublicKeyFromSecretKey=GZ;var Px=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function b7(e,t){let r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o<i;++o)t[o]+=r-16*t[n]*Px[o-(n-32)],r=Math.floor((t[o]+128)/256),t[o]-=r*256;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*Px[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*Px[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=t[n]&255}function Ix(e){let t=new Float64Array(64);for(let r=0;r<64;r++)t[r]=e[r];for(let r=0;r<64;r++)e[r]=0;b7(e,t)}function WZ(e,t){let r=new Float64Array(64),n=[je(),je(),je(),je()],o=(0,Zd.hash)(e.subarray(0,32));o[0]&=248,o[31]&=127,o[31]|=64;let i=new Uint8Array(64);i.set(o.subarray(32),32);let s=new Zd.SHA512;s.update(i.subarray(32)),s.update(t);let a=s.digest();s.clean(),Ix(a),Mx(n,a),Ax(i,n),s.reset(),s.update(i.subarray(0,32)),s.update(e.subarray(32)),s.update(t);let l=s.digest();Ix(l);for(let u=0;u<32;u++)r[u]=a[u];for(let u=0;u<32;u++)for(let h=0;h<32;h++)r[u+h]+=l[u]*o[h];return b7(i.subarray(32),r),i}Pt.sign=WZ;function _7(e,t){let r=je(),n=je(),o=je(),i=je(),s=je(),a=je(),l=je();return Ys(e[2],Ec),HZ(e[1],t),el(o,e[1]),It(i,o,jZ),tl(o,o,e[2]),Qa(i,e[2],i),el(s,i),el(a,s),It(l,a,s),It(r,l,o),It(r,r,i),KZ(r,r),It(r,r,o),It(r,r,i),It(r,r,i),It(e[0],r,i),el(n,e[0]),It(n,n,i),f7(n,o)&&It(e[0],e[0],zZ),el(n,e[0]),It(n,n,i),f7(n,o)?-1:(g7(e[0])===t[31]>>7&&tl(e[0],Ox,e[0]),It(e[3],e[0],e[1]),0)}function YZ(e,t,r){let n=new Uint8Array(32),o=[je(),je(),je(),je()],i=[je(),je(),je(),je()];if(r.length!==Pt.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${Pt.SIGNATURE_LENGTH} bytes`);if(_7(i,e))return!1;let s=new Zd.SHA512;s.update(r.subarray(0,32)),s.update(e),s.update(t);let a=s.digest();return Ix(a),v7(o,i,a),Mx(i,r.subarray(32)),Dx(o,i),Ax(n,o),!m7(r,n)}Pt.verify=YZ;function XZ(e){let t=[je(),je(),je(),je()];if(_7(t,e))throw new Error("Ed25519: invalid public key");let r=je(),n=je(),o=t[1];Qa(r,Ec,o),tl(n,Ec,o),y7(n,n),It(r,r,n);let i=new Uint8Array(32);return Jd(i,r),i}Pt.convertPublicKeyToX25519=XZ;function ZZ(e){let t=(0,Zd.hash)(e.subarray(0,32));t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(t.subarray(0,32));return(0,h7.wipe)(t),r}Pt.convertSecretKeyToX25519=ZZ});var ik=_e(fy=>{"use strict";c();d();f();Object.defineProperty(fy,"__esModule",{value:!0});var en=bc(),n3=_o(),fQ=20;function dQ(e,t,r){for(var n=1634760805,o=857760878,i=2036477234,s=1797285236,a=r[3]<<24|r[2]<<16|r[1]<<8|r[0],l=r[7]<<24|r[6]<<16|r[5]<<8|r[4],u=r[11]<<24|r[10]<<16|r[9]<<8|r[8],h=r[15]<<24|r[14]<<16|r[13]<<8|r[12],p=r[19]<<24|r[18]<<16|r[17]<<8|r[16],y=r[23]<<24|r[22]<<16|r[21]<<8|r[20],w=r[27]<<24|r[26]<<16|r[25]<<8|r[24],v=r[31]<<24|r[30]<<16|r[29]<<8|r[28],S=t[3]<<24|t[2]<<16|t[1]<<8|t[0],I=t[7]<<24|t[6]<<16|t[5]<<8|t[4],T=t[11]<<24|t[10]<<16|t[9]<<8|t[8],O=t[15]<<24|t[14]<<16|t[13]<<8|t[12],M=n,L=o,G=i,J=s,V=a,q=l,ce=u,me=h,fe=p,X=y,R=w,m=v,b=S,E=I,A=T,k=O,B=0;B<fQ;B+=2)M=M+V|0,b^=M,b=b>>>32-16|b<<16,fe=fe+b|0,V^=fe,V=V>>>32-12|V<<12,L=L+q|0,E^=L,E=E>>>32-16|E<<16,X=X+E|0,q^=X,q=q>>>32-12|q<<12,G=G+ce|0,A^=G,A=A>>>32-16|A<<16,R=R+A|0,ce^=R,ce=ce>>>32-12|ce<<12,J=J+me|0,k^=J,k=k>>>32-16|k<<16,m=m+k|0,me^=m,me=me>>>32-12|me<<12,G=G+ce|0,A^=G,A=A>>>32-8|A<<8,R=R+A|0,ce^=R,ce=ce>>>32-7|ce<<7,J=J+me|0,k^=J,k=k>>>32-8|k<<8,m=m+k|0,me^=m,me=me>>>32-7|me<<7,L=L+q|0,E^=L,E=E>>>32-8|E<<8,X=X+E|0,q^=X,q=q>>>32-7|q<<7,M=M+V|0,b^=M,b=b>>>32-8|b<<8,fe=fe+b|0,V^=fe,V=V>>>32-7|V<<7,M=M+q|0,k^=M,k=k>>>32-16|k<<16,R=R+k|0,q^=R,q=q>>>32-12|q<<12,L=L+ce|0,b^=L,b=b>>>32-16|b<<16,m=m+b|0,ce^=m,ce=ce>>>32-12|ce<<12,G=G+me|0,E^=G,E=E>>>32-16|E<<16,fe=fe+E|0,me^=fe,me=me>>>32-12|me<<12,J=J+V|0,A^=J,A=A>>>32-16|A<<16,X=X+A|0,V^=X,V=V>>>32-12|V<<12,G=G+me|0,E^=G,E=E>>>32-8|E<<8,fe=fe+E|0,me^=fe,me=me>>>32-7|me<<7,J=J+V|0,A^=J,A=A>>>32-8|A<<8,X=X+A|0,V^=X,V=V>>>32-7|V<<7,L=L+ce|0,b^=L,b=b>>>32-8|b<<8,m=m+b|0,ce^=m,ce=ce>>>32-7|ce<<7,M=M+q|0,k^=M,k=k>>>32-8|k<<8,R=R+k|0,q^=R,q=q>>>32-7|q<<7;en.writeUint32LE(M+n|0,e,0),en.writeUint32LE(L+o|0,e,4),en.writeUint32LE(G+i|0,e,8),en.writeUint32LE(J+s|0,e,12),en.writeUint32LE(V+a|0,e,16),en.writeUint32LE(q+l|0,e,20),en.writeUint32LE(ce+u|0,e,24),en.writeUint32LE(me+h|0,e,28),en.writeUint32LE(fe+p|0,e,32),en.writeUint32LE(X+y|0,e,36),en.writeUint32LE(R+w|0,e,40),en.writeUint32LE(m+v|0,e,44),en.writeUint32LE(b+S|0,e,48),en.writeUint32LE(E+I|0,e,52),en.writeUint32LE(A+T|0,e,56),en.writeUint32LE(k+O|0,e,60)}function ok(e,t,r,n,o){if(o===void 0&&(o=0),e.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(n.length<r.length)throw new Error("ChaCha: destination is shorter than source");var i,s;if(o===0){if(t.length!==8&&t.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");i=new Uint8Array(16),s=i.length-t.length,i.set(t,s)}else{if(t.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");i=t,s=o}for(var a=new Uint8Array(64),l=0;l<r.length;l+=64){dQ(a,i,e);for(var u=l;u<l+64&&u<r.length;u++)n[u]=r[u]^a[u-l];pQ(i,0,s)}return n3.wipe(a),o===0&&n3.wipe(i),n}fy.streamXOR=ok;function hQ(e,t,r,n){return n===void 0&&(n=0),n3.wipe(r),ok(e,t,r,r,n)}fy.stream=hQ;function pQ(e,t,r){for(var n=1;r--;)n=n+(e[t]&255)|0,e[t]=n&255,n>>>=8,t++;if(n>0)throw new Error("ChaCha: counter overflow")}});var dy=_e(Ac=>{"use strict";c();d();f();Object.defineProperty(Ac,"__esModule",{value:!0});function mQ(e,t,r){return~(e-1)&t|e-1&r}Ac.select=mQ;function gQ(e,t){return(e|0)-(t|0)-1>>>31&1}Ac.lessOrEqual=gQ;function sk(e,t){if(e.length!==t.length)return 0;for(var r=0,n=0;n<e.length;n++)r|=e[n]^t[n];return 1&r-1>>>8}Ac.compare=sk;function yQ(e,t){return e.length===0||t.length===0?!1:sk(e,t)!==0}Ac.equal=yQ});var lk=_e(Vi=>{"use strict";c();d();f();Object.defineProperty(Vi,"__esModule",{value:!0});var vQ=dy(),hy=_o();Vi.DIGEST_LENGTH=16;var ak=function(){function e(t){this.digestLength=Vi.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var r=t[0]|t[1]<<8;this._r[0]=r&8191;var n=t[2]|t[3]<<8;this._r[1]=(r>>>13|n<<3)&8191;var o=t[4]|t[5]<<8;this._r[2]=(n>>>10|o<<6)&7939;var i=t[6]|t[7]<<8;this._r[3]=(o>>>7|i<<9)&8191;var s=t[8]|t[9]<<8;this._r[4]=(i>>>4|s<<12)&255,this._r[5]=s>>>1&8190;var a=t[10]|t[11]<<8;this._r[6]=(s>>>14|a<<2)&8191;var l=t[12]|t[13]<<8;this._r[7]=(a>>>11|l<<5)&8065;var u=t[14]|t[15]<<8;this._r[8]=(l>>>8|u<<8)&8191,this._r[9]=u>>>5&127,this._pad[0]=t[16]|t[17]<<8,this._pad[1]=t[18]|t[19]<<8,this._pad[2]=t[20]|t[21]<<8,this._pad[3]=t[22]|t[23]<<8,this._pad[4]=t[24]|t[25]<<8,this._pad[5]=t[26]|t[27]<<8,this._pad[6]=t[28]|t[29]<<8,this._pad[7]=t[30]|t[31]<<8}return e.prototype._blocks=function(t,r,n){for(var o=this._fin?0:2048,i=this._h[0],s=this._h[1],a=this._h[2],l=this._h[3],u=this._h[4],h=this._h[5],p=this._h[6],y=this._h[7],w=this._h[8],v=this._h[9],S=this._r[0],I=this._r[1],T=this._r[2],O=this._r[3],M=this._r[4],L=this._r[5],G=this._r[6],J=this._r[7],V=this._r[8],q=this._r[9];n>=16;){var ce=t[r+0]|t[r+1]<<8;i+=ce&8191;var me=t[r+2]|t[r+3]<<8;s+=(ce>>>13|me<<3)&8191;var fe=t[r+4]|t[r+5]<<8;a+=(me>>>10|fe<<6)&8191;var X=t[r+6]|t[r+7]<<8;l+=(fe>>>7|X<<9)&8191;var R=t[r+8]|t[r+9]<<8;u+=(X>>>4|R<<12)&8191,h+=R>>>1&8191;var m=t[r+10]|t[r+11]<<8;p+=(R>>>14|m<<2)&8191;var b=t[r+12]|t[r+13]<<8;y+=(m>>>11|b<<5)&8191;var E=t[r+14]|t[r+15]<<8;w+=(b>>>8|E<<8)&8191,v+=E>>>5|o;var A=0,k=A;k+=i*S,k+=s*(5*q),k+=a*(5*V),k+=l*(5*J),k+=u*(5*G),A=k>>>13,k&=8191,k+=h*(5*L),k+=p*(5*M),k+=y*(5*O),k+=w*(5*T),k+=v*(5*I),A+=k>>>13,k&=8191;var B=A;B+=i*I,B+=s*S,B+=a*(5*q),B+=l*(5*V),B+=u*(5*J),A=B>>>13,B&=8191,B+=h*(5*G),B+=p*(5*L),B+=y*(5*M),B+=w*(5*O),B+=v*(5*T),A+=B>>>13,B&=8191;var K=A;K+=i*T,K+=s*I,K+=a*S,K+=l*(5*q),K+=u*(5*V),A=K>>>13,K&=8191,K+=h*(5*J),K+=p*(5*G),K+=y*(5*L),K+=w*(5*M),K+=v*(5*O),A+=K>>>13,K&=8191;var U=A;U+=i*O,U+=s*T,U+=a*I,U+=l*S,U+=u*(5*q),A=U>>>13,U&=8191,U+=h*(5*V),U+=p*(5*J),U+=y*(5*G),U+=w*(5*L),U+=v*(5*M),A+=U>>>13,U&=8191;var x=A;x+=i*M,x+=s*O,x+=a*T,x+=l*I,x+=u*S,A=x>>>13,x&=8191,x+=h*(5*q),x+=p*(5*V),x+=y*(5*J),x+=w*(5*G),x+=v*(5*L),A+=x>>>13,x&=8191;var j=A;j+=i*L,j+=s*M,j+=a*O,j+=l*T,j+=u*I,A=j>>>13,j&=8191,j+=h*S,j+=p*(5*q),j+=y*(5*V),j+=w*(5*J),j+=v*(5*G),A+=j>>>13,j&=8191;var ie=A;ie+=i*G,ie+=s*L,ie+=a*M,ie+=l*O,ie+=u*T,A=ie>>>13,ie&=8191,ie+=h*I,ie+=p*S,ie+=y*(5*q),ie+=w*(5*V),ie+=v*(5*J),A+=ie>>>13,ie&=8191;var D=A;D+=i*J,D+=s*G,D+=a*L,D+=l*M,D+=u*O,A=D>>>13,D&=8191,D+=h*T,D+=p*I,D+=y*S,D+=w*(5*q),D+=v*(5*V),A+=D>>>13,D&=8191;var Y=A;Y+=i*V,Y+=s*J,Y+=a*G,Y+=l*L,Y+=u*M,A=Y>>>13,Y&=8191,Y+=h*O,Y+=p*T,Y+=y*I,Y+=w*S,Y+=v*(5*q),A+=Y>>>13,Y&=8191;var ne=A;ne+=i*q,ne+=s*V,ne+=a*J,ne+=l*G,ne+=u*L,A=ne>>>13,ne&=8191,ne+=h*M,ne+=p*O,ne+=y*T,ne+=w*I,ne+=v*S,A+=ne>>>13,ne&=8191,A=(A<<2)+A|0,A=A+k|0,k=A&8191,A=A>>>13,B+=A,i=k,s=B,a=K,l=U,u=x,h=j,p=ie,y=D,w=Y,v=ne,r+=16,n-=16}this._h[0]=i,this._h[1]=s,this._h[2]=a,this._h[3]=l,this._h[4]=u,this._h[5]=h,this._h[6]=p,this._h[7]=y,this._h[8]=w,this._h[9]=v},e.prototype.finish=function(t,r){r===void 0&&(r=0);var n=new Uint16Array(10),o,i,s,a;if(this._leftover){for(a=this._leftover,this._buffer[a++]=1;a<16;a++)this._buffer[a]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(o=this._h[1]>>>13,this._h[1]&=8191,a=2;a<10;a++)this._h[a]+=o,o=this._h[a]>>>13,this._h[a]&=8191;for(this._h[0]+=o*5,o=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=o,o=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=o,n[0]=this._h[0]+5,o=n[0]>>>13,n[0]&=8191,a=1;a<10;a++)n[a]=this._h[a]+o,o=n[a]>>>13,n[a]&=8191;for(n[9]-=1<<13,i=(o^1)-1,a=0;a<10;a++)n[a]&=i;for(i=~i,a=0;a<10;a++)this._h[a]=this._h[a]&i|n[a];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,s=this._h[0]+this._pad[0],this._h[0]=s&65535,a=1;a<8;a++)s=(this._h[a]+this._pad[a]|0)+(s>>>16)|0,this._h[a]=s&65535;return t[r+0]=this._h[0]>>>0,t[r+1]=this._h[0]>>>8,t[r+2]=this._h[1]>>>0,t[r+3]=this._h[1]>>>8,t[r+4]=this._h[2]>>>0,t[r+5]=this._h[2]>>>8,t[r+6]=this._h[3]>>>0,t[r+7]=this._h[3]>>>8,t[r+8]=this._h[4]>>>0,t[r+9]=this._h[4]>>>8,t[r+10]=this._h[5]>>>0,t[r+11]=this._h[5]>>>8,t[r+12]=this._h[6]>>>0,t[r+13]=this._h[6]>>>8,t[r+14]=this._h[7]>>>0,t[r+15]=this._h[7]>>>8,this._finished=!0,this},e.prototype.update=function(t){var r=0,n=t.length,o;if(this._leftover){o=16-this._leftover,o>n&&(o=n);for(var i=0;i<o;i++)this._buffer[this._leftover+i]=t[r+i];if(n-=o,r+=o,this._leftover+=o,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(n>=16&&(o=n-n%16,this._blocks(t,r,o),r+=o,n-=o),n){for(var i=0;i<n;i++)this._buffer[this._leftover+i]=t[r+i];this._leftover+=n}return this},e.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var t=new Uint8Array(16);return this.finish(t),t},e.prototype.clean=function(){return hy.wipe(this._buffer),hy.wipe(this._r),hy.wipe(this._h),hy.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},e}();Vi.Poly1305=ak;function wQ(e,t){var r=new ak(e);r.update(t);var n=r.digest();return r.clean(),n}Vi.oneTimeAuth=wQ;function bQ(e,t){return e.length!==Vi.DIGEST_LENGTH||t.length!==Vi.DIGEST_LENGTH?!1:vQ.equal(e,t)}Vi.equal=bQ});var my=_e(zi=>{"use strict";c();d();f();Object.defineProperty(zi,"__esModule",{value:!0});var py=ik(),_Q=lk(),oh=_o(),uk=bc(),xQ=dy();zi.KEY_LENGTH=32;zi.NONCE_LENGTH=12;zi.TAG_LENGTH=16;var ck=new Uint8Array(16),EQ=function(){function e(t){if(this.nonceLength=zi.NONCE_LENGTH,this.tagLength=zi.TAG_LENGTH,t.length!==zi.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(t)}return e.prototype.seal=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);py.stream(this._key,i,s,4);var a=r.length+this.tagLength,l;if(o){if(o.length!==a)throw new Error("ChaCha20Poly1305: incorrect destination length");l=o}else l=new Uint8Array(a);return py.streamXOR(this._key,i,r,l,4),this._authenticate(l.subarray(l.length-this.tagLength,l.length),s,l.subarray(0,l.length-this.tagLength),n),oh.wipe(i),l},e.prototype.open=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(r.length<this.tagLength)return null;var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);py.stream(this._key,i,s,4);var a=new Uint8Array(this.tagLength);if(this._authenticate(a,s,r.subarray(0,r.length-this.tagLength),n),!xQ.equal(a,r.subarray(r.length-this.tagLength,r.length)))return null;var l=r.length-this.tagLength,u;if(o){if(o.length!==l)throw new Error("ChaCha20Poly1305: incorrect destination length");u=o}else u=new Uint8Array(l);return py.streamXOR(this._key,i,r.subarray(0,r.length-this.tagLength),u,4),oh.wipe(i),u},e.prototype.clean=function(){return oh.wipe(this._key),this},e.prototype._authenticate=function(t,r,n,o){var i=new _Q.Poly1305(r);o&&(i.update(o),o.length%16>0&&i.update(ck.subarray(o.length%16))),i.update(n),n.length%16>0&&i.update(ck.subarray(n.length%16));var s=new Uint8Array(8);o&&uk.writeUint64LE(o.length,s),i.update(s),uk.writeUint64LE(n.length,s),i.update(s);for(var a=i.digest(),l=0;l<a.length;l++)t[l]=a[l];i.clean(),oh.wipe(a),oh.wipe(s)},e}();zi.ChaCha20Poly1305=EQ});var fk=_e(o3=>{"use strict";c();d();f();Object.defineProperty(o3,"__esModule",{value:!0});function SQ(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}o3.isSerializableHash=SQ});var hk=_e(ih=>{"use strict";c();d();f();Object.defineProperty(ih,"__esModule",{value:!0});var ui=fk(),CQ=dy(),TQ=_o(),dk=function(){function e(t,r){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var n=new Uint8Array(this.blockSize);r.length>this.blockSize?this._inner.update(r).finish(n).clean():n.set(r);for(var o=0;o<n.length;o++)n[o]^=54;this._inner.update(n);for(var o=0;o<n.length;o++)n[o]^=106;this._outer.update(n),ui.isSerializableHash(this._inner)&&ui.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),TQ.wipe(n)}return e.prototype.reset=function(){if(!ui.isSerializableHash(this._inner)||!ui.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){ui.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),ui.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(t){return this._inner.update(t),this},e.prototype.finish=function(t){return this._finished?(this._outer.finish(t),this):(this._inner.finish(t),this._outer.update(t.subarray(0,this.digestLength)).finish(t),this._finished=!0,this)},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(!ui.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(t){if(!ui.isSerializableHash(this._inner)||!ui.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(t),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(t){if(!ui.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(t)},e}();ih.HMAC=dk;function PQ(e,t,r){var n=new dk(e,t);n.update(r);var o=n.digest();return n.clean(),o}ih.hmac=PQ;ih.equal=CQ.equal});var gy=_e(i3=>{"use strict";c();d();f();Object.defineProperty(i3,"__esModule",{value:!0});var pk=hk(),mk=_o(),OQ=function(){function e(t,r,n,o){n===void 0&&(n=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=o;var i=pk.hmac(this._hash,n,r);this._hmac=new pk.HMAC(t,i),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(t===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(t){for(var r=new Uint8Array(t),n=0;n<r.length;n++)this._bufpos===this._buffer.length&&this._fillBuffer(),r[n]=this._buffer[this._bufpos++];return r},e.prototype.clean=function(){this._hmac.clean(),mk.wipe(this._buffer),mk.wipe(this._counter),this._bufpos=0},e}();i3.HKDF=OQ});var wy=_e(Zs=>{"use strict";c();d();f();Object.defineProperty(Zs,"__esModule",{value:!0});var vy=bc(),yy=_o();Zs.DIGEST_LENGTH=32;Zs.BLOCK_SIZE=64;var gk=function(){function e(){this.digestLength=Zs.DIGEST_LENGTH,this.blockSize=Zs.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){yy.wipe(this._buffer),yy.wipe(this._temp),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(s3(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=s3(this._temp,this._state,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%64<56?64:128;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;vy.writeUint32BE(o,this._buffer,s-8),vy.writeUint32BE(i,this._buffer,s-4),s3(this._temp,this._state,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/4;a++)vy.writeUint32BE(this._state[a],t,a*4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){yy.wipe(t.state),t.buffer&&yy.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();Zs.SHA256=gk;var DQ=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s3(e,t,r,n,o){for(;o>=64;){for(var i=t[0],s=t[1],a=t[2],l=t[3],u=t[4],h=t[5],p=t[6],y=t[7],w=0;w<16;w++){var v=n+w*4;e[w]=vy.readUint32BE(r,v)}for(var w=16;w<64;w++){var S=e[w-2],I=(S>>>17|S<<32-17)^(S>>>19|S<<32-19)^S>>>10;S=e[w-15];var T=(S>>>7|S<<32-7)^(S>>>18|S<<32-18)^S>>>3;e[w]=(I+e[w-7]|0)+(T+e[w-16]|0)}for(var w=0;w<64;w++){var I=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&h^~u&p)|0)+(y+(DQ[w]+e[w]|0)|0)|0,T=((i>>>2|i<<32-2)^(i>>>13|i<<32-13)^(i>>>22|i<<32-22))+(i&s^i&a^s&a)|0;y=p,p=h,h=u,u=l+I|0,l=a,a=s,s=i,i=I+T|0}t[0]+=i,t[1]+=s,t[2]+=a,t[3]+=l,t[4]+=u,t[5]+=h,t[6]+=p,t[7]+=y,n+=64,o-=64}return n}function IQ(e){var t=new gk;t.update(e);var r=t.digest();return t.clean(),r}Zs.hash=IQ});var xy=_e(ir=>{"use strict";c();d();f();Object.defineProperty(ir,"__esModule",{value:!0});ir.sharedKey=ir.generateKeyPair=ir.generateKeyPairFromSeed=ir.scalarMultBase=ir.scalarMult=ir.SHARED_KEY_LENGTH=ir.SECRET_KEY_LENGTH=ir.PUBLIC_KEY_LENGTH=void 0;var AQ=Ja(),MQ=_o();ir.PUBLIC_KEY_LENGTH=32;ir.SECRET_KEY_LENGTH=32;ir.SHARED_KEY_LENGTH=32;function ci(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var yk=new Uint8Array(32);yk[0]=9;var RQ=ci([56129,1]);function a3(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function sh(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function NQ(e,t){let r=ci(),n=ci();for(let o=0;o<16;o++)n[o]=t[o];a3(n),a3(n),a3(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,sh(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function kQ(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function by(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function _y(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function Hi(e,t,r){let n,o,i=0,s=0,a=0,l=0,u=0,h=0,p=0,y=0,w=0,v=0,S=0,I=0,T=0,O=0,M=0,L=0,G=0,J=0,V=0,q=0,ce=0,me=0,fe=0,X=0,R=0,m=0,b=0,E=0,A=0,k=0,B=0,K=r[0],U=r[1],x=r[2],j=r[3],ie=r[4],D=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],Z=r[10],ee=r[11],W=r[12],le=r[13],re=r[14],ge=r[15];n=t[0],i+=n*K,s+=n*U,a+=n*x,l+=n*j,u+=n*ie,h+=n*D,p+=n*Y,y+=n*ne,w+=n*ae,v+=n*he,S+=n*Z,I+=n*ee,T+=n*W,O+=n*le,M+=n*re,L+=n*ge,n=t[1],s+=n*K,a+=n*U,l+=n*x,u+=n*j,h+=n*ie,p+=n*D,y+=n*Y,w+=n*ne,v+=n*ae,S+=n*he,I+=n*Z,T+=n*ee,O+=n*W,M+=n*le,L+=n*re,G+=n*ge,n=t[2],a+=n*K,l+=n*U,u+=n*x,h+=n*j,p+=n*ie,y+=n*D,w+=n*Y,v+=n*ne,S+=n*ae,I+=n*he,T+=n*Z,O+=n*ee,M+=n*W,L+=n*le,G+=n*re,J+=n*ge,n=t[3],l+=n*K,u+=n*U,h+=n*x,p+=n*j,y+=n*ie,w+=n*D,v+=n*Y,S+=n*ne,I+=n*ae,T+=n*he,O+=n*Z,M+=n*ee,L+=n*W,G+=n*le,J+=n*re,V+=n*ge,n=t[4],u+=n*K,h+=n*U,p+=n*x,y+=n*j,w+=n*ie,v+=n*D,S+=n*Y,I+=n*ne,T+=n*ae,O+=n*he,M+=n*Z,L+=n*ee,G+=n*W,J+=n*le,V+=n*re,q+=n*ge,n=t[5],h+=n*K,p+=n*U,y+=n*x,w+=n*j,v+=n*ie,S+=n*D,I+=n*Y,T+=n*ne,O+=n*ae,M+=n*he,L+=n*Z,G+=n*ee,J+=n*W,V+=n*le,q+=n*re,ce+=n*ge,n=t[6],p+=n*K,y+=n*U,w+=n*x,v+=n*j,S+=n*ie,I+=n*D,T+=n*Y,O+=n*ne,M+=n*ae,L+=n*he,G+=n*Z,J+=n*ee,V+=n*W,q+=n*le,ce+=n*re,me+=n*ge,n=t[7],y+=n*K,w+=n*U,v+=n*x,S+=n*j,I+=n*ie,T+=n*D,O+=n*Y,M+=n*ne,L+=n*ae,G+=n*he,J+=n*Z,V+=n*ee,q+=n*W,ce+=n*le,me+=n*re,fe+=n*ge,n=t[8],w+=n*K,v+=n*U,S+=n*x,I+=n*j,T+=n*ie,O+=n*D,M+=n*Y,L+=n*ne,G+=n*ae,J+=n*he,V+=n*Z,q+=n*ee,ce+=n*W,me+=n*le,fe+=n*re,X+=n*ge,n=t[9],v+=n*K,S+=n*U,I+=n*x,T+=n*j,O+=n*ie,M+=n*D,L+=n*Y,G+=n*ne,J+=n*ae,V+=n*he,q+=n*Z,ce+=n*ee,me+=n*W,fe+=n*le,X+=n*re,R+=n*ge,n=t[10],S+=n*K,I+=n*U,T+=n*x,O+=n*j,M+=n*ie,L+=n*D,G+=n*Y,J+=n*ne,V+=n*ae,q+=n*he,ce+=n*Z,me+=n*ee,fe+=n*W,X+=n*le,R+=n*re,m+=n*ge,n=t[11],I+=n*K,T+=n*U,O+=n*x,M+=n*j,L+=n*ie,G+=n*D,J+=n*Y,V+=n*ne,q+=n*ae,ce+=n*he,me+=n*Z,fe+=n*ee,X+=n*W,R+=n*le,m+=n*re,b+=n*ge,n=t[12],T+=n*K,O+=n*U,M+=n*x,L+=n*j,G+=n*ie,J+=n*D,V+=n*Y,q+=n*ne,ce+=n*ae,me+=n*he,fe+=n*Z,X+=n*ee,R+=n*W,m+=n*le,b+=n*re,E+=n*ge,n=t[13],O+=n*K,M+=n*U,L+=n*x,G+=n*j,J+=n*ie,V+=n*D,q+=n*Y,ce+=n*ne,me+=n*ae,fe+=n*he,X+=n*Z,R+=n*ee,m+=n*W,b+=n*le,E+=n*re,A+=n*ge,n=t[14],M+=n*K,L+=n*U,G+=n*x,J+=n*j,V+=n*ie,q+=n*D,ce+=n*Y,me+=n*ne,fe+=n*ae,X+=n*he,R+=n*Z,m+=n*ee,b+=n*W,E+=n*le,A+=n*re,k+=n*ge,n=t[15],L+=n*K,G+=n*U,J+=n*x,V+=n*j,q+=n*ie,ce+=n*D,me+=n*Y,fe+=n*ne,X+=n*ae,R+=n*he,m+=n*Z,b+=n*ee,E+=n*W,A+=n*le,k+=n*re,B+=n*ge,i+=38*G,s+=38*J,a+=38*V,l+=38*q,u+=38*ce,h+=38*me,p+=38*fe,y+=38*X,w+=38*R,v+=38*m,S+=38*b,I+=38*E,T+=38*A,O+=38*k,M+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=l,e[4]=u,e[5]=h,e[6]=p,e[7]=y,e[8]=w,e[9]=v,e[10]=S,e[11]=I,e[12]=T,e[13]=O,e[14]=M,e[15]=L}function ah(e,t){Hi(e,t,t)}function LQ(e,t){let r=ci();for(let n=0;n<16;n++)r[n]=t[n];for(let n=253;n>=0;n--)ah(r,r),n!==2&&n!==4&&Hi(r,r,t);for(let n=0;n<16;n++)e[n]=r[n]}function l3(e,t){let r=new Uint8Array(32),n=new Float64Array(80),o=ci(),i=ci(),s=ci(),a=ci(),l=ci(),u=ci();for(let w=0;w<31;w++)r[w]=e[w];r[31]=e[31]&127|64,r[0]&=248,kQ(n,t);for(let w=0;w<16;w++)i[w]=n[w];o[0]=a[0]=1;for(let w=254;w>=0;--w){let v=r[w>>>3]>>>(w&7)&1;sh(o,i,v),sh(s,a,v),by(l,o,s),_y(o,o,s),by(s,i,a),_y(i,i,a),ah(a,l),ah(u,o),Hi(o,s,o),Hi(s,i,l),by(l,o,s),_y(o,o,s),ah(i,o),_y(s,a,u),Hi(o,s,RQ),by(o,o,a),Hi(s,s,o),Hi(o,a,u),Hi(a,i,n),ah(i,l),sh(o,i,v),sh(s,a,v)}for(let w=0;w<16;w++)n[w+16]=o[w],n[w+32]=s[w],n[w+48]=i[w],n[w+64]=a[w];let h=n.subarray(32),p=n.subarray(16);LQ(h,h),Hi(p,p,h);let y=new Uint8Array(32);return NQ(y,p),y}ir.scalarMult=l3;function vk(e){return l3(e,yk)}ir.scalarMultBase=vk;function wk(e){if(e.length!==ir.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${ir.SECRET_KEY_LENGTH} bytes`);let t=new Uint8Array(e);return{publicKey:vk(t),secretKey:t}}ir.generateKeyPairFromSeed=wk;function FQ(e){let t=(0,AQ.randomBytes)(32,e),r=wk(t);return(0,MQ.wipe)(t),r}ir.generateKeyPair=FQ;function $Q(e,t,r=!1){if(e.length!==ir.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(t.length!==ir.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let n=l3(e,t);if(r){let o=0;for(let i=0;i<n.length;i++)o|=n[i];if(o===0)throw new Error("X25519: invalid shared key")}return n}ir.sharedKey=$Q});var ol=_e($t=>{"use strict";c();d();f();Object.defineProperty($t,"__esModule",{value:!0});$t.getLocalStorage=$t.getLocalStorageOrThrow=$t.getCrypto=$t.getCryptoOrThrow=$t.getLocation=$t.getLocationOrThrow=$t.getNavigator=$t.getNavigatorOrThrow=$t.getDocument=$t.getDocumentOrThrow=$t.getFromWindowOrThrow=$t.getFromWindow=void 0;function nl(e){let t;return typeof window<"u"&&typeof window[e]<"u"&&(t=window[e]),t}$t.getFromWindow=nl;function Rc(e){let t=nl(e);if(!t)throw new Error(`${e} is not defined in Window`);return t}$t.getFromWindowOrThrow=Rc;function JQ(){return Rc("document")}$t.getDocumentOrThrow=JQ;function QQ(){return nl("document")}$t.getDocument=QQ;function eee(){return Rc("navigator")}$t.getNavigatorOrThrow=eee;function tee(){return nl("navigator")}$t.getNavigator=tee;function ree(){return Rc("location")}$t.getLocationOrThrow=ree;function nee(){return nl("location")}$t.getLocation=nee;function oee(){return Rc("crypto")}$t.getCryptoOrThrow=oee;function iee(){return nl("crypto")}$t.getCrypto=iee;function see(){return Rc("localStorage")}$t.getLocalStorageOrThrow=see;function aee(){return nl("localStorage")}$t.getLocalStorage=aee});var Ok=_e(Sy=>{"use strict";c();d();f();Object.defineProperty(Sy,"__esModule",{value:!0});Sy.getWindowMetadata=void 0;var Pk=ol();function lee(){let e,t;try{e=Pk.getDocumentOrThrow(),t=Pk.getLocationOrThrow()}catch(p){return null}function r(){let p=e.getElementsByTagName("link"),y=[];for(let w=0;w<p.length;w++){let v=p[w],S=v.getAttribute("rel");if(S&&S.toLowerCase().indexOf("icon")>-1){let I=v.getAttribute("href");if(I)if(I.toLowerCase().indexOf("https:")===-1&&I.toLowerCase().indexOf("http:")===-1&&I.indexOf("//")!==0){let T=t.protocol+"//"+t.host;if(I.indexOf("/")===0)T+=I;else{let O=t.pathname.split("/");O.pop(),T+=O.join("/")+"/"+I}y.push(T)}else if(I.indexOf("//")===0){let T=t.protocol+I;y.push(T)}else y.push(I)}}return y}function n(...p){let y=e.getElementsByTagName("meta");for(let w=0;w<y.length;w++){let v=y[w],S=["itemprop","property","name"].map(I=>v.getAttribute(I)).filter(I=>I?p.includes(I):!1);if(S.length&&S){let I=v.getAttribute("content");if(I)return I}}return""}function o(){let p=n("name","og:site_name","og:title","twitter:title");return p||(p=e.title),p}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),l=t.origin,u=r();return{description:a,url:l,icons:u,name:s}}Sy.getWindowMetadata=lee});var Cy=_e((j3e,Dk)=>{"use strict";c();d();f();Dk.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)});var Ty=_e((V3e,Rk)=>{"use strict";c();d();f();var Mk="%[a-f0-9]{2}",Ik=new RegExp("("+Mk+")|([^%]+?)","gi"),Ak=new RegExp("("+Mk+")+","gi");function c3(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],c3(r),c3(n))}function uee(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(Ik)||[],r=1;r<t.length;r++)e=c3(t,r).join(""),t=e.match(Ik)||[];return e}}function cee(e){for(var t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},r=Ak.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(a){var n=uee(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Ak.exec(e)}t["%C2"]="\uFFFD";for(var o=Object.keys(t),i=0;i<o.length;i++){var s=o[i];e=e.replace(new RegExp(s,"g"),t[s])}return e}Rk.exports=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return cee(e)}}});var Py=_e((z3e,Nk)=>{"use strict";c();d();f();Nk.exports=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];let r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}});var Oy=_e((H3e,kk)=>{"use strict";c();d();f();kk.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var s=n[i],a=e[s];(o?t.indexOf(s)!==-1:t(s,a,e))&&(r[s]=a)}return r}});var zk=_e(Mn=>{"use strict";c();d();f();var fee=Cy(),dee=Ty(),Fk=Py(),hee=Oy(),pee=e=>e==null,f3=Symbol("encodeFragmentIdentifier");function mee(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[lr(t,e),"[",o,"]"].join("")]:[...r,[lr(t,e),"[",lr(o,e),"]=",lr(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[lr(t,e),"[]"].join("")]:[...r,[lr(t,e),"[]=",lr(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[lr(t,e),":list="].join("")]:[...r,[lr(t,e),":list=",lr(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[lr(r,e),t,lr(o,e)].join("")]:[[n,lr(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,lr(t,e)]:[...r,[lr(t,e),"=",lr(n,e)].join("")]}}function gee(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&Ki(n,e).includes(e.arrayFormatSeparator);n=s?Ki(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(l=>Ki(l,e)):n===null?n:Ki(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&Ki(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>Ki(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function $k(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function lr(e,t){return t.encode?t.strict?fee(e):encodeURIComponent(e):e}function Ki(e,t){return t.decode?dee(e):e}function Uk(e){return Array.isArray(e)?e.sort():typeof e=="object"?Uk(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function Bk(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function yee(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function jk(e){e=Bk(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Lk(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function Vk(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),$k(t.arrayFormatSeparator);let r=gee(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=Fk(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ki(s,t),r(Ki(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=Lk(i[s],t);else n[o]=Lk(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=Uk(s):o[i]=s,o},Object.create(null))}Mn.extract=jk;Mn.parse=Vk;Mn.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),$k(t.arrayFormatSeparator);let r=s=>t.skipNull&&pee(e[s])||t.skipEmptyString&&e[s]==="",n=mee(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?lr(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?lr(s,t)+"[]":a.reduce(n(s),[]).join("&"):lr(s,t)+"="+lr(a,t)}).filter(s=>s.length>0).join("&")};Mn.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=Fk(e,"#");return Object.assign({url:r.split("?")[0]||"",query:Vk(jk(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:Ki(n,t)}:{})};Mn.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[f3]:!0},t);let r=Bk(e.url).split("?")[0]||"",n=Mn.extract(e.url),o=Mn.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=Mn.stringify(i,t);s&&(s=`?${s}`);let a=yee(e.url);return e.fragmentIdentifier&&(a=`#${t[f3]?lr(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};Mn.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[f3]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=Mn.parseUrl(e,r);return Mn.stringifyUrl({url:n,query:hee(o,t),fragmentIdentifier:i},r)};Mn.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return Mn.pick(e,n,r)}});var V9=_e((xEe,Hy)=>{c();d();f();var x9,E9,S9,C9,T9,P9,O9,D9,I9,zy,P3,A9,M9,Fc,R9,N9,k9,L9,F9,$9,U9,B9,j9;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Hy=="object"&&typeof Hy.exports=="object"?e(r(t,r(Hy.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};x9=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},E9=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},S9=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},C9=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},T9=function(r,n){return function(o,i){n(o,i,r)}},P9=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},O9=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},D9=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},j9=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},I9=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},zy=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},P3=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},A9=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(P3(arguments[n]));return r},M9=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},Fc=function(r){return this instanceof Fc?(this.v=r,this):new Fc(r)},R9=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof Fc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},N9=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:Fc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},k9=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof zy=="function"?zy(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},L9=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},F9=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},$9=function(r){return r&&r.__esModule?r:{default:r}},U9=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},B9=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",x9),e("__assign",E9),e("__rest",S9),e("__decorate",C9),e("__param",T9),e("__metadata",P9),e("__awaiter",O9),e("__generator",D9),e("__exportStar",I9),e("__createBinding",j9),e("__values",zy),e("__read",P3),e("__spread",A9),e("__spreadArrays",M9),e("__await",Fc),e("__asyncGenerator",R9),e("__asyncDelegator",N9),e("__asyncValues",k9),e("__makeTemplateObject",L9),e("__importStar",F9),e("__importDefault",$9),e("__classPrivateFieldGet",U9),e("__classPrivateFieldSet",B9)})});var H9=_e(ea=>{"use strict";c();d();f();Object.defineProperty(ea,"__esModule",{value:!0});ea.isBrowserCryptoAvailable=ea.getSubtleCrypto=ea.getBrowerCrypto=void 0;function O3(){return(globalThis==null?void 0:globalThis.crypto)||(globalThis==null?void 0:globalThis.msCrypto)||{}}ea.getBrowerCrypto=O3;function z9(){let e=O3();return e.subtle||e.webkitSubtle}ea.getSubtleCrypto=z9;function Kee(){return!!O3()&&!!z9()}ea.isBrowserCryptoAvailable=Kee});var G9=_e(ta=>{"use strict";c();d();f();Object.defineProperty(ta,"__esModule",{value:!0});ta.isBrowser=ta.isNode=ta.isReactNative=void 0;function K9(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}ta.isReactNative=K9;function q9(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}ta.isNode=q9;function qee(){return!K9()&&!q9()}ta.isBrowser=qee});var D3=_e(Ky=>{"use strict";c();d();f();Object.defineProperty(Ky,"__esModule",{value:!0});var W9=V9();W9.__exportStar(H9(),Ky);W9.__exportStar(G9(),Ky)});var rL=_e((nSe,tL)=>{"use strict";c();d();f();tL.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var jL=_e((gh,Vc)=>{c();d();f();var ote=200,H3="__lodash_hash_undefined__",ov=1,vL=2,wL=9007199254740991,Zy="[object Arguments]",F3="[object Array]",ite="[object AsyncFunction]",bL="[object Boolean]",_L="[object Date]",xL="[object Error]",EL="[object Function]",ste="[object GeneratorFunction]",Jy="[object Map]",SL="[object Number]",ate="[object Null]",jc="[object Object]",aL="[object Promise]",lte="[object Proxy]",CL="[object RegExp]",Qy="[object Set]",TL="[object String]",ute="[object Symbol]",cte="[object Undefined]",$3="[object WeakMap]",PL="[object ArrayBuffer]",ev="[object DataView]",fte="[object Float32Array]",dte="[object Float64Array]",hte="[object Int8Array]",pte="[object Int16Array]",mte="[object Int32Array]",gte="[object Uint8Array]",yte="[object Uint8ClampedArray]",vte="[object Uint16Array]",wte="[object Uint32Array]",bte=/[\\^$.*+?()[\]{}|]/g,_te=/^\[object .+?Constructor\]$/,xte=/^(?:0|[1-9]\d*)$/,Ht={};Ht[fte]=Ht[dte]=Ht[hte]=Ht[pte]=Ht[mte]=Ht[gte]=Ht[yte]=Ht[vte]=Ht[wte]=!0;Ht[Zy]=Ht[F3]=Ht[PL]=Ht[bL]=Ht[ev]=Ht[_L]=Ht[xL]=Ht[EL]=Ht[Jy]=Ht[SL]=Ht[jc]=Ht[CL]=Ht[Qy]=Ht[TL]=Ht[$3]=!1;var OL=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,Ete=typeof self=="object"&&self&&self.Object===Object&&self,qi=OL||Ete||Function("return this")(),DL=typeof gh=="object"&&gh&&!gh.nodeType&&gh,lL=DL&&typeof Vc=="object"&&Vc&&!Vc.nodeType&&Vc,IL=lL&&lL.exports===DL,N3=IL&&OL.process,uL=function(){try{return N3&&N3.binding&&N3.binding("util")}catch(e){}}(),cL=uL&&uL.isTypedArray;function Ste(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}function Cte(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function Tte(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Pte(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Ote(e){return function(t){return e(t)}}function Dte(e,t){return e.has(t)}function Ite(e,t){return e==null?void 0:e[t]}function Ate(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function Mte(e,t){return function(r){return e(t(r))}}function Rte(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Nte=Array.prototype,kte=Function.prototype,iv=Object.prototype,k3=qi["__core-js_shared__"],AL=kte.toString,fi=iv.hasOwnProperty,fL=function(){var e=/[^.]+$/.exec(k3&&k3.keys&&k3.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ML=iv.toString,Lte=RegExp("^"+AL.call(fi).replace(bte,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dL=IL?qi.Buffer:void 0,tv=qi.Symbol,hL=qi.Uint8Array,RL=iv.propertyIsEnumerable,Fte=Nte.splice,ul=tv?tv.toStringTag:void 0,pL=Object.getOwnPropertySymbols,$te=dL?dL.isBuffer:void 0,Ute=Mte(Object.keys,Object),U3=zc(qi,"DataView"),yh=zc(qi,"Map"),B3=zc(qi,"Promise"),j3=zc(qi,"Set"),V3=zc(qi,"WeakMap"),vh=zc(Object,"create"),Bte=dl(U3),jte=dl(yh),Vte=dl(B3),zte=dl(j3),Hte=dl(V3),mL=tv?tv.prototype:void 0,L3=mL?mL.valueOf:void 0;function cl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Kte(){this.__data__=vh?vh(null):{},this.size=0}function qte(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Gte(e){var t=this.__data__;if(vh){var r=t[e];return r===H3?void 0:r}return fi.call(t,e)?t[e]:void 0}function Wte(e){var t=this.__data__;return vh?t[e]!==void 0:fi.call(t,e)}function Yte(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=vh&&t===void 0?H3:t,this}cl.prototype.clear=Kte;cl.prototype.delete=qte;cl.prototype.get=Gte;cl.prototype.has=Wte;cl.prototype.set=Yte;function Gi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Xte(){this.__data__=[],this.size=0}function Zte(e){var t=this.__data__,r=sv(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Fte.call(t,r,1),--this.size,!0}function Jte(e){var t=this.__data__,r=sv(t,e);return r<0?void 0:t[r][1]}function Qte(e){return sv(this.__data__,e)>-1}function ere(e,t){var r=this.__data__,n=sv(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Gi.prototype.clear=Xte;Gi.prototype.delete=Zte;Gi.prototype.get=Jte;Gi.prototype.has=Qte;Gi.prototype.set=ere;function fl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function tre(){this.size=0,this.__data__={hash:new cl,map:new(yh||Gi),string:new cl}}function rre(e){var t=av(this,e).delete(e);return this.size-=t?1:0,t}function nre(e){return av(this,e).get(e)}function ore(e){return av(this,e).has(e)}function ire(e,t){var r=av(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}fl.prototype.clear=tre;fl.prototype.delete=rre;fl.prototype.get=nre;fl.prototype.has=ore;fl.prototype.set=ire;function rv(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new fl;++t<r;)this.add(e[t])}function sre(e){return this.__data__.set(e,H3),this}function are(e){return this.__data__.has(e)}rv.prototype.add=rv.prototype.push=sre;rv.prototype.has=are;function oa(e){var t=this.__data__=new Gi(e);this.size=t.size}function lre(){this.__data__=new Gi,this.size=0}function ure(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function cre(e){return this.__data__.get(e)}function fre(e){return this.__data__.has(e)}function dre(e,t){var r=this.__data__;if(r instanceof Gi){var n=r.__data__;if(!yh||n.length<ote-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new fl(n)}return r.set(e,t),this.size=r.size,this}oa.prototype.clear=lre;oa.prototype.delete=ure;oa.prototype.get=cre;oa.prototype.has=fre;oa.prototype.set=dre;function hre(e,t){var r=nv(e),n=!r&&Ore(e),o=!r&&!n&&z3(e),i=!r&&!n&&!o&&BL(e),s=r||n||o||i,a=s?Pte(e.length,String):[],l=a.length;for(var u in e)(t||fi.call(e,u))&&!(s&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Ere(u,l)))&&a.push(u);return a}function sv(e,t){for(var r=e.length;r--;)if(LL(e[r][0],t))return r;return-1}function pre(e,t,r){var n=t(e);return nv(e)?n:Cte(n,r(e))}function bh(e){return e==null?e===void 0?cte:ate:ul&&ul in Object(e)?_re(e):Pre(e)}function gL(e){return wh(e)&&bh(e)==Zy}function NL(e,t,r,n,o){return e===t?!0:e==null||t==null||!wh(e)&&!wh(t)?e!==e&&t!==t:mre(e,t,r,n,NL,o)}function mre(e,t,r,n,o,i){var s=nv(e),a=nv(t),l=s?F3:na(e),u=a?F3:na(t);l=l==Zy?jc:l,u=u==Zy?jc:u;var h=l==jc,p=u==jc,y=l==u;if(y&&z3(e)){if(!z3(t))return!1;s=!0,h=!1}if(y&&!h)return i||(i=new oa),s||BL(e)?kL(e,t,r,n,o,i):wre(e,t,l,r,n,o,i);if(!(r&ov)){var w=h&&fi.call(e,"__wrapped__"),v=p&&fi.call(t,"__wrapped__");if(w||v){var S=w?e.value():e,I=v?t.value():t;return i||(i=new oa),o(S,I,r,n,i)}}return y?(i||(i=new oa),bre(e,t,r,n,o,i)):!1}function gre(e){if(!UL(e)||Cre(e))return!1;var t=FL(e)?Lte:_te;return t.test(dl(e))}function yre(e){return wh(e)&&$L(e.length)&&!!Ht[bh(e)]}function vre(e){if(!Tre(e))return Ute(e);var t=[];for(var r in Object(e))fi.call(e,r)&&r!="constructor"&&t.push(r);return t}function kL(e,t,r,n,o,i){var s=r&ov,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var h=-1,p=!0,y=r&vL?new rv:void 0;for(i.set(e,t),i.set(t,e);++h<a;){var w=e[h],v=t[h];if(n)var S=s?n(v,w,h,t,e,i):n(w,v,h,e,t,i);if(S!==void 0){if(S)continue;p=!1;break}if(y){if(!Tte(t,function(I,T){if(!Dte(y,T)&&(w===I||o(w,I,r,n,i)))return y.push(T)})){p=!1;break}}else if(!(w===v||o(w,v,r,n,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function wre(e,t,r,n,o,i,s){switch(r){case ev:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case PL:return!(e.byteLength!=t.byteLength||!i(new hL(e),new hL(t)));case bL:case _L:case SL:return LL(+e,+t);case xL:return e.name==t.name&&e.message==t.message;case CL:case TL:return e==t+"";case Jy:var a=Ate;case Qy:var l=n&ov;if(a||(a=Rte),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;n|=vL,s.set(e,t);var h=kL(a(e),a(t),n,o,i,s);return s.delete(e),h;case ute:if(L3)return L3.call(e)==L3.call(t)}return!1}function bre(e,t,r,n,o,i){var s=r&ov,a=yL(e),l=a.length,u=yL(t),h=u.length;if(l!=h&&!s)return!1;for(var p=l;p--;){var y=a[p];if(!(s?y in t:fi.call(t,y)))return!1}var w=i.get(e);if(w&&i.get(t))return w==t;var v=!0;i.set(e,t),i.set(t,e);for(var S=s;++p<l;){y=a[p];var I=e[y],T=t[y];if(n)var O=s?n(T,I,y,t,e,i):n(I,T,y,e,t,i);if(!(O===void 0?I===T||o(I,T,r,n,i):O)){v=!1;break}S||(S=y=="constructor")}if(v&&!S){var M=e.constructor,L=t.constructor;M!=L&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof L=="function"&&L instanceof L)&&(v=!1)}return i.delete(e),i.delete(t),v}function yL(e){return pre(e,Are,xre)}function av(e,t){var r=e.__data__;return Sre(t)?r[typeof t=="string"?"string":"hash"]:r.map}function zc(e,t){var r=Ite(e,t);return gre(r)?r:void 0}function _re(e){var t=fi.call(e,ul),r=e[ul];try{e[ul]=void 0;var n=!0}catch(i){}var o=ML.call(e);return n&&(t?e[ul]=r:delete e[ul]),o}var xre=pL?function(e){return e==null?[]:(e=Object(e),Ste(pL(e),function(t){return RL.call(e,t)}))}:Mre,na=bh;(U3&&na(new U3(new ArrayBuffer(1)))!=ev||yh&&na(new yh)!=Jy||B3&&na(B3.resolve())!=aL||j3&&na(new j3)!=Qy||V3&&na(new V3)!=$3)&&(na=function(e){var t=bh(e),r=t==jc?e.constructor:void 0,n=r?dl(r):"";if(n)switch(n){case Bte:return ev;case jte:return Jy;case Vte:return aL;case zte:return Qy;case Hte:return $3}return t});function Ere(e,t){return t=t==null?wL:t,!!t&&(typeof e=="number"||xte.test(e))&&e>-1&&e%1==0&&e<t}function Sre(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Cre(e){return!!fL&&fL in e}function Tre(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||iv;return e===r}function Pre(e){return ML.call(e)}function dl(e){if(e!=null){try{return AL.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function LL(e,t){return e===t||e!==e&&t!==t}var Ore=gL(function(){return arguments}())?gL:function(e){return wh(e)&&fi.call(e,"callee")&&!RL.call(e,"callee")},nv=Array.isArray;function Dre(e){return e!=null&&$L(e.length)&&!FL(e)}var z3=$te||Rre;function Ire(e,t){return NL(e,t)}function FL(e){if(!UL(e))return!1;var t=bh(e);return t==EL||t==ste||t==ite||t==lte}function $L(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wL}function UL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function wh(e){return e!=null&&typeof e=="object"}var BL=cL?Ote(cL):yre;function Are(e){return Dre(e)?hre(e):vre(e)}function Mre(){return[]}function Rre(){return!1}Vc.exports=Ire});var xF=_e(hv=>{"use strict";c();d();f();Object.defineProperty(hv,"__esModule",{value:!0});hv.getWindowMetadata=void 0;var _F=ol();function Uoe(){let e,t;try{e=_F.getDocumentOrThrow(),t=_F.getLocationOrThrow()}catch(p){return null}function r(){let p=e.getElementsByTagName("link"),y=[];for(let w=0;w<p.length;w++){let v=p[w],S=v.getAttribute("rel");if(S&&S.toLowerCase().indexOf("icon")>-1){let I=v.getAttribute("href");if(I)if(I.toLowerCase().indexOf("https:")===-1&&I.toLowerCase().indexOf("http:")===-1&&I.indexOf("//")!==0){let T=t.protocol+"//"+t.host;if(I.indexOf("/")===0)T+=I;else{let O=t.pathname.split("/");O.pop(),T+=O.join("/")+"/"+I}y.push(T)}else if(I.indexOf("//")===0){let T=t.protocol+I;y.push(T)}else y.push(I)}}return y}function n(...p){let y=e.getElementsByTagName("meta");for(let w=0;w<y.length;w++){let v=y[w],S=["itemprop","property","name"].map(I=>v.getAttribute(I)).filter(I=>I?p.includes(I):!1);if(S.length&&S){let I=v.getAttribute("content");if(I)return I}}return""}function o(){let p=n("name","og:site_name","og:title","twitter:title");return p||(p=e.title),p}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),l=t.origin,u=r();return{description:a,url:l,icons:u,name:s}}hv.getWindowMetadata=Uoe});var IF=_e(Nn=>{"use strict";c();d();f();var Boe=Cy(),joe=Ty(),SF=Py(),Voe=Oy(),zoe=e=>e==null,pE=Symbol("encodeFragmentIdentifier");function Hoe(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[cr(t,e),"[",o,"]"].join("")]:[...r,[cr(t,e),"[",cr(o,e),"]=",cr(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[cr(t,e),"[]"].join("")]:[...r,[cr(t,e),"[]=",cr(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[cr(t,e),":list="].join("")]:[...r,[cr(t,e),":list=",cr(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[cr(r,e),t,cr(o,e)].join("")]:[[n,cr(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,cr(t,e)]:[...r,[cr(t,e),"=",cr(n,e)].join("")]}}function Koe(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&Yi(n,e).includes(e.arrayFormatSeparator);n=s?Yi(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(l=>Yi(l,e)):n===null?n:Yi(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&Yi(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>Yi(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function CF(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function cr(e,t){return t.encode?t.strict?Boe(e):encodeURIComponent(e):e}function Yi(e,t){return t.decode?joe(e):e}function TF(e){return Array.isArray(e)?e.sort():typeof e=="object"?TF(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function PF(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function qoe(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function OF(e){e=PF(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function EF(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function DF(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),CF(t.arrayFormatSeparator);let r=Koe(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=SF(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Yi(s,t),r(Yi(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=EF(i[s],t);else n[o]=EF(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=TF(s):o[i]=s,o},Object.create(null))}Nn.extract=OF;Nn.parse=DF;Nn.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),CF(t.arrayFormatSeparator);let r=s=>t.skipNull&&zoe(e[s])||t.skipEmptyString&&e[s]==="",n=Hoe(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?cr(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?cr(s,t)+"[]":a.reduce(n(s),[]).join("&"):cr(s,t)+"="+cr(a,t)}).filter(s=>s.length>0).join("&")};Nn.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=SF(e,"#");return Object.assign({url:r.split("?")[0]||"",query:DF(OF(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:Yi(n,t)}:{})};Nn.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[pE]:!0},t);let r=PF(e.url).split("?")[0]||"",n=Nn.extract(e.url),o=Nn.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=Nn.stringify(i,t);s&&(s=`?${s}`);let a=qoe(e.url);return e.fragmentIdentifier&&(a=`#${t[pE]?cr(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};Nn.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[pE]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=Nn.parseUrl(e,r);return Nn.stringifyUrl({url:n,query:Voe(o,t),fragmentIdentifier:i},r)};Nn.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return Nn.pick(e,n,r)}});var s$=_e(vv=>{"use strict";c();d();f();Object.defineProperty(vv,"__esModule",{value:!0});vv.getWindowMetadata=void 0;var i$=ol();function gie(){let e,t;try{e=i$.getDocumentOrThrow(),t=i$.getLocationOrThrow()}catch(p){return null}function r(){let p=e.getElementsByTagName("link"),y=[];for(let w=0;w<p.length;w++){let v=p[w],S=v.getAttribute("rel");if(S&&S.toLowerCase().indexOf("icon")>-1){let I=v.getAttribute("href");if(I)if(I.toLowerCase().indexOf("https:")===-1&&I.toLowerCase().indexOf("http:")===-1&&I.indexOf("//")!==0){let T=t.protocol+"//"+t.host;if(I.indexOf("/")===0)T+=I;else{let O=t.pathname.split("/");O.pop(),T+=O.join("/")+"/"+I}y.push(T)}else if(I.indexOf("//")===0){let T=t.protocol+I;y.push(T)}else y.push(I)}}return y}function n(...p){let y=e.getElementsByTagName("meta");for(let w=0;w<y.length;w++){let v=y[w],S=["itemprop","property","name"].map(I=>v.getAttribute(I)).filter(I=>I?p.includes(I):!1);if(S.length&&S){let I=v.getAttribute("content");if(I)return I}}return""}function o(){let p=n("name","og:site_name","og:title","twitter:title");return p||(p=e.title),p}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),l=t.origin,u=r();return{description:a,url:l,icons:u,name:s}}vv.getWindowMetadata=gie});var p$=_e(Ln=>{"use strict";c();d();f();var yie=Cy(),vie=Ty(),l$=Py(),wie=Oy(),bie=e=>e==null,DE=Symbol("encodeFragmentIdentifier");function _ie(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[fr(t,e),"[",o,"]"].join("")]:[...r,[fr(t,e),"[",fr(o,e),"]=",fr(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[fr(t,e),"[]"].join("")]:[...r,[fr(t,e),"[]=",fr(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[fr(t,e),":list="].join("")]:[...r,[fr(t,e),":list=",fr(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[fr(r,e),t,fr(o,e)].join("")]:[[n,fr(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,fr(t,e)]:[...r,[fr(t,e),"=",fr(n,e)].join("")]}}function xie(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&Xi(n,e).includes(e.arrayFormatSeparator);n=s?Xi(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(l=>Xi(l,e)):n===null?n:Xi(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&Xi(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>Xi(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function u$(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function fr(e,t){return t.encode?t.strict?yie(e):encodeURIComponent(e):e}function Xi(e,t){return t.decode?vie(e):e}function c$(e){return Array.isArray(e)?e.sort():typeof e=="object"?c$(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function f$(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function Eie(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function d$(e){e=f$(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function a$(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function h$(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),u$(t.arrayFormatSeparator);let r=xie(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=l$(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Xi(s,t),r(Xi(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=a$(i[s],t);else n[o]=a$(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=c$(s):o[i]=s,o},Object.create(null))}Ln.extract=d$;Ln.parse=h$;Ln.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),u$(t.arrayFormatSeparator);let r=s=>t.skipNull&&bie(e[s])||t.skipEmptyString&&e[s]==="",n=_ie(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?fr(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?fr(s,t)+"[]":a.reduce(n(s),[]).join("&"):fr(s,t)+"="+fr(a,t)}).filter(s=>s.length>0).join("&")};Ln.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=l$(e,"#");return Object.assign({url:r.split("?")[0]||"",query:h$(d$(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:Xi(n,t)}:{})};Ln.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[DE]:!0},t);let r=f$(e.url).split("?")[0]||"",n=Ln.extract(e.url),o=Ln.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=Ln.stringify(i,t);s&&(s=`?${s}`);let a=Eie(e.url);return e.fragmentIdentifier&&(a=`#${t[DE]?fr(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};Ln.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[DE]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=Ln.parseUrl(e,r);return Ln.stringifyUrl({url:n,query:wie(o,t),fragmentIdentifier:i},r)};Ln.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return Ln.pick(e,n,r)}});var QE=_e(JE=>{"use strict";c();d();f();Object.defineProperty(JE,"__esModule",{value:!0});JE.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","930","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"\xC5land Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["7","29"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","289","306","343","365","367","403","416","418","431","437","438","450","506","514","519","548","579","581","587","600","604","613","639","647","672","705","709","778","780","782","807","819","825","867","873","902","905"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"C\xF4te D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"5999",country_name:"Cura\xE7ao",mobile_begin_with:["5","6"],phone_number_lengths:[7]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"R\xE9union",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77"],phone_number_lengths:[9]}]});var mU=_e($n=>{"use strict";c();d();f();var Rse=$n&&$n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($n,"__esModule",{value:!0});$n.validatePhoneISO3166=$n.findCountryPhoneDataByPhoneNumber=$n.findPossibleCountryPhoneData=$n.findExactCountryPhoneData=$n.findCountryPhoneDataByCountry=void 0;var Ah=Rse(QE());function Nse(e){return e?e.length===2?Ah.default.find(t=>e.toUpperCase()===t.alpha2)||null:e.length===3?Ah.default.find(t=>e.toUpperCase()===t.alpha3)||null:Ah.default.find(t=>e.toUpperCase()===t.country_name.toUpperCase())||null:Ah.default.find(t=>t.alpha3==="USA")||null}$n.findCountryPhoneDataByCountry=Nse;function hU(e,t,r){return r.phone_number_lengths.some(o=>r.country_code.length+o===e.length)&&(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+o))))?r:null}$n.findExactCountryPhoneData=hU;function pU(e,t,r){if(!r.phone_number_lengths.some(o=>r.country_code.length+o+1===e.length))return null;if(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+"\\d?"+o))))return r}$n.findPossibleCountryPhoneData=pU;function kse(e,t){let r,n;for(let o of Ah.default)!e.match(new RegExp("^"+o.country_code))||(r||(r=hU(e,t,o)),n||(n=pU(e,t,o)));return{exactCountryPhoneData:r,possibleCountryPhoneData:n}}$n.findCountryPhoneDataByPhoneNumber=kse;function Lse(e,t,r,n){if(!t.phone_number_lengths)return!1;let o=e.replace(new RegExp("^"+t.country_code),"");if(n&&t&&o.length===e.length)return!1;let i=t.phone_number_lengths,s=t.mobile_begin_with,a=i.some(u=>o.length===u),l=s.length?s.some(u=>o.match(new RegExp("^"+u))):!0;return a&&(!r||l)}$n.validatePhoneISO3166=Lse});var yU=_e(Ji=>{"use strict";c();d();f();var Fse=Ji&&Ji.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ji,"__esModule",{value:!0});Ji.countryPhoneData=Ji.phone=void 0;var $se=Fse(QE());Ji.countryPhoneData=$se.default;var Mh=mU();function gU(e,{country:t="",validateMobilePrefix:r=!0,strictDetection:n=!1}={}){let o={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null},i=typeof e!="string"?"":e.trim(),s=typeof t!="string"?"":t.trim(),a=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let l=(0,Mh.findCountryPhoneDataByCountry)(s);if(!l)return o;let u=!1;if(s)["CIV","COG"].includes(l.alpha3)||(i=i.replace(/^0+/,"")),l.alpha3==="RUS"&&i.length===11&&i.match(/^89/)!==null&&(i=i.replace(/^8+/,"")),!a&&l.phone_number_lengths.includes(i.length)&&(i=`${l.country_code}${i}`);else if(a){let{exactCountryPhoneData:p,possibleCountryPhoneData:y}=(0,Mh.findCountryPhoneDataByPhoneNumber)(i,r);p?l=p:y&&!n?(l=y,i=l.country_code+i.replace(new RegExp(`^${l.country_code}\\d`),"")):l=null}else l.phone_number_lengths.indexOf(i.length)!==-1&&(i=`1${i}`,u=!0);if(!l)return o;let h=(0,Mh.validatePhoneISO3166)(i,l,r,a);return h?{isValid:!0,phoneNumber:`+${i}`,countryIso2:l.alpha2,countryIso3:l.alpha3,countryCode:`+${l.country_code}`}:u&&(l=(0,Mh.findCountryPhoneDataByCountry)("CAN"),h=(0,Mh.validatePhoneISO3166)(i,l,r,a),h)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:l.alpha2,countryIso3:l.alpha3,countryCode:`+${l.country_code}`}:o}Ji.default=gU;Ji.phone=gU});var xU=_e((K5e,_U)=>{"use strict";c();d();f();var bl=[["Afghanistan (\u202B\u0627\u0641\u063A\u0627\u0646\u0633\u062A\u0627\u0646\u202C\u200E)","af","93","+..-..-...-...."],["\xC5land Islands","ax","358",""],["Albania (Shqip\xEBri)","al","355","+...(...)...-..."],["Algeria (\u202B\u0627\u0644\u062C\u0632\u0627\u0626\u0631\u202C\u200E)","dz","213","+...-..-...-...."],["American Samoa","as","1684","+.(...)...-...."],["Andorra","ad","376","+...-...-..."],["Angola","ao","244","+...(...)...-..."],["Anguilla","ai","1264","+.(...)...-...."],["Antarctica","aq","672",""],["Antigua and Barbuda","ag","1268","+.(...)...-...."],["Argentina","ar","54","+..(...)...-...."],["Armenia (\u0540\u0561\u0575\u0561\u057D\u057F\u0561\u0576)","am","374","+...-..-...-..."],["Aruba","aw","297","+...-...-...."],["Australia","au","61","+.. ... ... ..."],["Austria (\xD6sterreich)","at","43","+..(...)...-...."],["Azerbaijan (Az\u0259rbaycan)","az","994","+...-..-...-..-.."],["Bahamas","bs","1242","+.(...)...-...."],["Bahrain (\u202B\u0627\u0644\u0628\u062D\u0631\u064A\u0646\u202C\u200E)","bh","973","+...-....-...."],["Bangladesh (\u09AC\u09BE\u0982\u09B2\u09BE\u09A6\u09C7\u09B6)","bd","880","+...-..-...-..."],["Barbados","bb","1246","+.(...)...-...."],["Belarus (\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u044C)","by","375","+...(..)...-..-.."],["Belgium (Belgi\xEB)","be","32","+.. ... .. .. .."],["Belize","bz","501","+...-...-...."],["Benin (B\xE9nin)","bj","229","+...-..-..-...."],["Bermuda","bm","1441","+.(...)...-...."],["Bhutan (\u0F60\u0F56\u0FB2\u0F74\u0F42)","bt","975","+...-.-...-..."],["Bolivia","bo","591","+...-.-...-...."],["Bosnia and Herzegovina (\u0411\u043E\u0441\u043D\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043E\u0432\u0438\u043D\u0430)","ba","387","+...-..-...."],["Botswana","bw","267","+...-..-...-..."],["Bouvet Island","bv","47",""],["Brazil (Brasil)","br","55","+..-..-....-...."],["British Indian Ocean Territory","io","246","+...-...-...."],["British Virgin Islands","vg","1284","+.(...)...-...."],["Brunei","bn","673","+...-...-...."],["Bulgaria (\u0411\u044A\u043B\u0433\u0430\u0440\u0438\u044F)","bg","359","+...(...)...-..."],["Burkina Faso","bf","226","+...-..-..-...."],["Burundi (Uburundi)","bi","257","+...-..-..-...."],["Cambodia (\u1780\u1798\u17D2\u1796\u17BB\u1787\u17B6)","kh","855","+...-..-...-..."],["Cameroon (Cameroun)","cm","237","+...-....-...."],["Canada","ca","1","+. (...) ...-....",1,["204","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238","+...(...)..-.."],["Caribbean Netherlands","bq","599","+...-...-....",1],["Cayman Islands","ky","1345","+.(...)...-...."],["Central African Republic (R\xE9publique centrafricaine)","cf","236","+...-..-..-...."],["Chad (Tchad)","td","235","+...-..-..-..-.."],["Chile","cl","56","+..-.-....-...."],["China (\u4E2D\u56FD)","cn","86","+.. ..-........"],["Christmas Island","cx","61",""],["Cocos (Keeling) Islands","cc","61",""],["Colombia","co","57","+..(...)...-...."],["Comoros (\u202B\u062C\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202C\u200E)","km","269","+...-..-....."],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243","+...(...)...-..."],["Congo (Republic) (Congo-Brazzaville)","cg","242","+...-..-...-...."],["Cook Islands","ck","682","+...-..-..."],["Costa Rica","cr","506","+... ....-...."],["C\xF4te d\u2019Ivoire","ci","225","+...-..-...-..."],["Croatia (Hrvatska)","hr","385","+...-..-...-..."],["Cuba","cu","53","+..-.-...-...."],["Cura\xE7ao","cw","599","+...-...-....",0],["Cyprus (\u039A\u03CD\u03C0\u03C1\u03BF\u03C2)","cy","357","+...-..-...-..."],["Czech Republic (\u010Cesk\xE1 republika)","cz","420","+...(...)...-..."],["Denmark (Danmark)","dk","45","+.. .. .. .. .."],["Djibouti","dj","253","+...-..-..-..-.."],["Dominica","dm","1767","+.(...)...-...."],["Dominican Republic (Rep\xFAblica Dominicana)","do","1","+.(...)...-....",2,["809","829","849"]],["Ecuador","ec","593","+...-.-...-...."],["Egypt (\u202B\u0645\u0635\u0631\u202C\u200E)","eg","20","+..(...)...-...."],["El Salvador","sv","503","+... ....-...."],["Equatorial Guinea (Guinea Ecuatorial)","gq","240","+...-..-...-...."],["Eritrea","er","291","+...-.-...-..."],["Estonia (Eesti)","ee","372","+...-...-...."],["Ethiopia","et","251","+...-..-...-...."],["Falkland Islands (Islas Malvinas)","fk","500","+...-....."],["Faroe Islands (F\xF8royar)","fo","298","+...-...-..."],["Fiji","fj","679","+...-..-....."],["Finland (Suomi)","fi","358","+... .. .... ...."],["France","fr","33","+.. . .. .. .. .."],["French Guiana (Guyane fran\xE7aise)","gf","594","+...-.....-...."],["French Polynesia (Polyn\xE9sie fran\xE7aise)","pf","689","+...-..-..-.."],["French Southern and Antarctic Lands","tf","262",""],["Gabon","ga","241","+...-.-..-..-.."],["Gambia","gm","220","+...(...)..-.."],["Georgia (\u10E1\u10D0\u10E5\u10D0\u10E0\u10D7\u10D5\u10D4\u10DA\u10DD)","ge","995","+...(...)...-..."],["Germany (Deutschland)","de","49","+.. ... ......."],["Ghana (Gaana)","gh","233","+...(...)...-..."],["Gibraltar","gi","350","+...-...-....."],["Greece (\u0395\u03BB\u03BB\u03AC\u03B4\u03B1)","gr","30","+..(...)...-...."],["Greenland (Kalaallit Nunaat)","gl","299","+...-..-..-.."],["Grenada","gd","1473","+.(...)...-...."],["Guadeloupe","gp","590","",0],["Guam","gu","1671","+.(...)...-...."],["Guatemala","gt","502","+... ....-...."],["Guernsey","gg","44",""],["Guinea (Guin\xE9e)","gn","224","+...-..-...-..."],["Guinea-Bissau (Guin\xE9 Bissau)","gw","245","+...-.-......"],["Guyana","gy","592","+...-...-...."],["Haiti","ht","509","+... ....-...."],["Heard Island and McDonald Islands","hm","672",""],["Honduras","hn","504","+...-....-...."],["Hong Kong (\u9999\u6E2F)","hk","852","+... .... ...."],["Hungary (Magyarorsz\xE1g)","hu","36","+..(...)...-..."],["Iceland (\xCDsland)","is","354","+... ... ...."],["India (\u092D\u093E\u0930\u0924)","in","91","+.. .....-....."],["Indonesia","id","62","+..-..-...-.."],["Iran (\u202B\u0627\u06CC\u0631\u0627\u0646\u202C\u200E)","ir","98","+..(...)...-...."],["Iraq (\u202B\u0627\u0644\u0639\u0631\u0627\u0642\u202C\u200E)","iq","964","+...(...)...-...."],["Ireland","ie","353","+... .. ......."],["Isle of Man","im","44",""],["Israel (\u202B\u05D9\u05E9\u05E8\u05D0\u05DC\u202C\u200E)","il","972","+...-.-...-...."],["Italy (Italia)","it","39","+.. ... ......",0],["Jamaica","jm","1876","+.(...)...-...."],["Japan (\u65E5\u672C)","jp","81","+.. ... .. ...."],["Jersey","je","44",""],["Jordan (\u202B\u0627\u0644\u0623\u0631\u062F\u0646\u202C\u200E)","jo","962","+...-.-....-...."],["Kazakhstan (\u041A\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043D)","kz","7","+. ... ...-..-..",1],["Kenya","ke","254","+...-...-......"],["Kiribati","ki","686","+...-..-..."],["Kosovo","xk","383",""],["Kuwait (\u202B\u0627\u0644\u0643\u0648\u064A\u062A\u202C\u200E)","kw","965","+...-....-...."],["Kyrgyzstan (\u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D)","kg","996","+...(...)...-..."],["Laos (\u0EA5\u0EB2\u0EA7)","la","856","+...-..-...-..."],["Latvia (Latvija)","lv","371","+...-..-...-..."],["Lebanon (\u202B\u0644\u0628\u0646\u0627\u0646\u202C\u200E)","lb","961","+...-.-...-..."],["Lesotho","ls","266","+...-.-...-...."],["Liberia","lr","231","+...-..-...-..."],["Libya (\u202B\u0644\u064A\u0628\u064A\u0627\u202C\u200E)","ly","218","+...-..-...-..."],["Liechtenstein","li","423","+...(...)...-...."],["Lithuania (Lietuva)","lt","370","+...(...)..-..."],["Luxembourg","lu","352","+...(...)...-..."],["Macau (\u6FB3\u9580)","mo","853","+...-....-...."],["Macedonia (FYROM) (\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0438\u0458\u0430)","mk","389","+...-..-...-..."],["Madagascar (Madagasikara)","mg","261","+...-..-..-....."],["Malawi","mw","265","+...-.-....-...."],["Malaysia","my","60","+.. ..-....-...."],["Maldives","mv","960","+...-...-...."],["Mali","ml","223","+...-..-..-...."],["Malta","mt","356","+...-....-...."],["Marshall Islands","mh","692","+...-...-...."],["Martinique","mq","596","+...(...)..-..-.."],["Mauritania (\u202B\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627\u202C\u200E)","mr","222","+...-..-..-...."],["Mauritius (Moris)","mu","230","+...-...-...."],["Mayotte","yt","262",""],["Mexico (M\xE9xico)","mx","52","+..-..-..-...."],["Micronesia","fm","691","+...-...-...."],["Moldova (Republica Moldova)","md","373","+...-....-...."],["Monaco","mc","377","+...-..-...-..."],["Mongolia (\u041C\u043E\u043D\u0433\u043E\u043B)","mn","976","+...-..-..-...."],["Montenegro (Crna Gora)","me","382","+...-..-...-..."],["Montserrat","ms","1664","+.(...)...-...."],["Morocco (\u202B\u0627\u0644\u0645\u063A\u0631\u0628\u202C\u200E)","ma","212","+...-..-....-..."],["Mozambique (Mo\xE7ambique)","mz","258","+...-..-...-..."],["Myanmar (Burma) (\u1019\u103C\u1014\u103A\u1019\u102C)","mm","95","+..-...-..."],["Namibia (Namibi\xEB)","na","264","+...-..-...-...."],["Nauru","nr","674","+...-...-...."],["Nepal (\u0928\u0947\u092A\u093E\u0932)","np","977","+...-..-...-..."],["Netherlands (Nederland)","nl","31","+.. .. ........"],["New Caledonia (Nouvelle-Cal\xE9donie)","nc","687","+...-..-...."],["New Zealand","nz","64","+.. ...-...-...."],["Nicaragua","ni","505","+...-....-...."],["Niger (Nijar)","ne","227","+...-..-..-...."],["Nigeria","ng","234","+...-..-...-.."],["Niue","nu","683","+...-...."],["Norfolk Island","nf","672","+...-...-..."],["North Korea (\uC870\uC120 \uBBFC\uC8FC\uC8FC\uC758 \uC778\uBBFC \uACF5\uD654\uAD6D)","kp","850","+...-...-..."],["Northern Mariana Islands","mp","1670","+.(...)...-...."],["Norway (Norge)","no","47","+.. ... .. ..."],["Oman (\u202B\u0639\u064F\u0645\u0627\u0646\u202C\u200E)","om","968","+...-..-...-..."],["Pakistan (\u202B\u067E\u0627\u06A9\u0633\u062A\u0627\u0646\u202C\u200E)","pk","92","+.. ...-......."],["Palau","pw","680","+...-...-...."],["Palestine (\u202B\u0641\u0644\u0633\u0637\u064A\u0646\u202C\u200E)","ps","970","+...-..-...-...."],["Panama (Panam\xE1)","pa","507","+...-...-...."],["Papua New Guinea","pg","675","+...(...)..-..."],["Paraguay","py","595","+...(...)...-..."],["Peru (Per\xFA)","pe","51","+..(...)...-..."],["Philippines","ph","63","+.. ... ...."],["Pitcairn Islands","pn","64",""],["Poland (Polska)","pl","48","+.. ...-...-..."],["Portugal","pt","351","+...-..-...-...."],["Puerto Rico","pr","1","+. (...) ...-....",3,["787","939"]],["Qatar (\u202B\u0642\u0637\u0631\u202C\u200E)","qa","974","+...-....-...."],["R\xE9union (La R\xE9union)","re","262","+...-.....-...."],["Romania (Rom\xE2nia)","ro","40","+..-..-...-...."],["Russia (\u0420\u043E\u0441\u0441\u0438\u044F)","ru","7","+. ... ...-..-..",0],["Rwanda","rw","250","+...(...)...-..."],["Saint Barth\xE9lemy (Saint-Barth\xE9lemy)","bl","590","",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869","+.(...)...-...."],["Saint Lucia","lc","1758","+.(...)...-...."],["Saint Martin (Saint-Martin (partie fran\xE7aise))","mf","590","",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784","+.(...)...-...."],["Samoa","ws","685","+...-..-...."],["San Marino","sm","378","+...-....-......"],["S\xE3o Tom\xE9 and Pr\xEDncipe (S\xE3o Tom\xE9 e Pr\xEDncipe)","st","239","+...-..-....."],["Saudi Arabia (\u202B\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629\u202C\u200E)","sa","966","+...-..-...-...."],["Senegal (S\xE9n\xE9gal)","sn","221","+...-..-...-...."],["Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)","rs","381","+...-..-...-...."],["Seychelles","sc","248","+...-.-...-..."],["Sierra Leone","sl","232","+...-..-......"],["Singapore","sg","65","+.. ....-...."],["Sint Maarten","sx","1721","+.(...)...-...."],["Slovakia (Slovensko)","sk","421","+...(...)...-..."],["Slovenia (Slovenija)","si","386","+...-..-...-..."],["Solomon Islands","sb","677","+...-....."],["Somalia (Soomaaliya)","so","252","+...-.-...-..."],["South Africa","za","27","+..-..-...-...."],["South Georgia and the South Sandwich Islands","gs","500",""],["South Korea (\uB300\uD55C\uBBFC\uAD6D)","kr","82","+..-..-...-...."],["South Sudan (\u202B\u062C\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","ss","211","+...-..-...-...."],["Spain (Espa\xF1a)","es","34","+.. ... ... ..."],["Sri Lanka (\u0DC1\u0DCA\u200D\u0DBB\u0DD3 \u0DBD\u0D82\u0D9A\u0DCF\u0DC0)","lk","94","+..-..-...-...."],["Sudan (\u202B\u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","sd","249","+...-..-...-...."],["Suriname","sr","597","+...-...-..."],["Svalbard and Jan Mayen","sj","47",""],["Swaziland","sz","268","+...-..-..-...."],["Sweden (Sverige)","se","46","+.. .. ... .. .."],["Switzerland (Schweiz)","ch","41","+.. .. ... .. .."],["Syria (\u202B\u0633\u0648\u0631\u064A\u0627\u202C\u200E)","sy","963","+...-..-....-..."],["Taiwan (\u53F0\u7063)","tw","886","+...-....-...."],["Tajikistan","tj","992","+...-..-...-...."],["Tanzania","tz","255","+...-..-...-...."],["Thailand (\u0E44\u0E17\u0E22)","th","66","+..-..-...-..."],["Timor-Leste","tl","670","+...-...-...."],["Togo","tg","228","+...-..-...-..."],["Tokelau","tk","690","+...-...."],["Tonga","to","676","+...-....."],["Trinidad and Tobago","tt","1868","+.(...)...-...."],["Tunisia (\u202B\u062A\u0648\u0646\u0633\u202C\u200E)","tn","216","+...-..-...-..."],["Turkey (T\xFCrkiye)","tr","90","+.. ... ... .. .."],["Turkmenistan","tm","993","+...-.-...-...."],["Turks and Caicos Islands","tc","1649","+.(...)...-...."],["Tuvalu","tv","688","+...-....."],["U.S. Virgin Islands","vi","1340","+.(...)...-...."],["Uganda","ug","256","+...(...)...-..."],["Ukraine (\u0423\u043A\u0440\u0430\u0457\u043D\u0430)","ua","380","+...(..)...-..-.."],["United Arab Emirates (\u202B\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062A \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0645\u062A\u062D\u062F\u0629\u202C\u200E)","ae","971","+...-.-...-...."],["United Kingdom","gb","44","+.. .... ......"],["United States","us","1","+. (...) ...-....",0],["United States Minor Outlying Islands","um","1","",2],["Uruguay","uy","598","+...-.-...-..-.."],["Uzbekistan (O\u02BBzbekiston)","uz","998","+...-..-...-...."],["Vanuatu","vu","678","+...-....."],["Vatican City (Citt\xE0 del Vaticano)","va","39","+.. .. .... ....",1],["Venezuela","ve","58","+..(...)...-...."],["Vietnam (Vi\u1EC7t Nam)","vn","84","+..-..-....-..."],["Wallis and Futuna","wf","681","+...-..-...."],["Western Sahara","eh","212","+...-..-...."],["Yemen (\u202B\u0627\u0644\u064A\u0645\u0646\u202C\u200E)","ye","967","+...-.-...-..."],["Zambia","zm","260","+...-..-...-...."],["Zimbabwe","zw","263","+...-.-......"]],Dv={},bU={},vU=function(e,t,r){t in Dv||(Dv[t]=[]);var n=r||0;Dv[t][n]=e};for(Qi=0;Qi<bl.length;Qi++){if(vn=bl[Qi],bl[Qi]={name:vn[0],iso2:vn[1],dialCode:vn[2],priority:vn[4]||0},vn[3]&&(bl[Qi].format=vn[3]),vn[5])for(bl[Qi].hasAreaCodes=!0,Ov=0;Ov<vn[5].length;Ov++)wU=vn[2]+vn[5][Ov],vU(vn[1],wU);bU[bl[Qi].iso2]=Qi,vU(vn[1],vn[2],vn[4])}var vn,wU,Ov,Qi;_U.exports={allCountries:bl,iso2Lookup:bU,allCountryCodes:Dv}});var ule={};Hr(ule,{init:()=>ile,open:()=>ale,reset:()=>lle,update:()=>sle});c();d();f();c();d();f();c();d();f();c();d();f();var t6=e=>{let t,r=new Set,n=(l,u)=>{let h=typeof l=="function"?l(t):l;if(!Object.is(h,t)){let p=t;t=(u!=null?u:typeof h!="object")?h:Object.assign({},t,h),r.forEach(y=>y(t,p))}},o=()=>t,a={setState:n,getState:o,subscribe:l=>(r.add(l),()=>r.delete(l)),destroy:()=>{(P&&P.MODE)!=="production"&&console.warn("[DEPRECATED] The destroy method will be unsupported in the future version. You should use unsubscribe function returned by subscribe. Everything will be garbage collected if store is garbage collected."),r.clear()}};return t=e(n,o,a),a},r6=e=>e?t6(e):t6;var d6=ue(we(),1),h6=ue(c6(),1),{useSyncExternalStoreWithSelector:Vj}=h6.default;function zj(e,t=e.getState,r){let n=Vj(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return(0,d6.useDebugValue)(n),n}var f6=e=>{(P&&P.MODE)!=="production"&&typeof e!="function"&&console.warn('[DEPRECATED] Passing a vanilla store will be unsupported in the future version. Please use `import { useStore } from "zustand"` to use the vanilla store in React.');let t=typeof e=="function"?r6(e):e,r=(n,o)=>zj(t,n,o);return Object.assign(r,t),r},ep=e=>e?f6(e):f6;c();d();f();var $6=ue(p6(),1);c();d();f();c();d();f();c();d();f();var A6=ue(y6());c();d();f();c();d();f();c();d();f();var v6="logger/5.7.0";var w6=!1,b6=!1,rp={debug:1,default:2,info:2,warning:3,error:4,off:5},_6=rp.default,x1=null;function Hj(){try{let e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}var x6=Hj(),E1;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(E1||(E1={}));var Oo;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(Oo||(Oo={}));var E6="0123456789abcdef",dt=class{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){let n=t.toLowerCase();rp[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),!(_6>rp[n])&&console.log.apply(console,r)}debug(...t){this._log(dt.levels.DEBUG,t)}info(...t){this._log(dt.levels.INFO,t)}warn(...t){this._log(dt.levels.WARNING,t)}makeError(t,r,n){if(b6)return this.makeError("censored error",r,{});r||(r=dt.errors.UNKNOWN_ERROR),n||(n={});let o=[];Object.keys(n).forEach(l=>{let u=n[l];try{if(u instanceof Uint8Array){let h="";for(let p=0;p<u.length;p++)h+=E6[u[p]>>4],h+=E6[u[p]&15];o.push(l+"=Uint8Array(0x"+h+")")}else o.push(l+"="+JSON.stringify(u))}catch(h){o.push(l+"="+JSON.stringify(n[l].toString()))}}),o.push(`code=${r}`),o.push(`version=${this.version}`);let i=t,s="";switch(r){case Oo.NUMERIC_FAULT:{s="NUMERIC_FAULT";let l=t;switch(l){case"overflow":case"underflow":case"division-by-zero":s+="-"+l;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result";break}break}case Oo.CALL_EXCEPTION:case Oo.INSUFFICIENT_FUNDS:case Oo.MISSING_NEW:case Oo.NONCE_EXPIRED:case Oo.REPLACEMENT_UNDERPRICED:case Oo.TRANSACTION_REPLACED:case Oo.UNPREDICTABLE_GAS_LIMIT:s=r;break}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),o.length&&(t+=" ("+o.join(", ")+")");let a=new Error(t);return a.reason=i,a.code=r,Object.keys(n).forEach(function(l){a[l]=n[l]}),a}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,dt.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,o){t||this.throwError(r,n,o)}assertArgument(t,r,n,o){t||this.throwArgumentError(r,n,o)}checkNormalize(t){t==null&&(t="platform missing String.prototype.normalize"),x6&&this.throwError("platform missing String.prototype.normalize",dt.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:x6})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",t<r&&this.throwError("missing argument"+n,dt.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,dt.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",dt.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return x1||(x1=new dt(v6)),x1}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),w6){if(!t)return;this.globalLogger().throwError("error censorship permanent",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}b6=!!t,w6=!!r}static setLogLevel(t){let r=rp[t.toLowerCase()];if(r==null){dt.globalLogger().warn("invalid log level - "+t);return}_6=r}static from(t){return new dt(t)}};dt.errors=Oo;dt.levels=E1;c();d();f();var S6="bytes/5.7.0";var ca=new dt(S6);function T6(e){return!!e.toHexString}function Cl(e){return e.slice||(e.slice=function(){let t=Array.prototype.slice.call(arguments);return Cl(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function P6(e){return Tl(e)&&!(e.length%2)||af(e)}function C6(e){return typeof e=="number"&&e==e&&e%1===0}function af(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!C6(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){let r=e[t];if(!C6(r)||r<0||r>=256)return!1}return!0}function Un(e,t){if(t||(t={}),typeof e=="number"){ca.checkSafeUint53(e,"invalid arrayify value");let r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),Cl(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),T6(e)&&(e=e.toHexString()),Tl(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":ca.throwArgumentError("hex data is odd-length","value",e));let n=[];for(let o=0;o<r.length;o+=2)n.push(parseInt(r.substring(o,o+2),16));return Cl(new Uint8Array(n))}return af(e)?Cl(new Uint8Array(e)):ca.throwArgumentError("invalid arrayify value","value",e)}function lf(e){let t=e.map(o=>Un(o)),r=t.reduce((o,i)=>o+i.length,0),n=new Uint8Array(r);return t.reduce((o,i)=>(n.set(i,o),o+i.length),0),Cl(n)}function np(e,t){e=Un(e),e.length>t&&ca.throwArgumentError("value out of range","value",arguments[0]);let r=new Uint8Array(t);return r.set(e,t-e.length),Cl(r)}function Tl(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}var S1="0123456789abcdef";function Pl(e,t){if(t||(t={}),typeof e=="number"){ca.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=S1[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),T6(e))return e.toHexString();if(Tl(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":ca.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(af(e)){let r="0x";for(let n=0;n<e.length;n++){let o=e[n];r+=S1[(o&240)>>4]+S1[o&15]}return r}return ca.throwArgumentError("invalid hexlify value","value",e)}c();d();f();var O6="bignumber/5.7.0";var T1=A6.default.BN,yi=new dt(O6),C1={},D6=9007199254740991;var I6=!1,Dr=class{constructor(t,r){t!==C1&&yi.throwError("cannot call constructor directly; use BigNumber.from",dt.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return xn(ht(this).fromTwos(t))}toTwos(t){return xn(ht(this).toTwos(t))}abs(){return this._hex[0]==="-"?Dr.from(this._hex.substring(1)):this}add(t){return xn(ht(this).add(ht(t)))}sub(t){return xn(ht(this).sub(ht(t)))}div(t){return Dr.from(t).isZero()&&so("division-by-zero","div"),xn(ht(this).div(ht(t)))}mul(t){return xn(ht(this).mul(ht(t)))}mod(t){let r=ht(t);return r.isNeg()&&so("division-by-zero","mod"),xn(ht(this).umod(r))}pow(t){let r=ht(t);return r.isNeg()&&so("negative-power","pow"),xn(ht(this).pow(r))}and(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&so("unbound-bitwise-result","and"),xn(ht(this).and(r))}or(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&so("unbound-bitwise-result","or"),xn(ht(this).or(r))}xor(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&so("unbound-bitwise-result","xor"),xn(ht(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&so("negative-width","mask"),xn(ht(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&so("negative-width","shl"),xn(ht(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&so("negative-width","shr"),xn(ht(this).shrn(t))}eq(t){return ht(this).eq(ht(t))}lt(t){return ht(this).lt(ht(t))}lte(t){return ht(this).lte(ht(t))}gt(t){return ht(this).gt(ht(t))}gte(t){return ht(this).gte(ht(t))}isNegative(){return this._hex[0]==="-"}isZero(){return ht(this).isZero()}toNumber(){try{return ht(this).toNumber()}catch(t){so("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return yi.throwError("this platform does not support BigInt",dt.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?I6||(I6=!0,yi.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?yi.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",dt.errors.UNEXPECTED_ARGUMENT,{}):yi.throwError("BigNumber.toString does not accept parameters",dt.errors.UNEXPECTED_ARGUMENT,{})),ht(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof Dr)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new Dr(C1,uf(t)):t.match(/^-?[0-9]+$/)?new Dr(C1,uf(new T1(t))):yi.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&so("underflow","BigNumber.from",t),(t>=D6||t<=-D6)&&so("overflow","BigNumber.from",t),Dr.from(String(t));let r=t;if(typeof r=="bigint")return Dr.from(r.toString());if(af(r))return Dr.from(Pl(r));if(r)if(r.toHexString){let n=r.toHexString();if(typeof n=="string")return Dr.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(Tl(n)||n[0]==="-"&&Tl(n.substring(1))))return Dr.from(n)}return yi.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}};function uf(e){if(typeof e!="string")return uf(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&yi.throwArgumentError("invalid hex","value",e),e=uf(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function xn(e){return Dr.from(uf(e))}function ht(e){let t=Dr.from(e).toHexString();return t[0]==="-"?new T1("-"+t.substring(3),16):new T1(t.substring(2),16)}function so(e,t,r){let n={fault:e,operation:t};return r!=null&&(n.value=r),yi.throwError(e,dt.errors.NUMERIC_FAULT,n)}c();d();f();c();d();f();c();d();f();var M6="strings/5.7.0";var R6=new dt(M6),cf;(function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"})(cf||(cf={}));var fa;(function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"})(fa||(fa={}));function Kj(e,t,r,n,o){return R6.throwArgumentError(`invalid codepoint at offset ${t}; ${e}`,"bytes",r)}function N6(e,t,r,n,o){if(e===fa.BAD_PREFIX||e===fa.UNEXPECTED_CONTINUE){let i=0;for(let s=t+1;s<r.length&&r[s]>>6===2;s++)i++;return i}return e===fa.OVERRUN?r.length-t-1:0}function qj(e,t,r,n,o){return e===fa.OVERLONG?(n.push(o),0):(n.push(65533),N6(e,t,r,n,o))}var Gj=Object.freeze({error:Kj,ignore:N6,replace:qj});function P1(e,t=cf.current){t!=cf.current&&(R6.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o<128)r.push(o);else if(o<2048)r.push(o>>6|192),r.push(o&63|128);else if((o&64512)==55296){n++;let i=e.charCodeAt(n);if(n>=e.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");let s=65536+((o&1023)<<10)+(i&1023);r.push(s>>18|240),r.push(s>>12&63|128),r.push(s>>6&63|128),r.push(s&63|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128)}return Un(r)}c();d();f();var k6="solidity/5.7.0";var Wj=new RegExp("^bytes([0-9]+)$"),Yj=new RegExp("^(u?int)([0-9]*)$"),Xj=new RegExp("^(.*)\\[([0-9]*)\\]$"),Zj="0000000000000000000000000000000000000000000000000000000000000000",Ol=new dt(k6);function L6(e,t,r){switch(e){case"address":return r?np(t,32):Un(t);case"string":return P1(t);case"bytes":return Un(t);case"bool":return t=t?"0x01":"0x00",r?np(t,32):Un(t)}let n=e.match(Yj);if(n){let o=parseInt(n[2]||"256");return(n[2]&&String(o)!==n[2]||o%8!==0||o===0||o>256)&&Ol.throwArgumentError("invalid number type","type",e),r&&(o=256),t=Dr.from(t).toTwos(o),np(t,o/8)}if(n=e.match(Wj),n){let o=parseInt(n[1]);return(String(o)!==n[1]||o===0||o>32)&&Ol.throwArgumentError("invalid bytes type","type",e),Un(t).byteLength!==o&&Ol.throwArgumentError(`invalid value for ${e}`,"value",t),r?Un((t+Zj).substring(0,66)):t}if(n=e.match(Xj),n&&Array.isArray(t)){let o=n[1];parseInt(n[2]||String(t.length))!=t.length&&Ol.throwArgumentError(`invalid array length for ${e}`,"value",t);let s=[];return t.forEach(function(a){s.push(L6(o,a,!0))}),lf(s)}return Ol.throwArgumentError("invalid type","type",e)}function F6(e,t){e.length!=t.length&&Ol.throwArgumentError("wrong number of values; expected ${ types.length }","values",t);let r=[];return e.forEach(function(n,o){r.push(L6(n,t[o]))}),Pl(lf(r))}function ff(e){return Array.isArray(e)?Jj(e):P6(e)?O1(e):Qj(e)}function Jj(e){let[t,r]=e.reduce(([n,o],[i,s])=>(n.push(i),o.push(s),[n,o]),[[],[]]);return O1(F6(t,r))}function Qj(e){let t=_.from(e);return O1(t)}function O1(e){let t=BigInt(eV(e))>>BigInt(8),r=t.toString(16);return{hash:t,digest:`0x${r.padStart(64,"0")}`}}function eV(e){let t=Pl(lf([Un(e)]));return"0x"+$6.default.keccak_256(Un(t))}var U6=e=>{let t=/^0x[\dabcdef]+$/;return!!e.toString().match(t)&&e.length>=66};c();d();f();var D1=(o=>(o.MAX_ATTEMPTS="max_attempts",o.TIMEOUT="timeout",o.UNSUPPORTED_COUNTRY="unsupported_country",o.SERVER_ERROR="server_error",o))(D1||{});c();d();f();c();d();f();var A1=function(e,t){return A1=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},A1(e,t)};function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");A1(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var yt=function(){return yt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},yt.apply(this,arguments)};function da(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(h){try{u(n.next(h))}catch(p){s(p)}}function l(h){try{u(n.throw(h))}catch(p){s(p)}}function u(h){h.done?i(h.value):o(h.value).then(a,l)}u((n=n.apply(e,t||[])).next())})}function ha(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(h){u=[6,h],o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function rV(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var tt;(function(e){e.AnonymousId="anonymous_id",e.DistinctId="distinct_id",e.Props="props",e.FeatureFlags="feature_flags",e.OverrideFeatureFlags="override_feature_flags",e.Queue="queue",e.OptedOut="opted_out",e.SessionId="session_id",e.SessionLastTimestamp="session_timestamp",e.PersonProperties="person_properties",e.GroupProperties="group_properties"})(tt||(tt={}));function nV(e,t){if(!e)throw new Error(t)}function oV(e){return e==null?void 0:e.replace(/\/+$/,"")}function iV(e,t){return t===void 0&&(t={}),da(this,void 0,void 0,function(){var r,n,o,i,s,a,l,u,h,p;return ha(this,function(y){switch(y.label){case 0:r=t.retryCount,n=r===void 0?3:r,o=t.retryDelay,i=o===void 0?5e3:o,s=t.retryCheck,a=s===void 0?function(){return!0}:s,l=null,u=0,y.label=1;case 1:if(!(u<n+1))return[3,8];y.label=2;case 2:return y.trys.push([2,4,,5]),[4,e()];case 3:return h=y.sent(),[2,h];case 4:if(p=y.sent(),l=p,!a(p))throw p;return[3,5];case 5:return[4,new Promise(function(w){return setTimeout(w,i)})];case 6:y.sent(),y.label=7;case 7:return u++,[3,1];case 8:throw l}})})}function B6(e){var t=new Date().getTime(),r=e&&e.performance&&e.performance.now&&e.performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var o=Math.random()*16;return t>0?(o=(t+o)%16|0,t=Math.floor(t/16)):(o=(r+o)%16|0,r=Math.floor(r/16)),(n==="x"?o:o&3|8).toString(16)})}function q6(){return new Date().getTime()}function j6(){return new Date().toISOString()}function V6(e,t){var r=setTimeout(e,t);return r!=null&&r.unref&&(r==null||r.unref()),r}var df=String.fromCharCode,z6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",op={};function sV(e,t){if(!op[e]){op[e]={};for(var r=0;r<e.length;r++)op[e][e.charAt(r)]=r}return op[e][t]}var mf={compressToBase64:function(e){if(e==null)return"";var t=mf._compress(e,6,function(r){return z6.charAt(r)});switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(e){return e==null?"":e==""?null:mf._decompress(e.length,32,function(t){return sV(z6,e.charAt(t))})},compress:function(e){return mf._compress(e,16,function(t){return df(t)})},_compress:function(e,t,r){if(e==null)return"";var n={},o={},i=[],s,a,l="",u="",h="",p=2,y=3,w=2,v=0,S=0,I;for(I=0;I<e.length;I+=1)if(l=e.charAt(I),Object.prototype.hasOwnProperty.call(n,l)||(n[l]=y++,o[l]=!0),u=h+l,Object.prototype.hasOwnProperty.call(n,u))h=u;else{if(Object.prototype.hasOwnProperty.call(o,h)){if(h.charCodeAt(0)<256){for(s=0;s<w;s++)v=v<<1,S==t-1?(S=0,i.push(r(v)),v=0):S++;for(a=h.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}else{for(a=1,s=0;s<w;s++)v=v<<1|a,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=0;for(a=h.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}p--,p==0&&(p=Math.pow(2,w),w++),delete o[h]}else for(a=n[h],s=0;s<w;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1;p--,p==0&&(p=Math.pow(2,w),w++),n[u]=y++,h=String(l)}if(h!==""){if(Object.prototype.hasOwnProperty.call(o,h)){if(h.charCodeAt(0)<256){for(s=0;s<w;s++)v=v<<1,S==t-1?(S=0,i.push(r(v)),v=0):S++;for(a=h.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}else{for(a=1,s=0;s<w;s++)v=v<<1|a,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=0;for(a=h.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}p--,p==0&&(p=Math.pow(2,w),w++),delete o[h]}else for(a=n[h],s=0;s<w;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1;p--,p==0&&(p=Math.pow(2,w),w++)}for(a=2,s=0;s<w;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1;for(;;)if(v=v<<1,S==t-1){i.push(r(v));break}else S++;return i.join("")},decompress:function(e){return e==null?"":e==""?null:mf._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(e,t,r){var n=[],o=[],i={val:r(0),position:t,index:1},s=4,a=4,l=3,u="",h,p,y,w,v,S,I;for(h=0;h<3;h+=1)n[h]=h;for(y=0,v=Math.pow(2,2),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;switch(y){case 0:for(y=0,v=Math.pow(2,8),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;I=df(y);break;case 1:for(y=0,v=Math.pow(2,16),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;I=df(y);break;case 2:return""}for(n[3]=I,p=I,o.push(I);;){if(i.index>e)return"";for(y=0,v=Math.pow(2,l),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;switch(I=y){case 0:for(y=0,v=Math.pow(2,8),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;n[a++]=df(y),I=a-1,s--;break;case 1:for(y=0,v=Math.pow(2,16),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;n[a++]=df(y),I=a-1,s--;break;case 2:return o.join("")}if(s==0&&(s=Math.pow(2,l),l++),n[I])u=n[I];else if(I===a)u=p+p.charAt(0);else return null;o.push(u),n[a++]=p+u.charAt(0),s--,p=u,s==0&&(s=Math.pow(2,l),l++)}}},aV=function(){function e(){this.events={},this.events={}}return e.prototype.on=function(t,r){var n=this;return this.events[t]||(this.events[t]=[]),this.events[t].push(r),function(){n.events[t]=n.events[t].filter(function(o){return o!==r})}},e.prototype.emit=function(t,r){for(var n=0,o=this.events[t]||[];n<o.length;n++){var i=o[n];i(r)}for(var s=0,a=this.events["*"]||[];s<a.length;s++){var i=a[s];i(t,r)}},e}(),lV=function(){function e(t,r){var n=this,o,i,s,a,l,u;this.flagCallReported={},this._events=new aV,nV(t,"You must pass your PostHog project's api key."),this.apiKey=t,this.host=oV((r==null?void 0:r.host)||"https://app.posthog.com"),this.flushAt=r!=null&&r.flushAt?Math.max(r==null?void 0:r.flushAt,1):20,this.flushInterval=(o=r==null?void 0:r.flushInterval)!==null&&o!==void 0?o:1e4,this.captureMode=(r==null?void 0:r.captureMode)||"form",this.sendFeatureFlagEvent=(i=r==null?void 0:r.sendFeatureFlagEvent)!==null&&i!==void 0?i:!0,this._optoutOverride=(r==null?void 0:r.enable)===!1,this._retryOptions={retryCount:(s=r==null?void 0:r.fetchRetryCount)!==null&&s!==void 0?s:3,retryDelay:(a=r==null?void 0:r.fetchRetryDelay)!==null&&a!==void 0?a:3e3},this.requestTimeout=(l=r==null?void 0:r.requestTimeout)!==null&&l!==void 0?l:1e4,this._sessionExpirationTimeSeconds=(u=r==null?void 0:r.sessionExpirationTimeSeconds)!==null&&u!==void 0?u:1800,(r==null?void 0:r.preloadFeatureFlags)!==!1&&V6(function(){n.reloadFeatureFlagsAsync()},1)}return e.prototype.getCommonEventProperties=function(){var t=this.getFeatureFlags(),r={};if(t)for(var n=0,o=Object.entries(t);n<o.length;n++){var i=o[n],s=i[0],a=i[1];r["$feature/".concat(s)]=a}return yt({$lib:this.getLibraryId(),$lib_version:this.getLibraryVersion(),$active_feature_flags:t?Object.keys(t):void 0},r)},e.prototype.setupBootstrap=function(t){var r,n,o,i;if(!((r=t==null?void 0:t.bootstrap)===null||r===void 0)&&r.distinctId&&(!((n=t==null?void 0:t.bootstrap)===null||n===void 0)&&n.isIdentifiedId?this.setPersistedProperty(tt.DistinctId,t.bootstrap.distinctId):this.setPersistedProperty(tt.AnonymousId,t.bootstrap.distinctId)),!((o=t==null?void 0:t.bootstrap)===null||o===void 0)&&o.featureFlags){var s=Object.keys(((i=t.bootstrap)===null||i===void 0?void 0:i.featureFlags)||{}).filter(function(a){var l,u;return!!(!((u=(l=t.bootstrap)===null||l===void 0?void 0:l.featureFlags)===null||u===void 0)&&u[a])}).reduce(function(a,l){var u,h;return a[l]=((h=(u=t.bootstrap)===null||u===void 0?void 0:u.featureFlags)===null||h===void 0?void 0:h[l])||!1,a},{});this.setKnownFeatureFlags(s)}},Object.defineProperty(e.prototype,"props",{get:function(){return this._props||(this._props=this.getPersistedProperty(tt.Props)),this._props||{}},set:function(t){this._props=t},enumerable:!1,configurable:!0}),e.prototype.clearProps=function(){this.props=void 0},Object.defineProperty(e.prototype,"optedOut",{get:function(){var t,r;return(r=(t=this.getPersistedProperty(tt.OptedOut))!==null&&t!==void 0?t:this._optoutOverride)!==null&&r!==void 0?r:!1},enumerable:!1,configurable:!0}),e.prototype.optIn=function(){this.setPersistedProperty(tt.OptedOut,!1)},e.prototype.optOut=function(){this.setPersistedProperty(tt.OptedOut,!0)},e.prototype.on=function(t,r){return this._events.on(t,r)},e.prototype.reset=function(t){var r=rV([tt.Queue],t||[],!0);this.clearProps();for(var n=0,o=Object.keys(tt);n<o.length;n++){var i=o[n];r.includes(tt[i])||this.setPersistedProperty(tt[i],null)}},e.prototype.debug=function(t){var r;t===void 0&&(t=!0),(r=this.removeDebugCallback)===null||r===void 0||r.call(this),t&&(this.removeDebugCallback=this.on("*",function(n,o){return console.log("PostHog Debug",n,o)}))},e.prototype.buildPayload=function(t){return{distinct_id:t.distinct_id||this.getDistinctId(),event:t.event,properties:yt(yt(yt(yt({},this.props),t.properties||{}),this.getCommonEventProperties()),{$session_id:this.getSessionId()})}},e.prototype.getSessionId=function(){var t=this.getPersistedProperty(tt.SessionId),r=this.getPersistedProperty(tt.SessionLastTimestamp)||0;return(!t||Date.now()-r>this._sessionExpirationTimeSeconds*1e3)&&(t=B6(globalThis),this.setPersistedProperty(tt.SessionId,t)),this.setPersistedProperty(tt.SessionLastTimestamp,Date.now()),t},e.prototype.resetSessionId=function(){this.setPersistedProperty(tt.SessionId,null)},e.prototype.getAnonymousId=function(){var t=this.getPersistedProperty(tt.AnonymousId);return t||(t=B6(globalThis),this.setPersistedProperty(tt.AnonymousId,t)),t},e.prototype.getDistinctId=function(){return this.getPersistedProperty(tt.DistinctId)||this.getAnonymousId()},e.prototype.register=function(t){this.props=yt(yt({},this.props),t),this.setPersistedProperty(tt.Props,this.props)},e.prototype.unregister=function(t){delete this.props[t],this.setPersistedProperty(tt.Props,this.props)},e.prototype.identify=function(t,r){var n=this.getDistinctId();t=t||n,r!=null&&r.$groups&&this.groups(r.$groups);var o=yt(yt({},this.buildPayload({distinct_id:t,event:"$identify",properties:yt(yt({},r||{}),{$anon_distinct_id:this.getAnonymousId()})})),{$set:r});return t!==n&&(this.setPersistedProperty(tt.AnonymousId,n),this.setPersistedProperty(tt.DistinctId,t),this.getFeatureFlags()&&this.reloadFeatureFlagsAsync()),this.enqueue("identify",o),this},e.prototype.capture=function(t,r,n){if(n===void 0&&(n=!1),r!=null&&r.$groups&&this.groups(r.$groups),n)this._sendFeatureFlags(t,r);else{var o=this.buildPayload({event:t,properties:r});this.enqueue("capture",o)}return this},e.prototype.alias=function(t){var r=this.getDistinctId(),n=this.buildPayload({event:"$create_alias",properties:{distinct_id:r,alias:t}});return this.enqueue("alias",n),this},e.prototype.autocapture=function(t,r,n){n===void 0&&(n={});var o=this.buildPayload({event:"$autocapture",properties:yt(yt({},n),{$event_type:t,$elements:r})});return this.enqueue("autocapture",o),this},e.prototype.groups=function(t){var r=this.props.$groups||{};return this.register({$groups:yt(yt({},r),t)}),Object.keys(t).find(function(n){return r[n]!==t[n]})&&this.getFeatureFlags()&&this.reloadFeatureFlagsAsync(),this},e.prototype.group=function(t,r,n){var o;return this.groups((o={},o[t]=r,o)),n&&this.groupIdentify(t,r,n),this},e.prototype.groupIdentify=function(t,r,n){var o={event:"$groupidentify",distinctId:"$".concat(t,"_").concat(r),properties:yt({$group_type:t,$group_key:r,$group_set:n||{}},this.getCommonEventProperties())};return this.enqueue("capture",o),this},e.prototype.personProperties=function(t){var r=this.getPersistedProperty(tt.PersonProperties)||{};return this.setPersistedProperty(tt.PersonProperties,yt(yt({},r),t)),this},e.prototype.groupProperties=function(t){var r=this.getPersistedProperty(tt.GroupProperties)||{};return Object.keys(r).length!==0&&Object.keys(r).forEach(function(n){r[n]=yt(yt({},r[n]),t[n]),delete t[n]}),this.setPersistedProperty(tt.GroupProperties,yt(yt({},r),t)),this},e.prototype.decideAsync=function(t){return t===void 0&&(t=!0),this._decideResponsePromise?this._decideResponsePromise:this._decideAsync(t)},e.prototype._decideAsync=function(t){return t===void 0&&(t=!0),da(this,void 0,void 0,function(){var r,n,o,i,s,a,l=this;return ha(this,function(u){return r="".concat(this.host,"/decide/?v=2"),n=this.getDistinctId(),o=this.props.$groups||{},i=this.getPersistedProperty(tt.PersonProperties)||{},s=this.getPersistedProperty(tt.GroupProperties)||{},a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:this.apiKey,distinct_id:n,$anon_distinct_id:t?this.getAnonymousId():void 0,groups:o,person_properties:i,group_properties:s})},this._decideResponsePromise=this.fetchWithRetry(r,a).then(function(h){return h.json()}).then(function(h){return h.featureFlags&&l.setKnownFeatureFlags(h.featureFlags),h}).finally(function(){l._decideResponsePromise=void 0}),[2,this._decideResponsePromise]})})},e.prototype.setKnownFeatureFlags=function(t){this.setPersistedProperty(tt.FeatureFlags,t),this._events.emit("featureflags",t)},e.prototype.getFeatureFlag=function(t){var r=this.getFeatureFlags();if(!!r){var n=r[t];return n===void 0&&(n=!1),this.sendFeatureFlagEvent&&!this.flagCallReported[t]&&(this.flagCallReported[t]=!0,this.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:n})),n}},e.prototype.getFeatureFlags=function(){var t=this.getPersistedProperty(tt.FeatureFlags),r=this.getPersistedProperty(tt.OverrideFeatureFlags);if(!r)return t;t=t||{};for(var n in r)r[n]?t[n]=r[n]:delete t[n];return t},e.prototype.isFeatureEnabled=function(t){var r=this.getFeatureFlag(t);if(r!==void 0)return!!r},e.prototype.reloadFeatureFlagsAsync=function(t){return t===void 0&&(t=!0),da(this,void 0,void 0,function(){return ha(this,function(r){switch(r.label){case 0:return[4,this.decideAsync(t)];case 1:return[2,r.sent().featureFlags]}})})},e.prototype.onFeatureFlags=function(t){var r=this;return this.on("featureflags",function(){return da(r,void 0,void 0,function(){var n;return ha(this,function(o){return n=this.getFeatureFlags(),n&&t(n),[2]})})})},e.prototype.onFeatureFlag=function(t,r){var n=this;return this.on("featureflags",function(){return da(n,void 0,void 0,function(){var o;return ha(this,function(i){return o=this.getFeatureFlag(t),o!==void 0&&r(o),[2]})})})},e.prototype.overrideFeatureFlag=function(t){return t===null?this.setPersistedProperty(tt.OverrideFeatureFlags,null):this.setPersistedProperty(tt.OverrideFeatureFlags,t)},e.prototype._sendFeatureFlags=function(t,r){var n=this;this.reloadFeatureFlagsAsync(!1).finally(function(){var o=n.buildPayload({event:t,properties:r});n.enqueue("capture",o)})},e.prototype.enqueue=function(t,r){var n=this;if(!this.optedOut){var o=yt(yt({},r),{type:t,library:this.getLibraryId(),library_version:this.getLibraryVersion(),timestamp:r.timestamp?r.timestamp:j6()});o.distinctId&&(o.distinct_id=o.distinctId,delete o.distinctId);var i=this.getPersistedProperty(tt.Queue)||[];i.push({message:o}),this.setPersistedProperty(tt.Queue,i),this._events.emit(t,o),i.length>=this.flushAt&&this.flush(),this.flushInterval&&!this._flushTimer&&(this._flushTimer=V6(function(){return n.flush()},this.flushInterval))}},e.prototype.flushAsync=function(){var t=this;return new Promise(function(r,n){t.flush(function(o,i){return o?n(o):r(i)})})},e.prototype.flush=function(t){var r=this;if(this.optedOut)return t==null?void 0:t();this._flushTimer&&(clearTimeout(this._flushTimer),this._flushTimer=null);var n=this.getPersistedProperty(tt.Queue)||[];if(!n.length)return t==null?void 0:t();var o=n.splice(0,this.flushAt);this.setPersistedProperty(tt.Queue,n);var i=o.map(function(p){return p.message}),s={api_key:this.apiKey,batch:i,sent_at:j6()},a=function(p){t==null||t(p,i),r._events.emit("flush",i)};this.getCustomUserAgent();var l=JSON.stringify(s),u=this.captureMode==="form"?"".concat(this.host,"/e/?ip=1&_=").concat(q6(),"&v=").concat(this.getLibraryVersion()):"".concat(this.host,"/batch/"),h=this.captureMode==="form"?{method:"POST",mode:"no-cors",credentials:"omit",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"data=".concat(encodeURIComponent(mf.compressToBase64(l)),"&compression=lz64")}:{method:"POST",headers:{"Content-Type":"application/json"},body:l};this.fetchWithRetry(u,h).then(function(){return a()}).catch(function(p){if(p.response){var y=new Error(p.response.statusText);return a(y)}a(p)})},e.prototype.fetchWithRetry=function(t,r,n){var o,i;return da(this,void 0,void 0,function(){var s=this;return ha(this,function(a){return(o=(i=AbortSignal).timeout)!==null&&o!==void 0||(i.timeout=function(u){var h=new AbortController;return setTimeout(function(){return h.abort()},u),h.signal}),[2,iV(function(){return s.fetch(t,yt({signal:AbortSignal.timeout(s.requestTimeout)},r))},n||this._retryOptions)]})})},e.prototype.shutdownAsync=function(){return da(this,void 0,void 0,function(){return ha(this,function(t){switch(t.label){case 0:return clearTimeout(this._flushTimer),[4,this.flushAsync()];case 1:return t.sent(),[2]}})})},e.prototype.shutdown=function(){this.shutdownAsync()},e}(),G6="2.0.0";function uV(e){var t={};if(e.navigator){var r=e.navigator.userAgent;t=yt(yt({},t),{$os:fV(e),$browser:W6(r,e.navigator.vendor,!!e.opera),$referrer:e.document.referrer,$referring_domain:hV(e.document.referrer),$device:dV(r),$current_url:e.location.href,$host:e.location.host,$pathname:e.location.pathname,$browser_version:cV(r,e.navigator.vendor,!!e.opera),$screen_height:e.screen.height,$screen_width:e.screen.width,$screen_dpr:e.devicePixelRatio})}return t=yt(yt({},t),{$lib:"js",$lib_version:G6,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:q6()/1e3}),t}function sr(e,t){return e.indexOf(t)>=0}function W6(e,t,r){return t=t||"",r||sr(e," OPR/")?sr(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":sr(e,"IEMobile")||sr(e,"WPDesktop")?"Internet Explorer Mobile":sr(e,"SamsungBrowser/")?"Samsung Internet":sr(e,"Edge")||sr(e,"Edg/")?"Microsoft Edge":sr(e,"FBIOS")?"Facebook Mobile":sr(e,"Chrome")?"Chrome":sr(e,"CriOS")?"Chrome iOS":sr(e,"UCWEB")||sr(e,"UCBrowser")?"UC Browser":sr(e,"FxiOS")?"Firefox iOS":sr(t,"Apple")?sr(e,"Mobile")?"Mobile Safari":"Safari":sr(e,"Android")?"Android Mobile":sr(e,"Konqueror")?"Konqueror":sr(e,"Firefox")?"Firefox":sr(e,"MSIE")||sr(e,"Trident/")?"Internet Explorer":sr(e,"Gecko")?"Mozilla":""}function cV(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/},o=W6(e,t,r),i=n[o]||void 0;if(i===void 0)return null;var s=e.match(i);return s?parseFloat(s[s.length-2]):null}function fV(e){var t=e.navigator.userAgent;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""}function dV(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""}function hV(e){var t=e.split("/");return t.length>=3?t[2]:""}var Y6={getItem:function(e){try{for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];o.charAt(0)==" ";)o=o.substring(1,o.length);if(o.indexOf(t)===0)return decodeURIComponent(o.substring(t.length,o.length))}}catch(i){}return null},setItem:function(e,t){try{var r="",n="",o="",i=e+"="+encodeURIComponent(t)+n+"; path=/"+r+o;document.cookie=i}catch(s){return}},removeItem:function(e){try{Y6.setItem(e,"")}catch(t){return}},clear:function(){document.cookie=""},getAllKeys:function(){for(var e=document.cookie.split(";"),t=[],r=0;r<e.length;r++){for(var n=e[r];n.charAt(0)==" ";)n=n.substring(1,n.length);t.push(n.split("=")[0])}return t}},H6=function(e){return{getItem:function(t){return e.getItem(t)},setItem:function(t,r){e.setItem(t,r)},removeItem:function(t){e.removeItem(t)},clear:function(){e.clear()},getAllKeys:function(){var t=[];for(var r in localStorage)t.push(r);return t}}},K6=function(e,t){if(t===void 0&&(t="__mplssupport__"),!window)return!1;try{var r="xyz";return e.setItem(t,r),e.getItem(t)!==r?!1:(e.removeItem(t),!0)}catch(n){return!1}},I1=void 0,hf=void 0,pf=function(){var e={},t={getItem:function(r){return e[r]},setItem:function(r,n){e[r]=n!==null?n:void 0},removeItem:function(r){delete e[r]},clear:function(){for(var r in e)delete e[r]},getAllKeys:function(){var r=[];for(var n in e)r.push(n);return r}};return t},pV=function(e,t){if(t){if(!localStorage){var r=H6(t.localStorage);I1=K6(r)?r:void 0}if(!hf){var n=H6(t.sessionStorage);hf=K6(n)?n:void 0}}switch(e){case"cookie":return Y6||I1||hf||pf();case"localStorage":return I1||hf||pf();case"sessionStorage":return hf||pf();case"memory":return pf();default:return pf()}},X6=function(e){tV(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o._storageKey=n!=null&&n.persistence_name?"ph_".concat(n.persistence_name):"ph_".concat(r,"_posthog"),o._storage=pV((n==null?void 0:n.persistence)||"localStorage",window),o.setupBootstrap(n),o}return t.prototype.getPersistedProperty=function(r){return this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),this._storageCache[r]},t.prototype.setPersistedProperty=function(r,n){this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),n===null?delete this._storageCache[r]:this._storageCache[r]=n,this._storage.setItem(this._storageKey,JSON.stringify(this._storageCache))},t.prototype.fetch=function(r,n){return window.fetch(r,n)},t.prototype.getLibraryId=function(){return"posthog-js-lite"},t.prototype.getLibraryVersion=function(){return G6},t.prototype.getCustomUserAgent=function(){},t.prototype.getCommonEventProperties=function(){return yt(yt({},e.prototype.getCommonEventProperties.call(this)),uV(window))},t}(lV);function mV(e){return{name:"telemetry-error",error:e}}typeof globalThis.window<"u"&&(window.onunhandledrejection=function(e){return e.reason.name!=="telemetry-error"});async function gV(e,t){try{return await fetch(e,t)}catch(r){throw mV(r)}}var hr=null;typeof globalThis.window<"u"&&(hr=new X6("phc_QttqgDbMQDYHX1EMH7FnT6ECBVzdp0kGUq92aQaVQ6I",{persistence:"memory"}),hr.fetch=gV);var ip={version:"0.3.0",package:"idkit-js"},Dl=()=>{var e;return(e=hr==null?void 0:hr.getDistinctId())!=null?e:""},Z6=e=>{e?hr==null||hr.capture("idkit loaded",ip):hr==null||hr.optOut()},J6=()=>{hr==null||hr.capture("idkit opened",ip)},Q6=()=>{hr==null||hr.capture("idkit phone typed",ip)},e5=e=>{hr==null||hr.capture("idkit phone code retried",ve(Q({},ip),{channel:e}))};var yV=ep()((e,t)=>({open:!1,code:"",signal:"",result:null,actionId:"",theme:"light",walletConnectProjectId:"",errorTitle:"",errorDetail:"",phoneNumber:"",autoClose:!1,errorState:null,processing:!1,verifyCallbacks:{},successCallbacks:{},stringifiedActionId:"",methods:["orb","phone"],stage:"SELECT_METHOD",copy:{},computed:{canGoBack:r=>{switch(r){case"ENTER_PHONE":return t().methods.includes("orb");case"WORLD_ID":return t().methods.includes("phone");case"ENTER_CODE":case"PRIVACY":return!0;default:return!1}},getDefaultStage:r=>(r=r!=null?r:t().methods,r.length>1?"SELECT_METHOD":r[0]==="phone"?"ENTER_PHONE":"WORLD_ID")},setCode:r=>e({code:r}),setStage:r=>e({stage:r}),setErrorState:r=>e({errorState:r}),setPhoneNumber:r=>e({phoneNumber:r}),setProcessing:r=>e({processing:r}),retryFlow:()=>{t().methods[0]=="orb"?e({stage:"WORLD_ID",errorState:null}):e({stage:"ENTER_PHONE",phoneNumber:"",errorState:null})},addSuccessCallback:(r,n)=>{e(o=>(o.successCallbacks[n]=r,o))},addVerificationCallback:(r,n)=>{e(o=>(o.verifyCallbacks[n]=r,o))},setOptions:({handleVerify:r,onSuccess:n,signal:o,actionId:i,walletConnectProjectId:s,autoClose:a,copy:l,theme:u,methods:h},p)=>{let y=typeof i=="string"?i:ff(i).digest;e(w=>({theme:u,signal:o,actionId:i,methods:h!=null?h:w.methods,stage:w.computed.getDefaultStage(h),walletConnectProjectId:s,autoClose:a,stringifiedActionId:y,copy:Q(Q({},w.copy),l)})),n&&t().addSuccessCallback(n,p),r&&t().addVerificationCallback(r,p)},handleVerify:r=>{e({stage:"HOST_APP_VERIFICATION",processing:!1}),Promise.all(Object.values(t().verifyCallbacks).map(n=>n==null?void 0:n(r))).then(()=>{e({stage:"SUCCESS",result:r}),t().autoClose&&setTimeout(()=>t().onOpenChange(!1),1e3)},n=>{let o;n&&typeof n=="object"&&n.message&&(o=n.message),e({stage:"ERROR",errorState:{code:"REJECTED_BY_HOST_APP",message:o}})})},onOpenChange:r=>{if(r)return J6(),e({open:r});if(t().stage=="SUCCESS"){let n=t().result;n&&requestAnimationFrame(()=>Object.values(t().successCallbacks).map(o=>()=>o==null?void 0:o(n)))}e({open:r,code:"",result:null,phoneNumber:"",errorState:null,processing:!1,stage:t().computed.getDefaultStage()})}})),Bt=yV;c();d();f();var t5={title:"World ID",heading:"Verify your identity",subheading:"Unlock additional benefits by verifying you're a unique human doing this action once.",success:"Your phone number has been verified"};var PB=ue(E8(),1);c();d();f();var CB=ue(we(),1);c();d();f();c();d();f();var mr=ue(we()),M8=ue(Da()),Oi=ue(qb()),_H=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function R8(e,t){return e(t={exports:{}},t.exports),t.exports}var xH=R8(function(e){(function(t){var r=function(I,T,O){if(!l(T)||h(T)||p(T)||y(T)||a(T))return T;var M,L=0,G=0;if(u(T))for(M=[],G=T.length;L<G;L++)M.push(r(I,T[L],O));else for(var J in M={},T)Object.prototype.hasOwnProperty.call(T,J)&&(M[I(J,O)]=r(I,T[J],O));return M},n=function(I){return w(I)?I:(I=I.replace(/[\-_\s]+(.)?/g,function(T,O){return O?O.toUpperCase():""})).substr(0,1).toLowerCase()+I.substr(1)},o=function(I){var T=n(I);return T.substr(0,1).toUpperCase()+T.substr(1)},i=function(I,T){return function(O,M){var L=(M=M||{}).separator||"_",G=M.split||/(?=[A-Z])/;return O.split(G).join(L)}(I,T).toLowerCase()},s=Object.prototype.toString,a=function(I){return typeof I=="function"},l=function(I){return I===Object(I)},u=function(I){return s.call(I)=="[object Array]"},h=function(I){return s.call(I)=="[object Date]"},p=function(I){return s.call(I)=="[object RegExp]"},y=function(I){return s.call(I)=="[object Boolean]"},w=function(I){return(I-=0)==I},v=function(I,T){var O=T&&"process"in T?T.process:T;return typeof O!="function"?I:function(M,L){return O(M,I,L)}},S={camelize:n,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(I,T){return r(v(n,T),I)},decamelizeKeys:function(I,T){return r(v(i,T),I,T)},pascalizeKeys:function(I,T){return r(v(o,T),I)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=S:t.humps=S})(_H)}).decamelize,EH=R8(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},t.apply(this,arguments)}e.exports=t}),SH=function(e){if(Array.isArray(e))return e},CH=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(l){o=!0,i=l}finally{try{n||a.return==null||a.return()}finally{if(o)throw i}}return r}},A8=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},TH=function(e,t){if(e){if(typeof e=="string")return A8(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A8(e,t):void 0}},PH=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22
+ `&&e.push(C2),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(si(t));for(var w in r)if(In.call(r,w)&&(i=r[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(rt(399,t));default:Zn(e,n,w,i)}return e.push(CA),null;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 S2(e,r,t,n);case"html":return o.insertionMode===0&&e.push(nY),S2(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return S2(e,r,t,n);e.push(si(t)),s=i=null;for(u in r)if(In.call(r,u)&&(a=r[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":GA(e,n,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:qA(u)&&typeof a!="function"&&typeof a!="symbol"&&e.push(Ks,ot(u),rc,ot(Ur(a)),Wa)}return e.push(qs),ng(e,s,i),i}}var iY=Ie("</"),sY=Ie(">"),aY=Ie('<template id="'),lY=Ie('"></template>'),uY=Ie("<!--$-->"),cY=Ie('<!--$?--><template id="'),fY=Ie('"></template>'),dY=Ie("<!--$!-->"),hY=Ie("<!--/$-->"),pY=Ie("<template"),mY=Ie('"'),gY=Ie(' data-dgst="');Ie(' data-msg="');Ie(' data-stck="');var yY=Ie("></template>");function PA(e,t,r){if(Fe(e,cY),r===null)throw Error(rt(395));return Fe(e,r),zt(e,fY)}var vY=Ie('<div hidden id="'),wY=Ie('">'),bY=Ie("</div>"),_Y=Ie('<svg aria-hidden="true" style="display:none" id="'),xY=Ie('">'),EY=Ie("</svg>"),SY=Ie('<math aria-hidden="true" style="display:none" id="'),CY=Ie('">'),TY=Ie("</math>"),PY=Ie('<table hidden id="'),OY=Ie('">'),DY=Ie("</table>"),IY=Ie('<table hidden><tbody id="'),AY=Ie('">'),MY=Ie("</tbody></table>"),RY=Ie('<table hidden><tr id="'),NY=Ie('">'),kY=Ie("</tr></table>"),LY=Ie('<table hidden><colgroup id="'),FY=Ie('">'),$Y=Ie("</colgroup></table>");function UY(e,t,r,n){switch(r.insertionMode){case 0:case 1:return Fe(e,vY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,wY);case 2:return Fe(e,_Y),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,xY);case 3:return Fe(e,SY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,CY);case 4:return Fe(e,PY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,OY);case 5:return Fe(e,IY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,AY);case 6:return Fe(e,RY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,NY);case 7:return Fe(e,LY),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),zt(e,FY);default:throw Error(rt(397))}}function BY(e,t){switch(t.insertionMode){case 0:case 1:return zt(e,bY);case 2:return zt(e,EY);case 3:return zt(e,TY);case 4:return zt(e,DY);case 5:return zt(e,MY);case 6:return zt(e,kY);case 7:return zt(e,$Y);default:throw Error(rt(397))}}var jY=Ie('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),VY=Ie('$RS("'),zY=Ie('","'),HY=Ie('")<\/script>'),KY=Ie('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),qY=Ie('$RC("'),GY=Ie('","'),WY=Ie('")<\/script>'),YY=Ie('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),XY=Ie('$RX("'),ZY=Ie('"'),JY=Ie(")<\/script>"),T2=Ie(","),QY=/[<\u2028\u2029]/g;function P2(e){return JSON.stringify(e).replace(QY,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var $d=Object.assign,eX=Symbol.for("react.element"),WA=Symbol.for("react.portal"),YA=Symbol.for("react.fragment"),XA=Symbol.for("react.strict_mode"),ZA=Symbol.for("react.profiler"),JA=Symbol.for("react.provider"),QA=Symbol.for("react.context"),eM=Symbol.for("react.forward_ref"),tM=Symbol.for("react.suspense"),rM=Symbol.for("react.suspense_list"),nM=Symbol.for("react.memo"),F2=Symbol.for("react.lazy"),tX=Symbol.for("react.scope"),rX=Symbol.for("react.debug_trace_mode"),nX=Symbol.for("react.legacy_hidden"),oX=Symbol.for("react.default_value"),OA=Symbol.iterator;function I2(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 YA:return"Fragment";case WA:return"Portal";case ZA:return"Profiler";case XA:return"StrictMode";case tM:return"Suspense";case rM:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case QA:return(e.displayName||"Context")+".Consumer";case JA:return(e._context.displayName||"Context")+".Provider";case eM:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nM:return t=e.displayName||null,t!==null?t:I2(e.type)||"Memo";case F2:t=e._payload,e=e._init;try{return I2(e(t))}catch(r){}}return null}var oM={};function DA(e,t){if(e=e.contextTypes,!e)return oM;var r={},n;for(n in e)r[n]=t[n];return r}var Xa=null;function dg(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(rt(401))}else{if(r===null)throw Error(rt(401));dg(e,r)}t.context._currentValue=t.value}}function iM(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&iM(e)}function sM(e){var t=e.parent;t!==null&&sM(t),e.context._currentValue=e.value}function aM(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(rt(402));e.depth===t.depth?dg(e,t):aM(e,t)}function lM(e,t){var r=t.parent;if(r===null)throw Error(rt(402));e.depth===r.depth?dg(e,r):lM(e,r),t.context._currentValue=t.value}function ag(e){var t=Xa;t!==e&&(t===null?sM(e):e===null?iM(t):t.depth===e.depth?dg(t,e):t.depth>e.depth?aM(t,e):lM(t,e),Xa=e)}var IA={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function AA(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=IA,e.props=r,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue:n,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(r,o),o=s==null?o:$d({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&IA.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,r,n):a,a!=null&&(o?(o=!1,i=$d({},i,a)):$d(i,a))}e.state=i}else i.queue=null}var iX={id:1,overflow:""};function A2(e,t,r){var n=e.id;e=e.overflow;var o=32-og(n)-1;n&=~(1<<o),r+=1;var i=32-og(t)+o;if(30<i){var s=o-o%5;return i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,{id:1<<32-og(t)+o|r<<o|n,overflow:i+e}}return{id:1<<i|r<<o|n,overflow:e}}var og=Math.clz32?Math.clz32:lX,sX=Math.log,aX=Math.LN2;function lX(e){return e>>>=0,e===0?32:31-(sX(e)/aX|0)|0}function uX(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cX=typeof Object.is=="function"?Object.is:uX,$i=null,$2=null,ig=null,Ft=null,Ld=!1,lg=!1,Ud=0,Gs=null,hg=0;function Ya(){if($i===null)throw Error(rt(321));return $i}function MA(){if(0<hg)throw Error(rt(312));return{memoizedState:null,queue:null,next:null}}function U2(){return Ft===null?ig===null?(Ld=!1,ig=Ft=MA()):(Ld=!0,Ft=ig):Ft.next===null?(Ld=!1,Ft=Ft.next=MA()):(Ld=!0,Ft=Ft.next),Ft}function B2(){$2=$i=null,lg=!1,ig=null,hg=0,Ft=Gs=null}function uM(e,t){return typeof t=="function"?t(e):t}function RA(e,t,r){if($i=Ya(),Ft=U2(),Ld){var n=Ft.queue;if(t=n.dispatch,Gs!==null&&(r=Gs.get(n),r!==void 0)){Gs.delete(n),n=Ft.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return Ft.memoizedState=n,[n,t]}return[Ft.memoizedState,t]}return e=e===uM?typeof t=="function"?t():t:r!==void 0?r(t):t,Ft.memoizedState=e,e=Ft.queue={last:null,dispatch:null},e=e.dispatch=fX.bind(null,$i,e),[Ft.memoizedState,e]}function NA(e,t){if($i=Ya(),Ft=U2(),t=t===void 0?null:t,Ft!==null){var r=Ft.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!cX(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),Ft.memoizedState=[e,t],e}function fX(e,t,r){if(25<=hg)throw Error(rt(301));if(e===$i)if(lg=!0,e={action:r,next:null},Gs===null&&(Gs=new Map),r=Gs.get(t),r===void 0)Gs.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function dX(){throw Error(rt(394))}function eg(){}var kA={readContext:function(e){return e._currentValue},useContext:function(e){return Ya(),e._currentValue},useMemo:NA,useReducer:RA,useRef:function(e){$i=Ya(),Ft=U2();var t=Ft.memoizedState;return t===null?(e={current:e},Ft.memoizedState=e):t},useState:function(e){return RA(uM,e)},useInsertionEffect:eg,useLayoutEffect:function(){},useCallback:function(e,t){return NA(function(){return e},t)},useImperativeHandle:eg,useEffect:eg,useDebugValue:eg,useDeferredValue:function(e){return Ya(),e},useTransition:function(){return Ya(),[!1,dX]},useId:function(){var e=$2.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-og(e)-1)).toString(32)+t;var r=sg;if(r===null)throw Error(rt(404));return t=Ud++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ya(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(rt(407));return r()}},sg=null,O2=zA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function hX(e){return console.error(e),null}function Fd(){}function pX(e,t,r,n,o,i,s,a,l){var u=[],h=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:h,pingedTasks:u,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?hX:o,onAllReady:i===void 0?Fd:i,onShellReady:s===void 0?Fd:s,onShellError:a===void 0?Fd:a,onFatalError:l===void 0?Fd:l},r=ug(t,0,null,r,!1,!1),r.parentFlushed=!0,e=j2(t,e,null,r,h,oM,null,iX),u.push(e),t}function j2(e,t,r,n,o,i,s,a){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var u=e.pingedTasks;u.push(l),u.length===1&&dM(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function ug(e,t,r,n,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:i}}function Bd(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function cg(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,KA(e.destination,t)):(e.status=1,e.fatalError=t)}function LA(e,t,r,n,o){for($i={},$2=t,Ud=0,e=r(n,o);lg;)lg=!1,Ud=0,hg+=1,Ft=null,e=r(n,o);return B2(),e}function FA(e,t,r,n){var o=r.render(),i=n.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof r.getChildContext!="function")n=s;else{r=r.getChildContext();for(var a in r)if(!(a in i))throw Error(rt(108,I2(n)||"Unknown",a));n=$d({},s,r)}t.legacyContext=n,eo(e,t,o),t.legacyContext=s}else eo(e,t,o)}function $A(e,t){if(e&&e.defaultProps){t=$d({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function M2(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=DA(r,t.legacyContext);var i=r.contextType;i=new r(n,typeof i=="object"&&i!==null?i._currentValue:o),AA(i,r,n,o),FA(e,t,i,r)}else{i=DA(r,t.legacyContext),o=LA(e,t,r,n,i);var s=Ud!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)AA(o,r,n,i),FA(e,t,o,r);else if(s){n=t.treeContext,t.treeContext=A2(n,1,0);try{eo(e,t,o)}finally{t.treeContext=n}}else eo(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,i=oY(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=JW(s,r,n),R2(e,t,i),o.formatContext=s,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(iY,ot(r),sY)}o.lastPushedText=!1}else{switch(r){case nX:case rX:case XA:case ZA:case YA:eo(e,t,n.children);return;case rM:eo(e,t,n.children);return;case tX:throw Error(rt(343));case tM:e:{r=t.blockedBoundary,o=t.blockedSegment,i=n.fallback,n=n.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},l=ug(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var u=ug(e,0,null,o.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=u;try{if(R2(e,t,n),u.lastPushedText&&u.textEmbedded&&u.chunks.push(L2),u.status=1,fg(a,u),a.pendingTasks===0)break e}catch(h){u.status=4,a.forceClientRender=!0,a.errorDigest=Bd(e,h)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=j2(e,i,r,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case eM:if(n=LA(e,t,r.render,n,o),Ud!==0){r=t.treeContext,t.treeContext=A2(r,1,0);try{eo(e,t,n)}finally{t.treeContext=r}}else eo(e,t,n);return;case nM:r=r.type,n=$A(r,n),M2(e,t,r,n,o);return;case JA:if(o=n.children,r=r._context,n=n.value,i=r._currentValue,r._currentValue=n,s=Xa,Xa=n={parent:s,depth:s===null?0:s.depth+1,context:r,parentValue:i,value:n},t.context=n,eo(e,t,o),e=Xa,e===null)throw Error(rt(403));n=e.parentValue,e.context._currentValue=n===oX?e.context._defaultValue:n,e=Xa=e.parent,t.context=e;return;case QA:n=n.children,n=n(r._currentValue),eo(e,t,n);return;case F2:o=r._init,r=o(r._payload),n=$A(r,n),M2(e,t,r,n,void 0);return}throw Error(rt(130,r==null?r:typeof r,""))}}function eo(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case eX:M2(e,t,r.type,r.props,r.ref);return;case WA:throw Error(rt(257));case F2:var n=r._init;r=n(r._payload),eo(e,t,r);return}if(D2(r)){UA(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=OA&&r[OA]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);UA(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(rt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=_A(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=_A(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function UA(e,t,r){for(var n=r.length,o=0;o<n;o++){var i=t.treeContext;t.treeContext=A2(i,n,o);try{R2(e,t,r[o])}finally{t.treeContext=i}}}function R2(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return eo(e,t,r)}catch(l){if(B2(),typeof l=="object"&&l!==null&&typeof l.then=="function"){r=l;var s=t.blockedSegment,a=ug(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=j2(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,ag(i)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,ag(i),l}}function mX(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,fM(this,t,e)}function cM(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(rt(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return cM(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function fg(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&fg(e,r)}else e.completedSegments.push(t)}function fM(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(rt(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=Fd,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&fg(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(mX,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(fg(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function dM(e){if(e.status!==2){var t=Xa,r=O2.current;O2.current=kA;var n=sg;sg=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,l=s.blockedSegment;if(l.status===0){ag(s.context);try{eo(a,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(L2),s.abortSet.delete(s),l.status=1,fM(a,s.blockedBoundary,l)}catch(v){if(B2(),typeof v=="object"&&v!==null&&typeof v.then=="function"){var u=s.ping;v.then(u,u)}else{s.abortSet.delete(s),l.status=4;var h=s.blockedBoundary,p=v,y=Bd(a,p);if(h===null?cg(a,p):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=y,h.parentFlushed&&a.clientRenderedBoundaries.push(h))),a.allPendingTasks--,a.allPendingTasks===0){var w=a.onAllReady;w()}}}finally{}}}o.splice(0,i),e.destination!==null&&V2(e,e.destination)}catch(v){Bd(e,v),cg(e,v)}finally{sg=n,O2.current=r,r===kA&&ag(t)}}}function tg(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,Fe(t,aY),Fe(t,e.placeholderPrefix),e=ot(n.toString(16)),Fe(t,e),zt(t,lY);case 1:r.status=2;var o=!0;n=r.chunks;var i=0;r=r.children;for(var s=0;s<r.length;s++){for(o=r[s];i<o.index;i++)Fe(t,n[i]);o=pg(e,t,o)}for(;i<n.length-1;i++)Fe(t,n[i]);return i<n.length&&(o=zt(t,n[i])),o;default:throw Error(rt(390))}}function pg(e,t,r){var n=r.boundary;if(n===null)return tg(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,zt(t,dY),Fe(t,pY),n&&(Fe(t,gY),Fe(t,ot(Ur(n))),Fe(t,mY)),zt(t,yY),tg(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,i=o.nextSuspenseID++;o=Ie(o.boundaryPrefix+i.toString(16)),n=n.id=o,PA(t,e.responseState,n),tg(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),PA(t,e.responseState,n.id),tg(e,t,r);else{if(zt(t,uY),r=n.completedSegments,r.length!==1)throw Error(rt(391));pg(e,t,r[0])}return zt(t,hY)}function BA(e,t,r){return UY(t,e.responseState,r.formatContext,r.id),pg(e,t,r),BY(t,r.formatContext)}function jA(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)hM(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,Fe(t,e.startInlineScript),e.sentCompleteBoundaryFunction?Fe(t,qY):(e.sentCompleteBoundaryFunction=!0,Fe(t,KY)),n===null)throw Error(rt(395));return r=ot(r.toString(16)),Fe(t,n),Fe(t,GY),Fe(t,e.segmentPrefix),Fe(t,r),zt(t,WY)}function hM(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(rt(392));return BA(e,t,n)}return BA(e,t,n),e=e.responseState,Fe(t,e.startInlineScript),e.sentCompleteSegmentFunction?Fe(t,VY):(e.sentCompleteSegmentFunction=!0,Fe(t,jY)),Fe(t,e.segmentPrefix),o=ot(o.toString(16)),Fe(t,o),Fe(t,zY),Fe(t,e.placeholderPrefix),Fe(t,o),zt(t,HY)}function V2(e,t){Jn=new Uint8Array(512),Qn=0;try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){pg(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)Fe(t,n[r]);r<n.length&&zt(t,n[r])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];n=t;var a=e.responseState,l=s.id,u=s.errorDigest,h=s.errorMessage,p=s.errorComponentStack;if(Fe(n,a.startInlineScript),a.sentClientRenderFunction?Fe(n,XY):(a.sentClientRenderFunction=!0,Fe(n,YY)),l===null)throw Error(rt(395));if(Fe(n,l),Fe(n,ZY),(u||h||p)&&(Fe(n,T2),Fe(n,ot(P2(u||"")))),(h||p)&&(Fe(n,T2),Fe(n,ot(P2(h||"")))),p&&(Fe(n,T2),Fe(n,ot(P2(p)))),!zt(n,JY)){e.destination=null,i++,o.splice(0,i);return}}o.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)if(!jA(e,t,y[i])){e.destination=null,i++,y.splice(0,i);return}y.splice(0,i),yA(t),Jn=new Uint8Array(512),Qn=0;var w=e.partialBoundaries;for(i=0;i<w.length;i++){var v=w[i];e:{o=e,s=t;var S=v.completedSegments;for(a=0;a<S.length;a++)if(!hM(o,s,v,S[a])){a++,S.splice(0,a);var I=!1;break e}S.splice(0,a),I=!0}if(!I){e.destination=null,i++,w.splice(0,i);return}}w.splice(0,i);var T=e.completedBoundaries;for(i=0;i<T.length;i++)if(!jA(e,t,T[i])){e.destination=null,i++,T.splice(0,i);return}T.splice(0,i)}finally{yA(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function VA(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return cM(n,e,t)}),r.clear(),e.destination!==null&&V2(e,e.destination)}catch(n){Bd(e,n),cg(e,n)}}z2.renderToReadableStream=function(e,t){return new Promise(function(r,n){var o,i,s=new Promise(function(h,p){i=h,o=p}),a=pX(e,XW(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),ZW(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var h=new ReadableStream({type:"bytes",pull:function(p){if(a.status===1)a.status=2,KA(p,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=p;try{V2(a,p)}catch(y){Bd(a,y),cg(a,y)}}},cancel:function(){VA(a)}},{highWaterMark:0});h.allReady=s,r(h)},function(h){s.catch(function(){}),n(h)},o);if(t&&t.signal){var l=t.signal,u=function(){VA(a,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}dM(a)})};z2.version="18.2.0"});var gM=_e(Za=>{"use strict";c();d();f();var nc,mM;nc=gA(),mM=pM();Za.version=nc.version;Za.renderToString=nc.renderToString;Za.renderToStaticMarkup=nc.renderToStaticMarkup;Za.renderToNodeStream=nc.renderToNodeStream;Za.renderToStaticNodeStream=nc.renderToStaticNodeStream;Za.renderToReadableStream=mM.renderToReadableStream});var OM=_e((t2e,PM)=>{"use strict";c();d();f();function bX(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}PM.exports=_X;function _X(e,t,r){var n=r&&r.stringify||bX,o=1;if(typeof e=="object"&&e!==null){var i=t.length+o;if(i===1)return e;var s=new Array(i);s[0]=n(e);for(var a=1;a<i;a++)s[a]=n(t[a]);return s.join(" ")}if(typeof e!="string")return e;var l=t.length;if(l===0)return e;for(var u="",h=1-o,p=-1,y=e&&e.length||0,w=0;w<y;){if(e.charCodeAt(w)===37&&w+1<y){switch(p=p>-1?p:0,e.charCodeAt(w+1)){case 100:case 102:if(h>=l||t[h]==null)break;p<w&&(u+=e.slice(p,w)),u+=Number(t[h]),p=w+2,w++;break;case 105:if(h>=l||t[h]==null)break;p<w&&(u+=e.slice(p,w)),u+=Math.floor(Number(t[h])),p=w+2,w++;break;case 79:case 111:case 106:if(h>=l||t[h]===void 0)break;p<w&&(u+=e.slice(p,w));var v=typeof t[h];if(v==="string"){u+="'"+t[h]+"'",p=w+2,w++;break}if(v==="function"){u+=t[h].name||"<anonymous>",p=w+2,w++;break}u+=n(t[h]),p=w+2,w++;break;case 115:if(h>=l)break;p<w&&(u+=e.slice(p,w)),u+=String(t[h]),p=w+2,w++;break;case 37:p<w&&(u+=e.slice(p,w)),u+="%",p=w+2,w++,h--;break}++h}++w}return p===-1?e:(p<y&&(u+=e.slice(p)),u)}});var yg=_e((r2e,MM)=>{"use strict";c();d();f();var DM=OM();MM.exports=ai;var Vd=AX().console||{},xX={mapHttpRequest:mg,mapHttpResponse:mg,wrapRequestSerializer:q2,wrapResponseSerializer:q2,wrapErrorSerializer:q2,req:mg,res:mg,err:PX};function EX(e,t){return Array.isArray(e)?e.filter(function(n){return n!=="!stdSerializers.err"}):e===!0?Object.keys(t):!1}function ai(e){e=e||{},e.browser=e.browser||{};let t=e.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");let r=e.browser.write||Vd;e.browser.write&&(e.browser.asObject=!0);let n=e.serializers||{},o=EX(e.browser.serialize,n),i=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);let s=["error","fatal","warn","info","debug","trace"];typeof r=="function"&&(r.error=r.fatal=r.warn=r.info=r.debug=r.trace=r),e.enabled===!1&&(e.level="silent");let a=e.level||"info",l=Object.create(r);l.log||(l.log=zd),Object.defineProperty(l,"levelVal",{get:h}),Object.defineProperty(l,"level",{get:p,set:y});let u={transmit:t,serialize:o,asObject:e.browser.asObject,levels:s,timestamp:OX(e)};l.levels=ai.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=zd,l.serializers=n,l._serialize=o,l._stdErrSerialize=i,l.child=w,t&&(l._logEvent=G2());function h(){return this.level==="silent"?1/0:this.levels.values[this.level]}function p(){return this._level}function y(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,oc(u,l,"error","log"),oc(u,l,"fatal","error"),oc(u,l,"warn","error"),oc(u,l,"info","log"),oc(u,l,"debug","log"),oc(u,l,"trace","log")}function w(v,S){if(!v)throw new Error("missing bindings for child Pino");S=S||{},o&&v.serializers&&(S.serializers=v.serializers);let I=S.serializers;if(o&&I){var T=Object.assign({},n,I),O=e.browser.serialize===!0?Object.keys(T):o;delete v.serializers,gg([v],O,T,this._stdErrSerialize)}function M(L){this._childLevel=(L._childLevel|0)+1,this.error=ic(L,v,"error"),this.fatal=ic(L,v,"fatal"),this.warn=ic(L,v,"warn"),this.info=ic(L,v,"info"),this.debug=ic(L,v,"debug"),this.trace=ic(L,v,"trace"),T&&(this.serializers=T,this._serialize=O),t&&(this._logEvent=G2([].concat(L._logEvent.bindings,v)))}return M.prototype=this,new M(this)}return l}ai.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};ai.stdSerializers=xX;ai.stdTimeFunctions=Object.assign({},{nullTime:IM,epochTime:AM,unixTime:DX,isoTime:IX});function oc(e,t,r,n){let o=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?zd:o[r]?o[r]:Vd[r]||Vd[n]||zd,SX(e,t,r)}function SX(e,t,r){!e.transmit&&t[r]===zd||(t[r]=function(n){return function(){let i=e.timestamp(),s=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Vd?Vd:this;for(var l=0;l<s.length;l++)s[l]=arguments[l];if(e.serialize&&!e.asObject&&gg(s,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?n.call(a,CX(this,r,s,i)):n.apply(a,s),e.transmit){let u=e.transmit.level||t.level,h=ai.levels.values[u],p=ai.levels.values[r];if(p<h)return;TX(this,{ts:i,methodLevel:r,methodValue:p,transmitLevel:u,transmitValue:ai.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},s)}}}(t[r]))}function CX(e,t,r,n){e._serialize&&gg(r,e._serialize,e.serializers,e._stdErrSerialize);let o=r.slice(),i=o[0],s={};n&&(s.time=n),s.level=ai.levels.values[t];let a=(e._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof o[0]=="object";)Object.assign(s,o.shift());i=o.length?DM(o.shift(),o):void 0}else typeof i=="string"&&(i=DM(o.shift(),o));return i!==void 0&&(s.msg=i),s}function gg(e,t,r,n){for(let o in e)if(n&&e[o]instanceof Error)e[o]=ai.stdSerializers.err(e[o]);else if(typeof e[o]=="object"&&!Array.isArray(e[o]))for(let i in e[o])t&&t.indexOf(i)>-1&&i in r&&(e[o][i]=r[i](e[o][i]))}function ic(e,t,r){return function(){let n=new Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function TX(e,t,r){let n=t.send,o=t.ts,i=t.methodLevel,s=t.methodValue,a=t.val,l=e._logEvent.bindings;gg(r,e._serialize||Object.keys(e.serializers),e.serializers,e._stdErrSerialize===void 0?!0:e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter(function(u){return l.indexOf(u)===-1}),e._logEvent.level.label=i,e._logEvent.level.value=s,n(i,e._logEvent,a),e._logEvent=G2(l)}function G2(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function PX(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)t[r]===void 0&&(t[r]=e[r]);return t}function OX(e){return typeof e.timestamp=="function"?e.timestamp:e.timestamp===!1?IM:AM}function mg(){return{}}function q2(e){return e}function zd(){}function IM(){return!1}function AM(){return Date.now()}function DX(){return Math.round(Date.now()/1e3)}function IX(){return new Date(Date.now()).toISOString()}function AX(){function e(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}});var Ws=_e((n2e,W2)=>{"use strict";c();d();f();var sc=typeof Reflect=="object"?Reflect:null,RM=sc&&typeof sc.apply=="function"?sc.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},vg;sc&&typeof sc.ownKeys=="function"?vg=sc.ownKeys:Object.getOwnPropertySymbols?vg=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:vg=function(t){return Object.getOwnPropertyNames(t)};function MX(e){console&&console.warn&&console.warn(e)}var kM=Number.isNaN||function(t){return t!==t};function Dt(){Dt.init.call(this)}W2.exports=Dt;W2.exports.once=LX;Dt.EventEmitter=Dt;Dt.prototype._events=void 0;Dt.prototype._eventsCount=0;Dt.prototype._maxListeners=void 0;var NM=10;function wg(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Dt,"defaultMaxListeners",{enumerable:!0,get:function(){return NM},set:function(e){if(typeof e!="number"||e<0||kM(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");NM=e}});Dt.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Dt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||kM(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function LM(e){return e._maxListeners===void 0?Dt.defaultMaxListeners:e._maxListeners}Dt.prototype.getMaxListeners=function(){return LM(this)};Dt.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o=t==="error",i=this._events;if(i!==void 0)o=o&&i.error===void 0;else if(!o)return!1;if(o){var s;if(r.length>0&&(s=r[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")RM(l,this,r);else for(var u=l.length,h=jM(l,u),n=0;n<u;++n)RM(h[n],this,r);return!0};function FM(e,t,r,n){var o,i,s;if(wg(r),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),s===void 0)s=i[t]=r,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),o=LM(e),o>0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,MX(a)}return e}Dt.prototype.addListener=function(t,r){return FM(this,t,r,!1)};Dt.prototype.on=Dt.prototype.addListener;Dt.prototype.prependListener=function(t,r){return FM(this,t,r,!0)};function RX(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function $M(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=RX.bind(n);return o.listener=r,n.wrapFn=o,o}Dt.prototype.once=function(t,r){return wg(r),this.on(t,$M(this,t,r)),this};Dt.prototype.prependOnceListener=function(t,r){return wg(r),this.prependListener(t,$M(this,t,r)),this};Dt.prototype.removeListener=function(t,r){var n,o,i,s,a;if(wg(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():NX(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Dt.prototype.off=Dt.prototype.removeListener;Dt.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(o=0;o<i.length;++o)s=i[o],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function UM(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?kX(o):jM(o,o.length)}Dt.prototype.listeners=function(t){return UM(this,t,!0)};Dt.prototype.rawListeners=function(t){return UM(this,t,!1)};Dt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):BM.call(e,t)};Dt.prototype.listenerCount=BM;function BM(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Dt.prototype.eventNames=function(){return this._eventsCount>0?vg(this._events):[]};function jM(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function NX(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function kX(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function LX(e,t){return new Promise(function(r,n){function o(s){e.removeListener(t,i),n(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}VM(e,t,i,{once:!0}),t!=="error"&&FX(e,o,{once:!0})})}function FX(e,t,r){typeof e.on=="function"&&VM(e,"error",t,r)}function VM(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(i){n.once&&e.removeEventListener(t,o),r(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var X2=_e((o2e,_g)=>{c();d();f();var zM,HM,KM,qM,GM,WM,YM,XM,ZM,bg,Y2,JM,QM,ac,eR,tR,rR,nR,oR,iR,sR,aR,lR;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof _g=="object"&&typeof _g.exports=="object"?e(r(t,r(_g.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};zM=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},HM=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},KM=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},qM=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},GM=function(r,n){return function(o,i){n(o,i,r)}},WM=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},YM=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},XM=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},lR=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},ZM=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},bg=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Y2=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},JM=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Y2(arguments[n]));return r},QM=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},ac=function(r){return this instanceof ac?(this.v=r,this):new ac(r)},eR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof ac?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},tR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:ac(r[s](l)),done:s==="return"}:a?a(l):l}:a}},rR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof bg=="function"?bg(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},nR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},oR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},iR=function(r){return r&&r.__esModule?r:{default:r}},sR=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},aR=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",zM),e("__assign",HM),e("__rest",KM),e("__decorate",qM),e("__param",GM),e("__metadata",WM),e("__awaiter",YM),e("__generator",XM),e("__exportStar",ZM),e("__createBinding",lR),e("__values",bg),e("__read",Y2),e("__spread",JM),e("__spreadArrays",QM),e("__await",ac),e("__asyncGenerator",eR),e("__asyncDelegator",tR),e("__asyncValues",rR),e("__makeTemplateObject",nR),e("__importStar",oR),e("__importDefault",iR),e("__classPrivateFieldGet",sR),e("__classPrivateFieldSet",aR)})});var Z2=_e(xg=>{"use strict";c();d();f();Object.defineProperty(xg,"__esModule",{value:!0});function $X(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return JSON.parse(e)}catch(t){return e}}xg.safeJsonParse=$X;function UX(e){return typeof e=="string"?e:JSON.stringify(e,(t,r)=>typeof r>"u"?null:r)}xg.safeJsonStringify=UX});var uR=_e((s2e,Eg)=>{"use strict";c();d();f();(function(){"use strict";let e;function t(){}e=t,e.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},e.prototype.setItem=function(r,n){this[r]=String(n)},e.prototype.removeItem=function(r){delete this[r]},e.prototype.clear=function(){let r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},e.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},e.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof globalThis<"u"&&globalThis.localStorage?Eg.exports=globalThis.localStorage:typeof window<"u"&&window.localStorage?Eg.exports=window.localStorage:Eg.exports=new t})()});var cR=_e(Sg=>{"use strict";c();d();f();Object.defineProperty(Sg,"__esModule",{value:!0});Sg.IKeyValueStorage=void 0;var J2=class{};Sg.IKeyValueStorage=J2});var fR=_e(Cg=>{"use strict";c();d();f();Object.defineProperty(Cg,"__esModule",{value:!0});Cg.parseEntry=void 0;var BX=Z2();function jX(e){var t;return[e[0],BX.safeJsonParse((t=e[1])!==null&&t!==void 0?t:"")]}Cg.parseEntry=jX});var hR=_e(Tg=>{"use strict";c();d();f();Object.defineProperty(Tg,"__esModule",{value:!0});var dR=X2();dR.__exportStar(cR(),Tg);dR.__exportStar(fR(),Tg)});var mR=_e(Hd=>{"use strict";c();d();f();Object.defineProperty(Hd,"__esModule",{value:!0});Hd.KeyValueStorage=void 0;var lc=X2(),pR=Z2(),VX=lc.__importDefault(uR()),zX=hR(),Pg=class{constructor(){this.localStorage=VX.default}getKeys(){return lc.__awaiter(this,void 0,void 0,function*(){return Object.keys(this.localStorage)})}getEntries(){return lc.__awaiter(this,void 0,void 0,function*(){return Object.entries(this.localStorage).map(zX.parseEntry)})}getItem(t){return lc.__awaiter(this,void 0,void 0,function*(){let r=this.localStorage.getItem(t);if(r!==null)return pR.safeJsonParse(r)})}setItem(t,r){return lc.__awaiter(this,void 0,void 0,function*(){this.localStorage.setItem(t,pR.safeJsonStringify(r))})}removeItem(t){return lc.__awaiter(this,void 0,void 0,function*(){this.localStorage.removeItem(t)})}};Hd.KeyValueStorage=Pg;Hd.default=Pg});var Kd=_e((f2e,Dg)=>{c();d();f();var gR,yR,vR,wR,bR,_R,xR,ER,SR,Og,Q2,CR,TR,uc,PR,OR,DR,IR,AR,MR,RR,NR,kR;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Dg=="object"&&typeof Dg.exports=="object"?e(r(t,r(Dg.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};gR=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},yR=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},vR=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},wR=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},bR=function(r,n){return function(o,i){n(o,i,r)}},_R=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},xR=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},ER=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},kR=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},SR=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},Og=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Q2=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},CR=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Q2(arguments[n]));return r},TR=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},uc=function(r){return this instanceof uc?(this.v=r,this):new uc(r)},PR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof uc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},OR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:uc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},DR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof Og=="function"?Og(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},IR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},AR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},MR=function(r){return r&&r.__esModule?r:{default:r}},RR=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},NR=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",gR),e("__assign",yR),e("__rest",vR),e("__decorate",wR),e("__param",bR),e("__metadata",_R),e("__awaiter",xR),e("__generator",ER),e("__exportStar",SR),e("__createBinding",kR),e("__values",Og),e("__read",Q2),e("__spread",CR),e("__spreadArrays",TR),e("__await",uc),e("__asyncGenerator",PR),e("__asyncDelegator",OR),e("__asyncValues",DR),e("__makeTemplateObject",IR),e("__importStar",AR),e("__importDefault",MR),e("__classPrivateFieldGet",RR),e("__classPrivateFieldSet",NR)})});var qd=_e((d2e,Ag)=>{c();d();f();var LR,FR,$R,UR,BR,jR,VR,zR,HR,Ig,ex,KR,qR,cc,GR,WR,YR,XR,ZR,JR,QR,eN,tN;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Ag=="object"&&typeof Ag.exports=="object"?e(r(t,r(Ag.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};LR=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},FR=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},$R=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},UR=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},BR=function(r,n){return function(o,i){n(o,i,r)}},jR=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},VR=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},zR=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},tN=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},HR=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},Ig=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},ex=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},KR=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(ex(arguments[n]));return r},qR=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},cc=function(r){return this instanceof cc?(this.v=r,this):new cc(r)},GR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof cc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},WR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:cc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},YR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof Ig=="function"?Ig(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},XR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},ZR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},JR=function(r){return r&&r.__esModule?r:{default:r}},QR=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},eN=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",LR),e("__assign",FR),e("__rest",$R),e("__decorate",UR),e("__param",BR),e("__metadata",jR),e("__awaiter",VR),e("__generator",zR),e("__exportStar",HR),e("__createBinding",tN),e("__values",Ig),e("__read",ex),e("__spread",KR),e("__spreadArrays",qR),e("__await",cc),e("__asyncGenerator",GR),e("__asyncDelegator",WR),e("__asyncValues",YR),e("__makeTemplateObject",XR),e("__importStar",ZR),e("__importDefault",JR),e("__classPrivateFieldGet",QR),e("__classPrivateFieldSet",eN)})});var rN=_e(Mg=>{"use strict";c();d();f();Object.defineProperty(Mg,"__esModule",{value:!0});Mg.delay=void 0;function HX(e){return new Promise(t=>{setTimeout(()=>{t(!0)},e)})}Mg.delay=HX});var nN=_e(fc=>{"use strict";c();d();f();Object.defineProperty(fc,"__esModule",{value:!0});fc.ONE_THOUSAND=fc.ONE_HUNDRED=void 0;fc.ONE_HUNDRED=100;fc.ONE_THOUSAND=1e3});var oN=_e(Ae=>{"use strict";c();d();f();Object.defineProperty(Ae,"__esModule",{value:!0});Ae.ONE_YEAR=Ae.FOUR_WEEKS=Ae.THREE_WEEKS=Ae.TWO_WEEKS=Ae.ONE_WEEK=Ae.THIRTY_DAYS=Ae.SEVEN_DAYS=Ae.FIVE_DAYS=Ae.THREE_DAYS=Ae.ONE_DAY=Ae.TWENTY_FOUR_HOURS=Ae.TWELVE_HOURS=Ae.SIX_HOURS=Ae.THREE_HOURS=Ae.ONE_HOUR=Ae.SIXTY_MINUTES=Ae.THIRTY_MINUTES=Ae.TEN_MINUTES=Ae.FIVE_MINUTES=Ae.ONE_MINUTE=Ae.SIXTY_SECONDS=Ae.THIRTY_SECONDS=Ae.TEN_SECONDS=Ae.FIVE_SECONDS=Ae.ONE_SECOND=void 0;Ae.ONE_SECOND=1;Ae.FIVE_SECONDS=5;Ae.TEN_SECONDS=10;Ae.THIRTY_SECONDS=30;Ae.SIXTY_SECONDS=60;Ae.ONE_MINUTE=Ae.SIXTY_SECONDS;Ae.FIVE_MINUTES=Ae.ONE_MINUTE*5;Ae.TEN_MINUTES=Ae.ONE_MINUTE*10;Ae.THIRTY_MINUTES=Ae.ONE_MINUTE*30;Ae.SIXTY_MINUTES=Ae.ONE_MINUTE*60;Ae.ONE_HOUR=Ae.SIXTY_MINUTES;Ae.THREE_HOURS=Ae.ONE_HOUR*3;Ae.SIX_HOURS=Ae.ONE_HOUR*6;Ae.TWELVE_HOURS=Ae.ONE_HOUR*12;Ae.TWENTY_FOUR_HOURS=Ae.ONE_HOUR*24;Ae.ONE_DAY=Ae.TWENTY_FOUR_HOURS;Ae.THREE_DAYS=Ae.ONE_DAY*3;Ae.FIVE_DAYS=Ae.ONE_DAY*5;Ae.SEVEN_DAYS=Ae.ONE_DAY*7;Ae.THIRTY_DAYS=Ae.ONE_DAY*30;Ae.ONE_WEEK=Ae.SEVEN_DAYS;Ae.TWO_WEEKS=Ae.ONE_WEEK*2;Ae.THREE_WEEKS=Ae.ONE_WEEK*3;Ae.FOUR_WEEKS=Ae.ONE_WEEK*4;Ae.ONE_YEAR=Ae.ONE_DAY*365});var tx=_e(Rg=>{"use strict";c();d();f();Object.defineProperty(Rg,"__esModule",{value:!0});var iN=qd();iN.__exportStar(nN(),Rg);iN.__exportStar(oN(),Rg)});var aN=_e(dc=>{"use strict";c();d();f();Object.defineProperty(dc,"__esModule",{value:!0});dc.fromMiliseconds=dc.toMiliseconds=void 0;var sN=tx();function KX(e){return e*sN.ONE_THOUSAND}dc.toMiliseconds=KX;function qX(e){return Math.floor(e/sN.ONE_THOUSAND)}dc.fromMiliseconds=qX});var uN=_e(Ng=>{"use strict";c();d();f();Object.defineProperty(Ng,"__esModule",{value:!0});var lN=qd();lN.__exportStar(rN(),Ng);lN.__exportStar(aN(),Ng)});var cN=_e(Gd=>{"use strict";c();d();f();Object.defineProperty(Gd,"__esModule",{value:!0});Gd.Watch=void 0;var kg=class{constructor(){this.timestamps=new Map}start(t){if(this.timestamps.has(t))throw new Error(`Watch already started for label: ${t}`);this.timestamps.set(t,{started:Date.now()})}stop(t){let r=this.get(t);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${t}`);let n=Date.now()-r.started;this.timestamps.set(t,{started:r.started,elapsed:n})}get(t){let r=this.timestamps.get(t);if(typeof r>"u")throw new Error(`No timestamp found for label: ${t}`);return r}elapsed(t){let r=this.get(t);return r.elapsed||Date.now()-r.started}};Gd.Watch=kg;Gd.default=kg});var fN=_e(Lg=>{"use strict";c();d();f();Object.defineProperty(Lg,"__esModule",{value:!0});Lg.IWatch=void 0;var rx=class{};Lg.IWatch=rx});var dN=_e(nx=>{"use strict";c();d();f();Object.defineProperty(nx,"__esModule",{value:!0});var GX=qd();GX.__exportStar(fN(),nx)});var Ui=_e(hc=>{"use strict";c();d();f();Object.defineProperty(hc,"__esModule",{value:!0});var Fg=qd();Fg.__exportStar(uN(),hc);Fg.__exportStar(cN(),hc);Fg.__exportStar(dN(),hc);Fg.__exportStar(tx(),hc)});var Bo,hN=xl(()=>{c();d();f();Bo=class{}});var pN={};Hr(pN,{IEvents:()=>Bo});var $g=xl(()=>{c();d();f();hN()});var mN=_e(Ug=>{"use strict";c();d();f();Object.defineProperty(Ug,"__esModule",{value:!0});Ug.IHeartBeat=void 0;var WX=($g(),SS(pN)),ox=class extends WX.IEvents{constructor(t){super()}};Ug.IHeartBeat=ox});var sx=_e(ix=>{"use strict";c();d();f();Object.defineProperty(ix,"__esModule",{value:!0});var YX=Kd();YX.__exportStar(mN(),ix)});var gN=_e(pc=>{"use strict";c();d();f();Object.defineProperty(pc,"__esModule",{value:!0});pc.HEARTBEAT_EVENTS=pc.HEARTBEAT_INTERVAL=void 0;var XX=Ui();pc.HEARTBEAT_INTERVAL=XX.FIVE_SECONDS;pc.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var lx=_e(ax=>{"use strict";c();d();f();Object.defineProperty(ax,"__esModule",{value:!0});var ZX=Kd();ZX.__exportStar(gN(),ax)});var yN=_e(Bg=>{"use strict";c();d();f();Object.defineProperty(Bg,"__esModule",{value:!0});Bg.HeartBeat=void 0;var ux=Kd(),JX=Ws(),QX=Ui(),eZ=sx(),cx=lx(),Wd=class extends eZ.IHeartBeat{constructor(t){super(t),this.events=new JX.EventEmitter,this.interval=cx.HEARTBEAT_INTERVAL,this.interval=(t==null?void 0:t.interval)||cx.HEARTBEAT_INTERVAL}static init(t){return ux.__awaiter(this,void 0,void 0,function*(){let r=new Wd(t);return yield r.init(),r})}init(){return ux.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}initialize(){return ux.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),QX.toMiliseconds(this.interval))})}pulse(){this.events.emit(cx.HEARTBEAT_EVENTS.pulse)}};Bg.HeartBeat=Wd});var vN=_e(Yd=>{"use strict";c();d();f();Object.defineProperty(Yd,"__esModule",{value:!0});var fx=Kd();fx.__exportStar(yN(),Yd);fx.__exportStar(sx(),Yd);fx.__exportStar(lx(),Yd)});var UN=_e((A2e,Vg)=>{c();d();f();var wN,bN,_N,xN,EN,SN,CN,TN,PN,jg,dx,ON,DN,mc,IN,AN,MN,RN,NN,kN,LN,FN,$N;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Vg=="object"&&typeof Vg.exports=="object"?e(r(t,r(Vg.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};wN=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},bN=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},_N=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},xN=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},EN=function(r,n){return function(o,i){n(o,i,r)}},SN=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},CN=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},TN=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},$N=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},PN=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},jg=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},dx=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},ON=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(dx(arguments[n]));return r},DN=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},mc=function(r){return this instanceof mc?(this.v=r,this):new mc(r)},IN=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof mc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},AN=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:mc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},MN=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof jg=="function"?jg(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},RN=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},NN=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},kN=function(r){return r&&r.__esModule?r:{default:r}},LN=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},FN=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",wN),e("__assign",bN),e("__rest",_N),e("__decorate",xN),e("__param",EN),e("__metadata",SN),e("__awaiter",CN),e("__generator",TN),e("__exportStar",PN),e("__createBinding",$N),e("__values",jg),e("__read",dx),e("__spread",ON),e("__spreadArrays",DN),e("__await",mc),e("__asyncGenerator",IN),e("__asyncDelegator",AN),e("__asyncValues",MN),e("__makeTemplateObject",RN),e("__importStar",NN),e("__importDefault",kN),e("__classPrivateFieldGet",LN),e("__classPrivateFieldSet",FN)})});var hx=_e(gc=>{"use strict";c();d();f();Object.defineProperty(gc,"__esModule",{value:!0});gc.PINO_CUSTOM_CONTEXT_KEY=gc.PINO_LOGGER_DEFAULTS=void 0;gc.PINO_LOGGER_DEFAULTS={level:"info"};gc.PINO_CUSTOM_CONTEXT_KEY="custom_context"});var HN=_e(An=>{"use strict";c();d();f();Object.defineProperty(An,"__esModule",{value:!0});An.generateChildLogger=An.formatChildLoggerContext=An.getLoggerContext=An.setBrowserLoggerContext=An.getBrowserLoggerContext=An.getDefaultLoggerOptions=void 0;var yc=hx();function tZ(e){return Object.assign(Object.assign({},e),{level:(e==null?void 0:e.level)||yc.PINO_LOGGER_DEFAULTS.level})}An.getDefaultLoggerOptions=tZ;function BN(e,t=yc.PINO_CUSTOM_CONTEXT_KEY){return e[t]||""}An.getBrowserLoggerContext=BN;function jN(e,t,r=yc.PINO_CUSTOM_CONTEXT_KEY){return e[r]=t,e}An.setBrowserLoggerContext=jN;function VN(e,t=yc.PINO_CUSTOM_CONTEXT_KEY){let r="";return typeof e.bindings>"u"?r=BN(e,t):r=e.bindings().context||"",r}An.getLoggerContext=VN;function zN(e,t,r=yc.PINO_CUSTOM_CONTEXT_KEY){let n=VN(e,r);return n.trim()?`${n}/${t}`:t}An.formatChildLoggerContext=zN;function rZ(e,t,r=yc.PINO_CUSTOM_CONTEXT_KEY){let n=zN(e,t,r),o=e.child({context:n});return jN(o,n,r)}An.generateChildLogger=rZ});var mx=_e(vc=>{"use strict";c();d();f();Object.defineProperty(vc,"__esModule",{value:!0});vc.pino=void 0;var px=UN(),nZ=px.__importDefault(yg());Object.defineProperty(vc,"pino",{enumerable:!0,get:function(){return nZ.default}});px.__exportStar(hx(),vc);px.__exportStar(HN(),vc)});var GN=_e(Zg=>{"use strict";c();d();f();Object.defineProperty(Zg,"__esModule",{value:!0});Zg.BrowserRandomSource=void 0;var qN=65536,gx=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let t=typeof self<"u"?self.crypto||self.msCrypto:null;t&&t.getRandomValues!==void 0&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let r=new Uint8Array(t);for(let n=0;n<r.length;n+=qN)this._crypto.getRandomValues(r.subarray(n,n+Math.min(r.length-n,qN)));return r}};Zg.BrowserRandomSource=gx});var _o=_e(yx=>{"use strict";c();d();f();Object.defineProperty(yx,"__esModule",{value:!0});function oZ(e){for(var t=0;t<e.length;t++)e[t]=0;return e}yx.wipe=oZ});var WN=_e(()=>{c();d();f()});var YN=_e(Jg=>{"use strict";c();d();f();Object.defineProperty(Jg,"__esModule",{value:!0});Jg.NodeRandomSource=void 0;var iZ=_o(),vx=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof ES<"u"){let t=WN();t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(t);if(r.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");let n=new Uint8Array(t);for(let o=0;o<n.length;o++)n[o]=r[o];return(0,iZ.wipe)(r),n}};Jg.NodeRandomSource=vx});var XN=_e(Qg=>{"use strict";c();d();f();Object.defineProperty(Qg,"__esModule",{value:!0});Qg.SystemRandomSource=void 0;var sZ=GN(),aZ=YN(),wx=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new sZ.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new aZ.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}};Qg.SystemRandomSource=wx});var ZN=_e(to=>{"use strict";c();d();f();Object.defineProperty(to,"__esModule",{value:!0});function lZ(e,t){var r=e>>>16&65535,n=e&65535,o=t>>>16&65535,i=t&65535;return n*i+(r*i+n*o<<16>>>0)|0}to.mul=Math.imul||lZ;function uZ(e,t){return e+t|0}to.add=uZ;function cZ(e,t){return e-t|0}to.sub=cZ;function fZ(e,t){return e<<t|e>>>32-t}to.rotl=fZ;function dZ(e,t){return e<<32-t|e>>>t}to.rotr=dZ;function hZ(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}to.isInteger=Number.isInteger||hZ;to.MAX_SAFE_INTEGER=9007199254740991;to.isSafeInteger=function(e){return to.isInteger(e)&&e>=-to.MAX_SAFE_INTEGER&&e<=to.MAX_SAFE_INTEGER}});var bc=_e(it=>{"use strict";c();d();f();Object.defineProperty(it,"__esModule",{value:!0});var JN=ZN();function pZ(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16}it.readInt16BE=pZ;function mZ(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])>>>0}it.readUint16BE=mZ;function gZ(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])<<16>>16}it.readInt16LE=gZ;function yZ(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0}it.readUint16LE=yZ;function QN(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}it.writeUint16BE=QN;it.writeInt16BE=QN;function e7(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}it.writeUint16LE=e7;it.writeInt16LE=e7;function bx(e,t){return t===void 0&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}it.readInt32BE=bx;function _x(e,t){return t===void 0&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}it.readUint32BE=_x;function xx(e,t){return t===void 0&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}it.readInt32LE=xx;function Ex(e,t){return t===void 0&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}it.readUint32LE=Ex;function ey(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}it.writeUint32BE=ey;it.writeInt32BE=ey;function ty(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}it.writeUint32LE=ty;it.writeInt32LE=ty;function vZ(e,t){t===void 0&&(t=0);var r=bx(e,t),n=bx(e,t+4);return r*4294967296+n-(n>>31)*4294967296}it.readInt64BE=vZ;function wZ(e,t){t===void 0&&(t=0);var r=_x(e,t),n=_x(e,t+4);return r*4294967296+n}it.readUint64BE=wZ;function bZ(e,t){t===void 0&&(t=0);var r=xx(e,t),n=xx(e,t+4);return n*4294967296+r-(r>>31)*4294967296}it.readInt64LE=bZ;function _Z(e,t){t===void 0&&(t=0);var r=Ex(e,t),n=Ex(e,t+4);return n*4294967296+r}it.readUint64LE=_Z;function t7(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),ey(e/4294967296>>>0,t,r),ey(e>>>0,t,r+4),t}it.writeUint64BE=t7;it.writeInt64BE=t7;function r7(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),ty(e>>>0,t,r),ty(e/4294967296>>>0,t,r+4),t}it.writeUint64LE=r7;it.writeInt64LE=r7;function xZ(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var n=0,o=1,i=e/8+r-1;i>=r;i--)n+=t[i]*o,o*=256;return n}it.readUintBE=xZ;function EZ(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var n=0,o=1,i=r;i<r+e/8;i++)n+=t[i]*o,o*=256;return n}it.readUintLE=EZ;function SZ(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!JN.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,i=e/8+n-1;i>=n;i--)r[i]=t/o&255,o*=256;return r}it.writeUintBE=SZ;function CZ(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!JN.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,i=n;i<n+e/8;i++)r[i]=t/o&255,o*=256;return r}it.writeUintLE=CZ;function TZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t)}it.readFloat32BE=TZ;function PZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t,!0)}it.readFloat32LE=PZ;function OZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t)}it.readFloat64BE=OZ;function DZ(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t,!0)}it.readFloat64LE=DZ;function IZ(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e),t}it.writeFloat32BE=IZ;function AZ(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e,!0),t}it.writeFloat32LE=AZ;function MZ(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e),t}it.writeFloat64BE=MZ;function RZ(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e,!0),t}it.writeFloat64LE=RZ});var Ja=_e(Qr=>{"use strict";c();d();f();Object.defineProperty(Qr,"__esModule",{value:!0});Qr.randomStringForEntropy=Qr.randomString=Qr.randomUint32=Qr.randomBytes=Qr.defaultRandomSource=void 0;var NZ=XN(),kZ=bc(),n7=_o();Qr.defaultRandomSource=new NZ.SystemRandomSource;function Sx(e,t=Qr.defaultRandomSource){return t.randomBytes(e)}Qr.randomBytes=Sx;function LZ(e=Qr.defaultRandomSource){let t=Sx(4,e),r=(0,kZ.readUint32LE)(t);return(0,n7.wipe)(t),r}Qr.randomUint32=LZ;var o7="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function i7(e,t=o7,r=Qr.defaultRandomSource){if(t.length<2)throw new Error("randomString charset is too short");if(t.length>256)throw new Error("randomString charset is too long");let n="",o=t.length,i=256-256%o;for(;e>0;){let s=Sx(Math.ceil(e*256/i),r);for(let a=0;a<s.length&&e>0;a++){let l=s[a];l<i&&(n+=t.charAt(l%o),e--)}(0,n7.wipe)(s)}return n}Qr.randomString=i7;function FZ(e,t=o7,r=Qr.defaultRandomSource){let n=Math.ceil(e/(Math.log(t.length)/Math.LN2));return i7(n,t,r)}Qr.randomStringForEntropy=FZ});var l7=_e(Bi=>{"use strict";c();d();f();Object.defineProperty(Bi,"__esModule",{value:!0});var xc=bc(),_c=_o();Bi.DIGEST_LENGTH=64;Bi.BLOCK_SIZE=128;var a7=function(){function e(){this.digestLength=Bi.DIGEST_LENGTH,this.blockSize=Bi.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){_c.wipe(this._buffer),_c.wipe(this._tempHi),_c.wipe(this._tempLo),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<Bi.BLOCK_SIZE&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(Cx(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=Cx(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%128<112?128:256;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;xc.writeUint32BE(o,this._buffer,s-8),xc.writeUint32BE(i,this._buffer,s-4),Cx(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/8;a++)xc.writeUint32BE(this._stateHi[a],t,a*8),xc.writeUint32BE(this._stateLo[a],t,a*8+4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){_c.wipe(t.stateHi),_c.wipe(t.stateLo),t.buffer&&_c.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();Bi.SHA512=a7;var s7=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function Cx(e,t,r,n,o,i,s){for(var a=r[0],l=r[1],u=r[2],h=r[3],p=r[4],y=r[5],w=r[6],v=r[7],S=n[0],I=n[1],T=n[2],O=n[3],M=n[4],L=n[5],G=n[6],J=n[7],V,q,ce,me,fe,X,R,m;s>=128;){for(var b=0;b<16;b++){var E=8*b+i;e[b]=xc.readUint32BE(o,E),t[b]=xc.readUint32BE(o,E+4)}for(var b=0;b<80;b++){var A=a,k=l,B=u,K=h,U=p,x=y,j=w,ie=v,D=S,Y=I,ne=T,ae=O,he=M,Z=L,ee=G,W=J;if(V=v,q=J,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=(p>>>14|M<<32-14)^(p>>>18|M<<32-18)^(M>>>41-32|p<<32-(41-32)),q=(M>>>14|p<<32-14)^(M>>>18|p<<32-18)^(p>>>41-32|M<<32-(41-32)),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=p&y^~p&w,q=M&L^~M&G,fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=s7[b*2],q=s7[b*2+1],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=e[b%16],q=t[b%16],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,ce=R&65535|m<<16,me=fe&65535|X<<16,V=ce,q=me,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=(a>>>28|S<<32-28)^(S>>>34-32|a<<32-(34-32))^(S>>>39-32|a<<32-(39-32)),q=(S>>>28|a<<32-28)^(a>>>34-32|S<<32-(34-32))^(a>>>39-32|S<<32-(39-32)),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,V=a&l^a&u^l&u,q=S&I^S&T^I&T,fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,ie=R&65535|m<<16,W=fe&65535|X<<16,V=K,q=ae,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=ce,q=me,fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,K=R&65535|m<<16,ae=fe&65535|X<<16,l=A,u=k,h=B,p=K,y=U,w=x,v=j,a=ie,I=D,T=Y,O=ne,M=ae,L=he,G=Z,J=ee,S=W,b%16===15)for(var E=0;E<16;E++)V=e[E],q=t[E],fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=e[(E+9)%16],q=t[(E+9)%16],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,ce=e[(E+1)%16],me=t[(E+1)%16],V=(ce>>>1|me<<32-1)^(ce>>>8|me<<32-8)^ce>>>7,q=(me>>>1|ce<<32-1)^(me>>>8|ce<<32-8)^(me>>>7|ce<<32-7),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,ce=e[(E+14)%16],me=t[(E+14)%16],V=(ce>>>19|me<<32-19)^(me>>>61-32|ce<<32-(61-32))^ce>>>6,q=(me>>>19|ce<<32-19)^(ce>>>61-32|me<<32-(61-32))^(me>>>6|ce<<32-6),fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,e[E]=R&65535|m<<16,t[E]=fe&65535|X<<16}V=a,q=S,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[0],q=n[0],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[0]=a=R&65535|m<<16,n[0]=S=fe&65535|X<<16,V=l,q=I,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[1],q=n[1],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[1]=l=R&65535|m<<16,n[1]=I=fe&65535|X<<16,V=u,q=T,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[2],q=n[2],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[2]=u=R&65535|m<<16,n[2]=T=fe&65535|X<<16,V=h,q=O,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[3],q=n[3],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[3]=h=R&65535|m<<16,n[3]=O=fe&65535|X<<16,V=p,q=M,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[4],q=n[4],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[4]=p=R&65535|m<<16,n[4]=M=fe&65535|X<<16,V=y,q=L,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[5],q=n[5],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[5]=y=R&65535|m<<16,n[5]=L=fe&65535|X<<16,V=w,q=G,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[6],q=n[6],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[6]=w=R&65535|m<<16,n[6]=G=fe&65535|X<<16,V=v,q=J,fe=q&65535,X=q>>>16,R=V&65535,m=V>>>16,V=r[7],q=n[7],fe+=q&65535,X+=q>>>16,R+=V&65535,m+=V>>>16,X+=fe>>>16,R+=X>>>16,m+=R>>>16,r[7]=v=R&65535|m<<16,n[7]=J=fe&65535|X<<16,i+=128,s-=128}return i}function $Z(e){var t=new a7;t.update(e);var r=t.digest();return t.clean(),r}Bi.hash=$Z});var x7=_e(Pt=>{"use strict";c();d();f();Object.defineProperty(Pt,"__esModule",{value:!0});Pt.convertSecretKeyToX25519=Pt.convertPublicKeyToX25519=Pt.verify=Pt.sign=Pt.extractPublicKeyFromSecretKey=Pt.generateKeyPair=Pt.generateKeyPairFromSeed=Pt.SEED_LENGTH=Pt.SECRET_KEY_LENGTH=Pt.PUBLIC_KEY_LENGTH=Pt.SIGNATURE_LENGTH=void 0;var UZ=Ja(),Zd=l7(),h7=_o();Pt.SIGNATURE_LENGTH=64;Pt.PUBLIC_KEY_LENGTH=32;Pt.SECRET_KEY_LENGTH=64;Pt.SEED_LENGTH=32;function je(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var BZ=new Uint8Array(32);BZ[0]=9;var Ox=je(),Ec=je([1]),jZ=je([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),VZ=je([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),u7=je([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),c7=je([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),zZ=je([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function Ys(e,t){for(let r=0;r<16;r++)e[r]=t[r]|0}function Tx(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function p7(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function Jd(e,t){let r=je(),n=je();for(let o=0;o<16;o++)n[o]=t[o];Tx(n),Tx(n),Tx(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,p7(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function m7(e,t){let r=0;for(let n=0;n<32;n++)r|=e[n]^t[n];return(1&r-1>>>8)-1}function f7(e,t){let r=new Uint8Array(32),n=new Uint8Array(32);return Jd(r,e),Jd(n,t),m7(r,n)}function g7(e){let t=new Uint8Array(32);return Jd(t,e),t[0]&1}function HZ(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function Qa(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function tl(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function It(e,t,r){let n,o,i=0,s=0,a=0,l=0,u=0,h=0,p=0,y=0,w=0,v=0,S=0,I=0,T=0,O=0,M=0,L=0,G=0,J=0,V=0,q=0,ce=0,me=0,fe=0,X=0,R=0,m=0,b=0,E=0,A=0,k=0,B=0,K=r[0],U=r[1],x=r[2],j=r[3],ie=r[4],D=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],Z=r[10],ee=r[11],W=r[12],le=r[13],re=r[14],ge=r[15];n=t[0],i+=n*K,s+=n*U,a+=n*x,l+=n*j,u+=n*ie,h+=n*D,p+=n*Y,y+=n*ne,w+=n*ae,v+=n*he,S+=n*Z,I+=n*ee,T+=n*W,O+=n*le,M+=n*re,L+=n*ge,n=t[1],s+=n*K,a+=n*U,l+=n*x,u+=n*j,h+=n*ie,p+=n*D,y+=n*Y,w+=n*ne,v+=n*ae,S+=n*he,I+=n*Z,T+=n*ee,O+=n*W,M+=n*le,L+=n*re,G+=n*ge,n=t[2],a+=n*K,l+=n*U,u+=n*x,h+=n*j,p+=n*ie,y+=n*D,w+=n*Y,v+=n*ne,S+=n*ae,I+=n*he,T+=n*Z,O+=n*ee,M+=n*W,L+=n*le,G+=n*re,J+=n*ge,n=t[3],l+=n*K,u+=n*U,h+=n*x,p+=n*j,y+=n*ie,w+=n*D,v+=n*Y,S+=n*ne,I+=n*ae,T+=n*he,O+=n*Z,M+=n*ee,L+=n*W,G+=n*le,J+=n*re,V+=n*ge,n=t[4],u+=n*K,h+=n*U,p+=n*x,y+=n*j,w+=n*ie,v+=n*D,S+=n*Y,I+=n*ne,T+=n*ae,O+=n*he,M+=n*Z,L+=n*ee,G+=n*W,J+=n*le,V+=n*re,q+=n*ge,n=t[5],h+=n*K,p+=n*U,y+=n*x,w+=n*j,v+=n*ie,S+=n*D,I+=n*Y,T+=n*ne,O+=n*ae,M+=n*he,L+=n*Z,G+=n*ee,J+=n*W,V+=n*le,q+=n*re,ce+=n*ge,n=t[6],p+=n*K,y+=n*U,w+=n*x,v+=n*j,S+=n*ie,I+=n*D,T+=n*Y,O+=n*ne,M+=n*ae,L+=n*he,G+=n*Z,J+=n*ee,V+=n*W,q+=n*le,ce+=n*re,me+=n*ge,n=t[7],y+=n*K,w+=n*U,v+=n*x,S+=n*j,I+=n*ie,T+=n*D,O+=n*Y,M+=n*ne,L+=n*ae,G+=n*he,J+=n*Z,V+=n*ee,q+=n*W,ce+=n*le,me+=n*re,fe+=n*ge,n=t[8],w+=n*K,v+=n*U,S+=n*x,I+=n*j,T+=n*ie,O+=n*D,M+=n*Y,L+=n*ne,G+=n*ae,J+=n*he,V+=n*Z,q+=n*ee,ce+=n*W,me+=n*le,fe+=n*re,X+=n*ge,n=t[9],v+=n*K,S+=n*U,I+=n*x,T+=n*j,O+=n*ie,M+=n*D,L+=n*Y,G+=n*ne,J+=n*ae,V+=n*he,q+=n*Z,ce+=n*ee,me+=n*W,fe+=n*le,X+=n*re,R+=n*ge,n=t[10],S+=n*K,I+=n*U,T+=n*x,O+=n*j,M+=n*ie,L+=n*D,G+=n*Y,J+=n*ne,V+=n*ae,q+=n*he,ce+=n*Z,me+=n*ee,fe+=n*W,X+=n*le,R+=n*re,m+=n*ge,n=t[11],I+=n*K,T+=n*U,O+=n*x,M+=n*j,L+=n*ie,G+=n*D,J+=n*Y,V+=n*ne,q+=n*ae,ce+=n*he,me+=n*Z,fe+=n*ee,X+=n*W,R+=n*le,m+=n*re,b+=n*ge,n=t[12],T+=n*K,O+=n*U,M+=n*x,L+=n*j,G+=n*ie,J+=n*D,V+=n*Y,q+=n*ne,ce+=n*ae,me+=n*he,fe+=n*Z,X+=n*ee,R+=n*W,m+=n*le,b+=n*re,E+=n*ge,n=t[13],O+=n*K,M+=n*U,L+=n*x,G+=n*j,J+=n*ie,V+=n*D,q+=n*Y,ce+=n*ne,me+=n*ae,fe+=n*he,X+=n*Z,R+=n*ee,m+=n*W,b+=n*le,E+=n*re,A+=n*ge,n=t[14],M+=n*K,L+=n*U,G+=n*x,J+=n*j,V+=n*ie,q+=n*D,ce+=n*Y,me+=n*ne,fe+=n*ae,X+=n*he,R+=n*Z,m+=n*ee,b+=n*W,E+=n*le,A+=n*re,k+=n*ge,n=t[15],L+=n*K,G+=n*U,J+=n*x,V+=n*j,q+=n*ie,ce+=n*D,me+=n*Y,fe+=n*ne,X+=n*ae,R+=n*he,m+=n*Z,b+=n*ee,E+=n*W,A+=n*le,k+=n*re,B+=n*ge,i+=38*G,s+=38*J,a+=38*V,l+=38*q,u+=38*ce,h+=38*me,p+=38*fe,y+=38*X,w+=38*R,v+=38*m,S+=38*b,I+=38*E,T+=38*A,O+=38*k,M+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=l,e[4]=u,e[5]=h,e[6]=p,e[7]=y,e[8]=w,e[9]=v,e[10]=S,e[11]=I,e[12]=T,e[13]=O,e[14]=M,e[15]=L}function el(e,t){It(e,t,t)}function y7(e,t){let r=je(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=253;n>=0;n--)el(r,r),n!==2&&n!==4&&It(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function KZ(e,t){let r=je(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=250;n>=0;n--)el(r,r),n!==1&&It(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function Dx(e,t){let r=je(),n=je(),o=je(),i=je(),s=je(),a=je(),l=je(),u=je(),h=je();tl(r,e[1],e[0]),tl(h,t[1],t[0]),It(r,r,h),Qa(n,e[0],e[1]),Qa(h,t[0],t[1]),It(n,n,h),It(o,e[3],t[3]),It(o,o,VZ),It(i,e[2],t[2]),Qa(i,i,i),tl(s,n,r),tl(a,i,o),Qa(l,i,o),Qa(u,n,r),It(e[0],s,a),It(e[1],u,l),It(e[2],l,a),It(e[3],s,u)}function d7(e,t,r){for(let n=0;n<4;n++)p7(e[n],t[n],r)}function Ax(e,t){let r=je(),n=je(),o=je();y7(o,t[2]),It(r,t[0],o),It(n,t[1],o),Jd(e,n),e[31]^=g7(r)<<7}function v7(e,t,r){Ys(e[0],Ox),Ys(e[1],Ec),Ys(e[2],Ec),Ys(e[3],Ox);for(let n=255;n>=0;--n){let o=r[n/8|0]>>(n&7)&1;d7(e,t,o),Dx(t,e),Dx(e,e),d7(e,t,o)}}function Mx(e,t){let r=[je(),je(),je(),je()];Ys(r[0],u7),Ys(r[1],c7),Ys(r[2],Ec),It(r[3],u7,c7),v7(e,r,t)}function w7(e){if(e.length!==Pt.SEED_LENGTH)throw new Error(`ed25519: seed must be ${Pt.SEED_LENGTH} bytes`);let t=(0,Zd.hash)(e);t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(32),n=[je(),je(),je(),je()];Mx(n,t),Ax(r,n);let o=new Uint8Array(64);return o.set(e),o.set(r,32),{publicKey:r,secretKey:o}}Pt.generateKeyPairFromSeed=w7;function qZ(e){let t=(0,UZ.randomBytes)(32,e),r=w7(t);return(0,h7.wipe)(t),r}Pt.generateKeyPair=qZ;function GZ(e){if(e.length!==Pt.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${Pt.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(e.subarray(32))}Pt.extractPublicKeyFromSecretKey=GZ;var Px=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function b7(e,t){let r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o<i;++o)t[o]+=r-16*t[n]*Px[o-(n-32)],r=Math.floor((t[o]+128)/256),t[o]-=r*256;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*Px[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*Px[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=t[n]&255}function Ix(e){let t=new Float64Array(64);for(let r=0;r<64;r++)t[r]=e[r];for(let r=0;r<64;r++)e[r]=0;b7(e,t)}function WZ(e,t){let r=new Float64Array(64),n=[je(),je(),je(),je()],o=(0,Zd.hash)(e.subarray(0,32));o[0]&=248,o[31]&=127,o[31]|=64;let i=new Uint8Array(64);i.set(o.subarray(32),32);let s=new Zd.SHA512;s.update(i.subarray(32)),s.update(t);let a=s.digest();s.clean(),Ix(a),Mx(n,a),Ax(i,n),s.reset(),s.update(i.subarray(0,32)),s.update(e.subarray(32)),s.update(t);let l=s.digest();Ix(l);for(let u=0;u<32;u++)r[u]=a[u];for(let u=0;u<32;u++)for(let h=0;h<32;h++)r[u+h]+=l[u]*o[h];return b7(i.subarray(32),r),i}Pt.sign=WZ;function _7(e,t){let r=je(),n=je(),o=je(),i=je(),s=je(),a=je(),l=je();return Ys(e[2],Ec),HZ(e[1],t),el(o,e[1]),It(i,o,jZ),tl(o,o,e[2]),Qa(i,e[2],i),el(s,i),el(a,s),It(l,a,s),It(r,l,o),It(r,r,i),KZ(r,r),It(r,r,o),It(r,r,i),It(r,r,i),It(e[0],r,i),el(n,e[0]),It(n,n,i),f7(n,o)&&It(e[0],e[0],zZ),el(n,e[0]),It(n,n,i),f7(n,o)?-1:(g7(e[0])===t[31]>>7&&tl(e[0],Ox,e[0]),It(e[3],e[0],e[1]),0)}function YZ(e,t,r){let n=new Uint8Array(32),o=[je(),je(),je(),je()],i=[je(),je(),je(),je()];if(r.length!==Pt.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${Pt.SIGNATURE_LENGTH} bytes`);if(_7(i,e))return!1;let s=new Zd.SHA512;s.update(r.subarray(0,32)),s.update(e),s.update(t);let a=s.digest();return Ix(a),v7(o,i,a),Mx(i,r.subarray(32)),Dx(o,i),Ax(n,o),!m7(r,n)}Pt.verify=YZ;function XZ(e){let t=[je(),je(),je(),je()];if(_7(t,e))throw new Error("Ed25519: invalid public key");let r=je(),n=je(),o=t[1];Qa(r,Ec,o),tl(n,Ec,o),y7(n,n),It(r,r,n);let i=new Uint8Array(32);return Jd(i,r),i}Pt.convertPublicKeyToX25519=XZ;function ZZ(e){let t=(0,Zd.hash)(e.subarray(0,32));t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(t.subarray(0,32));return(0,h7.wipe)(t),r}Pt.convertSecretKeyToX25519=ZZ});var ik=_e(fy=>{"use strict";c();d();f();Object.defineProperty(fy,"__esModule",{value:!0});var en=bc(),n3=_o(),fQ=20;function dQ(e,t,r){for(var n=1634760805,o=857760878,i=2036477234,s=1797285236,a=r[3]<<24|r[2]<<16|r[1]<<8|r[0],l=r[7]<<24|r[6]<<16|r[5]<<8|r[4],u=r[11]<<24|r[10]<<16|r[9]<<8|r[8],h=r[15]<<24|r[14]<<16|r[13]<<8|r[12],p=r[19]<<24|r[18]<<16|r[17]<<8|r[16],y=r[23]<<24|r[22]<<16|r[21]<<8|r[20],w=r[27]<<24|r[26]<<16|r[25]<<8|r[24],v=r[31]<<24|r[30]<<16|r[29]<<8|r[28],S=t[3]<<24|t[2]<<16|t[1]<<8|t[0],I=t[7]<<24|t[6]<<16|t[5]<<8|t[4],T=t[11]<<24|t[10]<<16|t[9]<<8|t[8],O=t[15]<<24|t[14]<<16|t[13]<<8|t[12],M=n,L=o,G=i,J=s,V=a,q=l,ce=u,me=h,fe=p,X=y,R=w,m=v,b=S,E=I,A=T,k=O,B=0;B<fQ;B+=2)M=M+V|0,b^=M,b=b>>>32-16|b<<16,fe=fe+b|0,V^=fe,V=V>>>32-12|V<<12,L=L+q|0,E^=L,E=E>>>32-16|E<<16,X=X+E|0,q^=X,q=q>>>32-12|q<<12,G=G+ce|0,A^=G,A=A>>>32-16|A<<16,R=R+A|0,ce^=R,ce=ce>>>32-12|ce<<12,J=J+me|0,k^=J,k=k>>>32-16|k<<16,m=m+k|0,me^=m,me=me>>>32-12|me<<12,G=G+ce|0,A^=G,A=A>>>32-8|A<<8,R=R+A|0,ce^=R,ce=ce>>>32-7|ce<<7,J=J+me|0,k^=J,k=k>>>32-8|k<<8,m=m+k|0,me^=m,me=me>>>32-7|me<<7,L=L+q|0,E^=L,E=E>>>32-8|E<<8,X=X+E|0,q^=X,q=q>>>32-7|q<<7,M=M+V|0,b^=M,b=b>>>32-8|b<<8,fe=fe+b|0,V^=fe,V=V>>>32-7|V<<7,M=M+q|0,k^=M,k=k>>>32-16|k<<16,R=R+k|0,q^=R,q=q>>>32-12|q<<12,L=L+ce|0,b^=L,b=b>>>32-16|b<<16,m=m+b|0,ce^=m,ce=ce>>>32-12|ce<<12,G=G+me|0,E^=G,E=E>>>32-16|E<<16,fe=fe+E|0,me^=fe,me=me>>>32-12|me<<12,J=J+V|0,A^=J,A=A>>>32-16|A<<16,X=X+A|0,V^=X,V=V>>>32-12|V<<12,G=G+me|0,E^=G,E=E>>>32-8|E<<8,fe=fe+E|0,me^=fe,me=me>>>32-7|me<<7,J=J+V|0,A^=J,A=A>>>32-8|A<<8,X=X+A|0,V^=X,V=V>>>32-7|V<<7,L=L+ce|0,b^=L,b=b>>>32-8|b<<8,m=m+b|0,ce^=m,ce=ce>>>32-7|ce<<7,M=M+q|0,k^=M,k=k>>>32-8|k<<8,R=R+k|0,q^=R,q=q>>>32-7|q<<7;en.writeUint32LE(M+n|0,e,0),en.writeUint32LE(L+o|0,e,4),en.writeUint32LE(G+i|0,e,8),en.writeUint32LE(J+s|0,e,12),en.writeUint32LE(V+a|0,e,16),en.writeUint32LE(q+l|0,e,20),en.writeUint32LE(ce+u|0,e,24),en.writeUint32LE(me+h|0,e,28),en.writeUint32LE(fe+p|0,e,32),en.writeUint32LE(X+y|0,e,36),en.writeUint32LE(R+w|0,e,40),en.writeUint32LE(m+v|0,e,44),en.writeUint32LE(b+S|0,e,48),en.writeUint32LE(E+I|0,e,52),en.writeUint32LE(A+T|0,e,56),en.writeUint32LE(k+O|0,e,60)}function ok(e,t,r,n,o){if(o===void 0&&(o=0),e.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(n.length<r.length)throw new Error("ChaCha: destination is shorter than source");var i,s;if(o===0){if(t.length!==8&&t.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");i=new Uint8Array(16),s=i.length-t.length,i.set(t,s)}else{if(t.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");i=t,s=o}for(var a=new Uint8Array(64),l=0;l<r.length;l+=64){dQ(a,i,e);for(var u=l;u<l+64&&u<r.length;u++)n[u]=r[u]^a[u-l];pQ(i,0,s)}return n3.wipe(a),o===0&&n3.wipe(i),n}fy.streamXOR=ok;function hQ(e,t,r,n){return n===void 0&&(n=0),n3.wipe(r),ok(e,t,r,r,n)}fy.stream=hQ;function pQ(e,t,r){for(var n=1;r--;)n=n+(e[t]&255)|0,e[t]=n&255,n>>>=8,t++;if(n>0)throw new Error("ChaCha: counter overflow")}});var dy=_e(Ac=>{"use strict";c();d();f();Object.defineProperty(Ac,"__esModule",{value:!0});function mQ(e,t,r){return~(e-1)&t|e-1&r}Ac.select=mQ;function gQ(e,t){return(e|0)-(t|0)-1>>>31&1}Ac.lessOrEqual=gQ;function sk(e,t){if(e.length!==t.length)return 0;for(var r=0,n=0;n<e.length;n++)r|=e[n]^t[n];return 1&r-1>>>8}Ac.compare=sk;function yQ(e,t){return e.length===0||t.length===0?!1:sk(e,t)!==0}Ac.equal=yQ});var lk=_e(Vi=>{"use strict";c();d();f();Object.defineProperty(Vi,"__esModule",{value:!0});var vQ=dy(),hy=_o();Vi.DIGEST_LENGTH=16;var ak=function(){function e(t){this.digestLength=Vi.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var r=t[0]|t[1]<<8;this._r[0]=r&8191;var n=t[2]|t[3]<<8;this._r[1]=(r>>>13|n<<3)&8191;var o=t[4]|t[5]<<8;this._r[2]=(n>>>10|o<<6)&7939;var i=t[6]|t[7]<<8;this._r[3]=(o>>>7|i<<9)&8191;var s=t[8]|t[9]<<8;this._r[4]=(i>>>4|s<<12)&255,this._r[5]=s>>>1&8190;var a=t[10]|t[11]<<8;this._r[6]=(s>>>14|a<<2)&8191;var l=t[12]|t[13]<<8;this._r[7]=(a>>>11|l<<5)&8065;var u=t[14]|t[15]<<8;this._r[8]=(l>>>8|u<<8)&8191,this._r[9]=u>>>5&127,this._pad[0]=t[16]|t[17]<<8,this._pad[1]=t[18]|t[19]<<8,this._pad[2]=t[20]|t[21]<<8,this._pad[3]=t[22]|t[23]<<8,this._pad[4]=t[24]|t[25]<<8,this._pad[5]=t[26]|t[27]<<8,this._pad[6]=t[28]|t[29]<<8,this._pad[7]=t[30]|t[31]<<8}return e.prototype._blocks=function(t,r,n){for(var o=this._fin?0:2048,i=this._h[0],s=this._h[1],a=this._h[2],l=this._h[3],u=this._h[4],h=this._h[5],p=this._h[6],y=this._h[7],w=this._h[8],v=this._h[9],S=this._r[0],I=this._r[1],T=this._r[2],O=this._r[3],M=this._r[4],L=this._r[5],G=this._r[6],J=this._r[7],V=this._r[8],q=this._r[9];n>=16;){var ce=t[r+0]|t[r+1]<<8;i+=ce&8191;var me=t[r+2]|t[r+3]<<8;s+=(ce>>>13|me<<3)&8191;var fe=t[r+4]|t[r+5]<<8;a+=(me>>>10|fe<<6)&8191;var X=t[r+6]|t[r+7]<<8;l+=(fe>>>7|X<<9)&8191;var R=t[r+8]|t[r+9]<<8;u+=(X>>>4|R<<12)&8191,h+=R>>>1&8191;var m=t[r+10]|t[r+11]<<8;p+=(R>>>14|m<<2)&8191;var b=t[r+12]|t[r+13]<<8;y+=(m>>>11|b<<5)&8191;var E=t[r+14]|t[r+15]<<8;w+=(b>>>8|E<<8)&8191,v+=E>>>5|o;var A=0,k=A;k+=i*S,k+=s*(5*q),k+=a*(5*V),k+=l*(5*J),k+=u*(5*G),A=k>>>13,k&=8191,k+=h*(5*L),k+=p*(5*M),k+=y*(5*O),k+=w*(5*T),k+=v*(5*I),A+=k>>>13,k&=8191;var B=A;B+=i*I,B+=s*S,B+=a*(5*q),B+=l*(5*V),B+=u*(5*J),A=B>>>13,B&=8191,B+=h*(5*G),B+=p*(5*L),B+=y*(5*M),B+=w*(5*O),B+=v*(5*T),A+=B>>>13,B&=8191;var K=A;K+=i*T,K+=s*I,K+=a*S,K+=l*(5*q),K+=u*(5*V),A=K>>>13,K&=8191,K+=h*(5*J),K+=p*(5*G),K+=y*(5*L),K+=w*(5*M),K+=v*(5*O),A+=K>>>13,K&=8191;var U=A;U+=i*O,U+=s*T,U+=a*I,U+=l*S,U+=u*(5*q),A=U>>>13,U&=8191,U+=h*(5*V),U+=p*(5*J),U+=y*(5*G),U+=w*(5*L),U+=v*(5*M),A+=U>>>13,U&=8191;var x=A;x+=i*M,x+=s*O,x+=a*T,x+=l*I,x+=u*S,A=x>>>13,x&=8191,x+=h*(5*q),x+=p*(5*V),x+=y*(5*J),x+=w*(5*G),x+=v*(5*L),A+=x>>>13,x&=8191;var j=A;j+=i*L,j+=s*M,j+=a*O,j+=l*T,j+=u*I,A=j>>>13,j&=8191,j+=h*S,j+=p*(5*q),j+=y*(5*V),j+=w*(5*J),j+=v*(5*G),A+=j>>>13,j&=8191;var ie=A;ie+=i*G,ie+=s*L,ie+=a*M,ie+=l*O,ie+=u*T,A=ie>>>13,ie&=8191,ie+=h*I,ie+=p*S,ie+=y*(5*q),ie+=w*(5*V),ie+=v*(5*J),A+=ie>>>13,ie&=8191;var D=A;D+=i*J,D+=s*G,D+=a*L,D+=l*M,D+=u*O,A=D>>>13,D&=8191,D+=h*T,D+=p*I,D+=y*S,D+=w*(5*q),D+=v*(5*V),A+=D>>>13,D&=8191;var Y=A;Y+=i*V,Y+=s*J,Y+=a*G,Y+=l*L,Y+=u*M,A=Y>>>13,Y&=8191,Y+=h*O,Y+=p*T,Y+=y*I,Y+=w*S,Y+=v*(5*q),A+=Y>>>13,Y&=8191;var ne=A;ne+=i*q,ne+=s*V,ne+=a*J,ne+=l*G,ne+=u*L,A=ne>>>13,ne&=8191,ne+=h*M,ne+=p*O,ne+=y*T,ne+=w*I,ne+=v*S,A+=ne>>>13,ne&=8191,A=(A<<2)+A|0,A=A+k|0,k=A&8191,A=A>>>13,B+=A,i=k,s=B,a=K,l=U,u=x,h=j,p=ie,y=D,w=Y,v=ne,r+=16,n-=16}this._h[0]=i,this._h[1]=s,this._h[2]=a,this._h[3]=l,this._h[4]=u,this._h[5]=h,this._h[6]=p,this._h[7]=y,this._h[8]=w,this._h[9]=v},e.prototype.finish=function(t,r){r===void 0&&(r=0);var n=new Uint16Array(10),o,i,s,a;if(this._leftover){for(a=this._leftover,this._buffer[a++]=1;a<16;a++)this._buffer[a]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(o=this._h[1]>>>13,this._h[1]&=8191,a=2;a<10;a++)this._h[a]+=o,o=this._h[a]>>>13,this._h[a]&=8191;for(this._h[0]+=o*5,o=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=o,o=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=o,n[0]=this._h[0]+5,o=n[0]>>>13,n[0]&=8191,a=1;a<10;a++)n[a]=this._h[a]+o,o=n[a]>>>13,n[a]&=8191;for(n[9]-=1<<13,i=(o^1)-1,a=0;a<10;a++)n[a]&=i;for(i=~i,a=0;a<10;a++)this._h[a]=this._h[a]&i|n[a];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,s=this._h[0]+this._pad[0],this._h[0]=s&65535,a=1;a<8;a++)s=(this._h[a]+this._pad[a]|0)+(s>>>16)|0,this._h[a]=s&65535;return t[r+0]=this._h[0]>>>0,t[r+1]=this._h[0]>>>8,t[r+2]=this._h[1]>>>0,t[r+3]=this._h[1]>>>8,t[r+4]=this._h[2]>>>0,t[r+5]=this._h[2]>>>8,t[r+6]=this._h[3]>>>0,t[r+7]=this._h[3]>>>8,t[r+8]=this._h[4]>>>0,t[r+9]=this._h[4]>>>8,t[r+10]=this._h[5]>>>0,t[r+11]=this._h[5]>>>8,t[r+12]=this._h[6]>>>0,t[r+13]=this._h[6]>>>8,t[r+14]=this._h[7]>>>0,t[r+15]=this._h[7]>>>8,this._finished=!0,this},e.prototype.update=function(t){var r=0,n=t.length,o;if(this._leftover){o=16-this._leftover,o>n&&(o=n);for(var i=0;i<o;i++)this._buffer[this._leftover+i]=t[r+i];if(n-=o,r+=o,this._leftover+=o,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(n>=16&&(o=n-n%16,this._blocks(t,r,o),r+=o,n-=o),n){for(var i=0;i<n;i++)this._buffer[this._leftover+i]=t[r+i];this._leftover+=n}return this},e.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var t=new Uint8Array(16);return this.finish(t),t},e.prototype.clean=function(){return hy.wipe(this._buffer),hy.wipe(this._r),hy.wipe(this._h),hy.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},e}();Vi.Poly1305=ak;function wQ(e,t){var r=new ak(e);r.update(t);var n=r.digest();return r.clean(),n}Vi.oneTimeAuth=wQ;function bQ(e,t){return e.length!==Vi.DIGEST_LENGTH||t.length!==Vi.DIGEST_LENGTH?!1:vQ.equal(e,t)}Vi.equal=bQ});var my=_e(zi=>{"use strict";c();d();f();Object.defineProperty(zi,"__esModule",{value:!0});var py=ik(),_Q=lk(),oh=_o(),uk=bc(),xQ=dy();zi.KEY_LENGTH=32;zi.NONCE_LENGTH=12;zi.TAG_LENGTH=16;var ck=new Uint8Array(16),EQ=function(){function e(t){if(this.nonceLength=zi.NONCE_LENGTH,this.tagLength=zi.TAG_LENGTH,t.length!==zi.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(t)}return e.prototype.seal=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);py.stream(this._key,i,s,4);var a=r.length+this.tagLength,l;if(o){if(o.length!==a)throw new Error("ChaCha20Poly1305: incorrect destination length");l=o}else l=new Uint8Array(a);return py.streamXOR(this._key,i,r,l,4),this._authenticate(l.subarray(l.length-this.tagLength,l.length),s,l.subarray(0,l.length-this.tagLength),n),oh.wipe(i),l},e.prototype.open=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(r.length<this.tagLength)return null;var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);py.stream(this._key,i,s,4);var a=new Uint8Array(this.tagLength);if(this._authenticate(a,s,r.subarray(0,r.length-this.tagLength),n),!xQ.equal(a,r.subarray(r.length-this.tagLength,r.length)))return null;var l=r.length-this.tagLength,u;if(o){if(o.length!==l)throw new Error("ChaCha20Poly1305: incorrect destination length");u=o}else u=new Uint8Array(l);return py.streamXOR(this._key,i,r.subarray(0,r.length-this.tagLength),u,4),oh.wipe(i),u},e.prototype.clean=function(){return oh.wipe(this._key),this},e.prototype._authenticate=function(t,r,n,o){var i=new _Q.Poly1305(r);o&&(i.update(o),o.length%16>0&&i.update(ck.subarray(o.length%16))),i.update(n),n.length%16>0&&i.update(ck.subarray(n.length%16));var s=new Uint8Array(8);o&&uk.writeUint64LE(o.length,s),i.update(s),uk.writeUint64LE(n.length,s),i.update(s);for(var a=i.digest(),l=0;l<a.length;l++)t[l]=a[l];i.clean(),oh.wipe(a),oh.wipe(s)},e}();zi.ChaCha20Poly1305=EQ});var fk=_e(o3=>{"use strict";c();d();f();Object.defineProperty(o3,"__esModule",{value:!0});function SQ(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}o3.isSerializableHash=SQ});var hk=_e(ih=>{"use strict";c();d();f();Object.defineProperty(ih,"__esModule",{value:!0});var ui=fk(),CQ=dy(),TQ=_o(),dk=function(){function e(t,r){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var n=new Uint8Array(this.blockSize);r.length>this.blockSize?this._inner.update(r).finish(n).clean():n.set(r);for(var o=0;o<n.length;o++)n[o]^=54;this._inner.update(n);for(var o=0;o<n.length;o++)n[o]^=106;this._outer.update(n),ui.isSerializableHash(this._inner)&&ui.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),TQ.wipe(n)}return e.prototype.reset=function(){if(!ui.isSerializableHash(this._inner)||!ui.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){ui.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),ui.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(t){return this._inner.update(t),this},e.prototype.finish=function(t){return this._finished?(this._outer.finish(t),this):(this._inner.finish(t),this._outer.update(t.subarray(0,this.digestLength)).finish(t),this._finished=!0,this)},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(!ui.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(t){if(!ui.isSerializableHash(this._inner)||!ui.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(t),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(t){if(!ui.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(t)},e}();ih.HMAC=dk;function PQ(e,t,r){var n=new dk(e,t);n.update(r);var o=n.digest();return n.clean(),o}ih.hmac=PQ;ih.equal=CQ.equal});var gy=_e(i3=>{"use strict";c();d();f();Object.defineProperty(i3,"__esModule",{value:!0});var pk=hk(),mk=_o(),OQ=function(){function e(t,r,n,o){n===void 0&&(n=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=o;var i=pk.hmac(this._hash,n,r);this._hmac=new pk.HMAC(t,i),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(t===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(t){for(var r=new Uint8Array(t),n=0;n<r.length;n++)this._bufpos===this._buffer.length&&this._fillBuffer(),r[n]=this._buffer[this._bufpos++];return r},e.prototype.clean=function(){this._hmac.clean(),mk.wipe(this._buffer),mk.wipe(this._counter),this._bufpos=0},e}();i3.HKDF=OQ});var wy=_e(Zs=>{"use strict";c();d();f();Object.defineProperty(Zs,"__esModule",{value:!0});var vy=bc(),yy=_o();Zs.DIGEST_LENGTH=32;Zs.BLOCK_SIZE=64;var gk=function(){function e(){this.digestLength=Zs.DIGEST_LENGTH,this.blockSize=Zs.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){yy.wipe(this._buffer),yy.wipe(this._temp),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(s3(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=s3(this._temp,this._state,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%64<56?64:128;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;vy.writeUint32BE(o,this._buffer,s-8),vy.writeUint32BE(i,this._buffer,s-4),s3(this._temp,this._state,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/4;a++)vy.writeUint32BE(this._state[a],t,a*4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){yy.wipe(t.state),t.buffer&&yy.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();Zs.SHA256=gk;var DQ=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s3(e,t,r,n,o){for(;o>=64;){for(var i=t[0],s=t[1],a=t[2],l=t[3],u=t[4],h=t[5],p=t[6],y=t[7],w=0;w<16;w++){var v=n+w*4;e[w]=vy.readUint32BE(r,v)}for(var w=16;w<64;w++){var S=e[w-2],I=(S>>>17|S<<32-17)^(S>>>19|S<<32-19)^S>>>10;S=e[w-15];var T=(S>>>7|S<<32-7)^(S>>>18|S<<32-18)^S>>>3;e[w]=(I+e[w-7]|0)+(T+e[w-16]|0)}for(var w=0;w<64;w++){var I=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&h^~u&p)|0)+(y+(DQ[w]+e[w]|0)|0)|0,T=((i>>>2|i<<32-2)^(i>>>13|i<<32-13)^(i>>>22|i<<32-22))+(i&s^i&a^s&a)|0;y=p,p=h,h=u,u=l+I|0,l=a,a=s,s=i,i=I+T|0}t[0]+=i,t[1]+=s,t[2]+=a,t[3]+=l,t[4]+=u,t[5]+=h,t[6]+=p,t[7]+=y,n+=64,o-=64}return n}function IQ(e){var t=new gk;t.update(e);var r=t.digest();return t.clean(),r}Zs.hash=IQ});var xy=_e(ir=>{"use strict";c();d();f();Object.defineProperty(ir,"__esModule",{value:!0});ir.sharedKey=ir.generateKeyPair=ir.generateKeyPairFromSeed=ir.scalarMultBase=ir.scalarMult=ir.SHARED_KEY_LENGTH=ir.SECRET_KEY_LENGTH=ir.PUBLIC_KEY_LENGTH=void 0;var AQ=Ja(),MQ=_o();ir.PUBLIC_KEY_LENGTH=32;ir.SECRET_KEY_LENGTH=32;ir.SHARED_KEY_LENGTH=32;function ci(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var yk=new Uint8Array(32);yk[0]=9;var RQ=ci([56129,1]);function a3(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function sh(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function NQ(e,t){let r=ci(),n=ci();for(let o=0;o<16;o++)n[o]=t[o];a3(n),a3(n),a3(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,sh(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function kQ(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function by(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function _y(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function Hi(e,t,r){let n,o,i=0,s=0,a=0,l=0,u=0,h=0,p=0,y=0,w=0,v=0,S=0,I=0,T=0,O=0,M=0,L=0,G=0,J=0,V=0,q=0,ce=0,me=0,fe=0,X=0,R=0,m=0,b=0,E=0,A=0,k=0,B=0,K=r[0],U=r[1],x=r[2],j=r[3],ie=r[4],D=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],Z=r[10],ee=r[11],W=r[12],le=r[13],re=r[14],ge=r[15];n=t[0],i+=n*K,s+=n*U,a+=n*x,l+=n*j,u+=n*ie,h+=n*D,p+=n*Y,y+=n*ne,w+=n*ae,v+=n*he,S+=n*Z,I+=n*ee,T+=n*W,O+=n*le,M+=n*re,L+=n*ge,n=t[1],s+=n*K,a+=n*U,l+=n*x,u+=n*j,h+=n*ie,p+=n*D,y+=n*Y,w+=n*ne,v+=n*ae,S+=n*he,I+=n*Z,T+=n*ee,O+=n*W,M+=n*le,L+=n*re,G+=n*ge,n=t[2],a+=n*K,l+=n*U,u+=n*x,h+=n*j,p+=n*ie,y+=n*D,w+=n*Y,v+=n*ne,S+=n*ae,I+=n*he,T+=n*Z,O+=n*ee,M+=n*W,L+=n*le,G+=n*re,J+=n*ge,n=t[3],l+=n*K,u+=n*U,h+=n*x,p+=n*j,y+=n*ie,w+=n*D,v+=n*Y,S+=n*ne,I+=n*ae,T+=n*he,O+=n*Z,M+=n*ee,L+=n*W,G+=n*le,J+=n*re,V+=n*ge,n=t[4],u+=n*K,h+=n*U,p+=n*x,y+=n*j,w+=n*ie,v+=n*D,S+=n*Y,I+=n*ne,T+=n*ae,O+=n*he,M+=n*Z,L+=n*ee,G+=n*W,J+=n*le,V+=n*re,q+=n*ge,n=t[5],h+=n*K,p+=n*U,y+=n*x,w+=n*j,v+=n*ie,S+=n*D,I+=n*Y,T+=n*ne,O+=n*ae,M+=n*he,L+=n*Z,G+=n*ee,J+=n*W,V+=n*le,q+=n*re,ce+=n*ge,n=t[6],p+=n*K,y+=n*U,w+=n*x,v+=n*j,S+=n*ie,I+=n*D,T+=n*Y,O+=n*ne,M+=n*ae,L+=n*he,G+=n*Z,J+=n*ee,V+=n*W,q+=n*le,ce+=n*re,me+=n*ge,n=t[7],y+=n*K,w+=n*U,v+=n*x,S+=n*j,I+=n*ie,T+=n*D,O+=n*Y,M+=n*ne,L+=n*ae,G+=n*he,J+=n*Z,V+=n*ee,q+=n*W,ce+=n*le,me+=n*re,fe+=n*ge,n=t[8],w+=n*K,v+=n*U,S+=n*x,I+=n*j,T+=n*ie,O+=n*D,M+=n*Y,L+=n*ne,G+=n*ae,J+=n*he,V+=n*Z,q+=n*ee,ce+=n*W,me+=n*le,fe+=n*re,X+=n*ge,n=t[9],v+=n*K,S+=n*U,I+=n*x,T+=n*j,O+=n*ie,M+=n*D,L+=n*Y,G+=n*ne,J+=n*ae,V+=n*he,q+=n*Z,ce+=n*ee,me+=n*W,fe+=n*le,X+=n*re,R+=n*ge,n=t[10],S+=n*K,I+=n*U,T+=n*x,O+=n*j,M+=n*ie,L+=n*D,G+=n*Y,J+=n*ne,V+=n*ae,q+=n*he,ce+=n*Z,me+=n*ee,fe+=n*W,X+=n*le,R+=n*re,m+=n*ge,n=t[11],I+=n*K,T+=n*U,O+=n*x,M+=n*j,L+=n*ie,G+=n*D,J+=n*Y,V+=n*ne,q+=n*ae,ce+=n*he,me+=n*Z,fe+=n*ee,X+=n*W,R+=n*le,m+=n*re,b+=n*ge,n=t[12],T+=n*K,O+=n*U,M+=n*x,L+=n*j,G+=n*ie,J+=n*D,V+=n*Y,q+=n*ne,ce+=n*ae,me+=n*he,fe+=n*Z,X+=n*ee,R+=n*W,m+=n*le,b+=n*re,E+=n*ge,n=t[13],O+=n*K,M+=n*U,L+=n*x,G+=n*j,J+=n*ie,V+=n*D,q+=n*Y,ce+=n*ne,me+=n*ae,fe+=n*he,X+=n*Z,R+=n*ee,m+=n*W,b+=n*le,E+=n*re,A+=n*ge,n=t[14],M+=n*K,L+=n*U,G+=n*x,J+=n*j,V+=n*ie,q+=n*D,ce+=n*Y,me+=n*ne,fe+=n*ae,X+=n*he,R+=n*Z,m+=n*ee,b+=n*W,E+=n*le,A+=n*re,k+=n*ge,n=t[15],L+=n*K,G+=n*U,J+=n*x,V+=n*j,q+=n*ie,ce+=n*D,me+=n*Y,fe+=n*ne,X+=n*ae,R+=n*he,m+=n*Z,b+=n*ee,E+=n*W,A+=n*le,k+=n*re,B+=n*ge,i+=38*G,s+=38*J,a+=38*V,l+=38*q,u+=38*ce,h+=38*me,p+=38*fe,y+=38*X,w+=38*R,v+=38*m,S+=38*b,I+=38*E,T+=38*A,O+=38*k,M+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=w+o+65535,o=Math.floor(n/65536),w=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=S+o+65535,o=Math.floor(n/65536),S=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=O+o+65535,o=Math.floor(n/65536),O=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=L+o+65535,o=Math.floor(n/65536),L=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=l,e[4]=u,e[5]=h,e[6]=p,e[7]=y,e[8]=w,e[9]=v,e[10]=S,e[11]=I,e[12]=T,e[13]=O,e[14]=M,e[15]=L}function ah(e,t){Hi(e,t,t)}function LQ(e,t){let r=ci();for(let n=0;n<16;n++)r[n]=t[n];for(let n=253;n>=0;n--)ah(r,r),n!==2&&n!==4&&Hi(r,r,t);for(let n=0;n<16;n++)e[n]=r[n]}function l3(e,t){let r=new Uint8Array(32),n=new Float64Array(80),o=ci(),i=ci(),s=ci(),a=ci(),l=ci(),u=ci();for(let w=0;w<31;w++)r[w]=e[w];r[31]=e[31]&127|64,r[0]&=248,kQ(n,t);for(let w=0;w<16;w++)i[w]=n[w];o[0]=a[0]=1;for(let w=254;w>=0;--w){let v=r[w>>>3]>>>(w&7)&1;sh(o,i,v),sh(s,a,v),by(l,o,s),_y(o,o,s),by(s,i,a),_y(i,i,a),ah(a,l),ah(u,o),Hi(o,s,o),Hi(s,i,l),by(l,o,s),_y(o,o,s),ah(i,o),_y(s,a,u),Hi(o,s,RQ),by(o,o,a),Hi(s,s,o),Hi(o,a,u),Hi(a,i,n),ah(i,l),sh(o,i,v),sh(s,a,v)}for(let w=0;w<16;w++)n[w+16]=o[w],n[w+32]=s[w],n[w+48]=i[w],n[w+64]=a[w];let h=n.subarray(32),p=n.subarray(16);LQ(h,h),Hi(p,p,h);let y=new Uint8Array(32);return NQ(y,p),y}ir.scalarMult=l3;function vk(e){return l3(e,yk)}ir.scalarMultBase=vk;function wk(e){if(e.length!==ir.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${ir.SECRET_KEY_LENGTH} bytes`);let t=new Uint8Array(e);return{publicKey:vk(t),secretKey:t}}ir.generateKeyPairFromSeed=wk;function FQ(e){let t=(0,AQ.randomBytes)(32,e),r=wk(t);return(0,MQ.wipe)(t),r}ir.generateKeyPair=FQ;function $Q(e,t,r=!1){if(e.length!==ir.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(t.length!==ir.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let n=l3(e,t);if(r){let o=0;for(let i=0;i<n.length;i++)o|=n[i];if(o===0)throw new Error("X25519: invalid shared key")}return n}ir.sharedKey=$Q});var ol=_e($t=>{"use strict";c();d();f();Object.defineProperty($t,"__esModule",{value:!0});$t.getLocalStorage=$t.getLocalStorageOrThrow=$t.getCrypto=$t.getCryptoOrThrow=$t.getLocation=$t.getLocationOrThrow=$t.getNavigator=$t.getNavigatorOrThrow=$t.getDocument=$t.getDocumentOrThrow=$t.getFromWindowOrThrow=$t.getFromWindow=void 0;function nl(e){let t;return typeof window<"u"&&typeof window[e]<"u"&&(t=window[e]),t}$t.getFromWindow=nl;function Rc(e){let t=nl(e);if(!t)throw new Error(`${e} is not defined in Window`);return t}$t.getFromWindowOrThrow=Rc;function JQ(){return Rc("document")}$t.getDocumentOrThrow=JQ;function QQ(){return nl("document")}$t.getDocument=QQ;function eee(){return Rc("navigator")}$t.getNavigatorOrThrow=eee;function tee(){return nl("navigator")}$t.getNavigator=tee;function ree(){return Rc("location")}$t.getLocationOrThrow=ree;function nee(){return nl("location")}$t.getLocation=nee;function oee(){return Rc("crypto")}$t.getCryptoOrThrow=oee;function iee(){return nl("crypto")}$t.getCrypto=iee;function see(){return Rc("localStorage")}$t.getLocalStorageOrThrow=see;function aee(){return nl("localStorage")}$t.getLocalStorage=aee});var Ok=_e(Sy=>{"use strict";c();d();f();Object.defineProperty(Sy,"__esModule",{value:!0});Sy.getWindowMetadata=void 0;var Pk=ol();function lee(){let e,t;try{e=Pk.getDocumentOrThrow(),t=Pk.getLocationOrThrow()}catch(p){return null}function r(){let p=e.getElementsByTagName("link"),y=[];for(let w=0;w<p.length;w++){let v=p[w],S=v.getAttribute("rel");if(S&&S.toLowerCase().indexOf("icon")>-1){let I=v.getAttribute("href");if(I)if(I.toLowerCase().indexOf("https:")===-1&&I.toLowerCase().indexOf("http:")===-1&&I.indexOf("//")!==0){let T=t.protocol+"//"+t.host;if(I.indexOf("/")===0)T+=I;else{let O=t.pathname.split("/");O.pop(),T+=O.join("/")+"/"+I}y.push(T)}else if(I.indexOf("//")===0){let T=t.protocol+I;y.push(T)}else y.push(I)}}return y}function n(...p){let y=e.getElementsByTagName("meta");for(let w=0;w<y.length;w++){let v=y[w],S=["itemprop","property","name"].map(I=>v.getAttribute(I)).filter(I=>I?p.includes(I):!1);if(S.length&&S){let I=v.getAttribute("content");if(I)return I}}return""}function o(){let p=n("name","og:site_name","og:title","twitter:title");return p||(p=e.title),p}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),l=t.origin,u=r();return{description:a,url:l,icons:u,name:s}}Sy.getWindowMetadata=lee});var Cy=_e((j3e,Dk)=>{"use strict";c();d();f();Dk.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)});var Ty=_e((V3e,Rk)=>{"use strict";c();d();f();var Mk="%[a-f0-9]{2}",Ik=new RegExp("("+Mk+")|([^%]+?)","gi"),Ak=new RegExp("("+Mk+")+","gi");function c3(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],c3(r),c3(n))}function uee(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(Ik)||[],r=1;r<t.length;r++)e=c3(t,r).join(""),t=e.match(Ik)||[];return e}}function cee(e){for(var t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},r=Ak.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(a){var n=uee(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Ak.exec(e)}t["%C2"]="\uFFFD";for(var o=Object.keys(t),i=0;i<o.length;i++){var s=o[i];e=e.replace(new RegExp(s,"g"),t[s])}return e}Rk.exports=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return cee(e)}}});var Py=_e((z3e,Nk)=>{"use strict";c();d();f();Nk.exports=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];let r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}});var Oy=_e((H3e,kk)=>{"use strict";c();d();f();kk.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var s=n[i],a=e[s];(o?t.indexOf(s)!==-1:t(s,a,e))&&(r[s]=a)}return r}});var zk=_e(Mn=>{"use strict";c();d();f();var fee=Cy(),dee=Ty(),Fk=Py(),hee=Oy(),pee=e=>e==null,f3=Symbol("encodeFragmentIdentifier");function mee(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[lr(t,e),"[",o,"]"].join("")]:[...r,[lr(t,e),"[",lr(o,e),"]=",lr(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[lr(t,e),"[]"].join("")]:[...r,[lr(t,e),"[]=",lr(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[lr(t,e),":list="].join("")]:[...r,[lr(t,e),":list=",lr(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[lr(r,e),t,lr(o,e)].join("")]:[[n,lr(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,lr(t,e)]:[...r,[lr(t,e),"=",lr(n,e)].join("")]}}function gee(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&Ki(n,e).includes(e.arrayFormatSeparator);n=s?Ki(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(l=>Ki(l,e)):n===null?n:Ki(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&Ki(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>Ki(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function $k(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function lr(e,t){return t.encode?t.strict?fee(e):encodeURIComponent(e):e}function Ki(e,t){return t.decode?dee(e):e}function Uk(e){return Array.isArray(e)?e.sort():typeof e=="object"?Uk(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function Bk(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function yee(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function jk(e){e=Bk(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Lk(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function Vk(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),$k(t.arrayFormatSeparator);let r=gee(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=Fk(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ki(s,t),r(Ki(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=Lk(i[s],t);else n[o]=Lk(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=Uk(s):o[i]=s,o},Object.create(null))}Mn.extract=jk;Mn.parse=Vk;Mn.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),$k(t.arrayFormatSeparator);let r=s=>t.skipNull&&pee(e[s])||t.skipEmptyString&&e[s]==="",n=mee(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?lr(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?lr(s,t)+"[]":a.reduce(n(s),[]).join("&"):lr(s,t)+"="+lr(a,t)}).filter(s=>s.length>0).join("&")};Mn.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=Fk(e,"#");return Object.assign({url:r.split("?")[0]||"",query:Vk(jk(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:Ki(n,t)}:{})};Mn.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[f3]:!0},t);let r=Bk(e.url).split("?")[0]||"",n=Mn.extract(e.url),o=Mn.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=Mn.stringify(i,t);s&&(s=`?${s}`);let a=yee(e.url);return e.fragmentIdentifier&&(a=`#${t[f3]?lr(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};Mn.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[f3]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=Mn.parseUrl(e,r);return Mn.stringifyUrl({url:n,query:hee(o,t),fragmentIdentifier:i},r)};Mn.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return Mn.pick(e,n,r)}});var V9=_e((xEe,Hy)=>{c();d();f();var x9,E9,S9,C9,T9,P9,O9,D9,I9,zy,P3,A9,M9,Fc,R9,N9,k9,L9,F9,$9,U9,B9,j9;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Hy=="object"&&typeof Hy.exports=="object"?e(r(t,r(Hy.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};x9=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},E9=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},S9=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},C9=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(a=(s<3?l(a):s>3?l(n,o,a):l(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},T9=function(r,n){return function(o,i){n(o,i,r)}},P9=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},O9=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(l){l(a)})}return new(o||(o=Promise))(function(a,l){function u(y){try{p(i.next(y))}catch(w){l(w)}}function h(y){try{p(i.throw(y))}catch(w){l(w)}}function p(y){y.done?a(y.value):s(y.value).then(u,h)}p((i=i.apply(r,n||[])).next())})},D9=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(p){return function(y){return h([p,y])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=p[0]&2?s.return:p[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,p[1])).done)return a;switch(s=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,s=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(r,o)}catch(y){p=[6,y],s=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},j9=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},I9=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},zy=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},P3=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],l;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(l)throw l.error}}return a},A9=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(P3(arguments[n]));return r},M9=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,s++)i[s]=a[l];return i},Fc=function(r){return this instanceof Fc?(this.v=r,this):new Fc(r)},R9=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(v){i[v]&&(s[v]=function(S){return new Promise(function(I,T){a.push([v,S,I,T])>1||u(v,S)})})}function u(v,S){try{h(i[v](S))}catch(I){w(a[0][3],I)}}function h(v){v.value instanceof Fc?Promise.resolve(v.value.v).then(p,y):w(a[0][2],v)}function p(v){u("next",v)}function y(v){u("throw",v)}function w(v,S){v(S),a.shift(),a.length&&u(a[0][0],a[0][1])}},N9=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(l){return(o=!o)?{value:Fc(r[s](l)),done:s==="return"}:a?a(l):l}:a}},k9=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof zy=="function"?zy(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(l){return new Promise(function(u,h){l=r[a](l),s(u,h,l.done,l.value)})}}function s(a,l,u,h){Promise.resolve(h).then(function(p){a({value:p,done:u})},l)}},L9=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},F9=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},$9=function(r){return r&&r.__esModule?r:{default:r}},U9=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},B9=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",x9),e("__assign",E9),e("__rest",S9),e("__decorate",C9),e("__param",T9),e("__metadata",P9),e("__awaiter",O9),e("__generator",D9),e("__exportStar",I9),e("__createBinding",j9),e("__values",zy),e("__read",P3),e("__spread",A9),e("__spreadArrays",M9),e("__await",Fc),e("__asyncGenerator",R9),e("__asyncDelegator",N9),e("__asyncValues",k9),e("__makeTemplateObject",L9),e("__importStar",F9),e("__importDefault",$9),e("__classPrivateFieldGet",U9),e("__classPrivateFieldSet",B9)})});var H9=_e(ea=>{"use strict";c();d();f();Object.defineProperty(ea,"__esModule",{value:!0});ea.isBrowserCryptoAvailable=ea.getSubtleCrypto=ea.getBrowerCrypto=void 0;function O3(){return(globalThis==null?void 0:globalThis.crypto)||(globalThis==null?void 0:globalThis.msCrypto)||{}}ea.getBrowerCrypto=O3;function z9(){let e=O3();return e.subtle||e.webkitSubtle}ea.getSubtleCrypto=z9;function Kee(){return!!O3()&&!!z9()}ea.isBrowserCryptoAvailable=Kee});var G9=_e(ta=>{"use strict";c();d();f();Object.defineProperty(ta,"__esModule",{value:!0});ta.isBrowser=ta.isNode=ta.isReactNative=void 0;function K9(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}ta.isReactNative=K9;function q9(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}ta.isNode=q9;function qee(){return!K9()&&!q9()}ta.isBrowser=qee});var D3=_e(Ky=>{"use strict";c();d();f();Object.defineProperty(Ky,"__esModule",{value:!0});var W9=V9();W9.__exportStar(H9(),Ky);W9.__exportStar(G9(),Ky)});var rL=_e((nSe,tL)=>{"use strict";c();d();f();tL.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var jL=_e((gh,Vc)=>{c();d();f();var ote=200,H3="__lodash_hash_undefined__",ov=1,vL=2,wL=9007199254740991,Zy="[object Arguments]",F3="[object Array]",ite="[object AsyncFunction]",bL="[object Boolean]",_L="[object Date]",xL="[object Error]",EL="[object Function]",ste="[object GeneratorFunction]",Jy="[object Map]",SL="[object Number]",ate="[object Null]",jc="[object Object]",aL="[object Promise]",lte="[object Proxy]",CL="[object RegExp]",Qy="[object Set]",TL="[object String]",ute="[object Symbol]",cte="[object Undefined]",$3="[object WeakMap]",PL="[object ArrayBuffer]",ev="[object DataView]",fte="[object Float32Array]",dte="[object Float64Array]",hte="[object Int8Array]",pte="[object Int16Array]",mte="[object Int32Array]",gte="[object Uint8Array]",yte="[object Uint8ClampedArray]",vte="[object Uint16Array]",wte="[object Uint32Array]",bte=/[\\^$.*+?()[\]{}|]/g,_te=/^\[object .+?Constructor\]$/,xte=/^(?:0|[1-9]\d*)$/,Ht={};Ht[fte]=Ht[dte]=Ht[hte]=Ht[pte]=Ht[mte]=Ht[gte]=Ht[yte]=Ht[vte]=Ht[wte]=!0;Ht[Zy]=Ht[F3]=Ht[PL]=Ht[bL]=Ht[ev]=Ht[_L]=Ht[xL]=Ht[EL]=Ht[Jy]=Ht[SL]=Ht[jc]=Ht[CL]=Ht[Qy]=Ht[TL]=Ht[$3]=!1;var OL=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,Ete=typeof self=="object"&&self&&self.Object===Object&&self,qi=OL||Ete||Function("return this")(),DL=typeof gh=="object"&&gh&&!gh.nodeType&&gh,lL=DL&&typeof Vc=="object"&&Vc&&!Vc.nodeType&&Vc,IL=lL&&lL.exports===DL,N3=IL&&OL.process,uL=function(){try{return N3&&N3.binding&&N3.binding("util")}catch(e){}}(),cL=uL&&uL.isTypedArray;function Ste(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}function Cte(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function Tte(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Pte(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Ote(e){return function(t){return e(t)}}function Dte(e,t){return e.has(t)}function Ite(e,t){return e==null?void 0:e[t]}function Ate(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function Mte(e,t){return function(r){return e(t(r))}}function Rte(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Nte=Array.prototype,kte=Function.prototype,iv=Object.prototype,k3=qi["__core-js_shared__"],AL=kte.toString,fi=iv.hasOwnProperty,fL=function(){var e=/[^.]+$/.exec(k3&&k3.keys&&k3.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ML=iv.toString,Lte=RegExp("^"+AL.call(fi).replace(bte,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dL=IL?qi.Buffer:void 0,tv=qi.Symbol,hL=qi.Uint8Array,RL=iv.propertyIsEnumerable,Fte=Nte.splice,ul=tv?tv.toStringTag:void 0,pL=Object.getOwnPropertySymbols,$te=dL?dL.isBuffer:void 0,Ute=Mte(Object.keys,Object),U3=zc(qi,"DataView"),yh=zc(qi,"Map"),B3=zc(qi,"Promise"),j3=zc(qi,"Set"),V3=zc(qi,"WeakMap"),vh=zc(Object,"create"),Bte=dl(U3),jte=dl(yh),Vte=dl(B3),zte=dl(j3),Hte=dl(V3),mL=tv?tv.prototype:void 0,L3=mL?mL.valueOf:void 0;function cl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Kte(){this.__data__=vh?vh(null):{},this.size=0}function qte(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Gte(e){var t=this.__data__;if(vh){var r=t[e];return r===H3?void 0:r}return fi.call(t,e)?t[e]:void 0}function Wte(e){var t=this.__data__;return vh?t[e]!==void 0:fi.call(t,e)}function Yte(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=vh&&t===void 0?H3:t,this}cl.prototype.clear=Kte;cl.prototype.delete=qte;cl.prototype.get=Gte;cl.prototype.has=Wte;cl.prototype.set=Yte;function Gi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Xte(){this.__data__=[],this.size=0}function Zte(e){var t=this.__data__,r=sv(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Fte.call(t,r,1),--this.size,!0}function Jte(e){var t=this.__data__,r=sv(t,e);return r<0?void 0:t[r][1]}function Qte(e){return sv(this.__data__,e)>-1}function ere(e,t){var r=this.__data__,n=sv(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Gi.prototype.clear=Xte;Gi.prototype.delete=Zte;Gi.prototype.get=Jte;Gi.prototype.has=Qte;Gi.prototype.set=ere;function fl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function tre(){this.size=0,this.__data__={hash:new cl,map:new(yh||Gi),string:new cl}}function rre(e){var t=av(this,e).delete(e);return this.size-=t?1:0,t}function nre(e){return av(this,e).get(e)}function ore(e){return av(this,e).has(e)}function ire(e,t){var r=av(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}fl.prototype.clear=tre;fl.prototype.delete=rre;fl.prototype.get=nre;fl.prototype.has=ore;fl.prototype.set=ire;function rv(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new fl;++t<r;)this.add(e[t])}function sre(e){return this.__data__.set(e,H3),this}function are(e){return this.__data__.has(e)}rv.prototype.add=rv.prototype.push=sre;rv.prototype.has=are;function oa(e){var t=this.__data__=new Gi(e);this.size=t.size}function lre(){this.__data__=new Gi,this.size=0}function ure(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function cre(e){return this.__data__.get(e)}function fre(e){return this.__data__.has(e)}function dre(e,t){var r=this.__data__;if(r instanceof Gi){var n=r.__data__;if(!yh||n.length<ote-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new fl(n)}return r.set(e,t),this.size=r.size,this}oa.prototype.clear=lre;oa.prototype.delete=ure;oa.prototype.get=cre;oa.prototype.has=fre;oa.prototype.set=dre;function hre(e,t){var r=nv(e),n=!r&&Ore(e),o=!r&&!n&&z3(e),i=!r&&!n&&!o&&BL(e),s=r||n||o||i,a=s?Pte(e.length,String):[],l=a.length;for(var u in e)(t||fi.call(e,u))&&!(s&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Ere(u,l)))&&a.push(u);return a}function sv(e,t){for(var r=e.length;r--;)if(LL(e[r][0],t))return r;return-1}function pre(e,t,r){var n=t(e);return nv(e)?n:Cte(n,r(e))}function bh(e){return e==null?e===void 0?cte:ate:ul&&ul in Object(e)?_re(e):Pre(e)}function gL(e){return wh(e)&&bh(e)==Zy}function NL(e,t,r,n,o){return e===t?!0:e==null||t==null||!wh(e)&&!wh(t)?e!==e&&t!==t:mre(e,t,r,n,NL,o)}function mre(e,t,r,n,o,i){var s=nv(e),a=nv(t),l=s?F3:na(e),u=a?F3:na(t);l=l==Zy?jc:l,u=u==Zy?jc:u;var h=l==jc,p=u==jc,y=l==u;if(y&&z3(e)){if(!z3(t))return!1;s=!0,h=!1}if(y&&!h)return i||(i=new oa),s||BL(e)?kL(e,t,r,n,o,i):wre(e,t,l,r,n,o,i);if(!(r&ov)){var w=h&&fi.call(e,"__wrapped__"),v=p&&fi.call(t,"__wrapped__");if(w||v){var S=w?e.value():e,I=v?t.value():t;return i||(i=new oa),o(S,I,r,n,i)}}return y?(i||(i=new oa),bre(e,t,r,n,o,i)):!1}function gre(e){if(!UL(e)||Cre(e))return!1;var t=FL(e)?Lte:_te;return t.test(dl(e))}function yre(e){return wh(e)&&$L(e.length)&&!!Ht[bh(e)]}function vre(e){if(!Tre(e))return Ute(e);var t=[];for(var r in Object(e))fi.call(e,r)&&r!="constructor"&&t.push(r);return t}function kL(e,t,r,n,o,i){var s=r&ov,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var h=-1,p=!0,y=r&vL?new rv:void 0;for(i.set(e,t),i.set(t,e);++h<a;){var w=e[h],v=t[h];if(n)var S=s?n(v,w,h,t,e,i):n(w,v,h,e,t,i);if(S!==void 0){if(S)continue;p=!1;break}if(y){if(!Tte(t,function(I,T){if(!Dte(y,T)&&(w===I||o(w,I,r,n,i)))return y.push(T)})){p=!1;break}}else if(!(w===v||o(w,v,r,n,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function wre(e,t,r,n,o,i,s){switch(r){case ev:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case PL:return!(e.byteLength!=t.byteLength||!i(new hL(e),new hL(t)));case bL:case _L:case SL:return LL(+e,+t);case xL:return e.name==t.name&&e.message==t.message;case CL:case TL:return e==t+"";case Jy:var a=Ate;case Qy:var l=n&ov;if(a||(a=Rte),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;n|=vL,s.set(e,t);var h=kL(a(e),a(t),n,o,i,s);return s.delete(e),h;case ute:if(L3)return L3.call(e)==L3.call(t)}return!1}function bre(e,t,r,n,o,i){var s=r&ov,a=yL(e),l=a.length,u=yL(t),h=u.length;if(l!=h&&!s)return!1;for(var p=l;p--;){var y=a[p];if(!(s?y in t:fi.call(t,y)))return!1}var w=i.get(e);if(w&&i.get(t))return w==t;var v=!0;i.set(e,t),i.set(t,e);for(var S=s;++p<l;){y=a[p];var I=e[y],T=t[y];if(n)var O=s?n(T,I,y,t,e,i):n(I,T,y,e,t,i);if(!(O===void 0?I===T||o(I,T,r,n,i):O)){v=!1;break}S||(S=y=="constructor")}if(v&&!S){var M=e.constructor,L=t.constructor;M!=L&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof L=="function"&&L instanceof L)&&(v=!1)}return i.delete(e),i.delete(t),v}function yL(e){return pre(e,Are,xre)}function av(e,t){var r=e.__data__;return Sre(t)?r[typeof t=="string"?"string":"hash"]:r.map}function zc(e,t){var r=Ite(e,t);return gre(r)?r:void 0}function _re(e){var t=fi.call(e,ul),r=e[ul];try{e[ul]=void 0;var n=!0}catch(i){}var o=ML.call(e);return n&&(t?e[ul]=r:delete e[ul]),o}var xre=pL?function(e){return e==null?[]:(e=Object(e),Ste(pL(e),function(t){return RL.call(e,t)}))}:Mre,na=bh;(U3&&na(new U3(new ArrayBuffer(1)))!=ev||yh&&na(new yh)!=Jy||B3&&na(B3.resolve())!=aL||j3&&na(new j3)!=Qy||V3&&na(new V3)!=$3)&&(na=function(e){var t=bh(e),r=t==jc?e.constructor:void 0,n=r?dl(r):"";if(n)switch(n){case Bte:return ev;case jte:return Jy;case Vte:return aL;case zte:return Qy;case Hte:return $3}return t});function Ere(e,t){return t=t==null?wL:t,!!t&&(typeof e=="number"||xte.test(e))&&e>-1&&e%1==0&&e<t}function Sre(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Cre(e){return!!fL&&fL in e}function Tre(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||iv;return e===r}function Pre(e){return ML.call(e)}function dl(e){if(e!=null){try{return AL.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function LL(e,t){return e===t||e!==e&&t!==t}var Ore=gL(function(){return arguments}())?gL:function(e){return wh(e)&&fi.call(e,"callee")&&!RL.call(e,"callee")},nv=Array.isArray;function Dre(e){return e!=null&&$L(e.length)&&!FL(e)}var z3=$te||Rre;function Ire(e,t){return NL(e,t)}function FL(e){if(!UL(e))return!1;var t=bh(e);return t==EL||t==ste||t==ite||t==lte}function $L(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wL}function UL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function wh(e){return e!=null&&typeof e=="object"}var BL=cL?Ote(cL):yre;function Are(e){return Dre(e)?hre(e):vre(e)}function Mre(){return[]}function Rre(){return!1}Vc.exports=Ire});var xF=_e(hv=>{"use strict";c();d();f();Object.defineProperty(hv,"__esModule",{value:!0});hv.getWindowMetadata=void 0;var _F=ol();function Uoe(){let e,t;try{e=_F.getDocumentOrThrow(),t=_F.getLocationOrThrow()}catch(p){return null}function r(){let p=e.getElementsByTagName("link"),y=[];for(let w=0;w<p.length;w++){let v=p[w],S=v.getAttribute("rel");if(S&&S.toLowerCase().indexOf("icon")>-1){let I=v.getAttribute("href");if(I)if(I.toLowerCase().indexOf("https:")===-1&&I.toLowerCase().indexOf("http:")===-1&&I.indexOf("//")!==0){let T=t.protocol+"//"+t.host;if(I.indexOf("/")===0)T+=I;else{let O=t.pathname.split("/");O.pop(),T+=O.join("/")+"/"+I}y.push(T)}else if(I.indexOf("//")===0){let T=t.protocol+I;y.push(T)}else y.push(I)}}return y}function n(...p){let y=e.getElementsByTagName("meta");for(let w=0;w<y.length;w++){let v=y[w],S=["itemprop","property","name"].map(I=>v.getAttribute(I)).filter(I=>I?p.includes(I):!1);if(S.length&&S){let I=v.getAttribute("content");if(I)return I}}return""}function o(){let p=n("name","og:site_name","og:title","twitter:title");return p||(p=e.title),p}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),l=t.origin,u=r();return{description:a,url:l,icons:u,name:s}}hv.getWindowMetadata=Uoe});var IF=_e(Nn=>{"use strict";c();d();f();var Boe=Cy(),joe=Ty(),SF=Py(),Voe=Oy(),zoe=e=>e==null,pE=Symbol("encodeFragmentIdentifier");function Hoe(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[cr(t,e),"[",o,"]"].join("")]:[...r,[cr(t,e),"[",cr(o,e),"]=",cr(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[cr(t,e),"[]"].join("")]:[...r,[cr(t,e),"[]=",cr(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[cr(t,e),":list="].join("")]:[...r,[cr(t,e),":list=",cr(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[cr(r,e),t,cr(o,e)].join("")]:[[n,cr(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,cr(t,e)]:[...r,[cr(t,e),"=",cr(n,e)].join("")]}}function Koe(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&Yi(n,e).includes(e.arrayFormatSeparator);n=s?Yi(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(l=>Yi(l,e)):n===null?n:Yi(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&Yi(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>Yi(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function CF(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function cr(e,t){return t.encode?t.strict?Boe(e):encodeURIComponent(e):e}function Yi(e,t){return t.decode?joe(e):e}function TF(e){return Array.isArray(e)?e.sort():typeof e=="object"?TF(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function PF(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function qoe(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function OF(e){e=PF(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function EF(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function DF(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),CF(t.arrayFormatSeparator);let r=Koe(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=SF(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Yi(s,t),r(Yi(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=EF(i[s],t);else n[o]=EF(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=TF(s):o[i]=s,o},Object.create(null))}Nn.extract=OF;Nn.parse=DF;Nn.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),CF(t.arrayFormatSeparator);let r=s=>t.skipNull&&zoe(e[s])||t.skipEmptyString&&e[s]==="",n=Hoe(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?cr(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?cr(s,t)+"[]":a.reduce(n(s),[]).join("&"):cr(s,t)+"="+cr(a,t)}).filter(s=>s.length>0).join("&")};Nn.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=SF(e,"#");return Object.assign({url:r.split("?")[0]||"",query:DF(OF(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:Yi(n,t)}:{})};Nn.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[pE]:!0},t);let r=PF(e.url).split("?")[0]||"",n=Nn.extract(e.url),o=Nn.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=Nn.stringify(i,t);s&&(s=`?${s}`);let a=qoe(e.url);return e.fragmentIdentifier&&(a=`#${t[pE]?cr(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};Nn.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[pE]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=Nn.parseUrl(e,r);return Nn.stringifyUrl({url:n,query:Voe(o,t),fragmentIdentifier:i},r)};Nn.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return Nn.pick(e,n,r)}});var s$=_e(vv=>{"use strict";c();d();f();Object.defineProperty(vv,"__esModule",{value:!0});vv.getWindowMetadata=void 0;var i$=ol();function gie(){let e,t;try{e=i$.getDocumentOrThrow(),t=i$.getLocationOrThrow()}catch(p){return null}function r(){let p=e.getElementsByTagName("link"),y=[];for(let w=0;w<p.length;w++){let v=p[w],S=v.getAttribute("rel");if(S&&S.toLowerCase().indexOf("icon")>-1){let I=v.getAttribute("href");if(I)if(I.toLowerCase().indexOf("https:")===-1&&I.toLowerCase().indexOf("http:")===-1&&I.indexOf("//")!==0){let T=t.protocol+"//"+t.host;if(I.indexOf("/")===0)T+=I;else{let O=t.pathname.split("/");O.pop(),T+=O.join("/")+"/"+I}y.push(T)}else if(I.indexOf("//")===0){let T=t.protocol+I;y.push(T)}else y.push(I)}}return y}function n(...p){let y=e.getElementsByTagName("meta");for(let w=0;w<y.length;w++){let v=y[w],S=["itemprop","property","name"].map(I=>v.getAttribute(I)).filter(I=>I?p.includes(I):!1);if(S.length&&S){let I=v.getAttribute("content");if(I)return I}}return""}function o(){let p=n("name","og:site_name","og:title","twitter:title");return p||(p=e.title),p}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),l=t.origin,u=r();return{description:a,url:l,icons:u,name:s}}vv.getWindowMetadata=gie});var p$=_e(Ln=>{"use strict";c();d();f();var yie=Cy(),vie=Ty(),l$=Py(),wie=Oy(),bie=e=>e==null,DE=Symbol("encodeFragmentIdentifier");function _ie(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[fr(t,e),"[",o,"]"].join("")]:[...r,[fr(t,e),"[",fr(o,e),"]=",fr(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[fr(t,e),"[]"].join("")]:[...r,[fr(t,e),"[]=",fr(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[fr(t,e),":list="].join("")]:[...r,[fr(t,e),":list=",fr(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[fr(r,e),t,fr(o,e)].join("")]:[[n,fr(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,fr(t,e)]:[...r,[fr(t,e),"=",fr(n,e)].join("")]}}function xie(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&Xi(n,e).includes(e.arrayFormatSeparator);n=s?Xi(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(l=>Xi(l,e)):n===null?n:Xi(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&Xi(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>Xi(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function u$(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function fr(e,t){return t.encode?t.strict?yie(e):encodeURIComponent(e):e}function Xi(e,t){return t.decode?vie(e):e}function c$(e){return Array.isArray(e)?e.sort():typeof e=="object"?c$(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function f$(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function Eie(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function d$(e){e=f$(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function a$(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function h$(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),u$(t.arrayFormatSeparator);let r=xie(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=l$(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Xi(s,t),r(Xi(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=a$(i[s],t);else n[o]=a$(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=c$(s):o[i]=s,o},Object.create(null))}Ln.extract=d$;Ln.parse=h$;Ln.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),u$(t.arrayFormatSeparator);let r=s=>t.skipNull&&bie(e[s])||t.skipEmptyString&&e[s]==="",n=_ie(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?fr(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?fr(s,t)+"[]":a.reduce(n(s),[]).join("&"):fr(s,t)+"="+fr(a,t)}).filter(s=>s.length>0).join("&")};Ln.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=l$(e,"#");return Object.assign({url:r.split("?")[0]||"",query:h$(d$(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:Xi(n,t)}:{})};Ln.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[DE]:!0},t);let r=f$(e.url).split("?")[0]||"",n=Ln.extract(e.url),o=Ln.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=Ln.stringify(i,t);s&&(s=`?${s}`);let a=Eie(e.url);return e.fragmentIdentifier&&(a=`#${t[DE]?fr(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};Ln.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[DE]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=Ln.parseUrl(e,r);return Ln.stringifyUrl({url:n,query:wie(o,t),fragmentIdentifier:i},r)};Ln.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return Ln.pick(e,n,r)}});var QE=_e(JE=>{"use strict";c();d();f();Object.defineProperty(JE,"__esModule",{value:!0});JE.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","930","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"\xC5land Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["7","29"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","289","306","343","365","367","403","416","418","431","437","438","450","506","514","519","548","579","581","587","600","604","613","639","647","672","705","709","778","780","782","807","819","825","867","873","902","905"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"C\xF4te D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"5999",country_name:"Cura\xE7ao",mobile_begin_with:["5","6"],phone_number_lengths:[7]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"R\xE9union",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77"],phone_number_lengths:[9]}]});var mU=_e($n=>{"use strict";c();d();f();var Rse=$n&&$n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($n,"__esModule",{value:!0});$n.validatePhoneISO3166=$n.findCountryPhoneDataByPhoneNumber=$n.findPossibleCountryPhoneData=$n.findExactCountryPhoneData=$n.findCountryPhoneDataByCountry=void 0;var Ah=Rse(QE());function Nse(e){return e?e.length===2?Ah.default.find(t=>e.toUpperCase()===t.alpha2)||null:e.length===3?Ah.default.find(t=>e.toUpperCase()===t.alpha3)||null:Ah.default.find(t=>e.toUpperCase()===t.country_name.toUpperCase())||null:Ah.default.find(t=>t.alpha3==="USA")||null}$n.findCountryPhoneDataByCountry=Nse;function hU(e,t,r){return r.phone_number_lengths.some(o=>r.country_code.length+o===e.length)&&(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+o))))?r:null}$n.findExactCountryPhoneData=hU;function pU(e,t,r){if(!r.phone_number_lengths.some(o=>r.country_code.length+o+1===e.length))return null;if(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+"\\d?"+o))))return r}$n.findPossibleCountryPhoneData=pU;function kse(e,t){let r,n;for(let o of Ah.default)!e.match(new RegExp("^"+o.country_code))||(r||(r=hU(e,t,o)),n||(n=pU(e,t,o)));return{exactCountryPhoneData:r,possibleCountryPhoneData:n}}$n.findCountryPhoneDataByPhoneNumber=kse;function Lse(e,t,r,n){if(!t.phone_number_lengths)return!1;let o=e.replace(new RegExp("^"+t.country_code),"");if(n&&t&&o.length===e.length)return!1;let i=t.phone_number_lengths,s=t.mobile_begin_with,a=i.some(u=>o.length===u),l=s.length?s.some(u=>o.match(new RegExp("^"+u))):!0;return a&&(!r||l)}$n.validatePhoneISO3166=Lse});var yU=_e(Ji=>{"use strict";c();d();f();var Fse=Ji&&Ji.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ji,"__esModule",{value:!0});Ji.countryPhoneData=Ji.phone=void 0;var $se=Fse(QE());Ji.countryPhoneData=$se.default;var Mh=mU();function gU(e,{country:t="",validateMobilePrefix:r=!0,strictDetection:n=!1}={}){let o={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null},i=typeof e!="string"?"":e.trim(),s=typeof t!="string"?"":t.trim(),a=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let l=(0,Mh.findCountryPhoneDataByCountry)(s);if(!l)return o;let u=!1;if(s)["CIV","COG"].includes(l.alpha3)||(i=i.replace(/^0+/,"")),l.alpha3==="RUS"&&i.length===11&&i.match(/^89/)!==null&&(i=i.replace(/^8+/,"")),!a&&l.phone_number_lengths.includes(i.length)&&(i=`${l.country_code}${i}`);else if(a){let{exactCountryPhoneData:p,possibleCountryPhoneData:y}=(0,Mh.findCountryPhoneDataByPhoneNumber)(i,r);p?l=p:y&&!n?(l=y,i=l.country_code+i.replace(new RegExp(`^${l.country_code}\\d`),"")):l=null}else l.phone_number_lengths.indexOf(i.length)!==-1&&(i=`1${i}`,u=!0);if(!l)return o;let h=(0,Mh.validatePhoneISO3166)(i,l,r,a);return h?{isValid:!0,phoneNumber:`+${i}`,countryIso2:l.alpha2,countryIso3:l.alpha3,countryCode:`+${l.country_code}`}:u&&(l=(0,Mh.findCountryPhoneDataByCountry)("CAN"),h=(0,Mh.validatePhoneISO3166)(i,l,r,a),h)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:l.alpha2,countryIso3:l.alpha3,countryCode:`+${l.country_code}`}:o}Ji.default=gU;Ji.phone=gU});var xU=_e((K5e,_U)=>{"use strict";c();d();f();var bl=[["Afghanistan (\u202B\u0627\u0641\u063A\u0627\u0646\u0633\u062A\u0627\u0646\u202C\u200E)","af","93","+..-..-...-...."],["\xC5land Islands","ax","358",""],["Albania (Shqip\xEBri)","al","355","+...(...)...-..."],["Algeria (\u202B\u0627\u0644\u062C\u0632\u0627\u0626\u0631\u202C\u200E)","dz","213","+...-..-...-...."],["American Samoa","as","1684","+.(...)...-...."],["Andorra","ad","376","+...-...-..."],["Angola","ao","244","+...(...)...-..."],["Anguilla","ai","1264","+.(...)...-...."],["Antarctica","aq","672",""],["Antigua and Barbuda","ag","1268","+.(...)...-...."],["Argentina","ar","54","+..(...)...-...."],["Armenia (\u0540\u0561\u0575\u0561\u057D\u057F\u0561\u0576)","am","374","+...-..-...-..."],["Aruba","aw","297","+...-...-...."],["Australia","au","61","+.. ... ... ..."],["Austria (\xD6sterreich)","at","43","+..(...)...-...."],["Azerbaijan (Az\u0259rbaycan)","az","994","+...-..-...-..-.."],["Bahamas","bs","1242","+.(...)...-...."],["Bahrain (\u202B\u0627\u0644\u0628\u062D\u0631\u064A\u0646\u202C\u200E)","bh","973","+...-....-...."],["Bangladesh (\u09AC\u09BE\u0982\u09B2\u09BE\u09A6\u09C7\u09B6)","bd","880","+...-..-...-..."],["Barbados","bb","1246","+.(...)...-...."],["Belarus (\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u044C)","by","375","+...(..)...-..-.."],["Belgium (Belgi\xEB)","be","32","+.. ... .. .. .."],["Belize","bz","501","+...-...-...."],["Benin (B\xE9nin)","bj","229","+...-..-..-...."],["Bermuda","bm","1441","+.(...)...-...."],["Bhutan (\u0F60\u0F56\u0FB2\u0F74\u0F42)","bt","975","+...-.-...-..."],["Bolivia","bo","591","+...-.-...-...."],["Bosnia and Herzegovina (\u0411\u043E\u0441\u043D\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043E\u0432\u0438\u043D\u0430)","ba","387","+...-..-...."],["Botswana","bw","267","+...-..-...-..."],["Bouvet Island","bv","47",""],["Brazil (Brasil)","br","55","+..-..-....-...."],["British Indian Ocean Territory","io","246","+...-...-...."],["British Virgin Islands","vg","1284","+.(...)...-...."],["Brunei","bn","673","+...-...-...."],["Bulgaria (\u0411\u044A\u043B\u0433\u0430\u0440\u0438\u044F)","bg","359","+...(...)...-..."],["Burkina Faso","bf","226","+...-..-..-...."],["Burundi (Uburundi)","bi","257","+...-..-..-...."],["Cambodia (\u1780\u1798\u17D2\u1796\u17BB\u1787\u17B6)","kh","855","+...-..-...-..."],["Cameroon (Cameroun)","cm","237","+...-....-...."],["Canada","ca","1","+. (...) ...-....",1,["204","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238","+...(...)..-.."],["Caribbean Netherlands","bq","599","+...-...-....",1],["Cayman Islands","ky","1345","+.(...)...-...."],["Central African Republic (R\xE9publique centrafricaine)","cf","236","+...-..-..-...."],["Chad (Tchad)","td","235","+...-..-..-..-.."],["Chile","cl","56","+..-.-....-...."],["China (\u4E2D\u56FD)","cn","86","+.. ..-........"],["Christmas Island","cx","61",""],["Cocos (Keeling) Islands","cc","61",""],["Colombia","co","57","+..(...)...-...."],["Comoros (\u202B\u062C\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202C\u200E)","km","269","+...-..-....."],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243","+...(...)...-..."],["Congo (Republic) (Congo-Brazzaville)","cg","242","+...-..-...-...."],["Cook Islands","ck","682","+...-..-..."],["Costa Rica","cr","506","+... ....-...."],["C\xF4te d\u2019Ivoire","ci","225","+...-..-...-..."],["Croatia (Hrvatska)","hr","385","+...-..-...-..."],["Cuba","cu","53","+..-.-...-...."],["Cura\xE7ao","cw","599","+...-...-....",0],["Cyprus (\u039A\u03CD\u03C0\u03C1\u03BF\u03C2)","cy","357","+...-..-...-..."],["Czech Republic (\u010Cesk\xE1 republika)","cz","420","+...(...)...-..."],["Denmark (Danmark)","dk","45","+.. .. .. .. .."],["Djibouti","dj","253","+...-..-..-..-.."],["Dominica","dm","1767","+.(...)...-...."],["Dominican Republic (Rep\xFAblica Dominicana)","do","1","+.(...)...-....",2,["809","829","849"]],["Ecuador","ec","593","+...-.-...-...."],["Egypt (\u202B\u0645\u0635\u0631\u202C\u200E)","eg","20","+..(...)...-...."],["El Salvador","sv","503","+... ....-...."],["Equatorial Guinea (Guinea Ecuatorial)","gq","240","+...-..-...-...."],["Eritrea","er","291","+...-.-...-..."],["Estonia (Eesti)","ee","372","+...-...-...."],["Ethiopia","et","251","+...-..-...-...."],["Falkland Islands (Islas Malvinas)","fk","500","+...-....."],["Faroe Islands (F\xF8royar)","fo","298","+...-...-..."],["Fiji","fj","679","+...-..-....."],["Finland (Suomi)","fi","358","+... .. .... ...."],["France","fr","33","+.. . .. .. .. .."],["French Guiana (Guyane fran\xE7aise)","gf","594","+...-.....-...."],["French Polynesia (Polyn\xE9sie fran\xE7aise)","pf","689","+...-..-..-.."],["French Southern and Antarctic Lands","tf","262",""],["Gabon","ga","241","+...-.-..-..-.."],["Gambia","gm","220","+...(...)..-.."],["Georgia (\u10E1\u10D0\u10E5\u10D0\u10E0\u10D7\u10D5\u10D4\u10DA\u10DD)","ge","995","+...(...)...-..."],["Germany (Deutschland)","de","49","+.. ... ......."],["Ghana (Gaana)","gh","233","+...(...)...-..."],["Gibraltar","gi","350","+...-...-....."],["Greece (\u0395\u03BB\u03BB\u03AC\u03B4\u03B1)","gr","30","+..(...)...-...."],["Greenland (Kalaallit Nunaat)","gl","299","+...-..-..-.."],["Grenada","gd","1473","+.(...)...-...."],["Guadeloupe","gp","590","",0],["Guam","gu","1671","+.(...)...-...."],["Guatemala","gt","502","+... ....-...."],["Guernsey","gg","44",""],["Guinea (Guin\xE9e)","gn","224","+...-..-...-..."],["Guinea-Bissau (Guin\xE9 Bissau)","gw","245","+...-.-......"],["Guyana","gy","592","+...-...-...."],["Haiti","ht","509","+... ....-...."],["Heard Island and McDonald Islands","hm","672",""],["Honduras","hn","504","+...-....-...."],["Hong Kong (\u9999\u6E2F)","hk","852","+... .... ...."],["Hungary (Magyarorsz\xE1g)","hu","36","+..(...)...-..."],["Iceland (\xCDsland)","is","354","+... ... ...."],["India (\u092D\u093E\u0930\u0924)","in","91","+.. .....-....."],["Indonesia","id","62","+..-..-...-.."],["Iran (\u202B\u0627\u06CC\u0631\u0627\u0646\u202C\u200E)","ir","98","+..(...)...-...."],["Iraq (\u202B\u0627\u0644\u0639\u0631\u0627\u0642\u202C\u200E)","iq","964","+...(...)...-...."],["Ireland","ie","353","+... .. ......."],["Isle of Man","im","44",""],["Israel (\u202B\u05D9\u05E9\u05E8\u05D0\u05DC\u202C\u200E)","il","972","+...-.-...-...."],["Italy (Italia)","it","39","+.. ... ......",0],["Jamaica","jm","1876","+.(...)...-...."],["Japan (\u65E5\u672C)","jp","81","+.. ... .. ...."],["Jersey","je","44",""],["Jordan (\u202B\u0627\u0644\u0623\u0631\u062F\u0646\u202C\u200E)","jo","962","+...-.-....-...."],["Kazakhstan (\u041A\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043D)","kz","7","+. ... ...-..-..",1],["Kenya","ke","254","+...-...-......"],["Kiribati","ki","686","+...-..-..."],["Kosovo","xk","383",""],["Kuwait (\u202B\u0627\u0644\u0643\u0648\u064A\u062A\u202C\u200E)","kw","965","+...-....-...."],["Kyrgyzstan (\u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D)","kg","996","+...(...)...-..."],["Laos (\u0EA5\u0EB2\u0EA7)","la","856","+...-..-...-..."],["Latvia (Latvija)","lv","371","+...-..-...-..."],["Lebanon (\u202B\u0644\u0628\u0646\u0627\u0646\u202C\u200E)","lb","961","+...-.-...-..."],["Lesotho","ls","266","+...-.-...-...."],["Liberia","lr","231","+...-..-...-..."],["Libya (\u202B\u0644\u064A\u0628\u064A\u0627\u202C\u200E)","ly","218","+...-..-...-..."],["Liechtenstein","li","423","+...(...)...-...."],["Lithuania (Lietuva)","lt","370","+...(...)..-..."],["Luxembourg","lu","352","+...(...)...-..."],["Macau (\u6FB3\u9580)","mo","853","+...-....-...."],["Macedonia (FYROM) (\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0438\u0458\u0430)","mk","389","+...-..-...-..."],["Madagascar (Madagasikara)","mg","261","+...-..-..-....."],["Malawi","mw","265","+...-.-....-...."],["Malaysia","my","60","+.. ..-....-...."],["Maldives","mv","960","+...-...-...."],["Mali","ml","223","+...-..-..-...."],["Malta","mt","356","+...-....-...."],["Marshall Islands","mh","692","+...-...-...."],["Martinique","mq","596","+...(...)..-..-.."],["Mauritania (\u202B\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627\u202C\u200E)","mr","222","+...-..-..-...."],["Mauritius (Moris)","mu","230","+...-...-...."],["Mayotte","yt","262",""],["Mexico (M\xE9xico)","mx","52","+..-..-..-...."],["Micronesia","fm","691","+...-...-...."],["Moldova (Republica Moldova)","md","373","+...-....-...."],["Monaco","mc","377","+...-..-...-..."],["Mongolia (\u041C\u043E\u043D\u0433\u043E\u043B)","mn","976","+...-..-..-...."],["Montenegro (Crna Gora)","me","382","+...-..-...-..."],["Montserrat","ms","1664","+.(...)...-...."],["Morocco (\u202B\u0627\u0644\u0645\u063A\u0631\u0628\u202C\u200E)","ma","212","+...-..-....-..."],["Mozambique (Mo\xE7ambique)","mz","258","+...-..-...-..."],["Myanmar (Burma) (\u1019\u103C\u1014\u103A\u1019\u102C)","mm","95","+..-...-..."],["Namibia (Namibi\xEB)","na","264","+...-..-...-...."],["Nauru","nr","674","+...-...-...."],["Nepal (\u0928\u0947\u092A\u093E\u0932)","np","977","+...-..-...-..."],["Netherlands (Nederland)","nl","31","+.. .. ........"],["New Caledonia (Nouvelle-Cal\xE9donie)","nc","687","+...-..-...."],["New Zealand","nz","64","+.. ...-...-...."],["Nicaragua","ni","505","+...-....-...."],["Niger (Nijar)","ne","227","+...-..-..-...."],["Nigeria","ng","234","+...-..-...-.."],["Niue","nu","683","+...-...."],["Norfolk Island","nf","672","+...-...-..."],["North Korea (\uC870\uC120 \uBBFC\uC8FC\uC8FC\uC758 \uC778\uBBFC \uACF5\uD654\uAD6D)","kp","850","+...-...-..."],["Northern Mariana Islands","mp","1670","+.(...)...-...."],["Norway (Norge)","no","47","+.. ... .. ..."],["Oman (\u202B\u0639\u064F\u0645\u0627\u0646\u202C\u200E)","om","968","+...-..-...-..."],["Pakistan (\u202B\u067E\u0627\u06A9\u0633\u062A\u0627\u0646\u202C\u200E)","pk","92","+.. ...-......."],["Palau","pw","680","+...-...-...."],["Palestine (\u202B\u0641\u0644\u0633\u0637\u064A\u0646\u202C\u200E)","ps","970","+...-..-...-...."],["Panama (Panam\xE1)","pa","507","+...-...-...."],["Papua New Guinea","pg","675","+...(...)..-..."],["Paraguay","py","595","+...(...)...-..."],["Peru (Per\xFA)","pe","51","+..(...)...-..."],["Philippines","ph","63","+.. ... ...."],["Pitcairn Islands","pn","64",""],["Poland (Polska)","pl","48","+.. ...-...-..."],["Portugal","pt","351","+...-..-...-...."],["Puerto Rico","pr","1","+. (...) ...-....",3,["787","939"]],["Qatar (\u202B\u0642\u0637\u0631\u202C\u200E)","qa","974","+...-....-...."],["R\xE9union (La R\xE9union)","re","262","+...-.....-...."],["Romania (Rom\xE2nia)","ro","40","+..-..-...-...."],["Russia (\u0420\u043E\u0441\u0441\u0438\u044F)","ru","7","+. ... ...-..-..",0],["Rwanda","rw","250","+...(...)...-..."],["Saint Barth\xE9lemy (Saint-Barth\xE9lemy)","bl","590","",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869","+.(...)...-...."],["Saint Lucia","lc","1758","+.(...)...-...."],["Saint Martin (Saint-Martin (partie fran\xE7aise))","mf","590","",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784","+.(...)...-...."],["Samoa","ws","685","+...-..-...."],["San Marino","sm","378","+...-....-......"],["S\xE3o Tom\xE9 and Pr\xEDncipe (S\xE3o Tom\xE9 e Pr\xEDncipe)","st","239","+...-..-....."],["Saudi Arabia (\u202B\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629\u202C\u200E)","sa","966","+...-..-...-...."],["Senegal (S\xE9n\xE9gal)","sn","221","+...-..-...-...."],["Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)","rs","381","+...-..-...-...."],["Seychelles","sc","248","+...-.-...-..."],["Sierra Leone","sl","232","+...-..-......"],["Singapore","sg","65","+.. ....-...."],["Sint Maarten","sx","1721","+.(...)...-...."],["Slovakia (Slovensko)","sk","421","+...(...)...-..."],["Slovenia (Slovenija)","si","386","+...-..-...-..."],["Solomon Islands","sb","677","+...-....."],["Somalia (Soomaaliya)","so","252","+...-.-...-..."],["South Africa","za","27","+..-..-...-...."],["South Georgia and the South Sandwich Islands","gs","500",""],["South Korea (\uB300\uD55C\uBBFC\uAD6D)","kr","82","+..-..-...-...."],["South Sudan (\u202B\u062C\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","ss","211","+...-..-...-...."],["Spain (Espa\xF1a)","es","34","+.. ... ... ..."],["Sri Lanka (\u0DC1\u0DCA\u200D\u0DBB\u0DD3 \u0DBD\u0D82\u0D9A\u0DCF\u0DC0)","lk","94","+..-..-...-...."],["Sudan (\u202B\u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","sd","249","+...-..-...-...."],["Suriname","sr","597","+...-...-..."],["Svalbard and Jan Mayen","sj","47",""],["Swaziland","sz","268","+...-..-..-...."],["Sweden (Sverige)","se","46","+.. .. ... .. .."],["Switzerland (Schweiz)","ch","41","+.. .. ... .. .."],["Syria (\u202B\u0633\u0648\u0631\u064A\u0627\u202C\u200E)","sy","963","+...-..-....-..."],["Taiwan (\u53F0\u7063)","tw","886","+...-....-...."],["Tajikistan","tj","992","+...-..-...-...."],["Tanzania","tz","255","+...-..-...-...."],["Thailand (\u0E44\u0E17\u0E22)","th","66","+..-..-...-..."],["Timor-Leste","tl","670","+...-...-...."],["Togo","tg","228","+...-..-...-..."],["Tokelau","tk","690","+...-...."],["Tonga","to","676","+...-....."],["Trinidad and Tobago","tt","1868","+.(...)...-...."],["Tunisia (\u202B\u062A\u0648\u0646\u0633\u202C\u200E)","tn","216","+...-..-...-..."],["Turkey (T\xFCrkiye)","tr","90","+.. ... ... .. .."],["Turkmenistan","tm","993","+...-.-...-...."],["Turks and Caicos Islands","tc","1649","+.(...)...-...."],["Tuvalu","tv","688","+...-....."],["U.S. Virgin Islands","vi","1340","+.(...)...-...."],["Uganda","ug","256","+...(...)...-..."],["Ukraine (\u0423\u043A\u0440\u0430\u0457\u043D\u0430)","ua","380","+...(..)...-..-.."],["United Arab Emirates (\u202B\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062A \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0645\u062A\u062D\u062F\u0629\u202C\u200E)","ae","971","+...-.-...-...."],["United Kingdom","gb","44","+.. .... ......"],["United States","us","1","+. (...) ...-....",0],["United States Minor Outlying Islands","um","1","",2],["Uruguay","uy","598","+...-.-...-..-.."],["Uzbekistan (O\u02BBzbekiston)","uz","998","+...-..-...-...."],["Vanuatu","vu","678","+...-....."],["Vatican City (Citt\xE0 del Vaticano)","va","39","+.. .. .... ....",1],["Venezuela","ve","58","+..(...)...-...."],["Vietnam (Vi\u1EC7t Nam)","vn","84","+..-..-....-..."],["Wallis and Futuna","wf","681","+...-..-...."],["Western Sahara","eh","212","+...-..-...."],["Yemen (\u202B\u0627\u0644\u064A\u0645\u0646\u202C\u200E)","ye","967","+...-.-...-..."],["Zambia","zm","260","+...-..-...-...."],["Zimbabwe","zw","263","+...-.-......"]],Dv={},bU={},vU=function(e,t,r){t in Dv||(Dv[t]=[]);var n=r||0;Dv[t][n]=e};for(Qi=0;Qi<bl.length;Qi++){if(vn=bl[Qi],bl[Qi]={name:vn[0],iso2:vn[1],dialCode:vn[2],priority:vn[4]||0},vn[3]&&(bl[Qi].format=vn[3]),vn[5])for(bl[Qi].hasAreaCodes=!0,Ov=0;Ov<vn[5].length;Ov++)wU=vn[2]+vn[5][Ov],vU(vn[1],wU);bU[bl[Qi].iso2]=Qi,vU(vn[1],vn[2],vn[4])}var vn,wU,Ov,Qi;_U.exports={allCountries:bl,iso2Lookup:bU,allCountryCodes:Dv}});var ule={};Hr(ule,{init:()=>ile,open:()=>ale,reset:()=>lle,update:()=>sle});c();d();f();c();d();f();c();d();f();c();d();f();var t6=e=>{let t,r=new Set,n=(l,u)=>{let h=typeof l=="function"?l(t):l;if(!Object.is(h,t)){let p=t;t=(u!=null?u:typeof h!="object")?h:Object.assign({},t,h),r.forEach(y=>y(t,p))}},o=()=>t,a={setState:n,getState:o,subscribe:l=>(r.add(l),()=>r.delete(l)),destroy:()=>{(P&&P.MODE)!=="production"&&console.warn("[DEPRECATED] The destroy method will be unsupported in the future version. You should use unsubscribe function returned by subscribe. Everything will be garbage collected if store is garbage collected."),r.clear()}};return t=e(n,o,a),a},r6=e=>e?t6(e):t6;var d6=ue(we(),1),h6=ue(c6(),1),{useSyncExternalStoreWithSelector:Vj}=h6.default;function zj(e,t=e.getState,r){let n=Vj(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return(0,d6.useDebugValue)(n),n}var f6=e=>{(P&&P.MODE)!=="production"&&typeof e!="function"&&console.warn('[DEPRECATED] Passing a vanilla store will be unsupported in the future version. Please use `import { useStore } from "zustand"` to use the vanilla store in React.');let t=typeof e=="function"?r6(e):e,r=(n,o)=>zj(t,n,o);return Object.assign(r,t),r},ep=e=>e?f6(e):f6;c();d();f();var $6=ue(p6(),1);c();d();f();c();d();f();c();d();f();var A6=ue(y6());c();d();f();c();d();f();c();d();f();var v6="logger/5.7.0";var w6=!1,b6=!1,rp={debug:1,default:2,info:2,warning:3,error:4,off:5},_6=rp.default,x1=null;function Hj(){try{let e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}var x6=Hj(),E1;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(E1||(E1={}));var Oo;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(Oo||(Oo={}));var E6="0123456789abcdef",dt=class{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){let n=t.toLowerCase();rp[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),!(_6>rp[n])&&console.log.apply(console,r)}debug(...t){this._log(dt.levels.DEBUG,t)}info(...t){this._log(dt.levels.INFO,t)}warn(...t){this._log(dt.levels.WARNING,t)}makeError(t,r,n){if(b6)return this.makeError("censored error",r,{});r||(r=dt.errors.UNKNOWN_ERROR),n||(n={});let o=[];Object.keys(n).forEach(l=>{let u=n[l];try{if(u instanceof Uint8Array){let h="";for(let p=0;p<u.length;p++)h+=E6[u[p]>>4],h+=E6[u[p]&15];o.push(l+"=Uint8Array(0x"+h+")")}else o.push(l+"="+JSON.stringify(u))}catch(h){o.push(l+"="+JSON.stringify(n[l].toString()))}}),o.push(`code=${r}`),o.push(`version=${this.version}`);let i=t,s="";switch(r){case Oo.NUMERIC_FAULT:{s="NUMERIC_FAULT";let l=t;switch(l){case"overflow":case"underflow":case"division-by-zero":s+="-"+l;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result";break}break}case Oo.CALL_EXCEPTION:case Oo.INSUFFICIENT_FUNDS:case Oo.MISSING_NEW:case Oo.NONCE_EXPIRED:case Oo.REPLACEMENT_UNDERPRICED:case Oo.TRANSACTION_REPLACED:case Oo.UNPREDICTABLE_GAS_LIMIT:s=r;break}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),o.length&&(t+=" ("+o.join(", ")+")");let a=new Error(t);return a.reason=i,a.code=r,Object.keys(n).forEach(function(l){a[l]=n[l]}),a}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,dt.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,o){t||this.throwError(r,n,o)}assertArgument(t,r,n,o){t||this.throwArgumentError(r,n,o)}checkNormalize(t){t==null&&(t="platform missing String.prototype.normalize"),x6&&this.throwError("platform missing String.prototype.normalize",dt.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:x6})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",t<r&&this.throwError("missing argument"+n,dt.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,dt.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",dt.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return x1||(x1=new dt(v6)),x1}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),w6){if(!t)return;this.globalLogger().throwError("error censorship permanent",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}b6=!!t,w6=!!r}static setLogLevel(t){let r=rp[t.toLowerCase()];if(r==null){dt.globalLogger().warn("invalid log level - "+t);return}_6=r}static from(t){return new dt(t)}};dt.errors=Oo;dt.levels=E1;c();d();f();var S6="bytes/5.7.0";var ca=new dt(S6);function T6(e){return!!e.toHexString}function Cl(e){return e.slice||(e.slice=function(){let t=Array.prototype.slice.call(arguments);return Cl(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function P6(e){return Tl(e)&&!(e.length%2)||af(e)}function C6(e){return typeof e=="number"&&e==e&&e%1===0}function af(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!C6(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){let r=e[t];if(!C6(r)||r<0||r>=256)return!1}return!0}function Un(e,t){if(t||(t={}),typeof e=="number"){ca.checkSafeUint53(e,"invalid arrayify value");let r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),Cl(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),T6(e)&&(e=e.toHexString()),Tl(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":ca.throwArgumentError("hex data is odd-length","value",e));let n=[];for(let o=0;o<r.length;o+=2)n.push(parseInt(r.substring(o,o+2),16));return Cl(new Uint8Array(n))}return af(e)?Cl(new Uint8Array(e)):ca.throwArgumentError("invalid arrayify value","value",e)}function lf(e){let t=e.map(o=>Un(o)),r=t.reduce((o,i)=>o+i.length,0),n=new Uint8Array(r);return t.reduce((o,i)=>(n.set(i,o),o+i.length),0),Cl(n)}function np(e,t){e=Un(e),e.length>t&&ca.throwArgumentError("value out of range","value",arguments[0]);let r=new Uint8Array(t);return r.set(e,t-e.length),Cl(r)}function Tl(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}var S1="0123456789abcdef";function Pl(e,t){if(t||(t={}),typeof e=="number"){ca.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=S1[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),T6(e))return e.toHexString();if(Tl(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":ca.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(af(e)){let r="0x";for(let n=0;n<e.length;n++){let o=e[n];r+=S1[(o&240)>>4]+S1[o&15]}return r}return ca.throwArgumentError("invalid hexlify value","value",e)}c();d();f();var O6="bignumber/5.7.0";var T1=A6.default.BN,yi=new dt(O6),C1={},D6=9007199254740991;var I6=!1,Dr=class{constructor(t,r){t!==C1&&yi.throwError("cannot call constructor directly; use BigNumber.from",dt.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return xn(ht(this).fromTwos(t))}toTwos(t){return xn(ht(this).toTwos(t))}abs(){return this._hex[0]==="-"?Dr.from(this._hex.substring(1)):this}add(t){return xn(ht(this).add(ht(t)))}sub(t){return xn(ht(this).sub(ht(t)))}div(t){return Dr.from(t).isZero()&&so("division-by-zero","div"),xn(ht(this).div(ht(t)))}mul(t){return xn(ht(this).mul(ht(t)))}mod(t){let r=ht(t);return r.isNeg()&&so("division-by-zero","mod"),xn(ht(this).umod(r))}pow(t){let r=ht(t);return r.isNeg()&&so("negative-power","pow"),xn(ht(this).pow(r))}and(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&so("unbound-bitwise-result","and"),xn(ht(this).and(r))}or(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&so("unbound-bitwise-result","or"),xn(ht(this).or(r))}xor(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&so("unbound-bitwise-result","xor"),xn(ht(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&so("negative-width","mask"),xn(ht(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&so("negative-width","shl"),xn(ht(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&so("negative-width","shr"),xn(ht(this).shrn(t))}eq(t){return ht(this).eq(ht(t))}lt(t){return ht(this).lt(ht(t))}lte(t){return ht(this).lte(ht(t))}gt(t){return ht(this).gt(ht(t))}gte(t){return ht(this).gte(ht(t))}isNegative(){return this._hex[0]==="-"}isZero(){return ht(this).isZero()}toNumber(){try{return ht(this).toNumber()}catch(t){so("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return yi.throwError("this platform does not support BigInt",dt.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?I6||(I6=!0,yi.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?yi.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",dt.errors.UNEXPECTED_ARGUMENT,{}):yi.throwError("BigNumber.toString does not accept parameters",dt.errors.UNEXPECTED_ARGUMENT,{})),ht(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof Dr)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new Dr(C1,uf(t)):t.match(/^-?[0-9]+$/)?new Dr(C1,uf(new T1(t))):yi.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&so("underflow","BigNumber.from",t),(t>=D6||t<=-D6)&&so("overflow","BigNumber.from",t),Dr.from(String(t));let r=t;if(typeof r=="bigint")return Dr.from(r.toString());if(af(r))return Dr.from(Pl(r));if(r)if(r.toHexString){let n=r.toHexString();if(typeof n=="string")return Dr.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(Tl(n)||n[0]==="-"&&Tl(n.substring(1))))return Dr.from(n)}return yi.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}};function uf(e){if(typeof e!="string")return uf(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&yi.throwArgumentError("invalid hex","value",e),e=uf(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function xn(e){return Dr.from(uf(e))}function ht(e){let t=Dr.from(e).toHexString();return t[0]==="-"?new T1("-"+t.substring(3),16):new T1(t.substring(2),16)}function so(e,t,r){let n={fault:e,operation:t};return r!=null&&(n.value=r),yi.throwError(e,dt.errors.NUMERIC_FAULT,n)}c();d();f();c();d();f();c();d();f();var M6="strings/5.7.0";var R6=new dt(M6),cf;(function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"})(cf||(cf={}));var fa;(function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"})(fa||(fa={}));function Kj(e,t,r,n,o){return R6.throwArgumentError(`invalid codepoint at offset ${t}; ${e}`,"bytes",r)}function N6(e,t,r,n,o){if(e===fa.BAD_PREFIX||e===fa.UNEXPECTED_CONTINUE){let i=0;for(let s=t+1;s<r.length&&r[s]>>6===2;s++)i++;return i}return e===fa.OVERRUN?r.length-t-1:0}function qj(e,t,r,n,o){return e===fa.OVERLONG?(n.push(o),0):(n.push(65533),N6(e,t,r,n,o))}var Gj=Object.freeze({error:Kj,ignore:N6,replace:qj});function P1(e,t=cf.current){t!=cf.current&&(R6.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o<128)r.push(o);else if(o<2048)r.push(o>>6|192),r.push(o&63|128);else if((o&64512)==55296){n++;let i=e.charCodeAt(n);if(n>=e.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");let s=65536+((o&1023)<<10)+(i&1023);r.push(s>>18|240),r.push(s>>12&63|128),r.push(s>>6&63|128),r.push(s&63|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128)}return Un(r)}c();d();f();var k6="solidity/5.7.0";var Wj=new RegExp("^bytes([0-9]+)$"),Yj=new RegExp("^(u?int)([0-9]*)$"),Xj=new RegExp("^(.*)\\[([0-9]*)\\]$"),Zj="0000000000000000000000000000000000000000000000000000000000000000",Ol=new dt(k6);function L6(e,t,r){switch(e){case"address":return r?np(t,32):Un(t);case"string":return P1(t);case"bytes":return Un(t);case"bool":return t=t?"0x01":"0x00",r?np(t,32):Un(t)}let n=e.match(Yj);if(n){let o=parseInt(n[2]||"256");return(n[2]&&String(o)!==n[2]||o%8!==0||o===0||o>256)&&Ol.throwArgumentError("invalid number type","type",e),r&&(o=256),t=Dr.from(t).toTwos(o),np(t,o/8)}if(n=e.match(Wj),n){let o=parseInt(n[1]);return(String(o)!==n[1]||o===0||o>32)&&Ol.throwArgumentError("invalid bytes type","type",e),Un(t).byteLength!==o&&Ol.throwArgumentError(`invalid value for ${e}`,"value",t),r?Un((t+Zj).substring(0,66)):t}if(n=e.match(Xj),n&&Array.isArray(t)){let o=n[1];parseInt(n[2]||String(t.length))!=t.length&&Ol.throwArgumentError(`invalid array length for ${e}`,"value",t);let s=[];return t.forEach(function(a){s.push(L6(o,a,!0))}),lf(s)}return Ol.throwArgumentError("invalid type","type",e)}function F6(e,t){e.length!=t.length&&Ol.throwArgumentError("wrong number of values; expected ${ types.length }","values",t);let r=[];return e.forEach(function(n,o){r.push(L6(n,t[o]))}),Pl(lf(r))}function ff(e){return Array.isArray(e)?Jj(e):P6(e)?O1(e):Qj(e)}function Jj(e){let[t,r]=e.reduce(([n,o],[i,s])=>(n.push(i),o.push(s),[n,o]),[[],[]]);return O1(F6(t,r))}function Qj(e){let t=_.from(e);return O1(t)}function O1(e){let t=BigInt(eV(e))>>BigInt(8),r=t.toString(16);return{hash:t,digest:`0x${r.padStart(64,"0")}`}}function eV(e){let t=Pl(lf([Un(e)]));return"0x"+$6.default.keccak_256(Un(t))}var U6=e=>{let t=/^0x[\dabcdef]+$/;return!!e.toString().match(t)&&e.length>=66};c();d();f();var D1=(o=>(o.MAX_ATTEMPTS="max_attempts",o.TIMEOUT="timeout",o.UNSUPPORTED_COUNTRY="unsupported_country",o.SERVER_ERROR="server_error",o))(D1||{});c();d();f();c();d();f();var A1=function(e,t){return A1=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},A1(e,t)};function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");A1(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var yt=function(){return yt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},yt.apply(this,arguments)};function da(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(h){try{u(n.next(h))}catch(p){s(p)}}function l(h){try{u(n.throw(h))}catch(p){s(p)}}function u(h){h.done?i(h.value):o(h.value).then(a,l)}u((n=n.apply(e,t||[])).next())})}function ha(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(h){u=[6,h],o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function rV(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var tt;(function(e){e.AnonymousId="anonymous_id",e.DistinctId="distinct_id",e.Props="props",e.FeatureFlags="feature_flags",e.OverrideFeatureFlags="override_feature_flags",e.Queue="queue",e.OptedOut="opted_out",e.SessionId="session_id",e.SessionLastTimestamp="session_timestamp",e.PersonProperties="person_properties",e.GroupProperties="group_properties"})(tt||(tt={}));function nV(e,t){if(!e)throw new Error(t)}function oV(e){return e==null?void 0:e.replace(/\/+$/,"")}function iV(e,t){return t===void 0&&(t={}),da(this,void 0,void 0,function(){var r,n,o,i,s,a,l,u,h,p;return ha(this,function(y){switch(y.label){case 0:r=t.retryCount,n=r===void 0?3:r,o=t.retryDelay,i=o===void 0?5e3:o,s=t.retryCheck,a=s===void 0?function(){return!0}:s,l=null,u=0,y.label=1;case 1:if(!(u<n+1))return[3,8];y.label=2;case 2:return y.trys.push([2,4,,5]),[4,e()];case 3:return h=y.sent(),[2,h];case 4:if(p=y.sent(),l=p,!a(p))throw p;return[3,5];case 5:return[4,new Promise(function(w){return setTimeout(w,i)})];case 6:y.sent(),y.label=7;case 7:return u++,[3,1];case 8:throw l}})})}function B6(e){var t=new Date().getTime(),r=e&&e.performance&&e.performance.now&&e.performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var o=Math.random()*16;return t>0?(o=(t+o)%16|0,t=Math.floor(t/16)):(o=(r+o)%16|0,r=Math.floor(r/16)),(n==="x"?o:o&3|8).toString(16)})}function q6(){return new Date().getTime()}function j6(){return new Date().toISOString()}function V6(e,t){var r=setTimeout(e,t);return r!=null&&r.unref&&(r==null||r.unref()),r}var df=String.fromCharCode,z6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",op={};function sV(e,t){if(!op[e]){op[e]={};for(var r=0;r<e.length;r++)op[e][e.charAt(r)]=r}return op[e][t]}var mf={compressToBase64:function(e){if(e==null)return"";var t=mf._compress(e,6,function(r){return z6.charAt(r)});switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(e){return e==null?"":e==""?null:mf._decompress(e.length,32,function(t){return sV(z6,e.charAt(t))})},compress:function(e){return mf._compress(e,16,function(t){return df(t)})},_compress:function(e,t,r){if(e==null)return"";var n={},o={},i=[],s,a,l="",u="",h="",p=2,y=3,w=2,v=0,S=0,I;for(I=0;I<e.length;I+=1)if(l=e.charAt(I),Object.prototype.hasOwnProperty.call(n,l)||(n[l]=y++,o[l]=!0),u=h+l,Object.prototype.hasOwnProperty.call(n,u))h=u;else{if(Object.prototype.hasOwnProperty.call(o,h)){if(h.charCodeAt(0)<256){for(s=0;s<w;s++)v=v<<1,S==t-1?(S=0,i.push(r(v)),v=0):S++;for(a=h.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}else{for(a=1,s=0;s<w;s++)v=v<<1|a,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=0;for(a=h.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}p--,p==0&&(p=Math.pow(2,w),w++),delete o[h]}else for(a=n[h],s=0;s<w;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1;p--,p==0&&(p=Math.pow(2,w),w++),n[u]=y++,h=String(l)}if(h!==""){if(Object.prototype.hasOwnProperty.call(o,h)){if(h.charCodeAt(0)<256){for(s=0;s<w;s++)v=v<<1,S==t-1?(S=0,i.push(r(v)),v=0):S++;for(a=h.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}else{for(a=1,s=0;s<w;s++)v=v<<1|a,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=0;for(a=h.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1}p--,p==0&&(p=Math.pow(2,w),w++),delete o[h]}else for(a=n[h],s=0;s<w;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1;p--,p==0&&(p=Math.pow(2,w),w++)}for(a=2,s=0;s<w;s++)v=v<<1|a&1,S==t-1?(S=0,i.push(r(v)),v=0):S++,a=a>>1;for(;;)if(v=v<<1,S==t-1){i.push(r(v));break}else S++;return i.join("")},decompress:function(e){return e==null?"":e==""?null:mf._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(e,t,r){var n=[],o=[],i={val:r(0),position:t,index:1},s=4,a=4,l=3,u="",h,p,y,w,v,S,I;for(h=0;h<3;h+=1)n[h]=h;for(y=0,v=Math.pow(2,2),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;switch(y){case 0:for(y=0,v=Math.pow(2,8),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;I=df(y);break;case 1:for(y=0,v=Math.pow(2,16),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;I=df(y);break;case 2:return""}for(n[3]=I,p=I,o.push(I);;){if(i.index>e)return"";for(y=0,v=Math.pow(2,l),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;switch(I=y){case 0:for(y=0,v=Math.pow(2,8),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;n[a++]=df(y),I=a-1,s--;break;case 1:for(y=0,v=Math.pow(2,16),S=1;S!=v;)w=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(w>0?1:0)*S,S<<=1;n[a++]=df(y),I=a-1,s--;break;case 2:return o.join("")}if(s==0&&(s=Math.pow(2,l),l++),n[I])u=n[I];else if(I===a)u=p+p.charAt(0);else return null;o.push(u),n[a++]=p+u.charAt(0),s--,p=u,s==0&&(s=Math.pow(2,l),l++)}}},aV=function(){function e(){this.events={},this.events={}}return e.prototype.on=function(t,r){var n=this;return this.events[t]||(this.events[t]=[]),this.events[t].push(r),function(){n.events[t]=n.events[t].filter(function(o){return o!==r})}},e.prototype.emit=function(t,r){for(var n=0,o=this.events[t]||[];n<o.length;n++){var i=o[n];i(r)}for(var s=0,a=this.events["*"]||[];s<a.length;s++){var i=a[s];i(t,r)}},e}(),lV=function(){function e(t,r){var n=this,o,i,s,a,l,u;this.flagCallReported={},this._events=new aV,nV(t,"You must pass your PostHog project's api key."),this.apiKey=t,this.host=oV((r==null?void 0:r.host)||"https://app.posthog.com"),this.flushAt=r!=null&&r.flushAt?Math.max(r==null?void 0:r.flushAt,1):20,this.flushInterval=(o=r==null?void 0:r.flushInterval)!==null&&o!==void 0?o:1e4,this.captureMode=(r==null?void 0:r.captureMode)||"form",this.sendFeatureFlagEvent=(i=r==null?void 0:r.sendFeatureFlagEvent)!==null&&i!==void 0?i:!0,this._optoutOverride=(r==null?void 0:r.enable)===!1,this._retryOptions={retryCount:(s=r==null?void 0:r.fetchRetryCount)!==null&&s!==void 0?s:3,retryDelay:(a=r==null?void 0:r.fetchRetryDelay)!==null&&a!==void 0?a:3e3},this.requestTimeout=(l=r==null?void 0:r.requestTimeout)!==null&&l!==void 0?l:1e4,this._sessionExpirationTimeSeconds=(u=r==null?void 0:r.sessionExpirationTimeSeconds)!==null&&u!==void 0?u:1800,(r==null?void 0:r.preloadFeatureFlags)!==!1&&V6(function(){n.reloadFeatureFlagsAsync()},1)}return e.prototype.getCommonEventProperties=function(){var t=this.getFeatureFlags(),r={};if(t)for(var n=0,o=Object.entries(t);n<o.length;n++){var i=o[n],s=i[0],a=i[1];r["$feature/".concat(s)]=a}return yt({$lib:this.getLibraryId(),$lib_version:this.getLibraryVersion(),$active_feature_flags:t?Object.keys(t):void 0},r)},e.prototype.setupBootstrap=function(t){var r,n,o,i;if(!((r=t==null?void 0:t.bootstrap)===null||r===void 0)&&r.distinctId&&(!((n=t==null?void 0:t.bootstrap)===null||n===void 0)&&n.isIdentifiedId?this.setPersistedProperty(tt.DistinctId,t.bootstrap.distinctId):this.setPersistedProperty(tt.AnonymousId,t.bootstrap.distinctId)),!((o=t==null?void 0:t.bootstrap)===null||o===void 0)&&o.featureFlags){var s=Object.keys(((i=t.bootstrap)===null||i===void 0?void 0:i.featureFlags)||{}).filter(function(a){var l,u;return!!(!((u=(l=t.bootstrap)===null||l===void 0?void 0:l.featureFlags)===null||u===void 0)&&u[a])}).reduce(function(a,l){var u,h;return a[l]=((h=(u=t.bootstrap)===null||u===void 0?void 0:u.featureFlags)===null||h===void 0?void 0:h[l])||!1,a},{});this.setKnownFeatureFlags(s)}},Object.defineProperty(e.prototype,"props",{get:function(){return this._props||(this._props=this.getPersistedProperty(tt.Props)),this._props||{}},set:function(t){this._props=t},enumerable:!1,configurable:!0}),e.prototype.clearProps=function(){this.props=void 0},Object.defineProperty(e.prototype,"optedOut",{get:function(){var t,r;return(r=(t=this.getPersistedProperty(tt.OptedOut))!==null&&t!==void 0?t:this._optoutOverride)!==null&&r!==void 0?r:!1},enumerable:!1,configurable:!0}),e.prototype.optIn=function(){this.setPersistedProperty(tt.OptedOut,!1)},e.prototype.optOut=function(){this.setPersistedProperty(tt.OptedOut,!0)},e.prototype.on=function(t,r){return this._events.on(t,r)},e.prototype.reset=function(t){var r=rV([tt.Queue],t||[],!0);this.clearProps();for(var n=0,o=Object.keys(tt);n<o.length;n++){var i=o[n];r.includes(tt[i])||this.setPersistedProperty(tt[i],null)}},e.prototype.debug=function(t){var r;t===void 0&&(t=!0),(r=this.removeDebugCallback)===null||r===void 0||r.call(this),t&&(this.removeDebugCallback=this.on("*",function(n,o){return console.log("PostHog Debug",n,o)}))},e.prototype.buildPayload=function(t){return{distinct_id:t.distinct_id||this.getDistinctId(),event:t.event,properties:yt(yt(yt(yt({},this.props),t.properties||{}),this.getCommonEventProperties()),{$session_id:this.getSessionId()})}},e.prototype.getSessionId=function(){var t=this.getPersistedProperty(tt.SessionId),r=this.getPersistedProperty(tt.SessionLastTimestamp)||0;return(!t||Date.now()-r>this._sessionExpirationTimeSeconds*1e3)&&(t=B6(globalThis),this.setPersistedProperty(tt.SessionId,t)),this.setPersistedProperty(tt.SessionLastTimestamp,Date.now()),t},e.prototype.resetSessionId=function(){this.setPersistedProperty(tt.SessionId,null)},e.prototype.getAnonymousId=function(){var t=this.getPersistedProperty(tt.AnonymousId);return t||(t=B6(globalThis),this.setPersistedProperty(tt.AnonymousId,t)),t},e.prototype.getDistinctId=function(){return this.getPersistedProperty(tt.DistinctId)||this.getAnonymousId()},e.prototype.register=function(t){this.props=yt(yt({},this.props),t),this.setPersistedProperty(tt.Props,this.props)},e.prototype.unregister=function(t){delete this.props[t],this.setPersistedProperty(tt.Props,this.props)},e.prototype.identify=function(t,r){var n=this.getDistinctId();t=t||n,r!=null&&r.$groups&&this.groups(r.$groups);var o=yt(yt({},this.buildPayload({distinct_id:t,event:"$identify",properties:yt(yt({},r||{}),{$anon_distinct_id:this.getAnonymousId()})})),{$set:r});return t!==n&&(this.setPersistedProperty(tt.AnonymousId,n),this.setPersistedProperty(tt.DistinctId,t),this.getFeatureFlags()&&this.reloadFeatureFlagsAsync()),this.enqueue("identify",o),this},e.prototype.capture=function(t,r,n){if(n===void 0&&(n=!1),r!=null&&r.$groups&&this.groups(r.$groups),n)this._sendFeatureFlags(t,r);else{var o=this.buildPayload({event:t,properties:r});this.enqueue("capture",o)}return this},e.prototype.alias=function(t){var r=this.getDistinctId(),n=this.buildPayload({event:"$create_alias",properties:{distinct_id:r,alias:t}});return this.enqueue("alias",n),this},e.prototype.autocapture=function(t,r,n){n===void 0&&(n={});var o=this.buildPayload({event:"$autocapture",properties:yt(yt({},n),{$event_type:t,$elements:r})});return this.enqueue("autocapture",o),this},e.prototype.groups=function(t){var r=this.props.$groups||{};return this.register({$groups:yt(yt({},r),t)}),Object.keys(t).find(function(n){return r[n]!==t[n]})&&this.getFeatureFlags()&&this.reloadFeatureFlagsAsync(),this},e.prototype.group=function(t,r,n){var o;return this.groups((o={},o[t]=r,o)),n&&this.groupIdentify(t,r,n),this},e.prototype.groupIdentify=function(t,r,n){var o={event:"$groupidentify",distinctId:"$".concat(t,"_").concat(r),properties:yt({$group_type:t,$group_key:r,$group_set:n||{}},this.getCommonEventProperties())};return this.enqueue("capture",o),this},e.prototype.personProperties=function(t){var r=this.getPersistedProperty(tt.PersonProperties)||{};return this.setPersistedProperty(tt.PersonProperties,yt(yt({},r),t)),this},e.prototype.groupProperties=function(t){var r=this.getPersistedProperty(tt.GroupProperties)||{};return Object.keys(r).length!==0&&Object.keys(r).forEach(function(n){r[n]=yt(yt({},r[n]),t[n]),delete t[n]}),this.setPersistedProperty(tt.GroupProperties,yt(yt({},r),t)),this},e.prototype.decideAsync=function(t){return t===void 0&&(t=!0),this._decideResponsePromise?this._decideResponsePromise:this._decideAsync(t)},e.prototype._decideAsync=function(t){return t===void 0&&(t=!0),da(this,void 0,void 0,function(){var r,n,o,i,s,a,l=this;return ha(this,function(u){return r="".concat(this.host,"/decide/?v=2"),n=this.getDistinctId(),o=this.props.$groups||{},i=this.getPersistedProperty(tt.PersonProperties)||{},s=this.getPersistedProperty(tt.GroupProperties)||{},a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:this.apiKey,distinct_id:n,$anon_distinct_id:t?this.getAnonymousId():void 0,groups:o,person_properties:i,group_properties:s})},this._decideResponsePromise=this.fetchWithRetry(r,a).then(function(h){return h.json()}).then(function(h){return h.featureFlags&&l.setKnownFeatureFlags(h.featureFlags),h}).finally(function(){l._decideResponsePromise=void 0}),[2,this._decideResponsePromise]})})},e.prototype.setKnownFeatureFlags=function(t){this.setPersistedProperty(tt.FeatureFlags,t),this._events.emit("featureflags",t)},e.prototype.getFeatureFlag=function(t){var r=this.getFeatureFlags();if(!!r){var n=r[t];return n===void 0&&(n=!1),this.sendFeatureFlagEvent&&!this.flagCallReported[t]&&(this.flagCallReported[t]=!0,this.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:n})),n}},e.prototype.getFeatureFlags=function(){var t=this.getPersistedProperty(tt.FeatureFlags),r=this.getPersistedProperty(tt.OverrideFeatureFlags);if(!r)return t;t=t||{};for(var n in r)r[n]?t[n]=r[n]:delete t[n];return t},e.prototype.isFeatureEnabled=function(t){var r=this.getFeatureFlag(t);if(r!==void 0)return!!r},e.prototype.reloadFeatureFlagsAsync=function(t){return t===void 0&&(t=!0),da(this,void 0,void 0,function(){return ha(this,function(r){switch(r.label){case 0:return[4,this.decideAsync(t)];case 1:return[2,r.sent().featureFlags]}})})},e.prototype.onFeatureFlags=function(t){var r=this;return this.on("featureflags",function(){return da(r,void 0,void 0,function(){var n;return ha(this,function(o){return n=this.getFeatureFlags(),n&&t(n),[2]})})})},e.prototype.onFeatureFlag=function(t,r){var n=this;return this.on("featureflags",function(){return da(n,void 0,void 0,function(){var o;return ha(this,function(i){return o=this.getFeatureFlag(t),o!==void 0&&r(o),[2]})})})},e.prototype.overrideFeatureFlag=function(t){return t===null?this.setPersistedProperty(tt.OverrideFeatureFlags,null):this.setPersistedProperty(tt.OverrideFeatureFlags,t)},e.prototype._sendFeatureFlags=function(t,r){var n=this;this.reloadFeatureFlagsAsync(!1).finally(function(){var o=n.buildPayload({event:t,properties:r});n.enqueue("capture",o)})},e.prototype.enqueue=function(t,r){var n=this;if(!this.optedOut){var o=yt(yt({},r),{type:t,library:this.getLibraryId(),library_version:this.getLibraryVersion(),timestamp:r.timestamp?r.timestamp:j6()});o.distinctId&&(o.distinct_id=o.distinctId,delete o.distinctId);var i=this.getPersistedProperty(tt.Queue)||[];i.push({message:o}),this.setPersistedProperty(tt.Queue,i),this._events.emit(t,o),i.length>=this.flushAt&&this.flush(),this.flushInterval&&!this._flushTimer&&(this._flushTimer=V6(function(){return n.flush()},this.flushInterval))}},e.prototype.flushAsync=function(){var t=this;return new Promise(function(r,n){t.flush(function(o,i){return o?n(o):r(i)})})},e.prototype.flush=function(t){var r=this;if(this.optedOut)return t==null?void 0:t();this._flushTimer&&(clearTimeout(this._flushTimer),this._flushTimer=null);var n=this.getPersistedProperty(tt.Queue)||[];if(!n.length)return t==null?void 0:t();var o=n.splice(0,this.flushAt);this.setPersistedProperty(tt.Queue,n);var i=o.map(function(p){return p.message}),s={api_key:this.apiKey,batch:i,sent_at:j6()},a=function(p){t==null||t(p,i),r._events.emit("flush",i)};this.getCustomUserAgent();var l=JSON.stringify(s),u=this.captureMode==="form"?"".concat(this.host,"/e/?ip=1&_=").concat(q6(),"&v=").concat(this.getLibraryVersion()):"".concat(this.host,"/batch/"),h=this.captureMode==="form"?{method:"POST",mode:"no-cors",credentials:"omit",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"data=".concat(encodeURIComponent(mf.compressToBase64(l)),"&compression=lz64")}:{method:"POST",headers:{"Content-Type":"application/json"},body:l};this.fetchWithRetry(u,h).then(function(){return a()}).catch(function(p){if(p.response){var y=new Error(p.response.statusText);return a(y)}a(p)})},e.prototype.fetchWithRetry=function(t,r,n){var o,i;return da(this,void 0,void 0,function(){var s=this;return ha(this,function(a){return(o=(i=AbortSignal).timeout)!==null&&o!==void 0||(i.timeout=function(u){var h=new AbortController;return setTimeout(function(){return h.abort()},u),h.signal}),[2,iV(function(){return s.fetch(t,yt({signal:AbortSignal.timeout(s.requestTimeout)},r))},n||this._retryOptions)]})})},e.prototype.shutdownAsync=function(){return da(this,void 0,void 0,function(){return ha(this,function(t){switch(t.label){case 0:return clearTimeout(this._flushTimer),[4,this.flushAsync()];case 1:return t.sent(),[2]}})})},e.prototype.shutdown=function(){this.shutdownAsync()},e}(),G6="2.0.0";function uV(e){var t={};if(e.navigator){var r=e.navigator.userAgent;t=yt(yt({},t),{$os:fV(e),$browser:W6(r,e.navigator.vendor,!!e.opera),$referrer:e.document.referrer,$referring_domain:hV(e.document.referrer),$device:dV(r),$current_url:e.location.href,$host:e.location.host,$pathname:e.location.pathname,$browser_version:cV(r,e.navigator.vendor,!!e.opera),$screen_height:e.screen.height,$screen_width:e.screen.width,$screen_dpr:e.devicePixelRatio})}return t=yt(yt({},t),{$lib:"js",$lib_version:G6,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:q6()/1e3}),t}function sr(e,t){return e.indexOf(t)>=0}function W6(e,t,r){return t=t||"",r||sr(e," OPR/")?sr(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":sr(e,"IEMobile")||sr(e,"WPDesktop")?"Internet Explorer Mobile":sr(e,"SamsungBrowser/")?"Samsung Internet":sr(e,"Edge")||sr(e,"Edg/")?"Microsoft Edge":sr(e,"FBIOS")?"Facebook Mobile":sr(e,"Chrome")?"Chrome":sr(e,"CriOS")?"Chrome iOS":sr(e,"UCWEB")||sr(e,"UCBrowser")?"UC Browser":sr(e,"FxiOS")?"Firefox iOS":sr(t,"Apple")?sr(e,"Mobile")?"Mobile Safari":"Safari":sr(e,"Android")?"Android Mobile":sr(e,"Konqueror")?"Konqueror":sr(e,"Firefox")?"Firefox":sr(e,"MSIE")||sr(e,"Trident/")?"Internet Explorer":sr(e,"Gecko")?"Mozilla":""}function cV(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/},o=W6(e,t,r),i=n[o]||void 0;if(i===void 0)return null;var s=e.match(i);return s?parseFloat(s[s.length-2]):null}function fV(e){var t=e.navigator.userAgent;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""}function dV(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""}function hV(e){var t=e.split("/");return t.length>=3?t[2]:""}var Y6={getItem:function(e){try{for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];o.charAt(0)==" ";)o=o.substring(1,o.length);if(o.indexOf(t)===0)return decodeURIComponent(o.substring(t.length,o.length))}}catch(i){}return null},setItem:function(e,t){try{var r="",n="",o="",i=e+"="+encodeURIComponent(t)+n+"; path=/"+r+o;document.cookie=i}catch(s){return}},removeItem:function(e){try{Y6.setItem(e,"")}catch(t){return}},clear:function(){document.cookie=""},getAllKeys:function(){for(var e=document.cookie.split(";"),t=[],r=0;r<e.length;r++){for(var n=e[r];n.charAt(0)==" ";)n=n.substring(1,n.length);t.push(n.split("=")[0])}return t}},H6=function(e){return{getItem:function(t){return e.getItem(t)},setItem:function(t,r){e.setItem(t,r)},removeItem:function(t){e.removeItem(t)},clear:function(){e.clear()},getAllKeys:function(){var t=[];for(var r in localStorage)t.push(r);return t}}},K6=function(e,t){if(t===void 0&&(t="__mplssupport__"),!window)return!1;try{var r="xyz";return e.setItem(t,r),e.getItem(t)!==r?!1:(e.removeItem(t),!0)}catch(n){return!1}},I1=void 0,hf=void 0,pf=function(){var e={},t={getItem:function(r){return e[r]},setItem:function(r,n){e[r]=n!==null?n:void 0},removeItem:function(r){delete e[r]},clear:function(){for(var r in e)delete e[r]},getAllKeys:function(){var r=[];for(var n in e)r.push(n);return r}};return t},pV=function(e,t){if(t){if(!localStorage){var r=H6(t.localStorage);I1=K6(r)?r:void 0}if(!hf){var n=H6(t.sessionStorage);hf=K6(n)?n:void 0}}switch(e){case"cookie":return Y6||I1||hf||pf();case"localStorage":return I1||hf||pf();case"sessionStorage":return hf||pf();case"memory":return pf();default:return pf()}},X6=function(e){tV(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o._storageKey=n!=null&&n.persistence_name?"ph_".concat(n.persistence_name):"ph_".concat(r,"_posthog"),o._storage=pV((n==null?void 0:n.persistence)||"localStorage",window),o.setupBootstrap(n),o}return t.prototype.getPersistedProperty=function(r){return this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),this._storageCache[r]},t.prototype.setPersistedProperty=function(r,n){this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),n===null?delete this._storageCache[r]:this._storageCache[r]=n,this._storage.setItem(this._storageKey,JSON.stringify(this._storageCache))},t.prototype.fetch=function(r,n){return window.fetch(r,n)},t.prototype.getLibraryId=function(){return"posthog-js-lite"},t.prototype.getLibraryVersion=function(){return G6},t.prototype.getCustomUserAgent=function(){},t.prototype.getCommonEventProperties=function(){return yt(yt({},e.prototype.getCommonEventProperties.call(this)),uV(window))},t}(lV);function mV(e){return{name:"telemetry-error",error:e}}typeof globalThis.window<"u"&&(window.onunhandledrejection=function(e){return e.reason.name!=="telemetry-error"});async function gV(e,t){try{return await fetch(e,t)}catch(r){throw mV(r)}}var hr=null;typeof globalThis.window<"u"&&(hr=new X6("phc_QttqgDbMQDYHX1EMH7FnT6ECBVzdp0kGUq92aQaVQ6I",{persistence:"memory"}),hr.fetch=gV);var ip={version:"0.3.1",package:"idkit-js"},Dl=()=>{var e;return(e=hr==null?void 0:hr.getDistinctId())!=null?e:""},Z6=e=>{e?hr==null||hr.capture("idkit loaded",ip):hr==null||hr.optOut()},J6=()=>{hr==null||hr.capture("idkit opened",ip)},Q6=()=>{hr==null||hr.capture("idkit phone typed",ip)},e5=e=>{hr==null||hr.capture("idkit phone code retried",ve(Q({},ip),{channel:e}))};var yV=ep()((e,t)=>({open:!1,code:"",signal:"",result:null,actionId:"",theme:"light",walletConnectProjectId:"",errorTitle:"",errorDetail:"",phoneNumber:"",autoClose:!1,errorState:null,processing:!1,verifyCallbacks:{},successCallbacks:{},stringifiedActionId:"",methods:["orb","phone"],stage:"SELECT_METHOD",copy:{},computed:{canGoBack:r=>{switch(r){case"ENTER_PHONE":return t().methods.includes("orb");case"WORLD_ID":return t().methods.includes("phone");case"ENTER_CODE":case"PRIVACY":return!0;default:return!1}},getDefaultStage:r=>(r=r!=null?r:t().methods,r.length>1?"SELECT_METHOD":r[0]==="phone"?"ENTER_PHONE":"WORLD_ID")},setCode:r=>e({code:r}),setStage:r=>e({stage:r}),setErrorState:r=>e({errorState:r}),setPhoneNumber:r=>e({phoneNumber:r}),setProcessing:r=>e({processing:r}),retryFlow:()=>{t().methods.length===1&&e({stage:t().computed.getDefaultStage(),errorState:null}),e({stage:"SELECT_METHOD",errorState:null})},addSuccessCallback:(r,n)=>{e(o=>(o.successCallbacks[n]=r,o))},addVerificationCallback:(r,n)=>{e(o=>(o.verifyCallbacks[n]=r,o))},setOptions:({handleVerify:r,onSuccess:n,signal:o,actionId:i,walletConnectProjectId:s,autoClose:a,copy:l,theme:u,methods:h},p)=>{let y=typeof i=="string"?i:ff(i).digest;e(w=>({theme:u,signal:o,actionId:i,autoClose:a,stringifiedActionId:y,walletConnectProjectId:s,methods:h!=null?h:w.methods,stage:w.computed.getDefaultStage(h),copy:Q(Q({},w.copy),l)})),n&&t().addSuccessCallback(n,p),r&&t().addVerificationCallback(r,p)},handleVerify:r=>{e({stage:"HOST_APP_VERIFICATION",processing:!1}),Promise.all(Object.values(t().verifyCallbacks).map(n=>n==null?void 0:n(r))).then(()=>{e({stage:"SUCCESS",result:r}),t().autoClose&&setTimeout(()=>t().onOpenChange(!1),1e3)},n=>{let o;n&&typeof n=="object"&&n.message&&(o=n.message),e({stage:"ERROR",errorState:{code:"REJECTED_BY_HOST_APP",message:o}})})},onOpenChange:r=>{if(r)return J6(),e({open:r});if(t().stage=="SUCCESS"){let n=t().result;n&&requestAnimationFrame(()=>Object.values(t().successCallbacks).map(o=>()=>o==null?void 0:o(n)))}e({open:r,code:"",result:null,phoneNumber:"",errorState:null,processing:!1,stage:t().computed.getDefaultStage()})}})),Bt=yV;c();d();f();var t5={title:"World ID",heading:"Verify your identity",subheading:"Unlock additional benefits by verifying you're a unique human doing this action once.",success:"Your phone number has been verified"};var PB=ue(E8(),1);c();d();f();var CB=ue(we(),1);c();d();f();c();d();f();var mr=ue(we()),M8=ue(Da()),Oi=ue(qb()),_H=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function R8(e,t){return e(t={exports:{}},t.exports),t.exports}var xH=R8(function(e){(function(t){var r=function(I,T,O){if(!l(T)||h(T)||p(T)||y(T)||a(T))return T;var M,L=0,G=0;if(u(T))for(M=[],G=T.length;L<G;L++)M.push(r(I,T[L],O));else for(var J in M={},T)Object.prototype.hasOwnProperty.call(T,J)&&(M[I(J,O)]=r(I,T[J],O));return M},n=function(I){return w(I)?I:(I=I.replace(/[\-_\s]+(.)?/g,function(T,O){return O?O.toUpperCase():""})).substr(0,1).toLowerCase()+I.substr(1)},o=function(I){var T=n(I);return T.substr(0,1).toUpperCase()+T.substr(1)},i=function(I,T){return function(O,M){var L=(M=M||{}).separator||"_",G=M.split||/(?=[A-Z])/;return O.split(G).join(L)}(I,T).toLowerCase()},s=Object.prototype.toString,a=function(I){return typeof I=="function"},l=function(I){return I===Object(I)},u=function(I){return s.call(I)=="[object Array]"},h=function(I){return s.call(I)=="[object Date]"},p=function(I){return s.call(I)=="[object RegExp]"},y=function(I){return s.call(I)=="[object Boolean]"},w=function(I){return(I-=0)==I},v=function(I,T){var O=T&&"process"in T?T.process:T;return typeof O!="function"?I:function(M,L){return O(M,I,L)}},S={camelize:n,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(I,T){return r(v(n,T),I)},decamelizeKeys:function(I,T){return r(v(i,T),I,T)},pascalizeKeys:function(I,T){return r(v(o,T),I)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=S:t.humps=S})(_H)}).decamelize,EH=R8(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},t.apply(this,arguments)}e.exports=t}),SH=function(e){if(Array.isArray(e))return e},CH=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(l){o=!0,i=l}finally{try{n||a.return==null||a.return()}finally{if(o)throw i}}return r}},A8=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},TH=function(e,t){if(e){if(typeof e=="string")return A8(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A8(e,t):void 0}},PH=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
23
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},OH=function(e,t){return SH(e)||CH(e,t)||TH(e,t)||PH()},DH=function(e,t){if(e==null)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},IH=function(e,t){if(e==null)return{};var r,n,o=DH(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},AH=(0,mr.createContext)(null);function Wb(e){var t=e.root,r=e.children;return(0,M8.createPortal)(r,t)}function MH(e){var t=(0,mr.forwardRef)(function(r,n){var o,i,s=r.mode,a=r.delegatesFocus,l=r.styleSheets,u=r.ssr,h=r.children,p=IH(r,["mode","delegatesFocus","styleSheets","ssr","children"]),y=(i=(0,mr.useRef)((o=n)&&o.current),(0,mr.useEffect)(function(){o&&(o.current=i.current)},[o]),i),w=(0,mr.useState)(null),v=OH(w,2),S=v[0],I=v[1],T="node_".concat(s).concat(a);return(0,mr.useLayoutEffect)(function(){if(y.current)try{if(typeof n=="function"&&n(y.current),u){var O=y.current.shadowRoot;return void I(O)}var M=y.current.attachShadow({mode:s,delegatesFocus:a});l.length>0&&(M.adoptedStyleSheets=l),I(M)}catch(L){(function(G){var J=G.error,V=G.styleSheets,q=G.root;switch(J.name){case"NotSupportedError":V.length>0&&(q.adoptedStyleSheets=V);break;default:throw J}})({error:L,styleSheets:l,root:S})}},[n,y,l]),mr.default.createElement(mr.default.Fragment,null,mr.default.createElement(e.tag,EH({key:T,ref:y},p),(S||u)&&mr.default.createElement(AH.Provider,{value:S},u?mr.default.createElement("template",{shadowroot:"open"},e.render({root:S,ssr:u,children:h})):mr.default.createElement(Wb,{root:S},e.render({root:S,ssr:u,children:h})))))});return t.propTypes={mode:Oi.default.oneOf(["open","closed"]),delegatesFocus:Oi.default.bool,styleSheets:Oi.default.arrayOf(Oi.default.instanceOf(globalThis.CSSStyleSheet)),ssr:Oi.default.bool,children:Oi.default.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}Wb.propTypes={root:Oi.default.object.isRequired,children:Oi.default.node},Wb.defaultProps={children:null};var Gb=new Map;function RH(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n.children};return new Proxy(e,{get:function(n,o){var i=xH(o,{separator:"-"}),s="".concat(t,"-").concat(i);return Gb.has(s)||Gb.set(s,MH({tag:i,render:r})),Gb.get(s)}})}var NH=RH(),N8=NH;c();d();f();var kH=`@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300..700&display=swap");
24
24
  /*! tailwindcss v3.2.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family:Rubik,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:414px){.container{max-width:414px}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;top:0}.inset-0,.inset-x-0{left:0;right:0}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.-ml-4{margin-left:-1rem}.-mt-1{margin-top:-.25rem}.-mt-5{margin-top:-1.25rem}.-mt-6{margin-top:-1.5rem}.-mt-\\[2px\\]{margin-top:-2px}.mb-12{margin-bottom:3rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.ml-2\\.5{margin-left:.625rem}.mr-1{margin-right:.25rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.mt-\\[2px\\]{margin-top:2px}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-\\[6\\/7\\]{aspect-ratio:6/7}.aspect-square{aspect-ratio:1/1}.h-1{height:.25rem}.h-1\\.5{height:.375rem}.h-12{height:3rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[202px\\]{height:202px}.h-auto{height:auto}.h-px{height:1px}.max-h-\\[var\\(--max-h\\2c _0px\\)\\]{max-height:var(--max-h,0)}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-12{width:3rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\\[202px\\]{width:202px}.w-\\[34px\\]{width:34px}.w-auto{width:auto}.w-full{width:100%}.min-w-\\[calc\\(100vw_-_48px\\)\\]{min-width:calc(100vw - 48px)}.flex-1{flex:1 1 0%}.flex-none{flex:none}.shrink-0{flex-shrink:0}.basis-4{flex-basis:1rem}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.select-none{-webkit-user-select:none;user-select:none}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-f1f5f8{--tw-border-opacity:1;border-color:rgb(241 245 248/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white\\/10{border-color:hsla(0,0%,100%,.1)}.bg-0d151d{--tw-bg-opacity:1;background-color:rgb(13 21 29/var(--tw-bg-opacity))}.bg-0d151d\\/5{background-color:rgba(13,21,29,.05)}.bg-\\[\\#fecaca\\]{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-black\\/50{background-color:rgba(0,0,0,.5)}.bg-d3dfea\\/30{background-color:rgba(211,223,234,.3)}.bg-f2f5f9{--tw-bg-opacity:1;background-color:rgb(242 245 249/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#FF6848\\]{--tw-gradient-from:#ff6848;--tw-gradient-to:rgba(255,104,72,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-\\[\\#4940E0\\]{--tw-gradient-to:#4940e0}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pb-10{padding-bottom:2.5rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:Rubik,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-0d151d{--tw-text-opacity:1;color:rgb(13 21 29/var(--tw-text-opacity))}.text-0d151d\\/70{color:rgba(13,21,29,.7)}.text-29343f{--tw-text-opacity:1;color:rgb(41 52 63/var(--tw-text-opacity))}.text-4940e0{--tw-text-opacity:1;color:rgb(73 64 224/var(--tw-text-opacity))}.text-70868f{--tw-text-opacity:1;color:rgb(112 134 143/var(--tw-text-opacity))}.text-9eafc0{--tw-text-opacity:1;color:rgb(158 175 192/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.caret-transparent{caret-color:transparent}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-0{outline-width:0}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-1{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-black\\/5{--tw-ring-color:rgba(0,0,0,.05)}.ring-transparent{--tw-ring-color:transparent}.blur{--tw-blur:blur(8px)}.blur,.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}.placeholder\\:text-9eafc0::-webkit-input-placeholder{--tw-text-opacity:1;color:rgb(158 175 192/var(--tw-text-opacity))}.placeholder\\:text-9eafc0::placeholder{--tw-text-opacity:1;color:rgb(158 175 192/var(--tw-text-opacity))}.focus-within\\:border-0d151d:focus-within{--tw-border-opacity:1;border-color:rgb(13 21 29/var(--tw-border-opacity))}.focus-within\\:bg-white:focus-within{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.hover\\:bg-gray-300\\/50:hover{background-color:rgba(209,213,219,.5)}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:border-transparent:focus{border-color:transparent}.focus\\:bg-gray-100:focus{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.focus\\:bg-transparent:focus{background-color:transparent}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-0d151d:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(13 21 29/var(--tw-ring-opacity))}.focus\\:ring-5b52f3:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(91 82 243/var(--tw-ring-opacity))}.focus\\:ring-gray-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(209 213 219/var(--tw-ring-opacity))}.focus\\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity))}.focus\\:ring-transparent:focus{--tw-ring-color:transparent}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-purple-500\\/75:focus-visible{--tw-ring-color:rgba(168,85,247,.75)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:cursor-wait:disabled{cursor:wait}.disabled\\:bg-d3dfea:disabled{--tw-bg-opacity:1;background-color:rgb(211 223 234/var(--tw-bg-opacity))}.disabled\\:text-gray-900:disabled{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:hover\\:bg-indigo-600:hover:disabled{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.dark .dark\\:border-black\\/10{border-color:rgba(0,0,0,.1)}.dark .dark\\:border-f1f5f8\\/10{border-color:rgba(241,245,248,.1)}.dark .dark\\:bg-0d151d{--tw-bg-opacity:1;background-color:rgb(13 21 29/var(--tw-bg-opacity))}.dark .dark\\:bg-29343f{--tw-bg-opacity:1;background-color:rgb(41 52 63/var(--tw-bg-opacity))}.dark .dark\\:bg-d3dfea\\/15{background-color:rgba(211,223,234,.15)}.dark .dark\\:bg-ece8fb\\/10{background-color:rgba(236,232,251,.1)}.dark .dark\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.dark .dark\\:text-0d151d{--tw-text-opacity:1;color:rgb(13 21 29/var(--tw-text-opacity))}.dark .dark\\:text-596673{--tw-text-opacity:1;color:rgb(89 102 115/var(--tw-text-opacity))}.dark .dark\\:text-70868f{--tw-text-opacity:1;color:rgb(112 134 143/var(--tw-text-opacity))}.dark .dark\\:text-9eafc0{--tw-text-opacity:1;color:rgb(158 175 192/var(--tw-text-opacity))}.dark .dark\\:text-d3dfea{--tw-text-opacity:1;color:rgb(211 223 234/var(--tw-text-opacity))}.dark .dark\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\\:text-white\\/70{color:hsla(0,0%,100%,.7)}.dark .dark\\:focus-within\\:border-white:focus-within{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.dark .dark\\:focus-within\\:bg-transparent:focus-within{background-color:transparent}.dark .dark\\:hover\\:bg-29343f\\/50:hover{background-color:rgba(41,52,63,.5)}.dark .dark\\:focus\\:bg-ece8fb\\/25:focus{background-color:rgba(236,232,251,.25)}.dark .dark\\:disabled\\:bg-29343f:disabled{--tw-bg-opacity:1;background-color:rgb(41 52 63/var(--tw-bg-opacity))}.dark .dark\\:disabled\\:text-white:disabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}@media (min-width:414px){.xs\\:w-12{width:3rem}}@media (min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:768px){.md\\:mt-2{margin-top:.5rem}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:max-h-96{max-height:24rem}.md\\:min-w-\\[20rem\\]{min-width:20rem}.md\\:max-w-md{max-width:28rem}.md\\:items-center{align-items:center}.md\\:overflow-y-auto{overflow-y:auto}.md\\:rounded-b-3xl{border-bottom-left-radius:1.5rem;border-bottom-right-radius:1.5rem}.md\\:p-4{padding:1rem}}.\\[\\&_\\*\\]\\:text-black *{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.dark .dark\\:\\[\\&_\\*\\]\\:text-white *{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}`,k8=()=>g.createElement("style",null,kH);c();d();f();var Tm=ue(we(),1),LH=()=>{let[e,t]=(0,Tm.useState)("desktop");return(0,Tm.useEffect)(()=>{let r=window.matchMedia("(max-width: 768px)"),n=o=>t(o.matches?"mobile":"desktop");return n(r),r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[]),e},su=LH;c();d();f();var FH=e=>g.createElement("svg",ve(Q({},e),{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}),g.createElement("path",{strokeWidth:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m16.243 7.758-8.485 8.485m8.485 0L7.758 7.758"})),au=FH;c();d();f();c();d();f();c();d();f();c();d();f();var Yb=ue(we(),1),Ma=ue(we(),1);c();d();f();var L8=ue(we(),1),lu=(0,L8.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});c();d();f();var Pm=ue(we(),1),Ia=(0,Pm.createContext)({});function F8(){return(0,Pm.useContext)(Ia).visualElement}c();d();f();var uu=ue(we(),1);c();d();f();var $8=ue(we(),1),Qo=(0,$8.createContext)(null);c();d();f();var Om=ue(we(),1);c();d();f();var mo=typeof document<"u";var Ds=mo?Om.useLayoutEffect:Om.useEffect;c();d();f();var U8=ue(we(),1),Dm=(0,U8.createContext)({strict:!1});function B8(e,t,r,n){let o=F8(),i=(0,uu.useContext)(Dm),s=(0,uu.useContext)(Qo),a=(0,uu.useContext)(lu).reducedMotion,l=(0,uu.useRef)();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceId:s?s.id:void 0,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));let u=l.current;return Ds(()=>{u&&u.render()}),Ds(()=>{u&&u.animationState&&u.animationState.animateChanges()}),Ds(()=>()=>u&&u.notify("Unmount"),[]),u}c();d();f();var j8=ue(we(),1);c();d();f();function Di(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function V8(e,t,r){return(0,j8.useCallback)(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Di(r)&&(r.current=n))},[t])}c();d();f();var Am=ue(we(),1);c();d();f();c();d();f();function Ii(e){return typeof e=="string"||Array.isArray(e)}c();d();f();c();d();f();function Is(e){return typeof e=="object"&&typeof e.start=="function"}var $H=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function Aa(e){return Is(e.animate)||$H.some(t=>Ii(e[t]))}function Im(e){return Boolean(Aa(e)||e.variants)}function z8(e,t){if(Aa(e)){let{initial:r,animate:n}=e;return{initial:r===!1||Ii(r)?r:void 0,animate:Ii(n)?n:void 0}}return e.inherit!==!1?t:{}}function K8(e){let{initial:t,animate:r}=z8(e,(0,Am.useContext)(Ia));return(0,Am.useMemo)(()=>({initial:t,animate:r}),[H8(t),H8(r)])}function H8(e){return Array.isArray(e)?e.join(" "):e}c();d();f();var Ai=e=>({isEnabled:t=>e.some(r=>!!t[r])}),As={measureLayout:Ai(["layout","layoutId","drag"]),animation:Ai(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Ai(["exit"]),drag:Ai(["drag","dragControls"]),focus:Ai(["whileFocus"]),hover:Ai(["whileHover","onHoverStart","onHoverEnd"]),tap:Ai(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Ai(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Ai(["whileInView","onViewportEnter","onViewportLeave"])};c();d();f();function q8(e){for(let t in e)t==="projectionNodeConstructor"?As.projectionNodeConstructor=e[t]:As[t].Component=e[t]}c();d();f();c();d();f();var G8=ue(we(),1);function Ms(e){let t=(0,G8.useRef)(null);return t.current===null&&(t.current=e()),t.current}c();d();f();var Rs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var UH=1;function W8(){return Ms(()=>{if(Rs.hasEverUpdated)return UH++})}c();d();f();var Y8=ue(we(),1),cu=(0,Y8.createContext)({});c();d();f();var X8=ue(we(),1),Mm=class extends X8.default.Component{getSnapshotBeforeUpdate(){let{visualElement:t,props:r}=this.props;return t&&t.setProps(r),null}componentDidUpdate(){}render(){return this.props.children}};c();d();f();var Z8=ue(we(),1),Rm=(0,Z8.createContext)({});c();d();f();var J8=Symbol.for("motionComponentSymbol");function Q8({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:r,useRender:n,useVisualState:o,Component:i}){e&&q8(e);function s(l,u){let h=ve(Q(Q({},(0,Ma.useContext)(lu)),l),{layoutId:BH(l)}),{isStatic:p}=h,y=null,w=K8(l),v=p?void 0:W8(),S=o(l,p);if(!p&&mo){w.visualElement=B8(i,S,h,t);let I=(0,Ma.useContext)(Dm).strict,T=(0,Ma.useContext)(Rm);w.visualElement&&(y=w.visualElement.loadFeatures(h,I,e,v,r||As.projectionNodeConstructor,T))}return Yb.createElement(Mm,{visualElement:w.visualElement,props:h},y,Yb.createElement(Ia.Provider,{value:w},n(i,l,v,V8(S,w.visualElement,u),S,p,w.visualElement)))}let a=(0,Ma.forwardRef)(s);return a[J8]=i,a}function BH({layoutId:e}){let t=(0,Ma.useContext)(cu).id;return t&&e!==void 0?t+"-"+e:e}c();d();f();function eT(e){function t(n,o={}){return Q8(e(n,o))}if(typeof Proxy>"u")return t;let r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}c();d();f();c();d();f();c();d();f();var tT=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function fu(e){return typeof e!="string"||e.includes("-")?!1:!!(tT.indexOf(e)>-1||/[A-Z]/.test(e))}c();d();f();var wT=ue(we(),1);c();d();f();var lT=ue(we(),1);c();d();f();c();d();f();var du={};function rT(e){Object.assign(du,e)}c();d();f();var hu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],On=new Set(hu);function Nm(e,{layout:t,layoutId:r}){return On.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!du[e]||e==="opacity")}c();d();f();var Mr=e=>!!(e!=null&&e.getVelocity);c();d();f();c();d();f();var jH={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VH=(e,t)=>hu.indexOf(e)-hu.indexOf(t);function nT({transform:e,transformKeys:t},{enableHardwareAcceleration:r=!0,allowTransformNone:n=!0},o,i){let s="";t.sort(VH);for(let a of t)s+=`${jH[a]||a}(${e[a]}) `;return r&&!e.z&&(s+="translateZ(0)"),s=s.trim(),i?s=i(e,o?"":s):n&&o&&(s="none"),s}c();d();f();function km(e){return e.startsWith("--")}c();d();f();var oT=(e,t)=>t&&typeof e=="number"?t.transform(e):e;c();d();f();c();d();f();c();d();f();var Fo=(e,t,r)=>Math.min(Math.max(r,e),t);var go={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ns=ve(Q({},go),{transform:e=>Fo(0,1,e)}),ad=ve(Q({},go),{default:1});c();d();f();c();d();f();var ks=e=>Math.round(e*1e5)/1e5,Ls=/(-)?([\d]*\.?[\d])+/g,Lm=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,iT=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Mi(e){return typeof e=="string"}var ld=e=>({test:t=>Mi(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ei=ld("deg"),un=ld("%"),Be=ld("px"),sT=ld("vh"),aT=ld("vw"),Xb=ve(Q({},un),{parse:e=>un.parse(e)/100,transform:e=>un.transform(e*100)});c();d();f();var Zb=ve(Q({},go),{transform:Math.round});var Fm={borderWidth:Be,borderTopWidth:Be,borderRightWidth:Be,borderBottomWidth:Be,borderLeftWidth:Be,borderRadius:Be,radius:Be,borderTopLeftRadius:Be,borderTopRightRadius:Be,borderBottomRightRadius:Be,borderBottomLeftRadius:Be,width:Be,maxWidth:Be,height:Be,maxHeight:Be,size:Be,top:Be,right:Be,bottom:Be,left:Be,padding:Be,paddingTop:Be,paddingRight:Be,paddingBottom:Be,paddingLeft:Be,margin:Be,marginTop:Be,marginRight:Be,marginBottom:Be,marginLeft:Be,rotate:ei,rotateX:ei,rotateY:ei,rotateZ:ei,scale:ad,scaleX:ad,scaleY:ad,scaleZ:ad,skew:ei,skewX:ei,skewY:ei,distance:Be,translateX:Be,translateY:Be,translateZ:Be,x:Be,y:Be,z:Be,perspective:Be,transformPerspective:Be,opacity:Ns,originX:Xb,originY:Xb,originZ:Be,zIndex:Zb,fillOpacity:Ns,strokeOpacity:Ns,numOctaves:Zb};function pu(e,t,r,n){let{style:o,vars:i,transform:s,transformKeys:a,transformOrigin:l}=e;a.length=0;let u=!1,h=!1,p=!0;for(let y in t){let w=t[y];if(km(y)){i[y]=w;continue}let v=Fm[y],S=oT(w,v);if(On.has(y)){if(u=!0,s[y]=S,a.push(y),!p)continue;w!==(v.default||0)&&(p=!1)}else y.startsWith("origin")?(h=!0,l[y]=S):o[y]=S}if(t.transform||(u||n?o.transform=nT(e,r,p,n):o.transform&&(o.transform="none")),h){let{originX:y="50%",originY:w="50%",originZ:v=0}=l;o.transformOrigin=`${y} ${w} ${v}`}}c();d();f();var mu=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function Jb(e,t,r){for(let n in t)!Mr(t[n])&&!Nm(n,r)&&(e[n]=t[n])}function zH({transformTemplate:e},t,r){return(0,lT.useMemo)(()=>{let n=mu();return pu(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function HH(e,t,r){let n=e.style||{},o={};return Jb(o,n,e),Object.assign(o,zH(e,t,r)),e.transformValues?e.transformValues(o):o}function uT(e,t,r){let n={},o=HH(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),n.style=o,n}c();d();f();c();d();f();var KH=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],qH=["whileTap","onTap","onTapStart","onTapCancel"],GH=["onPan","onPanStart","onPanSessionStart","onPanEnd"],WH=["whileInView","onViewportEnter","onViewportLeave","viewport"],YH=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...WH,...qH,...KH,...GH]);function ud(e){return YH.has(e)}var dT=e=>!ud(e);function tK(e){!e||(dT=t=>t.startsWith("on")?!ud(t):e(t))}try{tK(fT().default)}catch(e){}function hT(e,t,r){let n={};for(let o in e)(dT(o)||r===!0&&ud(o)||!t&&!ud(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}c();d();f();var yT=ue(we(),1);c();d();f();c();d();f();function pT(e,t,r){return typeof e=="string"?e:Be.transform(t+r*e)}function mT(e,t,r){let n=pT(t,e.x,e.width),o=pT(r,e.y,e.height);return`${n} ${o}`}c();d();f();var rK={offset:"stroke-dashoffset",array:"stroke-dasharray"},nK={offset:"strokeDashoffset",array:"strokeDasharray"};function gT(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?rK:nK;e[i.offset]=Be.transform(-n);let s=Be.transform(t),a=Be.transform(r);e[i.array]=`${s} ${a}`}function gu(e,y,u,h,p){var w=y,{attrX:t,attrY:r,originX:n,originY:o,pathLength:i,pathSpacing:s=1,pathOffset:a=0}=w,l=Pe(w,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);if(pu(e,l,u,p),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:v,style:S,dimensions:I}=e;v.transform&&(I&&(S.transform=v.transform),delete v.transform),I&&(n!==void 0||o!==void 0||S.transform)&&(S.transformOrigin=mT(I,n!==void 0?n:.5,o!==void 0?o:.5)),t!==void 0&&(v.x=t),r!==void 0&&(v.y=r),i!==void 0&&gT(v,i,s,a,!1)}c();d();f();var $m=()=>ve(Q({},mu()),{attrs:{}});c();d();f();var yu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function vT(e,t,r,n){let o=(0,yT.useMemo)(()=>{let i=$m();return gu(i,t,{enableHardwareAcceleration:!1},yu(n),e.transformTemplate),ve(Q({},i.attrs),{style:Q({},i.style)})},[t]);if(e.style){let i={};Jb(i,e.style,e),o.style=Q(Q({},i),o.style)}return o}function bT(e=!1){return(r,n,o,i,{latestValues:s},a)=>{let u=(fu(r)?vT:uT)(n,s,a,r),h=hT(n,typeof r=="string",e),p=ve(Q(Q({},h),u),{ref:i});return o&&(p["data-projection-id"]=o),(0,wT.createElement)(r,p)}}c();d();f();c();d();f();c();d();f();var vu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();c();d();f();function Um(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let i in r)e.style.setProperty(i,r[i])}c();d();f();var Bm=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function jm(e,t,r,n){Um(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(Bm.has(o)?o:vu(o),t.attrs[o])}c();d();f();c();d();f();function wu(e){let{style:t}=e,r={};for(let n in t)(Mr(t[n])||Nm(n,e))&&(r[n]=t[n]);return r}function Vm(e){let t=wu(e);for(let r in e)if(Mr(e[r])){let n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}c();d();f();var t_=ue(we(),1);c();d();f();function bu(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}c();d();f();c();d();f();c();d();f();var Ra=e=>Array.isArray(e);var _T=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),xT=e=>Ra(e)?e[e.length-1]||0:e;function _u(e){let t=Mr(e)?e.get():e;return _T(t)?t.toValue():t}function oK({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let s={latestValues:iK(n,o,i,e),renderState:t()};return r&&(s.mount=a=>r(n,a,s)),s}var zm=e=>(t,r)=>{let n=(0,t_.useContext)(Ia),o=(0,t_.useContext)(Qo),i=()=>oK(e,t,n,o);return r?i():Ms(i)};function iK(e,t,r,n){let o={},i=n(e);for(let y in i)o[y]=_u(i[y]);let{initial:s,animate:a}=e,l=Aa(e),u=Im(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let h=r?r.initial===!1:!1;h=h||s===!1;let p=h?a:s;return p&&typeof p!="boolean"&&!Is(p)&&(Array.isArray(p)?p:[p]).forEach(w=>{let v=bu(e,w);if(!v)return;let O=v,{transitionEnd:S,transition:I}=O,T=Pe(O,["transitionEnd","transition"]);for(let M in T){let L=T[M];if(Array.isArray(L)){let G=h?L.length-1:0;L=L[G]}L!==null&&(o[M]=L)}for(let M in S)o[M]=S[M]}),o}var ET={useVisualState:zm({scrapeMotionValuesFromProps:Vm,createRenderState:$m,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}gu(r,n,{enableHardwareAcceleration:!1},yu(t.tagName),e.transformTemplate),jm(t,r)}})};c();d();f();var ST={useVisualState:zm({scrapeMotionValuesFromProps:wu,createRenderState:mu})};function CT(e,{forwardMotionProps:t=!1},r,n,o){let i=fu(e)?ET:ST;return ve(Q({},i),{preloadedFeatures:r,useRender:bT(t),createVisualElement:n,projectionNodeConstructor:o,Component:e})}c();d();f();c();d();f();c();d();f();var wt;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(wt||(wt={}));c();d();f();var TT=ue(we(),1);function Na(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function cd(e,t,r,n){(0,TT.useEffect)(()=>{let o=e.current;if(r&&o)return Na(o,t,r,n)},[e,t,r,n])}function PT({whileFocus:e,visualElement:t}){let{animationState:r}=t,n=()=>{r&&r.setActive(wt.Focus,!0)},o=()=>{r&&r.setActive(wt.Focus,!1)};cd(t,"focus",e?n:void 0),cd(t,"blur",e?o:void 0)}c();d();f();c();d();f();function Hm(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function Km(e){return!!e.touches}c();d();f();c();d();f();function sK(e){return t=>{let r=t instanceof MouseEvent;(!r||r&&t.button===0)&&e(t)}}var aK={pageX:0,pageY:0};function lK(e,t="page"){let n=e.touches[0]||e.changedTouches[0]||aK;return{x:n[t+"X"],y:n[t+"Y"]}}function uK(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function fd(e,t="page"){return{point:Km(e)?lK(e,t):uK(e,t)}}var r_=(e,t=!1)=>{let r=n=>e(n,fd(n));return t?sK(r):r};c();d();f();var OT=()=>mo&&window.onpointerdown===null,DT=()=>mo&&window.ontouchstart===null,IT=()=>mo&&window.onmousedown===null;var cK={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},fK={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function AT(e){return OT()?e:DT()?fK[e]:IT()?cK[e]:e}function Ri(e,t,r,n){return Na(e,AT(t),r_(r,t==="pointerdown"),n)}function ka(e,t,r,n){return cd(e,AT(t),r&&r_(r,t==="pointerdown"),n)}c();d();f();function NT(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var MT=NT("dragHorizontal"),RT=NT("dragVertical");function n_(e){let t=!1;if(e==="y")t=RT();else if(e==="x")t=MT();else{let r=MT(),n=RT();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function qm(){let e=n_(!0);return e?(e(),!1):!0}function kT(e,t,r){return(n,o)=>{!Hm(n)||qm()||(e.animationState&&e.animationState.setActive(wt.Hover,t),r&&r(n,o))}}function LT({onHoverStart:e,onHoverEnd:t,whileHover:r,visualElement:n}){ka(n,"pointerenter",e||r?kT(n,!0,e):void 0,{passive:!e}),ka(n,"pointerleave",t||r?kT(n,!1,t):void 0,{passive:!t})}c();d();f();var i_=ue(we(),1);c();d();f();var o_=(e,t)=>t?e===t?!0:o_(e,t.parentElement):!1;c();d();f();var FT=ue(we(),1);function xu(e){return(0,FT.useEffect)(()=>()=>e(),[])}c();d();f();var dK=(e,t)=>r=>t(e(r)),Fs=(...e)=>e.reduce(dK);function $T({onTap:e,onTapStart:t,onTapCancel:r,whileTap:n,visualElement:o}){let i=e||t||r||n,s=(0,i_.useRef)(!1),a=(0,i_.useRef)(null),l={passive:!(t||e||r||w)};function u(){a.current&&a.current(),a.current=null}function h(){return u(),s.current=!1,o.animationState&&o.animationState.setActive(wt.Tap,!1),!qm()}function p(v,S){!h()||(o_(o.current,v.target)?e&&e(v,S):r&&r(v,S))}function y(v,S){!h()||r&&r(v,S)}function w(v,S){u(),!s.current&&(s.current=!0,a.current=Fs(Ri(window,"pointerup",p,l),Ri(window,"pointercancel",y,l)),o.animationState&&o.animationState.setActive(wt.Tap,!0),t&&t(v,S))}ka(o,"pointerdown",i?w:void 0,l),xu(u)}c();d();f();c();d();f();var hK="production",Eu=typeof process>"u"||process.env===void 0?hK:"production";var dd=ue(we(),1);c();d();f();var UT=new Set;function Gm(e,t,r){e||UT.has(t)||(console.warn(t),r&&console.warn(r),UT.add(t))}c();d();f();var a_=new WeakMap,s_=new WeakMap,pK=e=>{let t=a_.get(e.target);t&&t(e)},mK=e=>{e.forEach(pK)};function gK(r){var n=r,{root:e}=n,t=Pe(n,["root"]);let o=e||document;s_.has(o)||s_.set(o,{});let i=s_.get(o),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(mK,Q({root:e},t))),i[s]}function BT(e,t,r){let n=gK(t);return a_.set(e,r),n.observe(e),()=>{a_.delete(e),n.unobserve(e)}}function jT({visualElement:e,whileInView:t,onViewportEnter:r,onViewportLeave:n,viewport:o={}}){let i=(0,dd.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(t||r||n);o.once&&i.current.hasEnteredView&&(s=!1),(typeof IntersectionObserver>"u"?wK:vK)(s,i.current,e,o)}var yK={some:0,all:1};function vK(e,t,r,{root:n,margin:o,amount:i="some",once:s}){(0,dd.useEffect)(()=>{if(!e||!r.current)return;let a={root:n==null?void 0:n.current,rootMargin:o,threshold:typeof i=="number"?i:yK[i]},l=u=>{let{isIntersecting:h}=u;if(t.isInView===h||(t.isInView=h,s&&!h&&t.hasEnteredView))return;h&&(t.hasEnteredView=!0),r.animationState&&r.animationState.setActive(wt.InView,h);let p=r.getProps(),y=h?p.onViewportEnter:p.onViewportLeave;y&&y(u)};return BT(r.current,a,l)},[e,n,o,i])}function wK(e,t,r,{fallback:n=!0}){(0,dd.useEffect)(()=>{!e||!n||(Eu!=="production"&&Gm(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:o}=r.getProps();o&&o(null),r.animationState&&r.animationState.setActive(wt.InView,!0)}))},[e])}c();d();f();var $o=e=>t=>(e(t),null);var VT={inView:$o(jT),tap:$o($T),focus:$o(PT),hover:$o(LT)};c();d();f();var Sd=ue(we(),1);c();d();f();var Su=ue(we(),1);function Wm(){let e=(0,Su.useContext)(Qo);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=(0,Su.useId)();return(0,Su.useEffect)(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}c();d();f();c();d();f();function l_(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}c();d();f();c();d();f();c();d();f();var zT=e=>/^\-?\d*\.?\d+$/.test(e);c();d();f();var HT=e=>/^0[^.\s]+$/.test(e);c();d();f();c();d();f();var qn={delta:0,timestamp:0};c();d();f();c();d();f();var u_=16.666666666666668,bK=typeof performance<"u"?()=>performance.now():()=>Date.now(),c_=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(bK()),u_);c();d();f();function KT(e){let t=[],r=[],n=0,o=!1,i=!1,s=new WeakSet,a={schedule:(l,u=!1,h=!1)=>{let p=h&&o,y=p?t:r;return u&&s.add(l),y.indexOf(l)===-1&&(y.push(l),p&&o&&(n=t.length)),l},cancel:l=>{let u=r.indexOf(l);u!==-1&&r.splice(u,1),s.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){let h=t[u];h(l),s.has(h)&&(a.schedule(h),e())}o=!1,i&&(i=!1,a.process(l))}};return a}var _K=40,f_=!0,hd=!1,d_=!1,pd=["read","update","preRender","render","postRender"],Ym=pd.reduce((e,t)=>(e[t]=KT(()=>hd=!0),e),{}),Wt=pd.reduce((e,t)=>{let r=Ym[t];return e[t]=(n,o=!1,i=!1)=>(hd||EK(),r.schedule(n,o,i)),e},{}),Gn=pd.reduce((e,t)=>(e[t]=Ym[t].cancel,e),{}),Xm=pd.reduce((e,t)=>(e[t]=()=>Ym[t].process(qn),e),{}),xK=e=>Ym[e].process(qn),qT=e=>{hd=!1,qn.delta=f_?u_:Math.max(Math.min(e-qn.timestamp,_K),1),qn.timestamp=e,d_=!0,pd.forEach(xK),d_=!1,hd&&(f_=!1,c_(qT))},EK=()=>{hd=!0,f_=!0,d_||c_(qT)};c();d();f();c();d();f();function Cu(e,t){e.indexOf(t)===-1&&e.push(t)}function Tu(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var $s=class{constructor(){this.subscriptions=[]}add(t){return Cu(this.subscriptions,t),()=>Tu(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(!!o)if(o===1)this.subscriptions[0](t,r,n);else for(let i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};c();d();f();function Pu(e,t){return t?e*(1e3/t):0}var SK=e=>!isNaN(parseFloat(e)),h_=class{constructor(t,r={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{this.prev=this.current,this.current=n;let{delta:i,timestamp:s}=qn;this.lastUpdated!==s&&(this.timeDelta=i,this.lastUpdated=s,Wt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Wt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=SK(this.current),this.owner=r.owner}onChange(t){return this.on("change",t)}on(t,r){return this.events[t]||(this.events[t]=new $s),this.events[t].add(r)}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t){this.passiveEffect=t}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Pu(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.stopAnimation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}};function ti(e,t){return new h_(e,t)}c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();var Ou=(e,t)=>r=>Boolean(Mi(r)&&iT.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Zm=(e,t,r)=>n=>{if(!Mi(n))return n;let[o,i,s,a]=n.match(Ls);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var CK=e=>Fo(0,255,e),p_=ve(Q({},go),{transform:e=>Math.round(CK(e))}),ri={test:Ou("rgb","red"),parse:Zm("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+p_.transform(e)+", "+p_.transform(t)+", "+p_.transform(r)+", "+ks(Ns.transform(n))+")"};function TK(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}var md={test:Ou("#"),parse:TK,transform:ri.transform};c();d();f();var Us={test:Ou("hsl","hue"),parse:Zm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+un.transform(ks(t))+", "+un.transform(ks(r))+", "+ks(Ns.transform(n))+")"};var gr={test:e=>ri.test(e)||md.test(e)||Us.test(e),parse:e=>ri.test(e)?ri.parse(e):Us.test(e)?Us.parse(e):md.parse(e),transform:e=>Mi(e)?e:e.hasOwnProperty("red")?ri.transform(e):Us.transform(e)};var GT="${c}",WT="${n}";function PK(e){var t,r;return isNaN(e)&&Mi(e)&&(((t=e.match(Ls))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Lm))===null||r===void 0?void 0:r.length)||0)>0}function gd(e){typeof e=="number"&&(e=`${e}`);let t=[],r=0,n=0,o=e.match(Lm);o&&(r=o.length,e=e.replace(Lm,GT),t.push(...o.map(gr.parse)));let i=e.match(Ls);return i&&(n=i.length,e=e.replace(Ls,WT),t.push(...i.map(go.parse))),{values:t,numColors:r,numNumbers:n,tokenised:e}}function YT(e){return gd(e).values}function XT(e){let{values:t,numColors:r,tokenised:n}=gd(e),o=t.length;return i=>{let s=n;for(let a=0;a<o;a++)s=s.replace(a<r?GT:WT,a<r?gr.transform(i[a]):ks(i[a]));return s}}var OK=e=>typeof e=="number"?0:e;function DK(e){let t=YT(e);return XT(e)(t.map(OK))}var cn={test:PK,parse:YT,createTransformer:XT,getAnimatableNone:DK};c();d();f();c();d();f();var IK=new Set(["brightness","contrast","saturate","opacity"]);function AK(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(Ls)||[];if(!n)return e;let o=r.replace(n,""),i=IK.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}var MK=/([a-z-]*)\(.*?\)/g,yd=ve(Q({},cn),{getAnimatableNone:e=>{let t=e.match(MK);return t?t.map(AK).join(" "):e}});c();d();f();var RK=ve(Q({},Fm),{color:gr,backgroundColor:gr,outlineColor:gr,fill:gr,stroke:gr,borderColor:gr,borderTopColor:gr,borderRightColor:gr,borderBottomColor:gr,borderLeftColor:gr,filter:yd,WebkitFilter:yd}),Du=e=>RK[e];function Iu(e,t){var r;let n=Du(e);return n!==yd&&(n=cn),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}c();d();f();c();d();f();c();d();f();var Jm=e=>t=>t.test(e);c();d();f();var ZT={test:e=>e==="auto",parse:e=>e};var m_=[go,Be,un,ei,aT,sT,ZT],Au=e=>m_.find(Jm(e));var NK=[...m_,gr,cn],JT=e=>NK.find(Jm(e));c();d();f();function kK(e){let t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function LK(e){let t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function La(e,t,r){let n=e.getProps();return bu(n,t,r!==void 0?r:n.custom,kK(e),LK(e))}function FK(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ti(r))}function QT(e,t){let r=La(e,t),s=r?e.makeTargetAnimatable(r,!1):{},{transitionEnd:n={},transition:o={}}=s,i=Pe(s,["transitionEnd","transition"]);i=Q(Q({},i),n);for(let a in i){let l=xT(i[a]);FK(e,a,l)}}function eP(e,t,r){var n,o;let i=Object.keys(t).filter(a=>!e.hasValue(a)),s=i.length;if(!!s)for(let a=0;a<s;a++){let l=i[a],u=t[l],h=null;Array.isArray(u)&&(h=u[0]),h===null&&(h=(o=(n=r[l])!==null&&n!==void 0?n:e.readValue(l))!==null&&o!==void 0?o:t[l]),h!=null&&(typeof h=="string"&&(zT(h)||HT(h))?h=parseFloat(h):!JT(h)&&cn.test(u)&&(h=Iu(l,u)),e.addValue(l,ti(h,{owner:e})),r[l]===void 0&&(r[l]=h),h!==null&&e.setBaseTarget(l,h))}}function $K(e,t){return t?(t[e]||t.default||t).from:void 0}function tP(e,t,r){var n;let o={};for(let i in e){let s=$K(i,t);o[i]=s!==void 0?s:(n=r.getValue(i))===null||n===void 0?void 0:n.get()}return o}c();d();f();function Fa(e){return Boolean(Mr(e)&&e.add)}c();d();f();c();d();f();var rP=(e,t)=>`${e}: ${t}`;function nP(e,t){let{MotionAppearAnimations:r}=window,n=rP(e,On.has(t)?"transform":t),o=r&&r.get(n);return o?(Wt.render(()=>{try{o.cancel(),r.delete(n)}catch(i){}}),o.currentTime||0):0}c();d();f();var UK="framerAppearId",oP="data-"+vu(UK);c();d();f();c();d();f();var Mu=function(){},Lr=function(){};c();d();f();var Ru=e=>e*1e3;c();d();f();var iP={current:!1};c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();var Nu=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;c();d();f();var ku=e=>t=>1-e(1-t);var Qm=e=>e*e,sP=ku(Qm),vd=Nu(Qm);c();d();f();c();d();f();var bt=(e,t,r)=>-r*e+r*t+e;c();d();f();c();d();f();function g_(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function aP({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,s=0;if(!t)o=i=s=r;else{let a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;o=g_(l,a,e+1/3),i=g_(l,a,e),s=g_(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}var y_=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},BK=[md,ri,Us],jK=e=>BK.find(t=>t.test(e));function lP(e){let t=jK(e);Lr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Us&&(r=aP(r)),r}var e0=(e,t)=>{let r=lP(e),n=lP(t),o=Q({},r);return i=>(o.red=y_(r.red,n.red,i),o.green=y_(r.green,n.green,i),o.blue=y_(r.blue,n.blue,i),o.alpha=bt(r.alpha,n.alpha,i),ri.transform(o))};c();d();f();function uP(e,t){return typeof e=="number"?r=>bt(e,t,r):gr.test(e)?e0(e,t):w_(e,t)}var v_=(e,t)=>{let r=[...e],n=r.length,o=e.map((i,s)=>uP(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}},cP=(e,t)=>{let r=Q(Q({},e),t),n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=uP(e[o],t[o]));return o=>{for(let i in n)r[i]=n[i](o);return r}},w_=(e,t)=>{let r=cn.createTransformer(t),n=gd(e),o=gd(t);return n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?Fs(v_(n.values,o.values),r):(Mu(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),s=>`${s>0?t:e}`)};c();d();f();var $a=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};var fP=(e,t)=>r=>bt(e,t,r);function VK(e){return typeof e=="number"?fP:typeof e=="string"?gr.test(e)?e0:w_:Array.isArray(e)?v_:typeof e=="object"?cP:fP}function zK(e,t,r){let n=[],o=r||VK(e[0]),i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]:t;a=Fs(l,a)}n.push(a)}return n}function t0(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;Lr(i===t.length,"Both input and output ranges must be the same length"),Lr(!n||!Array.isArray(n)||n.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=zK(t,n,o),a=s.length,l=u=>{let h=0;if(a>1)for(;h<e.length-2&&!(u<e[h+1]);h++);let p=$a(e[h],e[h+1],u);return s[h](p)};return r?u=>l(Fo(e[0],e[i-1],u)):l}c();d();f();c();d();f();c();d();f();var Lu=e=>e;var dP=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,HK=1e-7,KK=12;function qK(e,t,r,n,o){let i,s,a=0;do s=t+(r-t)/2,i=dP(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>HK&&++a<KK);return s}function r0(e,t,r,n){if(e===t&&r===n)return Lu;let o=i=>qK(i,0,1,e,r);return i=>i===0||i===1?i:dP(o(i),t,n)}c();d();f();var b_=e=>1-Math.sin(Math.acos(e)),wd=ku(b_),hP=Nu(wd);c();d();f();var __=r0(.33,1.53,.69,.99),bd=ku(__),pP=Nu(bd);c();d();f();var mP=e=>(e*=2)<1?.5*bd(e):.5*(2-Math.pow(2,-10*(e-1)));var gP={linear:Lu,easeIn:Qm,easeInOut:vd,easeOut:sP,circIn:b_,circInOut:hP,circOut:wd,backIn:bd,backInOut:pP,backOut:__,anticipate:mP},x_=e=>{if(Array.isArray(e)){Lr(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return r0(t,r,n,o)}else if(typeof e=="string")return Lr(gP[e]!==void 0,`Invalid easing type '${e}'`),gP[e];return e},yP=e=>Array.isArray(e)&&typeof e[0]!="number";function GK(e,t){return e.map(()=>t||vd).splice(0,e.length-1)}function WK(e){let t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function YK(e,t){return e.map(r=>r*t)}function _d({keyframes:e,ease:t=vd,times:r,duration:n=300}){e=[...e];let o=_d[0],i=yP(t)?t.map(x_):x_(t),s={done:!1,value:o},a=YK(r&&r.length===_d.length?r:WK(e),n);function l(){return t0(a,e,{ease:Array.isArray(i)?i:GK(e,i)})}let u=l();return{next:h=>(s.value=u(h),s.done=h>=n,s),flipTarget:()=>{e.reverse(),u=l()}}}c();d();f();c();d();f();var E_=.001,XK=.01,vP=10,ZK=.05,JK=1;function wP({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;Mu(e<=vP*1e3,"Spring duration must be 10 seconds or less");let s=1-t;s=Fo(ZK,JK,s),e=Fo(XK,vP,e/1e3),s<1?(o=u=>{let h=u*s,p=h*e,y=h-r,w=n0(u,s),v=Math.exp(-p);return E_-y/w*v},i=u=>{let p=u*s*e,y=p*r+r,w=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-p),S=n0(Math.pow(u,2),s);return(-o(u)+E_>0?-1:1)*((y-w)*v)/S}):(o=u=>{let h=Math.exp(-u*e),p=(u-r)*e+1;return-E_+h*p},i=u=>{let h=Math.exp(-u*e),p=(r-u)*(e*e);return h*p});let a=5/e,l=eq(o,i,a);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{let u=Math.pow(l,2)*n;return{stiffness:u,damping:s*2*Math.sqrt(n*u),duration:e}}}var QK=12;function eq(e,t,r){let n=r;for(let o=1;o<QK;o++)n=n-e(n)/t(n);return n}function n0(e,t){return e*Math.sqrt(1-t*t)}var tq=["duration","bounce"],rq=["stiffness","damping","mass"];function bP(e,t){return t.some(r=>e[r]!==void 0)}function nq(e){let t=Q({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!bP(e,rq)&&bP(e,tq)){let r=wP(e);t=ve(Q(Q({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}var oq=5;function S_(o){var i=o,{keyframes:e,restSpeed:t=2,restDelta:r=.01}=i,n=Pe(i,["keyframes","restSpeed","restDelta"]);let s=e[0],a=e[e.length-1],l={done:!1,value:s},{stiffness:u,damping:h,mass:p,velocity:y,duration:w,isResolvedFromDuration:v}=nq(n),S=iq,I=y?-(y/1e3):0,T=h/(2*Math.sqrt(u*p));function O(){let M=a-s,L=Math.sqrt(u/p)/1e3;if(r===void 0&&(r=Math.min(Math.abs(a-s)/100,.4)),T<1){let G=n0(L,T);S=J=>{let V=Math.exp(-T*L*J);return a-V*((I+T*L*M)/G*Math.sin(G*J)+M*Math.cos(G*J))}}else if(T===1)S=G=>a-Math.exp(-L*G)*(M+(I+L*M)*G);else{let G=L*Math.sqrt(T*T-1);S=J=>{let V=Math.exp(-T*L*J),q=Math.min(G*J,300);return a-V*((I+T*L*M)*Math.sinh(q)+G*M*Math.cosh(q))/G}}}return O(),{next:M=>{let L=S(M);if(v)l.done=M>=w;else{let G=I;if(M!==0)if(T<1){let q=Math.max(0,M-oq);G=Pu(L-S(q),M-q)}else G=0;let J=Math.abs(G)<=t,V=Math.abs(a-L)<=r;l.done=J&&V}return l.value=l.done?a:L,l},flipTarget:()=>{I=-I,[s,a]=[a,s],O()}}}S_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";var iq=e=>0;c();d();f();function _P({keyframes:e=[0],velocity:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:i}){let s=e[0],a={done:!1,value:s},l=r*t,u=s+l,h=i===void 0?u:i(u);return h!==u&&(l=h-s),{next:p=>{let y=-l*Math.exp(-p/n);return a.done=!(y>o||y<-o),a.value=a.done?h:h+y,a},flipTarget:()=>{}}}var sq={decay:_P,keyframes:_d,tween:_d,spring:S_};function xP(e,t,r=0){return e-t-r}function aq(e,t=0,r=0,n=!0){return n?xP(t+-e,t,r):t-(e-t)+r}function lq(e,t,r,n){return n?e>=t+r:e<=-r}var uq=e=>{let t=({delta:r})=>e(r);return{start:()=>Wt.update(t,!0),stop:()=>Gn.update(t)}};function Ua(S){var I=S,{duration:e,driver:t=uq,elapsed:r=0,repeat:n=0,repeatType:o="loop",repeatDelay:i=0,keyframes:s,autoplay:a=!0,onPlay:l,onStop:u,onComplete:h,onRepeat:p,onUpdate:y,type:w="keyframes"}=I,v=Pe(I,["duration","driver","elapsed","repeat","repeatType","repeatDelay","keyframes","autoplay","onPlay","onStop","onComplete","onRepeat","onUpdate","type"]);var T,O;let M,L=0,G=e,J,V=!1,q=!0,ce,me=sq[s.length>2?"keyframes":w],fe=s[0],X=s[s.length-1];!((O=(T=me).needsInterpolation)===null||O===void 0)&&O.call(T,fe,X)&&(ce=t0([0,100],[fe,X],{clamp:!1}),s=[0,100]);let R=me(ve(Q({},v),{duration:e,keyframes:s}));function m(){L++,o==="reverse"?(q=L%2===0,r=aq(r,G,i,q)):(r=xP(r,G,i),o==="mirror"&&R.flipTarget()),V=!1,p&&p()}function b(){M.stop(),h&&h()}function E(k){if(q||(k=-k),r+=k,!V){let B=R.next(Math.max(0,r));J=B.value,ce&&(J=ce(J)),V=q?B.done:r<=0}y&&y(J),V&&(L===0&&(G=G!==void 0?G:r),L<n?lq(r,G,i,q)&&m():b())}function A(){l&&l(),M=t(E),M.start()}return a&&A(),{stop:()=>{u&&u(),M.stop()},sample:k=>R.next(Math.max(0,k))}}c();d();f();c();d();f();function EP(e){return!e||Array.isArray(e)||typeof e=="string"&&SP[e]}var xd=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,SP={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xd([0,.65,.55,1]),circOut:xd([.55,0,1,.45]),backIn:xd([.31,.01,.66,-.59]),backOut:xd([.33,1.53,.69,.99])};function CP(e){if(!!e)return Array.isArray(e)?xd(e):SP[e]}function TP(e,t,r,{delay:n=0,duration:o,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){return e.animate({[t]:r,offset:l},{delay:n,duration:o,easing:CP(a),fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}var o0=10;function PP(e,t,i){var s=i,{onUpdate:r,onComplete:n}=s,o=Pe(s,["onUpdate","onComplete"]);let{keyframes:a,duration:l=.3,elapsed:u=0,ease:h}=o;if(o.type==="spring"||!EP(o.ease)){let y=Ua(o),w={done:!1,value:a[0]},v=[],S=0;for(;!w.done;)w=y.sample(S),v.push(w.value),S+=o0;a=v,l=S-o0,h="linear"}let p=TP(e.owner.current,t,a,ve(Q({},o),{delay:-u,duration:l,ease:h}));return p.onfinish=()=>{e.set(a[a.length-1]),n&&n()},()=>{let{currentTime:y}=p;if(y){let w=Ua(o);e.setWithVelocity(w.sample(y-o0).value,w.sample(y).value,o0)}Wt.update(()=>p.cancel())}}c();d();f();c();d();f();function i0(e,t){let r=performance.now(),n=({timestamp:o})=>{let i=o-r;i>=t&&(Gn.read(n),e(i-t))};return Wt.read(n,!0),()=>Gn.read(n)}function OP({keyframes:e,elapsed:t,onUpdate:r,onComplete:n}){let o=()=>(r&&r(e[e.length-1]),n&&n(),()=>{});return t?i0(o,-t):o()}c();d();f();function DP({keyframes:e,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:i=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:h,onUpdate:p,onComplete:y,onStop:w}){let v=e[0],S;function I(L){return r!==void 0&&L<r||n!==void 0&&L>n}function T(L){return r===void 0?n:n===void 0||Math.abs(r-L)<Math.abs(n-L)?r:n}function O(L){S==null||S.stop(),S=Ua(ve(Q({keyframes:[0,1],velocity:0},L),{driver:h,onUpdate:G=>{var J;p==null||p(G),(J=L.onUpdate)===null||J===void 0||J.call(L,G)},onComplete:y,onStop:w}))}function M(L){O(Q({type:"spring",stiffness:s,damping:a,restDelta:l},L))}if(I(v))M({velocity:t,keyframes:[v,T(v)]});else{let L=o*t+v;typeof u<"u"&&(L=u(L));let G=T(L),J=G===r?-1:1,V,q,ce=me=>{V=q,q=me,t=Pu(me-V,qn.delta),(J===1&&me>G||J===-1&&me<G)&&M({keyframes:[me,G],velocity:t})};O({type:"decay",keyframes:[v,0],velocity:t,timeConstant:i,power:o,restDelta:l,modifyTarget:u,onUpdate:I(L)?ce:void 0})}return{stop:()=>S==null?void 0:S.stop()}}c();d();f();var Ba=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),s0=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),C_=()=>({type:"keyframes",ease:"linear",duration:.3}),cq={type:"keyframes",duration:.8},IP={x:Ba,y:Ba,z:Ba,rotate:Ba,rotateX:Ba,rotateY:Ba,rotateZ:Ba,scaleX:s0,scaleY:s0,scale:s0,opacity:C_,backgroundColor:C_,color:C_,default:s0},AP=(e,{keyframes:t})=>t.length>2?cq:(IP[e]||IP.default)(t[1]);c();d();f();var Ed=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&cn.test(t)&&!t.startsWith("url("));c();d();f();c();d();f();function MP(h){var p=h,{when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l}=p,u=Pe(p,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(u).length}function T_(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function P_(e){return typeof e=="number"?0:Iu("",e)}function a0(e,t){return e[t]||e.default||e}function RP(e,t,r,n){let o=Ed(t,r),i=n.from!==void 0?n.from:e.get();return i==="none"&&o&&typeof r=="string"?i=Iu(t,r):T_(i)&&typeof r=="string"?i=P_(r):!Array.isArray(r)&&T_(r)&&typeof i=="string"&&(r=P_(i)),Array.isArray(r)?(r[0]===null&&(r[0]=i),r):[i,r]}c();d();f();var NP={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},O_={},D_={};for(let e in NP)D_[e]=()=>(O_[e]===void 0&&(O_[e]=NP[e]()),O_[e]);var fq=new Set(["opacity"]),Fu=(e,t,r,n={})=>o=>{let i=a0(n,e)||{},s=i.delay||n.delay||0,{elapsed:a=0}=n;a=a-Ru(s);let l=RP(t,e,r,i),u=l[0],h=l[l.length-1],p=Ed(e,u),y=Ed(e,h);Mu(p===y,`You are trying to animate ${e} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`);let w=ve(Q({keyframes:l,velocity:t.getVelocity()},i),{elapsed:a,onUpdate:T=>{t.set(T),i.onUpdate&&i.onUpdate(T)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}});if(!p||!y||iP.current||i.type===!1)return OP(w);if(i.type==="inertia"){let T=DP(w);return()=>T.stop()}MP(i)||(w=Q(Q({},w),AP(e,w))),w.duration&&(w.duration=Ru(w.duration)),w.repeatDelay&&(w.repeatDelay=Ru(w.repeatDelay));let v=t.owner,S=v&&v.current;if(D_.waapi()&&fq.has(e)&&!w.repeatDelay&&w.repeatType!=="mirror"&&w.damping!==0&&v&&S instanceof HTMLElement&&!v.getProps().onUpdate)return PP(t,e,w);{let T=Ua(w);return()=>T.stop()}};function kP(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(i=>I_(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=I_(e,t,r);else{let o=typeof t=="function"?La(e,t,r.custom):t;n=LP(e,o,r)}return n.then(()=>e.notify("AnimationComplete",t))}function I_(e,t,r={}){var n;let o=La(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);let s=o?()=>LP(e,o,r):()=>Promise.resolve(),a=!((n=e.variantChildren)===null||n===void 0)&&n.size?(u=0)=>{let{delayChildren:h=0,staggerChildren:p,staggerDirection:y}=i;return dq(e,t,h+u,p,y,r)}:()=>Promise.resolve(),{when:l}=i;if(l){let[u,h]=l==="beforeChildren"?[s,a]:[a,s];return u().then(h)}else return Promise.all([s(),a(r.delay)])}function LP(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let y=e.makeTargetAnimatable(t),{transition:s=e.getDefaultTransition(),transitionEnd:a}=y,l=Pe(y,["transition","transitionEnd"]),u=e.getValue("willChange");n&&(s=n);let h=[],p=o&&((i=e.animationState)===null||i===void 0?void 0:i.getState()[o]);for(let w in l){let v=e.getValue(w),S=l[w];if(!v||S===void 0||p&&pq(p,w))continue;let I=Q({delay:r,elapsed:0},s);if(e.shouldReduceMotion&&On.has(w)&&(I=ve(Q({},I),{type:!1,delay:0})),!v.hasAnimated){let O=e.getProps()[oP];O&&(I.elapsed=nP(O,w))}let T=v.start(Fu(w,v,S,I));Fa(u)&&(u.add(w),T=T.then(()=>u.remove(w))),h.push(T)}return Promise.all(h).then(()=>{a&&QT(e,a)})}function dq(e,t,r=0,n=0,o=1,i){let s=[],a=(e.variantChildren.size-1)*n,l=o===1?(u=0)=>u*n:(u=0)=>a-u*n;return Array.from(e.variantChildren).sort(hq).forEach((u,h)=>{s.push(I_(u,t,ve(Q({},i),{delay:r+l(h)})).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function hq(e,t){return e.sortNodePosition(t)}function pq({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}var l0=[wt.Animate,wt.InView,wt.Focus,wt.Hover,wt.Tap,wt.Drag,wt.Exit],mq=[...l0].reverse(),gq=l0.length;function yq(e){return t=>Promise.all(t.map(({animation:r,options:n})=>kP(e,r,n)))}function FP(e){let t=yq(e),r=wq(),n=!0,o=(l,u)=>{let h=La(e,u);if(h){let p=h,{transition:y,transitionEnd:w}=p,v=Pe(p,["transition","transitionEnd"]);l=Q(Q(Q({},l),v),w)}return l};function i(l){t=l(e)}function s(l,u){let h=e.getProps(),p=e.getVariantContext(!0)||{},y=[],w=new Set,v={},S=1/0;for(let T=0;T<gq;T++){let O=mq[T],M=r[O],L=h[O]!==void 0?h[O]:p[O],G=Ii(L),J=O===u?M.isActive:null;J===!1&&(S=T);let V=L===p[O]&&L!==h[O]&&G;if(V&&n&&e.manuallyAnimateOnMount&&(V=!1),M.protectedKeys=Q({},v),!M.isActive&&J===null||!L&&!M.prevProp||Is(L)||typeof L=="boolean")continue;let q=vq(M.prevProp,L),ce=q||O===u&&M.isActive&&!V&&G||T>S&&G,me=Array.isArray(L)?L:[L],fe=me.reduce(o,{});J===!1&&(fe={});let{prevResolvedValues:X={}}=M,R=Q(Q({},X),fe),m=b=>{ce=!0,w.delete(b),M.needsAnimating[b]=!0};for(let b in R){let E=fe[b],A=X[b];v.hasOwnProperty(b)||(E!==A?Ra(E)&&Ra(A)?!l_(E,A)||q?m(b):M.protectedKeys[b]=!0:E!==void 0?m(b):w.add(b):E!==void 0&&w.has(b)?m(b):M.protectedKeys[b]=!0)}M.prevProp=L,M.prevResolvedValues=fe,M.isActive&&(v=Q(Q({},v),fe)),n&&e.blockInitialAnimation&&(ce=!1),ce&&!V&&y.push(...me.map(b=>({animation:b,options:Q({type:O},l)})))}if(w.size){let T={};w.forEach(O=>{let M=e.getBaseTarget(O);M!==void 0&&(T[O]=M)}),y.push({animation:T})}let I=Boolean(y.length);return n&&h.initial===!1&&!e.manuallyAnimateOnMount&&(I=!1),n=!1,I?t(y):Promise.resolve()}function a(l,u,h){var p;if(r[l].isActive===u)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(w=>{var v;return(v=w.animationState)===null||v===void 0?void 0:v.setActive(l,u)}),r[l].isActive=u;let y=s(h,l);for(let w in r)r[w].protectedKeys={};return y}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>r}}function vq(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!l_(t,e):!1}function ja(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function wq(){return{[wt.Animate]:ja(!0),[wt.InView]:ja(),[wt.Hover]:ja(),[wt.Tap]:ja(),[wt.Drag]:ja(),[wt.Focus]:ja(),[wt.Exit]:ja()}}var $P={animation:$o(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=FP(e)),Is(t)&&(0,Sd.useEffect)(()=>t.subscribe(e),[t])}),exit:$o(e=>{let{custom:t,visualElement:r}=e,[n,o]=Wm(),i=(0,Sd.useContext)(Qo);(0,Sd.useEffect)(()=>{r.isPresent=n;let s=r.animationState&&r.animationState.setActive(wt.Exit,!n,{custom:i&&i.custom||t});s&&!n&&s.then(o)},[n])})};c();d();f();c();d();f();var $_=ue(we(),1);c();d();f();c();d();f();c();d();f();var UP=(e,t)=>Math.abs(e-t);function BP(e,t){let r=UP(e.x,t.x),n=UP(e.y,t.y);return Math.sqrt(r**2+n**2)}var $u=class{constructor(t,r,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=M_(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,p=BP(u.offset,{x:0,y:0})>=3;if(!h&&!p)return;let{point:y}=u,{timestamp:w}=qn;this.history.push(ve(Q({},y),{timestamp:w}));let{onStart:v,onMove:S}=this.handlers;h||(v&&v(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,h)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=A_(h,this.transformPagePoint),Hm(u)&&u.buttons===0){this.handlePointerUp(u,h);return}Wt.update(this.updatePoint,!0)},this.handlePointerUp=(u,h)=>{this.end();let{onEnd:p,onSessionEnd:y}=this.handlers,w=M_(A_(h,this.transformPagePoint),this.history);this.startEvent&&p&&p(u,w),y&&y(u,w)},Km(t)&&t.touches.length>1)return;this.handlers=r,this.transformPagePoint=n;let o=fd(t),i=A_(o,this.transformPagePoint),{point:s}=i,{timestamp:a}=qn;this.history=[ve(Q({},s),{timestamp:a})];let{onSessionStart:l}=r;l&&l(t,M_(i,this.history)),this.removeListeners=Fs(Ri(window,"pointermove",this.handlePointerMove),Ri(window,"pointerup",this.handlePointerUp),Ri(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Gn.update(this.updatePoint)}};function A_(e,t){return t?{point:t(e.point)}:e}function jP(e,t){return{x:e.x-t.x,y:e.y-t.y}}function M_({point:e},t){return{point:e,delta:jP(e,VP(t)),offset:jP(e,bq(t)),velocity:_q(t,.1)}}function bq(e){return e[0]}function VP(e){return e[e.length-1]}function _q(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=VP(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Ru(t)));)r--;if(!n)return{x:0,y:0};let i=(o.timestamp-n.timestamp)/1e3;if(i===0)return{x:0,y:0};let s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}c();d();f();c();d();f();function Fr(e){return e.max-e.min}function u0(e,t=0,r=.01){return Math.abs(e-t)<=r}function zP(e,t,r,n=.5){e.origin=n,e.originPoint=bt(t.min,t.max,e.origin),e.scale=Fr(r)/Fr(t),(u0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=bt(r.min,r.max,e.origin)-e.originPoint,(u0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Uu(e,t,r,n){zP(e.x,t.x,r.x,n==null?void 0:n.originX),zP(e.y,t.y,r.y,n==null?void 0:n.originY)}function HP(e,t,r){e.min=r.min+t.min,e.max=e.min+Fr(t)}function qP(e,t,r){HP(e.x,t.x,r.x),HP(e.y,t.y,r.y)}function KP(e,t,r){e.min=t.min-r.min,e.max=e.min+Fr(t)}function Bu(e,t,r){KP(e.x,t.x,r.x),KP(e.y,t.y,r.y)}function ZP(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?bt(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?bt(r,e,n.max):Math.min(e,r)),e}function GP(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function JP(e,{top:t,left:r,bottom:n,right:o}){return{x:GP(e.x,r,o),y:GP(e.y,t,n)}}function WP(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function QP(e,t){return{x:WP(e.x,t.x),y:WP(e.y,t.y)}}function eO(e,t){let r=.5,n=Fr(e),o=Fr(t);return o>n?r=$a(t.min,t.max-n,e.min):n>o&&(r=$a(e.min,e.max-o,t.min)),Fo(0,1,r)}function tO(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var c0=.35;function rO(e=c0){return e===!1?e=0:e===!0&&(e=c0),{x:YP(e,"left","right"),y:YP(e,"top","bottom")}}function YP(e,t,r){return{min:XP(e,t),max:XP(e,r)}}function XP(e,t){return typeof e=="number"?e:e[t]||0}c();d();f();var nO=()=>({translate:0,scale:1,origin:0,originPoint:0}),ju=()=>({x:nO(),y:nO()}),oO=()=>({min:0,max:0}),er=()=>({x:oO(),y:oO()});c();d();f();function yo(e){return[e("x"),e("y")]}c();d();f();c();d();f();function f0({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function iO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function sO(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}c();d();f();c();d();f();function R_(e){return e===void 0||e===1}function d0({scale:e,scaleX:t,scaleY:r}){return!R_(e)||!R_(t)||!R_(r)}function Ni(e){return d0(e)||N_(e)||e.z||e.rotate||e.rotateX||e.rotateY}function N_(e){return aO(e.x)||aO(e.y)}function aO(e){return e&&e!=="0%"}function Cd(e,t,r){let n=e-r,o=t*n;return r+o}function lO(e,t,r,n,o){return o!==void 0&&(e=Cd(e,o,n)),Cd(e,r,n)+t}function k_(e,t=0,r=1,n,o){e.min=lO(e.min,t,r,n,o),e.max=lO(e.max,t,r,n,o)}function L_(e,{x:t,y:r}){k_(e.x,t.translate,t.scale,t.originPoint),k_(e.y,r.translate,r.scale,r.originPoint)}function fO(e,t,r,n=!1){var o,i;let s=r.length;if(!s)return;t.x=t.y=1;let a,l;for(let u=0;u<s;u++)a=r[u],l=a.projectionDelta,((i=(o=a.instance)===null||o===void 0?void 0:o.style)===null||i===void 0?void 0:i.display)!=="contents"&&(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Va(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,L_(e,l)),n&&Ni(a.latestValues)&&Va(e,a.latestValues));t.x=uO(t.x),t.y=uO(t.y)}function uO(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ni(e,t){e.min=e.min+t,e.max=e.max+t}function cO(e,t,[r,n,o]){let i=t[o]!==void 0?t[o]:.5,s=bt(e.min,e.max,i);k_(e,t[r],t[n],s,t.scale)}var xq=["x","scaleX","originX"],Eq=["y","scaleY","originY"];function Va(e,t){cO(e.x,t,xq),cO(e.y,t,Eq)}function F_(e,t){return f0(sO(e.getBoundingClientRect(),t))}function dO(e,t,r){let n=F_(e,r),{scroll:o}=t;return o&&(ni(n.x,o.offset.x),ni(n.y,o.offset.y)),n}var Sq=new WeakMap,p0=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=er(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){if(this.visualElement.isPresent===!1)return;let n=a=>{this.stopAnimation(),r&&this.snapToCursor(fd(a,"page").point)},o=(a,l)=>{var u;let{drag:h,dragPropagation:p,onDragStart:y}=this.getProps();h&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=n_(h),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yo(w=>{var v,S;let I=this.getAxisMotionValue(w).get()||0;if(un.test(I)){let T=(S=(v=this.visualElement.projection)===null||v===void 0?void 0:v.layout)===null||S===void 0?void 0:S.layoutBox[w];T&&(I=Fr(T)*(parseFloat(I)/100))}this.originPoint[w]=I}),y==null||y(a,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(wt.Drag,!0))},i=(a,l)=>{let{dragPropagation:u,dragDirectionLock:h,onDirectionLock:p,onDrag:y}=this.getProps();if(!u&&!this.openGlobalLock)return;let{offset:w}=l;if(h&&this.currentDirection===null){this.currentDirection=Cq(w),this.currentDirection!==null&&(p==null||p(this.currentDirection));return}this.updateAxis("x",l.point,w),this.updateAxis("y",l.point,w),this.visualElement.render(),y==null||y(a,l)},s=(a,l)=>this.stop(a,l);this.panSession=new $u(t,{onSessionStart:n,onStart:o,onMove:i,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,r){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i==null||i(t,r)}cancel(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(wt.Drag,!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!h0(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=ZP(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&Di(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=JP(n.layoutBox,t):this.constraints=!1,this.elastic=rO(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&yo(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=tO(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Di(t))return!1;let n=t.current;Lr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=dO(n,o.root,this.visualElement.getTransformPagePoint()),s=QP(o.layout.layoutBox,i);if(r){let a=r(iO(s));this.hasMutatedConstraints=!!a,a&&(s=f0(a))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=yo(h=>{if(!h0(h,r,this.currentDirection))return;let p=(l==null?void 0:l[h])||{};s&&(p={min:0,max:0});let y=o?200:1e6,w=o?40:1e7,v=Q(Q({type:"inertia",velocity:n?t[h]:0,bounceStiffness:y,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10},i),p);return this.startAxisValueAnimation(h,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return n.start(Fu(t,n,0,r))}stopAnimation(){yo(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var r;let n="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[n];return o||this.visualElement.getValue(t,((r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])||0)}snapToCursor(t){yo(r=>{let{drag:n}=this.getProps();if(!h0(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:a}=o.layout.layoutBox[r];i.set(t[r]-bt(s,a,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;let{drag:r,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Di(n)||!o||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};yo(a=>{let l=this.getAxisMotionValue(a);if(l){let u=l.get();i[a]=eO({min:u,max:u},this.constraints[a])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",(t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),yo(a=>{if(!h0(a,r,null))return;let l=this.getAxisMotionValue(a),{min:u,max:h}=this.constraints[a];l.set(bt(u,h,i[a]))})}addListeners(){var t;if(!this.visualElement.current)return;Sq.set(this.visualElement,this);let r=this.visualElement.current,n=Ri(r,"pointerdown",u=>{let{drag:h,dragListener:p=!0}=this.getProps();h&&p&&this.start(u)}),o=()=>{let{dragConstraints:u}=this.getProps();Di(u)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&((t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout()),o();let a=Na(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h})=>{this.isDragging&&h&&(yo(p=>{let y=this.getAxisMotionValue(p);!y||(this.originPoint[p]+=u[p].translate,y.set(y.get()+u[p].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l==null||l()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=c0,dragMomentum:a=!0}=t;return ve(Q({},t),{drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a})}};function h0(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function Cq(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function hO(e){let{dragControls:t,visualElement:r}=e,n=Ms(()=>new p0(r));(0,$_.useEffect)(()=>t&&t.subscribe(n),[n,t]),(0,$_.useEffect)(()=>n.addListeners(),[n])}c();d();f();var Vu=ue(we(),1);function pO({onPan:e,onPanStart:t,onPanEnd:r,onPanSessionStart:n,visualElement:o}){let i=e||t||r||n,s=(0,Vu.useRef)(null),{transformPagePoint:a}=(0,Vu.useContext)(lu),l={onSessionStart:n,onStart:t,onMove:e,onEnd:(h,p)=>{s.current=null,r&&r(h,p)}};(0,Vu.useEffect)(()=>{s.current!==null&&s.current.updateHandlers(l)});function u(h){s.current=new $u(h,l,{transformPagePoint:a})}ka(o,"pointerdown",i&&u),xu(()=>s.current&&s.current.end())}var mO={pan:$o(pO),drag:$o(hO)};c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();function U_(e){return typeof e=="string"&&e.startsWith("var(--")}var j_=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Tq(e){let t=j_.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}var Pq=4;function B_(e,t,r=1){Lr(r<=Pq,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=Tq(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);return i?i.trim():U_(o)?B_(o,t,r+1):o}function gO(e,n,r){var t=Pe(n,[]);let o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:r};r&&(r=Q({},r)),e.values.forEach(i=>{let s=i.get();if(!U_(s))return;let a=B_(s,o);a&&i.set(a)});for(let i in t){let s=t[i];if(!U_(s))continue;let a=B_(s,o);!a||(t[i]=a,r&&r[i]===void 0&&(r[i]=s))}return{target:t,transitionEnd:r}}c();d();f();var Oq=new Set(["width","height","top","left","right","bottom","x","y"]),_O=e=>Oq.has(e),Dq=e=>Object.keys(e).some(_O),xO=(e,t)=>{e.set(t,!1),e.set(t)},m0=e=>e===go||e===Be,yO;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(yO||(yO={}));var vO=(e,t)=>parseFloat(e.split(", ")[t]),wO=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/);if(o)return vO(o[1],t);{let i=n.match(/^matrix\((.+)\)$/);return i?vO(i[1],e):0}},Iq=new Set(["x","y","z"]),Aq=hu.filter(e=>!Iq.has(e));function Mq(e){let t=[];return Aq.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}var bO={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:wO(4,13),y:wO(5,14)},Rq=(e,t,r)=>{let n=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(u=>{a[u]=bO[u](n,i)}),t.render();let l=t.measureViewportBox();return r.forEach(u=>{let h=t.getValue(u);xO(h,a[u]),e[u]=bO[u](l,i)}),e},Nq=(e,t,r={},n={})=>{t=Q({},t),n=Q({},n);let o=Object.keys(t).filter(_O),i=[],s=!1,a=[];if(o.forEach(l=>{let u=e.getValue(l);if(!e.hasValue(l))return;let h=r[l],p=Au(h),y=t[l],w;if(Ra(y)){let v=y.length,S=y[0]===null?1:0;h=y[S],p=Au(h);for(let I=S;I<v;I++)w?Lr(Au(y[I])===w,"All keyframes must be of the same type"):(w=Au(y[I]),Lr(w===p||m0(p)&&m0(w),"Keyframes must be of the same dimension as the current value"))}else w=Au(y);if(p!==w)if(m0(p)&&m0(w)){let v=u.get();typeof v=="string"&&u.set(parseFloat(v)),typeof y=="string"?t[l]=parseFloat(y):Array.isArray(y)&&w===Be&&(t[l]=y.map(parseFloat))}else(p==null?void 0:p.transform)&&(w==null?void 0:w.transform)&&(h===0||y===0)?h===0?u.set(w.transform(h)):t[l]=p.transform(y):(s||(i=Mq(e),s=!0),a.push(l),n[l]=n[l]!==void 0?n[l]:t[l],xO(u,y))}),a.length){let l=a.indexOf("height")>=0?window.pageYOffset:null,u=Rq(t,e,a);return i.length&&i.forEach(([h,p])=>{e.getValue(h).set(p)}),e.render(),mo&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:n}}else return{target:t,transitionEnd:n}};function EO(e,t,r,n){return Dq(t)?Nq(e,t,r,n):{target:t,transitionEnd:n}}var SO=(e,t,r,n)=>{let o=gO(e,t,n);return t=o.target,n=o.transitionEnd,EO(e,t,r,n)};c();d();f();var OO=ue(we(),1);c();d();f();c();d();f();var Td={current:null},g0={current:!1};function CO(){if(g0.current=!0,!!mo)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Td.current=e.matches;e.addListener(t),t()}else Td.current=!1}c();d();f();function TO(e,t,r){let{willChange:n}=t;for(let o in t){let i=t[o],s=r[o];if(Mr(i))e.addValue(o,i),Fa(n)&&n.add(o);else if(Mr(s))e.addValue(o,ti(i,{owner:e})),Fa(n)&&n.remove(o);else if(s!==i)if(e.hasValue(o)){let a=e.getValue(o);!a.hasAnimated&&a.set(i)}else{let a=e.getStaticValue(o);e.addValue(o,ti(a!==void 0?a:i))}}for(let o in r)t[o]===void 0&&e.removeValue(o);return t}var DO=Object.keys(As),kq=DO.length,PO=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],y0=class{constructor({parent:t,props:r,reducedMotionConfig:n,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{!this.current||(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Wt.render(this.render,!1,!0);let{latestValues:s,renderState:a}=o;this.latestValues=s,this.baseTarget=Q({},s),this.initialValues=r.initial?Q({},s):{},this.renderState=a,this.parent=t,this.props=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=Aa(r),this.isVariantNode=Im(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let h=this.scrapeMotionValuesFromProps(r),{willChange:l}=h,u=Pe(h,["willChange"]);for(let p in u){let y=u[p];s[p]!==void 0&&Mr(y)&&(y.set(s[p],!1),Fa(l)&&l.add(p))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var r;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(r=this.parent)===null||r===void 0?void 0:r.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),g0.current||CO(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Td.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,r,n;(t=this.projection)===null||t===void 0||t.unmount(),Gn.update(this.notifyUpdate),Gn.render(this.render),this.valueSubscriptions.forEach(o=>o()),(r=this.removeFromVariantTree)===null||r===void 0||r.call(this),(n=this.parent)===null||n===void 0||n.children.delete(this);for(let o in this.events)this.events[o].clear();this.current=null}bindToMotionValue(t,r){let n=On.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Wt.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,r,n,o,i,s){let a=[];Eu!=="production"&&n&&r&&Lr(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let l=0;l<kq;l++){let u=DO[l],{isEnabled:h,Component:p}=As[u];h(t)&&p&&a.push((0,OO.createElement)(p,ve(Q({key:u},t),{visualElement:this})))}if(!this.projection&&i){this.projection=new i(o,this.latestValues,this.parent&&this.parent.projection);let{layoutId:l,layout:u,drag:h,dragConstraints:p,layoutScroll:y}=t;this.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:Boolean(h)||p&&Di(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,layoutScroll:y})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):er()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let r=0;r<PO.length;r++){let n=PO[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let o=t["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=TO(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var r;return(r=this.props.variants)===null||r===void 0?void 0:r[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:(t=this.parent)===null||t===void 0?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var r,n;if(t)return(r=this.parent)===null||r===void 0?void 0:r.getVariantContext();if(!this.isControllingVariants){let i=((n=this.parent)===null||n===void 0?void 0:n.getVariantContext())||{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}let o={};for(let i=0;i<Lq;i++){let s=IO[i],a=this.props[s];(Ii(a)||a===!1)&&(o[s]=a)}return o}addVariantChild(t){var r;let n=this.getClosestVariantNode();if(n)return(r=n.variantChildren)===null||r===void 0||r.add(t),()=>n.variantChildren.delete(t)}addValue(t,r){this.hasValue(t)&&this.removeValue(t),this.values.set(t,r),this.latestValues[t]=r.get(),this.bindToMotionValue(t,r)}removeValue(t){var r;this.values.delete(t),(r=this.valueSubscriptions.get(t))===null||r===void 0||r(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=ti(r,{owner:this}),this.addValue(t,n)),n}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;let{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(r=bu(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&o!==void 0)return o;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Mr(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new $s),this.events[t].add(r)}notify(t,...r){var n;(n=this.events[t])===null||n===void 0||n.notify(...r)}},IO=["initial",...l0],Lq=IO.length;var zu=class extends y0{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){var n;return(n=t.style)===null||n===void 0?void 0:n[r]}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance(s,{transformValues:o},i){var a=s,{transition:t,transitionEnd:r}=a,n=Pe(a,["transition","transitionEnd"]);let l=tP(n,t||{},this);if(o&&(r&&(r=o(r)),n&&(n=o(n)),l&&(l=o(l))),i){eP(this,n,l);let u=SO(this,n,l,r);r=u.transitionEnd,n=u.target}return Q({transition:t,transitionEnd:r},n)}};function Fq(e){return window.getComputedStyle(e)}var v0=class extends zu{readValueFromInstance(t,r){if(On.has(r)){let n=Du(r);return n&&n.default||0}else{let n=Fq(t),o=(km(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return F_(t,r)}build(t,r,n,o){pu(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t){return wu(t)}renderInstance(t,r,n,o){Um(t,r,n,o)}};c();d();f();var w0=class extends zu{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){var n;return On.has(r)?((n=Du(r))===null||n===void 0?void 0:n.default)||0:(r=Bm.has(r)?r:vu(r),t.getAttribute(r))}measureInstanceViewportBox(){return er()}scrapeMotionValuesFromProps(t){return Vm(t)}build(t,r,n,o){gu(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){jm(t,r,n,o)}mount(t){this.isSVGTag=yu(t.tagName),super.mount(t)}};var AO=(e,t)=>fu(e)?new w0(t,{enableHardwareAcceleration:!1}):new v0(t,{enableHardwareAcceleration:!0});c();d();f();c();d();f();var Ku=ue(we(),1);c();d();f();function MO(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Hu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Be.test(e))e=parseFloat(e);else return e;let r=MO(e,t.target.x),n=MO(e,t.target.y);return`${r}% ${n}%`}};c();d();f();var RO="_$css",NO={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=e.includes("var("),i=[];o&&(e=e.replace(j_,w=>(i.push(w),RO)));let s=cn.parse(e);if(s.length>5)return n;let a=cn.createTransformer(e),l=typeof s[0]!="number"?1:0,u=r.x.scale*t.x,h=r.y.scale*t.y;s[0+l]/=u,s[1+l]/=h;let p=bt(u,h,.5);typeof s[2+l]=="number"&&(s[2+l]/=p),typeof s[3+l]=="number"&&(s[3+l]/=p);let y=a(s);if(o){let w=0;y=y.replace(RO,()=>{let v=i[w];return w++,v})}return y}};var V_=class extends Ku.default.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;rT($q),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions(ve(Q({},i.options),{onExitComplete:()=>this.safeToRemove()}))),Rs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||Wt.postRender(()=>{var a;!((a=s.getStack())===null||a===void 0)&&a.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r!=null&&r.group&&r.group.remove(o),n!=null&&n.deregister&&n.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t==null||t()}render(){return null}};function kO(e){let[t,r]=Wm(),n=(0,Ku.useContext)(cu);return Ku.default.createElement(V_,ve(Q({},e),{layoutGroup:n,switchLayoutGroup:(0,Ku.useContext)(Rm),isPresent:t,safeToRemove:r}))}var $q={borderRadius:ve(Q({},Hu),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Hu,borderTopRightRadius:Hu,borderBottomLeftRadius:Hu,borderBottomRightRadius:Hu,boxShadow:NO};var LO={measureLayout:kO};c();d();f();c();d();f();c();d();f();function FO(e,t,r={}){let n=Mr(e)?e:ti(e);return n.start(Fu("",n,t,r)),{stop:()=>n.stop(),isAnimating:()=>n.isAnimating()}}c();d();f();var jO=["TopLeft","TopRight","BottomLeft","BottomRight"],Uq=jO.length,$O=e=>typeof e=="string"?parseFloat(e):e,UO=e=>typeof e=="number"||Be.test(e);function VO(e,t,r,n,o,i){o?(e.opacity=bt(0,r.opacity!==void 0?r.opacity:1,Bq(n)),e.opacityExit=bt(t.opacity!==void 0?t.opacity:1,0,jq(n))):i&&(e.opacity=bt(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<Uq;s++){let a=`border${jO[s]}Radius`,l=BO(t,a),u=BO(r,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||UO(l)===UO(u)?(e[a]=Math.max(bt($O(l),$O(u),n),0),(un.test(u)||un.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||r.rotate)&&(e.rotate=bt(t.rotate||0,r.rotate||0,n))}function BO(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var Bq=zO(0,.5,wd),jq=zO(.5,.95,Lu);function zO(e,t,r){return n=>n<e?0:n>t?1:r($a(e,t,n))}c();d();f();function HO(e,t){e.min=t.min,e.max=t.max}function vo(e,t){HO(e.x,t.x),HO(e.y,t.y)}c();d();f();function KO(e,t,r,n,o){return e-=t,e=Cd(e,1/r,n),o!==void 0&&(e=Cd(e,1/o,n)),e}function Vq(e,t=0,r=1,n=.5,o,i=e,s=e){if(un.test(t)&&(t=parseFloat(t),t=bt(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=bt(i.min,i.max,n);e===i&&(a-=t),e.min=KO(e.min,t,r,a,o),e.max=KO(e.max,t,r,a,o)}function qO(e,t,[r,n,o],i,s){Vq(e,t[r],t[n],t[o],t.scale,i,s)}var zq=["x","scaleX","originX"],Hq=["y","scaleY","originY"];function z_(e,t,r,n){qO(e.x,t,zq,r==null?void 0:r.x,n==null?void 0:n.x),qO(e.y,t,Hq,r==null?void 0:r.y,n==null?void 0:n.y)}c();d();f();function GO(e){return e.translate===0&&e.scale===1}function H_(e){return GO(e.x)&&GO(e.y)}function K_(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function q_(e){return Fr(e.x)/Fr(e.y)}c();d();f();var b0=class{constructor(){this.members=[]}add(t){Cu(this.members,t),t.scheduleRender()}remove(t){if(Tu(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){var n;let o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,r&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var r,n,o,i,s;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(s=(o=t.resumingFrom)===null||o===void 0?void 0:(i=o.options).onExitComplete)===null||s===void 0||s.call(i)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};c();d();f();function G_(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:l,rotateX:u,rotateY:h}=r;l&&(n+=`rotate(${l}deg) `),u&&(n+=`rotateX(${u}deg) `),h&&(n+=`rotateY(${h}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(s!==1||a!==1)&&(n+=`scale(${s}, ${a})`),n||"none"}c();d();f();c();d();f();var WO=(e,t)=>e.depth-t.depth;var _0=class{constructor(){this.children=[],this.isDirty=!1}add(t){Cu(this.children,t),this.isDirty=!0}remove(t){Tu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(WO),this.isDirty=!1,this.children.forEach(t)}};var YO=["","X","Y","Z"],XO=1e3,Kq=0;function x0({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s,a={},l=t==null?void 0:t()){this.id=Kq++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Wq),this.nodes.forEach(Zq),this.nodes.forEach(Jq)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=s,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new _0)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new $s),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){let l=this.eventHandlers.get(s);l==null||l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}registerPotentialNode(s,a){this.potentialNodes.set(s,a)}mount(s,a=!1){var l;if(this.instance)return;this.isSVG=s instanceof SVGElement&&s.tagName!=="svg",this.instance=s;let{layoutId:u,layout:h,visualElement:p}=this.options;if(p&&!p.current&&p.mount(s),this.root.nodes.add(this),(l=this.parent)===null||l===void 0||l.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),a&&(h||u)&&(this.isLayoutDirty=!0),e){let y,w=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=i0(w,250),Rs.hasAnimatedSinceResize&&(Rs.hasAnimatedSinceResize=!1,this.nodes.forEach(JO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&p&&(u||h)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:w,hasRelativeTargetChanged:v,layout:S})=>{var I,T,O,M,L;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let G=(T=(I=this.options.transition)!==null&&I!==void 0?I:p.getDefaultTransition())!==null&&T!==void 0?T:nG,{onLayoutAnimationStart:J,onLayoutAnimationComplete:V}=p.getProps(),q=!this.targetLayout||!K_(this.targetLayout,S)||v,ce=!w&&v;if(((O=this.resumeFrom)===null||O===void 0?void 0:O.instance)||ce||w&&(q||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,ce);let me=ve(Q({},a0(G,"layout")),{onPlay:J,onComplete:V});p.shouldReduceMotion&&(me.delay=0,me.type=!1),this.startAnimation(me)}else!w&&this.animationProgress===0&&JO(this),this.isLead()&&((L=(M=this.options).onExitComplete)===null||L===void 0||L.call(M));this.targetLayout=S})}unmount(){var s,a;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(s=this.getStack())===null||s===void 0||s.remove(this),(a=this.parent)===null||a===void 0||a.children.delete(this),this.instance=void 0,Gn.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var s;return this.isAnimationBlocked||((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimationBlocked())||!1}startUpdate(){var s;this.isUpdateBlocked()||(this.isUpdating=!0,(s=this.nodes)===null||s===void 0||s.forEach(Qq),this.animationId++)}willUpdate(s=!0){var a,l,u;if(this.root.isUpdateBlocked()){(l=(a=this.options).onExitComplete)===null||l===void 0||l.call(a);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let w=0;w<this.path.length;w++){let v=this.path[w];v.shouldResetTransform=!0,v.updateScroll("snapshot")}let{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;let y=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ZO);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(oG),this.potentialNodes.clear()),this.nodes.forEach(Xq),this.nodes.forEach(qq),this.nodes.forEach(Gq),this.clearAllSnapshots(),Xm.update(),Xm.preRender(),Xm.render())}clearAllSnapshots(){this.nodes.forEach(Yq),this.sharedNodes.forEach(eG)}scheduleUpdateProjection(){Wt.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Wt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var s;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=er(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),(s=this.options.visualElement)===null||s===void 0||s.notify("LayoutMeasure",this.layout.layoutBox,a==null?void 0:a.layoutBox)}updateScroll(s="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){var s;if(!o)return;let a=this.isLayoutDirty||this.shouldResetTransform,l=this.projectionDelta&&!H_(this.projectionDelta),u=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,h=u==null?void 0:u(this.latestValues,""),p=h!==this.prevTransformTemplateValue;a&&(l||Ni(this.latestValues)||p)&&(o(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let a=this.measurePageBox(),l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),iG(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return er();let a=s.measureViewportBox(),{scroll:l}=this.root;return l&&(ni(a.x,l.offset.x),ni(a.y,l.offset.y)),a}removeElementScroll(s){let a=er();vo(a,s);for(let l=0;l<this.path.length;l++){let u=this.path[l],{scroll:h,options:p}=u;if(u!==this.root&&h&&p.layoutScroll){if(h.isRoot){vo(a,s);let{scroll:y}=this.root;y&&(ni(a.x,-y.offset.x),ni(a.y,-y.offset.y))}ni(a.x,h.offset.x),ni(a.y,h.offset.y)}}return a}applyTransform(s,a=!1){let l=er();vo(l,s);for(let u=0;u<this.path.length;u++){let h=this.path[u];!a&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Va(l,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),Ni(h.latestValues)&&Va(l,h.latestValues)}return Ni(this.latestValues)&&Va(l,this.latestValues),l}removeTransform(s){var a;let l=er();vo(l,s);for(let u=0;u<this.path.length;u++){let h=this.path[u];if(!h.instance||!Ni(h.latestValues))continue;d0(h.latestValues)&&h.updateSnapshot();let p=er(),y=h.measurePageBox();vo(p,y),z_(l,h.latestValues,(a=h.snapshot)===null||a===void 0?void 0:a.layoutBox,p)}return Ni(this.latestValues)&&z_(l,this.latestValues),l}setTargetDelta(s){this.targetDelta=s,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(s){this.options=ve(Q(Q({},this.options),s),{crossfade:s.crossfade!==void 0?s.crossfade:!0})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var s;let a=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:l,layoutId:u}=this.options;if(!(!this.layout||!(l||u))){if(!this.targetDelta&&!this.relativeTarget){let h=this.getClosestProjectingParent();h&&h.layout?(this.relativeParent=h,this.relativeTarget=er(),this.relativeTargetOrigin=er(),Bu(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),vo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=er(),this.targetWithTransforms=er()),this.relativeTarget&&this.relativeTargetOrigin&&((s=this.relativeParent)===null||s===void 0?void 0:s.target)?qP(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):vo(this.target,this.layout.layoutBox),L_(this.target,this.targetDelta)):vo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let h=this.getClosestProjectingParent();h&&Boolean(h.resumingFrom)===Boolean(this.resumingFrom)&&!h.options.layoutScroll&&h.target?(this.relativeParent=h,this.relativeTarget=er(),this.relativeTargetOrigin=er(),Bu(this.relativeTargetOrigin,this.target,h.target),vo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||d0(this.parent.latestValues)||N_(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var s;let{isProjectionDirty:a,isTransformDirty:l}=this;this.isProjectionDirty=this.isTransformDirty=!1;let u=this.getLead(),h=Boolean(this.resumingFrom)||this!==u,p=!0;if(a&&(p=!1),h&&l&&(p=!1),p)return;let{layout:y,layoutId:w}=this.options;if(this.isTreeAnimating=Boolean(((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||w))return;vo(this.layoutCorrected,this.layout.layoutBox),fO(this.layoutCorrected,this.treeScale,this.path,h);let{target:v}=u;if(!v)return;this.projectionDelta||(this.projectionDelta=ju(),this.projectionDeltaWithTransform=ju());let S=this.treeScale.x,I=this.treeScale.y,T=this.projectionTransform;Uu(this.projectionDelta,this.layoutCorrected,v,this.latestValues),this.projectionTransform=G_(this.projectionDelta,this.treeScale),(this.projectionTransform!==T||this.treeScale.x!==S||this.treeScale.y!==I)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a,l,u;(l=(a=this.options).scheduleRender)===null||l===void 0||l.call(a),s&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,a=!1){var l,u;let h=this.snapshot,p=(h==null?void 0:h.latestValues)||{},y=Q({},this.latestValues),w=ju();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!a;let v=er(),S=(h==null?void 0:h.source)!==((l=this.layout)===null||l===void 0?void 0:l.source),I=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,T=Boolean(S&&!I&&this.options.crossfade===!0&&!this.path.some(rG));this.animationProgress=0,this.mixTargetDelta=O=>{var M;let L=O/1e3;QO(w.x,s.x,L),QO(w.y,s.y,L),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&((M=this.relativeParent)===null||M===void 0?void 0:M.layout)&&(Bu(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),tG(this.relativeTarget,this.relativeTargetOrigin,v,L)),S&&(this.animationValues=y,VO(y,p,this.latestValues,L,T,I)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(0)}startAnimation(s){var a,l;this.notifyListeners("animationStart"),(a=this.currentAnimation)===null||a===void 0||a.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Gn.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Wt.update(()=>{Rs.hasAnimatedSinceResize=!0,this.currentAnimation=FO(0,XO,ve(Q({},s),{onUpdate:u=>{var h;this.mixTargetDelta(u),(h=s.onUpdate)===null||h===void 0||h.call(s,u)},onComplete:()=>{var u;(u=s.onComplete)===null||u===void 0||u.call(s),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var s;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(s=this.getStack())===null||s===void 0||s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var s;this.currentAnimation&&((s=this.mixTargetDelta)===null||s===void 0||s.call(this,XO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:u,latestValues:h}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&rD(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||er();let p=Fr(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;let y=Fr(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}vo(a,l),Va(a,h),Uu(this.projectionDeltaWithTransform,this.layoutCorrected,a,h)}}registerSharedNode(s,a){var l,u,h;this.sharedNodes.has(s)||this.sharedNodes.set(s,new b0),this.sharedNodes.get(s).add(a),a.promote({transition:(l=a.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(h=(u=a.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||h===void 0?void 0:h.call(u,a)})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;let u={};for(let h=0;h<YO.length;h++){let p="rotate"+YO[h];l[p]&&(u[p]=l[p],s.setStaticValue(p,0))}s==null||s.render();for(let h in u)s.setStaticValue(h,u[h]);s.scheduleRender()}getProjectionStyles(s={}){var a,l,u;let h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};let p=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=_u(s.pointerEvents)||"",h.transform=p?p(this.latestValues,""):"none",h;let y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){let I={};return this.options.layoutId&&(I.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,I.pointerEvents=_u(s.pointerEvents)||""),this.hasProjected&&!Ni(this.latestValues)&&(I.transform=p?p({},""):"none",this.hasProjected=!1),I}let w=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=G_(this.projectionDeltaWithTransform,this.treeScale,w),p&&(h.transform=p(w,h.transform));let{x:v,y:S}=this.projectionDelta;h.transformOrigin=`${v.origin*100}% ${S.origin*100}% 0`,y.animationValues?h.opacity=y===this?(u=(l=w.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:h.opacity=y===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(let I in du){if(w[I]===void 0)continue;let{correct:T,applyTo:O}=du[I],M=T(w[I],y);if(O){let L=O.length;for(let G=0;G<L;G++)h[O[G]]=M}else h[I]=M}return this.options.layoutId&&(h.pointerEvents=y===this?_u(s.pointerEvents)||"":"none"),h}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(ZO),this.root.sharedNodes.clear()}}}function qq(e){e.updateLayout()}function Gq(e){var t,r,n;let o=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=e.layout,{animationType:a}=e.options,l=o.source!==e.layout.source;a==="size"?yo(w=>{let v=l?o.measuredBox[w]:o.layoutBox[w],S=Fr(v);v.min=i[w].min,v.max=v.min+S}):rD(a,o.layoutBox,i)&&yo(w=>{let v=l?o.measuredBox[w]:o.layoutBox[w],S=Fr(i[w]);v.max=v.min+S});let u=ju();Uu(u,i,o.layoutBox);let h=ju();l?Uu(h,e.applyTransform(s,!0),o.measuredBox):Uu(h,i,o.layoutBox);let p=!H_(u),y=!1;if(!e.resumeFrom){let w=e.getClosestProjectingParent();if(w&&!w.resumeFrom){let{snapshot:v,layout:S}=w;if(v&&S){let I=er();Bu(I,o.layoutBox,v.layoutBox);let T=er();Bu(T,i,S.layoutBox),K_(I,T)||(y=!0)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:o,delta:h,layoutDelta:u,hasLayoutChanged:p,hasRelativeTargetChanged:y})}else e.isLead()&&((n=(r=e.options).onExitComplete)===null||n===void 0||n.call(r));e.options.transition=void 0}function Wq(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function Yq(e){e.clearSnapshot()}function ZO(e){e.clearMeasurements()}function Xq(e){let{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function JO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Zq(e){e.resolveTargetDelta()}function Jq(e){e.calcProjection()}function Qq(e){e.resetRotation()}function eG(e){e.removeLeadSnapshot()}function QO(e,t,r){e.translate=bt(t.translate,0,r),e.scale=bt(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function eD(e,t,r,n){e.min=bt(t.min,r.min,n),e.max=bt(t.max,r.max,n)}function tG(e,t,r,n){eD(e.x,t.x,r.x,n),eD(e.y,t.y,r.y,n)}function rG(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var nG={duration:.45,ease:[.4,0,.1,1]};function oG(e,t){let r=e.root;for(let i=e.path.length-1;i>=0;i--)if(Boolean(e.path[i].instance)){r=e.path[i];break}let o=(r&&r!==e.root?r.instance:document).querySelector(`[data-projection-id="${t}"]`);o&&e.mount(o,!0)}function tD(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function iG(e){tD(e.x),tD(e.y)}function rD(e,t,r){return e==="position"||e==="preserve-aspect"&&!u0(q_(t),q_(r),.2)}c();d();f();var nD=x0({attachResizeListener:(e,t)=>Na(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var W_={current:void 0},oD=x0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!W_.current){let e=new nD(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),W_.current=e}return W_.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")});var sG=Q(Q(Q(Q({},$P),VT),mO),LO),Tt=eT((e,t)=>CT(e,t,sG,AO,oD));c();d();f();var ki=ue(we(),1),wo=ue(we(),1);c();d();f();var Pd=ue(we(),1);c();d();f();var iD=ue(we(),1);function E0(){let e=(0,iD.useRef)(!1);return Ds(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function sD(){let e=E0(),[t,r]=(0,Pd.useState)(0),n=(0,Pd.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,Pd.useCallback)(()=>Wt.postRender(n),[n]),t]}c();d();f();var Od=ue(we(),1),Dd=ue(we(),1);c();d();f();var qu=ue(we(),1),za=ue(we(),1),Y_=class extends qu.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function aD({children:e,isPresent:t}){let r=(0,za.useId)(),n=(0,za.useRef)(null),o=(0,za.useRef)({width:0,height:0,top:0,left:0});return(0,za.useInsertionEffect)(()=>{let{width:i,height:s,top:a,left:l}=o.current;if(t||!n.current||!i||!s)return;n.current.dataset.motionPopId=r;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
25
25
  [data-motion-pop-id="${r}"] {