From b0df724fa14f6a9e364562027940a1f0e444028e Mon Sep 17 00:00:00 2001 From: Ian Harvey Date: Wed, 1 May 2024 15:23:56 -0400 Subject: [PATCH] Updates --- 404.html | 46 +++++++++++++++ CNAME | 1 + assets/index-4e86577d.js | 115 ++++++++++++++++++++++++++++++++++++++ assets/index-7c2e5380.css | 10 ++++ deploy/index.html | 46 +++++++++++++++ favicon.ico | Bin 0 -> 15086 bytes index.html | 46 +++++++++++++++ manifest.json | 15 +++++ 8 files changed, 279 insertions(+) create mode 100644 404.html create mode 100644 CNAME create mode 100644 assets/index-4e86577d.js create mode 100644 assets/index-7c2e5380.css create mode 100644 deploy/index.html create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 manifest.json diff --git a/404.html b/404.html new file mode 100644 index 0000000..92b373d --- /dev/null +++ b/404.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + Ajna by Example + + + + + + + + + + +
+ + + diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..0aa98f8 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +solidity-by-example.org \ No newline at end of file diff --git a/assets/index-4e86577d.js b/assets/index-4e86577d.js new file mode 100644 index 0000000..ac257c6 --- /dev/null +++ b/assets/index-4e86577d.js @@ -0,0 +1,115 @@ +function gf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();var dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ms={exports:{}},ml={},Ds={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var or=Symbol.for("react.element"),wf=Symbol.for("react.portal"),Sf=Symbol.for("react.fragment"),kf=Symbol.for("react.strict_mode"),xf=Symbol.for("react.profiler"),_f=Symbol.for("react.provider"),Ef=Symbol.for("react.context"),Cf=Symbol.for("react.forward_ref"),jf=Symbol.for("react.suspense"),Nf=Symbol.for("react.memo"),Pf=Symbol.for("react.lazy"),cu=Symbol.iterator;function Rf(e){return e===null||typeof e!="object"?null:(e=cu&&e[cu]||e["@@iterator"],typeof e=="function"?e:null)}var As={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Us=Object.assign,Bs={};function fn(e,t,n){this.props=e,this.context=t,this.refs=Bs,this.updater=n||As}fn.prototype.isReactComponent={};fn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};fn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function $s(){}$s.prototype=fn.prototype;function di(e,t,n){this.props=e,this.context=t,this.refs=Bs,this.updater=n||As}var pi=di.prototype=new $s;pi.constructor=di;Us(pi,fn.prototype);pi.isPureReactComponent=!0;var fu=Array.isArray,Ws=Object.prototype.hasOwnProperty,hi={current:null},Vs={key:!0,ref:!0,__self:!0,__source:!0};function Hs(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Ws.call(t,r)&&!Vs.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,J=P[Q];if(0>>1;Ql(Dl,T))ktl(fr,Dl)?(P[Q]=fr,P[kt]=T,Q=kt):(P[Q]=Dl,P[St]=T,Q=St);else if(ktl(fr,T))P[Q]=fr,P[kt]=T,Q=kt;else break e}}return I}function l(P,I){var T=P.sortIndex-I.sortIndex;return T!==0?T:P.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],d=1,p=null,m=3,v=!1,w=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var I=n(a);I!==null;){if(I.callback===null)r(a);else if(I.startTime<=P)r(a),I.sortIndex=I.expirationTime,t(s,I);else break;I=n(a)}}function y(P){if(S=!1,h(P),!w)if(n(s)!==null)w=!0,Fl(C);else{var I=n(a);I!==null&&Ml(y,I.startTime-P)}}function C(P,I){w=!1,S&&(S=!1,f(R),R=-1),v=!0;var T=m;try{for(h(I),p=n(s);p!==null&&(!(p.expirationTime>I)||P&&!Pe());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,m=p.priorityLevel;var J=Q(p.expirationTime<=I);I=e.unstable_now(),typeof J=="function"?p.callback=J:p===n(s)&&r(s),h(I)}else r(s);p=n(s)}if(p!==null)var cr=!0;else{var St=n(a);St!==null&&Ml(y,St.startTime-I),cr=!1}return cr}finally{p=null,m=T,v=!1}}var x=!1,j=null,R=-1,U=5,z=-1;function Pe(){return!(e.unstable_now()-zP||125Q?(P.sortIndex=T,t(a,P),n(s)===null&&P===n(a)&&(S?(f(R),R=-1):S=!0,Ml(y,T-Q))):(P.sortIndex=J,t(s,P),w||v||(w=!0,Fl(C))),P},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(P){var I=m;return function(){var T=m;m=I;try{return P.apply(this,arguments)}finally{m=T}}}})(Zs);Gs.exports=Zs;var $f=Gs.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Wf=_,we=$f;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=Object.prototype.hasOwnProperty,Vf=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pu={},hu={};function Hf(e){return vo.call(hu,e)?!0:vo.call(pu,e)?!1:Vf.test(e)?hu[e]=!0:(pu[e]=!0,!1)}function Qf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Kf(e,t,n,r){if(t===null||typeof t>"u"||Qf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ce(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var vi=/[\-:]([a-z])/g;function yi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vi,yi);ne[t]=new ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vi,yi);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vi,yi);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function gi(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Bl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nn(e):""}function Xf(e){switch(e.tag){case 5:return Nn(e.type);case 16:return Nn("Lazy");case 13:return Nn("Suspense");case 19:return Nn("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function So(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 Bt:return"Fragment";case Ut:return"Portal";case yo:return"Profiler";case wi:return"StrictMode";case go:return"Suspense";case wo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bs:return(e.displayName||"Context")+".Consumer";case qs:return(e._context.displayName||"Context")+".Provider";case Si:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ki:return t=e.displayName||null,t!==null?t:So(e.type)||"Memo";case et:t=e._payload,e=e._init;try{return So(e(t))}catch{}}return null}function Yf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return So(t);case 8:return t===wi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ta(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gf(e){var t=ta(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mr(e){e._valueTracker||(e._valueTracker=Gf(e))}function na(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ta(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ko(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ra(e,t){t=t.checked,t!=null&&gi(e,"checked",t,!1)}function xo(e,t){ra(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_o(e,t.type,n):t.hasOwnProperty("defaultValue")&&_o(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _o(e,t,n){(t!=="number"||Vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pn=Array.isArray;function Jt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=vr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $n(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Zf=["Webkit","ms","Moz","O"];Object.keys(Tn).forEach(function(e){Zf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tn[t]=Tn[e]})});function ua(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}function sa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ua(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Jf=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jo(e,t){if(t){if(Jf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function No(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Po=null;function xi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ro=null,qt=null,bt=null;function Su(e){if(e=sr(e)){if(typeof Ro!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Sl(t),Ro(e.stateNode,e.type,t))}}function aa(e){qt?bt?bt.push(e):bt=[e]:qt=e}function ca(){if(qt){var e=qt,t=bt;if(bt=qt=null,Su(e),t)for(e=0;e>>=0,e===0?32:31-(sd(e)/ad|0)|0}var yr=64,gr=4194304;function Rn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Rn(u):(o&=i,o!==0&&(r=Rn(o)))}else i=n&~l,i!==0?r=Rn(i):o!==0&&(r=Rn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function pd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zn),Ru=String.fromCharCode(32),Iu=!1;function Ia(e,t){switch(e){case"keyup":return $d.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ta(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $t=!1;function Vd(e,t){switch(e){case"compositionend":return Ta(t);case"keypress":return t.which!==32?null:(Iu=!0,Ru);case"textInput":return e=t.data,e===Ru&&Iu?null:e;default:return null}}function Hd(e,t){if($t)return e==="compositionend"||!Ii&&Ia(e,t)?(e=Pa(),Or=Ni=lt=null,$t=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ou(n)}}function Fa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ma(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vr(e.document)}return t}function Ti(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bd(e){var t=Ma(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Fa(n.ownerDocument.documentElement,n)){if(r!==null&&Ti(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Fu(n,o);var i=Fu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wt=null,Fo=null,Fn=null,Mo=!1;function Mu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mo||Wt==null||Wt!==Vr(r)||(r=Wt,"selectionStart"in r&&Ti(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fn&&Xn(Fn,r)||(Fn=r,r=Zr(Fo,"onSelect"),0Qt||(e.current=Wo[Qt],Wo[Qt]=null,Qt--)}function M(e,t){Qt++,Wo[Qt]=e.current,e.current=t}var vt={},ie=gt(vt),pe=gt(!1),It=vt;function ln(e,t){var n=e.type.contextTypes;if(!n)return vt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function qr(){A(pe),A(ie)}function Vu(e,t,n){if(ie.current!==vt)throw Error(k(168));M(ie,t),M(pe,n)}function Qa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,Yf(e)||"Unknown",l));return V({},n,r)}function br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vt,It=ie.current,M(ie,e),M(pe,pe.current),!0}function Hu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Qa(e,t,It),r.__reactInternalMemoizedMergedChildContext=e,A(pe),A(ie),M(ie,e)):A(pe),M(pe,n)}var Ve=null,kl=!1,to=!1;function Ka(e){Ve===null?Ve=[e]:Ve.push(e)}function fp(e){kl=!0,Ka(e)}function wt(){if(!to&&Ve!==null){to=!0;var e=0,t=F;try{var n=Ve;for(F=1;e>=i,l-=i,He=1<<32-Oe(t)+l|n<R?(U=j,j=null):U=j.sibling;var z=m(f,j,h[R],y);if(z===null){j===null&&(j=U);break}e&&j&&z.alternate===null&&t(f,j),c=o(z,c,R),x===null?C=z:x.sibling=z,x=z,j=U}if(R===h.length)return n(f,j),B&&xt(f,R),C;if(j===null){for(;RR?(U=j,j=null):U=j.sibling;var Pe=m(f,j,z.value,y);if(Pe===null){j===null&&(j=U);break}e&&j&&Pe.alternate===null&&t(f,j),c=o(Pe,c,R),x===null?C=Pe:x.sibling=Pe,x=Pe,j=U}if(z.done)return n(f,j),B&&xt(f,R),C;if(j===null){for(;!z.done;R++,z=h.next())z=p(f,z.value,y),z!==null&&(c=o(z,c,R),x===null?C=z:x.sibling=z,x=z);return B&&xt(f,R),C}for(j=r(f,j);!z.done;R++,z=h.next())z=v(j,f,R,z.value,y),z!==null&&(e&&z.alternate!==null&&j.delete(z.key===null?R:z.key),c=o(z,c,R),x===null?C=z:x.sibling=z,x=z);return e&&j.forEach(function(vn){return t(f,vn)}),B&&xt(f,R),C}function E(f,c,h,y){if(typeof h=="object"&&h!==null&&h.type===Bt&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case hr:e:{for(var C=h.key,x=c;x!==null;){if(x.key===C){if(C=h.type,C===Bt){if(x.tag===7){n(f,x.sibling),c=l(x,h.props.children),c.return=f,f=c;break e}}else if(x.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===et&&Xu(C)===x.type){n(f,x.sibling),c=l(x,h.props),c.ref=_n(f,x,h),c.return=f,f=c;break e}n(f,x);break}else t(f,x);x=x.sibling}h.type===Bt?(c=Pt(h.props.children,f.mode,y,h.key),c.return=f,f=c):(y=Wr(h.type,h.key,h.props,null,f.mode,y),y.ref=_n(f,c,h),y.return=f,f=y)}return i(f);case Ut:e:{for(x=h.key;c!==null;){if(c.key===x)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(f,c.sibling),c=l(c,h.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=ao(h,f.mode,y),c.return=f,f=c}return i(f);case et:return x=h._init,E(f,c,x(h._payload),y)}if(Pn(h))return w(f,c,h,y);if(gn(h))return S(f,c,h,y);Cr(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,h),c.return=f,f=c):(n(f,c),c=so(h,f.mode,y),c.return=f,f=c),i(f)):n(f,c)}return E}var un=Za(!0),Ja=Za(!1),nl=gt(null),rl=null,Yt=null,Fi=null;function Mi(){Fi=Yt=rl=null}function Di(e){var t=nl.current;A(nl),e._currentValue=t}function Qo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function tn(e,t){rl=e,Fi=Yt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(de=!0),e.firstContext=null)}function je(e){var t=e._currentValue;if(Fi!==e)if(e={context:e,memoizedValue:t,next:null},Yt===null){if(rl===null)throw Error(k(308));Yt=e,rl.dependencies={lanes:0,firstContext:e}}else Yt=Yt.next=e;return t}var Ct=null;function Ai(e){Ct===null?Ct=[e]:Ct.push(e)}function qa(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ai(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ge(e,r)}function Ge(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var tt=!1;function Ui(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ba(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ke(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ft(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ge(e,n)}return l=r.interleaved,l===null?(t.next=t,Ai(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ge(e,n)}function Mr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ei(e,n)}}function Yu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ll(e,t,n,r){var l=e.updateQueue;tt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?o=a:i.next=a,i=s;var d=e.alternate;d!==null&&(d=d.updateQueue,u=d.lastBaseUpdate,u!==i&&(u===null?d.firstBaseUpdate=a:u.next=a,d.lastBaseUpdate=s))}if(o!==null){var p=l.baseState;i=0,d=a=s=null,u=o;do{var m=u.lane,v=u.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:v,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,S=u;switch(m=t,v=n,S.tag){case 1:if(w=S.payload,typeof w=="function"){p=w.call(v,p,m);break e}p=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,m=typeof w=="function"?w.call(v,p,m):w,m==null)break e;p=V({},p,m);break e;case 2:tt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else v={eventTime:v,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},d===null?(a=d=v,s=p):d=d.next=v,i|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(1);if(d===null&&(s=p),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=d,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);zt|=i,e.lanes=i,e.memoizedState=p}}function Gu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ro.transition;ro.transition={};try{e(!1),t()}finally{F=n,ro.transition=r}}function vc(){return Ne().memoizedState}function mp(e,t,n){var r=pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yc(e))gc(t,n);else if(n=qa(e,t,n,r),n!==null){var l=se();Fe(n,e,r,l),wc(n,t,r)}}function vp(e,t,n){var r=pt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yc(e))gc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Me(u,i)){var s=t.interleaved;s===null?(l.next=l,Ai(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=qa(e,t,l,r),n!==null&&(l=se(),Fe(n,e,r,l),wc(n,t,r))}}function yc(e){var t=e.alternate;return e===W||t!==null&&t===W}function gc(e,t){Mn=il=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ei(e,n)}}var ul={readContext:je,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},yp={readContext:je,useCallback:function(e,t){return Ae().memoizedState=[e,t===void 0?null:t],e},useContext:je,useEffect:Ju,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ar(4194308,4,fc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ar(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ar(4,2,e,t)},useMemo:function(e,t){var n=Ae();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ae();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=mp.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Ae();return e={current:e},t.memoizedState=e},useState:Zu,useDebugValue:Xi,useDeferredValue:function(e){return Ae().memoizedState=e},useTransition:function(){var e=Zu(!1),t=e[0];return e=hp.bind(null,e[1]),Ae().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=W,l=Ae();if(B){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),b===null)throw Error(k(349));Lt&30||rc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ju(oc.bind(null,r,o,e),[e]),r.flags|=2048,tr(9,lc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ae(),t=b.identifierPrefix;if(B){var n=Qe,r=He;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ue]=t,e[Zn]=r,Rc(e,t,!1,!1),t.stateNode=e;e:{switch(i=No(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lcn&&(t.flags|=128,r=!0,En(o,!1),t.lanes=4194304)}else{if(!r)if(e=ol(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),En(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!B)return le(t),null}else 2*K()-o.renderingStartTime>cn&&n!==1073741824&&(t.flags|=128,r=!0,En(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=$.current,M($,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return bi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function Cp(e,t){switch(zi(t),t.tag){case 1:return he(t.type)&&qr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sn(),A(pe),A(ie),Wi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $i(t),null;case 13:if(A($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));on()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return A($),null;case 4:return sn(),null;case 10:return Di(t.type._context),null;case 22:case 23:return bi(),null;case 24:return null;default:return null}}var Nr=!1,oe=!1,jp=typeof WeakSet=="function"?WeakSet:Set,N=null;function Gt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){H(e,t,r)}else n.current=null}function ei(e,t,n){try{n()}catch(r){H(e,t,r)}}var ss=!1;function Np(e,t){if(Do=Yr,e=Ma(),Ti(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,d=0,p=e,m=null;t:for(;;){for(var v;p!==n||l!==0&&p.nodeType!==3||(u=i+l),p!==o||r!==0&&p.nodeType!==3||(s=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(v=p.firstChild)!==null;)m=p,p=v;for(;;){if(p===e)break t;if(m===n&&++a===l&&(u=i),m===o&&++d===r&&(s=i),(v=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=v}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ao={focusedElem:e,selectionRange:n},Yr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,E=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:Te(t.type,S),E);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){H(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return w=ss,ss=!1,w}function Dn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ei(t,n,o)}l=l.next}while(l!==r)}}function El(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ti(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Lc(e){var t=e.alternate;t!==null&&(e.alternate=null,Lc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Zn],delete t[$o],delete t[ap],delete t[cp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function zc(e){return e.tag===5||e.tag===3||e.tag===4}function as(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ni(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jr));else if(r!==4&&(e=e.child,e!==null))for(ni(e,t,n),e=e.sibling;e!==null;)ni(e,t,n),e=e.sibling}function ri(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ri(e,t,n),e=e.sibling;e!==null;)ri(e,t,n),e=e.sibling}var ee=null,Le=!1;function qe(e,t,n){for(n=n.child;n!==null;)Oc(e,t,n),n=n.sibling}function Oc(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:oe||Gt(n,t);case 6:var r=ee,l=Le;ee=null,qe(e,t,n),ee=r,Le=l,ee!==null&&(Le?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Le?(e=ee,n=n.stateNode,e.nodeType===8?eo(e.parentNode,n):e.nodeType===1&&eo(e,n),Qn(e)):eo(ee,n.stateNode));break;case 4:r=ee,l=Le,ee=n.stateNode.containerInfo,Le=!0,qe(e,t,n),ee=r,Le=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ei(n,t,i),l=l.next}while(l!==r)}qe(e,t,n);break;case 1:if(!oe&&(Gt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){H(n,t,u)}qe(e,t,n);break;case 21:qe(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,qe(e,t,n),oe=r):qe(e,t,n);break;default:qe(e,t,n)}}function cs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new jp),t.forEach(function(r){var l=Mp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Re(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Rp(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,cl=0,O&6)throw Error(k(331));var l=O;for(O|=4,N=e.current;N!==null;){var o=N,i=o.child;if(N.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-Ji?Nt(e,0):Zi|=n),me(e,t)}function Wc(e,t){t===0&&(e.mode&1?(t=gr,gr<<=1,!(gr&130023424)&&(gr=4194304)):t=1);var n=se();e=Ge(e,t),e!==null&&(ir(e,t,n),me(e,n))}function Fp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Wc(e,n)}function Mp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Wc(e,n)}var Vc;Vc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,_p(e,t,n);de=!!(e.flags&131072)}else de=!1,B&&t.flags&1048576&&Xa(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ur(e,t),e=t.pendingProps;var l=ln(t,ie.current);tn(t,n),l=Hi(null,t,r,e,l,n);var o=Qi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(o=!0,br(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ui(t),l.updater=_l,t.stateNode=l,l._reactInternals=t,Xo(t,r,e,n),t=Zo(null,t,r,!0,o,n)):(t.tag=0,B&&o&&Li(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ur(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Ap(r),e=Te(r,e),l){case 0:t=Go(null,t,r,e,n);break e;case 1:t=os(null,t,r,e,n);break e;case 11:t=rs(null,t,r,e,n);break e;case 14:t=ls(null,t,r,Te(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),Go(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),os(e,t,r,l,n);case 3:e:{if(jc(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,l=o.element,ba(e,t),ll(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=an(Error(k(423)),t),t=is(e,t,r,n,l);break e}else if(r!==l){l=an(Error(k(424)),t),t=is(e,t,r,n,l);break e}else for(ye=ct(t.stateNode.containerInfo.firstChild),ge=t,B=!0,ze=null,n=Ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(on(),r===l){t=Ze(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return ec(t),e===null&&Ho(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Uo(r,l)?i=null:o!==null&&Uo(r,o)&&(t.flags|=32),Cc(e,t),ue(e,t,i,n),t.child;case 6:return e===null&&Ho(t),null;case 13:return Nc(e,t,n);case 4:return Bi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=un(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),rs(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,M(nl,r._currentValue),r._currentValue=i,o!==null)if(Me(o.value,i)){if(o.children===l.children&&!pe.current){t=Ze(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ke(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var d=a.pending;d===null?s.next=s:(s.next=d.next,d.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Qo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(k(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Qo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,tn(t,n),l=je(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Te(r,t.pendingProps),l=Te(r.type,l),ls(e,t,r,l,n);case 15:return _c(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),Ur(e,t),t.tag=1,he(r)?(e=!0,br(t)):e=!1,tn(t,n),Sc(t,r,l),Xo(t,r,l,n),Zo(null,t,r,!0,e,n);case 19:return Pc(e,t,n);case 22:return Ec(e,t,n)}throw Error(k(156,t.tag))};function Hc(e,t){return ya(e,t)}function Dp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ee(e,t,n,r){return new Dp(e,t,n,r)}function tu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ap(e){if(typeof e=="function")return tu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Si)return 11;if(e===ki)return 14}return 2}function ht(e,t){var n=e.alternate;return n===null?(n=Ee(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")tu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Bt:return Pt(n.children,l,o,t);case wi:i=8,l|=8;break;case yo:return e=Ee(12,n,t,l|2),e.elementType=yo,e.lanes=o,e;case go:return e=Ee(13,n,t,l),e.elementType=go,e.lanes=o,e;case wo:return e=Ee(19,n,t,l),e.elementType=wo,e.lanes=o,e;case ea:return jl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qs:i=10;break e;case bs:i=9;break e;case Si:i=11;break e;case ki:i=14;break e;case et:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ee(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Pt(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function jl(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=ea,e.lanes=n,e.stateNode={isHidden:!1},e}function so(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function ao(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Up(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function nu(e,t,n,r,l,o,i,u,s){return e=new Up(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ee(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ui(o),e}function Bp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yc)}catch(e){console.error(e)}}Yc(),Ys.exports=Se;var Qp=Ys.exports,Gc,Zc,gs=Qp;Zc=gs.createRoot,Gc=gs.hydrateRoot;const Jc={theme:"light",sideNav:!0,initialized:!1},qc=_.createContext({state:Jc,init:e=>{},setTheme:e=>{},toggleSideNav:()=>{}});function iu(){return _.useContext(qc)}function ws(e,t){try{localStorage.setItem(e,t)}catch(n){console.error(n)}}const Ss=({children:e})=>{const[t,n]=_.useState(Jc);function r(u){u=="dark"?(document.body.classList.remove("light"),document.body.classList.add("dark")):(document.body.classList.remove("dark"),document.body.classList.add("light"))}function l(u){try{const s=localStorage.getItem("theme")||"light";let a=u.width>=500;{const d=localStorage.getItem("sideNav");d&&(a=d=="true")}r(s),n(d=>({...d,theme:s,sideNav:a}))}catch(s){console.error(s)}n(s=>({...s,initialized:!0}))}function o(u){r(u),n({...t,theme:u}),ws("theme",u)}function i(){const u=!t.sideNav;n({...t,sideNav:u}),ws("sideNav",u)}return g.jsx(qc.Provider,{value:_.useMemo(()=>({state:t,init:l,setTheme:o,toggleSideNav:i}),[t]),children:e})};/** + * @remix-run/router v1.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function bc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Xp(){return Math.random().toString(36).substr(2,8)}function xs(e,t){return{usr:e.state,key:e.key,idx:t}}function si(e,t,n,r){return n===void 0&&(n=null),rr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?hn(t):t,{state:n,key:t&&t.key||r||Xp()})}function ef(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function hn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Yp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=it.Pop,s=null,a=d();a==null&&(a=0,i.replaceState(rr({},i.state,{idx:a}),""));function d(){return(i.state||{idx:null}).idx}function p(){u=it.Pop;let E=d(),f=E==null?null:E-a;a=E,s&&s({action:u,location:S.location,delta:f})}function m(E,f){u=it.Push;let c=si(S.location,E,f);n&&n(c,E),a=d()+1;let h=xs(c,a),y=S.createHref(c);try{i.pushState(h,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(y)}o&&s&&s({action:u,location:S.location,delta:1})}function v(E,f){u=it.Replace;let c=si(S.location,E,f);n&&n(c,E),a=d();let h=xs(c,a),y=S.createHref(c);i.replaceState(h,"",y),o&&s&&s({action:u,location:S.location,delta:0})}function w(E){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof E=="string"?E:ef(E);return c=c.replace(/ $/,"%20"),Z(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let S={get action(){return u},get location(){return e(l,i)},listen(E){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(ks,p),s=E,()=>{l.removeEventListener(ks,p),s=null}},createHref(E){return t(l,E)},createURL:w,encodeLocation(E){let f=w(E);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:v,go(E){return i.go(E)}};return S}var _s;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_s||(_s={}));function Gp(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?hn(t):t,l=lf(r.pathname||"/",n);if(l==null)return null;let o=tf(e);Zp(o);let i=null;for(let u=0;i==null&&u{let s={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(Z(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=Rt([r,s.relativePath]),d=n.concat(s);o.children&&o.children.length>0&&(Z(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),tf(o.children,t,d,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:rh(a,o.index),routesMeta:d})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let s of nf(o.path))l(o,i,s)}),t}function nf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=nf(r.join("/")),u=[];return u.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function Zp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:lh(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Jp=/^:[\w-]+$/,qp=3,bp=2,eh=1,th=10,nh=-2,Es=e=>e==="*";function rh(e,t){let n=e.split("/"),r=n.length;return n.some(Es)&&(r+=nh),t&&(r+=bp),n.filter(l=>!Es(l)).reduce((l,o)=>l+(Jp.test(o)?qp:o===""?eh:th),r)}function lh(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function oh(e,t){let{routesMeta:n}=e,r={},l="/",o=[];for(let i=0;i{let{paramName:m,isOptional:v}=d;if(m==="*"){let S=u[p]||"";i=o.slice(0,o.length-S.length).replace(/(.)\/+$/,"$1")}const w=u[p];return v&&!w?a[m]=void 0:a[m]=(w||"").replace(/%2F/g,"/"),a},{}),pathname:o,pathnameBase:i,pattern:e}}function ih(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),bc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function uh(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return bc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function sh(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?hn(e):e;return{pathname:n?n.startsWith("/")?n:ah(n,t):t,search:hh(r),hash:mh(l)}}function ah(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function co(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function ch(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function fh(e,t){let n=ch(e);return t?n.map((r,l)=>l===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function dh(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=hn(e):(l=rr({},e),Z(!l.pathname||!l.pathname.includes("?"),co("?","pathname","search",l)),Z(!l.pathname||!l.pathname.includes("#"),co("#","pathname","hash",l)),Z(!l.search||!l.search.includes("#"),co("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else{let p=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),p-=1;l.pathname=m.join("/")}u=p>=0?t[p]:"/"}let s=sh(l,u),a=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(a||d)&&(s.pathname+="/"),s}const Rt=e=>e.join("/").replace(/\/\/+/g,"/"),ph=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),hh=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,mh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function vh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const of=["post","put","patch","delete"];new Set(of);const yh=["get",...of];new Set(yh);/** + * React Router v6.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),_.useCallback(function(a,d){if(d===void 0&&(d={}),!u.current)return;if(typeof a=="number"){r.go(a);return}let p=dh(a,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Rt([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,i,o,e])}function kh(e,t){return xh(e,t)}function xh(e,t,n,r){zl()||Z(!1);let{navigator:l}=_.useContext(Tl),{matches:o}=_.useContext(mn),i=o[o.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Ol(),d;if(t){var p;let E=typeof t=="string"?hn(t):t;s==="/"||(p=E.pathname)!=null&&p.startsWith(s)||Z(!1),d=E}else d=a;let m=d.pathname||"/",v=m;if(s!=="/"){let E=s.replace(/^\//,"").split("/");v="/"+m.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=Gp(e,{pathname:v}),S=Nh(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:Rt([s,l.encodeLocation?l.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?s:Rt([s,l.encodeLocation?l.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,n,r);return t&&S?_.createElement(Ll.Provider,{value:{location:lr({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:it.Pop}},S):S}function _h(){let e=Th(),t=vh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:l},n):null,o)}const Eh=_.createElement(_h,null);class Ch extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?_.createElement(mn.Provider,{value:this.props.routeContext},_.createElement(uf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function jh(e){let{routeContext:t,match:n,children:r}=e,l=_.useContext(uu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(mn.Provider,{value:t},r)}function Nh(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let d=i.findIndex(p=>p.route.id&&(u==null?void 0:u[p.route.id])!==void 0);d>=0||Z(!1),i=i.slice(0,Math.min(i.length,d+1))}let s=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((d,p,m)=>{let v,w=!1,S=null,E=null;n&&(v=u&&p.route.id?u[p.route.id]:void 0,S=p.route.errorElement||Eh,s&&(a<0&&m===0?(zh("route-fallback",!1),w=!0,E=null):a===m&&(w=!0,E=p.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,m+1)),c=()=>{let h;return v?h=S:w?h=E:p.route.Component?h=_.createElement(p.route.Component,null):p.route.element?h=p.route.element:h=d,_.createElement(jh,{match:p,routeContext:{outlet:d,matches:f,isDataRoute:n!=null},children:h})};return n&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?_.createElement(Ch,{location:n.location,revalidation:n.revalidation,component:S,error:v,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var af=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(af||{}),pl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(pl||{});function Ph(e){let t=_.useContext(uu);return t||Z(!1),t}function Rh(e){let t=_.useContext(gh);return t||Z(!1),t}function Ih(e){let t=_.useContext(mn);return t||Z(!1),t}function cf(e){let t=Ih(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function Th(){var e;let t=_.useContext(uf),n=Rh(pl.UseRouteError),r=cf(pl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Lh(){let{router:e}=Ph(af.UseNavigateStable),t=cf(pl.UseNavigateStable),n=_.useRef(!1);return sf(()=>{n.current=!0}),_.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,lr({fromRouteId:t},o)))},[e,t])}const Cs={};function zh(e,t,n){!t&&!Cs[e]&&(Cs[e]=!0)}function ff(e){Z(!1)}function Oh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=it.Pop,navigator:o,static:i=!1,future:u}=e;zl()&&Z(!1);let s=t.replace(/^\/*/,"/"),a=_.useMemo(()=>({basename:s,navigator:o,static:i,future:lr({v7_relativeSplatPath:!1},u)}),[s,u,o,i]);typeof r=="string"&&(r=hn(r));let{pathname:d="/",search:p="",hash:m="",state:v=null,key:w="default"}=r,S=_.useMemo(()=>{let E=lf(d,s);return E==null?null:{location:{pathname:E,search:p,hash:m,state:v,key:w},navigationType:l}},[s,d,p,m,v,w,l]);return S==null?null:_.createElement(Tl.Provider,{value:a},_.createElement(Ll.Provider,{children:n,value:S}))}function Fh(e){let{children:t,location:n}=e;return kh(ai(t),n)}new Promise(()=>{});function ai(e,t){t===void 0&&(t=[]);let n=[];return _.Children.forEach(e,(r,l)=>{if(!_.isValidElement(r))return;let o=[...t,l];if(r.type===_.Fragment){n.push.apply(n,ai(r.props.children,o));return}r.type!==ff&&Z(!1),!r.props.index||!r.props.children||Z(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=ai(r.props.children,o)),n.push(i)}),n}/** + * React Router DOM v6.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ci(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(l=>[n,l]):[[n,r]])},[]))}function Mh(e,t){let n=ci(e);return t&&t.forEach((r,l)=>{n.has(l)||t.getAll(l).forEach(o=>{n.append(l,o)})}),n}const Dh="6";try{window.__reactRouterVersion=Dh}catch{}const Ah="startTransition",js=Of[Ah];function Uh(e){let{basename:t,children:n,future:r,window:l}=e,o=_.useRef();o.current==null&&(o.current=Kp({window:l,v5Compat:!0}));let i=o.current,[u,s]=_.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},d=_.useCallback(p=>{a&&js?js(()=>s(p)):s(p)},[s,a]);return _.useLayoutEffect(()=>i.listen(d),[i,d]),_.createElement(Oh,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}var Ns;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ns||(Ns={}));var Ps;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ps||(Ps={}));function Bh(e){let t=_.useRef(ci(e)),n=_.useRef(!1),r=Ol(),l=_.useMemo(()=>Mh(r.search,n.current?null:t.current),[r.search]),o=wh(),i=_.useCallback((u,s)=>{const a=ci(typeof u=="function"?u(l):u);n.current=!0,o("?"+a,s)},[o,l]);return[l,i]}const $h="_component_nqcni_1",Wh="_sideNav_nqcni_6",Vh="_main_nqcni_13",Hh="_children_nqcni_21",Ir={component:$h,sideNav:Wh,main:Vh,children:Hh},Qh="_list_1ltry_1",Kh="_title_1ltry_6",Xh="_listItem_1ltry_11",Yh="_listItemActive_1ltry_18",Gh="_link_1ltry_26",At={list:Qh,title:Kh,listItem:Xh,listItemActive:Yh,link:Gh},Zh=[{path:"deploy",title:"Deploy Pool"}],su=[{title:"",routes:Zh.map(e=>({...e,path:`/${e.path}`}))}],hl=su.map(({routes:e})=>e).flat(),Jh=hl.reduce((e,t,n)=>(e[t.path]=n,e),{});function qh(e){const t=Jh[e];if(t>=0){const n=hl[t-1]||null,r=hl[t+1]||null;return{prev:n,next:r}}return{prev:null,next:null}}const bh=({onClick:e})=>{const t=Ol();function n(r,l){r.preventDefault(),e(l)}return g.jsxs(g.Fragment,{children:[g.jsx("h3",{className:At.category,children:"Lifecycle"}),su.map(({routes:r,title:l},o)=>g.jsxs("div",{children:[l&&g.jsx("h3",{className:At.title,children:l}),g.jsx("ul",{className:At.list,children:r.map(({path:i,title:u})=>{const s=!!rf(i,t.pathname);return g.jsx("li",{className:s?At.listItemActive:At.listItem,children:g.jsx("a",{className:At.link,href:i,onClick:a=>n(a,i),children:u})},i)})})]},o))]})},em=({size:e,className:t="",onClick:n})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",strokeWidth:2,stroke:"currentColor",className:t,width:e,height:e,onClick:n,children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})}),tm="_component_15x91_1",nm="_a_15x91_13",rm="_center_15x91_16",lm="_logo_15x91_21",om="_header_15x91_24",im="_mode_15x91_28",um="_hamburger_15x91_33",be={component:tm,a:nm,center:rm,logo:lm,header:om,mode:im,hamburger:um},sm=({size:e,className:t=""})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",viewBox:"0 0 438.277 438.277",width:e,height:e,className:t,children:g.jsx("path",{d:"M428.756 300.104c-.664-3.81-2.334-7.047-4.996-9.713-5.9-5.903-12.752-7.142-20.554-3.716-20.937 9.708-42.641 14.558-65.097 14.558-28.171 0-54.152-6.94-77.943-20.838-23.791-13.894-42.631-32.736-56.525-56.53-13.899-23.793-20.844-49.773-20.844-77.945 0-21.888 4.333-42.683 12.991-62.384 8.66-19.7 21.176-36.973 37.543-51.82 6.283-5.898 7.713-12.752 4.287-20.557-3.236-7.801-9.041-11.511-17.415-11.132-29.121 1.141-56.72 7.664-82.797 19.556C111.33 31.478 88.917 47.13 70.168 66.548c-18.747 19.414-33.595 42.399-44.54 68.95-10.942 26.553-16.416 54.39-16.416 83.511 0 29.694 5.806 58.054 17.416 85.082 11.613 27.028 27.218 50.344 46.824 69.949 19.604 19.599 42.92 35.207 69.951 46.822 27.028 11.607 55.384 17.415 85.075 17.415 42.64 0 81.987-11.563 118.054-34.69 36.069-23.124 63.05-54.006 80.944-92.645 1.524-3.423 1.951-7.036 1.28-10.838zm-122.191 84.064c-24.646 11.711-50.676 17.562-78.087 17.562-24.743 0-48.39-4.853-70.947-14.558-22.554-9.705-41.971-22.695-58.246-38.972-16.271-16.272-29.259-35.686-38.97-58.241-9.707-22.556-14.561-46.203-14.561-70.948 0-40.922 12.135-77.466 36.403-109.636 24.266-32.165 55.531-53.959 93.788-65.379-19.795 31.405-29.694 65.379-29.694 101.926 0 34.644 8.564 66.715 25.697 96.223 17.128 29.499 40.446 52.811 69.95 69.948 29.499 17.129 61.565 25.694 96.211 25.694 10.656 0 21.129-.855 31.408-2.57-17.318 20.938-38.307 37.255-62.952 48.951z"})}),am=({size:e,className:t=""})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 302.4 302.4",width:e,height:e,className:t,children:[g.jsx("path",{d:"M204.8 97.6C191.2 84 172 75.2 151.2 75.2s-40 8.4-53.6 22.4c-13.6 13.6-22.4 32.8-22.4 53.6s8.8 40 22.4 53.6c13.6 13.6 32.8 22.4 53.6 22.4s40-8.4 53.6-22.4c13.6-13.6 22.4-32.8 22.4-53.6s-8.4-40-22.4-53.6zm-14.4 92.8c-10 10-24 16-39.2 16s-29.2-6-39.2-16-16-24-16-39.2 6-29.2 16-39.2 24-16 39.2-16 29.2 6 39.2 16 16 24 16 39.2-6 29.2-16 39.2z",stroke:"#252519",strokeWidth:12}),g.jsx("path",{d:"M292 140.8h-30.8c-5.6 0-10.4 4.8-10.4 10.4 0 5.6 4.8 10.4 10.4 10.4H292c5.6 0 10.4-4.8 10.4-10.4 0-5.6-4.8-10.4-10.4-10.4zm-140.8 110c-5.6 0-10.4 4.8-10.4 10.4V292c0 5.6 4.8 10.4 10.4 10.4 5.6 0 10.4-4.8 10.4-10.4v-30.8c0-5.6-4.8-10.4-10.4-10.4zm106.8-7.2-22-22c-3.6-4-10.4-4-14.4 0s-4 10.4 0 14.4l22 22c4 4 10.4 4 14.4 0s4-10.4 0-14.4zM151.2 0c-5.6 0-10.4 4.8-10.4 10.4v30.8c0 5.6 4.8 10.4 10.4 10.4 5.6 0 10.4-4.8 10.4-10.4V10.4c0-5.6-4.8-10.4-10.4-10.4zm107.2 44.4c-4-4-10.4-4-14.4 0l-22 22c-4 4-4 10.4 0 14.4 3.6 4 10.4 4 14.4 0l22-22c4-4 4-10.4 0-14.4zM41.2 140.8H10.4c-5.6 0-10.4 4.8-10.4 10.4s4.4 10.4 10.4 10.4h30.8c5.6 0 10.4-4.8 10.4-10.4 0-5.6-4.8-10.4-10.4-10.4zm39.2 80.8c-3.6-4-10.4-4-14.4 0l-22 22c-4 4-4 10.4 0 14.4s10.4 4 14.4 0l22-22c4-4 4-10.4 0-14.4zm0-155.2-22-22c-4-4-10.4-4-14.4 0s-4 10.4 0 14.4l22 22c4 4 10.4 4 14.4 0s4-10.4 0-14.4z",stroke:"#252519",strokeWidth:5})]}),cm=({size:e,className:t="",fill:n})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1300 1300",xmlSpace:"preserve",width:e,height:e,className:t,fill:n,children:[g.jsx("path",{opacity:.45,d:"M773.772 253.308 643.068 485.61H381.842l130.614-232.302h261.316"}),g.jsx("path",{opacity:.6,d:"M643.068 485.61h261.318L773.772 253.308H512.456L643.068 485.61z"}),g.jsx("path",{opacity:.8,d:"M512.456 717.822 643.068 485.61 512.456 253.308 381.842 485.61l130.614 232.212z"}),g.jsx("path",{opacity:.45,d:"m513.721 1066.275 130.704-232.303h261.318l-130.705 232.303H513.721"}),g.jsx("path",{opacity:.6,d:"M644.424 833.973H383.107l130.613 232.303h261.317L644.424 833.973z"}),g.jsx("path",{opacity:.8,d:"M775.038 601.761 644.424 833.973l130.614 232.303 130.704-232.303-130.704-232.212z"})]});function fm(){const{state:e,setTheme:t,toggleSideNav:n}=iu();function r(){t(e.theme=="light"?"dark":"light")}return g.jsxs("div",{className:be.component,children:[g.jsx(em,{size:20,className:be.hamburger,onClick:n}),g.jsxs("div",{className:be.center,children:[g.jsx("a",{href:"/",className:be.a,children:g.jsx(cm,{className:be.logo,size:30,fill:e.theme=="dark"?"rgb(0, 255, 0)":"currentColor"})}),g.jsx("h3",{className:be.header,children:g.jsx("a",{href:"/",className:be.a,children:"Ajna by Example"})})]}),g.jsx("button",{className:be.mode,onClick:r,children:e.theme=="dark"?g.jsx(sm,{size:20}):g.jsx(am,{size:20})})]})}const dm="_component_h47vh_1",pm="_row_h47vh_8",hm="_bar_h47vh_13",mm="_to_h47vh_21",vm="_social_h47vh_24",ym="_sce_h47vh_29",gm="_telegram_h47vh_34",wm="_discord_h47vh_38",Sm="_youTube_h47vh_42",jn={component:dm,row:pm,bar:hm,to:mm,social:vm,sce:ym,telegram:gm,discord:wm,youTube:Sm};function km(){return g.jsxs("div",{className:jn.component,children:[g.jsx("div",{className:jn.row,children:g.jsx("a",{href:"https://ajna.finance",target:"__blank",children:"Ajna Foundation"})}),g.jsxs("div",{className:jn.row,children:[g.jsx("a",{href:"https://github.com/ajna-finance/ajna-by-example",target:"__blank",children:"source"}),g.jsx("div",{className:jn.bar,children:"|"}),g.jsx("a",{href:"https://github.com/ajna-finance/ajna-by-example/blob/gh-pages/LICENSE",target:"__blank",children:"license"})]}),g.jsxs("div",{className:jn.row,children:["(fork of ",g.jsx("a",{href:"https://solidity-by-example.org",target:"__blank",children:"solidity-by-example)"})]})]})}const xm=({children:e})=>{const{state:t}=iu(),n=_.useRef(null);_.useLayoutEffect(()=>{n.current&&(n.current.scrollTop=sessionStorage.getItem("scroll")||0)},[]);function r(l){var o;sessionStorage.setItem("scroll",(o=n.current)==null?void 0:o.scrollTop),window.location.href=l}return g.jsxs("div",{className:Ir.component,children:[g.jsx("div",{ref:n,className:Ir.sideNav,style:t.sideNav?{width:"var(--side-nav-width)",padding:"20px 10px 60px 10px"}:{width:0},children:t.sideNav?g.jsx(bh,{onClick:r}):null}),g.jsxs("div",{className:Ir.main,children:[g.jsx(fm,{}),g.jsxs("div",{className:Ir.children,children:[e,g.jsx(km,{})]})]})]})},df=({title:e,description:t})=>(_.useEffect(()=>{document.title=e;const n=document.querySelector("meta[name='description']");n&&n.setAttribute("content",t)},[]),null),_m=({html:e})=>(_.useEffect(()=>{if(navigator.userAgent==="ReactSnap")return;const t=r=>{const l=document.createElement("textarea");l.setAttribute("style","width:1px;border:0;opacity:0;"),document.body.appendChild(l),l.value=r.innerText,l.select(),document.execCommand("copy"),document.body.removeChild(l)};document.querySelectorAll("pre").forEach(r=>{const l=document.createElement("div");l.className="buttons";const o=document.createElement("button");o.className="fa fa-copy clip-button",o.title="Copy to clipboard",o.ariaLabel="Copy to clipboard";const i=document.createElement("i");i.className="tooltiptext",o.appendChild(i),l.appendChild(o);const u=r.firstChild;r.insertBefore(l,u),o.addEventListener("click",s=>{s.preventDefault(),t(r.childNodes[1])})})},[]),g.jsx("div",{dangerouslySetInnerHTML:{__html:e}})),Em="_component_ni5i2_1",Cm="_content_ni5i2_5",jm="_prevNext_ni5i2_8",fo={component:Em,content:Cm,prevNext:jm},Nm=({title:e,version:t,description:n,html:r,prev:l,next:o,codes:i})=>g.jsxs("div",{className:fo.component,children:[g.jsx(df,{title:`${e} | Ajna by Example | ${t}`,description:n}),g.jsxs("div",{className:fo.content,children:[g.jsx("h2",{children:e}),g.jsx(_m,{html:r}),g.jsxs("div",{className:fo.prevNext,children:[l&&g.jsxs("a",{href:l.path,children:["< ",l.title]}),o&&g.jsxs("a",{href:o.path,children:[o.title," >"]})]}),g.jsx("h3",{children:"Try on Remix"}),g.jsx("ul",{children:i.map(({fileName:u,code:s},a)=>g.jsx("li",{children:g.jsx("a",{href:`https://remix.ethereum.org/?#code=${s}`,target:"_blank",rel:"noreferrer",children:u})},a))})]})]}),Pm="0.8.18",Rm="Deploy a Pool",Im="Deploying a pool in Ajna",Tm=[{fileName:"DeployPool.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4xODsKCmltcG9ydCB7IEVSQzIwUG9vbCB9ICAgICAgICBmcm9tICdham5hLWNvcmUvc3JjL0VSQzIwUG9vbC5zb2wnOwppbXBvcnQgeyBFUkMyMFBvb2xGYWN0b3J5IH0gZnJvbSAnYWpuYS1jb3JlL3NyYy9FUkMyMFBvb2xGYWN0b3J5LnNvbCc7Cgpjb250cmFjdCBQb29sRGVwbG95ZXIgewoKICAgIGFkZHJlc3MgX2FqbmEgPSAnMHg5YTk2ZWM5QjU3RmI2NEZiQzYwQjQyM2QxZjRkYTc2OTFCZDM1MDc5JzsKCiAgICBFUkMyMFBvb2xGYWN0b3J5IF9wb29sRmFjdG9yeSA9IElFUkMyMFBvb2xGYWN0b3J5KF9ham5hKTsKCiAgICBmdW5jdGlvbiBkZXBsb3lFUkMyMCgKICAgICAgICBhZGRyZXNzIF9jb2xsYXRlcmFsLAogICAgICAgIGFkZHJlc3MgX3F1b3RlLAogICAgICAgIHVpbnQyNTYgX2ludGVyZXN0UmF0ZQogICAgKSBleHRlcm5hbCB7CiAgICAgICAgX3Bvb2xGYWN0b3J5LmRlcGxveVBvb2woewogICAgICAgICAgICBjb2xsYXRlcmFsOiAgIF9jb2xsYXRlcmFsLAogICAgICAgICAgICBxdW90ZTogICAgICAgIF9xdW90ZSwKICAgICAgICAgICAgaW50ZXJlc3RSYXRlOiBfaW50ZXJlc3RSYXRlCiAgICAgICAgfSk7CiAgICB9Cn0K"},{fileName:"DeployPoolExample.sol",code:"RVJDMjBQb29sRmFjdG9yeSBfcG9vbEZhY3RvcnkgPSBJRVJDMjBQb29sRmFjdG9yeShfYWpuYSk7CgphZGRyZXNzIF9jb2xsYXRlcmFsICAgPSBhZGRyZXNzKCk7IC8vIFdFVEgKYWRkcmVzcyBfcXVvdGUgICAgICAgID0gYWRkcmVzcygpOyAvLyBEQUkKdWludDI1NiBfaW50ZXJlc3RSYXRlID0gMC4wNSAqIDFlMTg7IC8vIDAuMDUlIGludGVyZXN0IHJhdGUKCl9wb29sRmFjdG9yeS5kZXBsb3lQb29sKHsKICAgIGNvbGxhdGVyYWw6ICAgX2NvbGxhdGVyYWwsCiAgICBxdW90ZTogICAgICAgIF9xdW90ZSwKICAgIGludGVyZXN0UmF0ZTogX2ludGVyZXN0UmF0ZQp9KTsK"}],Lm=`
    +
  • Create a Ajna Pool
  • +
+

A pool consists of a quote token and a collateral token creating a unique pair (WETH/USDC). Only one pool per pair can exist in the system. The initial interest rate for a pool is set by the pool creator.

+

In Ajna, each pool is its own contract much like Uniswap V3 and is deployed by the: PoolFactory

+

The pool deployer will need to pass three arguments:

+
    +
  • Collateral token address
  • +
  • Quote token address
  • +
  • Interest rate
  • +
+
// SPDX-License-Identifier: MIT
+pragma solidity ^0.8.18;
+
+import { ERC20Pool }        from 'ajna-core/src/ERC20Pool.sol';
+import { ERC20PoolFactory } from 'ajna-core/src/ERC20PoolFactory.sol';
+
+contract PoolDeployer {
+
+    address _ajna = '0x9a96ec9B57Fb64FbC60B423d1f4da7691Bd35079';
+
+    ERC20PoolFactory _poolFactory = IERC20PoolFactory(_ajna);
+
+    function deployERC20(
+        address _collateral,
+        address _quote,
+        uint256 _interestRate
+    ) external {
+        _poolFactory.deployPool({
+            collateral:   _collateral,
+            quote:        _quote,
+            interestRate: _interestRate
+        });
+    }
+}
+

Examples of Deploying a Ajna Pool

+

Hooks are not mandatory, you can create a pool without a hook

+
ERC20PoolFactory _poolFactory = IERC20PoolFactory(_ajna);
+
+address _collateral   = address(); // WETH
+address _quote        = address(); // DAI
+uint256 _interestRate = 0.05 * 1e18; // 0.05% interest rate
+
+_poolFactory.deployPool({
+    collateral:   _collateral,
+    quote:        _quote,
+    interestRate: _interestRate
+});
+
`,zm=({prev:e,next:t})=>g.jsx(Nm,{version:Pm,title:Rm,description:Im,html:Lm,prev:e,next:t,codes:Tm}),Om=({size:e,className:t=""})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",width:e,height:e,className:t,children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})}),Fm="_component_efeb7_1",Mm="_icon_efeb7_8",Dm="_input_efeb7_12",po={component:Fm,icon:Mm,input:Dm},Am=({value:e,onChange:t})=>{function n(r){t(r.target.value)}return g.jsxs("div",{className:po.component,children:[g.jsx(Om,{size:18,className:po.icon}),g.jsx("input",{className:po.input,placeholder:"Search",value:e,onChange:n})]})};var Um="Expected a function",Rs=0/0,Bm="[object Symbol]",$m=/^\s+|\s+$/g,Wm=/^[-+]0x[0-9a-f]+$/i,Vm=/^0b[01]+$/i,Hm=/^0o[0-7]+$/i,Qm=parseInt,Km=typeof dr=="object"&&dr&&dr.Object===Object&&dr,Xm=typeof self=="object"&&self&&self.Object===Object&&self,Ym=Km||Xm||Function("return this")(),Gm=Object.prototype,Zm=Gm.toString,Jm=Math.max,qm=Math.min,ho=function(){return Ym.Date.now()};function bm(e,t,n){var r,l,o,i,u,s,a=0,d=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError(Um);t=Is(t)||0,fi(n)&&(d=!!n.leading,p="maxWait"in n,o=p?Jm(Is(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m);function v(x){var j=r,R=l;return r=l=void 0,a=x,i=e.apply(R,j),i}function w(x){return a=x,u=setTimeout(f,t),d?v(x):i}function S(x){var j=x-s,R=x-a,U=t-j;return p?qm(U,o-R):U}function E(x){var j=x-s,R=x-a;return s===void 0||j>=t||j<0||p&&R>=o}function f(){var x=ho();if(E(x))return c(x);u=setTimeout(f,S(x))}function c(x){return u=void 0,m&&r?v(x):(r=l=void 0,i)}function h(){u!==void 0&&clearTimeout(u),a=0,r=s=l=u=void 0}function y(){return u===void 0?i:c(ho())}function C(){var x=ho(),j=E(x);if(r=arguments,l=this,s=x,j){if(u===void 0)return w(s);if(p)return u=setTimeout(f,t),v(s)}return u===void 0&&(u=setTimeout(f,t)),i}return C.cancel=h,C.flush=y,C}function fi(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function e0(e){return!!e&&typeof e=="object"}function t0(e){return typeof e=="symbol"||e0(e)&&Zm.call(e)==Bm}function Is(e){if(typeof e=="number")return e;if(t0(e))return Rs;if(fi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=fi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace($m,"");var n=Vm.test(e);return n||Hm.test(e)?Qm(e.slice(2),n?2:8):Wm.test(e)?Rs:+e}var n0=bm;const r0=Fs(n0),l0={leading:!1,trailing:!0};function o0(e,t,n){return _.useCallback(r0(e,t,l0),n)}function i0(e,t){let n=e;for(let r=0;r0;){const[o,i,u]=t.pop();l&&(r=r.slice(0,i-1),l=!1),r+=o;const s=Object.keys(u);if(s.length>0)for(let a=0;at+l)}const a0=["/deploy"],c0=["/deploy"],f0=["/deploy"],d0=["/deploy"],p0=["/deploy"],h0=["/deploy"],Ts={pool:a0,deploy:c0,init:f0,create:d0,pair:p0,factory:h0},Ls={"/deploy":["pool","deploy","init","create","pair","factory"]},pf=[];for(const e of Object.keys(Ls))pf.push(...Ls[e]);const hf={};for(const e of pf)i0(hf,e);function m0(e){return Array.from(new Set(e))}function v0(e){const t=[],n=s0(hf,e.toLowerCase());for(const r of n)Ts[r]&&t.push(...Ts[r]);return t}const y0="_component_196j1_1",g0="_updates_196j1_8",w0="_category_196j1_13",S0="_search_196j1_16",k0="_listItem_196j1_20",x0="_label_196j1_28",_0="_header_196j1_31",E0="_youTube_196j1_34",C0="_youTubeLogo_196j1_40",Ie={component:y0,updates:g0,category:w0,search:S0,listItem:k0,label:x0,header:_0,youTube:E0,youTubeLogo:C0},j0=["2024/4/30 - Initial Snippets"];function N0(){const[e,t]=_.useState(""),[n,r]=Bh(),[l,o]=_.useState(null);_.useEffect(()=>{const d=n.get("q");d!=null&&d.length>0&&(t(d),i(d,!1))},[]);function i(d,p){const m=d.trim();if(m.length==0){o(null),p&&r({q:""});return}const v=m0(m.split(" ")),w={};for(const S of v){const E=v0(S);for(const f of E)w[f]=!0}o(w),p&&r({q:m})}const u=o0(d=>i(d,!0),500,[]);function s(d){t(d),u(d)}function a(){return l?Object.keys(l).length==0?g.jsx("div",{children:"No results"}):g.jsx("ul",{className:Ie.list,children:hl.filter(({path:d})=>l[d]).map(({path:d,title:p})=>g.jsx("li",{className:Ie.listItem,children:g.jsx("a",{href:d,children:p})},d))}):g.jsx(g.Fragment,{children:su.map(({routes:d,title:p},m)=>g.jsxs("div",{children:[p&&g.jsx("h3",{className:Ie.category,children:p}),g.jsx("ul",{className:Ie.list,children:d.map(({path:v,title:w})=>g.jsx("li",{className:Ie.listItem,children:g.jsx("a",{href:v,children:w})},v))})]},m))})}return g.jsxs("div",{className:Ie.component,children:[g.jsx(df,{title:"Ajna by Example | 0.8.18",description:"Learn Ajna using Solidity"}),g.jsx("h1",{className:Ie.header,children:g.jsx("a",{href:"/",children:"Ajna by Example"})}),g.jsx("div",{className:Ie.subHeader,children:"v0.8.18"}),g.jsxs("div",{className:Ie.main,children:[g.jsxs("p",{children:["An introduction to integrating and using"," ",g.jsx("a",{href:"https://github.com/ajna-finance/ajna-core",children:"Ajna"})," through simple examples"]}),g.jsx("div",{className:Ie.updates,children:j0.map((d,p)=>g.jsx("div",{children:d},p))}),g.jsx("div",{className:Ie.search,children:g.jsx(Am,{value:e,onChange:s})}),a()]})]})}const P0=[{path:"/deploy",component:zm},{path:"",component:N0}];var R0="@vercel/analytics",I0="1.2.2",T0=()=>{window.va||(window.va=function(...t){(window.vaq=window.vaq||[]).push(t)})};function mf(){return typeof window<"u"}function vf(){try{const e="production"}catch{}return"production"}function L0(e="auto"){if(e==="auto"){window.vam=vf();return}window.vam=e}function z0(){return(mf()?window.vam:vf())||"production"}function mo(){return z0()==="development"}var O0="https://va.vercel-scripts.com/v1/script.debug.js",F0="/_vercel/insights/script.js";function M0(e={debug:!0}){var t;if(!mf())return;L0(e.mode),T0(),e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend));const n=e.scriptSrc||(mo()?O0:F0);if(document.head.querySelector(`script[src*="${n}"]`))return;const r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn=R0+(e.framework?`/${e.framework}`:""),r.dataset.sdkv=I0,e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint&&(r.dataset.endpoint=e.endpoint),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{const l=mo()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${l}`)},mo()&&e.debug===!1&&(r.dataset.debug="false"),document.head.appendChild(r)}function D0({route:e,path:t}){var n;(n=window.va)==null||n.call(window,"pageview",{route:e,path:t})}function A0(e){return _.useEffect(()=>{M0({framework:e.framework||"react",...e.route!==void 0&&{disableAutoTrack:!0},...e})},[]),_.useEffect(()=>{e.route&&e.path&&D0({route:e.route,path:e.path})},[e.route,e.path]),null}function zs(){const{state:e,init:t}=iu();return _.useLayoutEffect(()=>{t({width:window.document.body.clientWidth})},[]),e.initialized?g.jsxs(Uh,{basename:{}.VITE_PUBLIC_URL,children:["'",g.jsx(A0,{}),g.jsx(xm,{children:g.jsx(Fh,{children:P0.map(n=>{const{prev:r,next:l}=qh(n.path);return g.jsx(ff,{path:n.path,element:Ks.createElement(n.component,{prev:r,next:l})},n.path)})})})]}):null}const U0=document.getElementById("root"),B0=Zc(U0),Os=document.getElementById("root");Os.hasChildNodes()?Gc(Os,g.jsx(Ss,{children:g.jsx(zs,{})})):B0.render(g.jsx(Ss,{children:g.jsx(zs,{})})); diff --git a/assets/index-7c2e5380.css b/assets/index-7c2e5380.css new file mode 100644 index 0000000..357686a --- /dev/null +++ b/assets/index-7c2e5380.css @@ -0,0 +1,10 @@ +:root{--black: #252519;--side-nav-width: 240px;--min-main-width: 300px}::-webkit-scrollbar{width:12px}::-webkit-scrollbar-thumb{background-color:#ccc}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:20px;background-color:var(--bg-color);color:var(--color)}body.light{--bg-color: white;--color: #252519;--code-bg: #f5f5f5;--link-color: #261a3b;--input-bg: #f1f1f1;--link-active-color: #00ff0054}body.dark{--bg-color: #161b22;--color: rgb(201, 209, 217);--code-bg: #0d1117;--link-color: #f6f6f6;--input-bg: white;--link-active-color: #00ff0054}pre{padding:15px;margin:0;font-size:14px;overflow-x:scroll}pre .buttons{color:var(--color);cursor:pointer;display:flex;flex-direction:row;justify-content:flex-end}pre .buttons button{color:inherit;background:transparent;border:none;cursor:inherit}pre .buttons button:hover{color:#008cff}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;color:#e74c3c}.language-solidity{display:block;color:var(--color)}a,a:visited{color:var(--link-color)}h2{font-size:32px;line-height:40px}em{font-style:italic}pre{background-color:var(--code-bg)}body.light .hljs{background:#eee;color:#000}body.light .hljs-link,body.light .hljs-emphasis,body.light .hljs-attribute,body.light .hljs-addition{color:#070}body.light .hljs-emphasis{font-style:italic}body.light .hljs-strong,body.light .hljs-string,body.light .hljs-deletion{color:#d14}body.light .hljs-strong{font-weight:700}body.light .hljs-quote,body.light .hljs-comment{color:#5f5f55;font-style:italic}body.light .hljs-section,body.light .hljs-title{color:#900}body.light .hljs-class .hljs-title,body.light .hljs-title.class_,body.light .hljs-type{color:#458}body.light .hljs-variable,body.light .hljs-template-variable{color:#369}body.light .hljs-bullet{color:#970}body.light .hljs-meta{color:#34b}body.light .hljs-code,body.light .hljs-number,body.light .hljs-literal,body.light .hljs-keyword,body.light .hljs-selector-tag{color:#0758fc}body.light .hljs-regexp{background-color:#fff0ff;color:#808}body.light .hljs-symbol{color:#990073}body.light .hljs-tag,body.light .hljs-name,body.light .hljs-selector-id,body.light .hljs-selector-class{color:#070}/*! + Theme: GitHub Dark + Description: Dark theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-dark + Current colors taken from GitHub's CSS +*/body.dark .hljs{color:#c9d1d9;background:#0d1117}body.dark .hljs-doctag,body.dark .hljs-keyword,body.dark .hljs-meta .hljs-keyword,body.dark .hljs-template-tag,body.dark .hljs-template-variable,body.dark .hljs-type,body.dark .hljs-variable.language_{color:#ff7b72}body.dak .hljs-title,body.dak .hljs-title.class_,body.dak .hljs-title.class_.inherited__,body.dak .hljs-title.function_{color:#d2a8ff}body.dark .hljs-attr,body.dark .hljs-attribute,body.dark .hljs-literal,body.dark .hljs-meta,body.dark .hljs-number,body.dark .hljs-operator,body.dark .hljs-variable,body.dark .hljs-selector-attr,body.dark .hljs-selector-class,body.dark .hljs-selector-id{color:#79c0ff}body.dark .hljs-regexp,body.dark .hljs-string,body.dark .hljs-meta .hljs-string{color:#a5d6ff}body.dark .hljs-built_in,body.dark .hljs-symbol{color:#ffa657}body.dary .hljs-comment,body.dary .hljs-code,body.dary .hljs-formula{color:#8b949e}body.dark .hljs-name,body.dark .hljs-quote,body.dark .hljs-selector-tag,body.dark .hljs-selector-pseudo{color:#7ee787}body.dark .hljs-subst{color:#c9d1d9}body.dark .hljs-section{color:#1f6feb;font-weight:700}body.dark .hljs-bullet{color:#f2cc60}body.dark .hljs-emphasis{color:#c9d1d9;font-style:italic}body.dark .hljs-strong{color:#c9d1d9;font-weight:700}body.dark .hljs-addition{color:#aff5b4;background-color:#033a16}body.dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}._component_nqcni_1{display:flex;flex-direction:row;height:100vh}._sideNav_nqcni_6{max-height:100vh;overflow-y:auto;background-color:var(--side-nav-color);transition:width .3s;transition-timing-function:ease}._main_nqcni_13{max-height:100vh;width:100%;display:flex;flex-direction:column;overflow-y:auto;overflow-x:auto}._children_nqcni_21{display:flex;flex-direction:column;align-items:center;min-width:var(--min-main-width);padding:54px 10px 20px}._list_1ltry_1{list-style:none;padding:0;margin:0}._title_1ltry_6{color:var(--link-color);padding:0;margin:0}._listItem_1ltry_11{display:flex;flex-direction:row;align-items:center;margin:10px 0;padding-left:10px}._listItemActive_1ltry_18{display:flex;flex-direction:row;align-items:center;margin:10px 0;padding-left:10px;background-color:var(--link-active-color)}._link_1ltry_26{font-size:.9rem;text-decoration:none;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}._component_15x91_1{position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:10px 20px;background-color:var(--bg-color);min-width:var(--min-main-width);white-space:nowrap}._a_15x91_13{text-decoration:none}._center_15x91_16{display:flex;flex-direction:row;align-items:center}._logo_15x91_21{margin:0 5px}._header_15x91_24{margin:0 auto 0 0}._mode_15x91_28{background-color:transparent;border:0px;cursor:pointer}._hamburger_15x91_33{cursor:pointer}._component_h47vh_1{margin:15px;color:var(--color);display:flex;flex-direction:column;align-items:center}._row_h47vh_8{display:flex;flex-direction:row;align-items:center}._row_h47vh_8 ._bar_h47vh_13{margin-left:5px;margin-right:5px}._row_h47vh_8 a,._row_h47vh_8 a:visited{color:var(--link-color)}._to_h47vh_21{margin:0 5px}._social_h47vh_24{display:flex;flex-direction:row;align-items:center}._sce_h47vh_29{width:20px;margin:5px;border-radius:4px}._telegram_h47vh_34,._discord_h47vh_38,._youTube_h47vh_42{width:20px;margin:5px}._component_ni5i2_1{width:100%;max-width:1000px}._content_ni5i2_5{margin:15px 10px}._prevNext_ni5i2_8{margin:20px;display:flex;flex-direction:row;justify-content:space-between}._component_efeb7_1{display:flex;flex-direction:row;align-items:center;background-color:var(--input-bg);border-radius:4px}._icon_efeb7_8{margin:8px;color:var(--black)}._input_efeb7_12{width:100%;height:24px;max-width:300px;padding:5px;border:0;border-radius:4px;background-color:var(--input-bg)}._input_efeb7_12:focus{outline:none;box-shadow:none}._component_196j1_1{max-width:420px}._component_196j1_1 ul{list-style:none;padding:0}._updates_196j1_8{padding:5px 5px 5px 15px;border-radius:5px}._category_196j1_13{color:var(--link-color)}._search_196j1_16{margin-top:10px;margin-bottom:10px}._listItem_196j1_20{display:flex;flex-direction:row;align-items:center;margin-top:10px;margin-bottom:10px;white-space:nowrap}._label_196j1_28{margin-left:10px}._header_196j1_31 a{text-decoration:none}._youTube_196j1_34{display:flex;flex-direction:row;align-items:center;margin:10px 0}._youTubeLogo_196j1_40{width:30px;padding-right:10px} diff --git a/deploy/index.html b/deploy/index.html new file mode 100644 index 0000000..92b373d --- /dev/null +++ b/deploy/index.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + Ajna by Example + + + + + + + + + + +
+ + + diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..2c2579b9e84178a5774cb1f83407d017803d8da5 GIT binary patch literal 15086 zcmeI2+iM+F6vlTNtyL?nRV;WR$5ufFwTe^}HC`Z!_~3&NRz-^-_*TWcB8dc3eX-ur zDiy2HDqf&sy=&4_>jk0IK6q`LCjUUehen7Uf8Uu|ad$g2Ik9ujnbukGW$nH8p1r=k zGP7szHOILw*X@=pap;;`f4Xx^opZHXQlIbKPHgkhYQOU^=Z5HT27S21EeEnUleSpsTU(wWdS%XK5?IStfwdQIc)R)tz-A&?R+@-aqkWtH& zGI5^`%MHNiukwqT?90_~TMBoZ%cbR_`Y$#*b7>7UzM+1XHnOp$6}@{x&SCw=(z16> zXOyvN@Fnfffv0ou6m5F;-v!e4#IpSgz6M(Bv-a1rE8o&7(cUqOzusj!zia`o zfwVb1gZ&uLDLD?uKZ9@%+p&qaogY7@oW}oZ?46eTAQ1A`x@6oo2hT{4bzh7STE>{<}dP_`Ln{TeN8o4}h}Crx5b*d7rnHbziLpr9f7DJ&KhOP2ELN| zErG4bs_tifL$f&R-VdcaG!$5Wfw9cDw0;LPx4`l9hPs4C-?x=l= znIIjp2Ppj_DE-pNfefNof~`@s7yLnS9FR?EK>dc3Yn0O1(-TD#AVZX=P+Fn}rt%cp z%^Wypk3(VD}eq~46uZxrg__@wih&0Li9(LP!67UyPTmR#CU zde{60#=y5=4ba>*)-2GBC}yKTbI^WL|I3-YzmKH9_Tn28JcvFdCC-V)In~Kt=Y*&y X0sqCnBIo`D6TLAe`=|1+jlA&Rgh&{O literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..92b373d --- /dev/null +++ b/index.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + Ajna by Example + + + + + + + + + + +
+ + + diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..1f2f141 --- /dev/null +++ b/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +}